skysight-inc/HackerNews huggingface dataset:
Interesting to see habits tracked using an org property drawer. I hadn't considered this before. Org itself has habit-tracking support https://orgmode.org/manual/Tracking-your-habits.html using :STYLE: habit.

I'm head-in org land. For habit-tracking, I found removing friction from the tracking process itself absolutely fundmental for longer term success (Atomic Habits, the book, corroborates). Like the author, I also needed mobile access for this. I built https://flathabits.com (powered by org) for this purpose (iOS only). In the end, I found I hardly used Emacs org mode to view or track my habits since the mobile app removed all the trakcing friction. Now I just get peace of mind knowing that I can access the plain text file if I want to.

ps. I also built another org mode app for iOS https://plainorg.com
It would be cool to have this kind of email course like some intro to the graph world. Maybe graph modelling or graph algorithms :)
The old class based way of doing things was a slap in the face for anyone expecting a "reactive functional ui library" and it put me off react until they did the proper hooks implementation.
I'm glad it's not just me sitting with my ignorance and making assumptions. I know the West was going to pump hero stories and "freedom fighter" narratives. But other than that, we haven't seen anything else. If this were the US fighting a similarly overmatched opponent, we would see maps showing how far we've advanced, fronts were there was fighting and such. But we get none of that now, we have no idea of if the Russian army is still stuck at the border, or currently changing the drapes in the Ukranian Oval Office.
The old class based way of doing things was much more explicit.

They weren't though. They looked explicit, but what was actually happening wasn't what appeared to be happening. Dn Abramov wrote a good blog post about the subtle bugs that can sneak into class components - https://overreacted.io/how-are-function-components-different...

At least, hooks should take some kind of "context" and "name" parameters so that they are in spirit a pure function. Then you could also call them in loops and if blocks without problems.

Dan also addressed a lot of the 'why are hooks like that?' questions in another post that goes into some of the designs the React team rejected. https://overreacted.io/why-do-hooks-rely-on-call-order/

Hooks can be hard to reason about but they make code a bit less error prone because when they don't work they fail completely. Classes don't. Classes work most of the time. That is so much worse.
Russia Sanctions over Ukraine Largely Spare Energy Sector, Vital to Europe
No, absolutely not. That's ridiculous. I live in Argentina.
Communications from these platforms look so absolutely unprofessional. Having gone through a dialog with a couple familiar names now publicly traded it's strange watching the amateur hour that is this train wreck of dated, half-baked tooling. You can't tell if you're submitting personal, sensitive info to the business entity or if it's some phishing scheme.
FAQ – solo-Masker,“one-way masking” – Optimal protection
>pick apart your every idea and make sure you are solving the right problem

Can you give some examples? Have you identified any specific methodology/process at play here which can be learned?
Nonsense. The Soviet Union had Ukraine as a member state without Europe being "constantly sliced".

Ukraine is a vital interest to Russia. It is not to US or Europe.

Liberal ideologues in EU and US are bringing nuclear Armageddon closer with their dangerous insistence on ideological crusades instead of rational analysis of opposing states vital interests.
Any changes in the past 19 hours?
Pregnancy risk tool cuts baby loss in black and Asian women
Does anyone here know if there is any fundamental difference between memgraph and neo4j? It looks to me like there is roughly feature parity between them, but I am not very familiar with graph databases. As I understand the Cypher language is used by both.
That’s one read. There is also the idea that lashing out against real or perceived threats to America was seen as justified in the wake of 9/11. And the US squandered whatever sympathy they had by screwing around in Iraq and conveniently ignoring the likelihood that Bin Laden had fled out of Afghanistan into Pakistan.
Weird, I was wondering the same thing today. This action seems like a hail mary intended to secure a legacy.
Why Doctors Are Quitting Medicine
I believe we are. I think cosmically we just left the starting blocks compared to a slow heat death that will take place eventually. Maybe someone knows the stats for that eventuality.
> What resulted was a heartfelt apology to me from him, for anything he might have done to offend me. I responded explaining the situation, but the entire interaction was extremely awkward.

Dont you just find its a form of spying? Its bad enough having family doing it, but friends as well?

I really dont think people understand privacy, scientists certainly dont thats why they do what they do.
i haven't got around to trying it yet but yunohost seems to solve part of this problem. it even helps you manage users. not every app is on there though
An larger and noisier category for study: recurring patterns of low-quality (downvoted, flagged) spam comments on some topics.
And the Chechen dictator will be out of boots
https://twitter.com/clashreport/status/1497540771880132609
Rec systems that tech giants use looks vastly different than what ML academics study. Industry rec systems are a constantly evolving beast. Why? Because these teams of ML engineers are constantly running A/B tests to tweak some aspect of the model. The resulting model likely doesnt fit nicely into something category of model you can describe as collaborative filtering/lambdamart/etc b/c it's some highly performant glued together mess.
The article doesn’t say China did it, it says China benefits from this. Big difference.
Yeah but he uses a huge parabolic mirror, which he places in the next room. He mentions fresnel lenses, but they are expensive, have color fringes, and depending on the focal length the whole light will also not be very flat.

The holy grail would be something that has the size of a picture frame, and you can slap below the ceiling, to fake a roof window.

If you combine a good fresnel lens with some clever mechanics or a micro mirror array light source, I wonder if you could even make the angle move over the day? Using fresnel lenses, you could also split it up into multiple cells, to make cooling easier. But I guess in the end there is a reason why the commercial system costs $30.000 and takes more than a foot of thickness.
Simulating Daylight isn't very easy, especially not with LED diods. https://vgl.ict.usc.edu/Research/OptimalLED/ There was a lot of research in covering the daylight spectra by adding additional LED diods to get close to daylight. Coming from a filmset background, usually strong metal Halide lights are used only to simulate a daylight scene, for example the arri daylight 18, which is using a Metal Halide 18000 Watt bulb.Attached outside of windows. Furthermore light sources (except for lasers) drop intensity quadratically, meaning the size of your room is a big factor. Talking about LED's, even on shoot's like the "mandalorian" where the main light source is a LED-WALL, the light isn't enough so that additional Studio lighting is added.
There are a lot of similar feeling alternatives beyond react. For example SolidJs is jsx based and ditches also the reconciler (modulo lists). It has a lot of cleverness in what it does with that jsx, but the result is way more straight forward and composable.
> I can't imagine spending all my time building something that I had no input on designing.

Sounds like you work at startup rather than corporate. My current job is basically building on something somebody else has already prototyped. I hate it, it makes my days dull. But then one day I realized, that if I could do it as a part time job then I'd have no qualms of not wasting my mental energy, I'd gladly do what is required, clock out and spend my creative energy outside of work or with other part time gigs.
There is constant bias, that cannot be denied. But Putin’s actions are pretty damn blatant. His decisions are directly responsible for the current crisis, and all the blood is on his hands.
Discover and share ways to help each other
https://helpgenie.org/

tldr; A place for discovering and sharing ways to help each other.

I often feel unsure how to effectively help others during their times of trouble. This is particularly true for issues that are beyond my interpersonal relationships and are highly complex by nature. For example a war between two countries who's histories, cultures, and politics I understand very little about. For the past few days I have been trying my best to understand the current conflict in Ukraine and found myself growing more and more inclined to help those suffering somehow. The thing is I've always been someone who prefers to contribute through action rather than donations. Just a personal preference. Yet most of the resources I have come across are suggestions to donate to one organization or another. Again this is great, and I highly commend those who donate their money, but I wanted to see if I couldn't find a way to help in a way more natural to me. When a friend asked me today If I'd like to help contribute to an open source project archiving Russian radio communications channels I agreed and then realized this must not be the only project being worked on that can use assistance. There must be a whole world of issues being worked on in unique ways that people would gladly accept contribution towards. So I put together this quick prototype of what an index of that sort might look like.

While I hope to expand this too other issues as well, given the moment I'd appreciate any suggestion on how to help the people of Ukraine. The more diverse the suggestions the better. Additionally education material is great :)

Lastly, I put this together in a few hours so naturally I had to leave out much of what I'd ultimately like to see from a site like this. If you too find it promising give me a nudge and I'll develop this further!
Of course they do, I never claimed otherwise. People also successfully use C++.

If you're learning, however, you know have to understand why you can't use generics (monomorphisation means you're not getting a stable ABI), why you shouldn't use native tagged unions and instead should write your own with unsafe (for total control of how the tag is handled), why you can't use the standard library, why you need to tag most things with repr(C), why the standard ownership patterns the borrow checker beat into you are in the way when writing your own allocator (with plenty of unsafe). Do you see my point?

Both Rust and C++, when writing baremetal, ask you to ignore how to write idiomatic code in their respective languages. This is fine for experienced devs, who will make good use of the additional features for abstraction, but not for newbies IMO.

C and Zig, on the other hand, do not have this problem, as idiomatic C barely uses its standard library (which is garbage anyway) and idiomatic Zig is designed to work baremetal, including the standard library. I certainly don't recommend using C for new developments in most cases, but for learning, well, you need to learn it anyway, even if you're using Rust baremetal. It's effectively what you're writing, albeit with lots of repr and unsafe strewn around.
You painted an exceptionally vivid picture. That is a really thrilling story. Thank you.
Thanks, I have heard a lot about Bill Bryson but never took the time to read it. I will start with this one.
If there was a way to guarantee that you would also go, I would do it.
that is some really cool work there. Thanks for sharing
At the moment yes, given that things I'm improving is an old (2012) Dojo application where the closest thing to a component is a function call that concatenates HTML, CSS and JS together. Yes that's JS-in-a-JS-string, it's er, interesting.

I'm dealing with thousands of fields with hundreds of different validations (usually min/max values or regular expressions), React is not the only one that can solve this, but at the moment I don't regret my decision. And with hooks and functional components, they're really compact - compared to e.g. Angular, which is more aimed at Java/C# developers I believe in terms of formality and verbosity.
The US should compromise on NATO to save Ukraine
The license applies as written and as interpreted in a court of law.

When you were both parties, you were in violation. And as you say party 2 hosts the software that party 1 has altered, you appear to be relying on a contractual barrier between party 1 and 2 that makes them separate entities to 'shield' the party actually presenting the service from having any obligations. It's entirely possible that a judge could interpret the 'you' in clause 13 to include any parties who are providing the modified version to their networked users.

Either way it's probably not really some sort of 'gotcha' that just allows you to circumvent with impunity.
> Where are you getting your numbers?

I suspect I had mixed up federal and total tax revenue %. We're still only talking an avg of $4k per working person for the entire system though, if you take the total funding sans property tax and divvy it up by the working population (90bn, ~30% prop tax, 16.9mil working pop).

I realise the avg isn't going to be representative of the general population, but the marginal utility of money should roughly scale with the amount of that paid per-person.

> Grocery store people work and have contact with far more people.

Honestly not entirely sure of your source on this. I'd suspect that having several hundred students in the same building for an entire day with central AC would be more of a petrie dish than your typical grocery store most of the week.
Absolutely so. You see why this comment is downvoted? I've said something that doesn't fit narratives and people just downvote. Easy peasy, no intellectual efforts needed, just put a like or ukraininan flag in support and it will feel good. If only things would have been so simple..

Thank you for being intellectually curious. Regrettably not many people venture into it nowadays.
Ah yes who can forget the mighty parallels between Gaddafi and Assad with the current Ukrainian president.
X11 has but does XWayland? Or desktops running on it like KDE and GNOME?
CDC Drops guidance for universal indoor-masking
I wrote https://computationbook.com/ for that audience.
Maybe it is because I am not a soldier, but I would need a pretty strong reason to fight a war. One that really makes me want to fight.

Even if you factor in Russian nationalism I doubt that many russian soldiers really believe their involvment in Ukraine helps their country.
The Ownership Trio
Ah, it's sad to hear that. People can be so emotional, just because of a bit of syntax.

But since you have full control, you could introduce some extra syntactic sugar as well and desugar it into regular lisp/racket syntax before parsing, no?

As an alternative with a completely different syntax, I found Scala to be extremely nice for building DSLs. Probably the best typesafe language for DSLs out there. It's only really good on the JVM though.
I used "rails lights" (the kind they often use in boutiques) and pointed them up at the ceiling (rails are mounted on walls, not the ceiling). There is almost nowhere in the apartment where you can look directly at a light source. The result: bright but pleasantly diffused light.
Not at all. The first noticeable things they'd probably do are ramp down production to meet demand and stretch out product generations even longer. The improvements between generations would be much smaller when they did arrive. Prices would still likely go up generation over generation. The less profit they can look forward to from increasing unit sales from market demand, the more they'd start cutting corners to make their numbers from the demand that did exist... one way or another they will make as much money as possible.

It's arguable that they've been doing a bit of this over the past couple of generations... it would get far worse in a chronic oversupply situation.
I'd consider that a strange question since these development means the amount of code required is getting less and less each year. React code is really concise now IMO.
Thanks, I'll add the John Stillwell book to my reading list. And thanks for the idea of watching the newer "Cosmos" series. I'm always looking for ideas for shows to watch with my son!
Photographers often need to build an artificial window or create artificial sunlight. Here's a fairly good tutorial on how to do that using a used satellite dish:

https://www.youtube.com/watch?v=6bqBsHSwPgw

Personally I have affixed studio lights to my home office walls, with umbrellas, for Zoom calls (total cost < $200). I find that they also enhance my mood / energy levels, so I switch them on whenever I need to boost my spirit or productivity.
I've been in the same boat. Putin's comments about "denazification seemed so absurd that I did a little digging. I found neonazis had a big role in the 2014 revolution, which started to look more like a coup. The more I dug, the stranger things got. Like Israel arming Ukrainian neonazis. WTF!?

This MR Online article does a good job summing up some of the historical context. It's a socialist rag, but the facts fit with many other sources.

The gist is that, yeah, Putin is an evil autocrat invading a soverign country, but the West has really pushed Russia to the brink, mostly to make Eastern Europe exploitable by Western capital. And NATO has expanded to the point where there are nukes on Russias border. If Russia put nukes on the Mexican border we would freak the fuck out.

Heres the article, keep looking and you'll find more. Look up the Azov Brigade and the Social Nationalist Party of Ukraine too for neonazi stuff.

https://mronline.org/2022/02/24/what-you-should-really-know-...
There’s no unfair…or fair.

HN’s not a court of law.
Last I heard Khabarovsk's elected leader fell out of the Kremlins graces and his detention led to mass protest. Then add the pressure of all the sons coming back making it look like the Soviet incursion into Afghanistan, I think the ingredients are in the cupboard.
Probably MHRD[0]

I'm a hardware engineer, and enjoyed playing this in my spare time. You create small components from nand gates with an extremely simple made-up HDL and gradually integrate them together into larger and larger functional blocks until you have a basic but working CPU.

[0]https://store.steampowered.com/app/576030/MHRD/
I'm common as muck and spent £150 in a Michelin star restaurant
I agree they're probably getting ahead of the game, but in case they aren't just getting ahead of the game it is a move to be applauded. And really if it is them getting ahead of the game I don't think there's any 'just' to it, lots of companies would be hesitant at this stage to make the move, most managers don't have the vision to get ahead of the game - only, at best, to be where the game is currently at.

As such I have to respect them whether they are doing it as a game playing move, or a moral move.
The main reason Windows can still run stuff is because it has Visual Studio Redistributable packages at the OS Level. So got some software that needs VS's C++ symbols from 2008? Usually comes as part of the installation process, but you probably already have it installed.
> That they aren't doing that, means they don't actually have the will to defend Ukraine against Russia

This is an oversimplification. They are willing to. However there is a hug step from offering economic support to sending your own troops on the field.
Thanks, I had read some Feyerabend essays a few years ago. This is indeed instead thought provoking.
Making Life More Confusing for Firefighters
For those wondering about what was/is Russian strategy: yesterday on a bunch of Russian media sites got auto-published and then deleted article that based on it's content was supposed to go to air as a victory lap after completion of mission: unification of Russia (Russia, Ukraine and Belarus) and solution of Ukranian question (partial translation): https://twitter.com/christogrozev/status/1498029060085075969 .

This is original https://web.archive.org/web/20220226051154/https://ria.ru/20...

It does look that assumption was just to march in with no or little resistance, take over entire country in 2 days as then manage area with rosgvardia.

On additional note, this book supposedly popular in upper echelons of Russia and written by somebody who considered to be guru of putin. wiki article has short summary, but it's enough to see how it reflects some of the current realities (in Ukraine, Georgia, UK, USA). Wiki artcile has a good summary https://en.wikipedia.org/wiki/Foundations_of_Geopolitics
Hodor: Detecting and addressing overload in LinkedIn microservices
It definitely can't be just a PR move, because no company allows PR to throw away a $25B business, the management has to decide first and PR just spins the decision. Just imagine the board room discussion! Hey what happened to that 25 billion, oh PR thought it would be a good look for us if we lost it! Thumbs up!!
People like to post this, but Dugin is mostly irrelevant in Russia, and I doubt he had any influence on Putin's decision making. Putin's imperialism is of his own biographical origins.
Generally speaking, simple UI sounds like something to aim for. If your UI is "intrinsically difficult", there's a high risk the user will conclude the same thing.
That's true for the desktop - they provide an app called the Bridge that logs into your inbox, decrypts the mail and exposes an email service on localhost that you can point your mail client to.
I loved this book when I read it indeed. Really comprehensive and smart.
In this case I’d say it’s pretty much black and white. It’s ok, not everything has to be nuanced.
One of the most fun ways to see how 'simple' it all is, is to add 'init=/bin/sh' to the kernel command line. The kernel starts, you get a shell. It's then possible to do a lot just with shell built-ins (e.g. 'echo *' for ls).
The Slogan “Glory to Ukraine” Entered the National Book of Records
I'll add this one to my list, thanks !
Renaming SRE outage “post-mortems” for psychological safety
And yet there are neonazis in the Ukrainian military who attack Russian-speaking separatists in the east and who were in the vanguard of the 2014 revolution. It's wacky and hard to believe but a conflict the large is never black and white.
I'd advise to try to install a Linux to a VM, and if you have a bit of experience with VMs, try LFS in a VM. Try VirtualBox if you have no prior experience. With a VM you're in complete control, you can try anything, fuck up like nothing matters and restart, pause, make snapshots and use them as checkpoints. Googling commands is not a problematic thing at all, and if you run a VM then you have the safety of the host OS to listen to your favorite music and google anything you come across.
sure but it's not hours either - one could reasonably whip a small GUI with dialog box like window's compatibility one where you can run a particular software in whatever distro of yore
Ask HN: Books to read when you transform from SWE into SWE Management?
Hello HackerNews!

I started my SWE career in 2016. I'm in a team which develops an enterprise SaaS-Application. Now I got the opportunity to transform into a leader role which focuses on DevOps, Tests, QA, Documentation and related topics.

So far, we set goals and start to introduce the team (around 5 people) into that topic.

My question is - are there any good books, articles, podcasts, ... which can help me in this "challenge"? I already got some basic (practical) knowledge in leading people and managing a product.

Stay safe!
The question is, is it one of the largest banks, like Deutsche Bank in Germany, or is it relatively insignificant?