skysight-inc/HackerNews huggingface dataset:
Can someone genuinely explain to the the desire/interest to use HTMX/Hotwire/LiveView etc?

I was writing web apps when rendering templated HTML views on your server was standard, and you had controller endpoints that returned HTML content, or things like Rails "Unobtrusive Javascript" where you had code like:

$(‘#user-list’).html(“<%= j render(‘index’, users: @users) %>”)

As an automatic callback to some action.

Whether or not you love or hate this model of development is irrelevant, because if at some point you need to render on a client other than a browser -- you have to start from the beginning and write an API now.

IE, so that your Android/iOS app in Java/Swift or whatnot, can ask your backend for data and render it using the tools available on that platform.

When we turned apps into pure API's and just exchanged data with them, it opened up the ability to be platform-agnostic.

I guess I don't understand why someone would choose to build an app that sends HTML over the wire instead of JSON/XML/whatever, that any client can render. All it means is that you have to write this functionality later when you want it, in addition to now having this HTML stuff.
> And then, we get into the business of telling Europe whether they should put up with higher natgas prices because we have an opinion about nordstream II.

There are more than enough voices within Europe doing that already. The US simply adds to the mix, not in opposition to “Europe.”

https://www.europarl.europa.eu/news/en/press-room/20210119IP...

> Following years of deteriorating relations, MEPs stress the importance of critically reviewing cooperation with Russia in various foreign policy platforms and on projects such as Nord Stream 2. They call on the EU to immediately stop the completion of the controversial pipeline.

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

> The Nord Stream 2 pipeline was also opposed by former Ukrainian President Petro Poroshenko, Polish Prime Minister Mateusz Morawiecki, former U.S. President Donald Trump, the European Council President Donald Tusk and British foreign minister Boris Johnson.[179][180] Tusk has said that Nord Stream 2 is not in the EU's interests.
> or it could recognize that it is running in a VM and change its behavior.

Agree. I would go even further to state this probably comes pre-installed on any computer using it but anyone allowed access is only as standard user with the root user locked (maybe as standard user you do get monitored?)
> Most of my family lives in Virginia and all of them except for my father voted for Biden and then voted for Glenn Youngkin as governor. They are working class people and have developed an increasing contempt for the Democratic party they voted for 12 months ago. They voted for him because they wanted normalcy and he's instead embraced the radicals who advise him. I have both Latino and Filipino in laws, and he has lost all of them.

I am genuinely curious here: What did he do wrong? Which radicals advice did he listen to?
You can recompile package from source to support installation into `~/.local` (see `man 7 file-hierarchy`), but burden to support this will be on you, including updates, protection from malware and viruses, firewalling, and so on.

For example, rust's cargo can compile and install applications into `~/.local`, but it's pain to keep them up to date, so I prefer to use same tools from my OS (Fedora) distribution repo instead.
Thank you for that - I'd recently read A Crack in Creation and thought the same question you had posed.
Someone just mentioned browserbench.org to me and I tested my work iphone 12 mini (score 212) versus my personal moto x4 with a Qualcomm Snapdragon 630 (11.x score).

So this benchmark tells me the single-core JS performance of the iphone is 20x that of my just 2 year old phone. And you know what? I didn't notice it was supposed to be "slow". I don't have a comparison to the Pinephone and I'm too lazy to look now but if I, a casual (normal?) phone user don't notice this weak cpu, what else might I not notice?
https://www.bbc.com/news/world-asia-35188570

>>The watermarking function...
ClojureScript is ZimTiks secret sauce
Dart: Mission to smack Dimorphos asteroid set for launch
i hope google/facebook and others leave europe. It would give room to newer/better companies. But ofc, they will never leave. Too much profit in europe.
“For professional thinkers” came off as kind of douchey to me. So because my job expects me to actually do things, not just think about them, it’s probably overkill for me? Meh.
>> Ironic, a few days ago, I argued for the use of Fork-join parallelism in most cases (aka: Kernel launch / synchronized kernel exits). Now I find myself arguing the opposite now that we have a topic here with missing atomics. Like... atomics need to be used very, very rarely, but those rare uses are incredibly important.

Did you read my post? Or did you just start counter-arguing me without seeing my full statement?

Most people dipping down into a GPU for parallelism will probably run across a globally-consistent read/write across some data-structure. Especially because things like gemm already have high-performance libraries and there's no damn point writing yet another gemm (unless you're some kind of super-performance expert, the standard libraries are probably way faster than what you can do)

EDIT: If you are going to rely upon global kernel synchronization, chances are your code would work with CUDA Thrust (aka: GPU-accelerated data-structures) rather than dipping down to CUDA directly.
As noted in reply to that comment you skipped the part that is really the meat of the question.
I'd guess the DOS version is the one that stuck around the longest.
>>>tax the rich to fund social security systems worth their name and actually usable public transport

If you not only taxed the rich but confiscated the entire net worth of the top 1%....it wouldn't even fund the Federal government for 10 years ($41.5T vs ~$4.5T).[1][2] That's barely two Presidential terms. What next?

[1]https://www.cnbc.com/2021/06/23/how-much-wealth-top-1percent...

[2]https://en.wikipedia.org/wiki/United_States_federal_budget
I've recently started opening up to more people about this in my personal life. Like many others on here, I've worked remote now since March 2020, and the lack of interpersonal interaction with others during my work days has taken a great personal toll. I still go out with my significant other and see other people as well when we go out, but I've found it really hard to get meaning out of work when I don't see people. That, coupled with a move to a new city (to be closer to outdoor activities), has meant that I've struggled with feelings of loneliness.

I think part of the problem is that admitting this type of feeling is seen as personal weakness in men but perfectly acceptable for a woman to talk about. When men say they're lonely, it's often hard to find other men to talk about it with. I know that I'll get out of it because I'm pretty extroverted, but just thought I'd give my personal (and recent) experience with what this article is talking about.
There will still be Docker. It’s widely used in production by customers, including as part of other AWS services.
Not sure why you're getting downvoted. It's a real risk. For example, Saudi Arabia, which practices UBI [1] and otherwise transfers a lot of oil wealth to citizens, also is pretty low down on ratings of citizen freedom. [2] Many observers see it as Saudi royalty buying political compliance.

Given that the US is now on the list of backsliding democracies [3], and given the era in US politics where government money was used to cement political loyalty [4], any sort of serious UBI plan has to have a plausible story of how it won't end in anti-democratic corruption or worse.

[1] https://en.wikipedia.org/wiki/Citizen%27s_Account_Program_(S...

[2] E.g.: https://worldpopulationreview.com/country-rankings/freest-co...

[3] https://www.washingtonpost.com/world/2021/11/22/united-state...

[4] https://en.wikipedia.org/wiki/Spoils_system
What about antibiotics?
The new one sucks, but the old one sucks too imo. I know you don't say old websites were great but I've seen alot of people saying that and yet their examples are bad too, usually they look simple and efficient but they're horrible, like spanning the whole page or not enough empty spaces or bad use of colors.
It's Heroku, but for React.
Sell a dream to those with deep pockets and shallow expectations. The dream and equity sold is the product.
I'm not sure! As I say in the article, I kind of think of HTMX as "alpine for AJAX"
Jan 9th. The trial doesn't last that long.
> One thing not mentioned is cooking destroys the bacteria and it's toxin. I forget the exact times for temperatures, but it's something like 212F for 5 minutes or 180F for 10 minutes.

The article mentions this explicitly:

> To combat botulism in canned foods, it is necessary for all parts of the sealed can to reach an internal temperature of 121C, as this is sufficient to destroy botulinum spores …

> An alternative approach is to acidify the contents to a pH below 4.5 (although the effective upper limit is 4.2-4.3 in most production, just to be sure), and then apply heat up to about 91C to kill any bacteria… Although the spores remain intact at this temperature, the low acidity means that they will not grow into bacteria or produce their deadly toxin.

The latter approach is what is commonly used in “water bath” home canning. The former is also doable at home, but you need a pressure canner to get the water well above boiling.
I actually agree, we should put up more trade barriers that favor local manufacturing, in the form of a carbon tax. It would naturally make local/distributed manufacturing more cost competitive with foreign. Manufactured goods would get more expensive, but much of that increase would be going to the blue collar set in the US, they’d get a lot more leverage to push for higher wages. And a large portion of the tax should be distributed back to people to make it so it doesn’t end up being regressive.
God, this "smooth" scrolling is unbearable
And a lot of the complaints about both are very generalized. "Flatpack is bad package management technology" tells you very little about what is wrong with it.

Systemd was such an improvement over the existing speghetti for folks selling / supporting linux that it was a pretty clear takeoff.

Flatpack seems a bit more focused than snaps. The usability issues with snaps kind of surprising given ubuntu has usually had a good user focus. One thing, Fedora has their silverblue / ostree type distribution initiative, which may reduce their use case for using things like flatpack for printer subsystems etc (snaps seem more flexible). I moved off linux desktop a year ago though so not at all current unfortunatly.
I mean, this is demonstrating things the now dead PR2 demonstrated a decade ago, and even then it was nothing new. Since then there have been a string of startups just like this one that have come and gone.

This one comes to mind:

https://singularityhub.com/2013/10/24/willow-garage-spinoff-...

Also:

https://robots.ieee.org/robots/baxter/

These people sell robots that are in stores now:

https://www.badger-technologies.com

We'll see if something with an arm has as much success, but so far not much as evidenced by the graveyard of companies that have been trying. One will crack the code soon, maybe this one.
The webpage gives me exactly zero expectation that this will be in any way based on the original Winamp.

Furthermore, the original Winamp was Windows-only. For anything like this to be successful today it needs to be a webapp and/or a mobile app, which more than likely means starting from scratch.
Alpine should be able to do this by itself.
Don't miss https://webamp.org
Opt-in does not mean the data is inaccurate. It could be wildly off, but most likely it is in the ballpark, and there is a chance it's completely indicative of the relative usages by various platforms.

If you can provide better data or evidence where this is incorrect that help.
Charles – Web Debugging Proxy
The house of cards you are standing on doesn't seem to pass the "is it worth something to people who don't already have skin in the game?" contrary to the title of a house.
Beanie babies aren't worth much now.
Ask HN: How best to prepare for Java performance interviews?
I am an experienced Java engineer (5+ years). I know Java and JVM well enough to do my job that was usually around building microservices/apis etc, I know theoretical stuff well enough to pass core java interviews for senior positions. However, I am applying for a position that requires a lot more than that, it's to do with finance/HFT and they will be asking questions around lower level java I assume. I don't have a spec of what they might ask, I assume stuff around JMH, concurrency and JVM tuning, but maybe anyone know more and can point to the learning resources?
On re-examination, the search is BFS by the way.
Bitmasking in PHP
A third-party client that aggregates content from Instagram, Twitter, Facebook, and Mastodon, strips all of the ads, and orders posts in the order desired by the user will, in aggregate, be a game-changer.

Not being able to split-test reliably for all users will also have a huge impact for the walled gardens.
It’s not exactly free of side effects, but a lot of the adverse affects on mood come from doing it when you already feel bad and from sleep deprivation.
Amazon Linux 2 is still a supporter OS. When it was released we announced it had 5 years of LTS support. With the AL2022 preview, we have just announced what comes after AL2.

AL2 is less of a rolling release than AL1 was. AL1 had a new release every six months.
> If you play social games like MMOs you're pretty much forced to interact with others

That maybe was the case with the oldschool MMOs (Everquest for example) where you could do not do anything alone but nowdays you can pretty much play them as a single player game. FFXIV, WoW, GW2 etc. are incredibly solo friendly. You don't even need to join a guild or such there is automated matchmaking for most group content. You can play these games without ever interacting with any other players. And a lot of people do that because they care more about the world or story or things that don't need other players (see crafting, gathering etc.)

Heck even FFXI which soon will be 20 years old is solo friendly thanks to the NPC party members they introduced some years ago.
It takes a whole lot of alcohol to get the equivalent of that G zombie look. And the latter can easily kill you. GHB is not a panacea. It can turn people into animals.
Kind of, but need to access from other computers with browser. No need to handle high traffic.
Some excellent suggestions here.

For learning, exercism.io is amazing: they assign people as mentors to review your code, and I've had really good experiences while learning Rust, with feedback calibrated nicely to my level of expertise.

For how to think about algorithmic interviews, I always recommend this short set of notes: http://courses.csail.mit.edu/iap/interview/materials.php

For fun, try Advent of Code this year and see how far you get, and whether you like it. As @analog31 suggested, this might be a fun thing to do with his son.
Can you embed websites[1] inside Foam?

[1] https://www.ummm.co/#:~:text=embed%20websites%20and%20links%...
A successor that wasn't mentioned yet but is much more similar in goals is AIMP.
> I implore you, do not use these packaging tools. Don’t add their services to your Linux distributions, don’t use apps packaged this way, and don’t ship apps that use them. Mass containerization and alternate runtimes cannot possibly be the future of desktop apps on Linux. If this is really the direction it’s going, the future will be so shitty that we’ll all end up back on macOS or Windows.

As a long time desktop user, I've dropped Ubuntu for Debian because of this. At some point in the past Ubuntu seemed like it was going all in on snaps. I don't know what they're doing now, but I don't care any more.
This doesn't seem right to me, why don't astronauts suffocate on the International Space Station? You can pressurize air in a spacecraft, I believe the ISS is kept at ~1 atm.
Umm, if you don't know what Vercel is, tbh you're living under a rock. Its now the default way to host a webpage.
If I use alpine.js why do I need htmx still? I would use either of them but not both. Using both seems making a supposed-to-be-simple approach immediately back to complicated-again-now-you-need-two-components.

alpine increases client side interactivity, it can also do ajax to talk with server, why do I still need htmx then?

On the other hand if I use htmx I will probably use its hyperscript for interactivity on the client side, to be 'consistent'.

Note both projects are trying to make frontend simpler, mixing them seems not to help that goal to me.
How can you possibly make the entire Web edge first? Would a precondition not be to capture all of the web traffic through Vercel first?
Yes, the point is that the user only has to write an interpreter, not a compiler, the compiler is automatically generated. See also GraalVM's Truffle interpreter or Souffle Datalog.
I don't think this is really true. There is a fairly stable core set of C libraries present on virtually any Linux distro with a desktop environment that does most of what any application needs in terms of system services. The basic problem is more what the parent was discussing: these are C libraries, and rather than using the FFI for their app language of choice and using these pre-installed libraries, developers would rather rewrite all functionality in the same language as their applications, and the Rust crate, Go mod, or Node package you find when Googling whether something exists in your language of choice is likely to be much less stable than something like libcurl.

Mac and Windows solve this by creating their own languages for app development and then porting the system services to be provided in Swift and C# or whatever in addition to the original C implementation. There is no corporation behind most Linux distros willing to do that other than Canonical and Redhat, but they're perfectly happy to just stick with C, as is Gnome (KDE being perfectly happy to stick with C++). Most app developers are not, however.

For what it's worth, Redhat did kind of solve this problem for the Linux container ecosystem with libcontainer, rewriting all of the core functionality in Go, in recognition of the fact that this is the direction the ecosystem was moving in thanks to Docker and Kubernetes using Go, and now app developers for the CNCF ecosystem can just use that single set of core dependencies that stays pretty stable.
Scroll to the bottom, find the llama, click it :)
https://exercism.org/ has been amazing for learning programming languages, I've taken the rust, golang and elixir tracks and they are very good at getting immersion into the language by getting tests pass. Especially the new version that was launched in September is really slick and you no longer have to wait for mentors.
Sounds like I'm misremembering the 80s then. To be fair, after a while the years do seem to merge together. :)
Sadly, unlike technology our social structures will never advance.
>Note that the app package itself is only 4.4 MB. The rest is all redundant libraries that are already on my system.

The author promotes avoiding this redundancy by using the libraries on the host. But maybe we should go the other way, by having only the bare necessities to run the OS installed on the host, and install all applications as Flatpak.

I agree with some things though. Different versions of the runtimes should share as much as possible, so as to consume as little space as possible, and libraries retaining backwards compatibility would help with this. And applications should target the regular Freedesktop/GNOME/KDE runtimes if possible, Fedora shouldn't be doing their own thing completely separate from Flathub. And we need to get applications to use portals and not allow them to declare file system access on install time.
Unreal. That's easily $100,000+ to make that video. The set and prop design team had a lot of fun. Then there are all the extras. The snow machine.

He should have at least pasted affiliate links to get himself an Amazon gift card or two.
True. This made me remember that I complained about the same thing when I founded and ran a competitor site in the late 90s/early 2000s. Of course, tomshardware is still around and I can’t even find mine on archive.org!
because you still want server rendered html? because you focus on building websites?

Being platform specific makes it easier to have a higher quality and integration on that specific platform.
I don't know enough about the SPR to have opinions about it in particular, but the economic reasoning in this phrase is a little funky:

> Putting these facts together, if the U.S. depleted all its sweet reserves in this folly, it would cover about two weeks of consumption.

The US doesn't need to deplete or even come close to depleting any reserve or resource to depress prices. The strategic timing of this announcement suggests that depressing prices is the real goal anyways: lots of Americans are going to be driving around for the December holidays, and 10-20% lower gas prices can make a difference.
It's an useful technique and I've already used it many times, but what do you do if there isn't enough genuine positive feedback for you to give to the person to make the constructive feedback more palatable?

I find it to be a bit of a crutch. I prefer instead to make the constructive feedback itself palatable and not "shit". If it's an opportunity for growth then I frame it as that. If it's just factual feedback without any harmful consequences for the person's career or employment, I make that clear. In those situations we should be able to give harsh feedback without making it unpalatable.

If it does have harmful consequences for the person, then it should be made clear and we should provide help to them (and frame it as just that, as help rather than as an accusation). If the consequences are immediate, then it isn't just feedback and should be dealt with appropriately.
My washing machine does a lot better job than I could. My oven is much more reliable at heating than I am at building campfires. My computer is much quicker at maths than I am. My TV is cheaper than going to the theatre.

Automation is great when it works well, we just forget about it when it does, so we generally only recognise the bad.
Lack of being needed.
https://en.m.wikipedia.org/wiki/Love_rose
It's astonishing that searching for a file name by substring across a file system is still not instantaneous on most systems. On my laptop (a 2GHz Quad-Core Intel Core i5), `find / -iname 'quux' takes 2 minutes to find matches across an APFS partition with 2m files. Grepping for a substring in a file with 2m lines takes
a few milliseconds. Why don't modern file systems implement something like the `locate` database, except one that is always up-to-date, so that scanning for a file does not require expensive traversal?
It boggles the mind that they didn't think to include screenshots in the repo github front page.
It's more that I've known friends who think it's appropriate to put 3oz vodka in lemonade and call that a single drink, or they don't measure at all and one drink has 1oz of vodka and the next has 2.5.

At bars you get pretty consistent pours, bartenders are watching for overconsumption and often for potential DUIs. And you don't, typically, have to worry about a bartender spiking a drink with something else.

All of that helps make alcohol consumption with strangers safer.

A lot of the drug safety education for alcohol boils down to knowing how much alcohol is in each drink, and that there's nothing else intoxicating in it.
Same is true for any stimulant, like legally prescribed ADHD medication.
There was an old-time "hacker test", one of the questions of which was "Ever change the value of 4? In a language other than FORTRAN?"

So I guess the answer here would be "yes" to both parts. Well done!