HNHacker News
TopNewBestAskShowJobs

joevandyk

1,344 karma · joined March 12, 2009

Crowd Cow CTO
submissionscomments
joevandyk··on Event Modeling
You would add commands for ExtendBooking and CancelBooking and ChangeRoomType, I think?
joevandyk··on ORMs Are Backwards
I’ve found that you want to be super careful in application code about where you do updates and inserts when using AR.

Sprinkling calls to order.save! or order.update(foo: bar) in random places is a recipe for disaster.

joevandyk··on Run Commands, the 'rc' in '.bashrc'
That’s why I buy a new mouse after every 10 clicks. It’s pretty rare for them to fail on the 11th click.
joevandyk··on Payroll startup Gusto raises $200M
Gusto uses a Rails monolith.

https://engineering.gusto.com describes some of their experiences with it.

joevandyk··on Twitter was down
Doing large queries on a Postgres standby had the potential to mess up the master, depending on configuration settings.
joevandyk··on New Raspberry Pi 4 Firmware Lowers Temperature by 3-5°C
Because you acclimate over time to a certain temperature and humidities.
joevandyk··on On logic in a Rails app, revisited 6 years later
It’s a set of libraries that work great together, it’s pretty easy to learn, and lots of people know Rails.
joevandyk··on Now dev – Serverless on localhost
Easier:

Save a file, see the result instantly.

In a browser, terminal, etc. Using live reload, auto test, Rails class reloading, and so on.

joevandyk··on Joe the office mate
Most common error in my and teammates code (Ruby, JS) while actively working on it is code being edited is not consistent with the other code in the system.

Thinking I’m dealing with an Object A when I have object B.

Not realizing that nil is a valid thing to be returned from code that at first glance shouldn’t return nil.

Plus, accidentally writing super slow n+1 queries. And accidentally loading too much data.

joevandyk··on Why Vi Rocks
I search for /def.*partial_name/ frequently when I can’t quite remember what a method is called in Ruby.
joevandyk··on Why Vi Rocks
Using it 3/2 is probably enough...
joevandyk··on Dieter Rams designed products to last, is horrified how we throw things away
What car do you recommend?
joevandyk··on My Dumbest Backpacking Mistakes (2018) [video]
Any recommendations for how to start backpacking? Books, stores, guides, etc.
joevandyk··on Most Wasabi Is Fake [video]
If anyone’s curious about the difference between Wagyu and Kobe, my company has this article on the subject midway down the page: https://www.crowdcow.com/article/akemika2t/japanese-a5-wagyu...
joevandyk··on What causes Ruby memory bloat?
Not sure that comparing base memory usage on tiny programs that aren’t including any commonly used libraries is that useful.
joevandyk··on You Don’t Need All That Complex/Expensive/Distracting Infrastructure
10 of the large instances costs $5000 a month. Not insignificant. Smaller ones in my experience don’t run larger Rails apps very well.
joevandyk··on Buefy: UI Components for Vue.js Based on Bulma
We’ve been happy using buefy for our projects at Crowd Cow as well.
joevandyk··on Buefy: UI Components for Vue.js Based on Bulma
This integrates bulma css components into vue’s JavaScript framework, so you don’t need to write the html/JavaScript code that displays, say, a dialog prompt, you can just write `Dialog.alert(“hey”)`
joevandyk··on Serializability vs. Strict Serializability: The Dirty Secret of Isolation Levels
What about mysql?
joevandyk··on Monorepos: Please don’t
Sending an email can have a few different responsibilities:

Who is the email being sent to?

What is the content of the email?

What data does the email content and recipient depend on?

What are you tracking on the email?

How is the email visually formatted?

All those things might be in different apps as the logic gets more complicated.

joevandyk··on Show HN: Pg-extend-rs – Easy Postgres extensions in Rust
I thought uuid-ossp was just a bunch of utilities around uuid parsing and generation. It shouldn’t need anything special from the OS.

https://www.postgresql.org/docs/9.4/uuid-ossp.html

joevandyk··on On Overcoming Pain
I just had surgery on my l4 and l5 herniated discs after a year of impinged nerves. Highly recommend seeing if surgery is right for you, it was life changing for me.
joevandyk··on US homeless fundraiser: GoFundMe campaign 'based on a lie'
Theft by deception. https://definitions.uslegal.com/t/theft-by-deception/
joevandyk··on Uber posts $1B loss
It’s difficult to show how much profit you had in Q2 2018, let’s say. Hence the fiction qualifier.
joevandyk··on The budget breakdown of a 34-year-old who makes $150,000 in NYC
Total taxes are likely to be about $3500 a month or so.
joevandyk··on Two years of Elixir at The Outline
He's referring to Go being more work to setup realtime web things, as opposed to Phoenix.
joevandyk··on Two years of Elixir at The Outline
Does anyone miss or want type checking when working with Elixir? After working with Ruby to build large systems for so long, I'm missing a little bit of the safety that types provide. Typescript has been great.
joevandyk··on Time to End Factory Farming?
Crowd Cow employee here. Animal welfare is incredibly important to us, and is the reason why many of us work here. We will look into ways of improving our messaging.
joevandyk··on Stop cherry-picking, start merging, Part 1: The merge conflict
Branch off the release branch for fixes to it. Then merge back into release and develop branch.
joevandyk··on Do You Really Know CORS?
Server is supposed to check authentication/authorization through some method.

If HTTP, that’s done via setting some information in the request headers, be it a cookie, or basic auth, or token auth, or similar.

CORS is done by the browser - to not allow certain requests to be made (In case you are accidentally executing malicious javascript code). The server tells the browser via the CORS headers which requests are ok to make.

← PreviousPage 2 of 22Next →