Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dpark
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
841.
▲
by
dpark
10mo ago
Surely you aren’t doing real time indexing, transformation, analytics, etc in the same service that is producing the logs. A catastrophic increase in logging could certainly take down your log processing pipeline but it should not create ca
842.
▲
by
dpark
10mo ago
The unspoken assumption you are making is that anyone who would disagree with your philosophy on this is incompetent.
843.
▲
by
dpark
10mo ago
The issue with relying on gdb is that you generally cannot do this in production. You can’t practically attach a debugger to a production instance of a service for both performance and privacy reasons, and the same generally applies to desk
844.
▲
by
dpark
10mo ago
Mawr’s out there driving his Model T around town.
845.
▲
by
dpark
10mo ago
This 100% matches my experience in Washington. I know a lot of upper middle class who use cannabis. I think the consumption of edibles might be higher in the upper middle class vs smoked. But that’s very anecdotal.
846.
▲
by
dpark
10mo ago
It’s very skunky. I thought a skunk had been killed on an industrial road I drive sometimes. The smell was there for months. I finally realized there’s a cannabis processing facility there. Still stinks years later now.
847.
▲
by
dpark
10mo ago
I’ve never smelled pot that didn’t stink. It does not smell like a sewer to me but it distinctly smells like skunk.
848.
▲
by
dpark
10mo ago
I don’t really understand what you mean about opening files. Is this just an example of an idempotent action or is there some specific significance here? Either way logging the input (file name) is notably not sufficient for debugging if th
849.
▲
by
dpark
10mo ago
If the statement is just that sometimes it’s appropriate to have callbacks, absolutely. A library that only logs in places where it really needs a callback is poorly designed. I still don’t want to have to provide a 429 callback just to log
850.
▲
by
dpark
10mo ago
Defining a callback for every situation where a library might encounter an unexpected condition and pointing them all at the logs seems like a massive waste of time. I would much prefer a library have sane defaults, reasonable logging, and
851.
▲
by
dpark
10mo ago
No doubt. It was clearly a waste of effort to engage.
852.
▲
by
dpark
10mo ago
And the program doesn’t know if the user is expecting failure, either. The library case is not actually much different. It’s very reasonable that a logging framework should allow higher levels to adjust how logging at lower levels is record
853.
▲
by
dpark
10mo ago
I’ve worked on systems with “modularized” logging. It’s never been pleasant because investigations involve stitching together a bunch of different log sources to understand erase actually happened. A global log dump with attribution (module
854.
▲
by
dpark
10mo ago
I’ve written code that followed this model, but it almost always just maps to logging anyway, and the rest of the time it’s narrow options presented in the callback. e.g. Retry vs wait vs abort. It’s very rarely realistic that a client woul
855.
▲
by
dpark
10mo ago
Assuming everything is idempotent is a tall order. There are a lot of libraries that haven non-idempotent actions. There are a lot of inputs that can be problematic to log, too.
856.
▲
by
dpark
10mo ago
They were replying to a person who says “it’s almost always wrong for library functions to log anything”. Not just errors.
857.
▲
by
dpark
10mo ago
I try really hard to assume good intentions and take the most charitable interpretation which leads me at times to engage with people like this. I need to recalibrate. The most charitable interpretation sometimes is that the person is tro
858.
▲
by
dpark
10mo ago
But… but… https://xkcd.com/386/
859.
▲
by
dpark
10mo ago
No. My argument there was that your “we can just live like a bunch of independent tribes and no one will interfere if we can get rid of that pesky central government” idea is not based in reality. We have seen that underpowered minority gro
860.
▲
by
dpark
10mo ago
How’s Tibet doing? How’s it going in Georgia? Ukraine? How about the southern United States? Remember when they formed a confederacy and how well that worked out? Taiwan is largely protected by the US. I expect that absent some other intere
861.
▲
by
dpark
10mo ago
You can read all about the actual stories of minorities rising up to fight majorities in history books. This isn’t some hypothetical we have to approach from a purely philosophical standpoint. All modern functioning democracies I’m aware of
862.
▲
by
dpark
10mo ago
> the majority realizes they can't tyrannize the minority because the minority can run away and work under their own system of law Keep going. What happens when the majority refuses to acknowledge the legitimacy of the minority gove
863.
▲
by
dpark
10mo ago
Naive and ignorant with a dash of crazy. The sovereign citizen type thinking seems predicated on the rejection of a central authority while still quietly assuming that somehow such an authority exists to protect your rights to be free from
864.
▲
by
dpark
10mo ago
> The ATF approached him and asked him to do it. And that’s shitty and entrapment. Which is why the charges were dismissed. I wonder how you see the government do something bad and think a dictatorship is the solution. > The ATF was t
865.
▲
by
dpark
10mo ago
It must be tough trying to illegally deal arms at an Aryan Nations meeting and not know which guys are really white supremacists and which are undercover agents.
866.
▲
by
dpark
10mo ago
It’s illuminating and sad to piece together the picture of what you actually want. You mention dictatorship being better than democracy and then talk about “polycentric law” which seems to basically be sovereign citizen stuff. And then you
867.
▲
by
dpark
10mo ago
Everyone knows Illegal Immigrants are going to DESTROY AMERICA if We don’t Destroy it First!
868.
▲
by
dpark
10mo ago
The US specifically doesn’t gather or publish stats about citizens who are detained or deported. Shocking, that. But you can easily search on Google and find some info. Propublica has an article claiming they investigated 170 cases of citiz
869.
▲
by
dpark
10mo ago
It’s weird that someone can look at Russia where wealthy white folks frequently fall out of windows and think “yeah, that’ll probably work great for me”. Too much main character syndrome, the assumption that in any alternate system they wou
870.
▲
by
dpark
10mo ago
I fear we may all be in for a really scary decade.
More ›