skysight-inc/HackerNews huggingface dataset:
Leave animals outside the d*mn wars, FFS. Good news about all this is that maybe, hopefully, powerful alien races are actually evaluating us and they'll treat us accordingly to our BS.
Well first of all, China is a huge country with four times the population of the US or three times of the EU. The greatest "trick" that they have is that they count as one country. It would look different if they were a continent made up of a dozen (still pretty big) countries.

I used to work at a Chinese research institute (in a non ML-field) and the team leader took some time and frequently encouraged his students to learn ML, to try to apply it to their work or just for the sake of it. He was very open about the fact that it would benefit the nation, but that also ML researchers were in good demand and it would be great for the student's individual careers.

So yeah it is mainly just a very popular topic over there, too. But in addition, I feel that China (the gov/party/research community, whoever) thinks more strategically than for example the EU.
I think you are overestimating how well a diver can maenouver under water in comparison to a dolphin.
another thing I have seen is preloading them on the runner itself and reference them via relative path
Well, I mean dogs are widely and effectively used in law enforcement. Perhaps dolphins are just the equivalent of aquatic dogs.
No, this is an oft repeated statement which is simply not true. Had "Miljöpartiet" not pushed for the closure of those reactors they would still be running. If you'd rather take this from the horse's mouth here's Lorenz Tovatt, energy policy spokesman for that party [1]:

Haha det är så kul med kärnkraftshögermän som låtsas att vi i MP motarbetat kärnkraft ”i smyg” för att sen skylla på marknaden. Löjligt. Jag tar hemskt gärna cred för nedlagd kärnkraft. Utan MP hade nog flera av de nedslängda reaktorerna rullat vidare.

...which translates to:

Haha it's so much fun with nuclear right-wingers who pretend that we in the MP ("Miljöpartiet") opposed nuclear power "secretly" and then blame the market. Ridiculous. I'm terribly happy to take credit for discontinued nuclear power. Without MP, several of the closed ("nedslängda" means "dropped", I guess he meant to write "nedstängda" which means "closed") reactors would probably have rolled on.

So, no. Not "the market" but politics pushing that market in a certain direction.

[1] https://twitter.com/LorentzTovatt/status/1478049881487032328
Stories like this are what keep me using strong passwords (in Keepass) instead of MFA. I'd love to hear more details as I'm finding more and more services push the MFA aspect, and I don't use a smartphone. Thanks.
Show HN: Remote Work and Free Time
Hey folks!

I track time for 4 years already...

Usually, remote work isn't demanding when for an engineer in a non-early stage startup. When you like your job and are excited about career growth, putting in extra hours can payout.

But for some folks working enough hours and doing something on the side could be a better strategy. When you think of time as an investment, you may distribute it properly between a day job, side projects, and hobbies.

How do you think of your time in the era of flexible work? Do you treat it as an investment, or do you go with a flow?

P.S. If you entertain an idea of allocating and tracking time, you may try it with https://increaser.org
You should see it more as China finally starting to pull its weight in scientific research.
Their population is 4x that of the US, yet their scientific impact is AFAICT less than that of the US.
Spoiler alert: The article reveals the outcome of the “classic” game it discusses. If you enjoy American football but have not watched this game, try to set aside half an hour to watch the highlights [1] or the replay of the final minutes [2].

[1]: https://www.youtube.com/watch?v=n1dp2ZKi0cc

[2]: https://www.youtube.com/watch?v=ZyXnCPbK6NI

The article points out that, after the 2010 playoffs, the NFL relaxed the sudden death rules of overtime by allowing overtime to continue if the first drive leads to a field goal but not a touchdown. I suspect that, in the near future, the NFL will relax the sudden death rules again by always allowing overtime to continue past the first drive, so both offenses and both defenses get to play in overtime.

That said, for the overtime game this past weekend, I think a decision on a kickoff prior to the end of regulation made as big a difference as the subsequent coin flip. NFL’s current rules make you want to avoid overtime if at all possible. Both teams knew that going in and the losing quarterback was right to say simply: “The rules are what they are.”
I think some people do go a little far, but I don't think everyone's doing this out of some sadistic desire to watch people squirm. More likely they're just a bit too earnest and as a result try to correct others and overcompensate. Most people here have been an annoying college-aged kid at some point with an axe to grind on some specific point, we should remember that.

That said, it's interesting this has come up during a discussion about how the intent behind what someone said is often either misunderstood or discarded.
I like my abstractions to be hidden, but I also like to be able to peek under the hood. That's one of the problems of C++ templates, sometimes I want to look at the expanded code.

The GNAT Ada compiler has an option to output a much-simplified desugared code. Not compilable Ada, but very inspectable unrolled, expanded code. Makes for a great teaching tool. 'Aaaaaaah this generic mechanism does that!'

Link https://docs.adacore.com/gnat_ugn-docs/html/gnat_ugn/gnat_ug... look up -gnatG[=nn]... Good stuff.
I'd argue this kind of paperwork isn't worth it. Mental cycles better spent on learning skills that can earn you more. Time better spent on money saving tricks / life hacks such as (1) walk/cycle to store (2) make your own bread, saves a fortune (3) hunt around for best deals. Just my 2p ...
Or "Curated list of useful resources for Node-RED", as the subtitle is on this page. Even "awesome node-red" doesn't really say anything about the content.
The size of the points shows the reported visible range, the colour and pattern of blinks represents how the light should appear. But this all depends upon the OSM data being entered correctly, and as https://github.com/geodienst/lighthousemap#readme notes:

"contains my best guess on how a light sequence will look based on these descriptions. However, it might be inaccurate, and it tries to do its best with the sometimes not entirely consistent data from OSM."
I mean, I completely agree. This is why I also don't write unit tests and why I avoid debugging my code.

The best way to have a correct program is not to write buggy code in the first place. /s
There's a distinct difference between complexity and complication, which I think is what the author is looking to convey.

Complexity is just inherent to the system you are building. The only way to decrease complexity is to do less. Hiding it only moves it somewhere else. There's a whole school of thought around the idea of reduced functionality, and in fact it's baked into the UNIX ethos of "do one thing well".

Complication, on the other hand, is what I would call "unnecessary complexity" that gets added to a system as you bolt on more things to give it more potential, or to support legacy. We see this in a number of programming languages, most famously C++. Adding more capabilities to the language requires you to have more knowledge before you can effectively use it. Adding features to something not designed for it (cough Java) results in some very annoying complications. And THIS is where the call for simpler languages comes from.

The misunderstanding between complexity and complication is what causes for example golang to be such an annoying language. They sought to reduce complication (a laudable goal), but conflated that with complexity and only managed to move it elsewhere (because that's all you can actually do with complexity).

We see similar problems in data formats. JSON has lax standards and limited type support, which forces the complexity onto the user in the form of string serialization and base64 and all sorts of incompatible custom secondary codecs. Is the format itself simple? Sure! The spec fits on one page! Is it simple to use? Absolutely not! It's a minefield and a security nightmare. Data is complex, and any decent data format will have to be just complex enough to support the majority of use cases in a consistent fashion.
I remember creating a custom crawler in Delphi when images were behind LinkBucks ads.

I must have made someone rich back then.
I still remember spending money for an FTP client that could “live edit” Perl CGI scripts on the server.
It's just what had been said in those recent posts about HN on Ethereum, I think by Moxie or the reply to him be Mike Hearn. I've heard it before that the Ethereum Blockchain is difficult to process, so I assumed it is still the case.
Indeed! The pinch-zooming on mobile is so smooth I for a second thought there were no library involved at all.
Yes I'm running my own servers.

You should know your way around Linux (if you already know Ubuntu, you can use it on the server as well).

You need some software:
- For receiving and routing mails: I use postfix
- For authenticating: Dovecot
- For serving mails via IMAP: Dovecot is a popular choice

There are some good guides on the net how to set up these on Ubuntu or Debian (which is pretty similar), just google for e.g. "postfix ubuntu".

It's critical that the mail you route arrives at the other end, so you must prevent spammers from abusing your systems. Otherwise you get blacklisted. As a start you need to implement state-of-the-art things like: SPF, DKIM, DMARC. MTA-STS, TLS-RPT are also useful. None of these are hard and there are also good tutorials out there, it's just a bit of work.
Interesting.

How do you specify data types for columns or schema names for tables?

For modern Postgres versions it's also recommended to use standard compliant identity columns rather than the proprietary serial "types"
Absolutely. We are still suffering as a society from the baggage of the 20th century, when man rather foolishly imagined that science would explain everything. This was pretty much ruled out philosophically from the get-go, but we still have this naive scientism which crops up everywhere and claims to have explained the human condition and origin, when it has done nothing of the sort.
Because this is a blog post by GitHub about the new release of Git, not in any way associated with the Git project.

The Git project itself posts release notes, but those are more abbreviated and aimed at a audience that's a bit more familiar with Git's workings: https://raw.githubusercontent.com/git/git/master/Documentati...
I didn't understand how engines worked until I took them apart, either. I was taking things apart to understand them long before computers :-)

But the notions of sending a "message" to a "method" just was way way too handwavy for me. I like examining the theory after I learn the nuts and bolts.

> Understanding what a bridge is doesn't mean knowing how to build one

If you don't know how to build one, you don't understand them. Architects who get commissions to design innovative skyscrapers definitely know how to build them.
Is this advocating the use of production data in dev/test/qa environments?

I am struggling to come up with scenarios where that would be a good idea.
I have made something like this too , but its for database scripts:

https://text2db.com/
You're not in Latvia or Switzerland are you?
Eh, I would argue there is a massive difference between drug discovery and patient care, which was what Watson was aiming for.

Filtering out useful molecules from useless (or dangerous) ones is a nicely contained (if difficult) problem that ML is pretty good at solving.
I don't understand. That uses algebra.
> So why not let a thousand flowers bloom?

That's... probably a poor figure of speech to use as encouragement.

https://en.wikipedia.org/wiki/Hundred_Flowers_Campaign
Yes, they're prepared to defend against enemy combat divers placing mines. *In peacetime, they defend against enemy infiltrators gathering intelligence.

There's a long history of combat divers, or frogmen:

https://en.wikipedia.org/wiki/Decima_Flottiglia_MAS
https://en.wikipedia.org/wiki/Lionel_Crabb
https://en.wikipedia.org/wiki/Operation_Frankton

There are many such stories.

One of my favourites is of the jovial, slightly portly Italian diplomat Luigi Ferraro (in reality a frogman under diplomatic cover) during WW2 in neutral Turkey, who at night would go out to a nearby port, swim out and place limpet mines on British ships transporting vital chrome for steelmaking to Britain. Yes, let's go assemble high explosive timed devices, alone, then swim, at night, and place the devices on defended enemy ships. He sank three.
You may as well assert, since you cannot be sure of another's subjective yet perhaps eminently palpable experiences, that naturalism is the only chance for the rational, thinking masses to conceive of the world and its reasons. And that's very well. But the accused magical thinking could be first-hand and self-proving, but not transmissible much less generalizable, that science's naturalism may only get you so far down the tube of reality.
Moreover, they regularly post over at https://www.reddit.com/r/uqm2/ and run regular development streams over at https://www.twitch.tv/pebby .
Hmm, I had a look at their blog, and I have mixed feelings. Lots of it is stupid. Lots of the titles contain spelling errors that would be embarrassing for a 14-year-old. But some of it is thoughtful and interesting, albeit basic, like this post on contract law and blockchains: https://lexdao.substack.com/p/legal-contract-formation-in-sm...

I do think there's space for some more serious and professional lawyers to think, and possibly provide some solutions, in this space. Hell, even if you think it's a scam, it would still amount to an interesting case study in how the law intersects with technology.
There are downsides to wide buildings and how the impact the street's ability to feel human-scale: http://urbankchoze.blogspot.com/2014/06/is-building-height-d...

There was a study awhile back that showed people were a bit more agitated / negative-feeling when walking past a very wide building vs narrow buildings in NYC. (I happened to live near and frequently pass that wide building, and like the study participants didn't like it.)

There are also downsides to deep buildings for residential use: they make reasonable apartment layouts hard because the windows are too far apart. Old deep warehouse buildings often get converted to over-sized loft apartment when converted. While living in a loft is sometimes romanticized for luxury living, the lack of windows and (thus) interior walls makes them a poor fit for families, and the large size makes them expensive for singles and couples.
> how many pages of web standards you have to implement and comply with if you want to make your own browser, just to visit google dot com?

Worse yet, it is precisely those standards that enable google dot com to discriminate and block your new browser. For your security, you know..

https://news.ycombinator.com/item?id=30051512
Fortunately, I picked up the K+R book after I was an experienced PDP-11 assembler programmer. I had never heard of C before, and basically just flipped through the pages and instantly got it. I quit all the other languages then, too, and switched to C.
If I have enough, I will run a validator. If not I will probably do some defi like lido + curve + yearn. I may also mine something else like flux or raven.
No doubt surreal, but a single sub destroy the world? That piqued my interest so took a quick look and found an article [1].

This article states that "even a single vessel [submarine] could reduce as many as 288 city-sized targets into radioactive ash in less than 30 minutes." Later in the article they say that the Ohio class is capable of carrying up to 24 UGM-133 Trident II D5 submarine launched ballistic missiles. Each ballistic missile can carry as many as 12 W88 475 kiloton thermonuclear warheads. For comparison, the one that struck Hiroshima is estimated to have been 10-20 kiloton. So the Ohio class can delivery up to 472 x 12 or 5,700 kilotons (5.7 megaton) or ~285 x the energy release of Hiroshima.

- EDIT: 472 x 12 X 24 = 137 megatons or 6,796 the energy release of Hiroshima.

By comparison scientists have been speculating the scale of the energy release of the eruption in Tonga [2]: "Jim Garvin, chief scientist at NASA's Goddard Space Flight Center, said the eruption of the Hunga-Tonga-Hunga-Ha'apai volcano on January 15 released "hundreds of times the equivalent mechanical energy of the Hiroshima nuclear explosion". The article goes on to say that preliminary estimates are between 4-18 megatons. That energy release created a cloud ~650km / 400mi in diameter. "The cloud would obscure most of Great Britain and the east coast of Ireland. It is almost the same size as mainland Spain.".

EDIT: So an Ohio class SSBN could unleash ~136 megatons which is 7.5-34 x the energy release of the Tonga eruption.

The eruption occurred undersea whereas nuclear warheads detonate above ground as an "air blast" or close to sea level as a "surface blast". "Tactically, surface detonations can be seen as an effective means to obliterate a specific target and surrounding ground forces." [4]. "Unlike surface blasts, air blasts produce almost no local fallout upon detonation. Instead, air blasts are more effective in producing high levels of over-pressure over larger areas and increased yields of thermal radiation.".

So what's my conclusion from this short research? The sources suggest an Ohio class submarine could destroy 288 cities in 30 minutes. No argument there. But destroy the world? It seems evident Earth itself would remain in it's current spherical shape but it would be terribly perhaps irreversibly poisoned, taking a lot if not all life with it. As Nevil Shute puts it in "On the Beach" (New York: William Morrow and Co., 1957) "there would be no “over there,” there would only be “here.” Whether scarred by blast and fire from a nuclear war, no place would be spared the inescapable lethality of the resulting radiation". "Global thermonuclear war is just that, a war against the globe, against the Earth itself."

Thanks parent for fueling a perfect little distraction from my long list of important tasks today :)

[1]https://nationalinterest.org/blog/buzz/these-5-submarines-co...

[2]https://edition.cnn.com/2022/01/24/asia/tonga-hiroshima-bomb...

[3]https://graphics.reuters.com/TONGA-VOLCANO/lgpdwjyqbvo/

[4]http://large.stanford.edu/courses/2019/ph241/abbate2/
I think this exchange sums up the debate over Go itself...
Not the person you replied to, but I don't think by “from other languages” he means other dialects of SQL.

Instead, I think other languages away from the database are being referred to - in many of those NULL is treated like any other value², for instance in Javascript¹ null==null is true and null!=null is false, and due to type coercion null on its own is “falsey”. Personally I have no problem with SQLs handling of NULL with one exception, and find other languages treating it as a single value rather than an unknown feels odd.

The one thing that I have occasionally tripped over with NULL in SQL is the effect of “<val-or-var> NOT IN (<set>)” when NULL is one of the entries in <set> - it makes sense when you think about it because the IN operator can only return true or false and it can't definitively say the searched for value isn't equal to the unknown one(s)³ but this doesn't seem intuitive.

Some SQL dialects do handle NULL a little differently, more like languages like JS. MS SQL Server can be made to with SET ANSI_NULLS OFF to force its ancient not-standards-compliant behaviour⁴.

[1] quick & easy to test in your browser's console

[2] well, technically in JS I think null is specifically a null object reference, that being one of the differences between null and undefined

[3] more concretely, “var NOT IN (1, 2, NULL)” being equivalent to “var<>1 AND var<>2 AND var<>NULL” which becomes “true AND true AND NULL” which is NULL as any logical operator against NULL returns NULL.

[4] though note that this option is officially deprecated, as of at least 2016, and might be removed or just ignored in future versions
Then add it on open street maps, that's where this data is from.
Indeed. In my experience the legal system is highly biased and corrupt.
63 trillion which is probably around 10-15% of global wealth right now. Plenty of people are already keeping 15% of their portfolio in bitcoin.
> and basically all modern guides tell you to avoid it.

If only... There's still a thriving OO-heavy mindset in much of the Java ecosystem, but less evangelical that it used to be.

In other languages... Inheritance tends to be de-emphasised compared to a decade ago, thankfully. I rarely see advice to avoid it - instead moderation is advised.

I think the main problem is that it is hard to explain to a learner what the pitfalls are with inheritance-heavy OO design except in the most general terms. It's something that can be quite useful when used judiciously, in the right context, but knowing when this is requires experience.
In my experience neither the output or the input is readable when using an ORM to generate complex queries. For simple queries they're great. Writing raw SQL also makes it much easier to jump out into SQL-specific tooling to debug a query, then copy it straight back into the code once you're done.
A single sub can destroy the world any time it's commander wishes, not by launching 288 warheads at 288 cities, but by launching one warhead, at either Moscow, or Washington.

Contingency plans for responding to a decapitating strike will do the rest.
>Can anyone explain that?

It is very simple to understand: There are more than 1.200 million Chinese people just in China, and a couple hundred million more outside.

AI is also growing and creating new opportunities, most of them work in Universities on the West.

The same happens in other fields like piano playing, there are so many exceptional players because there are so many Chinese.
Ok, but that doesn't change his argument. He's saying that as SV becomes less relevant, so will YC, because they are strung so tightly together.

Not agreeing or disagreeing with this, just trying to point out this argument :-)
If you happen to read this, the original author, I want to you know that I, personally, have enjoyed your "systemd by example" series[1] a great deal and am really glad you are continuing to produce fine work in this area!

---

[1]: https://seb.jambor.dev/posts/systemd-by-example-part-1-minim...
Paraphrasing The Architect from Matrix:

"But, rest assured, this will be the sixth time we have dumped BTC, and we have become exceedingly efficient at it."