skysight-inc/HackerNews huggingface dataset:
There is perhaps no greater example of a cargo-culted non-optimization than the choice of Alpine as a base image. This has cumulatively wasted millions of hours of developer time. And why? To reduce the base image size.

Image layers are cached and shared! If you have one image based on Ubuntu in your stack, you may as well base them all on Ubuntu, because you only need to download (and store!) the common base image once. And if you're such a purist that you've avoided anything but Alpine base images, what have you actually gained? Your deploy time is slightly faster? Your first cold boot is slightly faster? Outside of a few serverless use-cases, this is basically meaningless and almost never a real bottleneck (and even for serverless, there is probably some level of image caching across boots).

Meanwhile what did you give up? You opted out of the most well-tested and maintained versions of binaries, and forced all software in your image to link with musl instead of glibc. Congratulations on creating an ongoing headache for yourself. You've increased maintenance costs and probably even decreased security by preferring a less-audited codebase.

I suppose one positive side-effect of the Alpine cargo-cult is that some of its more technically-inclined adherents at least contributed back to projects to improve their cross-compilation toolchains. But otherwise, it's just been a huge waste of time for pretty much everybody.
I naively opened an account in the US with a local credit union. Took a small loan. Turned out to be a bizarre experience. Before wiring money out of the account, I'd get sent over to a room, where a guy would ask, so, how's everything going? What's this wire for? etc.
FR, people only think this is bad because it's China. When NASA or SpaceX drops NO3/UDMH filled rocket boosters all over villages in Florida and Texas, you literally never hear about it.
> No one is fearing stepping on a lego brick.

No one? When my kids were little and lego bricks were hiding everywhere, I lived in overt fear of stepping on them in the middle of the night. It's why I developed a habit of wearing hard-soled slippers at home, even to this day.
Where's my 550 mile ranged EV minivan!?
And banks are less likely to do so or they are going to go against the state? Banks are wholly subservient to the states, the tax collectors and to the ecb , if anything they are worse. At least cbdcs will not allow one to become unbanked
As a software developer, I am in wonder at the shape some software ships in. The last couple of days, I have toyed with Raspian bookworm together with my father.

Its menu contains an 'Add-Remove Software' GUI tool, which seems to be a thin and ill-conceived wrapper around apt-get (?).
It combines several horrible choices, which conflict and clash perfectly.
(1) it appears to insist on retrieving and building its entire list of apt packages, EVERY TIME YOU TRY TO OPEN OR OPERATE IT.
(2) it doesn't give you any choice to CACHE this data, or any choice to skip this "refresh".
(3) it takes five minutes or more to refresh this list, on our raspberry 3.
(4) on any excuse you give it, it will refresh the list again.
(5) once it succeeds in retrieving this insane 5-minute list, it presents it to you in an unnavigable manner - no sorting, no searching, no filtering, just a scrolling list with something like 10.000 apt packages.. page up/page down doesn't seem to work.
For example, I naively pressed the cursor keys, wrongly assuming it would move my selection point in the 10.000+ list.. WRONG: Instead, it navigated a category-word-list, causing it to redo the 5-minute re-init.
In effect, it because a 'trial and error game from hell', where you can attempt 10 wrong ways to navigate the list, each time being punished with a 5-minute "no you can no longer view the list you just waited 5 minutes to retrieve, you must now wait 5 minutes again for your next wrong attempt!"
(6) oh yeah, and you are not allowed to view the partial list during load.
I really really wonder who decided to implement that window in that maddening way??

In the end, I resorted to using apt search in the command line, which of course works perfectly, but not before having wasted about an hour together with my less-tech-savvy dad, trying to make the raspian package install UI "work" in the naive idea it would be easier for him to use :-/.
> your own bank requires to know everything about you

Don't be angry at your bank. Be angry at your politicians. They pass the laws. The banks (just like everyone else) simply obey the laws. No bank wants to have the cost of a KYC and AML (and it is EXPENSIVE)(consider also the penalties for going over or under on these tasks).

In the same spirit, don't blame your judges. They work with the laws passed on the various parliaments (and/or EU Regulations)
Savvy B2B marketers should start paying attention to the potential of IPs while still respecting the barriers to anonymous personalization.
I don't really pay attention to cars that much, but while I see utility vans all the time, I rarely see a minivan nowadays.

But while minivans won't roll over, they also will almost certainly have longer stopping distances than a sedan.
> People do disregard labels including those with allergies.

Exception that proves the rule.

The purpose of the law is to protect people who act within reason. If you have an allergy and don't read the label, that's on you, not the company or the government.

> Ahh, but the risks are such companies will still put that label on everything unless companies where required to only put such a label on products with significant risk which then gets back to regulators.

The entire point is that "regulators say you have to label this" and "regulators say you cannot buy this even with informed consent" are two different things.
The first part of GWBasic I learned by asking someone for help was "chain", after having taught myself print, input, if, and goto from the documentation.
exfiltration of ideas

Isnt that generally the point of putting something on the internet?
> It supports hundreds of distros and dozens of OSes.

Indeed, so why is Deepin the only distro worthy of a "Friendly Link" on the Ventoy home page? Are they a sponsor of the project? Code contributor? Preferred demo platform?
Seems a little disingenuous to say that Alpine is slow because it can't use wheels, and only in a little note at the bottom mention that that's not true anymore.
If only GPUs existed back then. This would have been very slow memory mapped video ram.
Ha thanks, it was a shower thought
"Bacterial sensors send a jolt of electricity when triggered" (2022) https://news.rice.edu/news/2022/bacterial-sensors-send-jolt-...

"Real-time bioelectronic sensing of environmental contaminants" (2022) https://www.nature.com/articles/s41586-022-05356-y ; bioelectric chemopresence sensors that release electricity when [...]
Edit: ok, it's crypto. See posts bellow somewhere

Can you say something about the sums? I (in germany) got my rent money every month from my parents while I was a student. No problem. I withdraw something like 100€ per week for bars, backeries and other small expenses and I never ever had any problems.

It buffles me that so many people are jumping to conclusions although you provided so little context.

If you have a cash inflow of 50k per month and withdrow that much, the bank may think you pay people in cash, avoiding taxes (like on construction sites). Which is totaly legit IMO. But again, you gave almost no context..
> Are you proposing that we ban beef gelatin?

Although I would in general, that wasn't the point being made in that comment. The point was: nobody expects surprises.

People mostly don't read lists to confirm the absence of things they think would be crazy to find.

Like boiled cow bone and skin derivatives in yoghurt.

> But what are you even suggesting here?

The specific thing that I actually said, with no extra hidden implications between the lines: common sense gets people killed.
https://en.wikipedia.org/wiki/XML-RPC (1998)
Most MPV's will have larger (and more useful) interior spaces than these warfare vehicles.

Auto makers have figured out how to push our buttons and buy larger and more wasteful vehicles in what is a de facto arms race on the public road.
Glad Zed has competition and validation of the approach
Having used “REST” for 10 years or so I can confidently say I’ve never used REST
> Someone has to decide what substances safe and prevent them from sold.

Plenty of substances are risky, but can be worth the risk. For example, psychedelics, for the wrong person or in the wrong situation, can cause psychotic episodes or lasting trauma, but psychedelic therapy has already been legalized in at least 1 US state, because it can also be extremely helpful.

I'm still not able to buy it and take it home (at least legally), but in my honest opinion, I should be.
It's updated daily. Thanks for posting by the way.
I find this article in quite bad taste, and a look at the front page of the website explains.
You absolutely can do that, but it is likely the final output will have numerous exploitable vulnerabilities.
> Nissan claims the right to know their owner's sexual activity. Kia claims the right to know their owner's sex lives.

I'd be interested in reading more about this if you have a source?
Replying to a Chinese troll, that's what. ;)
> If you have one image based on Ubuntu in your stack, you may as well base them all on Ubuntu, because you only need to download (and store!) the common base image once

This is only true if your infrastructure is static. If your infrastructure is highly elastic, image size has an impact on your time to scale up. A great example is using spot instances; in my line of work we need to create thousands of spot instances to run many millions of time-sensitive batch jobs at certain times and dates, then scale those instances down rapidly to reduce the bill.

Of course, there are better choices than Alpine to optimize image size. Distroless (https://github.com/GoogleContainerTools/distroless) is a good example.
I mean, yes, but Liero means "worm" in Finnish, according to the wiki.

Just trying to understand how these games evolved from each other (or not) for the sake of video game history :) I loved Worms when I was a kid, and wish I had discovered Liero back then!
Reminds me of when a crewed SpaceX capsule landed in the Gulf of Mexico near Pensacola and a bunch of idiots in boats went to check it out.

https://www.space.com/boaters-crash-spacex-crew-dragon-splas...
Worth noting that being a great driver does not necessarily make one a safe driver. A grandmother who drives 10mph under the speed limit back and forth from church could very easily be less likely to get into a wreck than a professional driver.
Why is so much of your app gatekept behind a subscription when nearly all other GPS apps allow preferences set for free? Why not a one-time purchase? It just feels kinda odd to force someone to pay to plan to be more sustainable.
Well, legalisation of crypto is a known issue. You really can’t just transfer a large amount of money from crypto to fiat and buy a flat or a car — the state will intervene in some way or another. I think you’ll find the same problem if you try to put into a bank a large amount of unexplained cash.

This is repressive. Many things in our world are: say, the institution of citizenship could be viewed as a modern serfdom!
Max Verstappen was also too young to drive on public roads in his native countries (Netherlands/Belgium where minimum age was 18) when he debuted in Formula One at age 17.
If I had to guess, the comments here are going to revolve around "that's not REST" and "where's the hypermedia."

I think that ship has sailed. REST in practice just means following HTTP semantics.
Ask HN: Has anyone used a DAO at work?
I have recently found myself interested (again) in Decentralised Autonomous Organizations (DAOs) as a tool to help make decisions.

E.g. at work where, for example, we need to decide what to develop and we have many stakeholders ... clients, sales, adjacent teams, management.

Could some system that provides currency to stakeholders with weighting and a voting mechanism like a DAO lead to better decisions? How could we even prove the causal association if we thought it did?

Curious if others in the HN community have experimented with this and to what outcomes. Keen to hear all stories, good, bad or if your also researching this.
Right here: https://darkvisitors.com/robots-txt-builder

This example blocks everything, which is probably not what you want, but it's meant to be a starting point.
You don't hear about it, because they don't do that.
The problem is that the risk-benefit tradeoff is not accurately labeled and presented.

Advertising laws in the US mean manufacturers can and should do everything in their power to obscure and mislead about the tradeoff. A person purchasing a unverified product should have tremendous misgivings. They should only purchase it in spite of tremendous misgivings. Anything less is not informed consent; it is deception masquerading as informed consent.

Until you fix that you get companies downplaying risks and overstating potential benefits. Fix that and informed consent becomes a real possibility and a much more attractive proposition.
First put SOAP and GraphQL to rest. Then we can talk
Also see how the new mobilisation law that's about to be voted in by the Ukrainian Rada will heavily restrict access to their bank accounts for Ukrainian citizens who have escaped said potential mobilisation by fleeing the country.

We need to stick to paper money no matter what, otherwise we risk going back to a condition worse than slavery.
You may remember the Google Books lawsuit where Google was digitally copying the entirety of books and making them available online.

Google won that suit under fair-use as a massive searchable database was found to be transformative as well as the non-commercial nature.

So; if your web scraping companies goal is to allow people to bypass a paywall I suspect you'll have trouble in the future. If your web scraping company instead say allows people to do market analysis on how many people need a piano tuner in NYC and it doesn't do that by copying a NYT article doing original research I think you'll be fine.
If you’re designing something right now, I want to remind you of one piece of shared but uncommon wisdom:

So many of your users will not make it much past the elevator pitch for your idea. They will feel willfully or even recklessly entitled to the notion that if your tool allows something, the.n it was meant to be used that way.

I don’t have any quick fixes for that. I doubt they exist. There are some very clever things I have seen in the REST domain that are lumped under advanced topics that make a lot of sense but I don’t think I have ever seen in the wild. So if an idea feels important, you have to aim it at the journeyman if you expect it to be used at all, and beginner if you can figure out how without losing them.
I assume our hero dang has some automation in place but sometimes I dream about him rembering all posts and carefully linking the beloved topics with past occurrences.
OK OK OK, OK OK, stay calm, Carson, stay calm...

I'd like to just leave a few links on REST here for the reader's consideration:

https://htmx.org/essays/how-did-rest-come-to-mean-the-opposi...

https://intercoolerjs.org/2016/01/18/rescuing-rest.html

https://htmx.org/essays/two-approaches-to-decoupling/

https://htmx.org/essays/hypermedia-apis-vs-data-apis/

https://htmx.org/essays/hypermedia-clients/

https://intercoolerjs.org/2016/05/08/hatoeas-is-for-humans.h...

https://htmx.org/essays/hateoas/

In addition, I’d just like to interject for a moment. What you’re referring to as REST, is in fact, JSON/RPC, or as I’ve recently taken to calling it, REST-less. JSON is not a hypermedia unto itself, but rather a plain data format made useful by out of band information as defined by swagger documentation or similar.

Many computer users work with a canonical version of REST every day, without realizing it. Through a peculiar turn of events, the version of REST which is widely used today is often called “The Web”, and many of its users are not aware that it is basically the REST-ful architecture, defined by Roy Fielding.

There really is a REST, and these people are using it, but it is just a part of The Web they use. REST is the network architecture: hypermedia encodes the state of resources for hypermedia clients. JSON is an essential part of Single Page Applications, but useless by itself; it can only function in the context of a complete API specification. JSON is normally used in combination with SPA libraries: the whole system is basically RPC with JSON added, or JSON/RPC. All these so-called “REST-ful” APIs are really JSON/RPC.
None of the dick pills mentioned are AmazonBasics brand.
I would recommend you to start by learning to use a screen reader, then dig into accessibility APIs for both your OS and browser. That should give you a better understanding of the blind person’s experience.

I’ve been trying a few times to learn to use iOS accessibility features because I’m curious about the topic, you can find good tutorials on YouTube and videos of people sharing their workflows and tooling.

I wouldn’t look into developing a tool before having a good understanding of the subject, it’s pretty likely you will be misunderstanding what would be useful or not for a blind person.
I block DO even on web servers. Their abuse policy is exactly at the quality you'd expect for the price.

My customers can't afford to add a datacenter every time DO customers decide to steal our shit.
I will be switching banks after this recent experience with Nykredit (the bank being a bit unreasonable in my situation).. and will remember to use same kind of answers. :)

The penalty is having to find a different financial institution.
Agreed. This is one of the reasons why I avoid using Python whenever possible. Python code I write today is unlikely to be functional years from now, and I consider that a pretty huge problem.
> Because they, not Amazon, are the business actually selling the stuff. Amazon is a payment processor and a warehouse provider.

That is legally questionable. When Amazon was losing on that issue in Pennsylvania higher courts, they settled to avoid having an on the record decision that Amazon was liable.[1]

[1] https://www.villanovalawreview.com/post/890-oberdorf-v-amazo...
Yea. I assume from the article it's an alias for an HTTP interface that usually uses JSON payloads. I use those in a few projects, both work and personal. Are they Rest? Maybe. They use Django REST framework. But I think of them and describe them as HTTP APIs.
TIL about the anchor property (&) and the alias indicator (*) which allow you to reuse previously defined blocks without repeating yourself:

definitions:
steps:
- step: &build-test
name: Build and test
script:
- mvn package
artifacts:
- target/**

pipelines:
branches:
develop:
- step: *build-test
main:
- step: *build-test
Thanks for making it, a great resource!
Those 2 were never the claimed benefits, and the fundamental "problem" is not a problem: a LOT of data processing is making changes to records. And you can encapsulate a lot of logic behind making changes to records.

And this makes most software easier to understand:

"Show me your flowcharts and conceal your tables, and I shall continue to be mystified. Show me your tables, and I won't usually need your flowcharts; they'll be obvious." -- Fred Brooks
Don't you mean the PRC's property?
Inheritance is likely the worst idea of OOP's implementations.

The right way to achieve the same and better results is interfaces / typeclasses / traits. They work pretty well in languages from Rust and Haskell to Typescript, Kotlin, Java, and even Go. (Go is a bit special because you don't even have to declare that your class implements an interface, as long as it actually has a set of methods with right signatures.)

Ideally, all public methods should only describe parameters and return values in terms of interfaces, and never as concrete classes.

If you need to take a big class and inherit from it to override one or two methods, it's a failure to compose the things correctly. These one or two methods usually are better off as their own entity which you can pass to the "base" as parameters. This both prevents proliferation of "god objects", increases testability, and improves build times (shallower dependency graph, yay).
I’ve been having a good time using REST level 0.5

https://faithlife.codes/blog/2023/09/rest-level-zero-dot-fiv...
I bought bitcoin anonymously for cash 10 years ago and sold it recently.

This is a huge red flag.

I paid taxes for this and all is above board.
> nearly 7 million. That’s incredible for a nonprofit CEO. Much, much large orgs have CEOs that get paid 10-15x less

Correct.

For instance, the CEO of UNICEF USA makes 620k a year. https://www.unicefusa.org/about-unicef-usa/finances/financia...
> About being able to use a RESTful API directly from a browser: browsers only use the GET and POST HTTP methods, among the ones REST associates meaning to. You cannot use a RESTful API from the browser, because the PUT, PATCH, and DELETE methods are not used by the browser, and even the POST method cannot be used without a UI. Also, even if you could, APIs are for machines, not humans. The user experience would be dreadful if you had to use a RESTful API directly from a browser, without a specific UI for it.

This.. isn't true?
There are two kinds of rentals, normal rental cars and rental cars at a premium price that are equipped for track use and carry extra insurance. People do it but normal rental cars aren't allowed on the track per the contract.

https://www.rhinocarhire.com/Car-Hire-Blog/September-2019/Ca...
>Which is totaly legit IMO

I do not know any jurisdiction in which intentionally avoiding tax is legal.
Thinking about unintended consequences is good, but you're assuming more intentionality to existing laws than is actually there. It's convoluted more for political reasons than for pragmatic ones.
- Consumer electronics with built-in cellular modem, so that they cannot be used offline anymore.

- Climate change aware relocations for the upper class.

- Over 50% of the world population will be able to vote in 2024. This leads to social turmoil.

- A promising new discovery could fix climate change. However, it will take years to make it viable.

- Credit cards will become widely accepted in Europe.

- First signs of a personal emission credit system. E.g. retailers need to show a "planet-impact" score for a product.
Probably only to prevent those activities during driving. I doubt they have any other interest.
As mentioned in an addendum at the bottom of the page, wheels can now target Alpine. You can try it yourself using the example package from OP:

docker run --rm python:3.11-alpine pip install pandas
It’s just begging to be a Lambda function.
> I even used HATEOAS principles when building HTTP APIs

I found your problem.

> About being able to use any API without understanding it first

That's a HATEOAS thing, as I understand it. REST just means that you have resources and verbs, and the verbs have ~relatively~ consistent meaning. If I see some GETs and PUTs and PATCHes and DELETEs I can get a pretty good idea of what's going on. It doesn't mean I understand all the details of your application logic.