Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
simscitizen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
simscitizen
6y ago
It's an elective course.
62.
▲
by
simscitizen
6y ago
Server push never made any sense anyway for most subresources. The server doesn't know about the state of the browser's cache, so using server push for a subresource could cause it to needlessly push a subresource that was already
63.
▲
by
simscitizen
6y ago
There is an Erlang plugin for IntelliJ which is...ok.
64.
▲
by
simscitizen
6y ago
Hot loading in Erlang is not magical. Here is an example. Let's say you want to redeploy some new code. In your deploy, you change some existing function foo in module A to call a new function bar in module B. If you do this, you'
65.
▲
by
simscitizen
6y ago
At WhatsApp we had a bunch of mnesia-backed services. I can't say that it was the best experience. Pretty much anything non-trivial, such as healing a cluster after a partition, or expanding a cluster, or cross-DC replication was a com
66.
▲
by
simscitizen
6y ago
They’re talking about WhatsApp.
67.
▲
by
simscitizen
7y ago
https://en.m.wikipedia.org/wiki/Worse_is_better And I happen to agree with it.
68.
▲
by
simscitizen
7y ago
What tablet do you have? My wife had a nearly top-spec X1 3rd gen tablet and the stylus lag is terrible compared to something like an iPad Pro with the pencil.
69.
▲
by
simscitizen
7y ago
Surprised that there wasn't any mention of Baumol's cost disease: https://en.wikipedia.org/wiki/Baumol%27s_cost_disease .
70.
▲
by
simscitizen
7y ago
Looks like I was wrong and it’s just the docs that are missing.
71.
▲
by
simscitizen
7y ago
Hermes compiles JS ahead of time to bytecode. The VM takes bytecode in as input, not source code. The ES5 vs. ES6 distinction doesn't matter as much as in other engines where the runtime takes source code as input, and as a result has
72.
▲
by
simscitizen
7y ago
The current open-source release doesn't have the component that glues the RN inspector with the Hermes debugger to make on-device debugging of Hermes bytecode work. But Hermes does contain a debugger interface, and making this flow thi
73.
▲
by
simscitizen
8y ago
Parallels Desktop Lite is available on the Mac App Store with all of its sandboxing restrictions because it uses Hypervisor.framework: https://itunes.apple.com/us/app/parallels-desktop-lite/id108...
74.
▲
by
simscitizen
9y ago
Cmd+Shift+G to bring up a go to location sheet.
75.
▲
by
simscitizen
10y ago
We created more than 5 indices per collection if necessary. But fundamentally some queries can't be indexed, and if you allow your customers to make unindexable queries, they'll run them. Think of queries with inequality as the pr
76.
▲
by
simscitizen
10y ago
Clash of Kings used Parse, not Clash of Clans.
77.
▲
by
simscitizen
10y ago
This is completely incorrect. I was at Apple working on iOS during this time period and helped implement and optimize many of those skeuomorphic UIs. Steve was a huge proponent of skeuomorphism. One example is the iPad Contacts app. Origi
78.
▲
by
simscitizen
10y ago
Your first misconception is that xnu (the OS X kernel) derives mainly from BSD. In actuality, it's based much more upon Mach than BSD. The BSD subsystem is largely implemented on top of Mach subsystem in the kernel (e.g. a BSD process
79.
▲
by
simscitizen
10y ago
iOS has always tried to simulate zero shutter lag: the camera continuously captures full-resolution images into a ring buffer, and the app goes back in the frame buffer to find the image that corresponds to when you pressed the shutter.
80.
▲
by
simscitizen
10y ago
"An Introduction to SQLite" by Richard Hipp (who wrote the library) is actually a pretty good intro on to how to build your own DB engine. https://www.youtube.com/watch?v=giAMt8Tj-84
81.
▲
by
simscitizen
10y ago
That is completely untrue. While the BSD syscalls are supported, Mach syscalls and Mach IPC are also heavily used, especially internally at Apple. Just one simple example: run "sample <process>" (where <process> is any
82.
▲
by
simscitizen
10y ago
The most popular HTTP library is libcurl, and it supports file URLs by default.
83.
▲
by
simscitizen
10y ago
That's a classic paper to read for an operating systems class. Generally in an advanced OS class you read papers and discuss them critically. The value is in the discussion. Here is an example syllabus from Stanford's CS240: http
84.
▲
by
simscitizen
10y ago
It absolutely can get expensive with lots of threads running. And you are also right that this code ends up making each thread reach a synchronization point. Luckily Objective-C is targeted towards clients which generally don't have a
85.
▲
by
simscitizen
10y ago
He's saying that the same team that developed LLVM, clang, and ARC (which most people think are good things for the Apple ecosystem) is also bringing you Swift. So you should feel good that the language is being developed by a team wit
86.
▲
by
simscitizen
10y ago
You can do a variant of this in userspace as well: https://github.com/opensource-apple/objc4/blob/master/runtim... Basically, issue a syscall that acquires the PC of all threads. When none of the PCs are
87.
▲
by
simscitizen
10y ago
Luckily Apple is sane enough to compile its core libraries with frame pointers, so unwinding is pretty trivial. See for yourself (this function is called by backtrace(3)): http://opensource.apple.com//source/Libc&#
88.
▲
by
simscitizen
11y ago
At Stanford, faculty are prohibited from proctoring. So there is no professor or grad student that sits in the exam hall with the students while they are taking the test: "The faculty on its part manifests its confidence in the honor o
89.
▲
by
simscitizen
11y ago
Because it's fundamentally different and more secure. Apple's model uses a public/private key pair: the private key never leaves your server and Apple doesn't know it. Apple only knows the public key, in the form of a ce
90.
▲
by
simscitizen
11y ago
The easiest way to deal with this is to add your sender ID to the app manifest, so Parse registers with both its sender ID and yours: https://parse.com/docs/android/guide#push-notifications-sett... This requires a
More ›