skysight-inc/HackerNews huggingface dataset:
Wiki would be at least of some help. My last job had no documentation about processes at all, current one has a wiki, but it's outdated in many places, because massive effort was put to get it running, but then it was marked "done!" and nobody really cares for updating it. But officially we do have wiki, so there, we're organized now.
Windows 10 Wallpaper was not CGI
> If you don’t fight a expansionist tyrant then what do you envision happens?

Tell that the Iraqis or Libyans or Syrians or Afghanis. Oh wait, they are terrorists when they do it but Ukrainians are freedom fighters?
I'd say https://www.cis.upenn.edu/~bcpierce/tapl/ is the ultimate bible on this topic.

During my semester we only went through a few of its chapters but it was very enjoyable in my opinion.
> I mean, installing audio highjack on an M1 is a quick 19 steps involving a reboot (I kid you not):

As a Mac user, installing software that can capture user input (like audio or keyboard strokes) in as few steps as possible is not a priority for me.

I think there's a fine line between (a) requiring extra steps as part of a genuine concern for user security, and (b) preventing the user from running custom code to "protect them from themselves". As a developer, I'm willing to tolerate the former but not the latter.
Uniting for Peace (2008)
I guess not all people investigate files out of curiosity. If you are into save files for games a lot of them use gzip->xml, gzip->json or gzip->weird list.
I tried doing something like this last year, I purchased lots of 1000 lumen LED bulbs.

The light was blindingly bright to look at and it looks very strange in a room.

My takeaway was:

* that you need some type of diffuser.

* The light leak out of the apartment was crazy. My apartment looked completely insane from the street.

* The light warmth is very important. And proper sun coloured lamps don't exist or are crazy expensive.
> I've seen new grads perform as well as senior engineers with these Leetcode-style questions so I've stopped using them to assess engineers.

Good point, it could start a real crisis if the industry collectively admitted that senior engineers are no better than new grads.
> doesn't exactly look like Putin sent in the A team does it

He sent in his Siberia team. They suck. They appear to have been lied to about what they were doing. There is no military rationale for using them. It was poor planning and/or poor impulse control.

The troops invading from the south are more competent, but by the time they reach the action Kiev will have their new Javelins and Stingers. More of these seasoned troops will be lost as a result. Putin is sensibly holding back Russia's modern kit (fighters, advanced electronic warfare equipment) Doing so helps maintain the narrative of a limited incursion in the east. It also prevents NATO from getting great intelligence on them.

What is clear is he overrode his military advisors, or never had good contact with them in the first place. Best case scenario, he winds up with an insurgency to manage and a ruined economy increasingly taking instructions from Beijing.
Yes, for instance for ossia score, the sequencer I'm working on which does some runtime compiling of c++ through clang & llvmjit, I ship a sdk for each platform with all the libc, libc++ headers. What a pain it was !

My scripts are the create-sdk-... Here if that can be useful to anyone: https://github.com/ossia/score/tree/master/ci and the SDKs are available at https://github.com/ossia/sdk
It's a shame the article doesn't talk about the actual LED components; I could use some pointers.

I built my living room lighting myself using a Raspberry Pi, a PCA9685 PWM IC (on one of those convenient little boards), a couple of MOSFETs and resistors on a breadboard, wiring (obviously), and fifteen lighting armatures that each have LEDs arranged on a square of about 15 cm². The LEDs are all of the 5050 RGBWW type (red, green, blue, and warm white), where the warm white LEDs perform the bulk of normal lighting. These are all mounted on the ubiquitous 12 mm 12 V LED strips, and are glued to an aluminium backplane, in nine parallel strips of 15 cm (9 LED components each). Each armature unit is covered by an MDF frame with a diffuser plate with a high light transmission suitable for LEDs, and the frames snap on to the armature units with magnets (that works really well and looks really good).¹²

This works well for such an amateur setup, but the two main issues are attrition due to heat death (presumably), and a wish for a little more lumens output. So for the next generation of these I want to keep the same form factor, but I'm thinking of making custom (replaceable!) PCBs with RGB LEDs and separate warm whites LEDs on an aluminium-backed PCB (JLCPCB can manufacture this type); keeping the nine-parallel-strips layout, but foregoing the backplane to allow heat to dissipate in the space between ceiling drywall and the floor above.

What I'm stuck on is how to find out where to source the warm-white LED SMD components that are actually good and not just tolerable. That is, good light colour, high CRI, etc, and where to get them as a consumer. Does anyone know which communities on the Internet know this?

Still a bit of a learning curve there regarding working with SMDs and designing PCBs, but that's part of the fun.

1: Testing progress in 2017: https://twitter.com/jdhoek/status/828319063097143297

2: Finished with their diffuser covers; three of the units are visible here (note that the ceiling beading trim is still missing — long since finished of course): https://twitter.com/jdhoek/status/885499829052485632/photo/2
Since you're comparing a house to a country, resp. a fire to war, and resp. an insurance to diplomatic relationships, then I stand strongly by my initial comment.

Your comment is overly simplistic as it ignores a ton of the signals that nations and leaders emit by doing one thing or the other.

Think of the nuclear treaties: they're here to limit the spread of nuclear weapons, actually adding to the global security.

Si, yes, not beefing up your military can be beneficial to everyone.
It feels like a good teaser and eye opener into a certain field to me.
I hope so. They own the copyright to a huge amount of their published material, which as adrian_b points out above includes most of the important historical record of the computing field. If they move to an open publishing model, they'd relicense it under Creative Commons Attribution or Creative Commons Attribution Share Alike (CC-BY or CC-BY-SA), which would be an enormous contribution.

However, as far as I know, this isn't even being discussed within the ACM leadership or membership.
It might be the first movements towards a nuclear weapon being used —and I guess that's all that matters in some respects— but I don't think Putin has the ability to take any EU or NATO member, and trying would be a quick suicide.

It's hard to get an unbiased viewpoint but it seems like Putin has few allies at home, let alone abroad. The West wouldn't forgive China and they can't afford to lose the support of their shiny new middle class. Belarus can barely suppress its own population. Iran and North Korea aren't mobile armies capable of moving any further than their neighbours and I'm not sure they'd want to die on this hill for their weapons supplier.

So I guess, maybe, but the way things are going, a coup seems more likely.

But having Armageddon plans isn't bad. Many components will be transferrable concepts for severe weather events, which do seem likely over our lifetime.
Russia plans to seize all Citizens Deposits to finance the War with Ukraine
That’s not the point really I tried to make (sorry if I was being unclear). I have a choice to (try at least) vote out the president who starts wars if I don’t agree with it. I could protest freely and massively on the streets. There is no such option in Russia. If I was a Russian citizen that fact alone would be cause for concern.
Show HN: Generate original memes with AI (GPT-3)
Hello HN readers,
We just launched Supermeme, an original AI meme generator that is very easy to use. You can pick a theme (Startup, Programming, etc) and pick a meme template and generate original memes in seconds using GPT-3 and other NLP techniques.

It is free to get started and try out.
Would love to get feedback and iterate :)

https://supermeme.ai/

Regards,
Ramsri
Ask HN: Tips on hosting your own Postgres instance
After all brouhaha around GDPR over the past month or so, I've decided to port my sideproject from Azure, Netlify and DigitalOcean to a local provider.

I've found one that checks all the boxes, except they don't offer any managed databases. Is it a fools errand to host my own Postgres database on a VPS? I've actually considered running everything off of (multliple instances of) SQLite so that I don't have to manage Postgres.
I do believe there is a nontrivial number of developers that work in a job well below their skill set, who just haven't gone out of their comfort zone to find a new job, or who haven't been discovered yet because they're so insular.

So instead of networking and the like, I'd start a bit earlier even: You don't have to settle for what you have right now. You can do better. An interview is not a job application you have to see through to the end, you don't owe them anything. Know your worth.
I've used a catch-all email for about 14 years now, I have no idea what you're talking about as this has literally never been an issue.
And many Americans are heading to the nearest Ukrainian embassy to join the Ukrainian Foreign Legion. I’m heading over tomorrow to interview to join the fight.

America is the greatest force for freedom in the world and I’m putting my money where my mouth is.
Why do you use it?
React breaks down because state comes in from multiple different directions and at different times - the history API has its own state, the query to the server has its own state, and the view has its own state, and they all happen at different times.

When a page changes in the history, the state of the view must change to reflect the history state, but when the user changes the state like going forward in pagination, the state in JavaScript is changed first, then the history state must be changed, then you have to figure out which state caused the change so not to get stuck in an infinite loop.

When a user initiates a new query, the query state changes, which triggers the request to the server, and then the results come back, but the query state may change when the results come back, which would trigger another infinite loop. Eg, when total_count is unknown, and then it becomes known with a query and must be included in the query state for optimisation, etc (don't try to get total_count second time, etc).

That is the problem with React - state has timing issues. I hate it and don't use it anymore. I just use pure JavaScript github.com/thebinarysearchtree/artwork. Half the code of react with orders of magnitude more performance just by using standard JavaScript stuff. It is hard to argue with that, but people will try until it can't be denied.
Ukraine has a significant potential for gas and shale fields. One of the reasons the EU has been getting friendly with Ukraine. Putin knows his way of life, and the Russian budget to consider doing something like this, is gone when those become active.

The thing that's a little crass to say right now, is that: Russia imploding to focus internally, Putin gone, Ukraine integrating further into the EU, is like a full bingo card of items that was strictly in the 'keep dreaming' section 3 months ago.

Now it is the best outcome for the EU. Still unlikely, but not categorically impossible.
If they have money they have power
Exactly. You’d probably need fewer of the warm colored strips, because at the time of day when you will want to use them you’ll also want less light anyway.
How global media covered Russia's invasion of Ukraine
What if the code calls

git rev-parse --abbrev-ref @{upstream}

when the server starts and then provides this link in the web pages?

The link will be updated automatically in the forks.

---

About the version, call "git show -s --format='%cs-%h'" to get the current commit.
He does seem to be a complete cock, he is revered and yet often wrong.

He's your classic home-cook-gone-famous and with his support everyone thinks they're a god in the kitchen.

Nothing turns me off a recipe or yt vid quite like "Kenji says".
> plausible deniability

You're proposing military aircraft owned by an EU member state should launch from their airfields in EU, sneak over the border and land in Ukraine, refuel and (re-)arm - and perhaps get a quick paint job too and have the aviation equivalent of their serial numbers filed off - then start attacking Russian forces in Ukraine, and our plan would be basically to hope that the enemy with apparently complete air superiority plus satellite capability might not notice?

I'm firmly anti-war; that plan sounds like a great way to drag the EU and/or NATO straight into this one.
Had some academic ties and some project was spun-off. But it was a long time ago, when C++ was the shiny new thing. How I understood the business grew naturally from 3 people to 1000+ today.
on paper, 7% inflation minus the 1%-2% T-bill interest seems like they're losing 5% per year.

But this fails because of one underlying assumption - that the cash losing value at inflation is an absolute truth. it's not. The reason is that inflation pushes cost of consumption, but the cash Berkshire is holding is not for consumption, but for investment. Investments could be expensive, or cheap, and holding on to cash _without the requirement that the cash be spent on consumption in the future_ means the cash is not hit hard by inflation figures like a household holding cash.
I don't know much about Hillary but I remember the WBAI interview Bill Clinton did with Amy Goodman for Hillary's gubernatorial election and where he ended up ranting and raving about "hostile questions" he sounded almost exactly like Trump. So it wouldn't surprise me at all if Hillary was another narcissist incapable of accepting responsibility for anything.
> ARIA 'select' is an abstract role, it's not meant to be used in code [0]. Form inputs should be grouped by HTML, <fieldset>, and error messages should go where they make sense; the fieldset's <legend> is the name of the group but since it is repeated like a description after the name of each child input, it could be useful to add an error message to it.

Thanks for the fieldset tip.

> > If you are saying that the authoring practices isn't good enough, then what we need is a battle tested guide on how to implement all of the UI patterns

> I am saying that, the Authoring Practices examples aren't battle-tested, that's not what they're for.

Oh right. That makes sense. I use those as a reference point, not as something to use as-is. I mainly refer to the keyboard, role, and attribute specification in the main document, as they are clearly specified.
Along similar lines (although related to satellites and not rocket engines), the first Ukrainian-built satellite in a decade was launched[1] from Cape Canaveral back in 2019.

Quoting from the article:

"Sich 2-30 is an Earth observation satellite built in 2019 by the Yuzhmash, the Dnipro-based factory, one of the world’s leading spacecraft components production centers plunged into a decades-long, severe crisis following the fall of the Soviet Union."

[1] - https://kyivindependent.com/national/first-ukrainian-satelli...
Because spammers know to remove anything after + or - sign, I've set up an arbitrary sequence of letters so gommmm iai + anything I want will root to gommmm@

I've CS question why I used their company email in my email address and it was fun!
What put me off from ProtonMail was their ridiculous "pay us money for extra domains" charge which makes it obvious to me they are not as honest as I initially thought they were. Allowing me to connect other domains to my one mailbox shouldn't cost them anything beyond the initial costs of developing the code to support multiple domains which they've obviously already done.
RIA news has article that ukranian nationalist-nazi militia executing ukranian military personal that refuses to fight russian army
Even if you pay for the premium service? I thought that was one of the features: where one could use it on a third party mail client.
Masking, I think a lot of people can relate.

The other side of that coin is that you see other people - extroverts, people-people like managers, recruiters and marketeers, and think of them as masking, of putting on a face and an act to achieve their goals. And it's offputting, it puts my hackles and defenses up, and/or makes me put on a somewhat different mask to try and interact with them (if I have to).

But as someone else pointed out, long term it mellows out a bit; you stop caring, you surround yourself with similar people, you become confident in your abilities, and I guess the masking, where needed, becomes easier, less draining, or even becomes part of who you are.

Small side remark, ABL or ABA or whatever, is a conversion therapy aimed at autistic people (and children) that's basically forcing them to mask, forcing them to pretend to be neurotypical. Think Pavlovian punishments for stimming and the like. Don't support those.
I think he has clearly shown he rather go off spectacularly than lose his face.

Unfortunely, most likely this will escalate and I am just waiting for him to declare any kind of help to Ukrain as an official war declaration on Russia, and then we are all in.
I think you're right about the information war kool-aid. If you look at everything in Western outlets from CNN to Funker530, you would think the Ukrainians are standing toe-to-toe and that the invasion is super sloppy.
mobilization was forced. people were literally dragged from streets. obviously later they were running away from fight, because it's not their fight
Microsoft is positioning Windows to be a platform that can run everything, while Microsoft itself, Google and Apple position themselves to prevent apps on their platforms from running outside of their parent operating systems.
> Apple has nailed it so well

It's a constant issue around me. I know people still keeping 10.6 Macs and sweating profusely at the idea that one day they'll stop working, as the tools they use haven't been ported upwards (because most often the developer of the proprietary app is dead) and will stop too ; imagine an artist whose favorite signature brand of crayons closes door.
All geopolitical goals are just an optional cherry on top of the main internal objective which is deliberately put Russians into besieged fortress survival mode to keep Putin in power.

Or as George Orwell wrote in 1984 about perpetual war in the totalitarian state: “The social atmosphere is that of a besieged city, where the possession of a lump of horseflesh makes the difference between wealth and poverty. And at the same time the consciousness of being at war, and therefore in danger, makes the handing-over of all power to a small caste seem the natural, unavoidable condition of survival.”
annual subscription payments are a much safer bet
also in the long future a lot will be just free
They have versions for both: https://linuxfromscratch.org/blfs/read.html
Probably nandgame

https://nandgame.com/
The comments there mention lack of hardware trigger, but I don't quite understand why software triggering would not be good enough at these relatively low sample rates? Surely modern cpus can crunch through 48MSPS in real-time no problem?
i have been trawling the web to see how different countries are covering this crisis. it is certainly interesting to see how the western media is covering this vs the non-western media. needless to say, its entirely different.

i also feel like there is so much hysteria and hyperbole from the peanut gallery that this cant be possibly helpful for those in the region who are directly affected by this.

this is very serious. and cooler heads should prevail. the western media isnt helping.
Typing on a "it's fixed this time, really" MacBook pro 2019 which seems to suffer from double keypresses regardless I'm sceptical...
Does it also work with C++? If so, it seems like a very good alternative compared to the MSVC + clang-cl toolchain in Windows (which you need to install gigabytes of libraries before doing any development).

Also, does it also work with build systems like CMake flawlessly? (I know that you can use Zig as a build system, but I would still want to leverage the ecosystem of C++ libraries compatible with CMake.)
For the past two years, I've been working on and off on a basic, open source scientific computing library in C (basic linear algebra on embedded devices, etc.), and hired a student this summer to work on adding some orientation algorithms.

It's still a work in progress, but we did dig up a couple other filter options to try out beyond the usual Extended Kalman (contributors very much welcome!) [1].

As another poster mentioned, finding the right parameters for the filters is essential, and involves a fair amount of testing and some trial and error to narrow them down to the right range for your application. There isn't a lot of info out there on that, either.

[1]: https://github.com/zephyrproject-rtos/zscilib/tree/master/sr...
You want humans to go extinct? OK, you first.
You may be right. Certainly purity spirals are enormously caustic.

However, I don't think the copyright problem is completely unrelated to the problem of surveillance capitalism. Elsevier's excuse for embedding tracking cookies in their papers is copyright, and the main thing preventing competitors to YouTube from popping up is also copyright. Google's primary excuse for scanning users' cloud files without their permission is also copyright, although they also have kiddie porn, which is Apple's excuse. Copyright is the excuse for the DRM in Amazon's ebooks, Netflix's movies, and XBox games, all of which form extremely powerful surveillance-capitalism platforms—in large part because the users are prohibited from disabling the surveillance functionality. Copyright is a powerful centralizing force in the software industry; without copyright, ex-Google and ex-Fecebutt employees would have a much easier time founding companies to compete with Google and Fecebutt, which would enable users to choose trustworthy companies instead of companies with government-granted monopolies on the software their employees wrote.

So I think copyright and surveillance capitalism are deeply intertwined, though the ACM is not itself using copyright for surveillance, to my knowledge.
Lenovo announces the first Arm-based ThinkPad
Belarus is de-facto a part of Russia now.

I don't think that Alexander Lukashenko can make any independent decision anymore, except maybe the color of his underpants. He needs Putin for his survival. And he sacrificed his country's independence for it.
MAGA terrorism is not self defense. Not any more than southern rebellion was when they were losing at the ballot box as well.
Sure, but we don’t need to be sat next to them. A large e-commerce company can A/B test new models to improve. The success metric is revenue.

For smaller customer bases this is a tricky problem, but I’d argue that automated recommendations don’t work at a small scale anyway so manual curation is king.
You mean a bit like when you read the New York Times and thought Hillary was winning?
I'm sorry but this appears to be unintelligible word salad? Are you replying to the right comment?
I'm interested to hear what you think!