MurphyA/hacker-news huggingface dataset:
by kristopolous | 2025-04-27 19:48:11+00:00
There's this new thing I'm currently working on. I have a tool that does a clean execvp of what you pass it through, as a total wrapper.

You can do ./tool "bash" and then open up nvim, emacs, do whatever, while the tool sits there passing things back and forth cleanly. Full modern terminal support.

Now here's the thing. You get context. Lots of it. Here's what it can do:

psql# <ctrl-x - the tool sees this, looks at the previous N I/O bytes and reverses video to symbolize it's in a mode> I need to join the users and accounts table <enter>

Then it knows from the PPID chain you're in postrgresql, it knows the output of previous commands, it then sends that to an llm, which processes it and gives you this

psql# I need to join the users and accounts table [ select * from users as u ... (Y/n) ]

Then it shows it. Here's the nice thing. You're STILL IN THE MODE and now you have more context. You can get out of it at any time through another ctrl-x toggle.

This way it follows you throughout your session and you can selectively beckon the LLM at your leisure, typing in english where you need to.

SSH into a host and you're still in it. Stuck in a weird emacs mode? Just press the hotkey and the i/o gets redirected as you ask the LLM to get you out.

But more importantly this is generic. It's a tool that allows you to intercept terminal session context windows and inject middleware, generically and then tie it to hotkeys.

As a result it works with any shell, inside of tmux, outside, in the vscode terminal, wherever you want... and you can make as many tools for it as you want.

I think it's fundamentally a new unix primitive. And I'm someone that researches this stuff (https://siliconfolklore.com/scale/ is a conference talk I gave last year).

If you know of anything else that's like this please tell me I haven't been able to find it.

Btw you cannot do this through pipes, the input of the left process isn't available to the piped process on the right. You can intercept stdin but you don't get the input file descriptor of the left process. The shell starts two processes at the time and then passes things through so you can't even use PPID cleanly without heuristic guessing. Trust me. I tried doing things this way many times. That's why nothing else works like this, you need new tricks.

I intend to package this up and release it in the next few days.
by iwanttocomment | 2025-04-27 19:48:40+00:00
I've driven EVs since 2013 across several states and I've never once encountered a functioning public charging station in the US that has a credit card reader and does not require payment and/or access via an app. I'm all in favor of it, and I understand they technically exist, but perhaps your specific locality requires that? It's in no way my experience.
by Reason077 | 2025-04-27 19:49:23+00:00
Only trouble is, the cars charge too fast now days! An 800V vehicle like the Ioniq 5 can often be topped up in under 15 minutes, barely enough time to buy a coffee and use the restroom, let alone do any grocery shopping!

And some charging networks apply idle fees if you don’t move your car quickly when charging completes.

Of course, a car can only charge as fast as the charger, so maybe it makes sense (and certainly saves money) to install slightly slower ones at locations where customers are likely to want to spend longer times.
by s1artibartfast | 2025-04-27 19:49:49+00:00
I totally agree that is the common and probable outcome. However, is not the exclusive outcome, nor does it have to be enthusiastically supported.

Norm erosion and law breaking often see tit for tat retaliation with the notable exception of when norms and order are productively restored.

I follow your comments because I find them balanced and often insightful, even (or perhaps especially) when I disagree. For this reason, I was surprised to see you advocate more unjust and amoral behavior, even if it is in the form of retaliation.
by Create | 2025-04-27 19:51:40+00:00
I've got to say, the IKEA PS 2014 lamp is really a Death Star - not just because of its spherical shape, but also because it played a significant role in bankrupting the factory that produced it. According to Wikipedia, the Szarvasi Vas-Fémipari Zrt. factory in Hungary had big plans to expand its production in 2011, including manufacturing high-end design lamps for Western European markets. By 2018, they had invested 2 billion forints in a development project that would make them the exclusive supplier of one of IKEA's lamp families. At its peak, the factory was producing 130,000 coffee makers and 2 million lamps per year. However, it seems that producing the PS 2014 lamp at a price point that was too low to be sustainable ultimately led to the factory's downfall. It's a cautionary tale about the risks of prioritizing low costs over sustainability and fair labor practices. The Death Star lamp may have been a stylish and affordable addition to many homes, but its production came at a significant cost to the workers and community involved.
by Imustaskforhelp | 2025-04-27 19:52:22+00:00
I think what would have happened if the web didn't have scripting languages was that you would be forced to download java applets... which now can also run on javascript/wasm coming full circle.

Also, java's dominance I guess was the reason that javascript is named after inspiration of java.

What you are asking for are static pages which already exists and most people do use static pages due to it being very easy to deploy on github pages etc. , though I wonder we would've way more abundance of static pages as compared to non static pages, like there are some pages which could've been static but they aren't.

Though I still think the difference would've existed & it could've been net positive IDK, I just like to go create websites as apps which can be booted on any pc,device without worrying about anything, installing and running it would likely require a setup and it would've been a bigger hassle as well.

And well noone's stopping you from doing it right now. There's gopher and gemini if you are interested.
by toast0 | 2025-04-27 19:52:28+00:00
Using ZFS isn't surrendering control. Same as using parts of FreeBSD. Apple retains control because they don't have an obligation (or track record) of following the upstream.

For zfs, there's been a lot of improvements over the years, but if they had done the fork and adapt and then leave it alone, their fork would continue to work without outside control. They could pull in things from outside if they want, when they want; some parts easier than others.
by rotexo | 2025-04-27 19:52:49+00:00
Some thoughts about making it possible for individual humans to access Wikipedia, robustly to calamities that are within the sphere of human agency.

Seems like you would want it to be stored digitally. Ideally, people would have the ability to access it remotely, in case their local copy is somehow corrupted. For that, you would need a physical network by which the data can be transmitted. Economies of scale would seem to suggest that there would be one or a few entities that would “serve” the content to individuals who request it. Of course, you would want those individuals to be able to access this information without having detailed technical knowledge and ability. I guess they would have pre-packaged software “browsers” they could use to access the network.

In order to maintain this arrangement, you would want enough political stability to allow for the physical upkeep of this infrastructure, including human infrastructure (feeding the engineers who make it all possible). In order to make it worthwhile, you would need people who want to access the information too. I suspect political stability, a sufficient abundance of the necessities for human life, and the political will to make sure that everyone’s needs are met so that they can safely be curious about the world would help here too.

All of this requires sources of power. I suspect that a combination of nuclear power, solar/batteries, and geothermal energy would be sufficient and would avoid the problem of running out of fossil fuels at some point in the future. The nice side-effect here of reducing the impact of calamities exacerbated by the greenhouse effect.

For the information to continue being relevant, you would have to update it with new knowledge, and correct inaccuracies. How best to accomplish this? Well, I guess you would need a systematic way to interrogate the causes behind the various effects we observe in the world. I would propose a system where people create hypotheses, and perform experiments that exclude the influence of as many factors as possible external to the phenomenon being studied. People would then share their findings, and I guess would critique each other’s arguments in a sort of “peer review” to try to come to a consensus. You would have to feed and provide for these people at a certain basic level to make sure they are comfortable and safe enough to continue doing this work. I guess you would want to encourage the value systems compatible with this method of interrogating the world.

Just my 2 cents.
by constantcrying | 2025-04-27 19:52:56+00:00
>Chaotic good, I could imagine Walmart deciding to sell a miniature EV for around $12,000.

There have been many, many car projects like that from large and small companies. All of them failed to get any kind of mainstream audience.

People want general purpose cars and they will not buy anything else.

>Since these would be smaller and slower than normal cars, they would be phenomenally safer.

City driving at 50kmh is already dangerous in regular cars. Either you limit traffic to something like 25 kmh or you have to accept that crashes are now more dangerous.
by pier25 | 2025-04-27 19:53:45+00:00
Vite is a project with 25M weekly NPM downloads and used by some 9M github repos. It's not an obscure project by any stretch of the imagination. Heck it's almost as popular as React.

https://npmtrends.com/react-vs-vite-vs-webpack

Imagine someone posting a project that uses React and then someone demanding they explain what React is...
by globnomulous | 2025-04-27 19:53:54+00:00
> Why should we default to records being accessible in perpetuity?

The historical record is important and we don't know what will be useful to future generations.

Take Carlo Ginzburg's The Cheese and the Worms as an example. It briefly recounts the multiple legal proceedings that the Roman Catholic Church brought against a humble Italian Renaissance-era miller who spread strange, heretical ideas about the cosmos (involving the cheese that was apparently the moon's substance and the worms that ate it). Ginzburg draws on Church records, including the man's own written defense, and builds a fascinating picture of his mental world, intellect, and disposition.

If I remember correctly, these small, cloudy windows into the Early Modern past even let Ginzburg identify likely traces of pre-Christian, or folk, traditions largely hidden from the written record.

This is a funny example, I suppose, because in all likelihood the miller would have been tickled to know that his ideas survived and found an audience not just despite but because of Church persecution.

Still, his case nicely illustrates the importance and unpredictable value of the historical record.
by dmwilcox | 2025-04-27 19:54:34+00:00
Yup,people are really good about it in my experience too. I just stand off to the side of the camera, and say "no biometrics please". They take a minute to check my documents and it's done. Try it.

I trust the TSA agents brain to not get hacked in the next 24 hours, a database run by them, not so much.
by WarOnPrivacy | 2025-04-27 19:54:57+00:00
My oldest and youngest are autistic and are 10y apart. Only the younger is diagnosed.

The difference is how difficult it was to obtain an autism diagnosis (here,then).

For the former, it was difficult to impossible to find someone who was ¹qualified and ²willing to consider autism.

For the latter, qualified specialists were readily available and the diagnosis was seamless.
by Traubenfuchs | 2025-04-27 19:55:16+00:00
1. it‘s a concrete dessert

2. only every second U2 goes there

3. disregarding the doubled U2 wait times, it takes 40 minutes to get to Karlsplatz, 46 to Stephansplatz, 47 to the main train station, 53 to Westbahnhof, 54 to Landstrasse -those times get much worse if you don‘t live centrally in Seestadt. And those times are AWFUL for Vienna, anything over 30 minutes is awful.

4. The „See“ is actually a joke

5. if you live there, people won‘t want to visit you as it would take them over an hour to get home (unless you take a taxi or have a car)

6. is generally awful without a car -unless you live and work there, this is a big deal as you don‘t usually need a car in Vienna
by Nition | 2025-04-27 19:56:12+00:00
The process I'm suggesting is:

1. You have a complex or vague question that you can't search easily via Google etc

2. You ask the AI and it converts that to concrete searchable suggestions (in this case "sudo rm -rf /")

3. You search "sudo rm -rf /" to check the answer.

Step 3 is designed to (hopefully) catch this kind of problem.
by sershe | 2025-04-27 19:57:27+00:00
I dunno, I think it was a net negative by a large margin. 1) html only Gmail shows that pretty advanced, well made apps are possible without scripting; 2) There are very few web apps that without JavaScript wouldn't just be implemented as native without loss of convenience; 3) OTOH for simple apps and sites JavaScript adds inconvenience (non standard links breaking browser features etc), security risks, compatibility issues, massive bloat and tracking.

Nothing like 3 paragraphs of text that requires downloading 2 megabytes of crap, runs code from 20 sketchy looking domains, takes 15 seconds to load, cannot be linked to, and demands you upgrade your browser. As a consolation you can have slightly slower maps in browser instead of downloading an app, once.

I think web scripting is probably THE worst technology ever invented in the IT field. "If I ruled the world", a full ban would be better than its current state; or some AMA on steroids (+Jones act) making JavaScript developers extremely rare and well paid, so that it was limited to the best (as determined by the market) uses with better quality.
by roxolotl | 2025-04-27 19:57:31+00:00
Don't want to deny that your question, is it responsible for all of it, is sill undecided, however this issue is _likely_ due to similar changes in societal factors.

The Mental Health Parity Act passed in '96, and another passed in '08[0]. Together this leads to a significant increase in to those with mental health issues being treated. So while broadening of criteria might not be to blame for what you're discussing, the broadening of mental health care coverage might be.

[0]: https://en.wikipedia.org/wiki/Mental_Health_Parity_Act#Issue... [1]: https://www.ajmc.com/view/the-mental-health-parity-act-10-ye...
by skydhash | 2025-04-27 19:57:55+00:00
I get your point, but isn't this contingent on the colors and other properties being stable? I don't see why this can't be achieved with pure CSS instead of adding a (big) set of names as a layer of abstraction and then optionally pruning the build for performance.

Because consistency is achieved only at UI design time (see design system). Unless you're prototyping your design at development time, I don't really see the improvements compared with Pure CSS.

> style bundling an issue unheard of

But then you need to have a component system to have any benefit from that (if you're using the raw classes name from Tailwind). Which was easily done with just naming the component (class or ID) either automatically or not.
by netghost | 2025-04-27 19:58:39+00:00
I'm curious, how do you handle being in a partial state? It seems like it could be operationally tricky to have some users migrated, some pending, and some in an error state.

On the other hand, I could imagine doing lazy migrations as user or tenants sign in as a nice way to smooth out the increased effort in migrating if you can engineer for it.
by doublerabbit | 2025-04-27 19:59:24+00:00
> Also, java's dominance I guess was the reason that javascript is named after inspiration of java.

Very loosely, was named that was as an marketing ploy as Java was the new language at the time.

JavaScript is actually ECMAScript or a v.close direlect of. Originally it was called Mocha, and then relabeled to LiveScript and during the NetScape / Sun Microsystems thing, changed itself to JavaScript and Oracle carried it on from there.

It has some quite interesting history. https://en.wikipedia.org/wiki/JavaScript#History
by furyofantares | 2025-04-27 20:01:34+00:00
This is a nitpick because I think your complaints are all totally valid, except that I think blaming non-determinism isn't quite right. The models are in fact deterministic. But that's just technical, from a practical sense they are non-deterministic in that a human can't determine what it'll produce without running it, and even then it can be sensitive to changes in context window like you said, so even after running it once you don't know you'll get a similar output from similar inputs.

I only post this because I find it kind of interesting; I balked at blaming non-determinism because it technically isn't, but came to conclude that practically speaking that's the right thing to blame, although maybe there's a better word that I don't know.
by Imustaskforhelp | 2025-04-27 20:02:17+00:00
I think the problem is, I feel like most ads are so empty,hollow & fraudful on the internet...

I am okay with ads, if they aren't all the above.

But I don't know what the Algorithm overlord serves me as an Ad, so I use Ublock Origin.

I actually think ads should probably be changed from paid promotion to actually use that money on such a good level of ad that even if you release it as a standalone video for example, people would want to watch it.

And I think people are doing it, I still listen to this Splendor Song Chalta rahe because of how great the music of this ad is.

But Most ads are of frauds trying to sell you a get rich quick scheme etc. (atleast I feel like every ad wants to sell me a course?), and I don't want to be the fraud's shitty course's next victim, I hate such course sellers so much that I kind of want to punch them through the video just thinking how the whole economy of ads is generally revolving around these frauds..., and how they make money is by scamming innocent individuals.

All of this while building a privacy nightmare, a dystopia.

No thanks. I am going to keep ads off of any of my services to a higher level of degree though I do imagine that most people don't donate shit & I don't even think that in businesses, the real money are in normal clients because they require free tier and way too much hassle for like 10$?, but rather business clients (B2B).

Though I also feel this moral obligation to open source whatever I build.. but then businesses can simply self host it, maybe I should probably only release it as fair source?

IDK, the whole system boils down to money, I can be only so good a person as the constraint of money requires me to. If money is low, morality has a higher probability of being ignored... , IDK, there is too much competition, sometimes unworthy,sometimes not, but still too much competition on a lot of ideas and they have not much differences so they try to do ads...
by genocidicbunny | 2025-04-27 20:02:49+00:00
I wonder if perhaps the age when people become parents has an affect on this. Anecdotally, many of the people I know of my generation are having kids later than their parents and grandparents did. There's known correlations to different long-term health issues that we do know of that are related to the age of parents, so if there's a rise in average age of parenthood, it could be related?

Kinda spitballing here though.
by rsynnott | 2025-04-27 20:02:54+00:00
The longest high-speed line is 2,760 km (in China; Beijing to Kunming). I actually don't think an LA to NYC line is _that_ absurd an idea; at 350km/h you'd do it in 11 hours (in practice somewhat more with stops). But east coast and west coast lines would be more plausible.
by autoexec | 2025-04-27 20:03:04+00:00
> If you're not a criminal or a human rights activist, the government is probably not pointing its secret spying equipment at you

If there's one thing we know for certain about the US and domestic spying it's that they're targeting literally everyone. They were caught copying all internet traffic going over the AT&T backbone in the early 2000s and decades later Snowden showed us they never stopped pointing their secret spying equipment at us. The best you can hope for is that if you don't become an activist or commit enough crimes they won't pay much attention to the massive and ever-growing troves of data they have on you personally.
by Aurornis | 2025-04-27 20:03:43+00:00
The app says that credit card access will be available in the future “at least” in states that require it.

> This is an accessibility issue and as such should be illegal...

Assuming it was app-exclusive, you would have a hard time convincing anyone that someone might be capable of driving an EV on the road while also having enough of a disability to make it impossible for them to use a phone app.

There are already members-only gas stations such as the ones attached to Costco. This would be following the same pattern but with an app instead of a card, which is actually far more easy to acquire than a paid Costco membership.
by manmal | 2025-04-27 20:04:48+00:00
EV prices are just way too high. As a father of three, I can decide between a used BMW 2 which goes 1k km on a full tank, for €17k, and a Kia EV 7 seater for €70k. Guess which one I went with. There are some other, cheaper, EV models with 7+ seats (40k+), but they charge so slow and need so much power in winter, you‘d get max 200km out of them and then need to charge 1h.

Generally, most EVs you can buy in the EU are just 10-20k more expensive than their ICE counterparts, and incentive programs don’t make up for that difference.
by mindcrime | 2025-04-27 20:05:35+00:00
> Man you are almost the perfect "me" I wish I could be.

Heh. I don't think anybody has ever used the word "perfect" to describe anything related to me before. But if my example can serve as some sort of inspiration or motivation or something for somebody, then I've accomplished something useful in life. :-)

> I'm bringing my vehicle to a mechanic next Saturday (first maintenance not in the vendor). I'm going to ask him how to change the tires. So far I only changed the driver swipe so there is a lot to learn.

No worries. As the old saying goes "start with where you are." One great thing about the age we live in, is that there is SO much knowledge "out there" to be consumed and large swathes of it are free. When it comes to, for example, auto repairs there are so many Youtube videos detailing step by step how to do many, many of the common (and some not so common) repairs one might be interested in. And so on for a myriad of other interesting tasks. The only thing I'd specifically add is that if you ever start doing any serious auto work, really really put "safety first". If you need to get under your car for any reason, make sure to use jack stands (and get quality ones, not from Walmart!) and chock the wheels so the car can't roll, etc.
by pkulak | 2025-04-27 20:07:01+00:00
Very true. My first EV went about 80 miles, in the summer. Fast charging was the name of game! It was the difference between the trip being possible or not. Now I have a car that can go 350+ miles in the summer (280-300 in the winter) and I basically never fast charge it. I guess we don't "road trip" much, but we do drive around our state quite a bit, and 300 miles is just so much range. We went to the coast last weekend, my son asked how the charging was, and I replied that I hadn't bothered to look because it wasn't at all needed. It almost takes the fun out of it.