skysight-inc/HackerNews huggingface dataset:
Honestly I hate online office tools. They encourage a collaboration model that just doesn't work for me _at all_ - and yet is, by now, _the standard_.

I'd much rather send documents back and forth, with comments I integrate with the material. If I _need_ to do something live, plain text is actually not just perfectly sufficient - it's either _exactly_ what I want, or what I want is a white board (and therefore please let's just use self-hosted Excalidraw - but remember to sponsor it if you're commercial!).

But outside of very rare occasions, let's just set up a plain old mailing list, write proposals in basic text, and then once we have something complete, let one person integrate the whole thing into a single pretty document with like LaTeX or Markdown or something. Or even Word, I don't really care.

And yes, that's hostile to brainstorming. Good. I too am hostile to brainstorming.
UniformCSS: Fast Generator for Sass
> I used to think that the world was transitioning to solar, wind, and batteries. This, too, was false. Trillions of dollars were spent on wind and solar projects over the last 20 years, yet the world’s dependence on fossil fuels declined only 3 percentage points, from 87% to 84%.

> I used to believe nuclear energy was dangerous and nuclear waste was a big problem. In fact, nuclear is the safest and most reliable way to generate low-emission electricity, and it provides the best chance of reducing CO2 emissions.

These two points taken together make me wonder how many trillions of dollars would have to be invested in nuclear to reduce the dependency on fossil fuels from 84% to zero? Also, I wonder how nuclear holds up in the "Security: Does an energy source enable a country to maintain its autonomy" department. According to https://en.wikipedia.org/wiki/List_of_countries_by_uranium_p..., over 40% of Uranium is coming from Kazakhstan, which is itself not a democratic country and a close ally of Russia. And the countries with the most nuclear plants have next to no Uranium production of their own. So much for autonomy...
DARPA study challenges assumptions about distributed ledger security
In a switch you see the index as a number in the case statement, above a small number, finding the value of choice is going to be unreadable, no?
You have to count the position of the function you want?
Virtual Kubernetes Clusters Can Speed Up Your Local Development
Yeah - put R&D and money in it, and maybe it'll work in a couple decades. But don't bank on it just yet as a solution to climate change.
Convex queries remind me of RethinkDB's query language (ReQL). RethinkDB also had the horizon project[0], looking at todays projects like Convex, Thin[1] and supabase[2], kinda makes me wonder what the RethinkDB guys could have build.

RethinkDB was such a great project.

[0] https://rethinkdb.com/blog/horizon-release

[1] https://thin.dev/

[2] https://supabase.com
> Easier to remember

Non-rhetorical question: who has to remember it and why?

Is this primarily a work-around for the problem of it not being possible for a mobile phone handset to display the location during a voice call? If so, maybe someone should fix that problem because there might be other things that the caller might want to refer to on the screen while calling.

It's slightly hilarious, in a way. I can imagine a conversation with the inventor: How much memory does a typical phone have? And you're telling me that we should use this proprietary system for encoding coordinates so that the user can more easily memorise the coordinates? Tell me, do you use a similar system for memorising your friends' telephone numbers?

Of course in the case of emergency calls it really should not be beyond the wit of man to implement a system so that the owner of a phone can configure it to automatically send its location to the other party when an emergency call is initiated. I'm fairly privacy-conscious but I'd probably enable that one.
The Definition of Knowledge and Its Management
I really want MS to try that theory in a court and win.

That will destroy the propaganda that the Law is there to protect content creators better than anything the people against copyrights can come-up with.
Am American. What do you use to chat with relatives? That’s probably my most significant use of voice calling.
I put the disclaimer there, because I was afraid people would stop reading and start arguing about mocks vs fakes vs etc. But you’re right, people skip the lede (mentions counter-intuitive, I hoped that set the mood) and lose patience, so I’ll try to swap the blocks and see if the comments improve.
From the article linked by the parent:

"The majority of respondents who were out or perceived as transgender while in school (K–12) experienced some form of mistreatment, including being verbally harassed (54%), physically attacked (24%), and sexually assaulted (13%) because they were transgender. Further, 17% experienced such severe mistreatment that they left a school as a result.

In the year prior to completing the survey, 30% of respondents who had a job reported being fired, denied a promotion, or experiencing some other form of mistreatment in the workplace due to their gender identity or expression, such as being verbally harassed or physically or sexually assaulted at work.

In the year prior to completing the survey, 46% of respondents were verbally harassed and 9% were physically attacked because of being transgender. During that same time period, 10% of respondents were sexually assaulted, and nearly half (47%) were sexually assaulted at some point in their lifetime.

Nearly one-third (29%) of respondents were living in poverty, compared to 12% in the U.S. population. A major contributor to the high rate of poverty is likely respondents’ 15% unemployment rate—three times higher than the unemployment rate in the U.S. population at the time of the survey (5%).
Respondents were also far less likely to own a home, with only 16% of respondents reporting homeownership, compared to 63% of the U.S. population. Even more concerning, nearly one-third (30%) of respondents have experienced homelessness at some point in their lifetime, and 12% reported experiencing homelessness in the year prior to completing the survey because they were transgender."

I feel like this kind of mistreatment is the reason for the self-harm. Trans people deserve respect and understanding, and then the suicide rate will go down.
And everyone agrees it's waste of time and energy, except actual scammers - spammers, right?
The author, Bob Nystrom, also wrote Game Programming Patterns which I think is just as good.

You might also like Charles Petzold's book Code.
Seems to be the pattern. Whenever something gets the "Apache" prefix I get nervous that it's abandoned.

Giving Apache ownership of something is always a signal that whoever was maintaining it before, doesn't want to maintain it anymore. Whether or not that thing dies depends entirely on who ends up running the project post transition to apache.

Funnily, there have been a few cases of projects that have seen a breath of new life by moving over to apache. Netbeans and Groovy seem to be standouts there.
Contextually the person is obviously trying to use the french borrow word voilà.
Did Russian industrial malware blow up a Texas LNG pipeline June 8?
Yes. As long as all the people involved are adults.
> I used to believe nuclear energy was dangerous and nuclear waste was a big problem. [...]

The only way I could imagine someone being an expert, work in the industry so many years and hold this false assumption just as long is to be motivated to not know.
I see downvotes, but there is a difference between "our stuff has a bug" and "we're actively keeping this project alive, including updating binary downloads, even though we know it has endless CVEs, some of them years old."

One is an innocent problem. The other is willful negligence.

And we need to start suing for this sort of thing. We need fines for companies willingly causing harm.
That's a factor too, and I think that as Millennials and Xers realize that the BoomerJobs--the jobs in which you actually have some choice in what you work on, where you write your own performance review because the boss sees you as a friend rather than an exploitable resource--aren't going to be allocated to them, but written out of existence, we will see an acceleration of the discouragement and "presenteeism" that are already endemic.

The only reason we haven't seen 85% of society give up all at once is that some people still hold out hope that the BoomerJobs, once vacated, will be given to them. That isn't going to happen, though.

People work "hard" in our society, because they have no other choice, since there is no social safety net and employers can do whatever they want in this country, but no one really cares anymore. This has manifested itself as survivable mediocrity for quite a while, but as soon as our society finds itself in any kind of serious crisis it will collapse. It almost did, during COVID.
Describing the GP as "virulent" is a silly over exaggeration.
My particular use case was offline first, so using the Yjs bindings and combining with PouchDB I built a system to enable conflict free distributed off/online edits. It worked really well, however he project died in the end.

Using Yjs in combination with PouchDB worked really well, it effectively allows you to have conflict free auto merging for Pouch/CouchDB documents.

See here for details:

https://discuss.yjs.dev/t/distributed-offline-editing-with-c...

https://gist.github.com/samwillis/1465da23194d1ad480a5548458...
>Now it is like staying at a crap hotel and often more expensive

not surprising, companies like Uber and AirBNB were initially cheaper because they were basically ignoring most laws and getting away with it, plus subsidizing cost with VC money. Now they are being forced to pay for compliance and taxes, and trying to turn a profit, costs go up. Plus their renters don't have the economies of scale compared to traditional hotels, so it makes sense they will be more expensive
My (not totally serious but kinda serious though uninformed) solution to the problem: Build a few big underground atomic bunkers around the world and store the long term waste there until we can find a solution (or leave it there). Do it in the middle of a desert far away from any people. No NIMBYs, not interesting for attacks.
Seems to be as tolerant as most people I talk to:

You can believe whatever you want to believe, so long as you act in accordance with ours laws.

This seems to be how many people view tolerance. Their laws are different. If you do not like that, do not go there.
As the author notes, you can break this rule. As with all rules in software, you learn the rule so you know that you can break the rule.

> "Because often the end goal is about writing clearer code even with shitty tests."

If you're worried about people being afraid to write tests, this really scares people away. Nothing makes me want to write a test for my changes less than a 2000 line test file with 50 mocks.
it's much easier to get hospitals to share EHR data than you think. Both from the anecdote level (when switching health care provider companies, my doctor was able to export my EHR from Kaiser and import it to Sutter with a single click. Two completely different systems (which happen to both be running the same underlying software).

At the generalization level, many companies make deals with health providers to get various forms of access to EHRs.
As the footer on the online version of the book says "Handcrafted by Robert Nystorm" - it really is lovingly hand crafted. It shows that the author went over the content many, many times polishing it with every go. The content builds up really well as it goes along.

On a minor note, whenever I read a technical book I always come across some mistake in the copy-editing, a missed article, a misplaced article, a typo. I'm 70% of the way in and haven't come across any! Which again speaks to the well-craftedness and hand-craftedness of the book!

Though I do feel the author ran out of steam with respect to the lovely, quirky artwork in the book. I'm disappointed Bob, I want my money back.
Perhaps, but I'm not an Economist and my work is far more often targeted at the operations side of things, so I really couldn't say.
I used FreeBSD as my main desktop OS from about 2003 to 2005, and I was very happy with it back then.

More recently (~2016-2017), I tried to install FreeBSD on an old ThinkPad, and I was not very happy with it. PC-BSD worked fine, but the upgrade/re-install to TrueOS broke; I installed vanilla FreeBSD, but that did not work, either, X11 kept freezing/crashing - at that point I gave up and installed Debian.

15 years ago, I positively enjoyed spending a weekend (or more) trying to figure these things out, but now I am old and grumpy and want my stuff to "just work"(tm). NB that I'm talking about desktop usage - my home server runs FreeBSD, and I could not be happier.

In fact, if I wanted to run a BSD on my desktop, I'd look at OpenBSD first (unless I want/need Bluetooth to work...).
I have an idea and I know how to get started. Not doing end-to-end because I also do unit tests and they improve my API. It's just that they're not perfect, especially duration-wise.
My point is that I don't want get discouraged by being confused about best practices. Most of the software suffers from any testing, and many juniors read articles like these. Seniors do YOLO, correctly or their own way.

Bit offtop, not debunking the content of this post though!
I used to be in that camp but honestly, as long as you keep a spreadsheet of subscriptions it's really easy to manage, and more convenient than the older one time purchase for a large amount model (at least for me)
Then it should be easy to provide proof.
Oil and gas usually runs five to ten years behind on new technologies, so it’s about time for them to take up Cambridge Analytica.
Depends entirely on the project. Java (probably because oracle doesn't solely own it) has flourished primarily under their hand.
It's not about fair use. If you have a problem that can only be solved by one specific implementation, that implementation is not copyrightable because it has no creativity behind it.
All I can say is, if you’re on iOS, Hide My Email makes creating and managing “throw away” emails super UX-friendly.
A warranty is not the same as willful negligence.
Mozilla SOPS, a tool for encrypting secrets for storage in source control systems, lets you encrypt secrets using the Shamir Sharing Threshold. You can use (and mix and match!) keys stored in of the first-party cloud secrets managers (AWS Secrets Manager, GCP KMS, Azure Key Vault), Hashicorp Vault, GnuPG, or Age.

Various IaC ecosystems have integrations for it. It's probably the best way to store secrets for Nix-based deployments, and there are also docs and integrations that pair it up with Kubernetes and Terraform.

Idk how many companies are really using keygroups, though. Probably in some of them, the repos are public and can tell you that.

https://github.com/mozilla/sops
Fervo (https://www.fervoenergy.com) is another deep bore geothermal startup.
It's not a stretch to claim that loose, expansionary monetary policy causes asset bubbles.
The cost or the price?

The price of renewable energy is often very low, frequently even negative. This does not reflect renewables advantages, but their disadvantages: being available in abundance when the energy is not needed or wanted.

Even the Energy Return on Investment is barely sufficient for solar, for example, so I have a hard time believing that the cost is actually competitive.
I hadn't heard of these options before, thanks for highlighting them.
> Literally a conspiracy theory.

A conspiracy theory to have your stock undermined with unsurpassed short selling? Or for the president to hold an "EV Summit" and not even invite the company with the most US electric-car sales (74% over the past three years) who were recently dubbed the "most American-made"? [1]

[1] https://www.businessinsider.com/tesla-beats-ford-as-most-ame...
Like I said in another comment, I'm not an economist. My background is in CS and though I work with economists at times when they need the help, my skills are often more useful in operations.
Finally a rational and spot-on discussion about energy. Great article!
Especially a rational take on the nuclear boogyman - if you care at all about CO2 emissions then nuclear should be your highest priority! Instead of burying "nuclear waste" we should be burning it in modern reactors.
The problem is that the cryptocurrency space is not a homogenous entity. It's like painting the web as a hideous monstrosity because you disapprove of online gambling, Facebook and that the NASDAQ index fell recently. The title refers to Bitcoin but the content relates to Tether, Binance, Terra/Luna, etc.
The software equivalent of “shall not be infringed”.
Oh good, I look forward to the continued ad-blocking Manifest v2 provides after Chrome sunsets it.

And we still have to see if other browsers will block the Topics API spyware or not.
Accessibility and UI inconsistency are going to be serious problems with that. And UI inconsistency's already the curse of the Web—definitely not something that needs to get worse.
Why Mercedes-Benz runs on 900 Kubernetes clusters
> Individual states cannot legalize it, they can only decriminalize it- at least, until a court case makes its way to the supreme court that removes marijuana from the federal government's ability to regulate drugs via the DEA.

"Decriminalization" is a specific term with a specific meaning in the context of drugs.

When states decriminalize a drug, they reduce/eliminate enforcement of the existing laws.

When states legalize a drug, they actually remove the laws prohibiting the drug. When most states legalize marijuana, they also create regulatory regimes to dictate how when the drug can be created, sold and used.

So while you are correct that Marijuana is illegal under federal law and that there are good precedents for their ability to enforce those laws, you attempt to get this point across by nitpicking the use of "legalize" is pedantically wrong. The correct explanation is that there are many states that have legalized marijuana under state law and the federal government has a policy of decriminalization for intrastate marijuana commerce in those states.

I think that part of the reason why that approach is taken by the DEA is to avoid creating opportunity for legal challenges that might undermine the existing precedents that give them power to regulate even intrastate commerce.
>Yeah yeah. Bitcoin is an open financial network that anybody can use and nobody controls and is secured by energy. What an amazing, historical feat of human ingenuity. It's neutral and just like the internet can be used by anybody. We're not going to apologise for its energy use.

If you think the ends justifies the means, I suppose you could do anything.
This rule is also recommended by section 9.2.4. "Only mock types that you own" of 2020 book by Vladimir Khorikov: "Unit Testing Principles, Practices, and Patterns".

Worth noting is that book also says in 9.2.1: "Mocks are for integration tests only". I agree.

In my opinion this book is the best comprehensive take on testing I ever encountered.
You should give it a go if you can spare the time. You'll need a credit card but they give you a free trial.

5 minutes in my IDE and I'm already sold on trying it for the next month.
I want nuclear plant near me.
> we need fines for companies

I think the reason you’re getting downvotes is that Apache is a non profit foundation, not a for profit company. So fining them isn’t going to do a lot of good (as well as being very unlikely to succeed)
95% of our traffic is organic so it's not anything to do with marketing. I think it's just that we're ranked much higher in the Play Store than we are in the App Store atm. The iOS App Store is much more competitive (in our niche) and we haven't yet cracked the ranking algorithm :D.
Real cigarettes are taxed by the state, e-cigarettes aren’t. Juul is the largest and highest profile. manufacturer

If you follow the money, it makes more sense.
And the same for other forms of media. Before video games became the scapegoat, we had people believing similar things about movies, TV shows, comics, tabletop games, music, etc. It'll probably be said of future forms of media too, if it isn't already.

Either way, the stats have never panned out for this sort of belief, and it usually seems to be a way to avoid having to think about political, social or mental health issues, access to weapons, or any other possible cause that might be controversial with a portion of the electorate.
It's hard to know for sure, but I hope over time it helps. The trickiest part is that many of them seem to have given up on their governments and doubt democracy, so I have to remind them that even imperfect democracy is still better than an unchecked kleptocratic dictatorship. They also argue about US being a much more prolific warmonger historically, but that's more or less besides the point.
Yeah, when I hear Libre Office, I think "That FOSS word processor"

When I hear Open Office, I think "That dystopian floor plan corporations use when they decide cubicles aren't soul-crushing enough"
Microsoft stops selling emotion-reading tech, limits face recognition
While the average person does theoretically have the option of revolution, it's realistically a very difficult and dangerous thing to even attempt to arrange, so most people -- in any country -- would watch their leaders do many terrible things before they would even consider such an option.

The US invaded and occupied a sovereign state based on outright lies less than 20 years ago, and I doubt even the strongest critics of that war were seriously considering a revolution.

Expecting some programmer in Russia to do it, and punishing them with sanctions for not doing it, is frankly insane, and since the leaders implementing these sanctions must know that, it's dishonest too.
> LibreOffice was forked from OpenOffice after Oracle bought it.

It depends on your point of view. IIRC, LibreOffice is actually a fork/continuation of the go-oo project (https://en.wikipedia.org/w/index.php?title=Go-oo&oldid=10809...), which is older and already existed before Oracle bought Sun.

What happened later is that LibreOffice was rebased on top of the re-licensed Apache OpenOffice, to take advantage of the more compatible licensing. But it had been forked (as go-oo) from OpenOffice much earlier.
Solar and wind will always suffer from a storage problem. The key to modern power is not potential but throughput and consistency. Modern infrastructure needs x Watts delivered 24/7, shifting to y Watts during on-peak hours and z Watts during off-peak hours.

Because of inconsistency, solar and wind will remain non-viable as a primary source of power.