skysight-inc/HackerNews huggingface dataset:
Ciao Shakna! I would say that calling PJON a serialization protocol is a little limitative. Thanks to Hackaday and Atmel blog publications, soon an year ago, the repository started having thousands of visits per month, it has been implemented in Python and C by other developers around the world, but is still not finished, or better it doesn't include all the features will have when finished. The first versions (in 2010) were almost totally unusable in the real world because a lot of bugs and inconsistencies, but it is almost 8 years I am linting, correcting and enhancing, before personally and in the last two years with the internet and github community. The protocol overhead depends on header configuration from 3 up to 19 bytes.

If you want to see something real applied on top, take a look to this project:
https://github.com/fredilarsen/ModuleInterface
I realize integer has rather specific meaning in this context. But really, your comment just highlights the issue.

In my world integer is a mathematical construct with no particular representation, making things like bitmasks and or shifts nonsensical.

If you really want to work with fixed length bitstrings why not just have a type for that? Operating on a string of 128-bits should be valid on all such bitstrings no matter wether those represent a number or a string of code points.

And equally operations on integers should not care about particular bitstrings representations of the number in question.
I've worked remotely for HP going on 4 years now, I'm based in Ireland with 2 other also remote team members. Our groups "HQ" is Seattle, so it's about as bad a timezone difference as possible while keeping at least 1hr crossover.

My manager is also in Seattle, along with our entire reporting chain being US based.

It's worked brilliantly. Our group is probably an outlier though, as we have people scattered all over world, and for most of my time here, we've been focused on open source projects like OpenStack and Cloud Foundry.

In short - yes, even mega corps can handle remote workers.
Can somebody elaborate on how many Android devices support VP9 with hardware decoding (wrt to AVC Main support)? The article is shallow on this, but I think it's an important point, because it affects how much battery is being consumed on the client side, and thus user satisfaction with the service.
Real-time and historical data about every reported covert US drone strike
> I'd hope it's true that the core engineers have looked at the company's website. So either they didn't notice a problem, didn't care, or cared but didn't have enough power to get things fixed.

Nonsense. How is a developer going to notice this? It's a simple misconfiguration of an HTTP header. That's it. Their AR and hardware developers may have never even done web work and may not know how HTML 5 video even works to even THINK this could be an issue.

I work for a company but I don't check their main, consumer facing websites much if at all because that's not what I work on. So you're telling me if there is an issue with one of them it reflects poorly on myself?

> But I don't think it's unreasonable to evaluate a company by the materials the put forward specifically for evaluating them.

Since when does HTML help you evaluate AR and hardware engineering?

Get off your high horse.
As a non-C++ developer, I'm curious just how many developers who choose C++ are using Boost. From what little I have heard from friends, it seems that C++ essentially implies using Boost - which could be seen as a good thing, or a really really bad thing.
Mother Nature Is Brought to You By
Youtube generally disapproves of separating audio from video; google 'Streamus'.
Well, he literally means escaping to other planets.
That doesn't really make sense.

RedStar OS contains all the surveilance features North Korea could possibly want anyway [1].

Why would you need backdoors when you have a widely opened front door?

I would strongly assume that using RedStar is mandatory in NK.

[1] http://www.securityweek.com/north-koreas-red-star-os-governm...
We're just systems that transport our genes into the next generation. Our perception exists mostly to help us find food, avoid dangers and reproduce. Of course we lose a lot of information, because it is irrelevant to us.
Jonathan Safran Foer: Technology Is Diminishing Us
C++ templates provide type checking exactly within their bounds, which this particular example illustrates, so...well, what? Posit for a second that you are correct. I think you're not, but let's posit that you are. And then I just think...so what? I don't mean that to be flip: what's the point of your post if it's not to air complaints that "newcomers might have trouble"? I mean, yeah, all things being equal, approachability is nice--but newcomers have trouble with chainsaws, flying planes, and 240V wiring. Hard things are hard. C++ is hard. It's why it's a tool of last resort, if you are wise. If you're not, nothing's gonna help you, yeah?
The X1 Carbons have quite a few models with the RAM chips soldered to the motherboard.
...PS2 hacking?

But I don't think rust has support for the Emotion Engine in any case.
Betting that big on driverless cars sounds like madness to me. But then again, maybe that's why it is the right thing to do?
What's an investment of a few billion, Uber is in for the long game.

You can to compare them to other big names in the transportation/logistics industry, like Webvan (https://en.wikipedia.org/wiki/Webvan)
And in the mean time, us consumers get to take advantage of ridiculous free same-day shipping on low-ish cost items, get cheap taxi rides in many places, etc etc.
That was moderately clever.
Another powerful visual programming language is called VVVV which you can find at https://vvvv.org/ I think they will be shortening it to VL with the next release. I had experimented with it back in 2011 trying to make a poor man's multi touch interface for the PC using an iPad and Touch OSC.
https://www.youtube.com/watch?v=DYEtkJSvZCk
It has a pretty clean/ minimalist UI and one of the more interesting implementations of visual programming.
Anything presented through TedX blows a fuse on my bullshit detector. They have lost all credibility as far as I'm concerned as the TedX brand is mostly associated with nonsense.
Mentioning the job security factor of C in a C++ discussion is ... quite bold.

On average, C++ has the highest (talk + best practices + monstrous refactoring) / (actual code) ratio of any language I know.

The C++ projects I worked on moved at a glacial pace, with constant discussions about the best object hierarchy, patches because some compiler had a different interpretation of the 100+ nested templates than some other compiler, and so on.

Oh, and the code also segfaulted and was buggy.
The bigger the team the more restrictions you want in a language.

C++ is lovely when you are working alone, but as the team grows people start having very conflicting opinions on what parts of the language should be used. The only way to handle this is to restrict everyone to a subset of C++ and forbid everything else, otherwise it will be impossible to navigate the codebase.

Innocent looking things like try/catch becomes a nightmare when not everyone has taken that into consideration when they clean up resources. Either you have to enforce proper cleanup around every function call or you have to forbid everyone from throwing exceptions, there is no middle ground here.
Under Universal Basic Income, since you did not do any work but still get money for free, won't that just devalue the dollar, causing inflation?
...And once we get Emotion Engine support, Rust will at long last be usable for PS2 hacking.
Yeah, we still have a few critical components that serialise to xml rather than json, although they have mostly been replaced.

What's new this time is the pricing model. It used to be we could run what we wanted on our own hardware on our own time. SaaS is new, mostly impossible to pirate (hacking AWS keys aside), and priced to make your eyes water.
It is my understanding that super tux was developed to be used as an alternative for Super Mario, when Nintendo got angry that there were AI competition based around their game.

https://supertux.github.io
Given their downright ethical behaviour, and utterly confused marketing do-over, does anyone a. Really care, or b. feel surprised?

If you run your company in an ethically abhorrent way across the globe from the get-go, is it any wonder you eventualy will go belly up?
Some info here: https://en.wikipedia.org/wiki/VP9#Hardware_encoding.2Fdecodi...
GNU plotutils
So. My bet is their using old insecure versions of Linux. Given that they don't have access to the wider internet how can security vulnerabilities be patched via downloading updates? It would be interesting if someone created a worm that spread among all redstar os users in North Korea, that downloads "dangerous" information from the outside world
Lossy compression combined with abstraction mechanism might be more a more appropriate way to describe it.

What gets processed and enters consciousness only a small percentage of the actual raw input from sensory "devices".

What get's stored is even less than that, is highly inaccurate and degrades quickly.

Abstraction comes in at finding patterns in the lossy data, and filling in the gaps in the data to form a coherent perception/memory.
In EU the warranty resets for the component that is replaced. Of course there are many times the seller/manufacturer will try to present it in a different way and you might have to contact the chamber of commerce or even a lawyer but the EU law is there for the consumer to use.
Fortunately, evolution selected for intellect even though it might have initially have been past a minimum fitness/energy valley. Id encourage you to rethink this simplistic view that ignores the general tool that developed in order to handle more random and abstract specific solutions to threats.
Human population through time visualiziation
Startup trying to disrupt protected market; gets hit hard by authorities.
For sure, I think the "complainer" here didn't handle things perfectly, but I am prepared to give him a lot of leeway considering what he has endured so far.

The fact that the issue persisted after the out-of-pocket repair, makes it obvious that the original product was defective. I know if I paid the price of laptop, was told it was my fault (when it wasn't), paid the price of a repair that didn't fix the issue, and was without the laptop for 60 days, I would be seeing red and probably prone to making belligerent statements.

After bungling so badly, Dell should be tripping over themselves to offer him a refund.
Does Rust run a memory barrier when ownership is transferred? How does it ensure that the previous owner has finished all its writes when a new owner take over?
Andy Clark - Perceiving as Predicting https://youtu.be/05P41FQlgjI?t=703
My main problem with rust at this point is the noise caused by a lot of the wrangling of standard types.

I know it's a low-ish level language that leaves a lot explicit for the developer to type, and that a lot of boilerplate things could yet be turned into conventions or macros much like try!, as the language matures.

I'd really like to see this process accelerate as a lot of Rust code now is littered with into(), unwrap() etc. which causes mental overhead for the reader.

I'd like to see more "zero cost abstractions" where the zero also includes zero characters typed that aren't part of the problem itself. As a benchmark, I'd like to see "noise parity" with go/ocaml/swift while still having the nice safety/performance Rust has today.
> In my world integer is a mathematical construct with no particular representation

Your world doesn't map to the reality of silicon and registers, whereas Rust does. As it happens, you can be fixed much more easily than the whole of modern computing.

> If you really want to work with fixed length bitstrings why not just have a type for that?

I don't. I want to work with integers. An IPv6 address is not the hex format that you read--it is a 128-bit integer. You can go read RFC 2460 if you don't believe me, but it's true. It is an integer that I can add and subtract from; I don't add 1 to an octet of an IP address and then do a bunch of carries if I want the next IP address in my network, I add 1 to the IP address. I don't perform some magic operation to determine what a subnet looks like, I bitand the integer. They are inescapably based on the representation used both by my computer and by my network hardware. (As is the performance of both my network hardware and yours. There's a reason that your router doesn't use BCD or whatever.)

There are programming languages that do not represent the underlying system. They are, for the most part, bad at dealing with the kinds of problems Rust is tailored to effectively represent. You can use those. It's pretty presumptuous to suggest that languages designed for lower-level problems accommodate your peculiarity.
Oh, definitely. And Whatsapp is able to maintain 2.8M connections, > 200k msgs/sec on one machine with Erlang [1].

I meant not in an embarrassingly parallel worload. The 40k would be with interacting with each other in realtime, and not by groups maxed at 10-20. Each of the 40k being impacted by the other 40k's actions; with an all-reduce step between them at each tick. Each of them getting a different overview of the other 40k.

Imagine a FPS where users receive updates on others' position 60 times per second if they are close, 1 time per second if they are far away, and none if the player is not looking at them. This could enable vastly larger games.

The question at hand would be: Go and Erlang's GC enable great latencies; but can their programming model still enable this worload easily? What kind of degree of shared mutable state do we need?

[1] http://highscalability.com/blog/2014/2/26/the-whatsapp-archi...
Didn't downvote you but I think you fell for the marketing.
How to hack YouTube? 100% work
Good quality noise cancelling headphones can change your life - with no music but just for the sound of silence. The bose qc ones are the ones that did it for me :)
Please be civil on HN. There's never a reason to insult and attack a user regardless of the discussion.
His comment was relative to ML, not an absolute.
Pebble stays quiet about Time 2 shipping
thank you, you taught me something today. instead of saying i want to require people to have an id card, i'm going to start saying i want to restrict the vote from people who can't figure out how to get an id, just so that there's no ambiguity in my position.
I use my perception to do much more, most of the time. All evidence points to humans being a good few steps above other animals for whom those three activities are not only necessary but almost sufficient.
Not really. They are never added, subtracted, multiplied, or divided. They are never compared for greater-than or less-than. Possibly they are compared for equality.

About the only mathematical operations I can think of which are ever done to them are bitwise-anding, bitwise-inclusive-oring, and testing for zero (and, as mentioned, equality).
Advanced Uses of Python Decorators – Codementor
Interesting, it relates to the decoding of Stephen Bax (above) , at least in the few minutes I've watched
I write and have written exclusively C++11 and C++14. I have not written legacy C++, nor do I have a cause to do so (though I have had to wrap around that code at times). The C++11 and C++14 code that I see is generally clean, adheres to straightforward memory models (heavy use of references and smart pointers), and has pretty straightforward and comprehensible OOP design.

There are developers who assert that C++11 is a step change of a language from C++98, and that may be true, but reasonably written, stdlib-adhering C++11 and C++14 are solid, hard-to-break languages in the general case and horror stories with regards to C++98 seem curious unless one wants to bring up failures of early DHTML applications in conversations about React.

(The build environments? Often a different story.)
I (together with my team) maintain 4 main services. On top of that, I'm one of the main contributors to one cross-company project, and help out with my old team's projects every once in a while.
Yes, really. I mean, I add to IP addresses regularly. How else do you enumerate a subnet (like, what do you think nmap does)? How else do you place, say, twelve machines at 172.17.0.120 through .131? If you're doing string concatenation, you are screwing up. Perhaps it's not enough of a screwup to impact what you do--but definitely wrong enough to impact what I do unless I were to do a lot of extra work in modeling an IP address just for the sake of somebody else's spherical cow of uniform density. (And I do mean work I'd have to do--the lack of a decent IP addressing library on the JVM is a recurring pain in my ass, but since they're just integers...)

If you have internalized an IP address as a dotted set of octets expressed in ASCII digits, that's a problem of comprehension. When you don't, it's pretty natural to just use this stuff like any other integer.
Show HN: Open source music player in beta
Feel free to tune your feelings.

To qualify as one in my book you have to be a serious problem: one came to give me a beating at work and the only way I got away was to find a corner and a weapon until he got distracted.

Another one made life at work so frustrating for two years that I left one of my best jobs ever just to never have to deal with that guy alone.

Unless someone here is stalking you, messing up you life etc then try something like this instead: there are a lot of people on HN who disagrees with me in ways I didn't expect.
California warehouse fire kills at least nine at dance party
"Ai secretary" in what respect? Natural language processing? Because simply making an entry into a calendar is just a 1980s' level computer programming problem at best, so I think your example needs some clarification/elaboration. Whether something is "AI" also depends on the presence of learning (the stuff you do with Windows voice recognition to set it up is not "learning/teaching" in the AI sense). Most of the things touted as "I" (intelligence) have all the intelligence in the programming effort, but none in the actual program (apart from what was put in).
Can you present any imaginable situation where resolution of arbitrary time/dates to a billionth of a second is not adequate?
The biggest challenge is providing all the functionality that users want with a clean UI.

There's a trap and tradeoff in making an interface too clean: discoverabilty suffers.

Some users might never go beyond the simplest of use cases, but more advanced things need to go beyond that and it shouldn't be hard to find out how.

If users have to google how to do something, you have lost.

Apple is a good example of this. They value their clean and intuitive interfaces.

But I don't think they actually are. Give an iPhone to someone who hasn't used it in a while and see how well they handle things...
How to hack using your android smartphone with Linux? Part-1
The timing of this project is a bit unfortunate since Blizzard and DeepMind announced a month ago that they would be releasing an API to use StarCraft 2 for AI research:

https://deepmind.com/blog/deepmind-and-blizzard-release-star...

Plus: StarCraft 2 has a free edition (not enough people know this), so you will most likely be able to use SC2 for research without needing to buy a licence.
Lots of unethical companies are very successful.
The following suggestion is not about tackling AI from neuroscience/biological perspective, but one that critiques the computational view of mind/brain - which provides only a limited picture.

See the work of prof. Walter Freeman: https://en.wikipedia.org/wiki/Walter_Jackson_Freeman_III

Esp: Reclaiming Cognition - Ed. Nunez and Freeman.

Also see the work of Hubert Dreyfus.

These works will help you figure out what 'tackling AI from a neuroscience' perspective could actually mean.
If you want to become a procoder, a codewiz or anything similar, then you should learn to type fast as well & try overtaking the type cursor! But, if your goal is to create solutions, then programing might be the last thing you do.
Thanks to Blizzard/DeepMind, StarCraft 2 (which has a free edition) will soon have an API for AI research. See my comment on the thread: https://news.ycombinator.com/item?id=13099679
Lots of worse companies have survived and continue to survive.. I don't disagree that there have been problems with Uber, but I don't think there is a direct relationship from ethics to survival, though that would be ideal..
>Ease of use is sanity in its own right too.

I am not sure what that means. By sanity, I mean sane/sensible/unsurprising behaviour. As an example, think of a gun with a feather touch trigger. It improves "ease of use", because you don't have to "pull" on the trigger and might improve accuracy for people inexperienced with guns, but it trades off safety completely. Php is like that. It was a language meant to process data coming from html forms. A lot of these insane behaviour can be attributed to that.

Because there hasn't been a formal/proper development/review process [1], only god know what hidden pitfalls there are hidden within the language, that is, in addition to the pitfalls people already know..

Php 7 is a dangerous farce, because it still has got all these problems, but is marketed/promoted as a "modern" language. Luckily, it seems that very few people are buying it..

[1] https://www.reddit.com/r/lolphp/comments/5fhmbg/if_an_invali...
What specifically makes the theory drivel? Exactly, what is scientifically not matching?

Take your time because I'm pretty sure you don't have the mental capacity to think for yourself. You depend on a government or an academy to think for you because you're so cognitively incompetent.

Let's take a step back and count the number of comments you're arguing without scientific explanation. You might as well be preaching about a religious deity because you're conjuring more faith than logic.
CyberChef – The Cyber Swiss Army Knife
I must say this is a very nice attempt for a music player !
To transfer ownership, you would wrap the object in Mutex<T>, send it via Sender<T>, use some other synchronization primitive, or simply pass it over at the moment the thread is spawned.

It's up to the synchronization primitives to ensure memory barriers are executed, not the language. So e.g. a Mutex<T> would execute a memory barrier when locking and unlocking. Rust then allows you to pass ownership in a trusted manner only, i.e. through those primitives.

Of course, you can also create an unsafe block and say: "Rust, trust me, I know what I'm doing, don't bother me, and these are the invariants I want you to enforce in safe code..." Mutexes are implemented this way.
SQL injections vulnerabilities in Stack Overflow PHP questions
When you say "details very much might have changed between then and now", are there any news on bringing in the float128 type? I mean, do you happen to know whether there is any reasonable chance of having it in Rust at all?