Better HN
topnewbestaskshowjobs
Log inSign up

floatboth

5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions

this website sucks
Submissions

comment 9y ago · link · parent

EBS is some kind of Network Block Device. NFS is another product, https://aws.amazon.com/efs/

comment 9y ago · link · parent

idk about this thingy but the original PostgREST is not vulnerable to SQL injection. You're not writing SQL, you're writing URL query strings, and PostgREST processes them correctly (I think it uses prepared statements for most things, and careful filtration for table names and such).

comment 9y ago · link · parent

Polymer with native iOS/Android support would be… Not Polymer.

Polymer is a thin layer of sugar on top of the web platform, it's 100% web, it doesn't make sense outside of the browser because it doesn't have its own special component model, it literally just directly subclasses HTMLElement to provide sugar, that's it.

comment 9y ago · link · parent

Rust doesn't use reference counting (until you want to use it)

comment 9y ago · link · parent

Opus in Ogg is natively supported on Android. The extension needs to be .ogg not .opus.

comment 9y ago · link · parent

Ogg container works, and the extension needs to be .ogg not .opus.

comment 9y ago · link · parent

https://idontwantyourfuckingapp.tumblr.com/

comment 9y ago · link · parent

"One X" and "One S", where have I seen that before…

http://www.gsmarena.com/htc_one_s-4574.php

http://www.gsmarena.com/htc_one_x-4320.php

also https://en.wikipedia.org/wiki/One-X

comment 9y ago · link · parent

Might be more stable when they switch to proof of stake though?

comment 9y ago · link · parent

Also isn't "OATH" like the group that standardized TOTP?

comment 9y ago · link · parent

Vega will even have half precision!

comment 9y ago · link · parent

https://github-backup.branchable.com/README/

comment 9y ago · link · parent

Search for some hot news topic on Google with Chrome on Android, you'll see a ton of AMP pages. I haven't encountered it in the wild either because I do not do that pretty much ever.

comment 9y ago · link · parent

Not just Bing. They use many sources and I think they do some indexing on their own. IIRC Yandex is one of the sources too.

comment 9y ago · link · parent

Honestly, one Piwik/GA/whatever is not going to make the page super heavy. The problem happens when a website is managed by an organization where every department adds their own fucking analytics code and the site ends up with like ten fucking trackers.

And yeah, pop-up email solicitation is the worst.

comment 9y ago · link · parent

Custom Elements are a web standard. Anyone can just make up new tags, if they include a hyphen in the name. And with customElements.define() you can attach an ES6 class to that element and boom, DOM as an open component model.

AMP is a subset because in addition to the elements, they provide a set of restrictions that would make your page "valid AMP" and cached by Google's creepy CDN thingy.

comment 9y ago · link · parent

Bots click ads. And people paid to click ads :D

comment 9y ago · link · parent

DDG does kinda suck at finding specific programming things sometimes. The results are just not as good for the more obscure and rare stuff.

comment 9y ago · link · parent

Firefox on Android does not get Google's AMP proxying thing in search results anyway. iOS maybe too? idk

comment 9y ago · link · parent

it's the jeans version of genie :D

comment 9y ago · link · parent

Yeah, same. Firefox Nightly Android + DuckDuckGo, but sometimes I do use Google, still haven't found an AMP page.

comment 9y ago · link · parent

"C/C++ is supported for text/regexp search and basic browsing (no advanced language features yet)." (message in the Sourcegraph UI)

comment 9y ago · link · parent

Yeah, exactly. Sometimes I open HN and find no new things that are interesting to me. I guess I'm opening it too often :D

comment 9y ago · link · parent

Use a 'uuid' column if your DBMS was designed by people who knew what they're doing :-)

comment 9y ago · link · parent

SQL databases of course allow you to generate the UUID on the client. (In fact not all database servers even can generate UUIDs themselves. Postgres can, if you enable an extension.)

comment 9y ago · link · parent

Obviously you should be using UUIDv4 with a good secure pseudorandom number generator if you want to generate them offline. And typically no one handles collisions in large pseudorandom values.

comment 9y ago · link · parent

Of course. They shoved goddamn machine learning into the WebKit one.

comment 9y ago · link · parent

Ironically, Google's Polymer does not need a special extension for dev tools (because custom elements are normal DOM elements with normal attributes and properties) :)

comment 9y ago · link · parent

I use a build script that takes environment variables https://github.com/myfreeweb/freepass/blob/706e8d9f25f08ac34... (and calls Cargo once per architecture. Android has many :D)

comment 9y ago · link · parent

"This is where Graphite wins over Grafana. Graphite can store time series obtained from other sources (normally, direct monitoring tools) and provide a query language to obtain the stored data. Again, Grafana can be used with Graphite in order to visualize the data stored on its storage backend."

> Graphite wins over Grafana

> Grafana can be used with Graphite

> wins over

> can be used with

1
737475
97