Better HN
topnewbestaskshowjobs
Log inSign up

somenewacc

46 karma · joined Jul 18, 2017 (9y ago) · 37 submissions

Submissions

comment 8y ago · link · parent

The idea of employment also brings more stability to workers, to focus on their families and other stuff. Worker's rights on the beginning of the industrial revolution was terrible, no wonder communism rose to power in a country so fast.

In the end, social democracy was a compromise to maintain capitalism and avoid spreading revolution. And it worked.

comment 8y ago · link · parent

ASP.NET does this, you use its components and it generates client side javascript. In a more functional way, there's another language that does this caled Opa! http://opalang.org/

comment 8y ago · link · parent

But comprehensions are also a functional idiom.

comment 8y ago · link · parent

Yes, but if you're allowed to timeout, then any system is trivially available, even a system where the nodes are always offline (simply timeout every request).

comment 8y ago · link · parent

Perhaps you just need to make the Sapper -> military pun more obvious (my gut feeling was that it was just some ridiculous marketing)

comment 8y ago · link · parent

https://bayesianbodybuilding.com/the-myth-of-1glb-optimal-pr...

comment 8y ago · link · parent

For CPU bound stuff, the 80%/20% rule is to learn that an array/vector is typically much faster than a linked list, and this is due to how CPU caches work. (this is thinking about how much information is being moved around, but between the processor and RAM)

Also, for parallel stuff: locks tend to be bottlenecks. Writing parallel code is tricky overall. Stick to libraries that provide high level lockless data structures like mpsc queues if possible.

comment 8y ago · link · parent

Please stick to a font already in my browser. My network is slow and webpages sometimes get stuck loading; the resources in your page took 40 seconds to load and your font didn't even load yet.

comment 8y ago · link · parent

> I dread the day when someone finds and publishes the identity of Satoshi Nakamoto for you know, a "good story". I hope it doesn't happen

I hope this happen, but long after he is dead. Perhaps in some centuries.

comment 8y ago · link · parent

About 1: take a look at sit https://github.com/sit-fyi/sit and git-dit https://github.com/neithernut/git-dit

It would be nice to work with an existing project than roll your own.

comment 8y ago · link · parent

In Haskell, getChar isn't a function (something of type a -> b), its type is IO Char

http://hackage.haskell.org/package/base-4.11.1.0/docs/Prelud...

It represents an interaction with the outside world that results in a Char when you perform it. It isn't a function because in Haskell functions must be pure (with no side effects).

comment 8y ago · link · parent

emscripten can compile to both wasm and asm.js and load them depending on browser support. this seems good enough.

comment 8y ago · link · parent

I hope you understand that you can use secure primitives (such as ECDSA and AES) to build insecure protocols.

comment 8y ago · link · parent

> The one thing I am tying to validate / invalidate is weather "spiritual" as used by non religious people, is mere hacking of our delicate physical and chemical machinery.

It really is, if our minds are entirely a manifestation of the brain.

comment 8y ago · link · parent

there are many meditative techniques, and some of them promote sleep

see http://marc.ucla.edu/mindful-meditations "Body Scan for Sleep" for example

comment 8y ago · link · parent

A single study will almost never be actionable, but a series of studies, accompanied by systematic reviews, could be the basis of such recommendations.

comment 8y ago · link · parent

Is alcohol use a clear and obvious red flag too?

comment 8y ago · link · parent

I'm not sure that calls for genocide are part of the global discourse.

comment 8y ago · link · parent

For opiates, the reason is often being prescribed them for pain.

comment 8y ago · link · parent

Being born on a rich family is akin to being on "welfare" through the years you need most.

comment 9y ago · link · parent

Type checking your code is, in a sense, a formal proof. That is, your types encode theorems, and the compiler check them.

The article actually alludes to this, linking to this: https://en.wikipedia.org/wiki/Curry%E2%80%93Howard_correspon...

comment 9y ago · link · parent

I think distros package rustup too. Here on Arch it is pacman -S rustup (instead of the curl | sh thing) then proceed normally.

Installing an outdated toolchain makes little sense because after this example people interested in Rust may want to do other things, and will encounter an artificial roadblock when they (or a worse, a dependency) needs a newer Rust.

I think the Rust packaged in the distros is meant to be a build-dependency of software written in Rust (for example, ripgrep), not for Rust developers.

comment 9y ago · link · parent

> without any contribution by a human author are not registrable.

Is there really no contribution of a human author -- the programmer? He wrote the source code, and supposedly imposed artistic qualities in the music that are themselves copyrightable.

I agree that the user can't receive copyright since she didn't have any creative input.

comment 9y ago · link · parent

Fingerprints change (sometimes radically). Relying on them may make you unable to prove you're yourself.

comment 9y ago · link · parent

Why can't we let the markets regulate themselves?

Or, if we're dictating what's a fair price.. can we at least force Intel, AMD and other relevant parties to license X86 patents?

comment 9y ago · link · parent

Gender expression is how people show their gender to others.

Gender identity is how people identify.

(gender disphoria is a mismatch between gender expression and gender identity)

It's possible that at the time of disclosures, Manning would already identify herself as woman, even if her gender expression was entirely masculine. Using the feminine gender is a matter of respect.

comment 9y ago · link · parent

Is cryptonite anything like production ready? I mean, does it protect against timing side channels (perhaps using crypto instructions like AES-NI), etc.

Something I didn't like about it is that it exposes crypto primitives, including stuff like TripleDES, with no warning[0]. The tutorial also has you handle IVs directly.[1]

[0] https://hackage.haskell.org/package/cryptonite-0.24/docs/Cry...

[1] https://hackage.haskell.org/package/cryptonite-0.24/docs/Cry...

comment 9y ago · link · parent

Shareholders filing lawsuits because the company refused to follow the EU law

comment 9y ago · link · parent

> Given that humans do without detailed data of this sort

Humans learn by using data from their interactions with the environment, since childhood. That's a ton of data and there might not be a way around that.

comment 9y ago · link · parent

Then I'd need some other software where I could start a server and import my data. Otherwise it's useless.

If this software exists and it is an adequate substitute to Google products.. well, let's just use it then.

12