Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
BruceIV
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
BruceIV
12y ago
This. At least in a representative democracy the ideologues with the huge media reach are generally not the same people who are actually making the laws.
32.
▲
by
BruceIV
12y ago
I've been working on a derivative parsing algorithm for PEGs; it only uses memory proportional to the amount of backtracking and grammar nesting (i.e. about the same as recursive descent), but still gives a polynomial worst-case bound
33.
▲
by
BruceIV
12y ago
I've been working on a new PEG parsing algorithm, and though my first crack at it was way too slow and I still haven't finished debugging the second version, I was able to show that packrat parsing had about a 40% runtime hit over
34.
▲
by
BruceIV
12y ago
Looks useful; I just symlink into a folder on my dropbox, which accomplishes much the same thing with about the same effort.
35.
▲
by
BruceIV
12y ago
I'm not a Rubyist, but isn't overloading operators to do things completely unrelated to their normal semantics (like most of the examples here) generally a terrible thing to do?
36.
▲
by
BruceIV
12y ago
There's an RFC for try/catch: https://github.com/glaebhoerl/rfcs/blob/trait-based-exceptio...
37.
▲
by
BruceIV
12y ago
Check out the RFC linked from the article for some thoughts on that: https://github.com/glaebhoerl/rfcs/blob/trait-based-exceptio...
38.
▲
by
BruceIV
12y ago
The Rust RFC[1] linked in the article is also super neat; it looks basically like a way to build a checked-exceptions like syntax in a way that meshes naturally with Rust's existing semantics and types, as well as the ? operator presen
39.
▲
by
BruceIV
12y ago
I have a similar experience; my wife and I spent about $4000 on our wedding,and had about 150 guests, and it was a perfectly lovely (if not particularly fancy) ceremony. We got sandwichs, cheese & crackers, and fruit trays (plus some ba
40.
▲
by
BruceIV
12y ago
I thought the only really legitimate gripe he had was the non-standardized interpretation of the edge cases, and once we get a number of decent CommonMark implmentations / refinements to the spec, we should be able to handle those fair
41.
▲
by
BruceIV
12y ago
So, I skimmed a couple of the example "Sways we love", and I have to say, all the whizzy animations just make me think of all those horrible PowerPoint presentations anyone just learning does. I don't find the addition of fla
42.
▲
by
BruceIV
12y ago
I can't seem to find the link again, but I think I read a Microsoft blog post somewhere saying that that name was already taken (by a Mr. Gates, circa 1985).
43.
▲
by
BruceIV
12y ago
Rumors on the internet[1] suggest that Microsoft is moving to a more incremental update cadence, and, correspondingly, there will never be another major version release of Windows. If that's the case, I'd wager they didn't wa
44.
▲
by
BruceIV
12y ago
What happens if you want two different types of set? As-imports? (I've looked at Go, but not written in it.)
45.
▲
by
BruceIV
12y ago
Not everyone has the most recent versions of the compilers, either; my institution is still working on the upgrade path from Ubuntu 12.04 LTS to 14.04 LTS, so I had to get a modern gcc manually compiled to get proper C++11 support, because
46.
▲
by
BruceIV
12y ago
Yes, and the whole world thanks us for Nickelback and Justin Bieber.
47.
▲
by
BruceIV
12y ago
I find the assumption throughout the last few paragraphs that being a hobbyist is a masculine thing rather sexist, and not representative of reality.
48.
▲
by
BruceIV
12y ago
This is wonderful, I must do this, I keep hitting `q` instead of `:q` when I want to quit Vim, and it's a pain to get out of...
49.
▲
by
BruceIV
12y ago
Feedly. You need curation on the Internet, so HN is for the interesting stuff I haven't found yet, and Feedly is for sources with a high signal-to-noise ratio.
50.
▲
by
BruceIV
12y ago
C++11 is still C++ though. I've been writing pretty much exclusively C++11 for the last year, and, while they've added a lot of very nice features and I find it painful to go back to C++03, it's still a huge language with lot
51.
▲
by
BruceIV
12y ago
Did anyone else catch his Oscar the Grouch mug in the photo? I laughed.
52.
▲
by
BruceIV
12y ago
IIRC, lists and code blocks depend on indentation to decide where they begin/end, and I think what level they're at.
53.
▲
by
BruceIV
12y ago
TL;DR Packrat trades guaranteed linear memory usage for worst-case polynomial time; the worst-case almost never comes up in non-contrived input, so it's a reasonable implementation decision to go with the less memory-hungry naive imple
54.
▲
by
BruceIV
12y ago
That sucks; my experience in Canada is that the student/employee duality is usually spun to help us - hence, we're university employees in terms of labour protections, but as far as student loan repayment and income tax goes, we&#
55.
▲
by
BruceIV
12y ago
I'm currently a computer science PhD student (in Canada). I love my job (and the freedom and flexibility it gives me), and my funding is good enough that I have a comfortable living situation, but I (and most of my colleagues) could do
56.
▲
by
BruceIV
12y ago
In computer science, the later approachability comes from people finding ways to use the work, and eventually we get to the point where the people using the work aren't specialists anymore (one of my professors used to say that if you&
57.
▲
by
BruceIV
12y ago
I visited the Tate modern art museum in London while on vacation this summer, and left bothered by the idea of modern art. I could put a collection of furnace ducts in a corner, or hang a mirror on the wall, or bedazzle an internal combusti
58.
▲
by
BruceIV
12y ago
Agreed. I think a better solution to the article author's problem would be to treat 'programming' education (which is not the same thing as computer science) like a skilled trade like carpentry or plumbing, and intersperse
59.
▲
by
BruceIV
12y ago
Neat trick; it shouldn't be hard to make the Option method return a closure that reverses all the options, not just the last one.
60.
▲
What would Donald Knuth do? [humour]
(johndcook.com)
7 points
by
BruceIV
12y ago
|
0 comments
More ›