Better HN
topnewbestaskshowjobs
Log inSign up

codefined

966 karma · joined Apr 30, 2017 (9y ago) · 308 submissions

Feeling like contacting me?

email - hn (at) femto (dot) host discord - Codefined#8017

I'm pretty open to talking about anything.

Submissions

comment 9y ago · link · parent

As a point, what are your thoughts of a Meritocracy as a paradigm to follow? Nationalise everything, pay everyone an equal amount, to begin with, but based on their "merits" boost their pay. Seems to have all the advantages of capitalism, without the perceived negatives of communism equally a dictatorship or "fat cats", which could be managed by the government.

comment 9y ago · link · parent

Is anyone else getting consistently slower speeds on their GPU compared with their CPU? I seem to be getting:

CPU: 0.426s ±7.6%

GPU: 2.399s ±4.7%

Running Chrome, Latest Stable. Windows 7. It seems odd to me that it would take 6x longer when my graphics card (GTX 690) would theoretically be much faster than my CPU (Intel i7-3930k)

comment 9y ago · link · parent

How does this compare to, for instance, your average car running for an hour?

comment 9y ago · link · parent

My favourite is

$ cat <list_file_name> | parallel -j20 --gnu "wget {}"

Downloaded them in a few seconds!

comment 9y ago · link · parent

Overtaken by HTML templating languages, gems and a dozen other things with the same name. Eventually these items reach such a density to form a black hole, sucking through the older items, perhaps to another place in spacetime.

246.

NPX Now Included in NPM, an NPM Package Runner(medium.com ↗)

8 points · by codefined · 9y ago · discuss

comment 9y ago · link · parent

I think it's just trying to emulate a colloquial tone, actually being written by a number of individuals (or at least being updated by multiple people).

comment 9y ago · link · parent

Tempted to say it's a service, and the majority of these will want to run as root instead of any particular user. So in this sense the default makes sense.

comment 9y ago · link · parent

For people who don't know about fractal dimensions, might I suggest this[0] video

[0] https://www.youtube.com/watch?v=gB9n2gHsHN4

comment 9y ago · link · parent

Just a quick point on this, the "new scenario" page came up with an error (I think?) for me:

https://puu.sh/wylE1/21197650ef.png

comment 9y ago · link · parent

Absolutely not true for me, this tool saves me so much hassle!

comment 9y ago · link · parent

We don't use CSS Grid, 40% of our users don't support it in their browser. Judging by the five hours this post has been up, I feel like a lot of Hacker News doesn't use it either.

However, when support for it does go up, we're definitely migrating to it. It seems to have a really nice syntax.

comment 9y ago · link · parent

You don't trust that third-party server with any information, it simply makes the initial link between the two parties, like a DNS, that it needs to send the encrypted information to.

An evil relay server could not send the information, or send information to the wrong server, but neither would cause data to be lost because of the encryption.

comment 9y ago · link · parent

Wouldn't it always require an infinite amount of time?

You're summing a series of:

    0.5^n * x
From n = 1 to n = infinity

comment 9y ago · link · parent

Wow, I wonder if it's location based. Mine was heavily situated in one location, whereas yours was perhaps global? So it was always prime time for someone? Here is a graph of my usage for the past week (note lows of 30-40 and highs of 650 odd):

https://puu.sh/wrAn1/5816d3f7d7.png

comment 9y ago · link · parent

You can use use WebDriver/GeckoDriver[0], which is how Selenium actually runs, but most people like the abstraction layer.

[0] https://github.com/mozilla/geckodriver

comment 9y ago · link · parent

We're all assuming content comes in constantly, but that's not the case. I imagine they spike heavily at peak times, perhaps 5-6 fold (judging by my own site statistics). Serverless might be good for them because they can handle small loads with small costs and large loads with no effort.

comment 9y ago · link · parent

All of your negatives are about the perception of server/serverless, not about the actual benefits. Who knows if this company has investors or if it is actually self funding (judging by the costs, maybe not hard?).

comment 9y ago · link · parent

Bandwidth shouldn't be an issue here, although this is a side project (so I realise money is limited), from experience you can send and receive roughly 200-400 images per second for every $5/month you spend. I don't know your precise usage count, but I would be surprised if you were to get that many images downloaded every second.

comment 9y ago · link · parent

Not related to this project, but have done projects in Go. In terms of CI runs, AppVeyor[0] is the most popular one, it allows a similar setup to Travis and has most of the functionality too.

Build compatability is also great with Go. The only issues I've run into so far are graphical applications which often require different libraries for different platforms. Nothing I've done that's not graphical has ever had compatability issues (except file stat).

[0] https://www.appveyor.com/

comment 9y ago · link · parent

I don't seem to get this?

Windows, Chrome, bookmarking seems to work fine?

comment 9y ago · link · parent

Has this been updated recently? I remember an older version (that I actually enjoy more with the difficulty selection!). Is that still hosted anywhere?

comment 9y ago · link · parent

Chrome still isn't perfect for web sockets. They don't even allow you to see the raw content for binary web sockets and considering how prevalent they are becoming, this really puts me off using them.

comment 9y ago · link · parent

I remember when their server documentation was down and

comment 9y ago · link · parent

Not for me, not even on the first page; Py Music, PyPy, Python all come before it.

comment 9y ago · link · parent

I'd say yes, especially if they're not getting security updates and are connected to the rest of the network.

Honestly, the cost of it getting broken into seems to be significantly higher than the cost of upgrading the systems.

comment 9y ago · link · parent

Am I missing a reference?

comment 9y ago · link · parent

A website still functions without Google Analytics.

99% of websites won't function if they lose a key library.

1
7891011