Better HN
topnewbestaskshowjobs
Log inSign up

Pwnguinz

407 karma · joined Oct 20, 2011 (15y ago) · 160 submissions

Contact: me at petergao dot com
Submissions

comment 2y ago · link · parent

What's the granularity of the prediction (I'm not sure if that's the correct word? I'm not a meteorologist)? Region level (100s km)? City level (a few 10s of kms)? Block level (a few kms)?

When you say it's on par with global weather models, how is "weather prediction accuracy" measured?

Cool, none-the-less!

comment 3y ago · link · parent

Thanks, and I appreciate the questions:

1. Glue4 is not a query storage nor technically a "real-time" database, so the trade offs are different (you don't have to use a proprietary SDK to query your data, everything is in your Redux store as a JSON object). As well, this is a plug and play Redux add-on, you don't need to change anything about your current application.

2. It's represented as JSON-serializable data. The storage abstraction is an implementation detail. Currently it's literally serialised to disk, but we can just as well store it in DynamoDB, Mongo, PostgreSQL's JSONB column, etc. We will eventually support complex data (like images, videos, BigInt, etc) and transparently serialise/deserialise them for you and persist them for you in the appropriate storage (i.e. if you add an image to your Redux state as a user avatar, we will upload it to a blob storage and send it through a CDN for future fetches, all transparent to you as the developer).

2.a.: Yes, for the current version that is the case. Local persistence (offline first) is definitely something we want to support down the road!

3. A high level roadmap is actually available on our website if you scroll down :).

Let me know if there's anything else :D!

3.

Show HN: Glue4 is a Redux extension that handles your back end concerns(beta.glue4.dev ↗)

11 points · by Pwnguinz · 3y ago · 3 comments

4.

Headache free setup of Elm 0.18 with Phoenix 1.3 using Brunch 2(petergao.com ↗)

3 points · by Pwnguinz · 8y ago · discuss

5.

Memory boosting devices tested in humans(nature.com ↗)

1 points · by Pwnguinz · 11y ago · discuss

comment 11y ago · link · parent

You are referring to Pokémon (notice the o where there was an a previously). And you are correct, the é has an accent on it (though I've always wondered why--Pokemon is an abbreviation for "Pocket Monsters", and neither of the e's either word contains have an accented e!).

comment 11y ago · link · parent

What's the problem? One is lowercase and the other clearly upper case.

Much like in vim: "f" searches _forward_ while "F" searches _backwards_. Perfectly valid. I see no implementation hurdles here.

comment 11y ago · link · parent

> were HIV to mutate away from being able to bind to those chunks it too would become less virulent when attacking the real proteins.

Forgive my ignorance, but are there any indicators to predict whether a virus will evolve one way or another?

What I mean is, once it comes in contact with these mimic proteins, instead of mutating away from binding to these proteins, can it not mutate in such a way that it increases its virility so that it will bind onto more proteins in an effort to combat "false positives"? So it'll become even more virulent in individuals that have not received this treatment, and maintain its current virility in individuals receiving such treatments?

9.

Garden Path Sentences(en.wikipedia.org ↗)

1 points · by Pwnguinz · 11y ago · discuss

comment 11y ago · link · parent

What happens if you don't set keymap "gg", "G", etc? Would they not work, or...? (Currently not on a *nix machine to be able to test it out, or else I wouldn't ask such a simple question :P)

11.

Amputee with robotic prosthetic can walk at normal speed on a treadmill(youtube.com ↗)

2 points · by Pwnguinz · 11y ago · discuss

comment 12y ago · link · parent

How were you able to find out what IP was cached for a particular domain?

comment 12y ago · link · parent

The abstract makes no mention of -130°C, but digging into the actual paper (can be read here: www.21cm.com/pdfs/cryopreservation_advances.pdf), it does mention: "Fig. 13. Confinement of ice formation to the pelvis of a rabbit kidney that was perfused with M22 at 22°C for 25min, bisected, and allowed to passively cool in air in a CryoStar freezer at about 130°C... The vast majority of the kidney appears to have vitrified and is indistinguishable from the appearance of the kidney prior to cooling." (Emphasis mine)

comment 12y ago · link · parent

If you just need occasional printing done locally (so you can pick it up, inspect it, or ask questions in person), you can use this site to find a shop doing 3D printing with this website: http://www.3dhubs.com/

Might be less hassle than renting an actual machine.

comment 12y ago · link · parent

Here's the direct link to the PLOS One journal article: http://www.plosone.org/article/info:doi/10.1371/journal.pone...

EDIT: A better summary is available below from jawns.

16.

Find a Local 3D Printer near you(3dhubs.com ↗)

1 points · by Pwnguinz · 12y ago · discuss

17.

Game theory model reveals vulnerable moments for cancer cells' energy production(phys.org ↗)

2 points · by Pwnguinz · 12y ago · discuss

comment 12y ago · link · parent

"Leverage" doesn't always equate to profit (or even revenue). The "goal" of the NSA is not profit, but mass surveillance. Whereas surveillance historically has been centralized, with the onslaught of mobile devices, we now have prevalent distributed surveillance (and perhaps more so than surveillance).

All the data everyone is feeding into FB/G+/Twitter/etc about their friends and acquaintances could not have been collected on such a mass scale by the NSA alone.

If you're a privacy conscious individual, there's definitely reasons to be fearful of this approach to surveillance by any governmental intelligence agency.

19.

Managing Oneself (1999)(pitt.edu ↗)

2 points · by Pwnguinz · 12y ago · discuss

comment 12y ago · link · parent

Behind the scenes, DDG uses Yandex and Bing to power its search results. It also does its own crawling (however, I'm not sure to what extent).

Their algorithm isn't necessarily better, but if you were to just give it a try, you'll notice their 'Instant Answers' section at the top of a search that usually gets you exactly what you want without having to click on a single result (much like how certain search queries on Google will return you an instant answer).

comment 13y ago · link · parent

> When a US factory burns down and kills all the employees inside because they'd been locked in during their 15 hour shift.

I give you the Triangle Shirtwaist Factory fire in New York City, killing 146 garment workers. Same general gist, even: doors were locked by management from the outside "to prevent pilferage and unauthorized breaks".

https://en.wikipedia.org/wiki/Triangle_Shirtwaist_Factory_fi...

comment 13y ago · link · parent

With the rest of the world moving on, if you have a relatively attractive solution to an obsolete problem, what's the point?

comment 13y ago · link · parent

"Not really, no. Anything under about 25-50 will feel instantaneous. Between 50-100 you're looking at something that doesn't consciously register as 'slow', yet feels vaguely sluggish - especially when it comes to responding to taps on a screen."

Not according to empirical findings: http://www.nngroup.com/articles/response-times-3-important-l...

Funny that you mention BB10; I used to work at RIM (a handful of years ago), and developer relations were disseminating documents that said application developers should make apps respond in less than 150ms to give the illusion of instantaneousness.

Mind you, I'm not saying YOU can't perceive the difference between 100ms and 25ms, but that in the general populace, the limit of perception is around 100ms.

comment 13y ago · link · parent

It's merely a JS based modal box. You can use your web browser's devtool/inspector to delete the two divs, one for the black transparent overlay, and one for the sign-up modal.

comment 13y ago · link · parent

It has to do with the fact that the GP put the URL in < > and HN assumed the trailing > was part of the URL. Just remove the trailing > in the URL and it'll work.

Alternatively reproduced here without the '>': http://blog.flowblok.id.au/2013-02/shell-startup-scripts.htm...

comment 13y ago · link · parent

I think the point is that Jobs himself only ran one company at a time, though he had many successes. Elon is doing at least three things at once (Chairman of the board of Solar City. CEO of both Tesla and SpaceX), and the Hyperloops looks to be a fourth.

comment 13y ago · link · parent

False dichotomy. China is a de facto dictatorship (and a de juris Republic), however their citizens can still surf the internet and type out things (censored, for sure, but a far cry from 'shut off').

Do you really want society to collapse to the point of Syria or Lybia before you want the citizenry to stand up for themselves? Or is everyone just a tin-foil hatter until secret police starts wisking people away?

comment 13y ago · link · parent

Apparently one of the features is that you can use it to easily scrape other websites! The only overhead would be one network API call (the fetching and parsing of information all happens on the Yahoo! servers and it returns the sanitized output to your application). I might give it a spin sometimes :).

comment 13y ago · link · parent

Elon explains that it was using the same machine as in the manufacturing factory.

comment 13y ago · link · parent

Not just that, most people will most likely just charge at home and use battery swaps as an absolute last resort or when they're on a long road trip. I'm sure the cost associated with a battery swap is not "cheap" (i.e. diffing your battery capacity versus the battery capacity of the new battery and multiplying that by the total cost of the new battery. You weren't thinking you can just roll into any 'ol battery depot and swap out your 5 year old Model S battery with a brand spankin' new one, right ;)?)
123456