Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pedrocr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
94 ms
·
901.
▲
by
pedrocr
8y ago
I know the situation of the Linux kernel. The discussion hinges on what is a "derived work". Kernel modules are very interlinked with the kernel, particularly since there are no stable APIs inside the kernel. It seems strange that
902.
▲
by
pedrocr
8y ago
Is there actually precedent for a GPL library, clearly setup to be consumed with an API, to require GPL of the whole binary? On the one hand that's clearly not the case in the Linux API, on the other hand the LGPL exists. But was curio
903.
▲
by
pedrocr
8y ago
> a few years ago when I was looking for a used Leaf The Leaf was notorious for not actually cooling the battery so I can see how they would do better in Norway. Maybe the newest generations have improved on that. I'd be curious if
904.
▲
by
pedrocr
8y ago
I had never heard about this. Do you have a reference? How big is the difference?
905.
▲
by
pedrocr
8y ago
This seems to match my napkin calculation of this prediction being off by around a factor of 10^5 (~100.000 processors being needed to match it). Although in the grand scheme of these predictions that's probably not too way off what it
906.
▲
by
pedrocr
8y ago
>In an ideal world that's what would happen but even if there where the will and the money it would take decades to replace all of this stuff in practice. In a previous discussion here someone pointed out you could actually compil
907.
▲
by
pedrocr
8y ago
> The thing is, "somewhere in the backend" is generally accessible from the internet If this is the case you have much bigger problems that a bug bounty won't fix. > in my mind, just infinitely worse than gaining acc
908.
▲
by
pedrocr
8y ago
My evaluation of the benefit is completely opposite to yours. An exploitable bug in 7-zip has a much higher impact than a bug in Tomcat. Tomcat is running somewhere in the backend so an exploitable bug is not usually usable as a direct atta
909.
▲
by
pedrocr
8y ago
I searched and saw some Qt bindings as well, but didn't check if they're complete. I've decided to just do 100% rust so I use conrod instead of bindings. But the cases where I've tried the GObject stuff it did indeed see
910.
▲
by
pedrocr
8y ago
For the UI rust has bindings for a lot of stuff and it's easy to generate more. There are also more and more native options. It's also very good for that use case because it makes certain high-performance things much easier/s
911.
▲
by
pedrocr
8y ago
How do you cash out on this kind of attack if by your own actions you're crashing the value of the coin?
912.
▲
by
pedrocr
8y ago
I didn't know these either and they seem like bolted on instead of properly integrated. Excel should overload the same operators to be able to write =A1 A2 for example. But that being said it seems clumsy but workable. It does have a f
913.
▲
by
pedrocr
8y ago
> I have no problem with them asking questions of myself or other travelers, even a lot of questions. According to your own rules you only really have to demonstrate citizenship. Whereas in this case that was already established and the
914.
▲
by
pedrocr
8y ago
>My biggest gripe with excel is that it doesn’t support complex numbers. complex()/imsum()/etc are not what you need?
915.
▲
by
pedrocr
8y ago
Finding cycles in a graph is not that simple though. I'd expect they just keep a few state bits in each cell and when a cell that's marked as being in the process of calculation gets hit again as a dependency you've hit a cyc
916.
▲
by
pedrocr
8y ago
This lists only 500k people 100+: https://www.populationpyramid.net/ But even at that scale you'd expect there to be one or two people reach that age and the article claims this case is actually well outside any of the
917.
▲
by
pedrocr
8y ago
This seems to be the bug that's tracking this in rust: https://github.com/rust-lang/rust/issues/49879
918.
▲
by
pedrocr
8y ago
In part because Web platform people have been self-selected to not dislike JS.
919.
▲
by
pedrocr
8y ago
> but almost never open untrusted .sqlite files You may not notice that you do when apps use sqlite as their file format: https://www.sqlite.org/appfileformat.html
920.
▲
by
pedrocr
8y ago
4kb was indeed too large but it's not 64bit either. They're 64byte cache lines, so the same applies.
921.
▲
by
pedrocr
8y ago
> In set associative caches, one or more of the "ways" in each index could be optimised for these relatively common small numbers, with fewer bits given to it, capable of only storing numbers of the small form. But these aren&#
922.
▲
by
pedrocr
8y ago
> I think ultimately we will (re) learn that constant naive appeals to the lowest common denominator, while a fast way to make a buck, might not be the best long-term strategy. That's the best case. The worst case is we've brok
923.
▲
by
pedrocr
8y ago
I was aware of those. I meant memory compression within the CPU core itself before going into cache, to match what the OP was describing.
924.
▲
by
pedrocr
8y ago
What you're describing only gives you half the benefit of x32. For the code you write yourself you can compile it in 32bit only mode and do those tricks. But for everything that's from a library you're using 64bit code and no
925.
▲
by
pedrocr
8y ago
The CPU caches are caching normal memory pages. From the point of view of the CPU it doesn't know if what it's caching is a pointer or just any other random 64bit number until the code actually does anything with the cache. What y
926.
▲
by
pedrocr
8y ago
> If you need the address space, then use 64-bit. Well obviously, but you asked for the use case. I was replying to someone saying x32 should be used everywhere 2G of RAM is enough. And I was pointing out there were other reasons 64bit w
927.
▲
by
pedrocr
8y ago
> Why do you think having the pointers be 64-bit instead of 32-bit help if the program isn't using more than 2G? The program isn't using more than 2G of RAM it just mmap()s more than 2G of files and so needs enough address spac
928.
▲
by
pedrocr
8y ago
The use case I'm thinking of is not random access over large files. It's using lots of very small files mmap()'ed so that you get the Linux VM helping you run an efficient cache. I've run across this with thumbnail cache
929.
▲
by
pedrocr
8y ago
> What do you mean by "loss in caching and other optimizations"? The most common use case is to just mmap() a bunch of cache files and just fully outsource the cache hierarchy of those to the Linux VM subsystem which will do a
930.
▲
by
pedrocr
8y ago
A 13% speedup in the critical sections seems much too low to pay for the loss in caching and other optimizations from the 64bit address space. But I'm considering general purpose applications where the critical sections are not run 100
More ›