HNHacker News
TopNewBestAskShowJobs

TurplePurtle

72 karma · joined August 18, 2011

submissionscomments
TurplePurtle··on CSS Tips
Cool stuff, but wish there was a disclaimer saying many of the things here are Chrome-only. The target audience for this might not consider browser compatibility from the get-go and have to re-think their UI later.
TurplePurtle··on SponsorBlock – Skip over sponsorship segments on YouTube
> the impact of sponsor sections can only be measured based on the total views of the video

I don't think that's true at all.

1. There are video analytics to measure what parts of the video were watched.

2. Even if you generally dislike ads, there is a chance that you will see an ad you are interested in that you will check out, which will contribute to the ad's effectiveness, and can be measured. If you automatically block ads, the effectiveness becomes 0 in all cases.

TurplePurtle··on 433% Keyboard
To be honest I love "mech keyboards" not really because of the mechanical keys, but because people make them in so many customized sizes and colors. But there's not really a good term for this as far as I'm aware.
TurplePurtle··on 433% Keyboard
Check again :) (Some of the pictures lower in the page show it's actually split)
TurplePurtle··on Two Screens
FYI Google Meet supports two screens as well.
TurplePurtle··on A one-line package broke `npm create-react-app`
There are custom Promise implementations (for reasons), such as bluebird.js. If you're supporting legacy browsers, there will be no standard Promise object. So the simplest way to check for the Promise contract is the code posted. But yes, in an ideal world, one would be able to just do `promise instanceof Promise`.
TurplePurtle··on [dead]
This data is available to all and is aggregated/anonymized. From the bottom of any of the PDFs:

----------------

These reports were developed to be helpful while adhering to our stringent privacy protocols and protecting people’s privacy. No personally identifiable information, like an individual’s location, contacts or movement, is made available at any point.

Insights in these reports are created with aggregated, anonymized sets of data from users who have turned on the Location History setting, which is off by default. People who have Location History turned on can choose to turn it off at any time from their Google Account and can always delete Location History data directly from their Timeline.

These reports are powered by the same world-class anonymization technology that we use in our products every day and that keep your activity data private and secure. These reports use differential privacy, which adds artificial noise to our datasets enabling high quality results without identifying any individual person. These privacy-preserving protections also ensure that the absolute number of visits isn’t shared.

TurplePurtle··on Show HN: Square Game
Please fix the rendering on Firefox by adding `image-rendering: crisp-edges;` to the canvas.
TurplePurtle··on 90-minute ‘super commutes’ more common as Bay Area housing shortage intensifies
I'd like to believe that in a future where VR is affordable enough for most people, we'll have virtual reality offices that allow us to communicate with co-workers and have meetings as if we were actually there.
TurplePurtle··on Seven earth-sized planets discovered circling a star 39 light years from Earth
I'm not sure if your error is in the number or in the words, but the number you wrote down is 10 trillion dollars.
TurplePurtle··on An enraging proposal to speed up queues: Serve the last person first
Letting people join the queue without having to stand in line seems like a better solution to me. E.g. make them take a number or use their smartphone tolet them know when their turn is.
TurplePurtle··on Biggest image in the smallest space
I wonder what the ratio would look like if the equivalent was done with a JPEG instead of a PNG.
TurplePurtle··on Ask HN: How did you find Hacker News?
It's one of the sites on http://www.jimmyr.com
TurplePurtle··on Lorem Ipsum translated by Google

    Funny lion always feasible, innovative policies hatred assured.
Seems like commentary on the fall of ancient reddit.
TurplePurtle··on Hair
Looks fun and informative for new programmers. That said I don't understand why this has so many points, and don't really think it belongs here.
TurplePurtle··on How do keys work? Explained in one Gif
Here's a video with more info about these anti-picking mechanisms and how to defeat them:

http://www.youtube.com/watch?v=ZQVsI4qyl3g

TurplePurtle··on New Zero Day Java Vulnerability Being Exploited in the Wild
Unfortunately, Java applets are the only way to connect a Midi Keyboard to an HTML5 app.
TurplePurtle··on Ruby is faster than Python, PHP, and Perl
I imagine Javascript's advantage is because V8 is a JIT compiler. It's unfortunate LuaJIT is not shown since it would probably be around the same level or higher than V8.
TurplePurtle··on JavaScript Performance MythBusters (via jsPerf)
Repeating what I said on Reddit: The Regexp vs. indexOf test seems a little misleading. Generally, .indexOf will be faster, but they seem to have performed a very specific test that requires the indexOf method to do some string concatenation before actually searching, which IMO invalidates the usefulness of the test.

Please correct me if I'm wrong.

The test I'm talking about: http://jsperf.com/regexp-indexof-perf

TurplePurtle··on Herp Derp - A browser extension to protect you from stupidity on YouTube
Made an updated version of that script here: http://userscripts.org/scripts/show/125021