Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wrigby
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
wrigby
4y ago
Thanks! This prompted me to look up the flag to enable this. For GCC it’s: -Werror=format-security
62.
▲
by
wrigby
4y ago
TLM (at Facebook) stands for Tech-Lead Manager - it’s a hybrid role, with engineering duties and people management duties. From what I remember, it wasn’t intended as a long-term position, but was used in stop-gap circumstances (manager qui
63.
▲
by
wrigby
4y ago
I learned to program in my early teen years from books I checked out from the library, but since then didn't read a single programming book. Recently, I needed to ramp up quickly on an embedded C project (without any past MCU programmi
64.
▲
by
wrigby
4y ago
No approach is a silver bullet here, but what I've found effective is to seek out friendships with / mentorship from senior and staff-level engineers. They'll have tons of war stories from 10-20 years ago, and may even have s
65.
▲
by
wrigby
4y ago
I’d be interested in understanding this better - what kind of sensors do you have in mind that are junk?
66.
▲
by
wrigby
4y ago
IIRC the industry standard is to serve your authoritative DNS with anycast, and have those servers do geo-based dns resolution to shift HTTP traffic to a nearby edge POP.
67.
▲
by
wrigby
4y ago
No, the credits could only be used to run ads. However, the ads were run publicly, and competed in ad auctions with campaigns from actual customers paying actual money. If employees had a $25k ad budget, that would mean increasing the deman
68.
▲
by
wrigby
4y ago
Cable bought on long spools to install permanently is usually solid, while patch cables are usually stranded. Most of the time, you'll end up buying pre-terminated stranded cable, and all the cable you terminate yourself will be solid.
69.
▲
by
wrigby
4y ago
It's worth pointing out that a competent engineer with a good business sense is the exact formula for an exceptional sales engineer.
70.
▲
by
wrigby
4y ago
I use JLC PCB for small projects at work, when we‘re doing prototype runs or just making a few units and don’t want to spin up our main PCB supplier. The process is quick and mostly painless. They even have screenshots and a guide to export
71.
▲
by
wrigby
4y ago
I think the section is addressing both CPU and IO-bound tasks: > How to Execute a Blocking I/O or CPU-bound Function in Asyncio? But to be precise, we should differentiate between Python’s interpreter threads and OS threads. In gene
72.
▲
by
wrigby
4y ago
I think the article is correct here, actually - if you need to run a CPU-bound task, you’ll need a ProcessPoolExecutor.
73.
▲
by
wrigby
4y ago
These posts are all thoroughly reviewed by comms and legal teams. In onboarding, it’s thoroughly communicated that you need to go through the proper channels to publicly publish anything with technical details.
74.
▲
by
wrigby
4y ago
It definitely doesn't solve all cases, but quite a lot of nested loops can be eliminated with `itertools.chain`: for item in itertools.chain.from_iterable(list_of_lists): # Do something with item
75.
▲
by
wrigby
4y ago
This sounds like you’re referring to his appearance on CNN’s Crossfire in the mid 2000’s; here’s a link for context: https://m.youtube.com/watch?v=aFQFB5YpDZE
76.
▲
by
wrigby
4y ago
I guess it depends on the car you started in and how easy it is to stall. My Jeep Cherokee with an inline 6 would have been an incredibly easy car to learn on, but my RX-8 - with about the same amount of low-end torque as a sewing machine -
77.
▲
by
wrigby
4y ago
It’s worth pointing out that “tornado” in this context is a crypto project, NOT the popular Python web server/event loop library.
78.
▲
by
wrigby
4y ago
I’m pretty sure they’re referring to the defense contractor named Anduril[1]. 1: https://www.anduril.com/
79.
▲
by
wrigby
4y ago
I’m truly curious, is this because it rules out distributing a statically linked binary? I may be misremembering, but I thought LGPL is completely fine for commercial apps if you’re just looking against the LGPL’d code.
80.
▲
by
wrigby
4y ago
ST Microelectronics, a semiconductor manufacturer that is well-known for their microcontrollers.
81.
▲
by
wrigby
4y ago
Oh hey there! Can confirm that Storms got very very smooth over the course of a few years - it was really incredible to see it go from something that we planned on our roadmap to getting into work and realizing an entire datacenter was disc
82.
▲
by
wrigby
4y ago
Hah, that's what I get for skimming the article and assuming I knew what was going on here. With that said, I guess the quickest thing that comes to mind is wanting to run my Jupyter notebooks on a machine with much beefier CPU and mem
83.
▲
by
wrigby
4y ago
One of the use cases I can think of is "I have a set of scripts (shell, GDB, etc.) that are useful when troubleshooting servers, and I want to be able to use any of them at will once I've connected to a machine that's broken.
84.
▲
by
wrigby
5y ago
Build Your Own Database Driven Website with PHP and MYSQL, from Sitepoint. I checked it out from a public library around 2004, at age 13 or 14, and can credit my entire career to it (and a lot of incredibly supportive adults that encouraged
85.
▲
Pitchfork Interactive Reviews Explorer
(pitchfork.com)
1 points
by
wrigby
5y ago
|
0 comments
86.
▲
by
wrigby
5y ago
Are they not? I thought qualified dividends (that is, dividends on stocks that have been held long enough to qualify for long-term capital gains) are taxed at the long-term capital gains rate.
87.
▲
by
wrigby
6y ago
Aside from the brilliant satire, it’s worth pointing to the “What I Learned” section of the readme: how C++ smart pointers are implemented how to implement a Non-Fungible Token how the Ethereum ecosystem has evolved since I wrote my
88.
▲
by
wrigby
6y ago
I really like this model - thanks for sharing! A professor of mine drilled into us the idea that much of life is luck, but as he said (and I believe he was quoting someone else here) "the harder I work, the luckier I get."
89.
▲
by
wrigby
6y ago
I love this - didn't realize it was a thing at all! If anyone is curious, this works for any type in Python that implements __format__ ( {now:%m/%d/%Y} is equivalent to {now.__format__('%m/%d/%Y')} )
90.
▲
by
wrigby
6y ago
Depending on your current level, this can be the same thing (Facebook has an "engineering progression" - there's a time frame within which you're expected to be promoted to a certain level).
More ›