HNHacker News
TopNewBestAskShowJobs

Mindless2112

1,833 karma · joined June 30, 2012

submissionscomments
Mindless2112··on Click and Swap, our alternative to Drag and Drop
Assuming you're on Windows 10, you can add the "Undo" button to the quick access toolbar in the upper left corner of File Explorer. Then you can hover over the button to see what it's going to undo.
Mindless2112··on Google could face class action lawsuit over free G Suite legacy account shutdown
Same boat. I'm not mad. This is just the kick in the pants I needed. I already have a Mail-in-a-Box set up; now I have an unignorable reason to migrate everything.
Mindless2112··on GPS
You either find out the candidate knows how GPS works or you find out the candidate's willingness to say "I don't know".

It's valuable to know how someone will handle a question they don't know the answer to -- whether they recognize their own ignorance and whether they are willing to admit to it.

Mindless2112··on NIST is broadcasting a test signal on minute 8 of the hour on WWV and 48 on WWVH
You don't necessarily need a radio at all to tune into WWV/WWVH -- you can listen on a telephone. (Nevermind that most telephones today use radio waves.)

(303) 499-7111 for WWV (Colorado)

(808) 335-4363 for WWVH (Hawaii)

https://www.nist.gov/time-distribution/radio-station-wwv/tel...

Mindless2112··on I'm “still afraid to use spaces in file names” years old
getopt_long (and thus most GNU programs) work this way. I think it's probably a misfeature though since it means that adding a new option can introduce ambiguity. Having both short (ex. -x) and long (ex. --exclude) options is a less problematic solution.
Mindless2112··on Goodbye, MIT
"The fundamental theory of liberty upon which all governments in this Union repose excludes any general power of the state to standardize its children by forcing them to accept instruction from public teachers only. The child is not the mere creature of the state; those who nurture him and direct his destiny have the right, coupled with the high duty, to recognize and prepare him for additional obligations." [1]

[1] https://www.law.cornell.edu/supremecourt/text/268/510

Mindless2112··on Daylight saving time is 'not helpful' and has 'no upsides,' experts say
Some people with children don't like that because "[their] children will have to go to school in the dark" during the winter. That's what killed legislation to make DST permanent where I live.
Mindless2112··on Daylight saving time is 'not helpful' and has 'no upsides,' experts say
Closest to zenith, I presume.
Mindless2112··on The Trouble with Checked Exceptions (2003)
Error returns and checked exceptions are isomorphic. There's nothing you can do with one that you can't do with the other.

But I agree with the underlying point you're making. The error mechanism that a language provides determines how a programmer will think about handling errors. Exceptions make you think about error handling as control flow. Error returns make you think about error handling as unwrapping data.

Mindless2112··on The Trouble with Checked Exceptions (2003)
> what programmers actually* do with checked exceptions*

If the only trade-off considered is 'writing "gobbledy gunk" to handle exceptions poorly' vs 'not handling them at all' then, of course, checked exceptions will look bad.

If the trade-off is whether the compiler will be able to tell me that I'm not handling an exception, well, I want the compiler to help me out. People writing low-consequence code can sprinkle "throws Exception" everywhere.

Without checked exceptions, it becomes my job to ensure that exceptions are handled, and I am nowhere near as thorough as the compiler.

> what you maybe need is a different design*

Could be. Perhaps exceptions on the whole are not a good error mechanism because of the way programmers think about them.

Picking two HN favorites, Rust has Result<T, E> and Zig has error sets, both of which effectively work a lot like checked exceptions but with better syntax (and without the bad rap). try/catch is clunky by comparison.

Mindless2112··on The Trouble with Checked Exceptions (2003)
> Bill Venners: But aren't you breaking their code in that case anyway, even in a language without checked exceptions? If the new version of foo is going to throw a new exception that clients should think about handling, isn't their code broken just by the fact that they didn't expect that exception when they wrote the code?

> Anders Hejlsberg: No, because in a lot of cases, people don't care. They're not going to handle any of these exceptions.

As an argument against checked exceptions, this is nonsense. Hand-waving away making breaking changes to an API because "people don't care" about handling the error conditions. I consider it a sign of the immaturity of the software industry that "proper error handling was too much work, so we didn't" is an acceptable sentiment, let alone an acceptable practice.

Mindless2112··on Text entered into Windows' Run dialogue gets sent to Microsoft's telemetry
In case you're feeling left out in Notepad, you can right-click › "Search with Bing..."
Mindless2112··on Show HN: Display a bell emoji on HN comments you haven't read yet
https://hackerweb.app/ does this for items with a lot of comments.

HN should copy this feature. The top thread dominates the discussion all too often.

Mindless2112··on China uses anti-fraud app to track access to overseas financial news sites
Or just jam it.

https://en.wikipedia.org/wiki/Radio_jamming_in_China

Mindless2112··on The death of the ‘Millionaire Next Door’ dream
$220k according to Wolfram Alpha.

https://www.wolframalpha.com/input/?i=%24130k+1996+USD+in+20...

Mindless2112··on When scientific orthodoxy resembles religious dogma
"lab leak" does not necessarily imply "originated in a lab". The lab can bring in a virus from the wild to study and then have a leak.
Mindless2112··on [dead]
It actually listed under NEGG.

https://seekingalpha.com/news/3698743-lianluo-smart-closes-m...

Mindless2112··on Child tweets gibberish from US nuclear-agency account
"My fellow Americans, I'm pleased to tell you today that I've signed legislation that will outlaw Russia forever. We begin bombing in five minutes."

https://en.wikipedia.org/wiki/We_begin_bombing_in_five_minut...

Mindless2112··on C# 9 top-level programs and target-typed expressions
You can (and I do), but it is explicitly not supported. If it breaks, you get to keep both halves.
Mindless2112··on What We Can Learn from Japanese Prefab Homes
There's a good chance of not seeing one being built since it might only take 6 hours -- see [1].

[1] https://www.youtube.com/watch?v=Kzpv47o80eg

Mindless2112··on “ISO obstructs adoption of standards by paywalling them”
Also ECMA (C# and JavaScr... er, ECMAScript) which provides standards at no cost vs ANSI (no notable language specs since C and Pascal) which charges a fee.
Mindless2112··on Spotify announces HiFi, a lossless streaming tier coming later this year
Nyquist is about sample rate and frequency, not bitrate and frequency.

Edit: Clearly there is generally a relationship between bitrate and quality, but for compressed audio it is far from "cut and dry".

Mindless2112··on Supermicro Hack: China Exploited a US Tech Supplier over Years [2021 Follow-Up]
coreboot was created at a government lab.

https://www.coreboot.org/FAQ#Who_is_working_on_coreboot.3F

Mindless2112··on Bitcoin's fundamental value is negative given its environmental impact
Internet advertising's fundamental value is negative given its environmental (not to mention psychological and sociological) impact. So can we get rid of ads?
Mindless2112··on SDL Moves to GitHub
...or stores it in .git[1].

[1] https://www.mercurial-scm.org/wiki/GitExtension

Mindless2112··on A stroll through the archives of Editor & Publisher
https://chroniclingamerica.loc.gov/ -- "Search America's historic newspaper pages from 1777-1963"
Mindless2112··on The Map You Grew Up with Is a Lie. This Is What the World Looks Like
I grew up with a globe, which is less of a lie than this. Granted, it had the USSR and some other defunct countries on it.
Mindless2112··on Ouroboros: A Provably Secure Proof-of-Stake Blockchain Protocol [pdf] (2019)
Unfortunately, the introduction of the presentation took too much time, so the novel part of the presentation is very hand-wavy.
Mindless2112··on Remembering the night two atomic bombs fell on North Carolina
> "Always/Never" shares the story of the national labs’ history of work for the safety and security of nuclear weapons.

https://www.youtube.com/watch?v=DQEB3LJ5psk

Mindless2112··on Chinese authorities detain Bloomberg News staff member
Without separation of powers, even the best constitution is worthless.
← PreviousPage 5 of 16Next →