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

331.

Death by incompatibility: A Samsung Galaxy Gear review(arstechnica.com ↗)

2 points · by eksith · 13y ago · discuss

comment 13y ago · link · parent

I think this really is the focus of it.

This is also the big reason there is an increasing delay on nested replies as you go to deeper. It forces you to calm down and think a bit more before coming back with an emotional reply instead of a thoughtful one.

comment 13y ago · link · parent

I always visit /new and it's quite astonishing how many great posts never make it to the front page and instead, quietly drop off. This really has a lot to do with what time of day they post as well.

E.G. I've posted around 3AM - 6AM EST (which is usually when I have more free time) and it never makes it. But if I post a bit later, say around 9AM, then it has a much higher chance of coming to the front page.

There are a great many good stories that are several pages into /new and I think (with the exception of a handful that are already on the front page) those are barely seen by the vast majority of HN visitors.

comment 13y ago · link · parent

What a wonderful way to make lemonade! Thank you for doing this. I hope the site can withstand the onslaught of visitors as I'm sure they'll get more than their fair share at the moment.

comment 13y ago · link · parent

I was told repeatedly that I was a sucker for buying Adobe products (I own CS3 and never found it necessary to upgrade) instead of pirating. Well, I'm conflictingly feeling like a sucker.

Conflictingly because my CC info has since expired, but other personal data would still be in their records. I wonder how far back they keep those, but I guess I'll find out soon enough if I'm in the lot.

Edit: If anyone is worried about the source getting leaked giving rise to 0-day exploits and the like, you can at least move away from Reader into something like Sumatra PDF (open source). If all you need is a reader, it's a very handy alternative and far more nimble with resources (no I'm not part of their project. I'm just a very happy user)

comment 13y ago · link · parent

Let's forget computers for a while and think about good ol' pen and paper. Ask yourself these questions:

  Do you use a desk?
  Do you use paper?
  Do you use folders?
  How big is your desk? 
  How do you keep the papers on your desk?
  Do you hold up one sheet to read and one sheet exclusively?
  Do you keep a bunch of sheets side-by-side and compare them to each other?
  Do you like to open folders repeatedly or open a few papers from each folder?
No amount of design innovation can suppress the quirks and foibles of human nature. Quite often, aesthetic engineering survives an encounter with a user just as well as a battle plan does while encountering the enemy.

comment 13y ago · link · parent

Theresa Buchanan is the same judge who ordered Twitter to turn over info on WikiLeaks http://www.salon.com/2011/01/08/twitter_2

comment 13y ago · link · parent

This is true, unfortunately. I know quite a few designers who're absolutely appalled at some of the things they're asked to implement. Completely counter-productive and short-sighted. They really do browse their work on mobile so they know exactly what the end result will be.

339.

World’s first cross-platform Web browser brought back to life(arstechnica.com ↗)

3 points · by eksith · 13y ago · discuss

comment 13y ago · link · parent

Answer to your last 3 questions :

- Replace MySQL with MariaDB (hopefully your tables are InnoDB and the transition will be "relatively" seamless). You can continue using the rest of your app as-is.

- Yes. There are many by the simple fact that a lot of people are unaware of what they're really doing and what impact certain indexes, queries and even to some extent, compile-time options will introduce.

- Schema is everything for an RDBMS. If people just take the time to calmly and carefully consider what it is they're trying to do and what options they'll truly need vs. just guessing what future "growth" would be like, they will have fewer actual (rather than imagined) growing pains later.

Of course, most of these problems could be mitigated if new projects started off with Postgres or MariaDB, if they're taking the RDBMS route.

comment 13y ago · link · parent

Unity is no better IMO. It feels like another counter-intuitive and ultimately awkward (for me) interface. Which is why I'm right now on Linux Mint which ironically has the most "Windows 7-like" post-Win7 UI.

comment 13y ago · link · parent

You're definitely not the only one.

Honestly, I feel like it's a break in my momentum and flow of creativity (that really sounds pretentious, but it's true) to move my hands from keyboard to screen. It's not like keyboard and mouse where both forms of input are on the horizontal plane.

I rather liked the idea behind the Nintendo DS where inputs are available on both the horizontal and (semi) vertical plane. If a touchpad can be made sufficiently intuitive and comfortable enough to serve as both keyboard, touchpad and display screen, I'm in.

comment 13y ago · link · parent

My OCD wouldn't allow a plugin that is "just there" in the browser even if it's not activated ;)

comment 13y ago · link · parent

This is great news. Now if only Mozilla made it easy to remove plugins just as other addons[1], we'll be all set.

[1] At present, you'll need to go to [your install folder]\extensions or check their path.

To do this, go to about:config and set 'plugin.expose_full_path' to 'true'. Now go to about:plugins where you'll see the full install path. Go to these and delete the .dll

Edit: Globally installed plugins, may affect other browsers installed on your machine. Renaming is probably safer in case you need to roll back.

comment 13y ago · link · parent

The solution is already available by the very same folks who would just as easily think nothing of presenting that "female | male | other/it's complicated | prefer not to answer" field though.

In lieu of questioning who the user is, may I suggest see what the user does instead? Behavior, in the end, is the real key to unlocking demographic potential. What purchases are made, what items were clicked on, where they had browsed and what titles on pages attracted them on the site can tell far more than a simple field.

This, of course, takes time and testing plus accumulation of data. But since a fair number of HN users also like to exalt the status of "Big Data", there's a more productive use for it.

Don't try to finagle who the user is or isn't. Just find out what they want.

comment 13y ago · link · parent

  it is probably simplest to have words that most people use like male and female and something...
The simplest is a text field with: "What prefix would you like us to use?" The End.

There are no assumptions, no assignment of labels, not one bit of imposing your cultural norms on anyone else. The hardest part of getting over biases is acknowledging that you have them.

Learn some sensitivity, please.

comment 13y ago · link · parent

This project is a fine example of the "Falsehoods Programmers Believe About Names" http://www.kalzumeus.com/2010/06/17/falsehoods-programmers-b...

comment 13y ago · link · parent

  I fail to see how this API needs to accommodate transpeople in its 0.1 release.
You have failed at empathy.

Speaking to the fluidity of human gender, "Other" is the majority of the spectrum and defaulting to binary is just as naïve as defaulting to ASCII as expected input in an application/API written in 2013.

Restricting yourself that early in the release cycle (and I'm still dubious of the merits of this project), doesn't bode well for its future.

Edit: I just read your comment history and, if I'm not mistaken, you're already biased. Or would you care to elaborate what you wrote here? https://news.ycombinator.com/item?id=6451454

comment 13y ago · link · parent

This is not thinking outside the box. This is painting the interior of the box with refractive ink and calling it innovative.

350.

Dérive(en.wikipedia.org ↗)

1 points · by eksith · 13y ago · discuss

comment 13y ago · link · parent

It may use something like Kolmogorov complexity https://en.wikipedia.org/wiki/Kolmogorov_complexity#Compress...

...where symbol matching is used along with variable names after removing all extra white space.

Although, I'm guessing your university uses PMD : http://pmd.sourceforge.net It's a fairly popular tool for detecting code issues (including copied segments).

352.

Golly(golly.sourceforge.net ↗)

1 points · by eksith · 13y ago · discuss

comment 13y ago · link · parent

Thanks for putting this together. This is one of those nice projects that does more than just solve a problem or acts as a tool; it forces the user to think.

Overall, I hope this project goes toward helping people understand the thought process that gives rise to the "job lint" in the first place rather than just fixing the "lint". Eventually, they should learn to act as testers themselves and your explanations on why those lists exist as they are will definitely help.

comment 13y ago · link · parent

The bubble rules are definitely in order :

https://github.com/rowanmanning/joblint/blob/master/lib/rule...

I'd argue that the var temptations array is applicable to the "bro-culture" rules as well.

It's good there's one for tech :

https://github.com/rowanmanning/joblint/blob/master/lib/rule...

For the life of me, I never understood why any mention of an editor was even necessary most of the time. If there's a local copy of the codebase you're working on, how in the world does that have any bearing on what someone else on the same project is using? If it's major, that's what source control is for. If it's minor and nitpicky (I.E. tabs vs. spaces) plenty of editors can be configured for substitution on whatever standard that's adopted.

comment 13y ago · link · parent

I'm self taught and it was an "interesting" wade into the water, so-to-speak. One of my first projects was building a small forum starting around 1995-96 as a teenager (originally in Perl/CGI, then ASP/VB and finally ASP.Net/C#). I was very late to PHP and despite most of it's warts and incredible ease with which to shoot yourself in the foot, I still think it's easier to start for a novice and one of the best intro tools to web development.

Along the way, there were forums like FxZone (of Eyeball-design), which closed unfortunately, and a myriad of other tutorial sites, forums, communities (most of which had closed... what's up with that?) and finally landing on sites like CSS Zen Garden which introduced a whole new world of front end concepts.

While turning the forum into VB, I learned there were these things called subroutines or 'functions' that broke problems down to incremental chunks and got reused a lot (you can reuse code?! Why, yes) and then I learned about these things called 'databases' where you can search for things. Finally, no more text files for storage!

My dinky little router was rubbish, so I took an old PC and turned it into a router/gateway and that lead me to learn about networking.

I wanted it to be accessible from the web, so I had to learn about DNS.

Everything I learned allowed me to turn that forum into a continual learning experience where I slowly turned a script into an application and later platform.

So basically, one project turned into a learning thing and the learning thing became a goal in itself. That brought in some jobs that allowed me to learn and train on the job.

In a way, this sort of hodgepodge learning turned out to be a good thing, because I've had to touch on hardware, networking, DBA, programming. So a whole spectrum of problem solving that I doubt I would have had a chance to work on.

The most (pleasantly)frightening thing about learning is how quickly you realize how much more there is to learn. It's like firing a gun while riding atop a rocket and then trying to catch the bullet. Your goal will always going to be ahead of you.

comment 13y ago · link · parent

You're likely going to get some knee-jerk flak from people who misunderstand what you're trying to say, but from experience (I'm ethnic Sinhalese), I can say that this can be attributed to what exactly constitutes "programming" in those cultures (this transcends race and nationality BTW).

If by "programming", you mean putting together a website and the like, then yes, there is a huge swath of people who are semi-qualified to do anything else, but get drafted to do more anyway. If by "programming", you mean problem solving and innovation where writing code is actually one of the last things to be done, then most people will consider that to be a smaller subset.

comment 13y ago · link · parent

I apologize if I came off as rude and a bit dense, but it seems you've been on HN long enough to realize, it's a far cry from Reddit (despite frequent mentions to the contrary) and humor is verboten unless it's written in MATLAB.

comment 13y ago · link · parent

This is basically extending the encoded input field trick with another (CSS)hidden field.

You can get rid of the (CSS)hidden field by using just the encoded field names instead. That will prevent someone from just copying the HTML field and mass submitting the same form with multiple IPs etc...

E.G. Encode all the input field names using the session ID and some salt (maybe the URL of the page?). I've done something similar in PHP previously as :

  public function encodedFieldName( $name ) {
  	return hash( 'ripemd160', $name . FIELD_KEY . $this->IP() );
  }
...Where FIELD_KEY is a pre-defined random string unique to the application or you can set it to the user's session/cookie etc... And IP() is, well, just getting the IP.

You can then retrieve the actual field name using something like...

  public function encodedFieldValue( $name, $fields = array() ) {	
  	$enc = $this->encodedFieldName( $name );
  	foreach ( $fields as $k => $v ) {
  		if ( $k === $enc ) {
  			return $v;
  		}
  	}
  	return NULL;
  }
And then you can use it as...

  $name = $this->encodedFieldValue( 'name', $_POST );
If you're really paranoid, you can add two extra hidden fields that's a nonce and some unique key (maybe using the session_id)

  $nonce	= hash( 'tiger160,4', $this->someRandomStr( 10 ) );
  $pk		= hash( 'tiger160,4', $nonce . session_id() );
  
  $nonce_name	= $this->encodedFieldName( 'nonce' );
  $pk_name	= $this->encodedFieldName( 'pk' );
Send PK and nonce to the user in the hidden fields...

  echo "<input name='{$nonce_name}' value='{$nonce}' />"; 
  echo "<input name='{$pk_name}' value='{$pk}' />";
...When checking form input recalculate the PK with the nonce to see if it matches later.

  $nonce	= $this->encodedFieldValue( 'nonce',	$_POST );
  $pk		= $this->encodedFieldValue( 'pk',	$_POST );

  if ( $pk ===  hash( 'tiger160,4', $nonce . session_id() ) ) {
  	return true;
  }

comment 13y ago · link · parent

Your unwillingness to accept reality doesn't make reality any less real.

Plenty of talented people who have been fortunate enough to have parents that didn't trample their dreams (and potential) have gone one to become successful in their own right without the aid of a degree.

1
111213
53