HNHacker News
TopNewBestAskShowJobs

Xavdidtheshadow

638 karma · joined July 16, 2012

Senior Software Developer at Zapier
submissionscomments
Xavdidtheshadow··on New York City bans natural gas in new buildings
> it requires some adjustments, but really not much

can you be more specific here? What sort of things would other readers interested in electrifying a house not be considering?

Xavdidtheshadow··on Harvard won’t require SAT or ACT through 2026 as test-optional push grows
> Anyone can practice and improve their score

Sure, as long as they have the free time to devote to that (which they may not, if they have to work through high school). Alternatively, they can hire an (expensive) tutor, which can help.

If scores are an important factor for admission, then that selects for people who:

  * are good at standardized testing
  * or, have the extra time and/or money to improve their score
The latter has strong correlation with socioeconomic status (and by extension, race). If their goal is to broaden the range of students attending, then eliminating the test as a factor helps.

There are, of course, many other things at play here; but it's a start!

Xavdidtheshadow··on NeXTSpirit: high-res NeXTSTEP Icons for macOS
Ah, these are "high-res" icons; this isn't a link about anyone being hired.
Xavdidtheshadow··on Advent of Code 2021
AoC is one of my favorite events of the year. I find the puzzles to be much more approachable than things like Project Euler. I regularly credit my yearly participation for making me a better programmer.

I also do a daily writeup of my solution, which helps make sure I understand the problem and help others who are learning. I found it super rewarding last year, so I'm doing it again this year. They're in my GH repo. Here's today's: https://github.com/xavdid/advent-of-code/tree/main/solutions...

My big tip is that you probably don't need to worry about competing for the leaderboard (unless you really want to). Go at your own pace, don't stay up weird hours, and take a break.

Xavdidtheshadow··on Apple announces Self Service Repair
His initial response is up: https://www.youtube.com/watch?v=2jCtVDCiY_8
Xavdidtheshadow··on Thank you, GitHub
That seems to have changed since you posted it - I see no starred gists.
Xavdidtheshadow··on NYT journalist hacked with Pegasus after reporting on previous hacking attempts
That's a good point! They're honestly some of Apple's biggest critics. I feel like I've learned a lot about product design based on their ongoing feedback.
Xavdidtheshadow··on NYT journalist hacked with Pegasus after reporting on previous hacking attempts
Very different show, but I enjoy the Accidental Tech Podcast (aka "ATP").

It's a weekly news show that focuses on tech (mainly Apple). They do a good job with technical details and talking through tech product decisions (why did Apple/Google/FB do X? What are its merits?). People have sort of polarized opinions about each of the 3 hosts, but IMO they each have their moments.

Xavdidtheshadow··on NYT journalist hacked with Pegasus after reporting on previous hacking attempts
Great rec! This is one of my favorite technical podcasts. The host does a great job getting into the technical details of the subjects while still appealing to non-techincal listeners. It's really impressive.
Xavdidtheshadow··on Typography of 2001: A Space Odyssey (2014)
see also: https://www.youtube.com/watch?v=jVhlJNJopOQ
Xavdidtheshadow··on Tricks I wish I knew when I learned TypeScript
One of my favorites is Josh Goldberg's implementation of Tic-Tac-Toe in the type system:

https://blog.joshuakgoldberg.com/type-system-game-engines/

Xavdidtheshadow··on Understanding Python through its builtins
I really like ruby's method naming convention for this:

* `sort(arr)` returns a sorted copy of the input * `sort!(arr)` returns the sorted original

methods that return booleans end in `?`, like `arr.sorted?`

It's just a convention, but it's a nice way to let the writer know what will happen.

Xavdidtheshadow··on Python 3.11
pi-thon
Xavdidtheshadow··on CIA Implant: Green Lambert for OS X
Is there a rule to block modals like this? I can add site-specific things, but I can't seem to find anything that blocks all overlays.
Xavdidtheshadow··on RIP Jekyll (The Genesis of the Jamstack)
Next.js is cool, but afaik takes a server, right? Gatsby is nice because you get React for component re-use + styling, but it builds into regular HTML+JS files and can live on (abundant, free) static site hosts.
Xavdidtheshadow··on Kape Technologies buys ExpressVPN for $936M
A good VPN won't _have_ logs, so they _can't_ comply with legal requests (instead of won't)
Xavdidtheshadow··on Travis CI Leaked Secure Environment Variables
If anyone needs a Python script to help identify which TravisCI projects (could have been) affected, we put one together: https://gist.github.com/xavdid/f8d89a98d4f791c7b347d73652a47...
Xavdidtheshadow··on Secure env vars of all public travisci repositories were injected into PR builds
If anyone needs a Python script to help identify which TravisCI projects (could have been) affected, we put one together: https://gist.github.com/xavdid/f8d89a98d4f791c7b347d73652a47...
Xavdidtheshadow··on RIP Jekyll (The Genesis of the Jamstack)
My work has moved largely from Ruby to JS, so I've been enjoying Gatsby! It's probably overkill for simple sites, but I like how customizable it is.
Xavdidtheshadow··on Rejected internal job applicants are twice as likely to quit
> Working at a fortune 100 top 10 company

Isn't that the Fortune 10?

Xavdidtheshadow··on SQLModel – SQL Databases in FastAPI
There you go! Not secret at all. Thanks for linking that!
Xavdidtheshadow··on SQLModel – SQL Databases in FastAPI
> maybe pylance is special casing something?

Anecdata, but when I was digging into how Dataclasses worked, Pylance had great completion, but only if I imported from the dataclass module itself. If I pasted the whole implementation into a local file and used that, I didn't get the hints.

This makes me think that Pylance _does_ have some secret sauce.

Xavdidtheshadow··on How Discord Stores Billions of Messages (2017)
I think which fits your community is really dependent on your use case.

Discord has great tools around moderation and membership tiers; it's designed for users you don't trust.

Slack is much more for a community where everyone knows each other (or at least trusts each other a bit, like you'd trust a coworker).

Xavdidtheshadow··on Antigravity.py (2020)
I've long known that `import antigravity` would open the xkcd comic, but I never knew there was also a geohashing function!

That was a favorite activity of mine in high school. On Friday evening, we'd look at the nearest graticule(s) to our town and pick one for a Saturday day trip. Trucking out to a random point on a map is a great way to explore your metro area and see things you never would otherwise.

Heartily recommend trying it out. Looks like the map (linked from the comic) is no longer working: http://carabiner.peeron.com/xkcd/map/map.html

But, with this function, there may yet be hope!

Xavdidtheshadow··on The Tyranny of Spreadsheets
Spreadsheets are great. I just wish folks would use a more appropriate tool for what they really want: a very light-touch database. Something like Airtable is perfect for structuring a bit of data into rows and columns.

But, nothing beats the availability (both of sharing and editing) of an open Google Sheet.

Xavdidtheshadow··on Show HN: Obsidian for Mobile – Plain-text knowledge base on the go
Not positive, but I bet it's because the one in Mac app store is the iOS version running on M1 hardware. The actual Mac app (afaik) isn't distributed through the app store.
Xavdidtheshadow··on Functools – The Power of Higher-Order Functions in Python
> Don’t use lru_cache

I disagree- it works wonders for expensive functions that return strings and ints. Maybe "don't use lru_cache with mutable values" would be more accurate.

Thanks for noting that edge case though, I've never thought about that.

Xavdidtheshadow··on Sriracha hit revenue of $150M a year with no sales team or ad spend
> I've no idea of the history of ... Tabasco

Aside, but if you ever find yourself in or near southern Louisiana, the Tabasco headquarters at Avery Island is actually a pretty fun outing. Lots of tasting (pre covid anyway), a self-guided factory tour, and some cool nature.

Xavdidtheshadow··on South African Brothers Vanish, and So Does $3.6B in Bitcoin Exit Scam
Not uBlock specifically, but there's a robust content blocking system there. AdGuard is a pretty good one!
Xavdidtheshadow··on HBO Max accidentally sent an integration email test to users
Years ago I worked at a company that send out a test email to all our users with some light profanity in it. We got a little (unexpectedly) good press about it and it ended up being no harm, no foul.

Hopefully everyone at HBO is as nice about today's mistake!

https://thenextweb.com/news/how-fetchnotes-discovered-that-c...

← PreviousPage 2 of 6Next →