skysight-inc/HackerNews huggingface dataset:
Gentoo used to include a static busybox binary for recovery purposes, but it was removed from the system set years ago. Now you are expected to use the initramfs for recovery and can install bust box yourself if you are concerned. In fairness, this particular issue would be made worse by rebooting since the unlinked anonymous library files would be garbage collected, which is bad unless you have a filesystem that has snapshots like ZFS and had used them prior to this.

The article author did not try to recover libraries from the anonymous files, which is probably good considering that only a subset would have been in use and thus only that subset would be recoverable from the anonymous files (unless there are filesystem snapshots).
ruby: everything is an object
Your profile says "just another C hacker".

I learned C from reading K&R in the late 80s.

Every C compiler I've worked with could output the code as assembler, so C is really a thin layer of abstraction that wraps assembler. Having programmed in pure assembler before, I understand the benefits of C's abstractions, which began with its minimal, but helpful, type system.

Should I not be taking you seriously?

We are not just talking with each other but sharing our expertise with those who may be reading.

Sometimes I forget that other people can just be unpleasant on purpose. I find no other explanation for your response.
The benefits to society outweigh the cons. If AI and copyright are really destined to fight each other -- an exercise in question-begging if there ever was one -- then copyright must lose.

If only because any other outcome will radically empower corporations (and entire countries!) that don't GAF about copyright.

There. We good?
Interface are more fundamental to Java than classes.

Sadly, at the beginning, many people came to Java from C/C++, and they did the thing we used to call "writing C/C++ code in Java".
Or you could screw up so monumentally that the “case” (it was never actually brought) becomes an actual meme. I give you the case of Arkell vs Pressdram [1]. I have actually seen a response to a business threat which ended with “I refer you to the response in the case of Arkell vs Pressdram”…

1: https://proftomcrick.com/2014/04/29/arkell-v-pressdram-1971/
Quite the strawman there.
Of course he is, but at some point I will still showdead=false.
> And it's coming sooner than we think.

It actually has been here for a long time. People have worked off mockups, including interactive mockups for quite a while. Working alongside the end users to iteratively build software is basically what the Agile Manifesto was getting at.

AI can speed it up, certainly. But everything else you are describing is already how many teams work. I do agree that if more teams did it, our industry would improve.
Imagine going to jail because you got rejected by YC lmao
That is the caveat. I initially set it up such that it wasn’t required: you could choose to use it if you wanted to, and otherwise here is a list of specific versions things you must install, etc. Everyone ultimately chose to use nix, and now it’s required. Makes for a pretty easy setup though for new devs: install nix, then run `nix develop`, then `make setup`, and you’re off to the races.
Sure it can:

"Meta's internal culture is seemingly hostile to ethical practice".
It could be structured to reward living authors, mechanical licensing has worked this way.

But even if it wasn't -- even if couldn't be -- you could use it to fund all kinds of public goods which would benefit living authors. Maybe even a basic income if it turns out to be successful enough.

It's a different pro-social bargain than direct compensation for the fruits of labor, but at least it's still a bidirectional one.
Just a little Easter egg: The guy that does the music for Bluey plays the musician.
We should have third-party .dll injection plugins.

Microsoft missed a lot by not keeping ManifestV2 in Edge.
Yes, "Sleepytime" is one of the greatest few minutes of television the world has ever seen. It exhibits such deep empathy and understanding of what it is to be a parent of small children, what it is to be a child, a sibling, a member of a family, to dream, to tire, to need. And "The Planets", a beautiful work of art in its own right, fits so well it must be itself an inspiration for the story on the screen.
Seems to me there's a trend of applying explicit distributed
systems (network of small-SRAM-ed cores each with some SIMD, explicit high-bandwidth message-passing between them, maybe some specialized ASICs such as tensor cores, FFT blocks...) looking at tenstorrent, cerebras, even kalray... out of the CUDA/GPU world, accelerators seem to be converging a bit. We're going to need a whole lot of tooling, hopefully relatively 'meta'.
That's not really what symbolists actually argue. Read Fodor and Pylylshyn 1988 to better understand how symbolists view the relationship between symbolic representation and connectionist models. What you're saying is akin to saying there's no point in doing neuroscience or trying to understand neural-networks as its just particle physics deep down.
The similarities to Google Books are interesting. Google created Books based on their own scans of books, which publishers considered piracy.

The legal battle initiated by the Authors Guild was vicious and it damaged and hampered Books and other entities and scanning projects like the Internet Archive.

Now Facebook pirates all the world's books, uses them without paying authors or publishers, and seemingly faces no consequences.

I would strongly prefer to live in a world where we could easily search and access all books, than one where the richest guys get to exploit them without consequences.
it’s common to be imprecise and mix up the type and an instantiation of the type, and that’s all that is happening here
I wonder if they're excluding "careless people" from the training set.
Something similar happened a place I worked somewhere between 10 and 20 years ago.

Service technician did not see the . in the command

rm -rf ./bin

so he proceeded to run

rm -rf /bin

When that didn't work he did what everyone who knows a little bit Linux does and added sudo in front.

I was on a terminal from the other side of the globe when the server suddenly started acting weird.

We were able to use scp or rsync (one of then was in sbin or something) to get back the bits from an identical server, which saved me from three days of tedious work :-)

In hindsight of course we should have written the docs in a way that would prevent this exact situation but in the beginning it was just the output of the history command after I had done it, dumped into a document with some explanations.
How does Scallop compare to PyReason (https://neurosymbolic.asu.edu/pyreason/)?
Are they by and large the same, or tailored towards different use cases?
They are not Java concepts, but abusing them by using in contexts where they are a bad answer is something Java tends to take to the limit. (I fight the same abuse in C++, and it always seems that Java "best practices" is where the idea came from)
SWOT (Surface Water and Ocean Topography) Satellite Maps Seafloor from Space
meh, everyone is entitled to have a bad day eventually... I've been there... never enough to want to win clout as an edgelord, but I understand being so angry you don't know how to cope
Appeals Court Rules That Corner Crossing Is Legal in at Least Six States
FreeBSD doesn’t come with bash though.
> I would have to spend the rest of my life in jail whereas Zuck can enjoy having more billions with the same behavior.

Or you would driven by suicide for much smaller violations - https://en.wikipedia.org/wiki/Aaron_Swartz

I mean, one could even argue that what Aaron was doing was not even violating copyright, as he had access....

Yet this guy is dead, and the Facebook owners are instead going to get a nice raise.
Extending women's fertility: the last frontier
Let’s look at this like food, instead of knowledge. You ate a donut, and you got energy. Maybe you’ve eaten 5 donuts per year, for 20 years…so a hundred donuts. Maybe you didn’t pay for all of them, you got some at work or at a friends house.

They stole a billion donuts.
What food comas in sea slugs teach us about memory
A better link https://docs.rs/crabtime/1.1.1/crabtime/
I don't care if it "can" be done, the results will be garbage unless you are very, very careful.

And Javascript is garbage no matter how many people use it successfully, as I have done professionally.
On my system, `getconf ARG_MAX` is over 2m.

I have seen some heinously long cmdline strings, but nothing close to that. Usually when invocations have creeped up into the O(1k) character limit at places I've worked, I've implemented a "yaml as cmdline args" option to just pass a config file instead.

Have you seen scenarios where this is actually limiting?
To expand on this link, this is probably the closest you're going to get to 'I'll "program" in LinAlg, and a JIT can compile it to whatever wonky way your HW requires.' right now. JAX implements a good portion of the Numpy interface - which is the most common interface for linear algebra-heavy code in Python - so you can often just write Numpy code, but with `jax.numpy` instead of `numpy`, then wrap it in a `jax.jit` to have it run on the GPU.
I see 25-story condo complexes pretty frequently. [0] Income level is pretty high here. [1]

0: https://www.dccondoboutique.com/midtown-at-reston-town-cente...

1: https://www.bizjournals.com/washington/news/2013/09/24/arlin...
RIP George Foreman.

As a former combat sports fan, I find it increasingly difficult to watch. These guys (and gals) are doing enormous brain damage to themselves & their opponents. Foreman seemed to have been an outlier that came out OK, but listen to the slurring & garbled speech that comes from any other old fighter. I know someone who's a friend with a longtime UFC fighter- he had an anecdote about the guy putting his kids to bed and temporarily forgetting their names. Great fights are very entertaining, but ethically I really find it difficult to be a fan these days
They could force trained models to be open weight.
Yeah you are right about the caching thing, I understand what CF is doing I just cant help but feel like there is something deeply wrong about this approach. But I don't have any better ideas to propose. Maybe I'm just holding on too tight to the 'old web' that I've known and loved.
Java has interface types.

https://en.wikipedia.org/wiki/Interface_(Java)
You are completely right!

And the exact point I tried to communicate.

When you decide to have loose architectural structures, you might allow just writing these types of functions adhoc.

The further you go in the project, the more your strengthen the architecture, where needed.
"You want that new TCP handshake smell" really got to me.
I had a similar experience. Our professor in high school would have us program a z80 system entirely by hand: flow chart, assembly code, computing jump offsets by hand, writing the hex code by hand (looking up op-codes from the z80 data sheet) and the loading the opcodes one byte at the time on a hex keypads.

It took three hours and your of us to code an integer division start to finish (we were like 17 though).

The amount of understanding it gave has been unrivalled so far.
Amazon wants a product safety regulator declared unconstitutional
https://archive.ph/OXrib
Nice work! What's your take on spec-first vs. code-first?

I'm a fan of spec-first (i worked on connexion), but I've noticed that code-first seems to be more popular.
yeah, I wouldn't recommend trying to do this with pure Java but you could pass around method handles for that purpose.

You certainly would want to use an `interface` and that means you need an object. It could be an object that has no fields though and receives all data through its methods.

But it does go against the spirit of objects: You want to make use of `this` because you are in the land of nouns.
My favorite is when I come across a set of functions in Go with the same prefix that all take some struct treated as a bag of data. “validateUserRequest”, “processUserRequest”, “initializeUserRequest”, or something like that. You have written a type already, but made it annoying. Write methods for “Validate” and “Process”, then have a factory function “NewUserRequest” (consider whether you actually need it first though).
> single monolithic codebase, where the different bits of functionality eventually end up tightly coupled, so it's actually pretty difficult to extract bits into a separate service later, so a different type of architecture isn't possible even if you wanted to split it up.

In my experience, this is the time to refactor the monolith, not try to introduce microservices.

> grug wonder why big brain take hardest problem, factoring system correctly, and introduce network call too

> seem very confusing to grug

https://grugbrain.dev/
He’s an everyday man grilling in the backyard with his kids and buddies.
To the day he died, He had a very clean image, so no baggage and a whole lot of goodwill. What more do you want from a pitchman?
Here's a really interesting line from that story:

> In a message found in another legal filing, a director of engineering noted another downside to this approach: “The problem is that people don’t realize that if we license one single book, we won’t be able to lean into fair use strategy”

I hadn't heard that idea before. Any IP law experts able to give useful context on that one?
Also you can use nix-shell as the shebang, and then pass a second line to tell it what program to use to interpret the rest of the script and all of its dependencies. It'll fetch the shell utilities in the versions you want when the script is run.
As someone who works on a team of people with different levels of experience, where understanding is more important than some self-inflicted purity test of their unix chops, I will always either do long options or, where that’s not possible, a comment explaining the short options.

No one is complaining about not having time to learn: you’re arguing against a strawman. The point is not to discourage learning, it’s to encourage clarity in a context where it can at times be critically important.
No, you're just right, and you should feel upset about it. Think about the systems and incentives that create this outcome. Think about what needs to change for better outcomes to be possible. Find people and work towards those goals.
Money is orthogonal to MCP.

Agent transactions with MCP servers are monetized but that isn't money, that just uses money, either fiat via budgets and apikeys or crypto via microtransactions.

Money is a technology stack on its own, see eg Lyn Alden's book, and LLMs/MCP are not privileged participants in that stack.
Sharing something locally doesn't fall under federal copyright law. They don't have jurisdiction.
In Go at least you simply define an interface and use it as the receiver then inject whatever mock object you want.

The mock itself may simply be a new type defined in your test case.
What if you borrowed and read your friends book?

https://www.gnu.org/philosophy/right-to-read.en.html
...Following legal orders from Turkish judges. Just like it does in the US and EU.

Do we like it when people defy court orders or not today? I cant keep track.
Got any examples of bad practices they’re sharing, or just needed to share a snarky comment?
I think people in this industry make using complicated, powerful paradigms part of their identity. They don’t feel like they’re important unless they’re reaching for N-tier architecture or exotic databases or lambdas or whatever else it is.

Most apps I’ve worked on could have been a monolith on postgres but they never ever are as soon as I’m not the sole engineer.
It sounded to me like they need to retrofit several projects written in different python servers.
this is a great idea! thanks for the feedback. hope this app is helpful :)
I like how programmers are all about locality of reasoning and avoiding context switches until the context switch is “go paste it into an LLM”
This is a really significant release, and it's interesting that nobody is commenting.

One of the new features is the Direct Get API, which allows random-access fetch access to a JetStream stream. This should let you build lightweight, stateless consumers that don't need any server-side state, and it should cause less load on the cluster.

I think NATS is one of the underdogs of the open source world. Don't sleep on it. (I'm just a happy user, along with my employer.)
It is not the same thing, but recently, my pfsense router started acting weird where dns stopped working. I was bust so I rebooted it and it failed to boot. I ended up bringing a monitor and keyboard to see what went wrong and it turned out that suricata’s logs had used 1.4TB on my 250GB SSD (ZFS zstd compression is awesome), causing it to run out of space a few years after I enabled the feature out of curiously. I wiped the logs, rebooted and things worked.

My lesson from them is when a machine servers acting strangely, do not reboot and instead troubleshoot right away. Had I done that, I could have found the problem and had only minimal partial downtime (I would have had to restart dns afterward). Since I was too busy to do things the right way, my internet was out for a half hour. Your story reminded me of this, since you would have had a bigger headache if you had rebooted.
If you ignore the weird rant about OOP (that references an article from 2006… haven’t we all moved on in the last twenty years?), the author’s main thesis lacks context:

> But take it from someone that’s had do deal with codes passing through and returning several values of strings, ints, and bools through a series of function calls: a single struct value is much easier to work with.

This presupposes that the code should be very strict with the data, which may or may not be desirable. For example, in many CRUD apps the client and the database enforce constraints, while the middle tier just needs to martial data between the two, and it’s questionable whether the middle tier should do type enforcement. As always: Challenge your assumptions, try to understand how a “bad” practice might actually be the right approach in certain contexts, etc, etc.
> Rust's ? operator - effective and ergonomic

It is, but it's also subtle, and if you want branches (especially sad-path branches) to be explicit, that's not a good thing.
I think it's a tongue in cheek nod to this: https://www.businessinsider.com/mark-zuckerberg-masculine-en...
Any computing model that tries to parallelize von Neumann machines, that is, has program counters or address space, just isn't going to scale.
Nah, you are right it is that simple. It was like that for years.
This line of thinking applies to creating widgets on the assembly line but writing code combined with solving the right problems can totally have 10/20 even 50x impact. Automation can be levered up quite well with the right setup.
That's not what 17 U.S.C. § 501 says.
Just wait 5 years when 99% of code is written by LLM agents.
Sen. Durbin's proposed legislation would stifle free speech online
While financial incentives is important to some, a lot of people write books to share their knowledge and give the book out for free. I think more people are doing this now, and there are also open collaborative textbook projects.

And I personally think that it is weird to write books during your working hour, and also get monet from selling that book.
Sorry man, I was just trying to spew some harmless banter.
Yeah I was being tongue in cheek. (Or just overly dismissive I guess.)

I know people do care about licensing, but it's also plausible that it isn't what any given project is most focused on.
I Hacked Google Chrome DevTools? [video]
I do something similar, but manually, in Inkscape. It has command-line flags to export a PNG rendered only from the part of a SVG that is within the bounds of a specified object. I often create a hidden layer to hold rectangles marking areas I will want to export frequently and then write a script/Makefile to run the export command for each rectangle.
My take is pretty depressing for a different reason -

I understand the outrage against mark zuckerberg for nurturing such culture and making the executive decision, but also understand that at least one engineer was involved in writing and executing the code that does the piracy (with Product Managers and other cross-function employees)

And given the importance and visibility of the work, it's pretty obvious - that person wouldn't be a low level engineer either (I'd assume they earn about 1 million dollar a year - IC7+ at Meta)

now comes the depressing statement - a solid engineer, who probably don't even need to work another day in their life, is being a puppet of mark zuckerberg and robbing creators.

This is depressing to me as an engineer.
Potentially, yes, but it’s wildly high compared to any of its competitors. To get there that state support would have to be something like banning competitors or saying they’ll buy every soldier a Cybertruck.
I was skeptical at first, but I think Google’s catch up game with OpenAI has been going pretty well so far. Gemini 2.0 Pro and Flash models are really nice. Deep research feature is done really well. Context window is still the best in the industry. Integration with search, gmail, google office suite, google meet, android, etc.

They finally have good enough models that lets them leverage their existing portfolio of products, their cloud infrastructure and how embedded they are in the modern work life.

Plus, unlike Apple, they are not as restricted in their access to the training data, because of their much less principled privacy stance.
You do know how Facebook was started, right?

https://www.yahoo.com/lifestyle/yes-mark-zuckerberg-did-crea...
You just live in an atheist bubble. While Europe is more atheist and generally less radical, the claim that church or religion is dead is severely overstated.
Neanderthals may have eaten maggots as part of their diet
In the examples, I used prefixes to demonstrate API versioning, but you're not limited to this approach. Prefixes can be used for general route structuring as well (like grouping entities, etc.), not just for versioning.

Personally, I prefer using router composition for flexible route organization. You can see a clear example of this with Flask here:
https://github.com/mr-fatalyst/fastopenapi/tree/master/examp...

In this example, routes are split into routers by entities, which are then grouped into an api_v1 router, and finally, this api_v1 router is added to the main router.
See 17 U.S.C. § 501 and DMCA. And define "locally" not that it matters.
Sounds cool! How is this different than https://asciimath.org?
TIL donut

https://en.m.wikipedia.org/wiki/DONUT
Is it available as a backend language in an ASP .NET Core app? It would be nice if there was a VS project template that was Typescript end-to-end.
Meanwhile, the people most in the know, lots of sells, and zero buys:

https://www.nasdaq.com/market-activity/stocks/tsla/insider-a...

Compare that with another arguably overvalued stock:

https://www.nasdaq.com/market-activity/stocks/nvda/insider-a...
A GNU/Linux distribution, in Android the use of the Linux kernel is an implementation detail.

Besides Java and Kotlin userspace, you are only allowed to use these APIs on the NDK, notice none of them are Linux, rather C and C++ standard libraries, Khronos APIs and Android specific ones.

https://developer.android.com/ndk/guides/stable_apis
When they get to what their implementation is, I’m not even sure what it is. Like how is the following different from a library, like acts-as_state_machine (https://github.com/aasm/aasm). Are they auto running the retries - in a background job which they handle (like “serverless” background job)?

“Implementing orchestration in a library connected to a database means you can eliminate the orchestration tier, pushing its functionality into the application tier (the library instruments your program) and the database tier (your workflow state is persisted to Postgres).“
Why is writing it with normal code not an option...?