Hacker Newsnew | past | comments | ask | show | jobs | submit | marchelzo's commentslogin

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


Your language feels Haskellish, with some Rust-like syntax and mutation thrown in. Were those languages inspiration?


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.


Looks pretty sweet! I'd consider using something like that for scripting if it had a non-toy implementation.


Love this. Where can I learn more about your toy language?


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.


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



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


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

map transform . catMaybes . map safeHead


Even better with mapMaybe:

    map transform . mapMaybe safeHead


What does B/E stand for?


They are the utility scripts to start an editor window in Acme. B is async whereas E is sync (so that it can be used for the EDITOR env variable for software like git).

Not sure what they stand for for sure. E is probably editor. B might be buffer?


"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.


Yep, identical result, though I'm male, 32+ and 52k+.

I do actually use a very small handful of the website versions of some of these (eg, I have been to Walmart's website, I subscribe to some tumblr RSS feeds, I (very occasionally) use Facebook, and I listen to stuff on soundcloud every now and again)..

I generally don't install an App unless there's a very compelling reason to. Most of the time, the App version is going to irritate me with notifications I don't care about, and ask for permissions ranging from questionable to obscene (some game needs access to view all contacts, photos and use my microphone? yeah... no thanks).


Well that's interesting - the only difference between you and I was YouTube, and I'm a married man over 32 making 52,000+. (I have YouTube because Google installed it by default on my phone but I disabled it so I didn't count - also, I'm a 23-year old male who makes a lot less than 52,000/year :D )


I got the same result but also have Yelp installed. I'm a facebook user but m.facebook.com is so much better than the native app.


It is a very sad state of affairs when it is faster to use a website than an app.

And better privacy.


YouTube and Google Maps are pretty bad signals for Android users since they come preinstalled on the majority of phones.


"Either you're a single, middle-aged dude... or you use your phone like one."

I guess the latter is true, for their definition of single, middle-aged dude.


I got that too. Lot of people seem to be saying that here.


Same. Only male. Correct result.

The only app i have is Facebook.


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?


Sure - I tried it out just now, it's fine.

Like any feature rich application, it takes a little time to learn the ins and outs, time saving features and such - but it's very usable for a site like hacker news, you can even navigate via the numbered links on the site.

http://brainstormsandraves.com/reference/lynx/lynxhelpforbeg...


I've tried HN on all the major text browsers in the past and they never seem to indent comments correctly. Without proper "spacial nesting" conversations are nearly impossible to follow.


I use links all the time for HN. It works extremely well.


I've tried with elinks and it works very well.


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

EDIT: It appears to be part of POSIX wc.


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.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: