skysight-inc/HackerNews huggingface dataset:
Pair programming is exhausting and definitely not for everybody and for every single day.

But.

This is still the best way to exchange knowledge and produce code when normally you would need a code review.

Pair programming is not a waste of time. It does not cost twice as much -- it actually costs less.

It costs less because having another person working with you cuts all the procrastination and keeps things in focus.

It costs less because now you have to discuss every part of the design with another person which is likely going to lead to better design.

It costs less because if one person doesn't know it or spot it, the other person will.

It costs less because you get immediate knowledge transfer and two people who can continue the project. Things can continue moving forward even if one person gets sick or leave the project.

It costs less because people learn new stuff crazy fast when they can observe other person doing things they don't know.

It costs less because actual people (like me) like to work with other people. It is fun.

It costs less because code review is a shitty process where 99% of people fake they made a review and only pick on stuff that immediately stands out rather than actually trying to thoroughly understand and analyse the change.

Unless you have a brilliant developer that can do everything by his/her own with no help or review. Consider yourself lucky.
drug test? how about dna markers that say you are likely to have a drug problem?
POLA, invested time stays valuable. The system is one, not many seperate and daily changing parts. Not having to learn dozens of network management and DNS resolvers gives you back your valuable time to focus on things you really want to do. On the various Linux distributions you must discover how it's glued together at this point in time.
> I'd say it's more like having a second pair of eyes while you're doing a tricky reversing maneuver.

I’ve always liked the rally racing driver/navigator analogy for explaining pair programming. It tends to go better if you generally follow those roles when doing it too.
>The limited efficiency of tritium production from lithium-6 might require obtaining some from fission reactors to top up the fuel cycle and keep fusion reactors operating.

Citation needed.
That sounds pretty debilitating and frustrating. Have you always been like that? Genuinely curious
To be clear: I only mentioned that marathon because it was a particularly clear case of the effect exercise seems to have on my appetite, and I am not recommending it as an exercise regimen.

And while it is not for most people (and definitely not me), there are people I know who thrive on running marathons and the training for it, while otherwise living perfectly normal lives. There is a hypothesis that cursorial / persistence / endurance hunting was a a stage in our ancestors' evolution, and that we have inherited some of the traits of that lifestyle.

https://en.wikipedia.org/wiki/Endurance_running_hypothesis
“Pontzer is happy to expound on weight loss on The Dr. Oz Show…”

And I’m happy to stop reading the article right here and ignore everything this quack has to say.
Because they look at how uk or california take 20 years to build a railway or any other infrastructure project and draw conclusions
> pair programming sessions often get sidetracked

I've never experienced that. My experience was that pairing sessions were continuous, bloody hard work. My partner and I would have our noses to the grindstone throughout the session, which was strictly time-delimited (10AM to 5PM). I'd go home exhausted. Whether you're driving or navigating, you have to concentrate. The navigator has to show the driver that he's paying attention; the driver has to account for what he's doing.

Working solo, it's much easier to get sidetracked. Feeling overloaded? Well, spend a few minutes on HN.
Nice. How do you sustain this for 8 hours a day though? After 45 minutes my brain starts to sag.
This is true, but it allows them to test the waters. If it is successful, it further opens the door to web-style programming on windows. And as MS keeps switching their UI story, having react to force them on an externally dictated standard might finally mean, well, a default UI default framework on windows again. Something we've been missing since Win32 ruled the earth.
Indeed I find a lot of NYtimes articles are filled with fluff like this and I find myself skipping to the core info.
You mean ballistic missile submarines? Do we sell them to random rich people?
> I'm introverted, so having someone on a screen sharing session or sitting next to me (sometimes) carries a burden that will probably reduce my creative output.

Early in my career - in a 4 person shop - I had a manager that mandated it. He was very extroverted and always talking. Pair programming was very difficult for me because my attention always shifted to him and any complex thoughts about the code would be wiped clean from my mind as he went off into some ridiculous rant. The conversations that weren't about random stuff usually went like this:

"Are you watching?"
"Yes"
"Did I make a mistake?"
"No"
"Did I make a mistake?"
"No"
"Did I make a mistake?"
"No"
"Yes I did"
"..."

He gave up after a while, thankfully. Pair programming is definitely not for me. But I'd love to work in shared IDE on different parts of the code. That seems fun - as long as there isn't a lot of talking.
Is your tree-sitter grammar for TLA+ public somewhere?
Everybody is 100% responsible for what they eat. There is no excuse.
Once you have orbital refuelling that changes the asymptotics little so it might be profitable then but that's like post moon station.
> The good news is that it is actually really hard to die from low blood sugar, assuming good medical care is available.

And yet, have there not been a number of cases where medical professionals have been convicted of the murders of several patients by injecting them with insulin? I would expect that these patients should have had 'good medical care' available to them.

I have not read the book, but perhaps it is ignoring the fact that extreme hypos may trigger other problems such as heart attacks. When a condition becomes common enough to be given a non-medical name, as in the 'dead in bed' syndrome, then I you can't *assume* you will survive for 24 hours.

The risk of death might be lower than I think, but I'm not to be ignoring any alarms I get.

(Type 2 but insulin dependent)
How to automate your smart contract
I don't believe companies will force employees back to the office to help the NY economy - they will do if if/when they realize enough people aren't doing their jobs as effectively while remote - and imo, lots of companies are seeing that already.

Plenty of people - myself included - are more productive at home, and I have been a remote employee for more than 35 years, and it all that time have been on site - anywhere - for less than two weeks.

On the other hand, as someone who has the ability to view what other people are doing with their time (who doesn't know by know that every interaction you have with a system is tracked in infinite detail) - I know of plenty of folks who are putting in less than an hour of day of work.

One contracted resource I was asked to track put in for 8 hours of pay 2 days in a row, and was in the system - where all of the work is done - for a total of 1 minute and 19 seconds one day, and eleven minutes the next. It won't take many of these stories to throw the baby out with the bath water and some companies will force everyone back into the office.
Pair programming is a social event and should be employed when you want to have fun with your coworkers while doing work. As such pair programming is amazing. Sure you might write worse code and give/receive worse feedback but that is not the point. If you have fun with your coworkers while doing work, I would call that a net benefit.
Let's be honest, if you had to sign a EULA and accept the T&Cs for being born, we'd probably go extinct.
This seems like a reasonable strategy worth if you plan to exit in the next 3 years. It is simple to manage, is designed to be competitive for a point in time, and focuses on performance for growth (up or out).
I think this is totally fine to not want to work that way.

And on the other hand, there are people that, after having tried it out, like it so much, that they are strongly for this way of working.

I think teams will form around both ways of working, and this might become a deciding factor on joining a team.
I meant 'they explode" in laymans terms
Pairing has worked fabulously for me and I started this comment by refuting individual sections of the post.

But I then got the feeling that the author doesn't personally get much out of pairing. And that's perfectly fine by me. Forcing it defeats the purpose.

I wish Matt had argued from a general point and not a personal one. The latter would lead to more stimulating discussions. Skimming through his blog, I see a lot of interesting and succinct thoughts.
> I've loved seeing the progress of ZoL. Whether I use Ubuntu's prebuilt modules or Debian's DKMS-based setup, it Just Works. But I'm still leery of running Linux with a ZFS root filesystem. I've compromised and use ext4 for root and put my home directory on ZFS.

If you want to use ZFS for root, I can heartily recommend NixOS. I've never had a problem with it there. Of course there are other downsides, but there are plenty of upsides as well.
Mirror: https://web.archive.org/web/20220218111600/https://www.econo...
Happy Birthday!誕生日おめでとう
I still find my M1 to be a way better experience: the M1 is quick, the fans virtually never come on, and battery life is a total game changer.

I also never use the "Spaces" feature; why not just use 'maximized' windows? I use https://rectangleapp.com/ to easily resize windows with keyboard shortcuts, which works well.

I get trying something new and not really liking it, but if you're going to comment, you should make an attempt to actually try it...
You must not play an instrument because this is completely absurd.
I was speaking very generally. I think that my concerns regarding the regulation of individual privacy in the digital realm, and my concerns about the regulation of the major players in 'surveillance capitalism' is shared by many. The brokering of PII is such a large, and interconnected business. I would like control over who has access to my medical data, my DNA included.
> They might just have developed a habit of submitting every article they read that they find at all interesting.

HN as cloud bookmarking service. :)
The problem with pair programming, as with any other tool is when people read about it in a book and try to apply to 100% of the situations and the people as pure dogma.

Several years ago I worked for a company where the "effective CTO" (he was not the CTO but given the CTO was remote (WTF!!) this guy acted as the intermediary) used to read TONS of books about XP, agile, scrum, team dynamics, programming paradigms, SOLID, design patterns, etc, etc and he *forced* every single f*ng thing he read about to everyone because "that's the professional way to do it".

On the methodology front, pair programming was the worst part, as we were basically forbidden to work alone. He used to say stupid things (half kidding, half serious) such as "we should have one laptop every two developers". It was terrible. On the technical flank we ended up with a CQRS system passing messages between microservices on kubernetes and decoupled SPAs and a bastardised Python codebase that looked like Java and was the most unidiomatic python I've seen in my life, because hey, I've read the book of design patterns and object oriented programing 3rd edition. We were 5 devs. F*ng insane.

So yes, a wrench can be an awesome tool to fix you car's motor, or could also be a weapon to hit somebody in the head and kill him. It's understanding the use cases and the situations what matters, not applying everything you read about as the definitive way to do it.
Yep. If I have more than 2 hours of meetings in a day, I basically lose the entire day.
https://github.com/tlaplus-community/tree-sitter-tlaplus
>There are stupid investors out there, but they won't be investors for long.

Not if the federal reserve has anything to say about it! Apparently that'll be changing soon, but the last 15 years or so was all about subsidizing stupid investors.
But medical residency, fellowship, and faculty selection processes are carried out in much the same way as the tenure selection process is portrayed here. Your surgeon has been granted their position based on a variety of factors, including but definitely not limited to technical competence.
Stolen Focus: Johann Hari explains how your attention has been stolen
Indeed, but you can keep going just about. I've properly hit the wall once, and that was an unpleasant experience - nearly fainting and seriously in danger of falling off my bike, but I think that was largely a hard removal of all accessible glycogen, and it was years ago when I was relatively green. Now I just tend to eventually find it hard and unpleasant.
I can recognize sarcastic and flip cynical reason when I read it. Ground work for an ideology of distrust and irrationality.

Meanwhile, don’t click on links you get in spam email and don’t visit QR-codes printed on stickers you find on the bus or subway is common sense and will serve you well.
Bitcoin miners revived a dying fossil fuel plant – then CO2 emissions soared
That’s not actually very good or compact path data:

• It has three extraneous points: each rectangle is comprised of five points, because it draws to the start point manually (V6/V11/V17), and then says draw to close the path (z). The V6/V11/V17 should just be dropped: z covers that. In fact, even each z can be dropped, provided no stroke is being used, removing three edges.

• It misses compression opportunities, by having the first one go counterclockwise and the remaining two go clockwise, and by using absolute coordinates in places where the same relative coordinate could be used (e.g. V11/V17 could both have been v-1, and if the first one’s direction was sorted out then that V5 could also be v-1; but we’re eliminating these vees anyway, so—).

All up, that hamburger menu data of this:

M21,6H3v-1h18z M21,11H3v1h18V11z M21,17H3v1h18V17z

Could be replaced with this path data which is more compact, more compressible, and faster to draw by probably at least a femtosecond or two:

M21 5H3v1h18M21 11H3v1h18M21 17H3v1h18

Note in that how `M21 ` and `H3v1h18` are each repeated three times, with `5`, `11` and `17` being the only things that appear once. This attention to maximising exact repetition will save another few bytes.

Depending on how you do things, it could even be better to replace the 12-point fill with a 6-point stroke (though I freely admit that more care is required because of stroke-width, stroke-linecap, stroke-linejoin, mixing fill and stroke, &c.):

<path d="M21 5H3v1h18M21 11H3v1h18M21 17H3v1h18" fill="currentColor" stroke="none"/>

<path d="M3 5.5h18m-18 6h18m-18 6h18" fill="none" stroke="currentColor" stroke-width="1"/>
They also barely have any samples in the article besides the alphabet. Yes I know I can go to google fonts and type whatever I want.
Today I learned that I joined HN before jgrahamc. I think I will substitute my Slashdot 5-digit UID for my HN join date as my favorite nerd-humblebrag.
Optimising for DE&I can lead to higher performing teams [video]
Notorious Markets for Counterfeiting and Piracy [pdf]
> I think Russia is not invading Ukraine as much as the US is slowly (expanding NATO over decades) "invading" Russia because it desperately needs it's high EROEI sources to pretend we have "business as usual".

This doesn't make any sense and is not in any way a mapping to reality. NATO membership is by request only and its numbers have swelled with ex-Soviet republics who want nothing to do with their former master. There is no NATO "invasion", which is a defensive force only. The only occasion I am aware of where they did not act in defense of a member state was to interdict in a genocide.

Ukraine is doing everything it can to stay out of conflict while remaining self-sovereign but it is literally surrounded by 170,000 Russian troops who are less than 40 kilometers on average from Ukraine's border. If any war breaks out in the coming weeks it will be entirely the fault of Russia.
Those swabs have identity attached to them already.
> Why would it take off, if it is treated as an "unprecedented amount of advertising space"?

Imagine you're thirteen years old and have a choice between Apple's AR take on eye wear, or vanilla eye glasses.

I would be surprised if governments are any quicker on the regulatory uptake here than they were with social media advertising.
Sure most people don't upgrade their router very often but those people probably aren't the ones interested in using freebsd as their desktop, I doubt they have even heard of freebsd or would care to hear about it.

The type of person that will install freebsd on a laptop and then setup all the configuration is probably very techy and would want the best tech, os, wifi.
20 years ago I worked for Adobe on the Acrobat team. They brought me in because they needed some Windows expertise to help a team of talented developers who had mostly coded on the Mac.

I don't think the term "pair programming" had been invented yet - at least I'd never heard of it - but when I was in the office I often spent a few hours a day on "house calls". People would ping me and I made the rounds advising them on Windows issues.

It was focused time. No one needed my help much of the time, but when they did, we could work through a problem quickly and they would be better equipped to handle it on their own in the future. They always "drove", I just watched and discussed and helped troubleshoot.

It was really great. As you said, what made it work was that I was there when someone asked for my assistance, not just because "pair programming" was the thing to do.
Why are highly qualified folks like your friends not going into industry instead?
i3wm on top of compton.

Most of the time, I don't need bleeding edge and I have always found FreeBSD somewhat more coherent and approaching the future carefully, not hastily, albeit this may be related to much lower number of contributors.

For a long time I did not cared for the fact that FreeBSD kernel and userland are delivered by people closely working together but eventually there was an epiphany after comparing with some more chaotic OS options. There's little things like system scripts delivered with correct version of interpreter so you don't have code deprecation warnings during boot time. There's documentation in place - `sysctl -d [-a]` and you don't need tarot, system sources or 3rd party knowledge to configure parts of OS.

Linux is OK. If not for FreeBSD, I'd probably be using Linux full-time. Currently I use it virtualized for Docker builds. Linux is better for a lot of things that may be important to some but FreeBSD suits my use-cases almost perfectly. FreeBSD gives me this "right at home" feeling which I don't get with Linux and which I definitely no longer can get from a commercial OS.
10-50к
Contesting the Data Spectacle
Experience is relative here. While I agree, there should be an adjustment that captures something like "years of performance", but its harder to quantify.
I don't understand the attitude where it's lazy not to write an email but it's an unreasonable chore to respond to a question on Slack? In mind Slack is preferable to email for many things because the issues are resolved in public and I can later look back on what questions have been asked etc.
1000s of Cars Including Audis, Porsches Adrift on Burning Cargo Ship
Or try for a university in the wealthier parts of Asia and possibly get paid more?
Indeed. In fact, following OP's logic gets absurd really fast : "Dean and Ghemawat would have been twice as productive if they'd worked each on their own! What a waste for the world !"
Oh well M$! Would you please stop massing around by breaking existing functionalities and provide something really works? The core utilities such as diskpart etc. used to be rock solid, now there are quite a few subtle but really annoying bugs. In some versions of Windows 10, network settings UI in both traditional control panel and the new settings UI are both broken, it took me quite a few reboots to finally making it right. And now, seems they are trying to introduce a 3rd stream. Maybe it's going to be SNAFU.
Took me a while to find out where the cool kids had gone from Slashdot back then ;)

Speaking of which, let's keep HN a liberal and welcoming place also for corps/startups (but not astroturfers) where key developers, experts from non-IT, CEOs/CTOs can have a voice as that's what makes HN unique IMO.
It does not matter how we feel about it. Every license plate scanner, every Ring doorbell, every security camera I walk by is potentially selling data.
> DNA sequencing is eventually going to be so cheap and ubiquitous that it will happen to everyone anyway.

That still doesn't imply that DNA will be shared freely. On the contrary, it is important that we ensure that people retain control over their own genetic information.
I'm in the process of switching departments at my firm because of the WFH policies.

Each department was segmented into groups with different minimum requirements for days per week in the office. My group got 2 -3 days minimum requirement. Meanwhile, our IT department was marked virtual and will get to keep WFH. I reached out to the MD there and secured myself a software engineer position.

My KPI was up 200% while WFH because I didn't have to waste my time with office BS. Now, due to working in the office, having to book conference rooms, etc. my numbers slowly dropping, and boss is getting upset, wondering why "productivity is dropping". He's breathing down my neck, and I just lost moral to continue being productive in my current role. Working in the office is just not for me.

My boss and I had a big fight about me transferring departments and one of his arguments for me not switching was 'the hybrid work model may not be permanent.'

I really hope calls like this from the mayor won't end hybrid / WFH completely.
I like how it decodes

1 I i L l => 1

and

0 O o => 0

I wish it would decode

8 B => 8
> calories in - calories out was debunked a while ago.

No, it wasn't. It's the generally accepted model of human weight gain. It's what most scientists who study this topic believe to be true. (And really, it's the only model that makes any sense, and is incredibly easy to test)

They only people who disagree with this model are considered to be outside the mainstream of science. They might be right (I don't think so though)
- but it's certainly not debunked.
When and how to run a preference testing
Hi y’all
Have you ever had trouble choosing between several design options? We know how hard it can be, when they all look amazing! Why don’t you just ask the users which one they like best In our new blog we teach you to run a Preference Testing with the users in just 4 steps, check it out!
Can Quebec’s Dams Power New York City? Blackstone Is Betting $4.5B on It
Both can be true at the same time.

He has a fragile ego and weird behavior on the social networks. At the same time, SpaceX is by far the most successful of all the space startups that have emerged in this century. Most of its competitors are not even unsuccessful, but outright dead. Blue Origin, financed by Bezos, hasn't yet managed to reach the orbit after 22 years of operation.

Yes, it is possible that random forces of luck selected SpaceX for a string of successes. But I think it is deeper than that. Musk has an ability to attract engineering talent and give it enough leeway so that interesting concepts may emerge. Shotwell has an ability to keep the company financially sound and on track.