HNHacker News
TopNewBestAskShowJobs

bnegreve

2,040 karma · joined January 4, 2011

submissionscomments
bnegreve··on I spent 22 years in prison for a crime I didn’t commit
GP's point is that the transcript did help.

> The shock and surprise of the accused was palpable from the transcript and believeable.

bnegreve··on Google Begins Testing Extension Manifest V3 in Chrome Canary
> How hard exactly is it to use Firefox instead of Chrome?

I don't understand, you're saying these discussions are useless because anyone can switch to Firefox anytime? But why would anyone decide to switch to Firefox if it weren't for these discussions. This is not something users can experience directly (like bad UX), clearly they need some level of understanding.

And Google taking full control on yet another thing on the web, does sound like a slippery slope to me.

bnegreve··on Google Begins Testing Extension Manifest V3 in Chrome Canary
> So rather than be alarmist [..] we should be pushing for changes that make this workable

If, as the author suspects, the intent is to break popular adblockers, I have no interest in trying to make this workable.

Personally, I think this is a typical half-legit move: there's a good intention (security) but it's also hard to believe they did not realize that by pushing these changes, they were going to break several of the most popular extensions available. And, that the direct impact of this would be that for a short moment (at best) many more ads were going to be displayed on Chrome.

I think we've seen a lot of these half legit moves recently (apple battery scandal?). So I'm starting to be more and more suspicious.

bnegreve··on Elephants Rarely Get Cancer, Now We Know Why (2015)
From what I understand, there's only a limited number of times you can perform cellular division without getting erroneous DNA copies (cancerous cells).

Like humans, elephants start their life with one cell, which is then replicated over and over again until the end of their lives. But somehow, elephants manage to reach body sizes 100 times bigger than humans (meaning many more cellular divisions) without having cancerous cells.

I think that's the basic observation that triggers this kind of research.

Disclaimer: I am no expert at all.

bnegreve··on 3D graphics rendering pipeline. Implemented in JavaScript. Run in a terminal
I'm not sure linear algebra is the best way to get into 3D graphics. I'd suggest, starting with old fashioned 3D renderers such as ray casters.

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

Of course it has more to do with raytracing than with 3D projections (which is most often used for real time 3D rendering). If you want to learn about 3D projections, first you should understand what linear algebra has to do with projecting a 3D model on a 2D screen. This is probably a good start.

https://en.wikipedia.org/wiki/3D_projection

And then, learning about matrix multiplications makes sense.

bnegreve··on Ask HN: What is the most beautiful piece of code you've ever read?
> What’s quite elegant about Ruby is how consistently it is implemented using its own simple set of core features, with very little magic or syntactic sugar.

Honestly, I don't think this has much to do with Ruby. This a consequence of using reduce or any other higher-order functions, which come from functional programming, and are now available in almost all modern multi-paradigm programming languages (including Python and Haskell).

I you like this kind of constructs, you should definitely learn a functional programming language, you'll love it.

bnegreve··on Before Deadly Crashes, Boeing Pushed for Law That Undercut Oversight
Quotes are made by people and it is often relevant to know who these people were to understand the quote.

It applies in this particular case: I'm not very familiar with Smith's work, and I am a bit puzzled that this quote is from him.

bnegreve··on Gmail marking email from me as spam
I also have my own mail server, and I have the same problem.

I'm guessing this is machine learning algorithms confusing correlation with causation once again. Being a small private mail server is strongly correlated with being a spammer. So even if you are not relying any spam, you certainly look like someone that would. And even if you have not done it yet, you will probably in the near future, so they might as well treat you as a spammer right away to avoid potential problems. (analogy with racism intended).

bnegreve··on Ask HN: What's a promising area to work on?
When I see charts showing the temperature raising at exponential rate like this one

https://en.wikipedia.org/wiki/Global_temperature_record#/med...

I find it very hard to deny that something bad is going to happen eventually. Because whatever is the phenomenon that is pushing the temperatures up, I see no reason for it to stop.

So massive disruption in a near future is a reasonable hypothesis, rather than a joke.

bnegreve··on Fluctuations in silver prices can predict the probability of terrorist attacks?
But if I understand correctly people donate when they don't have to pay tax.

From the twitter posts:

> Individuals who fall just below the threshold one year due the chance price of silver suddenly avoid a 2.5% gvt tax. Those people then increase their private donations to charity (since they have more disposable income + islam calls for alms-giving).

Or in clearer terms:

> ↑silver price → ↑tax threshold → ↓taxes → ↑charity → ↑terrorist financing → ↑terrorist attacks!

bnegreve··on Fluctuations in silver prices can predict the probability of terrorist attacks?
That would be if the price of silver increases by 5% then.

According to the post if the price of silver is higher, the tax threshold increases and more people have extra money to support whatever organization they want.

bnegreve··on A multithreaded fork of Redis that is faster
You're right but still, I don't think it is difficult to realize that a particular process is only using one core. If you think it is, you should probably consider another application to monitor system usage.
bnegreve··on A multithreaded fork of Redis that is faster
Except if you monitor per CPU usage, as you should.
bnegreve··on A German word for:“It only works when I try to show you how it does not work”?
Absolutely: it's when you want to show that it doesn't work and it does not doesn't work :)
bnegreve··on The vultures of Spain skirt around the Portuguese border with uncanny accuracy
It's not just the first tweet, read the whole thread.

> The Portuguese-Spanish border follows river valleys and is not associated with abrupt changes in climate or land-use.

> The reasons for the mismatch are historical. In 2001, Europe’s answer to the mad-cow disease (BSE) crisis was banning the abandonment of dead livestock. [...] [Conservationists] convinced European Union legislators to delegate the choice to member states. Some countries, like Spain, resumed cattle abandonment under special conditions. Portugal never changed its laws.

bnegreve··on The Fine Art of Baloney Detection (1995)
Yes, and in this case, an unreasonable one.
bnegreve··on The Fine Art of Baloney Detection (1995)
It is not, because at least 3 factors of the equation are incredibly difficult to estimate. About as difficult as estimating the probability of an alien encounter. So the equation is basically useless.
bnegreve··on Hacker Who Revealed Soccer Secrets Is Charged with 147 Crimes
But when one of the two parties is a large group with massive influence, it is more likely to happen.
bnegreve··on Asciicker – an online 3D game demo rendering to ASCII text
A bit more info here

https://www.reddit.com/r/asciicker/comments/d3ca43/whats_goi...

bnegreve··on The Future of Wind Turbines? No Blades (2015)
> It requires less maintenance (no moving parts)

They are no rotating parts, but some parts are moving.

see here: https://vortexbladeless.com/technology-design/

bnegreve··on The Argument of Twelves and the Metric System
Nautical miles make some sense because they are consistent with the lat./long. coordinate system (60 miles = 1° lat). For the rest, I'm not sure.
bnegreve··on 3.8M-year-old skull of an early ape-like human ancestor discovered in Ethiopia
> Where else could you find commenters that know better than the scientists authoring the Nature article in question,

They don't know better, they try to understand better. Why not?

bnegreve··on Woman Finds Yellow Diamond While Watching YouTube Video on How to Find Diamonds
And since carbon is the 4th most frequent atom in the universe, you would also find a whole bunch of not-so-interesting things.
bnegreve··on Finland producing food protein from CO2, water, and electricity
>Food out of thin air.

Plants also produce food from CO2 + Water + solar energy. How does it compare to plants?

bnegreve··on Lunar Eclipse: An Email to a Daughter and Son-in-Law
"something physical" happens in both cases either to the moon (lunar eclipse), or to the earth (solar eclipse).

If you're going to question people's perspective, tell them this instead of telling them that solar eclipses are virtual.

bnegreve··on Lunar Eclipse: An Email to a Daughter and Son-in-Law
> Solar Eclipses are Virtual. They really do not exist. [..] Lunar Eclipses are real. They are actually happening of an event on the moon.

During a lunar eclipse, the earth projects its shadow on the moon. During a Solar Eclipse, the moon projects its shadow on the earth. Only the shadow is smaller. I'm not sure what makes lunar eclipses more real.

bnegreve··on What is Silverblue?
>Even when the processes are loading the libraries from different paths,

Well, in my original post (GGGP) I've defined "a library" as "a .so file" so what I can say is that the 872 distinct .so files used on my laptop will be shared among the different processes that use them.

If you assume the same library can be duplicated in two different .so files, then 872 is just an upper bound on the number of distinct libraries and further sharing could be done.

Eitherway, that is a significant amount of code sharing, which was the original question in this thread.

bnegreve··on What is Silverblue?
On linux, none of these libraries are duplicated, they are loaded once, and shared across all processes that need them.
bnegreve··on What is Silverblue?
On my laptop:

How many libraries are loaded:

    $ sudo cat /proc/[0-9]*/maps | grep '\.so' | grep 'r-xp'  |  tr -s ' ' | cut -d ' ' -f 6  |  wc -l 
    15429
How many unique library names:

    $ sudo cat /proc/[0-9]*/maps | grep '\.so' | grep 'r-xp'  |  tr -s ' ' | cut -d ' ' -f 6  |  sort | uniq | wc -l 
    872

Top 10 most shared libraries:

    sudo cat /proc/[0-9]*/maps | grep '\.so' | grep 'r-xp' | tr -s ' ' | cut -d ' ' -f 6 | awk '{count[$0]++}END{for (i in count) print i, count[i]}' | sort -k 2 -n -r | head -n 10
    /lib/x86_64-linux-gnu/libc-2.28.so 299
    /lib/x86_64-linux-gnu/ld-2.28.so 299
    /lib/x86_64-linux-gnu/libdl-2.28.so 262
    /lib/x86_64-linux-gnu/libpthread-2.28.so 237
    /lib/x86_64-linux-gnu/librt-2.28.so 227
    /lib/x86_64-linux-gnu/libuuid.so.1.3.0 205
    /lib/x86_64-linux-gnu/libz.so.1.2.11 200
    /lib/x86_64-linux-gnu/libpcre.so.3.13.3 186
    /lib/x86_64-linux-gnu/libresolv-2.28.so 170
    /lib/x86_64-linux-gnu/libgpg-error.so.0.26.1 169
EDIT: add grep r-xp to count code segment only, values in previous edit were overestimated.
bnegreve··on The German Tank Problem
I suspect there is a strong winner bias here. Success stories of allies tends to be reported more often.
← PreviousPage 6 of 25Next →