skysight-inc/HackerNews huggingface dataset:
I've tried these technologies ... and for me they are less productive than the ways I know how to build API-first, JavaScript web apps

I think I feel the same way you do, except the other way around. I genuinely can't understand how you build apps productively with a separate client/server model.

How do you do form validations? How about authentication and authorization? What about a consistent domain model? Is there one copy of it on the server and one on the client? Or does your client just treat everything as dumb data and make network requests for every question of business logic? What about data consistency throughout the interface—when you update e.g. Document(id=45) with new data, how does that update get propagated to every other place in the app? Does that involve a client-side identity-map? Or are you manually trying to send updated data to other places with callbacks/whatever? etc. for ever and ever.

Every time I try to build an app where the frontend and backend are split into a separate client and API, it ends up adding so many more considerations and so much more complexity than the traditional model. Mostly because now everything that just required a database query or method call before now also requires a network request, but also because data consistency in a long-running app is so hard to get right.
>>I looked into it and the temperature at which it is safe to hold food without risk of toxin production is 3°C and less.

The what now? My fridge at home is uniformly at 4C, surely that can't be dangerous.
This is not about comments on HN, it's about communication on their site.

I have enough experience to be able to know what it is from a quick summary, but I still don't quite get it.

It's an epic communications failure.

Vercel marketing team has created a huge problem on the funnel whereby a lot of casual / semi-interested visitors are effectively bouncing without having ingested a nominal understanding of 'what it is'.

Technology is not quite like brand marketing where 'Jordan / Kapernick / Yeezy' do the selling, it's generally something we need to understand in order for it to make sense. The 'aha' moment can only come after that.

Vercel does face the additional challenge that 'Next.JS' is not a widely known framework, and they have to additionally explain that, but it's not an insurmountable problem.

This is not uncommon in SaaS actually, but it is kind of ridiculous.

As a rule of thumb: if people feel the need to visit your Wikipedia page to understand 'what you do' - then the marketing department is acting against the best interest of the company, and is literally a source of confusion instead of clarity.
Would it be possible to build an autonomously-assembling modular space telescope, launched piecemeal, with each piece rendezvousing at L2 and bolting on to the previous pieces? The idea being to lower the launch stakes.
Wow, what exactly happened then? Is there anymore I could read about it?
What MP3 players? Windows Media Player with the MP3 codec installed on your system? I don't recall there being a lot of options for Windows, at the time.
Is this a Word Autosave, or someone aactually hitting save but couldn't be bothered to actually name the doc? It's clearly Word generating the filename.

I think it just goes to show that nobody likes creating documentation.
Well, sure. It makes it easy to do simple stuff and gets out of the way when you want to bypass it rather than being from the "sorry Dave, I can't let you do that" school of interface design.
Iconic and beautiful but there's no way there'd be that much green space. We can barely agree to prioritize green space on earth and it's outrageously easier here.
I may get accused of UI nostalgia, but I'm always shocked that the simple UX of winamp is not found on any modern media player (at least none I've found in 2021, on MacOS).

I just want to:

* Go to desktop and select one of more folders full of music.

* Right-click -> Play, or drag into the player. Either add or replace to existing file set.

* Select or de-select shuffle

That's it. Why is this so hard??
The biggest impediment to re-opening the public schools in my locale was the teacher's union. The local Catholic schools were never remote only and had full day instruction throughout the 20-21 school year. Any public school kids that relied on school for food, had special needs or had no internet were mostly SOL. Teacher's Unions do it f̶o̶r̶ to the kids!
It’s like you’re still ignoring the “Camaro from the dealer”.
The post quotes a comment from the Python source code for the dict object:

This is done by initializing a (unsigned) vrbl "perturb"

Is "vrbl" a term I should know, or just a prvrs abbrvtn for variable?
Yes, in order to increase their backwards compatibility Microsoft has, historically at least, done things like that. However, mostly they achieve backwards compatibility by just not breaking ABIs all the goddamned time.

Windows backcompat isn't perfect, true, but largely the stories of where it fails are exceptions to the rule. Where as you can't even have backward compatibility in a Linux Desktop with applications compiled for the previous version of the same distribution in many cases.
Thank you for your answer but also thank you for making me feel like I’m an old man.

I was in my last year of high school around the time you mentioned when I was experimenting with running Windows NT with a copy of Virtual PC.
This is a super valid answer, thanks.

Psychological bubble from the sorts of apps I build I suppose, I hadn't considered:

> It's useful for developing apps that simply don't need the sort of complex client-side interaction that those frameworks enable.
That sounds like what they did with the modules of the International Space Station, only bigger. :)
True, there are two kinds of people. People who will act on negative/constructive feedback and who seek it, and people who will be devastated by receiving it and will end up doing worse than they would otherwise have done if given positive encouraging feedback.
What 4-cylinder crossover is getting mid-20s (at least hwy mpg)?

Certainly a lot of these lil crossovers with natural-aspirated 4-cylinder engines can really strain to heft a bigger vehicle up from a stop (I'm looking at you, Subaru!), but once one is driving hwy speeds they are really quite fuel-sipping.
Seconding these thoughts, but also I don't think they're harsh. After a minute on the site I still have no idea what makes this different from writing Markdown in Notepad. If I really need the "horizontal time" aspect I can come up with a dozen ways of automating that with my text editor of choice + a bash script.

And, ugh, with Firefox running on Ubuntu, clicking the "Changelog" fires a prompt to download a "hotkeys.mp4". What?
There is no common/stable set of c libs. libc on one distro is different than libc on another (even just within glibc). It's why you generally can't run an app compiled on one distro on different one. You also at times cannot do this on a newer version of a distro and run it on an older version.
When a piece of software lists an rpm targeting Fedora or a deb targeting Debian, these are not just repackaging of the same binaries (unless they are providing statically linked binaries).

RedHat did not create libcontainer and it was never rewritten to go (it was always go).
libcontainer was started by Michael Crosby at Docker as a replacement to execing out to (at the time unstable) LXC, later donated to OCI (not CNCF) as a piece of tooling called "runc", which is still in use today. As part of OCI RedHat and others have certainly contributed to its development.
libcontainer lives in runc, and is actively discouraged to use directly because go is really
quite bad at this case (primarily due to no control of real threads), and runc's exec API is the stable API here. Side note: much of runc is written in C and imported as cgo and initialized before the go runtime has spun up.
That is not to say libcontainer is bad, just that it is considered an internal api for runc.

RedHat did end up creating an alternative to runc called "crun", which is essentially runc in C with the goal of being smaller and faster.

-- edit to add more context on development in OCI
$40 in 1970 would be $269.50 today. That seems like a luxury straw..

https://www.wolframalpha.com/input/?i=40usd+1970+in+2021
That's clean room reverse engineering, a rigorous method to make absolutely sure that the results are legal so it can't be questioned later. It's not a legal requirement and it does not prevent lawsuits. It just makes it more likely that the legal battle will be won.
> [Comparing HAS consumption to screen-scraping] That's hyperbole.

How does it differ, then? Do you have any code examples?

Based on your next statement:

If you're willing to accept clients which are hard-coded to some specific JSON structure, then we can accept clients which are hard-coded to some specific HTML structure

it does not differ, but you instead say that both approaches require hard-coded clients to consume programmatically, so they are equivalent.

If that were so, then another approach like embedding results in a jpg, would be equally valid since you just have to hard-code your clients to extract information from the jpg. After all the human can parse this so we don't need a bespoke client. From the perspective of theoretical movement of data from a to b, yes of course this is true. But from the perspective of an engineer consuming it, no, they are very different. And the difference is that entropy is proportional to developer pain.

I hope you try to be more rational and less ideological about your ideas. I'll leave it at that. I really like thinking about alternative architectures, but this one's appeal seems to rely on ignoring some very real trade-offs.
Nothing is easily weldable in space, and empty hulls aren't habitrail elements that you can connect into something useful (unless a lot of design goes into it up front). Even if the hulls were free, the cost of creating such a space station would be prohibitive.
"but I understand their reasoning."

It is not 'reasoned' and they are definitely not intentional in their focus, they have just put some scruff on a page that's confusing.

Companies fail at these things all the time because often there are no checks and balances.
Not to mention that people are highly functional while high on it. So there’s no downtime on when you can be high.
Except for all the headlines where this doesn't apply. (see here for data: https://en.wikipedia.org/wiki/Betteridge%27s_law_of_headline...)

So to conclude: 'Betteridge's Law of Headlines' is a useless concept.
Doesn't VLC do this?
Not during the last two years but ~2017 I quit and moved to a new city. It was a great experience, I eventually got a new job after 3 months that paid double what I was making before. Those 3 months off were such a breath of fresh air, and undid my burnout.

I kind of just explored the city every day, tried new food, got myself in slightly better shape, and formed some new habits.

Obvious caveat here is I was fairly young (mid 20s) with no responsibilities.
Priorities might change when you need all that oxygen simply to survive.
There is no apparent roof in Elysium, that's the difference.
How to get freelancer writing project to become freelance writer?
I know there are many freelancer marketplaces for freelancing like Fiverr but I'm looking for something different than this.
It's an unfortunate use of term, because while fizzy does mean bubbly and frothy, it can also mean unsustainable because the fizz in drinks never lasts.

Author should have / could have used the title "Tech Investors can't get enough of Europe's growing startup scene". Would have conveyed a much less bubbly / frothy / transient nature.
Black Friday and Cyber Monday Deals for Businesses in 2021
Sidestep and don’t engage with any labels. In my experience 99% of people who throw that word around as a pejorative can’t articulate what socialism is and how it upsets them. If you avoid any overt labels and stick to substantive topics, it’s very possible to have deep conversations with such people where they reveal they agree with some socialist ideas without even knowing it.
If it has a gigantic Amazon logo on it and delivers Amazon orders I wouldn't care that is some subcontractor. The blame falls on amazon
Monarto Safari Park, the Zoo where the program is taking place, has a fun history. You might ask yourself, why is one of the world's largest safari parks located in South Australia?

In 1973, the South Australian government started buying up huge swaths of land from farmers, with the goal of creating a satellite city for the state capital of Adelaide. They felt Adelaide was growing too fast, and to stop it from becoming a sprawling congested mess, they wanted a discrete satellite city for the burgeoning blue and white collar industries to expand into.

That never happened. The population growth stagnated in SA, and after a long tenure the politicians who had backed the scheme finished their time in office, and the planning department responsible was abolished. This left the government with over a thousand hectares of land in the middle of nowhere, with no plans on how to use it.

So in 1982, the Planning and Environment minister announced that 1,000 hectares of Crown land would become an open range zoo, and it has been developed into one of the world's leading conservation parks.

More recently, they've gotten more funding from the government and are developing the park into a more accessible location, which overall should help the park grow and help develop their conservation efforts.

I was put on to this story by this excellent youtube video, which contains some wicked footage of 70s and 80s Australia, and dives in depth into the urban planning aspects of this story and what the government had hoped to achieve with a satellite city, equally fascinating!

https://www.youtube.com/watch?v=8RW6-pw16dg
Easier to prioritise if everyone dies of asphyxiation without it, perhaps.
htmx is for syncing client side actions with the server effectively within the hypermedia model

AlpineJS (and hyperscript) are better for purely front end needs.

htmx and Alpine pair well together, as does htmx/jQuery, htmx/VanillaJS or, if you are brave, htmx/hyperscript
Like Biosphere 2? https://en.wikipedia.org/wiki/Biosphere_2

Improvements in space life support technology should have significant and positive applications on Earth as well.
Calling them 'the winner' of the market is just odd.

Calling them the winner right now is fine. They are winning.

They have not won though. The game is still on.
What do pro-oil-company people think about the climate? About the impact that continuing to pump record amounts of oil and methane from the ground does to the planet? About the lack of incentives to migrate from inefficient fuel consumption and towards green energy?

Don't spend money on nuclear, don't spend money on renewable, don't disincentivize oil consumption, fuck the planet because I won't be here in 50 years.

Listen, I know we can't snap back to 1800 technology, and that people need to get to work and keep the heat on. But it's one thing to complain, another to try to be part of the solution. So what do we do?
I find it hilarious they expected to waste massive amounts of expensive real estate to rear cattle in space.
"I don't see how randomly installing a Flatpak is any worse for security than compiling the source myself."

It's worse because you're likely to install more packages using something like Flatpak than you would by downloading random binaries or building from source. That wantonness isn't justified given the current state of security on Linux.

(I'm just regurgitating OP: "Flatpak and Snap apologists claim that some security is better than nothing. This is not true. From a purely technical perspective, for apps with filesystem access the security is exactly equal to nothing. In reality it’s actually worse than nothing because it leads people to place more trust than they should in random apps they find on the internet.")
A few years back, I implemented this as a Django CBV which worked quite well:

https://github.com/LibraryOfCongress/concordia/blob/main/con...

That handles a few things like pagination for list views, calling get_absolute_url() on objects in the template context which have that method defined, and running all URLs through request.build_absolute_uri().
yeah a lot of people are dying right now from fentanyl polluted cocaine, and it is fairly obvious from the reports but every thread goes the same way:

"its so insensitive to suggest this person I respected did drugs, how dare you!"

++20 comments of arguing

<toxicology article comes out>: It was fentanyl in their cocaine.

until this aspect of supply chain control gets taken seriously by the government without worrying about acknowledgment equalling condoning, the ignorance is going to keep perpetuating because the education was done so poorly. abstinence-only education doesn't work.
I came away thinking:

> Unless the Elden Ring demo condensed everything cool about the game into 1/12 the square mileage

Yes, that seems like the kind of thing you would do with a demo.
Foobar2000 is really good and can handle multiple playlists with TB's of music fine.
UN crowns nuclear as lowest carbon electricity source
Over the last fifty years, we see a steady decline in corporate taxes (from somewhat 48% in 1970 to 21% currently [1]), as well as an explosion of extreme wealth concentration - and complaints from actual billionaires that they're paying a lower tax rate than their secretary [2]. Correspondingly, we see a drop in investments in infrastructure [3].

How about you Americans go and reverse that trend? That won't need confiscation of the 1%'s wealth, but will massively improve the quality of life of the average American.

Regarding social security systems, follow the European model - single payer healthcare, no for-profit middlemen in administration gobbling up money for "bullshit jobs" - and you won't even need to spend any more tax money. To the contrary, European healthcare systems spend half the amount per capita than the US [4], with worse outcomes (as measured in years of life expectancy, [5]).

[1]: https://www.epi.org/publication/ib364-corporate-tax-rates-an...

[2]: https://money.cnn.com/2013/03/04/news/economy/buffett-secret...

[3]: https://fairmodel.econ.yale.edu/rayfair/pdf/2019d.PDF

[4]: https://www.healthsystemtracker.org/chart-collection/health-...

[5]: https://en.wikipedia.org/wiki/List_of_countries_by_life_expe...
> He told Landlords that they can't charge rent anymore -- he should just tell gas stations that they can't sell gas for more than $N/gallon

I strongly support this idea because the fallout will be so swift and severe that it will teach a generation of people to never do such things again.
From a sibling comment:

htmx is for syncing client side actions with the server effectively within the hypermedia model

AlpineJS (and hyperscript) are better for purely front end needs.

htmx and Alpine pair well together, as does htmx/jQuery, htmx/VanillaJS or, if you are brave, htmx/hyperscript
The Next ‘Lab Leak’
Lush quits Facebook, Instagram, TikTok and Snapchat over safety concerns
Peak hackernews hot takes right here folks
A better way to quell hate speech is to provide the tools for individuals to do it, however they want to define it. Call it a bubble construction kit.

If you think a post is hate speech, mark it as such to exclude it and its creator from your bubble. Allow other users to subscribe to your bubble, and visa versa, such that you share your include/exclude lists with them, out to a given degree of separation, with any exceptions you might list.

So I could add ACLU, NPR and SPLC and various friends, celebrities, and polticians to my bubble and share their exclusions, and you could add NRA, FOX, FedSoc, etc., to yours. We effectively each get our own bespoke hate speech filters while hosted on a common carrier. This is decentralized, scalable, hyperdemocratic moderation. People of all ideologies can peacefully share the same platform, singing Kumbaya in harmony.
We're in the PaaS space and we've recently went through fundraising - a good number of investors are basically just waiting and seeing on other PaaS solutions to see which one makes it to the top and then throw as much money at them as they can.
There's evidence that wine judging is less objective than most people involved in it seem to believe. I'm not sure that justifies calling it nonsense, or misrepresenting a study as showing that experienced people can't even distinguish white from red.
Audacious: https://audacious-media-player.org/

Offers a WinAmp-style UI, with skin support. Screenshot:

https://community.linuxmint.com/img/screenshots/audacious.pn...

It is actively maintained with the last release being this February.
It's another example of someone imagining a use case / future for blockchain that appeals to them. That's crypto's power, it's easy to read about it, imagine some particular utopian future it brings that deals with whatever problem you have with the current state of the world (usually that you are not rich) and solves it.

Ultimately these tools/tokens are competitors to the standard way of doing business with firms, and that alone is a good thing to have exist especially if the standard way of doing business is a problem for you (e.g. you are doing something illegal or need to change your money into something more reliable due to local currency issues). I don't know if that means crypto is going to be truly transformative beyond providing a competitor for these people who need one but that alone might be something big in good ways (you can protect your household's savings) and bad (ransomware is never going away).
Except then filenames containing your dates don't sort chronologically...

Just use yyyy-mm-dd, the ISO date format. And life becomes a little bit easier.
Good video: https://www.youtube.com/watch?v=_rBO8neWw04

TLDW: Stop using detergent packs, start using the pre-wash bin.
>when something has unintended consequences, the responsible party should own up to it

That's exactly what happened. You really should read up about things you seem to have strong feelings about.

The EU declared the "EU Cookie Rule" (the ePrivacy Directive) a failure, due to malicious compliance, and was one of the reasons the GDPR became a thing. Ad companies really shot themselves in the foot there.[0][1]

> Something needs to be done about these cookie dialogs the EU imposes on the rest of the world. What a stupid rule.

This puts the blame on the EU, not on the Ad companies doing this, which is where I 'extrapolated' from; there's not another intepretation of this phrase that I'm aware of.

[0]: This is where they say the ePrivacy directive has failed: https://edps.europa.eu/data-protection/our-work/publications...

[1]: This is where they detail exactly why the ePrivacy rules needed to be expanded: https://gdpr.eu/cookies/
Ranked lists skew decision-makers’ choices toward top option
Check also PHP-7 or 8's "open addressing" hash map. Beats the hell out of everyone else. Like C++ red-black tree default hashmap implementation taking 1.0 second -- vs PHP taking 0.5 second for the same dataset.

Here's the code I tested with.

php:

#!/usr/bin/env php
<?
$ret=[];
for($i=0; $i<5000000; $i++){
$ret["id.".($i%500000)]="val.".$i;
}
print(count($ret))."\n";
print $ret["id.10000"]."\n";

cpp:

#include <iostream>
#include <map>
using namespace std;

int main(){
map<string, string> ret;
for(int i=0; i<5000000; i++){
ret[string("id.")+to_string(i%500000)] = string("val.")+to_string(i);
}
cout << ret.size() << endl;
cout << ret["id.10000"] << endl;
return 0;
}

Rust :

use std::collections::HashMap;
fn main(){
let mut ret = HashMap::new();
for i in 0..5000000 {
ret.insert(format!("id.{}", i%500000), format!("val.{}",i));
}
println!("{}", ret.len());
match ret.get("id.10000") {
Some(val) => println!("{}", val),
None => println!("ERROR")
}
}