skysight-inc/HackerNews huggingface dataset:
My bet is that as soon as someone popularizes a way to manage state across a set of web components the pendulum will swing back to the “Vanilla JS” approach. It’s so nice to work on web apps without having to install NodeJS, builders, cli tools, and so on. And it encourages software engineers to learn the web platform APIs instead of learning frameworks.

HTML and CSS are actually quite nice to work with, given modern browser developer tools. Much simpler to work with when they are literal files.

It wouldn’t surprise me if people continue to compile other languages to JavaScript or WASM though. It seems reasonable a Java developer might like to work in Java or a Ruby developer in Ruby instead of writing JavaScript. But I don’t understand how people feel confident writing web applications if they don’t take the time to understand CSS, HTML, or the browser APIs.
React people think it doesn't, and apparently that is what everyone should be using...
The best thing with parameters in PS is what you don't need to write parameter name fully, and it is supported everywhere, while only some *nix tools support it (most notably 'ip')
It's useful to show to people who don't understand AI. There's a mental effect similar to "the computer is always right" where people will see AI doing something and assume it's some engineered piece of software running an algorithm. This kind of thing can help remind them that all AI can really do is generate convincing looking noise.
StarFox dev explains how cut features make better games
It is one of those experiences people ruminate about on their own about but this post has given us an opportunity to talk about it with others that experience the same.
It is a great principle. Great benefit, easy to upkeep

I have no idea why most companies don't install this principle since the beginning.

I basically assume every email and slack message would be public at some point.

It is a bit extreme but it doesn't require that much effort to maintain such principle.
Parsimonious is quite nice.
> At this point, we still barely even understand

If one believed that e.g. Reasoning can be spawned as an emergence, then Reasoning should be a specific attempted result.
"Understanding" is just as difficult to define as "intelligence". Any outward sign of understanding can and will be shown by a sufficiently complex artificial system sooner or later.

The human mind is not qualitatively different than sufficiently complex software that imitates it perfectly. Unless, that is, we return to the idea of body/mind dualism which is 200 years out of date.

People keep being disappointed by these results because magic tricks just aren't as impressive if you know how they work.
I recently got into stories generated by GPT-3. What I notice is that it seems to be missing an understanding of state that causes constant inconsistencies.

For example, a popular Youtube video has a battle between Link and Kirby in it: "He finally releases the Hylian Shield and lets Link be engulfed in a massive fireball. When Link is reduced to a pile of ashes, Kirby is victorious. Kirby wins the fight to the death. Link stands there, dazed by the attack."

Most of that actually sounds pretty darn good and even sounds written by a human. It's to the point where there is a sensible structure to the story because the AI is getting the relationships between words. Massive fireball -> pile of ashes -> victory -> wins the fight to the death. That all looks good. The problem is that "Link is reduced to a pile of ashes" should put Link into a "dead" state, and when in the "dead" state Link can't stand and be dazed.

The problem of course is that the computer can't understand all of this. It can understand that there is a probabilistic link between "pile of ashes" and "fight to the death" so after writing the first it is much more likely to write the second. But it still doesn't understand what "death" actually means. I've thought for a while that neural nets alone aren't going to solve machine generated speech and that the real solution will be some sort of hybrid between a neural net and some sort of finite state automata. The finite state automata could then put a character into a "dead" state and know that when in a "dead" state they can't "stand" or "be dazed."

Source:
(Video by DougDoug where he manually sets up battles between characters with a few paragraphs and then lets the AI generate the text of the battle. Sometimes it makes sense and other times someone's face will turn into a button or their eyes will shoot lasers)
https://www.youtube.com/watch?v=PwY-jVSM-f0&t=2835s
Nothing stops companies profiting from GPL software. Red Hat built an entire company doing so.
And RMS was right again.
Merlin also supports renaming symbols in scope, showing the type of an expression, go-to-definition, and more. I wouldn't want to live without it.
No, there's a space in there too!
Yup, always seems to take a bit more conscious effort to remember that detail for find.
I've yet to see a Tumblr site that didn't have working autodiscovery. But maybe I just haven't seen a custom-enough theme yet.
They work fine for years, you just need to put them away for a while and the blade will literally rearrange itself to be sharp again.
Echoes of Alan Kay's recent comment on how software devs are way too concerned with the how the computer works to the detriment of what the software is supposed to do.
I'm not a big OS X user, and I'm unsure if sharing my own blog post is allowed, but combing skhd with yabai changed my entire workflow on osx.

TLDR: use yabai to manage windows and skhd to bind key bindings to yabai commands.

https://www.greghilston.com/post/tiling-window-manager-on-os...
I can’t speak for myself but my friends who lived in the tier 1 cities like London, NYC for work have all moved back to our hometown (DC). It’s good to return to where you have family, and friends from a preexisting social network.

So if you moved to the Netherlands just for a good job, then perhaps consider moving back to wherever is “home” and continuing to work from there. It might take a little negotiation but it would be worth it for your health and happiness.
Love this. Reminds of when I spent countless hours using a webcam to scan in all books, movies, and games to Delicious Library[0].

[0] https://delicious-monster.com/
Thank you , animal products are artificially cheap.

If say meat was a weekly thing most of us would be in way better shape.
Great idea!

By the way, on the newest safari it doesn't work properly. I tried it then out with Chrome, and no problems there.
I switched to double-edged wet shaving years ago. Not mentioned is that they also are a better shave, and less prone to causing ingrown hairs / bumps. A 100-pack of Astra platinum blades costs me 10 bucks, and lasts 3 years.
I just use my clippers and call it a day.
> If you're developing a single page react app, I don't think you care about the back button.

You should though. One easy way is to use react-router. e.g. going to /profile renders the Profile component. Then navigating to /dashboard renders the Dashboard component. Pressing the back button will take you to /profile.

Another pet peeve of mine is people using internal react state when they should just use path or query params to make it transparent and easily sharable.
So cool! Would be nice to make the color of the edge match the dominant color of the cover, somehow
I'm being a bit pedantic but

> Misconception: "The browser decides to send cookies."

> Wrong: A browser, or user-agent in general, will never invent a cookie out of thin air, and therefore it never sends a cookie unless it has been set by the webserver beforehand (either with an HTTP header 'Cookie' or with JavaScript code).

These statements are not mutually exclusive and are in fact both true. Browser would not "invent a cookie out of thin air", but it also "decides" to send a particular cookie and there are various configs, switches and decisions (either directly in browser code or extension) which determine if cookie gets sent.

Other misconception answers sound right to me.
> The natives never fought amongst themselves for resources or territory?

Of course they did, but they had forms and traditions that limited the (excuse me) savagery of their conflicts, for example "counting coup":

> Among the Plains Indians of North America, counting coup is the warrior tradition of winning prestige against an enemy in battle. It is one of the traditional ways of showing bravery in the face of an enemy and involves intimidating him, and, it is hoped, persuading him to admit defeat, without having to kill him. These victories may then be remembered, recorded, and recounted as part of the community's oral, written, or pictorial histories.

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

> No victorious tribes ever enslaved or murdered their defeated foes?

Generally, no. Even N.Am. "slavery" was very different from, say, Roman or later (Euro-)American slavery of Africans.

IANAAnthropologist but it's pretty clear that Europe was a much more cruel and savage land than North America, at least (I don't know as much about Central and South American cultures.)

> This whole idea of conflicts between ethnicity and tribes and nations, master-and-slave and hierarchical societies is just some weird European pathology that, like smallpox, was unknown in the Americas pre-1492?

They had conflicts, and hierarchy, and even in some societies a kind of slavery, but nothing like the brutality, cruelty, and savagery of the Europeans.

Again, I'm not an expert, but as I've looked into it, I've come to see that Europeans pretty much were "infected" with hardcore trauma and resulting psychological repression and etc.etc. Freudian, etc... plus bad religion. I mean, the Spanish Inquisition much?
Something I’ve wondered: Since website access is a pull (client initiated) action, can you straight up decline a visitor if you aren’t allowed to track and capitalize on them?

I have run ad supported services in the past, and I could easily see how non-identifiable traffic might actually have less than a zero value to my operation (as in, they’re costing me money to service).

The biggest difference between a spam e-mail and website access is the client is actually making the request, the website isn’t pushing itself on you.
Not to nitpick, but more for other readers that want to read more, the term is "safety razor"
Nowhere do they discuss an actual IQ test!

Last I checked, even the largest models fail hard on IQ tests, both visual and verbal.

Of course they do find the underlying issue that benchmarks often don't test as much as we think they do. I've been told that people used to think that a chess AI would have to match human intelligence!
Very cool! I might borrow some of your ideas and implement them on my own reading log (https://edmundo.is/reading). Right now it’s just a list of all books I have read, but I'm working on implementing filters for genre and year (year only shows on hover for now, or by tapping the book on mobile), and maybe breaking the grid by year like you have!
It is, however, hard to find these sorts of razors. If you go into a shop to buy a razor, you will almost certainly not be able to buy one - but you will be faced with a wide range of very similar cartridge razors. The double edged razor has become a product that you can only buy on the internet, and which you will only buy if you know that it exists.

This was true -- in about 2010. My local CVS has three or four DE razor models available plus packs of blades, and has for several years now; it's been interesting to watch the market switch.

I stopped razor-shaving a while ago, and just use a corded trimmer without a guard to set neck and cheeklines when i trim the rest of my beard.

edit:

In fact, a lot of examples listed in this piece have a similar pushback story. This is encouraging!

- cast iron pans are ridiculously available, cheap, and heavily marketed.

- shaving soap pucks (and bar shampoo, upscale bar soap, etc.) over body wash are pretty hyped at the moment.

- 2.5 kilo bags of loose-leaf brand teas are available widely (taylor's of harrowgate, etc) as well as from more specialty shops.

- everyone i know shits on pod coffee machines (though they are widely used, alas; some shifts towards compostable pods have been made)

- retrogrouch cycling, which never left, has been boosted with "party pace" cycling advocates. eTAP is certainly here to stay, but quality mechanical components are and will remain widely available.

smart TVs, food deserts, and bullshit food subscription services are harder to rebut :/
I've used a straight razor for almost 20 years. Vindicating to read that the price of a Dovo pays for itself. I think my bar of shaving soap is probably the better part of decade old as well. In the interim, a whole peculiar subculture around shaving has developed, but you don't have to be a part of it to just use a razor. Makes you unreachable by corporate marketing as well, which is itself its own reward.
Maybe this is why beards are popular again?

Anyhow, as a bearded man, only trimming/shaving the edges with a razor, a pack of razor blades lasts me probably 3 months.

Also on the double edge vs cartridge, as another poster mentioned, cartridges are foolproof and give a good shave.
> seems like teenagers and bots arguing with it each other

Yeah that helped me with getting over the addiction. Most people dont care about your opinion, you aren't going to change anything, if some dumb teenager thinks they're smart (even though they're wrong) just let them be.
I bought a double edged saftey razor in my local Muller store (similar to cvs), it's a cheap King C. Gillette razor, I think DM also has them. Maybe a sign of a comeback, although certainly niche. I nick my self all the time, but I don't mind. Ordered a variety pack of blades on amazon as well, it will last for a while.
Covid-19: the next phase and beyond
Whilst it's easy, simple and populist to blame a tiny [x] group of people for all that is wrong with society, it does not have a good historical precedence: try asking any Germans you know!

More difficult is to acknowledge the huge middle-class that has been created as a result of globalisation over the last decades.
shaving with a double edged razor is virtually free after the initial small investment.
For what it’s worth: That’s not what motivated this blog post. It was that I often encounter people who see the three dots being used in parameter definitions or destructuring and don’t understand what is going on (because they think it is spreading). The section on triple dots not being operators is more of a side note.
As I recall from a long ago experiment in school, a lot of the "wear" on a razor blade is actually corrosion. So it may actually be possible to extend the life in various ways.
He has an H370 which means at least an 8th gen Intel or newer. There's TPM built into the CPU since Skylake and the motherboard should have an option to enable it if it supports regular TPM (usually there's a discrete TPM/fTPM option).

It's a nice DIY but completely unnecessary.
In both ZFS and btrfs, at initial setup you can create an extra dataset/subvolume of 1-2GB or whatever and leave it unused. If you ever fill up root and run into problems freeing up space on root, you can unallocate that extra volume and add it to root to fix the problem.
As a bit of a tangent, the Jones Act also has a very negative impact on Puerto Rico. Puerto Rico is an incredible US asset that’s undermined by parochial special interests.

https://www.vox.com/platform/amp/policy-and-politics/2017/9/...
it sounds sort of wild to expect there to be diffing! why do you have to generate a whole copy of the stuff instead of just telling the browser what changes to make? bonus: the existing apis instead of one that don't exist yet.
> that nobody can ever remember

These have gone a long way for me:

tar xzf <in> eXtract Zipped File
tar czf <out> <in> Create Zipped File

Anything more complicated and I have to google.
Ask HN: People who once struggled with severe procrastination, how’d you solve
People who once struggled with severe procrastination for years, who overcame it, what was your journey of how you solved it?

I’m talking about people who had this for likely a decade or more, and now it’s not a challenge for you and it’s been years of it being solved. How?
You could use this: https://www.geeksforgeeks.org/extract-dominant-colors-of-an-...
Show HN: Data Access Service – A new way of working with relational database
My facial hair is very thick and realistically I can use any type of blade at most once. I used to use Gillette blades, but at the advice of the Internet I switched to double edge razors.

The Internet claims this type of shaving is best, not just in terms of cost and enviromental impact, but that it reduces irritation and produces a closer shave.

After using a double edge razor for over five tears now, let me dubunk these claims. They are 100% grade bullshit. They don't produce a closer shave, not even close, and they are way, way, harsher on my skin than Gillette disposables. Maybe my skill in using them just sucks, and for other people these claims are true, but here's the thing, the Gillette cartridges are foolproof. They are more convenient in every way, you can actually fly with them, and you can use cheap shaving foams instead of hard to get shaving soap. And of course, they are much, much quicker to use. I can shave with disposables in less than five minutes, but using my double edge razor takes me around 20 minutes.

I still use my double edge razor because I like the feeling of accomplishement I get after I manage to get a decent shave with such a primitive technology, but anyone who claims double edge razors are "better" is simply insane.
Extensible Storage Engine: ISAM-based database engine
These shavers are why I now grow a goatee. Even a goatee will cut your shaving costs in half, beards much more.
Obligatory Onion satire on the subject:

https://www.theonion.com/fuck-everything-were-doing-five-bla...
Object Pascal is a very good C++ alternative that has been hiding in plain sight for quite a while.
Non reusable 'cartridge' razors (not sure if this is the right term), seem to be cheaper than the reusable ones, at least here.
Disposable Gillettes have lasted me the longest with the least headache. more than 3 blades is insanity. I bet I get 25 shaves on a razor. not eco friendly but the plastic handle waste is minimal for 12 a year.
PocketTube: A brand new YouTube Experience
Most types of profit are immoral. Providing housing is at least genuinely clearly useful.

Manipulating people to buy stuff they don't need (advertising, marketing, hollywood) is immoral in so many ways. Weapons are very questionable, massive markups on basic stuff (cosmetics) etc etc if you go on about 80% of our economy is actually immoral. Even foods which are a basic good, are generally bottom dollar hollowed out poisons compared to what they could be if health was the primary concern. Don't get me started on the corruptions of profit to the medical process.

I don't know what your problem is about housing but it seems out of perspective if you're not going to campaign against profit from just about everything.
Americans like to believe that social democratic countries just conjure up more stuff for everyone by means of politics, so they can have more benefits, or that they actually take it from the rich.

In reality it's a really tough compromise where it's the working middle class that pays the price for the equality, and then people are not so interested anymore for some reason..
Question: Why aren't there ceramic blades razors. You know, the knife blades that will chip before they get dull?
My biggest beef is the lack of AST output generator after defining the TOKEN input parser for a lot of Open Source parsers.

It pertains to counting duplicate nested blocks as well as enforcing 1+, 1:M and N:M combinatorial of syntax block.

I once did the entire ISC Bind9 named.conf parser into PyParsing (named is a handrolled parser, not a Bison/Flex).

But it cannot do N:M nor enforcing 1:M.

So, can TatSu help with that AST-output part?
I bought a traditional "safety razor" 15 years ago, and haven't looked back since. No more razor burn. I shave regularly and got somewhat dense and coarse beard, yet I spend less than $10 a year on blades now, down from about $100 when I used disposable Gillette cartridges.
At least one of the two characters will be disabled, and possibly autistic.
I'd argue that the 808 kick drum is the most iconic sound with the cowbell being a close second. I do love that cowbell, though!
depends on your beard hair, mine can blunt a razor after 1/2 of my face... I stopped using razors about 10 years ago, not just trim to stubble... shaving sucks
Ah, oops, thank you! :D

(In German it's called "Sicherheitsrasierer", literally security razor, mixed that up)
Ask HN: Best Productivity Techniques for Developers?
Anyone find techniques such as the pomodoro technique, useful for development?
Hi HN!

There were an old thread on HN years ago asking people what they prefer, raw SQL or ORM?

https://news.ycombinator.com/item?id=16809620

There were people suggesting "Raw SQL is always better" and people saying "Use an ORM. There's just no reason not to.", as you may expect. However, regardless of the choice you make, you code it in your application with the language you choose for the application, which I think is the root cause for the awkwardness of working with relational database.

Data access service is different. You compose it in its own database-centric environment, and deploy it as a backing service to your application for data access.
More importantly, data access service is standardized, declarative (with SQL and JSON only), aggregate-oriented, transaction-less, tool-driven and cloud-native,
aiming to bring a change to the way and the experience of working with relational database.

If you want to read a bit more about data access service, here is my site:

https://www.backlogic.net/

If you want to try it, here is the link for installing Service Builder, which is the tool for developing data access service, and is a VSCode extension.

https://marketplace.visualstudio.com/items?itemName=BackLogi...

Once you have it installed, open the Getting Started tutorial inside, start a try session with TryWithoutSignup button, and go through the steps of creating query, SQL and CRUD services.

At the moment, it is just a POC. Please take a look, try it and see how you like it or not like it. Your feedback is greatly appreciated either way.
It's a testament to the progress in AI/ML in the last 5 years that we're now at the point where we're having to examine what human intelligence is. Every time AI surpasses a previously set benchmark, we raise the bar for "intelligence". This is not a complaint either, we should be continually raising the bar.

In time I think the consensus will become that human intelligence is 98% pattern recognition and 2% magic sprinkled on top. Our best pattern recognition algorithms are already at human level. Previously a common criticism was that ML algorithms only applied in narrow domains, e.g. CNNs in computer vision, language models on text. Transformers are increasingly becoming multimodal and general purpose, so previous criticisms are becoming less relevant.
Logically speaking the only sure way to solve it is to forget the concept of time opportunity cost
Shoes with white along the bottom. What a scam. What putty the mind of the fashion hive is.