Better HN
topnewbestaskshowjobs
Log inSign up

eksith

5,196 karma · joined Dec 8, 2012 (13y ago) · 1,580 submissions

I should have been a carpenter

Twitter: @eksith

Email: reksith at google's email thingy.

Web: eksith.com | eksith.neocities.org

When engaging in a pointless argument on HN, please heed the following advice: https://news.ycombinator.com/item?id=5976026

Submissions

comment 13y ago · link · parent

That would have been standard 10 years ago, but these days, it's not very effective and, unfortunately, it's still a very common scheme. You're better off with:

  function rHash( $rounds, $data, $salt ) {
     $data = $data . $salt;
     while( $rounds > 0 ) {
        $data = hash( 'tiger160,4', $data );
        $rounds--;
     }
  }
And call $stored = rHash( ( registered month + year ), $password );

Or even the trusty old...

  $stored = crypt( $password, '$2y$14$' . $salt . '$' ); 

If you're on PHP > 5.4 ( some hosts are still on older versions ), you should check out password_hash() : http://php.net/manual/en/function.password-hash.php

Edit: Fixed some typos.

comment 13y ago · link · parent

We should all applaud David Cameron for supporting small businesses. Escort services have been in the dump lately due to the proliferation of free/cheap filth; this will finally give much needed boost to the local economy.

/sarc

I'm wondering if a sizable number of the public is brave enough to get their names into the opt-in as a virtual "I am Spartacus" and two fingers to Cameron.

comment 13y ago · link · parent

Which one would that be?

comment 13y ago · link · parent

I've yet to see a single, practical, simple end-to-end tutorial published for free (like the vast majority of the "rubbish" ones) that even uses SPL. Of course, I see snippets here and there of the iterator et al. But nothing comprehensive.

Forget a full on forum, if someone took the time to use best practices to build a MVC/P app as a reference, there would be plenty adopters. I don't mean something that "hides" work, I.E. A framework like Code Igniter. These just introduce more magic into code that doesn't actually teach the why and how.

comment 13y ago · link · parent

  My only suggestion for choosing technology would be to pick 
  lightweight things that are known to work and see a lot of 
  use outside your company, or else be prepared to become the 
  “primary contributor" to the project.
This should be put on a header for anyone considering the sexy new thing to come out, be it Node.js, MongoDB or the bazillion JS frameworks etc... Not saying you should avoid these altogether; just be prepared to iron your own wrinkles if you ever intend to become popular.

comment 13y ago · link · parent

Eh? How would you judge a man who put the world's first scripted interracial kiss in a series during the 60's?

The criticism wasn't about Roddenberry, but what's done to his work. A lot of fans know what kind of womanizer he was, I mean the guy had like 3-4 mistresses at a time. The vast majority of sexism in TOS was actually due to network execs who couldn't (wouldn't?) let certain things fly.

This was also a time where a female lead was nearly unheard of and a black one more so. This was a man ahead of his time, whatever his faults.

comment 13y ago · link · parent

I think this is very much a cultural problem within the PHP community. phpBB in particular is notorious for its unsustainable code and I think I figured out the reasons.

There are better ways of doing things (despite PHP's inherent warts) that some other projects have used quite successfully, and more importantly sustainably, but there's a very long history of doing things "because that's just the way it's always been done" and I don't see that changing anytime soon, I'm afraid.

I mean if you look at some of the tutorials out there, a lot of it is just appalling in terms of maintainability, efficiency and security (and that includes some very popular frameworks). There are a lot of cases where short-term, and often short-sighted, convenience trumps long-term goals.

848.

NASA Uses Sanskrit To Program Artificial Intelligence(psychedelicjunction.com ↗)

5 points · by eksith · 13y ago · 2 comments

comment 13y ago · link · parent

vB's biggest problem is that it's a horribly convoluted rat's nest. If you've ever seen the actual code, you can see why it's just not possible to lockdown everything since there's so much legacy code that would break as a result.

comment 13y ago · link · parent

That's awfully well laid out for a defacement page.

comment 13y ago · link · parent

Ditto! I had the most heated arguments with people who complained that tables "just worked". It didn't help that Photoshop was (is?) king and web slices split into table/tr/td backgrounds was the most common way to display fancier layouts.

I also think existing software played a large part in the proliferation of tables. E.G. WordPress/B2 and phpBB (as well as practically every other forum system) layouts at the time were all heavily dependent on tables. There was really no incentive other than "well, CSS is a better way!" Until you came up with your own examples, there was no convincing.

It was a slow and arduous process, but I hope we keep going forward and not backward into JS-only land.

comment 13y ago · link · parent

Correct me if I'm wrong, but I believe this was already in place for quite a while. Google has slowly been trying to move away form pseudonyms altogether and force Real Name policies like Facebook and things like YouTube, Blogger, Docs etc... were all slowly tied to one login system.

This was a problem for me at first because I ended up with multiple accounts with no way to merge them together. But I believe they started with YouTube.

I got an email saying they will deactivate/delete the account without verifying it (in this case "verify" was to create a Google account). I'm guessing this was only sent to accounts that hadn't uploaded any videos and mine had none at the time. A friend of mine also got the same email and she had no videos at the time either.

It makes sense from their end to create one account, but adding Google+ seems to be a case of forced adoption. I've used multiple gmail addresses and they've all prompted me to create a new G+ account whenever I logged in just to check the inbox. If I wanted to add another service, I've been hit with some sort of conflict message. I think Google is able to tell when the same person uses multiple gmail addresses.

comment 13y ago · link · parent

Indeed. Some of us spend that extra time writing pithy comments on HN.

comment 13y ago · link · parent

To make it go viral: Make it interesting, original (if possible), authentic (people can smell "fake") and the rest will follow on their own.

The truth is that you have very little control over what truly goes viral and the last thing you need is for your site to go viral for all the wrong reasons. There is such a thing as bad publicity.

And just remember that Marketing != Going viral, which in some cases may be anti-marketing.

855.

The Star Trek Reboot and How It Treats The Ladies(oddpicturesoddpeople.tumblr.com ↗)

9 points · by eksith · 13y ago · 7 comments

comment 13y ago · link · parent

Good points, but "minimalism" is still rather heavy on the code front. If you like at a typical minimal theme lately, just after excluding the majority of the HTML weight, there's still a lot of stuff being sent to the browser.

Ironically, simplicity and minimalism is still doesn't equate to a light-weight web page. It's possible, but few people seem to be going that route.

857.

Results from T2K: Muon neutrinos transform to electron neutrinos(t2k-experiment.org ↗)

1 points · by eksith · 13y ago · discuss

comment 13y ago · link · parent

The NASA video gallery is really heavier on current/recent videos, but you can give a quick search. http://www.nasa.gov/multimedia/videogallery

They really should come up with a more comprehensive central repository.

The other source would be Archive.org : http://archive.org/search.php?query=nasa%20apollo%2011%20AND...

comment 13y ago · link · parent

Indeed. Absolving him of any wrongdoing in the first place would have been appropriate, but pardon may be the only recourse to push through the House.

Ironic that we now have Sir Ian McKellen and Sir Elton John, two men who would have met the same fate in Turing's time.

comment 13y ago · link · parent

Yes, except for the "low performing" bit. And also "who would want this" because everybody...

comment 13y ago · link · parent

This is why the project would have been better off as open source with anonymous donations. Decentralization is still the best way to defeat aggregation.

comment 13y ago · link · parent

Cheeky. But I doubt they'll include that. More than likely, they've whitelisted all Yahoo CEOs/employees/associates/minions and people with "allah" in the name somewhere.[1]

[1] http://en.wikipedia.org/wiki/Yahoo!_Mail#Username_bans

comment 13y ago · link · parent

Yahoo of all companies should know what type of users still retain their emails and what type has moved on.

I had setup my mom's email on Yahoo (cause Gmail didn't exist and Hotmail, freshly bought by MS, was rubbish). She had a habit of entering it to everything and was soon unusable. We went over online browsing and safety, but not before her private info ended up on a dozen or so spammy sites. That was more than 10 years ago.

There's no way to reset the password for that thing, since backup emails weren't present plus IT WAS MORE THAN 10 YEARS AGO! Also, she doesn't have a Facebook page, doesn't want a Facebook page and will likely never get one in the future. She's done handing out her info to people she doesn't know.

I'm sure some of her info is still on it, but if Yahoo goes through with this, there will be hell to pay.

comment 13y ago · link · parent

Well, it seems it was a glitch + some misinformation (not helped by the said glitch), but I already see two problems with that :

1) As with Facebook, people who will hate it will still hang on because a lot of existing content they've subscribed/favorited/bookmarked etc...

2) Getting the Tumblr userbase to do anything other than whine is like herding cats into dancing Gangnam Style (I mean real cats, not Psy with superimposed kitty faces).

If you're unhappy with whatever they're doing, a better option (IMO)would be to complain even louder until Tumbler actually changes things. Unlike FB, which is pretty deaf to complaints to begin with and is run by Satan-lite (Zuckerberg), Tumblr was only recently acquired and Yahoo investors don't want to sink the boat.

comment 13y ago · link · parent

Your first step might be to visit NASA[1] and take a tour of what astronauts might go through. There's a lot to take in with regard to human psychology in stressful/critical situations. What may seem intuitive and obvious on the ground with your "normal" orientation (which means nothing in 0g) may feel completely different.

Try to walk in their footsteps to see how information should be displayed to them first. Then you can go on what that information might be.

It will be a feedback loop of constant improvement and you will need to tie a lot of that into the backend as well. There was a project called Open Flight Linux[2] which was an effort to duplicate the objectives of Flight Linux[3]. You may want to take a browse at the documentation to see what types of information would be useful to display.

You'll need some sort of existing reference to see what additional data can be pulled up.[4]

Edit: With regard to ChuckMcM's recommendation (which is very useful!) The NASA Tech Briefs should be on your path to glance at what might be in store for you.[5]

  [1] http://www.visitnasa.com
  [2] http://web.archive.org/web/20100306001043/http://openflightlinux.org
  [3] http://web.archive.org/web/20080102134626/http://flightlinux.gsfc.nasa.gov/
  [4] https://www.google.com/search?&hl=en&tbm=isch&q=orbiter+cockpit
      https://www.google.com/search?&hl=en&tbm=isch&q=spaceshiptwo+cockpit
  [5] http://www.techbriefs.com/tech-briefs

comment 13y ago · link · parent

The TV show was cheek. The ex-Mormon, I've known for 12 years.

comment 13y ago · link · parent

  > In fact, people who swear tend to be more honest than those who don't
[citation needed]

There's a whole lot of context involved here. Yes, there are very honest people who curse like sailors (fishermen especially [1]), likewise there are honest people who wouldn't throw about farthing filth about fornication willy-nilly[2].

I would add that ideas, in addition to actions, are fair game.

  [1] Deadliest Catch
  [2] Ex-Mormon colleague

comment 13y ago · link · parent

The AC wasn't really a "book" per-se, but a collected volume of snippets, wasn't it? I'd hardly call that a "banned" book though. I mean, it contained illegal activities which would have been verboten in most places.

When I was in high school, there were kids who would frequent online forums (and a myriad of ad-heavy free hosts including GEOCITIES!!!!) that would put up The AC, using the library computers.

They used Websense to filter content, which was about as effective as a sieve since they hadn't contemplated open proxies. 10 - 20 New ones which would pop up from time to time and the IPs would get traded on those forums.

From the copies that got passed around on floppies (aaah, floppies. Remember those?) I'd say The AC was a collection of (mostly bad) texts assembled from various authors who posted these on Usenet and the like previously. I remember there were multiple versions; nothing really "official" since many were edited and compiled by independent authors and all are guaranteed to get you in hospital or jail.

I think a couple of idiots in our school accomplished both.

comment 13y ago · link · parent

It's still a problem in places where the primary means of accessing the internet is the library or cyber café (which might have some sort of filtering installed). It's not all that uncommon that books popular around most of the world are often unheard of in outlet-controlled places.

Note: Outlet control is often the holy grail of censorship (though that may be leaky as well) in that not only is content redacted, but knowledge of the content is also absent.

comment 13y ago · link · parent

Isn't this is project an effort to make that somewhere else.
1
282930
53