3,533 karma · joined Apr 11, 2011 (15y ago) · 425 submissions
comment 11y ago · link · parent
Rc: http://doc.rust-lang.org/stable/std/rc/struct.Rc.html
Arc: http://doc.rust-lang.org/stable/std/sync/struct.Arc.html
comment 11y ago · link · parent
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.
comment 12y ago · link · parent
comment 12y ago · link · parent
(This was prompted by the question of what Apple's Web site runs on if they don't make servers any more.)
comment 12y ago · link · parent
(Disclaimer: This is based on Raleigh, NC's traffic lights. I don't know what level this is standardized at.)
comment 12y ago · link · parent
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.
comment 12y ago · link · parent
comment 12y ago · link · parent
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.
comment 12y ago · link · parent
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."
comment 12y ago · link · parent
comment 13y ago · link · parent
17.
Language Field Trip: IDL(phpmanualmasterpieces.tumblr.com ↗)
2 points · by LeafStorm · 13y ago · discuss
comment 13y ago · link · parent
> 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?
comment 13y ago · link · parent
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.)
comment 13y ago · link · parent
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!?"
comment 13y ago · link · parent
(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.)
comment 13y ago · link · parent
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.
comment 13y ago · link · parent
I imagine a lot of these were purchased as "Hey! There's a .museum top-level domain! Let's buy it! ...You know, we should probably write this down somewhere."
comment 13y ago · link · parent
30.
Why Ruby isn't slow(speakerdeck.com ↗)
12 points · by LeafStorm · 13y ago · 3 comments