MurphyA/hacker-news huggingface dataset:
by mppm | 2025-04-14 14:32:56+00:00
Yeah... with bitcasts and some creativity (and some boilerplate) both versions are ultimately equivalent, or nearly so. But the new one pushes you towards intrusive-data-structure thinking and away from container-of thinking.

This, by the way, is a typical design consideration in Zig -- using "friction" to steer programmers away from doing the Wrong Thing (according to Andrew). In addition, Zig is really more of a fancy macro-assembler for outputting optimal code, and less a pragmatic general-purpose language, and makes design decisions accordingly. Taking both together, the linked-list change sort of makes sense, even though personally, I would have just added a separate intrusive list data structure.
by shagie | 2025-04-14 14:33:00+00:00
There's likely a good bit of analysis that could be done on TLAs. Consider TLA itself is {Adjective : Count} {Noun} {Noun}. Meanwhile, DUI is {Gerund} {Preposition} {Noun} with the stop word 'the' removed.

It might be interesting to take a sample of TLAs used and look what words can be used in those spots. If the third position is 90% likely to be a noun, that could change the distribution... guessing not in a significant way itself but it could be interesting to see.
by hylaride | 2025-04-14 14:33:02+00:00
We implemented it at a previous company, but it was a managed services provider that had access to customer VM's or other infrastructure. It was part of the soc2 process to "approve, audit, and then grant timed access" to various infra.

Everywhere else I worked just used ssh keys, either deployed via ansible or via LDAP because it's so much more simple unless there's a high need for an audit trail with proof of approval. SSH keys scale perfectly fine otherwise.

Unless I'm desperate, I'll never work for a managed services company again, so hopefully I'll never need to bother.
by frereubu | 2025-04-14 14:33:23+00:00
For my sins I was once in a Microsoft SQL training session. The guy leading it was great, but at the end of every thought he'd make a noise in his throat, like "uhn" or similar. I couldn't stop noticing it acting like a carriage return at the end of each thought, and hyper-fixated on it to the extent that I learnt precisely nothing.
by FirmwareBurner | 2025-04-14 14:34:32+00:00
>Trump sees it as a cost.

Which is true since defense money doesn't rain from the sky. Taxpayers on both sides of the atlantic are footing the bill.

>He always says Europeans are not paying their fair share.

Which is true when you look at per member spending percentages. Mostly Poland and a couple of other members have been meeting their agreed spending targets, but the rest have been slacking.

>He has been talking about it for ten years:

From your article:

"While Trump has gone so far as saying that, as president, he would consider pulling the U.S. out of NATO if it is not restructured, we’ve found no instance of him saying he wants to do so at this point. And the Clinton campaign hasn’t been able to point to an example of Trump saying that either.

In fact, it was during the interview with the Post, which initially brought attention to Trump’s feelings about NATO, that Trump said that he doesn’t want the U.S. to leave the alliance."
by dsign | 2025-04-14 14:34:36+00:00
> Nordic countries are made of homogeneous populations

Once upon a time, it was so. Today, not so much. If that's a good or a bad thing, it's an entirely different can of worms. I think diversity in the Nordics is beautiful, but Japan has managed without it and they have great artisans.

In the Nordics, in addition to long barbaric winters, having long barbaric Middle Ages helps foster social discipline. See what beloved King Vasa of Sweden did to peasants that weren't happy with their Gini coefficient:

https://en.wikipedia.org/wiki/Dalecarlian_rebellions
by orwin | 2025-04-14 14:34:37+00:00
Yes. The US strongarmed Alstom into a merger with General electric for an insulting price (and with GE overly valued, even for people who actually believed in their cooked books). An Alstom's top executive was also inprisonned in the US during the talk.

Trump only makes US corruption more visible. He did not make your country corrupt all of the sudden, he just put a shine on it.
by pmags | 2025-04-14 14:34:58+00:00
That was my first reaction as well, and actually double checked the posting date. But apparently it's a real thing:

https://blog.google/technology/ai/dolphingemma/

As to conversations and whether cetacean communication has a syntax, I think that's a super interesting question. I know next to nothing about cetacean communication but a quick PubMed search turned up this reference which looks like it might be a useful jumping off point for the literature in this area:

King SL, Guarino E, Donegan K, McMullen C, Jaakkola K. Evidence that bottlenose dolphins can communicate with vocal signals to solve a cooperative task. R Soc Open Sci. 2021 Mar 17;8(3):202073. doi: 10.1098/rsos.202073. PMID: 33959360; PMCID: PMC8074934.
by coldpie | 2025-04-14 14:35:06+00:00
> Are you saying that I should have imported the 1099 and overridden the basis of those shares to be exactly what the sale price was?

Yeah, you never leave income forms out, you always provide them and correct them if needed. My broker provides a separate, non-standard form with the cost basis for each transaction. Yours may or may not. Once you have the correct cost basis, you provide it on Form 8949 (column E plus code 'B' in column F), which then gets accumulated into Schedule D to provide the true gain/loss for the transactions.

> That seems like an odd thing to expect the end user of tax software to know to do.

Yeah. It's one of those things where I think doing your own taxes is an advantage over using the software. The problem becomes obvious when you understand how income tax works: tax applies to income --> the shares are part of my income, so were taxed as such --> but if cost basis is 0 then the entire sale price will also be considered income --> I'm being taxed twice?? Something is wrong here. The tricky bit is figuring out how to solve it :) But the IRS's instructions are quite thorough, and some googling can point you to the right instructions if it's not obvious where to start.
by avs733 | 2025-04-14 14:35:17+00:00
I'm going to take a contrarian perspective to the theme of comments here...

There are currently very good uses for this and likely going to be more. There are increasing numbers of large generative AI models used in technical design work (e.g., semiconductor rules based design/validation, EUV mask design, design optimization). Many/most don't need to run all the time. Some have licensing that is based on length of time running, credits, etc. Some are just huge and intensive, but not run very often in the design glow. Many are run on the cloud but industrial customers are remiss to run them on someone else's cloud

Being able to have my GPU cluster/data center be running a ton of different and smaller models during the day or early in the design, and then be turned over to a full CFD or validation run as your office staff goes home seems to be to be useful. Especially if you are in anyway getting billed by your vendor based on run time or similar. It can mean a more flexible hardware investment. The use casae here is going to be Formula 1 teams, silicon vendors, etc. - not pure tech companies.
by PaulHoule | 2025-04-14 14:35:27+00:00
Well, for 10+ years I used Skype as my “mobile” number because it would work on computers and tablets. It wasn’t until recently that I had cell service at my house so investing in a smartphone didn’t make sense to me (I might have been the only mobile developer who didn’t have a smartphone with a plan). Traveling around upstate NY you can always count on there being WiFi at work or the gas station, at Taco Bell, at the gym or any place you might stop.

An iPhone is a lot more expensive but it is also more versatile in that I can play some of the mobile games I see fan art for in Danbooru, and unlike every other kind of non-landline, you can really leave a message…. With every cheap android phone or Skype it seemed I was always setting up my voice mailbox but whenever anyone called they’d hear “this customer hasn’t finished setting up their voice mailbox.” It’s true for all my friends who have subprime mobile or VoIP phones…. And it insidious since you probably never call yourself to know your voicemail box works.
by philistine | 2025-04-14 14:36:00+00:00
I never used a PowerPC Mac, I bought the first new computer they unveiled after the iPhone. But I did go through the Apple Silicon transition, and let me tell you computing is great!

That M1 Macbook Air killed any sort of desire to get an iPad or any other computer for that matter. I'm looking forward to upgrading this year or next year, but somehow even that feels superfluous. Except for RAM. Damn low RAM.
by behnamoh | 2025-04-14 14:36:19+00:00
The more it goes, the more I think Gleam isn't meant to replace Elixir or Erlang at all. I would have expected much more emphasis on the BEAM, showcasing hot code reloading and fault tolerance using supervision trees in a live server app (just like we have in Elixir and Erlang). But the direction Gleam has taken recently seems to be towards developer convenience, which is nice _as long as_ there _is_ a compelling reason to code in Gleam in the first place. I'm sure with Lustre and some other libs they're working on making Gleam a serious language, but so far it's not able to do what Elixir does.
by jacobr1 | 2025-04-14 14:37:01+00:00
In some sense that is actually what MCP is. A way to document APIs and describe how to call them, along with some standardized tooling to expose that documentation and make the calls. MCP hit a sweet spot of just enough abstraction to wrap APIs without complicating things. Of course, since they didn't add a bunch of extra stuff ... that leads allowing users to footgun themselves per the article.
by PaulHoule | 2025-04-14 14:37:21+00:00
Google is bad at a lot of things but has a “we’re number one why try harder?” attitude.

Or rather you can’t benchmark the performance of anyone there against industry peers because they are protected by a two-sided market. Bazel, Kubernetes and other startup killing tools are developed there because with monopoly services they can hire 3x the number of developers at 3x the rate of other firms and shackle them with tools and processes that make them 1/3x as productive and survive. It’s even worse when it comes to evaluating top management, somebody like Marissa Meyer might be average at best but has such a powerful flywheel behind them that they might seem to succeed brilliantly even if they were trying to fail with all their might.
by tuyguntn | 2025-04-14 14:37:33+00:00
it still didn't click me.

Let's say I have 2 agents which uses 2 APIs under the hood: - Agent A: uses API A1 and A2 through MCP - Agent B: uses API B1 and B2 through MCP

Assumption here is that, Agent A can't access APIs B1 and B2 but can access Agent B. What if I expose Agent B as an MCP server. Why do I need A2A?
by bpodgursky | 2025-04-14 14:37:41+00:00
Interestingly earthworms went extinct in most of north america after the last ice age, and their re-introduction in 1500+ means they are making their way through organic matter in Canada's boreal forests that were previously sequestering large amounts of carbon. No way to roll it back though.

https://natural-resources.canada.ca/stories/simply-science/e...
by Y_Y | 2025-04-14 14:37:44+00:00
I'm not invoking the naturalistic fallacy, I'm saying that without external intervention economies will tend towards a non-uniform distribution of wealth. If you really desired to have everyone have the same amount of wealth you'd have to continually redistribute it, at some cost.

I don't know what exact scholarly literature you're referring to, but I'd guess that they're talking about local properties, i.e. starting from where we are increasing inequality would decrease growth etc.

On the other hand we know from history that technological and social innovation comes for production surpluses and specialisation allowing innovation. Taxing subsistence farmers to pay scientists and philosophers is cruel, but it seems to be how societal progress comes about. If you accept that (hopefully anodyne) premise then you'll agree that starting from relative wealth equality we can (long term) increase growth and social mobility and overall wellbeing by increasing inequality.
by grayhatter | 2025-04-14 14:37:46+00:00
> Can someone explain how the claim of higher performance works here? In C, which lacks generics, an intrus

I can only give a handwavey answer because I've yet to see any data, and if an engineer tells you something is better but doesn't provide any data, they're not a very good engineer. So grain of salt and all that. But the answer I got was because cache performance. Writing code this way your CPU will spend less time waiting for main memory, and the branch predictor will have better luck. The argument makes sense, but like I said,I've yet to see real world data.

> isn't the resulting type exactly the same in memory unless you intentionally made T a pointer type?

Yes and no. If I understand what you mean, the bit layout will be the 'same'. But I think your confusion is more about how what a compiler means by pointer type, and what a human means. If you pull away enough layers of abstraction, the compiler doesn't see *Type it'll only see *anyopaque, phrased completely differently; according to the compiler, all pointers are the same and are exactly memory_address_size() big. *Type doesn't really exist.

Writing it this way, imagine using just the LinkedList type, without a container of any kind. node to node to node, without any data. While it would be pointless, that would (might) be faster to walk that list, right? There's no extra data loads for the whole struct? That's what this is. Using it this way it gets complicated, but translating theory to asm is always messy. Even more messy when you try to account for speculative execution.
by taeric | 2025-04-14 14:38:40+00:00
Glad to see I wasn't the only one taking issue with that claim.

It is frustrating, as I understand why it is stressful to get a call from the IRS. For the vast majority of reasons you will get that call, it really should not be, though.

And agreed that it is silly we do things this way. It is equally silly that we have built up most people to think they are supposed to have an adversarial relationship with the IRS.
by ldjkfkdsjnv | 2025-04-14 14:38:45+00:00
Another common one, is you hold a big equity position, but get pushed out/leave early long before there is an exit event. The investors and executives still at the company will fuck you over on your options, and like diluted your options after you left. This happens literally all the time, and if you arent the CEO, there is almost nothing you can do.

Just a few weeks ago, I met a CTO that got the company to a series A level of revenue, by building the whole product over two years. Was fired by the CEO, who brought on new investors, recapped the equity table, and drove his option value to almost nothing.
by potato3732842 | 2025-04-14 14:38:47+00:00
>recently, doctors are refusing this care due to their concern over legal liability in states with harmful policy

Really bugs me that the people who championed the apparatus that enables the existence and implementation of such policy never consider their role.

It's like ascribing your 9th inning loss to a mediocre batter who got lucky when your own pitcher was dumb enough to send one straight down the middle.
by wormlord | 2025-04-14 14:38:54+00:00
You are probably gonna get downvoted for lack of empathy but I completely agree. I feel bad for OP, but simultaneously if you are a technocrat who thinks they are somehow insulated or not part of the larger system, you need a reality check.

> I was supposed to help with the developer keynote, ensuring things matched reality and were beautiful. Gone.

Maybe I am too much of a jaded asshole but anyone who writes something like this needs perspective.
by gruez | 2025-04-14 14:38:54+00:00
>An Alstom's top executive was also inprisonned in the US during the talk.

Source? Are you talking about this?

>On April 13, 2013, Alstom senior executive Frédéric Pierucci was arrested at the John F. Kennedy International Airport in New York. He was accused of willful blindness of his company's suspected corruption and was imprisoned in a high security facility for 14 months and denied release on bail until the week of Alstom's acquisition by the US conglomerate General Electric.[54][55] In late 2014, Alstom was fined $772 million by the DOJ, and admitted guilt under the Foreign Corrupt Practices Act in relation to bribes paid to obtain contracts in various countries.[56][57]

https://en.wikipedia.org/wiki/Alstom#Judicial_investigations

The paragraph after also mentions their executives were prosecuted in the UK for other corruption charges, which certainly puts a dent in your implication that the US was somehow locking up Alstom's executives on trumped up charges to get leverage.
by abricq | 2025-04-14 14:39:03+00:00
I'm actually really bad at all this networking certificates, and have a question for the experts. If a user have to sign a short-lived CA and then present that certificate to the host he wishes to connect with, isn't that basically allowing CA emitters to track the user's activity for this host ?

This feels like replacing ssh for shh-with-tracking. Am i missing something ?
by tom_m | 2025-04-14 14:39:11+00:00
I've found getting info around stock options at startups is often really hard. It's not very transparent. For example, the total diluted shares isn't shared or sometimes even the current valuation isn't shared. LoL good luck with ever seeing a cap table. Often times that makes it impossible to even determine their value.

There can be value here for sure, but everyone dreams big, never asks questions, and never tells. My other favorite in this industry is "stealth mode" lol.
by gen220 | 2025-04-14 14:39:29+00:00
Dilution and liquidation preference.

Dilution is sort of a necessary evil that comes with raising new rounds of capital. I understand how >1x liquidation preference is legal, but it seems incredibly unethical, especially since it's never communicated to common stockholders.

IMO, if you feel the need to hide your cap table from your employees, it's probably unethical. Yes, indeed, most cap tables are unethical.
by seydor | 2025-04-14 14:39:42+00:00
Isn't that like saying that "some things take time"? Complexity also takes time to develop through a myriad probabilities. We even define complexity along the concept of things taking time or equivalent space/memory. As the authors say, functional information of physical systems is very difficult to quantify. Until then, this is another formulation of the anthropic principle , but with complexity instead of humanity.
by JadeNB | 2025-04-14 14:40:14+00:00
> The biggest challenge I found reading Vargas Llosa is that section and chapter breaks tend to be infrequent giving fewer opportunities to pause while reading.

I don't mean to be snarky, but, seriously, can't you just pause whenever you want? I understand that the lack of breaks mean that the book doesn't define natural points to pause, but it still seems that one can impose such breaks oneself.
by ldjkfkdsjnv | 2025-04-14 14:40:20+00:00
Just a few weeks ago, I met a CTO that got the company to a series A level of revenue by building the whole product over two years. Was fired by the CEO, who brought on new investors, recapped the equity table, and drove his option value to almost nothing.

The guy is now a senior engineer at a decent company, but effectively had 10+ million of value he created lifted from his hands.

These stories are extremely common
by taeric | 2025-04-14 14:40:56+00:00
Even "no filing" won't get you in prison if you were not aware that you weren't filing. Happened to me once for state taxes, specifically. A lot of us were remote and didn't realize the company we were working for had messed up and not reported anyone's income to the state.

That said, yes, if you are attempting active fraud, then you are doing more than just making mistakes on your taxes.
by treetalker | 2025-04-14 14:41:11+00:00
* Thou shalt not kill

* Thou shalt not steal

* Thou shalt not bear false witness

* Thou shalt not covet

Seems pretty clear to me. No doubt, though, other rules and interpretations have arisen over the centuries to essentially rewrite these rules — similar to how United States courts have taken the Constitution (particularly the first, second, and fourth amendments) and interpreted many rules out of existence.
by flohofwoe | 2025-04-14 14:41:26+00:00
No, intrusive would be (note: no pointers in user_data_t):

typedef struct { node_t* next } node_t; typedef struct { ... } payload_t; typedef struct { node_t node; payload_t payload; } user_data_t;

...and if you want user_data_t to be included into multiple lists:

typedef struct { node_t list1_node; node_t list2_node; node_t list3_node; payload_t payload; } user_data_t;

...of course in C now it gets tricky to get to the start of user_data_t given a pointer to `list3_node`, but that's where @fieldParentPtr comes in.

The advantage versus your extrusive example is that the payload doesn't need to be referenced through a pointer, which drastically simplifies lifetime tracking / memory management.
by syspec | 2025-04-14 14:41:35+00:00
Here's the list:

Python, with a rating of 23.08%

C++, 10.33%

C, 9.94%

Java, 9.63%

C#, 4.39%

JavaScript, 3.71%

Go, 3.02%

Visual Basic, 2.94%

Delphi/Object Pascal, 2.53%

SQL, 2.19% ---

Delphi is the 9th most popular language according to this. More that swift kotlin typescript ruby zig
by diegogatling | 2025-04-14 14:41:52+00:00
Are you passionate about performance testing and eager to share your expertise with the community?

Become a and help lead the adoption of load testing worldwide!

As a Gatling Master, you’ll receive exclusive benefits:

:graduation_cap: Free Access to Gatling Enterprise for educational and advocacy purposes. :handshake: Collaborate with the Gatling Team on content creation, including blogs and videos. :globe_with_meridians: Participate in Community Events and gain exposure through our platforms. :wrapped_gift: Exclusive Gatling Swag as a token of our appreciation. We’re looking for individuals who or want to:

Advocate for Gatling in testing and developer communities. Speak at meetups, webinars, or conferences. Create educational content to promote performance testing best practices.

Ready to make an impact? Apply now and become part of a global network of performance testing advocates.
by pmags | 2025-04-14 14:42:02+00:00
The Arstechnica article touches on this briefly:

While DolphinGemma has been trained on Atlantic spotted dolphin sounds, Google suggests it should be feasible to fine-tune it for other cetacean species.

I haven't read the paper below, but here's a reference that seems relevant to your question:

Luís, A.R., May-Collado, L.J., Rako-Gospić, N. et al. Vocal universals and geographic variations in the acoustic repertoire of the common bottlenose dolphin. Sci Rep 11, 11847 (2021). https://doi.org/10.1038/s41598-021-90710-9
by voxic11 | 2025-04-14 14:42:22+00:00
Yeah, in Cheek v. United States it was found that (in an exception to the normal rule) ignorance of the law is a valid defense in criminal tax cases due to the complexity of tax law.

https://en.wikipedia.org/wiki/Cheek_v._United_States

https://www.irs.gov/pub/irs-wd/0947055.pdf
by throwaway290 | 2025-04-14 14:42:53+00:00
It's not about the finances and being late on payment. The finances part is solved easily by politely saying "pay your part please or we gotta evict you". It's about members of supposed "alliance" threatening to roll tanks on each other.

> While Trump has gone so far as saying that, as president, he would consider pulling the U.S. out of NATO if it is not restructured, we’ve found no instance of him saying he wants to do so at this point

US won't because US needs NATO more than other countries. US is the only country to ever invoke article whatshernumber.