skysight-inc/HackerNews huggingface dataset:
I’ll agree that two senior engineers pairing can feel painful and slow compared to each working solo.

I’m currently doing pairing sessions with two junior engineers and it’s been great for everyone.

I’m also pairing for 2 hrs/wk with the other senior engineer on the team to explore an ambitious new project, and it feels like we just constantly grate on each other with slightly different designs in our heads.

I will say, though, that the conflict our pairing generates is valuable as it often illuminates decision points that would be good to escalate to the larger working group.
I obviously don't want any of this nonsense, however I personally believe that we deserve it. We failed to get along, now we must pay the price.

World peace is trivial and inevitable, yet we mess up all the time. Every single person subconsciously votes against world peace. Some votes may count more than others but ultimately it's not a tiny minority that wants to see conflict. It's absolutely everyone.

I've stopped believing all conspiracy theories that involve small groups of elites running the show. Sure, there is always going to be a handful of people at the top but this is true for everything. The elites may benefit disproportionately, however, they benefit precisely because the vast majority support them directly or indirectly. Sure, you can make some people a head shorter but the people that granted them power aren't gone.

For Russia the trail is pretty obvious. We buy Russian oil and directly support Putin. Even if you get rid of Putin, someone else will take his place because we still want to buy the oil after the war.
email is at the end of the post
> Can anyone else increase production?

Almost every producer can, there are some processing steps before shipping (uranium is generally shipped as yellowcake), but for the most part it's pretty straightforward mining.

> Do we have stockpiles?

I'd expect most nuclear countries to have both a stockpile and a strategic reserve (especially if they use uranium in other contexts than civil energy).

For reference France has a 2 years stockpile and a 5 years strategic reserve. A country like germany which is trying to get out of nuclear might have reduced their stockpile to waste less money (as they'd have to resell it).
"Too small" means you're not big enough to sue if something goes wrong.
>Go attracts mediocrity and not in a good way, it also actively repels the "right " people if you want to hire for highest intellectual horsepower for a given budget.

This is painting with a pretty broad brush. I like Haskell (and first learned it before it was cool, in the early 2000s), but I also enjoy coding in Go. Not everyone is strongly driven by choice of programming language in their job search. If you do hire someone who desperately wants to write Haskell code, you might find that they spend more time tinkering with advanced Haskell features than they do adding business value.
Funny that the subgrid example actually has a screenshot from a browser that doesn't support subgrid: https://github.com/GoogleChrome/web.dev/issues/7453

Well, that does say something about the dominance of Chrome...
In my experience Go's relatively constrained language and standard library coupled with gofmt mean Go code written by entirely different people tends to read fairly consistently.
> There was a similar web tech compatibility check called Compat 2021 that began in 2019 and showed up last year. It focused on five pain points – CSS Flexbox, CSS Grid, position: sticky, aspect-ratio, and CSS transforms

Weren't flexbox and grid supposed to make life easier in the first place?
Be careful spending time writing software/firmware for chips that may disappear tomorrow. Cost of the chip itself isn't everything, in fact it's one of the least important things if you're looking at long term cost. This is especially relevant in the current chip shortage climate which has made this point quite salient.

Whether it's a hobby project or a high volume production project, you don't want hundreds of hours of your time spent developing for it to go down the drain. In case of a hobby project, it probably means the one or two units you made are all that you're ever going to make. In case of a product you built in high volumes, it means a large gap in sales and lost revenue while you re-do the firmware for a new chip.
This is generally true.

> From a business perspective, any language is arbitrary.

Counterpoint:
And then when the company starts growing quickly and has to hire 10 Haskell devs in 12 months, they realize its pretty much impossible to do without shelling out $200k/person.
You know how some functions return a value or an error? Imagine trying to compose several of those functions, passing the value into the next function or handling it’s error. That ends up with a lot of boilerplate. The first time I wrote a Monad was because of this issue. Wrapping this series of function calls in a Monad allows you to write something that reduces that boilerplate by handling the errors of any functions within it, so you can compose them like you’d want

How do you handle state in a language like Haskell that doesn’t have mutable state? You pass a data value between functions keeping track of everything, as an extra argument. Imagine the boilerplate of that! Every function suddenly needs an extra argument for Data, regardless of if it needs it, to keep it around. The State Monad deals with that boilerplate.
> I worked for a while for a few New Yorkers and they had exactly the same mentality, but they came from finance.

Same here, left a role with a NYC company for this reason. Was a big culture shock for me coming from West coast companies.
CBP Refuses to Tell Congress How It Is Tracking Americans Without Warrant (2020)
This is absolutely my experience. For example, you'd think that the message passing space is completely owned by FOSS at this point. But, a while back, I worked at a shop that used a commercial library for building APIs, and I was genuinely impressed at how nice it was to work with. It would be difficult or impossible to do a proper analysis on this point, but I wouldn't be at all surprised if that package paid for itself many times over in annual labor cost savings.
More Routines
Putin's Economic Miscalculation with Ukraine
Sounds like you've had a series of incredibly traumatic experiences. I'm sorry to hear that, and I hope that you're able to find your way into friendships and relationships that allow you to trust again.
We seem to be so far from a practically-useful level of CO2 removal that this seems like a shrill level of concern. That said, the logic could apply to much quicker solutions that could be distributed globally, such as atmospheric albedo modification or space based solar barriers (the latter being hugely speculative, of course - but I could imagine a few SpaceX starships put to poorly-considered use being able to muster something in a decade or three).
Warranty is something other than support. And regardless of what the license text says, this is not usual behavior, and users deserve adequate notice of it.
Thanks for this, I certainly enjoyed your analysis.

The only quibble I have is that option 1 would allow Russia's allies cover to provide help (assuming they they choose to) even if that fails, it would provide a chance to get the russian population on side.

which is slightly different to 5
This video itself is likely meant for Russian consumption. The Russian government doesn't need it to be 100% effective, it's far easier if people get scared and self censor, refraining from mentioning anything about the war, knowing in the back of their heads that this could happen to them at anytime.
CBP’s warrantless use of cell phone location data is under investigation (2020)
Europe had no common enemy a few months ago. European countries wanted to subconsciously tear each other apart. Now Putin has created a common scapegoat. As long as nukes don't fly, the west is actually better off than before.
It makes me feel a lot more comfortable that bots are only allowed to run with administrator approval. I don't want to accidentally ban someone good for shyness because crackers exist who abuse the service with headless blink.
Who is "you"?
I wasn’t party to the reason but you’re probably right.
Two Michelin Star Restaurant in the Faroe Islands
> I much prefer the JVM and ASP.NET crew because they are 9-5 programmers,

I don't think thats what the parent meant. They meant esoteric functional programming languages vs mainstream OOP ones. You're saying the same thing.
No strict SLA is unrealistic for many businesses (imagine NYT going down for an entire weekend), but follow-the-sun could work if employees really want it.
...which is likely saving money long run anyway - good developers usually pay for themselves, if not, they're in the wrong place.
OCaml is mostly used in speciality applications. I have a few friends that work on flight control software for satellites and their stuff is all OCaml which is apparently not that uncommon in their field.

That said none of them knew OCaml before joining said company and thus none were hired because of it... so that does somewhat invalidate the "right" people argument but I guess if you are doing literal rocket science I think that is pretty self-selecting for smart folk lol.
Neither agreeing or disagreeing with Spotify.

But what Spotify is doing is anything but cowardly. It takes more to go against the flow where so many is doing one and you are doing the opposite.
Yes and no. If you get too popular or too annoying, a bullet one morning will greet you on your way to work, many cases like that. Or some fabricated case and 10 years of hardcore ural prison.

The borders are open all right, no reason to close them. People opposing the regime are going away, the best possible outcome for dictator. No need to waste a lot of time and manpower on finding dissent if it just disappears on their own. And so population becomes a bit more docile, ignorant or even cooperating.

This was happening in former communist countries too - not everybody who spoke up against the regime went to jail. Some were just thrown to western Europe and forbidden to come back.
I'd love some stats on people who leave various religions. For example is a person leaving Mormonism more likely to become atheist (like Lane) or more likely to pick up another religion? Is the percentage of ex-mormons who become atheists higher or lower than that of ex-catholics? Are these stats correlated with how fervently they practiced the religion of their childhood?
Sharing code between ASP.NET and ASP.NET Core
One is almost tempted to join a chat group with a suggestive name that is full of legal, but very, very disturbing images.
Useful Python Resources
Yes, it is a metaphor. I know that because I speak Russian and read the original. Indeed, that's a weird metaphor even for a Russian ear.
This is not surprising. What is more worrying are all of the people in the US(and a large part of the west) who seem to think that communism and the Russian revolution are great things while actively supporting the eroding of our rights. For example, no due process, Mob justice etc. etc. etc.. This is a glimpse into our own future in the west if we don't actively push against totalitarianism in all forms, not just when it benefits us. (edited to correct spelling)
Shooting down russian planes is a shortcut to nuclear war. Is that what you want?
I genuinely don't understand how someone can read an article like this one, support the death penalty, and still sleep well at night. We've executed so many innocent people it's impossible to not consider the practice monstrous.
Usually if you have accounts at the major distributors(Arrow, Digi-Key, Newark, etc.), you'll get occasional updates passed on from some of the manufacturers whose parts they sell. But those are typically not the hobbyist/consumer items you may be looking for.

Perhaps sign up for a SparkFun account? I get a lot of OSHW and new module information from them.
This is just a low tech version of what the EU and US lawmakers have been trying to pass against end-to-end encryption.
> Does it offer any actual practical benefits over other languages?

It sure does. Perhaps you should try it?
>a wing necessarily bends the stream of air downwards

This is only true for control surfaces and perfectly symmetric wings, but not for zero angle of attack wings as I explained above. Normal, cambered wings work because of the Bernoulli effect, where pressure is lower above the wing because of the way airflow is designed. Lift is not generated by pushing air down, the wing is literally getting sucked upwards. There are some mass dependent losses due to turbulence on the outer wing edges (which is, incidentally, why you see winglets on all jets nowadays), but those are higher order corrections as I also mentioned above. For an actually gentle introduction regarding how wings work, see e.g. this student level explanation here: https://www.grc.nasa.gov/www/k-12/UEET/StudentSite/dynamicso... -> Note that for the shown wingtype, no part of the airflow gets pushed down during level flight.

If you still don't believe me and instead want a realistic, highly technical argument, I suggest you take a look at literally any plane's operating handbook - especially the performance section. Here's one for the Cessna172 as an example: https://www.cpaviation.com/images/downloads/Cessna%20172M.pd... -> Note that under Cruise Performance, fuel consumption in terms of gallons per hour is calculated using pressure altitude and outside air temperature. You do not need to take aircraft mass into consideration for this part of trip planning. It is only important during takeoff and climb.

>Gliders can stay in the air for very long times because they have very large lift-to-drag ratios

You should look up how gliders sometimes carry extra weight in special water tanks to improve speed without sacrificing performance. Their optimal lift-to-drag stays the same, but the speed at which they achieve it becomes higher. How do you explain that? And of course they descend with regards to the surrounding air, I never said anything like that. But in terms of basic physics, updrafts are just a way of getting potential energy back that was lost due to drag lowering the kinetic energy.

Also: You are confusing angle of attack and angle of incidence. These things are not a matter of reference, the latter being inherent to any airplane's design. But they are irrelevant to this discussion.
Style wise for sure. Structure? Choices of libraries etc? Definitely not. Not enough consensus for even the simple "I want make MVC style webapp".
> Canada

https://www.cbsa-asfc.gc.ca/travel-voyage/edd-ean-eng.html
One problem that I see is that conventionally developers will at least look over reports, so this goes against cultural norms. If you don’t know you need to pay, you might expect some initial feedback. Personally, I wouldn’t, as I think most projects absolutely suck at providing support.

I also have to wonder how badly this affects his sales funnel? Seems like a good way to make potential clients look for another project or developer to work with. This kind of attitude would be an instant turn off for me.
Some of these regular Ukrainian people are my close friends hiding in a shelter as you read this. I’d be purchasing charter flights for them if that was in my power. Every day I pray that they stay alive.
>Changing patterns of human settlement.

That's an awfully cynical way of saying that billions of people will be displaced and die because of lack of food, floods, that migratory crises might lead to actual live weapons getting used for first countries to "defend themselves".

But sure, it's not an extinction event. Just billions of deaths over the next century and an upheaval of our society. No biggie.
Happened to me.

Went to secondary to get more information on my trip, then just routinely searched my bags and electric devices. I was allowed into the country after they got more information.
The anti-nuclear movement so clearly benefits Russian energy exports it's laughable. The definition of "useful idiot".

Sure, in the years after Chernobyl it is expected there would be a genuine fear. But now we understand what went wrong and how to design safe reactors it is not a logical position.
The book is a vehicle for Heinlein's political views and he is 100% in support of the ideology described. The political system described in the book isn't fascism, rather it is democracy with the franchise limited to people who have served their country. Heinlein believes people who have never made personal sacrifices make poor decisions and therefore political power should be limited to people who have made such sacrifices. It's the same reason why children lack the right to vote in real-world democracies: a lack of experience to base decisions on. Heinlein also believes that democracy and human rights are fragile and need to be actively defended, not taken for granted.

Verhoeven's movie is just a campy film; the man admitted that he stopped reading the book as soon as he saw the first "fascist" element, because he thinks that "military" equals "fascism". The movie is a strawman that does not represent Heinlein's views and is best thought of as a mindless action movie with a simple message of "war bad" instead of biting political satire.
Are there any mods where I can input a dummy password which opens a dummy iOS with boring messages and limited info / photos?
Have you spent a lot of time trying to write code using monads? If not, that's the only real way to learn I think. I wouldn't expect someone to understand what object oriented programming or functional programming is unless they've tried to solve quite a few problems using those techniques.

Try solving a non trivial problem on Haskell. You may not fully understand monads but you should get a feeling for it.
> I prefer Javascript/Go/Python because most of my code is actually doing something instead of just conforming to a Gang Of Four pattern designed to paper over the shortcomings of my tool.

Which shortcomings of Java/Kotlin are you referring to? What features are both present in all of JavaScript/Go/Python and absent from Java/Kotlin that have any relevance to the Gang of Four patterns?
I was talking in context of russia. of course protests happen everywhere sometimes they have a result sometimes not. but look at russia's history and how they deal with people who try to stir things up..
When the military power between two countries has a significant gap, you can also consider it more of a police action.

A good example would be US war on Iraq. No one in US lost sleep worrying about getting bombed by Iraqi fighter planes flying over US cities. US military carried out whatever operations they felt like, and this all took place on Iraq soil, making it more of a "policing" than a "war".
> There isnt a unique house price in terms of those variables

> An overly mathematical view of the world has obscured the scientific method from our thinking here

Since it is understood that houseprice is not a function of just three variables,
the mathematical view (statistical learning theory) commonly used when training models, defines house price as a random variable. This takes into account the uncertainty from all the unknown factors they contribute to house prices.

The distribution defining this random variable is a function of the 3 input observations. Commonly, the inputs are used to compute the mean, and the shape of the distribution is fixed - a Gaussian, for example - but not necessarily.

Given observations of the 3 inputs, each observed y_houseprice is just a sample from this random variable.
Don't let people waste your time with metaphors. A monad is something that you can use `flatMap` on. That's it.

It's not it, of course, but that's all you need to know. You can open up the js console in your browser right now and play around with `map` vs `flatMap` since lists are monads.

It's not a very useful function on lists, but if you take pains to simulate an optional type with it, where an empty list is Nothing/failure and a list with a value indicates Just/success, you can see how it might be an exciting form of control flow: chaining together optimistic functions, but short circuiting if any of them fail. Happy path only programming.

I wouldn't worry too much if this is yet another shit explanation. Monads will eventually be added in earnest to your language of choice, you will use them, and think "oh, why could nobody explain that?"
My point is that it’s unknown if not stating it would impact the application so people would err on the side of caution and compliance.
Your response is a bit confusing, so I'm assuming what you mean is that you believe physically isolating high BSL labs in remote areas is a clear and obvious way to mitigate that risk? And that COVID was a warning that we should do more of that? And that scientists are ignoring that warning?

In which case, all of that is predicating on this actually being a lab leak.

But there is no "bury head in sand" option. Eventually something as transmissible and much more lethal is going to spread. At that point, it's too late. The reason SARS-CoV-2 had a vaccine a year later is because of previous work in exactly these sorts of facilities.

BSL labs are the safest places on the planet to work on dangerous pathogens. They aren't perfect. We should continually work to make them more perfect, and fund them to be so. But they're already multiple orders of magnitude more secure biologically than the alternates.

Any country on the planet can work with any dangerous pathogens they can get ahold of. In any way they want. You can only set standards, contribute foreign aid to fund improvement, and try to improve the safety level of the global community.

The "lab leak possibility means we shouldn't do lab research" argument feels like the suggestion that after Nagasaki the world should have abandoned nuclear weapons and ceased research.

In which case, we'd be living under the flag of whichever country ignored that and pursued it anyway.
Why did One Laptop per Child fail? (2009)
A few years ago I ordered some items from a small online shop located in an east-of-central European country. A few days before I received the package I noticed that one of the recent searches on my linkedin account was from someone in that country's customs office. Not sure if they were bored and curious or working through their customs protocol.
I would only do that if I had something on my phone that carries heavier punishment than bribing an officer.

I think it’s a mistake to think that as a foreigner you can just do as the locals do when it comes to bribery. It could end very badly. Doing it to avoid some inconvenience is a bad idea.
Ask HN: Why is autocorrect on Mac so bad?
I recently switch back to Mac after a 5 year hiatus and started using Notes. The autocorrect keeps on highlighting correct words and suggesting incorrect words to replace. I got so annoyed with it, I turned it off. Why is autocorrect so bad on MacOS?
That’s a great point. I’d be curious to know how much gas prices influenced the infrastructure of countries with great alternative transportation versus other influences.

I think for the US, maybe this would have worked before the era of electric vehicles but now, it also influence adoption of electric vehicles more if those prices stay competitive, rather than public transport and walkability. Which is still a lot better than gas vehicles imo.
SuperTokens (YC S20) Is Hiring a Developer Advocates (US)
isnt that discrimination? lots of russian speakers dont live in russia
I’d like a mod where if I enter an alt password that the phone opens, but it’s a dummy Os, functional but with no real messages or accounts.

So, my Normal pin is 1234 but if I enter 5678, phone unlocks to a dictator safe mode.
It costs him karma.
I think a more important lesson here is that this is not a simple system. its pretty unlikely that we're going to able to calmly walk it back to the state it was in before
It may not have felt like war for people in the US but for people in Iraq it certainly did.