HNHacker News
TopNewBestAskShowJobs

im2w1l

373 karma · joined September 3, 2014

submissionscomments
im2w1l··on The Secret Ingredient in Orange Juice
Where I'm from (idk about elsewhere) pasteurized and homogenized milk is labelled as such. It is not something companies try to hide from consumers and it is not something consumers try to avoid.

That's how I think it should work. Honest labeling, and letting consumers decide.

im2w1l··on 'Anti-malarial mosquitoes' created using controversial genetic technology
I had never heard about gene drive before.

It refers to making sure all children (and grandchildren etc) inherit a trait, even though the trait isn't necessarily evolutionary beneficial for the organism. The way this is implemented in this case by having a gene that codes for proteins that insert the gene in chromosomes that do not already have it.

This means that by just releasing a few specimen with the gene drive, the entire population can be gene modified in not-that-many generations. A year may be sufficient for insects, since their generations are so short.

im2w1l··on Show HN: NBLAS, Node C++ bindings to CBLAS
Looks nice! I'd add sugar for the common incantations (inc = alpha = 1)
im2w1l··on UUIDs generally do not meet security requirements
C's rand() is typically poor as well. Thought it was par for the course for builtin rng to be somewhat shitty, but maybe other languages stack up better?
im2w1l··on Not Even Scientists Can Easily Explain P-values
Well normally, hypothesis is wrong <-> null hypothesis is right.
im2w1l··on The End of the Internet Dream
>Censorship isn't about total, fool-proof access limits. It's about trivial inconveniences.

That's because we have won a partial victory. They would very much like a total, fool-proof access limit.

im2w1l··on Robot gets rid of weeds automatically and without herbicides
Imagining the consumer reaction to green-glow-in-the-dark crops made me smile.
im2w1l··on Why 'Cool' is still cool
I associate neat with two expressions: "neat and tidy", and "that's (pretty) neat" (positive exclamation about a way of doing something, or a solution to a problem)
im2w1l··on What is a coder's worst nightmare? (2014)
Legacy aint gonna maintain itself ;)
im2w1l··on Math.random in V8 is broken
Fast hash functions can be really important for performance of hash sets and maps. In my experience high speed is more important than a low collision rate.

That was for primitive types, it may well be different for types where comparison is more costly. And of course if you need protection from algorithmic complexity attacks, then you will need to take that into account.

im2w1l··on The mid-Victorian diet was a mini golden age of nutrition
I think you misunderstand his point. He is saying that

1. if there is no free will then choices (and bad choices in particular) have to come from somewhere else.

2. that something is either unfortunate genetics or an unfortunate environment.

3. whichever of these is at fault should be fixed.

im2w1l··on Covariance and Contravariance in C++ Standard Library
Java has a nice solution: An ArrayList<Ellipse> is an ArrayList<? extends Shape>. But it is also an ArrayList<? super Circle>.

The former is "read-only" (can read elements which are all guaranteed to be shapes). The latter is "write-only" (we can add circles to it, but not all elements in it are guaranteed to be circles).

I use quotes because it is not strictly true, but any writes or reads will be of the sort that they don't cause type problems. For instance you can call clear() on a ArrayList<? extends Shape>

im2w1l··on Xmonad – A dynamically tiling X11 window manager
I assume you are an xmonad dev? I use it and I really like it. Could I ask you to look into the focus/unfocus loop issue?
im2w1l··on Introducing Progressive Equity – Increase employee ownership as company grows
I guess you give the same amount of kickers to every employee. Wont the kickers then be too diluted to be worth anything? I haven't done the math, just a feeling.
im2w1l··on A repository of modern C++ code samples curated by the community
First: Very nice site, good job!

I think you should remove the bubble sort snippet. A newbie may use it verbatim without realizing there are better algorithms.

It may be good to give an example of RAII that protects a resource other than memory, to plant the idea of wider applicability in your reader's head.

im2w1l··on A repository of modern C++ code samples curated by the community
Is it possible to declare something public domain, and license it as a "fallback"?
im2w1l··on WebGL: 80.000 particles
By drawing circles rapidly around the particles, you can herd them into a tiny blob. Move your mouse into the blob for a colourful explosion.
im2w1l··on More Rust compared to C++
Nowadays you would compute the FFT's on a GPU. And it does really matter.
im2w1l··on IPv4 Address Market Takes Off
And how much is a /24 then? $10 * 256 ?
im2w1l··on IPv4 Address Market Takes Off
I have a specific IP address I want to purchase. Is this possible?
im2w1l··on Burn rate says little about whether a startup is on track
Sorry for focusing on a sidenote, but this connection of neoteny and Valley culture piqued my interest. Do you know if there has been anything good written on the subject?
im2w1l··on Massive, Illicit Bust of Edward Snowden Stuck to a War Monument in Brooklyn
I can see it serving to purposes. 1. It lets 3rd parties know you are suspicious. 2. You may get a revealing denial/non-denial.

That said though I really dislike the atmosphere created by frequent shill accusations. It seems to rapidly create an echo chamber, where minority opinions are dismissed.

im2w1l··on Responsive Tables in Pure CSS
The article doesn't explain all tricks they use. A media query is used to apply the stylesheet selectively to small window sizes. That stylesheet splits the table into multiple ones.

The original table's border is removed, and every tr is styled to look like a table by giving it a border. tds are turned into rows by setting display:block. The td rows are given row headers using pseudo elements, which pulls their content from an attribute on the corresponding td.

im2w1l··on Learning Haskell as a non-programmer (2014)
It's an implementation of mutability in a non-mutable language implemented on a platform with mutability.
im2w1l··on The Great Filter – Are We Almost Past It? (1998)
Imo, we should be sending out seed ships with hardy microorganisms already now.
im2w1l··on x86 Disassembly
On the other hand, the absence of such information means that games don't depend on it.
im2w1l··on Sick time is logarithmic
Since there is confusion in the sibling comments, I want to explain how y = - kln(x) + m fits in with the exponential function. I am going to be a little sloppy with closed and open intervals and round a little.

x is the rank of the employee. Let N be number of employees. We can generate a new observation from the model by generating an x' uniformly between 1 and N, and inserting in the formula for y. Then p'=x'/N is a number between 1/N and 1, or if we round, between 0 and 1.

The generated observation will be distributed according to (convince yourself by looking at the submission's graph)

P(y' > y) = p, where y=-kln(Np) + m

or solving for p, where p = exp(m-y) / N. So

P(y' < y) = 1 - exp(m-y) / N

This is the exponential distribution.

im2w1l··on New Hacker News Guideline: Avoid Gratuitous Negativity
I like the rule "no feigning surprise". "No well-actually's" and "No back-seat driving" to me seem designed to help the linear flow of IRL interaction. But in a threaded discussion forum like HN, the important main thread can still go on unimpeded despite "no well-actually" side-notes.

The "no-subtleisms" rule is designed to hinder the spread of information about the differences of different groups. "It's so easy my grandmother could do it" is supposedly bad because it reminds us that there is a group, old people, who are not like us. Focusing on differences can create a hostile us-vs-them climate. But it can also remind us that there is a world outside of SV. That there are other people with other abilities and skills, with other problems that need solving. In this particular case it can remind us that if we want to target old people with a product, to make sure it is easy to use.

im2w1l··on New Hacker News Guideline: Avoid Gratuitous Negativity
Let's assume for the sake of simplicity that the debate concerns a non-subjective question, so it has a right answer, only it is unknown which it is.

The best outcome for HN is if we as a community converge on the right answer.

Now if someone brings argues poorly, but for the right answer, and then someone comes along and crushes the poor argument. Then the counter-arguer "wins" and succeeds in humiliating the "opponent". But the the wrong answer wins, and that is bad for the community

If on the other hand, someone comes along, reinforces the poor argument, and then brings a weak counterargument, then that gives the right answer a better chance of winning.

im2w1l··on The Amazing, Autotuning Sandpile
I am in a problem solving mood. Termination can be proved for finite graph with sink as: For every grain, compute its distance to the sink along the shortest route. For grains that entered the sink, use 0. Sort the values and put them in a vector. Note that there are finitely many possible vectors for a given number of grains and a given graph. Compare vectors lexicographically. With every topple at least one grain comes closer to the sink. This means that the vector decreases for every topple.
← PreviousPage 4 of 8Next →