HNHacker News
TopNewBestAskShowJobs

iamevn

647 karma · joined January 23, 2021

submissionscomments
iamevn··on “Stop Designing Languages. Write Libraries Instead” (2016)
I can't speak to any sort of scalability but I can definitely say that not everything needs to be built for millions of users. There's plenty of utility in tools you use to help even a single person (even yourself!)
iamevn··on Pebble, Rebble, and a path forward
Pebble smart watches are tethered (to an android/ios device via bluetooth), do not talk to a cellular network, and have had an especially good battery life because of that and their low-power displays which are always on and visible with external light, only turning on the backlight when you are using it (e.g. hitting buttons or after giving the watch a little shake). afaik, every Pebble watch has had a significantly longer battery life than all of Apple's watches even though they're always displaying.

The newer Pebbles do have a better battery life, lasting multiple weeks maybe thanks of better battery tech.

iamevn··on End of Japanese community
Please reread what you wrote and try to see if you can see how it comes off as at least culturally insensitive if not outright racist.
iamevn··on When if is just a function
See the `either` function further down

  either some-condition { print "was true" } { print "was false" }
iamevn··on Navy SEALs reportedly killed North Korean fishermen to hide a failed mission
No? I don't think this is the trap you think it is.
iamevn··on Why tail-recursive functions are loops
I'm in the same boat, recursion tends to be easier for me to reason about because I'm expressing the problem in terms of some base case that incoming parameters are being reduced to rather than some condition that an iterative approach is working towards.
iamevn··on I want an iPhone Mini-sized Android phone (2022)
I'm very happy with my Unihertz Jelly Max aside from the camera being not great. I think it's the smallest it can reasonably be (62.7mm wide) while still having its touchscreen keyboard be usable and because it's fairly thick it actually feels good to hold in my hands and I don't need to stick one of those silly pop sockets on the back.
iamevn··on Uncommon Uses of Python in Commonly Used Libraries (2022)
Seems fairly standard stuff for libraries to consider. I was really hoping for some weird stuff like patching bytecode or implementing entire different languages as a python library.
iamevn··on Silly job interview questions in Haskell
can you not narrow it down further to O(k * nCr(n, k)) (n=size of input, k=combination size) since it does k conses for each of the nCr(n, k) combinations?

(the final filter sums k elements nCr(n, k) times as well)

iamevn··on Silly job interview questions in Haskell
with N as the length of the subsets and X as the length of input, `combinations n xs` basically walks through list xs and at each element, conses that element onto each combination of size n-1 of later elements in the list then appends those resulting lists together. this is on the order of N * nCr(X, N) aka O(NX!/(N!(X-N)!)) which dominates the overall runtime. the final filter walks through each combination and does O(N) work at each element to find the ones that sum to the desired amount, again O(NX!/(N!(X-N)!))
iamevn··on Parser Combinators Beat Regexes
I don't follow why parser combinators would be a bad tool for CSV. It seems like one would specify a CSV parser as (pardon the pseudocode):

  separator = ','
  quote = '"'
  quoted_quote = '""'
  newline = '\n'
  plain_field = sequence(char_except(either(separator, quote, newline)))
  quoted_field = quote + sequence(either(char_except(quote), quoted_quote)) + quote 
  field = either(quoted_field, plain_field)
  row = sequence_with_separator(field, separator)
  csv = sequence_with_separator(row, newline)
Seems fairly natural to me, although I'll readily admit I haven't had to write a CSV parser before so I'm surely glossing over some detail.
iamevn··on Nine – seemingly impossible C64 demo
This is probably a really basic question but why does the wizard need to stop being drawn with characters when the sprites move out past the left/right borders? Is this a hardware restriction where those lines aren't able to have text on them when there are sprites on the edges?
iamevn··on GenChess
This is super frustrating to use. There's a character limit of 30 but it seems like whenever it tries to put a line break in the input it just deletes what I was typing.
iamevn··on Albertsons kills rural grocers with land use restrictions
Why would people need to invest in a neighborhood? Houses are for living in.
iamevn··on Azure Central US region is currently down
I think the parent meant Azure DevOps which is Microsoft's jira and was completely down for the duration of this outage.
iamevn··on How to implement a hash table in C (2021)
if (size + size < size) {

I know size_t wraps around on overflow so this would actually work, but this still makes me do a double take.

iamevn··on Kien, the most-delayed video game in history, released after 22 years
looks like there's a digital version for sale on the same site as the physical version https://incube8games.com/collections/vendors?q=AgeOfGames
iamevn··on Wordle in legal row with geography spinoff, Worldle
I don't think it's at all reasonable to say that https://worldledaily.com/ is typosquatting https://www.nytimes.com/games/wordle/index.html
iamevn··on Tail Recursion Elimination (2009)
I feel like this part has little to do with TCO and TFA is overly focused on the recusion part of things. Even in the case of that example, there's still a function that directly returns the result of another function call. That's a tail call and can be optimized the same way it could if it were recusion optimized to reuse the current stack frame.
iamevn··on Therapists report significant psychological risks in psilocybin-assisted treat
Not to downplay the other points but the first long term effect sounds to me like the whole point of psychedelics as a therapeutic tool.

> Firstly, destabilization was a significant concern, with clients sometimes experiencing ongoing cognitive and emotional instability after the treatment sessions. This included a prolonged sense of confusion, changes in personal identity, and altered life perspectives, which could disrupt daily functioning and overall well-being.

I thought people use psychedelic to try to gain new perspective and to jump their thought processes to a different track than is normal for them.

iamevn··on LCD displays still don't match the responsiveness of clunky CRT screens (2019)
I don't think this is as simple as that (and it's not entirely the display's fault). 120hz iidx is a big upgrade over the previous lcds but I'm not sure it is over the games that ran on custom hardware that wasn't just a Windows PC.

I've got a firebeat at home that I play Pop'n on and it feels magical to play with absolutely minimal difference between when the audio and visuals are to where they game expects you to hit notes. Same cabinet but with a windows PC plugged in for modern games feels worse thanks to all the extra latency you get going through Windows (it's especially bad with the audio).

I know modern iidx and sdvx use newer audio apis that are lower latency but it's still more delay than the pre-PC systems imo.

iamevn··on New York Times is targeting Wordle clones with DMCA takedowns
I wonder how feasible it would be to get a keyboard hooked up to a Gameboy through the serial port. It looks like it should be possible from a cursory reading of https://gbdev.io/pandocs/Serial_Data_Transfer_(Link_Cable).h...
iamevn··on Ask HN: How do you use userscripts?
I wrote a couple userscripts for myself at work that put the information I usually care about from job logs on gitlab right at the top of the page.
iamevn··on Why is Common Lisp not the most popular programming language?
Personally I'm not especially interested in programming in a language with a separate function namespace. It makes much more sense to me to treat functions more like any other value in the language.
iamevn··on Alaska Airlines flight 1282 NTSB preliminary report [pdf]
Here's one in 2017 that was recorded over because they didn't report until after another flight https://en.m.wikipedia.org/wiki/Air_Canada_Flight_759
iamevn··on Show HN: Boardzilla, a framework for making web-based board games
Really cool looking! Excited to mess around with this.

Happy to see the everyPlayer[1] flow command to allow for simultaneous actions. This is something that's missing from the other boardgame frameworks I've tried.

[1]: https://docs.boardzilla.io/game/flow#everyplayer

iamevn··on Google lays off hundreds working on its voice-activated assistant
> But you're locked out of everything except Grow.

A friend who's role has been cut says they were locked out of everything except Grow, Meet, and email and has 60 days to find a new role. Can't even get in the building to access the food onsite.

iamevn··on NetSurf Web Browser
It's really interesting to run a web browser in a framebuffer without any sort of display manager running [1].

[1]: https://ci.netsurf-browser.org/jenkins/job/docs-netsurf/doxy...

iamevn··on The Case for Clipboard Managers
I've gotten a lot of use out of the clipboard hiatory on Android and on windows 10/11. I just wish I had more control over them. Android especially doesn't give you an option to disable or lengthen the hour timer that clears things from your clipboard history which is really annoying when I copy something for later and need to go find it again after an hour when it's been removed for me.
iamevn··on Magic: The Gathering Is Turing Complete (2019)
The odds of getting the combo off are extremely low so probably not.
Page 1 of 10Next →