Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mehrdadn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
181.
▲
by
mehrdadn
6y ago
Read the CNN report your article links to. It says the same thing I said: > Epic's attorneys acknowledged that the company breached its agreement with Apple but claimed Epic was simply refusing to comply with an anti-competitive con
182.
▲
by
mehrdadn
6y ago
My layman understanding was Epic had to do this to be able to legally challenge Apple in court (to demonstrate damages or whatever). That's not quite the same as (covertly) breaching your contract hoping you get away without getting
183.
▲
by
mehrdadn
6y ago
Wow that is cruel! Somehow I just assumed int would get promoted to long regardless of their size difference. That this isn't the case almost seems like a language defect!
184.
▲
by
mehrdadn
6y ago
As the other person said, it's not really about complexity. Complexity isn't all that different here; personally I'd find something like the following to be simpler (I imagine others might disagree): remove_list_entry(ent
185.
▲
by
mehrdadn
6y ago
long is definitely worse than int. At least you know int is never 64-bit on desktops, and it comes in handy enough for things like logarithms. long being either 32-bit or 64-bit on the same platform depending on the compiler just feels like
186.
▲
by
mehrdadn
6y ago
Some videos remove that option. (Haven't tried to see how Hierglyph handles that situation though.)
187.
▲
by
mehrdadn
6y ago
I imagine unreliability of home networks just makes this a bad idea for things like email even if you somehow managed to get around all the other obstacles like security/privacy/trust issues (spam, etc.)
188.
▲
by
mehrdadn
6y ago
I don't know but I would suggest (at least) logging into the account and doing something (uploading a file, sending an email, etc.) every year.
189.
▲
by
mehrdadn
6y ago
Wow, I didn't realize they've introduced a newer heap implementation (seems to be in Windows 10 version 2004). For anyone else wondering, it seems to be possible to turn on via a manifest: https://chromium.googlesource.
190.
▲
by
mehrdadn
6y ago
Yes... tries, suffix arrays, sketching, cache oblivious data structures and algorithms, splay trees, persistent data structures, etc. are used in a wide variety of places ranging from compilers to compbio to distributed systems, to give som
191.
▲
by
mehrdadn
6y ago
Advanced data structures: http://courses.csail.mit.edu/6.851/
192.
▲
by
mehrdadn
6y ago
It's really good advice if you're only doing this once per person, but you want to be a bit more careful that it doesn't lose its effectiveness if you want to be able to do it multiple times. Not sure if this happens for othe
193.
▲
by
mehrdadn
6y ago
If you want to dig deeper, watch these videos: https://herbsutter.com/2013/02/11/atomic-weapons-the-c-memor...
194.
▲
by
mehrdadn
6y ago
I'm not sure what you're talking about (pip's always done binaries for me), but I have 20.1 in any case, so...
195.
▲
by
mehrdadn
6y ago
I guess exaggeration doesn't come across well over text. I was trying to get across that it's super irritating. No I don't actually want to punch my computer...
196.
▲
by
mehrdadn
6y ago
No kidding. I pretty much don't even believe in the concept of a serious upgrade anymore, as far as pip goes anyway. As long as it still works when I run it, nobody is missing out on any serious upgrades as far as I'm concerned at
197.
▲
by
mehrdadn
6y ago
> 20 versions are no joke. Versions ≥ 18 refer to the years 2018+; they don't refer to the number of versions released anymore.
198.
▲
by
mehrdadn
6y ago
I swear... it is so incredibly frustrating that I want to punch my computer when I see that message at this point. I think I had to finally shut it up via https://stackoverflow.com/a/64853362 to get my blood pressure
199.
▲
by
mehrdadn
6y ago
Ahh cool! I hope it takes off :) it looks pretty great.
200.
▲
by
mehrdadn
6y ago
This looks pretty awesome and well-written! I'm surprised it should be slower than CPython. Are all objects reference types in this language like in Python? What kinds of bottlenecks are there currently?
201.
▲
by
mehrdadn
6y ago
> Even my mother does this in spite of my persistent requests for her not to because she feels an obligation to do so in spite of my pleas. Oh dear, this is a really dangerous conflation of 2 different practices. You really ought to dist
202.
▲
by
mehrdadn
6y ago
> Having visited Iran by myself and having had the pleasure of being invited to join strangers in several cities to meet their friends and join them for meals at their homes, I found this a bit depressing to read. Oh man, I found your
203.
▲
Trump administration moves ahead on gutting bird protections
(apnews.com)
9 points
by
mehrdadn
6y ago
|
0 comments
204.
▲
by
mehrdadn
6y ago
3 years I think: https://en.wikipedia.org/wiki/3D_XPoint > It was announced in July 2015 and is available on the open market under brand names Optane (Intel) and subsequently QuantX (Micron) since April 2017. For co
205.
▲
by
mehrdadn
6y ago
I think you could give it a shot with ATA Secure Erasing one of them and seeing if it performs faster. Although 4 months at 50% utilization at (say) 2GB/s is some ~10PB of I/O, so I'm not sure if I would expect what you'
206.
▲
by
mehrdadn
6y ago
> in modern multicore, multi-CPU devices, the CPU itself is now basically a network, the intercommunication between all the CPUs is another network, and calls to disk I/O are effectively another. Interesting take, and NUMA CPUs have
207.
▲
by
mehrdadn
6y ago
I liked most of the piece, but some bits rubbed me the wrong way: > I was taken by surprise by the fact that although every one of my peers is certainly extremely bright, most of them carried misconceptions about how to best exploit the
208.
▲
by
mehrdadn
6y ago
Yup that was the answer :-) interleaving the two lets you get the best of both worlds at the cost of a constant-factor penalty. This is a pretty clever & general-purpose meta-algorithm that works for pretty much any problem where you ha
209.
▲
by
mehrdadn
6y ago
> if your guess is completely wrong, will it still converge in no worse than O(log(N))? No, but there's a simple but powerful technique you can use to ensure this from the outside. See if you can figure it out. (If you don't, l
210.
▲
Experimental evidence of neutrinos produced in the CNO fusion cycle in the Sun
(nature.com)
3 points
by
mehrdadn
6y ago
|
0 comments
More ›