Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pshc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
631.
▲
by
pshc
15y ago
From Steve Yegge's most recent blog rant: Now, as it happens, I am in fact working on a very cool project at Google. [...] a project that aims to turn source code -- ALL source code -- from plain text into Wikipedia.
632.
▲
by
pshc
15y ago
Ought to black out all the headlines. Stand at the same level as Wikipedia and co. even if it's trivial to bypass.
633.
▲
by
pshc
15y ago
> At some point, you just have to shut up and make stuff. It does sound like she's ferociously productive. It's also possible that she could be ten times as productive and that C++ is holding her back. The programmer credo is to work
634.
▲
by
pshc
15y ago
* Dismissing newer technologies as "shiny" instead of evaluating their merits * Language hipsterism * Being disturbed by modular code * Dismissing high-level code that might have leaky abstractions * Plain CGI * Being turned off by callback
635.
▲
by
pshc
15y ago
Yes, they will coexist. Physical books will always exist just like film cameras and ham radio, for both nostalgia and timeless quality. Bookshelves have their virtual counterparts. Movies haven't killed books and video games haven't killed
636.
▲
by
pshc
15y ago
Javascript. Benefits: - Sharing code between client and server is a huge win - Less impedance mismatch glue code in general - V8 is really fast - Node.js makes me write everything streaming style which may reduce page latency Drawbacks: - J
637.
▲
by
pshc
15y ago
Agreed. Absolutely.
638.
▲
by
pshc
15y ago
:)
639.
▲
by
pshc
15y ago
Good post. Put my money where my mouth is. My replies in this thread all relate to the insights I've gained from a side project I've been picking at for four years now. But the editor is only one part of it which I've barely touched. I'll w
640.
▲
by
pshc
15y ago
Exactly, a usable structure editor is extremely difficult to write. The problems with Lisp are that your source code ends up flattened into plaintext in the end, and that identifiers and symbols must be resolved by string lookup; there is n
641.
▲
by
pshc
15y ago
An opaque image is the wrong idea, yes. A structure editor necessarily makes the structure easy to extract and manipulate, like git's tooling makes it easy to work with the git DAG. Think of code where every blob in the git DAG is one AST n
642.
▲
by
pshc
15y ago
It doesn't necessitate pure tree structure. The visuals are like conventional programming languages even if the underlying structure is tree-like. (Which is essentially the case anyway for any AST-based language.) Comments and other metadat
643.
▲
by
pshc
15y ago
S-expressions are still stored as text. Editing as structure is what IDEs do, but they serialize back to text in the end. This is the mistake. Smalltalk is closer to what I'm talking about. Code stored like git stores data, with hashes and
644.
▲
by
pshc
15y ago
While text editing interfaces could be more polished and modern--the underlying problem that causes your dissatisfaction is the text. Storing code as text is an evolutionary dead end. Storing code graphs in text requires the use of plaintex
645.
▲
by
pshc
15y ago
How does it compare with just using sets? Usually only a small fraction of your total userbase is online any given day, especially as dead accounts accumulate... wouldn't the bitmaps be inefficiently sparse?
646.
▲
by
pshc
15y ago
I was scraping with jQuery for a while but it felt like an awful lot of overhead. In the case of simpler scraping tasks that happen a lot I've actually gone back to nuts and bolts with HTML5[1]'s tokenizer and a custom state machine that on
647.
▲
by
pshc
15y ago
Thanks. I wish "JAW DROPPING" wasn't in the headline. It's a cheap way to bolster views while simultaneously boosting my expectations to unreasonable levels and making me want to be contrarian despite it being a beautiful video.
648.
▲
by
pshc
15y ago
>I often wondered whether people like Jobs have any ability to see themselves (and others) objectively, and whether that lack of ability [...] Couldn't it be the other way around? That he saw, as through looking at the Earth from space,
649.
▲
by
pshc
15y ago
Yeah, the article is just praise of the minimalist C style I guess. To elaborate, the actual problem with C is that you have to deal with ownership semantics manually. In languages with things like uniqueness typing or automatic reference c
650.
▲
by
pshc
15y ago
Some gorgeous work there on making a native code-structure editor rather than a text editor. But it's still text in the end. Baby steps!
651.
▲
by
pshc
15y ago
Thanks for the tip! But is method swizzling OK for the App Store these days?
652.
▲
by
pshc
15y ago
You can't bootstrap in a vacuum. For one, the baby will inherit the surrogate mother's bacterial line.
653.
▲
by
pshc
15y ago
The creator of DF has spoken out against the evils of these games. I can't find the link though. And yet: There is just so much depth in DF that if you can play it at all, there is always something interesting to do, build, explore... I've
654.
▲
by
pshc
15y ago
It's a troll article, but I'd like to point out that the "UNIX way" is alive and well in node.js. I spawn new processes to do heavy lifting (e.g. thumbnailing, hashing files) all the time. I put jobs into queues in redis and handle them in
655.
▲
by
pshc
15y ago
I'm hoping so. Well, here's how I interpret it: A structural (non-textual) environment that hosts code in a distributed graph. Less string schlepping and more semantic manipulation of data.
656.
▲
by
pshc
15y ago
This sounds a lot like my side project of three years and counting. I'm half-hoping it hasn't been in vain, and half-hoping they've done all the hard work for me. Steeeeeve!
657.
▲
by
pshc
15y ago
Wouldn't wearing wrist supports all the time atrophy your wrist muscles and make the problem worse later? I always hear that doing free weights solves this issue. He says he's strapped for time, but there's also the old "spend time being si
658.
▲
by
pshc
15y ago
A while ago I was toying with the idea of making a BitCoin<->SBUX automated exchanger for fun, since card transactions are free and could be automated relatively easily. Never did get around to it. Also, there's a rather large scamm
659.
▲
by
pshc
15y ago
>All diabetics could now measure their glucose levels without having to take a finger-prick All of my investment dollars. Take them.
660.
▲
by
pshc
15y ago
Alternatively, you could keep your tech job and just lurk on Less Wrong!
More ›