Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mattdw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
mattdw
12y ago
Which was where Twitter had to go in their first major refactor, as well. Originally timeline views would be built on-demand, but that approach proved unscalable very quickly, so they moved to preemptively building timelines by copying twee
62.
▲
by
mattdw
12y ago
Yes and no. Yes, violent stranger rape is a tiny percentage of rapes, but the communication thing is (according to a study by Lisak) largely a post-hoc rationalisation; at the time communication is actually quite clear, but because of this
63.
▲
by
mattdw
12y ago
I disagree, because it's (far) easier to soft-wrap QP long lines than it is to unwrap hard-wrapped short lines. Hard-wrapping essentially causes a loss of information, by not distinguishing between user-inserted and program-inserted ne
64.
▲
by
mattdw
12y ago
I've only ever used GCed (and largely dynamic) languages up until now (Python, JS and Clojure primarily); C is alien and C++ is frankly terrifying. With all that, I've been having a ball using Rust to solve Project Euler problems,
65.
▲
by
mattdw
12y ago
As far as I'm aware there's two approaches (often both used at once) in modern GUI systems that mitigate this. One is an explicit event loop, which can be locked up by user code but not normally by routine events, and the other ap
66.
▲
by
mattdw
12y ago
can't throw exceptions that the caller can catch. If an exception falls in the forest, and there's no one there to catch it…
67.
▲
by
mattdw
12y ago
> Unless the "encrypted data" is simply being stored on that server, and not used, this seems like a hopeful statement to make. If a server process is accessing it, then it must have the key, at the very least, in memory (which
68.
▲
by
mattdw
12y ago
I feel like there should be a more efficient way to store these things. You have a complete enumeration of possible inputs (passwords), but unfortunately we need to go in the opposite direction, so we couldn't just index into a n*9 byt
69.
▲
by
mattdw
13y ago
My issue with this is that, quite aside from my lack of understanding of what's going on, the author is constantly professing their lack of understanding of the underlying details. > I still don't know a thing about what F o
70.
▲
by
mattdw
13y ago
option-8 on my mac keyboard is •.
71.
▲
by
mattdw
13y ago
Compensation also takes into account the joy the job provides, some jobs are relatively pleasant and thus pay less than some that are much worse. That's not generally my observation of the world. No-skill-required jobs pay less, skil
72.
▲
by
mattdw
13y ago
An alternative to fixing prices would be just to compete. The government could start building its own housing, recouping the costs straight back from UBI rents, and simultaneously holding privately-owned market prices to a more reasonable l
73.
▲
by
mattdw
13y ago
The idea of a basic income is still sci-fi. That's untrue. Switzerland is having a national referendum on whether to offer one, and stipends from oil or casino money, while not enough to live on at this point, already exist in a few
74.
▲
by
mattdw
13y ago
> A world in which a healthy adult has the reasonable expectation of earning a decent living while working full-time at a market wage is absolutely a world in which the dignity of work is a useful social value to cultivate. In a world i
75.
▲
by
mattdw
13y ago
(it's lucky that all of the letters in "alert" can be found in "true" and "false", although "undefined", "NaN" and "[object Object]" could probably be used too.)
76.
▲
by
mattdw
13y ago
If he can get a reference to the window or 'this' at any point (which I haven't yet figured out), he can presumably use his string-building tricks to build the string "alert", then use: window["alert"
77.
▲
by
mattdw
13y ago
It's actually understandable, just tedious. Lot of dynamic typing/casting tricks. First, we set var '$' to bitwise NOT of [], which is -1 ([] casts to 0 or false depending on the operator): $ = ~[]; Then we re-
78.
▲
by
mattdw
13y ago
I quite like this idea. A lot of toolkits already allow a widget to specify a "preferred size." I wonder if a simpler approach to your idea would be similar to e.g. the Accept-Content-Type HTTP header; a widget lists a series of p
79.
▲
by
mattdw
13y ago
UUID "contained in the work" would be troublesome in many mediums (music recordings, film, paintings, for instance). Perhaps "travels with the work" would be manageable though. And it's worth considering that every
80.
▲
by
mattdw
13y ago
Not to mention that it's just repeating whatever myths Wikipedia has picked up, like the connection of Javascript to Scheme. A more rigorously curated graph would be very interesting.
81.
▲
by
mattdw
13y ago
Does it still chop after it's had an extra 30 seconds or so to load? It lets you start scrolling before it's fully loaded, but unfortunately the backfill-loading causes the scrolling to go choppy.
82.
▲
by
mattdw
13y ago
We show lower res while scrolling, load in high-res when stopped. All text, overlays etc are HTML which track frame-by-frame. Assume all the usual tensions between designers and developers :).
83.
▲
by
mattdw
13y ago
Related is Dijkstra explaining the pros and cons of different styles of indexing and slicing: http://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EW...
84.
▲
by
mattdw
13y ago
As he expands on it later, it was a deliberate choice of gendered pronoun given (a) no particular need for it and (b) a perfectly acceptable alternative being provided. Additional context is that Ben not only rejected the PR, but then rever
85.
▲
by
mattdw
13y ago
It looks mainly to be pitched as an alternative to Grunt, the current main (I think?) Node.js build tool. And its primary feature seems to be that you don't have to figure out where your intermediate build products go. Beyond that, who
86.
▲
by
mattdw
13y ago
That was my first lesson in validating any external input. Learned the hard way, in my first six months of building websites professionally. Happily, the hosting provider put me onto a helpful tech guy who walked me through what I'd do
87.
▲
by
mattdw
13y ago
> The first time I saw CoffeeScript I immediately realized, oh, fuck yes, this is obviously better, and switched over to it immediately. I was productive with it instantly. Which is fine for you. But I tried it for a project then ditched
88.
▲
by
mattdw
13y ago
Hell, Abu Ghraib was just bad apples, officially, and said apples were punished. So it would have been entirely possible to go to war in its wake without expecting to participate in its like. After all, officially (from the outside), it was
89.
▲
by
mattdw
13y ago
haha, I'm seeing #blockedbypaul beginning to spread around the tweets. Apparently you're not the only one.
90.
▲
by
mattdw
13y ago
(The companion bill to the GCSB bill, the TICS bill, mandates backdoors/"interception capabilities" for the GCSB in any network or "over the top" systems, which appears to include foreign cloud services. No one is
More ›