skysight-inc/HackerNews huggingface dataset:
> its simply the fact they are a person living in the world.

That's the whole point! If a task requires some time from a human, then you have to include the appropriate fraction of the (huge!) CO2 cost of "being a human" - the heating/cooling of their house, the land that was cleared for their lawn, and the jet fuel they burn to get to their overseas trip, etc, because all of those are unalienable parts of having a human to do some job.

If the same task is done by a machine, then the fraction of the fixed costs of manufacturing the machine and the marginal costs of running (and cooling) it are all there is.
Elixir has had dialyzer + type hints for years
The website has to inform its users that recaptcha does track and if they are ok with that. Many sites don't inform their users about this which is a violation. You have to inform and ask consent before you show the page with recaptcha on it.
i noticed many negative comments, i think they might not be the right audience for your tool. I like the simplicity of creating events with the least number of taps.
Tencent Cloud's home-grown traffic-tamer halves latency
> If I am a small scale fisherman from a pier, I might be happy to sell my business for one year's revenue. The pole only costs $200, and the vast majority of the value is created through my time and labor. I'll be happy to recieve my annual earnings of say $20,000, sell you the business, buy a new pole and see you out on the pier tomorrow.

This is a good example, imagine having to spend $200k just to get a fishing pole? That isn't a good thing, that is asset inflation, cheaper assets is better. Many modern evaluations are on that level, you pay a ton and get very little.
Interesting that you perceive hn as a platform for short form content.
Wall Street's $2.6T AI reckoning
No no, I got that. I wanted to highlight that part of the paper voting system in support of your argument, as I think democracy is a people business, and the paper system works by involving people at every step. If citizens are responsible for counting the ballots and watching the process, they also share responsibility for the trustworthiness of the system. By involving as many of them as possible, large-scale manipulation becomes nigh impossible.
Solving Super Six
I think you are severely overestimating the turnover for ballots. Yes, presidential elections might get ~50%, but anything else does not. The capability of having ballots cast from your own device would allow for more in depth participation into issues which currently are mostly ignored: local politics and even exercising the democratic process at national legislature level. When everyone can vote easily, they hardly need a bunch of corrupt old men in parliament to vote for them.
Yes, there are barriers that can not be overcome by rational actors in market. That's a systemic problem.

It's not a conspiracy, just bad economics.
That's 6.5% salinity. I am wondering how you settled with that number, I have always stuck to 3% and have never seen recommendations higher than 4%! Just curious
Ask HN: Changing my mind about JavaScript
I'm a longtime developer software developer with statically typed languages, in the last few weeks i started working on a couple javascript projects and i must say that i'm changing my mind about javascript, albeit i still think that for bigger project relying on statically typed languages is a better and safer path, i think that JS deserve a chance to be "really" learned, i'm not referring following the dozens of tutorial we find online that are pure crap (using dozens on stuping npm packages or using pre-cocked solutions without really understanding it's full potential).

Do you have any tip for learning js at it's fundamentals? internals, advanced patterns and everything that can relate to understand it in deep?
I can't believe they haven't started using three digits and an emoji.
Such an appropriate name.
> Why not just get rid of them and book on the original flight number?

That couldn't possibly work, as it will make it more difficult for airlines to play their bullshit games with inventories, differential pricing, status and bonus miles.
I bet this is why Warren Buffett was freeing up cash.
> If your degrading climate and straining electrical grid need economical & at-scale fusion power NOW, that's a rather different situation.

Fusion power is not a realistic solution to global warming. Even in the most optimistic scenarios, where every single current fusion power project hits its declared milestones successfully, fusion power will not be a major part (say, more than 1%) of global electricity production by 2100. Renewables, fission, and degrowth are the only possible solutions to avoid climate catastrophe. Fusion might be a path to greater reliability and prosperity in the subsequent centuries, if we avoid the worse outcomes of global warming.

> When stimulated by burning military needs, fission technology went from the the first fission experiments in the US in Jan'39, to the Chicago Pile (first nuclear chain reaction) in Jan'42, to military use of fission bombs in Aug'45, to routine operational deployments of fission-powered military submarines (a very demanding application) the late 1950's.

Fusion reactions are incredibly more complex than fission. All you need to make a fission power plant is a large-ish mass of fissile material clumped together - it heats up and boils water. The rest is control to prevent various runoffs or runaway reactions.

In contrast, fusion requires inchomprenaibly large pressures applied to a gas to even get one pair of atoms to fuse. Then, the energy of the fusion event tends to push other atoms away, requiring even more pressure to keep the reaction going. The only conceivable way to achieve this is using extraordinarily powerful magnets, and even the most powerful we know how to make require special shapes to actually achieve the required pressures in a relatively tiny volume. Then of course, they need cooling, and the whole structure needs to be solid enough to hold the mass of the magnets.

So, fusion needs special magnets, special mathematical shapes, and numerous engineering challenges to contain all of these. It's not in any way surprising that it is going to take much more time to develop than fission took.

Not to mention, the atom bomb was developed using enormous resources. The paultry 100B dollars over 50 years that ITER will probably take is nothing compared to the Manhattan Project (compared to the GDP of the time). The Manhattan Project at one time employed 133,000 people. Give ITER 65,000 employees and see if they can accelerate their time-line.
No checksum???
Indeed. Good point.-
Added some more links/news because I was on the mobile before.

If you google "doxxing brian krebs pr0gramm" you will find lots of other news sources, same as for "coinhive trade volume", as it was the platform that made monero/XMR the biggest cryptojacking platform.
It's been a long time coming!
Why We Shut Down
Great list, thanks!

For original models, often with advanced and beautiful moving parts, JK Brickworks [1] is great, too.

1: https://www.youtube.com/@JKBrickworks
That is to be expected by anything that isn't C, C++ and Assembly, also why Unity has IL2CPP.

Even Rust is going to be heroic levels until console vendors decide it is an acceptable language to be made available on their devkits.
No, it’s here (scroll all the way to the bottom):

https://www.latacora.com/blog/2019/07/16/the-pgp-problem/
"auf der Walz" auf Englisch?
>What stops people responsible for giving out those ballots, from taking some of them and mail under someone's else name (for example, homeless person, drug addict etc)?

A requirement to keep a record of which paper ballot envelopes were mailed out to whom, and to which address.

Ballot blanks are all identical, but the outer envelopes go through the USPS and have identifying numbers on them.

When the ballots are counted, the envelopes can be examined by all interested parties separately from the ballots. The ballots are taken one by one out of the outer envelopes, and put into a bin (they're folded in blank inner envelopes, so nobody can see anyone's vote at that stage).

Presence of an envelope that was received, but not mailed out is evidence of fraud.

Conversely, once put into the mail, the USPS can track each such envelope, and anyone other than the intended recipient tampering with that mail is committing a federal crime (regardless of what they do with it).
Yep, I’ve done something similar. Flew to a conference for work, then had them fly me to my vacation destination instead of home.

I basically ended up getting a free one-way flight for vacation.
They were talking about the original link to a tweet
I made for myself a rather crude solution, that works very good for me. Basically I run a simple HTTP server with busybox-httpd and serve my own new tab page. The new tab page is a bit hacked EasyMDE (markdown editor) with live preview. It saves automatically to disk so I can use Syncthing to distribute the file. I need to add automatic Git commits, but for now it works good enough for me. I managed to cure myself from extensive tab keeping.

For mobile it is more crude as Firefox extensions are more limited. I just use Markor to see the file and Syncthing just works.

I think about making a WebExtension out of this just so I could automatically sync links from the markdown file to a specified bookmark folder.

The code: https://github.com/hadrianw/notetab
Nope, they can't, either the GDS allows booking it in which case it's already possible or the GDS doesn't allow booking it and then no app can do it. There are plenty services already which allows you to book the craziest itineraries. Like, ITA Matrix Powertools can construct a clickable link into Orbitz from ITA Matrix searches and it doesn't get crazier than that. There's Bookwithmatrix too.
That's by design. Consider mapping a file or reinterpret casting a network buffer that contains a structure with such an enum: if has been written by a different version of an application, the possible enum values might be different. That was considered, among other thing, an important use case to support.

You can easily build your own safe enum on top of you really want.

Edit: someone else pointed out the bitmask use case else thread. Strongly typed integrals is also a common use case.
Similar here, but ALL people thinking not possible ( because obviously it is not the norm ) dont work in Tech / Science or Engineering Field.

While majority who reported having same issues are all from STEM background.
I am a broken record on this.
"Tab Session Manager" + "OneTab" people!!!

- Save all your tabs and windows which come under a single topic (say "Buy car", "Learn OpenCV", "Work") as a named session using Tab Session Manager
- You can restore, replace your saved sessions at any point in the future. You can also edit sessions, add/delete tabs, windows from the drop-down menu.
- It also backs up your last 10 (can be adjusted in settings) sessions.
- Very frictionless and intuitive UX.
- Send all the rest of your unclassified tabs (interesting hackernews articles, your readinglist) to OneTab

https://addons.mozilla.org/en-US/firefox/addon/tab-session-m...
https://addons.mozilla.org/en-US/firefox/addon/onetab/
is it counting cryptocurrency?
As many have said here, this should be arranged at the browser level. But personally, I hate the disclaimer and having to wade through the options (although the reject all becomes more common, at least on serious sites), but I do like that now I see who is tracking and not allow it while still seeing a functioning site.

And although I am from the EU, my company is not, but I still have to comply with EU rules. Our product has no cookie or consent banners as I choose to make sure we comply and not have tracking products (or collect anything not needed for the functioning of the site) at all on our sites; this is sometimes a little bit more work but I believe the world is better for it. You don't need to track your users and you definitely don't need to pass that valuable data to Google (or CLOUD act; the US gov etc etc) for free so they can make money with your clients.
How do you get a merge conflict with yourself?
There is a whole economy that depends on people working 5 days a week, such as hospitality. Furthermore, as someone who is now 60, I can tell you how disastrous for the health it is when you have to work also during week ends. As you can never really rest, tireness stacks up to the point of burn out. You need these days badly to give your mind a bit of fresh air. I went many times through absolute nightmares when a manager had decided on unattainable datelines, which forced us to skip week ends all together. I would spend weeks before being able to work properly again. Those fat geese sitting on a fat matress of stock options, threatning us to make them richer is beyond indecence.
> I can also buy an itinerary where I fly AA on BOS-JFK and connect to BA JFK-LHR, because there's at least one AA-marketed flight on the ticket.

Dunno if that’s a requirement that AA has, but I’ve totally bought 100% Air France metal tickets that don’t even touch US soil on Delta because Delta sold the same itinerary for way less.
"One big bond market investor christened his yacht Positive Carry"
Agreed, and you already addressed this with your sibling comment. I just thought it was an amusing counterpoint to "healthy people go outside more than sick people".
Reference_wrapper then.
I had a good laugh for both the praise and roast versions.

Roasting:

> And what’s with the machine learning obsession? You’re bagging on the very tools you claim to love while you play God in high-energy physics. I hope you’re better at particle collisions than you are at writing documentation, because judging by the vague descriptions in your repos, I can only imagine that your projects collapse faster than a failed LHC experiment.

It is actually a good thing that my projects collapse faster than a failed LHC experiment, as we don't have a failed LHC experiment (yet!). If it is the opposite, then High energy physics field will be in trouble. I don't even complete most of the project ideas I have.

Praising:

> And don't worry about people running your code - we're sure they'll be careful! After all, your warning has already become a conversation starter. In all seriousness, though, your work is valuable, and it's clear that you're committed to sharing your ideas with the world while also maintaining a sense of humor about it. That's truly commendable. Here's to many more exciting projects, discoveries, and collaborations in the future!

I have "You should not run my code!" in my account description not because I'm humble, It just that I write personal projects/code that might be useful for people but by default even when I document something it is for me. And I just like GitHub more than GitLab, which CERN uses.
I've recently had about 30 tabs open, both in Firefox and Firefox-ESR, on Debian Testing. After over 10 years on Debian, my system has begun to freeze somewhat dependably and predictably when either browser has more than 5 active* tabs.

Sometimes, but mostly not, I'm able to Ctrl/Alt/Backspace to kill X and then resume with startx. If I can do this, I'm able to rescue my session without a hard reboot. More often I must hard power down. And when Ctrl/Alt/Backspace does work it's after at least 20 attempts. I tried reducing the priority of FF, but not sure if it'll help.

Anyway, as a compulsive tab horder, this is a completely new bug for me. But I will never give up, and if necessary I will fight to the bitter end.

*Active as opposed to merely open

Edit: maybe if Ubuntu releases Tabular Tyrannosaurus I'll change distros.
> If you aren’t perfect at writing tests, how do you know the tests are complete, bug free, and actually useful? :)

I did like the rest of the post, but this is not hyperbole. It's just a disingenuous argument, and one that looks orthogonal to your point that "tests are a tool for a job".

If you aren't perfect at magnetizing iron, and you need a working compass, you better magnetize two needles and use one to test the other. The worse you are at magnetizing iron, the more important it is that you do this if you want to end up with a working compass.
The author should really setup SSL on his website and make it secure to browse to begin with.
In the cabin maybe, but in the hold? Ah well, everyone seems to disagree about all of it anyway.
You inspired me to make changes I needed to make.

Infinite love to you and your family.
I keep about ~10 tabs open on a single browser instance. I might run 2 or 3 instances, depending on what I'm doing. I have 2 tabs always open, mail and calendar. The rest are all ephemeral and task specific.

At least once a week or so, the browser loses my tabs (this usually happens after a forced update at night). No biggy, the browser will recover them for me. Oonce every couple of months the browser fails to recover my tabs after losing them. Annoying but no biggie, it was only 10 or so tabs.

How on earth do people keep thousands of tabs alive for years, and never lose them? I do not understand how this is possible. Or do they lose their tabs regularly, but reinstate them manually from browser history?
they easily can :)

void test(int& y){}

int main()
{
int* x = nullptr;
test(*x);
}
When will there be a post quantum version, or a plugin by the same author?
I also wonder this. I feel burdened if I have more than 9 tabs open.

W.r.t. the difference to browser history though: I literally never find stuff when looking through my browser history. I either forgot on which website I found something, or what the name of the tab was. I sometimes wish that searching the browser history also searches through some additional metadata, like the sites description meta tag or something like that.
Having multiple prefixes per airline doesn't seem trivial, given that this historically wasn't a thing. I could imagine a bazillion code snippets of

if flightNumber.startsWith(OUR_AIRLINE_CODE)

that might be incredibly painful to fix on short notice.
OneTab and TabSessionManager addons fill these roles nicely on firefox.

OneTab for your readinglist/todo-list tabs
TabSessionManager for your organized topical tabs

See my comment : https://news.ycombinator.com/item?id=41158725
I do the same. I think I have about 50 different tab groups using Simple Tab Groups.

I wouldn't call it working without a hitch. It's not crashing often, but it does occasionally, usually associated with a Firefox update. There's something wrong with the way either that addon, or Firefox itself, manages updates that have been recently applied. I've started making sure I make a backup of my tabs before Firefox does any updates, because it's almost certainty something goes wrong.

Usually I just need to restart Firefox and nothing else, but sometimes Simple Tab Groups has also lost the containers I'm using. That is a real pain in the ass to recover from.
Unify (YC W23) Is Hiring LLM Engineers (Contributors)
Chrome and Firefox’s reading list is perfect for this purpose
What specific features would you like to see in such a lingua franca ABI replacement? I'm struggling to think of anything that's similiar enough across all languages to be relevant. Furthermore, many similiar concepts are implemented completely differently in different languages even if they look very similar to the programmer.
No. There are no gods, there are only accidents trying to make sense of their accident.
The emoji is the checksum
No, that's wrong. Democracy is a process involving the entire population of a country. A vote must be a process carried out by individual citizens to be trustworthy; if we delegate that to machines maintained by the government—because nobody else would be able to do so both trustable and professional—we'd create an incentive for the government to manipulate the system to stay in power.

If, in turn, elections are organised as distributed, local, and highly public countings, that get aggregated up to the final tally, citizens stay in control of their votes. Poll workers in a county may not count the votes of another county themselves, but they know there will be other volunteers all over the country doing so. It is extremely hard to manipulate a large-scale movement of politically inclined volunteers, and they can rely on that.

We cannot hand control over the vote to the government we possibly want to vote out. By reducing the massively distributed trust to a handful of computer wizards, we remove transparency from voting, turning it into a sham event that can be orchestrated by those in power to their liking.
Most programming languages are defined in terms of program text, Lisp is not. Lisp is defined in terms of in-memory structures and what happens if you pass these in-memory structures to a hypothetic of actually existing function "eval".

With this way of viewing things your "( is actually a command" no longer is useful/ no longer makes sense. (I wouldn't say you're completely wrong, though, just that another view of things seems simpler to me.)

You could probably implement a Lisp with a scanner and a parser but things are a lot easier if you follow the traditional read-eval route (or preferably read-macroexpand-eval).
I just organize my tab under windows and sessions :

See my comment here : https://news.ycombinator.com/item?id=41158725
This has been tried. I think the IBM System/360 could do arithmetic directly in RAM.
Code shares are between airlines that generally operate in different markets.

Delta code sharing with Air France may limit direct competition on the few international routes they share, but in general it is also good for passengers because Delta cannot operate flights wholly within Europe and Air France cannot operate domestic US flights. Code sharing allows a passenger to buy one itinerary complete with rescheduling for missed connections and correctly handled baggage.
How Affirmations Helped Me Earn Over $500,000 in E-commerce
Hi everyone! I wanted to share a little bit about how daily affirmations have made a huge impact on my life. A few years ago, I felt stuck and struggled to stay motivated with my goals. That’s when I discovered the power of affirmations.
Every morning, I’d start my day with positive affirmations aligned with my goals, like "I am capable of achieving my dreams," and "I am committed to personal growth." Repeating these daily helped shift my mindset from doubt to confidence.
Incorporating these positive statements into my routine has truly transformed my approach to challenges. In fact, using affirmations helped me stay focused and driven, leading me to earn over $500,000 in my e-commerce business!
To make this process even more effective, I built a tool for myself that transforms my goals into personalized affirmation sessions I do every day. I’m thinking about publishing it, so if you're interested, you can sign up for the waitlist.
> If you google "doxxing brian krebs pr0gramm" you will find lots of other news sources

I found no doxxing, I read that they organized a fundraiser, donated to cancer research, and even Brian Krebs wrote that “the response from pr0gramm members has been remarkably positive overall.”[1]

[1]: https://krebsonsecurity.com/2018/03/coinhive-expose-prompts-...
Thanks for the tip this is wonderful!
Unfortunately all experience shows that both programmers and compilers are much worse at parallelizing code than CPUs are. There have been many attempts at architectures that allowed compilers or programmers to express code in more parallel ways (VLIW architectures, Intel's Itanium, IBM's Cell used in the PS3) and they all categorically failed.

Successful processors offer a sequential execution model, and handle the parallelism internally. Even CUDA is designed somewhat like this: you express your code in a largely linear fashion, and rely on the NVIDIA-created compiler and on the GPU itself to run it in parallel.
By maintaining a family of related forks/branches: https://akkartik.name/freewheeling