HNHacker News
TopNewBestAskShowJobs

electromech

240 karma · joined October 27, 2021

submissionscomments
electromech··on Association between meatless diet and depressive episodes
Thanks for this. I began switching to a vegan diet a few months AFTER my depression started. The suffering in the world weighs heavily on me, and it's marginally helpful to do something about it.
electromech··on I accidentally started a movement – Policing the Police by scraping court data
Our World In Data is the largest open source data collection & analysis that I'm aware of. https://github.com/owid

The 80000 Hours podcast has an interview with the (non-technical) creator of OWID. I seem to recall some interesting stories about them getting emailed PDFs with COVID data and such.

I had the same question as you, and I was hoping to find ideas in the comments. It seems like the kind of thing that's both inherently messy and scrappy yet if you don't get at least somewhat organized it can't scale.

Update: link to the podcast episode page with quotes, transcripts, etc. https://80000hours.org/podcast/episodes/max-roser-our-world-...

electromech··on A small reivew of the Poem Rust web framework
(copy-pasting what I said in sibling comment)

soketto has a hyper example. I haven't found a websocket benchmark that compares them, but you can see here that soketto let's you re-use a buffer: https://docs.rs/soketto/latest/src/soketto/connection.rs.htm... It's on my to-do list to try soketto, but the thought of benchmarking websocket implementations sounds tedious.

electromech··on A small reivew of the Poem Rust web framework
soketto has a hyper example. I haven't found a websocket benchmark that compares them, but you can see here that soketto let's you re-use a buffer: https://docs.rs/soketto/latest/src/soketto/connection.rs.htm... It's on my to-do list to try soketto, but the thought of benchmarking websocket implementations sounds tedious.
electromech··on A small reivew of the Poem Rust web framework
Ah shoot, poem's websocket implementation uses tokio_tungstenite like most of the other hyper-adjacent Rust web frameworks. It's unfortunate that library has become the default for websockets because the performance is rather lacking. (new allocations for each incoming message IIRC)
electromech··on A small reivew of the Poem Rust web framework
> The cookie middleware is easy to use. In axum...

Been there, fought that! By the end, I had thoroughly abused the Axum API to get it working.

electromech··on Pypi.org is running a survey on the state of Python packaging
> I maintain a PyPA member project (and contribute to many others)

THANK YOU!

> keeps the community organized around shared goals (such as standardizing Python's packaging tooling)

Personally I felt some disconnect between "package manager for all" and the need for "standardizing Python's packaging tooling." Yes, communities should be welcoming and friendly to everyone, AND the community should have clear expectations for best practices that members should follow. E.g., is an experienced female developer more likely to give up on contributing because she couldn't find a local meetup, or because she didn't know whether to create pyproject.toml vs requirements.txt? In some sense, the bigger and more diverse the community, the greater the need for a clear, solid foundation. IDK if that's remotely clear; it's just a feeling I had going through some of those questions.

electromech··on Pypi.org is running a survey on the state of Python packaging
Thanks for posting this! I'm glad I had the chance to share some feedback. I only wish I had seen an "Other Feedback" box to simply say thanks to everyone trying to make things better.
electromech··on Ask HN: How to avoid getting a privacy-aware LinkedIn profile restricted?
After my own attempts, I concluded that LinkedIn doesn't meet my expectations for privacy, so I don't use LinkedIn. Per your standards, you also don't think LinkedIn sufficiently values your privacy (or your time), so why keep using it?

> It MUST somehow be possible to balance the need for a reasonable level of privacy with the need of having a LinkedIn account

1. You do not "need" a LinkedIn account. Lots of people use it, some even like it, but you don't have to. I don't.

2. Why "must" that balance be possible? Many privacy-conscious people don't use social media sites like LinkedIn. LinkedIn doesn't have to accommodate us, and we don't have to bend to them either.

electromech··on Ask HN: Seriously, how do you TDD?
> my first test was along the lines of “it can categorise a single transaction correctly”... I was attempting a more “top down” design strategy here.

Sounds right to me! I usually start projects/features with a test that covers the end-to-end behavior I want to see. When you have no other tests, a smoke test is the highest value test you can add because it measures the thing you care about.

electromech··on 'Too many employees, but few work': Pichai, Zuckerberg sound the alarm
TL;DR, Zuck & Pichai demonstrating how NOT to lead.

I can see the Cheyenne Dialysis commercial now...

---

<a black-and-white screen portrays a boss screaming at employees>

Narrator: "Do your employees seem disengaged? Is it 'getting harder to get all the employees to attend a meeting'¹?"

<a wild Zuck appears in full color>

Zuck: Then COME ON DOWN to Cheyenne Dialysis for a copy of my hot new leadership book: "This Place Isn’t For You!"¹

<dramatic pause to let that sink in>

Zuck: Check out what Microsoft's own dear leader, Pichai, had to say about the new book...

<Zuck clears throat to prepare to impersonate Pichai>

"Pichai": "When I said we needed to 'create a culture that is more mission-focused'¹, I knew my employees needed 'more hunger'¹. This book taught me to squash those pesky 'personal projects'¹, so we can focus on our core values as a company: 'leaner, meaner'¹.

<phone number appears on screen>

Zuck: COME ON DOWN or call today to reserve your copy of "This Place Isn’t For You!"¹ On sale for only $19.99! err... only $24.99! err... only $29.99!

---

¹ LMAO that these are actual quotes from the article. Parody can't hold a candle to the absurdity of real life.

electromech··on Show HN: Open-source serverless security lake powered by Rust + Apache Iceberg
There are lots. This is one: https://knative.dev/docs/
electromech··on Show HN: Open-source serverless security lake powered by Rust + Apache Iceberg
There are plenty of FOSS serverless options

https://knative.dev/docs/

https://krustlet.dev

https://www.openfaas.com/

electromech··on Show HN: Open-source serverless security lake powered by Rust + Apache Iceberg
It: "powered by Rust + Apache Iceberg"

Me: Oh cool, can I run it in my k8s cluster? <clicks link>

It: "designed specifically for AWS"

Me: disappointed and annoyed by title

Looking at that service diagram, "Powered by AWS services" seems more accurate.

electromech··on Ask HN: Has the quality of Google search declined for anyone else, or just me?
This greatly appeals to me, but I don't quite understand how these work. I looked into searx and friends, and it seems too good to be true. Like, if it's turning around and making requests to Google, don't they detect that as bot-like traffic? Seems like a good way to get your IP blocked or worse.
electromech··on Ask HN: Has the quality of Google search declined for anyone else, or just me?
Yes, it's getting worse, but somehow no one can beat their very low bar. I always start with Brave or DDG, and a high percentage of the time I need to resort to `!g`.

Recently, I couldn't remember the domain name for the web game, https://plurality.fun. Searching "plurality game" in DDG, Brave, and even Bing, the results are quite bad¹. However, the site I wanted was the #1 result on Google.

I've been using alternative search engines like DDG since ~2015, and I'm quite disappointed at the lack of innovation so far. It feels like a $20 bill on the sidewalk, so I assume I'm missing some reason why they all suck, but for the life of me I don't have an explanation.

¹To be fair, the site I wanted is pretty crappy, and not necessarily what everyone wants with those search terms. Nevertheless, it was #14 on Brave's search, where 3 of the top 5 results are links to the same academic paper, "When are plurality rule voting games dominance-solvable?" on three separate domains.

electromech··on Land Gained and Lost: A Fermi Estimate
Where are you getting that from the article? He seems to address that point:

> Both of these calculations are based on average temperature. Arguably what habitability depends on is be maximum temperature. If it gets unendurably hot during a summer day, the fact that winter nights are cold is little compensation.

electromech··on Land Gained and Lost: A Fermi Estimate
The most important part of the post:

> This is a draft of a chapter for a book I am working on... My conclusions are pretty dramatic and I want to know if they are, for some reason, wildly wrong.

I am familiar with the author; he's genuine about wanting feedback. Some of the comments here are likewise genuine, but I worry that other readers here are like this fellow:

> The obvious answer is that the inconsistency is in bad faith, to fudge the numbers into fitting the author's preferred narrative.

You want "bad faith," try assuming the author's plea for feedback is dishonest.

electromech··on Some tiny personal programs I've written
This made my day, especially the scripts that were not ultimately useful, yet you are proud of them and glad you spent the time to do them. I tend to beat myself up for not doing more "productive" coding, and I need to appreciate the experience itself more. Thank you so much for this.
electromech··on Ask HN: Have OCD, suffering from extreme procrastination, please help?
That sucks, man. I relate. My graveyard of unfinished projects is... expansive. I haven't "figured it out" yet, but here are some things I do to improve my chances of success and ameliorate the personal damage of failure.

0. Remind myself that work is a cruel mistress and a crummy source of self-worth. Find some hopeful, bedrock truth to fall back on when life doesn't seem worth living. (God, in my case. YMMV.)

1. Focus on the good things happening in my life and in the world. Along those lines, I cut out all news and any social media or entertainment that leaves me feeling worse afterward. Even HN can be a source of emotional drain -- some days my brain translates every headline into "that person makes $10K per week without even trying; what's your problem?"

2. Find a partner to work with closely on a day-to-day basis both to share the load and to build momentum.

3. Iterate (and fail!) faster to establish a fast feedback loop. Even weekly is too long. For my most successful projects (not saying much), I found a way to "ship" my project at least daily, even if "shipping" is just showing it to a friend. One time I modded a video game for a 4-year-old, the two of us taking 5-minute turns at the computer.

HN doesn't appear to have a DM feature but reply if you want to connect on Discord or something.

← PreviousPage 3 of 3