HN user

LeafStorm

3,533 karma
Posts28
Comments396
View on HN
phpmanualmasterpieces.tumblr.com 12y ago

Language Field Trip: IDL

LeafStorm
2pts0
speakerdeck.com 12y ago

Why Ruby isn't slow

LeafStorm
12pts3
peak5390.wordpress.com 13y ago

What really happened at PyCon 2013

LeafStorm
746pts104
www.djangoproject.com 13y ago

Goodbye, Malcolm

LeafStorm
671pts39
www.chesnok.com 13y ago

About high school computer science teachers

LeafStorm
4pts0
symfony.com 13y ago

Symfony 2.2.0 released

LeafStorm
1pts0
d0x3d.com 13y ago

d0x3d!: An Open-Source Network Security Board Game

LeafStorm
7pts0
jessenoller.com 13y ago

The Great Python.org Redesign

LeafStorm
200pts61
be5invis.github.com 13y ago

Moescript

LeafStorm
2pts0
docs.djangoproject.com 13y ago

Django's security policies

LeafStorm
4pts0
news.cnet.com 13y ago

Jonathan Schwartz: Oracle bungled its chance at mobile Java

LeafStorm
1pts0
www.grimrock.net 14y ago

Making of Grimrock: Rapid Programming

LeafStorm
6pts0
softwaremaniacs.org 14y ago

When to use decorators in Python

LeafStorm
3pts0
gist.github.com 14y ago

Redis Sentinel TILT mode

LeafStorm
1pts0
blog.linuxmint.com 14y ago

The mintBox, a Linux Mint computer

LeafStorm
185pts80
redis.io 14y ago

Redis Sentinel design draft

LeafStorm
2pts0
isharacomix.org 14y ago

NCTech4Good (on developers vs. users)

LeafStorm
1pts0
blogs.atlassian.com 14y ago

Git vs Mercurial: Why Git?

LeafStorm
19pts4
news.ycombinator.com 14y ago

Ask HN: Where to find computing literature in Spanish?

LeafStorm
1pts1
blogs.atlassian.com 14y ago

Mercurial vs Git: Why Mercurial?

LeafStorm
95pts84
blog.transloc.com 14y ago

A Productivity Hack for Teams - Quiet Hours

LeafStorm
1pts0
leafstorm.us 14y ago

A Message from Rep. Howard Coble about SOPA

LeafStorm
1pts0
leafstorm.us 14y ago

CSC 116 Critiqued

LeafStorm
2pts0
news.ycombinator.com 14y ago

Ask HN: Refresher course on (My)SQL?

LeafStorm
1pts1
www.inf.puc-rio.br 14y ago

LPEG: A Text Pattern-Matching Tool based on Parsing Expression Grammars

LeafStorm
1pts0
c.learncodethehardway.org 14y ago

Zed's Awesome Debug Macros

LeafStorm
11pts5
news.ycombinator.com 14y ago

Ask HN: What's your opinion on Shibboleth?

LeafStorm
7pts3
leafstorm.us 14y ago

My Plans to Quad-Boot a Macbook Pro

LeafStorm
2pts1

support unauthorized vulnerability attempts

That was probably just a random student who learned some fun stuff in Security class and slept through the Ethics lesson. I can't speak for UMich, but security research at my university (NC State) has a very strict "don't attack civilians" policy.

hosting a .com commercial site

First off, .com sites are not necessarily commercial. Second, this isn't a commercial site, it's an informational page about a recently discovered TLS vulnerability.

Light Table 0.7.0 12 years ago

If you don't want to support commercial plugins, then those companies have no legitimate usecase that would require avoiding the GPL.

I almost went down this route on a project once. As soon as I noticed myself writing an identity map, I slapped myself in the face and just downloaded Symfony.

It seems to me that the author's system was in an incredibly unstable state to begin with. He's running a Debian prerelease with an unsupported filesystem, that had gone without updates for months at a time. I have a hard time seeing how changing the init system would not cause problems in a setup like that.

Oddly enough, back when the cylindrical Mac Pro was first announced, a coworker and I discussed how exactly one would rack them. We came up with something very similar, but slightly asymmetric, and designed to hook into a standard 19" rack.

(This was prompted by the question of what Apple's Web site runs on if they don't make servers any more.)

Flashing reds are based entirely off of how long it takes an "average" person to cross. As a relatively tall young adult, I walk much faster than the "average," so I can frequently make it across by walking even if it's been flashing red for a few seconds. Furthermore, the "Don't Walk" sign becoming solid is timed to correspond to the yellow lights appearing for the parallel traffic, so the opposing traffic won't start moving for a few seconds after the "Don't Walk" signs appear.

(Disclaimer: This is based on Raleigh, NC's traffic lights. I don't know what level this is standardized at.)

My lightning talk - "Traversing the Montreal Métro with Python" - was accepted, and I'm super-excited!

But also I'm super-excited about the rest of the schedule. There are 36 talks that I'm really interested in seeing, and I don't think that's even physically possible. So I guess I have to decide which ones I'll have to settle for watching on pyvideo.org.

The "moderators on StackExchange" shot was good, but I really take offense to the "PyCon 2013" one. The reason stuff went wrong at that conference was because of the actions of one attendee, who specifically did not go through the process the conference organizers set up for dealing with reports of harassment.

Ah, the wonders of low-level assembly programming. I was a teaching assistant for an assembly course this semester at school, and one of the students was running a program in the debugger. (Specifically, Microsoft CodeView running in DOSBox.) F10, F10, F10, until she got to the load instruction that would fill the cx register. Press F10 again, and suddenly, the debugger shows "cx = DEAD."

She freaks out a bit, I freak out a lot. We're both worried that something really bad happened, then I realized that DEAD is actually a number in hex. I look through the data segment, and I see a AD DE in there (yay Intel byte reversal!).

I check through the code a bit, and even though it looks like the data segment is being initialized properly, it's still reading from the Program Segment Prefix. So, I find the Wikipedia article on the PSP and see that address 05h in the PSP has a cross-segment jump to CP/M compatibility code.

But, there's nothing at address DEAD (at least, nothing sensible). So I go searching through the DOSBox code for that string, and I find these lines:

    // far call to interrupt 0x21 - faked for bill & ted
    // lets hope nobody really uses this address
    sSave(sPSP,cpm_entry,RealMake(0xDEAD,0xFFFF));
As it turns out, because DOSBox doesn't implement CP/M compatibility, they simply made it jump to DEAD instead, just to make sure that if anyone tried running a CP/M program they would get the picture. And the assembler just happened to put the variable in the right place that the load pulled the DEAD instead of random nonsense.

I can only imagine the problems that can manifest when you're dealing directly with hardware, and don't have access to commented source code.

On the one hand, it seems ridiculous (absurd, perhaps) to fire someone over a pronoun -- but to characterize it that way would be a gross oversimplification: it's not the use of the gendered pronoun that's at issue (that's just sloppy), but rather the insistence that pronouns should in fact be gendered. To me, that insistence can only come from one place: that gender—specifically, masculinity—is inextricably linked to software, and that's not an attitude that Joyent tolerates.

They're not opposing the use of the word "he," they're opposing him saying "no, go away, I don't see any reason someone could take offense" when the issue was pointed out instead of "thanks for the patch."

He didn't quote Strunk & White to justify rejecting the patch, nor did he bring up the grammatical argument at all when reverting it. He just said "this is not worth spending time on" and closed the ticket. (And if it was truly not worth spending time on, he wouldn't have contramanded one of his fellow maintainers to revert the patch, then rewrite the repository's history to cover himself.)

I use Symfony at work. I would love to contribute some of the patches and helpers I have written to Symfony, or release them as an independent bundle, but (a) I'm the only programmer on the project so I don't really have time, and (b) my company doesn't really do OSS, so I would need to explain all this to our legal department before I could get authorization to release it.

This looks like a fairly well-designed format. My main concern is that this seems to have suddenly appeared out of nowhere and gone directly to RFC. (Presumably there was an Internet-Draft, but I have never seen anything about this before.)

Here's a point that gets forgotten in a lot of discussions of this issue:

We’re also underlining that our events are for over-18s, maybe even over-21s, by holding them in licensed premises. Most of us know students or even those who are working professionally in our field long before they are “adult.” Should they be excluded?

Can you draw brightly colored lines on roads for a bus map? I like to mess around analyzing bus routes, but so far I haven't been able to find a computer-based tool for drawing them effectively.

I like the implementation of the "Enum" class, especially the way they allow for enums with variant behavior and "abstract Enums" (something I could have used in Java recently).

But, ever since I found out about algebraic data types from other languages, I keep wanting those. There's not quite a good way to do those in Python. (I've used both "tuple subclass" and "__slots__," but both of those have their own little quirks.)

Hostnames 13 years ago

At ITECS, our Systems division uses practical names like engr-ras-201 for servers. However, we have a bit more fun with workstations. My machine was named "waytso." I asked my boss what it stood for once, and she said that after the machine that used to sit on that desk had died, Desktop Support sat down an old Dell Dimension to hold us over until they could get a newer machine ready.

It ended up taking a few months, and one day, they called her and said, "Hey, we're ready to image the new Webteam workstation. What should we set the hostname to?" "Waytso." "Waytso? What does that mean?" "Why Are You Taking SO long!?"

Two and a half years into my bachelor's, Sipser's Introduction to the Theory of Computation is the only computer science textbook I've had so far that I'd say I really found useful for anything beyond the homework problems, besides K.N. King's C Programming: A Modern Approach.

(To keep this on topic, my assembly instructor -- the legendary [to NC State students] Dana Lasher -- posts his course pack online. [1] It's a comprehensive introduction to computer architecture topics and original 8086 assembly programming.)

[1] http://courses.ncsu.edu/csc236/lec/001/cops.htm

For me, it just feels like instead of taking efforts to carefully design the language, they just picked the first thing that worked and froze it. And while I really like some features of the type system (such as interfaces, lambda/function types, multiple return values, and the "type switch"), the lack of overloading and generics does have some pretty serious effects on readability (especially when you have compiler-supported functions that do overloading and generics, but don't allow it in userland).

It also seems like the way they resolved a lot of issues in the surrounding tooling was to not decide. For example: how many spaces should we use? Screw it, we'll use hard tabs! How should we handle dependency loading and package management? Screw it, we'll hard-code the URL to our dependencies in the source code! How to handle dependency versions? Screw it, we won't!

It's not a horrible language (like shellscript), but I think they wasted a lot of opportunity to make something better.

Anecdata: I just wrote a PHP application where the HTML never touched the database at all. And I'm right now working on a Java application where the database is mixed into the HTML just like the worst of the worst PHP, except because it's Java all the code is two times longer.

Deployment, for one. sudo apt-get install Apache and PHP, then edit the Apache config to say, "use this directory." I love Django and Flask to pieces, but deploying a Python app is like building a hovercraft compared to PHP.

When I took Calculus III, Z was up. When I took Engineering Physics the same semester, Y was up.

According to legend, this is why the Math and Physics departments hate each other.

Besides the fact that some of these stickers are in fact useful for "serious work" (like "big red exclamation sign"), "serious work" isn't Trello's only target audience. And it's not like they took away the labels.

Meanwhile, I'm completely on board with this. Trello is used by a lot of people who make lots of money and want to throw some of it at Fog Creek because they're awesome, but it's also used by a lot of people who make not lots of money (in some cases zero money) and are organizing things like school projects and community service. (For example, I use Trello to organize all my homework, and a club I'm part of at school [with near-zero budget] used Trello to organize a big charity fundraising event.)

This lets the people who want to give Fog Creek money give them money, and get something in return, while letting people who can't afford to give Fog Creek money still use Trello for all the important stuff.

(Also, 250 MB file uploads are a legitimate feature worth paying for. Heck, even pretty backgrounds and stickers are an important feature for a lot of people, just maybe not HN-reading programmers.)