skysight-inc/HackerNews huggingface dataset:
And yet, in that time period, it has remained in its infancy.
If you split it you'd pay more, no?
Indeed, and therefore:

0.1 + 0.2 != 0.3

You can check it in the JavaScript console.

This actually makes me wonder if anyone's ever attempted a floating-point representation that builds in an error range, and correctly propagated/amplified error over operations.

E.g. a simple operation like "1 / 10" (to generate 0.1) would be stored not as a single floating-point value, but really as the range between the closest representation greater than and less than it. The same with "2 / 10", and then when asking if 0.1 + 0.2 == 0.3, it would find an overlap in ranges between the left-hand and right-hand sides and return true. Every floating-point operation would then take and return these ranges.

Then floating point arithmetic could be used to actually reliably test equality without ever generating false negatives. And if you examined the result of calculation of 10,000 operations, you'd also be able to get a sense of how off it might maximally be.

I've search online and can't find anything like it, though maybe I'm missing an important keyword.
Or base 256 so that it fits a byte efficiently. Oh... wait...
Because that syntax in raku uses rational type, which fails for many other uses, and by using the syntax most languages use for a floating type, makes it harder to spot these issues, just like here. For example,

0.1e0 + 0.2e0

yields 0.30000000000000004. Your example also fails

1.1e0 + 2.2e0 == 3.3e0

returns false.
The European system with higher income tax and heavily subsidised universities practically has the same result. Anyone (that is a permanent resident) can go to a top school, but you're paying it back the 40 years after with 50%+ income tax if you get a good job.
Nitpick: you mean A4. As an aside to those who don’t get to use ISO A paper sizes, they are trés cool. The x/y edge sizes are the (edit) square root of two. A0 is 1 square metre in area. Each step (A1, A2, A3, ...) just chops the sheet in half.

Edit: https://www.cl.cam.ac.uk/~mgk25/iso-paper.html
Thanks for the links.

Please note that the newsworthy part was on the Nature article on the relationship between neural engagement and learning: https://users.ece.cmu.edu/~byronyu/papers/HennigNN2021.pdf
The above idea specifically discourages split tickets (buying one ticket for each leg). You'd end up with an extra 70€ fee if you buy the two tickets separately. So unless buying a multi-leg tickets adds more than 70€ to the total price it's not worth the trouble.
People choose to fly rather than take the train because flying is usually cheaper. This ban also impacts poor people more than rich people.
Yeah, it is odd how stuck some people are on Freud. It is outdated artefact of time before us even attempting science.
Watching with some friends in a room seems hugely more social than sitting next to each other quietly so as to not disturb the strangers behind you.
I'm not sure what you mean about parking. I have a disability, and personally, parking is the most important adaptation.
You're absolutely right, but I would assume Zoom has disallowed its iOS client from being installed on macOS. Since Apple closed the loophole allowing sideloading, we're out of luck on that front.
I did this website so people can laugh at work
hey! I did this website https://www.mmlaugh.com which is basically a simple website where people can read jokes. I was wondering if does make sense that people will go to this website to read some jokes during their lunch break or any break they have during the day. Any feedback?
Local supabase running via docker compose is exciting.

This part also makes me happy:

At Supabase, we do have one strong preference.
We like schema "diffing" over "manual migrations".
Hmm... looking at the frequencies and gate counts, I think PS2 is well within realm of possibility to run on a not-so-cheap FPGA (or several). But PS3 generation consoles definitely not.
Oh, missed that, it's usually 1.1 + 2.2 in these kinds of discussions.

Yeah, exactly, Raku defaults to a rational number type for these kinds of numbers. I honestly think that is a perfectly fine way to do it, you're not using Raku for high performance stuff anyway. It's not so different from how Python will start to use arbitrarily sized integers if it feels it needs to.

Raku by default will convert it to a float if the denominator gets larger than a 64-bit int, but there's actually a current pull request active that lets you customize that behavior to always keep it as a Rat.

Really interesting language, Raku!
I found taking TGV to Paris CDG a pretty good experience.
Pubs, clubs, theatres etc.
Does this mean I could write a calculator in JavaScript which is more accurate than the language but not as fast?

For example: just treat numbers as strings and write code that adds the digits one by one and does the right carries

Now that I think about it, is this the whole point of the Java BigDecimal class?
In a way, yes, but the outing of going to the movies with people is a different social experience that many people are missing right now.
In France trains are subsidised way more than flights.
What is the argument in favor of server-side Java in 2021? It seems like alternatives like Go, Python, or even JS are far ahead at this point
Yeah, I don't know how that never occurred to me.
As a live theatre industry professional, movie theaters will go the way of theatre, once it stopped being the main form of entertainment, it didn't die, it just became an occasional, expensive treat for lovers of specific genres.

Hollywood may die, but you'll go to a movie theatre just like you may go to see a Broadway tour or a regional Shakespeare once in a while.

Films might actually get better when the demand to crank out the most popular drek for box office bang fades away.
Air France Hop and easyJet, the two operators of the route, only fly jets. In the Hop case, post-pandemic they'll be operating ERJs and E-Jets; in the easyJet case, they'll be operating A320 family aircraft.

Note that Hop did have various ATR 42/72s until 2019/20, when they got rid of their (fairly recent) ATR 72-600s. It is perhaps surprising that they now are jet-only, but at least pre-pandemic the plan was for them to long-term be operating only CRJ1000 and E-190s, both of which are notably larger than the largest turboprops on the market. I don't know what their average sector length is, but it's certainly not implausible that the fuel efficiency per passenger isn't that much worse (and easyJet's A320s almost certainly beat any turboprop on a per passenger basis given their average loadings).
Interesting, what about when your software runs? Is it still in a chroot or similar?
Make foreign corporations do the same thing if they want to sell to US consumers
This looks fantastic! I also implemented one from scratch[0], and I was doing something very similar at first. Then I found the Python hash() function returns different outputs for the same input when you restart the interpreter. I really like your implementation, it's functional and easy to understand!

[0] https://ricardoanderegg.com/posts/understanding-bloom-filter...
Not so much floating point as “using float point type for exact decimal literals”.
> Competition is good for consumers

On the whole, yes, but not for all consumers.

If some people lived near a beautiful meadow and river, and everyone else lived in the desert, then competition (e.g. opening up a direct train to the meadow) would hurt the ones living in the meadow.
Thanks for the reference. Sounds like an interesting book! I see Charles Mann has a couple of books. Have you read 1493 also?

- 1491: New Revelations of the Americas Before Columbus https://www.goodreads.com/book/show/39020.1491

- 1493: Uncovering the New World Columbus Created https://www.goodreads.com/book/show/9862761-1493
A democratic Iran will always be the enemy of Israel.

Israel is a nuclear-armed ethnostate engaging in ethnic cleansing that protects these transgressions by operating as the FOB of the hegemonic world power that doesn't blink an eye at killing a million citizens in the region.

So long as Israel requires US support to safeguard their otherwise untenable position (and to force Arab dictatorships to act favorably towards Israel), Iran and Israel will be opposed.

Iran and Israel were allied before the revolution because the undemocratic government (not that the current one is anymore democratic otherwise) that was willing to act against its interests on the matter so long as the dominant foreign powers required it.

It's categorically false that no one gains from the conflict. Israel gains tremendously from the conflict as the antagonism between Iran and Israel and between Iran and the USA is what justifies its ability to get away with so much.
But student loans are exempt from bankruptcy, so in a way that particular investment in future earnings is a bit outside the modern protections.
>Dont try to force altruism on me.

Don't try to force your pollution on me...
That's a rather easier problem in comparison. Just use the nextafter function in the standard library to figure out the next representable number. Then try not to exceed half of the difference using string processing.
I mean, yeah, if you force the numbers to be floats, then of course it's going to fail. I personally think Raku's way of defaulting to floats is the better way to go for a scripting language like this, and I disagree that "it fails for many other uses". It works just fine (like, it doesn't break if you pass it to sqrt() or whatever), it's just less performant. It's the exact same kind of tradeoff that Python's implicit promotion to big integers make.
He listed quite a bunch of tech that has no reason to die (like mice), and often has a good reason to live (like wired ethernet or windowed desktop environments).

Some of the technologies hi lists are indeed are on its way out from home experience, like HDDs and landline phones, but it does not mean they do not have niches where they are doing to linger for at least a decade.
Musk mentions RAND's previous work in his paper, but he thinks the vacuum requirement is impractical: https://www.tesla.com/sites/default/files/blog_images/hyperl...

> Is there truly a new mode of transport – a fifth mode after planes, trains, cars and boats – that meets those criteria and is practical to implement? Many ideas for a system with most of those properties have been proposed and should be acknowledged, reaching as far back as Robert Goddard’s to proposals in recent decades by the Rand Corporation and ET3.

[...]

> Another extreme is the approach, advocated by Rand and ET3, of drawing a hard or near hard vacuum in the tube and then using an electromagnetic suspension. The problem with this approach is that it is incredibly hard to maintain a near vacuum in a room, let alone 700 miles (round trip) of large tube with dozens of station gateways and thousands of pods entering and exiting every day. All it takes is one leaky seal or a small crack somewhere in the hundreds of miles of tube and the whole system stops working.

(ET3 is these folks: https://en.wikipedia.org/wiki/ET3_Global_Alliance)
Afraid to talk?

Have you been on social media or any political thread on HN lately? No one is afraid to speak their mind about anything.

I liked the old web, but not because it was uncensored, rather because the psychos stayed in their cages. Now they're flinging their excrement everywhere.
You can even set up a secure boot chain with your own encryption keys, see: https://boundarydevices.com/high-assurance-boot-hab-i-mx8m-e... (it's a tutorial for a board that uses SoC from the same family as the Librem 5)
Linux, macOS, and Windows running simultaneously on a first gen Core i5
Yes, and it would be inexcusable malpractice to implement a calculator using the native floating-point type.
A huge developer base and eco system? What specifically, can't be achieved in Java, that you think node is needed for?
By decapped, do you mean delidded?

Theoretically it would be possible to automate this with a couple things:

- USB electron microscope to image the transistor topology

- CV lib to identify connections and generate corresponding Verilog code
> Without apps collecting and using data about their users, everything ends up having to be monetized differently and people have already shown that's not going to happen.

F-Droid and GNU/Linux repositories work flawlessly without any ads and, moreover, have much less malware, if at all.
I think the idea is if you randomly sample a range you have weak evidence as to the size of the range. For example if you randomly sampled and got "2" it would be more likely the range had a span of 0 to 4 than 0 to 100,000 though either are possible. On average your random sample will be at the halfway point of the range.

The Lindy effect is the realization that your encounter of something is like a random sample. "How old are chairs when I exist?" "How old are iPhones?"
A smiling sun fighting nuclear power
On recent droids this works surprisingly well. I have a keyboard in my bag instead of my laptop now.
But what you would actually get is something like this:

x---0.1 + 0.2 ---x
x---0.3---x

That is, the range of 0.1 + 0.2 would be wider than the range of 0.3. And now what do you do? There is overlap, so are they equal? But there are parts that don't overlap, so are they different?
Fair...
Ask HN: Why no-one is disrupting politics/government?
You "hackers" are looking and competing in every direction to disrupt, to change the world, to make an impact. Yet no-one is talking about disruption in the lower levels of the system: the state itself.
Stop eating fish... its filled with toxins anyway.
It was originally about USENET newsgroups.
Far ahead in what sense?

In my previous job we used Java and the benefits were a huge ecosystem of libs and tools, plenty of monitoring tools, a ton of expertise and people who understood its memory model and quirks and were able to troubleshoot production problems. The JVM is rock solid and has great performance for backend with lots of transactions.

I'm not experienced with Go, Python doesn't seem particularly suitable, and server-side javascript looks like a nightmare to me.

NodeJS seems crippled to me.
Search is the only time I use voice commands, and it's only because "typing" with the directional pad sucks. If my remote had a mini keyboard instead of buttons for rarely used features or specific channels, I'd never use voice.
Ok. So then I would need to proxy hacker news and mitm with my own certs and add the header or ask dang to get that tag added. Not sure which one is more feasible.
Nor was the Powerbook the first laptop nor the IBM PC the first PC. Those are all, however arguably responsible for popularizing the technologies in something resembling their current form.
We took over the project at the beginning of this year with other developers to update the main modules and fix issues. the base IDE was pretty sketchy, but another person in the community created improved version which is now integrated into Wonkey
Going to a movie theatre is a really variable night out. The quality of the experience hinges on so many factors that it's practically a lottery whether it's good or not, especially with a cinema chain movie theatre and a mainstream film. It doesn't take much to tip the balance from a great night out to one that feels like a waste of money. A mediocre film, unbalanced sound mixing, noisy or phone-using people within a few rows, stale popcorn... Any number of things ruin it.

I much prefer arthouse cinemas (my favourite has a bar, and you can take a bottle of wine in to the theatre) these days. They cost a bit more but the experience is usually pretty good.
Most game consoles don’t do any of this, though. The gamepad is polled by software.

On the NES and SNES, the buttons are connected to a shift register (e.g. 4021). The CPU triggers a latch and then reads out the shift register one bit at a time.
The Sacred “Back” Button
> This loop has to stop, what defines the value of the projects we are working on has nothing to do with technologies and frameworks.

> I WANT to solve business problems, I do not want to keep solving technical issues.

It is interesting how emotionally invested we become with our tools. Yet we don't have infinite time to become productive with all possible frameworks. So we have to specialize at least somewhat.

As to JPA itself, I agree that it's generally a bad fit for most uses. Circa 2010 I used it with Java Enterprise in the hope that an failed bean could be recovered by a parallel worker, but the technical costs were crazy high. And often I had to drop to raw SQL anyway. Less invasive ORMs can still be more generally useful, and remove some tedium.
It's on my to-read list, but I haven't made time for it yet.
No offense was intended. I understand thinking an event that seems to be indelibly imprinted to you now will always be that way.
That sounds interesting, but I would imagine it would become very complicated once you start applying nontrivial functions (discontinuous functions, for example). In that case the range of possible values could actually become discontinuous. I would imagine accounting for that is actually more computationally expensive than just using arbitrary precision decimals.
Perhaps something like https://pythonhosted.org/mcerp/index.html
Flying is actually much more dangerous than driving. The risk is to destroy the environment that sustains life on earth. This does not even compare with the risk of a car or plane accident.
This article is... Questionable at best. I don't think any of this is an argument against JPA, except that the author doesn't like how it works? I also suspect the author doesn't know hibernate that well.

For instance selecting just the fields you need is relatively simple with JPQL:

SELECT i.url FROM Image i WHERE i.id = ...
A Tesla with nuclear power plants...
Reminds of wallstreet sell side firms front running their own clients.
https://www.cnx-software.com/2021/02/04/watchy-pebble-like-s... and https://www.cnx-software.com/2021/04/07/lilygo-open-smartwat... come to mind
Interval arithmetic is what you're looking for, and there's an IEEE standard and many implementations.
OP took the high road and the much harder path. All you have to do these days is put all your skill points into Charisma and bullshit your way through an entire career. No other skills needed. Look at Elizabeth Holmes and that WeWork guy. People were falling over themselves giving them money. Generational wealth achieved by having no ability bedsides running their mouth. Even normal jobs, so many people just blah, blah, blah their way through the interview and the job, and then by the time anyone checks, they're off to do it again at a different company.

It’s getting harder and harder to teach my kid that honor, integrity and hard work are still important, when you can easily find counter-examples, and they are more and more becoming the norm.
This field contains the worker-specific seed:

torch.utils.data.get_worker_info().seed

So I guess something like the below (untested!) could work too:

worker_init_fn=lambda id: np.random.seed(torch.utils.data.get_worker_info().seed)
Yup, same! Can wholeheartedly recommend it for those who want something between emulation and real hardware.

The Amiga core is fun, AGA, 2 MB chip, 384 MB fast. It supports hard disk images, so you can do a hard disk based Workbench installation and load games and demos practically instantly (and safely exit to Workbench) using WHDLoad.

Arcade cores are fun as well. Just like in childhood, but less hungry for quarters. :) Recently played with arcade Gauntlet core a bit for example.
honors and their prerequisites are naturally proportional to the social "weight" they carry, here I posit. If the Award and its committee are meaningless to many, the threshold is therefore low.. if "the highest honor in computing" is a true statement to many, then yes of course, many factors including social statements become increasingly important.

As an older outsider living close to American Academics, I am seriously appalled at, to my mind, the recreation of the social witch-hunt by various groups to demonize and degrade other humans who have, by many measures, done remarkable things. Is this some kind of cosmic social balance, that the land of America, founded on diverse principles, now becomes a breeding ground for the most grueling and vituperative campaigns for personal reasons ?

I do not know of this Professor and I take no stand on the merits of this award consideration, but I say HALT to growing tides of resentment in the public forum over whatever. I stopped reading and the name of this website is a massive warning sign to me, a supporter of plurality and tolerance as core social principles.
Israel's goal in the region is to be able to legitimize itself vis-à-vis other Arab states, without stopping any human rights abuses.

Since the alignment of the gulf states with the US, the only obstacle to that is Iran and Iranian influence.

Because of this, Israel is very willing for Iran to be militarily destroyed, and members of the Israeli government have called for the invasion of Iran multiple times.

Simply self defence is far from the goal. Israel would not be able to survive without changing its internal structure unless the Arab world is dominated by the US which prevents actions that go against Israeli interests.
I sure believe it has been the official one. It is just that whatever the maternity care people tell you do changes. And they’ll tell you it’s official.
It's not even confirmed that it's going to use the i.MX 8M Plus. The initial Fir "announcement" assumed a quite different reality where all Evergreens would have been shipped long time ago.
Oh you're right, I didn't see that.

I kinda see where he's coming from. Even when I tried to get all my chat apps merged into Matrix bridges, I still used Quassel to connect to IRC (and get some mod cons like scrollback on demand!). Matrix doesn't translate well to IRC. Joining 20-30 channels on each network just makes matrix too cluttery. At least in Element.

However it depends on the kind of bridge. If you do full network integration then it's a bit annoying because not all joined users are visible on the IRC side and the bridge pops them in and out as needed. And it also causes some side effects like users that just joined being able to scroll back to conversations they were never part of! This is one of the reasons a lot of IRC networks don't allow Matrix.

However, you can also do puppet bridging for personal use in which Matrix just becomes a fancy personal IRC bouncer and nobody even knows about it :)

I don't think the lack of E2EE is a big issue on IRC at all. After all it is meant for wide communication with people you don't know. Anyone can join it if they want, so there is no expectation of privacy except perhaps for DMs/queries.

In the same way I don't like having to deal with E2EE in public Matrix rooms.
This! I only go to a theater if there is no risk it will turn out to be a dud movie. For me, I am mostly just waiting until Christopher Nolan's next movie.
One benefit I've been seeing with server side JS is from FAAS like Lamba which can serve unpredictable loads very inexpensively.
Reading your post, it's amazing the checkboxes of failed access control efforts:

* trying to control clients

* obfuscating IDs

* rate limiting data

...rather than the more boring yet standard approach of thinking through an access control policy and then enforcing that at the server.
> From this, I can't conclude anything except that the lockdowns are likely not effective.

Wait you’re expanding this to not just curfew, but any lockdown is ineffective?

I’d invite you to check out the recent outbreak on Newfoundland. Large undetected outbreak, lots of spread, 100% UK variant, totally eliminated in a month due to a lockdown with high compliance, return to zero cases.

I should add I do have some doubts about the curfew with warm weather. Outdoor socialization isn’t harmful, and people will feel more deprived now than during the winter one, when many people hibernate anyway.