skysight-inc/HackerNews huggingface dataset:
The devil is not in the number representation but in the details. The proposal says:

> Overflowing operations and out-of-range conversion are generally mapped to modulo operations and cannot trap or raise signals.

This would be a problem on x86, where INT_MIN / -1 causes a #DE (divide error) exception.
In C17 that is fine because signed integer overflow is undefined behaviour. But if the behaviour is defined, that trap would have to be caught or avoided.

The best solution for performance would be to have a new trap handler. That would have to parse the instruction to find its length, and the divisor (in memory or register) to differentiate it from division by zero, write the constant result and remainder into the destination registers (always rax and rdx thankfully) and then continue with the next instruction.

But I think this could be difficult to do in a fool-proof way, with how CPU exceptions are handled in different operating systems. Some operating systems might not even allow it at all.
The grass is greener on the other side... but I think a mix if both (CRUD + Deep Tech)is good for health!
I have been doing deep tech (if you call kernel programing that..) for about 20 years and have recently moved to CRUD weby stuff and I feel the massive potential of it to impact business, start something of your own (SAAS) really heady.
In practice safe Rust code never causes use-after-free bugs, for example, and UAF bugs are large fraction of exploitable RCE bugs.

Safe Rust code could trigger a compiler bug that leads to use-after-free, or trigger a bug unsafe Rust code (i.e., code explicitly marked "unsafe") that leads to use-after-free; the latter are rare, and the former are even rarer. In practice I've been writing Rust code full time for six years and encountered the latter exactly once, and the former never. In either case the bug would not be in the safe code I wrote.

I'm certainly not claiming that humans can write bug-free code. The claim is that with the right languages you can, in practice, eliminate certain important classes of bugs.
Ahh, well, Rabay and Weste have a short chapter on manufacturing. The Hennessy and Patterson book does as well, albeit shorter. Architecture of semiconductors is going to be Rabay and Weste. Architecture of CPU is going to be H&P book. The ecosystem of it all (packaging, die layout, etc, is going to be in more specific books).

Do not forget that although H&P will cover architecture, today architecture is done from the behavioral level down, e.g. they design what they want the chip to do, synthesize that in some Hardware Description Language (HDL, like Verilog or VHDL) and then they have a huge team of engineers who will optimize parts of that, as the synthesis is not totally optimized. Then on top of that, another team of engineers will optimize each component or module for speed by sizing the transistors appropriately.

I am going to admit, I know from a hand-waving level end to end manufacturing, so I could not point you at a very good resource for understanding the actual "boots on the ground" process of today's lithography. Again, in Rabaeys 3D IC book there are great sections on the processing of 3D ICs which would give you some insight into the process today.

Hope that helps some.
You can do that in the US, you can't do it everywhere, but for the cities on the level of Prague and Paris you certainly can. Most of the major cities on the east coast and West Coast that's applicable and for Chicago.

Philly, DC, NYC, Atlanta, Boston, Chicago, South Florida, LA, and the Bay area I've done entirely public transit trips many times to the major areas and that's covering a population larger than any EU country.
Minimum wage in the USA has always been paltry, and increasingly irrelevant over time: very few work for it now. Labor costs rise because people at the low end get better options, not because of a gov mandated increase.

But this is just the government being conservative, actual significant increases that affect more than one percent of the population will have an affect.
It would be nice if this were in nixpkgs, it's a pain to manage all the different language environments and it would save me from trying to get it to compile.

Right now

error[E0554]: `#![feature]` may not be used on the stable release channel
--> lib/src/lib.rs:15:12
|

15 | #![feature(assert_matches)]
|
> Here’s a question for you. Which makes more BTC: (1) the world today, (2) an alternate reality where the mining algorithm is the same but it’s being run on Matryoshka brains enveloping every star in the universe (all operating at the Bekenstein bound for efficiency and which can somehow communicate instantly)?

> The answer is “they are the same”.

What is the point that you are making here? The supply schedule of bitcoin is fixed. When more energy is used by rational economic actors to mine bitcoin, it would just have to be supported by an increase of demand rather than supply.
When you say unproductive rent-seeking? Who are you calling out here and what makes it unproductive? rent collecting is a perfectly reasonable way to capture value.
What is the advantage of using worktrees over another checkout in another folder?
It's not the Ukrainians provoking obviously.

It's literally Russians planting false flag ops. We've already been warned about this.

The Russian video convicting the Ukrainian attacks was literally made before it happened ( on the 16th of February and it happened in the 18th).
Interesting would be to see what was estimations to fix previous/improve solution, develop new one or buy Splunk.
The big problem with the minimum wage is that, if higher than the market-clearing price, it takes away the lowest rung of the opportunity ladder for the least skilled.
Mythology of the X-Files
>> why are humans the only creatures on Earth that have evolved those properties? Possibly language and a large brain are an evolutionary backwater.

> Nearly every animal has language, for cooperation, competition, raising their young or to find a mate. Bees, whales, primates, birds, etc. all communicate strategically with some type of language.

There is currently only one species on Earth capable of even imagining the things being discussed here. On the other hand, it seems there may well have been more, but the others are now extinct.

One of these issues only we are discussing is the evolutionary viability of those abilities, and the fact we can do so suggests that it is, to some extent, up to us whether or not they will be.
Where do you draw the line? When religion gets a foothold in a place then popular sentiment, imparted by religion, can be made law. Examples: Homosexuality, women showing their faces, women travelling without a male family escort, all illegal.

There is a saying: "Legislate in haste, perish at leisure". Not all things should require legislation, and those that are to be legislated should be fully and thoroughly considered. Often times it can be best to rely upon the moral will of society to impart a desired action than it is to strictly enforce compliance with that action. Its not perfect, but neither hard-line or soft-line is.
For the price of even a modest splunk enterprise setup you can hire half a dozen top notch backend/distributed systems engineers. That’s the opportunity cost of a setup like the one in the article.
Tried to sign up, tells me I have an invalid postal code (I don't).

Doesn't inspire confidence.
Yup.

And yet in most organizations, airgapping is an alien concept. Even for machine tools that could kill someone.

Security vs convenience...
Are you joking?

Cars and planes are an ecological disaster, I don't know a single place on earth where the ecological impact of public transportation is worse than the impact of cars and planes.
I wish the map had some kind of reference key, or the ability to query for height at any given point. It seems like the color-scheme breaks down on very steep slopes, like those of the Andes in Chile.

I also wonder if Greenland is actually that smooth, or if the elevation sample rate is just much lower for inland Greenland.
With sshfs, these storage boxes can also be mounted as a virtual file system. Filesystem hard links and user and group permissions may not work as usual in sshfs mounts, but they can come handy.
Isn't there a podcast episode all about this? I think maybe it was 99pi...

...here we go! https://99percentinvisible.org/article/self-contained-cities...
So it feels wrong both ways? The answer will be different for everyone, it depends on "why" it feels wrong. You'll have to introspect to find the answers.

In the mean time, I can try to psycho analyze your feelings using my own experience.

It feels wrong to "watch a movie when I could be learning more" is a manifestation of "this isn't the best use of my time". Like the feeling of a deadline or a big exam coming up. It's hard to do anything but study when you feel like you're behind.

Likewise, you also wonder if studying is the best use of your time. The act of studying is fundamentally boring. Its tedious and unrewarding in the short term. Like digging ditches, you'll occasionally find bits of gems. It adds up over time, but takes a lot of time and hard work to reap the rewards.

I guess the question is, do you have any source of fulfillment aside from programming?

I love coding. I love reading about it outside of work. I love a lot of other things too. I have no problem turning it off because the work isn't going anywhere and the only deadline is the one I make for myself. Further time I spend on coding means time not spent on other important experiences.

Just do your best to do the things you enjoy, and realize that's all anyone can do.
Where do you see the Ryzen for 40 eur? The cheapest Ryzen I see is €61.00 / month and none have any set up fees.
Thank you!

The first video shows the inside of an apartment at time 5:40, https://youtu.be/wQWQqVp8v6w?t=340 . It has plenty of natural light, with windows on two sides. Nice!

What did you like about life in Fermont? What were the downsides for you?
If you didn’t see it a few weeks ago this was submitted to HN:

https://river-runner-global.samlearner.com/

“Drop a raindrop anywhere in the world and watch where it ends up”

https://news.ycombinator.com/item?id=29841737

Super fun!
I see that hiring body guard should be part of expense of living in such location.
So make the initial goal a portion. It's not like Apple is going to go away any time soon. The second best time to start is now.

And a lot of that was design work that still holds, and a lot of that was code that has been obsoleted.
Onyx by JP Morgan
I don't see why we need warm-blooded plants. I had spinach growing in my garden in 2020. Usually I pull up anything in the garden and till it but in fall 2020 I didn't. Spring 2021 and there was the spinach green as emerald. All through -20C, freezing rain, snow, just all around cold weather it was fine. edit: forgot to add frost in the ground probably down 60cm or 75cm so it's also affecting roots. Spinach is cold loving but I though it was amazing. Even more impressive than grass on a lawn which often is fescue, rye, bluegrass.
You will need a full repository in other directory to checkout and this will waste storage unless you share objects via alternate.
I really don't follow anyone in the traditional sense but the one person I check in and binge on a few times a year is Destin from SmarterEveryDay. His YouTube is a treasure trove of interesting things that one could watch for days -

https://www.youtube.com/c/smartereveryday/videos
IMHO the operational cost of a service mesh only really makes sense in the context of Kubernetes. A service mesh works by deploying lots of proxies everywhere; in Kubernetes you can do that very cheaply but outside of Kubernetes you're going to have to do some work.

So: I would start with installing something like Linkerd in a Kubernetes environment and work outwards from there.
I understand that perspective but in reality it does way more damage to those of us who want to provide services that are specifically trying to protect privacy by not having user accounts or storing user data server-side - and our users. There is no way for me to safely store user data, for a site that most users interact with once or twice a month, without having to store that data server-side and requiring some way to authenticate them to retrieve it when the come back.

If Safari provided an API to store data longer after a user prompt I would be more understanding.

It seems many apps these days contact more trackers than a typical website[0]. And the apps manage to circumvent most of the counter measures despite Apple PR on privacy.

[0] https://blog.lockdownprivacy.com/2021/09/22/study-effectiven...
But there are poor people who work and have money already, most of them in fact. I am for UBI, but it's nothing like food to the starving. It's a safety net.
Mutually Intelligible Languages
So who exactly is going to pay for all this?
I can clearly see the ancient geological strata of Carboniferous and Devonian rock layers in my home country of Wales, particularly Pembrokeshire and the Gower! So my layman theory would be that tectonics pushed these once horizontal layers nearer to the vertical, and that weathering processes eroded them slightly differently, giving each layer slight height differences that are imperceptible on most terrain colourshcemes, but Oilslick happily highlights. Hats off
throwawaynay says >"It's easier to travel through Europe than through the US and we're like 40 different countries...."

Certainly public transportation in USA lags Europe but there's no need to overstate the case. <sarcasm>It only took two world wars and innumerable smaller wars before that to get "Europe" to the point where it has "300km/h" trains.</sarcasm>

BTW I question the "300km/h" number: Only a few trains in Europe travel at that speed. Most trains in Europe are 10X slower. Many I could outrun on foot and many more on a bike.

As for "environmentally friendly" I remember when many European trains' toilets dumped fecal matter directly onto the space between the tracks (or do they still?). I'm still careful walking around railroad yards in Europe: one stumble and I could scratch my leg and catch God-knows-what from a 1970s-era Algerian turd dropped on the rails. "Railroad system as waste processing facility" comes to mind as a topic.
I host my Hugo blogs on S3 at the moment because I wrote a deployment engine that targeted S3 initially. I refactored it recently so that it can deploy pages anywhere, so theoretically I could deploy to GH Pages or anywhere, but S3 works well enough for me.
> CICO is more useful for people who are stable and fine, not under the poverty line and not obese, but just a little unhappy with their weight.

Yeah. Calorie counting can be useful for normal weight people, like budgeting can be for financially secure people.

Looks like we are in violent agreement. :)
Optimizations and management really
No, we don't. We need to enforce right of First Sale, and stop propping up predatory buisness models by giving them a free pass.

The moment things started to not ship with programming guides, and everyone started hiding their IC schemata and docs for fear of being sued were the first steps down this path we're going down.

I will not continue to follow it blindly, and I hope more people will join me as well. This has to stop.
> 2. an incredible amount of additional energy is being generated at point B for no reason

1) Why would the amount of energy at point B be "incredible"? It would be proportional to the amount of energy that is needed at point A. Either both are incredible or neither is, all that matters is the scale of this example.

2) Why would there be "no reason" for doing this? The reason is clear and you obviously understand it-- to buy energy at point A.

3) Energy can not be generated. Humans can in some cases make use of energy for some other purpose. The total amount of energy is always the same. If the stranded energy in this example was geothermal, adding a geothermal energy plant would not increase the total amount of energy, it would just channel some of that energy into something humans can get something out of, rather than it just dissipating to heat directly.
rebase.autostash=true is also a thing, but the "working copy as commit" concept does look more interesting.
Mozilla still likes doing projects: https://foundation.mozilla.org/en/blog/
I feel the "underground city" is a bit oversold to tourists. It's mostly just a bunch of shopping malls and bland corridors. But yeah, you can walk for miles below ground level without ever setting foot outside. Especially if you include a Metro hop or two.
A bicycle takes up a lot less road space than a car, especially when it can smoothly filter through lanes. You know what contributes to gridlock? Too many cars on the road, that's what. Bicycles are not making traffic any worse.
But it would be a *major* hit for the commuter-support businesses. They're going to scream.

Doesn't mean society should listen, though.
Yeah, this says more about New York Times than the topic at hand.

Hating your job will never be considered cool in my book.

But i have to say the article has an impressive amount of words, the topic is just not very interesting.
Ask HN: Quit caffeine? Before and after anecdotes
Have you completely cut caffeine out of your life? How did that affect your creativity, problem solving, programming skills, general mood, etc?

Asking because I’ve noticed a trend over my years of software that the best developers don’t drink coffee and don’t appear to consume caffeine in any other forms (at least not at work).

Just looking for anecdotes!
Which is very different from North America, where we use highways, red lining and housing prices to divide the poors and the not poors.
I had a discussion about the git cli UX around branching/stashing/checkout a while back. Perhaps you'll find it useful: https://news.ycombinator.com/item?id=23807410

(I post this somewhat selfishly, as I'm basically describing how I wish git worked ;)
It's a recipe for disaster. If you focus on what you can't control, you end up doing nothing. Focus on the actions that can best improve your life.
How does PoW minimise wealth concentration? Minimising wealth concentration would imply distributing the coins evenly among the network participants. That's not what PoW does.
Disclaimer Ive seen a little bit the game, I dont know the extent of its success.

1) most likely, just look at his success rate in terms of how many of his games did succeed.

2) now the definition of success. if he took 5 years to develop the game, he has to net a very (very) minimum of 20 millions to start becoming successful. Remember, you can't just pay one salary developing software, you have to cover: salaries (top engineers and top artists) + (the most important) investment for the next games + bad years + grow you company (that's the point of a company) + hardware + R&D to stay at the top of your game + retirement money because you cant do this after 38. 20 millions net is a very optimistic number, I wouldn't be happy with that, I would be happy with netting 50.

Did he net 50 millions? If yes, then yes he was starting to become successful. If he did this 3 games in a row, now he wasnt lucky.

Now dont get me wrong, this game is a wondeful piece of art, but it's likely not a succesful company.
To be more specific: it has been the result of a decrease in central planning, decollectivization, privatization of previously state-owned industries and private ownership of the means of production operated with profit as the motive.
> a constantly evolving target

That decreases the amount of code to replace, doesn't it?
Former academic scientist, now software engineer.

I think this article misses the point that rarely in science is the code the actual product/deliverable. The way a scientific code should be judged is it performant enough to answer my question in a reasonable amount of time, clear enough to another reader (which face it 99% of the time, in science the only other reader will likely be your future self or a student with little coding experience), and does it give the correct result in a reproducible way. To my eye, the first "bad" example is actually the best to all these questions.

To my mind it feels more like how can I use my scientific coding I have to do as a way to improve my software engineering skills. Which isn't a bad endeavor and might make leaving academic science easier for you, heck I did the same thing. However, in my humble opinion, it won't make you write "better" scientific code.
All of those can be easily scaled though. They are all simply protected industries with entrenched incumbents weilding political power to maintain their status quo at the expense of everyone else. We could easily have 10x more doctors, houses, and quality educators if the artificial barriers to entry were lowered or removed.
macOS runs the Darwin kernel (developed at NeXT using the Mach kernel, then at Apple). NeXTSTEP was based on a BSD UNIX fork. Development of BSD at Berkeley started in 1977. NeXT worked on their kernel and the BSD UNIX fork in the '80s and '90s before being purchased by Apple. NeXTSTEP formed the base of Mac OSX (which is why much of the Objective-C base libraries start with `NS-something`. There is 45 years worth of development on UNIX, and Linux is a completely different kernel with a completely different license. Linux kernel has been in development for about 31 years.

Languages and understanding them is not special, but decades of development of two different kernels is a huge time investment. Even though Linus Torvalds wrote the basic Linux kernel in 5 months, it was very simple at first.

I doubt writing an entire POSIX-compatible replacement for a kernel would be a small or quick endeavor, and Apple has shown resistance to adopting anything with a GPL 3 license iirc. That is why they switched to ZSH from Bash.
It depends on the era. Lucasfilm was definitely a startup during its halcyon days(not just in film, but in FX (special and CGI), editing, and sound design). But most of the prolific movies of the era before Lucasfilm were products of the studio system (or what remained of it) whose operating principles mirrored that of IBM.
Well of course it will when enough people (globally) decide to have a literal revolution (including the crime and punishment that entails) after realizing that neo-libertarian ideals are _obviously_ the only plausible way to maintain a society. /s

I see an argument like this in every crypto thread. Come on. You should know that this is a political argument and that, in the US at least, we're pretty damn divided. Talk about stuff that you can plausibly predict at least. You can't predict worldwide economic failure _inevitably_ leading to increased use of crypto. Full stop.

From my perspective, that probably does a lot of damage and doing anything other than leading, governing, non-violent protesting (in person) will not help. The wild west of complete lack of regulation over the economy is a scary and probably dangerous thing. As someone who actually _enjoys_ government regulation (gasp!), I hope you realize that this turn isn't at all likely in the western world from my point of view. Further, if your arguments only apply to countries with authoritarian regimes, please say so.

You may say "well hey, but it's perfect for people living under authoritarian regimes tho!" to which I say, cool - let them get after it. Does it do _anything_ (other than lose/make me money) that I couldn't do with my current currency in the US? No? Okay, then that's a terrible idea.
The premise that additional hypotheses cause problems is against the basic idea of science.
Not military but it's a mining town and as such most infrastructure might be private? Which would explain the limited streetview. But if you're willing to drive there yourself, it's not closed or anything.
Compared to the ecological marvel of everyone needing a car
"If it had lower cost, then it would be priced lower."

The cost of production is a floor on the price, not a ceiling.