Better HN
topnewbestaskshowjobs
Log inSign up

SimHacker

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

Submissions

comment 12y ago · link · parent

It might date me, but my English teacher explained the passive voice, and its nefarious uses, by quoting Ronald Reagan on the Iran/Contra Scandal: "Mistakes were made."

comment 12y ago · link · parent

>Wayland exists to be legacy cruft that no one cares about anymore.

FTFY

comment 12y ago · link · parent

The ORIGINAL geniuses, because of course nobody ever thought of replacing X11 before, so all is left for you to do is to use your unbridled creativity to decide whether to call it X12 or Y1.

comment 12y ago · link · parent

Even H-POX??!

comment 12y ago · link · parent

Then you end up with "abstraction layer" like autoconf, and the "cure" is MUCH worse than the disease.

comment 12y ago · link · parent

Making the clipboard and drag-and-drop work between any two X11 programs running on the same server is a hell of a lot of work, and many times simply impossible. So why are your goals for sandboxing so impossibly high?

comment 12y ago · link · parent

Passive voice is also a bland, meek way to avoid using gendered pronouns. I much prefer using an active verb if I can think of one, and singular them.

I have a question for you: how can you be actively evasive -- care to demonstrate by not actually answering my question? ;)

comment 12y ago · link · parent

At least you didn't try to do that in bash! ;)

One suggestion though: If there are no command line parameters, then read a line from stdin, so you don't have to play the game of trying to properly escape all of your punctuation in the command line to get it into sys.argv[1:] without any corruption, and can just copy and paste it into stdin.

Hmm, that raises the question of what should happen if you pipe an entire shell script into it, like "./configure"? That might be considered a denial of service attack on explainshell.com.

comment 12y ago · link · parent

This is a wonderful idea and an upstanding social service, in the same vein of giving heroin addicts access to free clean needles, pure heroin, and a safe place to shoot up.

There is no perfect solution -- in the ideal world, everyone would use safe healthy programming languages, and nobody would be addicted to shell scripting.

But in the real world, many people still choose to use shell scripting as a quick and easy short term solution to their problems.

Like the unhealthy temptation to use regexps for parsing html, shell scripting just causes more problems, which snowball out of control until you have the dire situation we're in today, with a whole generation of urban hipsters who learned cargo-cult cut-n-paste shell scripting by typing "more ./configure".

So it's much better to treat shell scripting as a health problem rather than a criminal problem.

My only suggestion is that you should sponsor links to "recovery programs," where people can learn to solve their problems with safe healthy programming languages instead of shell scripts. For the popular rube-goldbergesque shell incantations, you could show how to accomplish the same thing more comprehensibly in Python, Ruby, JavaScript, Lisp, Forth, Mathematica, Quartz Composer, etc. ;)

comment 12y ago · link · parent

Looks like the rest of the screed is just copypasta, since in that part Walmart is spelled right. (Pardon my weasely use of the passive voice to avoid specifying the subject to the verb "to spell").

comment 12y ago · link · parent

I have a friend who worked down the hall from Bezos for five years after Amazon was founded. If there is anything in that book that states or implies that Bezos in an insane power hungry tyrant, then it's spot-on accurate. That creepy forced laugh of his you can experience in the 60 minutes interview should give it away.

He told me: Your reaction to the laugh is healthy. You should be scared of this guy. He can't get enough power. When I answered an online quiz "11 reasons your boss may be a psychopath" (or something like that) i gave him 10 1/2 out of 11.

comment 12y ago · link · parent

Their Doucheglasses for example.

comment 12y ago · link · parent

I know that FedEx (and probably USP) are both very interested in flying big unmanned autonomous vehicles (cargo planes) between airports.

comment 13y ago · link · parent

His views may be extreme, but they are extremely well thought out, well justified, and well argued (as long as you don't count user-friendly presentation and being nice to people as necessary requirements for arguing well). He's not wrong about what he says and believes, and he's extremely consistent about that, but his priorities are a lot different than most people's. And the world's a better place because of his influence on many less extreme people with different priorities. Plus he has a great sense of humor, if you don't let him get under your skin: http://www.art.net/~hopkins/Don/text/rms-vs-doctor.html

comment 13y ago · link · parent

I just uploaded a scan of the Copyleft (L) sticker that I mailed to RMS, which inspired him to use the term for free software. And I wrote up the story behind it: http://www.donhopkins.com/home/copyleft/

comment 13y ago · link · parent

What's wrong with fsck'ing servers?

comment 13y ago · link · parent

I recently found myself needing to use "with", and hating myself for it. Does anyone know a better way to do this in JavaScript?

    // Take an array of context dictionaries, and return a                                                                                      
    // function that evaluates a string in those contexts.                                                                                      
    // I fully realize how horrible this code is, and that                                                                                      
    // it only supports up to ten contexts. I feel terrible                                                                                     
    // about it, as I should, but I would feel even worse                                                                                       
    // if it were impossible to do this. But isn't there                                                                                        
    // a simpler way to do this is JavaScript? Maybe I                                                                                          
    // could use __proto__ inheritence, but I was hoping                                                                                        
    // to avoid.                                                                                                                                
    function evalInContextsFunction(_contexts) {
        var _contextCount = _contexts.length;
        if (_contextCount == 0) {
            return function evalInContexts(_text) {return eval(_text)};
        }
        with (_contexts[0] || {}) {
            if (_contextCount == 1) {
                return function evalInContexts(_text) {return eval(_text)};
            }
            with (_contexts[1] || {}) {
                if (_contextCount == 2) {
                    return function evalInContexts(_text) {return eval(_text)};
                }
[...and so on...]

comment 13y ago · link · parent

What breaks my heart when someone claims that JavaScript was inspired by Self, is how Self was all about the wonders of multiple inheritance and dynamically mutable parent slots. JavaScript totally missed the boat on that one, with only one prototype slot, and the only time you can set it is when you create the object with "new".

comment 13y ago · link · parent

I get it that your stack is 5 KVMs -- https://en.wikipedia.org/wiki/KVM_switch -- but what does "P" stand for? Are you a 5 KVM Person? Wow, impressive! Multitask much? ;)

comment 13y ago · link · parent

YOU EVIL SOFTWARE HOARDER!!!!

Ha ha, just joking. ;) I worked for UniPress too, on Emacs. There was a certain professional animosity between Stallman and UniPress. Stallman had a justifiable axe to grind against UniPress, which he expressed by calling UniPress "Evil Software Hoarders".

But between the individual people, it was more like the relationship between the cartoon sheepdog and the coyote, that was friendly and respectful after everyone had punched out of work.

Just after RMS's house had burned down, Mike "Emacs Hacker Boss" and I were wandering around a science fiction convention and ran into RMS (who is a fixture in the east coast SF con scene). Mike sincerely asked him, "Richard, I heard a terrible rumor that your house had burnt down. Is that true?" To which RMS replied without missing a beat, "Yes, but where you work, you must have heard about it in advance."

We all had a great laugh from that -- RMS is a very funny guy who's quick on his feet, with a sharp sense of humor! Just don't let him get under your skin, like when you post a baby announcement to a mailing list for arranging dinner get-togethers on the other side of the country than he lives: http://www.art.net/~hopkins/Don/text/rms-vs-doctor.html

Here's an old picture of JSOL, RMS, Liz and Mike, where RMS is holding a gerbil wrapped in duct tape, about to ask, "I don't know, why do you wrap gerbils in duct tape?" (Now you can ask google if you really want to know...) http://www.art.net/~hopkins/Don/images/jsol-rms-gerbil-liz-m...

comment 13y ago · link · parent

Drone assassinations and massive surveillance are currently legal. This means that some of the people involved in assassinating and spying are vicious political and military leaders. Why or why not would you start a company that provided services to them?

comment 13y ago · link · parent

Please don't use RMS and ESR in the same sentence. That's as bad as using Free Software and Open Source in the same sentence. ESR coined to term Open Source to attack RMS's definition of Free Software, and they are mortal enemies.

http://www.gnu.org/philosophy/open-source-misses-the-point.h...

Insofar as RMS considers Linus Torvalds a hacker or thinks anything positive about him, that would be because he made the Linux kernel GPL, not Open Source. RMS says of Torvalds: "Well, you can see that he is a person who doesn’t believe in freedom."

http://www.computerworld.com.au/article/195096/stallman_want...

http://ubuntuforums.org/showthread.php?t=1646814

http://www.efytimes.com/e1/fullnews.asp?edid=31990

http://www.freesoftwaremagazine.com/articles/unjustifiable_c...

comment 13y ago · link · parent

It was because they forgot to put an "e" between the "l" and the "r". For some strange reason, a lot of companies like spellr.com make that exact same mistake, and it always leads to failure.

comment 13y ago · link · parent

And only issue 140 shares.

comment 13y ago · link · parent

Like enabling ReiserFS??!

comment 13y ago · link · parent

Funny how Adobe used to be one of the major promotors and implementors of SVG (remember the Adobe SVG plug-in?) because it was their answer to Flash, and then immediately after they bought Macromedia, SVG instantly became the red-headed bastard stepchild living out back in the dog house. And now Adobe's all like "oh yeah, SVG, that's part of HTML5, and we totally support that!"

comment 13y ago · link · parent

I'll give you some more hints:

His company came out with a "secure" voice encryption product, and then a previously unknown anonymous hacker reviewed the product and its competitors, and wrote a suspiciously positive review of it, claiming it was the only one he couldn't break. His company then published a press release trumpeting the favorable review, right before a big mobile security conference.

A suspicious security researcher baited the anonymous hacker to post on his blog, and it turned out he was using an ip addressed registered to the security company whose product he'd written a favorable review about.

When confronted with proof, the founder of the security company denied astroturfing, denied knowing the hacker, and implausibly claimed the anonymous hacker must have been using his company's anonymous browsing service.

The same security company founder who spent three years in jail for phone phreaking, because he was convicting of hacking and defrauding profit. The same security company who stores their user's passwords in unhashed unsalted plain text encrypted with a key on their server. The same security company who resets their user's passwords with their email address. The same security company whose founder claims that "many customer do not wish their password to be reset each time they have a problem" justifies not hashing passwords, and resetting passwords to "convenient" email addresses. The same security company whose founder refuses to change his "unconventional" security policies after being confronted with these facts, and instead makes ridiculous excuses for his incompetence, and continues to betray the trust of his customers even after he's been confronted with it.

Can you figure out who it is now?

comment 13y ago · link · parent

Would you trust a computer security company who didn't hash the passwords of their users on their web site, and instead stored the plain text passwords encrypted in their database, with the keys to decrypt them on their server, because they claim that "Your data are encrypted on our server, if you request the password to be sent to you by email the system knows how to decrypt the information and it will send you the Email. This is for customer convenience as many customer do not wish their password to be reset each time they have a problem."

Would you trust a computer security company that when you reset your password on their web site, sent you a new password that was literally the same as your email address that you signed in with?

If this company sold closed source encryption software, would you trust that the software was competently written and did not have back doors, if the president of the company defended their actions of not hashing passwords, and of resetting passwords to their user's email addresses?

What if the president of that company had been prosecuted for computer crimes in the past, and had spend time in jail for it, because after he was first caught, he went right back to phone freaking again and got caught again?

Would you trust the president of the company, who is a convicted felon, who fraudulently made a lot of money by computer crime and got caught, but had most of the charges dropped and his sentence reduced, not to have made a deal with the government and promise to return their favor of giving him a more lenient sentence in exchange for certain favors in the future?

Can anyone guess who I'm referring to?

comment 13y ago · link · parent

OpenLaszlo has had this for years. It's a great idea that works well, but it's not original.

The OpenLaszlo implementation animates four shadowed corner chevrons that interpolate between the corners of the current widget to the corners of the next widget, so they are are not as obtrusive as animating a whole rectangle (drawing a bunch of rectangles over each other tends to look cluttered, while the corner chevrons are not as visually distracting), and they work well between differently sized widgets.

The OpenLaszlo animation is a bit slower than the animation shown in this demo, and I think the slower speed of OpenLaszlo's animation works better for drawing your eye between one widget and the other.

This demo seems to move faster than eye tracking speed, and the animation appears to skip or flicker, and it go too fast to follow, especially if the widgets are far apart.

1
789
21