skysight-inc/HackerNews huggingface dataset:
So what? Qualitatively, it feels like PVS-Studio's false positive rate is higher than Coverity. And far higher than a modern free compiler's -Wall.

To describe the 27,000 detections as errors is a little misleading, and I think that's what the grandparent post is discussing.
...but ReFS File Integrity is disabled by default! Integrity streams are enabled for metadata only. Here's how to turn it on: https://technet.microsoft.com/en-us/library/jj218351%28v=wps...
That isn't a real solution. Searches are imperfect and this forfeits the entire foreign market. I think Musk has the right idea on novel inventions, the only way to keep them secret is to actually keep them secret.

An honest patent forces a description good enough to duplicate. Better to keep your secret sauce secret.
Is that also true to HN, since most users can't downvote?
You want Nordic nRF24L01+ radios. That can be trivially handled by an 8bit micro using SPI, modules with these cost peanuts. However, if you want a PC/phone connectivity you would have to build your own dongle - or reprogram one from a wireless mouse/keyboard. Many use these chips.

Another option is ANT+ - that is very low power but also very low bandwidth (8 byte long messages 4x a second ...) protocol used mostly by fitness gear like training bikes, treadmills and such. Many smartphones have radios that are able to use it. Again something that is easy to make work even with an 8bit micro.

For more advanced stuff there is Zigbee, but that is quite a bit more complex (but still manageable even by an 8bit MCU) and there are some licensing issues which kept it rather obscure.
Again, I'm not suggesting Google issues a public statement before a congressional panel - "do the thing we want, US government, or we'll get ya!" I'm saying they could be much more insidious with the kind of power they have.

Like the King's head Surgeon - he could never take on the King in hand to hand combat, but he can certainly poison him slowly, over time and invisibly, in return for more consolidated power or money or some other such thing from the King's son.
Hypothetical? https://www.freepress.net/blog/2017/04/25/net-neutrality-vio... (and a rebuttal: https://hightechforum.org/fact-checking-net-neutrality-viola... )
Well, I'm in favor of technological spread across the world, especially when it's beneficial to the environment or society at large.

However, Chinese solar cell firms have been dumping cheap and sub-standard solar panels on America for years in an attempt to destroy the American industry, so I am less excited about specifically Chinese solar panel firms gaining access to this technology.

I suppose it marks me as a bit of a chauvinist in this case but I would prefer if those who conduct themselves as adversaries do not also enjoy the benefits accorded a friend.
Verification ≠ specification.
Iowa's redistricting commission is truly non-partisan: no politicians are allowed to participate.

Seems to work fairly well for them just looking at the maps and variety of results:

https://en.wikipedia.org/wiki/Iowa's_congressional_districts
There's a meaningful difference between centralized, decentralized, and distributed. I think you may be confusing the latter two.

Decentralized systems can still form groups and have various hubs. In such a case, the security of the network depends on how large these hubs get, not whether they exist at all.

Distributed systems ensure that most nodes are similarly sized and have similar connectivity to the network. In the case of cryptocurrency, many people imagine this as every user of the currency having a roughly equal stake in maintaining and securing the network.

Distributed systems may be ideal for some applications, but they are (likely and thus-far) not required for Bitcoin.

First, the degree of centralization is still relatively low. Individual miners remain small fractions of the network. Some mining pools have gotten quite large in the past, but miners can join and leave pools as they see fit. The risk they present is fairly limited as their network power is not controlled by a single entity.

There's also the issue of geographical centralization. This may be largely the result of ASIC development. Right now, mining profitability relies on rapidly adopting new, more efficient miners as quickly as possible. It strongly favors cheap power and short timelines. As the ASIC market matures and runs into the same hard limits that CPU manufacturing is faced with, the economics change such that more capital investment can make sense. In these cases, mining may be profitable in more geographically diverse areas.
Totally! It's not about the fundamentals, it's about things like "macros are global" and "almost entirely hygienic but sometimes not", stuff like that. Stuff that would be backwards incompatible to just fix.
Those who support monopolies can only be shills. There are no "approaches" here. Other option can be someone severely misinformed, which also can't be called an approach.
The filesystem as basic infrastructure has to be robust and fuss free. The complex stuff is going to be built on top of that.

After years of btrfs I realized while the all the features around snapshotting, send/receive etc are great the cost in performance and other issues is too high.

And using plain old ext4 is more often than not the best compromise so you can forgot just about the fs and focus on higher layers.
Only those of us with the 'showdead' profile setting enabled will see them, though.
Do any Samsung products not contain software written by them?
> I feel like the biggest reason for me not even thinking of Rust as a viable language right now is the community attitude

Kinda reminds me of the "coal vs. renewable energy" feud. The first tier arguments are formed around {economics, externalized costs, existing infrastructure, base load vs intermittent load} and then second-tier arguments align around {culture, history, identity, momentum, geography, political party}. You are making a second-tier argument against Rust when the article is making a first-tier argument for Rust.

I would argue that you are attributing to "the Rust community" the more outrageous attitudes which are a minority of the Rust community and ignoring the majority which have much more rational and banal attitude. And likely you are attributing the inverse to the existing C/C++ attitudes towards Rust (conveniently ignoring lots of the best arguments for Rust). It's exactly what happens in those feuds you described and in modern US politics (Democrats vs. Republicans, liberals/progressives vs. conservatives, secular vs. religious, etc). By focusing on the strawman arguments, you are missing the potential benefits of using a newer generation language.
Someone submitted a PR to Mozilla to fix this, and the Mozilla devs closed it, arguing that Google Analytics does not count as tracking. See: https://github.com/mozilla/addons-frontend/pull/2787#issueco...

The TOR devs are fixing this part in their browser, and their comment was:

> Disallow `about:addons` unless the extensions directory is volatile, because regardless of what Mozilla PR says about respecting privacy, loading Google Analytics in a page that gets loaded as an IFRAME as part of an `about:` internal page, is anything but.
nodesource's rpms and debs have been updated too.
A dropped frame is always noticable. What you can do is keep a budget for GC and then force-collect every frame.
>Well in UK there is no Jay-Walking Law (Pedestrians have right of way).

In California at least, pedestrians have the right of way, but Jay-walking is still illegal.
To the best of my knowledge, there is no safeguard in place that could prevent such a course of action if it were attempted

I can tell you for certain that there are dozens of safeguards. That scenario not only isn't possible, it's not plausible. Yes the President has the "codes" but those codes don't launch the missiles [1]. The scenario described is one in which there are literally nuclear warheads on a ballistic trajectory headed to the US with a verified source of origin.

I think the trope stays around because people, despite what they say publicly, like the idea of an emperor style president with supreme power.

[1] https://www.bloomberg.com/politics/graphics/2016-nuclear-wea...
Accusations of astroturfing and shillage aren't allowed here unless you have evidence, and someone else having a different opinion doesn't count as evidence. Please don't post like this to HN.

For those who want to read further about HN's approach to this, there's another thread from today at https://news.ycombinator.com/item?id=14753932 and links to much more from there.
Hulu is the worst for this. Fall asleep watching a show I like, wake up with random shit in my queue that I can't convince Hulu I don't want to watch.
The countdown is only shown when the pedestrian crossing is on green. Drivers don't get a countdown on their green signal. Most also have a plastic shield around the countdown so you can't see it from where the driver is sitting to avoid people preempting the signal change.
Also you don't have the combinatorial explosion of making sure that the CSS for the new sidebar/footer/reusable element is available every time it appears in a page. It also simplifies debugging specificity issues a little (but shuffles the problem around a bit).
couldn't we simply have crosswalks that have 3 buttons for short (bike) medium (normal walking) long (need extra time)? Seems like it would be cheaper and more accessible than an app.
lol. If you need the cluster things, I wouldn't consider that SOHO anymore.
Which version did you use and when? 10 years ago the IDE would crash at you sneezing at it and it wasn't until 7-8 years ago that things became stable. However i cannot remember the last time i saw the IDE crash (and wasn't my own fault with a component i was making that caused it to crash, but even that that is rare).

Note that there are a few versions flying around that are unofficial builds, some with addons that break it. Sadly one of them is the one from getlazarus.org which is both unofficial and often comes with unfinished and buggy features from development versions that cause it to crash and be generally more unstable. Combine this with the fact that the guy behind getlazarus.org tries his utmost to promote Lazarus (his version from his site) and there is a chance people who first learn about Lazarus will use the buggy one. He obviously means well, but i really wish he would link to the official site (http://www.lazarus-ide.org/) instead. The builds there are much better tested and there are many week-long release candidate builds that are tested by many people in the mailing lists, forums, etc before an actual final release is made.

Also note that the native Mac version is really in a worse state than the Windows and Linux versions. Thanks to Apple discontinuing Carbon (which is what Lazarus uses on Mac by default), a ton of work has to be done to rewrite the backend in Cocoa and there are very few programmers working on the Mac version so this progress is slow (also AFAIK this was delayed to implement the "Objective Pascal" extension to the compiler that would allow using Objective C classes directly without needing an intermediate C layer). Today you can use both Carbon and Cocoa as backend targets, but between the two the Carbon one is still the most stable. As an alternative you can use the Qt backend though that is more stable and featureful (thanks to it being also worked by the Linux devs), but you'll need to bundle a bunch of shared libs and are throwing all notions of minimalism out of the window :-P. Still it is the only way to get full featured stable 64bit apps with Cocoa made in Lazarus, at least until the Cocoa backend improves. And it isolates the bloat to a single platform, which while not ideal, is better than nothing (and IMO even the Qt+LCL combo is still better than bundling an entire web browser with your program).
Well, I am curious: what makes other browsers better for you?

Real extensions? Yeah I know they will be less useful than they used to be but still way better than anything else it seems.

The fact that it handles my browsing habits like a few hundred open tabs?

Oh, and by now using almost any other browser than chrome give me a happy feeling. The limit goes somewhere between Edge and IE it seems :-P

Then the news that Mozilla forces you into being tracked by Google Analytics comes out, and that good feeling is gone, so what's your use case?

I didn't see that and didn't find anything when I searched now. Do you have any pointers?
Are there any examples of this happening?
Is it impossible for websites to use my horizontal space? I don't like having a tiny bar in the middle when I have 300 unused pixels either side of the text, this phone centric internet is really annoying on desktop.
I don't disagree, it's just why place merit into an opinion that is poorly using a library(ies in this case). If I were to compare two libraries I wouldn't use the exception cases to show their differences - it's unhelpful and misleading.
Those rationales don't make much sense to me since they seem like they'd be equally applicable to the keyboard and trackpad.

Every design is about tradeoffs. In this case, the mouse would have to have a somewhat different shape to accommodate a port at the front. That different shape would surely be a poorer fit for the visual aesthetic they were going for and it likely would've impacted the feel during usage, as well.

Some people would prefer that tradeoff — certainly those who would prefer to (or have to because of an RF-noisy environment) use the mouse wired all the time. I expect the vast majority of their customers don't do that, though; and, I, for one, prefer (or at least am neutral to) the choice they went with.

It definitely makes for a silly-looking photo while it's charging, but it's certainly not a blunder that none of the designers ever considered.
Well I tried to find that evidence... got tired of chasing references, never did get to the slam-dunk evidence that it couldn't have been typed on a selectric, if it exists.
Yep, assembly’s not the best UX.

When you’re coding assembly, you have to code everything in it, including code running on the scalar parts of CPU cores. With intrinsics you can code these parts the usual way, e.g. for( size_t i=0; … )

With intrinsics you can even compose your vectorized code the usual way, VC and Clang have __vectorcall calling convention for that, Intel has very similar __attribute__((regcall)).
If you write good code, there won't be that many FPs.
I love Dresden Codak and this one is spot-on. I don't get the downvotes.
I don't think you'll ever remove money from politics entirely. But I do think it has gotten out of hand, and somewhat criminal, in recent years. I won't say more than that, lest I rant about current politics.
Likewise, I have no problem with it (for mouse, trackpad and keyboard, all in all-day use).

I'd still prefer wired for anything stationary (keyboard & trackpad in my case), just to eliminate the entirely superfluous batteries. In a world where that option isn't available, however, bluetooth works perfectly well for me.
Someone told me about this in 2009. I do not know if it is just a rumor. We were in a piano bar in the old town in Zuerich. I did not know them but they were serious people who lead interesting enough lives not to have to make up stories. Although now I see Daily Mail I am beginning to doubt. He said they are all huge, same in size but hard to work and that there was a 'mother' one which was enormous. His friend sang 'Simply the Best' for Putin. Is it true?
JVM Anatomy Park #13: Intergenerational Barriers
They didn't change. They bought eachother and squeezed out competition out until their influence was more powerful than the consequences of playing unfairly. A long long time ago, you could choose between dozens of ISPs. That is no longer true.
I think the rapid development of ASICs is a large part of the issue. The capital lifecycle of Bitcoin mining is currently on the order of months to perhaps a couple years. That, combined with the volatility of Bitcoin price, makes the Chinese approach ideal.

As the ASIC market matures, and perhaps as the price becomes more stable, I think we'll see mining begin to occur in more areas as planning for 2+ years begins to make sense. Iceland would be one attractive area, as would some desert areas with low costs and solar energy.

Certainly difficult to predict, though.
Lol, no they didn't. They transmitted information that confirmed that they had received a photon which was in a state known to another party. Neither the information about the photon, nor the photon in question, travelled alomg a discontinuous path.
I don't see anyone saying that law enforcement doesn't utilize all the stats. The issue in this case is releasing all information and video to the public.
I guess I'm an old storage guy. I call it the FAT on everything! :-)
You should always use mirrors! http://jrs-s.net/2015/02/06/zfs-you-should-use-mirror-vdevs-... "don’t be greedy. 50% storage efficiency is plenty". Mirrors perform better, perform MUCH better when degraded, rebuild MUCH faster.
Why was this downvoted?

(No I'm not complaining about being downvoted - this isn't even my comment - just trying to learn.
Restructor: a system to refactor a program to its normal form
Zero-copy networking
yeah, but i get the impression history is retained and utilized. If i watch 2-3 how-to videos i start getting how-to videos that are similar to my history, not just random how-to. then if i switch to skateboarding, i get skateboarding videos similar to my history.

This seems like a good algorithm to me, as when i'm watching skateboard videos with my friends, I don't want "how to caulk tile joints" to show up
> all these FUBAR C/C++ systems (...) work well enough to transfer that kind of garbage to me

I don't think you read the article. The author specifically cites lots of different types of hyperbolic "rewrite everything in Rust!" arguments and explains how this article is not that and he doesn't advocate for that. The author of the article advocates "surgically replace weaker parts but keep most of the project intact." This is exactly how Mozilla is dogfooding Rust in Firefox.

And no one is arguing that all of those C/C++ systems you mention are "FUBAR" -- that's a strawman. Rust advocates, as well as advocates of many of the newer-generation, lesser-used languages advocate for advancing programming beyond the languages designed in the 1970s. We've had an explosion in programming language diversity over the past 30 years and we've developed some great research on how to prevent certain classes of defects. The longer those C/C++-written systems exist without a rewrite in a safer language (or thorough audits including massive amounts of fuzzing), the larger the impact of inevitable non-zero-probability of those vulnerabilities which Rust prevents.

The article's author completely admits that at their best, C/C++ developers can avoid all of the problems that Rust solves. But not everyone is a rockstar and not everyone performs at 100% all of the time. Rust is written for humans and the compiler is a strict nanny, preventing you from getting yourself into danger, the same ways you can with C/C++ memory issues. It also has tooling for unit tests, benchmarking, fuzzing, and standardizing code formatting conventions in the language. You can bolt these things onto C/C++, but that means that you have to go find them (which new developers won't do unless sufficiently motivated to).
Premature failure isn't much of an issue when miners become obsolete in months. Very few miners are profitable to run after just 2 years, usually less.
Oh yeah that nordic chip sounds familiar.

ANT+ could be enough for a control path or maybe keyboard.

I always wanted to try zigbee but it felt too much like a closed world, although people seemed very satisfied with it it seems.
What is net neutrality?
Every medium decays; if you don't estimate longevity and perform error correction/migration/etc. accordingly, you won't be immune to data loss, just blindsided by it.
AOL was not originally an ISP. That was a service they added to their other private services around when they adopted the america online name.
This might be somewhat off topic but I'm desperate. I've been looking for a way to store files:

- Using parity rather than mirroring. I'm happy to deal with some loss of IOPS in exchange for extra usable storage.

- That deals with bitrot.

- That I can migrate to without somehow moving all of my files somewhere first (i.e. supports addition/removal of disks).

- Is stable (doesn't frequently crash or lose data)

- Is free or has transparent pricing (not "Contact Sales").

- Ideally, supports arbitrary stripe width (i.e. 2 blocks data + 1 block parity on a 6 disk array)

Unfortunately it doesn't appear that a solution for this exists:

- ZFS doesn't support addition of disks unless you're happy to put a RAID0 on top of your RAID5/6 and it doesn't support removal of disks at all when parity is involved. It is possible to migrate by putting giant sparse files on the existing storage, filling the filesystem, removing a sparse file, removing a disk from the original FS and "replacing" the sparse file with the actual disk but this is somewhat risky.

- BTRFS has critical bugs and has been unstable even with my RAID1 filesystem.

- Ceph mostly works but I always seem to run into bugs that nobody else sees.

- I couldn't even figure out how to get GlusterFS to create a volume.

- MDADM/hardware RAID don't deal with bitrot.

- Minio has hard coded N/2 data N/2 parity erasure coding, which destroys IOPS and drastically reduces capacity in exchange for an obscene level of resiliency I don't need.

- FlexRAID either isn't realtime or doesn't deal with bitrot depending which version you choose.

- Windows storage spaces are slow as a dog (4 disks = 25MB/s write).

- QuoByte, the successor to XtreemFS has erasure coding but has "Contact Us" pricing and trial.

- Openstack Swift is complex as hell.

- BcacheFS seems extremely promising but it's still in development and EC isn't available yet.

I'm currently down to fixing bugs in Ceph, modifying Minio, evaluating Tahoe-LAFS and EMC ScaleIO or building my own solution.
France isn’t as nice as you picture it. In rural and semi-rural France, Orange still has the monopoly and the service is as atrocious as one would expect. With less regulation out here there could actually be more competition. The “competition” still consists or pretty much 3 companies. Trying to start your own ISP out here requires moving a mountain; it’s close to impossible. It’s a cabal.

Not arguing that it’s worse than the US, but I did have FIOS I’m Jersey City several years ago that was faster then than the so called “high speed” fiber is in French cities now. On paper, really fast connections exist, but they are based on geographic luck rather than the result of good policy.

What really needs to happen is that internet providers should be decoupled from TV providers. It might just be my tin foil hat not working but it feels like Netflix and iTunes gets throttled or has very temperamental connections, but watching some high def content from Orange just flies. Same exact wires. Orange has a huge incentive to prioritize their services. Yet supposedly, net neutrality is in France? I bet there is some fine print that allows Oranage to prioritize their content.

I am ranting because I have a business internet plan that has a full 0.75 Mbs upload speed and I pay more than did in Jersey City where I have a 200 Mbs upload speed – with worse service and a disasterous excuse for customer service.

Being “more like France” is rarely a good idea when it comes to technology. Hopefully, Macron will change that.
The site hijacks scroll which is pretty upsetting.
Yup, absolutely. My understanding is that an RFC is currently being written, so it's gonna be a little while to get into stable, but not forever. We'd have liked to have had it sooner, but some stuff happened, that's just how it goes sometimes.