skysight-inc/HackerNews huggingface dataset:
I don't know, actually! So some napkin math...

Rail is 2% of transportation emissions, which is 29% of total US emissions [1], which was 6.558e6 metric tons in 2019 [2]. So rail is 3.8e7 kg of CO2 emissions. Diesel emits 10 kg/gallon [3], so that's 3.8e6 gallons, and at a cost of $3/gallon that's only $10M dollars out of what is an $80B industry [4]. That's so vanishingly small that I wonder if I have done something wrong here...

[1] https://www.epa.gov/greenvehicles/fast-facts-transportation-...

[2] https://www.epa.gov/ghgemissions/inventory-us-greenhouse-gas...

[3] https://www.epa.gov/energy/greenhouse-gases-equivalencies-ca...

[4] https://railroads.dot.gov/rail-network-development/freight-r...
Function Composition in Ruby (Procs/Lambdas)
Ask HN: What are the most promising transformative tools for thought today?
Hello, I'm a CS student and have been extremely interested in so-called "transformative tools for thought" [1].

Some examples I'm currently thinking about are Roam, Notion, Muse, and Obsidian.

I'm especially interested in more touch/visual based tools for thought, rather than text-based tools.

[1]: https://numinous.productions/ttft/
> conda is thoroughly unpleasant to have as an environment.

Understatement, if there ever was one.

Installing conda will maim your system irrevocably.
URL is only three letters, like CIA, but everything else you said about CIA doesn't apply. There is no ambiguity as to how it would sound, and there are multiple consonants.

Thus, there is no adding up to be done.
> If China wanted more people around the world to use its currency, freely floating its exchange rate on the market is a must. That the RMB is not freely convertible like the dollar is is a huge hurdle to its international adoption.

In some circles, especially for very large cross-border transactions, this is definitely true.

That said, for microtransactions in developing countries, this is less of an issue. China will go out of its way to make this a stable and easily convertible currency for folks in these markets.
500k again? In reference to the other HN poster with 500k and still unhappy.

Isn't 500k a lot of money? which presumably would give some financial freedom to pursue one's interests.

There is a trade-off in raising a kid but there are certainly rewards to it such as happiness in terms of relationships. But of course, the constraint is that it will limit one's freedom on pursuing own interests.

Reminds me a bit of Paul Lutus[1] who purposefully decided to not get married or have children even though he has a lot of financial resources. His reasoning was that "his ideas are his kids". Basically, kids are people's legacy but for some people, like Isaac Newton, their legacy is their ideas that we've all benefited from.

Anyway, this comment is just to say that I think I can relate to your situation since even though I'm single, I can imagine how being married and having a kid would consume my nights which I normally spend on a side-project.

[1] https://corecursive.com/remote-developer/
Got the following insights from my younger team members, who are single, new to workforce, new to the city (edit - not in 'home' city).

I miss the office for..

- Free and convenient food.

- Social chatter & engagement.

- Making friends with employees who I don't know and connecting with new employees.

- Work life separation (balance).

- Proper workstation, climate controlled environment.

- Sense of belonging - team outing, after hours beers..

- Intra and inter company sports and games.

- Meeting potential dates.
I would add that when doing this recon, steelman their ideas. Try to justify them, however horrible they seem to you. Drop your guard and prejudices enough to understand why they have those ideas. You don't have to accept them in the end, but you'll never know how to make amends or talk to somebody you refuse to understand.
FYIW we currently offer a $1 tier on fastcomments... but yes this is cheaper :p
Can't handwrite, any software alternative for math?
I haven't handwritten since 1997 and I now need to re-study mathematics from the very beginning for which I'm planning to use the material shared by OpenStax (https://openstax.org/subjects/math) with the GeoGebra tools (https://www.geogebra.org/).
Is there any software application (preferably running under GNU/Linux, or Web-based) which I could use to work through the problems mentioned in the OpenStax curriculum?
Essentially, a replacement for handwriting using pen/pencil and paper!
From someone who has been in a deep depression for many a decade:

What makes you happy?

It seems like a difficult question, but it's not really. The first answer is usually the right one.

And in this case you already said it, it's your son.

Also $500k is not bad for being 33. 15 years ago in my 30's I barely had $200k. I'm now worth ~$2M without living on a CA salary.

You won't find it this advice here necessarily, but frankly, failure is absolutely okay. It's just what you do with it that matters. Whatever is that you think you're supposed to be good at, or whatever you thought you were supposed to be at your age, I can assure you. It's okay.

Your son will be the most amazing person in your life, and he won't care if you didn't become a billionaire at age 40.

The other good news is this, your kid likely has 4 years before developing permanent memories. So you have a few years to fix your financial situation to get to a place you want to be to spend more time with him.
I’ve hosted a personal Matrix server (Dendrite) and web client (Element) for the last six months, with unhappy results. In practice an entirely self‐hosted Matrix stack seems to be kind of unreliable for me. Having joined just a couple of large rooms—open source project chats that migrated from IRC after the Freenode debacle—sync on login never seems to work right, either getting stuck on a loading animation, or loading messages out of order (“Friday” followed by “Today” followed by January followed by “Yesterday” followed by “Today”). The room history seems to have corrupted itself somehow, according to the logs, but I have no idea how attempt a resync from scratch besides wiping and reinitializing the whole PostgreSQL database. And from the beginning, the client randomly disconnects from the server, but when I refresh it’s connected again.

I’m no stranger to self‐hosting, and I personally run my own email server (with MTA‐STS, DANE, and mandatory TLS for outgoing mail) and Mumble for voice chat, and even Pleroma. These have all been very reliable, enough that I regularly communicate with friends this way. In contrast, my Matrix experience makes me reluctant to suggest it to anyone I know, because it’s hard enough to get anyone onto something user‐friendly like Signal.

I want to love Matrix. The idea is really cool, there is obviously a lot of work behind it, and I appreciate having something federated to compete with Signal’s model. But it just hasn’t worked for me. I hope the self‐hosted situation will improve.
> People who hear hɪpɑː

This is the second time you've claimed that people say /hɪpɑː/. But they don't.
Great find!

All the pdfs (use filter) this blog has posted, http://web.archive.org/web/*/blogs.umass.edu/brain-wars/*
I never understood why Microsoft executives were not jailed for contempt of court when the videos they produced as evidence, in the anti-trust trial, turned out to be wholly fabricated.
You are free to use any service which doesn't break the law. If you don't like the law you can try to get the law changed. That's the democratic way. Letting FB get away with breaking the law, cause "people voluntarily use it .." is not.
Echoing another replying comment: and it's not possible for them to understand it all either.

Fun (/s) example:

- Outlook email client in the browser (Firefox in my case)... typing a new email up. Hold down backspace to delete a bunch of characters... and occasionally my browser will navigate backwards. ("smart" text suggestion lagging, causing keypresses not to be always captured by the email text input box, perhaps?) At least Outlook auto-saves drafts reliably!

- I (probably) can't be mad at the individual programmer though. I'm the oddball that has reverted the browser setting for "treat backspace as browser-back, outside of text fields". I bet that never made it into a test-case anywhere.

- I could be mad at the browsers that changed that default behavior several years ago (I feel like Chrome did it first, but could be wrong), though they did it for the valid reason of protecting the (less aware, imo) users!

- I guess I could be mad at all the websites that poorly implemented form-filling, letting users get burned by accidentally going back a page and losing their input. But I can sympathize with too many "features" and not having time to implement that edge case!

Sigh, my ideals of software quality are all doomed, aren't they?
Nowhere does this person say that they feel poor. If anything they are acknowledging they are well off, but wondering why they feel lost and unfulfilled in spite of their material prosperity. It's not exactly an unknown notion, that people can feel unhappy despite being financially and materially well-off.
Is it though? I don't think any of us know the answer, which is why we're in such a predicament.
On many websites, you will literally be the only person doing that. This is a unique fingerprint.

This might not matter to you, since it sounds like privacy isn’t your primary motivation here, but it is worth pointing out that custom patched browsers are going to be more fingerprinted, not less.
Never said that these people were bad. Just stating my reaction to them is blunted and no longer affects my productivity.

Your framework of dealing with people seems different from mine. What in this post strikes you as “opting out”? That comment doesn’t make sense to me and some clarification would be great.

Also, do these things not bother you or do you simply have a different way of dealing with it so that you don’t feel bad about it?
I worked at a local department of roads and motor vehicles where their traffic light management software was written in the late 80s to early 90s and looked like it.

Mind you, they had modernised it! It worked on 32-bit!

If anyone thinks that this Windows 95-era application had any kind of smarts in it at the same level as modern machine learning, AI, or even basic queuing theory, they would be sorely mistaken.

I believe all it had were some basic weekday-weekend and peak-afterhours scheduling capabilities. It also had sensor integration, but only at a few hundred key intersections around the city.
Agreed.

They'll play this as a safe something, but it's really all about taxes.

So many people and even industries today run afoul of taxes. If you didn't know or disagree, you've never worked or lived around the less privileged.

Example: I called to have my windshield replaced last month by a local company. The guy said 'if you pay cash, 307 dollars. Credit card you need to add tax and fees, so 350.'

Also, at least in the southeastern US, nearly every gun store heavily dissuades you from using anything but cash.
Actually, I've unwillingly cycled without brakes once; My brakes broke mid-journey. Had to bump into something to stop, multiple times.

Not recommended.
It's harder to make friends once you get past a certain age. We become too set in our ways to be able to make friends.

Even if you have a hobby, it needs to be something that needs to be pursued in a group setting. Thus, hobbies such as singing in a choir will be much more effective at stimulating social contact than solo pursuits.
I'm sorry to hear that. My team is actually excellent about communication for ongoing work, and I still feel the way I do - I'd be waaaay worse off if I felt like people were forgetting about me.

If I could offer some unsolicited advice - tell them that you feel that way! I am quite confident that no one wants you to feel abandoned, and they would be unhappy to know they're making you feel that way. They might not be able to fix the situation all at once, but I hope you're able to get a better situation soon, one way or the other.
https://web.archive.org/web/20220205114640/https://www.econo...
Someone been telling me, my depression comes from bacteria, I KNOW! Pain is... if I eat something plant based, depression and suicidal thoughts come back. Takes about 4 days after I ate the offending food, stays for 3 days, then I'm back to normal and energetic.

Latest experiment was one teaspoon of fermented green squash daily, seemed to work out okay for 5 days or so, then depression came back, BUT I could smell it in my armpits 1-2 days before the thoughts were back.

https://gutsense.org has a lot about fiber - the only fiber I can use seems to be animal based, like eggwhites
GDevelop – no-code approach to building games
Ah, thanks for replying. I edited my post for clarity. I assure you we do not sit around, blocked, waiting for replies. =)

The point being, if you need an immediate reply, you're expected to explicitly mention that. Otherwise it's assumed to be async.

It's working well IMO.
Engagement is a good word for what I'm missing. Talking with work people - even if we're not actually talking about work - makes me feel more engaged with my day-to-day tasks.
I get more work done at home and prefer to avoid the commute.

It's always possible to organize regular (weekly?) meetups at convenient locations where you talk shop, thrash out issues and socialize. Even if you rent a conference room in a co-working space or hotel, it is still less costly than maintaining unused office space in a downtown location.
Sounds like you and I would be in violent agreement. :D
OK post overall, but I will say that the line "Chaos is felt less by the people creating it" is so incredibly accurate.
I guess if everyone else feels the same way? It does sound like kind of an all-or-nothing situation, but for the right person, "coworker who is guaranteed to never ever ever bother you" might be kind of nice?
Hmm, that is an interesting thought...not one that I had considered!
Hey man, thanks for reaching out. First and foremost, please please please talk to someone about these thoughts [1]. You mean the world to your partner and your child. Your life is incredibly valuable even if it may not feel like it right now.

I'm a software dev with two young kids and I definitely understand where you are coming from. Having kids is so hard and it completely changes your lifestyle. But the way I look at it is this is a season of your life where your time allocation shifts, but there will be other seasons where the allocation looks different. We are both in our 30s and life is long, there are decades of productive time available.

So try to take a deep breath, recognize you have accomplished a lot (including that 500k, that is a big deal) and try to take care of yourself for the sake of yourself and your family.

You can email me at evan058@gmail.com if you ever want to chat.

[1] https://suicidepreventionlifeline.org/
The rules of English spelling don't allow for the sequence "aa" at all. That's why the scrabble list consists of (in small part) onomatopoetic expressions of variable duration, where repeating the "a" shows longer duration, and (mostly) foreign words.
Our Slack is very similar, but no one's ever laid it out explicitly (at least not to me) - I love that.
I like working at home, but I dislike living at work.
Nice, always forget how you can do so much cool stuff with Google Script.
First of all: Life is worth living. Your son needs you, your family needs you, your friends need you. Even if this is a minor thought in the back of your head, please talk to someone about it.

Second, being a new dad is hard! I’ve been there. Trust me: it’s gets better. This too shall pass.

And if you one day want to start a company, the opportunity will come up. Have faith.

Finally, as one of my good friends likes to say, “When you’re going through hell… keep going.” Sometimes the key is not to overthink things but just to take it one day at a time.

Good luck!
Your loss. Poly Styrene was pretty awesome.
I remember when I compiled a "hello world" with some new OO framework, possibly MacApp, and it was something like 400K, to do nothing, and I thought that was outrageous and obviously much too bloated for real software.
Really depends on the phase of the project.
At the start, getting everyone in the room is really beneficial.
Once we decide what we're doing, I'd rather be left alone and work from home.
At the end, testing, debugging and fixing, I'd rather be in the office.
Yes, "it's not working from home, it's living at work" is how I feel and how I have heard it expressed.
Canvas is amazing

Also the trick is to try and return to your starting position ha
I think clang got support for detecting unresolved merge conflicts around a decade ago too.
I've worked from home for over a decade now, and would never go back. When I started autotempest ~2008 I assumed that once it evolved into a "real" business we'd eventually need to get an office, but it didn't make sense when it was just me. And then it didn't make sense when it was just me and one other guy. And then... eventually I realized there was no point at which someone was going to make me move to an office! :) You do really need to be intentional about team processes, communication, collaboration, etc. though for it to work. Also on an individual basis I do think it's easier for people with families or roommates. Can be a bit tough working from home while living alone if you don't have many other social outlets. (Especially during a pandemic when it's going to be a lot harder to engage in in-person activities outside of work.)
I'm very surprised this article remains published. It directly contradicts the actual narrative of events (including the EAD that, if followed as by the first flights with recorded MCAS issues, offered a prevention for the subsequent crashes) and unfortunately perpetuates incorrect definitions and understandings of runaway trim and unstable airframes.
This would be amazing! Please shut it down, Mark. What a breath of fresh air that would be.

It's sad this is just a tantrum.
Emacs also has a cute spreadsheet mode https://www.gnu.org/software/emacs/manual/html_node/ses/
It’s an international tournament? Diversity is inevitable in that situation. I get what you mean though. I grew up in then Rhodesia, followed by stints in South Africa as effectively a refugee followed by the UK, and honestly I miss having a community of people who all share the exact same experiences as you in the same place. It’s the small town feeling I guess.

I don’t resent the UK and US for becoming like this though: I feel you can have the best of both worlds. London for instance is a very international city, but even if you venture even half an hour out of the M25 you’ll find very homogenous neighbourhoods (in fact, this is even true within London now that I think about it).
Love when punk stuff shows up on HN. I would imagine a small minority of readers are, or were, into punk music. But the DIY punk music scene has a lot in common with the startup scene. I will always try to hire people with that background whenever possible. If you could book your own tour, release your own records, or publish a fanzine, you can probably ship product.
See results sorted and totaled. https://gabrielsroka.github.io/hnpoll.html?id=30239441

Source
https://github.com/gabrielsroka/gabrielsroka.github.io/blob/...
Wow - this is perfect. I would love literally exactly what you've described. Is there nothing out there - might be fun to take a crack at making it?
I find compiler error messages give an insight into how they work, the order of their processing things like that which can be especially useful when they are closed source.

In general error messages give away alot about the programmer(s) knowledge and abilities, it can give you an insight into if defensive programming methods have been used and other things like that.
I don't know much about security. I'm asking from a purely theoretical perspective, so you could imagine a worst case scenario - for example, Alice wants to use her phone to securely chat with Bob about resisting the dictatorship they're living in or something like that. Or they need to trade industry secrets that are in their phones.
This is exactly what I want: a trusted centralized database for no-fee instant domestic and international transfers - I want this NOW. A million times better than any crypto scam, because:

1. I trust the USG.

2. The value of a currency comes from the issuing entity, and acceptance by merchants, not speculation on a blockchain (or any other technology).

3. Since it is centralized it will be reversible in court if hacked or mistakenly sent.

4. Since it is centralized it will be able to handle millions of transactions per second assuming they don’t screw up the technology.

If they get this right it will simultaneously render all crypto useless (except for crime) AND actually deliver on the false claims of crypto which never materialized in the past 10 years.
is there any programming style for it which doesn't look like some crazed 90s java, with all the method chains?

something with contexts would be nice, maybe?

with cq.Workplane("XY").box(h,w,t) as plate:
plate.faces(">Z").workplane().hole(diameter)
show_object(plate)

there's got to be some compromise between the explicitness of cadquery, and the implictness of openscad.
This is the reason I love HN, and I couldn’t have come up with a better example of exactly what the article talks about than this comment and it’s parent. :)
How did you calculate the $1 trillion/year?

What cost would be attributed to Covid, roughly?
One of the linked stories [1] talks a bit about the dry cell batteries the phones used, and even mentions they sometimes used old car batteries

[1] https://www.inc.com/magazine/19970615/1416.html
This seems interesting, but I doubt this would be a vulnerability of any properly redundant digital coin.
For 4 there are log libraries that let you log on info and debug but only standard print the info logs, then later if an error occurs in scope emit also the debug logs.

This helps save data and performance in happy paths and still retains access to debug information.
Not getting pilots retrained was the cost saving strategy for companies buying the new area aircrafts.
Yes. I was an L6 manager and was put into Pivot (the umbrella process that surrounds PIP), which I managed to beat. I saw two other SDMs in that org successfully PIP'd out in the same ~18 month period. I'm sure there is some magical level where you're "calibrated" but not put into Pivot, but I suspect it is pretty high up.
No sure. Look at private universities. It’s like 30-50% staff. (Made up number*).
Government is just humans.

There’s no reason to believe any organization of humans has your personal interests at heart.

Ostensibly politicians can be replaced. Despite believing government to be inherently corrupt, we still seem to think the ledger of ownership is inherently correct and incorruptible.

The mental gymnastics everyone goes through to demonize government and accept privatization which locks them out of accounts, absconds funds, and offers no path to remediation, resulting in posts here hoping a Big Tech Corp worker happens to be browsing is pretty stunning display of how media has influenced our beliefs
see also https://archive.is/azTLc
Yes, this could be, too. Already some communists and capitalists are united in seeing crypto as the peoples' money.
This is a very insightful comment. It's incredibly difficult to knuckle down and "work" when (a) your work is not going to be noticed (b) you are not getting a promotion no matter what; someone else has been identified for the promotion (c) you dislike most of your colleagues because of their personality traits or work habits. In a way, there is no need to. You have been retained for your time (that is the essence of full-time employment), and after a certain point, the onus is squarely on your employer to get their money's worth by putting proper structures to incentivize good work. Caveat emptor.