Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sequoia
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
57 ms
·
271.
▲
by
sequoia
6y ago
I must be dense but what do the star and the slash mean? It looks like "multiply by" and "divide by" but it appears to have results of the conversion next to the star... Do the docs explain this and I missed it? Yo
272.
▲
by
sequoia
6y ago
Don't tell the FBI this, they won't know you're joking (see schwartz, manning, & wget).
273.
▲
by
sequoia
6y ago
Good call, I will update the post. It would look like this, for posterity: jq '.data.result[].metric | select(.app == "toodle-app").task_name' The reason I was putting the querying into promql where possible is that it
274.
▲
by
sequoia
6y ago
Ha, I never let that stop me! You can do some of the stuff in my post other ways, like using the `--jsonpath` switch in kubectl, but 1. I prefer learning jq rather than the idiosyncratic syntax/flag of each tool & 2. Let 1000 flowe
275.
▲
by
sequoia
6y ago
> But, this prints all 317 resource types on a new line, not super helpful. > So, let's group by and count: > cat 1396-Ledner.json | jq '.entry[].resource.resourceType' | sort | uniq -c | sort -nr This gives me a lis
276.
▲
by
sequoia
6y ago
oh wow cool I didn't know about gron!! Is it alright if I add this comment to the bottom of my post?
277.
▲
by
sequoia
6y ago
You definitely should! Is it alright if I copy this comment onto my blog underneath this post in the "comments" section? If you do write such a post make sure to let me know so I can link it from mine! You could write a response
278.
▲
by
sequoia
6y ago
Isn't this at least in part because google was caching the pages & serving them (possibly pre-loading them, I don't know) from their own Google CDN? So comparing the speed of loading a performant page from google's CDN
279.
▲
Parsing JSON at the CLI: A Practical Introduction to jq and more
(sequoia.makes.software)
294 points
by
sequoia
6y ago
|
102 comments
280.
▲
by
sequoia
6y ago
To these commenters: are you unaware of the issue of child porn, revenge porn, stolen content* and videos of actual rapes being uploaded to Pornhub, and Pornhub making money off of this content? If you are aware of this (the core issue), yo
281.
▲
by
sequoia
6y ago
Seems that API documentation (in this case) is not terribly important to the bottom line :) (So why should the bother fixing it?)
282.
▲
by
sequoia
6y ago
What's your point? What does this have to do with PH hosting (and dragging their feet about taking down ) and making money off of real rape/revenge/child porn today? And out of curiosity, what makes you think I am "mi
283.
▲
by
sequoia
6y ago
It's surprising to me (perhaps shouldn't be) how many people here are discussing this issue in the abstract using terms like "broadly harmless." To these commenters: are you unaware of the issue of child porn, revenge po
284.
▲
by
sequoia
6y ago
-1 from me. I was put off from the beginning when she said the UI “sucked” or similar, didn’t know the author was a woman at that point. Believe me or don’t but that’s my story & I’m sticking to it. +1000 to the author for raising speci
285.
▲
by
sequoia
6y ago
You're both right. Suggesting other people try your blog built on this platform is giving people bad advice, and the comment you're replying to is overly negative. I think the thing that's annoying is trying to sell other pe
286.
▲
by
sequoia
6y ago
How I managed this on a team: If there is a style disagreement, documented style rules prevail. If there is a documented style rule, follow it. If there is not a documented style rule, you cannot block this PR with the style objection
287.
▲
by
sequoia
6y ago
This was probably set at the operating system level, i.e. you selected "zh_ZH"/Chinese at some point during setup. Upon installing a browser, it reads your OS language preference & then passes that through to websites via
288.
▲
Uber Closes Postmates Acquisition [pdf]
(postmates.com)
1 points
by
sequoia
6y ago
|
0 comments
289.
▲
by
sequoia
6y ago
"Life sucks and you may as well learn it early." Setting aside the fact that tweens & teens in particular need more sleep (you can do with less when you're older), even if one has to get up at 6:30 and do a 90 minute co
290.
▲
by
sequoia
6y ago
> We have some neighbors who are not too well off that homeschool their kids This is exactly the type of situation ttul seems unaware of. The "only rich white people homeschool" trope is a myth from people who are unfamiliar wi
291.
▲
by
sequoia
6y ago
Your assertion that only families among "the wealthiest in the world" have non-school childcare arrangements is incorrect. I agree that everyone should have access to better child-rearing opportunities than are offered by school,
292.
▲
by
sequoia
6y ago
> A child who used to read in the bath won’t pick up a book unless threatened with the loss of her phone. SCHOOL! SCHOOL! A thousand times: school! Of course a child who likes reading for leisure is going to do it less readily when t
293.
▲
by
sequoia
6y ago
Agreed that these can be bad (my kids have some socials but I keep an eye on them and have lots of talks about pitfalls to avoid), but for the sake of argument I can't help pointing out that what you're describing is a normal proc
294.
▲
by
sequoia
6y ago
Buried lede: > My daughter doesn’t return home from school until 6:30 pm and still has to eat, bathe, and get ready for bed. Perhaps it is not just the iPhone, but school taking up 100% of her time, energy, and attention that is preven
295.
▲
by
sequoia
6y ago
You are speaking truth, you're right I am getting hot under the collar in this discussion and it's not helpful. To be pedantic, I would disagree that "everyone has made sacrifices" this year. To make a sacrifice implies
296.
▲
by
sequoia
6y ago
haha my friend, you need to sit back and take a chill pill. The fact that you're digging through my comments and trying to attack me personally is why I say this. But I'll play along for argument's sake: Yes, I pay extra for
297.
▲
by
sequoia
6y ago
> We did in fact lock the country down for several months. No we didn't. What state or city could you not travel to? Where were you confined to your house and forbidden from going outdoors? We closed schools, some businesses & p
298.
▲
by
sequoia
6y ago
Fair enough. But this "I don't have to worry because I'm young and healthy!" besides being incredibly selfish (implied "who cares if I kill people around me by spreading the virus") it's also bullshit: it
299.
▲
by
sequoia
6y ago
OK you must be yanking my chain now, I can't believe you're commenting on this so boldly and are completely unaware of the last huge spike in cases when occurred in July. https://www.nytimes.com/2020/07/2
300.
▲
by
sequoia
6y ago
I appreciate that you want to hear from experts. Instead of me, why not listen instead to Dr. Michael Osterholm, PhD MPH, "an American epidemiologist, regents professor, and director of the Center for Infectious Disease Research and Po
More ›