marchelzo
|
3 years ago
|
on: Show HN: Figure is a daily logic puzzle game
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.
marchelzo
|
3 years ago
|
on: Show HN: Figure is a daily logic puzzle game
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
marchelzo
|
9 years ago
|
on: The cost of forsaking C
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.
marchelzo
|
9 years ago
|
on: Universal.css
I'm not familiar with this concept. What are the benefits?
marchelzo
|
10 years ago
|
on: ACM 2015 Technical Award Recipients
Or as I've recently taken to calling it, the GNU+ACM Software System Award.
marchelzo
|
10 years ago
|
on: Building a Better Custom Haskell Prelude
With `[a] -> Maybe a`, it's not so bad if you use `catMaybes` from Data.Maybe.
map transform . catMaybes . map safeHead
marchelzo
|
10 years ago
|
on: Vis: A Vim-Like Text Editor
What does B/E stand for?
marchelzo
|
10 years ago
|
on: Can we guess your age and income, based solely on the apps on your phone?
"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.
marchelzo
|
10 years ago
|
on: Show HN: Browse Hacker News from the Comfort of Your Terminal
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?
marchelzo
|
10 years ago
|
on: Twitter Names Jack Dorsey Chief Executive
It counts characters rather than bytes. Maybe it's a GNU thing?
EDIT: It appears to be part of POSIX wc.
marchelzo
|
10 years ago
|
on: The Use of Name Spaces in Plan 9 (1993)
marchelzo
|
10 years ago
|
on: Gravity Kills Schrödinger's Cat
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.
marchelzo
|
10 years ago
|
on: Diet that mimics fasting appears to slow aging
Sorry- but you mean that you didn't eat anything at all for 23 days? And you felt energized?
marchelzo
|
10 years ago
|
on: Stanford study finds walking improves creativity (2014)
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.
marchelzo
|
10 years ago
|
on: A simple UI framework for Rust
flexbox + viewport units have made this better.
marchelzo
|
11 years ago
|
on: Why I Quit Coffee and How That's Been Working Out
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.
marchelzo
|
11 years ago
|
on: JavaScript's world domination
What do you mean by "native operators like ? and if uses == and not ==="?
marchelzo
|
11 years ago
|
on: Pi, PINs and Permutations
6716 confirmed most secure 4-digit PIN.