Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joshAg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
joshAg
5y ago
Because that's how they manufacture probable cause. If they can manufacture probable cause, they can search the car for things that are valuable enough to justify the paperwork.
62.
▲
by
joshAg
5y ago
It's not just any degree, though. In addition to that, there is a set of classes that you have to complete (each med school has their own requirements, but practically speaking, they're roughly the same: http://www.geor
63.
▲
by
joshAg
5y ago
oh! It gets worse. The value of goods taken yearly through civil forfeiture is greater than the value of goods reported stolen. https://www.washingtonpost.com/news/wonk/wp/2015/11/23/cops-...
64.
▲
by
joshAg
5y ago
If it's 4 years old, that WD Red is from before WD pulled the SMR shenanigans. The TLDR is they switched the WD Red drives from CMR to SMR technology without announcing it or noting it on drive specifications, and then when they got ca
65.
▲
by
joshAg
5y ago
Yeah, anything non-SMR and with RAID-focused firmware should be fine. For WD specifically that means Red Plus not Red, because Red has SMR. Seagate Ironwolves should be just fine, but I haven't bought any since the WD version was cheap
66.
▲
by
joshAg
5y ago
how much time is freenas administration taking? That's what i use, and i barely need to spend time on it, so i'm not sure how much time you can save switching. If the issue is power, then you can stick with freenas as well just wi
67.
▲
by
joshAg
5y ago
i'd say wd red pluses, not just wd reds.
68.
▲
by
joshAg
5y ago
For most people I agree with that. Heck, that's basically what I'm doing with my vdevs, since they're all mirrors. But I think there's a semi-common exception: people who are using ZFS where they are maxing out the drive
69.
▲
by
joshAg
5y ago
This video is in the same vein, and does a great job putting this machine into perspective in teh chip making process, but it's sadly a decade old now. https://www.youtube.com/watch?v=NGFhc8R_uO4
70.
▲
by
joshAg
6y ago
agreed, but some people dislike that because you have to have an E_UKNOWN or E_GENERAL or something like that in addition to more specific errors and others dislike it because now there's not something to conveniently store results fro
71.
▲
by
joshAg
6y ago
In C when you have nothing that needs cleanup, it's not the most horrible thing ever: int foo(thing_t \*work) { int ret = E_SUCCESS; if(work->thing == BAD_THING) { ret = E_BAD; goto exit; } do_som
72.
▲
by
joshAg
6y ago
We like OpenAPI first because it's more exact than pure typescript types. I suppose there's libraries we could use to give us a similar level of exactness that would also get us typescript types and OpenAPI with similar exactness
73.
▲
by
joshAg
6y ago
We go the other way. We start with openAPI, use dtsgenerator to spit out typescript types, and then use a library (typescript-is) that will generate run-time type check function as part of compilation. A downside to this is that you need to
74.
▲
by
joshAg
6y ago
We decided against io-ts because we'd still have to write the validator ourself (unless we used their type system as the source of truth, which wouldn't easily work for our project because we generate most of our types from an ope
75.
▲
by
joshAg
6y ago
That's a great idea! What's the other built-in that you shadow?
76.
▲
by
joshAg
6y ago
If you're not using a bunch of generics, check out typescript-is [1]. It takes little work to get it setup, but it generates run time type checks for you. I understand why typescript decided to not add this functionality to the core o
77.
▲
by
joshAg
6y ago
Not as bad as 10,000%, but the bank of england estimates an average inflation rate of 4.2%[1], so it's within an order of magnitude. (25M - 300) / 300 is only like 8200%, but bank of england puts the current value of 300 1917 pou
78.
▲
by
joshAg
6y ago
Sometimes they do, but they just don't care that certain (or even all) employees are as productive as possible. They might even have a fancy graph showing how they're optimizing for some unit of productivity per unit of cost, so m
79.
▲
by
joshAg
6y ago
The problem is that $12/hr is still "in poverty". You've set up a false dichotomy between everyone out of poverty vs most farther out of poverty, but some still in poverty. There's literally nowhere in the US where
80.
▲
by
joshAg
6y ago
It doesn't have to be no, but having it incentivizes both sides to spend time and money on capturing the regulatory authority to tip the scales in their favor, and american companies are really great at regulatory capture.
81.
▲
by
joshAg
6y ago
There used to be something similar around telephone lines in the US, where bell had to let competitors use the lines at cost or something similar, but that way tends to lie madness because of fights over what the actual cost of maintenance
82.
▲
by
joshAg
6y ago
Because america is so anti-socialist. No, seriously. And it's the same reason why PG&E does such a shit job of maintaining their infrastructure, too. Letting anyone tear up the street to run their own wires whenever they want isn&#
83.
▲
by
joshAg
6y ago
on the one hand, yeah it's funny and arbitrary. On the other hand, it's how at least the US legal system understands, litigates, and enforces IP laws
84.
▲
by
joshAg
6y ago
That's pretty close, and would definitely be super useful to us beyond just my personal use case. Saving would be absolutely awesome because right now I "save" queries by doing this [1] in the query editor and saving a giant
85.
▲
by
joshAg
6y ago
We really like your product! It's made it super easy to create internal dashboards and admins actions that we can safely trust nonengineers to use without making an entire website for them. Got a question for the best way to (ab?)use t
86.
▲
by
joshAg
6y ago
this is exactly why i think oauth for personal use for most people is nightmare fuel.
87.
▲
by
joshAg
6y ago
For an infotainment system, or even things like AC and fan speeds, this sounds pretty cool. But for the dataplane software responsible for dashboard clusters and the like, this scares the hell out of me, because linux isn't an RTOS and
88.
▲
by
joshAg
6y ago
For testing i care a lot about repeatability. Specifically, i'm interested in testing a web dashboard/app. So if I use synth to populate my db, how would I know whether the backend's endpoints are giving me good data? Is ther
89.
▲
by
joshAg
6y ago
We're not talking about what the postmaster said. We're not talking about parcel volume. We're not talking about package volume. We're not talking about resource reallocation. We're talking about what trump said. Tr
90.
▲
by
joshAg
6y ago
“They need that money in order to have the post office work so it can take all of these millions and millions of ballots,” Trump said in an interview with Fox Business’s Maria Bartiromo. “If they don’t get those two items, that means you ca
More ›