skysight-inc/HackerNews huggingface dataset:
Show HN: A symfony bundle to easily create type safe, user-configurable settings
The default way to configure symfony applications is via static environment variables or configuration files in symfony. These are useful for many applications, however sometimes you want users change these settings for themselves via a WebUI. This is not really possible with symfonys default approach to configuration.

To solve this I have created this bundle, which tries to offer an easy way to create user changable and still type-safe and DX friendly settings system. Unlike many other bundles, which have a similar goal, jbtronics/settings-bundle uses classes with metadata annotations to define settings.
This way you can utilize all of PHP features to get typesafe settings and use existing tools in IDEs, etc. for refactoring, etc.

The bundle tries to be as flexible and extensible as possible, and supports different storage backends and datatypes and allows even for custom implementations of these.

It can use symfony/forms and symfony/validator for easy form generation and validation and have a versioning system including migrations, if you want to change the structure of your settings.

More information can be found at the Github repo: https://github.com/jbtronics/settings-bundle
This is tangentially related but fascinating. A terrific movie called Minbo came out in Japan thirty or so years ago. It's about the Yakuza and not very flattering. The director was stabbed at the premier. Then, later, died of suicide in very suspicious circumstances.

https://en.m.wikipedia.org/wiki/Minbo

All his movies were terrific.
Is it just me that thinks in general schema design and development is stuck in the stone ages?

I mainly know dotnet stuff, which does have migrations in EF (I note the point about gitlab not using this kind of thing because of database compatibility). It can point out common data loss while doing them.

However, it still is always quite scary doing migrations, especially bigger ones refactoring something. Throw into this jsonb columns and I feel it is really easy to screw things up and suffer bad data loss.

For example, renaming a column (at least in EF) will result in a column drop and column create on the autogenerated migrations. Why can't I give the compiler/migration tool more context on this easily?

Also the point about external IDs and internal IDs - why can't the database/ORM do this more automatically?

I feel there really hasn't been much progress on this since migration tooling came around 10+ years ago. I know ORMs are leaky abstractions, but I feel everyone reinvents this stuff themselves and every project does these common things a different way.

Are there any tools people use for this?
Changing kernels automatically as new releases came out was never an optimal strategy even if its what you get by default in Arch. Notably arch has linux-lts presently at 6.6 whereas mainline is 6.7.

Instead of treating it like a dice roll and living in existential dread at the entirely predictable peril of Linus cutting releases that necessarily occasionally front run NVIDIA which releases less frequently I simply don't install kernels first released yesterday, pull in major kernel version updates daily, don't remove the old kernel automatically when the new one is installed, and automatically make snapshots on update against any sort of issue that might obtain.

If that seems like too much work one could simply at least keep the prior kernel version around and reboot and your only out 45 seconds of your life. This actually seems like a good idea no matter what.

I don't think I have used nvidia's installer since 2003 on Fedora "Core"–as the nomenclature used to be—One. One simply doesn't need to. Also generally speaking one doesn't need to use a legacy package until a card is over 10 years old. For instance the oldest consumer card unsupported right now is a 600 series from 2012.

If you still own a 2012 GPU you should probably put it where it belongs in the trash but when you get to the sort of computers that require legacy support which is 2009-2012 you are apt to need to worry about other matters like distros that still support 32 bit, simple environments like xfce, software that works well in ram constrained environments. Needing to install a slightly different driver seems tractable.
Basic proxy implementation using io_uring
Someone who was born in late 1992 or 1993 would be 31 years old now, which isn’t very old but also isn’t particularly young.

It’s also worth pointing out that there’s much less impetus to amend the constitution when you can just circumvent it, which both parties have consistently done for quite some time now.

For what it’s worth, even Antonin Scalia was of the opinion that it is too hard to amend the constitution. So I don’t think that’s an entirely unreasonable idea. I just don’t think that’s an excuse to just ignore it or attempt to game the system with court packing and the like.
> Copilot loves suggesting about 25 nested divs as a starting point.

To be fair it costs a huge amount of money to hire a React/Tailwind person to create 25 nested divs as a starting point.
Won't this replace the entire RPA layer rather than sit atop?

I would never have considered RPA, but I would build my own layer via LLM for my automation needs.
What I would really like is a tool that takes a video or series of photos, and automatic catalogues the contents. This would be nice from a ‘document all the things’ perspective, but really, really convenient in case of a fire or theft claim.

If you haven’t already, I strongly urge everyone reading this comment to stand up and do a video walkthrough of your house, today. Do all of your book spines, jewellery, DVDs, games, clothes, tools, cutlery, etc. Take photos of your bike’s serial numbers (usually under the hub).

Store the videos and photos in a cloud album or even a free tier somewhere. Email it to yourself, whatever, just don’t forget to do it.

It might take half an hour or, but this evidence is priceless (in terms of time, but it does actually have an monetary value) if you ever need to claim insurance in case of a fire or buglary.

It simply isn’t possible to remember everything you own.

Some insurers demand photographic evidence of recent ownership - I found this out the hard way (who here has a photo of themselves with their bike?! I even had the receipt!)
> That would increase total suffering

Not for long, afterwards there would be nobody left to suffer.
You should consider finding an advisor to help you with ideas for GTM (go-to-market).
Actually a lot of companies don't need something for desktop use, it's very common to adopt a mobile-first or mobile-only strategy especially if you're a startup. Usually the very largest services will have a good desktop experience. Even then you have services like Instagram and Threads where the desktop web experience is clearly not a priority. Desktop is increasingly irrelevant to consumer markets.

> Is it not worth the trouble of doing a PWA if it were good enough to avoid the “Google tax”?

No it's often not, Android is typically the smaller platform in terms of revenue. There are also easier ways to avoid the Google tax because both Android and Google Play Store is more permissive.

> BTW, Apple now allows cloud gaming in the App Store world wide.

That's a good step forward, although Microsoft's head of gaming claims it's still not open enough to support xCloud, which is probably due to Apple imposing the classic revenue cut on all cloud gaming purchases.

Edit: I forgot to address these two quotes, I'll just quickly note that the two statements literally contradict each other:

> Games - which make up 90% of mobile revenue already use cross platform frameworks.

> Cross platform frameworks have never been good enough and they’ve sucked since Java Swing all the way up to Electron apps.
Just the default (7B parameters?), which apparently requires at least 8GB of RAM, which is how much I have. It seems to be running fine now... it's just the installation process that caused it to completely die.
The fact that so much of the political establishment and terminally online people hate Section 230 so much is probably a good way to know its an amazing policy.
Japan to launch first wooden satellite to combat space pollution
You realize Signal chat history is stored in an unencrypted SQLite DB on desktop right?
41 pages, but a summary from the first three:

- antagonism between ardent "Westernizers" and "national patriots" is a conflict between two minorities embracing in sum about 30 percent of the adult population

- one of the most important components of the Western civil culture -- respect for law and universally accepted social norms -- has found no substantial support in Russia

- acceptance or rejection of the Western patterns are based on both rational (reflective) and spontaneous (subconscious) comparisons of the Western living standards and one’s own standards as well as one’s own capacities to achieve these standards

- Russia’s isolation from the Western world, its growing backwardness and its losing incentive for modernization could become a source of new international tensions and new threats with unpredictable consequences. At the same time, Russia’s modernization and its getting out of crisis, strengthening partnership with the West could contribute to a more balanced pace of globalization.
> If you want that they can still build sth around it, but otherwise not modifying your library, then LGPL.

They can modify the library under LGPL, they just have to redistribute the source for those modifications under LGPL also
These aren't the kind of assertions I'm referring to though---I'm referring to arguments whose conclusions follow logically from their premises, the kind you can't make about triangles not having three sides because you end up in logical contradictions. If you don't like theologians, go back to Aristotle and his arguments about, for example, the unmoved mover. I mention theologians because they are the ones most often in the business of making arguments about this subject. Of course, you still needn't buy into any religion or theology in going about this project of understanding the designer. Just one example: you might raise the famous problem of evil to claim that the designer cannot be all-good---that's a kind of understanding.
> As I discussed in an earlier post[3] when you use Postgres native UUID v4 type instead of bigserial table size grows by 25% and insert rate drops to 25% of bigserial. This is a big difference.

Does anyone know why UUIDv4 is so much worse than bigserial? UUIDs are just 128 bit numbers. Are they super expensive to generate or something? Whats going on here?
How is this different than pg anonymizer?
Oops you're absolutely right. "Boot" ambiguously meant "setup" there. Fix deploying!
Juicy chronicle: meet the neo-luddites warning of an AI apocalypse
Thr original author of lander is still about and on social media, it may be worth asking.
> The attorneys also argue that NLRB proceedings deny the company a trial by a jury and violate its due-process rights under the Fifth Amendment.

Corporations aren’t people. Amazon, which has trampled competition, trying to launch an “equal rights” campaign (my personal take) is disgusting when actual individual citizens are suffering from anti-LGBTQ laws, etc.
Human advancement is tied to tool use. People said the same things about calculators, computers, math engines and solvers. Tools can only make us smarter, able to tackle big challenges.

All of this holds for good tools though, where a good tool is one that helps and then gets out of the way. Copilot isn't there yet, but over time, a successive version will get there.
Tilt the phone to control could work for this.
Programmers Abstract Too Much
Except that the author then goes on to say how much they would prefer the derivative works to be open source, so it seems like they do want it but have been convinced they shouldn't.
AGPL and an offer that other licenses would be available on request seems perfectly suitable.
Thanks for the input!

1 - Yes, when it comes to things that touch the hardware or the OS it's hard to encode these things at the type system level since they can change from under you. This is a great example where it is useful to handle some faults at the type level (i.e., file might be missing, remember to check) while handling others as failures (file got read-only out of nowhere... better abort what I was doing).

2 - Yup, trying to fix errors often makes it worse, which is why simply restarting is often the best way to go :)
Without the moralism, harm reduction is a vague term. Here in Canada the government has been pushing safe supply as a part of harm reduction. We still get the same number of overdoses but our cities are now filled with tent encampments and people with addiction issues. It doesn't seem to have helped with anything it's just made things worse

I don't deny that there are some forms of harm reduction which are proven to be effective. But I also think it's a vague weasel word for just give them drugs or just make it all legal. Which is not a good policy as we have seen here.

Ironically just using vague terms like harm reduction without putting forward a specific strategy is a sort of moralizing of its own
Yes, MPSC, single consumer which is limiting.
Sadly, this is well-put.

Now that I got used to pnpm and yarn, as well as monorepo tools (nx), I feel like my preference would be to continue improving npm and node without forking.

I mean, there's yarn, pnpm and other package managers.

Then there's alternate JS runtimes, e.g. Deno or Bun.
Both of which are primarily interesting to me because of first-class TS support without transpiling.

I feel that the ideas of all these same-but-different approaches are in dire need of a shared roof and efforts on standardization and interoperability.

Not sure if corepack[1] is a step in the right direction, because it basically adds another abstraction layer on top of the runtime to choose and install the package manager...

All of the mentioned tools bring laudable and serious effort to the table, but I'd love for convergence to happen as soon as possible.

^1

https://nodejs.org/api/corepack.html
It took me a while to realize digital twin got autocorrected to digital town here :).
"Juicy chronicle"...?
On the other hand, making much more approachable by conversational approaches is going to unlock a lot of users, maybe people who didn't use apps or websites much anyways.

Something agents might not be able to do well is provide transparency that's available at a glance on a screen in words or icons, that listening/reading sentences makes more painful.
And then you'd only have to deal with every addiction that's not related to illegal drugs. What are you going to do about alcoholism, or gaming addiction? Execute brewers and game developers?
@author You should consider your (likely) emotional and (definitely) ideological reaction to AGPL / GPL-style licensing and be pragmatic about which license you use for what.

I always work from first principals, and have written code which includes proprietary, public domain, and various forms of copyleft. They all have their place.

The licensing discussions become... religious in nature. It should really a pragmatic question of what kinds of ecosystem and behaviors you want.

The choice is and isn't about freedom. Most people are constrained by capitalist free markets (or other organizational mechanisms). If I'm competing and I keep your code open and a competitor makes theirs proprietary, they have an advantage. Ergo, in many domains, you see people forced to engage in obnoxious behavior as you're seeing to be competitive. Everyone can WANT to keep things open (or any other good behavior) but NOT be able to do it.

Something like the GPL can force everyone to do what they wanted to do, if their freedom wasn't taken away by the invisible hand of the market. Ditto for many regulations. Things which seem constraining can be liberating once you put a market system around it.
Reminds me: Yesterday I was trying to get it to sketch Alexander's casket (the crystal one). So it generates a prompt that begins "Envision a casket that seamlessly blends Greek and Roman artistic traditions...", tries to draw it, and throws back "I was unable to generate images for your request due to content policy restrictions" and (of course) refuses to say why.

Fifteen minutes of breaking down the prompt into smaller and smaller chunks, narrows the problem down to this sentence: "Roman elements are represented through images of the empire's architectural triumphs, such as aqueducts and the Colosseum, and symbols of Roman authority like the fasces and SPQR inscriptions."

It's the word "fasces". It flat-out refuses to draw one in any context. I'm sure you can imagine why. So partly I'm annoyed because I'm being treated like a child, partly because this is a silly rule, and partly because the stupid chatbot was the one that suggested adding fasces in the first place.
WireGuard!

I had multiple issues with WireGuard related to MTU/fragmentation. Once, service reported that a system is pingable, but the management website didn't load.
I was able to SSH into it, but similarily, the connection broke everytime I tried to run `ip addr` or view logs.
Commands with short output worked, however – apparently, somewhere on the path the packets got fragmented and/or dropped without notice.
A similar project has a lot of old brochures as well - https://oldcarbrochures.org/
MACLISP ("Man And Computer" Lisp, not to be confused with Macintosh Common Lisp, which came years later!)

https://en.wikipedia.org/wiki/Maclisp

https://gunkies.org/wiki/Project_MAC

https://en.wikipedia.org/wiki/MIT_Computer_Science_and_Artif...
As someone who prefers the MIT license, I honestly couldn't give a shit if you're using it to make billions by kicking children.
> My instant emotional reaction was to feel vaguely cheated, or that the guy I sold it to was a sleaze.

Were you cheated? Probably not. But the guy was definitely on a sleaziness spectrum.
Cool project! Where is the source code for this?
"Once men handed their thinking over to machines in the hopes that this would set them free..."
I don’t think I would call it “the same” as the Pro Display XDR, pretty sure it’s not the same panel?

I have the XDR and got it as I live in an apartment which gets a ton of natural sunlight and the XDR goes to 1000 nits sustained brightness (1600 peak for hdr). The specs of the Dell panel indicate max brightness of 450 nits, so not at all comparable.
They use GPT-4.
Its Japanese ability is even worse... and by that I mean it's basically nonexistent. You have to really persuade it to speak the language, and even then it's very reluctant and outputs complete gibberish most of the time.

Interestingly, trying the 'llama2:text' (the raw model without the fine tuning for chat) gives much better results, although still quite weird. Maybe the fine tuning process — since it presumably focuses on English — destroys what little Japanese ability was in there to begin with.

(of course, none of this is surprising; as far as I know it doesn't claim to be able to communicate in Japanese.)
The warm boot numbers for Replicate are also a bit concerning, though. I know that you're contesting the 800ms latency, and saying that a similar model you tested is 200ms — but that's still 30% slower than Fly (155ms). Even if you fix the cold boot problem, it looks like you're still trailing Fly by quite a bit.

I feel like it would be worth a deep dive with your team on what's happening and maybe writing a blog post on what you found?

Also, I'll gently point out that Fly not having to pull Docker images on "cold" boot isn't something your customers think much about, since a stopped Fly machine doesn't accrue additional cost (other than a few cents a month for rootfs storage). If it's roughly the same price, and roughly the same level of effort, and ends up performing the same function for the customer (inference), whether or not it's doing Docker image pulls behind the scenes doesn't matter so much to most customers. Maybe it's worth adding a pricing tier to Replicate that charges a small amount for storage even for unused models, and results in much better cold boot time for those models since you can skip the Docker image pull — or in the future, model file download — and just attach a storage device?

(I know you're also selling the infinitely autoscaling cluster, but I think for a lot of people the tradeoff between finite-autoscaling vs extremely long cold boot times is not going to be in favor of the long cold boots — so paying a small fee for a block storage tier that can be attached quickly for autoscaling up to N instances would probably make a lot of sense, even if scaling to N+1 instances is slow again and/or requires clicking a button or running a CLI command.)
Schuldenbremse does not directly affect private investment. Why should it?
You can watch a fictional(ized?) series (Tokyo Vice) about and produced by the author Jake Adelstein on HBO. I’ve watched the first season, season 2 recently released.
Probably a true statement, in that those folks made contributions, but also misleading, since technology specifically, usually has a goal or outcome in mind. A problem to solve. Like let's assume one of the first technological innovations on that long arc from banana-gathering to whatever we're doing now, was somebody inventing a better way to gather bananas. Or a substitute for bananas. Or a way to grow your own bananas in a controlled way (which I guess would be agriculture, one of our foundational technologies). All of these are easy to imagine and not far-fetched. So were they done by some poseur/pretender who only cared about bananas, and we should look down on them, or were they nobly doing tech for tech's own sake? I don't think the dichotomy exists.
When a Machine Fired Me
When does a layer get removed, ever??
https://archive.is/mPDp2
Simply don't shy away from copyleft licenses. MIT has its uses, but GPL is there for you too.