Preferences

iamevn
Joined 647 karma

  1. 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!)
  2. 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.

  3. 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.
  4. See the `either` function further down

      either some-condition { print "was true" } { print "was false" }
  5. No? I don't think this is the trap you think it is.
  6. 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.
  7. 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.
  8. 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.
  9. 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)

  10. 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)!))
  11. 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.
  12. 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?
  13. 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.
  14. Why would people need to invest in a neighborhood? Houses are for living in.
  15. I think the parent meant Azure DevOps which is Microsoft's jira and was completely down for the duration of this outage.
  16. 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.

  17. looks like there's a digital version for sale on the same site as the physical version https://incube8games.com/collections/vendors?q=AgeOfGames
  18. 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
  19. 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.
  20. 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.

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

  22. 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...
  23. 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.
  24. 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.
  25. 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
  26. 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

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

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

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal