skysight-inc/HackerNews huggingface dataset:
> bandwidth costs are high for both producers and consumers.

But producers are not really paying for bandwidth - they are paying for control. At any point in time they can turn off the tap on users, who have no recourse. Unlike with local executables, there is nothing to hack.

That enables SaaS, which is the ultimate rent-seeking business model: you only "own" something only as long as you remain indentured to the company. From that perspective, the company will be more than happy to spend $5 p/m on a user who pays $20 p/m.
> As developers, IMHO you should always push for open sourcing as much as you can, ideally with a copyleft license and no CLA. Because it is beneficial for you personally

Agree with the rest of your message but this is really dumb and will hurt your career. You need to think about what you’re writing and determine if there is any reason the employer would be supportive of this.

Ive been in SWE management for roughly 20 years now and if you get labeled as “the person who wants everything open source”, you get put in a very limiting box. You advertise that your interests aren’t really aligned with the company and you’ll be treated as a mercenary.

This seems okay on the surface, but it will exclude you from working on critical business code that would be ridiculous to open source.
Ampro, who would go on to create the PC104 SBC motherboard standard, got their start with a cp/m computer that would mount right on a 5 1/4" floppy drive:
https://oldcomputers.net/ampro-little-board.html
Why do results need a license?
Hopefully someone gets inspired by this and implements a thin wrapper using CF workers.
fyi there are touristic flights from russia to nk. It involves guided excursions, ski, food. Ppl usually pay in $ ironically. There are some ru vloggers that went there (like elivosk)
Thanks for the input! You're right, the OSS license, active committers, and accepting outside PRs are key points. We'll include them next time. Appreciate the suggestion!
Finally got around to checking this out and got: "no healthy upstream"
> That is to say, the first ounces distilled should have a higher concentration of methanol.

The liquid in the mash is a mixture of 4 or more different liquids, in wildly different proportions. Most of the mixture is not even methanol, but water. This mixture has a single boiling point, which is determined by the chemistry of the constituents. (For example, the boiling point of a mixture that contains a little bit of water and a lot of ethanol is _lower_ than the boiling point of pure ethanol. You see why trying to make predictions based purely on the boiling point of methanol won't work, do you? You can estimate vapor composition using variants of Raoult's law [1] but only after accounting carefully for azeotropy.)

Simple distillation does a poor job of separating even water from alcohol: at the end of your first distillation you'll consider yourself lucky if you got an alcohol percentage over 35%. It will also have some ethyl acetate and (if you used drupe mash) ethyl carbamate. The latter has a boiling point of 185C, so could not end up there at all under a naive/folk model of distillation.

The foreshot has plenty of its own components, including ketones like acetone (which has a lower boiling point than methanol), water of course, alcohols, occasionally copper from the equipment, but it will certainly not be pure methanol, and while methanol concentration will be somewhat higher, the vast majority of the methanol won't come from the first ounces. It will also be warm, and taste awful: taking a sip will teach you a lesson, but not give you methanol poisoning.

Chemistry is complicated, but based on our current understanding getting accidental methanol poisoning from unadulterated home distilled alcohol would be nothing short of a chemical miracle. You might be able to pull it off deliberately if you try hard, but you'll need good skills and good equipment so that you can isolate it (it's significantly less potent if taken with ethanol, due to metabplic effects). That's not to say you won't get alcohol poisoning, of course: ethanol is an alcohol, and it is poisonous.

[1] https://chem.libretexts.org/Bookshelves/Physical_and_Theoret...
> company decided to suddenly get into the jumbo-jet business, this shouldn't be an issue for them

I don't think it's that simple. You can count jumbo jet makers and their engine suppliers on one hand. It's not like you can go shop for a new line of engines on Craigslist, these things are designed with the plane maker in mind and production numbers planned for a decade+ ahead. Both parties have to work very closely together to produce something with acceptable fuel efficiency.
It may be that they converted the location to kiosk to avoid raising the prices, given that California recently raised their operating costs by a significant amount. So the prices did go down in a sense.
Single color or tiled pattern wastes no system memory for background buffers. Color value or bitmap (actual bit map) was written directly to VRAM each time some region needed to be filled with background, and VRAM was the only component that needed to be big enough to hold the screen buffer. A single byte value or a couple of bytes was enough to define the whole background in the program.

Later, small tiled bitmaps (pix maps) were used for the same reasons to fill the screen. They were compact enough to fit somewhere in discardable free memory, and also to read from the disk with a single operation, which meant there was no benefit in keeping them in memory backed by swap file.

Some modern distributions use programmatic gradient generation for desktop background, though I am not sure whether it still works directly, or simply creates a temporary full screen image in memory, which is no different from using a regular photo.
Mythical Wealth-Creation Machines
I did, caring too much about points on social media is toxic. Signaling only in one direction is delusional. Don't change your behavior based on this to appease people.

Hit me too. Up/down/wherever. It's up to you as the observer. The peer is right, intentional irony applies.

'We' collectively forget how to disagree because we've been conditioned to be too damn agreeable. Say something because you believe it, not because it will get updoots
To be fair, generics was an after-thought because Go was originally a "small" language used internally at Google, and they needed to ship the language in a working state. Generics was too complicated to handle for the first versions (according to Russ Cox). If you look at Java, generics didn't exist until a few major versions in.

Although I agree it probably should be done quite a bit earlier.
The only reason that's how "business" is defined is centuries of imperial colonialism, much of it shaped by aristocratic patronage of the slave trade.

Sooner or later we're going to have to take a look at that definition because the evidence strongly suggests it's doing more harm than good.

There have been other more humane models, even in corporate America.
if you are using your database extensively how do you scale up your GPU resources for korvus?
The divorce rate would suggest it isn't that large.
>That argument falls flat on its face as soon as you look at the balance sheet of these companies. They are exceeding expectations and still laying people off.

I thought it was a discussion about generic companies, but it seems to be a discussion about specific ones?
Sorry, but that's not how the real world works, Mises is a fantasy for kids. That works for maybe contractors, and even that is muddy in cases like Uber etc. But for employees, they sell labor, not services.

Likewise, when someone owns a factory, they don't just own the physical tools and material inputs of production (which they would rent to workers), but they own (control) the whole social structure that is needed to produce, all the human relationships (workers - management - owners - customers) required for the factory to work.

That was Marx's main point, and that's why sane countries have labor laws that regulate this relationship. (But even if everybody was truly selling a service, "free market" would quickly collapse into oligopolies, as it usually does.)
Apple Vision Pro Launches in UK, Canada, France, Germany, and Australia
That single study came out like six months ago: https://www.sciencedirect.com/science/article/pii/S258900422...

It'll probably be a year or two until an attempt at replication is published.

Anyway, the details are all there. It's an open-access paper. (I'm enjoying this new trend where almost everything worth reading is published in open-access journals.)
Absolutely.

FU Pay me.

A polite email to the Finance director, or CEO ought to do the trick, and wait a week or two, warning them about the consequences of non-payment and interest on the debt.

Then after the time limit has passed pop down to your local court house to file a small claim or a winding up order if your client is local. You could also sell the debt to a third party. Then it's their problem.
I feared so, thanks.

I was hoping responses were signed.
I think it's about maintaining a healthy balance, and asking yourself once in a while "what would a rational person do?"
Translation from Mykhailo Podolyak Telegram feed: https://t.me/M_Podolyak

Three unconditional conclusions in connection with the deliberate missile attack (X-101 class missiles) on the largest children's hospital of Ukraine "Okhmatdyt"...

1. This is a completely calculated action, specially designed and approved by the subject Putin. On the eve of the NATO summit. Like a slap to the Alliance. The Russian Federation is sending everyone an informal signal with something like this: "Even the outright killing of children will not force them (the Alliance) to make all the necessary decisions. And that's why we continue to attack..."

2. Almost simultaneously with the deliberate attack on children in the Ukrainian capital, the leaders of Hungary and China once again called for an "immediate ceasefire." This demand is not addressed to Russia. It is addressed only to the West and Ukraine. And its purpose is to create a false impression: the aggressor has the right to kill, because he is talking about "peace", and the victim must not defend himself and therefore must immediately stop resistance, leaving the territory and his own citizens to the aggressor... This has an extremely unnatural appearance and absolutely definitely stimulates Russia to continue attack…

3. Just now, the country that deliberately inflicted a massive attack on Ukrainian cities and a children's hospital in Kyiv continues to preside over... the UN Security Council. This is an absolutely blasphemous signal to all neutral countries: there are no rules, and outright cannibalism is encouraged. Moreover, there is no proper response from the UN, which directly points to the obvious: if the war does not end in the total defeat of Russia, the world is in for a terrible short story of bloody chaos, in which life has no value and death is the new synonym for the word "Russia".
Fixing in right now, thank you!
I like how URL sums it up perfectly:

liberda.nl/weblog/javascript-was-a-mistake/
Yes, I have handled a situation like that once, in which the client refused to pay and cut off all communication. It was a remote cross-border gig, and there was no way I could afford a lawyer in the client's country.

After struggling with the problem for a few weeks, I located a debt-collection company, and decided to offer the debt to them, and all related documentation, so they could collect it for themselves. I then informed the client of my intentions via email. I said: I'm never going to see this money, but neither are you.

They got back to me within a couple of hours, and paid before the end of the week.
Dependency injection means that the caller explicitly provides dependencies to functions/classes rather than having the classes/function getting their dependencies from the environment.

Taking an example like the article. Lets say you have a game with a ghost which randomly moves left or right. This would NOT be dependency injected:

class Ghost:
def __init__(self):
self.pos = 5

def move(self):
match random.randint(0, 1):
case 0:
self.pos -= 1
case 1:
self.pos += 1

It's constructed like this:

ghost = Ghost()

Ghost's behaviour depends on the state of the global RNG, but that isn't obvious from the perspective of the user of this class.

So instead we apply DI, and pass a random number generator in:

class Ghost:
def __init__(self, rng):
self.pos = 5
self.rng = rng

def move(self):
match self.rng.randint(0, 1):
case 0:
self.pos -= 1
case 1:
self.pos += 1

It's constructed like:

ghost = Ghost(rng=random)

Now the fact that the class uses random numbers is explicit, and you can pass in an alternative RNG for testing purposes.

DI is a very useful technique that can make the construction of your system understandable, and make it easy to mock out dependencies. Much like mocking however - it shouldn't be over-used. If you use DI too much your code will become opaque as you'll never know what the concrete type of code you're calling is. Python's progressive typing can help here to some extent.

-----------

Dependency injection is not to be confused with dependency injection systems, which are complicated beasts that obscure what dependencies are actually constructed or provided. They make DI implicit again with the argument that it's better because you don't have to pass parameters manually. I would argue that if you need a dependency injection system, maybe you've over-used dependency injection.

-----------

I like to think of it as being related to capability based security[1], where you have to explicitly provide your dependencies, otherwise you won't be able to access them.

[1]: https://en.wikipedia.org/wiki/Capability-based_security
I'm surprised you're surprised. I guess people from countries with fully functional monetary systems don't have an intuitive view how things work where money are essentially worthless. Most communist countries were like this during the centralized and hence highly disfunctional economy. You were paid a wage but essentially could shove it up your ass coze there was little to nothing to buy with it. Which made barter the only viable alternative. And you know what works best for barter? Non-fungible goods: alcohol, cigarettes and coffee. You can store them for years and still be good.

Those bottles of whiskey/whisky were NEVER drank, I bet you. They effectively circulate as currency, the only one that actually buys you things in a disfunctional economy: a visit to the doctor, exams, favors or just goods that theoretically can be bought with money but are not in stock. Suddenly found in stock for a bottle of whiskey.
That depends on who gets to define "market needs" and how.

Currently "the market" is literally just a betting shop for shareholders, which seems an odd way to be making important strategic decisions.
this confirms the statement that exceptions should be used for exceptional situations — at least when you are concerned with performance

Yeah, saying exceptions are slow is kinda missing the point. If your code is full of exceptions that are being used for control flow, something in the design has gone wrong.
This is true, but in my experience these are edge cases and explicitly matching everything works well 90% of the time.
Show HN: LLM draws SVG, StableDiffusion polishes it
That is: there are more dimensions to real-world solutions than purely technical.
NASA Mission to Europa Imperiled by Rad-Hard Infineon Mosfet
Oh I think I finally groked what you suggested! Something like

template <StringLiteral str> static constexpr Key<str> key

in the class namespace - I think this this would work, but if I understand this correctly, You would need to do like

User user {...};
user[User::key<"myKey">]

Which actually is not so bad...
smaller, and SR71 could cruise at 85000 feet
You can achieve something close to that with websites as well though.
You can use service workers and caching strategies so that the user only „downloads“ the boilerplate - i.e. page logic, JavaScript, html structure - and (current) content of your website once and only downloads new or changed content.
This is the whole idea of the offline-first model that’s originally made to enable users on mobile devices with spotty internet connections to use your (web-)app without too many hiccups.

Granted, this takes some knowledge and development effort, but if your goal is to save bandwidth, it’s absolutely possible. And something more development teams should think about.
Sad for both. Saw Concorde at Le Bourget. Both were miracles of engineering in their day.
Actually, Cloudflare open-sourced a container registry server using R2.[1]

Anyone tried it?

[1]: https://github.com/cloudflare/serverless-registry
Correct. But it's not often mentioned until you go looking for it.
I can see your 40+ years of experience hasn't prevented you from offering out of context comments.

The context being of the author's experience, who back then came from life in the West with (most likely) a "dumb" phone and a home/work Internet for browsing/email/instant messaging, and was then brought to a regime where mobile phones were most likely not allowed, and Internet might not be available, and social contact changed from being able to go out and see friends to having only a few people in the diplomatic compound, and contact with locals being severely limited to the people sent by the regime to watch over you...
i had this idea for an AI workflow:

1. describe an svg drawing in great detail

1.5. ask the llm to label its drawing because it's fun to watch

2. generate the svg

3. img-to-img with sdxl

it's a silly demo but kinda fun, source: https://www.val.town/v/substrate/scribble

you can coax Llama3 into generating better SVGs using multiple steps, actually – in a previous version the SVG had gradients, stacked layers, dot grid textures... even animations

but i had to do a roundabout thing to rasterize the SVG in the val sandbox so i removed all that

https://x.com/vprtwn/status/1811710646729277740
EU accuses Elon Musk's X of deceptive practices over blue 'checkmark'
You can’t. Installing pytorch and supporting dependencies takes 2.2GB on debian-slim.
Simply reading the words “is just this with extra wall material in each cell” is probably faster though.
Duodecimal also has a connection to counting on your fingers.

You've got twelve finger bones/joints. Move your thumb from one to the next as you increment your count.

Bampf, base twelve, no extra fingers needed.
Reading this thread i haven't seen anyone " protesting that trans people don't exist or that there's some cabal to damage children." yet.

But what kind of discussion do you wish for? One where no differing opinions are allowed?
The compiler looks like JavaScript and behaves like JavaScript but it’s optimized; to me asking for React to add more random non-JS keywords to their compiler JS syntax is like asking that you add more keywords to C functions to allow you to build with -O3
I can remember the virtual IO headset from 25 years ago, great for playing games and for watching TV whilst doing the washing up in the kitchen - or so the marketing men said.

This last application amused me because nobody does washing up, they just use dishwashing machines or eat disposable junk food, plus the family unit has been atomised.

I spoke enthusiastically about these headsets to a friend and his conclusion was that people just would not want these things on their faces. People go out to be seen as well as to see.

In recent years we have had people scorn the failed IO Goggles for the latency, low resolution and price, to claim that Meta and others have fixed these problems. They might have done, but they haven't conquered games or transport. You would think kids would be wearing these things on long car journeys and grown ups using them on plane flights.

Nothing has changed significantly for the mass market and these Apple VR headsets are clunkier than what we had 25 years ago, I am sorry to say. They are more expensive too.

If they were an open platform, a glorified monitor, they would have a niche with VR applications, such as when you want to present a 3D model to someone, for example, a building or a car, where the ability to have a proper walkaround has some advantage in impressing the client.

Civilians, whom this product is aimed at, do not and will never have the hard to learn 3D content creating skills. Nobody is going to remodel their kitchen with these gadgets.

Really it is for gaming where this product should win.

The elephant in the room is glasses, anyone with the money for this gadget wears glasses and they don't really mix.
Apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, the fresh water system, and public health ... what have the Romans ever done for us?
X f/k/a Twitter breached DSA online content rules, EU says
> A dual-mode ramjet was developed and tested in less than 11 months

Incredibly impressive if true. But below quote makes it sounds like they purchased a company with mostly ready design and made a prototype. Still pretty awesome.

> The successful development and testing of the dual-mode ramjet in such a short period of time was made possible through the collaboration of GE Aerospace’s team of engineers, Innoveering – a company acquired by GE Aerospace in 2022 that specializes in hypersonic propulsion – and GE Aerospace’s Research Center.

Now I want real engineering / everyday astronaut like breakdown of how it works.
> I'm not sure if this is a good idea, just like pretending a network request is a function call

This was my first reaction, too.

Perhaps there's something about data locality that makes it good for certain use cases?

> I still prefer to clearly explicit embedding, LLM generation, etc.

The bit that I usually need to control is how the retrieved results are formatted in the prompt. In order to make the context as information dense as possible, I might strip out certain words/l and/or symbols. But it depends on the query, so it can't be done at ingestion time.
It's primarily a technique used in object oriented programming. So it's hard to translate to Haskell.

The big picture of what a DI framework does is let you declare your structural object graph using a config file or decorators and have the whole thing instantiated at runtime automagically.

The detailed view is "a fancy way to pass something like a function argument". An object that has dependencies gets them passed in ("injected") at runtime rather than calling dependent function directly or internally instantiating dependent objects and calling them.

Doing things this way in OO languages has a number of benefits, including improved testability.
> The OCI Distribution Spec is not great, it does not read like a specification that was carefully designed.

That’s par for everything around Docker and containers. As a user experience Docker is amazing, but as technology it is hot garbage. That’s not as much of a dig on it as it might sound: it really was revolutionary; it really did make using Linux namespaces radically easier than they had ever been; it really did change the world for the better. But it has always prioritised experience over technology. That’s not even really a bad thing! Just as there are tons of boring companies solving expensive problems with Perl or with CSVs being FTPed around, there is a lot of value in delivering boring or even bad tech in a good package.

It’s just sometimes it gets sad thinking how much better things could be.
That's a misparse, I think:

"We are very proud of the results of this work and want to share it"

They want to share the work, not the results (otherwise the sentence would be "we want to share THEM").
Perhaps the Minotaur has a good sense of smell and the exit is needed to supply fresh air in order to encourage him to keep searching for an exit.