skysight-inc/HackerNews huggingface dataset:
Revolutionize your testing process with Zapple.tech! Our test automation service is your ultimate solution for seamless, efficient testing. Say goodbye to manual testing woes and embrace automation for enhanced productivity. Visit our website now to explore how we can optimize your testing workflow!
I see this in my own country. Amsterdam is expensive why not go to the countryside? Where it that easy.

Restaurants, clubs, drug dealers, ordering your coffee at Starbucks in English not Dutch- all the things you want as a high rising young urban professional is in the city. So if you actually want to attract this talent you cough up the ridiculous amount of money for the privilege of the city.
Bike leasing is a thing now. Here in Berlin, I've used Swapfiets for a while. You pay something like 25 euros a month and in return you get a decent bike to ride (comfortable, 6 gears, good brakes, etc.). If there are any issues, you just go to store and get a freshly serviced one. Zero hassle. I've done this for minor rattles, the gears feeling a bit loose, etc. They actually remind people to come in for a fresh bike once in a while because they know these things need maintenance.

You end up spending about 300/year. And for that money you have no need to worry about repairs. Or theft. These things seem to be immune to being stolen. Both those things are big issues because repairs are expensive if you don't do them yourself and bike theft means you need to replace them (or pay extra for insurance) when that happens and it also means that using a nice bike to get around is risky.

With Swapfiets, I never worried about theft. You just lock it and the bike thieves apparently ignore them as they are probably hard to sell on (as they are very recognizable). I've done that all over Berlin, including many of the hot spots where I'd normally be reluctant to leave anything of value unattended.
I worked with PHP XX years ago, and we didn't have that problem. I think that once you have access to a machine, it will always be possible to make direct changes. It's just that PHP made it easier, and in some cases it was also acceptable that the prod environment was temporarily broken until the developer undid their changes. You would just mess up a single page (or route).

Example 1:

I developed internal tools on a single server. The way I would do it was to have a personal folder on the server that I could use for development. Then I would commit the files to CVS which was the used for "deployment" to the main "production" folder. This worked well for me.

Example 2:

We also had a customer facing website where this practice was not allowed. We had proper build pipelines that created RPM packages which was installed by hand on the production machines.

My point is that there were many ways of avoiding editing the files directly in "production", even back when PHP ruled the world.
That sounds more like a "Doc, it hurts when I do this" problem though.
If you are building a product which is better than your competitor, then just ace 1 or 2 key-features, let your users ask for more, and they'll tell you what they need to take it forward.

IMHO, you just need to launch and get that feedback, and be very shameless about it, ask for it everywhere you can, inside the product, in communities, in DMs, and the user who sees the potential or likes your core-offerings will be more than happy to tell what's missing and what can be improved.

It's every easy to build things, it gives you the constant dopamine that you need at the end of the day, distributing things and facing the world wether the market really needs it is a tough job. YOU NEED TO DO THAT TOUGH JOB. That's what's the most beautiful thing about building, people using it. Rest is noise. Money is noise.
`Then there are the "tortured phrases" that strongly suggest a paper has been substantially written using LLMs. A recent conference paper on statistical methods for detecting hate speech on social media produced several, including "Head Component Analysis" rather than "Principal Component Analysis," "gullible Bayes" instead of "naive Bayes," and "irregular backwoods" in place of "random forest."`
> that effectively controls access

Not very effective, is it?

I assume this means something else in lawyer speak.
That's an option, though I think the amount of time cars spend at stop lights is so highly variable that it'd be hard to make that practical. Also, in-town driving is usually short range anyways. For that, having a 100 mile or even a 50 mile battery is plenty, and people can charge overnight at home. (And yes, ideally apartments ought to have EV charging stations.)

Where people are more likely to need the extra charge is on the long country roads between major cities. Probably a high priority could be on the major highways going into and out of cities, as those are the roads people are likely to use for long daily commutes.
Have you considered a commercial solution?

https://developer.massive.io/js-uploader/

Just point it to your local files, as big as you want, and it does the rest. It handles the complexities of S3 juggling and browser constraints. Your users pay nothing to upload, you pay for egress.

Full disclosure: I'm MASV's developer advocate.
The extension system allows you to interface with pretty much anything you could compile on the same machine. For quick development of wrappers or whatever, take a look at https://zephir-lang.com/en .
I’ll be here all year. AMA.
> recent WebP vulnerability

For anyone wondering:

https://blog.cloudflare.com/uncovering-the-hidden-webp-vulne...

> The vulnerability allows an attacker to create a malformed WebP image file that makes libwebp write data beyond the buffer memory allocated to the image decoder. By writing past the legal bounds of the buffer, it is possible to modify sensitive data in memory, eventually leading to execution of the attacker's code.
Hi thanks for details! May I know if this job support for foreigners? Maybe require visa sponsorship?
Well, if you're fighting some injustice, in some sense having more of it happen is "good", because it will make make your cause more public, and so has a better chance of reducing it in the future. These "warriors", as you refer to them, most likely don't wish for more violence, but also recognize that something good can come out of it.

This doesn't mean you should become cynical or suspicious of the cause, it's just how the publicity game is played. If you're far removed from the subject, it probably comes off as calculating and cold, but in reality it probably also feels very bad for the "warriors".
Simpler papers from a more refined time. Beautiful!
It’s interesting to read comment threads of people that are dead set against Typescript. It’s a tool that has very few downsides and that improves nearly every single line of code you write. Either they’re scared to learn something new, not willing to take the time, or misunderstanding how useful it is. For anyone reading these comments and agreeing with Typescript naysayers, I would think more about why the commenter and yourself feel that way. You’re putting yourself at a big disadvantage.
this code will run into problems with race conditions if the file is created after file_exists is called but before fopen is called
Right but all that was handled with stuff like XAMPP or some server control panel because it was all straightforward and if you don't use control panel all you had to do was to edit some .ini file.

That's of course for singe server applications. However, because everything is straightforward and built for purpose and not trying to pretend being something else, more complex systems were still easy to setup and manage.

The joy of coding PHP usually died off with frameworks like Symfony where they built complex abstractions for the pleasure of the "Enterprise" projects with many moving parts.
I’ve been hearing “Yes, PHP used to suck but it’s good now!” after every major release since v4. And even after minor releases during v5!

Yes, PHP 3 sucked, but PHP 4 is good now!

Yes, PHP 4 sucked, but PHP 5 is good now!

Yes, PHP 5.0 sucked, but PHP 5.3 is good now!

Yes, PHP 5.3 sucked, but PHP 5.5 is good now!

Let’s not talk about PHP 6!

Yes, PHP 5 sucked, but PHP 7 is good now!

Every so often I have to deal with some PHP code, and every time I see that, no, it’s still just the boy who cried wolf. It seems like PHP fans are all too happy to agree with the people saying PHP sucks… as long as it’s not the latest version. And suddenly they can see that version’s faults… as soon as a new version is released that they can tell people doesn’t suck. Maybe if PHP fans hadn’t spent the last two decades telling people PHP didn’t suck when it most obviously did, people would be more inclined to listen today.
Where I’m from we just call this hazing.
I pulled a rusted 2011 Fuji mountain bike out of the mud at burning man and spent the fall replacing every part on it except the frame, fork, and seat. I set up craigslist alerts for bike parts in my area, explored the local bike salvage shops, and found deals like a $35 dropper post that only needed a $6 bushing to be good as new. I installed hydraulic brakes with huge rotors, got the tires I wanted, and had an absolute blast wrenching on it while listening to Flip Bike videos on YouTube. I really found out how much I love wrenching on bikes that fall. After years of only road biking since my mountain bike was stolen and then I converted my new mountain bike to an electric city street runner, I finally had an analog mountain bike again and I built it all up myself. It was wonderful and the first mountain ride (my first in years) was transcendent.

But I’ve noticed that if what I want to be doing is be out riding my bike, I sure do hate it when something needs to be fixed!
Will you install a new systemd version on such an old system with wrong termcap/terminfo settings or attached to a physical vt100?
Powerful
I just think medical notes are something that you shouldn't be able to legally just gloss over. A simple typo in a dosage will kill someone.
Ezbson – a minimalistic Golang BSON serializer (contributions welcome)
91.86% slower on my Android phone with Firefox, so it definitely depends on which JS engine.
PHP is great, but you need to be a pretty decent developer to use it effectively.

It has a rather nice interactive shell, https://psysh.org/ . I've built non-trivial, non-web systems in it.

Concurrency 'within' the language isn't as nice as some alternatives, but the FCGI-style deployment is quite reliable and convenient in practice.
Shingeki no Kyojin is 100% a mecha anime. If you play Fur Elise on an electric guitar it doesn’t automatically become Rock’n’Roll, and making the giant robots out of meat does not change the fact trust SnK is full of mecha tropes, is structured like a mecha anime, and the characters treat the titans like vehicles.
If someone did this to me I would tell them to fuck off rather loudly.
Little Helper – An ESP32-based USB hardware display
Reading the rest of the pricing page gives me the clear impression that it wasn't free initially and then changed it to free recently and the rest of the text on that page wasn't updated. If I am making donations why do I need to be reassured that I can have a refund if I don't like it?
That "recipe" is completely unhelpful in explaining the method. It boils down to the author saying "it's a bunch of mumbo-jumbo I don't understand, therefore it's wrong".

But I largely agree that it's a stretch.

As far as I understand it, they discovered a correlation between phylogenetic markers in historical populations and the presence of these folktales in their cultures. Which is completely unsurprising, populations that mix genetics will share stories.

From this, they link "The Smith and the Devil" to the genetic marker ATU 330 (going back to the Bronze Age), which is the only story they could trace back.

> The Bayesian ancestral state reconstructions failed to support the presence of three out of the four tales that were tentatively inferred in Proto-Indo-European (table 2). However, the analyses reconstructed one tale, ATU 330 ‘The Smith and the Devil’, in this corpus, with a posterior probability of 87%. A fossil test returned positive support for the presence of ATU 330 (Bayes Factor 3.59).

It's not nothing, it's plausible, but I wouldn't call it "evidence".

> [we] find evidence that one tale (‘The Smith and the Devil’) can be traced back to the Bronze Age

Even if a story is correlated to a genetic marker, it doesn't mean they originated at the same time. Although it might be possible to infer that the story originated in a certain population before it got mixed with others, maybe. Is that what the paper is saying? I'd need more time with it.
There are tons of reasons an fopen() call can fail and sometimes you really want to know why; these pokemon exceptions don't give me that. And your code is racy as files can be created in-between the file_exists() and fopen() calls. Yes, this happens, and in some cases it's a security problem (which is why you need to use mkstemp and not mktemp in C).
The NYC subway ads
I agree with this, don't get too bogged down by what people here think, focus on your target audience. This is the crowd that would have passed on Dropbox because it's so easy just to use rsync.
This is awfully similar to how I feel about C# the language itself really feels like "improved Java" and making side projects was a joy. But, I realized that the vast majority of companies that use .NET are not tech first, meaning developers and software is a cost center, meaning there's little to no internal engineer culture or investment to the development department, and everyone just wants to "flip the burger and move on".
While patent protection expire in 20 years, but this absurd rule lasts an eternity? Not right! There should most definitely be a time limit in it’s applicability.
I’m going to make sure to photograph the NYC subway ads next time I see them
The nice thing about priorities is there can be so many of them, no need to really choose. I'm sure there are plenty of people at Microsoft who are saying, "right, security is their top priority, but mine is {profit, compatibility, promotion, market share, hobbling open source, promoting open source, offloading liability}.
Darkness is a social problem, and inclement weather a textile problem, but hilliness might be a problem lessened by getting them on a bike while they're still small enough to bounce? https://www.youtube.com/watch?v=rVFu2OgWQBU&t=120s

Fish may not need bicycles, but these humans are throwing tricks I'd never attempt: https://www.youtube.com/watch?v=D424_41uh3E&t=2422s

I never even managed a bootlegger reverse (although attempting to learn did teach me how to turn flying over handlebars into graceful dismounts), yet these women are getting over a meter of air: I'd call that enough to be chasing the clouds away.

(unlike netball, which is a female-dominated sport with the recent addition of mixed [and even male-only] teams, it looks like cycle ball started out mixed[1] but these days, from what I can find on YouTube, is played segregated[2]:

[1] https://en.wikipedia.org/wiki/Cycle_ball#/media/File:Liebig_...

[2] https://www.youtube.com/watch?v=ib0DhW1qGrU )
In combination?

The browser piece is doing almost all of the work against ad networks, isn’t it?

Which part of defense against ad networks does a VPN contribute to?
Microsoft bans US police departments from using AI tool for facial recognition
This is not good research, unfortunately.

It is impossible to trace back the origin of stories in our past without either written documents or oral traditions. Everything else is made up correlations and patterns.

A sentence like "The results of the analyses suggested that a substantial number of tales exhibit significant correlations with linguistic relationships that are consistent with vertical processes of cultural inheritance." is just empty words. It is baseless speculation covered in a scientific jargon, and what Harry Frankfurt would call Bullshit.

You could as well write "The results of the bullshit suggested that a bullshit number of tales exhibit bullshit correlations with bullshit relationships that are bullshit with bullshit processes of cultural bullshit".

There is a large part of the academic community where everything that matters is producing academic-sounding material to stay relevant, get more money and continue doing bullshit.

Now, the interesting thing is that the actual conclusion of the paper is actually true - fairytales share a common root, we see the same stories worldwide, and this has been known in mythology and psychology for a long time. But this research does not add anything new, and forgets to mention the interesting aspects well-known in comparative mythology.

“One of the most salient features of our culture is that there is so much bullshit.” - Harry G. Frankfurt
No, JS strings are UTF-8:

> '蛋糕'.substr(0,1)
'蛋'
> '蛋糕'.length
2
> Buffer.byteLength('蛋糕')
6

You do have to be careful when working with binary data (e.g. streams) but this is expected.
Thanks, this was a good read. To me, this puts a finger on a fear of mine that probably many programmers have. How do you show someone else the thing that you've built, how do you show them the work that you do and the value that it creates? To an observer, say, your own child, you're just sitting in front of a screen. There's layers upon layers of cruft that you need to first learn to understand what your parent is doing there. A physical thing is easy - you can just show them that thing that you made.
Keep in mind the privacy concerns of the HN are significantly higher than for normal people. It might not be much of an issue at all.

That said, one thing that is useful with being able to select a city is that it would allow me to browse my home city when I'm abroad, or look for people to play with while I'm traveling.

Tinder offers this as a premium feature.
From my above post:

> The NYC subway ads state that they save you from online web ad systems; blatantly false.
The thing is that you can apply that to virtually every study. There are just way too many variables to control for. Unless you have a few thousand of identical twins locked down in sterile rooms from birth you can't do much
Curious. I see a lot of whining about the rapid changes in frontend development on HN. Are these all just people who failed to learn Dijkstra's algorithm?
> The option to create an account upfront was initially available

It's still there!? I _won't_ create an account for anything until I can road-test it and see if it offers anything beyond that available in my current toolset.
Is xmodem still used outside of computer museums (including private computer museums)?
It's pretty easy to safely get away with piracy with a VPN. In most countries even that isn't required. I'd imagine it's the same here.
As anything - "it depends"™. I did not notice "every single line of code" getting better at all. Yes, it makes things easier on a large team where people do not have time to do codebase discovery - or where people are moved to be highly interchangeable, on big codebases. Yes, static verification can help those teams and those codebases.

But it also introduces a lot of extra work "just to appease the type system". It rarely improves performance (if ever). Because TS has no runtime inference/validation, working with larger libraries or the browser can be a chore because half of your code are type signatures or casts.

So - not necessarily a naysayer, but I do believe that TS is oversold and with smaller teams/projects it might be slowing you down as opposed to helping.
Companies don't exist, individuals do. It's all coming from a few sociopaths that will happily go poisoning another company.
For the past few years I've been building a B2B SAAS. Naturally I've chosen my "get shit done" language PHP to do it. While the product itself is as boring as it gets, I've had stretches of good fun with it by building _everything_ myself.

Naturally the web frontend is written in PHP, so are the cronjobs, shell scripts, message queues, WebSocket server, client software, statistics and the server automation (think Ansible, but imperative). Sharing my own libraries between all these parts is extremely valuable. Owning the whole stack means I never have to deal with black boxes or fiddle with dependency management. The language just gets out of the way so you can solve your actual problems.

The fact that PHP is reasonably good at all these things is a big advantage. The performance is certainly good enough (never became a problem) and the long running server applications (e.g. the WebSocket servers) are rock solid.
I thought Microsoft's top priority was putting weird ads and pushy tie-ins into their good products to sell people on their mediocre products like Bing and MSN?
It is very wholesome anime about mecha fights, right? :)
I can picture the linked in headline now. Why I made our prospects crawl and moo, and why you should, too.
Definitely yes. It has nothing to do with summoned creatures, even remotely.

> Otherwise, a fight between two pregnant women could be seen as a mech fight.

No. You are missing the fact that in AoT the pilots pilot the mechas, and not just be there doing whatever embryos do.
That's all fine if you're the one in control of the servers, but in reality that's not always the case. And actually even if you're in control, it's just a huge bunch of moving parts that can (and do) fail.

I also have to say that php.ini is probably one reason PHP became so successful in the first place, by having things like safe_mode and such so it could be easily used on shared hosts with ease. All the $2/month shared hosts were offering PHP, not Perl or Python, because of this (and mod_php).

But other settings like that automatic $_GET/$_POST importing ... yeah, that was a lot more misguided. Even error_reporting really should never have been a system setting: always let the code handle these sort of things. And even safe_mode is mostly outdated and useless now, because no one is doing shared hosting any more.
I still use php for random small scripting. Text processing, that sort of thing. Its great because you can iterate on the code on the command line and then if you want to use it again, slap some HTML around it and stick it on the server.
It is actually a fairly indicative story. At the start there is a brilliant individual (Evan) who sets up an entire toolchain + core of the product. They then move on (or get pushed out, or get bored), and with the team (and the product) now being much bigger, things get replatformed to a more familiar, widely used stack. The success of these steps heavily depends on how robust the eng culture is at the organisation. I suspect (no evidence though!) that Evan and other founders have set up an excellent eng culture at Figma and even if they make a mistake at some point, there is sufficient resilience in place to correct. All power to them!