skysight-inc/HackerNews huggingface dataset:
" So in this sense, the quality of the C you write is really a reflection of you as a C programmer, not the shortcomings of the language. "

That's not true. BCPL language was specifically designed to get something to compile on a machine with no resources to run safety checks, programming in the large, anything. C tweaked it a bit to run on a PDP-7 and then PDP-11. The problems that are in C are there specifically due to the challenges of non-language experts getting a relic of a language to run on machines with no resources.

Later on, Wirth designed Modula-2 that was safe-by-default where possible (eg overflow checks), low-level, easy to read, faster to compile, allowed integrated assembler, and so on compiled also through a PDP-11. They did whole OS's in languages like that. There were numerous languages like that with similar performance to C but way safer and easier to extend. Then there's languages like SPARK 2014 that let you write code that it automatically verifies free of common errors. As in, they can't happen under any circumstances in such apps rather than whatever you thought of during testing.

Having seen those and knowing C's history (i.e. justifications), a number of us know its problems aren't necessary, are easy to avoid with better design, and you still get most of its benefits. Worst case scenario is wanting that but also wanting benefits of C compilers that received a ton of optimization work over the decades or its libraries. In that case, the better language can generate C code as a side effect and/or use a FFI with interface checks added. Still safer-by-default than programming C by hand.

Heck, there's even typed, assembly languages these days you can prove stuff about. Also work like verification of LLVM's intermediate code. So, even for low-level performance or something, C still isn't either the lowest, safest level you can get. It's just the effect of inertia of years of doing stuff with it as a side effect of UNIX's popularity and tons of code that would have to be ported. Again, you can use that without even coding in C at all past some wrappers. So, people liking safety & simplicity of Modula-2, Component Pascal, etc prefer to avoid it since we know the problems aren't necessary at all. Some want extra benefits of stuff like SPARK or Rust, too.
>>Fine. Then the company should get the "death penalty" and be liquidated.

Exactly. After all, corporations are people right? So let's actually treat them like we treat people.
I thought they only have to demonstrate that they took reasonable measures (training, checks and balances, culture, etc.) to prevent an employee from doing something like that. Being a CEO without that protection would be scary.
Women, 24+, interested in family, weddings, gifts, babies, family photos, etc. We kept it to Australia for now, but I'm working on going international.

Since the items integrate the buyer's photo, people also often use them as memorials of dead people, but we didn't specifically target that. Yet.
Upvoted due to strong disagreement, to try to draw more attention to this view.
> As Erik Brynjolfsson, a professor at the M.I.T. Sloan School of Management told MIT Technology Review, “Productivity is at record levels, innovation has never been faster, and yet at the same time, we have a falling median income and we have fewer jobs. People are falling behind because technology is advancing so fast and our skills and organizations aren’t keeping up.”

This may have been true five years ago, but now? The real median income has been going up since 2011 (https://en.wikipedia.org/wiki/Household_income_in_the_United...). Jobs have been increasing since at least 2009, i.e last recession (http://data.bls.gov/cgi-bin/surveymost?jt). I don't think Brynjolfsson's thesis-- that technology destroys jobs-- is holding up (https://www.technologyreview.com/s/515926/how-technology-is-...).
the language we use to describe freedom is probably not as well defined as we think

Your basically saying the statement is bunk, and we shouldn't live our lives by it or treat it as on oracle. Basically, when power is more distributed, lives are better for more people.

https://www.youtube.com/watch?v=rStL7niR7gs

Trying to come up with a philosophy of freedom with the integrity of set theory is probably just mental masturbation. I don't think you need mathematical precision with things like that, any more than you need mathematical precision in defining geological strata.
That probably still counted as an attribution.
It's just fast. It loads the page damn near instantly. Similarly to facebook Instant Articles.
Zoie Burgher DISS TRACK
WE DID IT 100000 VIEWS THANK YOU
I actually talked to Lattner about the isize thing a few months back -- according to him it's fine to overflow while doing GEP because llvm shouldn't care if you pass in negative offsets to represent really big positive ones.
FWIW anonymous but somehow legitimate sources are often official spokespeople.

The reason they won't let reporters attribute statements to them is because while what they are saying is true it's not the official stance of the organization and/or the guidance documents they work off havn't been updated to include those statements.
> You should give motivational speeches in SV.

https://imgur.com/gallery/eMZCONp

/be
CBC asks for $400M in increased government funding to go ad-free
Enormous scale? The total fees from this fraud were $2.4 million.

https://www.bloomberg.com/view/articles/2016-09-09/wells-far...

The "excuse" is that a bunch of employees did it against management's express instructions, and that management actually took action (albeit stupid ineffective action) to prevent it back in 2014.

https://www.bloomberg.com/view/articles/2016-09-19/tough-tar...

This is not something that was remotely profitable for WF, this was employees lying to WF to hide the fact that they didn't meet their goals.
For some people suicide is the right answer but it's the minority, most people who attempt it but survive later regret trying to do it.
Applying to 20 jobs is absolutely nothing. At least apply to 80 more before you think about offing yourself. Even if there's a job that isn't in your field it's better than what you have. Tons of places are hiring for seasonal work right now.
20000€ in debt isn't really that much, try living in America.
I remember movies selling for over US$100 when VHS first hit the streets.

The only "typo" is crediting Amazon and Netflix with the price reductions: movies were commonly $20 long before those two showed up. No, what killed the $100 movie were people going "$100 to own _Weekend at Bernie's_? Oh, hell no!" Remember, we lived quite fulfilled lives before we were allowed to "own" our own copies of movies, we weren't missing anything.

Oh, and rental stores that popped up shortly after. From my POV at the time, owning the VHS tape was reserved for the rental stores who would profit from it and the overly-privileged. The rest of us just rented at $10 a pop. Want to see it again? Go rent it again.

EDIT: somewhat related to pricing: would have to look it up to be sure, but I recall blank VHS tapes going for >$20 when they first came out.
The other day someone was telling me they used to run a website called CyberHomes. All I could think of was how weird that would sound today.
The Secret, Dangerous World of Venezuelan Bitcoin Mining
That's an interesting take. I don't think I've heard that complaint about go from anyone (other than you, I think, in a previous HN conversation). I've worked on code that had assert (Squid before the C++ rewrite, and it used assert correctly to the best of my knowledge), but I never considered it vital to the end result.

Have you read about panic (https://blog.golang.org/defer-panic-and-recover)? I'm not meaning to assign you homework, as I know you know more about this than I do, I'm just curious what about assert makes it mandatory for you...panic in go does require you to write your own error check (presumably just an if, for assert-like behavior, but you could do more complex error-handling).

All of your other comments are certainly valid reasons to choose C. Though I like cargo, and I suspect C would be well-served by something similar.
"Exposed: White Helmets stage rescue videos"

https://www.youtube.com/watch?v=9rOL7fYyRQo
I use a 27" apple Thunderbolt monitor for graphics or the application and a 34" curved Samsung wide screen (3440x1440) for my IDE. The 34" is perfect for displaying 2 code pages side by side or a GUI and the source for it.
"Couldn't be more obviously a scam if it was twirling a waxed moustache."
I am absolutely going to use this at the earliest possible situation!
> The required data covers only the domain name of each site visited - www.facebook.com or www.bbc.com, for example - not the individual pages within them.

So this article was the first time I learned the law only requires host logging. But now I'm even more confused...how does the UK Gov argue that logging your access of facebook.com, but not what you do in facebook.com, will help fight terrorism? Like, are terrorists going to isisrecruiting.com? I would've thought they would just use subportions of more popular and general hosts.
Homomorphic encryption used for e-voting?
Hey, the USA passed the PATRIOT act with a very strong majority in the House and almost unanimously in the Senate.

People just simply don't care. "If I've done nothing wrong, I've got nothing to hide", they say. People support this thing, because they think it helps stop "the terrorists".

As John Key said in here in New Zealand, people care more about snapper fishing quotas than the GCSB (our equivalent of the NSA or GCHQ). And it's true. Government surveillance is too abstract for the average citizen to care about or notice.
This is probably an unpopular opinion, but I would call very few of these "tech companies".

None of the problems that most of these companies are solving are tech problems. Their secret sauce is not the tech, but the examples you gave the secret sauce WAS the tech.
When did you ever, upon seeing a TV commercial, pack up and head to the store to buy the thing you saw? Never. Even though you saw many hundreds of thousands of those (OK I'm actually talking about me, growing up pre-internet).

That's not what TV ads are for, and IMO for the same reason not what FB ads are for. They are however both excellent brand advertising mediums. And brand advertising spending is HUGE, therefore FB is worth a gazillion dollars. People don't buy Coke or Nike or Tide because of an ad they remembered seeing, they buy them because of ALL the ads they forgot they saw.
fake, checked 3 gmails. not only are the passwords wrong, they are random garbage that was never used with those accounts
Show HN: Posix shell abuse – Reassemble arguments AKA Transforming $* into $
Their job is to act a lender of last resort, not to centrally plan the economy despite what you think. They have as of only past couple decades taken on the latter role of central planning.

MV=PT

What you see above is central basis by which to interoperate all of the fed's behavior.

The above equation roughly translates to:

(Money supply) * (Turnover rate) = (Price) * (Transactions)

where:
-money supply is outstanding cash or dollars
-turn over rate is the frequency in which the cash changes hands
=
All the transactions that took place and their price

Current dogma of keynesian academic economists is that an ability to control the money supply will affect the rest of the equation and in theory the real economy. So (Money supply) is the variable the fed can control they use to pull the levers of our economy.

What's implied here then is a gross misunderstanding of what money actually is: a means of instrumentation and measurement.

For economies to properly function, entrepreneurs and participants in the economy need a consistent and reliable gauge to measure the performance of their (economic) experiments.

When supply of money in relation to other "things" is constantly and artificially manipulated, it becomes near impossible for the prices of goods and services to reflect actual information about fundamentals, comparative advantages, etc.

If you're technically inclined, I am essentially making an argument from the perspective of information theory.

Claude Shannon basically showed that to convey information, you need a medium that stays constant. Without that, it's impossible to distinguish the "medium" from the "message".

This is precisely what our academic oriented economists in charge of the fed and our prevailing economic school of thought have fucked up: They've tried to send a message through the medium itself in an attempt to activate parts of the economy, and have completely fooled themselves into thinking that while socialism and command economies are bad, control of the money supply is somehow different.

The issue is what people don't realize, is that free markets aren't about free exchanges of goods and services, but about free exchanges of information. And through the temptations and hubris of central planning they've compromised the medium through which participants in the economy can exchange information.
> nuclear powered

> any port it chooses to refuel in

Do we have a lot of ports to refuel nuclear powered aircraft carriers?
The bank was also fined many times more than it made from the scam.
You're getting a lot of advice and offers for private discussions because of this post. At some point down the line I'd be curious to know how all of this affects your sales. Were any of the offline discussions helpful? Did you make a switch to a different X company (fulfillment, shipment, whatever)? I'm sure being at the top of HN will give you a spike in sales but I'm just curious what the overall affects will be (in the longer run) so please post a follow-up after the holidays. thanks!
That's the question we all asked.
Mirai based worm targets devices with new attack vector
> Especially for something like the banking sector where the federal government could replace a bank almost instantaneously...

Say what? It takes months to years for the FDIC to wind up a small bank. What is your basis for saying that the government can replace a huge bank almost instantly?

(Or perhaps the correct question is: What is your definition of "replace"?)
Likewise. Delegitimizing possession of cash would be an extremely dangerous step for any government to take.
The Theranos story seems to get darker by the week...
New Horizons was launched directly into a solar escape trajectory.

It's going slower than Earth but that is no indication of how advanced the technology is. The whole goal was to get a close encounter with Pluto-Charon. What's the point in flying off into nothingness any faster after that?
> For example, if your company produces toxic sludge as a byproduct, and someone at the company dumps it in nature instead of properly taking care of it, it's jailtime.

That's a kind of criminal collective responsibility, which I find repugnant whether it's a mother in Palestine being held criminally responsible for her son suicide bomber, or it's a CEO being held criminally responsible for the wrongdoings of some low-level employee that they did not direct and were even unaware of.

Personal liability is arguably OK here, but criminal liability like you describe ("goes to jail") is most certainly not, and I'm surprised that there are so-called enlightened legal jurisdictions that do this.
If you live in the West you live in a free market right now. Asking the "libertarians" what they would do about this incident in the "free market" is a deceptive thing to say. Not only does it ignore the fact that we live in a free market, it unjustly pins the failings of the system we live in on a philosophy which has a wide array of different nuances and subgroups. Libertarians range from anarcho-capitalists, to socialist libertarians, to anarcho-communists. Additionally, a "perfect free market" does not exist and never could. Nor could a "perfect government".

If you want to be angry, look at how the government is failing you now. If you want to say that the "non-free market" you're living in is better, well, what happened here? The CEO just gets to retire and they have to pay a measly fine.

Oh and before anybody says "we don't live in a true free market", until we live under absolutely no system of government, nobody civilization has really ever lived under what is technically a free market. If you pay taxes or tribute or respect some sort of authority you live in a government and it is acting upon the market. I find that to be a useless definition.
Personal accountability for CEOs is a good step. However, I think the most needed step is that it becomes unprofitable for the owners.
Do non-citizens vote in U.S elections?
My Dad Was Bruce Lee–Here’s How He Still Inspires Me and Others to Innovate
That's not really "AT&T syntax", since the suffixes here are denoting how the MMX/XMM register is being split up and not the whole operand size. Those instructions can still be used with either the 64-bit MMX or 128-bit XMM registers:

paddb mm0, mm1
paddb xmm0, xmm1

If it was really more like "AT&T" style (I don't know how GNU really does this, so I'm guessing), it would be more like paddqb for MMX and paddob for SSE.
This again. :) I think there's an angle your side of the discussion is missing on this. You might, with enough experience or team talent, be able to consistently write good code in C without defects. You might be able to do that up to millions of lines of code if your project becomes a Linux. However, the vast majority of projects will involve something along these lines:

1. The team is average or below since they're affordable or the work kind of sucks. This often happens in practice even with smart coders because the deadlines force them to move too fast with too little QA. Product might still have high impact, though, esp if it's widely-used product or service. The language itself preventing common problems is helpful here.

2. It's a FOSS project made by people that want to get stuff done without learning tons of rules for working around C's issues or stopping every common operation to prevent language itself from killing their project. I'd say vast majority of projects don't need whatever absolute advantages like max performance that C has over safer languages. Again, the language could be helpful.

3. Either of the above given the effects of time where new contributions come in that work against a codebase that fewer and fewer people understand due to organic growth. The language itself can be helpful with a combo of type-safety, programming in the large support, modules, etc. Better support for safer modifications of stuff you barely understand. Rarely a problem for Ada and Eiffel people if the team was even half-competent because the compiler simply demands it.

There's embedded people that can do one-off or steady projects however they like with enough time and tooling to get it right. ArkyBeagle appears to be in a category like that if my broken memory isn't fooling me. Then, there's vast majority of programmers either in the corporate crunch, scratching an itch barely caring, or fixing something they barely understand. Human nature will push defects in from all these directions. The tooling, if designed with human nature in mind, can prevent a lot of them automatically and aid efforts to catch the rest.

Hence, my opposing C language in favor of safer-by-default system languages. Especially those that avoid tedium of constantly watching out for dangers of most-common operations. Gotta work with human nature rather than against it. A hard lesson I learned after years of failed evangelism of high-assurance INFOSEC. Now, I exclusively look for ways to embed it seemlessly into stuff with other benefits listed. Much better responses on that. :)
Resinged is a nice way to put it. Once before the senate, then again before the house.
Florida Cops Have a New Device for Tracking Your Cell Phone
You have a good counter-point, but consider this example:

A Doctor advocates a new medical procedure without doing any research on the procedure. The procedure turns out to be criminally negligent, and the patient is killed as a result. Is the doctor at fault?

I believe an investment is at the very least a vote of confidence, and investments by "important" individuals can lead to their mass adoption. Thus many, but not all, of the investors in the case of Theranos are culpable in my opinion.
I watched Stumpf testify in front of the Senate Banking Committee, and while I agree that (from what I saw) he should be held accountable, what I don't understand is why the right venue for it is the Senate instead of the Judiciary.

Warren clearly thinks that Stumpf wasn't just doing a bad job, but that what he did and didn't do was criminal in some way (eg the talk of jail time, comparisons to Enron in the article). The CFPB settlement also indicates that there was wrongdoing, at least on the part of Wells Fargo the corporation.

Isn't the right thing to do to prosecute Stumpf in court? The testimony seemed to me to have no purpose other than to put Stumpf "on trial", and it led to damaged PR and his resignation, but it looked like a "trial" without due process protections like knowing what exact charges he was facing. Another missing protection I was particularly disturbed by was how often she would cut him off and not allow him to defend himself (yes, his answers were clearly evasive, but it still isn't fair to do that).
People really, really suck at using computers
Basically, he's mandating the adoption of electronic currency adaption for every business, no matter how large or how small. Want to open up a restaurant? Better accept credit cards and the 1-2% haircut they take off the top of every sale.

It's also every authoritarian's wet dream.

If everything can be tracked, everything will be tracked.

"Oh, we see you've been buying quite a bit of ice cream on your trips to the store. Your health insurance rates just went up. In addition, we'd like to chat with you about the 3 gun magazines you've just bought."

EDIT:

And restricting the denominations of notes doesn't seem to stop cash transactions. It just makes things into a gigantic pain in the ass. Look at Venezuela. The highest denominated note is worth ~10 cents, and most transactions are in cash.
Not him but in general you need tier 1 publications, recommendation letters, a strong statement of purpose (very clear idea of what you want to do research in) and faculty fit. GRE scores are generally used as a filter. They won't get you in, but they will keep you out.
The advertising industry is very good at advertising the advertising industry
I understand this is valid science but at the same time I'm extremely creeped out. Seems to me like all these findings follow from some physics and chemistry and the mice didn't need to be implanted with these devices. Don't really see the point of making them go in circles either.
> The age of the patron is displayed for every scan, and the ID scanner operator can be alerted if the patron exceeds the minimum or maximum age set by management.

The maximum age.

> If patrons break the rules, then ban them from every venue using PatronScan in North America.

> The Banned Patrons List is shared with every other venue using PatronScan

> PatronScan ID scanners give you live stats about […], the gender distribution, and the average age [of patrons].

Wow. Just … wow.
Businesses compete for consumers. Consumers prefer honest businesses. Businesses optimize for consumer preferences.

Edit: The business considers this complex, multi-variable equation and tries to extract as much profit as possible. In many cases, the consumer is apathetic. Personally, I signed up for a Wells Fargo account last week despite being completely aware of this news. As a joke, I almost asked the guy if I _already_ had an account!