News for hackers. Stuff that matters.

liamgriffiths

Re:Returning to Rails in 2026 on Friday March 13, 2026 @12:54AM (#47360820)
To all the folks in here that bemoan the lack of static types, I'd like to mention there are some great solutions in this space, eg. https://sorbet.org/

Having the productivity of Ruby + the static typing and LSP integrations is a wonderful combination. Sure, it might be less aesthetic than some might like, but at least in my experience, it works very well in practice and supports most of the needs I have from a type system for writing and understanding conventional software.

I'm rooting for further developments in this space because I love language and systems that can leverage it's strengths and layering on a type system makes it a very formidable technology for building real world products.

I have not used Rails in a few years, but I can also say that the Sorbet typing support for the framework is definitely there too -- to great credit to the folks at Shopify allowing users of the framework to benefit from this tooling.

I would happily work on a Rails system today too. It's an amazing testament to the community how the design has been able to continue to develop to meet the needs of the many developers building with it up to this point. I hope more people feel the same joy I do discovering the kinds of things they can make with the language and frameworks like Rails.

With the amazing advancements with the AI tools we have now the only real limits are with how big our imaginations and ambitions can get.

Claude is the best of these models/services out there in my experience so far, so no surprise there. It's a company with leadership that hold principals they stand up for -- huge disappointment to see the government going out of it's way to hurt it. So bizarre, and deeply anti-American.

Too bad government devs will have a much harder time using some of the best tools out there.

I used to use all kinds of color schemes like the author points out, and I agree that over time I found it to be /harder/ to understand what was going on that it being helpful.

I've also used mostly a light theme (that's pretty stripped down too) for the last ~7 years, https://github.com/liamgriffiths/vim-colors-plain - it's a fork of another color scheme that I've adapted a little for the languages I work with more often. It uses bold for keywords, muted/italics for comments, and a color for constants (strings, numbers, "symbols"). It's super simple to maintain. Shout out to the original author (thank you!)

I quite like not having so much noise and it helps me focus on reading and understanding the code instead of getting distracted or mislead by the colors.

The bold is helpful to get the "outline" of structure and easily see the reserved words and it helps to not accidentally use one as a function or variable name. The colored constants are nice to stand out a little more from regular code and track them down. And at least for me the code I work in has so few comments that it's just very obvious when they appear.

Since I tend to work in relatively brightly lit environments using a light theme is just easier for me to read and switching back and forth between websites and other things it's not so jarring since most interfaces are light-themed as well.

Reading through this article made me think a little bit more though about whether there might be some new improvements I could make that would help. I hadn't given my color-scheming much new thought in a long time. I liked the idea of giving some background color to text colored on a background where the contrast would impair legibility. Given so many of us here spend an incredible amount of time reading text on a screen I think it's worth making it something a bit more enjoyable whether that's the typography or colors - it makes a difference!

Show HN: Easy example of building a chatbot using NextJS and Substrate.run

https://github.com/SubstrateLabs/chatbot-demo

We've been building Substrate for a while now and are sharing out some examples of how we're using it. This is a little chatbot that can be used as a starting place for one of your own. We're hosting dozens of models that can be easily used to allow a chatbot to be tailored toward more specific use cases too!

( Read More... | no comments | 2 points | on HN )
Re:Show HN: Streaming Illustrated Primer in 150 LOC on Wednesday July 10, 2024 @12:29PM (#40928645)
Cool demo and val.town is a pretty neat place to share it
Re:Substrate: Multi-step AI programs that run fast on Thursday June 20, 2024 @02:49PM (#40741898)
Congrats to the team for the big release! Looking forward to seeing more cool things built with this
Same here... it's returning video results, but nothing else.
Re:What are you supposed to do with old clothes? on Wednesday August 10, 2022 @07:40PM (#32419847)
One option is to sell them on a marketplace like https://www.grailed.com or even just buy your clothes there in the first place to reduce buying brand new. Its cheaper and honestly you might become a bit more stylish in the process.

For garments you can't sell like underwear you could also look into recycling them through places like https://knickey.com/pages/recycle

Coming of age in the Milky Way by Timothy Ferris

I loved this one because it covers a lot of ground and includes a lot of fascinating detail around the human factors and personalities involved.

Re:Ask HN: What are some good strategy games? on Thursday April 15, 2021 @12:46PM (#26822905)
Power Grid is pretty fun and is a board game if you're looking to change it up - https://boardgamegeek.com/boardgame/2651/power-grid
Re:Ask HN: Who is hiring? (May 2018) on Wednesday May 02, 2018 @10:46AM (#16977343)
Grailed & Heroine | NYC | Full-Time | Onsite | https://www.grailed.com and https://www.heroine.com We're a startup building community-based marketplaces in the fashion space and looking for smart engineers, marketers, and product people.

Hit us up at [email protected] if you have any questions!

Re:Ask HN: Who is hiring? (April 2018) on Monday April 02, 2018 @07:48PM (#16740541)
Grailed & Heroine | NYC | Full-Time | Onsite | https://www.grailed.com and https://www.heroine.com

We're a startup building community-based marketplaces in the fashion space and looking for smart engineers, marketers, and product people.

Hit us up at [email protected] if you have any questions!

Re:Ask HN: Who is hiring? (May 2017) on Tuesday May 02, 2017 @07:19AM (#14245470)
Grailed | Engineering and Design positions | NYC | https://www.grailed.com

Grailed is a small team that has a vision to build a company that creates second hard marketplaces for enthusiasts of luxury products. We've had a lot of traction building out grailed.com - a menswear focused site and are currently building a similar site for womenswear. We have quite a few more ideas for marketplaces after that. We like to work on things we ourselves have a deep interest in and care a lot about building things we're proud of. Currently we're looking to expand our current engineering team of 8 people with either generalists or specialists. Our product and design team of 2 - is also looking out for experienced designers.

Hit us up at [email protected] if you have any questions or have an interest in applying.

Re:Ask HN: Who is hiring? (April 2017) on Monday April 03, 2017 @07:57PM (#14028354)
Grailed | Engineering and Design positions | New York, NY | https://www.grailed.com

Grailed is a small team that has a vision to build a company that creates second hard marketplaces for enthusiasts of luxury products. We've had a lot of traction building out grailed.com - a menswear focused site and are currently building a similar site for womenswear. We have quite a few more ideas for marketplaces after that.

We like to work on things we ourselves have a deep interest in and care a lot about building things we're proud of. Currently we're looking to expand our current engineering team of 8 people with either generalists or specialists. Our product and design team of 2 - is also looking out for experienced designers.

Hit us up at [email protected] if you have any questions or have an interest in applying.

Re:Ask HN: Who is hiring? (March 2017) on Wednesday March 01, 2017 @06:26PM (#13769679)
Grailed | Software Engineer | NYC https://www.grailed.com

:)

I would second this - I participated when I took some time off after a number of years of working. My goal was similar to yours too. The environment and community is wonderful for learning and gaining new perspectives. I loved it.
Re:A Warning for Airbnb Hosts on Friday November 30, 2012 @06:02PM (#4855956)
Isn't renting a room for a few nights different than the guarantee of housing for months at a time? If not then why wouldn't the same landlord just do away with conventional leases and only rent on airbnb? They write the lease after all... but after all I'm just quibbling and maybe I'm wrong there.
Not sure if it is related, but I noticed my "Political Views" entry was also removed quite recently. Was previously "other". Anyone notice similar changes to user info?
Re:Old People Icons That Don't Make Sense Anymore on Wednesday May 09, 2012 @06:39PM (#3950851)
This gave me something to think about.

When icons fail to be understood, they can fail hard. I spent a lot of time frustrated with the new gmail design until I changed the icons to text.

Re:Ctrl-P for Vim: Pure Vimscript Command-T on Monday April 30, 2012 @12:48PM (#3910030)
Love this plugin, makes vimming so much nicer and is my favorite file/buffer manager. I like you you can optionally keep the cache so when you reopen there isn't that delay for checking the directory tree too. let g:ctrlp_clear_cache_on_exit=0

Thanks to kien for making it!

Re:$15MM startup fund launched in West Michigan on Thursday April 26, 2012 @02:59PM (#3895576)
i don't think that distance is the right word there, more like differentiate. michigan is a big diverse state. i think it is more so geographic shorthand
This is not totally surprising - Chrome add-ons are quite impotent compared to what is possible for add-ons Firefox. People use more Firefox add-ons because they can actually extend the browser in meaningful ways. I still use chromium though because it is most useful to me for speed.
Depends on the task so I'm not sure how useful the responses to a poll like this would be. I tend turn to these: PHP - codeigniter, Drupal Perl - usually a custom framework Python - Flask, Pylons