Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pshc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
541.
▲
by
pshc
12y ago
Oculus Rift and friends. VR needs extremely consistent latency and has very tight deadlines. Ideally, you render 90 FPS and never miss a frame. GC pauses are out of the question, so if you're going to use GC, you need to be real-time w
542.
▲
by
pshc
12y ago
I feel like GC is an evolutionary dead end. Too much indeterminism and action-at-a-distance. Rust and virtual reality are two clear indicators to me that we're exiting the age of GC; the opposition isn't just Apple anymore, though
543.
▲
by
pshc
12y ago
Tornado requires asynchronous I/O. Almost all of the existing I/O was done synchronously. Yeah.
544.
▲
by
pshc
12y ago
We currently use web.py + gevent to run our API where I work. It's really easy to work with since it's so tiny and simple, and since we only need JSON in and out for now, it's perfectly sufficient. Before web.py, we were on a
545.
▲
by
pshc
12y ago
When I look at that line, my brain sees its structure, the different layers... :) It is totally representable without restoring to plaintext. With good fundamentals (ADTs) and good UX (an editor that looks like a text editor but is so much
546.
▲
by
pshc
12y ago
The key to merging trees is that your editor generates the diff on the fly as you write—your editor's undo/redo stack and your version control system become one and the same. Every time you add, move, copy, switch out, or delete a
547.
▲
by
pshc
12y ago
Totally agree! Plaintext is an unnormalized form of program code, and working in it generates all sorts of artificial problems. I've started various pet projects to try to be able to edit the AST naturally, but haven't seen much s
548.
▲
by
pshc
12y ago
Oh! Taking that a step further, what if you mmap'd an empty file first, say 1MB of zeroes. Then, just start writing closures to it, one after another. When you hit 1MB, use mremap to add another 1MB. And just keep going! The pagefile w
549.
▲
by
pshc
12y ago
Authorities could also produce rogue clients that spam malicious messages--depends how resilient FireChat's protocol is and how well it filters noise (I might be talking FUD though as I haven't tried it). Moreover, there's no
550.
▲
by
pshc
12y ago
It's idiomatic in Rust, even: let result = { let b = foo(a); let mut c = b.see(); while (c) { c.frob(); } baz(c) };
551.
▲
by
pshc
12y ago
Kindlegen has worked great for me to convert ePubs to mobi, and it just takes a quick command line invocation.
552.
▲
by
pshc
12y ago
iOS doesn't swap like traditional OSes, although it does persist a small cache of metadata about running app instances. The file system is not particularly fast, though, so I could see low space conditions (that might trigger reclamati
553.
▲
by
pshc
12y ago
2010: People realize the folly of buffering input until the user hits a button and trying to parse it after the fact. They start integrating tokenizers and auto-complete right into the input method itself.
554.
▲
by
pshc
12y ago
The maxim "every tuneable parameter is a design weakness" applies for top-down design, but not so much for something as foundational as the IP layer. In the 70s, TCP's inventors imbued it with solid fundamentals, but could no
555.
▲
by
pshc
12y ago
Whoa, Graydon Hoare wrote Monotone? Mind blown! Huge blast of nostalgia: Back in the summer of 2006 when I was learning git for the first time (and leaving svn in the process), there was all this uncertainty in the community about which V
556.
▲
by
pshc
12y ago
I don't know why you're getting downvoted. Variance is terrible for games. We're at the cusp of a VR renaissance where frames are ideally rendered every 11ms (90fps), and VR is way broader than video games! STW is basically a
557.
▲
by
pshc
12y ago
Tangentially related: Check out the slow web movement :)
558.
▲
by
pshc
12y ago
Awesome! This has potential. Strongly typed ADT support would be nice, and it needs partial download/module boundaries to scale realistically. Imagine putting code AST in this DB, using reference-values for variable bindings and functi
559.
▲
by
pshc
12y ago
Using the backslash+parens for interpolation is really clever! No more ambiguity like when using % or {}. Is that a Swift original syntax?
560.
▲
by
pshc
12y ago
Frontend: Facebook React or Backbone, SCSS, plain old JS Backend: Python+gevent or node.js+connect+gulp, nginx, lots of UNIX plumbing Storage: redis, PostgreSQL, S3 Services: Linode or Heroku, CloudFront or CloudFlare, Stripe
561.
▲
by
pshc
13y ago
Damn, that's too bad. Oh well. It's a closed source dead end anyway. Time to dust off the old side project.
562.
▲
by
pshc
13y ago
When I say plaintext, I mean like a .c file--a bag of bytes that may or may not parse into the AST you intend. Modern editors dress plaintext up with syntax highlighting, auto-complete, folding, and such--the code has a veneer of structure-
563.
▲
by
pshc
13y ago
There's no way a proprietary environment can be the future of programming, but Wolfram does have the right ideas. Ctrl-F for "symbolic" in that page returns 14 results. The way I interpret it, they're aiming (rightly) to
564.
▲
by
pshc
13y ago
Thank you so much for Auto Layout, it's a godsend. I wish we could write websites in it instead of messing around trying to align things with the crappy box model. (I hear CSS3 has something like the Visual Format?) And imperative code
565.
▲
by
pshc
13y ago
Anyone heard any news on Google's user mode thread[1] kernel syscalls? I was really excited for that when it was announced but haven't heard a peep about it since. [1] http://youtube.com/watch?v=KXuZi9aeGTw
566.
▲
by
pshc
13y ago
Rust: Other languages have boundary issues -- action-at-a-distance is evil.
567.
▲
by
pshc
13y ago
the canonical representation is always the AST This is what a next-generation programming environment must have. Primarily, one manipulates AST nodes, projected visually into lines of code. But, to preserve the comfort and flexibility of
568.
▲
by
pshc
13y ago
Align all the blue lines inside each circle, hold shift and drag.
569.
▲
by
pshc
13y ago
Hey there fellow UW alumni! I'm trying to write a similar kind of structured code editor. We should team up.
570.
▲
by
pshc
13y ago
Yeah, we're stuck with plaintext currently. This is because every time someone tries to write a better non-textual language, they fall into the trap of writing a cute toy or flowcharty bullshit--not a robust tool that scales to real co
More ›