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

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 (referenced above) is really good, and excellent with websockets.

That said, I started playing around with the Marten framework and while it's really new, it's an amazingly good start. I absolutely love the way that models automatically create migrations. Using Sqlite as a default is good for probably 99% of uses cases, and absolutely good for learning the framework (Sqlite itself is amazingly powerful).

I've been wondering what new shiny toys I was going to play around with over vacation during the holidays, and I now have my answer :).


“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.”

― George Bernard Shaw, Man and Superman

I've always used this as an excuse for what might be considered being weird (at least that's what my family tells me).


As Hunter Thompson would say, when the going gets weird the weird turn pro.


There are lots of weird and unreasonable people in the world who are not tax cheats, rapists, or murderers. Many of them are wonderful people deserving of praise. McAfee is not.



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, and seems to be flying under everyone's radar.


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, and I can't say enough positive things about it.


Yeah my GPS watch syncs to several apps including Strava because my friends use it, but Smashrun is so much more interesting and valuable for understanding trends and patterns in my fitness. I had a premium Strava subscription for a while, but canceled it last year in favor of Smashrun.


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 with other commands as well (like \l).

Also, I like to split my terminal using tmux, and have a neovim editor in one pane, psql in the other. I just keep doing "\i file_name.sql" as I perfect the query.

I definitely agree wholeheartedly about pspg. They even have a FoxPro theme, which has a special place in my heart :).


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 with no ability to navigate columns. How are you doing it with mysql?


I'm also interested in an answer to this.


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 first), and has a way of doing full local directory backup that you could sync with github. The the editor is really nicely done (full github-flavor syntax highlighting too).

I'm using clients for Mac, Android and linux (manjaro) and all work well. There are also clients for the other major platforms.

One of the things I really like about it is I can do a screenshot on both Mac & linux, saving to the clipboard rather than a file, and paste it directly into an editor and inkdrop handles everything, including creating a file and corresponding markup. And that all syncs too.

[1] https://inkdrop.app/


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 benefit of this is that F5 is mapped to refresh for a lot of apps (Firefox, for one) so I can hit capslock to refresh a page.


F5 is the Midnight Commander copy key, would never work for me.


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 now without _too_ much effort.

I use this as one part of a multi-pronged approach, dusting around areas they would need to cross to get into the house. It's super-cheap and lasts a long time.

It does need to stay relatively dry, though. When I've needed to repair drywall on occasion, I dust a bunch in the opening figuring it will basically last forever and not get wet.

I also use a bait with boric acid placed in various random areas. I also use a product that slowly emits a vapor in closed areas that basically neuters any roaches that get near it (for places like under the sink). Finally I used Home Defense spray around the outside.

I treat the condo once every three months, and it takes about 30 minutes. I've seen maybe two cockroaches in the past few years, and both were belly-up.


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

Search: