skysight-inc/HackerNews huggingface dataset:
I just had to login to say if you trust AI for that your stupid! I mean I'm half being sarcastic, but really? I would never participate in this kind of research.
>The people who ruined native GUIs moved to HTML pages. After ruining HTML pages they are now moving to terminals.

I know this is just (probably) a figure of speech, but I really don't like this way of writing. This has strong "us vs them" vibes. There is no team of people actively working on ruining GUI, HTML and now terminals, over the last 30 years. There are just people who have different tastes than you and I. I find this approach more productive.
That's every GUI system, though. /dev/fb0, or X11. We don't have to force it to fit into a character stream abstraction for some silly reason. Different abstractions are allowed to be different.
That’s easy: At least one of the following: A failure state, a success state or a score.
Thank you all for assuaging my fears. Yay for the GPL.
Quite stark to note the precise moment at which Americans came online.
Idea: Someone could do an interesting cultural sentiment analysis by
watching how certain comments rise and fall in popularity as the
planet rotates.
After I read your comment and went into the kitchen and the first thing I saw was a handsoap bottle what had "1 L" written on it. Weirdly the milk had "1 ltr" on it :S
Mostly in lowercase, especially when talking about apartments or houses
That's what I was wondering about. Sorry to hear about your son eating mouldy bread.
It’s not dynamic though. Take my tree holding example and compare the speed of collapsing a tree in a GUI like Firefox vs doing the same with iteratively updating jq queries.

Much as I prefer command line tools for most tasks, it’s silly to say that they’re always just as dynamic as GUIs.

You can already recreate my tree folding example as a TUI using block characters and terminal mouse input. There’s nothing exotic about that. So all I’m suggesting is that this convenience should be built in as standard.
Hit a million dollar ticket! BRB going to buy lottery tickets!
Would also love to see v2 finally get released, since I'm a big fan of Berkeley Mono and would like more weights and widths to make my Emacs look nicer.

From their update in february[1] this year it seems like it is basically complete but personal things got in the way and maybe they struggle to set up the systems for custom builds, ecommerce, etc. to ship it. People are constantly asking for the release, so I think it will eventually arrive, but good things often take longer than expected. :)

[1]: https://x.com/usgraphics/status/1762128387483824160
Uh, I live in Australia, it's always a problem ;)

More seriously, unless you're doing stuff locally (in which case, go ham doing cool things on your system), the tools you use need to work for others, with their requirements and restrictions (some of which can be changed, but others which are inherent).
The SI standard is international and doesn't admit a K prefix, only k or Ki.
Kudos, congrats and thanks for open sourcing your stuff.

Your openness to feedback, even if not quite pleasurable, is impressive.

I believe no contribution is a good tradeoff that still guarantees user rights important to the free software movement. It is important that developers don't conflate free software and open to contribution. If managing contributions is not fun to someone, that shouldn't prevent them from releasing under an open source license, or force them into managing contributions.

And if someone releases a version that you like, you can always upstream this stuff yourself if you don't require a CLA or anything like this.

I will look into this thing, it seems useful.

> Now the desktop Linux users can fix their own bugs (please don't hate me)

Fair enough :-)
It's copyright, as in the right to copy, not copywrite as in writing copies.
> Missing support for shared libraries

Well, rust does support shared libraries. Call things by their name: what distros want is for all libraries to have a stable ABI. And I guess some sort of segmentation that the source of one library doesn't bleed into the binary output of another, and I think the latter part is even more tricky than ABI stability. Generics are monomorphized in downstream crates (aren't C++ templates the same?), so I think you'd either have to ban generic functions and inlining from library APIs or do dependent-tree rebuilds anyway.
Oh, pharma messes up all the time.

But it’s an interesting question. You can’t be too risk-averse because there’re thousands of patients dying horrible deaths every single day. There’s simply a need for bold approaches in many areas of medicine.
I inherited my Moulinex microwave from my mother thirty years ago. Apart from the internal lamp failing it is in perfect order. No electronic controls just a power dial, clockwork timer.
Is it? A lot of small startups seem to be able to do 80% of that list just fine.

As bad as the modern web is, if you think embedding media is a hard problem, one of us has clearly gone bat crazy.

(To be clear, I welcome being told why embedding media is a really hard problem, but my experience hosting a self-implemented blog says otherwise.)
I've seen gr for grams. Not as common as just g, but it does get used every now and then.
The whole process seems to be compiled in this Readme: https://salsa.debian.org/rust-team/debcargo-conf/blob/master...
How to use only local packages can be found in the last paragraph.
> "take a screenshot of my webpage with Chrome | set it in isometric with nice shadow using Photoshop | send it on my iPhone Twitter app"

This is basically Apple Shortcuts. It would be nice to have a CLI interface for Shortcut "actions".
What I'd really like to know is why there's a province of Sweden named "Västmanland".
But the properly made microwave of that kind will probably carry on living after you. Mine (Moulinex) outlived my mother and has been working for me for the last thirty years.
Some people pointed to 2007 for lots of simultaneous reasons:

http://0x0.st/Xx1H.png
Right, the uppercase conventionally means 1024 so it should be kB or ko for 1000.
There are some odd rules, like L for liter because of readability or some other reason. I've also learned in (French) school that we shouldn't use kL, that it doesn't exist. It does exist, but we apparently don't want to use it and use hL instead. Some people thing it's a linear unit and not a cubic unit. We count liters like we count potatoes and we use m3 for volume math.
Perhaps professor was fed up with over-commenting (comments made up a large part of submitted code), especially if comments were like in https://news.ycombinator.com/item?id=41506466. Unless the course is "practical software engineering" or similar, that good programming practices are a focus, and if the why/why-not parts can contribute to better assessment, an associated paper can be asked.
> And now kids think that paying for iTunes songs was always normal.

Maybe paying for Spotify which is dirt cheap and satisfies what most people are looking for

What makes you think piracy is worse nowadays? We have more legal obtions but piracy is absolutely booming with high quality rips. Young me would have killed to have the whole Nintendo ROM library a click away and now I can just download it in 2 minutes.

High quality: I don’t miss the old days of searching for music > no ID3 tag just file names > turns out my wholenight download was a peruvian pipe band not the one I was looking for. Every single torrent tracker has now better in quality options and absolutely no fakes
I agree somewhat. There really was a sense of wonder. Whats coming next? Where will it go?

I don't think it's all screwed up though. The difference were seeing is what happens when the marketeers take over (no offence intended) the technologists. Everything has to have a point, be commercialised. Learn to filter that stuff out, and the nerds and geeks are still there, doing interesting things, you just have to fight more to see it.
As a Postman user, why would/should I use Yaak?
After taking Dimensional Analysis in undergrad I never stopped doing that, quite possibly to the nuisance of everyone around me...
I comment everything that I think would be useful for me when revisiting the code a year later. Usually "why" and "why not". Sometimes a short "what" when the code is complex and it's nice to see the sequence more clearly.

What's not so useful: mandatory comments. A public API should be thoroughly documented, but some shops insist on writing comments for every function in the code, even private ones and even if its purpose is so obvious that the comment just rephrases its name. This practice is not only a waste of time, but also insensitizes you about comments and teach you to ignore them.

Other wasteful comments are added by some tools. I hate the one that marks every loop wiht a //for or //try comment.
I mean he's also the chief dev of calibre so that's a gold star
There’s still a long way from in-silico prediction to wet-lab validation. You need a full-blown molecular biology lab to test any of these.

Then again, you can just release existing dangerous pathogens. Like, poison a water with something deadly. So you don’t need a new one if you’re a terrorist.
On the capital L for litre, that’s a suggested rule (second table), not mandatory.

I also agree though, there are things there which are decidedly not mistakes (e.g. “mcg”, which is most commonly used to avoid confusion between a sloppily written mu and a sloppily written m. I’ve seen this most commonly in handwriting by doctors and vets)
Junior programmers tend to either document nothing, or document everything. With experience you realise that you just want to document the unusual stuff, and as you get more experienced, you realise there is less and less unusual stuff, so the amount of comments drop down.

So, less comments wins out, but faced with a code base without comments you have to inspect it to tell the difference between a beautifully crafted piece of brilliance or a totally flaky codebase written by a bunch of newbie hacks.
I never really got mosh working nicely with the VPNs and ssh jumphosts I needed to use.

I would say vim is excellent over high latency connections, as you can slow down your typing and plan movements and queue up commands. Readline's ability to pop open an editor makes running complex shell commands so much nicer.
Not defending 'kph' exactly, but I can see how some native metric speakers (in Australia at least) might arrive at that solution on their own.
You're right about 'kilos per hour': 'kilos' will always be taken to mean kg.
But in speech, 'kays' is a common abbreviation for both km and km/h (confusingly).
So 'kph' would be an ambiguous way of writing 'kays per hour'.
I have heard a small number of people say K.P.H. as an initialism.

kays (distance) e.g. "Thongs'll do, we're only walking a few kays down the road."

kays (speed) e.g. "Apparently he was doing 120 kays in the Barina. I'll miss him."
Well, no expert would have figured out the link between pesticides and Parkinson’s. There’s no test for this.

The only it was detected was by studying a weak association after decades of use.

The same is likely to be true for all other pesticides in use.

So what do we do? Ban them, or allow rhem?
i think you are probably going to be a sad panda if you are running sixel apps over a network. vnc is passable, xpra is excellent

inspired by your implicit challenge, i just compiled a statically linked app that can be controlled with a mouse on amd64 debian, which is at http://canonical.org/~kragen/tmp/static-μpaint (2.3 megabytes, but remember that this is just code some random stranger on the internet linked for you to download and run, much like a random npm module). it was a little harder than i expected, but not really very hard. with respect to its staticness, i did get these warnings:

warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

but those are from functions buried deep in xlib that i may not actually be using. if you do dare to run my executable on your system, i'm interested to hear whether it works and what version of glibc you're using (i'm on 2.36-9+deb12u7)

the program is my example paint program, source code in https://gitlab.com/kragen/bubbleos/blob/master/yeso/%CE%BCpa..., explained line by line in https://gitlab.com/kragen/bubbleos/blob/master/yeso/README.m...

the compilation command line was

cc -static -Wall -Wno-cpp -g -Os -I. -std=gnu99 μpaint.o \
-L. -lyeso-xlib -lX11 -lXext -lpng -ljpeg -lm -lbsd -lz \
-lxcb -lX11 -lXau -lXdmcp -o μpaint

which i was later able to reduce to

cc -static -Wall -Wno-cpp -g -Os -I. -std=gnu99 μpaint.c \
-L. -lyeso-xlib -lXext -lX11 -lxcb -lXau -lXdmcp \
-lpng -ljpeg -lm -lbsd -lz -o μpaint

and you should be able to build it from source if you clone my bubbleos repo and run `make` in the yeso directory. `make` will build a dynamically linked version, but the compilation command line above will build a static one instead

this is using my minimal gui library `yeso` but i'm pretty sure the same approach would work for things like fltk which are designed for static linking. maybe it would work with more expansive libraries like gtk too
You never know! Tomorrow that bridge might be on the moon, and how on earth (or how on the moon, indeed) will you know if it will hold up when you walk your herd of elephants over it!
"Yaak is now open source under the MIT license and open to contribution for bug fixes only."

Do you require a copyright assignment, CLA, DCO or other form of identification from the contributors?
> You're free to renounce American citizenship to escape future tax obligations.

In theory, yes. I knew someone having a heck of a hard time doing so though. Here's the process:

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

It's pretty expensive and difficult.
kph seems to come from people that normally work in miles but switched to metric for one reason or another. The common notation I almost always see for kilometres per hour would be km/h, in rare occasions with `h` exchange for whatever letter the local translation of "hour" starts with.

I don't think anyone would confuse kph for kilograms per hour (after all, that would be kgph or kg/h, and I don't think I've ever had to calculate kilograms over time outside high school anyway). Usually, context clues make it pretty clear what's being described.
Did VW ever complain about uncertainty in diesel gate?

When you do shit to bend and avoid complying with the rules as much as possible, you don't get to complain about uncertainty on application of said rules.
If you're commenting out code, don't

If you're commenting about the code, do.

There's a huge difference in the value between one or the other.
> now it's 2024 and we've screwed it all up.

Moved to tears. A strong sense of 'How Time Flies'.
If you have 5V and have to step down to 3.3V using an LDO is a very reasonable choice (at 100mA you have about 170mW losses). However if you have e.g. 24V and need to step down to 3.3V, an LDO can get annoyingly hot (at 100mA you now have over 2W losses). But I agree, this is really a "it depends" situation.
I'm glad it was brought up though, otherwise other people might think it's as simple as that.

It is not: https://en.wikipedia.org/wiki/Relinquishment_of_United_State...
Firefox was good, Electron wasn't a thing and Microsoft didn't own most game studios... we really messed up huh.
Thanks! Could you describe your use case so that I could better understand how to implement this?
Ask HN: Are there any libraries that support dragging from browser to OS
Are there any JS or Vue library that allow file dragging API to bind file to cursor while dragging outside the browser?
Any reference to existing implementation might also help.
> But alas, we're heading towards a world in which the terminal is just a GUI with Minecraft pixels

This has been the case for decades already. Some TUIs use ncurses, some don’t. Some use 7bit escape sequences for switching to drawing characters, others use 8bit control codes. Neither fish nor (and correct me if I’m wrong on this one) zsh use readline.

There never was a standard way. Some de facto standards exist but even these were ignored as often as they were used. And the reason for this is because there never was a standard VT in the hardware days (DEC, Tektonix, etc all did things slightly differently) let alone in the xterm, VTE, et all days. And all of these different terminals have been driven by different operating systems. For example ‘ps’ on macOS uses different escape sequences to GNU ‘ps’ yet they mostly achieve the same output. So imagine how inconsistent things were when you had fundamentally different time sharing systems.
Love as a Service
More people seem to find the ² on mobile keyboards than they do on desktop keyboards. It's still rather uncommon, though.

If anything, I would've expected phone keyboards to turn m2 into m².
> some degree of plausibility for a would-be cryptanalyst

But that's a very ahistorical theory, isn't it? The manuscript was written hundreds of years before cryptanalysts were invented. For its author to anticipate that would have required an impossible degree of foresight. Rather, whatever features give it cryptographically interesting properties must have been motivated by something other than a desire to confuse/intrigue cryptanalysts, with that just being a coincidental side-effect.
In a sense they are parrots. But the comparison misses cases where LLMs are good and parrots are useless.
Tarjan's SCC is elegant with a heavily imperative flavour; has anyone come up with an elegantly pure (yet still linear) functional variation?

EDIT: looks like Okasaki has a linear-time functional; I'm pragmatic enough that 2 passes are (even small constant passes would be) fine for me — my graphs are all tiny enough that I'm not about to store them on tape.

EDIT2: my bad, not Okasaki himself, King & Launchbury: https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&d...

scc' :: Graph -> Forest Vertex
scc' g = dfs g (reverse (postOrd (transposeG g)))

(but their sol'n requires laziness to avoid generating an infinite intermediate; has anyone done it linearly, functionally, and eagerly?)
The usable data would just be "DC-DC converter is on/off". In theory, if the converter uses a variable frequency or duty cycle, you might be able to extract some information about that too. But that's not very interesting.
That depends on your political beliefs. :)

But certainly the free software movement has provided incalculable benefits to humanity, where their authors were not chasing profits. The only reason this is unsustainable _in some cases_ is because we haven't established a good model to support this work yet. There are some attempts with varying success, but even in its current state, I would argue that more good is produced with this model than with one whose primary goal is profit.
It's all pedantry. Physics makes a distinction between mass, a (mostly) invariant property of an object, and weight, the force proportional to your mass and the planet you're standing on divided by the square of the radius. Only physicists care about this distinction.
So what? I'd rather have cash in the bank and have a lower rate of return, than putting it into equities I'm not so sure about...
> Printed paper map, getting paper tickets for the subway, getting lost and almost missing the interview. That's unthinkable nowadays. I'd have the map on my phone and I'd let my mobile phone guide me through the subway, with the ticket on the phone.

The kind of surveillance that walks hand in hand with this is what hackers of the 90s intended to prevent from happening.
I’ve seen the claim around, and I actually believed it, to be honest. I found that article by googling. I guess it’s still true enough for many cases.
Would something like this prevent the Disney defense against wrongful death liability? https://news.ycombinator.com/item?id=41242400
90s internet versus now is like eating steaks and potatoes with red wine versus chocolate and gummy bears with coca cola. even those who are hooked on the dopamine rush despise it cause it just makes you sick even after a few hours already. sleeping is the tolerance break and then you need it again like a chain smoker needs his first cigarette - but after a few rounds one already anticipates the hollowness it leaves you with at the end of the day.

and it's not just the internet. the 90s and even more so the 80s were for sure the better time to be young (at heart).
> Surprisingly it is obvious for Gen Z that social media in its current form is highly addictive and destabilizing in terms of well-being because (usually framed as "mental health")

Is it?

It certainly is obvious to this particular 18 year old, but perhaps he is just above the 99th percentile of his generation in terms of intelligence.

Most others seem oblivious to this reality in my observation.
endless edge cases
If you're not yet correct, complexity is moot.

> When in doubt, use brute force. —KLT
For beginners it is super annoying that many tutorials say "there is a magical switch or oscillator here which is integral to the function of the boost converter, but we will not tell you how to actually realize it". Additionally, that needs to work at the voltage level you are starting out from and in many cases should be galvanically isolated from the converter. This is a lot to keep in mind and it is actually not trivial.

The answer here is usually to find an IC that works at your desired input voltage or to have a linear regulator provide a small amount of power for the PWM generator. Also be wary of just running with an AI generated answer. Claude 3.5 Sonnet suggest you connect an Arduino straight to 230V and after some back and forth generates circuits which contain strange elements like "antiparallel diodes" which makes no sense.
Inverter microwaves are also more energy efficient than conventional ones (though more to go wrong).
> I said the cornerstone argument for their blog was 'they were familiar with Bash

That wasn’t the cornerstone either. That was just the only argument of theirs you chose to accept:

I quote:

> This is the only argument I'm willing to accept,

I do understand your point of view, I honestly do, but you’re not being charitable to the author nor genuine when discussing it with me.
You don't need a function, a simple {} block is enough if the language supports it. Some languages (ex: Python) don't have that though, you may need a function, or some other construct (ex: if true) in this case.
My take here - when working with stable system, changing OS once a several years (last one was when changing laptops basically, so 4+ years in my case), I don't care much on _single_ reboots. For those who tirelessly do distrohopping, things may look different of course.
Exceptionally Well-Preserved Arrow Recovered in Norway
gr. is not uncommon in france. Not in formal publications, but in day to day life you may find it. I know that I use it sometimes
pretty interesting :)

is glasskube a reboot of jenkins-x ?
All modern browsers now allow you to define a series of stop points for sophisticated animations which previously required JavaScript.
The string being discussed is:

{"a": 1e2}

There are no single quotes or backticks in it. Those are an artifact of posting on Hacker News.
honestly i posted it here in hope of finding some contributors for it. as i alone cannot finish it all
I think the real reason why tesla will never give people the option to buy one of their cars without self driving hardware is because the market would reveal its actual demand and value
Radicle 1.0 – A local-first, P2P alternative to GitHub
Actually, there's a not to much (it was late), it's definitely a great article !