Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mehrdadn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
211.
▲
by
mehrdadn
6y ago
To be honest I would expect if you told people "your TV will report what you're watching" they will think "wait, doesn't my cable company already know what I'm watching???" If you tell them it's the
212.
▲
by
mehrdadn
6y ago
Maybe worth noting that while setting the initial estimate to the first element will help in a lot of cases, it will still fail catastrophically when you happen to get a small element in the beginning, which isn't all that unlikely (sa
213.
▲
by
mehrdadn
6y ago
What I said has absolutely nothing to do with monotonicity. Pick any permutation of [2N, 2N + 1, ..., 3N - 1] for N as large as you want and you'll see the algorithm estimate the median as N, which is below even the minimum.
214.
▲
by
mehrdadn
6y ago
Yeah, those aren't relevant to what I was saying here. Pick any permutation of [2N, 2N + 1, ..., 3N - 1] for N as large as you want and you'll see this algorithm estimate the median as N.
215.
▲
by
mehrdadn
6y ago
> I think the intent is to calculate medians on longer running streams of data than that. Why would you even use this algorithm for 5 values? I don't know if you realize but these kinds of comments are incredibly frustrating to resp
216.
▲
by
mehrdadn
6y ago
This is a horrible algorithm... just imagine trying to find the median of {100, 101, 102, 103, 104}... your estimate would be 5 which is ridiculous. At the very least, you probably don't want your estimate to be in {-1, 0, +1} after se
217.
▲
by
mehrdadn
6y ago
Yeah I'm super confused here myself. None of the comments suggest significant displeasure with the post as far as I can see, so I feel like it might've been a mistaken flag? Would be nice if someone can vouch or flag my comment he
218.
▲
by
mehrdadn
6y ago
Hostile means a lot of things, including "not friendly, warm, or generous; not hospitable". [1] [1] https://www.dictionary.com/browse/hostile
219.
▲
Examples of 'Anti-Homeless' Hostile Architecture
(interestingengineering.com)
27 points
by
mehrdadn
6y ago
|
20 comments
220.
▲
by
mehrdadn
6y ago
Off the top of my head: how about quantifying it like, "If we didn't have this person, we'd waste X person-hours over the course of the year"? That should help you put a number on it.
221.
▲
by
mehrdadn
6y ago
I'm guessing the superior may not have been in a different time zone before COVID.
222.
▲
by
mehrdadn
6y ago
They're not feral cats, they're stray cats. I found them pretty cute when I watched the video. (Recommend it for those who haven't seen it: https://www.youtube.com/watch?v=PpG0z-npFIY )
223.
▲
by
mehrdadn
6y ago
> You might think it's nice to see a cat or two in the streets, though it can get a bit crazy when you see 5-6 big and aggressive dogs appear in your street every day because someone feeds them You can't just reason about cats
224.
▲
by
mehrdadn
6y ago
Yeah. And even ignoring over-provisioning, I'm pretty sure people would think twice about spinning up as many servers as they currently do if they were forced look at all the servers on a daily basis in front of them. The distance the
225.
▲
by
mehrdadn
6y ago
That requires operating costs to have been 10x in the first place right? It doesn't do you much good if you kept them low from the beginning.
226.
▲
by
mehrdadn
6y ago
> Plugging the numbers in the Internet then emits 180 billion kilograms of CO2. So the author, by switching to local fonts, reduced the carbon emissions of the Internet by 0.000000056%. There ~7.8 billion people on the planet. If you vot
227.
▲
by
mehrdadn
6y ago
I didn't recommend you do this, I just said it's there if you really want to.
228.
▲
by
mehrdadn
6y ago
Again: try your operations on another file system, then tell me it's NTFS that's slow. It's not NTFS that's slow at opening files. It's the I/O subsystem. You'll see the slowness with other file systems to
229.
▲
by
mehrdadn
6y ago
I believe it does, but you might like MSYS2 more.
230.
▲
by
mehrdadn
6y ago
You can just use FILE_SHARE_WRITE if you don't want to lock out other programs...
231.
▲
by
mehrdadn
6y ago
This is not due to NTFS. (And NTFS is not crap either.) Try it on another file system if you don't believe me.
232.
▲
by
mehrdadn
6y ago
Should the title be changed from "embedded browser frameworks" to "unsupported browsers"? The latter seems far more consequential than the former. Edit: I wonder if this is intended to be an attack on browsers like Ungoo
233.
▲
by
mehrdadn
6y ago
> an app might show you a Google sign-in page which is actually hosted on their own server, or steal your credentials even if you are actually on google.com I'm confused, how does "this browser is not supported" translate
234.
▲
by
mehrdadn
6y ago
If your passport is expired, you don't get to cross. (Or maybe you still do! if you're returning to your home country.) Tough luck for you, but 1 person made a mistake, and 1 person faced the consequences. With an expired certif
235.
▲
by
mehrdadn
6y ago
> So what exactly do you want changed? A warning already comes up explaining what happened that a user can click through. Unless the website has opted into strict mode, in which case warnings cannot be bypassed, which seems very reasonab
236.
▲
by
mehrdadn
6y ago
> I feel like it would be better to show a warning earlier rather than after it expires. The problem is this is an actual false alarm in that case; nothing has actually gone wrong. Nobody likes to get a warning about something that'
237.
▲
by
mehrdadn
6y ago
I'd argue the problem might be the opposite: people are willing to differentiate on some matters (not everything), but security folks fail to help them do so. They treat every warning like DEFCON 1, as if an expired certificate is re
238.
▲
by
mehrdadn
6y ago
> That's just... moving the expiration date. No it's not, you still get a (slightly) nagging warning. Just one that's much milder (without the red alert, fear-mongering, etc.) and still lets people use the site for a while
239.
▲
by
mehrdadn
6y ago
No it doesn't? All that happens is the previous cert would be accepted with a milder warning for a few weeks (not permanently) after you get a new one. It's just a small grace window to let users still be able to use the site. Jus
240.
▲
by
mehrdadn
6y ago
I never understood why browsers don't just go ahead and load websites with expired certificates and merely provide milder warnings for a few weeks/months. The expiration date doesn't mark any meaningful real-world event that
More ›