skysight-inc/HackerNews huggingface dataset:
Note that “slightly off-the-beaten-path concurrency stuff” may not be correct in today’s world, especially if it uses ‘volatile’. This is primarily because memory accesses can now be reordered throughout the compiler/processor stack, from the optimizer down to out-of-order execution down to the memory hierarchy. In particular, C(++) guarantees that volatile reads/writes will never be reordered with one another, but they may be reordered with reads/writes to other variables [0] (and this ordering may not be consistent across CPU cores).

Importantly, the x86 ISA provides much stronger guarantees than C/C++. AFAIK the only memory reordering allowed is that a write followed by a read can be swapped around. This is extremely strict (we can’t even reorder adjacent reads) and literally any other processor architecture will provide much weaker guarantees. And because C and C++ formally defined a weak memory model in 2011, modern compilers are free (even when targeting x86 chips) to perform optimizations that reorder memory accesses in ways programmers familiar with x86’s semantics might not expect.

So an algorithm that worked on x86 processors 10-15 years ago may no longer be correct when compiled with a modern optimizing compiler, or when running on ARM. (If in doubt, you should be OK replacing anything volatile with an atomic and specifying sequentially-consistent ordering semantics for all operations — which you can do in Rust!)

[0]: https://systemtbe.blogspot.com/2014/05/volatile-memory-barri...
It's simpler than that, really: ban all nuclear weapons and bomb the shit out of anyone who attempts to create them.

This two-tired world, where the rich guys and their cronies have nuclear weapons, while the second grade countries must submit to their wishes, will clearly leave many nations wanting to balance the scale. History has shown that all countries with security problems develop nuclear weapons as soon as they get to a suficient wealth level.
A similar app without the sloppiness but also very easy to use is draw.io. I am so far very happy with it and it looks good.
> Why does Gitlab need to clean metadata from DjVu files?

It doesn't. It needs to clean metadata from JPEG and TIFF files. They didn't properly check if the files were actually of those types, and Exiftool performed its own content type detection to end up in its DjVu code.

> Wtf are DjVu files?!

DjVu is basically an alternative to PDF.[1]

[1]: https://en.wikipedia.org/wiki/DjVu
Sorry for not getting back to you sooner. Well, first of all it looks like what I would call aesthetic. It looks amazing, I love the amount of light that enters the house, and I think it's super important for one's happiness. I live at the ground floor of an old building in a capital city, and we get very little light. I love how it's functional, and yet small: it seems efficient and cosy. There is another thing: it makes me dream to go and live there, I can see myself reading books, doing things on my computer, and enjoy existence in the nature (the reality is that I wouldn't be able to do that, as I have family commitments, but it makes me dream of it, I hope this makes sense).
You want meaningful AND part time?
It's less about the browser and more about the search engine results.
To be honest I'm not that into farming either, I just like being outside, doing meaningful projects, making friends, having lots of free time, traveling. The farming part is just incidental.
I keep hearing this on HN and I do not buy it. The initial cost is much much greater than the competition and even at lower power draw, I don't see it being competitive.

And I don't think Apple would even want to be competitive in this segment.
Svelte, and Comparing Svelte with React and Vue
Is a semantic web that failed because it was too complicated for businesses to setup established by letting them setup DNS records?

I’m working on making the web semantic (on your search query) by using large language models which is more equipped for reality since businesses can keep doing their websites as they want
It's a bit unsatisfactory, but it's juste how software works: with limited time, between a complete specification and no implementation, and an implementation without specification, the former will almost always win, because you get feedback and start building traction way earlier. Obviously it feels a bit of a mess, but messy fast-moving bazaars almost always win against cathedrals.

Also, completely unrelated, I think it's really sad for Zig that it has become (against its creator will) the champion of the rust-hating crowd. Zig is cool and Andy's work on cross-compilation is a piece of art, but why is Zig in this discussion? Zig is definitely a “growing” language, not a language built on top of a formal spec. Zig doesn't have a defined memory model either!
I used to love Python's dynamic typing, and magic, until I started working on build process critical Python written by other people - and it wasn't even a large codebase, it was about 1500 lines across five files.

My least favourite part - dicts of dicts of dicts parsed from JSON, so good luck knowing what conf["foo"]["bla"]["bob"] was without a lot of code reading, good luck figuring out what other properties conf["foo"]["bla"] had, and good luck figuring out if those properties always existed.

In the end I introduced Pydantic to give the JSON objects a known structure with validation, and that dramatically eased the maintenance friction in one foul swoop (and bringing in Pydantic exposed properties that everyone was setting religiously but never using) - instead of a dict of dicts, it was a now a dict of app name to BuildConfig.

Bringing in mypy and gradually introducing type annotations took more effort, but once it was done, the codebase was far easier to read and understand, large sections of dead code were easily identified, and runtime bugs became far less common.

In other words, I removed all the dynamic bits of Python.

That said, when I'm working with Python libs that do terrible things (like deciding if they're running in a multiprocessing context by checking for an ENV var when the module is imported(!)) I do appreciate how Python's magic lets me reach in and monkey patch terrible things away - although I feel a bit icky doing so.
Yes, I was simplifying — the important part is keeping the untrusted code off of a trusted network. If you want to do the legwork of carefully segregating things then of course network access can work.

I didn’t mention containers since they don’t provide strong isolation and some people misuse them as though they do. There’s no harm in using them as another layer of defense, but hardware virtualization provides much better security.
This kind of thing triggers me to play Civ...

wrt climate, this is a bit more pop science but illustrates something similar for the recent centuries.

https://xkcd.com/1732/
Years since 1900 and seven bits = breakage in 2028
As someone who did play a lot of SS13 way back (must be around 7-10 years now, whack) he gave the entirely correct impression of the game in the form that gave it its fame and infamy. Serious roleplay SS13 servers are a bit like serious roleplay sessions of Paranoia - sure you can if you squint hard enough and apply a million rules about what can and can't be done (heavily biased towards the latter) but the product becomes crippled and stiffled.
I think I've worked on customer facing products enough to know never to assume customer actions and especially not to assume they're rational! Price factors are unimportant to some people and even if it is an important factor, adding a secondary decisions factor, the sugar content, substantially alters the decision being made.

This study seems too small to prove a difference but a interesting pointer for more research about how to improve the effectiveness of a sugar tax. I prefer it when policy decisions are evidence based.
I remember explaining our tech stack (Python and Zope) to clients.

“Where is the code for that page?”

“It’s in the database”

“Oh… Like MySQL?”

“No. It’s an object database”

“???”

I called it “Martian Technology Syndrome”. But it worked. At later stages we paid the price and had to serialize the datastore for migrations, but that’s what you get for relying on pickles.
IBM has seen unicorns come and go, and will keep doing so for decades to come.
Go doesn't even have a language-level distinction between heap and stack, everything is on the heap from the language standpoint. However, values that don't escape and that aren't too big are put on the stack by the compiler.
Huh, privacy side channel exploiting differences in Bluetooth signals, letting some phones be tracked. Not earth shattering but interesting I guess.

The language in the article is a bit loose. Says 40% of phones are compromised, when they mean 40% of phones may be trackable. This doesn't compromise the phone. It might compromise the owners location.
I miss the days when these things would be desktop apps.
I think it inevitably comes down to trade-offs.

If you can write highly maintainable code without paying the cost of slower speed, surely that's a winning strategy.

But I suspect an increase in maintainability means "more friction to change". (e.g. I'd expect adding documentation and unit tests is to take more time in the short term than just writing the code without documentation and unit tests).
That’s only because you don’t use AirPods. And I don’t actually mean that snarkingly. I’m a truly lazy person, so I bought AirPods just because I knew they’d work and I wouldn’t have to fiddle with them. But reading these kinds of replies, especially in a tech savvy forum, makes me realize how valuable these little conveniences are
M1 Macbook airs are 1k and a very capable machine so if this is your price range they are a great buy.
Liberal and conservative is a terrible analogy, it's about being explicit or implicit. And in programming explicit is always better.
> where did the idea come from that landing sites are supposed to look like that? How am I even supposed to navigate this fucking thing?

It took me a moment to realize you were not complaining about the difficulty of landing the drone...
I’m not really buying the notion that SSPL isn’t open source, and the more I read the discourse around free software and the intentions thereof (_user_ freedom), I fail to see how it doesn’t count. I know a lot of folks love to quip that the OSI won’t accept SSPL, but they don’t get to control the use of the term since it was never theirs to begin with, and the source is absolutely open and available. The stipulation is that you can’t pull an Amazon where you get to play “I’m not touching you” games with the software by wrapping the service with value adds via proxy to escape having to contribute back. That feels in line with the intentions that classical distributed software like GPL intended, for that the emergence of SaaS enabled barn-door-wide loopholes.
And it should be wrapped in a function call (most times, you can choose which function is called by a query parameter).
> Hyper inflate : basically off the table

This will not age well.
Do you have any examples of this besides Tether?
I am sorry, i have a 10th gen dell precision for work. an absolute horror. if i am working on anything development, the fans are just so loud. absolute crap battery life.

if i run same vscode dotnetcore workload on m1 air, that thing lasts atleast 10hours on battery and no heat whatsover. better, the compile time is usually faster than 3800 bucks worth dell precision (on a 1200 bucks laptop)
They’re not even close to being profitable
If you simplify everything enough (as children tend to do) it’s not hard to see Guy Fawkes as a freedom trying to rekove a tyrannical government, rather than a religious zealot trying to replace it with an equally oppressive government (just towards a different group of people).
So glad someone wrote this. In PHP - I absolutely hate having to work around autoloaders in third party APIs. I love structuring my imports exactly around the directory structure I design; some project-specific code in /services/ can always call something in ../util/ or a static in ../const/ or a pseudo-global function in ../fwk/ just as I, the designer, intended. And if one of those should break as I structure a new project, any old IDE will notice and highlight it. If something has to be put in some weird directory structure, doesn't matter; I don't consider these imports to be anti-DRY, they're the linkages. You don't want to leave them out of the code.

DRY is for logic, not linkage. Linkage is a necessary part of sharding your logic into intelligible and discreet modules, packages or classes. The linkages between those must be obvious for anyone who comes along and reads your code later.
Looking at pure performance without power usage is meaningless for these machines.
The article itself has the title of "is beyond our expertise", flagging for this is a bit too much?
They cannot afford it. 401K have administration costs and you have to make it lucrative enough such that both employees participate to pass non discrimination testing, and lots of small businesses are just barely eking out an existence with owners taking little profit other than sweat equity.
The comment in the code slightly above says:

this doesn't work in perl 5.6.2! grrrr

So this code is at least 20 years old, and probably pre-2000.
Also why pci 4 and 5 require much more cooling for more than the cpu.
> “Well thought out languages with rigorous semantic descriptions” never win because those are mostly meaningless metrics. The ability to get things done and the barrier to entry are the only metrics that count.

Perl was successful for a time but its messiness eventually caught up to it. OCaml is of the same vintage and grew much more slowly but I dare say it has a brighter future.
Never owned a SIM card, so don’t have to deal with phone calls when I am out and about. Use Skype and TeleGuard to make voip calls. Have WiFi at home and work, so people can easily get hold of me when I am working. Can usually find free WiFi if I need to get hold of someone when I am out and about. Have an old iPhone 7, so can still use the apps I like. Love that there is no constant notifications, calls or emails. Things like banking can be annoying though as they like mobile numbers. Had a Skype number for a few years, so might have to go down that road again sometime unless I look for another solution. Happy to have a camera, podcasts and toy in my pocket, but not to be working 24/7.
Almost definitely false. Provided you weren't doing anything intentionally malicious with it, the risk would be that regulators might fine the bank for inadequate controls. As such, the bank might fire you for doing something that could lead to such a situation, but I don't see a criminal charge. There was actually quite a decent bit of "unapproved" software in use at one of the banks I worked in - mostly stuff that was in the process for approval, but that could take forever, so it was reasonably common for teams to run through the checks themselves (security scan, license review, etc) and move forward while the official review confirmed no issues.
That reminds me of my old Nokia N900.
Facebook removes pages with Meta in their name
But this isn’t that. That kind of “collect BT MACs” is old news yes. This tracks BT _antennas_ independent of the data that is send out. This basically makes any kind of annonymisation impossible (given sufficiently sensitive equipment sufficiently widely distributed etc).

I wouldn’t think that it is a massive problem as most of the “I want to know how fast people move” level of information is simply independent of being able to actually identify the specific person. But maybe I’m underestimating the willingness to grab data or overestimating how sensitive the equipment needs to be to be reliable
I hacked up a simple Superhuman alternative
Command center and improved keyboard shortcuts for Gmail, with nudges to help you pick up new shortcuts as you use Gmail.

HN - what do you think?
Signatures: Modern End-to-End Encryption
Booting into a simple programming interface - so why isn't someone productizing the Raspberry Pi 400 (the one in the keyboard) to do this ?
And yet, meetings still take forever, so I would take this with a grain of salt.
Blackrock and Bloomberg would be squatting on the entire web, and we'd be back to using BBS / newsgroups to get away from them.
Ask HN: What would be possible on an iPhone with M1 Max?
This is assuming Apple succeeds in shrinking the chip down to fit in an iPhone.

Let your imagination run wild.

What would an iPhone with a maxed-out M1 Max chip inside it look like?

What would be its capabilities?

How would a powerful chip like that change the device we're all so familiar with?
Microsoft's New Policy on Introduction
Nowadays I take a look at the person's Twitter after reading their resume, just to see if they'd be more trouble than they're worth. I've passed on several candidates over the past few years because of the utterly imbecilic stuff they posted online. Why Google is not doing the same is a mystery to me. They already run background checks, and political affiliation, for better or worse, is not a protected class. Go be an activist somewhere else.
No annoying drip emails “checking in” every few days.
I understand the limiting factor is iron, which the plankton require.

This can be blown in from the Sahara occasionally. The whale faeces float, whales eat at depth but due to the high pressure of the deep ocean they can only defaecate at the surface.

If they’re in an eddy and grouped as a pod the nutrients are concentrated in an area the plankton can then use the iron, and the krill which live for six years or so feed on it.

The idea being to seed the oceans with simulated whale faeces this should jump start the plankton and ideally the krill giving the whales an opportunity to feed should their numbers expand, a trial in the Arabian ocean is planned to start.

Currently iron levels are only sufficient near the coasts, the hope being that all far more of the oceans could start to support life instead of being deserts.

This Inside Science podcast has a good bit about it all:

https://www.bbc.co.uk/programmes/m00114n7

Just thinking about it, this sounds slightly like Dune.
The whales being the sand worm of the oceans, reprocessing krill into plankton food which is thought to have a huge effect in sequestering carbon.
> The contract itself is supposed to contain a clause that prevents companies from withdrawing under the influence of any boycotts

It feels unwise to make promises about what your company will do in spite of your employees' willingness to do it.
These employees shouldn't have a privileged voice in international politics. It isn't at all fair, whether or whether not people agree with their stance.
So I had a brief conversation with Arthur Brauchle (Head of electrics and avionics)and we talked about some problems with the idea:

- Laws: You are currently not allowed to use anything besides pure helium

- Osmosis: Natural separation would occur, so you would need to make sure to mix helium and hydrogen constantly.

- Cleaning: They have to constantly monitoring the humidity of the helium and have to remove it with a specialized machine on a humid day. This would not work with a mixed gas (with the current design).

- (Speculation) Do not mix it in the first place: Create a sealed off hydrogen balloon in a helium balloon. This would have other problem like different expansion based on temperature. The devil is in the details here...
This is everything.

Everything:

“ You're in #

There's no onboarding. No signup. No confirmation email. No OAuth. You're just in the product. Are there any flashy overlay tours with annoying animations and pulsing buttons? Is there a modal upselling you on a paid plan[1]? No. You're just in product, able to use it.”

Get rid of your fancy growth marketing people, your advisors with their “request a demo”.

Get rid of your intro page talking features.

Dump your stupid signup before starting.

Just. Fucking. Let. People. Instantly. Use. Your. Full. Product.

Instantly. Not after they give their email. Not after they click three dialogs. Not after they jump through whatever remaining hoops you’d really really love them to jump through before.

Show them, indeed GIVE them your product without the slightest fucking delay.

All of it. Stop arguing about why you’d really love to make them do something else before using your product. Make your marketing person stop insisting the marketing thing gets done first.

Get people into your actual full product within the shortest possible time. Milliseconds if possible.
I wonder why people are so focused on intuitiveness, especially in the case of programming languages.

Some new thing is intuitive to a certain person, not everyone, if and only if that person has previously developed some intuition --- tacit experience --- that translates to that new thing. So intuitiveness is more a function of the previous experiences of a person than of a thing itself.

Whereas intuitiveness for an average member of the target population of a product is a useful quality of that product, it is by no means the most important quality of that product. Or else the most "intuitive" products should never introduce any changes, shouldn't they?
That ram is no longer a commodity ram sticks, can’t compare prices directly
It’s hard to think of a country in the Middle East with more rights and freedoms or a better human rights record.

I know I’ll get a lot of downvotes for saying that, but what I’d like is an objective measure on which another country in the area beats Israel
> Worst case, I guess it could interpret "year 128" as "year -127", and that would cause the system to roll from December 31, 2027 to January 1, 1773. Neat!

Well, if the year is indeed stored using 7 bits (probably to save space in a packed structure) then there is no such thing as "year 128", which requires 8 bits. There are only years 0-127 or -64 to +63 if interpreted as signed value.
I am programmed in Uncouth :)
>I think so it makes a big difference in the kid's experience if the parent asks them, or if the parent essentially goes over their head and consults some online resource.

This is the important point most everyone here glosses over. It's hard to discipline a child and make them cooperate in a system of trust. It's much easier to eliminate the trust out. As a stressed parent (and lets be honest, every parent is a stressed parent) you don't have the time and patience for this. I think most of us on the opposite end of this discussion lament this.

In my opinion this is a type of failure you cannot, and should not optimize out. Children's personalities are different. Certain behaviors induce certain rewards and consequences. Failure is part of the development process of their personalities.
I mean, no shit? That's why you turn off Bluetooth when not using it. And wifi too. You don't want your phone broadcasting its presence to every device listening in the vicinity.
I have not answered correctly.

I see this now.

Karma is endemic to people. When you get close, it's inescapable.

Walking away ignites desire.

There is a thing that was said, the "middle way." That was the life of Gotama Bhuda, the prince of the Bhodi Tree.

Abandoning that, then you will have to do this alone. But I would still think well of you.
So, what's IRC Section 6050I and why was it being purposely omitted by the poster?

Answer:

https://www.irs.gov/government-entities/indian-tribal-govern...

> IRC Section 6050I requires that any person engaged in a trade or business that receives cash in excess of $10,000 in a single transaction or in related transactions must file Form 8300 PDF, Report of Cash Payments Over $10,000 Received in a Trade or Business.

So indeed it's an anti-money laundering provision. No wonder this gets the NFT crowd all riled up. I mean, little cartoon drawings being "bought" for six figures don't just sell themselves, right?
I don't think the bad guys wait 3 months. Time is money. They have no advantage in waiting.