skysight-inc/HackerNews huggingface dataset:
It's definitely a field that there's still need in. I recently started writing yet another argument parser, with all the knowledge of my prior attempts ...

One thing I'm really starting to lean toward is the idea of using a bespoke data file to actually define the options, and having that generate the code.

My key observation is that actually parsing the arguments is kind of secondary; the most important thing is to be able to generate good --help text (I've collected many samples and want to be flexible enough for them all). And for config files, to be able to generate a commented "default config" + merge with given command-line arguments. A GUI (or at least a JSON API for the web) for interactive selection, as well as tab-completion for the CLI, are also important.

Now, I'm currently halfway through implementing a knockoff of the Unicode line-breaking algorithm so that people can translate my help text properly (for a program nobody else will probably ever use) ... I've basically forgotten the project that needed the argument parser.

There are actually more sources than those you mentioned:

* hard-coded defaults

* config files

* ENV=variables (may be a single TOOLNAME_OPTS variable or separate per-option variables)

* --options and @files (may be nested, beware cycles)

Beware of lists (default is port 8080, but I want 8000 and 8001 - wait, 8008 instead).

And parsing also needs to handle more than just GNU style arguments. Single-dash long options are pretty common.

Some tricky tools that most libraries can't handle: chmod, dd, more, ps, tar.

For fused arguments, make sure your testsuite includes errors for `-a-b` and `-a-`.
Green is the independent Taiwan/nationalist party. Blue is the anti-war/friendliness with China party.

The anti-nuclear sentiment is more due to the age/state of the reactors and concerns over earthquake safety after the Fukushima nuclear accident and the inability for the island to store/handle/dispose of waste.

I don't think the state of nuclear power will change much even if the blues gain power. Taiwanese politics has a way of making the minority party always be against the status quo for some issues just to be a pain for the majority party, and their stance on nuclear power tends to flip flop depending on who's in power.
Can't blame a rogue junior engineer if that happens.
Non alcoholic beers still have a small percent of alcohol, but just below the lowest amount accepted to be non alcoholic.

It must depend on the country, but generally anything below 1% is considered OK (so 0.8% is marketable as 0%)
The reason to not believe on fairy tales is having an open mind. Don't make us lose our time.
A Synthetic Genetic Edge Detection Program
Some day I really need to learn when to use sqlite in a durable object vs the eventually consistent one (r2).
Great little article! Thank you.
Is Ziggy anyhow related to Zig, the programming language?
Experience is one thing. Feedback is another. You can't mentor a language model.
And while you do someone is using your body as power plant?!
We are saying the same thing I think.
Shrinking augmented reality displays into eyeglasses to expand their use
Not great, not terrible. The android support is hit and miss and the official store is mostly full of junk. Their SDK is rudimentary and there is close to no documentation. After they signed a deal with the russian state I gave up on them. I am on Plasma now which has an overall better experience.
Yeah, the unique benefit of sqlite-rsync looks to be efficiently backing up medium to large databases that don’t change enormously (so deltas are worthwhile) over an SSH connection. I particularly like that you don’t need double the disk space to create the temporary backup copy before downloading it.
There's some truth in that direction, but it's not related to backslash escapes (which are symbolic/mnemonic, \n is "[Ne]wline", \r is "carriage [R]eturn", \t is "[T]ab", and so on).

Instead, consider the convention of control characters, such as ^C (interrupt), ^G (bell), or ^M (carriage return). Those are characters in the C0 control set, where ^C is \0x3, ^G is \0x7, or ^M is \0xD. You're seeing a bit of cleverness that goes back to pre-Unix days: to represent the invisible C0 characters in ASCII, a terminal prepends the "^" character and prints the character AND-0x40, shifting it into a visible range.

You may want to pull up an ASCII table such as https://www.asciitable.com to follow along. Each control character (first column) is mapped to the ^character two columns over, on that table.

That's why \0 is represented with the odd choice of ^@, the escape key becomes ^[, and other hard-to-remember equivalents. These weren't choices made by Unix authors, they're artifacts of ASCII numbering.
Well, particularly in a subthread on Strunk & White, one should write "...differ on only two points" or "...contest only two points."

It's not that we ONLY contest these points (we may also, e.g., state them or rephrase them). It's that we contest ONLY these two (and no others). See the antepenultimate example of Rule II.16, "Keep related words together."
Anyone can make a fork, they don't need to justify it. I was just saying that the maybe unjustified blocking was limited to social media and did not extend to the actual development.

The reason Juan has given for blocking were github comments that were such that he had to block them. I haven't seen them so I can't verify it but the fact that it was limited to very few accounts compared to what happened on social media leads me to believe that argument.
The application having the ability to change how the title bar works is an anti-feature for me.
Llamafile for Meltemi: The First LLM for Greek
I don't think they crossed any line. But a private person cannot defend themselves against a billion dollar company.
Most non-alcoholic beers still have 0.5 grade. If you're fully detoxed and sensitive (or pregnant) that's enough to make you unwell.
Hyprland 0.44
Do compilers actually output this instruction?

So many super-clever instructions are next to impossible for compilers to automatically use.
If you want to go in and do the basics (check balance, do a normal transfer, look at activity) this can get you by. A lot of the more useful features tend to be app only though. E.g. "scan to deposit check" is an app only item for my bank.
That review is amazing. I am not into movies or games much but that is so well written that I had to read it all!
You mean the LoRa bandwidth available in a given area is surprisingly low?

I've only heard of it, never used it. Not surprised to hear it is slow, but I am on the other piece.
Uterine replicators were a very cool aspect of the Vorkosigan Saga by the very talented Lois McMaster Bujold.

It was extra interesting to see how the technology was adopted by different cultures and what a massive impact it had.
For our device currently, conversational audio is only used by the LLM when a button is pressed like a "push-to-talk" feature. In the future we want to either make it a capacitive touch sensor or listen for a wake word, like "Hi starmoon". I think it would be awesome to actually have models be running locally. And we don't have to have any conversation data stored in our db.

But I agree with your thought, I think this is a big fear with google home and alexa as well. ie. Are home automation tools always listening to our conversations. IIRC pre-wake word detection, none of the audio recorded is used to market products to you.
You could be allergic to hops
Depending, the way I read the post, the SQLite protections just prevent crashes or malfunction, but don't prevent things like SQL injection and your app should handle that
>yes it's a security issue but you wouldn't "expect" to get fined millions of dollars.

The penalties are based on percentage of turnover.
Thanks for this - it's a very accessible format.

I stumbled on this fantastic piece promoting the use of UTC time, but incidentally giving a great history of the standardisation of time more generally and the adoption of 24h clock notation over AM/PM.

https://en.wikisource.org/wiki/Popular_Science_Monthly/Volum...
If true, that's pretty sad.
One of those "purely political reasons" being the obvious and real risks involved with having nuclear power plants in an area known for large earthquakes which was made especially real in people's minds after Fukushima ( further down in the same page you linked: https://en.wikipedia.org/wiki/Nuclear_power_in_Taiwan#Post-F... )
I love how everyone on this thread is giving energy advice to the country that "makes the world's computer chips". Surely they have a couple of smart people on that island…
> Much of Congress answers to the CCP too

What nonsense. No it doesn’t. By the same standard of evidence, the CCP answers to American interests.
> Is it worth learning the mental model behind this system?

If you want to learn javascript, then yes, obviously.
You also need to learn the model to be able to criticise it (effectively) -- or to make the next wat.

> am I better off just shoveling LLM slop around until it mostly works?

Probably not, but this depends on context.
If you want a script to do a thing once in a relatively safe environment, and you find the method effective, go for it.
If you're being paid as a professional programmer I think there is generally an expectation that you do programming.
I had to deal with a health scare about four years ago while in the middle of the first covid lockdown. Going cold turkey on alcohol, smoking and sugary processed foods out of fear for my life was probably the best thing I've done for myself. Not to mention the fact that I've saved a shitload of money as a consequence of that.

What's great is that I absolutely resent the taste and smell of alcoholic drinks now. I've tried on a couple of occassions to drink a beer and couldn't even get through a single sip.
Can you tell more? I loved Ken Kesey story at some point but haven’t revisited him for a while
What monitor do you use ? 24" 4K is such a rare thing these days ; I'm using cheapo LG , but I always look out if there's something better
You say X11 is unsupported, and I note with glee that X11 hasn't _broken_ for me _since_ they stopped supporting it.
I think I heard this on a joe rogan podcast. Will add this to our roadmap along with DMT as an alternative.
> I suspect you would find Android on that hardware to also suck

Not at all, android is smooth as butter on even significantly worse hardware.

> if you must download random untrusted code and execute it, then you should run it inside bubblewrap/firejail/docker

There is no if, this is the case for everyone, and thus the default should be sandboxed. Plus, a sandbox should have appropriate channels to communicate with other sandboxes, otherwise you are not ahead even a bit. Just think about a memory unsafe program like a PDF reader opening an untrusted file. It is already ripe for executing arbitrary code, no need for compiling stuff.
I don't know if I'd call it a market failure or a regulatory failure, or where the line is defined in the economic literature.

The difference between a cap system and a uncapped system is the incentive to increase the base price as well.
It's also a form of solvent abuse that causes something close to 3 million deaths a year [1] from not only its direct effects on the body but via accidents and violence caused by its effects on the mind. To get numbers here: "A new report from the World Health Organization (WHO) highlights that 2.6 million deaths per year were attributable to alcohol consumption, accounting for 4.7% of all deaths, and 0.6 million deaths to psychoactive drug use. Notably, 2 million of alcohol and 0.4 million of drug-attributable deaths were among men."

I don't really think anyone has to "demonize" the stuff, some people really pickle their brains in it, and then die

[1] https://www.who.int/news/item/25-06-2024-over-3-million-annu...
I ran 150,000 AMD gpus previously for an ethereum mining operation. We ran them on edge of crashing, individually tuned to their highest clock/lowest voltage.

I can definitively say they are ALL snowflakes. Every single one. Wide variance in each chip and across batches as well. We had them OEM placed onto the boards too. Combine that with the OEM and their batches as well, there was variance in that too. Then, it went down to even the datacenter and psu's, and how clean the power was.

I actually started to collect all the data around where they were cut from the wafer, but never got a chance to process it and correlate it to their performance. There was a running theory that the edge chips were not as good.
I mean this IS a handsome way to carry a load of hundred dollar bills https://www.rimowa.com/us/en/bags/attache/briefcase/90007010... but you’ll just have to stuff them in the tumi when flying I guess ¯\_(ツ)_/¯
Hence the new term: "AI hallucinations" or "hallucinating AI".
> But why force someone to import every single type?

That's not importing the types, it's importing a suite of functions related to the types.

https://hexdocs.pm/gleam_stdlib/gleam/int.html - gleam/int for example. The int type is already in the language and usable, this import brings in some specific functions that are related to operations on int.
Five years sober now. No coincidence my income has doubled in that time. One day at a time!
I have. I was a 0-2 beer/ day drinker, usually when cooking dinner, so hardly problematic. Lots of “empty calories” and a growing tide of evidence though. I reasoned: if it’s easy to give it up, then it’s a no-brainer. If it’s _not_ easy to give it up, all the more reason.
It really makes sense for the DPP (Green) to be anti-nuclear. Mainland China is using Westinghouse AP1000 designs from the US for their nuke plants. Taiwan is friendlier with the US and can get a nice discount to license the same AP1000..
There are between 1 and 2 million species of beetle. Who says mammals dominate?
Users often don't know what they want, founders do. Perhaps the disconnect is caused by focus on either extremes.
First Public Draft of the CSS Values and Units Level 5 Module
Are you sure you’re not just flying more now you’re not drinking?

Single pilot IFR being fun or scary mostly comes down to currency!
Thanks for the data point. I saw the headline and thought "I don't know how it normally looks" :-)
see Apple's 14 billion tax troubles in Ireland. For years these companies have been using the European operations as part of the tax avoidance schemes.

Don't mess with the Flemish has been good advice for 600 of the last thousand years.
That's a flawed argument, like saying people rarely use their car's hazard lights or emergency jack.
I've used them in situation 1, my lease was up in current city and I had a new place in the new city so needed to move but the new job was paying for the move but it wasn't organized yet. I just put everything in storage and left the key with a friend.

For situation 3 I was able to leave stuff with family but I would have paid for storage again. I lived in a few furnished places for a year.

I plan to use it again for situation 2 when my free storage situation ends. My place is tiny and I can just store something in the facility next to my office for cheaper.

They have their place. The argument that people pay more to store something then the value probably applies to all the junk in people's homes/garages. Must be billions in real estate in the bay area storing old junk.
I've found a happy ground where I'm healthy and have a chance to have a blow-out every so often: 48 weeks in the year I'm a pescatarian teetotaller, and the other 4 I drink and eat what I like. Works brilliantly, and means I'm fresh most of the time, and get to enjoy everything the world has to offer.

Those four weeks are Christmas, Easter, Summer hols, and another holiday week.
Hi,
I am really interested in mathematics and am a computers science and engineering graduate but my experience is just a year in automation(UiPath). Would like to know if you would be happy to take in a candidate who's got the interests and eagerness to learn and grow over an experienced candidate.
The company with a board of directors responsible to shareholders noping out of anywhere isn't a choice.
Good points, thanks for the nuance.
Concert Archives Database
I think more like "make things as simple as possible, but no simpler"

(for mistaken values of "as possible")
This is actually a valid problem when writing quines[1]. You need to escape string delimiters in a way without using its literal.

This is what `chr(39)` is for in the following Python quine:

a = 'a = {}{}{}; print(a.format(chr(39), a, chr(39)))'; print(a.format(chr(39), a, chr(39)))

[1]: https://en.wikipedia.org/wiki/Quine_(computing)
But you could downsize if you didn't store so much useless junk! I'm guessing billions in Bay area real estate is storing junk.
No, but we still buy Russian LNG
The way I solved it once was trying to update ES synchronously and if it failed or timeouted - queue event to index the doc. Timeout wasn’t an issue, because double update wasn’t harmful.
HiDPI pushed me to run Mint for a while, then multi-monitor issues with hiDPI finally pushed me to WSL.

Been using WSL full time for over a year and have no plans to go back..
Yes an AM receiver is extremely simple.
All the roles sound to be suitable for experienced and senior devs, what the opportunity for freshers eager to grow.
Isn’t there a rust rails clone?

Yeah, it’s called loco
https://loco.rs/

FWIW I prefer the pile of libraries. Big frameworks are good for scrappy startups trying to push their product out asap, but in most of situations, I’d like a lower abstraction system to build on.
I was surprised not to see Rocket (https://rocket.rs/) mentioned among the frameworks the author listed; I haven’t used it myself because I _like_ the more unopinionated axum/actix-web, but as I understand it its goals are much more in the vein of what the author wants in a batteries-included framework and it’s been around for a while now.
FoxAcid: A conversational search engine using AI
Wow, that's a somewhat rare edge case. Let me see if I can beat that (hold my beer): 5. Astronauts for Boeing Starliners who are not certain when their return flight will be.
> - filing taxes for each machine (companies may have millions of machines)

Yes. It may be harder to figure out the definition of a machine - e.g. a computer can have multiple programs running, is it one machine? - but this is one direction.

> - determining how much income all machines make

Yes, it's tricky, but we can try. For example, some temporary measurements which can be updated every few years?

> - taxing cloud usage

Yes, we can measure power, bandwidth, network sessions for that.
Heineken zero it doesn't happen on, nor Corona Zero (although that stuff tastes like shit anyway). Some of the craft IPA Zero beers either get me a bit drunk feeling or just give me a hangover after 2.
Whatever you do, don't make this an RFC in a Rust repo/something up for debate and discussion. 500+ messages and literally years later, no one will agree on a single thing. Just make the thing you want and if people don't like it, they can stick with Actix.
Sugar crash?
Well, to me, the greatest joy of the usb-c era is not needing a cable for every purpose. A 1m USB4 cable is all I need. Then I can attach either a HDMI adapter to the end, a DisplayPort adapter, a HDMI mini adapter, a HDMI micro adapter, a DisplayPort mini adapter, a USB micro adapter, a USB mini adapter, a USB-b adapter, or a 20v, 15v, 12v, 9v, or 5v DC barrel jack adapter. I no longer need a cable stash for each one of these cables.

Sometimes yeah having dedicated cables is nice, but personally I've been able to find much more joy by adapters, by reusing the same general purpose cables for all sorts of purposes, rather than having specific cables for specific use.

I have rarely found downside to this setup. The extra usb-c female and male don't seem to make any practical impact.
Correct, just a variant of the Tegra SoC found on e.g. the Shield TV and most things (sound, graphics, security functions, system functions) are emulated at high level rather than hardware level. The problem for Nintendo is the Switch 2 is going to be the second generation to use a slightly modified Nvidia SoC like this so, unless the system software is vastly different, it will be significantly less complicated to spin up an emulator for this "new" system. E.g. Ryujinx had already been just using virtualization instead of emulation for the CPU on Apple Silicon devices.

With Yuzu and Ryujinx both being killed ~7 years into the Switch's lifespan and ~ <1 year before the Switch 2 I really wonder how much of their interest was in not having fully functioning switch 2 emulators before they even finished launching the hardware globally.
Probably a silly question. but are those images of a disks layout high enough resolution to recreate the disk?

I know it's silly because if you wanted to encode a disk image such that it works as a png you would not use a circular layout. Too many weird angles, it would make it harder than it needs to be to reconstruct.
Dean I think that's important feedback. It's important for us to be platform agnostic. Like Junru stated, we are supporting ESP32 models: WROOM/WROVER and S3. But down the line would like to support rasp pi 4B, 5, zero etc.

Would you like to try building it with our devkit? We will prioritize raspberry pi firmware support if there is enough demand around this.
In the USA they must be below .5% abv. Almost all are much lower as that removed alcohol can be used in other products such as hard seltzers or rtd's. (A macro light beer is around 4.1%)

Also alcohol labeling has a small wiggle room but .8 bring zero is incorrect. If it's labeled at 5%. The manufacturer can legally sell it at a .3% wiggle so 4.7% to 5.3%.
How are intents not scriptable? I have an app that can literally call any other intent, but I can even write a bash/python script and run it from Termux to execute whatever I want. Look up the `am` executable.

Re the “killing stuff” paragraph sounds like a memory size issue - frankly, in that case killing something is a better option than desktop linux’s tendency to just freeze the hell up. Just for reference, on a modern low-end samsung I had no such experience.

After 15 years: android’s activity life cycle doesn’t make them constantly save stuff — there is a pause and stop lifecycle events that are appropriate places for saves to happen. Android will attempt to gracefully stop applications, unlike desktop linux’s oom killers. And this model works exceedingly well, you just don’t even notice it, only when it occasionally couldn’t clear enough memory and has to resort to killing.

I haven’t tried doing backups recently, I believe that it is not as streamlined as it should.
Because they weren't getting paid in "perfectly good money" (they were getting paid into frozen EU bank accounts).
Hi, the author of the blog post here.

The section was written horribly -- while I was talking about backpropagation, I was thinking about "what can be done in polynomial time" and there's a mismatch as you explained. Thanks and shame on me, I rewrote it.

In any case, I would recommend watching the video first, the article is just accompanied stream of consciousness for those few who really liked the video.
Are there any risks that are real and not just in people's minds?
He's probably never been on public transport.
lol you think I'm paid to argue with VC bros on Hackernews?

"Anyone who contradicts my opinion is paid off"

I do it for the love of the game.
How are rich people screwing you with AI? Which people?
You know, your comment is written to suggest that one of the links at the end provides an example of the phenomenon that I said "would have been big news", and yet none of them do so or even purport to do so.

What were you trying to demonstrate?
I saw what that type of community management looks like at Occupy Wall Street. No thank you. Yes, it was people like Bloomberg who were scheming to bus criminals into the park. But if that weakness hadn't existed he would have never been able to exploit it.