skysight-inc/HackerNews huggingface dataset:
I was considering routing 1gps on the wire - it’s often better to have the actual router separate from the Wi-Fi hotspot.
But you don’t have stacktraces.
TL;DR Iron and Urea can be processed to form very high strength room temperature magnets, but industrial scale requires more work.

Not in the article: iron and urea are commonly available without geopolitical worries
Are you sane? Oil-wise, America's proven reserves are around 47 billion barrels and russia's 80 billion. Rare metals? See the news piece about the fairly recent Japanese discovery of a huge deposit in their territorial waters (yeah, hard to mine and extract from under seabed but still possible). Population? Russia's population is predicted to fall to ~83 million by 2100, and China has the 2nd worst birthrate in the world after South Korea, ~1.2 (the US has ~1.7, the replacement level is 2.1, but the US compensates it by attracting migrants where China can't, they want maintain their homogeneity to maintain stability, they can't have too much diversity with races, ethnicities, religions, languages and are racist towards immigrants), worse than Japan. It's actually possible (not guaranteed, but still possible) that by the end of the century the US will be more populous than China. russia is entirely irrelevant (except for nukes and raw materials), China is strong but faces too many hurdles. Seems like usual standard anti-Americanism at work. But I agree that India has chance to overtake America (demographic benefit, native exposure of English, democratic governance, huge investments into infrastructure since Modi, etc. They need to keep pumping money into infrastructure, increase spending on education to eradicate illiteracy, on R&D, ensure gender equality, resolve intercommunal tensions and violence between Muslims and Hindus (since religiosity levels tend to fall with growing economies, they'll secularize and become less religious), less red taping, and eventually they'll be on par with America or even stronger). If you're looking for the eventual new superpower, in the long term it will likely be India, not China (let alone russia).
Overnight YouTube videos? For sleeping to?
If you welcome criticism, then here it is: I find your generalization particularly silly ("Hackers like dark modes"). You could have just asked (begged) for a dark mode without invoking a fallacious argument.
Handle errors in bash? More power to you, but if my script cannot just fail in place, then it will be written in Python. Even with shellcheck, I do not trust myself to write more than a handful of lines in bash.
> why would all problematic users congregate on the same server?

Because they have been banned from other servers ?
What are you talking about? I said Reddit and HN and YC are classic liberal capitalist stuff. Then I jokingly brought up left ideology. You somehow took me making a transparent joke seriously. Leftism and liberalism have little relation.

Also. Did you know leftists get banned all the time. Leftist subreddits get banned In whole (Chapo Trap House).

Stop living in a fantasy world where you’re the moral victim.
IIRC os.Open includes the pathname of the file it’s operating on. But still, if you don’t wrap your errors, you get useless errors which are unlocatable. Wrapping is essential in go. Thankfully the STL has good facilities for adding relevant data (like pathnames) to your wrapping
> If you want to be one of those “don’t believe everything you read on the internet” or “anybody can write anything on Wikipedia” proselytizers, then that’s your prerogative. I’ve outgrown that and that seems to be where we disagree.

nah just on this topic because I see how it happens

article could have mentioned the partners ages and we simply have an absence of it to guess over based on our own/preferred “lived experiences”
2023∕06∕19 is a filename. 2023/06/19 is a directory.

UTF-8 &#8725; division slash
1. It's opinionated, so there's often only one way of doings things. Largely, the "one way" is a good way, so people appreciate the forced consistency
2. It's simple. It is very easy to read and write. It is hard to shoot yourself in the foot.
3. It's powerful. They have a few core abstractions that compose well (generic io, http stuff).
4. It's fast. It runs fast because it's compiled, and it compiles fast because it's simple.

Me personally: I appreciate the simplicity of it. It's a great language for working with in a team. I wish it was more functional, and had better ways to handle errors, but the simplicity of it all was a breath of fresh air using it in a working environment.
I've lived in Australia my entire life (born here) and I can't think of a time in my working life where any of what you confidently declare is "common place and accepted" was anything like that - at least not within the city professional demographic I'm familiar with, which does trend middle class.

And the city-based tech industry in Australia is hardly a whites-only monoculture - far from it - so if you were in that sector and declared "racism was rampant" I squint my eyes a little wondering where exactly this managed to be possible. Which isn't to say it doesn't exist or isn't a problem elsewhere, but within the workplace? It would be surprising for it to be "casual" given the demographics of the sector.
> Relying on crashing as a bug recovery system is a good idea? Crashing is just part of the workflow? That's insane

Erlang users don't seem to agree with you
Sorry to be so naive.. who is TFA?
> But doesn't know how the return values will be used by the caller. What is perhaps lost in this is where Go says that values should always be useful?

It doesn't matter how it will be used by the caller. If I'm writing a function that can fail, no magic in existence can create a success object out of nothing, especially one that "should always be useful". At that point you're stuck either returning a nil pointer or a zombie object (along with the error).

> Exactly the current way is what is said to be deficient, though.

It's deficient because it's modelling the wrong (in the common case) thing. I'm saying if you're in the uncommon case and that actually _is_ what you're trying to model, then you still can.

> A function of this type is naturally going to return a file every time because a file is always useful, even when there is failure.

What? No. It's not useful if there is no file, if the error is "wtf, that file doesn't exist".
Did you update the comment? :-)
Also called "continuation monad", which can be proven to be universal.

So, no surprise.
> I've considered upgrading to a 12th or 13th Gen motherboard, and while I have no doubt they'd be great for me as a Gentoo developer with the greatly increased core counts, my hesitation is that the new CPUs have AVX-512 disabled.

Unless you have a very specific AVX-512 workload or you need to run AVX-512 code for local testing, you won’t see any net benefit of keeping your older AVX-512 part.

Newer parts will have higher clock speed and better performance that will benefit you everywhere. Skipping that for the possibility of maybe having some workload in the future where AVX-512 might help is a net loss.
Good UI design isn't all magic, but a design system sure is
Just a blog post I made about my experience learning some web design principles as a full-stack web dev and building a design system for a side project.
In the last example, it is preferable to use `if errors.Is(err, context.DeadlineExceeded) {...}` instead of the given `if err == context.DeadlineExceeded {...}` since the `errors.Is()` function will recursively unwrap error chains to find the specified error.

https://go.dev/blog/go1.13-errors
I feel like a lot, if not all, has to do with the Google backing. Back when Go was announced, the company had _a lot_ of goodwill, and were envied by anyone doing software engineering. So, pretty much anything they did had an immediate following and base of engineers willing to blindly adopt whatever they did.
More complaints I don't understand.

Of course you have to learn whatever language/tools/features your company uses. That's got nothing to do with C++. If the company doesn't want certain features to be used, it will ban them. Plenty of places have blanket bans on the STL.
Someone from Europe and who likes European culture will probably be OK in Seattle (except for the problems the OP cited). They're not going to be happy living in Pittsburgh or especially Indianapolis. You're entirely ignoring the quality of life and culture differences that come with these different places. There's a reason people want to live in NYC and Seattle, and not in Indianapolis.
These days with batteries, a lot of that demand can be served very rapidly. Batteries act as buffers and increasingly replace traditional back up generation (stand by coal/gas plants). A lot of these load spikes are short lived. There are all sorts of weird spikes related to people turning on their tea kettles in the morning or turning on their stoves around 6 pm, etc.

Battery production is currently shifting from hundreds of gwh per year to twh per year worth of production. They last quite long too. If you cycle 1 twh of battery every day, it would run out in about a decade (assuming 3000 cycles or so). And if you do that, that amounts to absorbing and serving about 365 twh.

The worlds entire electricity production is measured in peta watt hour (pwh). About 25 phw. or 25000 twh. So, with battery production scaling int he tens of twh per year, there may soon be enough battery to absorb and produce that kind of volume. Doesn't mean it will be used exclusively for that. But it drives the point home that we are talking some very non trivial levels of standby power. That's car batteries, home batteries, grid batteries, etc. connected to the grid. Mostly neither charging or discharging most of the time.

Tesla and a few others are starting to experiment with virtual energy providers. That might go from a few GW to having in the order of TW of power available on demand very shortly. There are about half a million tesla home batteries out there apparently. Even a few thousand of those already add up to quite a bit of collective power. Imagine that scaling to millions of connected batteries. They'd be the largest power supplier, by far, in most markets.

That won't run the grid for hours/days obviously. But it does eliminate a lot stand by capacity that is expensive and poorly utilized.

That's also the future for energy intensive industries. They'll want to generate most of their power locally (because that's cheaper) and use batteries to buffer it and fall back to the grid only when that runs out and export to the grid whenever there's a surplus locally. So, that reduces load on the grid and evens out a lot of the load spikes. And a lot of the time they'll be feeding energy into the grid. Anything energy intensive is going to compete on cost. And that means investing in local production and batteries.
A static variable in C is mutable in the same sense that a local variable is, but since it's not visible outside the current compilation unit the optimizer is allowed to observe that it's never actually modified or published and constant fold it away.

Check out the generated assembly for this simple program, notice that kBase is folded even though it's not marked const: https://godbolt.org/z/h45vYo5x5
Surely if they slowly run out of air they won't be fully conscious when there is none.
What bankruptcy isn’t a legal maneuver?
The problem is if it snowballs
For context Terence Tao is often referred to as one of the greats of modern mathematicians of our time.

He also has a Mastodon account where he sometimes goes over the implications of LLMs and in this post is his musings of how he sees it's current potential and possible impact in the near future for mathematics.

"The 2023-level AI can already generate suggestive hints and promising leads to a working mathematician and participate actively in the decision-making process. When integrated with tools such as formal proof verifiers, internet search, and symbolic math packages, I expect, say, 2026-level AI, when used properly, will be a trustworthy co-author in mathematical research, and in many other fields as well."
We are talking about being capitalists. Not getting a car or a personal house…no less those people likely aren’t capitalists. It is okay if nuances of economics aren’t understood by normal people but my comment being downvoted while posts lacking foundational political knowledge are fine. Of course it makes sense. Liberals lack self awareness.

TBC: you thought the throughline was money when it was nothing. You were talking about investing money that can be used to exploit workers and turn a higher profit by paying workers less than they benefit the stakeholders. Exploiting people is an obvious immoral action.
That would depend entirely on how many hours you used it. They don’t age like meat, over time. They age from having current running through the pixels. So their degradation depends on the kind of content you watch, for how long, and how bright you configure the picture. I have thousands of hours on a 6-year-old OLED and it looks perfect, but I only watch films in a dark room so I don’t think it’s very demanding.
Garland Ranch is pretty nice too and will be closer for most people.
This won't work well for a multiyear project.. Either you have to stall the release process, divide it into smaller parts or fork.
We need proper assurances.

1. Maybe the US government wakes up and finally starts to use antitrust law properly? A company is nominally for the betterment of our country, and not just the profits of a few. Previous administrations would split up companies that got too big, like "Ma Bell" as they used to call it.

2. Government could split up networks to prevent them from reaching effective monopoly power. It's clearly not in the users best interest to centralize as much as we have today.

3. Alternatively, EU could move in this direction since I don't think USA is super interested.

------

I don't wanna reach for the regulation button unless necessary. But it's a tough problem, and I don't see a solution outside of government on this particular case.
Tourist Cave diver here, kicking up a little dirt happens on almost every dive, we train to deal with complete blackout scenarios, while sharing air, in restrictions but that rarely happens. Typical incidents relate to people doing a dive over their experience level or getting lost and running out of gas. Some cave systems are truly huge in scale and navigation can be difficult if you do a huge dive in one go. Personally i will only make 1 new navigation decision per dive so i can always visualize the cave. This goes out the window for those doing exploration type dives, then anything can happen.
The Charles Dickens Illustrated Gallery
I don’t think MVVM solves 5k line in a controller issue. You can write monster code using any style, language or pattern.
How would you propose that institutions address the systemic bias that has favored white students from birth in this country for decades? Race-conscious admissions may indeed be the worst solution except for all of the other ones.

Keep in mind that students are treated differently in damaging ways based on their race from kindergarten:

"A September 2021 study published in the journal Annals of the New York Academy of Sciences found that teachers tended to complain more about Black students, particularly Black boys. These teachers identified Black students’ behavior as more problematic, compared with white students, the authors wrote, even though these differences “were not seen in directly observed behavior in the laboratory.”

https://www.scientificamerican.com/article/half-of-the-250-k...
Cars are designed with airbags?!

Like, they are supposed to crash?!?
I think this claim is too reductionistic to go anywhere. There is no single thing that can explain go’s success. There are hundreds of small differences in the language (and tooling, which arguably is more important).

Most people are not going to care enough (or have the time) to enumerate every single difference between go and Java, and why they prefer the trade off go makes. I use Java professionally, and go where I can, and there is a lot I prefer about go (I won’t pretend it’s uniformly better, though.)

And fwiw, me and you have gone back and forth about this question in many threads previously. I think asking it from such a high level is not going to very effectively get into the details that actually matter to people.

Finally, I also think a lot of what makes go preferable is not in the realm of language design (at least not the algebraic type theory kind) or specific features. It’s much squishier than that, and involves feelings about how teams work and what developers do in practice (and why they fail).
The binlogs are applied first, then the deletes are emitted.

There’s also support for read after write consistency within a single cluster by adding a canary to the memcache key warning to read from the master replica after the write succeeds, that’s a really cool feature for a multi region eventually consistent system
What about this makes it for political elites?
I'll throw a wrench in - I like heavy views.

In HTML, in desktop GUIs/mobile Apps, in Databases, maybe games.

HTML is founded on the principle that your data is semantic, it knows how to submit and modify itself. You have <form> tags. Every thing you can do in your view, is another thing you don't have to submit to some slow service or wait for a controller to do.

GUI frameworks are often like this as well, complex well-written UI components tend to remove a lot of supporting code from Controllers that just was there to half-support the UI having a slightly different formatting. The more you can push into your view, the more you can delete controller code, the more model code becomes a glorified "save" button. If your data is well-formed, and/or semantic, this model code can be very simple.

Games can be a lot like this as well - after you've loaded your geometry, pushing everything off to the GPU means your "game" code can be focused on simple things. Advanced things like physics and collision can be handled by actor-event logic. Controllers are still there to do some puppeteer-ing and models exist so save and networking code works.

Even databases can be view-heavy. A lot of database work amounts to building views of the same set of tables. Some analysis is done on the views, maybe, but keeping everything in normalized tables means losing out on view caching. Possibly this is more how vector databases work, as part of the data is where the data is not just what type the data is or which table it happens to be in.

Of course, none of this works great for heavy-networking cases (lots of net-code, lots of multiplayer events, lots of cross-database replication), but those are maybe less interesting to me - I prefer decentralized distributed models anyways. I generally value having more functionality at the local compute node, versus some monolithic service that may fail in a couple years time on the other side of the planet.

But that's just me.
The intro sentence, "At a fundamental level, a programmer needs to manipulate bits," gave me a strange moment of mental dissonance.

It just highlights to me how the job of "programmer" can be many things, depending on your domain. One could argue that a goal of programming is to build higher abstractions so you don't need to manipulate bits in order to express yourself.

But that aside, I enjoy this stuff, so here are some links for others interested:

* A neat SO post about implementing "popcount" using SWAR trickery: https://stackoverflow.com/questions/109023/count-the-number-...

* Good collections of bit hacks:

** https://graphics.stanford.edu/~seander/bithacks.html (also mentioned in the article's comments)

** http://aggregate.org/MAGIC/
Some of the products are based on anti capitalist principles. Regardless of an amoral view of all this, combining capitalist ventures with egalitarian ventures seems wrong to me. To couple two wildly different ways of ethically interacting with the world and treating people not as commodities.
Regarding CRT flicker: for monitors, you don't want to drive a CRT below 90Hz (120 Hz is pretty stable), even TVs were at the end 100Hz (refreshing frames multiple times). The problem was "cost effective" office PCs with graphics hardware just capable of 60Hz refresh, which isn't a great idea, unless you have a monochrome monitor with slow phosphor. (Meaning, this was just an abuse of technology – and workers.)
I was hearing yackety sax playing in my head while reading that bit.
That’s correct :)
Conway's FPGA game of logical life with Neural Nets
Consider Conway's Game of Life. Each cell can be born, live, or die. That is a 1-bit gate.
The gates change based on a universal "clock", i.e. once per cycle.

It has already been shown that Conway's game of life is Turing complete. People have
created a whole CPU in the game.

Now assume that each cell can be implemented as a 2-bit lookup table. Clearly one can
create a game of life simulation where each 2-bit table either computes a 0 or a 1. That
would be an exact simulation of Conway's game.

A generalization of the game would be that each cell can accept 2 input bits and would
compute a bit output bit using a lookup table. Thus a cell could output compute any possible
combination of 2 bits. A cell could compute an XOR, AND, OR, NOT, 0, 1, etc. Indeed,
by ganging together multiple cells any combinatorial logic function could be implemented.

A second generalization is to create "clock domains" so each cell only computes when a
"clock" signal arrives. Assume that the clock signal is not universal but that many clocks
exist that control a subset of the cells (clock domains).

The cells have "memory" as they continue to assert their output bit at every clock tick.

Cells can be born, live, die, or change their lookup table value based on the rules.

Now you have a "Cellular FPGA". But this FPGA can grow and adapt dynamically
rather than being pre-programmed.

What are the new Conway's rules for such a simulation?

Now consider what happens when we try to architecture a Neural Network on this
cellular FPGA. Each "neuron" is a combinatorial logic "cell" that computes a weighted
function of its inputs and bias. The Neural Net can adapt because weighted logic "cells"
that fall to 0 weights can simply "die" and be reborn as something else in a circuit being
"born" later.

Now consider creating real, physical wafer-scale hardware that computes this way using
a whole-wafer "Conway chip". The whole physical chip "learns".
https://www.cerebras.net/blog/wafer-scale-processors-the-time-has-come/
As someone kind of in a similar situation at the moment, I do think you're kind of right about this (not for everyone, of course).

I have felt several times that "Is this just it now? We're not going to do anything terribly different, just work/eat/hobbies/occasional trip, pretty much on a loop, while our health just keeps getting worse?" I do feel having children would change that, but for various reasons (not all of them great reasons, imo) we still haven't had them yet.
The physical register file is much larger than the logical register count. A budget option could simply reduce the amount of renaming done to save space.

In Intel's case, Cannon Lake did have AVX 512, but was blocked from being a mainstream part due to 10nm yields. And then their rushed efficiency core strategy effectively disabled AVX-512 just as they were getting back on track.

I don't think there's an intrinsic reason you couldn't have efficiency cores run AVX-512 albeit slowly and expect we'll see just that.
Walter Bright calling for parlor walls to become a reality.