HNHacker News
TopNewBestAskShowJobs

warfangle

3,705 karma · joined March 30, 2009

I'm a Javascript developer out of Brooklyn, NY.

jon(nospace)prins(at)gmail(dot)com

submissionscomments
warfangle··on How to Safely Store Your Users' Passwords in 2016
And 'npm install bcrypt' is the package linked to from the article.
warfangle··on How to Safely Store Your Users' Passwords in 2016
Incorrect; the first hashing method recommended uses a native CPP binding which launches a thread to execute both hashing and comparing.

Unfortunately, the example used for the bcrypt node module is the async form of hashing. That library exports both sync and async forms of hash/compare.

warfangle··on $99 “laptop Shell” for Raspberry Pi or Windows 10 Continuum
I don't think it would. Many full screen apps like Kindle require two swipes from the top before it brings down the system menu (first shows the status bar, second slides down the menu). Maybe iOS is different?

You already have a fantastic multitouch device in your pocket, and many of these cheap shells have a horrific touchpad touchpad experience. Maybe shells for the major form factors would actually be cheaper than putting together a touchpad experience that doesn't make you want to chuck the device out the nearest window.

warfangle··on How to Safely Store Your Users' Passwords in 2016
It looks like that one is pure JS, using native node crypt functionality for randomness.

The one recommended in the article[0] actually includes a blowfish C++ binding, with both synchronous and asynchronous methods for comparing and hashing. That binding uses NAN[1] to queue AsyncWorkers. NAN uses libuv[2] behind the scenes to launch a thread[3].

0. https://www.npmjs.com/package/bcrypt

1. https://github.com/nodejs/nan

2. https://github.com/libuv/libuv

3. https://blog.scottfrees.com/building-an-asynchronous-c-addon...

warfangle··on $99 “laptop Shell” for Raspberry Pi or Windows 10 Continuum
Why do these things always include a discrete touchpad?

Why not a series of phone-specific-form-factor caddy that snaps into the laptop where the touch pad is, that you can slide your phone into?

warfangle··on Slack got four of its black female engineers to accept a startup award
Well, sure. It's pretty impossible to be completely unbiased.

But the parent of my comment couched the phrase as if there's some dark cabal pushing some evil agenda. It reeked of a cis-gendered cis-sexual white male privilege soaked persecution complex.

warfangle··on Slack got four of its black female engineers to accept a startup award
This headline is editorializing (compared with the link) and kind of throwing the discussion off base, isn't it?
warfangle··on Slack got four of its black female engineers to accept a startup award
> The news media has their own agenda, we shouldn't use "what they choose to write about" as a barometer.

I don't like this logic. It presumes that there's some dark cabal of web journalists conspiring to change the world.

Unfortunately their agenda is typically, 'will we get advertising revenue from our target demographic by publishing this?'

Nothing more sinister than that.

And given this was published to, uh, a _news site for and about POC_ and not a tech news site.... (take a look at the domain, maybe?) what nefarious agenda could they POSSIBLY be running? Maybe one that promotes POC, and responds positively to a company that celebrates its diversity?

warfangle··on Leasing Begins for New York’s First Micro-Apartments
$2975 for a 360sq ft apartment furnished with niche transformable furniture, and access to communal lounges, roof deck and grill. Unfurnished is cheaper :)
warfangle··on Leasing Begins for New York’s First Micro-Apartments
There are geological reasons why the east village isn't built as high as other parts of Manhattan.
warfangle··on GitHub is undergoing a full-blown overhaul as execs and employees depart
Reverse racism is a myth.
warfangle··on Tableau stock down almost 50%
Yeah, our auth is rubycas. No ad/ldap.
warfangle··on Tableau stock down almost 50%
Having to program against its APIs recently:

1. No ability to use a 3rd party auth provider AFAIK, which means either keeping tableau passwords in a database or having users remember two different passwords

2. Embedded views use synchronous requests, which can easily hang the browser. Synchronous XMLHttpRequest has been deprecated for a while. I think I even saw a version of dojo from 2005 being loaded.

3. Reports are either static size or dynamic size, and unless you're using the (clunky but well documented) JS SDK, there's no way to tell.

4. Viewing reports in the browser is sloooooow. Browser console output is filled with warnings.

5. In order to put together sheets from multiple workbooks into a browser-based view, you need to either a) load the jssdk for each of the workbooks and query for sheets, which is extraordinarily slow, or b) do it with the REST api, authentication with which is asinine in nature (see #1).

warfangle··on Computer Science Field Guide
My HS CS class was mainly Turbo Pascal & Borland C++ on token-ring networked DOS computers. Graduated in '02.
warfangle··on Ask HN: Who is hiring? (February 2016)
When you change locations, your pay rate is also changed, correct?
warfangle··on Chicago Police Hid Mics, Destroyed Dashcams to Block Audio, Records Show
Abusers in relationships tend to be abusers in all of their relationships.
warfangle··on Preact, a fast 3k React alternative
Cool.
warfangle··on Preact, a fast 3k React alternative
That doesn't remove everything behind process.env.NODE_ENV !== 'production' though.

Though, you do need webpack/browserify/etc to take advantage of that.

warfangle··on Request For Research: Basic Income
> it will be entirely soaked up by corporations raising prices, because people will still have all the same "non-free votes" they had before, along with the free ones, and everything will adjust to the expectation that people spend both.

Is there any evidence for this, or is this purely conjecture?

warfangle··on My Reaction to React
IMHO, the JSX as used in this example is pretty obvious if you know ES6 syntax. The only "weird" part is curly braces for data interpolation, but even that is pretty semantically obvious.
warfangle··on Multiple security vulnerabilities in Rails
But Rails Culture is to make developers smile!

Fixing security vulnerabilities and writing docs that actually reflect best security practices do not make developers smile.

And accusing to have a terrible attitude does not make a developer smile either, so this is obviously your fault!

/s

warfangle··on Switzerland begins tests on the longest train tunnel in the world
> New York City's subway system doesn't attempt to cross over into Jersey or even to the eastern half of Queens.

There are other systems that do, though: PATH (for points immediately across the Hudson), NJTransit (commuter rail to a lot of NJ), LIRR (commuter rail to Long Island & Queens) and MetroNorth (commuter rail to points north in NY and CT).

Given how long it takes to ride the subway to the farther reaches of Queens (e.g., Jamaica), I can't imagine how long it would take to commute to Manhattan via subway from, say, Bayside Queens (which is served by LIRR).

warfangle··on Grisly find suggests humans inhabited Arctic 45,000 years ago
More like everyone did.

The myth that people thought the earth was flat has been attributed to Washington Irving (late 18th/early 19th century author & historian).

Columbus actually thought the earth was pear-shaped and 1/3 of the size that everyone since the Ancient Greeks knew it to be.

The issue was not "we'll fall off the edge of the earth." The issue was "Holy cow, you're going to try and sail 13,000 nautical miles?"

warfangle··on The Debate on Whether America’s Best Days Are Past, or Ahead
> the remarkable historical and technological circumstances of white, cis-gendered, cis-sexual male post-war America
warfangle··on The Rails Doctrine
It's a REPL. `exit` isn't in the standard library. Aliasing it doesn't make sense.
warfangle··on Is Express.js dying?
Koa is the new hotness.
warfangle··on Finland’s basic income plan could change everything
On the other hand, those 5 million additional people probably aren't going to sit around doing nothing. That's not how human nature works, either - most people are happier doing something rather than nothing! Self actualization and all that.

So are they going to contribute as much to the sovereign wealth that funds the basic income as the citizens?

And is the basic income extended to guest workers / temporary residents as well as citizens? I would think it would be limited to citizens.

So you would actually have immigrants contributing to funding basic income without benefiting from it until they obtain citizenship.

warfangle··on The Navigation Bar Is an Affordance, Stop Removing It
Apple's flat design removes affordances; Google's flat design preserves (and in some cases improves) them.
warfangle··on Convert hand drawn equations to LaTeX
I usually use an italicized x for math variables, a dot for multiplication when not implicit in the formatting of the expression, and an uppercase X for cross product.
warfangle··on Aaron Swartz died three years ago today
Most people arrested have to use a public defender.

Public defenders have something like less than five minutes to even review the case file before going in front of the judge.

← PreviousPage 5 of 34Next →