skysight-inc/HackerNews huggingface dataset:
For me, it is not so much that I am not aware. I am aware.

But, when you swear in my language, I am bothered by it. It feels rude. Swearing in foreign language does not bother me at all. It does not feel rude.
In fact, the hard-working culture at SpaceX has me worried that they will slip and make a tragic mistake. (Disclosure: I have no first-hand knowledge of how the work culture there really is, only hearsay.)
Alternatively, "the allocator should have an equivalent of posix_memalign()".

Also the default alignment should be well documented, since 99% of calls won't care about a specific alignment, and then you start hunting why your math routines are slow when the CPU is doing unaligned SIMD loads…
I always make an assumption that people writing nefarious communication will check SSL certificates and thus MITMing it would only work if I can load a root certificate (which typically is only doable on proper devices like phones and laptops, and I don't like the extra risk of having a wide open root that I've generated and have to keep secure on my devices as I don't trust myself enough)

However speaking to some people at work who have had experience in the past, seems most malware (and that includes IOT devices) doesn't bother validating certificates or things like ESNI and (validated) DOH, so there's a lot you can find out without breaking TLS, due to the lazineess/incompetence of the malware writers.
You mean for CPUs? Check out ISPC, it's essentially a lightweight data-parallel C for CPUs (that has been ported to Intel GPUs too!), and I think also works fine on even some non-x86 architectures. I'm not sure if there's any mature CPU OpenCL runtimes.

Intel also still supports OpenCL as a first-class target on their GPUs, which is more than I can say for Nvidia or AMD.
Interesting to see this blog post and reading this comment here on HN not long after I just posted this:

https://x.com/dustinmoris/status/1736669433928544602?s=20
Ye maybe. Agile is a nightmare in automotive since the process is so strict and the ensuing micromanagement makes doing thing a gigantic burden.

Companies like Bosh have a strange dev process where they don't want to change code but instead make almost everything tunable by parameters so that you essentially can program via config, to get around some internal process.

Their code is a nightmare to interface with.

AutoSar is a joke. I would rather each device have their own API then dealing with that dynamic complex mess.
Might as well be just a text file with a command to run.
Fritzbox: AVM is threatened with a sales ban due to violations of Huawei patents
5. The allocator must be able to mesh into debugging tools like ASAN and valgrind.

Not having these tools available is a serious kneecapping yourself. C is bad enough with all the tooling you can get…

I've only dealt with valgrind so far, integrating with it is pretty easy (a line or two of annotations in each function.) It just needs to be done.

(To be fair this is a requirement on the allocator, not on the API a library exposes to throw in a custom allocator.)
^ this. French people make fun of every accents. Racism and discrimination is about what society deem acceptable and what minorities or weaker communities we find OK to mistreat. I’d say discrimination in France is much worse than in America.
This is literally what's proposed here. The keyword is "Driverless printing" or in some contexts "IPP".

But sometimes that's not quite enough, the world of hardware is complex. Not every printer is your office Letter sized paper spewing box.
>But, like, we can just break treaties.

The USA might get away with it, but smaller countries likely can't.
No, dear Internet adversary. There is a reason why the framework landscape looks the way it does. You can see proof of my point in every job ad there is and frankly, I'm quite disappointed really. Cool companies and interesting ideas get solved by using 19 century tech, so the technical state of the art remains where it has been since forever.

This makes me bitter. I constructed my own DI frameworks in the early 2000:s when I did Java. Trying to find interesting places to work now means that I get to work in new codebases that look exactly the same as they did 15-20 years ago. Why is that? Have we learned nothing?

I honestly don't even understand your position here. Are you trying to claim that Java is as useful for a normal team of software developers without using Spring Boot?

My first 10 years of Scala, I never even once thought about looking for a lightweight framework for managing shared state, DI and/or configuration management. I'll happily concede that working with ZIO is a dream, however. But it is truthfully not needed the way Spring Boot really is for Java to be modern and useful.

Same goes for JavaScript in the browser.

It isn't really about the lack of powerful tools at your fingertips, it's that you cannot make them in pure Java. You have to "cheat" but resorting to an emulation layer so that you can apply transforms and abstract lifecycle concept. We called them cross cutting concerns in 2003-2004. As in: how do you correctly (read: typesafely) construct a unit of work, correctly configured, with the correct dependencies and correctly interacting with caches and databases for all the 4000 features?

In Haskell, you'll easily solve it with a few functions, the usual combinators and the reader monad. In Java, this is Spring Boot quite literally. You need this stack to traverse ground.

Without such a type system and the ability to abstract over functions, you either invent it yourself with tests instead of types and adapters/bytecode weaving/code generation instead of functions and monads or you use a framework. Both work and probably work just as well.

Without the framework, you have to make it. And there is a basically 100% proof of this in Job Ads. This is what I am critical of.

The fact that you want to win over this because your unmentioned company has several frontends that you claim don't use or invent any frameworks is just weak sauce.
I think I somehow managed to reply to the wrong post/comment..

It was supposed to be a comment on https://www.armstrongeconomics.com/history/ancient-economies...
You are basically just saying 'java frameworks are mandatory' and then when people are saying 'I've done java without frameworks' (I am also one of those. I'm not primarily a java programmer, but every time I've used java I have used it without frameworks), you're saying 'nu-uh'. You're not going to convince people out of their own experience this way.
In the linked project, the LLM edits its prompt. I think this is similar enough to humans improving our capabilities through ideas (such as language) that it counters the complete dismissal LLMs improving themselves as if it violated the laws of thermodynamics.
There memory cards you stick in old cameras, I assume.
This went really well in Mission Impossible: Dead Reckoning.
> You try to get the rights for a TV show based on Frozen

I think it is ridiculous to think it might happen. It is like asking Apple to sell you M3 chips. They will use it on their own devices in the same way that Disney could make that TV show end-to-end for years, if not a lifetime. Think in the Star Wars brand.

Simultaneously they partner with Lego and other companies for franchising.
I think in the UK the most common burglary target is car keys. Like you say, the expensive home electronics are now cheap, VCRs and hi-fis are gone, and more and more people are driving premium (BMW/Mercedes/Audi) cars - on finance/hp of course.
> How can a prosecution threaten a longer sentence when they don’t determine it?

They do determine it in plea guilty process, actually. That being said, what they primary do is to manipulate charges - they add or remove charges to get the sentence they want. That process has nothing to do with what you actually done or not done. Charges are made big if you want trial. Charges are small if you accept plea guilty.

For practical purposes, prosecutors are key decision makers.
I agree with your assessment. In Go a lot of the frameworks are more like big libraries, but it's not so much a plug&play architecture, but a pick&assemble what you need, which is why it feels more out of your way, since you don't inherit vast layers but only pick the services and functionalities which you need.
We're talking about the USA here, not outside the USA.

In many places outside the US, you're right: brick and masonry are very common. Then an earthquake happens and tens of thousands of people die when all the buildings collapse. This happened in Turkey recently. So I wouldn't point to those places as having quality construction at all.

Here in Japan, houses are all made of wood, not that different than American houses (but probably with much better joinery), and they handle earthquakes extremely well. Taller buildings are made of steel-reinforced concrete, but standalone houses are not.
There’s hundreds, possibly thousands. Don’t Close Your Eyes and Glitch/Nobilis are three of my favourites.
Can Modern Syntax beat 1977?
Computer Recreations
Creative Computing, Sept-Oct. 1977
D. Van Tassel

Syntax Messages

In the March-April 1977 issue I suggested you write a program to generate as many different syntax-error messages as possible with as few statements in the program as possible.

I received a few responses but first prize must go to Wayne M. Compton of Dhahran, Saudi Arabia. He sent me a COBOL program with just one statement which generated 570 error messages. The statement was just the program name paragraph:

PROGRAM-ID. ERRMSG.

The compiler then went wild and generated 570 error messages. He ran this program on a IBM 370 OS/VS system. If you have access to such a system you might try it.
You can’t write that without dropping some youtube links
Yes it was real. The person was executed.
Have you seen the post I was replying to?
As I replied to the sibling comment, have you seen the post I was replying to?
The criminals you mention are anonymous, or operate within own kind. Because I had been followed and stalked, I had seen these people, and because they are so careful not to leave a trace or provide the evidence, I pressume they will kill me if they get what they want, to erase the threat.

Yes, they had read access to everything, emails, data, and that includes my wallet address, but not the keys.
All stored value is looking for the best store of value. Until bitcoin there was no clear winner - gold, real estate, stocks, bonds, savings accounts, pensions etc. have all got their own significant drawbacks.

People don't need to think beyond fiat, they'll simply store their wealth where its nominal value goes up the most, especially if it offers the most liquidity, portablilty, divisibility, etc

Here's a good analysis:
https://www.onceinaspecies.com/p/bitcoins-full-potential-val...
I have plenty of things to criticise about frameworks, but this submission isn't really about frameworks - it's supposed to be a parody about certain enterprise design patterns. I think the joke's a bit stale by now, but it's true that sometimes you do find quite convoluted and overengineered patterns on the JVM (though not nearly as often as jokes would have us believe).

I'll add that I think that the joke about killing your ex-girlfriend is in really poor taste.
I am French, the oral French is very different from what is taught in books. There are a lot of transformations like 'je' to 'che' or 'il' to 'i' (from a French perspective). Also, many liaisons between words are pronounced but others are not, sometimes astonishingly to me, a guy born a long time ago in Brittany.

And young people learn to speak very quickly when they go to primary school (I don't know why).

Also there are lots of invented words by each generation like "wish" that you are ignorant if are not 10 years old.
TIL and this clicks a lot with Italian slang in the town I growth where we did exactly this as early teenagers 30 years ago.
Great satire, I think the greatest satire is one that sounds totally real. That which lets the reader think twice. But "I've come to see the use of percentages as a warning sign." gave you away.
An extension ecosystem and video tutorials really aren't needed for an in-house framework.

Also, with 3rd party extensions, they tend to be poorly made/maintained, and at most do 80% of what I need. If lucky enough to find an extension that does what I need, then it's likely that 80% of it does things that I don't need, which just adds to the bloat and complexity.
It's always someone distracted by his phone, trying to find first gear, stuck in reverse. I despise people blocking you from doing what you need to do. So yeah I absolutely will show myself in front of you if all you're doing is blocking the way. At the same time I'll be very courteous to people behaving correctly and give right of way every time I'm required to.
Can gRPC Replace REST and WebSockets for Web Application Communication?
Haha, yep. Another day another battery breakthrough. Sigh
Carrying the allocator everywhere does introduce a new class of bugs — if you call into a library at a later point in time to interact with something that was previously allocated, but you pass a different allocator this time… how exactly does that work?

(As opposed to: set up the allocator once, in an initialization call.)
> Why attach this to an IDE? I would think that simply letting an LLM control a terminal and make a commit would be the better approach.

This is a recipy for disaster imo, LLMs are not that good yet to give them the ability to act on their own
None of your comment writes about why CUDA is so special compared to OpenCL or Metal.

Anybody who has worked with them knows that it's basically the same.

Optimizing kernels for all architectures and all models is a hard problem as there are lot of cases to handle, but getting good utilization for a particular model on a particular architecture (like MI300 / Mixtral) is not that hard.
There are many low-level details in CUDA to get it working fast on a given GPU architecture that compilers don't address at all.
> The author is not really being pessimistic

Yes, you are right that I guessed the mindset of the author. My reasoning is that the title is "History will not remember us fondly". This is not a statement that we can with certainty verify today. It could be true, it could be false. Claiming that it is true is a very negative view, I would say. But you're right that I would have better focused on the argument. Thank you for the feedback.

> Or more likely, a different system, focused on human flourishing rather than profit-uber-alles, could be so much better.

That's my point. Let's try to fix the current system step by step. Capitalism is not perfect, but it can be better. Or as Churchill put it in 1947: "democracy is the worst form of government, except for all those others that have been tried." I think it's the same for capitalism. There seems to be some idea going around nowadays that there is some kind of third system that will solve all problems, but I don't see much practical evidence for that.

Also, "profit-uber-alles" is not what all companies aim for. Sure profits are important and there are many examples of. companies where the investors have taken over and aim for profit only. However, that's not a long term strategy. Companies which aim to make the life of consumers genuinely better tend to do better because morale is higher.
So I'm British, work for a half-French company and have been to Paris quite a bit.

There's a recurring steotype that the French, and Parisians in particular, are dismissive of foreigners attempts to speak French if they aren't perfect, but it's not been my experience. My French coworkers are all cool of course, but even the poor baristas in Paris trying to understand my broken coffee order just tanked it and made an effort.
Yeah, WotC should never have sold themselves to Hasbro. Buying TSR was great, but selling to Hasbro was not. It may have seemed like a good idea at first because they got a lot of freedom in those first 10 years, but Habro has been tightening the screws lately and none of that has been good.
It would be hard to mention them all. I'd find a local shop or a TTRPG Discord if you don't have a local spot available.

To give you a small sample, some older non-dnd classics are Pathfinder and Call of Cthulhu, but there are even some really awesome niche systems that you should consider like Symbaroum. It depends what you and your eventual group want to play.
Yeah I hate this, no one wants to spend time mastering a bespoke buggy ad hoc framework which has zero documentation and continuity outside that project/job. Investing in a dead technology by definition.
Hi guys, in this project Im trying to automate the creation of structured data (schema). I began working on it for a little over a year ago, as a part of another project (Yacss) I am working on. 5 years ago I made my own SOP for doing onpage seo, and one of the parts was schema. Which I never do, because it just takes too long time. Hence this project. There are other very good websites like topical relevance that does a very good job at writing scheme. As compared to topical relevance, Im trying to combine schema with the actual content, so I produce a list of entities, write the schema, and write content also in the same step.
If I got 10 friends to alternatively follow you every day, and you would notice that, would it still be in your own head? There were reasons I had been followed, at that was they thought I would run, because I already did before, but had been found.
I get the idea, but I think that's way too short. Harry Potter and the Philosopher's Stone came out in 1997; imagine if instead of paying Rowling for the royalties to make the movie in 2001, the studios had just waited until 2017 and done it without her permission, paying her not a penny.
Ruby on Rails also fights you tooth and nail if you try to do anything off the beaten path.
Frameworks are largely why I have abandoned doing JavaScript work professionally after more than 15 years. It’s not a question of technology problems but of social problems. It’s fashion for the unprepared and religion for the truly incompetent.

I got tired of working with that. Many developers dependent upon frameworks have an extreme fear of original code because they cannot actually program even though that’s their job. This results in some horrid immature behavior.

My key realization to move on is a complete loss of understanding the work from the people performing the work. It becomes clear when I would advocate an opinion and the people doing work are utterly incapable of hearing it. This isn’t disagreement, which is healthy, because disagreement takes your thoughts into consideration and balances them against opposing interests. When people stop hearing an opinion outright they have no idea what the opinion is, what it means, and how to articulate a response. When this occurs it’s time to move on because you have moved outside their narrow field of perspective.
Your defensiveness is to my point. Marriage is difficult. The idea of leaving for a series of inconveniences is a hedonistic ideal. There are cases where divorce is inevitable, but it's gotten absolutely ridiculous.
The fascinating history behind the 'waving lucky cat'
Probably depends on your work load.

If you assume there’s almost no crosstalk, you can likely get away with a thread-id and an optimistic mutex per pool: the mutex will only contend if one thread tries to (de)alloc while an other thread has a cross-thread free running.

If you assume there will be more contention than that, then scaling up complexity might be a good idea e.g. lock per size class / arena, or push cross-thread frees to a queue and have the owning thread check the queue once in a while. You can then make that queue lock-free or even wait-free if that is better for your workload / issues.
Wasn't ATI initially saved by acquiring Tseng labs?
From the linked LW post:

> It is doing this for no greater reason than that an optimiser was brought into reach, and this is what optimisers do.

> All the agent piece has to do is pump the optimality machine.

It’s like putting the mic too close to the amplifier.
Great twitter thread. Thanks. I'll definitely never donate again.
> Meanwhile they haven't put out a decent adventure in a decade.

Lost Mines of Phandelver, the adventure from the intro box, is pretty good (except when it switches to "every room has a monster" later on). It's very big for an intro adventure and there's tons of stuff in it.

But it's quite possible that it's the only good one they made.
C11 has aligned_alloc, which is more standard than posix_memalign, but there is no standard "aligned_realloc".

There is no default alignment if all the functions of the allocator take it as a parameter, but it is reasonable for an allocator implementation to be optimized for a particular alignment requirement such as _Alignof(max_align_t).
@hurril the equivalent of frameworks in Haskell, in the context of this discussion, are language extensions. I'd say the situation with those is even worse than the framework fad problem in Java or Javascript.
> Also, with how far AI code helpers have come, boilerplate is even less of an issue.

Couldn't agree more.

With how far on-the-fly code generation powered by LLMs has gotten, the oh-so-dreaded "boilerplate" has become an absolute non-issue, especialy in straightforward, explicit languages with little magic like Go, which naturally lend themselves to this kind of code generation.

Best of both worlds: Explicit instructions and less "magic at a distance", and productivity by getting things done fast.
I have one and fly it regularly. Sadly it's top speed isn't fast enough for most of the things I'd like to film in follow mode like mountain biking, backcountry skiing. Their initial demo videos showed a lot of mountain biking but it just isn't fast enough in practice.

Now I use it for offroading (the follow car mode works even better than follow person), rock climbing and trail running.
Hard no. Because:

$ git grep -P '(X[CM]ALLOC|XREALLOC|XSTRDUP)' | wc -l
1612
$ git grep -P XFREE | wc -l
2000
$ git grep -P XREALLOC | wc -l
51

alloc and free are the most common operations, and having them be their own thing makes it much easier to reason about the code. Folding them into a common function makes the code much harder to review and maintain, both for humans as well as for tools (e.g. coccinelle).
When and How to Build Second Products
This is fun and I understand it's a joke.

But since so many people do not understand the importance of HTML for accessibility, I feel the need to stress that this page may be a horrible experience for non-sighted people.

To sighted people, obscure unicode characters may look like text in a different font, but do they for screen readers? The same goes for ASCII art and the tables on this page.

Do all the fun stuff! But please draw the right conclusions for real-world projects.
Ask HN: Best Books Read in 2023?
I love HN's recommendations for topics like these. My favorite book read was: David Goggins - Never Finished: Unshackle Your Mind and Win the War Within [0]. No bullshit, motivating read.

[0]: https://www.goodreads.com/book/show/63079845-never-finished
"Small large" ..... so, medium? :)
Looks like it's 10.7 kLOC whereas mimalloc is 8.8 kLOC, so it's not much more complex at that...amount of engineering, I guess. Also spotted that the mimalloc README says

> Free-ing from another thread can now be a single CAS without needing sophisticated coordination between threads

which may not be the worst thing in the world; depends on what your app does.
It counts, but does it in a meaningful amount? We are not on a race track. There is no need to be faster by 0.01 second. If road conditions are averse, slow down. You are not expected to WIN morning commute.
UK Public attitudes towards offensive language on TV and radio – Ofcom
The Democrats have been cozying up with the "deep state" more than Republicans in the last decade. Look at the origin of the Russiagate hoax and all that followed.