Better HN
topnewbestaskshowjobs
Log inSign up

marchelzo

50 karma · joined Mar 19, 2015 (11y ago) · 19 submissions

On a life-long journey.
Submissions

1.

Show HN: clickity – mechanical keyboard click sounds when you type on macOS(github.com ↗)

4 points · by marchelzo · 8mo ago · discuss

comment 4y ago · link · parent

They were :) Before I took the time to write a vim syntax file I just used the Rust one with a couple of tweaks and the syntax was close enough that it sort of worked.

comment 4y ago · link · parent

Neat game. I was bored so I wrote a little brute-force solver in my toy language. Takes almost a minute to solve today's puzzle though: http://paste.pr0.tips/hgs

comment 10y ago · link · parent

I agree completely. I couldn't believe it when he made that Frame struct and completely abused RAII just to execute some code at the beginning and end of a block. The only really big wins were the wrappers for writing to different memory locations, all of which could have been implemented in C using macros or inline functions.

comment 10y ago · link · parent

I'm not familiar with this concept. What are the benefits?

comment 10y ago · link · parent

Or as I've recently taken to calling it, the GNU+ACM Software System Award.

comment 10y ago · link · parent

With `[a] -> Maybe a`, it's not so bad if you use `catMaybes` from Data.Maybe.

map transform . catMaybes . map safeHead

comment 10y ago · link · parent

What does B/E stand for?

comment 10y ago · link · parent

"You are a married lady older than 32 who makes more than $52,000/year You're either a married, middle-aged lady ... or you use your phone like one."

19 year old male. The only apps that I have on their list are YouTube and Google Maps.

comment 10y ago · link · parent

Presumably for the same reason that people prefer native applications on iOS / Android to using web applications in mobile browsers.

This approach allows you to tailor the controls and the display to the specific application, thus creating a more pleasant experience.

Have you tried using HN in lynx?

comment 11y ago · link · parent

It counts characters rather than bytes. Maybe it's a GNU thing?

EDIT: It appears to be part of POSIX wc.

comment 11y ago · link · parent

I got curious when you said they don't take themselves seriously. There are some pretty funny files in the /lib/ directory of their source tree. https://code.9front.org/hg/plan9front/file/0d00dd23c9db/lib/... for example.

comment 11y ago · link · parent

AFAIK, the force of gravity propagates at light-speed, so every particle in the universe is not being acted upon by every other particle in the universe via gravity, because the distance between some particles is increasing faster than that due to the expansion of the universe.

comment 11y ago · link · parent

Sorry- but you mean that you didn't eat anything at all for 23 days? And you felt energized?

comment 11y ago · link · parent

I think something else that could have impacted their results is that for some people, the knowledge that they are being tested changes the way they think/perform quite drastically. When I sit at a desk and do menial work, I get restless and my productivity plummets. But if you tell me that I'm being assessed, and you give me a straightforward task, I will have no trouble focusing on it for at least an hour. Maybe treadmill desks help you stay on task, but at the same time inhibit your cognitive performance slightly.

comment 11y ago · link · parent

flexbox + viewport units have made this better.

comment 11y ago · link · parent

I don't drink coffee terribly frequently, but I'm still intrigued by this Dandy Blend drink... has anyone else tried it? Even for the samples, it costs $11.60 to have it shipped to eastern Canada, so I'm a little hesitant.

comment 11y ago · link · parent

What do you mean by "native operators like ? and if uses == and not ==="?

comment 11y ago · link · parent

6716 confirmed most secure 4-digit PIN.