skysight-inc/HackerNews huggingface dataset:
That was a fun read. Not sure what to do with this information? When I write SQL I don't think of it as declarative - I think "what is the computer doing" roughly. Which is why I have found ORMs used in teams to be a bad idea because:

1. Step 1: use ORM - it's nicer and you can use C# or whatever.

2. Step 2: build an OO library of classes that call the ORM to do what ever.

3. Step 3: compose these, to build more complex operations. After all it is all free, you just compose the "InvoiceSubuery" and nest that inside the "UserSubquery" and so on

4. Step 4: production issue, database maxing out at 100%, sql query is 1000 lines long and about a million characters. It is joining 50 tables and aliasing them as EXTENT1, EXTENT2 and so on. Query plan is doing more scanning than the USS Enterprise in an unknown quadrant it got teleported to by the Q. You are having a bad week my friend.

5. Step 5: Step 4 happens every night, pager wears out.
The other side was significant as well: other armies could not effectively operate where the Mongols did, as they could not support themselves off of land where pretty all that grew was grass. So the Mongols were extremely well adapted to the areas where they succeeded, while others were at a severe disadvantage compared to their home turf.
> I think the real reason is that you can not defeat a cavalry archer in a pre-powder age with anything else except of another cavalry archer.

The only thing that stops a bad guy with a bow is a good guy with a bow…
> While working on our fixes, I ran the test programs for quite a while
and I never saw anything resembling a 'text' string. However when I ran
a browser I saw streams of what was probably graphics-related fragments
flowing past. The base system clearly uses AVX very rarely by itself.

So it seems that your statement is only true for the base system.

Those days the web browser is the main path for RCEs on a user's desktop. For example firefox on a linux system uses around 25 external libraries, if not more.
You can add a keyword search in Firefox.
IIRC it greatly limits the long-term flexibility, because most DNA changes will either break RNA edition or cascade into undesirable post-edition features.

It's like taking a program at v0.1 and then developing the entire thing via binary patches, at one point you've got so much binary patching going on any edition and recompilation of the source makes them not work.
I get NZB but BT?
The major reason why police radios are encrypted barring SWAT is so they can say racist things about the people the merc for laughs, adrenaline and clout. SWAT arguably has a public safety reason.
I imagine it's like turning to religion to make the universe feel less chaotic and random, but the reality is that most people are repeatedly playing the bongcloud opening and simply getting lucky.

That doesn't feel quite as fair as having earned success, so 4D chess it is.
... not easily comparable
How do we define "evil"? Let's say we can measure how much evil Putin does and put it on a scale:

|--------------------|
anti-user pro-user

Where on the scale is "failure"? Let's say Putin is on the P, and Hitler is on the H:

|----H-------P-------|
anti-user pro-user

Is Putin evil?

The sentiment I seem to see is that anything short of sainthood is evil.

The answer of course is that relativism is not a good way to judge people or organizations. Mozilla chooses to do a lot of shitty things. They should be criticized for that even if someone else is worse.
Lemmy has quite a few negatives. It's small, highly fragmented, obscure to newcomers, and still has a vitriolic commenters, even in the more serious groups. And it doesn't have any PR/marketing. It's not going to take off.
Show HN: Didsomeoneclone.me – a free tool to detect malicious website clones
Hi,

As you might know cybercriminals are cloning websites to perform phishing attacks, to scam visitors, obtain credentials or distribute malware.

Im a security researcher and Ive been investigating many phishing sites. During this work I saw the lack of protection mechanisms against website cloning. While some techniques are available.

Due to this I decided to create a free tool, that is easy to use for everyone. The tool detects whenever a website is cloned. A notification is sent by email whenever a clone is detected. This allows a website owner to take necessary steps against the phishing site.

The website of my tool for more information: https://didsomeoneclone.me/

If you are interested how it was technically build, you can read this blog: https://forsec.nl/Building-did-someone-clone-me/

Feedback is welcome!
mermaid is mostly client side rendered in JS, so it's surprising it doesn't have a very well fleshed out API to handle interactivity. Also it's a pain to render to PNGs, you need a full headless browser/puppeteer to run mermaid-cli.

adding links + tooltips:
https://jsfiddle.net/s37cjoau/3/

I did an eval of some other options for more dynamic apps including react-flow, cytoscapeJS etc.
https://github.com/dcsan/autoapps/issues/1
thanks for the valuable comment. I realize now that my 1,800 answers mean nothing, and that the only important thing is my comment etiquette. I will try to do better, random stranger.
Internet.nl Score of news.ycombinator.com: No IPv6, DNSSEC, TLS1.3, RPKI ROA
RLHF with NanoGPT
The news.ycombinator.com setup isn't really modern:

- no IPv6 address for the webserver

- no DNSSEC

- no RPKI ROA for webserver BGP routes

- use of TLS 1.0 and no TLS 1.3

- use of insecure* ciphers

- CSP with 'unsafe-inline' in script-src

When I see TLS 1.0 and no TLS 1.3, I assume there is a bit of legacy openssl or at least the configuration of it. Probably wise to update the config since modern browsers don't support TLS 1.0.

* based on NCSC-NL: https://english.ncsc.nl/publications/publications/2021/janua...
> so why is the government buying Chromebooks for schools without mandating longer support terms?

Having spent a decade in politically led organisations I wouldn't personally rely on them for long term planing. I still remember when our analysis team went before the elected officials and told them that if our citizenship increased from 50.000 to 60.000 then they would likely need bigger schools in 5-10 years because 90% of the people moving to our city were young families. Increasing our citizenship to 70.000 was part of the priorities from basically every political party, they even paid the top management bonuses if this was achieved. But the schools were never expanded. Then 5-10 years later when there weren't enough room in the schools and the parents started operating their own "free schools" (basically the same as public schools but more expensive for the city), the politicians spent 6 months trying to find someone within the administration to blame for not warning them that this would happen.

So the easy answer is that they bought them because they thought they were cheap.
I know someone with vertigo, it has nothing at all to do with height, as far as I am aware and also what I have seen online. If it does have to do with heights I suspect it is a change in air pressure aggravating it? But maybe there is more than one "vertigo". I might be wrong. Not a doctor!
Hard reboot on those old Sun systems usually meant a dirty filesystem and telling off by the admin as they needed an fsck
I studied quite a bit of latin in high school (not in the USA through) and I have to say I'm not overly impressed by the test. It certainly doesn't test for fluency in Latin or Greek, most of the exercises are purely about grammar. The exercises that do require translation skills, don't require any vocabulary either. The sentences themselves are quite long, but latin grammar lends itself to complex run-on-sentences.
I think the better students in my class would have done quite well on this test even through latin wasn't one of their main subjects.

The Greek portion seems fairly similar if not a bit easier.

Every single history question is about ancient Rome or Greece.
Every single geography question is about the location of rivers.
How does this constitute an "exceptional grasp of history and geography across the entire world"?

The maths section does seem to have some difficult parts, we didn't do any proofs in the regular high school curriculum for example. The other math sections just show how much the requirements have shifted, a lot of the exercises in the arithmatic section got replaced by calculators, but I don't see any calculus on this test.

Looking at this, I think today's Harvard students are more educated overall than the ones in 1869. Our priorities just shifted.
Now I want to write my own thing in go and host it just for the sake of it
OpenHAB 4.0 Release
This merely gets 4 comments son HN whereas a 100th nail in the coffin of privacy by Google gets 300+.

I really wonder what kind of people HN'er are sometimes.
IBM big iron is a thing of beauty. There is nothing ill-advised in pushing a platform that's comparable to it in the good parts, and lacking the icky ones is a huge plus.

And it's a shame POWER is soooo expensive. But, then, so are high-end x86 and ARM, so I guess it's not that it's expensive more than I'm not paid nearly enough to have one. And, between buying a high-end POWER box and a yacht, I'll always take the second.
That was… breathtaking
> If we're talking cyberpunk dystopias, we'd have to resort to hand-soldered audio couplers that use our locked-down phones as modems

…and they will make us use lead free solder.
So it's ok for me to stab you if my buddy then chops your head off?
> I just tried it. I created an account on a Lemmy instance. Now I also want to join other instances. But how to do it? I won't create an account for every instance, but I'm stuck now.

Just like email, you do not need to create multiple accounts to talk to people from other servers, unless they have blocked one another. I am confused, I find it likely that HackerNews readers would know this. Perhaps you're making a point?

> So... don't know if that will ever replace Reddit. You really have to be a bit tech-savvy, and most users of the internet aren't.

I'm sure this is a familiar argument to most of us here. People usually focus on technical solutions, making it easier, one-click, fool-proof. I fear that is a game corporations and centralised services have an advantage in.

I have an alternative. It's not an easy solution, but a social solution to this would be to have "family sysadmins". Someone in the family who is at least slightly tech-savvy, helping the other members of the family set up their accounts. There is no need for the average person to understand federation or to be tech-savvy in this case. In other words, "help your family and friends with their IT stuff instead of putting them in the control of big corporations".
You can still utilize code spaces with other IDEs and text editors. It’s just a matter of SSHing into them.
So, I'm not familiar with the go event loop specifically, but I have written a few event loops myself.

You can think of an event loop multiplexing across multiple sources of events: for example a local ready queue, a remote queue (for tasks coming from other threads), an io-queue, a timer queue. Epoll is used for the io-queue. If the local ready queue is empty (i.e. there are no runnable coroutines), the event loop will block in the epoll call, possibly until the next timer expiration if any; remote queue operations will wake-up the poll via somethink like event-fd. If the local queue is non-empty, epoll is called with a 0 timeout every N local queue pops (actual scheduling logic and priority is application specific of course).

Polling epoll with a 0 timeout is a bit wasteful, for high performance applications you can use io_uring so checking for non-empty queue is very cheap and/or use some network bypass library that makes epoll cheap. There is also old-school readiness notification via signals but I doubt that still see any use.

As you suggest, you could also have a dedicated thread per event loop just running poll (for example a sibling hyperthread), but it seems wasteful.
Yeah, I think a good question to distinguish the different philosophies here is: if we had a perfect lie detector, would you support defendants being compelled to use it, with adverse assumptions for refusing?
Samin Nosrat's "Salt Fat Acid Heat" [0] really helped me understand cooking with salt (and balancing it with fats and acids). Also this LifeHacker article [1]!

[0] https://www.saltfatacidheat.com/
[1] https://lifehacker.com/season-your-chicken-even-more-you-cow...
Regarding your point 5. Gifts are a slow form of cluttering that snuck up on me. Children have multiple occasions per year where they are expected to get gifts, often more than one from more than one individual, which leads to sometimes dozens of gifts per child per year, most of which they rapidly lose interest in, added to an ever growing pile. It is rude to throw away gifts once received, and donating comes with its own caveats and effort. Unless the gifts pile is actively and continuously curated it grows over time and clutters the house. By the time I realized what was happening, we had already lost the fight and old toys were everywhere.

We recently moved and used the occasion to declutter. We flipped the script and took only what we wanted: just the toys the kids still wanted, just the books worth keeping, just the clothes worth wearing, and so on. I would estimate we kept less than a quarter of the stuff in our old house. All that stuff clutters not just the house, but the mind as well.
Climate change is also a well beaten horse...
Keep in mind that most equipment of this nature has universal power supplies, and thus works even at just 50% of nominal grid voltage.

The substation is mandated to trip in that anomaly, btw. Otherwise some very common types of motors (AC induction, single and 3-phase) would burn from the excessive current they draw to compensate for the reduced voltage.
Yeah, I have the same experience with retention. The extra time spent on the detours helps to contextualise the theory. To expand on your flowers analogy, looking at the flowers helps to remember the path better.
And what message does this share brings? Or this is just random link?
Postgres Tips for Beginners
You end up having to do a lot of things in a ML training run, some of which you can do in parallel because it’s not important now (eg saving metadata) or because you’d otherwise be resource limited (eg loading data and formatting batches for training)
"Babluon 5: The Road Home" just premiered at San Diego Comic Con. Trailer shows off the animation and style pretty well: https://youtu.be/Z54XNJivHOs
AUTOMATIC1111 webui updated to v1.5
> What other corporation do we have to push these kinds of values?

The thing is, Mozilla shouldn't even be a for-profit corporation in the first place.
From the viewpoint of the Fedi, it is good that Twitter users leave in not one exodus but that a few of them leave now and a few leave later. Musk’s strategy of doing something outrageous every time he drops out of the news cycle will keep them coming at a rate we can absorb.
I use K8s because if I don’t like what my deployment costs or how my cluster is supported, I can easily pick it up and take it to another provider or even host it myself (though I don’t really want to self-host).
Mastodon: Extinct elephant-like mammal

> man what would be a great name for a new and fledgling platform?

> IDK, Mastodon sounds good.

Same people criticizing X for being a bad name. (it probably is, coz i dont know how they'll replace tweeting and retweets and all that, but still)
> Interestingly, Hacker News has a fairly low barrier of entry and high quality discussions.

I made an account around the time when I started reading HN for the first time. I was a master student in computer science. Other than the reason to be able to create things out of my imagination, another reason why I studied computer science is because I felt too dumb to grok the field. So it was me stretching myself out of my academic comfort zone since I felt I'd never be able to grok programming. I cannot describe how heavy of a pressure I put on myself. How would you feel if what you're trying to attempt is almost certainly futile? The only counter argument I had is that I knew that humans (myself included) are notoriously difficult at predicting someone's capability. In the master computer science, I was scraping by at that point.

When I found HN, it felt quite inaccessible to be honest. It felt too geeky, too technical. I was able to stay around was because of the broad curiosity in all kinds of topics. A related reason was that curiosity is the main virtue that HN stands for, which is the same virtue I've stood for since I was 7 years old. I remember reading all the non-technical submissions for a few months while once or twice per week reading an actual technical submission.

Mind you, I had enough training, I took my computer science master over the course of multiple years (while also doing a bachelor in psych and a master in game-design, simultaneously). And yet, I could only bare 1 or 2 technical articles per day.

It took a whole year of acclimation. After a year, HN felt fully accessible. I could enjoy any submission on there. In part, what really helped was that I took very very hard computer science courses and that gave me an intellectual development that has been unprecedented ever since. After that, HN felt like home.

But for that whole year, it was interesting but it also felt like a strain on my mind every day.

So to say that HN does not have a high barrier of entry, I'd respectfully disagree. I don't think I'd be able to have enjoyed this place if I wouldn't have studied computer science. I know there are non-technical people on here that are able to do that. I know that I simply wouldn't, and I think there are others like me that couldn't have either.
When I work at Google, a fancy VP of hardware needed IT help. While I was helping him, I complained about my $900 Pixel 2, and joked that it'll be a paper wait in 3 years because of engineered obsolescence.

He told me to stop talking like that, said it wasn't funny at all.

Dude knew I was onto something. Google acts like they are all carbon neutral, but they ship out devices that they kill in less than 3 years.

I had a perfectly fine Acer with an intel and Nvidia chip in it, Google artificially deprecates it and I can't get updates anymore. I couldn't even get the Android app update on it. A $500 laptop turned into a paperweight in less than 2 years.

We should have higher standards and we should hold hardware makers to them. They shouldn't be allowed to rip us off on a schedule, and basically put us on a subscription to buy new ones every 2 to 3 years.
According to HN Rankings this post never got a ranking, so probably voting ring detector caught this:

https://hnrankings.info/36860065/
+1

And I think Stack Exchange needs a new CEO. Maybe new owners, which is since 2021 Prosus. My impression is that they don’t understand what is the purpose for developers.
You would be surprised.

My bank calls me once every few months, if everything is ok, and if there are is something that is bothering me and could be improved, or if they can help with something. At first I thought it is some marketing program and some manager has to achieve some KPIs, but surprisingly, they did listen to suggestions (it took time, but they eventually did).

So you never know, if you never try.
Super interesting charts!

I was surprised to see big humps over early springtimes. As if springtime causes people to feel more willing to open up and communicate, similarly to how we associate springtime with heightened romantic drive.

Another cool thing I've discovered by reading this right after the Usenet thread[0] is that it is typical for large-scale social networks to stop being humanity's darlings after ~15 years of age. Which is also surprisingly similar to how people are supposed to become completely self-sufficient around 16, as if there's no reasonable expectaction of substantial external care for them.

Usenet: born in 1979 [u1], stagnated in 1993, 14 years later.
XMPP: born in 1999 [x1], stagnated in 2013 [x2], 14 years later.
Stack Overflow: born in 2008 [s1], stagnation reported today here, 15 years later.

[0] https://news.ycombinator.com/item?id=36859510
[u1] "Newsgroup experiments first occurred in 1979." https://en.wikipedia.org/wiki/Usenet
[u2] "Segan said that some people pointed to the Eternal September in 1993 as the beginning of Usenet's decline" https://en.wikipedia.org/wiki/Usenet

[x1] "released the first version of the jabberd server on January 4, 1999." https://en.wikipedia.org/wiki/XMPP#History_and_development
[x2] "In May 2013, Google announced XMPP compatibility would be dropped from Google Talk for server-to-server federation" https://en.wikipedia.org/wiki/XMPP#History_and_development

[s1] https://en.wikipedia.org/wiki/Stack_Overflow
Complete and Geographically Accurate track map of Chicago
And now all he has is the best space company and the best car company, poor bastard.

It was so easy everyone else also did it
I also think "culture" is a thing.

Something works, culturally, in 1970s place X, and doesn't in 2020s place Y.

Wikipedia, started today, would not be Wikipedia for every reason. Different user culture, different founder culture, finance culture, IP, "truth," etc. Wikipedia started in today's world would start different, go on a different trajectory...

We have an intuitive grasp of this, and are always looking for a more objective/formal/causal understanding... but I don't think it really exists.

In any case, just like with "music these days," and whatnot... sometimes the thing that has changed is you yourself.
Remember that the first disk device in the hardware tree (sd0 or wd0) might not be the disk you're actually booting from. Take a peek in your dmesg output first before installing new bootblocks to be sure you'll be getting the new microcode loader.
> What if they were spies in the field, exchanging coded messages? Like posting classified ads in newspapers, it's one of those places nobody will look at.

I have wondered the same thing multiple times, having seen posts that either didn't resemble anything human generated, or were suspiciously crafted seemingly with steganography in mind. Spam itself could be used for that purpose; who would suspect that "6uy v1@gr@" from user XYZ read by an automated system that downloads groups regularly would actually trigger an action somewhere?
Linters agree with you with the default config, and will warn on "if not x in y".
The consumers being schools should have more power behind than the consumers of Pixels. Maybe it doesn't matter anyways but it's worth a try.
Show HN: Web Feed - A curated list of blogs and resources for web developers
A curated list of blogs and resources for web developers, delivered through RSS, to effortlessly stay up to date with the latest trends, insights, and best practices.
Superficially VSCode might share some similarities, but when you look at how Emacs works and how concepts differ, you very quickly will find, that VSCode is very far from being JS-Emacs. The whole focus of concepts is completely different. From buffers, to tabs, to keyboard focus, to plain text focus, to extensions/package and to inspectability.