skysight-inc/HackerNews huggingface dataset:
I'm going to argue that computers and software are already wildly efficient because the cost is already baked in. You don't get a dedicated server or an on-demand instance without paying for the power and cooling; that's all baked into the price. The OPEX on these things isn't perfectly line-item transparent but it's at least included. They could be MORE efficient by removing some layers but when you factor in labor costs it's sort of silly. It doesn't mean all deployments are designed efficiently, but if they can also bare the cost, operationally it's probably worth it to them.

IOW the only way to really move the needle here is to somehow classify data centers - becaues that's who really pays - with some label forcing them to offset their emmisions, and then pass those costs onto us.
rotate it every week
This is super cool, thank you for building it! Two small UX ideas:

- a scrollbar and search for the Online Library would be helpful

- switching difficulty levels in the middle of reading could be helpful. Or if you keep that on a separate page, returning automatically to the last open position. (I was floating between beginner levels to find the right amount of challenge)
Does the green software conference have talks about this topic and how to fix it? That would be very interesting!

(edited after posting: I read the article, and I see it's a movement, but not a conference. So same question, would love to see operating systems improvements be part of the green software movement, do you know if it is?)
I got paid to do the LAPACK port, back in the mid 2000s, for a federal contractor working on satellite imaging type apps. I was still a good coder, back then... Took me about a month, as I recall. Maybe 6 weeks.

But I'm one of those old-school HPC guys who believes that libraries are mostly irrelevant, and absolutely no substitute for compilers and targeted code generation.

Julia is cool, btw. It could very well end up supplanting Fortran, once they fix the poor performance code generation issues.
> I think the driver is more likely to be bipedality.

Given that the tail was lost before the development of bipedality, how could this possibly be the case?
I feel like people don't focus on gibbons enough in general. It's all great apes and monkeys all the time.
Because all that extra security makes the stack unbearable. That is why it's taken so long to converge on a solution, and yet even that still changes every few years.

To say nothing of the beautiful simplicity of a device simply running instructions as given.

I don't want a future in computing where I can't direct my own physical property to follow the programming I tell it to. A world where everything is a tenancy and there are security checkpoints and fine-grained access control on every block sucks in computing just as much as it does in real life.
Papers Please (The game) was written in haxe
> network of influence

I cannot see how the "public/private partnership" programs, here or anywhere else, are not going to be focused on spreading that network. Perhaps I'm unduly pessimistic.
It’s a no-go because it’s not a fantasy impossible drive?
https://videoconverter.wondershare.com/compress/mms-video-si....
some of those look like spoofs?
This is something I've been thinking about for a long time. How many gigawatts are electron discord clients using right now? How many are being wasted transmitting a 200MB jpeg to render into a 2" square on your phone?

Your "eh, good enough" code costs your users collectively hundreds or thousands of dollars in electricity. Your galaxy brain insane shit stupid application packaged as 40 docker images instead of a 200kb binary has caused millions of dollars in hardware upgrades. Uncountable amounts of e-waste and pollution.

It's really just absolutely staggering to think about. The ever-plummeting quality and performance of software is snowballing into an energy and ecological catastrophe that we are all very studiously ignoring.

And you know what? We can draw a single straight line from this problem back to capitalism. Capitalism fundamentally cannot consider externalities. So we shit out the cheapest software that technically does the job because there's no profit incentive to do otherwise. If we could all slow down and write decent software, the world would be a better place. But no, that's not profitable enough.
Yeah the most likely “work things out” is they’ll let you buy brand new releases and donate them the day after release (saving them from having to buy it).
Rephrasing the Arthur C. Clarke statement “Any sufficiently advanced technology is indistinguishable from magic.” I would say "Any sufficiently advanced scam is indistinguishable from genuine trading advice.".
> The entire trading industry is a zero-sum game bro.

It isn’t in utility terms, which are the only terms that matter for whether something is actually zero sum.

Under certain assumptions, it is in (e.g.) dollar (or other specific commodity) terms, but the whole reason markets work at all is that the no specific commodity (including any fiat currency at any point in time) has a consistent relationship to utility across market participants.
That's why they have like 1000 job postings in a market where nobody is hiring. I keep trying to convince people I know to apply, but they think they're not good enough for some reason.
This looks really cool. I’d have loved to give it a try as someone interested in improving my French, but I wasn’t able to download the app since it’s pinned to the latest version of iOS only.

Are you using APIs that are unavailable on iOS 16 and under, or is it a matter of testing? My understanding was that about 25% of iPhone users aren’t on iOS 17 (myself included!) so it’s a fairly large demographic
> So you trick people by lying to them, and it's ok because you take their money indirectly via the stock market

No one was arguing that it was indirect; the people who lost money took advice from an anonymous user on a forum on tiny companies they'd never heard of. The morality question is still interesting because it hinges on whether or not people knew they were playing a game with deception.
Shenanigans with Rust – A Minimal Rust Pipe Macro
If you made half a million bucks doing something in high school, it'd be pretty hard to go the college route and hope to eventually get a job grinding $100k a year.
If I was any of these companies, I'd totally invest many billions in ecosystem here. Tensorflow (Google) and pytorch (Facebook) are great examples, it can work. Otherwise, hw companies will continue to lose relevance in the growing server market, and SW companies will have an ever growing Nvidia tax.

But it's not easy for the hw co's. OpenCL was more of a hw company thing (Intel, AMD, mobile chip co's), and while they spend billions on adventures all the time, their SW leadership culture has been bad. They fail to do sustained & deep ecosystem investment, and instead look like small feudal orgs that get their projects pulled arbitrarily whenever the VPs rearrange themselves. For example, given that Intel brought back its old CEO, that was a scary signal to me for this front. Intel specifically had the internal talent, I'm not sure if they still do, just not at the management level, and definitely not culturally at the highest leadership level.

Jensen at Nvidia has always been a special CEO here, even when they were helping game companies make their engines, and I'm guessing that taught him the value of long-term vertical SW & ecosystem investment. Instead of Intel unifying on x86 and c++ (compilers, vtune, Intel tbb, ...), and letting Microsoft / Linux / DB people go higher, Jensen went all the way up the stack to get at full utilization, and unified teams internally on that over 1-2 decades.

Apple is a funnier case. I can see them doing it and then pulling the plug. Eg, Chris Lattner making Swift and then they failed to retain him, and their revolving door of frameworks overall. Internally, they do have the technical talent and $, but I don't understand the culture and commercial alignment.

Finally.. I do think the increasing importance of AI inferencing, yet simultaneous simplicity of it, has opened a disruption opportunity here. We are still at a tiny % of where it is going. Onyx, pytorch, transformers, etc ecosystem are still early days from that perspective. It's fast for a hardware co like Groq to port a new model. So I don't rule out big changes here, and those being used to drive the rest of the ecosystem, like your q on ROCm.
My originals are the Blu-rays themselves; ready to be ripped again if needed.
This article reminded me of a seminal C++ book on this subject:

Lakos, John (1996). Large-Scale C++ Software Design. Addison-Wesley.
Long term audio is something I'd look at, either audio books or podcasts. AR is another long term ambition.
This is such a cynical take. The point is to model what types exist at runtime in the type system, so that you can reason about those same runtime types statically. They’re only “fictitious” if they’re defined incorrectly, or if the type system can’t sufficiently express certain of their nuances. The former is usually only the case when developers intentionally work around the safety provided by the type system; the latter is possible, but at this point it’s usually only ever the case for patterns that are hard to reason about regardless of the type system or even the presence of types at all.
This is a beautiful idea and easy app to use, thanks for the work!
Not a fan of over-financialization, but... if trading is propagating market signals to people who otherwise wouldn't have them, it should have some positive externalities?
It’s still a decent filter for interesting things to hackers but the comments are getting worse.
As the social circle increases, the quality goes down.

I like the website news minimalist anti-clickbait filter for news, the scaling filter it uses, and now topic filtering. Now it just needs more hacker news content and I can move over there then drop commenting as it’s not available.
Yeah. I see a lot of "typescript is more readable" arguments out there, but I find this code dense and verbose. The more words you use to explain something the more likely you are to be misunderstood. What we're looking at here is basically a restricted wrapper for console.log and a regex implementation meant to simulate a logger in another language. Why not just write a cross-compiler for that language? There's no learning curve for the syntax then, only the target platform.

<rant>The invention, support and defense of Typescript baffles me. It feels like an intensely wasteful work-around for poorly written interpreter error messages concocted by comp-sci grads who think compiled languages are superior to interpreted ones in all situations and they want to bring this wisdom to developers of loosely typed languages. </rant>
Well, that's the sort of mistake even noob won't make.
> Why is there lot of news in HN that is nothing to do hacker, entrepreneur, technical

Do you submit links to HN? The "news" on the front page only arrives there because someone originally submitted the link via the "submit" page. If you don't submit links, then begin submitting those URL's you find interesting, and some of them may make the front page.

Do you browse and upvote items on the "new" page? The font page is populated by submissions that received sufficient upvotes when they were originally on the "new" page. Someone (well, enough "someones") thought each item was interesting enough on the new page to upvote it so it would reach the main front page.
Makes you wonder why we naturally selected for ancestors who didn't have the vitamin synthesis machinery. Clearly there must have been some evolutionary disadvantage associated with vitamin synthesis, or else as you say it's clear benefits should have conferred an evolutionary advantage and still be with us today.
Is it safe to assume they transitioned to become an anonymous crypto trader around this time?
There's nothing necessarily unhealthy about cooking in animal fats.
I get that, but given a world of finite resources and attention, is software really to the point where we should be redirecting the pressure off of more egregious polluters?

It's like telling people to take shorter showers in a drought, when residential water consumption is a miniscule fraction compared to agricultural or industrial use. To the point where short showers affects nothing and benefits no one. When we really should be cutting allotments given to farmers and industry. This is something that goes on very frequently where I live.
Dewer! thanks, I knew there was an actual name for those heavy duty thermoses but it completely escaped me :D
I can't seem to find the pricing page?
Yes, as expected of a successful language, JavaScript clearly falls into the first category of Stroustroup’s observation: “There are only two kinds of languages: the ones people complain about and the ones nobody uses.”
That’s the problem. It doesn’t have type C ports. It’s got a buttload of A’s, but it’s 2024 not 1996. I’d rather buy USB-c to A adapters than be presented with a bank of vintage grunge band adapter ports.
They can, but LLMs don't. The best way to "teach" an LLM something is to train it on a finished work and pray it will give you the right answer. Finetuning AI on research that is unpublished and unreviewed is data poisoning, whether you do it deliberately or not.
If you think the front page is bad, you ought to see what the new queue looks like with showdead turned on.

Be the change you want to see and flag clickbait and off-topic stories.
C++ left arrow operator (2016)
OK, from what I understand, it's similar to what we do as well, except Dispatch adds magic while we do it all manually. We have an event-based system: instead of await points, we fire events which are stored inside an AMQP broker. The broker has N consumers on different nodes which take new jobs as they arrive. Retries/circuit breakers etc. are added manually (via a Go library), and if a job/event handler fails, it's readded back to the AMQP queue (someone else will process it later). Inside event handlers/job processors we also enjoy Go's builtin local scheduler (so I/O calls do not block entire cores).

I can see the benefit that with Dispatch, logic is simpler to read/to write as just ordinary functions, while in our approach, we have to scatter it around various event handlers/job processors. However, I still like that in our approach, event handlers/job processors are entirely stateless (the only state is jobs/event payloads), I've found it to be good for scalability and reliability + easier to reason about, compared to passing around internal coroutine state.
I feel like manufacturers still haven't cracked the 3+ monitor code.

My ThinkPad T500 could output to three monitors, way back in 2009 - but you needed to disable Windows' driver signing, and run a custom, patched video driver. Linux on the other hand supported it natively, but you lost the ability to switch between the Intel and AMD graphics cards - it did this by running one display off the Intel card.

Luckily, my daily driver (ThinkPad T460p) outputs to three monitors just fine.

At work, I've specifically requested that I keep my circa-2019 Intel MBP, because it can support three monitors, but at least one of them must be DisplayPort. They're now giving out MBPs with the M2 Pro, but these only support two external monitors at all, and that's a dealbreaker for me.
I don't think you are right here.

std::launder addresses a specific situation: when an object is replaced by another object of the same type but compiler doesn't know that the first object's lifetime has ended and the same address points to a different object. In this case compiler may still use cached values of constant or reference fields of the dead object or its vptr.

In this case the byte array merely provides storage for an object of type T created by the placement new operator and that object is never replaced by anything. The lifetime of the byte array itself doesn't end when a nested object is created.
sure you can. set the concurrency limit to 1. If you're debugging the logic and not some race condition then this works perfectly fine. Remember to profile afterwards though
Doubling Down- CS fundamentals in the face of the AI apocalypse
Yes I agree that it makes sense for energy generation to be in public ownership. Although they still have to make a business case that it will actually deliver rewards. And be mindful of the costs associated with a dangerous liability. And in most countries it will be money that comes straight from debt.

The truth is that neither government or business have been that good at making these kind of decisions. I think the low recourse debt approach has some merits in that an institution is really forced to put skin in the game. And that due diligence is an integral part of making decisions. A nuclear power station that could be funded by a bank would probably be a pretty good design.
> There is no "why"

Of course there is a why. It happend and not only was it not selected against, presence of a tail was selected against. Meaning it was, or came along with a beneficial adaptation. That benefit is why it took over our gene pool and why we don't have tails now.
Do you have examples of lies? If he just said this stock will go up, it seems he wasn't even wrong.
Umm, I think you misunderstood. I didn't say going to Mars would end wars, I was speculating on what conditions should be met on Earth, before someone lands on Mars.
The actual article in Nature points out that there have been independent tail-loss events in non-hominoid monkeys. Which makes it all the more frustrating that gibbons aren't mentioned anywhere. Given when they identify the mutation as having occurred, we can tentatively conclude that gibbons lack a tail for the same reason other apes do: 25 million years for the mutation, and 16.8 million years for the divergence of gibbons from the great apes.
It's always a race to get the critical hit or lock in.

But unless the 'grabee' doesn't do anything, someone grabbing one foot from someone is likely using both hands (and most of their upper body) to attempt to control it - and there is a second foot/leg out there free to cause a lot of damage if they're willing.

It's not a 'one and done'/'game over' scenario by any stretch of the imagination if the party is even a little motivated.

Though I suspect most folks in this thread have no exposure to an actual fight beyond watching a video somewhere, so....
>Because the world isn't a war between workers and employers. It's not a zero-sum game.

>Business leaders care about creating more outputs to society.

How do you square these ideas with record profits and record executive compensation, juxtaposed with decades of wage stagnation and the dramatically expanding wealth gap? That gap now has 1% of the population owning over 30.6% of the wealth.

In the context of this discussion, it doesn't matter if the game is positive-sum, if the overwhelming rewards from the created value accrue to a tiny percentage.
HN frontpage from five years ago: https://news.ycombinator.com/front?day=2019-03-24
"How ML Model Data Poisoning Works"

It doesn't. The mentioned Nightshade tool is useless. Does anyone have any example of successful model data poisoning?
> Other apps require you to build a habit around various exercises or ‘games’, whereas lots of people already read books.

Shameless plug: I’ve identified the same problem and built an app that shows a new word every minute on the Menu Bar so I can learn a new word while working: https://apps.apple.com/us/app/wunderbar-learn-language/id647...
> another language

With the property of verifiably correct behavior

> compiler plugin

A number of languages allow it (Haskell being the most prolific example, but also Java, Scala, gcc, many others)
Not necessarily. If any early human diet that produced enough calories for them to live and procreate also happened to have plenty of vitamins, then synthesizing your own really didn't confer any evolutionary advantage.

I'd also note I don't see any reason we'd want to synthesize our own vitamins now. It's virtually impossible to get a vitamin deficiency unless you try to eat a very restrictive diet for some other reason.
I'm another comment I mention an alternative to "believing" then proc macro author.

https://news.ycombinator.com/item?id=39808525
Cancer is an exploitation of the politics present in human cellular biology. The DNA of what makes us human mammals is molecular capitalism in this analogy. You can dismantle that, but then we would be floating amoebas in the primordial ooze.

What you can do is identify when cells aren't behaving in good faith and punish them appropriately (through chemo etc) and find ways to prevent that behavior from surfacing again (diet / avoiding carcinogens / unknown future solutions).
Thanks for building and sharing this! As a feature request, which would likely be the decider for me using this, would you please consider an integration into koreader? As far as I know, koreader is the #1 open source app for ereaders. If anyone using their ereader can use this, you can expand your userbase outside of those who just read on mobile. I don't think I'm alone in never wanting to read an actual book with my phone. At any rate, best of luck and great work getting this shipped!
Foobar2000 lists my music per album. So I double click and put on an album.

In Spotify I do the same, I favorite artists or albums, and I put on an album. Thanks to Adele[1] I get the album played in order.

That said, I agree there's something special about putting on a record, sitting down and just listening to an album. Especially albums where it's clear the artist/band has had some thought behind the album structure.

[1]: https://www.bbc.com/news/entertainment-arts-59365019
My searches for any existing publication of those code snippets didn't shake out, so I waited for the 5GB download of the docker .tar and pulled out the files that ended in .ipg. I'm very cognizant that's not the whole story, but that's what I had the energy to do for now. I really wanted to see the PDF one, since that's actually the heuristic I use for evaluating any such "I can describe binary files" framework because that file format is ... special

https://gist.github.com/mdaniel/cdf52de6a8aa8982d591da82b160...

tar -xOf ipg-pldi-ae.tar e4a01dbc5b413d9709f0cf716cdb848725893b5f97e0870e09fd83e16839dfad/layer.tar \
| tar -xvf - \
home/opam/pldi-ae/IPG/spec/dns/ipg/dns.ipg \
home/opam/pldi-ae/IPG/spec/elf/ipg/elf.ipg \
home/opam/pldi-ae/IPG/spec/elf/ipg/readelf.ipg \
home/opam/pldi-ae/IPG/spec/gif/ipg/gif.ipg \
home/opam/pldi-ae/IPG/spec/ipv4/ipg/ipv4.ipg \
home/opam/pldi-ae/IPG/spec/pe/ipg/pe.ipg \
home/opam/pldi-ae/IPG/spec/zip/blackbox/unzip.ipg \
home/opam/pldi-ae/IPG/spec/zip/ipg/zip.ipg

because Gist wouldn't let me use "/" in the filenames, I just replaced them with _ after killing the home/opam part; I left the rest so hopefully they'll show up in search results since pldi-ae and IPG are pretty distinct
“acquiring high-quality alternative data, gathered from nontraditional sources” ?

I’m only a few paragraphs into this, but sure sounds like they’ve been flogging other people’s data so far.

I mean, maybe that’s legal in most places if the data was publicly available ?
Show HN: PS2 AI – Make AI PS2 Filter and Face to Many PS2 Filter
Programmers are bad at managing state when they forget to use the tools made for managing state. I've had to work on code bases where the state was "implicit" and encoded in a bunch of different fields which "grew" over time and it's a full on nightmare. Even a rudimentary state machine which makes both application state and transitions between states explicit feels like a super power by comparison.
Yeah, always wondered what's the upper limit on a Heighliner - load one up with water. There seems to be plenty of energy available for transfer to/from LEO.