Readit News logoReadit News
adhesive_wombat commented on Starship.rs: minimal, fast prompt for any shell   starship.rs/... · Posted by u/highmastdon
JimDabell · 2 years ago
> Git information is extremely useful to me.

I could see the case for that if it were accurate. But every implementation I’ve seen doesn’t give you accurate Git information. It gives you the status of the repo as it was when you last ran a command. If you are working on the repo in a separate editor window, then the Git information in your prompt is usually incorrect. Incorrect information is worse than no information. Besides which, your editor normally provides this information as you are working on it. Why does outdated Git information belong in a prompt when there are more convenient places to get the correct information?

adhesive_wombat · 2 years ago
I can honestly say that has never once been a problem I have had, and I've had git information in the prompt for over 10 years.

Also how is "enter" less convenient than literally any other command that you'd still have to type and run to get up-to-date information in a command line?

adhesive_wombat commented on The Uncomfortable – a collection of deliberately inconvenient objects   theuncomfortable.com/... · Posted by u/throwup238
1970-01-01 · 2 years ago
What's the problem with a 0-10 mm ruler? I would clip that onto a keychain and use it to check gaps and alignments. In fact, I may steal this design and start 3D printing them for profit.

OH, its already been done!

https://www.printables.com/model/689367-1-cm-ruler-keychain

adhesive_wombat · 2 years ago
And in the spirit of the Uncomfortable Ruler, this has the same frustrating design flaw: the scale doesn't start in the corner so you can't butt it up against something and use it like a depth gauge!
adhesive_wombat commented on The Uncomfortable – a collection of deliberately inconvenient objects   theuncomfortable.com/... · Posted by u/throwup238
kazinator · 2 years ago
These people are fools not to have a stock of some of these objects manufactured, and quick buy links next to everything.

Some people looking at this cruft may want it.

The Klein bottle guy sells, right?

adhesive_wombat · 2 years ago
Assuming an architect doesn't have the right kind of workshop needed to make them herself, the capital outlay to tool up any of those objects except the broom and the fork (for which you'd take existing products and modify) would be pretty enormous. The ruler probably would be the easiest - a company that already makes steel rulers could likely make it for a relatively modest set-up cost.
adhesive_wombat commented on Starship.rs: minimal, fast prompt for any shell   starship.rs/... · Posted by u/highmastdon
JimDabell · 2 years ago
I think a huge amount of these prompts are just fiddling with things because people think they are clever, not because they are actually useful.

My prompt for years has been:

    : ▶
I add the hostname if it’s an SSH session and change ▶ to # if I’m root because those are both important contexts that should be omnipresent, but aside from that, I haven’t felt like I’m missing anything at all. The CWD is in the window / tab title bar, but I never need to look at it because the CWD is always so closely tied to what I am doing in the shell that it’s always top of mind.

adhesive_wombat · 2 years ago
Git information is extremely useful to me. I notice colleagues who don't have that tend to struggle using git on the command line and use git status nearly every other command (much as I tend to do when I'm remoting into a shell with a plain prompt).

Python venvs are useful too if you have a shell for running the program and other shells that just happen to be within that directory.

adhesive_wombat commented on The Annual Cost of Technical Debt: $1.52T   itzareyesmx.medium.com/th... · Posted by u/d_tr
adhesive_wombat · 2 years ago
Honestly, sounds low. Technical debt is just like real debt: a useful tool to allow you to borrow against the future to get things done today, and an existential threat if not serviced before it gets out of hand. A tool that everyone else is using to the hilt and if you don't you'll be at a severe disadvantage. If it accumulates, it can sometimes be cleared down to a sustainable (and even useful) level through a painful multi-year process where no-one is having fun and you don't get to do many nice things you thing you should be able to.
adhesive_wombat commented on Sports Illustrated implosion shows the ugly, ongoing collapse of U.S. journalism   techdirt.com/2024/01/24/s... · Posted by u/rntn
rwmj · 2 years ago
Private Eye (in the UK) is thriving as a paper publication without very much of an online presence. Audited circulation of nearly a quarter of a million (https://www.abc.org.uk/product/3379).
adhesive_wombat · 2 years ago
That's a funny one too me, because they do some very good journalism that spans many many years on many people up to no good. Frequently, they're the only ones doing anything more investigative than rewriting press releases and newswires and they must have an absolutely enormous library of material on public figures to be able to connect the dots that they do.

But when they report on something, it's gone from the public view in a few weeks as the only place you could find it would be your own archive, assuming it goes back that far (and you wish to dedicate the space in your house), or a major library of which there are only a handful in the country that would maintain an indefinite archive.

Something more impactful than a report on another suspiciously "bungled" contract by a councillor would be to be able to see the other articles they've done on that person over the decades. Even if there was, say, a year-long delay in putting them in the archive, there's a difference between "Eyes passim" (doubly irritating as there's also no thematic index and hundreds of back issues you'd need to look in) and seeing the older reports in front of you.

adhesive_wombat commented on Heat exchanger masks for cold weather cycling (2019)   coldbike.com/2019/02/13/h... · Posted by u/bill38
londons_explore · 2 years ago
100 ml / 4 liters = 2.5%.

2.5% of CO2 laden air (~50,000 ppm) + 97.5% fresh air (420 ppm) = 1640ppm.

1640 ppm of CO2 is very much into the 'feels drowsy and hard to concentrate' region.

adhesive_wombat · 2 years ago
Does that stay true when exercising? At rest, with a tidal volume of 500ml ish, lungs are least 5/6 full of stale air, round down to 3% ish CO2.

When exercising, the tidal volumes are far higher (2-3L), and you breathe faster, so the lung air is at least twice as fresh as it was at rest, probably more, since fresh air is functionally 0% CO2, and you're moving maybe 6 times the gas volume in each direction.

Does that massive change in volume and diffusion gradient (at least at the start of a breath) means that you might be able to tolerate a higher CO2 level in the inhaled air?

adhesive_wombat commented on Man Allegedly Raped in Jail After AI Wrongly IDs Him as Suspect Despite Alibi   ibtimes.sg/texas-man-alle... · Posted by u/parkaboy
bevacqua · 2 years ago
"A computer can never be held accountable, so has increasingly been used to make management decisions." — IBM slide from 1979.

AI didn't wrongly convict anyone. People leveraging AI did.

adhesive_wombat · 2 years ago
I believe the 1979 original read "...Therefore a computer must never make a management decision".

https://constelisvoss.com/en-gb/pages/a-computer-can-never-b...

adhesive_wombat commented on Ambient light sensors pose imaging privacy risk   csail.mit.edu/news/study-... · Posted by u/forgotmypw17
kkfx · 2 years ago
It's not much that the point: did you notice your phone lighting up the screen when you move around it? That's not much an "image" capture threat (meaning you covered the phone cam and allow the other sensors in that example) but a "person presence" and "person activity" threat.

Essentially with apparently innocent and cheap sensors you can determine what happen in a home, perhaps selling some smart bulb who can just tune the light and light on automatically when you enter a room then turn off after a short period of time. Apparently a simple and innocent comfort idea, but also a potential cheap remote spying device.

We already know some "strange" attacks like discovering keys pressed on a mechanical keyboard via the produced ambient noise, any of such potential threat alone seems innocent and low risk, but put together allow for a potentially cheap mass surveillance inside homes walls in a far less monitored ways.

adhesive_wombat · 2 years ago
WiFi backscatter "radar" is another one that is surely going to find uses all along the useful-innocent-seedy-nefarious-malicious spectrum.
adhesive_wombat commented on Chinese researchers planning 1,600-core chips that use an entire wafer   tomshardware.com/pc-compo... · Posted by u/_____k
WhereIsTheTruth · 2 years ago
Those who try may get 1.7%

Those who don't may forever get 0%

adhesive_wombat · 2 years ago
Wayne Gretzky's post-retirement career in semiconductor engineering may not have been expected, but seems to be going well.

u/adhesive_wombat

KarmaCake day5165June 13, 2021
About
Just some human with electronic ambitions.
View Original