skysight-inc/HackerNews huggingface dataset:
This guy seems well informed, like he knew this invasion wasn't going to happen and was just Ukraine trying to con some money out of the US by making things up a couple of months ago:

https://www.cato.org/commentary/russian-invasion-ukraine-hyp...

And since then he's written an article about how it's Bill Clinton's fault, one about how it was Obama's fault and one about how it's Joe Bidens fault, one about how it was Ukraine's fault.
I was more thinking about the combination of caller provided object and callee returning a pointer (in this case to the same object).

But I suppose it decouples "call time" resources from "return time" resources (the current api does not guarantee that the result will be in caller's "out", just that a buffer will be returned that the caller owns and have to de-allocate/manage).
Do the Americans here realize Europe will go to war with Russia?

That this is not some abstract far away war for us?
Is there any cyber security risk here? Could Russia get control if that site and change the account numbers to something else? Feels a bit shot in the dark.
+1 for baby Rudin, while I wouldn't say it was THE book for me, it was certainly one that gave me a proper understanding of mathematical proofs as opposed the mroe applied mathematics books I had read until then. And the exercises are excellent!
Ukraine as a whole is not falling. Russia might succeed in taking Kyiv, but it seems far less likely they’ll ever succeed in taking Lviv, which is where the Ukrainian war effort is effectively being directed from. President Zelensky remains in Kyiv for morale reasons, but Lviv has become the de facto Ukrainian capital. And Lviv is only 70 km from the Polish border, and so has easy supply lines to NATO territory, plus Russia will be very wary of bringing the fighting too close to the border with NATO given the risk that any fighting there might spill over the border and lead to NATO becoming directly involved in the war.
Having known Russian people on and off all my life, and having read numerous stories of conscription, this is not only the smartest but the most humane thing Ukraine could do right now.

You are what you do when it counts.
Perhaps you should just use Windows.

> Windows calculator is so simple that it makes it super easy to hop in, do a quick calculation via the numpad and jump out.

What's wrong with calculator in Linux? FWIW, I just fire up a Python interpreter and do calculations there.

Speaking of which, I feel Mac's Spotlight is a superior solution to ocassional calculation needs.
I did a quick verification on my own, but it's not final, and I wrote "seems to".

1. Domain registration points to Ondrej Filip, allegedly CEO of CZ.NIC who reposts links from Ukrainian embassy in Czech Republic. Not clear if it matters if WHOIS privacy is on.

2. Email and URL match those of the Ukrainian embassy in Czech Republic. I am trying to reach out to them and confirm. Phone numbers listed on czechia.mfa.gov.ua are not picking up and I don't want to occupy the life and death support hotline.

3. Awkward web design was not an indicator to me, considering the page must have been launched in haste.

Cross-check help would be appreciated. If you find the site untrustworthy, I will reply to the source where I saw this link posted ASAP. I won't dox my main HN account on this topic.

If you have any doubts, donate via UNHCR's Ukraine emergency page (Google it, since you should not trust the direct link I post if you think I’m a scammer). It supports refugees, but not military action.

Edited.
Your comment gives of the same vibes as people not wearing a mask because it "suffocates" them.
Viral YouTube video ideas powered by GPT-3
Indeed, thanks for sharing.
There might be a bit too much optimism right now, but I’m enjoying how the Ukrainian PR runs circles around Putin. At least for a moment, they are riding this wave where everything seems to work.
Thanks: this is along the lines of what I was thinking and the clarification on the mental model of "Russia" vs. the origin and issue with "USSR" was very valuable!
>Regardless of whether or not the war goes well or poorly, the news will be positive, right up until the end. If it turns out to be the latter, everybody who spent the past few weeks listening to it will be struck with one hell of a cog-dissonance hangover.

I am cautiously optimistic for Ukraine based on early reports. But I am also aware of the history of war propaganda.

The front pages of US and UK newspapers during the Battle of France, for example, were filled with headlines talking about French successes in repelling the Hun. Anyone paying attention to the details, however, could see that the successes were constantly occurring closer and closer to Paris.

If Russia wins, there is going to be (as you said) a lot of cognitive dissonance among those whose worldviews are entirely shaped by Reddit headlines and Twitter takes. I'd hope that having their worldviews shattered so abruptly and violently would cause such people to reexamine all of their preconceptions, but given how previous such cases (notably Brexit and Trump's election) mostly caused them to double down rather than seriously self reflect, I am not hopeful.
https://www.economist.com/international/2022/02/12/how-russi...

> Since then, however, NATO has revived admirably. Under President Joe Biden America sounded the alarm about Russia’s build-up and co-ordinated the Western response. “Putin has single-handedly given NATO a vitamin injection,” says Wolfgang Ischinger, chairman of the Munich Security Conference, an annual transatlantic talkfest that begins on February 18th. NATO’s three decades of angst about its role after the end of the cold war has been dispelled. Having performed “out of area” operations in the Balkans and counter-insurgency in Afghanistan, it is going back to basics: the territorial defence of allies. The theological rivalry between institutions in Brussels over whether the EU should have an autonomous defence capability has for the moment been stilled.
They take their body armour and weapons and then lock them in a room. The captured Russians dont want to escape just to give back to the front lines, easier to stay captured and wait out the war.
It seems readfile is from an extension but present in cli. json_each is present in standard sqlite core from 3.38.0 as json1 extension is also now part of core.

json_each : https://www.sqlite.org/json1.html#jeach

readfile : https://sqlite.org/cli.html#file_i_o_functions

> Note that the readfile(X) and writefile(X,Y) functions are extension functions and are not built into the core SQLite library. These routines are available as a loadable extension in the ext/misc/fileio.c source file in the SQLite source code repositories.
Funny that Wikipedia is used for verification. I'm not criticizing you; I reached for Wikipedia first thing after reading the link too.

Its source is poor quality and there aren't many good sources otherwise, so it's still suspect. https://www.paleycenter.org/collection/item/?q=ryan&p=42&ite...
Is it related to Tom's video?

"I asked an AI for video ideas, and they were actually good"
https://www.youtube.com/watch?v=TfVYxnhuEdU
Code Complete (2nd Edition) by Steve McConnell. It is perhaps the broadest book on programming I've ever read. It oviously can't go indepth on its topics, but it significantly helps to turn a lot of "unknown unknowns" into "known unknowns".

It really helped my to go from knowing how to program to knowing how to implement software.
I work for someone that will pick apart your every idea and make sure you are solving the right problem. The number of times I've been convinced we had to do something for him to figure out the problem is actually in another part of the business is embarrassing. It's a skill I hope to develop myself. It's much easier to just sign off on something and say that's a great idea go for it. To make sure you understand the problem down to the smallest detail and clearly assess if it's the best solution requires a dedication and focus that many managers lack.
>We can sit and imagine problems with every course of action, and never step forward.

Well, you assume these are fake problems, and so the GP is being disingenuous.

The problems he mentions basically only happen if you stay at a computer, or such unphysical activities that form the basis of modern work.
As you properly notice, these problems are mostly nonexistent if you do "real" physical activities, but you can still suffer from them.
E.g. while doing inconsistent physical exercise in cold winters , your temperature will rise up a lot, so you may sweat a lot and then get cold fast again in your wet clothing.
Any construction worker knows this can be quite a hassle.

He then mention "cold hands". This is called "Raynaud syndrome", and affects 4% of people.
This is very difficult to deal with, especially if your primary work is typing at a computer.
There are many types of gloves you can buy: compression gloves, fishermen gloves, spandex ones, with 1 to 5 exposed fingers.
Each has particular downsides to deal with, none are perfect.

You can get silver-threaded clothing too, although that is quite expensive.
Managing good comfort while minimizing room-heating is not easy at all, and that does not even address other "house" issues (at an extreme, water-pipes exploding because of freezing water).
Hmm, mine was a movie not a book. The movie was the original Star Wars. Had the insight that we will only be able to settle other planets when computers control everything when watching Star Wars.
I've been using Excalibur/Camelot in production. It has been great (considering how non-standard PDF tables are).

You just cannot approach it in a fire-and-forget way. It has two modes of operation and various PDF "styles" can respond differently to each mode.

If you have a series of similarly-structured PDFs, try to import them manually (e.g. using IPython), take note of which mode worked better, possibly some adjustments (detection thresholds). Then you can pretty much automate with these collected parameters.
No, thank you. We know broadly how GoT ends. I prefer that we get more Stormlight and Cosmere.
> A NO_COLOR flag is not perfect but better than nothing and easier to implement than theme or interactivity detection

Is checking an environment variable that much easier than an isatty(3) call? I'm concerned that if this becomes widely implemented, developers will try using it as a poor substitute for isatty.
1. I want to see color output in some commands, but not all of them (in some cases like with grep/ag it is very useful, in some cases colors are not useful or even makes it harder to read command output). NO_COLOR allows me to control output per-command by creating aliases 'env NO_COLOR=1 command'

2. Some color-using CLI tools assume white-ish background and actively use dark blue which is hard to see on a black background.
“Trivia” (A Concept Related to Abstract Syntax Trees)
“The Art of Unix Programming” TAOUP is something I wish I had read much earlier in my career.

It’s non-technical, far more philosophical, and the very few parts where it wades into the technical side are outdated. That said, what it does is a great job of embodying the sort of Zen of the Unix ethos. Almost a high level “this is how you keep your sanity”, I cannot recommend it highly enough.

I want to say it was formative but it moreso just helped solidify the lessons I had come to on my own.

http://www.catb.org/~esr/writings/taoup/html/ (also available as a physical book or kindle ebook)
Ukraine Warned over Danger of Russian Spying on Telegram
I did design a language and it is still being used. I did it as part of my job at that time. It started as a simple query language inside the application we were developing. One by one features were added. Some colleague also decided to used it program certain functionality of the application, which caused more and more people to use it.

I implemented it with a parser that I developed myself. So, actually, I fell in the trap of developing a language myself, not a programming language, but a developing my own language developing tools. And I have doing it for more than 20 years now, on and off. I do recognize the self promoting bit. (I am kind of doing it right now.)
German here: Yes, not happy, quite furious, sent them a bit of money via bitcoin.

Not only has Germany not supplied weapons until yesterday, it has even prevented other NATO countries from sending them weapons that they received from Germany in the 1990s.
Thankfully our government finally caved in yesterday.
Yes I even had one, the LG Prada. Along with other Smartphone like Sony Ericsson P800, or O2 XDA which was similar to LG Prada but way earlier, I think it was 2002. They were based on Windows Mobile. And some other PDAs before that. The O2 XDA were built by HTC ,at the time they were like Foxconn doing ODM before it became a consumer brand.

There were lots and lots of other small details that Apple got it right. And I said it the first time I saw the iPhone, what sets them apart was Apple was trying to make an iPhone like an Appliance. While all other Smartphones was trying to cramp a computer inside a Phone factor. The day I saw iPhone I knew that was it. The Smartphone I have been looking for. Strange it is 15 years already.

I still dont know why the Visual Voicemail patents had not expired. It really should be the standard on all network.
Yes, this site is a clear cut war crime.

Ok, it's low on the war crime scale, but you are in or out on the Geneva Convention.
I believe infrared comfort of your room is far more important than people give it credit. Indeed in terms of warmth, direct infrared heating is far faster and more efficient than convection (albeit directional), so why wouldn't the same be true of cooling?

Personally, I can feel whether I'm facing the outdoor wall or not with my eyes shut, no matter how hot the room is. Predictably, that side gets cold even if my back is sweating.

I suspect most people are the same and don't necessarily realise it (e.g. why do many people prefer cooler air temps in the summer and warmer air temps in winter, even controlled for humidity?) because there's just no common way of measuring or altering your rooms radiation values besides insulation.
More data is being added, this was just launched.

More on the associated Telegram channel also.
Can you write about your experiences? I'm sure plenty of people like me are interested in this space but don't know where to begin. What was your background? How did you first start? What are the problems you solve?
We had a concept for most of my lower level education: "said is dead". It was forbidden to use the word "said", even at the time I was a little suspect of the rule since every famous author uses it A LOT. However I think, as with most education, the most important thing is to send the pendulum too far in one direction, so that when it inevitably corrects itself you are in a good position.

In general I agree that creativity thrives with structure and rules, but that's exactly what the ban on "said" hopes to achieve.
Ask HN: Is there a good description of a physical implementation of Tor
I had a look at the description of TOR on https://www.geeksforgeeks.org/onion-routing/ and wondered if there was an equivalent for the sending of messages via physical or even mixed medium.

While it would be time consuming and requires reliable 'nodes' (people) it ocurrs to me that security would be even higher as there is no automation available for cracking letters.
And it was terribly slow.

The iPhone was responsive like no other computer at its time, let alone phone. It prioritizes user input above all else, which is the right choice.
The idea may be, but then users will need to manage a key pair per site - and there’s less support for safely managing key pairs than there’s for passwords. How many people will actually do that, if the system doesn’t enforce it and how can the system enforce such a constraint?
WFH may allow to reduce heating in offices, but will increase heating in homes. Net effect may be zero.
Neo-colonial mentalities – Distortion of Indian history, Ruchir Sharma [video]
DDoS Russian news outlets the lazy way
open page and leave open in your browser. Will put some load on russian news outlets.
I'm trying to help friends in Ukraine as much as possible and advice on secure communications would be a way to do it. I know messaging apps security have been discussed in HN before but I wanted to ask the community about it in the context of the conflict of Ukraine.

The end goal for me is to give the best advice for my friends but I think it can also lead to the type of discussion HN is focused on.
I'd think in this (and perhaps most) war(s) it comes down to the restraint, personal integrity or frustration of the individual soldier. Having just recently watched videos of (alleged) Russian saboteurs and infiltrators disguised in Ukrainian uniforms and GRADs shooting into residential areas, it appears Russia isn't above committing warcrimes even in these early stages of the invasion.

Not even speaking about sending in Chechen troops whose foremost reputation is perpetrating warcrime.
Is there such thing as an unscrapable site? I tried to open driver.uber.com with Pyppeteer and it fails. I’m guessing it’s due to redirects, so what have you seen solve this problem?
I really think the design should be mobile first.

For other mobile users, you can use Firefox+ublock to zap the overlay(Addon>ublock>element zapper> need to zap the entire screen a few times(not just the dialog) until icons are individually zap-able >swipe right twice to exit zap mode). It is designed for desktop and there is some overlap in charts, but looks usable, on first look nonetheless.
"People didn't figure out why we need distributed ledger"

Means rather Gabe didn't figure it out, the team didn't understand how it works, and for burned. The reasons for distributed ledger are actually quite obvious.
I suggest:

Pop up warning: This will be hard to use on your screen size, continue?

If they click Yes then scale width to screen width (so no scrollbars)

If they click No take them to a description page with screenshots.
You can take it to an extreme like with XView which has a half dozen variadic functions for an entire GUI API.
Aldus PageMaker (Version 4.2)
https://www.firefly-iii.org/
> If something is treading on Twitter or Facebook or tiktok, the news outlets have two options, jump in and share in the wave showing their readers what the readers would like to see, or risk losing out by doing rigorous fact checking.

Anything that is reported on social media whether if it is 'trending' or not should be taken with a grain of salt and skepticism as something that is 'trending' could be part of another disinformation campaign on either side. Even the fact checkers can also be mislead and biased. It doesn't matter.

One should not totally believe what they see on the internet - especially social media. Always be skeptical with social media content.
War in Donbas was orchestrated and fueled by Moscow, with covert militants coming and running it from Russia. Please.. read at least some basic literature with plenty of supporting references (by international organizations, such as the United Nations, OSCE, etc) on this subject:

* https://en.wikipedia.org/wiki/2022_Russian_invasion_of_Ukrai...
* https://en.wikipedia.org/wiki/Disinformation_in_the_2021%E2%...
All of those and lots more.

There will be roadblocks with controls. Some kind of identification system among the military (Think codenames like in Band of Brothers, where they all use "Thunder!" and the response "Flash!" during D-Day but a little more sophisticated these days).

And generally people talking to each other. It is easy to spot a different accent, someone looking like they are lost. Ever tried finding your way in a city like Kyiv without a map? And better don't let anybody catch you constantly looking at one/your phone while you are supposed to be a local.

Don't forget everybody is very, very attentive right now. People just going around without an apparent goal? Standing in small groups without a plan of what to do? Weird way of of greeting? All those things can get you caught.

Especially once the fighting in urban environments has been going on for a day or two small groups of soldiers tend to settle in. They guard the same street/bridge/etc. for hours upon hours (and days upon days). Lots of time to get used to the usual coming and going. And in turn it is very obvious when something unusual happens.

Just sit in a caffee for a day and watch people. Even after only one hours you have a pretty good grasp of the crowd and you start spotting different kinds of people. Just one look and you see if they are a student going to study (Bored). Or waiting for a date (Nervous). Or on the way to work (Exhausted).

And while considering all that (And tons more) remember a saboteur has to fool hundreds of people during hundreds of small interactions during one day for days/weeks on end. He only has to slip up once to get caught.
It will run. It’s just a very bad experience.

The original iPhone was a delight to use, responsive like the desktop counterparts weren’t, despite much slower hardware and running on battery.
Related, a business leader from my 20s regularly said he wouldn't take a small problem. It has to be "a big, fat, hairy problem" or it's not worth the time.
"Thugs with guns could shut it off at any time" is the weirdest criticism of anything I have ever seen. Don't you see it can be said of everything?

Just buy some and stop being a hater. It's not early anymore.
Erlang and Elixir are already pretty strong in this regard.
> Which attempts of the dialogue are you referring to, specifically?

For example Macron's, Biden's or Scholz's talks to Putin prior to the invasion (and also after).

> Examples of such a dialogue would include NATO and Putin officials discussing new NATO memberships, future roadmaps to the regional stability and/or compromises.

You realise that Russian Federation is not a member of NATO and therefore has no say in any NATO memberships?
The guarantees Putin was demanding were never at the table. NATO knew that, Putin knew that, everyone who knows how NATO works knew that. Apparently only you did not get the memo.
A lot of comments have praised SICP on this thread. I'm a data analyst but I don't have a computer science background. I somehow prefer the ML family languages to Lispy parentheses. Could anyone please suggest an SICP equivalent book in Standard ML, Scala, F# etc? Thank you.
How do I volunteer to provide shelter to Ukrainian refugees? I have three unused bedrooms.
The Danger of the 5 Whys
I feel like I should support Ukraine. I don't like the idea of foreign invaders. But if I'm honest I know very little about this conflict.

I know historically the Soviet union was probably worse to it's own citizens than the Nazis were to theirs. So I'm pretty sure Russia is the bad guy.

But how do you all know they are?

Where do I learn more that isn't some pre-digested media message?

Lately I've been let down by media narratives finding out they're often over hyped versions of the truth the leave out any nuance so I don't trust what I'm hearing on the news.
> The same people that moan about some software being closed source will come back later crying because said software became a SaaS internet business with monthly fees...

You're saying that in a "Gotcha!" tone, as if you've caught these people out in an inconsistency.

You haven't; there is no such inconsistency. Closed source can be bad even if SaaS is even worse.
a company from china is attempting to finish and clone the unfinished airframe if it hasn't been blown up yet.