skysight-inc/HackerNews huggingface dataset:
"I think it is unethical to take away the livelihood of someone if the only reason you are doing it is to add even more zeros to your already fat bank account."

Even if one would agree to judge things within your frame, i.e. employee's share vs. employer's, you still have a moral dilemma with allocating resources wisely. Judging from their past income spending practice, employees will most likely consume, whereas employers will most likely invest. I hardly see any reason against supporting the later kind of players.
`footcandle` is a ridiculous name for a unit.
Unit tests are a tool to get the codebase to that point... When used properly.
The vector space / IR ranking approach is useful but is not enough to get accurate detection IMHO. Eventually you need something which is not a probabilistic match and the devils is the details.

For instance a license notice may be as short as "mit" or "gpl" or "gpl2" or as long as a full AGPL license text or a long text with multiple licenses texts and notices.

In these cases, the rankings are likely to be completely off and your GCC scan detects a few weird stuff for sure which are not right.

So you can get a decent indication but it will be inaccurate often enough at scale.
> The worse the developer, the more tests he'll write.

This is not only wrong, but also dangerous.

I agree with the second part of your comment (about being pedantic about the number of unit tests), but a good and comprehensive test suite is fundamental for large projects, especially projects with many moving parts and a large turn-over of people (basically any big enterprise).
Show HN: Monitor Your Angular/React/Vue.js/ SPAs with Plumbr Browser Agent
It doesn't discuss competition with either many users, with things like webrtc, or with those evil dial-a-speed schemes.

The internet is complex.

However, since the dial-a-speed evildoers haven't caused much controversy in the grand scheme of things, I don't think BPR will do real harm in that case.

I'm more concerned about unloaded parts of a circuit. Suppose some BPR streams fill one hop, and share other, higher-capacity, hops with Reno. Does Reno do as well then as it would if the BPR streams were Reno?
If you're looking for something a little more featureful, there are a couple other options out there: Check[0] and Cunit[1].

I've used both, although I wouldn't say I've used any of the advanced features of Check. Check seems to be a bit more maintained and documented, but I don't remember having any particular problems with Cunit the last time I used it.

Check's documentation also includes a list of the other C unit testing frameworks its developers know about[2]. I'm curious to check out AceUnit, which is said to be usable in an embedded context.

My approach for testing embedded functionality has been to shim any hardware-specific stuff in the code I want to test and run the tests using Check on the machine hosting the build. This "works", but it misses errors that occur because of differences in e.g. the size of size_t. Mind you, I've only been doing embedded for fun recently.

[0] https://libcheck.github.io/check/
[1] http://cunit.sourceforge.net/
[2] https://libcheck.github.io/check/doc/check_html/check_2.html...

ETA: Disappearing from the internet. Won't be around for discussion. Apologies for the post-and-run.
You are correct. I was once inexperienced and was very dogmatic.
How to Leverage User Intent in Your Keyword Strategy
So you're saying test coverage is a negative? It's not an either or.
A failing `assert` interrupts execution, though.
I'm not sure what else I can do other than give you the HRW link again?

https://www.hrw.org/news/2007/11/15/saudi-arabia-rape-victim...

Please read it carefully, they never say she was prosecuted for being raped.

The article is specifically written to fool people.

Unless you can explain why if she was prosecuted for being raped HRW omitted that information?
Lisp Meta-Programming for C++ Developers: First Macros
Well the point of lighting a room is that you want the room `light` and making walls that absorb light makes them not reflect light and then your room is dark again.

So even if this was possible (which it is not), the idea would still be rather useless (until you managed to achieve efficiency over 100 % ;) ).
Thunderbird’s Future Home
What would you most like to see in Go 2.0?
Reddit recommended the list of books with beautiful titles
In the taxonomy of white supremacists, Russians are "slavic". This was literally part of Hitler's justification for invading eastwards.

("Whiteness" is not simply about skin colour. There's a fascinating/ugly history of how various immigrant groups to America became "white")
This is still splitting the ecosystem. This is the exact same mistake they made with the json project format.

Also, if you started using asp.net core 1.0, and you do actually do need stuff that's .net 4+ only, you're stuck.

There are a ton of people/businesses that use old .net libraries, that now have no way forward, no way to gradually introduce asp .net core. I'm going to assume that, if this is a new policy, that all the other new core stuff (entity framework core, async enumerable) might also become core only, which would be an even bigger issue.

Also, I can't think of a good reason this happen. Are they trying to force people to .net core? Was supporting two .net versions that big of a burden?
Kivy has embedded Opengl, and is really easy to learn. You can make dashboards extremely easy, and video games with working physics engines in less than twenty minutes. Overall, its basic settings are beautiful.

I havn't used Pygame but I don't consider Kivy to be heavy with alot of moving parts at all. Not to mention, unlike many Python libraries and platforms, this one has good documentation. Defined but simple and no handwaving techniques.

if you are familiar with Javascript, Kivy employs similiar callback like ideas, but not specific mechanism, to animate physics engines based on WebGL, which bind very nicely to it's widget resources.

In fact, if I had to choose a platform in which to teach middle school aged kids to code video games, Kivy would be it.

That being said, I've only used it for a desktop app kind of like in sandbox a environment. But in regards to your heavy comments, when it comes to Python, I honestly have to say anything build in Python when it comes to any type of SDL rendering, even scaled webapps, are limited for distributed systems and exponential scaling.

Python is great for learning, and college apps, and even dynamic languages for high level engineering analysis but when it comes to scaling for webapps or in maybe your case you are talking about RAM and power usage for phone apps, anything with Python is generally never a top choice.

If you think Kivy is hard, I recommend downloading it and going through one of their two tutorials, a ping pong game and a paint app.

I honestly can't see how you would think its heavy or overly complicated unless you are not familiar with widgets, or graphics period.

in general, OpenGl and WebGl is a definite win over strictly javascript based graphical rendering so if that is the gap that makes it complex, read up on OpenGl and WebGL because that is where the future is going even on the web.
Moon Jae in wins South Korean presidential elections: Exit poll
To be honest: they have been around for 20 years and haven't really done anything yet. I don't think they will. I think they want to sell their patents to a troll.
Still a pity it's only included in Enterprise edition. We need a strong foundation of accessible tools for automated test input generation improving on the current state of the art fuzzers. See e.g. danluu's vision of "Combining AFL and QuickCheck for directed fuzzing" [https://danluu.com/testing/].
> Dropped the test suite entirely, haven't had any issues since.

That you know about.

That bad test suites exist is unarguable.

Bad production code exists too, but we don't give up on writing production code.
Postage, a nice alternative to PGAdmin
Amazing line of thought.
It's interesting to consider what it really means for something to be a drag on the economy. I mean, every dollar spent on healthcare is literally part of the economy -- it's not siphoned off into some void. Companies make a lot of money in healthcare. Healthcare employee a lot of people. Folks like being healthy.
> It's an imperfect technique for real-world programs, but so is everything.

No, it's mostly a bullshit technique.

The thing is that the malware author can see "how much" of the halting problem AV software "solves", and then deliberately hide their bad/suspicious actions just out of reach of that limit.

Simple everyday heuristics are good for a lot of things, but the one thing that they are mostly ineffective against is intentional deception.
You've never had to add a new small feature to a highly customized Wordpress site someone else built I think.
Show HN: All Python easter eggs
That doesn't explain why an article with more points that is a newer is below an article with fewer points that is older.
Moon Poised to Win South Korea's Presidency, Exit Poll Shows
Isn't this basically what Google has been doing for years with their DiRT exercises?
Like very good products
Strictly, mutation testing can't assure all cases either -- combinatorial state explosions are fun. But it does improve assurance a lot.
Good news is that the amount of health care spending is a choice. E.g. other western countries are running a health care cost to GDP ratio from 10%-13%, sometimes offering vastly superior and equitable outcomes than in the US.

The bad news is that this is a choice Congress and Senate are taking on behalf of the American people. And with the partisan divide and lack of agreement on fundamental values, things won't really change.

Add in a rapidly aging population, and being cognizant of the per capita health care spending steeply increasing at later stages of life, kicking the can down the road won't make the later adjustment any easier...
Boosting Site Speed Using Brotli Compression
If a function takes a single 32 bit argument you can run it on every possible value.
Hi Safek, the author here. Thank you for the input. I'm going to think very hard about what you're saying.
Another fun fact, XConq has a lisp like game design language (GDL) built in. https://sourceware.org/xconq/manual/xcdesign_toc.html
Commons Transition and P2P
I played with Flutter before, and it is such a nice way to build mobile apps. Its based on react, its like react native but it has its own rendering engine.

And i can also image apps to be loaded directly from the web (ala like a browser).
I tried that but still saw significantly reduced build times when working on some projects. I think it has something to do with the temp file directory (which I don't want to whitelist for obvious reasons), so I just deal with disabling it when I build.

At this point I've memorized the keys to hit to quickly disable and re-enable defender's real time protection (winkey > "defen" > enter > tab > (down to disable, up to enable) > alt + F4)
Shrinkray: Lightweight alternative to Electron
Healthcare costs create huge problems across the economy, increasing the cost of everything from manufacturing to higher education.

Between myself and my employer, it costs about $20,000 to insure my family a year. My employer shares much of the cost breakdown and it's interesting how goes to prescriptions and how much of that goes to specialty drugs to keep a handful of people alive.

$500 million dollar spend on healthcare.

$120 million goes to prescriptions.

$40 million of that went to specialty drugs, representing 1.7% of the prescriptions.

"The average ingredient cost of a single-source brand prescription increased by 14.9% in 2016 to an average $745 per prescription, mainly driven by high-cost specialty drugs. The average ingredient cost of multiple-source brand prescription increased by 49.5% to an average $585 per prescription. The average ingredient cost for a generic prescription decreased by 10.9% to an average cost of $34.04 per prescription. "
Fuzz testing is useful at testing whole systems in vivo.

Proofs are powerful, but you can still make errors in the proof or the transcription into code. And of course you don't know what other emergent behaviours will surprise you when the proved code interacts with unproved code.

Depending on your means and needs, you want to try both.
… this reply does nothing to answer the parent's question. It's obvious that you can run it on all possible values, but that doesn't answer the question of the return values. (unless you only want to verify "doesn't crash" or something similarly basic)
Note: You can play with the UI on your android phone:
http://www.mediafire.com/file/wpjxvjwd236cfz1/Armadillo.apk

Since flutter is a cross platform UI framework.
If I am understanding correctly, he is saying that well-written code requires fewer tests in order to be fully tested. Fully tested is better than untested, assuming that code is fully tested, well written code will require fewer tests.

That is my understanding, as it is rather hard to extract a solid argument from his posts.
Ab Routine That Puts Crunches to Shame
“If you go back to 1960 or thereabouts, corporate taxes were about 4 percent of G.D.P.,” Mr. Buffett said. “I mean, they bounced around some. And now, they’re about 2 percent of G.D.P.”

While I guess I have no problem with this statement specifically, it's a bit too close to "the top 1 percent of Americans will pay 45.7 percent of the individual income taxes" : http://www.cnbc.com/2015/04/13/top-1-pay-nearly-half-of-fede...

The problem with the latter statement is of course that it makes it sound like the top 1% is unfairly burdened by taxes, while hiding the fact that the richer they get compared to the rest, the larger a share of taxes they'll pay.

Taking it to the logical extreme, if all income went to the top 1%, they'd pay 100% of income taxes, while the lazy 99% contribute zero! Someone quickly give the rich a tax break!
It utilizes OpenGL and you can bind those objects to your own user defined physics with resources and actions, much like javascript binds to events.

you can see the WebGL shapes objects and components they have in the Kivy library, which is very nicely documented online.

OpenGl and Kivy are opensource so you should be able to make a wrapper module install, which would be similiar to an npm package in javascript, for Kivy, which would be a combination of Python and OpenGL if you wanted to create your own SDL components.
yet you are comparing the impact of wiping out two species of mammals with possible impact of all insects or algae being gone...
Because it'd be more complex and interesting and not just about optimizing to win.

No emergent gameplay at all in Civ.
The wiki case is in English.

https://en.wikipedia.org/wiki/Qatif_rape_case
> Public transit is in massive use in many cities around the world where people are happy to pay for it

I know, but that has nothing to do with my point.

My point is that it's a money-losing public service, not a profitable business in the vast majority of (or all?) cases.
Socialism in healthcare brings rationing, waiting lists, supply shortages and all the kinds of things you don't want when dealing with people's lives.
Circumcision is harmful. It removes healthy tissue that has function.

You can talk about how harmful it is, but it definitely causes harm.
Your comparison source could be running on a different platform, or be slower, or ... and thus not be a drop-in replacement. (E.g. in the example of a broken floating-point unit, compare the results with a software emulation)
Underground abraCARDabra: Understanding carding forums
The worse the developer, the more they sure they can write perfect code which doesn't need any tests because it's perfect and will be perfect even after future changes, even after changes in related code - absolutely perfect code.
The FCC needs to keep net neutrality under Title II, the United States needs to maintain a robust internet...please, I really can't get through the next 4 years with out it
Best Approach for a Startup. Raise Capital or Bootstrapping?
By far the best codebase I ever worked with had zero test cases, was nearly 30 years olds, been worked on by not just several teams but several companies, had basically zero documentation, and was still easy to read and understand.

Unit tests only really catch a tiny fraction of bugs relating to defective code, not poor design, poor market fit, poor understanding of requirements, or any of the other bugs that most often make it into production. They can be a huge benefit to many possibly most projects, but there are no silver bullets, good quality needs competent people given sufficient time and resources and nothing really changes that equation.
A free market also rations. Just with entirely different acceptance criterion. Criterion which (when applied to health care) happen to not intersect with most mainstream systems of ethics and morality.

Constrainted, non-infinite supply, basically infinite demand. What a great business to be in!
And a free-market healthcare system means letting poor people die, which in my opinion is even worse. There are no good solutions here.
Architecting Recommendations for real-time delivery
Agreed, but is the Javascript ecosystem as an example really simpler to people that are new to it ?
Laziness is a kind of populism. Such articles will be always upvoted.
How would automated mutation testing handle the case of accidentally causing infinite loops, or invoking undefined behavior?
Except when it doesn't

Plus universal access, which is pretty much how you'd judge if a country is civilised or not.
Various weights or penalties could automatically be applied, according to the posted domain, or the karma of the poster, or any number of factors. If more users comment than vote, that can cause the rank to drop, as it implies low comment quality. Replying too quickly triggers the flamewar detector, which drops the rank. Of course, user flags and downvotes affect the ranking, as does occational manual moderator intervention.

Because the staff doesn't want people to successfully game the system, much of what goes into the ranking process here is opaque, with only a few details about it leaking out from time to time. I have no special insight into it, I just know what I sometimes read.

Basically, just accept that Hacker News is not a direct democracy, but more akin the American electoral system, where your votes are more or less a suggestion passed on moderators, who make the final decision about whether or how much they count.
Moon 2017: Keep our orbital axis stable!
Mipsdis: MIPS disassembler in the browser
Just out of curiosity... What is the point in testing all 2^24 possible color values?
No, not really... have a look through my (quite infrequent) posting history and comments to follow the logic.

The current GOP-controlled administration is implementing a cunning strategy to undermine the safety and freedom of all Americans. These are deliberate actions being taken, with specific goals to suppress what it is calling "fake" news/media, but what most people call facts. The most astonishing thing is that they've twisted and mangled the definition of "freedom" into something that doesn't resemble freedom at all; and yet there are many people who are stupid enough to believe they're actually being helped by these ludicrous decisions.
You're right it's not being siphoned off into some void, it's being redistributed from some groups of people to other groups. If healthcare was delivered efficiently so that it was affordable and kept people healthy then that would be ok.

There are so many inefficiencies with monopolistic practices such as inability to import drugs from outside US, healthcare networks, and on and on.
I don't think that's true. Google maps uses average speed on roads to estimate the fastest route, not the speed limit.

If they used the speed limit the app would never take traffic and other conditions into account, which it clearly does.

Having said that, I have experienced a crazy route now and then, but I think it's often caused by incorrect map updates.
The US spends more as a percentage of GDP than any other G& nation, but has worse life expectancy rates.

http://visual.ons.gov.uk/how-does-uk-healthcare-spending-com...

Ignoring insurance spending: the US government spends more on healthcare than the UK government, and gets worse outcomes across many (but not all) measures.
This always seems such a strange view to me, like you are ignoring that the us is both the only rich western country without single payer and also a country with an infamously bad healthcare situation.
I really want to learn React Native and this looks like a fantastic tool. Does anyone have any documentation that easily explain design patterns in RN? Does all code live in 1 file?
Can you elaborate on the last two? Do you mean power delivery (PD) devices that don't degrade gracefully when connected to non PD devices? It sounds like they must be violating the standard. In that case, it's hopefully something we'll see improve with time. If it really is the standard, that's terrible!
I think this is probably an organic result of confused people who WANT to comment on the FCC site but ended up here by mistake. If you type "gofccyourself" into google, the top three results are

(1) a product hunt page with a John Oliver video but no above-the-fold link to the FCC or to http://gofccyourself.com.

(2) the confusing FCC "proceedings" page https://www.fcc.gov/ecfs/search/proceedings?q=name:((17-108)) where it is not obvious how to comment

(3) this Hacker News thread (starting at grandparent post), labeled in google as "Clickable link : http://gofccyourself.com | Hacker News".

So a random internet user looking for a place to comment and knowing the term "gofccyourself" easily ends up here, at a page with the "Hacker News" banner, a one sentence "Clickable Link : http://gofccyourself.com ", and then a comment box. Below is the comment thread following full of new users' comments about net neutrality. Some visitors assume this IS the FCC comment site.

So when you go through the funnels of : type "gofccyourself" into address bar or search box --> get to third search result --> misunderstand this thread as the FCC public comment venue --> bother to register and comment, then you get the steady stream of comments here from newly registered accounts.
"the Chinese at least have a better claim than most people of being heirs to a unified culture"

That is, if you can count Chinese as one people in the first place. How can one consider that loosely mass of over one billion people, with variegated groups of cultures and (not long ago) mutually-unintelligible languages, to have a common single heritage, without a politically forced inclusive approach?
That is true but the healthcare industry doesn't bring any money in from abroad. So for the average international competetiveness of American companies, it's bad.
This is a common argument but basically just a bogeyman.

People with disposable income/high healthcare needs aren't dying in countries with single-payer insurance. Indeed, they're able to purchase private healthcare, while the broader population gets better health than the US population.

Honestly, it looks like this 'socialism' thing works a lot better for peoples' health than what's happening in the US.
Not sure where you are going with this story. Do you mean that tests are useless, because you once worked in a company that thought that a large, test-less codebase was a good idea?

Hint: anecdotal fallacy
The ML bit seems to be very interesting, the more impressive part out of this.

Voice to code generation not so much these days. Esp with code such as React (easy boilerplate, standard component structure, uniflow of data from parents to children)
I've lived in multiple European countries and have never seen any of the rationing, waiting lists, supply shortages or others that you list.

Treatment I've known people go through include cancer therapy, orthopedic surgery, eye laser treatment, chronic pain management, casts after accidents, and others.