HNHacker News
TopNewBestAskShowJobs

happimess

529 karma · joined March 16, 2012

submissionscomments
happimess··on BeagleV – An affordable RISC-V computer designed to run Linux
I'm certainly no expert, but I've never been able to run a spinning disk HDD off of a raspberry pi without a powered USB hub. I imagine the thermals and form factor would be hurt pretty badly by including a plausible power supply.
happimess··on Who gets invited to the party?
Historically Black College/University.

North Carolina Agricultural and Technical University

happimess··on i3 4.18
I move everything around manually on login, and then try not to log out. For a while I was using xmonad, and setting things to automatically land on the right workspace was easy there, but ultimately I like the i3wm experience better.

I saw something in the i3 docs about this feature, but it didn't work on the first try and I didn't dig deeper.

happimess··on i3 4.18
I think that i3wm is amazing for single-monitor development; it lets me switch workspaces as quickly as flicking my eyes over to another monitor.
happimess··on i3 4.18
On my personal machine, I use i3wm, and on my work machine I use OSX with Spectacle (a window tiler).

For me, the killer feature of i3wm is not how it lets me arrange windows on my screen, but how it lets me switch between them. With OSX, I have to maintain a mental stack of recently-used applications: If I'm in my terminal and I want to get to firefox, I have to hit cmd-tab, or maybe cmd-tab-tab, or maybe cmd-tab-tab-tab. At least once a day, I make an off-by-one error and get stuck in a context-shift loop until I pause, think, and do the needful. With i3wm, I have 10 workspaces, and each is available with a single chord press. I have my own conventions about what's where, and there's no cognitive load associated with switching between text editor and documentation, or whatever.

Along the same lines, I like to keep a roguelike open for quick breaks, but ideally I'd never accidentally switch to a video game. OSX gives you no ability to punt an application from your cmd-tab list except to quit the application. With i3wm, I keep that on workspace 0, and have never accidentally switched over to it.

You may think I'm being precious, but it really does make a huge difference in my ability to stay in the zone.

happimess··on Ask HN: How did you fix your narcissism?
I think you misunderstand me. I'm not afraid to let my freak flag fly. I just realized that I wasn't leaving a lot of space for other people in group conversations.
happimess··on Ask HN: How did you fix your narcissism?
Don't worry, there are still plenty of jokes.

I just realized that my jokes were shutting off other people who might be saying something, or redirecting the conversation away from something interesting. So now I just stifle them if I can tell that someone else (especially someone less talkative than me) has something they want to say.

Usually I explain them to my wife hours later, and at least _I_ get a kick out of them.

happimess··on Ask HN: How did you fix your narcissism?
IANAN, but living abroad when I was about 25 really improved my humility. I'm used to being quick-witted, knowledgable, and generally good with people. When I got to a place where English is not the default language, I was essentially an idiot---I was confused a lot, unable to make jokes, and little kids laughed at my attempts to, say, order a gyro.

It all clicked when I was lamenting it to my girlfriend, who said (with real affection), "well, how much of what you say is actually valuable?" Right then I realized how much of my time I spent trying to convince people how quick-witted, knowledgable, and easy with people I am.

Now I talk less, let jokes (even good jokes!) go unsaid, and am better with people.

happimess··on NASA Flew Gas Detectors Above California, Found ‘Super Emitters’
True, but it's an aerobic decomposition that produces CO2. Landfills tend to create anaerobic environments, where decomposition produces methane. Both are greenhouse gases, yes, but methane is the more potent of the two.
happimess··on Could Removing Social Media Metrics Reduce Polarization?
Sort by karma, but don't display it.
happimess··on FizzBuzz in ten languages
The "Haskell implementation using monoids" on this page is the only solution I've seen where adding a new behavior (e.g. "FizzBuzzWoof") only requires a modification in one spot.

  (d 3 "Fizz" <> d 5 "Buzz")
becomes

  (d 3 "Fizz" <> d 5 "Buzz" <> d 13 "Woof")
eta: And just below it is a similar solution in Python. Cool!
happimess··on Ask HN: Does anyone know if Apple plans to address the MacBook keyboard issue?
Thanks for the concise review. Off-topic question, though:

> but due to the ports issue (which Apple are taking the piss with)

What does "taking the piss with" mean in this context?

happimess··on Ask HN: Very tense while programming
Set triggers for yourself to do a tension check.

I used to work in a cube farm with a coworker who had a very forced "please somebody ask me what's so funny" laugh that he would use several times a day. Whenever I heard that laugh, I would check my posture, relax my shoulders, and take 2 slow breaths. It converted an annoyance into a moment of rest, and helped me keep my back in shape at the same time.

Now I work remotely, so I've changed the trigger to whenever my cat touches me, which happens about as frequently.

happimess··on Ask HN: Resources for catching up on modern JavaScript for Python/C++ Programmer
When you search for information on google, the results page contains a 'tools' link up top. If you click it, you have the option to restrict your search to a variety of time frames.

In my experience, any result from more than a year ago is likely to be irrelevant in the world of javascript.

happimess··on Ask HN: Resources for catching up on modern JavaScript for Python/C++ Programmer
I'm a middling JS programmer myself, but I have two tips to share.

First, when you're wondering how to do some specific thing (say, filtering an array by some predicate), search for 'es6 filter array', rather than 'javascript filter array.'

Second, make liberal use of google's 'tools -> past year' feature.

happimess··on An opinionated guide to Haskell
This is a great book. I brought it on vacation once, read it end to end, and was a much better Haskeller afterwards.

However, it was written a long time ago, and is missing a lot of Haskell's recent history. The book targets GHC 6.8, whereas I'm running 8.2.2. There's a summary at [1]

Again, it's a great book and the price is right, but caveat lector.

[1] http://support.oreilly.com/oreilly/topics/when-will-it-be-an...

happimess··on Solving Minesweeper and making it better (2015)
This is a great example of interactive writing. The playable demos are thoughtfully chosen. One of them even made me laugh.

Kudos to the author.

happimess··on Ask HN: Who is hiring? (December 2017)
That sounds like a pretty cool project. Just a heads up, your lever links are broken. It looks like you've dropped the last few digits of your UUIDs.
happimess··on Teller Reveals His Secrets (2012)
I saw Penn and Teller live when I was much younger. At one point in the show, they announced that they were famous debunkers, and were therefor going to explain exactly how the next trick was performed. They went through it step by step, with Penn talking and Teller demonstrating. Then, of course, they ran through it again, repeating the patter and performing all of the same apparent motions but with wildly different magical outcomes. It was phenomenally well executed, and really left me reeling at how completely they were in control of the experience.

If you can see them live, I highly recommend it.

happimess··on Numbers 0 to 11111 in terms of Increasing and Decreasing Orders of 1 to 9 (2014)
It's not clear from your formatting, but the line was

  1 = 1 ^ 23456789
I thought it was really cool that this pattern is used elsewhere to collapse any prefix into 1, e.g.

  9 = (1 ^ 2345678) * 9
happimess··on Ask HN: Is there a “ground-up” explanation of PGP/GnuPG?
I'm not OP, but I found this to be useful.

http://eagain.net/articles/git-for-computer-scientists/

happimess··on Giving up on Julia
Yes, in the US, you will almost never see a 13th floor.
happimess··on Show HN: Adblock to Bitcoin
I think 4ela was talking about a technical problem, not a philosophical objection.
happimess··on It’s Way Too Easy to Hack the Hospital
Firefox's Reader View tidied it up nicely.
happimess··on Academics sharing paywalled papers with a codeword on Twitter
I'm not a working scientist, so I can't speak to whether or not this is a sufficient platform to bypass journals, but I thought I'd put in a plug for the Center for Open Science. [0]

I'm not affiliated, just a fan of their work.

[0] http://cos.io

happimess··on Why we should all learn from the ancient Greeks
I see where you're coming from, but poems, plays, and sculpture are "the fruits of the ancient world." A work like the Iliad only comes around once every few millennia, and no synopsis will frame its ideas so starkly.

The Iliad and The Odyssey are two of the most thrilling pieces of literature available to a reader today, and they both pose difficult moral questions. I just can't imagine a sociology textbook writer formulating a "What do you think: Glory, or Contentedness?" segment as compelling as the entire arc of Achilles' role in the battle for Troy.

So yes, the lessons of the ancient world are applicable to a broad range of subjects, but the art is also valuable in and of itself.

happimess··on Ten Days of Silence
You are certainly not alone. I both meditate (sometimes) and practice yoga (intermittently), and while both make me feel great and have noticeable effects on my productivity, they're both so much damned work. Once I miss a few consecutive days, its easy to miss a few more.

Brb going to meditate, even though its past my bedtime and I've got a couple glasses of wine in me.

happimess··on Weak Homegrown Crypto Dooms Open Smart Grid Protocol
I know that it is considered suicidally hubristic to use homegrown cryptography; does that apply to writing your own implementation of a trusted protocol?

It seems like it'd be a cool project, but I don't want my github profile to advertise that I'm the kind of fool that rolls his own crypto.

happimess··on Becoming Productive in Haskell
I mentally pronounce foldl' as "fold ell prime," and it never gives me any difficulty.
happimess··on Did Neurons Evolve Twice?
Thanks, that's a more apt link than symbiogenesis.

However, it doesn't change the fact that, when viewed from 10,000 feet, the tree of life looks more like a tree than a web. Especially with regards to the question "did neurons evolve twice," very little is lost by ignoring that sometimes cousins marry, and sometimes a virus leaves a chunk of genetic material in its host.

← PreviousPage 3 of 5Next →