News for hackers. Stuff that matters.
Re:Git git git git git by projektfu on Tuesday September 26, 2017 @04:43PM (#15342329)
I always typed rebnoot, so I patched Netbsd to allow rebnoot. Then I patched it still so it would say, "Rebnooting". Fun times.
Re:Git git git git git by dbcurtis on Wednesday September 27, 2017 @12:08AM (#15344848)
Relatable. For years, I aliased mroe to more. Now I alias mroe and more to less.

My wife drafts a lot of legal documents, and has a problem with "doe snot". Which unfortunately the spelling checker is perfectly happy with.

Re:Git git git git git by Singletoned on Wednesday September 27, 2017 @04:22AM (#15345819)
There's defintitely room for an advanced spell checker that can say "This is valid, but probably wrong".
Re:Git git git git git by MikeTV on Wednesday September 27, 2017 @12:17PM (#15349286)
I just ran across Language Tool[0] recently. Free, open-source proofreading lib, can be run totally locally. Uses Google Ngrams to check for often confused words. Didn't correct "doe snot" in my synthetic test just now, but that seems like a plausibly minor extension of existing functionality.

[0] https://www.languagetool.org/

Re:Git git git git git by goblin89 on Wednesday September 27, 2017 @09:39AM (#15347663)
There’s at least one product trying to address the issue with “valid, but probably wrong” typos. It’s called Grammarly and for some unfathomable reason it gets advertised to me a lot on YouTube whenever Google detects I’m in South Korea; I believe they are seriously mistargeting their marketing efforts.

(That said, if it were me, I’m not sure if I would give up typing doe snot every once in a while.)

Re:Git git git git git by salvar on Wednesday September 27, 2017 @04:56AM (#15345993)
Defiantly.
Re:Git git git git git by Ajedi32 on Wednesday September 27, 2017 @09:25AM (#15347543)
The spell checker in Chrome can already do that to some extent. For example, "The men walked over their to grab they're food." gets corrected: https://i.imgur.com/NR4zyVA.png
Re:Git git git git git by Fnoord on Wednesday September 27, 2017 @11:20AM (#15348650)
command-not-found [1] could implement that, if it isn't implemented already. I remember a Linux distribution with an application which would let a train pass in a few seconds after typing typical commands wrong. Trust me, you'll learn to type correct when that happens because it is very annoying.

EDIT: as mentioned below, it is called 'sl'

[1] https://wiki.ubuntu.com/CommandNotFoundMagic

Re:Git git git git git by jbergens on Thursday September 28, 2017 @02:31AM (#15355105)
The spelling checker in Word has some grammar rules, try to configure those if she uses Word.
Re:Git git git git git by polkijunk on Wednesday September 27, 2017 @04:29AM (#15345854)
defintitely
Re:Git git git git git by vollmond on Wednesday September 27, 2017 @11:01AM (#15348432)
My standard .bashrc aliases cd.. and cd- to the same thing with a space. Eliminating minor annoyances and focus-disruptors is great.
Re:Git git git git git by ytjohn on Tuesday September 26, 2017 @09:03PM (#15344068)
Our org has a bunch of related miscellaneous projects called "pantry". Basically, if it doesn't fit standalone, you put it in the pantry. It works out better than you think, except when someone is doing a webex and misses an r.
Re:Git git git git git by _pmf_ on Wednesday September 27, 2017 @02:22AM (#15345334)
"Rebnooting" sounds like it should be a real word; probably a military term.
Re:Git git git git git by mypalmike on Tuesday September 26, 2017 @05:45PM (#15342790)
Can't tell if serious...
Re:Git git git git git by popcorncolonel on Tuesday September 26, 2017 @06:05PM (#15342937)
Knowing software developers, probably entirely serious.
Re:Git git git git git by tosstossy on Tuesday September 26, 2017 @09:00PM (#15344056)
The seasoned sysadmins are a little more careful before smacking the enter key...
Re:Git git git git git by mcv on Wednesday September 27, 2017 @04:52AM (#15345978)
Depends on the importance of the system. If it's a fairly unimportant home system that's excessively backed up, it's fairly easy to live life on the edge.
Re:Git git git git git by Fnoord on Wednesday September 27, 2017 @11:25AM (#15348717)
rm -i and rm -f (as well as mv and cp) allow to specify certainty not merely for everyone above UID 0.

Keyword: Backups.

Re:Git git git git git by TheSoftwareGuy on Tuesday September 26, 2017 @07:32PM (#15343587)
It’s probably just a shell script or an alias
Re:Git git git git git by projektfu on Tuesday September 26, 2017 @09:27PM (#15344167)
An alias would work but it wouldn't say rebnooting. That was my initial fix. But I was learning things at the time and I learned how to recompile parts of the distribution. I also learned how programs in Unix could invoke different effects based on name. Coming from DOS, it was a real surprise that reboot was a link to shutdown.
Re:Git git git git git by therein on Wednesday September 27, 2017 @03:23AM (#15345587)
So I am assuming you ended up patching the `shutdown` binary to print `Rebnooting` if exec'd with the `rebnoot` name?

This is similar to how busybox binary implements a bunch of the tools from coreutils etc.