skysight-inc/HackerNews huggingface dataset:
> Not that any other language is on trial here, but there are languages that would naturally make such a bug into a compile time error.

I'm sure there are languages where the use of any condition forces you into making sure there is some explicitly taken branch for all possible inputs -- and perhaps that language also magically knows what you must do inside each branch. Show me all the projects that are using these for web developement, which is the context for this discussion. Otherwise it is not fair to bash C over it.

All the mainstream languages I see in web development allow you to make the exact same mistake.

> I fail to see how C helps you avoid making such an error. Because C's general standpoint here is that there is no such thing as an error, there is no such thing as a type, and it is perfectly acceptable to have undefined behavior sitting within trivial edit distance of common code patterns.

But there are errors. There are types. UB is not relevant to what you are replying to. The problem in question was about a condition that was not considered. Again, show me how your average web language tells the programmer that he didn't write some if condition or stop bashing C over it because you're dreaming of features in some unicorn language nobody uses in the real world anyway.

> Actually, no, that's false. A lot of popular languages check arithmetic.

Please read again. I said "the former", referring to input validation. That is relevant to every language accepting untrusted input.

> Insufficient abstraction means that you can't reuse code, so instead of getting it right once you have to get it right every time.

That statement is so wrong I can only conclude that you're smoking something or you haven't programmed in C and you are completely oblivious to the work the OpenBSD folk (and many others) are doing to fix these issues in existing reusable library code as well as to introduce new, safer APIs. Sure you can pretend that everyone who wants a buffered output stream to a socket has to write their own circular buffer and repeat the same mistake. You are wrong, and if you had paid attention you would see counterexamples (libevent is a popular one) that prove you wrong. You're just hating on C but don't know it.

> And what's the compelling reason to use C?

I'm not trying to convince anybody to use it and my reasons are my reasons -- the strawman you make of performance isn't the key. But it doesn't matter.
Speaking for myself I don't want dollar coins. And I expect a lot of others agree. And would vote against it given the opportunity.
to fight online terror

1. identify extremist and terrorism-related
videos

2. increase the number of independent experts

3. a tougher stance on videos

4. expand its role in counter-radicalisation
efforts

But I'm not terrified by things that happen online. Least of all videos of events in the past.

And, to be honest, I've seen plenty of NSFW videos.

Let's not kid ourselves. Terrorism has pretty much nothing to do with videos. Radicalization has more to do with the social realities faced on the ground, day after day, as we live our lives. Alienation and the misery of slums, and hopelessness of monotony without progress, are what lead to terror.

The true effects of propaganda are over-stated and over-imagined.
You're 100% right.

Same idea with the guys getting rich of off of patents in the pharma industry (e.g. EpiPen). Nothing these forms are doing is technically illegal.

But the reason some of these guys are gonna be crucified is the arrogance and lack of public contrition. They really need to take a page from the banking execs of 2008 who cried no-fault all the way to the bank.
Google's got a lot of smart developers who you'd think would have figured out how to surface original documentation if they really wanted to.
This scares me in ways terrorism never has.

I'm not sure terrorism has ever accomplished its goal to effect radical change. But a powerful entity ostensibly protecting us from a group perceived as a common evil that's not worth debating?
We need to re-moralize the language around debt and bring back the concept of usury. There is a reason the European middle ages were so hard on the matter, it came from the experiences of the late roman empire when debt consolidated wealth and then destroyed the social order. (Sound familiar?)

Some ancient usury-based systems had the good sense to have a debt jubilee every fifty years or so to stave off complete societal collapse. Steve Keen has proposed a modern implementation of such a debt jubilee:

http://www.ideaeconomics.org/a-modern-jubilee/

Sticking our kids, especially our intelligent ones, in this much debt before they even have a chance at family formation is deeply dysgenic and is civilizational suicide.
Brutal plug, but MarkLogic is a good alternative if you want a good search solution that runs and scales on AWS (and you can migrate to another cloud or on prem)
The author of Book of Proof referenced here also offers a free online Creative Commons-licensed version: http://www.people.vcu.edu/~rhammack/BookOfProof/

But the dead tree version is also very reasonably priced.
Though a college education remains the surest path to a middle-class life, evidence has begun to mount that student debt may be far more detrimental to financial futures than once thought, particularly for those with the highest levels of debt: students of color and students from low-income families.

•The wealth loss will be greater for households with larger-than-average levels of student debt: students from low-income families, students of color, and for-profit students.

Well, that sucks. The behinder you are, the behinder you get. Ugh.
Yes. This is most obvious when comparing say an "ISIS inspired gun attack that killed 3 people" vs a ransom mass shooting attack where 20 died. The former is way more mediatized reported on, while on the latter it's recommended "not to politicize the event." But for the terror attack every war-nut and surveillance nut come out to call for bigger military budgets and more surveillance.
> So to see such a long-reaching cohesive story, something I'd never seen on TV before or since, and have it actually be good, made Babylon 5 an amazing show for me.

A benefit of JMS planning seven seasons of plot before starting and remaining a consistent part of the writing staff.
You're confusing is with ought. Violence is only acceptable in very reasoned, measured manners, and only to achieve clear and decisive goals. Hate is not acceptable anywhere. Outrage, maybe.
why is this page redirecting me to login to squarespace?
I truly hope these changes will include the US and Allied forces combat footage.

I've seen videos on YouTube contain some of the most shockingly needless violence with complimentary cheering and derogatory language used by British and US soldiers (often directed towards foreign people) one can imagine, disturbing.

It seemed like footage aimed at radicalising people to me.
While your statement is quite vague it is no less completely inaccurate. "Supporting violence" is subjective and ambiguous. Are action movies and video games supportive of violence? How about war documentaries?

Furthermore, while "hate" speech is not the best use of our ability to communicate it does fall under the protection of free speech - at least in the United States. In some groups hate speech (however it is you describe it) is acceptable.

Just as you are free to not associate with those groups the internet should be free to express the ideas you disagree with.

You don't have the freedom to interfere or disrupt the freedoms of others.
Ok, fair enough. It's Google's sandbox, they can do what they like.

So let's say ISIS and the Neo-Nazis get their own video hosting services, since there probably aren't enough of either to make that infeasible, and they already have plenty of venues for hosting their own material. Then what?

What problem does removing that content from Google actually solve? The internet detects censorship as damage and routes around it, remember - stopping the propagation of anything people want to publish is impossible by design.
Heck, Harlan Ellison was also a contributing writing!
First four seasons, not first three.

Also, I don't really think "proto-BSG" is especially reasonable, considering first that B5 isn't unrelentingly grim and miserable just for the sake of it, and second that, where JMS planned out the story arcs to completion before production began, Ronald Moore has come out and admitted that he was making shit up as he went along - rather say that BSG was an honorable, but ultimately vain, attempt to live up to the standard set by Babylon 5.
Marc Andreessen and A16Z deserve scrutiny here.

The most critical outlets are those with one of those two as investors.

Pando Daily: Andreessen has 8% ownership https://pando.com/about/

Buzzfeed: A16Z invested $50m in Buzzfeed https://techcrunch.com/2014/08/10/buzzfeed-raises-50-million...

Business Insider: Andreessen participated in the Venture Series, Series B and Series D https://www.crunchbase.com/organization/business-insider#/en...

More neutral/balanced outlets like Recode and TechCrunch don't have either as investors. Recode for example was the only media company that mentioned the death of Travis' mother as a primary motivation for taking leave of absence. The less balanced sources above barely mentioned that "detail" at the bottom of the articles on that matter.

A16Z did Lyft's $60m Series C: https://www.crunchbase.com/funding-round/3b6daa9a-7bb9-d7de-...
Inflammatory: (especially of speech or writing) arousing or intended to arouse angry or violent feelings.

Religious speech is not inflammatory just because some people strongly disagree with it.
I've married docker from desktop to deployment, so that is the thread here...

If you host privately then bitbucket offers their CI called pipeline. [1]

Gitlab has their own CI. [2]

Then there is always travis-ci. [3]

Jenkins [4] is great, but I thought it was a little much for my pet projects.

In the end I decided to make one of my side projects a mini-CI/CD, appropriately called minici [5]. Since then I have rolled most of the side projects over to this.

All of these play well with docker (to a degree). Mini-ci (my baby) was built with docker in mind.

Things to watch out for: Each of the CI systems have a flavor of runner file or DSL to run in their CI. This is sometime a YAML file or in Jenkins case a groovy script. In my mini-ci project I opted for a standard Makefile with a specific target name to kick things off.

None of them have a steep learning curve, but I find that the complexity creeps in when you want a full SDLC pipeline with multiple stages, reporting, and alerting. Lots of moving parts.

I'm glad that I put time into learning modern CI/CD systems. It has made me more comfortable to put down a side projects for months at a time and only ship tiny changes without worry of remembering how to do deployments or run tests.

[1] - https://bitbucket.org/product/features/pipelines

[2] - https://about.gitlab.com/features/gitlab-ci-cd/

[3] - https://travis-ci.org

[4] - https://jenkins.io

[5] - https://github.com/undernewmanagement/mini-ci
Yeah, it was probably a smaller amount. I would think most people's credit limit is less than the cost of a boat.
>because of their vast ecosystems.

But this is an argument more about community than about language design. Granted there are a lot of problems with the Haskell community but deifying poor design decisions as "simplicity" is generally not one of them. For the horror that is string types, though, maybe.
Clubs aren't public spaces. Clubs often require ID before they'll let you in.
It is not impossible that with bodies whose energy-content
is variable to a high degree (e.g. with radium salts) the
theory may be successfully put to the test.

One of the more understated assertions in history, there.
The distinction intended was in standards which are done by consent for example browser standards vs. regulation imposed by government.
> but the professional rules imposed by the bars.

Which are made of lawyers. So price fixing.
> You can fight terrorists, kill them but you can't kill the ideology. If you can't kill ideology you need to control it's spreading. What tools do we have to do that aside from moderating content?

I'm somewhat hopeful for the "Redirect Method" method mentioned in the article. If the other content is not ridiculing and inflammatory, but reasonable, and fact based and balanced, it may actually work and be a good thing for some people.

> UK attacks or any other attacks, ask yourself, what you would give up to get your dead child back.

There's no getting back. Questions should be asked by regular people who didn't experience any harm yet. And also it should not only be selfish questions, but questions like "What harm I'm willing to inflict on others (inside and outside of my country) in the name of my supposed protection?"
It's also a MUCH younger language than those you listed, that said I don't think Go or any other of the 'new languages on the block' will reach anything near the wide use of languages like C++ or Java, atleast not in my lifetime.
Look around you?
"Thais and foreigners on long-term visas get free universal health care at government hospitals(!), some of which are pretty good"

That's interesting. What type of long-term visas qualify foreigners for universal health care?

Some of the government hospitals are good as you said. I had foot surgery at Siriraj Hostpital, Thailand's oldest and biggest government hospital. While the facilities are old and tired-looking the care was excellent and the doctor was outstanding, this guy https://sites.google.com/site/ankleclinic/aboutus. But I went during their "special clinic hours" which is the same facilities but different hours than when the universal health care patients are treated. Unlike the regular hours, during special clinic hours you have to actually pay for services.
An excellent point! Ellison's sole Trek outing, "The City on the Edge of Forever", is considered by many to be the franchise's finest hour; in addition to writing for B5, he also served as a creative consultant and even contributed voice work to one episode.
Simulating sunlight is relatively easy; look for lamps characterized as "full spectrum". Point them down from high places rather than up from low.

Noise reduction is hard. The fastest, most efficient solution is to wear a pair of reusable, washable earplugs. If you buy them with a brightly colored cord connecting them, people will usually notice when they approach you. Next best is external ear defenders, the kind used for shooting sports. People will definitely notice that.

The downside to both methods is that most people do not like having things inside or on their ears for hours at a time.
Any idea what the scientific background of the author of [2] is?
Make accessing or setting a property to be an actual function call with Proxy:

const log = new Proxy(console.log, {
get: (orig, key) => orig(key)
});

log[11];
I'm surprised that would be asked.

Google removing or otherwise taking steps to suppress this content very obviously (partially) solves the "most important" problem.

And that "most important" problem is Google being accessory or providing platform which is a legal and public relations liability.

Notice who the author of the article is. Not some engineer. Not a public relations person. Nope. It's Kent Walker, General Council. And that tells you a lot about the "why".
That isn't always true. I personally knew someone who took impeccable care of their own things, and just destroyed stuff that got lent to them. I don't think it was really conscious and intentional. I think they had a warped childhood and weren't all that aware of how fucked up they were. But it was an incredibly consistent pattern.
Not a dumb question, it selects certain tweets, analyses them using the google language api.

All tweets together weighted over their followers determines the sentiment.

Sorry for the delays! I wasn't quite ready for the amount of requests coming from HN
No, that's not how these systems work. The bank switched RAM is switched in banks of 16K, so you can keep 48K 'constant' while the other 16K is switched as a window in the 256K.
If encryption is moved from the block layer to the file layer (on a per-file basis), isn't there a risk of exposing unencrypted metadata such as filenames, file sizes, file modification times etc? Or applications accidentally making temporary (unencrypted) copies of files (perhaps in /tmp)? Or just by accidentally cat > 'ing a sensitive file into the wrong directory, thus accidentally leaving a plaintext copy around on the disk sectors? Am I wrong in thinking block level encryption is a comfortable safety net for preventing infoleaks for lost/stolen devices, since cleartext never hits the disk?
Sure, if you are actually evaluating logarithm the base is very important. However, as I said, an entity designated as "O(log)" is exactly the same for every base so selecting a specific base here makes zero sense. Likewise, O(n^c) is as same as O() of any polynomial of power c, if somebody is writing O(3n^2 + 5n + 366) instead of O(n^2) - you know they don't quite understand what are they doing.
New security flaws about your internet, router and your devices
http://i65.tinypic.com/1zlw51g.jpg
I am not a complete savvy person, but i know enough to analyze my network. About 5 days ago my computer systems administrator privileges was taken away, and i had to format my pc. I even used a actual microsoft windows 7 disc instead of a torrent. As i was researching more i got locked out again and did more research before getting locked out 2nd time (after format). On the 3rd clean install, I than noticed my system and svchost kept talking to different router ports, thus making me inspect my modem for vulnerabilities. I read reports about different DSL providers across the world's modems/routers were being remotely hacked and flashed with tunneling software for hackers to use your modem as a relay. I also found that the system and svchost send to the router the system event log. Microsoft and alot of other companies leave backdoors so that they can see what you are doing on your computer, but what that also says is everyone in the planet is vulnerable for a global takeover. I kept tracing different IPs across the world, but they were unallocated and not assigned to ISPs, or they werent VPNs either, this persons literally spoofing IPs! But mostly I am saying this because you can buy a little firewall box for as little as $250 (even if you think you dont need it) or you can use your old dusty computer in your closet as a linux firewall router by simply adding a 2nd ethernet card than hooking up a router on the lan port (the internet will be plugged into the Wan port you assign on your homemade router). Because of the recent wannacry attacks, this made me wonder, "are they doing this to everyones pc?" I think the answer is yes.
If the law describes what you have to do to legally ask to see someone's ID, doesn't that imply that you can legally ask to see someone's ID as long as you comply with the requirements?
check out tomb https://github.com/roddhjav/pass-tomb
Both Angular and Rails talk to "a backend." In Angular's case it's (probably) an HTTP server handing over JSON representation of data. In Rails' case it might well be exactly the same thing, or it might well be a NoSQL database handing over JSON representations of data, or it might be an SQL database.

You can certainly make distinctions between those data stores, but they have enough in common it's perfectly reasonable to say they're doing many of the same things.

Now, Angular is considerably more horrible than Rails and tries to solve some additional front end problems badly, and its use is a likely indicator that the organization or individual that have decided to employ it aren't capable of making wise technical decisions, so I'd say it's also reasonable to make distinctions between the two on a number of levels. But there's considerable overlap in the kinds of problems they attempt to solve.
No, but I can recommend in-ear phones with excellent noise reduction: Etymotic HF5, on discount until the end of June for $99. These have noise reduction on par with good earplugs (another thing that Etymotic makes).
Make up your mind.

By your definition(s), YouTube can't possibly handle inflammatory leftist material.

If they don't remove it, they're clearly leftist biased.

If the do remove it, they're also clearly leftist biased, but for a different reason.

You can't have it both ways.
This is has become another one of those mysteriously-disappeared-from-the-front-page-of-hacker-news posts.
SUSE re-wrote their setup/config tool YaST¹ in ruby a few years ago.

1: https://en.wikipedia.org/wiki/YaST
But don't the neo-Nazis and ISIS already have visibility? Again, all I think this does is add the allure of the forbidden fruit.
I don't think the kernel itself, especially a micro kernel, is all that big of deal these days.

There are already plenty of decent Unix-style and other kernels out there, mostly relegated to academia and research.

Any of these would be decent enough to lay the foundations of a free stack.

The real problem is the APIs, services, and the hardware drivers.

The locked garden style of hardware and subscription models are becoming more and more prevalent.

And even using Debian or some other Linux doesn't amount to squat if you're using a back-doored Intel chip with its 'management engine', running a browser which is making it easy for 200 trackers to follow you on every site, and a smart phone, designed by an ad company, has turned you into a broadcasting station.
I think op just meant that they do bad work for exorbitant prices.
And gp showed some of the pressures that can drive firms to buy optional services from consulting firms: desire to maintain a "good relationship" or possibly just discounting and bundling.

Also, the big consulting firms are generally known for aggressive upselling. It's often a core part of their business model. Once you've got em on the hook...

So, TLDR: Not shakedown as in extortion, shakedown as in bad service for a bad price.
Cool. Webpack is pretty popular. Also, we use brunch at work (mostly Phoenix apps). Even though it's less common, it works pretty well. It's similar to webpack but it currently only has js config (brunch-config.js). It would be cool if someone added TypeScript config support (not TS asset support) and a similar blog post about how to use it.
I doubt they meant literally anything. It's a common idiom. Also, a conversation that's loud enough to understand is more than just ambient noise.
Those were days. https://books.google.cl/books?id=AS81GLj403kC&lpg=PA113&ots=...
Thinking strictly about the freedom of movement, there is a huge difference between Malta enacting a policy I hate enough to leave it and Anchorage doing the same. In the latter case it's easier for me to pack up and go somewhere else. This may or may not be the case in the absence of nation-states, but I suspect that freedom of movement would be greater than it is between nation-states today--at least in the vast majority of cases.
Tertill: The solar powered weeding robot for home gardens
If cable companies are monopolies, surely Google is as well.
> You're confusing is with ought.

How so? I don't see it.

edit: Anyway. There's a lot of hate towards real or believed enemies of the west. It's easily visible online in news websites' comment sections, on social media, etc. It is somewhat rare to see people standing up against it. Even on platforms, where you need to provide gov. ID to be able to discuss, and your name is visible to others, people feel perfectly fine to spew hate against muslims, ISIS, or whatever in very non-measured ways.

My point with the previous comment is, that it is important to realize the western hate and violence too and not to brush it away, because it's very significant in its effect on peoples lives.

I'm not from the US, so it might be different in different countries.