skysight-inc/HackerNews huggingface dataset:
C has many, many problems. Curly braces are really not one of them. If I could wave a magic wand and fix C I'd make arrays and strings know their size.

Edit for the nitpickers: Yes, arrays decay to pointers and that's the real problem. Sorry.
(Thanks, I removed them.)
Yes but that's holding contradictory beliefs! And who's to estimate the extent or existence of the 'wilful offence'?

As a rightwing, small 'c' atheist UK conservative I'm daily offended by what I consider an avalanche of vituperative 'free speech' by people who do not hold my views. I'm happy to live with that and argue my corner. Exclusive of violence, those with different ideas in their heads can insult me as much as they like; it's their arguments to which I'll be attentive. Maybe I'll even be persuaded on some issues.

Ideologies whether political or religious must be subjected to strong criticism or we're all finished on this planet.
In my company years ago we tested every single manufacturer 3d set for engineer applications. We were never excited about it, so we did not follow.

Personally I was not excited about it. Most people were never excited about it, only manufacturers that wanted to increase sales of expensive devices.

In fact, it was a huge marketing lie: stereoscopic is not 3d. It never was. Stereoscopic only gives you depth in a very close distance range:30-60 cms from the viewer(but you focus on your tv set a meter away or more), and with healthy people in the real wold just moving 1 centimeter side to side changes significantly your view at close ranges, something those sets are unable to do.

It was clear to me that "3d tvs" were never going to work.

I am very much sure VR is going to work great. It already works. We had been using expensive VR for CAD work for years now and it is worth every penny. It is the real 3D: move your head, your view changes.
I told my mom it's time for you to look for a new vechicle.
I've always worked on her vechicles.

I mentioned maybe a Subaru? A few weeks went by, and through an email she said she wanted a new F-150. She, is I belive in her 70's. She always lied about her age, so I don't know her exact age.

I just thought it was a strange pick. Ford is doing someting right with that truck. I asked her why, and she said she liked the aluminum body. I think it has more to do with just the ride height? She's small in stature.

I've always liked the f-150, but went away from Ford when I realized I can put 250,000 on a Toyota.
Yeah, that's the OCaml version of "the year of Linux on the desktop" :(
not really.

Say you were working in a factory. Imagine if you were paid in cash monthly, say $1,200. You come back after a long shift and need to rest. But you also need to go and queue in line to pay your bills.

Your access to banking may not be so convenient and you'd really like to spend more time resting. What if you could go to your neighbourhood shop and top up your mobile wallet(through a transfer) and just make your payment through the app.

That's where I'd like to see this idea go towards.
Show HN: GoldenLayout – JavaScript layout manager with multi-screen support
DBs are CPU-limited and, yes, single-core performance has been stagnating.

What are you basing this on? Database engines are only CPU-limited only if you have unlimited I/O bandwidth. Also, database engines hardly ever have only one query to process. Even if queries were not parallellizable (which they certainly are), single-core performance has little impact on overall performance.
I was figuratively over there too. Great experience anyways.
I feel the use of vector<bool> is an iffy choice.

The Bitcoin codebase has a simple Bloom filter implementation you can take a look at that has been in use for some time

https://github.com/bitcoin/bitcoin/blob/master/src/bloom.h

https://github.com/bitcoin/bitcoin/blob/master/src/bloom.cpp
I'm going to go out on a limb and guess that you haven't tried the Rift or Vive.
Technically true but I don't think consumers care much about that distinction. They care about the value provided by the device and I think the value provided by AR over context aware HUD is incremental rather than revolutionary. The disruptive part is bringing the screen in front of the eye in glass form factor which seems failed.
Advert for truecaller on bbc.co.uk?
To extent of my knowledge, Prince only implements web standards set by w3. The reason browsers can't do what Prince does is because they lack support for those standards.

Wikipedia lists some of what Prince does that others don't:

https://en.wikipedia.org/wiki/Comparison_of_layout_engines_(...
Beginner mistakes in A/B Testing
I think most travelers would probably fall in either one of these three categories:

Those that know where they'd like to go, how much they'd like to spend, and when they'd like to travel.
(Traditional OTAs cater well to this category of people)

Those that know where they'd like to go and how much they'd like to spend, but don't know when they they'd like to travel.
(e.g. When it would be cheapest to fly out; one solution that does a pretty good job of addressing this is Hitlist http://techcrunch.com/2014/02/07/hitlist-a-smarter-flight-fi...)

Those that don't know where to go, but do know how much they'd like to spend, and when they'd like to travel.
(This would be the category we're addressing)

Along the 'where', '$', and 'when' dimensions, there would clearly be more combinations possible (i.e. 8), but the majority should fall in the three listed above. And sure, feel free to drop me a line at aron@wanderlust.ly -- always curious to hear about how others are thinking about this!
Doesn't this equally imply the opposite argument? You could get away with enforced indenting, remove the curly braces, and there should still be no problem.
Force your website to be served using SSL with .htaccess
I would add multiple return so api's don't suck.
US independence comes to mind. Too feeble I guess!
HP also has some good products in the highly available space - http://h20195.www2.hp.com/v2/getpdf.aspx/4aa4-2988enw.pdf , likely from their acquisition of Tandem.
Beware: Anker became so successful that now Anker knock-offs are a thing.
I took a look at the mock up, and I think you're aiming for the same space as Karma Platform; converting spreadsheet-as-db to web app.
Post-Google came DuckDuckGo.
Dynamic linking is the other big one. Windows had DLLs from the beginning, all the various Unices didn't and it's always looked like a bit of an afterthought to me.
Bob is found with a file of pseudo random data that matches a hash on the database.

There's no evidence of other images of child sexual abuse on his machine; there's no history of sites that distribute images of child sexual abuse; there's no history of the file being opened by Bob; Bob claims that he didn't know the file was there and he doesn't know what it is.

How does that benefit an attacker? How does that benefit an attacker more than just taking actual images of child sexual abuse and putting those on Bob's computer?
For something to be meaningless, there has to be something else that is meaningful, the definition only makes sense in opposition to something else, just like light is only light compared to the dark. So for life to be meaningless, you have to find something else that has meaning. What in your mind has meaning?
When I was reading I was thinking - if you like that kind of grammar just use Ada. And then later down he specifically mentions Ada. So - why not just use that?

With Ada, it is straightforward to create the kind of tight, fast code you'd write in C. You can control your own garbage collection and it has a fabulous type system. And - unless you need templates - it can do pretty much everything C++ can do as well.

I don't use Ada due to its verbosity. That's makes refactoring hard, and I refactor constantly. But only yesterday I picked up my copy of _Concurrency in Ada_ and flicked through to look at some ideas. There's lots of good stuff in there. I guess at the back story - a team who have spent years with difficult enterprise problems, who have thought really hard about them, and then rolled their conclusions back into the platform.

In the near future, a language called "flash" or "rock" or "bourne" will hit the hn frontpage. People will be amazed by its bootstrap website, its features, and will compare it well to Go. It'll get a whole lot of momentum. Weeks later a greybeard will publish an article, "Rock vs Brand X". The author of Rock will come clean in the comments saying that Rock is just a syntax transform that feeds to gnatmake, and that the whole thing was an April Fools joke.
For me LSD & Mushrooms were eye opening experience, I was born in a huge city, I grow up far away from nature, surrounded with cars, Millions of people .

I think psychedelics opened my eyes to nature, To what we were created from, We are a part of that but today we are so busy progressing in our careers, Buying bigger house and saving more money we ignore our real nature.

Earth is not just ours, Its home to million of other creatures that we ignore to see, Its what feed us and there are a lot of amazing secret living there.

I believe in third eye. and i believe psychedelics opened that third eye for me.
A History of Men's Divorce
The BBC news website has a long tradition of "product-related" articles masquerading as news. This is a byproduct of the blurring between news and entertainment.
I'm a Ph.D student in Cognitive Science and I'm currently writing my dissertation on the topic of conscious perception.

I think this study is pretty damn interesting because the cingulate cortex (ACC & PCC) along with the thalamus are implicated in states of consciousness (i.e. wake/sleep/coma/vegetation/etc) and also in "access consciousness" (i.e.: “consciousness” in the sense of “I am conscious ​of​ such and such”). Subjects dosed with psilocybin have decreased BOLD (blood-oxygen level-dependent) signals in these regions.

BOLD signal essentially tells you how active a brain region is (the more active the region, the more energy it needs, so the more irrigation it requires), so this tells us that the thalamic and cingulate regions are relatively suppressed by psilocybin.

This is congruent with a longstanding (albeit simplistic) theory on how hallucinogens work. The idea is that hallucinogens would actually be inhibitory in their function, but they would selectively inhibit regions that are, themselves, inhibitory.

So in a hand-wavy way, you can think of the ACC as keeping imagination in check. It inhibits perceptual areas (that are also activated by imagination) so that when you imagine a tiger, you don’t actually ​_see_​ a tiger. With psilocybin & LSD, this function is suppressed so you see the tiger.

Again, I'm simplifying to the point of risking a collective beat-down from my colleagues and lab-mates, but I thought it might help illustrate what's groovy about this study.
India Launches Unified Payment Interface API
Lazar Angelov VS Sergi Constance -The Most Aesthetic Physiques
Well, this post blog will be seen by a relatively small number of people and also it's just that, a blog. Their main site is used by an exponentially large number of people, including our grandma's and possibly people with different accessibility requirements, making it trickier to update. This is probably not an excuse (I consider having a half updated site worse that a slightly bad full update) but it's to say that it's not that surprising
Vaja
Quite. For example, recently a student's union refused to let Julie Bindel speak there because of her successful campaign to deny trans women access to rape and domestic violence services. How childish! Instead, they should have let the proposed debate about whether her evil opponents who just wanted to censor her for no reason were representative of feminism as a whole or not go ahead. Of course, the press didn't bother to mention these details, just like they never covered the very special exemption added to UK anti-discrimination law to allow this and how exactly it got there, but obviously it's the students who are pretending these issues don't exist. (This was, incidentally, one of the highest profile instances of UK students' supposed infantalisation and refusal to accept the real world exists.)
Why Live Chat Provides One of the Greatest Online ROI
Original post: http://www.neo-geo.com/forums/showthread.php?265573-Lost-Neo...

Contains LOTS of detail over that article.
Interesting. I've had some short periods of my life like that (without drugs). It could have been some growing pains of the brain (age 20 roughly) but I also correlate these episodes with time where I shifted religious beliefs.

Could it be a normal response when adapting to changes in our fundamental axioms? I mean, it's bound to be stressful when you don't even trust your most basic assumptions of reality.
I agree from anecdotal evidence from family and friends.

I think this is a classic case of HN demographic bias, as (this is just a guess) but I imagine there is a dearth of materialistic/hip teenagers using HN and as a result a lot of the comments here have failed to recognise the importance of such a large market segment in reviving an original format.

'Old-school' and retro devices are somewhat coveted by the youth of today, and therefore I don't think the arguments based on digital format and technical superiority hold much water when a bunch of kids are gonna go nuts over getting a change to use a Polaroid again.
"...student had asked a colleague not to use the word 'violate’ – as in ''does this conduct violate the law'' – because the term might trigger distress”.

Oh lordy. For a moment there I thought I was reading an issue of The Onion.
The dark side of Guardian comments
The color map in the illustration does not represent blood flow (~neural activity) but "connectivity" with the visual area. The measure used to estimate this connectivity isn't given in the article, and I wasn't able to find the associated publication. I am inclined to scepticism with this kind of measures. There exist a lot of them, and the choice of one, if not the crafting of a new one is likely to be influenced by the hypothesis of the tester.
Good news. Arrays have sizeof(arr)/sizeof(arr[0]) elements and strings have strlen(str) letters.
Accéder à une boite de messagerie secrète sur Facebook
Creating a world that works for everyone with Google Impact
C arrays “know” their size. (String literals do too.)
There you go:

struct much_improved_c { ... };

struct much_improved_c an_api_that_doesnt_suck() { ... };
Calculus Learning Guide
But would it give peace of mind really? Right in the linked video. It would seem the widget is properly designed, it has a thick separation gap between the two sides on the pcb. It would seem, that you could test 10 of these and they are all fine, and the 11th kills you. Or is that transformer design obviously unsafe?
I don't really see the problem either. A lot of this stuff I see seems to be centered around stuff that 'trips up beginners'

What I would like would be a way to portably create a stack frame and pass it around as an object and then call a function with it.
The European shippers want to push the industry for less emissions and use of "Bunker Fuel". They're concerns were ignored at the Paris Summit

http://shippingwatch.com/carriers/article8296860.ece#.VmyPdS...
Isn't there the anecdote that the Bourne shell is written in this style?
Using OAuth to Secure Your ASP.NET API
Learned something today. Thanks for the article.

Minor nit: it will save readers time if you call out that "p is the false positive error rate". (You reference the error rate, but don't attach a variable name to it.) I had to go to an external reference to figure that out, which meant I learned something else of course.
Festibity Rocks
Imagine if these rules had been in place in Parliament. Everyone would end up being thrown out...
Do JustHelpyn can serve people better than Google HelpOut?
Google HelpOut was intended to be platform letting people to get help online from professionals using video chat.
But it was initially built to connect people with professionals and help was not free.
Do platform, like JustHelpy connecting people with people for helping each other for free, can be better than was Google HelpOut ?
I've found that there's a number people who are afraid to come out and say they didn't like Cuba, it's a very unpopular opinion. I spent two weeks there as part of a 6 month trip through North and Central America, and before I went, everyone said they loved it. Since then I've found I've spoken to two or three people who have said they were glad I told them I didn't like Cuba because they didn't either, but everyone else loves it. Obviously this is a small sample size, but I found it interesting.

Personally I thought that Viñales particularly, and Havana to a lesser extent, to be the most touristy places I've ever been. Of the three main streets in Viñales, almost every building was either a Casa Particular or a restaurant catering to tourists. In downtown Havana, the number of Canadians/Australias/Kiwi's/Europeans was incredible, more so than anywhere else I went in Central America.

Almost every daily activity was more difficult in Cuba than anywhere else I went (probably because of the embargo) - restaurants and supermarkets were constantly out of stock, exchanging money was an hour long ordeal...

That being said, if I had my time again, there's nothing I'd change, it was definitely a unique experience
Closures.

This is the only thing that I miss in C. I always want to declare local functions, and return pointers to them.
Books I read in 2016 so far
Yes, I raised an eyebrow as well when I heard this. The Russian Civil War also had millions of casualties.
I am guessing the daughter was less impressed by the event? I mean, she went out of her way to find someone her parents disliked, and it turns out he is just what his father was looking for... :)
> While people of caucasian descent all share about 2% of their DNA with the Neanderthals

That number is shockingly low to me, which probably means I misunderstand some subtlety of what you're saying. Could you expand/explain? (I'd have expected a figure starting with at least two 9s [99+%])
Exploring fork and sockets using Nim
Most people enjoy being content, fulfilled, and just being themselves.

A tree is usually content to sit still most years. A rock, even more so. They sit there and are content and fulfilled. They're being themselves, without having to make a move.
I can't give you specific advice. However DO NOT FORGET that HR has the company's best interest in mind, not yours.
If you are in the Boston area tomorrow you can ask him in person, he will be speaking at the Embedded Systems Conference:

http://www.embeddedconf.com/boston/scheduler/session/mars-at...

The full conference pass is $1300 but you can watch his session and many other sponsor sessions with the free pass.
I mostly miss Python-like modules and namespaces in C.
If it's embedded code, it's quite possible you can't just decompose code into little bitty chunks to avoid nesting, because your maximum stack depth is fixed and very small.
I would make it impossible for a simple addition of two integers to result in undefined behaviour
City of the Future
I do like the policy of noisy workarounds. With workarounds for external flaws I tend to use neutral language though.
Problem is you end up like python where writing tooling is hard/impossible because the syntax doesn't have enough redundancy. I look at python and get the feeling the guy tried to make it work with just indenting, and then had to punt and add colons.
This is a cool idea. We did something similar in a college club where we suggested people online courses and content. I am guessing you are trying to automate this process. Love the idea.
In 15 Years, US Wants Its Satellites to Adapt to Threats on the Fly
Launch an advanced eCommerce app for less than 20 dollar
Do not forget rocks!

https://en.wikipedia.org/wiki/Carbon_cycle
I think the main two reasons are:
- Ada is in practice managed by AdaCore; compiler features may or may not migrate back to the free GNAT compiler. I understand that they are kind of stuck: they have their customer base, and any kind of opening up would cause revenue losses that may or may not be recovered by more customers. I think they are making the right choice
- superficial as the reason may be, the syntax turns many people off (it's kind of an acquired taste for me)
Personally, I'm not really worried about death at all. Having spent years of my life studying physics and coming to the conclusion that an eternalistic view of (space-)time is more likely correct, as seems to be implied by the theory of relativity, I know that my life here on earth won't disappear as a consequence of death, and this gives me solace.

I absolutely detest psychedelic drugs though, they nearly ruined my life twice. Anyone advocating their use doesn't know how much damage they can do to some individuals. There is nothing inherently enlightening about throwing a chemical wrench into your brains neural cogwheels.
Hey, thanks!! Yeah we want to help students better leverage the online content that is freely available to improve their learning experience.
You can sizeof them if the declaration is in scope. If you pass them as function argument, this information is not obtainable inside function. You have to pass length as well. This is not very elegant and sometimes you elect to process them without using functions just because you can iterate them easier.
Just having a standardized way to do tail calls would be a big step in the right direction. The likes of Java could do with that too.
How to Have More Time
NativeScript docs available as Dash docset courtesy of spyromus
You are not alone in that. A lot of the annoying stuff in C could be fixed going down that path.
I always found that unnatural in C and preferred the other way around: to pass the struct to populate as a pointer and keep the return code for tracking operation status/handlers
Inline functions.
Read on, this is exactly how it is meant to be used. You can run the various `voltron view` commands in separate panes.

This would be a nice example configuration:
https://github.com/tuxotron/voltron-tmux
People would accumulate capital instead. After all, that's what the hyperwealthy do.
> It's unfortunate that people here downvote for misunderstanding a common reference.

No, people here downvote for saying things that don't actually add to the conversation. "Hey, I know an old joke about Emacs!" doesn't add anything to the conversation here. (Voltron is not particularly Emacs-like; its readme says in its second paragraph that it "doesn't aim to be everything to everyone"; it's not a thing anyone is going to spend all their time in; the parallels it would take to make the reference apposite really aren't there.)

Also, I think you botched the joke; "... but it seems to lack a decent debugger" would have fitted the pattern better. (But it still wouldn't have been either very funny or very insightful.)

Oh, and I downvoted your second comment for complaining about being downvoted; I have a policy of always downvoting waah-I-was-downvoted comments when I see them. (Unless what they're complaining about is a very clear injustice, which it isn't here.)
> Sure, but the question here is would you rather work on auto-related stuff at Ford or Apple?

Ford, of course. Where my manager and my manager's manager and so on know about the technical aspects of automobile development, facilities for automobile-specific testing (engine test cells, turbocharger test cells, wind tunnels, anechoic chambers, etc.) are available, experienced technicians can advise me...
GNU C supports nested functions. Does that solve it (if you accept GCC lock-in)?

https://gcc.gnu.org/onlinedocs/gcc/Nested-Functions.html
> Personally I have gotten access to some legitimately good products via ads.

Don't worry. When, someday, ads are gone, you can probably subscribe to some product recommendation service if you so desire.
Tried creating a node http client that's closer to english grammar