HNHacker News
TopNewBestAskShowJobs

mfgs

256 karma · joined December 14, 2015

submissionscomments
mfgs··on Writing a C compiler in 500 lines of Python
Explicit variable size is useful for limited memory space envs like microcontrollers.
mfgs··on Ask HN: What is your policy regarding smartphones for your children?
The kids in my family attend a school where the parents have all verbally agreed to not get their kids a smart phone until 16. This removes the peer pressure element of owning a phone/instagram/etc. When that’s removed there is little downside and huge upsides to the kids not having phones.
mfgs··on Flipping the model presents a new way to treat sleep apnoea
How are you measuring O2 levels?

I’ve also been experimenting with a slightly elevated mattress recently, it seems to help quite a lot for my OSA.

mfgs··on The hidden cost of air quality monitoring
Do you mean a petrol leaf blower? Because of the motor emissions or the blowing?
mfgs··on In-Flight Entertainment Challenge
Myst would be a perfect game to play on a long flight. Sorting the right controller setup might be tricky though.
mfgs··on Do I need to avoid dark chocolate now?
https://web.archive.org/web/20230319090005/https://www.nytim...
mfgs··on Finding a former Australian prime minister’s passport number on Instagram (2020)
This joke’s also a reference to the fast turnover Australia had around that time of prime ministers, due to them getting replaced by their own party.
mfgs··on Poor sleep drove me insane, and my long path to recovery
For anyone using or considering a CPAP device, you should also do some research into mandibular advancement devices (MADs). They’re basically a mouth guard that opens your airway by moving your lower jaw forward.

They are lesser known than CPAPs but are much simpler and way less invasive. They’re often well suited for people who are thinner and/or have milder OSA symptoms.

I couldn’t use a CPAP but using a MAD has helped significantly (although perhaps not completely).

mfgs··on Type hinting sucks
It already can be used for development, IDEs such as PyCharm perform quite effective live type checking based on type hints.
mfgs··on Best and worst decisions I’ve made
Acidic foods and drinks will temporarily soften the enamel in your teeth. Brushing right afterwards can remove the softened enamel.

Brushing right after drinking acidic soft drinks or soda is meant to be much worse for your teeth than not brushing.

mfgs··on Building an e-ink weather display for our home
I'd love to see a display of absolute humidity for indoors and outdoors to see if opening the windows will reduce or increase indoor humidity.
mfgs··on The Worst Website Ever
It's not that bad, it doesn't even have an accept cookies popup blocking half the screen.
mfgs··on Show HN: I made a new AI colorizer
Cool. Interesting to note that the original is not necessarily the "correct" real world color palette (it's accuracy is subject to camera settings, sensor response, lighting, etc), so the colorized version could in theory be even better than the original in some or all areas of the photo.
mfgs··on The life and sketchy business practices of Crazy Eddie
Heist Poscast did a great episode on Crazy Eddie: https://facebook.com/heistpodcast/posts/the-story-of-cray-ed...
mfgs··on Cast iron leet
I love my cast iron skillet, which must be at least 4 decades old. It’s great for cooking with the only challenging task being scrambling eggs on low heat (for fluffier eggs), which can stick a little.

I recently bought a new cast iron skillet and it just doesn’t seem to be of the same quality, it’s a lighter colour and doesn’t seem to season as well. Are there different grades of cast iron, or are they just not made like they used to be?

mfgs··on The mites in the skin of our faces
> Their reproductive organs have moved anteriorly, and males have a penis that protrudes upwards from the front of their body meaning they have to position themselves underneath the female when mating, and copulate as they both cling onto the human hair.

Does this mean they’ll die off relatively quickly if all body hair is cut off? Or does this happen beneath the skin?

mfgs··on Why do you waste so much time on the internet?
Once you have an internet connected phone or PC (as we all do) then the cost in physical or mental effort, time, or money to click another link or watch another video is basically zero. It also gives relatively high levels of dopamine as you're constantly seeing or learning new things.

So with practically no barrier to sitting there longer and a constant stream of stimulation the cost to benefit _ratio_ is incredibly low, arguably lower than anything else we're likely to do regularly. Any real world activity, which all require time and mental or physical effort, yield likely a much higher cost to benefit ratio.

Wasting time on the internet is basically just the path of least resistance and the best "deal" in your own mental economy.

mfgs··on The case for induction cooking
The odour you smell is unburnt gas (to make gas leaks less dangerous). Burning gas produces carbon monoxide (among other things), which has no odour.
mfgs··on My Favorite Math Problem
As a start (and possibly as an equivalent proof?) you can mentally brute force it by cutting the board down to 4x4 and just visualising how the blocks might fit. It quickly becomes obvious that it's not possible.
mfgs··on Deaf Man Who Couldn't Hear Police Commands Was Tased and Spent 4 Months in Jail
There is usually at least 1000 people shot by police each year in the US.

All other developed nations have significantly lower rates and incidences of police killings: https://www.prisonpolicy.org/blog/2020/06/05/policekillings/.

mfgs··on Transport noise linked to increased risk of dementia, study finds
Interesting. I'm definitely looking forward to electric buses and trucks though. Standing on the sidewalk when a bus accelerates next to you can be offensively loud.
mfgs··on New Ways to Be Told That Your Python Code Is Bad
"it unconditionally flags every use of while expressions."

I'd find that pretty annoying.

Consider a while loop in a thread:

  while not quit_thread_requested:
    # do threaded task
mfgs··on Jeff Bezos loses attempt to block the Moon-landing contract NASA gave to SpaceX
It probably has something to do with not getting notified when someone replies to your post.
mfgs··on Instagram Has Become SkyMall
I only use insta in the browser on my phone, which is quite a nice watered down experience that doesn't show ads (even without an ad blocker) or annoying account suggestions.
mfgs··on Play online chess with a real chess board
Camera calibrations are often done with a chess board pattern, as it shows scale, skew, rotation, etc of the real world plane you are imaging.

Also see https://en.m.wikipedia.org/wiki/Chessboard_detection.

mfgs··on Python Language Summit: PEP 654 – Exception Groups and Except
How is that ultimately different from handling the exception under `except`?
mfgs··on Ask HN: Mobile phone addiction help?
Leave your phone permanently plugged in to the charging cable, somewhere that is not comfortable or particularly convenient to use it (e.g. nowhere to sit down). That way you can use your phone as much as you need when you need to, but you will be disincentivized to stand there on it for longer than you should.
mfgs··on Printstack – Python package that adds stack trace links to the print function
Done.
mfgs··on Expanded testing of video conferencing bandwidth usage over 50/5 Mbps broadband
I'd be curious to know how much bandwidth it utilises when that much is available.
mfgs··on I Want a New Duck (2020)
Type hints are super handy when using smart IDEs like PyCharm, which will list or highlight (most of) your type errors. This alone can greatly improve confidence in your program, especially for more complex cases.

Getting that cheaply while still having types unchecked is a nice compromise between improved functionality and not changing the language majorly.

Page 1 of 2Next →