skysight-inc/HackerNews huggingface dataset:
> I need to sit down to give this more thought, but I still think there's value in P2P networks, and it's worth pursuing.

My argument against this is just because it's purely peer-to-peer, it doesn't always directly mean it's an overall improvement in the user experience.

> You should be able to easily replicate and share content that you care about.

Yes there is definitely value in that, I even agree with there! But I personally think turning the whole thing into a completely peer-to-peer approach isn't the answer. It's the raw shit problems about bandwidth capability and network latency which really matters - which, if you've tried streaming from utorrent/bittorrent before, it's very obvious that the experience is still greatly affected by the lack of a little centralization that YouTube has.

> The big incentive is being able to keep your own copy and being able to do whatever you want with it. How many times have you tried searching for an old YouTube video, only to find it got taken down?

Neutral on this, very nuanced since most of the time it involves legal issues and opinionated perspectives, lol.
that was interesting however at the end he says all their papers are at ctlab.org, which is now a parked domain...
These assertions are descriptions of the current set of crypto P2P storage systems.

Peers only store one copy of your data, per peer. Of course, multiple peers will store copies of your data or the system could never work, but there isn't too much incentive for any one peer to store two copies of your data.

Price volatility for these systems is already a fact, and it's unlikely that any crypto could match AWS' historical price predictability of "monotonically decreasing".
> It seems reasonable for the compiler (or some other tool) to produce a hard error here and prevent this code from compiling, saying, hey, this is clearly doing something unwanted.

The thing is, the redundant null check usually doesn’t appear literally in the source, but comes from an inlined function call (or even a macro). In that case, the null check is probably not a mistake; it’s just that this particular caller of the function that got inlined never passes null, and so will never trigger that code path.

I do think there’s unexplored potential for compilers to identify when they’ve eliminated code that didn’t come from inlining, and warn the user about the potential bug. However, this is much easier said than done, since the IR has gone through a lot of transformations by that point and there are a lot of edge cases to worry about. For example, even if all the IR instructions corresponding to a given piece of source code are dead, that code might still have affected the function compilation in some manner and thus isn’t useless – such as by being merged with a different (or perhaps redundant) computation, or by affecting control flow.

Also, even if some code path really is useless as compiled, it might be for innocuous reasons. For example, perhaps a given null check was not itself inlined, but the value being checked comes from an inlined function:

void *get_a_pointer(void) {
static int x;
return &x; // not null!
}
int main(void) {
void *p = get_a_pointer();
if (p == NULL) …
}

Unlike in the reverse situation where an inlined null check might be useful to another caller, here we know that that null check will never fire – that is, in this program, in this configuration, the check is useless. But perhaps with a different set of configuration flags, or on a different platform, the code uses a different implementation of get_a_pointer() which could return null. Or perhaps there is an abstraction boundary between main and get_a_pointer, where the documented interface of get_a_pointer says it might return null: even if the current implementation never does, the author expects that that might change in a future version of the code, so clients should proactively include a null check to avoid future breakage. (Of course, get_a_pointer might be part of a third-party library, and the author of main might have never even peeped at its implementation. These situations are especially common if you’re using LTO.)
Some small benchmarks are at https://michal.muskala.eu/2018/06/20/my-otp-21-highlights.ht...
Fox and Disney sign new merger deal
I use it by default, on my linux workstation and mbp. On my linux workstation, the browser needs periodic restarts as it gets laggy. Chrome does not need this, but I've stopped trusting google and so am removing as much google as practical. The firefox android app is pretty good, too, except there's no pull to refresh which is pretty annoying.
> hint -W exclaim_quiet mpv

You know how mathematicians get excited by exp(-i*pi)+1=0? This is like that but for all of the things I'm embarrassed about in Tridactyl:

- our documentation is not great, particularly of current configuration/possible configurations, hence why the GP didn't know about it

- hints don't support pipes - obviously this should be `hint | ! mpv`

- hints don't support pipes because of a bad architectural decision: we have most stuff living in a background script, when really we should probably have most stuff run on the web page where all the objects live, so that passing them around is easier

- we don't have an argument parser, so silent versions of commands have to be separate functions

...but I'm very glad you like it!

Regarding your pain points:

1. Tridactyl actually works really soon after the page starts loading, but only for commands that don't add UI. Personally I use quickmarks to escape from slow loading pages. Otherwise, this will probably never be fixed.

2. This isn't actually true. Tridactyl does override page binds. The reason you think GitHub is stealing a Tridactyl bind is because GitHub steals `/`, but Tridactyl doesn't bind anything to `/` - that's a default Firefox bind! (And whoever decided it would be a great idea to use that in GitHub should probably test their code in more browsers).
If you want, you can create an account to ‘sync your ghostery settings’. The username of the account is your email address.

The exposure happened because they sent a mail with a lot of people in the CC: field. Amateurish but it happens. The irony is that the mail was to inform you of the privacy changes due to GDPR.
Or "I'm two months delayed"
I always have Chrome open, but Edge is still set as my default browser to open links from applications. It opens quickly and it works perfectly fine. Have never had issues with Edge. If I could use some of the same Chrome extensions on Edge, I'd probably even use it most of the time.
Ask HN: Duplicate post gets higher upvotes
"Firefox is back. It's time to give it a try"

This article had been posted 8 hrs back by two members within 1 hr of each other. The first post is by a member having 200+ points and the second duplicate post by a member having 5000+ points.

The second post is now at the top of the page with more than 745+ upvotes, while the original post has quietly died to page 3 of HN.

Is this just how things are or does higher karma have advantages in posting?
> And yet, in many cases they are a productivity drain. Time is often better spend by writing testcases instead of chasing down type issues(more so if a language has a 'generics' or C++ templates concept), so that approach got favored in many fields.

From my experience I've seen that type hinting and checking provides a better ROI than automated testing. It is not either/or, you will most likely need some automated testing, even if it is just unit tests. But at the very least use types. It provides broader benefits than just catching stupid bugs and typos. At makes your code base much easier to understand and code paths much easier to follow.
As a data science intern, i use:

- Python on Pycharm for crawling, cleaning, and database related stuff.

- Jupyter lab for analyzing, visualizing, and reporting insights.

- Bitbucket for personal private projects.

- Gitlab for company related projects.
Tangental:

"the researchers added a simulation in which the depth and mass of fish were tied to the rate of mortality by fishing"

Is this really a process where simulation->result->theory. IE died the model or simulation played a key role indeveloping or validating a theory. Or, is this a process where they started from a theory (that works, explaining observed results) and then built a simulation that demonstrates the theory?

I feel like I'm seeing this kind of language in the pop science press, maybe starting from the climate/weather world.

Have models of ecosystems (eg) been getting more use as "theory generators," are researchers creating more models ex post as an supporting evidence, or is this just a shift in journalistic language?

...and... if the answer is "models are really playing more of a role"... please elaborate if you know anything interesting. What software is being used? Are biologists building these models/simulations themselves, or are there specialists available to them?

^ I'm not hating on language choices or ex post evidence gathering. Darwin used what we might call a "simulation" (or statistical analysis, depending on the journalist) to predict and then validate a theory about bird mortality in storms. That was great science, and foundational. Not hating. Just curious about changes in the role of simulation/modeling.
It seems that all these points assume naturally unlimited and indefinite population growth, but it is projected that the world population will reach a certain point and then level off (see https://ourworldindata.org/world-population-growth for some charts).

The basic argument is that increasing the education of women leads to fewer children. You can already see this in developed countries which are actually starting to exhibit negative population growth (e.g. Japan).
Actually you should correct that as "If you're not a C compiler writer".

Undefined behavior is one of the tricks that enabled C compilers to catch up with what everyone else was doing in big iron outside AT&T walls.

Fran Allen the Turing awardee on high-performance computing and compiler research, stated this on C:

"Oh, it was quite a while ago. I kind of stopped when C came out. That was a big blow. We were making so much good progress on optimizations and transformations. We were getting rid of just one nice problem after another. When C came out, at one of the SIGPLAN compiler conferences, there was a debate between Steve Johnson from Bell Labs, who was supporting C, and one of our people, Bill Harrison, who was working on a project that I had at that time supporting automatic optimization...The nubbin of the debate was Steve's defense of not having to build optimizers anymore because the programmer would take care of it. That it was really a programmer's issue....

Seibel: Do you think C is a reasonable language if they had restricted its use to operating-system kernels?

Allen: Oh, yeah. That would have been fine. And, in fact, you need to have something like that, something where experts can really fine-tune without big bottlenecks because those are key problems to solve. By 1960, we had a long list of amazing languages: Lisp, APL, Fortran, COBOL, Algol 60. These are higher-level than C. We have seriously regressed, since C developed. C has destroyed our ability to advance the state of the art in automatic optimization, automatic parallelization, automatic mapping of a high-level language to the machine. This is one of the reasons compilers are ... basically not taught much anymore in the colleges and universities."

-- Fran Allen interview, Excerpted from: Peter Seibel. Coders at Work: Reflections on the Craft of Programming
Great post, I dig it.

But I'm fucking wondering why there isn't an option to subscribe to future posts / your site in general.
The radical lessons of a year reporting on knife crime
If your domain predates the trademark, and you're using the domain and not squatting on an empty page then I don't see why you would be obligated to give it up. If they just sent a strongly worded letter/email I'd be tempted to just ignore it really. I am however not a lawyer and you might want to consult one.

You might be interested in reading about Nissan.com, where the owner has had an ongoing struggling with the Nissan Motor Company over the domain name.
Cryptocurrencies Fall as Korean Exchange Says $32M of Coins Stolen
it happens all the time that duplicates are necessary for a story to get attention (and probably the reason why duplicates are allowed at all), and often the early submissions are by high-karma posters, so I don't think it plays a role.
Papers we love[0] has a couple of good ones, my favourite being "Out of the Tar Pit"

[0]: https://github.com/papers-we-love/papers-we-love/tree/master...
What you're talking about is the difference between an ecology and a monoculture.

The reason why we don't see monocultures in nature is because they put every single one of their members at risk of sudden death. A single pathogen can wipe them out. The exhaustion of resources required to sustain them can starve them. The build up of by products can kill them. Think of a medieval town drowning in excrement, running out of top soil and about to get hit by the plague.

An ecology on the other hand puts none of their members at risk by virtue of their existence because they are diluted. Think of a band of hunter gatherers, they might individually die at 40, be exposed to ebola and worse, but the fact they are so widely separated and so few means that they have few if any vulnerabilities that can kill the whole tribe.

The reason why we see monocultures now is because they are more efficient and our time horizons are tiny. Amazon will fail catastrophically. Billions or trillions will be lost. No one will learn anything because it's cheaper not to than to build a really resilient network.
I think replicated personal data is great, but the author's point is you are probably going to get a lot more storage and bandwidth per dollar by replicating across centralized storage providers.

There may be some wins for the specific case of loading something from someone on the same LAN as you, but that's probably not something that can sustain a P2P storage market.
I come from a Perl/Js background and find D quite easy to pick up and be productive in, as opposed to C, C++ or Rust. With Rust and C I always find myself fighting the compiler.
Discovery on YouTube sucks so much they might as well not have it.
That is a risk for all magnets though.
Right, if you stick strictly to use cases covered by NumPy, Pandas, Matplotlib etc, there are better options than Python. But many real programs need other things too, and that’s why they start in and stick to Python regardless.
What do you mean? There's an RSS available: https://blog.dshr.org/feeds/posts/default?alt=rss
I'll say this in every Coinbase thread: They did this to me, then I contacted the CFPB -- it's quick and painless via their website -- and within a couple of days Coinbase's support team became coincidentally responsive again. I got my money back quickly.

I was surprised because I'm 1) a cynic, and 2) not a US citizen. But it worked!
"Make America great again"
The process of creating StarCraft II prototype on Alexa
don`t know for chewing gum, but it`s in tooth paste as well
The issue isn’t just that src->data and dest->data might overlap, which TBAA doesn’t forbid anyway (although that’s what restrict can help with). It’s that dest->data might alias src->len, and magically change the length midloop. I doubt there’s any legitimate image manipulation where that would happen, but the compiler doesn’t know that...
Original formula didn't count karma as a ranking factor. But who knows how it works today.

https://news.ycombinator.com/item?id=1781417
I'm positive that a significant amount of people will be genuinely impressed by it.
Why?

Would you say the same for other laws and rights, like gun ownership?
When was cloning considered morally reprehensible? By who's standard are you taking as an authority here?
Interesting. My impression from the above bug was that they explicitly decided against keeping it open. If they reversed their position, that would be good news.

Could you give a link where this is discussed? I see crbug.com/378566 mentioned in another comment, but there doesn't seem to be a decision in there, apart from general acknowledgement that the use-case exists.
Somehow the main article link is behind a paywall for me, but the mobile one is not: https://mobile.nytimes.com/2018/06/20/technology/deep-learni...

(YMMV)
Obviously the ideal is to reduce "disposable" waste and we have lived 6000+ years as homo-sapiens without most of this modern stuff.

I like the idea I heard about in a European country (sorry, forgotten which), where there is a disposal tax paid on all goods by the manufacturer so that the removal of waste is already paid for and doesn't require people to fly-tip etc. This is presumably a nice financial incentive for people to make better packaging to reduce their tax and therefore their sale prices.
I'd recommend The Wind-Up Bird Chronicle
Luckily this is not the only direction:

> To test his theory, he nailed his wife’s dog to a board and chopped it open while the poor thing was still alive.

https://knowledgenuts.com/2013/09/29/descartes-dissected-his...
Show HN: iOS 12 Dark Mode Notifications
> like a drunken Godzilla in mid-90s Tokyo.

You know you're old when you hear people making references to Godzilla in the 90s :-)
You can bring a container that they can weigh and use like a Mason jar.
React Native and ClojureScript – An obscure stack
What is your definition of valid? It's not valid by any C standard or common compiler implementation. For the sake of any argument, we should at least agree on a common definition for valid.

As for deleting null checks, time-travelling UB etc. the compiler always assumes the code is valid, bug-free for the compiler-specific definition of valid. This is at least the standard definition but it can be expanded by flags and extensions. Then they optimize that code without regard to what happens if the code actually had programming bugs.
> Almost everything we do relies on C at the bottom, and it's pretty much the only viable way to publish an API that can be consumed by multiple languages.

Not quite true, on Windows it is called COM, WinRT or UWP as of Windows 10. Or MSIL in alternative.

On IBM i, IBM z, Unisys ClearPath, takes a variation of what is known as language environment.

On Android you will have more luck targeting DEX than C.

On browsers better compile to JavaScript in some way.
There is a common misconception that “variable” data can mean “messy” data
whose initiative though, the soldiers or the generals?
We're using LetsEncrypt with local domains.

We have a domain for internal usage only, where we can modify TXT records. Through this, and a little help from acme.sh, and dnsmasq, every workstation can have unlimited, valid certificates for local projects.
Prestashop Look Me Sexy Lingerie Template:
Titanium Dioxide is used practically everywhere. Its the "white coloring" in paint, food,skincare, medicine,plastics,paper, coatings,inks,etc.
https://en.wikipedia.org/wiki/Titanium_dioxide
pun intended?
Most of those features are available on UWP.
It is natural that it tries to evolve, this is an enemy with more resources than the US army. We wont kill it with one attempt. We need to keep continue still.

In my opinion, leaks have been the best tool so far: it adds a risk to tax evasion that is kind of new. Every added cost or added risk is welcomed.

And people usually hate when I mention that, but I am fairly convinced that most of the value of bitcoin comes from people desiring to move huge funds discreetly and efficiently between accounts. It probably made the whole industry move faster than countries' regulations.
I think Google sort of pushes content it thinks you are searching for based on what others who have used your query or similar queries have clicked. Do you really dislike the results you see or are you just unwilling to click them because you think they're heavily SEOed? Most users wouldn't notice this TBH.
Luckily for us, the developers at google are precisely the kind of people to have several accounts.
The two could use mutual TLS with baked certs
These days, you can also run terminals as panels in vim, so vim is sort of its own terminal multiplexer now.

:help terminal.txt
I'm excited because I follow a lot of video content creators on instagram, having to switch to youtube or twitch.tv to actually watch their content. If I can get all of their pictures/text announcements and video content in one place I will be very happy. Though as a separate app, it doesn't sound like it'll be integrated as nicely with instagram as I'd hope for.

EDIT: I missed that it can be watched from within the instagram app too, this is almost perfect! I just need landscape video support so I'm not watching streamers play in vertical mode and I can finally stop using youtube.
Firefox never left... it was always the best the thing is just that the benchmarked and test and comparison to chrome speed is biased... you see Firefox is much faster using thousands (and even fucking 200 tabs the must i'v used...) open tabs and run in a smooth way and fast and...

unlike what people think Firefox is much faster and has much better maintenance being open source and...

Firefox holders much better over time

and the um ui and of course ux in much better if you actually try and use Firefox with/vs/... chrome over time you will find Firefox to be better...

the thing is just that Firefox is better for the power user... not the average stupid user who known how to get to google....

(My English is not my native language/ the best plz excuse my grammar and...)
Weibo blocks John Oliver after scathing Xi Jinping skit
Err, wait a minute. Atmospheric nuclear weapons tests HAVE measurably increased background radiation.

Source: See for example both the table and the C14 graph at https://en.m.wikipedia.org/wiki/Background_radiation

Source 2: Grad degree in physics. Worked at nuclear physics lab.
Rest assured, it is quite clear to us that until we get rid of UNIX clones, C isn't going anywhere.

So the only alternative is to improve the band-aids and keep sponsoring PhDs on security research related to C.
If you "predict" that it might not make a bestseller list, it's not a particular leap to predict that it wouldn't make it past a publisher, either?

I am making no attempt to quantify this, I simply have no data, but it seems the argument is that today it is relatively more fashionable to write a book about black women doing something that is traditionally thought of as something white men would do, regardless of the "classic" qualities of the work. If it is the case (and I have no data to argue either way) that such a fashion means that a mediocre book about black women doing something (not saying the particular book is good or bad, I don't know it) gets published instead of a really good book about white men doing something, that could certainly be considered "diminishing the literature and cultural products of the West".

But there has always been literature pandering to political fashions, and fashionable literature has always enjoyed an edge over unfashionable literature. Some of it is good and has stood the test of time, and some (most, probably, this is a power law domain) of it pretty bad, and totally forgotten. It's easy to look at the literature that survived from 20 years ago and compare with whatever flash-in-a-pan is being hawked by publishers right this minute and see all kinds of diminished products.
Spite buildings: when human grudges get architectural – in pictures