1,822 karma · joined Feb 3, 2019 (7y ago) · 645 submissions
comment 3y ago · link · parent
I suppose it could’ve been a bit of both.
comment 3y ago · link · parent
comment 3y ago · link · parent
The class was sort of a survey that started with propositional and predicate logic, set theory, and hit bits of number theory and group theory before going deeper into continuous functions, differentiation and integration. Proofs all the way. At one point the prof quipped, “If you’re using numbers bigger than about 8, you’re not doing real math.”
The class did a great job reinforcing what I’d learned in high school, while setting me up for some of the beefier proof-based cs theory classes later on.
comment 3y ago · link · parent
There’s an episode of the podcast On With Kara Swisher where she goes into detail about who he was and how he went off the rails. The date is 2022-11-14. I found it really helpful to square this circle.
I’m not as familiar with Tesla, but I’ve been following SpaceX pretty closely since around 2014. He’s not in the trenches doing CFD to optimize cooling on the latest iteration of the raptor engine, and who knows whether reusability was originally his idea, but he knows his shit. When you hear him talk about rockets, he sounds very competent, unlike when he talks about software. And I’ve never heard any actual rocket scientists say Elon doesn’t know shit about rockets.
(He does sometimes move fast and ignore established wisdom though, as with the concrete pad that got obliterated during the last launch. But sometimes that’s how you sidestep decades of cruft)
I do wish Gwynne Shotwell were more of a household name. She’s the one running SpaceX while Elon is off Eloning.
comment 3y ago · link · parent
Prosperity gospel churches are usually Pentecostal, which means they have a few special ways they like to interpret the Bible:
- They tend to take single Bible verses, often out of context, and use them as a foundation for entire novel lines of teaching. (This is opposed to reading and digesting whole stories)
- Those favorite Bible verses are emphasized, and passages that contradict them are downplayed. Once you decide that the Bible is pro-wealth, it can’t tell you it isn’t. (All Bible-believing Christians do this, whether they realize it or not. It’s called choosing a hermeneutic)
- There’s a culture that it’s common for the individual, especially the preacher, to hear directly from God. It’s pretty hard to argue with someone who claims the Holy Spirit told them something was true. (I always saw this as obviously problematic for a bunch of reasons)
When you put these together, you tend to get weird novel theologies. Other examples in the Pentecostal church include the personal prayer language (aka speaking in tongues) and faith healing.
comment 3y ago · link · parent
However, once your storage layer is parquet and your query layer is SQL, well... DuckDB is also basically parquet+SQL, and it won't be long before there's a nice Postgres wire protocol adapter in front of it. What's the advantage of continuing to use InfluxDB if you don't need clustering or HA?
comment 3y ago · link · parent
I agree with GP about storage efficiency, which is superb. Query performance is good as long as a single query doesn’t deal with more than ~dozens of series. And $deity help you if you want to do hourly roll-ups of all series for a short time range, as RAM usage is wildly unpredictable. Storage is optimized for long reads of a single series, not for short reads of many series (but in fairness, you have to choose one or the other, that’s just the physics of the thing).
If I were starting from scratch, I’d probably pick Timescale. Or maybe DuckDB… I wonder if it would work for our use case.
comment 3y ago · link · parent
Turning off extensions is where OP lost me. In the last year, the single biggest quality of life improvement for me has been discovering the Argos[0] extension, which basically lets you put whatever text/menus you want in the top bar by writing scripts that print to stdout. To save space, I hid the dock (I use [1] as a replacement alt-tab), so the top bar is the only piece of screen that isn't OS chrome.
On my top bar right now I have the time in four time zones (including the ever-important UTC to save a mental calculation when logging at logs), the name of the current Wifi access point, and some VPN details gleaned using a combination of ip r, ping, nc, and curl. Another extension shows free RAM. I look at them dozens of times a day.
[0] https://extensions.gnome.org/extension/1176/argos/
[1] https://gist.github.com/cbd32/cbec9a32b32bd9e93b0d2696c71b5f...
comment 3y ago · link · parent
I’m not sure why, but I really like working with legacy code (as long as I’m given some autonomy to improve it over time). Part of the enjoyment is the restraint, the humility when facing code that, despite not being squeaky clean, has racked up millions or billions of hours getting shit done. The code knows itself better than you do.
comment 3y ago · link · parent
Tbh I don’t see most of the standard lib benefitting from generics. For example, json.Unmarshal wouldn’t be dramatically better with generics — in practice, I rarely see runtime errors where I passed the wrong kind of thing to that function.
I personally love the slow pace of go development. I love that I don’t need to refactor my code every year to take advantage of whatever new hotness they just added. The downside is that stuff that’s annoying now will be annoying forever (like those times when you want a more expressive type system), but I’m willing to live with that.
comment 3y ago · link · parent
Loop variable capture is a foot-gun that in the last six years has cost me about 10-20 hours of my life. So happy to see that go. (Next on my list of foot-guns would be the default infinite network timeouts — in other words, your code works perfectly for 1-N months and then suddenly breaks in production. I always set timeouts now; there’s basically no downside)
Interesting to see them changing course on some fundamental decisions made very early on. The slices *Func() functions use cmp() int instead of less() bool, which is a huge win in my book. Less was the Elegant yet bizarre choice — it often needs to be called twice, and isn’t as composable as cmp.
The slog package is much closer to the ecosystem consensus for logging. It’s very close to Uber’s zap, which we’re using now. The original log package was so minimal as to be basically useless. I wonder why they’re adding this now.
I’ve already written most of what’s in the slices and maps packages, but it’ll be nice to have blessed versions of those that have gone through much more API design rigor. I’ll be able to delete several hundred lines across our codebase.
What’s next? An http server that doesn’t force you to write huge amounts of boilerplate? Syntactic sugar for if err != nil? A blessed version of testify/assert? Maybe not, but I’m happy about these new additions.
comment 3y ago · link · parent
I’m exactly like this too. I enjoy my work way more than average, but depending on the day I have between 6 and 12 (median 7) focused hours to do work before my brain sort of grinds to a halt. But when I get home, if I unwind mindfully and don’t get trapped on HN or YouTube, I can go meet some friends for dinner or go to the climbing gym, and that feels energizing instead of draining.
comment 3y ago · link · parent
- Walkabout mini golf (20h). Great for unwinding and the ball physics are nearly perfect.
- I Expect You To Die, 1 & 2 (15h). If you like puzzle games, these are fantastic. Super addicting the first time you play, but little replay value.
- Demeo. Like D&D-lite (10h). Can play co-op with other Quest users or with Steam on PC.
- Half Life 2 VR mod and Half-Life: Alyx (10h). I loved HL2 when it first came out so there's a massive nostalgia bonus, but Alyx is widely acclaimed.
- Pistol Whip (2h, but getting into it). This is a spiritual successor to beat saber.
comment 3y ago · link · parent
I guess my point is that we still don't have any idea how to determine whether something is sentient. That includes other humans (though for that, we just apply Occam's Razor and call it a day).
I do think that in a few years, we'll have LLMs with plugins for memory and perception, executing not in a web-based repl but in real-time, and it's going to get harder and harder to argue that they're not sentient.
comment 3y ago · link · parent
The rage I feel when software that I use breaks, I take that rage and channel it into customer empathy. If my stuff causes someone to get annoyed, or lose a lot of time, or both, that really sucks and it needs to be fixed. I wish we could do more of that in this industry.
I got bit by that iPhone alarm bug a couple times. Couldn't believe something like that would slip into production and stay there for as long as it did.
comment 3y ago · link · parent
That's certainly a valuable lesson when there's hardware and software involved, and the consequences of the software screwing up are potentially lethal.
But what about the case of the home depot shopping cart, or the iPhone alarm? In those cases there's only software. "Assume the software will do worst thing possible" doesn't make sense.
comment 3y ago · link · parent
> [The amount of energy required has] nothing to do with the technology of the devices; they are the maximums that thermodynamics will allow. And they strongly imply that brute-force attacks against 256-bit keys will be infeasible until computers are built from something other than matter and occupy something other than space.
[0] https://security.stackexchange.com/questions/82389/calculate...
[1] https://www.schneier.com/blog/archives/2009/09/the_doghouse_...
comment 3y ago · link · parent
I also wrote a super simple half-life mod back then. It was like Juggernaut mode for Halo, which came out later: one person was nearly invisible, with an insta-kill crowbar, and whoever killed them took their powers.
I miss those days.
comment 3y ago · link · parent
comment 3y ago · link · parent
(No /s)
0: https://english.stackexchange.com/questions/69501/meaning-an...
comment 3y ago · link · parent