Live data from Hacker News

Viewing profile — jasonl99

jasonl99

HN member
Joined
Wed, Dec 10, 2014, 7:53 PM UTC
HN karma
110
Public activity
34 items

About jasonl99

[ my public key: https://keybase.io/jasonl99; my proof: https://keybase.io/jasonl99/sigs/ywEkMgK-gBylvQgMx3uzXHyNxzFFyk4krDj_Jm8QqhY ]

Recent public activity

  1. comment
    Comment #33451073

    I've been playing around with crystal for years, and absolutely love it (I'm a full-time ruby dev using Sequel as an ORM). I wish I had more time to spend with crystal. Kemal (refe…

  2. comment
    Comment #27611133

    “The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.” ― G…

  3. comment
    Comment #27137641

    That's going to change this fall: https://algorand.foundation/the-algo/algo-governance

  4. comment
    Comment #27137523

    I agree, and I can't believe more people haven't mentioned it here. I am not going to rehash what anyone can read at the linked site, but it seems like an absolutely great project,…

  5. comment
    Comment #25119720

    I tried Strava, but it just wasn't detailed enough for me. I ended up finding smashrun.com. Granted it's only for running, but it's phenomenal. I've been a subscriber for years now…

  6. comment
    Comment #25119294

    One thing I've found useful when listing tables that you can't exactly remember the name, you can use wildcards. \dt cust* will list all tables that start with "cust". It works wit…

  7. comment
    Comment #24784299

    I can't figure out how to get it configured as a pager (in postgres). I've been using pspg set in my .psqlrc. I changed it to \setenv PAGER 'vd' and I just get a big chunk of text …

  8. comment
    Comment #21555914

    I started using (and subscribed to) Inkdrop[1] after recommendations here and have been very happy with it. Yes, it's $5 a month, but it automatically syncs (encrypted locally firs…

  9. comment
    Comment #20482462

    I actually started binding my CAPSLOCK key to F5, and I have F5 set as a tmux attention key, but I've never had too much problem with left pinky finger hitting escape.. A side bene…

  10. comment
    Comment #20402860

    Living in Florida, and being married to a wife who considers the presence of cockroaches a dealbreaker for living together, I've managed to keep a roach-free home for several years…

  11. story
  12. comment
    Comment #19695675

    It's actually towards the middle of the article I linked (in italics). Search for "So what ARE they worried about? I wrote a little story to show you"

  13. comment
    Comment #19694982

    Your comment totally reminds me of an article Tim Urban wrote in 2015 about the dangers of AI (Mr. Urban, if you are around these parts I absolutely love your writing!!). Within th…

  14. comment
    Comment #19533164

    That is a phenomenal article about timezones in general that apply to any database, as well as a great explanation of features specific to postgres. It is interesting that a timest…

  15. comment
    Comment #16573517

    There's a really cool way to do this that I learned about with ruby here https://gist.github.com/O-I/3e0654509dd8057b539a Here's a quick demo class that shows the technique. It's a…

  16. comment
    Comment #14709954

    >>The Nurture Option. A well-trained bulldog can be a much, much better dog than an untrained border collie. And one person can accomplish this training with a dog in a few years. …

  17. comment
    Comment #14236671

    I think you're right. I run basically the same route every time (varying distances a bit), through a county park that's literally down the same sidewalk where I live. I also listen…

  18. comment
    Comment #13757971

    I can't download purchased MP3's from amazon's own site, I get "We’re experiencing a problem with your music download. Please try downloading from Your Orders or contact us." When …

  19. comment
    Comment #13640350

    I'm going to answer my own question - I tracked it down to a bug in lattice-core that occurred when it couldn't parse incoming JSON, and for some reason it killed the socket server…

  20. comment
    Comment #13639401

    I'm trying to get this demo working on an extremely inexpensive plain VPS (running Debian 7), and I'm getting "WebSocket connection to... failed: Invalid frame header". Is that wha…

  21. comment
    Comment #13637976

    I answered this on a different thread, but I've specifically designed things for this scenario. The framework has a class named WebObject. Once instantiated, it stays persisted on …

  22. comment
    Comment #13634977

    Yes, you are completely right. It should have been titled "Realtime-first development with Websockets".

  23. comment
    Comment #13634948

    Short answer, I don't know. I don't know that they'll disappear, they are just so efficient. That said, lattice is completely event-driven. The #on_event and #emit_event methods ac…

  24. comment
    Comment #13634908

    Author here...Well, I started down the websockets path because of how awesome I found crystal to be. I wasn't intending to do this a few months ago, it just sort of took on a life …

  25. comment
    Comment #13634862

    I haven't explored that a lot, but my thought was that the amount of setup/teardown for polling goes away, so it's at least an order of magnitude (guessing) better. I have written …