Better HN
topnewbestaskshowjobs
Log inSign up

SimHacker

914 karma · joined Sep 12, 2010 (16y ago) · 607 submissions

Submissions

comment 13y ago · link · parent

Good thing TCP/IP legalized same-sex connections. NCP was not so open minded.

The old NCP networking protocol required that connect and listen sockets must have different parity gender (one even, the other odd -- I can't remember which was which, or if it mattered -- they just had to be different). The act of trying to connect an even socket to another even socket, or an odd socket to another odd socket, was called "homosocketuality", and it was strictly forbidden by internet protocols, and was called the "Anita Bryant feature".

http://www.saildart.org/IMPSER.DOC[SS,SYS][1]

Illegal gender in RFC, host hhh/iii, link 0

The host is trying to engage us in homosocketuality. Since this is against the laws of God and ARPA, we naturally refuse to consent to it.

http://www.saildart.org/FTP.OLD[S,NET]1[2]

    ; Try to initiate connection

    loginj:
            init log,17
            sixbit /IMP/
            0
            jrst noinit
            setzm conecb
            setom conecb+lsloc
            move ac3,hostno
            movem ac3,conecb+hloc
            setom conecb+wfloc
            movei ac3,40
            movem ac3,conecb+bsloc
            move ac3,consck
            trnn ac3,1
                jrst gayskt            ; only heterosocketuals can win!
             movem ac3,conecb+fsloc
             mtape log,[
                   =15
                    byte (6) 2,24,0,7,7
                         ]          ; Time out CLS, RFNM, RFC, and INPut

    [...]

    gayskt:    outstr [asciz/Homosocketuality is prohibited (the Anita Bryant feature)

    /]

        ife rsexec,<jrst rstart;>exit       1,
(The code above adds the connect and listen socket numbers together, which results in bit 0 being 0 if they are the same gender, then TRNN is "test bits right, no change, skip if non zero", which skips the next instruction (jrst gayskt) if they different sex.)

comment 13y ago · link · parent

But I thought "* Considered Harmful" was considered harmful?

comment 13y ago · link · parent

No, actually, it looks like YOUR credibility was shot down pretty well here on HN 13 hours ago. Or do you always write in light gray text, not provide references, misunderstand earlier postings, and not answer direct questions? (Not that I expect an answer...)

comment 13y ago · link · parent

The Guardian Blocked By The Army After NSA Stories http://www.huffingtonpost.com/2013/06/28/army-blocks-the-gua...

Army Blocks Entire Guardian Website For Troops In Middle East And Asia http://www.huffingtonpost.com/2013/07/02/army-guardian-block...

Why a Government That Collects Everyone's Private Data Won't Let Its Employees Access Public Information http://reason.com/blog/2013/06/28/why-a-government-that-coll...

Ban on federal staff reading WikiLeaks hampering work, says US official http://www.theguardian.com/world/2010/dec/10/us-ban-staff-wi...

US air force backtracks over WikiLeaks ban http://www.theguardian.com/world/2011/feb/08/us-air-force-wi...

comment 13y ago · link · parent

Probably just some NSA agent logged into your account.

comment 13y ago · link · parent

The end of "Total Recall" ruined "Total Recall".

comment 13y ago · link · parent

The Novix Forth chip? ;) https://www.ece.cmu.edu/~koopman/stack_computers/sec4_4.html

comment 13y ago · link · parent

LuaJIT would like to have a word with JVM.

Plus, Lua isn't controlled by a creepy asshole who thinks the NSA is essential and says stupid shit like "Who's ever heard of government misusing information?"

comment 13y ago · link · parent

If Perl is so great at getting shit done, then maybe they should have written Perl 6 in Perl 5, then they might have gotten shit done in less than a decade.

comment 13y ago · link · parent

More like "Syntactic Olestra".

comment 13y ago · link · parent

It's not that nobody ever thought of simplifying the DOM like that before. It's that the people who thought through it realized it was a bad idea, and the people who had to use APIs like E4X designed by people who didn't think through it also realized it was a bad idea. Don't blur the distinction between lists of nodes and nodes. It just moves the complexity around to where it's not expected, it doesn't eliminate it.

comment 13y ago · link · parent

You're trying to oversimplify something that's just not that simple. When you project something down to a lower number of dimensions, you lose something. In this case, you lose determinism. Your code can break depending on the input. E4X tried to do that (blurring the distinction between XML and XMLNode), and failed. It might look good in oversimplified examples on blog posting, but it's a trap waiting to be sprung when used with real world data.

comment 13y ago · link · parent

Reminds me of the regrettable mistake that was E4X. I used it when developing TomTom Home on xulrunner, and its helpful "blurring" of XML and XMLList was no help at all, a misguided attempt to oversimplify something that just ain't that simple. I couldn't believe they designed it that way on purpose. It made JavaScript seem more like PHP.

http://www.morearty.com/blog/2007/03/13/common-e4x-pitfalls/

5. E4X intentionally blurs the distinction between XML and XMLList

When you begin to learn E4X, you learn that there are two main data types, XML and XMLList. That seems simple enough. But then after a while, you start to notice places where it seems like the “wrong” type is being used, or where impossible things are happening.

var mydocument = <root> <rabbit name="Brownster Johansson McGee" /> </root>;

// 'mydocument.rabbit' means to get a list of ALL <rabbit> // nodes, so myPetRabbit must be an XMLList, right? But // I'll call my variable 'myPetRabbit', not 'myPetRabbits', // because I happen to know that I have only one pet // rabbit.

var myPetRabbit:XMLList = mydocument.rabbit;

// What's her name? Hey wait a minute, "her" name? // Why does this next line work? Isn't myPetRabbit an XMLList? // What does it mean to get an attribute of a list??

trace(myPetRabbit.@name);

The reason this works is that E4X intentionally blurs the distinction between XML and XMLList. Any XMLList that contains exactly one element can be treated as if it were an XML. (Furthermore, in this example, even if ‘myPetRabbit’ held a list of more than one node, myPetRabbit.@name is still a legal expression; it simply returns a list of all “name” attribute nodes of all of those elements.)

In fact, if you search the E4X spec (PDF) for “blur”, you will find 15 usages of the phrase “… intentionally blurs the distinction between….”

For example, another place where this blurring is evident is in the behavior of XMLList.toString(). As the Flex docs say:

If the XML object has simple content, toString() returns the string contents of the XML object with the following stripped out: the start tag, attributes, namespace declarations, and end tag.

If the XML object has complex content, toString() returns an XML encoded string representing the entire XML object, including the start tag, attributes, namespace declarations, and end tag.

So if an XMLList contains <node>hello</node>, then toString() will return "hello"; but if the list contains <node>hello</node><node>goodbye</node>, then toString() will return "<node>hello</node><node>goodbye</node>" (not "hellogoodbye"). Presumably this decision was made in an effort to achieve “do what I mean” behavior, where the output would match what developers most often intended; but personally I find it a little confusing. If you really need the full XML version of an XMLList that contains simple content, use toXMLString() instead of toString().

comment 13y ago · link · parent

People whose only use case is an extremely simple demo example in a blog posting?

comment 13y ago · link · parent

Agreed. That leads to madness.

comment 13y ago · link · parent

The cool way to implement the BLINK tag in HTML5 is to run an Apple ][ emulator written in JavaScript, and use AppleSoft's FLASH command.

http://www.calormen.com/applesoft/index.htm

5 FLASH

10 PRINT "HELLO WORLD"

comment 13y ago · link · parent

At least we can trust the node developers not to check in untested code that breaks crypt.

comment 13y ago · link · parent

Didn't UserLand make Frontier? (It's a Dave Winer joke -- ha ha!)

comment 13y ago · link · parent

I beg to differ. It was just necessarily passive-aggressive enough. On the dot.

comment 13y ago · link · parent

They traded it in for two 2nd Amendments.

comment 13y ago · link · parent

Are they still selling misogynistic t-shirts?

http://geekfeminism.wikia.com/wiki/Perl_is_my_bitch

It's so telling how Randal Schwartz, purveyor of hooters booth babes and publisher of "amihooternot", chimes in about how it's bad because it gives Perl an image of being the tool of "teen perl hacker misogynist guys," and that's harder to sell to Corporate America. Yet it doesn't even occur to him to mention that it's also bad because it's WRONG and disrespectful to women and offensive to people who aren't sexist.

The Perl community certainly has a long standing and well earned reputation of being "teen perl hacker misogynist guys," that drives away both women and Corporate America.

See also:

http://geekfeminism.wikia.com/wiki/Randal_Schwartz

http://geekfeminism.wikia.com/wiki/Stonehenge_OSCON_parties

http://geekfeminism.wikia.com/wiki/Acme::Playmate_talk

http://www.stonehenge.com/merlyn/WebTechniques/col59.html

comment 13y ago · link · parent

Well you should just use Common Lisp if you want an object system like Common Lisp's. It comes without all the baggage and duct tape of Perl.

comment 13y ago · link · parent

Good luck finding any decent Perl programmers to hire. And if you do find them, good luck paying their exorbitant hazard pay and keeping them happy enough to stick around. And then after they leave, good luck finding more Perl programmers to willing to clean up the unmaintainable mess they left behind.

comment 13y ago · link · parent

What is the point wasting any time on Perl 6, given it's undeniably unambiguously spectacularly awful track record, and the fact that there are so many other wonderful and better languages available to spend your time learning. There's nothing in Perl 6 that makes it any more powerful (and definitely not any more easy to learn and use and maintain) than any other language. There are no jobs programming Perl 6, and there never will be.

comment 13y ago · link · parent

Flash is dead. Adobe proved they weren't serious about flash when they announced licensing restrictions, 9% "revenue sharing" and hoops you have to jump through in order to use the "premium" 3d stuff. They eventually changed their mind about the 9% revenue tax after developers revolted, but the damage was done now that everyone knows they'd even think of doing something like that. And they drove the nail in the coffin (which Steve Jobs supplied), when they gave up on Flash for mobile.

http://www.forbes.com/sites/ericsavitz/2011/11/09/adobe-to-s...

"Flash Player 11.1 is the last release of the Flash Player plug-in for mobile browsers. Adobe will not add support for new mobile device configurations (chipset, browser, OS version, etc.). Adobe will continue to provide critical bug fixes and security updates for existing device configurations through September 2013, and will also allow our source-code licensees to continue working on and releasing their own implementations." http://www.adobe.com/devnet/flashplatform/whitepapers/roadma...

There is no future for Flash. Adobe's all about HTML5 now, they don't give a shit about Flash any more, and neither should you.

Unity3D went to great efforts to support Flash, and now they're sunsetting it, for good reason:

Unity wrote on their blog: http://blogs.unity3d.com/2013/04/23/sunsetting-flash/

We don’t see Adobe being firmly committed to the future development of Flash. This is evidenced by the cancellation of Flash Player Next, the instability of recent Flash Player versions and by Adobe’s workforce moving on to work on other projects.

By introducing, and then abandoning, a revenue sharing model, Adobe eroded developers’ (and our) trust in Flash as a dependable, continuously improving platform.

Developers are moving away from Flash, and while Flash publishing has gotten little traction, our own Unity Web Player has seen unprecedented growth in recent months (now installed on over 200M computers and already installed by 1/3 of all Facebook gamers).

comment 13y ago · link · parent

"Uuuuhh..." should trigger the autocomplete menu.

comment 13y ago · link · parent

One of the rules of Forth was that you had to provide a standard pronunciation with the documentation of all your words, so you could speak Forth code over the phone. That was important when words consist of any sequence of characters or punctuation, delimited by spaces.

comment 13y ago · link · parent

Were people still excited about Perl in 2005??!

comment 13y ago · link · parent

Yea, Google Glass would be ideal for DoucheScript Brogramming. Everyone could listen to you reindent your code while you held up the line at Starbucks.

comment 13y ago · link · parent

You're not getting it through your head, or comprehending what I am saying, so you obviously have no experience as a professional software developer. Your software will have a lot more bugs in it, and is a lot more likely to corrupt your users' data, if the language you use conceals the problems from you during development and testing, and guesses at what you want. Go back and read what I wrote, and address those points instead of ignoring them. You are incorrect that it's better for a programming language to hide errors, guess what you meant, and silently corrupt data. You may think that it's convenient for you not to have to type the extra keystrokes to check for unexpected null pointers, but that is because you are a lazy programmer who would rather save time and cut corners than write reliable code.
1
91011
21