skysight-inc/HackerNews huggingface dataset:
> If your database queries are a mess,

This has been the cause of basically all of the slowness in Rails projects I've worked on, at least. I've seen queries taking tens of thousands of times longer than they should.

I don't think I've ever seen a Rails codebase that didn't have speed problems, but every single time it's been because DB access is being done very inefficiently. I've yet to see one actually bound by the computational speed of Ruby (I'm sure it happens, though) and it's considered way on the slow end of popular languages.

The problem's always 1) Doing shit in Ruby that the DB can do a thousand times faster (joins[!], calculating things based on a huge number of rows, mashing together pieces of data, et c.) with a better query, or 2) firing tons of identical-but-for-some-values queries in a loop(!?)

[EDIT] Actually, just as I hit post, it occurred to me that 2 is really just a flavor of 1.
It's always funny how articles like this blame the issues on Silicon Valley rather than the consumer who buys into the hype. Instead of telling (showing?) people to look inward and learn a bit of control and moderation, the authors assume we're all cattle who can't help but eat at the trough of silicon valley and SV are the ones are to be blamed rather than media and consumers themselves; why aren't they taking a step back and see how they promote boom and bust?
There's an element of truth to that in some cases, but it's mostly just something Python fans say to excuse the fact that Python is so slow.

It's not true for two reasons:

1. In practice writing a prototype in one language, then completely scrapping it and rewriting it in another language almost never happens for fairly obvious reasons.

2. The "slow bits" of a Python program are rarely neatly concentrated in a few parts of the program that you can rewrite in a fast language. The whole program is slow, so there's no small part that you can rewrite to make it all faster.

3. There are other languages that are just as easy to use as Python (easier even!) but are also fast enough that you don't need to rewrite anything in most cases. Typescript is probably the best option at the moment but there's also Dart, Lua and probably others I've forgotten.

Python is popular because it's seen as very beginner friendly so there's a mountain of content out there teaching people Python. Also the REPL makes it good for beginners and for science.
Font vendors update their fonts, I'd guess.
this cuts deep
There is evidence that some antidepressants cause "violent suicidal preoccupation". But it's unclear whether that is a significant factor behind the increase in mass shootings.

https://ajp.psychiatryonline.org/doi/abs/10.1176/ajp.147.2.2...

https://journals.plos.org/plosmedicine/article?id=10.1371/jo...

https://journals.plos.org/plosmedicine/article?id=10.1371/jo...
Thermal degradation plus oxidative processes make the claimed "scalable" water-capturing application unfeasible IMHO. The authors extract the water by heating to 60 °C. I'm surprised neither the Nat. Comm. editor nor any of the reviewers asked for a thermo-gravimetric analysis of the material.
https://archive.ph/vxZDQ
I use primarily linux but these are the tools i use:

Ansible - I can bootstrap a new linux install with all of my configs in ~10min, this has saved me countless hours of time. My linux installs are heavily modified (tiling window manager, lots of custom hotkeys, custom ricing)

Git - I sync all of my dotfiles to git and and can keep them in sync between PCs.

Syncthing - My dev folder and a few other important folders are kept in sync between all of my PCs using syncthing. I can save a file on my desktop and turn to my laptop and the file will almost instantly be there.
I don't know what you expected from clicking a link as abstractly named as "Mental model examples". Join us next time for the follow-up blog post, "Kinds of Things That There Are, and their Explanations"
Surely a flag (country symbol) is the wrong identifier for a language though?

There is a many-to-many relation between countries and languages, so flag for language is a bad UI choice.
> Have you considered exercising the right to found a new nation? Or exercising the right to peacefully revoke consent to be governed?

Like as in have I considered actually doing it? No not really. As far as I know there's no new land in the world where anyone can lay a claim to. All of the world's governments have claimed all land in the world, so to found a new nation you have to create a new monopoly on violence for a given geographic area, and that's hard to do.

> Or perhaps abandoning preferences so that your likes/dislikes aren't so determined by capitalism?

So I don't see how this is connected to your other sentence. If you replaced capitalism with government then I think that would make sense. Bringing capitalism into this doesn't make any sense to me.
To add to this, South Korea has the lowest total fertility rate on the planet

https://data.worldbank.org/indicator/SP.DYN.TFRT.IN?most_rec...
s/dead letter/stable and working as intended/

Yep, the context is interesting. Hopefully we'll never see quartering again but as the saying goes: history rhymes.
> they are obsessed with how they are being outdone materialistically

In terms of consumer electronics, they're still leading the way. Are you referring to China since they're emerging in this market along with automotive?
No, but there are some old ones going to e-waste. They're pretty worn out but refurbing one (retrobrite the plastic, change the paper guides and platen roller) might be a fun youtube video.
With a somewhat different material, optimized for that situation, could this be made to work well in hot, humid environments?

If so, then I'm smelling a plausible solar-powered, cheap, modular "emergency life support" system for people threatened by extreme web bulb temperature conditions.
> because you can’t build a business on scamming people in the long run.

When switching is effectively impossible, this is what happens.

Oracle has been buying various application companies with installed bases that are difficult to migrate away from. They are essentially buying customers to milk after putting in their enclosed pasture.
Go is incredibly productive. Its primitive type system keeps me from bikeshedding, the standard library mostly makes sense, builds are fast, and yes, the builtin asynchronous IO means that I can write a C10K server without even trying. No JVM, no choosing between libuv and libevent, literally just take the simplicity of the fork-per-request model and adapt it to modernity.
This would be regulating dopamine within a digital Skinner Box
Lipid-stabilizing-antioxidants and acidity-stabilizing-antioxidants obviously do have medical effects.

They work, but not in the blunt ways people are looking for..
At 20C, the maximum water content in air is 17.3 x 10^-3 kg/m^3.

At 15% relative humidity, then, you can extract a maximum of 0.15 x 17.3g = 2.6g from every 1,000L of air.

If a person needs 5L/day for survival (I am making this up), then you’d need to dry out 5000 / 2.6 = 1,923L of air each day — that’s just short of two cubic meters…

If the density of people living in an area is 50 per square km, drying the air out to extract water would deplete the first meter of the atmosphere by 10%.
A lazy bitch like me learned to be productive (2020)
Well-regulated meant well equiped when the constitution was signed. That's where "regulars" comes from in military usage. This was addressed in heller by a liberal majority supreme court: https://en.m.wikipedia.org/wiki/District_of_Columbia_v._Hell...
Learnings can be more easily interpreted as "something I learned', while lessons can come across as 'lessons for you'.
> I can rebuild my configuration(Aside from some fussy embedded toolchains) in half an hour or so. VS code, a few different linters, swissknife, stack tabs, timestamper, indenticator, pylance.... done.

I can clone my dotfiles repo[0], run a single command that installs all my dependencies[1], another that links my config and I'm done. That gives me a fully-configured neovim with all my plugins (thanks vim-plug) within 2 minutes.

[0] https://github.com/peteryates/dotfiles/

[1] https://github.com/peteryates/dotfiles/blob/master/Makefile#...
It pains my prescriptivist instincts to say so, but FWIW I do interpret them differently, frequently as the complementary sides of a single event:

A learning is a successfully learned thing. Or a received lesson.

A lesson is a taught thing. When effective, this would be one path to a learning for the receiver.
The holy grail for me would be a tool that allows me to run (basically) any Python package in the browser.

Pyodide is at the point where it can run any pure Python wheel out of the box, but building non-pure wheels (e.g. containing C, C++, or Rus) is a very manual process.

I don't think we're tooo far away from having tools that automate all the manual work, but I really wish we had them today.
I guess you can cry about apple removing the flag icon? I don't know what you want. I'm just answering a question you asked.

You asked this: "Who is the ruling class in non-capitalist countries? "

I answered this: "For any country, ask yourself whose interest the government/military/media/etc exists to serve. I'll give you a hint. It's never 'the people'. In capitalist countries, it's to serve the interest of capital. In monarchies, it's to serve the interest of the monarch. In communist countries, it's the serve the interest of the party. God knows what north korea is. A communist monarchy?"

My response wasn't about capitalists or capitalism. My response was about the ruling class for any country. You are so agenda driven you only see what you want. You asked a question, I answered and you are crying about what other people wrote. Not what I wrote.
SMTP came before corporations offered their own email solutions. XMPP came after AIM and others had already staked out their claims on the chat space.
Employees can move on at their choosing no? And the investors made a gamble, it's their own fault if they invested poorly. Now they have to wait (or at least play to the contract).
What? Surely it's much easier to tell a language by specifying it's two-letter code rather than a "flag" that may identify a country if you remember it, and which has nothing to do with a language
You can for example use a controller memory buffer with NVMe and just access the data over mapped PCIe, or you get it to DMA into L3 cache and use/overwrite it before it gets it's turn at the write-back part of the DRAM memory controller.
Could even replace desalination since humidity has no salt and it is generally occurring in a similar area/climate.
I dunno I feel like the language was always seen as fast..ish. It was the startup time, memory use, and speed of actual applications that were slow.

Is Eclipse fast yet?
Read this: https://www.amazon.com/1861-Civil-Awakening-Adam-Goodheart/d...

This is exactly what happened during the civil war. Union army was reluctant and refused to engage in combat, letting Confederate forces withdraw instead. Some yahoo ambushed a well known Union Officer and killed him to support the confederacy and the gloves came off.

Imagine how quickly knowledge of this sort of incident would spread in todays world vs 1861.
A quick informal poll for devs stuck with agile out there:

After scrum, do you:

1. Immediately get to work

2. Spend time going through recent communications

3. Walk away from the keyboard to decompress

?
Translating images into bird's-eye-view maps
Saw a lot of DigitalOcean ones too.
My company is hiring junior engineers, but take into account that:

- the positions are filled quicker than any other position due to the number of applicants

- so many applicants do have interesting projects or internships that people whose CV show neither are never really under any serious consideration
Do I support my "local community" when I type on a given keyboard layout ?
And when I switch the layout because I need to type in a different script, do I betray my "local community" ?
And what about I live in a country that's not my "original" local community and need to use yet another layout ?
Do I feel insecure when I don't see a flag I know in my menu bar ?
Was there ever a Taiwanese or Chinese flag there? I’m using an older version of the OS and I see tons of Chinese input methods, but none of them are associated with flags (which wouldn’t make sense to me anyway).

Same as Japanese. Japanese is a near perfect correspondence between language and national identity, but none of the Japanese input methods use a flag.

This doesn’t seem like it would be related to China or Taiwan in any way.
For me when I post with both a link and a text body, the text part sticks to the top.

Maybe dang can fix this one?
The problem isn't Apple. The Taiwan question is not something that should (or can) be dealt with by corporations - it is something to be solved by politicians and governments.

China demands suppressing everything that even hints of Taiwan not being an independent country, even outside of its borders? Fine, sanction them to hell and beyond.
The problem is Google objectively provide better search results. I'm a DDG user as well this is my opinion -- DDG is my chosen default because of their stance on privacy.

If it turns out DDG isn't offering much privacy as they claim then back to Google. It's not enough to make me switch right now but I am watching to see where this hockey puck goes.
If I'm reading it right, it's more the acceptance of loss of what you had and more appreciation for what age brings you now. Also the start of removing things from your life, rather than constantly adding new things. To bring it to a HN context, maybe learning that new language won't be as satisfying as just getting deeper on the ones you already know? I'm just guessing at this point.
This is a problem in many places, but it is absolutely not a problem in Korea which adds housing units in every one of its metro areas at a rate that would make community approval boards in the United States pass out.

Seoul has a population of eight million. In the five years between 2015 and 2020, it added two hundred thousand housing units, and that rate is only going up.

https://www.statista.com/statistics/1290699/south-korea-numb...
Did Apple merely change the language selection UI, or did they also remove flags from their emoji font?

OP only mentions the former, but many replies seem to be referencing the latter.
This might be for political reasons. MS removed all flag emojis entirely in Windows 10, likely because of that island where all of our GPUs get manufactured, or the open air prison next to where our military surplus gets sent to.
My point is that a 35-year-old person might have mental issues, that's why I’m saying that it should be checked.
I started to have the most minor of flight-or-fight symptoms April 2020. I'm guessing I was exposed to covid then but was asymptomatic. Fast forward to August 2021 and I suddenly couldn't lift weights anymore without feeling like my head lost all oxygen. Like, my body can DO the thing but it will be severely punished for having done so.

I've been lucky that I've never had any of the breathing issues, even after I for sure had covid in December of 2021. But the post-anaerobic activity suffering is the worst. The general neurological damage (brain fog, nerve pain, untriggered anxiety) is the most frustrating bit as no one can seem to find the cause of it using any conventional scanning, at least not with me.
Except flags are a terrible way of identifying a language. Many (most?) countries have multiple official languages, and most languages are spoken in more than one country, so there is not a one to one mapping between flags and languages. And that's not even getting into the political side.
I mean, people do most of those things (the wig analogy is a bit off but people do get weeves and extensions) — not everyone, but I don’t cook, as an example. I own a frying pan, but I don’t know the last time I’ve ever used it. As a general rule, I don’t cook.

And many, many people don’t own a car, not because they can’t afford one but because it makes more sense to rent one or hire a car service when needed. Frankly, my dream scenario is to have enough money to hire a personal driver who is on-demand and at the ready when I need to go out and do things. For plenty of people, that’s anathema. But for me, I don’t like driving (or cooking) and I’d much rather pay someone to do it for me.

The same is true for software. I like tinkering with a lot of my own software, but if I was building my own business, I sure as shit would rather pay for an established company to handle some of the grunt work, rather than hiring dedicated teams that in aggregate would cost a lot of money.

The rise of SaaS and PaaS isn’t just laziness. It’s a recognition that for a lot of people, even developers, we’d rather entrust a lot of the operations and IT work to someone else.
It's really hard to tell; there was fairly earnest and genuine stuff mixed in with a lot of very dry humour. He always came off as kind of entitled, for sure, and at some point the 'jokes' started to come off as extremely poor taste. The trajectory of tech troll to weird financial/personal life advice to wife leaving him to full on reactionary along with his dealings with the AlgoExpert guy suggest there was always some level of seriousness and possibly mental illness in the mix.
A pure vacuum shuttle should be fine with getting launched and then wrapped with the insulation afterwards.
Launching it empty is likely not really easier than launching it full, due to LH2's low density. But that's not important.
XMPP is only kind of decentralized.

As far as any individual user is concerned, loss of the server(Which their identity is tied to) would be a hassle. Just like email.

SMTP got really entrenched really early. It's what gmail uses. They can't really do a proprietary mail protocol, SMTP was around way before them and nobody wanted to switch.

Instant messaging for the masses was proprietary from the start, as far as I can tell.

There was IRC, but it seems like by the time the internet was everywhere, people were already on AOL and ICQ and a bazillion other proprietary ones offering various extras and integrations.

None of them seem that interested in open protocols.
One wonders what flags are next.
DDG is just a proxy for bing, that's it.

Saying DDG is a search engine is like saying instacart is a supermarket.

They are just delivering someone else's business and could disappear overnight if the source decides to disallow them.

Which brings up the question if computing power, storage and bandwidth has never been cheaper, why are Google and Bing the only two major search engines surviving?
The Afghan flag has this exact problem now. Plus the political issue of recognizing or not the Taliban government
Indeed; likewise, the left and right have been ratcheting up their war on bodily autonomy with vaccine mandates and abortion bans
Left and right wing definitions are becoming increasingly blurred. The big difference seems to be on exactly what they want to restrict. Neither seem to have personal freedoms or responsibility at the top of their lists and only use these phrases to hide motivation.
About how much debt might that be about? Ballpark? Maybe between $4k
- $40k if I were to guess?
So a couple of thoughts.

> Have you seen the personal blogs of devs today?

I don't know that this is a fair comparison, because side projects can and are often a way to explore ideas, understand tech, play around, etc. So I don't know that I'd agree that it's a great extrapolation to the way an engineer works based on side projects or a blog that may have different objectives.

I do agree with the sentiment though, that we want to be watching for indicators to how a team member approaches problems.

> the way it is because everyone thinks they're gonna be the next FAANG-sized company, and need to be able to write FAAANG-quality code and engineer FAANG-quality architecture from the start

I don't know it's fair to say everyone, but is something I agree companies, especially startups should filter for. When I acted as hiring manager, and was trying to build SRE as an example, I would remind candidates, and the team continuously that we're not google. So while we want to bring ideas and approaches in from what google has published as "SRE", we do need to consciously leave large parts out that are appropriate to our needs and stage of maturity.
Lots of other countries have firearms and don’t have school shootings. Switzerland and Israel come to mind.
Prolonged exposure to very loud music -- that'll do it.
Yeah, last time I looked Emscripten’s were definitely considerably worse than wasm-bindgen’s, but that was a few years ago.

There’s also just a lot of missed opportunity for things like abbreviating identifiers, plus stuff that’s completely normal for optimising compilers like GCC or LLVM like inlining and safe code reordering to eliminate completely unnecessary temporary variables and the likes, but for which absolutely no equivalent tooling exists in JavaScript. And I have no idea why that’s the case. I know of only two even vaguely interesting projects along these general lines: Google’s Closure Compiler (2009– but functionally I don’t think much interesting has happened in the last decade), but it’s too esoteric and requires too many compromises for most people to use it (and it didn’t help that it’s written in Java); and Facebook’s Prepack (2018), which tried doing partial evaluation but they given up on it before it really got anywhere useful. Everything else is just quite hopeless, almost never going beyond very simplistic syntactic transformations that don’t modify semantics.
Well, matlab didn't pivot into that esoteric toolbox of numerical methods for engineering tasks. It has always been that. That's probably the very reason ML researchers picked it up in the first place, because everyone was using it already anyway for scientific (esp. linear algebra) calculations.

I've done my degree a bit before you (in Electrical Engineering, also learned all I could about NN and other AI methods back then) and most people would use MATLAB for whatever scientific algorithms/calculation they needed to do. We had free student licences at the university so that we could use it for lab work and for our theses. I remember it had all kinds of numerical optimization algorithms/packages, control theory algorithms, etc.
Why would you need to do anything? I mean, unless you're a hardliner anarchist, you accept that there always will be a class of people in power. Whether they buy the power with money, seize the power with violence, get it handed to them due to being born in a certain family matters little, in my opinion. The important part is setting up a system where the powerful cannot abuse their power to the detriment of society and where the lower classes have some basic rights guaranteed. Before you do set up a system like that, you unfortunately need to first educate the lower classes enough for them to realize that they want and need such a system in place. And that's the hard part, a main issue when talking about some Asian democracies, and a thing you're missing, I think.
What's wrong with Angular? It being largely "batteries included" seemed pretty nice and I really liked the fact that TypeScript was a first class citizen - React and Vue both feel like it's been kind of tacked on, especially when a lot of additional libraries out there don't really have proper bindings.

That said, personally I also think that React kind of went downhill for a bit due to the hooks (after seeing a few projects become really nightmarish to debug due to render loops without clear causes for them, after people sprinkled one too many hooks in there).

Oh, and the Vue 2 to 3 migration is also a bit problematic because still many UI component libraries haven't been migrated over - currently actually using PrimeVue on a project because BootstrapVue still doesn't have proper support https://github.com/bootstrap-vue/bootstrap-vue/issues/5196