skysight-inc/HackerNews huggingface dataset:
In this model a series of consecutive bytes has a predefined meaning existing outside of them (namely in the source code that defines the struct), so when they are read they are cast as a struct-circle object.

This also only works well for scalar fields, not associations (pointers in the C program's case) and more finely grained items.

Also, where would that (the definition of the "struct") happen with the brain? Is there any literature showing anything similar, that we have memory fields that pre-correspond to specific objects through some mechanism?

Besides, dreams can have very clear structure and narrative, which takes them outside the realm of what can be achieved with noise, unless the "struct" has fields that correspond to things like emotions, faces, narrative changes, etc.
Haven't been through the whole catalog, but #3 and #4 were very good.

"Lots of things in the world seem ordinary. But when you dig deeper, it turns out, they’re fascinating. Surprisingly Awesome tells those stories."

https://gimletmedia.com/show/surprisingly-awesome
Ryan White on Setting High Goals
> While bsdlove's comment wasn't that great, were not most Windows users not using NT until Win2k, and even then, sym & hard links weren't useful, since you needed (and continue to need¹) administrative privileges to create them?

To be fair it was first with Vista that Microsoft tried to seriously lock users down and keep administrative privileges far away for the common user.

I'm pretty sure most Windows 2000-users had admin rights. This was not the reason symlinks was not adopted.
>such as being run over.

Ahhh here's the thing though, in such a case you don't really need their location right that second. There's nothing you can do. They will be taken to a hospital and will be taken care of. Of course you would love to be there for you children the second they are in pain, just like when they fell on their face when they just started walking, but you don't need to. As a parent you have to accept that from when your kids get into their teenage years they will start to become independent, they will have experiences (good or bad) without you and they will be just fine. Or they won't be fine. But you certainly couldn't have prevented them getting run over, getting robbed, abducted or raped by having constant access to their location.

>you start worrying about things you never worried about before.

And you always will worry, trust me. Even when your kids turn 30, you still worry. You have to try to look at this objectively instead of with your feelings, people start being independent and there's nothing you can do about it. You will have to learn to let them go. What's next, do you want body function trackers installed so you can check their heart rate to see if they're still alive or their glucose level to see if they have already had their lunch yet?
The Complicated Life of a Russian Techno Oligarch
That jig is a beautiful piece of mechanical engineering.
I hope they play "My Way" when it officially opens :D
Typing URLs into the search bar of Google is very common. I see it all the time. If google is your default new tab page there's really nothing wrong with it. One extra click maybe.
Artificial Intelligence as a service
Exoplanet Exploration: Planets Beyond Our Solar System: Galaxy of Horrors
Insecure Transmission of Qualcomm Assisted-GPS Data [CVE-2016-5341]
I wonder which type of programming he's referring to!
SqlSmash Utility for SQL Management Studio
Neovim 2016 newsletter
I use wipr and it's excellent.

I've been using it for a year and haven't seen any ads so far, not even video ads from big or small websites.

The macOS version is free so you can test it. The iOS version is $1 and it's very worth it.
"(I mean, let's be honest: if we really cared about security we wouldn't be writing in C.) "

Why so ?
They know command line alright. It's only that Google search bar is the new command line.
That isn't what was said at all.

What we have is a future president (ugh...) who has repeatedly shown himself to change his mind at the drop of a hat, be easily engaged and enraged on social media, and who has a long career (since long before he even considered running or POTUS in the 90s) of racism and misogyny (not to mention admitting to and taking pride in sexual assault...).

The fact that we DON'T know what he truly intends to do is terrifying, and that is why people discuss it. We know what he has said he intends to do .We know that some stuff he has backpedaled on, only to come back a few days later. That is exactly why people feel a need to discuss it.

And we also know that his vice president and growing cabinet are much more consistently "on message".
But wouldn't a browser plugin be easier to develop and also easier to use for the end user? Exactly what is gained by having it run in js? (Better portability maybe? But VLC already runs on almost all platforms natively...?)
Farming them beats...
beets! :D
Renting a desk in an open office full of random people? Sounds like a horrible work environment.
Ha, I would already consider it progress if the Preview app on OS X wouldn't just ignore any non-alphabetic characters I put in the search field of a PDF.
I'm hoping for something like hololens with some kind of keyboard, virtual or otherwise. Then we can take large screen monitors with us.
>>money buys you the luxury to be you that decides what you do with your finite time
>This is an illusion. Ultimately, you have to choose what is a priority in your life.

Notice how you just confirm the same thing I said. So, hardly an illusion.

"Ultimately, you have to choose what is a priority in your life" == "it's you that decides what you do with your finite time"

>There will be moments, many of them, where you have to choose between a board meeting or making it to bedtime, or taking a business trip across the world or a weekend spent hiking with your kids.

That's exactly what I said. Musk gets to chose.

>If you choose too many of the latter, at some point your board will get sick of you, your executives will stop trusting you, etc.

So, at worse you'll be off the board, and still left with b/millions in the bank. And only if you do it all the time.

Still, not the same kind of problem as not being able to spend time with your kids because you work all the time or you'll fall behind on rent and be homeless, etc...

>If you're prioritizing the things that let you be the CEO of a company, you're necessarily deprioritizing the things that let you spend the most time with your kids.

The whole point is that you don't HAVE to "prioritize the things that let you be the CEO of a company".

And you'll still be rich, with a home, with money to educate and feed your children etc if you DON'T.
But isn't leeway necessary to mature?

If kids don't screw up because they are under constant control, what would give you assurance they will not once that constant control gets turned off?

Also I don't honestly understand: what threats are you actually protecting your kids from by having them under constant location surveillance?
Do you guys fear your kids are at constant risk of being kidnapped every time they go out?

I used to worry that my little brother would have some accident while driving drunk or stoned, I worry about friends and relatives being molested or physically assaulted, but knowing where they are would hardly give me any solace.
I hope someone builds an exploiter for this on Android soon - I upgraded too fast to the latest security release :/
Entering the World of Macros
> The pattern "x = realloc(x, ...)" is a bad idea, it leaks the original memory on failure. Since the code seems to car about its memory management (and since it's a tutorial), I think this is worth mentioning (and fixing).

What would the alternative be here? Allocate a new region, copy everything over and free the other region? Or is there something better?

> I generally recommend against scaling string allocations by sizeof (char); that's always 1 so it doesn't do anything. Some people seem to feel that it's part of a general usage pattern that makes the intent more clear, though.

Isn't this just a habit born out of portability concerns?
There is a scene in Silicon Valley (the series) where Richard thinks the interface of the platform is really simple and intuitive, but turns out he only asked Level 3 people and above and it was not easy to use at the Level 1 people.
Because the user doesn't have to install anything.
I'm sure we can agree that some rights exist even if you are under age.

If you disagree, I invite to ask any law officer if it's ok to punch little kids in the face and steal their food.
> Apple is not, and iOS makes it significantly harder for rogue apps to get access to personal data without the actual user's direct permission.

Huh? Can you please, concretely, elaborate on how this app makes it easy for other "rogue apps" to access your personal data? Or how is this any significantly different from iCloud Find my Friends feature - especially since iCloud has very interesting exceptions for privacy data collection in EULA.

Or if I say it differently - if you actually read EULAs and what both companies collect, there is no privacy difference between Apple in Google when it comes to cloud services.

The raised concerns about tracking are VERY valid - but they are valid (as you said) for both platforms and calling iOS as "more secure" in this respect is extremely misleading and gives false sense of security. After all, iOS ships the feature BY DEFAULT, thus creating all the pressures you mentioned. Android doesn't.
P″ – The original Brainf*ck and mother of the Turing tarpits
Agreed, I think it's reasonable to ask that ppl are able to 3d model, which is a considerable skill in itself.

However, at this point, there's a huge gap between what a, say, sculptor would create from looking at the model and the garbage you get out of a typical 3d printer/software combo, if you can get it to print at all.
>I am not sure what that means.

It means that being easy to use is a desirable trait if you want a sane development experience. Having to go through bs hoops to use some language/tool/etc can drive you insane.

>By sanity, I mean sane/sensible/unsurprising behaviour.

And you'll find more or less the same amount of insanity in C or Javascript, as you will in PHP.

And in PHP it's mostly moot, because the insanity is in corner cases and stuff that's trivial to avoid.
CircularBells, a musical toy for kids and grups, covertly inspired by science
True, but deep wounds in the abdomen are much, much more difficult regarding infections than e.g. limb amputation. Surviving that was very extremely unlikely. Roman law said that the child must be cut out of a dead mother's womb, to bury it separately, but by that time the woman was dead or dying.

As far as I could find, the earliest written source claiming Caesar was born with C-section is from about 1000 years later.
Does the scripting part utilize ready made libraries or is it implemented from scratch?
Qualcomm has acknowledged the issue as being known since 2014 and has
released guidance for their OEM customers on fixing the issue. The fix
includes the use of SSL servers to retrieve the XTRA and XTRA2 data
files, and the eventual switchover to the new XTRA3 data format which
includes a digital signature as described above.

Google has acknowledged that this issue affects the Android OS. A fix
for this issue is included in the December 2016 Android bulletin.

Apple and Microsoft have indicated to us via email that GPS-capable
devices manufactured by them including iPad, iPhones, etc. and
Microsoft Surface and Windows Phone devices are not affected, since
they use an internal secure delivery mechanism for this data, and do
not retrieve data directly from Qualcomm’s servers.
What AI has learned to do by 2017
For what it's worth, the numpy 'trick' he used to demonstrate that feature also works on windows.
Thank you so much for those insightful links!
Flagged: Political Detox Week
I've noticed that the managers and companies that do this seem to be fostering cult-like behavior.

It's obviously deleterious to productivity, but where people consider themselves to be doing it of their own volition (as opposed to being threatened with termination), it does seem to breed loyalty and dedication. The non-loyal get weeded out and the half convinced convince themselves that they wouldn't be working 100 hours a week without a good reason.

Economically it only makes no sense if you assume that companies are optimizing for productivity.
Wow that's exactly how I feel. I couldn't even formulate it that well. But I'm very happy to know that other people feel this itch as well.

Your sentiment of "aiming for the future we want" instead of "piling up more stuff on our existing stack" reminded me very much of this talk: https://www.youtube.com/watch?v=gTAghAJcO1o
We have a very strong suspicion our 16 year old is dealing drugs. He disappears for days at a time with no money and returns completely off his face. Being able to see where he is is not really about being popular with him.
Again, the strawman is that parents will watch every five seconds all day long. Yes, some will, but they already have

Again, if anything, this gives MORE leeway. My sister pings her kid's location. They have five minutes to approve or decline and call her. That handles the problem of kids who don't realize that obnoxious ringtone is theirs.

And the google page on this already gave the use case. Someone goes somewhere (in this case, hiking) and later misses an appointment. You ping them and get an idea of where they were and can act from there.

Going back to the My Sister example: The kid doesn't respond and she gets a location. It is her kid's friend Jane's place. My sister is now relieved because she trusts her kid and Jane to not get into too much trouble (outside of MAYBE needing a Plan B pill...). Or she gets the location and it is the intersection of Drug Street and Rape Alley. My sister is now pissed and kind of terrified and actively calls the kid while looking for her car keys to go deal with this. Or the kid declines, calls her, and says "Hey mom. I'm fine. Oh, that loud car and gunfire in the background? We are totally playing Call of Duty. I'll talk to you later". At this point, depending on the parent, they decide how to act. I know from experience that my sister would probably IM her husband or me and start complaining and we would try to calm her down and remind her that her kid isn't a complete dumbass and knows they can count on her. Whereas I know our mother would be insisting on picking us up from wherever we may be.

But again, this strawman of the abusive parent is just a load of bull hockey. They already have ways to be abusive parents.
What is the problem?

The phones are already tied to your Apple/Google account, they already know everything about you. You have already trusted them with this information.
If it is not blatantly political the number of stealth articles people submit can be daunting to filter through. I have more than once found myself reading through an article only to get halfway when the shoe falls. Worse, the super majority are all tilted one way. This is what sank /. in the eyes of many when they let their slant wreck the intelligent discussion of any story.
Security Ninja review – provide maximum protection to your site
> What would the alternative be here? Allocate a new region, copy everything over and free the other region? Or is there something better?

No.

If realloc fails it returns NULL. In which case the original `x` is still valid. ==> However with `x = realloc(x,...)` you don't don't have a reference to `x` any more!
.. but not with a standard command-line tool shipping with the OS to create them. Which was kind of an odd decision.
This is not adding up... 32% of US population has Bachelor's degree but only 5% has college level reading skills? I think original survey probably has some fatal flaws. May be they should re-publish results after only taking in to account individuals of age 25 years or more who actually respond.

https://en.m.wikipedia.org/wiki/Educational_attainment_in_th...
You get a search result page instead of going directly to the site (that's how I noticed they were doing it).
Army Helicopter: Animal Rescue
There could be "politics" tag for stories and comments. If moderation would want it could penalize tagged content like it does with Ask HN. It can hid tagged content by default and one could enable it in profile (like Show dead).

Political discussion in many technical stories irks me, especially if it goes to the top. But I understand that it is sometimes valuable. Just like offtopic mentions of technical issues of the medium (horrible font etc.). Maybe it would be good to put it all to big bag called "offtopic" or something and put it always at the bottom of comment threads and stories list with ability to hid them in profile settings.
Wouldn't bank on this hack sticking around.
> What Hacker News is: a place for stories that gratify intellectual curiosity and civil, substantive comments. What it is not: a political, ideological, national, racial, or religious battlefield.

What Hacker News really is: a community of smart, mostly rational, tech-interested people of the world, impacted by world politics, who share stories and ideas.

Nobody asks for it to be an ideological or political battlefield - common sense and moderation should be able prevent this. But if this somewhat like-minded community can have a political impact in any way (anywhere in the world) by sharing and discussing political ideas, I cannot see why you would stand in the way of that.
>But wouldn't a browser plugin be easier to develop and also easier to use for the end user?

The trend for the last couple of years or so has been for browsers to deprecate third-party browser plugins.
Isn't Google Now opt in to begin with? Doesn't it give you a huge EULA to read before you activate it?
The alternative is to use a separate variable:

y = realloc(x, ...);

Then if it fails, you can still free(x) before continuing. Of course, if you're going to exit() due to the failure it doesn't matter and perhaps that's why the original code looks that way. I still think it's worth pointing out, though.

About sizeof (char), there can be no "portability concerns", and that very thing is what I think gives rise to a lot of (in my opinion, bad) cargo cult programming. The value of "sizeof (char)" in C is 1. Note that I didn't say "using GCC x.y.z on x86". It's true for all conforming compilers, on all platforms, and on all architectures. It's defined by the language.
The problem with this claim is that (generally speaking) material with a short half-life is very "hot" and will kill just about anything around it. Something that decays to one tenth of a percent of original mass over a century has a half-life of ten years. You don't want that anywhere around you, and a containment leak will be ugly.
The code is likely useful in many other ways than just self-driving cars.
MockupUI brings UI prototyping to the desktop software industry
Regarding realloc:

y = realloc(x, ...)
if (y == null) {
free(x);
// Handle OOM situation
}
x = y;
Well at least with hard links that's not strictly true. Using official win32 apis you need write permission on the file you're linking to so you can't link to say a system file as a non admin. Try mklink with the /H switch.

Of course that's a bit of a lie, if you use the NtSetInformationFile api you don't need write access :-)
Ask HN: How to handle no detection in Deep Learning?
Hello dear friends,

I try to develop a Deep Learning Model for my PhD Work that detect a set of objects. And I heavily struggle on one point. How do you handle the fact that none of the "known objects" is detected ? I mean even if I input a black or white image, I still have an output such as "ObjectX: xx%". How to change it for a blank result or "no detection".

I obviously can't input millions of situations where there is no object on the image with the label "no image".

I hope my explanation will be clear.

Best regards and thansk for the help.
This is one of the reasons why I favor public transport over driving my own car. I know that when driving to work I could listen to an audiobook, but I much prefer reading over listening. I just happend to learn better that way and enjoy it more.

On my last job, I had 30-40 minutes on the bus back and to work every day and got a lot of reading done. Now I live about 8 minutes from my job which unfortunately is not worth it to start reading.
I believe this is how every regulatory agency works over the world, they don't do any tests on your products, you only submit documentation related to your development and tests.

They are basically looking for proof that you did required things such as specifications, tests, risks management... They are looking into your development process to estimate if your product is safe or not. But this is only indirect.

Until you actually kill someone, and then, the same agency will send you its investigators and auditors.
Speaking of Bunnie, his work on xbox was actually pretty similar to this guy (although he did much more than just dumping the ROM):

http://www.xenatera.com/bunnie/proj/anatak/xboxmod.html
> I firmly believe that this project, fundamentally, would change the relationship of audio/video to the web.

Aren't they banging open doors? HTML5 video and audio is great and with WebAudio and WebGL you can manipulate every aspect of the experience. EQ, filters are possible. What else do you need? Subtitles?

I just don't understand what problem are they trying to solve because "I can't run VLC in the browser" certainly isn't one.
Show HN: Sessions – Videos of top-notch talks from developer meetups
Book recommendations appreciated.
History of Humanity by Milo Manara
There is plenty a tool could do to aid software design. You might sit down to plan a new program and launch your programming assistance tool. It might ask questions like what platform your program should run on, what time or storage constraints it must run under, whether it's a server or intended for users, and so on. As you go, it creates a project scaffold for you to build on and makes recommendations: to consider .NET since you're targeting Windows, to follow this security tutorial since you'll be using a database for persistence, to use a particular pattern for the application's core responsibility, etc.
Free from memory corruption errors.

Of course there is still the possibility of logical errors.
Some if this has nothing to do with computers or interfaces. A lot of people couldn't do the find info across emails and schedule meeting whether the inputs and ouputs were paper, people, whatever. The problem is they lack ability, in shirt, to problem solve. Something we excel at we can't imagine being hard for others. Being able to discern what the problem is, wgat are the assets, what's the done condition, how to divide up and order problem, what steps to take, what order to take them. How to focus. Curiosity, ability to explore, trial and error. Just being able to formulate a test, determine result of test, and fathom whether the result is applicable to your task.

Just so hard.
The experience won while writing that code could be a lot more valuable than the code itself. If ever a car company was interested in building on top of what comma.ai has done so far, they would hire (or acqui-hire, that's the VC bet) the heads and have them rewrite the code together with more formal engineers.

But when nobody is buying comma.ai, nothing of that will happen. The (little, given the domain) money invested will only have been sponsorship of a romanticized take on hacker culture. Which may actually have been a contributing factor in the investment decision here, this a frugal garage operation, not a fast-burning startup with fancy offices.

Open sourcing some code can create visibility, without it we would not be talking about this today. From the investment perspective, opening this code is clearly a hail-mary-pass. There are situations when those are the best course of action and I think this is one of them.