skysight-inc/HackerNews huggingface dataset:
My team ran into this early on when attempting to adopt a rebase-preferred workflow for feature branches...

...then we got used to it. A few workflow changes were necessary:

- configure pull.rebase=true. This is kinda just nice in general, but critical if someone might have rebased the branch you're working on overnight.
- get used to pushing up your changes regularly - at very least before you quit for the day.
- get used to pulling remote changes regularly - at very least before you start work on a branch each day. Rebase after pulling - especially important if you've branched off another feature branch (which may have been rebased). This way you avoid doing a bunch of work on an out of date base.
- *Talk to each other.* If it isn't already obvious what a collaborator is doing... Ask them! And err on the side of over communicating what you're doing.

It turns out, all of these behaviors are kinda just generally useful, and after a bit you forget about rebase being the motivation and just enjoy having a bit less friction when working together.
That's pretty weak defense of rebase. It almost seems like an attempt to promote the opposite. To "squash my disordered commits into a neat little one" is like the only bad and questionable practice involving the word "rebase" which people can rightfully object to. And rejecting that they will usually (unjustly) reject a dozen of other practices involving "rebase". "rebase" does not equal "squash". Using "squash" checkbox in Gitlab is not synonymous to "rebasing".

If you actually care about organizing you disordered commits, you can do it in a sane way and use git rebase -i master. That's basically how I work all the time, I don't even try to write meaningful commits first, I even commit stuff I know I must drop later and I commit every little incremental change file-by-file (to make re-ordering commits easier). Then I'll rebase them interactively to review what I did and make several (most of the time) clean atomic commits.

Then, rebase is simply superior to making merge commits all over the place, because it... well, "does nothing" as opposed to "makes your commit tree into a complete mess". There can be reasons why you would rather not bother rebasing on a particular project, but if you don't have them (i.e. you just don't have a strong justifiable opinion on that matter), just set [pull] rebase = true, and use git merge --ff whenever possible. Most of the time it doesn't even feel any different and just works.
Same, I was just trying to write something nice too!

> Hey, you’re doing better than you think you are, it’s okay. Life is short, don’t be so hard on yourself. Be nice to a stranger just to see what happens.
Before I click "Buy It Now"... does this include shipping? :)
Failed to execute 'json' on 'Response': body stream already read

then

Response.json: Body has already been consumed.

Shame. I shared some deep wisdom
Nothing wrong with it. Citing each other introduces more bias than chatGPT anyway. do you expect me to write the same introduction to the same subject for the 17th time? Large parts of any paper are redundant
I’ll get right on that. Let me call up my product manager and CEO and tell them to cancel our upcoming enterprise contracts. The codebase is too big, we can’t add any more features.

After that we can start laying off the devs and firing our biggest customers. The features they use are taking up too much code!
Just get rid of the whole resume / application system. Don't 90% of people get their jobs by knowing people anyway? Or some recruiter finding your GitHub. Applying for jobs with strangers where your competition is a stack of paper was never a dignified experience for anyone. Even being a hobo backpacking through Europe is better than living a single day of that humiliation.
This idea rhymes with an approach I term PC hygiene. I'm amazed by the sheer crunk and mud that the average Windows user has on their PC and I'm convinced that this is the reason why so many people have a miserable experience on it. (And to be fair, Windows does its damnednest to contribute to the rot.)

Starting with a clean install, removing as much as possible that isnt actively used, using only clean installers via something like chocolatey, and above all being extremely cautious about installing any new program, all contributes to hygiene. For example I know that Adobe Reader will spray junk all over my PC and generally be aggressive about processes, reg keys, etc, whereas SumatraPDF wont. So Sumatra gets installed.
Crying out for before and after visuals. How the F can anyone intuit the outcome without some pix, preferably, moving pix?

Humans are pretty good at detecting uniform noise, especially if it does something silly like lag motion in the field or show moire patterns.
My brother died almost 10 years ago and he ran his own software company. He had no plan, because he thought he could beat cancer. His wife had to get his passwords while he was on his deathbed.

The day of his funeral, his wife begged me to look at his work laptop and help her out. She even mentioned us being partners in the company. I was already running my own successful company at the time and had almost no time do this.

I found the time and saved her probably close to $150,000 in customers pissed off because my brother stopped handling support due to his illness, forgotten about purchase orders, and a website that he pre-paid for $20,000 and was never delivered because he died and never told them he was sick. They sent over the entire amount within a few days of me explaining the situation.

I never expected any money for this work, I was just trying to clean up the business and get it back to a functional level. A few months later, when she had time to grieve and think about things, she wanted to talk partnership. Her first offer was to pay me $15/hour, which I rejected (and laughed about later with my wife).

Her second offer was to give me 10% of the company and when her kids turned 18 in 8 years, they would get full control over the company (including my 10%). I was personally offended because she essentially wanted me to maintain and build up the entire company, take a very low percentage along the way, only to hand over the entire company to her kids (my nephews).

When I explained this to her and rejected the offer, she told me that I had no skills beyond 'answering emails' and that I didn't 'understand how business worked'.

Shortly after this, she found an email from my brother's old friend who was very religious. She had also recently found god and as a result, convinced this person that he needed to help her for free. For the last 6 or 7 years, the business has been in maintenance mode with this person answering emails, for free. I know the technical capabilities of this person and most responses are basically re-installing the software or rebooting the computer. I am also in the tech industry and the job this person has is about the level I was at when I was 15 (I'm 45 now).

The result was as I expected: Most of his clients stopped re-purchasing licenses because there is no more support or bug fixes and you also just can't trust the security of software after it hasn't been updated in 10 years.

She now has to work a minimum wage job making meals for the elderly (which isn't a bad thing) and the company is close to bankruptcy. It was good we were never partners, because I probably would not have been able to start my next business.

It took my brother over a decade to build his successful company, and a few years for his wife to destroy it.
I wish we would distinguish editing, from writing.
My main objection to this is just the added complexity. Instead of a single suid binary that reads a config file and calls exec(), now you have one binary that runs as root and listens on a UNIX socket, and another that talks to a UNIX socket; both of them have to do asymmetric crypto stuff.

It seems like the main argument against sudo/doas being presented is that you have a suid binary accessible to any user, and if there's a bug in it, an unauthorized user might be able to use it for privilege escalation. If that's really the main issue, then you can:

chgrp wheel /usr/bin/sudo
chmod o-rwx /usr/bin/sudo

Add any sudoers to the wheel group, and there you go: only users that can sudo are allowed to even read the bytes of the file off disk, let alone execute them. This essentially gives you the same access-related security as the sshd approach (the UNIX socket there is set up to be only accessible to users in wheel), with much much much less complexity.

And since the sshd approach doesn't allow you to restrict root access to only certain commands (like sudo does), even if there is a bug in sudo that allows a user to bypass the command restrictions, that still gives no more access than the sshd approach.

If you are worried about your system package manager messing up the permissions on /usr/bin/sudo, you can put something in cron to fix them up that runs every hour or whatever you're comfortable with. Or you can uninstall sudo entirely, and manually install it from source to some other location. Then you have to maintain and upgrade it, manually, of course, unfortunately.
> not every job has to be full of endorphin rushes; coders are just lucky.

This is a tragically defeatist perspective. I don't want to live on a planet in which the working class are trapped in depressing exploitation.
Fossil fuel industry, indirectly, by taking subsidies.

This masked the true cost of fuels from public.
Failed to execute 'json' on 'Response': body stream already read
Yup, I had that one too.
But even then, that assumes that you assign the cost of building the infrastructure to public transit (or the public). Now if Waymo makes up a significant portion of overall traffic, why should the public pay for the cost of building the infrastructure, i.e. the roads?
Oh no… that is just every marriage.
The Linux Kernel, CDDL and Related Issues (2016)
Or use Julia for scripts https://github.com/ninjaaron/administrative-scripting-with-j...
no assertion about this situation, but be aware that confusion is often deliberate.

there is a group of people who see the regurgitation of existing systemic biases present in training data as a convenient way to legitimize and reinforce interests represented by that data.

"alignment" is only a problem if you don't like what's been sampled.
Test your website properly before popularizing it so people don't get errors like "Failed to execute 'json' on 'Response': body stream already read"
I play an MMO and people in Europe regularly tell me that they are playing at their desk or in meetings.

Given the number of people I've seen you spend more time on chat and social media instead of work task I would say that we have found more new ways to not work while getting paid.
Your first two points don’t seem valid, in my experience.

The Ruby 2.0 migration wasn’t that interesting from a compatibility perspective; it certainly wasn’t anything like Python 2 -> 3.

And Ruby is __not__ slow compared to bash. I don’t where these myths get started, but someone needs to justify the Ruby-is-slow thing with actual data.
this is… somewhat horrific, right? would anyone do this without explicit version pinning?

loosely pinned deps installed on execution sounds fucking awful.
Why is this post being downvoted? If it is incorrect someone should really reply why.
Flocking may well be an improvement over the status quo, but it fundamentally can’t be nearly as efficient as busses due to simple geometry: cars physically take up a space.

https://humantransit.org/2012/09/the-photo-that-explains-alm...
Site is broken
Jesus Christ. That's serial killer behavior right there.
Good stuff. Imagine this though: ssh as user access control using a multiuser system such as gnu/linux

byw everyone should be using ed25519 or at least 2048+
> I often find non-trivial CLI tools written in Python cumbersome because of the dependency wrangling necessary.

I'm thinking of trying out Mojo in large part because they say they're aiming for Python compatibility, and they produce single-file executables.

Previous to that I was using PyInstaller but it was always a little fragile (I had to run the build script a couple of times before it would successfully complete).

Currently I'm using pipx and Poetry, which seems pretty good (100% success rate on builds, and when my 5-line build script fails it's because of an actual error on my part).

Which is a round-about way of asking everyone:

Does anyone have any other good way(s) to build single-file executables with Python?
I remember the KV-40XBR700. Those suckers were heavy. I worked at Circuit City in 2003 delivering those behemoths to customers until I dropped two in a single day (the handholds on the side weren't very good) and got moved to the warehouse.
fMRI can probably spot it for people like myself who are fully aphantasic.

But:

1. "Imagine a table. There is a ball on the table. The ball rolls off the table onto the floor."

2. "From memory, what color was the ball? The table? The floor? What did you see under the table?"

Neither I nor any other, uh, aphants, that I have known have answers to those questions. Imagination still works, and answers to those questions can be produced interactively if handled appropriately, but, ex: we weren't imagining colors and we didn't see anything at all much less "under the table".

Alternative:

1. "What do you think people do, specifically, when they "count sheep" to go to sleep?"

Our answers to that should just be hilarious for you. Hi-larious.

Understand that we thought you folks "visualizing in your minds eye" were speaking metaphorically. Entirely metaphorically.
For me, I can imagine the feeling of being on a windy path, spatially aware of the paths the forest, the mountains - even a stream, but in terms of "seeing" it's more like walking into your bedroom in the dark and knowing where the bed is.

I also can vividly "hear" music, not really voices, but I can put a track on in my head almost as if listening to the radio. For people that can't do this, it might sound great - and it is quite cool except for waking up many mornings with a random track stuck in your head or hearing a particular riff over and over again.

I don't tend to remember faces of people I've recently met - there are times when someone says hi, starts chatting and I think "who the hell is that?"
I assume that CRT technology development stopped decades ago, but could we have e.g., replaced the heavy glass with some plastic-like material to save weight without compromising the picture?

Metal-cone CRTs were common in the early decades, and had a flatter screen than typical all-glass construction; here's the largest of those, a 30":

https://www.earlytelevision.org/dumont_30bp4.html

a TV using it cost almost $1800 in 1952 (equivalent to over $21k today):

https://www.earlytelevision.org/dumont_ra-119.html

I think metal-cone CRTs became unpopular due to the glass-to-metal seal not being as reliable, and difficulties with insulation (the whole cone is at the final accelerating voltage.)
My home in India, has a 3 kW system. Generates 30 kWh on sunny days and 20 kWh on the cloudiest days.

My hone consumption is about 15 kWh a day.

Costed me about 4000 USD.
“X is unsuitable for large projects” when there are many readily discovered existence proofs to the contrary (including but not limited to $1B+ businesses, massive communities, deep thoughtful and disciplined engineering spokespeople, etc.) strikes me as a common trope here on HN.

(Which is not to say X is flawless even at scale or a clear best fit along all axes. That is true for no X that I know of.)
It is completely relevant, because it’s arguing against the claim that Ruby was unstable once back in 2005.
Yep, that makes total sense. We're also looking at a Vite migration in the near future, but also making sure that whatever we do, we're leaning more on web standards and common functionality, and avoiding as much bundler specific stuff as possible.

Back in the day is was cute that you could import GLSL fragments directly into your JS code. Now, not so much.
Fun idea, wish it wasn’t broken ;_;
> I have also great problems identifying faces, don't know if there is a connection.

> On the other hand, I can vividly imagine sounds, including voices and music.

I'm the same way. I can almost replay entire songs in my head, and if I hear a repeated sound I can replay it slowed down in my head to count it, but in college I discovered that I had trouble recognizing faces of people when I'd meet them a second time. This hasn't happened much in other parts of my life, so I attribute it to the large volume of new people I'd meet regularly in college compared to the other parts of my life, but it's still something that I think I struggle with more than average.
I'm pretty sure Trinitrons are always heavier than other monitors of equivalent size because of the aperture grill design. It let's more light pass through, making them brighter, but boy do they get stupid heavy as the size increases.
'70s and '80s you would advertise in computer magazines. At the bottom of each ad as a little number, and in the magazine was a tear-out postcard that went back to the magazine. The postcard was filled with little numbers; you would circle the number associated with and ad, and the company would send you information about their company, price lists, etc.

The '70s and early '80s, it was CP/M, TRS-80, Apple ][ software. By the mid '80s and into the early '90s it was all one-person shops that were making custom UI controls for Windows 3.1. Tree and list controls were popular, plus some database connectors. By this time there were small companies making C++ libraries to make Windows programming easier, I remember Zinc and Zapp. They were wiped out when Visual C++ came out with Microsoft Foundation Classes.
I would have assumed it just decodes the x86 into a 32-bit ARM-like internal ISA, similar to how a JIT works in software. x86 decoding is extremely costly in software if you build an interpreter. Probably like 30% maybe and that's assuming you have a cache. But with JIT code morphing in Blink, decoding cost drops to essentially nothing. As best as I understand it, all x86 microprocessors since the NexGen i586 have worked this way too. Once you're code morphing the frontend user-facing ISA, a much bigger problem rears its ugly head, which is the 4096-byte page size. That's something Apple really harped on with their M1 design which increased it to 16kb. It matters since morphed code can't be connected across page boundaries.
For only 1600 pounds.
The market is a system that finds a price within a given context. If conditions allow for price opacity, the market will find a different price than if price transparency is forced. Both numbers can be described as a “market price”.
Yeh... I can now see that. Thanks. Context is everything. Though I paint landscapes, I rarely stray outside the city. hence my knowledge of landscapes is mostly from paintings, not real life. The scene you describe is difficult to find in the painting lexicon (for it's asymmetry), though doubtless common in nature.
isn’t it though?
TIL: I didn't even know curry leaves were a thing. I've only seen curry pastes and didn't think where they came from. There's way more info about what makes each different.
We ought to bring in systems and processes in place, to match peak power generation with peak power usage.

Samrt home equipment can play a huge role in that.
Hah. Nice
Seems like every time I've bought one "standard" has moved up a size. My current is a 65", the one before that a 55", a 47" before that, and I think a 43 or 44 before that.
Yeah… but if it hasn’t happened by now (after 70+ years), that tells you something.
Do you have a source for the validity of your insistence in seeing evidence to back the conjecture that was deemed subjectively obvious to the original commentator?
Not OP but if it was computer architecture i imagine it would be “structured computer organisation”.

One if my favourite books on computers and looking at the comments, many people here too.

Source: this book got me top marks too
TinyLetter shut down by Mailchimp, so I built the letterdrop
I still maintain, despite the gross ads this release of windows is one of the best. I was much more bothered by past versions.
Yes, all hail $( )

I haven't used backticks in my shell scripts in years.
I largely agree with you, but funnily enough the very same blog has a great post on the x86 decoding myth https://chipsandcheese.com/2021/07/13/arm-or-x86-isa-doesnt-...
Maybe you are just very lazy at filling in the details of the scenery? A questionnaire based approach doesn't sound very objective to me. A condition with the only "realiable" diagnostic being the VVIQ test, is not a condition at all.
Serverless is _very_ nice for pet projects where you don't want to pay for an idle server.
> Gang stalking or group-stalking is a set of persecutory beliefs in which those affected believe they are being followed, stalked, and harassed by a large number of people.

That is literally true though. Have you ever read one of those cookie banners to see the list of organizations stalking you at all times on the web? It's often in the high hundreds. Nearly every electronic device manufactured in the last 10 years is stalking you at all times. If you don't have an active ad blocker, they also harass you constantly in a personalized way using the information they gather by stalking you.
I think you have to think like a racist for that one
I think my auditory visualisation is on the outlier side, I will literally sit in the car with nothing on the stereo just humming along to what I’m imagining in my mind.

It’s almost like I’m actually hearing music (or I can imagine people speaking in basically any accent) - even full orchestral. But it’s subtly different in a way I can’t really describe.

My image visualisation is much weaker, I can imagine moving images, in colour and everything but it’s much more vague.
Well, don’t use this then. It’s a neat feature for quickly iterating, and you can quite easily go up from here to a proper Gemfile/Gemfile.lock.
There is a lot of evidence that aphants score higher on spatial reasoning tests than those with vivid visual recall and are over represented in fields like math and science.

These two skill sets appear to be divergent, i.e., people are either good at visualizing and recalling fine details or they are good at manipulating/reasoning about spatial objects.

Personally, I have always excelled at the latter and have a strong sense of direction and have scored well on tests that require one to manipulate/rotate objects in my brain.
I'm not personally being persecuted or harassed by any companies.