skysight-inc/HackerNews huggingface dataset:
A simpler way to describe Noether's Theorem is that for everything you can change about the coordinate system which leaves the physics the same, it's possible to derive a real physical quantity that is conserved. For instance, if we redefined the origin from (0,0,0) to (dx,0,0), all the x's would get dx added to them, but the actual motions of everything would still be the same. This means there's a symmetry with respect to X. Using Noether's Theorem, it's possible to derive a physical quantity that must be conserved, which in the case of positional symmetry, happens to be momentum. Similarly, redefining time to t'=t+dt doesn't change the motions, which can be used to derive something that is conserved, which happens to be energy. Some other ones include multiplying everything be e^(i*theta) in quantum mechanics, which derives conservation of probability, and changing the angle of the (x,y,z) axes at the origin, which derives conservation of angular momentum.
> and it consistently performed a lookup at 1 nanosecond.

TBH I'm skeptical that you are measuring what you think you are measuring. There are a lot of micro-benchmarking pitfalls, like dead code elimination, loop-invariant code motion, unrolling, and other issues. Unless you actually looked at the machine code coming out of the compiler, you're measuring something you don't understand. E.g. 1 nanosecond is roughly 3-6 instructions. That 100% means the hash lookup has been inlined into the benchmarking loop.

Are your hashtables mostly empty? Really small? Lots of easy hits (or easy misses)? Because the slow cases (actually looking up) are going to be hairier and may not be inlined.

Did you benchmark against Java's HashMap? Because it is also very, very, very fast for simple cases.
How maddeningly shortsighted!
Worth noting from a cold climate survival perspective that alcohol and a long walk in the cold is a death sentence. Your body will normally constrict bloodflow to the extremities, significantly reducing heat loss. Alcohol counteracts that. It makes you feel warm, in the same way that the final stages of hypothermia make you feel warm.
> you're forced to add a phone number to use twitter.

is that true for the desktop web client?
Comments have a ""social"" value rather than a ""intellectual"" value. You get a feel for what other opinions about a topic might be, and a grasp for how people argue about it. Don't come looking for oranges in the apple aisle of the grocery store.
> More like Mad Max?

More like California, Arizona, Utah, South Africa, etc.?
When I was shopping for garden hoses I looked for contamination possibilities and it turns out some of those green hoses have lead in them as a stiffener. That may help explain the high lead tests in some areas. Especially where paint is not a likely vector. Old car exhaust does settle into soil particles.
Adventures in Rule‑Based Programming
meh this whole thing is stupid - law enforcement proxies (chainalysis) can trivially ignore the dust in tracking down who's using Tornado to launder material amounts of wealth.
The grift is even bigger than that. Scapegoating a naturally occurring gas for all of the world's problems is a huge opportunity for grifters, greenwashers, & con artists. I wonder if theres a study of scientists who add "the effects of global warming on..." to their paper titles for some career sustaining $$$. Don't get me wrong, there's plenty of great work out there...however the incentives seem to invite unethical behavior.
good on them to provide reproducible parts here; interesting to see the research trends of [json|csv] , [python|R] consistently..
> LSD-trips for your lunch break,

It should be a very nice job that allows 5 hour lunch breaks.
I bet everything he has ever done including the Bitcoin Whitepaper has been analysed very precisely. Satoshi must be an expert in hiding.
Further, Bitcoin fees are often below 50 cents. For a transaction of any size.

https://mempool.space/
The human face is literally a communication device.
That has some problems. If you limit the total number of attempts globally then the feature is effectively disabled, every botnet and script will blow through the attempt budget and real users can't use it. Global limits and IP address limits are not useful, and because we're assuming the user is unauthenticated (using the password reset), we have no other way of distinguishing good traffic.
It was for me.

When I created an account, they blocked it 30 seconds later (before I had done literally anything) and would only unblock it upon me adding a phone number. Google suggested that this was common practice by them at the time.
I really never got the point of the SMS. If I was deciding it I would have mandated that authentication can't be on the same device payment happens. Just to see how they solve that issue...
I'm pretty sure that's not true, the Lyme vaccine in question was protein subunit and had no replication competent bacteria in it. It's possible it could have caused some sort of immune disorder or autoimmune condition in some cases but not enough people took it to know for sure.
I don’t agree that the data support your claim. This link seems like a good summary: https://www.abc.net.au/news/2021-10-27/fact-check-gina-rineh...
We brought alcohol, they brought tobacco. Also masculine, peyote, mushrooms, etc
> a publicly known phone number or email address

I don't get the definition of "publicly" here. Does it mean something on Internet, or include numbers I tell people in-person? If the former, not so many people put their number online I suppose...
I've read enough critiques of Rust to be put off from trying it out at this time. And there's a lot of things I don't like about Go. (Zig is interesting though)

Unfortunately Rust doesn't have the kind of library support that Java does, and I don't really want to roll my own on some things (the side project will never get done if I get lost in the weeds)

For this project the choice fell between Java and C#, and Java won because I was familiar with the library code that does what I want to do.

Besides, Java has Swing, which is about the only cross-platform GUI toolkit I can stand to work with (GTK as a close second)

> but it also has heaps and heaps of loopholes in the type system (that turn into runtime exceptions)

I've yet to run into this in places where I don't really expect it. Do you have some examples of where this becomes a problem? I wrote a bunch of reflection code that triggered a lot of RuntimeErrors, but that was foreseeable as its reflection, the whole point is to figure out types and whatnot during runtime. And at that point, I just fall back to how I write code in dynamic languages.
almost want to down-vote the post just so the game server is relieved from the HN kiss of death and I can play haha
there have been a handful of infrastructure projects in java: kafka and cassandra come to mind immediately, but there are certainly others.

i think what has always sort of steered me away has been a few things:

1) i've long been interested in snappy, interactive and realtime local and server things. and the jvm can do this stuff, but usually it's better suited for server side use where it can be warmed up appropriately. this may also just be a personal dogma that i need to get over.

2) every language and runtime has its quirks where you have to breakdown the illusions of the language itself and understand the internals to get the best performance, but i feel like java is the worst instance of this, where the tricks that people go through in order to control the gc seem excessive.

3) i like simple and concise programs where i feel like the java ecosystem encourages code sprawl. hello world has so much weird stuff and a serious java project has thousands of small source files where computer aided programming (ie. a proper java ide) is not really optional. i find this not only to be unergonomic, but also challenging for being able to quickly understand what a foreign codebase is doing in a short timeframe. maybe it's different from the perspective of a primary developer on one of these large projects though (and possibly quite pleasant).

4) for some reason, i've always liked feeling closer to the metal. even scripting languages "feel" closer because of the jvm abstraction. this is probably also a personal dogma.

> He commented that multi-threaded Java these days far outperforms C, due to the memory management and a garbage collector.

people who like java say these sorts of things all the time. i haven't seen a head to head comparison that confirms it though. (although i have not looked). regardless my understanding is that once a jvm is warmed up, it can be quite performant-- and that it has opportunities for live optimization that you don't get in a classic c/c++ runtime.

i don't think c/c++ will be going away as long as operating systems are still written in c. a java operating system seems... strange to me. but that said, i think java has proven itself in terms of high performance application server software.
> What kind of boards are you making?

Boards with power circuits and micro-controllers. I'm not sure I would trust the routing software when it comes to a high-speed bus or radio just yet.

> There was no easy way to combine schematic and skidl-based circuits. This was a problem at a company environment where design reviews become impossible because nobody else could write their heads around a power converter circuit made in skidl.

You can output a schematic: https://devbisme.github.io/skidl/#svg-schematics

I haven't got a solution for half-and-half skidl and KiCad designs.

> I really like KiCad's backannotation feature for adjusting BGA fanouts and whatnot from the layout.

I've not tried this so can't comment on it.
Knock Yourself Out with 91 Python Videos
> 1 and 0 are common representations for true and false in computer science

Long before standing for true or false, 1 and 0 have stood for the presence or absence of something arbitrary, so I don't see any issue here.
If a rando can bring the Feds down on my head without me doing anything, by only using public information about me, then I would be more frustrated by the "regulatory mess", this should not be possible. Basically:

> The gag effectively points out the absurdity of such sanctions for users receiving funds from blacklisted addresses that they have no power to decline.
With Rust you could write a function that consumes the HTTP client, not allowing you use it after, resulting in a compiler error for your example.

In Go you could write a function taking the HTTP client reference and setting it to null. This would at least produce a runtime error if it ever comes across the path rather than doing something else that is unexpected.
So no rplaca/d, just cons and setf?
> The Bible says: “It does not belong to man who is walking even to direct his step.” —Jeremiah 10:23.

It doesn't matter what the bible says. You can thump it all you want. It won't reduce climate change, excuse inaction, or absolve religious fatalism.
Benchmarks generally show C# outperforming Java, but not to a degree that most people would worry about. Performance-sensitive applications are still going to go for something native.

One of C#'s biggest assets is Anders Hejlsberg of Turbo Pascal fame. He's been in charge of C# since its inception. He's done a very good job of keeping the language clean and concise, and generally ahead of Java when it comes to adopting features like generics and functional programming.
i thought it was like a tornado warnings repo
You can remove your phone number after creating the account.
My friend flew every plane they delivered, sort of a functional test, in addition to practicing/planning for airshows, as well as sometimes showing off for employees at lunchtime.
Saying this just shows you don't know much about modern JVM.
Freeloaders... You mean the people they encouraged to use their service and then pull the rug out from under them?
If you do that in C, your program may run “just fine” on the surface forever, yet it can silently corrupt all of its data. Java can catch NPEs and handle them appropriately (e.g. a web server might just answer server error 500, but it will continue to run with well-defined semantics).
I don’t think the two is comparable. Even Rust will go off the happy path with a single use of unsafe, and there is no sailing back from there, while a Java program can’t crash in a UB-like way.
I tend to think of embeds as being very similar to the open source contribution model: you want some sort of BDFL entity that drives the overall direction of the platform, but also some sense of community/collaboration where individuals can feel empowered to contribute features to scratch their own itches, or bring up discussions, etc.

Having a team owning the platform doesn't necessarily need to mean shutting yourself in a cave. Granted, promoting cross-functional collaboration is a challenge in and of itself, but similar to OSS, projects that invest in the community aspect are the ones that eventually gain critical mass and set themselves apart from the rest.
Windmill rocks, and the cloud version makes it easier to automate my stuffs now! Thanks guys
Hootsuite cutting 30% of staff in latest round of tech layoffs
Than what? I'm looking at benchmarks vs. other modern languages and it doesn't appear to be slow.
is this the same security issue that was used to unmask who was behind that "libs of tiktok" account?
i'm enjoying seeing the variety in everyone's mnemonics :)
TIL I'm hard people. (Doesn't everyone go for 4 hour walks in -40° to prove that they still can?)
I've seen several pieces similar to this one hit the HN front page recently. This one, the "insight porn" one, and others speak to a growing discontentment in the startup scene.

I think the underlying issues are:

1. The low-hanging fruit seems to have been picked. Finding a marketable idea is getting increasingly difficult.

2. Valuation seems to be uncoupled from the fundamentals. Figuring out why some startups take off while others don't is getting increasingly difficult as well.
That line was included in more than one post. There are also multiple posts from that time period which said exactly the opposite. It was an ongoing joke, raised to somewhat of an art form.

https://www.multicians.org/thvv/realprogs.html

http://www.bernstein-plus-sons.com/RPDEQ.html

https://www.ecb.torontomu.ca/~elf/hack/realmen.html

https://web.archive.org/web/20080419225755/http://www.suslik...

Old magazines, BBSes, Usenet, and mailing lists are full of this sort of humor.

https://www.mipmip.org/tidbits/project.html
A Fond Farewell to GrabCAD Workbench
Yes. They will let you sign up with just an email but after few minutes of activity your account will be locked and they will demand phone number verification.
"Starting degree 5 it is proven that no analytical solution can exist and we must rely on trial and error methods."

Not quite. No solution exists that uses a very restricted set of functions deemed "closed-form", in particular sums, products, quotients and n'th radicals. These polynomials can still be solved analytically and in closed-form by introducing some additional special functions. Certainly there are many ways forward rather than "trial and error methods," which I interpret as meaning the answer must be approximated numerically.

For instance, all polynomials can be solved analytically and in closed form if elliptic functions are allowed to exist in the solution.

Or as a simpler example, the quintic x⁵+x+a has no closed form solution in radicals, and is in some sense the prototypical example of an unsolvable quintic. This polynomial has one unique real root, which is a function of the variable a. In fact, we can look at this root as a function of a; this is called the "Bring radical" of a, denoted BR(a), and easily see it is a very simple, well-behaved, and perfectly "valid" analytic function of a. It is in some sense a sister function to the ordinary real fifth root of a, denoted ⁵√a, which would instead be the unique real root of the polynomial x⁵-a. The two are also just about equally easy to compute numerically to arbitrary precision. If we allow BR(a) to "exist" as a function worthy of being deemed "closed-form," "analytic" or what have you, then every quintic now has a closed form solution in terms of radicals and this one extra special function.

This somewhat important detail is often omitted when explaining this. People often write the idea that there "is no general solution" to the quintic, which is misleading at best or wrong at worst. Perhaps a good analogy is to think back to the days when all numbers were thought to be rational. In such a system, even quadratic polynomials "have no analytic solution", one needs to invent the square root function to express the roots of the quadratic in closed form. The same thing happens for cubic and quartic polynomials, where we add cube roots and fourth roots; it just so happens for quintics we need to add two additional functions rather than one.
Please do not compare 1992 with 2022. The problems of reunification did not become truly apparent until mid/end of the 90s.

Comparing separate European countries individually in general is difficult, wealth and productivity is redistributed within the EU by various means. An hierarchical model that takes all EU countries into account might be the most sensible approach.
Yes. The proper way to implement this flow is to ask for the information, and then present the exact same result screen regardless of the actions taken. Any additional information or action should be done exclusively through the contact information you have on record.
There is an exceptional difference you left out. In criminal situations, the criminal is punished, there is a deterrent. What is the deterrent here? Without a deterrent, there is a moral failure.
30 second comment, followed by 10 second comment, followed by 10 second comment (my own).

Author's point made.
How does that work when they send a letter telling you how to landscape your land?
Ah, I didn't know that. As for the code on Bitsavers, I'll have to check that out. I should have expected there would be something there - Al is a gem (albeit a cranky old gem), and I wish he'd get more love.
In control of chaos to engineer high-entropy ceramics
HN Comments are kinda like Twitter. They have all of the same attributes:

- every now and then there is a fantastic tweet

- many of them are bad

- there's a lot of them, more than you could ever read

- they are all consistent: you're used to the format, the rules are simple to understand

- there are some ads and some ulterior motives, but for the most part, it's just normal people posting

Of course they aren't special! This article is kind of a "category error." No dig at the author with this, seriously. I genuinely think it's a good post, worth sharing (that's why I'm commenting here!). BUT, this article is kind of like:

Why I don't expect my dog to cook me breakfast any more

Breakfast is great. It fills you up, it tastes good, and after you've been sleeping a while you get pretty hungry, a problem that breakfast solves handily. Occasionally, I have had breakfast cooked for me; it is wonderful!

But I have noticed that my dog never cooks me breakfast. This is because it's a dog. It could be because it doesn't share the same love for breakfast that I have. It could be that it does not have opposable thumbs, or perhaps the lack of prefrontal cortex development. Either way, I've noticed that my dog has never ever cooked me breakfast.

For this reason, I've stopped expecting my dog to cook me breakfast. It seems like every time I expect this to happen, it doesn't happen.

---

What I have noticed about HN comments is that HN commenters are usually very intelligent people, and they usually comment "for fun." This is in contrast to nearly everywhere else on the internet, where people are either not very bright (so their comments aren't very clever or even fun to read) AND/OR posting comments or articles with the motive to make money. By volume, I'd say most stuff on the internet does not exist "for fun" but rather because it is self-promotional for some reason.
> True. Out of curiosity: what's the use case for this?

Scheduling is deterministic, which is a VERY useful property to have. See ex. http://erlang.org/pipermail/erlang-questions/2006-December/0... about changing scheduler determinism.
>Majority of climate scientists agree the situation is dire, but there are many actions that can be taken to reduce the short-term and long-term impact, via both adaptation and reducing carbon emissions.

Am I the only one thinking that it reminds me of a bunch of priests in ancient time who claim to speak to the gods and tell us what we shall do?
I'm no climate denier but I hate how everything is framed to induce panic and fear.
The car analogy is the Ford Model T of analogies.
I have worked on big projects with up to ~100 developers. On the C projects, someone's null-pointer dereference brings down the whole process. On the Java projects, the event handler or daemon thread has an exception handler at the top that logs the error and keeps executing. This is a huge difference in behavior.

Sometimes, you want to fail fast and be forced to fix that bug. More often, I want to keep doing whatever I can to test and develop the system and find more bugs without restarting the whole thing.
This is about RCS vs. SMS. Apple and Google support SMS as a cross-platform standard. They should support RCS, which is superior.
Not necessarily? The type used for Response can include a "body" type that supports streaming. E.g., body: AsyncRead in Rust. In Go I think it would resemble a channel that emitted the contents of the body.

(As a library, though, you'd also want to make the simple non-streaming case of "just return this blob of bytes" simple for the consumer, too.)
I am, send them my way!
Which is always the tradeoff with GC. You get to pick latency or throughput and you trade one for the other.
Hologram.io or Twilio
The minus button makes it really easy to sift through comments. Much easier than finding the interesting paragraphs in an article actually. A blog post might have required some deep thought, as the author says not as much as a book, but probably more than went into a comment. But it's deep thought that went into a single idea, by a single person, in a single circumstance. Deep thought can only go so far.

When you're using the minus button you'll go through all sorts of thoughts and responses. Sure, if you're easily offended by dumb reactionary comments, then you'll often find a couple at the top. That might hurt your ego, but if you just let it go, hit downvote, and then the minus button, it can be out of sight out of mind in an instant. You'll get to the good parts of the comments soon enough. Those comments might not have been worked on for hours or days or weeks, but the authors might have deep knowledge regardless. And if not deep knowledge, different perspectives stemming from different backgrounds, circumstances and personalities.

I usually read the comments first, and depending on the topic and how engaging the comments are to the topic I might read the article. In the example post of the news of Elon's bid on Twitter, no way that I'll read the article, no way that Bloomberg put any deep thought in their article, and guaranteed that there's people on HN with way more interesting perspectives than that can be stamped out in the couple minutes an overworked tech journalist has to make sure their article attains maximum reach.

This comment took more than 10 seconds to write, and many comments on HN did. I'd just as much enjoy 36 hundred second comments, as I would a one hour article.
That's a bit harsh. Michael makes plenty of good articles with comprehensive benchmarks.