Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
solarexplorer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
solarexplorer
5y ago
To check with your passport/id card that this is your QR code and not someone else’s…
32.
▲
by
solarexplorer
5y ago
Did you know about HAKMEM 169? I guess it was/is not widely known since many people mention lookup tables as the only fast alternative to the popcnt instruction. http://www.hakmem.org/#item169
33.
▲
by
solarexplorer
5y ago
Because doing so would require twice the cache and execution bandwidth. It is usually better to take the gamble and fetch just one branch. If you don't want to gamble you could stop the current thread and continue with the execution of
34.
▲
by
solarexplorer
5y ago
If you care about performance and the number of if's you should look into profile guided optimization. This can help the compiler to arrange the code such that branches like the "if (debug)" in the example, are never taken an
35.
▲
by
solarexplorer
6y ago
This did happen a year ago https://elpais.com/politica/2019/12/13/actualidad/1576232797...
36.
▲
by
solarexplorer
6y ago
Very nice, could this be used in Apple's ecosystem? (which is based on reference counting as well?)
37.
▲
by
solarexplorer
6y ago
Well, if you don't care about security, you can always put the setuid bit on the binary (I suppose that would work?). I agree that the situation is not ideal, but at least you can run it on your own computer if you actually want to...
38.
▲
by
solarexplorer
6y ago
I think this entitlement controls only the ability if you are not running as root. That makes perfect sense, because you don't want random user processes to be able to sniff your network traffic... > A Boolean that indicates whether
39.
▲
by
solarexplorer
6y ago
It is not the same to know something from a book or tv and experiencing it in first person. * Just ask any person from east Germany who went to the west after the wall came down. Even though they knew it all from tv etc, actually being ther
40.
▲
by
solarexplorer
6y ago
> Better be running linux on a Mac mini somewhere. At least we could use Docker! ..and get actually reproducible builds...
41.
▲
by
solarexplorer
6y ago
In case you never tried this: pressing [control] + [command] + [space] will open an emoji picker in most (all?) places in macOS.
42.
▲
by
solarexplorer
6y ago
There is also https://tuist.io
43.
▲
by
solarexplorer
7y ago
Even trees in small parks don't appear. I think the map lists only trees near streets.
44.
▲
by
solarexplorer
7y ago
...or a backslash.
45.
▲
by
solarexplorer
7y ago
Well, actually they did try a few times. Itanic and the Intel iAPX 432 come to mind...
46.
▲
by
solarexplorer
7y ago
Often you can offload the business logic to the backend. That way you don’t have to implement it multiple times for each platform and you can change it “immediately” even if users don’t update their apps.
47.
▲
by
solarexplorer
8y ago
ARM was founded as a joint venture of Apple and VLSI. And Apple was the very first client and used an ARM processor in the Newton—the grandfather of the iPhone. So it makes a lot of sense to describe the ARM1 as an ancestor of the iphone’s
48.
▲
by
solarexplorer
8y ago
Exactly. UITableView is a good example of how _not_ to do things.
49.
▲
by
solarexplorer
8y ago
There is one already: SourceKit http://www.jpsim.com/uncovering-sourcekit/
50.
▲
by
solarexplorer
10y ago
Always a good read: David Goldberg: What Every Computer Scientist Should Know About Floating-Point Arithmetic (1991) https://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.h...
51.
▲
by
solarexplorer
10y ago
The advantage of a feedback form is that the developer can come back to you with suggestions, ask you for details to reproduce a bug, etc. If you just go to the App Store and leave a (negative) review, there is no way for the developer to c
52.
▲
by
solarexplorer
10y ago
Something that the author seems to be missing is that traditional complexity analysis (with mathematical proofs etc) is done for Turing Machines which have one-dimensional memory (an abstract tape), and reachable memory is linear with time.
53.
▲
by
solarexplorer
11y ago
The point is that in a synchronous design the delays have to be multiples of a clock cycle. Whenever a latency is not an exact multiple, the circuit is idle. And clock cycles can not be aribtrarily short because of the overhead for latching
54.
▲
by
solarexplorer
11y ago
You need two additional (micro)instructions, a store and a load. Store forwarding will save you from going to the cache and back, but it won't be as fast a register forwarding.
55.
▲
by
solarexplorer
11y ago
No, it's not true. Even if L1 accesses were only 1 cycle, they would be slower. The CPU will try to execute instructions out-of-order and needs to detect dependencies and possible conflicts between instructions. This is easy with regis
56.
▲
by
solarexplorer
11y ago
There is no need to jailbreak anything. Just download the apps with iTunes, unzip the ipa, and voila... you can do all the static analyzing you want.
57.
▲
by
solarexplorer
11y ago
3.3 microseconds latency for the flash at the memory bus are about 11,000 cycles latency @ 3.3GHz. That is quite a lot compared to a normal DDR latency of about 150 cycles. Of course it's much better than 100 microseconds or about 330,
58.
▲
by
solarexplorer
11y ago
Better than SSD but much slower than DDR memory. You could use the flash memory as cache and access it within the page fault handler at block level. That would make sense because the flash latency is much larger than the overhead of a page
59.
▲
by
solarexplorer
11y ago
It would be nice to see how their DDR interface compares to their earlier block level implementation. A memory module with latencies that are an order of magnitude greater than a pagefault seems a strange idea. Especially when the memory in
60.
▲
by
solarexplorer
11y ago
If I understand correctly they combine a standard X86 processor with two FPGAs. One FPGA runs a custom CPU called MAP and the other manages the communication between the two CPUs, memory and other boards/peripherals. The develoment sys
More ›