skysight-inc/HackerNews huggingface dataset:
I think a lot of explanations miss the mark on what exactly a monad is, and make it out to be like some kind of tool or data structure or something, when it's really just describing operations on some piece of data.

It can be helpful to just take the word "monad" out of your brain and work up from understanding the idea of a functor first, then gradually understand what a monad is.

In the end, I think, monads are not that exciting outside the world of pure FP :) https://twitter.com/plt_borat/status/228009057670291456
Miso Soup Won’t Protect You in a Nuclear War
You need a punch to your face -- reading books isn't going to help.

My advice to you: don't try to prepare. You'd have to kill and overcome the man you are now. You don't need to be Rambo. You can be the bloated corpse floating in the pond just as well. The universe won't care if you extended your life for a few measly years. Relax, watch some TV and drink some soda pop. Contine tuning out reality as you've been doing your whole life.
I'm from a region close to the conflict, that's been mentioned a few times in recent headlines. Before all this, I was sure I'd flee at the first sign of trouble; get my family and just move somewhere West. Now, as the conflict progresses, and I feel my way of life attacked, I feel a certain flame inside that I've never felt and not sure where it came from. My plan has since updated to:

- Get up to speed with my fitness as I've been slacking for almost a decade; already started morning / evening routine. Nothing fancy, just getting some strenght, mobility and endurance back;

- Fully check-up my car and keep it loaded, spacious and ready to go; also would have some survival gear inside the trunk; I already have thermal blankets and gear that helps me camp for a week. So that should help. It's also tightly packed;

- Use a spare apartment I have a storage for non-perishable food, hygiene necessities and what you might call a prep kit. Some iodine tablets, medicine, band aids etc;

- Stock up my grandparent's house in the country side;

The moment shit hits the fan, I plan to:

- Jump in car, fill it with family, and do some back and forths (if petrol allows) to get everyone as far away as possible;

- Get back and join an armed paramilitary group;

- Die for my family, friends and western ideals without thinking twice about it.

This is of course speculative and I might crawl into a ball and get shelled to oblivion but I've never thought myself of having these thoughts, especially with my nihilistic mindset. I've never for a second thought about my nation, or dying for my leaders, they can all go to hell, but imagining my family going through a humanitarian crisis... just fills me with a resolve and sense of pre-determination that I'm not sure how it would translate, but god damn it I feel like I'd be a vicious beast towards an attacker, war crimes be damned.
Shared values and culture necessitate limited tolerance for diversity of thought.

That's just reality. You can't share values if you tolerate people thinking other values are better.

Culturally also. In the US, back when everyone ate chicken, spoke English, and went to some form of Christian church on Sundays, there was very little cultural diversity tolerated.

Chicken, English, and Church was the culture.
Metaphone is good if you typed in something that sounds like the correct word. But often spelling typos are missing letters, or pressing a nearby letter instead of the one you meant.

For those the sound of the word isn't right, you need something that checks for nearby keys (I guess it needs to know the keyboard layout), and for missing or extra letters.
Or, hear me out, you could just pirate and not waste your time. Why should we encourage kids to work?
I doubt it. North Korean geography lands itself to isolation. DMZ, China and the sea. Russians plenty of border countries that they can get in with large Russian communities that can help them.

Even if another strong man replaces Putin in the mid, I’m not sure people will accept that anymore.
That doesn't sound right. C (and C++) permit you to do pointer arithmetic to derive a pointer value pointing to one element beyond the final element of an array. This special treatment doesn't extend to dereferencing though - if you deference that pointer, that's UB.

If you do pointer arithmetic to derive a pointer value pointing 2 or more elements beyond the final element of an array, that's undefined behaviour, even if you never dereference that pointer.
There's no likening, it was just one more example in the bag of hardware used for harmful activities, which is a very big scope.

I'd love to learn that I'm wrong on the crypto one, give how well widespread is, but I haven't seen any fully convincing argument.
> Microsoft both delivering a good product and acting in good faith

I’m going to call you out on that. Microsoft lost my trust to act in good faith with personal data when they started capturing my private OS user input (e.g. the history from Windows R (run) and forced me to link it to my personal identity.
Topical book recommendation: The Space Merchants
I've been forced to use a number of products over the years at work from Trend Micro to McAfee. They all need curated exclusion lists and we have to ask developers to put all source controlled files under an excluded path common for all devs.

McAfee is by far the worst offender IMO when it comes to file IO. We eventually dropped it in part to it's insistence on locking files in App Data which is a common scratch space for almost every Windows App.
Knowing that something can be a lot harder than expected usually helps a lot.
So basically the same history as other WIP features, thanks.
The author, Jay Carlson, is a really rad guy. I've got a few stereoscopic camera boards of his floating around that I happened to run into and a few emails later I had them up and running!
Comparing the safety records of fossil fuels and nuclear,
while ignoring the safety of solar,
is dishonest.
>150% of my power requirements is produced by panels on my roof.
Columbia math prof challenges own university ranking
It doesn’t matter if you disagree (BTW I don’t know what you disagree with specifically, and I did not mention the Universal Approximation Theorem. It seems like you’re making some assumptions.) A polynomial spline is still a subset of a neural network, so if you’re right, all you’re demonstrating is that splines also suck at solving the same problems that neural networks solve. The discrepancy between the two here, again, has nothing to do with networks and everything to do with your contrived example.
>Stephenson’s narrow tracks had been introduced first. Originally designed to carry engines transporting coal for the northern mining industry, they were tailored to match the width needed for accommodating a horse between wagon shafts.

there is also interesting related interpretation of Space Shuttle Booster width back to Roman times through the British narrow railway gauge http://www.astrodigital.org/space/stshorse.html
Stilride looks to “industrial origami” for new electric motorbike
January 2022 Time Tracking
Exactly. While it's good to prepare mentally for the future, it's seems like the real problem is that the threat has been blown away out of porportion: The war escalating out of Ukraine, nuclear weapons being deployed, someone roughly in their thirties being drafted. None of that is a given, and some of it is highly unlikely. OP might want to limit how much news they're taking in, or change sources to something less sensational.
Hey! We’re probably the same age and grew up in the same country.

I went to a military boarding school and while I never took up my place at office training I had a glimpse at what being cold, wet, tired and hungry all while having a rifle to hold and an “enemy” to scout.

You’re right, it’s absolutely horrible (even without fearing for your life) but you’d be amazed what you’re able to deal with and accomplish when you have no choice.

The instinct to survive is enormous and you’re seeing this right now in the Ukrainian people - you think they were ready for this?

Of course they weren’t, but they are pulling together, drawing strength from community, history, patriotism and dealing with what’s in front of them as best they can.

If the same happens to us (and if the UK government is drafting people then it’ll be such a dire situation that your life will already look unrecognisable) then we too will find the strength in the same things and you’ll work it out.

Honestly though, I doubt it will come to that. This is far from over but it’s a long way still to air raid sirens in the midlands and us getting shipped off to fight.

If you’re out of shape though, start running - build up slow if you’re really out of shape so you don’t get injured but being able to run and have stamina is one thing that can make a huge difference in your performance if needs be. You’ll also get used to doing things that aren’t nice or comfortable.
Mass Suburbanization is bankrupting American cities

https://www.youtube.com/watch?v=7Nw6qyyrTeI
> if somebody else would accept to do it for $100k/year that's what he's getting.

Very true but they aren’t. That’s what makes it a hot market.
Could have been one person at the lab got infected, stayed home when feeling ill, passed it on to family etc.

There was a real covid lab leak in Taiwan by the way https://fortune.com/2021/12/10/taiwan-investigates-covid-lab... No one actually caught it off the researcher that time.
There’s Bluetooth cubes now?!?
Oh, c'mon. It's always easy to speak from the sofa - yes, I would, you are a coward and bla-bla-bla. You are not living in this shitty contry and you are judging from the western way of thinking.
Remember, it's always a number one priority to save your and your family lives and then care about others.
And one need have the other so I can't imagine what exactly it is you're talking about in the context of a reply to the statement "Ads are fine."
All client security products are making tradeoffs between keeping the user safe and requiring them to read and understand configuration settings in their security products. The options recommended here fall into either the "this will break some legitimate stuff" bucket or the "this potentially uploads a lot of user data to the cloud". I agree with them being off by default; if you understand and can handle it, you can turn them on. If gpedit is scary, you should leave them alone.
If by "crypto" you mean cryptocurrency, it's an often addictive form of gambling, like many modern types of investing can be.
After Putin’s invasion of Ukraine, Moldova worries it might be next
Join the army, I’d imagine they’d have a few tricks to get you ready.

Even then I’d say many people aren’t ready.
> Which country does it apply in that you need a permit just to shoot a gun?

In Australia – for a civilian to shoot a gun, somebody needs to have a license. If you want to buy a gun – or even receive one as a gift – you need to apply to the police for a license.

Now, it is possible to go to a shooting range, and pay to use their gun on their premises without personally having license. However, even in that case, the range still needs to have a license – indeed, not an ordinary gun license, a special type of gun license which allows them to offer this service to the general public. In my state (New South Wales), the member of the public must show photo ID and fill out a government form called a P650 [0] [1] with invasive personal questions (such as if you have ever attempted suicide or self-harm, have received treatment for alcoholism, drug dependence or mental illness, etc). Lying on the form is a crime (although given the form is not sent to the police, only retained by the range, it may be hard to detect). If you answer "Yes" to any of those invasive personal questions, you are not allowed to shoot, unless the range makes a special application to the police for an exemption in your individual case, and the police decide to grant it.

So, effectively, all civilian gun use requires a permit in my state of Australia – if not your own, then that of the shooting range, and even that case is highly regulated.

[0] https://www.police.nsw.gov.au/online_services/firearms/clubs...

[1] http://stmarysindoorshootingcentre.com.au/admin/_files/pages...
Sure maybe the memory is freed (or paged out) as pressure rises. The former is however not guaranteed in any way and requires that Windows Defender (or whatever other application) actively monitor the memory situation, taking appropriate action as it changes.

That's something I'd expect a database to do. A virus scanner? Not so much.
> I'm terrified that the world I was raised for will not be my future. I am scared and I've not been able to focus on anything else since this conflict started.

Paying attention to the warfront is not a bad idea. Letting it consume your attention is a different matter altogether. Folks had to learn an entirely new way of living -- and part of staying mentally healthy is focusing on healthy activities. So, perhaps you've got experience with that. Apply it here. Limit your time consuming news. Find something productive to do. Put your phone in the microwave if you need help with that discipline. Go outside, ride a bike or something.

If there is a war, maintaining some mental discipline will be absolutely necessary to stay okay. It won't be business as usual, but cling to any reasonable sense of normalcy that you can find. You still need to eat, sleep, and find ways of entertaining yourself. Even the kids who survived WWII played games.
Show HN: Flirt like a King - Online Dating Assistant
Bloomberg is spreading confusion.

It's not a "EU defense pact", at least not in the Nato article 5 way.

https://nyheder.tv2.dk/politik/2022-03-06-danskerne-skal-ste...

(Backgrounder on this from a Danish perspective, via Google Translate.)

The EU has no common army, but the member states decide for themselves their military forces. However, they can decide that they will carry out a joint EU operation.

But when those decisions are made, Denmark is not included due to the defense reservation.

Denmark's defense reservation has existed since 1992, when a majority of Danes voted no to the Maastricht Treaty.

This means, among other things, that Denmark does not attend the meetings when military operations are discussed under the auspices of the EU.

Denmark also does not participate in the EU's military operations, does not finance them, and neither soldiers nor military hardware is provided to EU-led conflict areas.
Sorry. Just my personal experience (anecdotal). I don't think any of my care providers quite believe me.
Clearly you should have read Orwell's essay. He makes clear the distinction between patriotism and nationalism in the first couple paragraphs.
It’s still spying even if there’s a rational reason for it.
Even a hardened libertarian doesn't believe that. You need to apply critical thinking to your idea.

> Responsibility, just like freedom, lies with the individual.

Let reply with your own question: according to whom? You? Is that the type of government anyone has agreed to be governed by?

Why don't you go start your own form of government with that principle then?

To answer your question: according to people, ever since we decided living as hunter-gatherers sucked. When you live together with others, not taking care of them means hurting yourself as well. Let me pick a simple example for you: everyone pays tax for a sewage system and water mains. A town built for a smaller number of people than what it has will see people shitting outdoors and causing disease and the homeless overflow will bring back cholera which will not only affect everyone's health but also their income and safety.

Another example if you somehow find a controversy in the previous: Let's say the residents if LA all moved to Miami over the summer. As a miami resident you are no longer able to use the roads or afford a place to live and all the grocery stores and restaurants are empty. So now, you are forced by others to suffer or move. Well at least you pay taxes and agreed to live there. But then you come to my country and decide to do the same, except you never paid taxes here and never agreed to follow the rules of the land but you want to displace me and cause me suffering? And you expect me to be ok with it?

Come on. No stupid ideas but this is intellectual laziness at best.
I used the numbers they didn’t bother to check from their [2] link.
so, Putin pulled a “Waterloo”.

Napoleon would have been proud.
> Ultimately, I file (mandatory, full time) pairing in the same category as mandatory in-office work

I don’t really disagree with this categorization. And there’s a lot of companies that view it as core to their success and culture to have an in person work force.

I may disagree, and I may work elsewhere that suits me better!

That’s sort of why this digression on denying a company the ability to set their own development practices is strange to me. There’s a plethora of options for the work force. Go where you’re in alignment, don’t force bad alignment on the company!
Move to the Falklands.
How are people even getting viruses? I've been using Windows to varying degrees since the 1980s, and I've never once in my life gotten a virus. I never used any antivirus software. I let Windows do whatever it does by default, but it never flags anything. Are people picking up viruses from pirated games or something?
Maybe buying a Dodge (or any Stellantis brand) is a predictor of poor decision making skills?
The 8051 microcontroller is pretty easy to learn. I'd recommend that as a starter on assembly. But if you want to end up playing with x86 why not start there.
I think decentralized storage + Blobbackup could make for an interesting pairing. I'll make time to look into it.
Except that's not what they said, they said these are people who generally make poor life decisions...
1. There are various possible ways. Maybe a whistleblower. Maybe it's in the lab database they still won't show. Maybe the research is detailed in EcoHealths emails they still won't show. etc.

2. We should probably improve on the two most likely sources - lab or wet market.
If you have a better way to do it people will literally never stop throwing money at you.
I don't know about modern claims, I was more talking about historical claims, where "culture" was associated with whiteness and things that were considered black were lesser and therefore not worth preserving. Black culture wasn't "American" even thought it was in America. If you claim Ukrainian culture is Russian culture even thought Ukrainians don't agree, and then use that to justify an invasion, it sure seems racist to me.
I am ignoring much of the pretext. Much like the Iraq War, I'm trying to focus on the real ideology and material factors driving the decisions, not the rationalizations designed for the public and the salons. Obviously this is not an exact process and there is no way to verify, so here we are.

Given there's a clear historical parallel (not identical, but appropriate enough) with the Cuban Missile Crisis and Monroe doctrine, I don't think it's rational to ignore the NATO "encirclement" argument as pretext. Look through the Wikileaks cables for all the talk of particular "neuralgia" over Ukraine entering NATO, and even talk of Crimea, all the way back in 2008.

One reason I'm so unconvinced this is pure pretext, is that I think it's highly unlikely that the same few people (Lavrov, Putin, etc.) would be making these specific claims and complaints in advance, just to be used a decade and a half later as pretext.

Another is that there are numerous high ranking people in the US foreign policy establishment, both in actual positions of power and attached to semi-official think-tanks, etc., that have agreed with their argument or at the very least identified it as sincere on the part of the Russian government.

As for me saying two wars, I was speaking about Ukraine only (depends on how you count, but I was counting Crimea, and the current invasion, though you could add another for the "breakaway" regions where Russian forces have been involved for years now). I'm aware of South Ossetia and Abkhazia, I think you and I might have already discussed those regions on HN in the past.
That’s not really how it works though. Uber would never allow TikTok to take and sell Uber’s own data, that’s just bad business. Secondly the only data that TikTok would have access to in such a scenario would be whatever campaign data Uber send them in the conversion request, which again, is not licensed for reuse. All anyone cares about is knowing how many conversions occurred and which targeted “audience” those users were in. Oftentimes it’s the advertiser who is bringing those with them - say, a list of emails or phone numbers they want to target. Again, the ad platform is not just taking that data for themselves, because they would not have customers for very long if they did that.
Keep Calm and Carry On

https://en.wikipedia.org/wiki/Keep_Calm_and_Carry_On
Ironically, Rubik's brand cubes are fairly terrible for speedcubing.
Roblox isnt a game that the company Roblox makes?
I can no longer compile my first Flash game
See, that's the problem.

I can't talk about my own ethics, without people assuming that I'm being "holier than thou."

I'm not. I really, really am not.

But I do get upset, when folks act as if it's not possible to live an ethical life, and thus, accuse me of lying.

That's not nice.
From their profile it looks as if they work at Shopify, so probably just through the generic contact page would get you to at least the right department.
I'd be more concerned of what sort of undocumented behaviour now occurs from a result of these changes, and whether any of the features/options will be available tomorrow.
Yes, certainly Assembly is a programming language. If you could not express your program in it, all of our discipline would fall (if a script defined a process and what it translates to did not...). "Things work" because /other/ languages translate into it: that is the chief language, named ("symbolic") reading of machine code. It has conditionals and loops, it has logic and arithmetic operators, it has "exactly" what the processor has: it is the most precise definition of the program, how can it not be a programming language?

You are probably thinking of the assembling process of pieces of machine code - through the assembler. But the assembler also translates symbolics into machine code, in the goal to join the different pieces of code and data - so it's more than just concatenating. To define the memory addresses to be encoded for jumps, for example, you must have defined them - so, in the assembler (e.g. concatenating subroutines) you imply the assembly (i.e. naming pieces of machine code, symbolically treated).
There is far more computational power in a single neuron than any NN that I've heard of.

One of the single approximated "neurons" in a AI/ML NN doesn't even operate anywhere close to a real neuron. Real neurons are oscillators which exhibit nonlinear dynamic behaviors
Volatile operations are considered a side effect and as such may not be reordered with other volatile operations. How is that not literally sufficient for the operations that GGP described?
Thank you! Most useful C book I ever got.
If nuclear war happened there probably wouldn't be a government to draft you. And I don't think you have to fear being drafted into a conventional one considering the power of NATO.

Also, as far as nuclear strikes go, I thought this video was a bit informative:

https://www.youtube.com/watch?v=ox8ZDbCNTCE
Hi all, it's an app to suggest what to say next on your online dating conversation. As we all know, men suck at texting. But the world is all about online and texting. How the heck are you supposed to flirt when you're busy coding? We need inspirations.

The app flow is: you take a screenshot of the message (Tinder, Bumble, Hinge, etc), upload it to have messaging analyzed, and get a chat suggestion.
A bit unnerving that the story's timeline begins "Saturday, March 5th".