Better HN
topnewbestaskshowjobs
Log inSign up

scottwick

165 karma · joined Oct 12, 2021 (5y ago) · 34 submissions

Submissions

comment 2y ago · link · parent

Lol, I'm at the point where anything > 4 days per week is a hard no.

2.

White-Collar Work Is Just Meetings Now(theatlantic.com ↗)

10 points · by scottwick · 2y ago · 1 comment

comment 2y ago · link · parent

What happens if the 2nd signal (after the 200ms delay) is never received? Would keeping the relay closed like that cause any issues?

I wonder if a more "robust" way to handle this would be a custom microcontroller on the receiving end that receives a single Zigbee signal and implements the 200ms delay internally.

comment 2y ago · link · parent

Yeah, that's definitely true. I find that I'll often be excited about an idea and immediately start putting in the time to build a rough prototype. Once I realize the true scale of the effort involved I second-guess my commitment to the idea - is this really something I want to spend the next year+ working on? I think having that clear vision and enough conviction that the results will be worthwhile is very important and definitely something I struggle with.

comment 2y ago · link · parent

Nice to see that they're just using EC2 + S3 instead of a whole suite of niche cloud offerings that we see these days. Maybe this is mentioned in the linked presentation (https://www.infoq.com/presentations/Pinterest/) but are they using managed databases? Or just running their own on EC2 instances as well?

Curious to watch https://www.infoq.com/presentations/Pinterest/ at some point.

comment 3y ago · link · parent

How did you bail without losing your deposit? I would have thought if you were the highest bidder you'd either be on the hook for the full purchase or lose your deposit.

comment 3y ago · link · parent

Do you see the deposit amount and all the details of the escalation from the triggering offer in that case?

Say I saw that the triggering offer had a measly deposit and I suspected it of being fake. Would I be on the hook to prove it? Technically if I rescind my offer at this point I lose my own deposit, right?

comment 3y ago · link · parent

> putting down $500 earnest money on a $300K house would look suspicious enough to get you ignored by the buyer

Assuming you mean the seller here? If I were the seller I too would ignore that kind of offer but first I'd let it push all the other escalation clauses up ;)

comment 3y ago · link · parent

Not really related to the article but something I've been wondering...

In recent years the housing market has been so competitive that escalation clauses are often written into offers. They typically include a base offer of $X and then an agreement to escalate that value by increments (maybe $1-5k at a time) up to some cap. All the offers are collected by a certain date and then an auction is run behind the scenes by the realtors involved.

What's to stop a seller from having one of their friends enter into one of these escalations? Submit a non-serious offer with a high escalation and include a minimal deposit which would be forfeited if that fake offer happens to win but otherwise hope it comes in 2nd to push everyone else's escalation up.

comment 3y ago · link · parent

Yeah, this is exactly what I do as well. I'd be curious to hear more about your deployment process, specifically how you get your Docker image onto the VPS. Do you just push to a registry like DockerHub and then pull it down on the VPS?

comment 3y ago · link · parent

Does this use the battery? Not clear to me if the Kindle program is running continuously or if it just periodically starts up, refreshes the screen and then powers back down.

comment 3y ago · link · parent

Is there something about the actual profiler that differs from existing tools like pyinstrument [1] or py-spy [2]? I know pyinstrument has various output options and I wonder if it could potentially output something readable by the Firefox Profiler tool.

[1] : https://github.com/joerick/pyinstrument [2] : https://github.com/benfred/py-spy

comment 3y ago · link · parent

Me too! I've seen PaulHoule mention it a few times and it sounds really interesting.

comment 3y ago · link · parent

Any book in particular?

comment 3y ago · link · parent

I've never used Elm or interacted with the community but reading some of those posts remind me that the B in BDFL is quite important.

comment 3y ago · link · parent

> but humanity has closed the doors to the kinds of futures I was working toward

Curious to hear more about what you mean by this.

comment 3y ago · link · parent

I feel the same way. I've been doing web-related stuff for about 13 years now and have lost much of my interest. Started dabbling with electronics and embedded systems about 5 years ago and it completely re-piqued my interest in writing software. I'm still doing backendy web things for money but would love to move away from that. Any recommendations for moving into the embedded field professionally? What sort of companies are you working for?

comment 3y ago · link · parent

I've been using DBeaver (https://dbeaver.io/) and I think it's pretty good

comment 3y ago · link · parent

I totally agree, they're really great for simple hobby projects! I've mostly used the ATTiny85 and it's easy to understand the datasheet, easy to program, battery efficient and comes in a DIP-8 form factor for easy breadboarding. Compared with something like an STM32 I find it quite fun to work with!

comment 4y ago · link · parent

Fantastic write up - thank you! I also love hearing about why each part was chosen. As an electronics hobbyist I often mimic portions of others' designs but I'm not always entirely sure why a certain part was chosen among the various options.

Do you prototype all this on a breadboard before making the PCB and picking specific parts? I'd be curious to hear more about your process. I feel like I always need to test everything I build on a breadboard first since I inevitably miss some small detail if I go straight to schematic + PCB design.

21.

Creating a pick and place control board with the RP2040(blog.thea.codes ↗)

185 points · by scottwick · 4y ago · 23 comments

comment 4y ago · link · parent

Does anyone have any recommendations of books or other resources that go over the theory behind full-text search? i.e. language processing, data encoding, on-disk storage and retrieval, etc.

23.

Rust is eating into our systems, and it's a good thing(theregister.com ↗)

2 points · by scottwick · 4y ago · discuss

comment 4y ago · link · parent

Could you point me to some documentation about this? Is this something that's built in to Apollo? Or just that Apollo enables building this sort of architecture more easily?

comment 4y ago · link · parent

A frontend application that I work on has each component making separate tiny GraphQL queries to render just what it needs. The result is often 5-10+ GraphQL requests to render a single page. Is this a common practice?

It seems like a lot of overhead to me since the backend has to perform some redundant queries (i.e. fetch and authorize the user, etc.) in order to serve each of those requests. I had thought one of the main selling points of GraphQL was that the frontend could make a single API request and have everything it needs to render the entire page. Any thoughts?

comment 4y ago · link · parent

GraphQL is nice from a consumer's perspective but results in a lot of extra complexity on the backend IMO. It sounds nice in theory for the frontend to just request whatever it needs but there are often performance considerations that make this easier said than done. You end up either tailoring the database queries for particular GraphQL queries (i.e. eager loading certain things you know will be fetched) or implementing some sort of more generic dataloader pattern. The fields and data types become more explicit through the schema but there are still implicit access patterns in play. Definitely a tradeoff vs. a REST API where each endpoint can be highly optimized since you know exactly what's being returned.

comment 4y ago · link · parent

Wow, I had no idea HN was built like that - I'm impressed. I really wish I could read the Arc code better though since I'd love to know more about the details of how data is represented on disk and when things move in and out of memory, etc.

Does anyone know of other open source applications with similar architectures like this?

comment 4y ago · link · parent

Is there a recording of your talk available? I'd be very curious to watch.

comment 4y ago · link · parent

I've been using beancount [1] and beancount-import [2] for a while now and I'm liking it quite a bit. Every month I download CSVs of transaction data from my various accounts (checking, savings, credit card, etc.) and run beancount-import to categorize and reconcile transactions (I've written a few custom importers for this) into the ledger. I can then use bean-query (part of beancount) to perform SQL queries over the ledger data (i.e. expenses in the past month grouped by category). I feel like I'm just scratching the surface so far of what's possible with these tools but it has definitely helped me be more organized with my personal finances.

[1] https://github.com/beancount/beancount/

[2] https://github.com/jbms/beancount-import

comment 4y ago · link · parent

I'm very much the same way. For a lot of lower-effort SaaS offerings I look at them and think: "I can't believe people pay for this when I can replicate the parts I need with a few Python scripts or a simple Rails app". The things I am willing to pay for are often much more ambitious businesses and would likely require far more effort than I'm willing to devote (i.e. things like Digital Ocean or Fastmail).
12