Hacker Newsnew | past | comments | ask | show | jobs | submit | more drabbiticus's commentslogin

Code is a way you treat your coworkers - Michael Feather, https://x.com/mfeathers/status/1031176879577780224

TL;DR, not AI

The code defers a function call until the point in time that an object goes out of scope. The implementation uses C macros to create a more succinct syntax that omits parts of the necessary C lambda/unnamed function definition and to create a unique variable name for managing the deferred function call. However, the resulting syntax eschews the common convention of using UPPER CASE to denote C macros, and instead appears similar at first glance to a function call from an object pointer.

This can cause confusion if one is not familiar with this pattern and expects macros to be communicated differently. Some commenters say this is common enough, or useful enough to them, to be considered almost idiomatic in some contexts.

For technical explanation, https://news.ycombinator.com/item?id=43959403#43960905 provides a useful breakdown of how the macro works.




Apparently dates to at least 1935, where a train took multiple days (presumably two?) between UTC+08:00 (Australian Western Time) and UTC+09:30 (Australian Central Time)


> Companies manage to handle all 3 of those things without the inefficiently (or at least a lot less of it).

Do they?

The first two results on Google for "government vs private efficiency" are https://www.undp.org/sites/g/files/zskgke326/files/publicati... and https://www.epsu.org/article/public-and-private-sector-effic..., which both suggest that it is a myth that companies are inherently more efficient than government.

It's also worth mentioning that governments and companies inherently must operate differently. Governments are not set up to recoup investment; in fact, proponents of small government (as opposed to no government) generally recognize that the role of government is to assist in preventing "tragedy of the commons" by funding initiatives and programs that fundamentally do not make sense for a single market player to address. I.e. government helps when there isn't a good path for a single market player to see a good/reliable economic and market-competitive return from their investment.


>> generally recognize that the role of government is to assist in preventing "tragedy of the commons"

Not anymore. Great many now believe that there should be no commons, that everything should be owned by someone and leased back to those who use it. Such people see it as the duty of government to efficiently disperse the commons to the highest bidders. Those bidders will then "protect" their asset by ensuring it is put to the highest economic use.


> The report examines evidence from nine sectors - electricity, health, waste management and water, prisons, buses, ports and airports, railways and telecom,.

Yeah, if you examine only utilities and monopolies they are not more efficient than the government. That's not a surprise because they don't face competition and are heavily politically controlled.


Do you have evidence suggesting a clear discrepancy in efficiency in other sectors?


Only every single interaction with the government I have ever had and the experience of everyone I know who works in industries where they have to deal with the government on a regular basis.


If lived experience is the only bar of evidence you will consider, there are plenty of stories of fraud, corruption and anti-competitive behavior in industry that have hurt real people. Insurance (duh), devs who get shafted by Apple store policies or other entities without recourse to a human, outright scams and spam i.e. cryptodumps, every major game release that seems to either get delayed or released with show-stopping bugs, etc

EDIT: s/accept/consider


I think once you join the workforce and are employed you'll start seeing some company inefficiencies.


I see it every day and it doesn't come close to the insanity of government


The music that Suno generates as anti-folk is pretty aesthetic, but when you read into what anti-folk is meant to be as a genre, I can't help but feel that an AI algorithm spitting out music and lyrics is pretty far from anti-commercial ethos espoused by the antifolk movement.


It’s too bad AI is associated with commercialism when it’s a product of academia.


In the context of my comment and the linked website, could you explain your point?


Just curious if you have a screenshot or a list of the top n results for "avi to mp4" when using Kagi so that there is a bit of a data point for comparison captured in thread?


Very interesting. A small tweak and it seems like this could be applied to the problem of identifying degree of separation from political dissidents or other targets with the right data source. Lots of tools already exist that do that, but it's kind of wild how accessible and scalable certain techniques have become.


First, Harris isn't Biden. Second, when Trump calls immigrants criminals, I'm pretty sure he means it. How many generations do you have to look back before you find an immigrant among someone you call friend or family? We are a nation of immigrants, a country less than 300 years old. And who does he mean when says immigrants? It never seems to be that nice German couple down the road who _look_ like the other European folk that happened to immigrate a few generations earlier.


> A lot of what you mentioned is either debunked or is fraught with misinformation

Why do you believe this?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: