HNHacker News
TopNewBestAskShowJobs

tomhallett

882 karma · joined January 14, 2011

Ruby and Javascript Developer.

Software Engineer at Incredible Health.

github.com/tommyh

submissionscomments
tomhallett··on We're moving on from Firebase
It seems like there are a few different terms being tossed around here, and it's hard to tell which one is being discussed.

* How is the data stored? "Columnar" (column oriented) vs "Row Oriented" vs Document

* How do you query the data? SQL vs json (elastic search/mongo)

With any discussions on performance, while it is true that any database which has ACID compliance will struggle at very large scale, if the solutions being discussed are firebase or superbase, it feels like that is an issue which is not relevant yet. If you are having scaling issues with superbase, I would look at a few different things (indexes, application caching, work_mem, replicas, etc) way before i look at a different database engine.

tomhallett··on Bonfire – working to build safer, more open federated tools and communities
Good question - I’m not saying that it’s bad if people voluntarily follow someone, what I’m saying is slightly different.

It is bad if a network, like Facebook, has a large user base where it is attractive/valueable/helpful to someone who can know gain a larger following simply by joining (and getting people to voluntarily follow them). The network itself has value and people are able to exploit that value.

Look at this example in comparison to the alternative - that political pundit launching their own network. They can say “hey, go join my social network which I just created!”. I firmly believe they should be entitled todo that and people should be able to voluntarily signup/follow them on that new network. But that is a much much harder task to build/operate/scale then simply joining yet another social network and tapping into the user base.

tomhallett··on Bonfire – working to build safer, more open federated tools and communities
I've been thinking about this problem space quite a bit, and I have 2 "stress-test" questions which I use to see how quickly it will devolve into facebook:

1) Can someone who is already famous, ex: some TV political pundit, join the network and quickly leverage the networks strengths to acquire a following. EVEN if that acquisition happens out-of-network. For example: let's say bonfire has 100 million users, it's a problem if someone famous can say "follow me on bonfire" and get 10 million followers in a week. While I understand this is a very high bar, any solutions to this problem (regardless of their implementation), will require people to know eachother personally in a non-scaleable way.

2) Can someone who is not famous, ex: a conspiracy theorist, gain a following by posting controversial/clickbait things. Ie there can be any algorithmic feedback loop of consumption (views/likes/follows) fueling viral growth.

IMHO, if the answer to either of those is yes, you are fighting a losing battle.

tomhallett··on Templating in HTML
In addition - “template” also conveys correct semantics to the other developers working on the codebase. If I see an html at the bottom with “display: none” it’s very possible that the intended usage is to leave it there and set “display: block”, ie a modal. “display: none” doesn’t convey “clone me”, but “template” does.
tomhallett··on Companies are paying huge sums to show their ads to bots
I made an ad fraud startup which ran into the exact same problem. With video ads, advertisers will pay 10x more to be in a “user initiated” video player (the user clicked or there was a reasonable expectation there’d be a video on that page - YouTube, camera icon on preceding link, etc).

But more often then not, those ads are running in an autoplay context (sticky video players in the bottom corner, large players in the footer, etc).

I built a mechanism which could tell the difference (viewport, fixed positioning, fingerprint elements on the page, provide a screenshot of the offended page with your ad on it, and various other signals).

We ran tests with advertisers, agencies, demand side platforms (dsps), server side platforms (ssps). We’d compare their existing fraud numbers (very low) with our reports (80% fraud).

Within each company, we’d have a champion saying “this is going to change everything. Quality supply, better performance metrics, etc etc”. Then we’d get introduced to a team whose compensation was driven by “percentage of spend” - every deal died at this stage.

My opinion: if your company is using online advertising tied to conversions (someone buying something, or potentially signing up for something) then you’ll be fine as long as it’s economical. But if your ads are for brand awareness, be extremely careful running on any website which isn’t in the top 10 sites on the internet.

tomhallett··on The Ethereum merge is done
While I can’t compare “manpower” energy, someone did the math comparing ethereum to ec2 - ethereum was 1 million times less efficient in processing power, network costs, and storage.

Those numbers were obviously from the POW network, so unknown how they will change post merge, but arguing that current systems waste energy too seems a bit biased.

tomhallett··on What's the big deal about embedded key-value databases?
100% agreed. TIL that mysql uses RocksDB under the hood.

Here's another example of a realtime database which uses RocksDB under the hood: https://rockset.com/blog/how-we-use-rocksdb-at-rockset/

tomhallett··on Ethereum Goerli testnet merge goes live before move to proof-of-stake
From my very limited understanding, with Bitcoin the separation of powers comes from the miners ability to reject an update. With ETH Proof of stake, that is less clear - can the people staking refuse to accept a new protocol version/update?
tomhallett··on Ethereum Goerli testnet merge goes live before move to proof-of-stake
Honest question - if you get deterministic finality in a day (#8), then how can you attack the chain with a "long-range" fork (#5). Doesn't #8 solve #5?
tomhallett··on $5.6B cloud company Fivetran acquired its way to survival
As a fivetran customer who did a bake-off last year between all the ELT vendors, there is absolutely “a product there”. The advisors’ comment assumes a lot of context which the article doesn’t 100% clear up.

Fivetran has been a home run for us.

tomhallett··on Retool raises $45M at a $3.2B valuation
I have nothing todo with Retool, but I'm curious about the problem you are trying to solve. What do you want to consume the mock api?

a) Is this for rapid prototypes? (web? mobile?) b) Do you have a microservice architecture and you want to mock out one of the services? (dev? ci?) c) something else?

Lets say the generator looks at your schema and generates an api, how much would you want to tweak/customize that api?

Is the mock api returning data based on what's in the database? If so, can the mock api mutate data in the database?

tomhallett··on Show HN: Copy React code from any site
I think this is very cool, but two thoughts:

1) Your explainer "Copy React code from any website" implies that I'm copying the react code from a website. What you are doing is copying the html/css of a website and then exporting it to an autogenerated react component(s).

2) It would be great if the demo video showed the React component generated. Is all of the html thrown into 1 component? Is the resulting html clean? Or is it cluttered with html attributes that aren't actually needed?

tomhallett··on Ask HN: Why do I struggle to follow corporate meetings?
Find someone from [communications department], and ask them after the meeting - hey, can I pick your brain? Tell them you don’t understand and ask them to teach you. When they use high level buzzwords, ask “can you login to that system and show me?”. From my experience, they will be excited to teach you about their field and super interesting things can come of it.
tomhallett··on Show HN: Avo – Build Ruby on Rails apps faster
When I was skimming your homepage I was thinking “I really wish this was built on Hotwire” and then I saw that it was. That architecture choice makes me think your bold claims might actually pan out, :).

The fact that the ways to customize/escape are “vanilla rails” and avo is deployed within my app as an engine, make this very very interesting.

As compared to:

* something like retool which is deployed (ie hosted) as an additional layer which calls an api my app exposes. Great for huge organizations, but overkill for a small team (similar to SPA vs Hotwire tradeoff)

* activeadmin where escaping the standard path is extremely hard. Not to mention it’s built on gems which are no longer in favor (inherited resources, etc)

* administrate which I really enjoyed, but felt like the support/roadmap was more of a side project vs an “open core/commercial offering”

tomhallett··on No, QuestDB is not Faster than ClickHouse
I was curious to hear more details about this statement - "while QuestDB utilizes its full indexing strategy to read just a tiny fraction of the actual data". Did QuestDB create indexes in their QuestDB benchmark but just not mention it? Are there geoindexes which are automatically enabled which do help (but are of less value in the general sense from Clickhouse' perspective)?
tomhallett··on I grew up gifted, but my life didn’t turn out the way I expected (2019)
This is the parenting approach we take with our kids. Focus on the inputs instead of the outputs.

Instead of “wow, you’re smart - you got an a”, say “wow, it looks like you worked really hard. I can tell you took your time and focused hard on the problem”.

With sports, where the focus is on results even at a very young age, we always say “I love watching you try”.

tomhallett··on Disputing the Dogmas of Surveillance Advertising (2021) [pdf]
When I worked for an advertising network (a little guy compared to the duopoly of Google/Facebook), we had a request from an advertising agency for: Women, 25-35, Latino, in the greater Los Angeles area, who have 2 children and are expecting their 3rd child. Creepy is an understatement.

The other part of the industry which was extremely upsetting was the amount of racism. Ad agencies will make blacklists of both domains and/or keywords where they don’t want any of their ads to run - regardless of campaign. There are many things on the list which are related to terroism/crime/etc, but there are some which are directly about race - keywords like “black”, “ebony”, “asian”. It is depressing to say the least.

tomhallett··on The math prodigy whose hack upended DeFi won’t return funds
This is why I struggle understanding the mainstream usecases for crypto. Will it forever be bound to the "only put in what you can afford to lose?" mindset?

Or are people banking on another layered solution which has arbitration, disputes, clawbacks, etc - all built within the blockchain. (I remember EOS discussing something like this)

Note: I understand that risk is present in any financial endeavor, but knowing that the courts can help you does de-risk the amount people will feel comfortable investing.

tomhallett··on Shopify invests in research for Ruby at scale
I wonder if there is a fear of talent drain if management starts signalling that there's a "better" language being brought in for the "critical" things.
tomhallett··on How did Tropicana lose $30M in a packaging redesign?
The new design doesn’t mention the pulp level and that’s one of the main things I’m thinking about when trying to pick out an OJ. So when you pair that with a redesign, it’s unclear to me what’s in the carton.
tomhallett··on I Accidentally Deleted 7TB of Videos Before Going to Production
This was going to be my exact recommendation. By “separating the concerns”, you make it easier on my pretty much every dimension: testing in unit tests, doing a dry run in production, ability to read the code (you and code reviews), and in some cases your code will be written in a more functional way reducing variable scoping issues.
tomhallett··on Tailscale raises $100M
I'm trying to connect Tailscale's product with their goal "The internal dashboard and CI system that will never need to be public-facing. The HR database that will always have far less than a thousand queries per second. The dozens or hundreds of devs that ssh or RDP into servers, not the millions of users being served."

Does this mean - instead of deploying a dashboard/ci to aws, I should host it "locally" on a single computer (macbook, raspberry pi) and then internal employees can access that site via Tailscale's network layer?

tomhallett··on Ask HN: Does anyone use a Raspberry Pi as your main computer?
I did this in college to write essays - a computer which was so old, it could only run a micro distro of linux, where the only "program" was a word processor.

This is making me nostalgic for the "Alphasmart" [1] word processor I had in 8th grade. Such a simple yet powerful device. My favorite part of how "simple" it was: when you wanted to transfer the text to your computer, you hit transfer and it "typed" the characters one at a time until everything was typed. It was fast enough and no programs to install.

[1]: https://www.etsy.com/listing/1068705694/alphasmart-3000-word...

tomhallett··on Ask HN: Is Ruby on Rails still relevant?
I 100% agree with your first part, but offer a slightly different conclusion - Ruby on Rails heavily skews to small startups (for various reasons not worth getting into here). Startups also tend towards Senior engineers, because they don't have the bandwidth to train junior engineers. So those recruiters are often looking for "Senior Rails" engineers which is even harder to find.

If the above is correct, it presents an interesting question to junior engineers: is it worth it to learn Ruby on Rails as a junior engineer? While there are advantages to learning Rails (it's heavily opinionated, what you learn maps very well to what professional projects look like), there is more job supply in the "python + LeetCode" path (how that relates to competition - who knows).

tomhallett··on Ask HN: Is Ruby on Rails still relevant?
if you like screencasts, "Go Rails" is an amazing resource (and they are very current): https://gorails.com/
tomhallett··on $34M permanently locked into AkuDreams contract forever due to bad code
But even if you look past the technicals, the example of the AP being a trusted source for who won the super bowl has issues. What if the AP announces team a won, but then 2 months later it comes out that team a cheated and the NFL retroactively changes the winner (similar to lance armstrong getting wins taken away, or in some years the tour determined there was no winner because there was so much doping.). Is the expectation that the AP will update their page which says who won?

While I will concede the example I give above is an extreme edge case, I would also argue that “who won the super bowl” is also an overly simple example.

tomhallett··on Farewell, Elementary
But all of the equity? I think the person leaving should walk away with some equity.
tomhallett··on Show HN: I Made a Stupid Game
figured that you got suspended, but it sounded like the url starting going to some other site vs just erroring out. right?
tomhallett··on Show HN: I Made a Stupid Game
When you get some time to breathe, I would love to hear a "retrospective" about how an account suspension turned into a redirect to a loans website. Did a bad actor notice your account was suspended, took over it somehow and then they sent traffic to their website? Is this standard protocol for your hosting provider (similar to those domain landing pages which link to all sorts of weird crap)?
tomhallett··on Developers spend most of their time figuring the system out
We use "mob programming" once a week for 30 minutes, in a way that you described - a "Sentry Smackdown". In zoom, we find 3 of the most "interesting" sentry errors, split up into 3 break out rooms, each group sees what they can find, then 5 minutes at the end to give our update and next steps.

I love it and it's helped get momentum on things which would typically just sit there. BUT, 30 minutes is definitely my maximum for something like this.... even if we did something minor like make this meeting 1 hour long - I would dread it.

Context: we do have an engineer on-call (on a weekly basis) and they will respond to urgent sentry errors, but the above helps sentry errors with less urgency get moving without being a total buzkill for the on-call engineer to look at ALL of them.

← PreviousPage 5 of 10Next →