skysight-inc/HackerNews huggingface dataset:
Superficially it's HTTP-like, but just enough to give you a false sense of familiarity. (For context, we spent ~10 years writing commercial SIP stuff before ditching it all in favour of Matrix).

You can just about reuse the request/response header & mime parsing stuff (most of which is as much SMTP as HTTP), but the actual stack is completely different - supporting transports on unreliable transports like UDP via three-way handshakes (INVITE -> 200 OK -> ACK), both client->server and server->transactions, different kinds of transactions, registration methods, multiple responses, and all manner of voodoo when it gets to handling all the various types of routing headers. There are two entirely separate abstractions of the stack (ignoring the parsing layer) - the transaction layer (handling those INVITE->200->ACK things that look a bit like HTTP requests but aren't), and then the dialog engine on top that actually the lifecycle of a session (e.g. a phone call).

Random anecdote: a few years a large European telco launched a chat/comms service based on RCS (a GSMA set of standards built on SIP, IMS, MSRP etc). We sniffed the wire to see what happened if you sent the three letters "Hi!" from one client to another. Suffice it to say that it involved 85 round trips and and 54 kilobytes of data (all of which was plaintext, comically) - and this ignored the initial SIP registration. In order to send that message it set up about 3 different sessions (one to send the message as SIP MESSAGE, another to do it again by MSRP (including all the MSRP handshakes) in order to include a typing notification, another to receive the read receipt, etc).

This is why the world needs standards like XMPP and Matrix as a more internetty and less telcoy alternative ;)
Out of curiosity, how would an attacker exploit this to run a code s/he wants?

Try to direct the DNS requests to their own server instead of the LiveUpdate one? If so, how?

Also, would we be a better design? Hard-code IP addresses to prevent the DNS trick? Use HTTPS and hardcode the public key of the server on every machine?

(Only asking out of curiosity, clearly.. Seems like a good case study for designing things right.)
Yes, the salaries are higher, but Switzerland is crazy expensive, especially in big cities.
Metadata. In this case, the broadcaster's general location and the timing and (I suppose) size of the messages. And perhaps known/guessed plaintext attacks: if you too have a weather ship in the same area you can guess at the content.
I didn't say I thought $10/hr was "excessive". What I said was that that was more than I was willing to pay to have that particular problem solved.

There are all sorts of things that people will pay a handful of dollars for, but that they won't/can't pay $10/hr for. Mine was just a concrete example of a low skill required task that I don't enjoy and that someone whose basic needs were already covered might be interested in doing, much like I did when I was a kid/teen and wanted to earn some extra money.
It's written on Hunchly's own blog so I'm pretty sure it would be fine in Norway as well.
Different religions have different effects on society. There is no fundamental reason why they should all be treated the same.
Add This Accounts(mdekkak.com) – Google Sheets
https://duo.com/blog/out-of-box-exploitation-a-security-anal...

https://duo.com/assets/pdf/out-of-box-exploitation_oem-updat...

page 15 discusses ASUS.
I'm pretty sure most apps use the default OS services, which just send the compressed voice data over to a server, where the actual recognition is performed (and your voice data stored forever, for "research and development" reasons...)
Not sure if being sarcastic or not. Do you believe that holds up on a purely statistical basis?
True but it creates business for ThinkPad and I'm loyal to them. They fupped too though
> Question, how does Switzerland avoid becoming more polarized country with so many referendum questions each year?

I don't know if you're a non-native speaker, but in English the question mark (the '?') shows that something is a question, so you don't need to also literally put 'Question' at the start of your question to make that clear.
I wonder if you think that pro-immigration movements can be inflamed, reflexive, unthinking and possibly offensive? Actually they do not need to be because there's been a fait accompli in that at least one million immigrants have entered Germany on the basis of what appears to be the say-so of one woman. Discussion is over!

This isn't the context for a rebuttal of your suggestion that unfounded accusations abound regarding criminality. Probably some are but you'd have to believe in a massive conspiracy to disregard all reports of let us say, rape and sexual offences committed by some of those immigrants. Do you really believe 'Sweden is the rape capital of Europe' is a far-right put-up job? I never thought they had that kind of clout.
What does the asylum reform say about the UBI? I don't see how you get from one to the other?
How Drones and Korean Pop Could Bring Down Kim Jong-Un
>Also, the burden of being rooted, and of having to maintain a house, could be such a significant detraction to quality of life that it totally makes up the difference.

Yea, so I'm renting a house where my agreement states that I am not allowed to fix or improve the flat myself. All changes must be agreed and made by agency. Current faults in the flat include: leaking water from toilet flush since seal is broken, reported 2 weeks ago, reminded 3 times. Water bill is on me. I would be happy if I could fix it myself, I would save money on water, calls made to the agency and not have the noise of leaking water, it's annoying. Aver salary in my city is ~£22k, and average rent just hit £720 per month, if we add bills and council tax, it's ~£850 which is more than halt of average salary. Hopefully I work in IT-financial sector and my salary is higher. I would be much happier to buy a house and be rooted to this city than to depend on renting agencies and increasing population which pushes renting prices a lot.

I'm making savings now to save for a house, if I get a mortgage for 20 years, my average cost of it will be £440 which is 2/3 of my rent...
After Snowden I just took a pliers to my laptop and ripped out the mic and webcam. It felt great.
Racist immigration policies are perfectly reasonable if you are a relatively small country whose culture would be at risk from large numbers of people from alien cultures.
Do you know how the NSA internal systems operate? Unless you have insider info, I don't see how you can be so sure what risks are involved. It depends entirely on the setup.

E.g. my very, very cursory contact with military computer systems involve visiting offices where access to the classified data and e-mail were physically separated onto different computers and different networks, maintained by different people working in different locations.

It's very possible to have the run of one network and not be able to be sure of how closely he was monitored on the other.

As for taking photos, on one of the contracting gigs I did that involve entirely unclassified jobs at a research institute nothing like the NSA, I was assigned a full time babysitter during the contract. The guy even waited outside the toilets when I had to go, because they were not allowed to let me go anywhere at all alone. These places take security seriously. It is not at all a given that Snowden had reasonable expectation of being in a position where he could take pictures without someone seeing it.

That he was able to do other things is not a good reason for him to take additional risk. On the contrary - it may have been good reason for him to be particularly careful about appearing squeaky clean in other ways to improve his odds if he had to explain away something else.
also related:

RSA key extraction in one hour via mobile phone microphone placed next to PC

http://m.cacm.acm.org/magazines/2016/6/202646-physical-key-e...
He has stated that he expected that the people of the USA, from whom the NSA derives its significant power, would rope it in. And, to some extent, they have continued to fail to do that.
Previous discussion worth reading about Taler on HN a few months ago: https://news.ycombinator.com/item?id=10258312
Reasons why I moved to Switzerland
Multiuser Unix with full preemptive multitasking, memory protection, and with a security model, vs. single-user DOS shell with only partial preemptive multitasking, no memory protection and no security model.
You only need to put in the app an obscure functionality that makes use of the mic, and then explain what it is in the app description, for the 1% of people who will even bother to ask why Super Candy Smash Tournament is asking for permission to use the mic.
Did you look into the EventSource API? It's basically automatic long-polling with a simple file format built into the browser. It supports pretty much every "real-time" pattern: regular polling, long polling, and streaming.

The browser handles the log position for you (via the id field and the Last-Event-ID header) and automatically reconnects when the server closes the stream or the connection is lost.

The proposed Redis API seems to fit extremely well to this model. My previous usage of EventSource with Redis worked by sending the entire state whenever someone (re-)connects and using PubSub afterwards. This works well for me, but likely doesn't scale very well.
I had a fun floating-point related bug the other day: I wanted to sort a list of doubles in C, and my comparison function was in essence:

static int compare (void *dpa, void *dpb)
{
return *(double*)dpa - *(double*)dpb;
}

The doubles represented times in nanoseconds, and the program failed to sort properly when the total runtime was larger than (IIRC) 2 seconds. I wonder if you can work out why.

(Spoiler alert) the fix was:
https://github.com/libguestfs/libguestfs/commit/1f4a0bd90df3...
Also, it's not actually "10x". That's just easier to write than "an order of magnitude", which is a subjective thing in productivity. The idea is vaguer than the "10x" abbreviation implies.
The difference in the price of the hardware that ran the NeXTstep and Windows 95 was still so large that I don't think having the Mac brand would have made a huge difference.

And given what Jobs said about his experience leaving Apple, I don't think a lot of NeXT would have even been made at the time had he stayed. The focus probably would have stayed on Mac and Mac OS. And unless Jobs was somehow able to dramatically change the outcome of that platform, that would have actually resulted in Microsoft being ahead, as Apple wouldn't have OS X, but Microsoft would have Windows NT, which could have ended up being the most sophisticated mainstream desktop OS.

We might have been living in a world where something resembling Vista and Windows Mobile 6 dominated the market...
You already listed the upsides. I'm taking the opposite stance, of course I'll list downsides.

In any case, HN doesn't feel like it has an individual-driven community, at least compared to Reddit. I'm hard pressed to name any users on this site. That might be more a reflection on me - I come here to read about interesting topics, and I have more interest in the message than the speaker.

Incidentally, how many HN users can you name? (I'm genuinely curious)
Pininfarina H2 Speed: Best Concept at Geneva Motor Show 2016
A month ago I was in the same place- I would start reading a short blog posting on RNNs/ConvNets/etc., and within 2-3 paragraphs my eyes would glaze over from the math and other foreign terminology. Frustrating. To try and fix this I am "auditing" the Stanford course on ConvNets: http://cs231n.stanford.edu/syllabus.html

I'm about 2/3 done with the homeworks, and I understand this stuff now. I'll never be a data scientist, but I know enough to implement these networks on my own, and to understand blog posts like this. It's a lot of work for one course, much more than I remember from my own undergrad years. I had to revisit Calculus & Linear Algebra too. But if you're genuinely interested in this stuff you can pick it up.
All software primarily used on Linux systems. You'll never ever see systemd outside Linux. Ever. BTW good luck with that mess too. Same with yast. You'll never see that outside Linux. Ever. You're creating quite the ecosystem of NIH and Linux only software. Btrfs, systemtap, etc. So "successful" is a seriously objective word as you use it. But good luck, you're going to need it methinks.
It's only a waste if you don't put the difference to work in some way.

Owning a house outright is great (I'm 1/3 of the way there) but for most, a 30-year mortgage is no more of a wise decision than a rental. You're just swapping landlord for bank.
Maybe it's because I come from a physics background, but 0.0.0 also seems to me as the version for the first thought of building something. So after one writes any amount of code, it should get incremented to 0.0.1 or something..
So higher cost of living results in higher prices. Strange that. /s
What if I told you that it was the people who forced the government to be fiscally responsible:
https://www.efv.admin.ch/efv/en/home/themen/finanzpolitik_gr...

Many countries in Europe, including Switzerland, were ramping up debt. In Switzerland this was stopped by the people via a vote in 2001. In the eurozone it took the debt crisis.
> Should we be worried?

"Top U.S. Intelligence Official Calls Gene Editing a WMD Threat ( WMD = weapon of mass destruction)

Easy to use. Hard to control. The intelligence community now sees CRISPR as a threat to national safety.

...

The CRISPR technique’s low cost and relative ease of use—the basic ingredients can be bought online for $60—seems to have spooked intelligence agencies.
"

https://www.technologyreview.com/s/600774/top-us-intelligenc...
> to make the populace wear the yolk of a mortgage. People with mortgages generally don't protest or strike.

You know when I mention this to my co-workers they grimace. We call mortgages and a family the 15-30 year jail sentence.
Have you paid for Redis? If so, was it direct donation, Redis Labs services, or committing code?

Edit: Not asking to be a jerk or insist that s/he donate. I use lots of things heavily that I've never contributed to. I'm just curious how the Redis community works.
The article takes it into a boring direction, and they didn't mention Samsung who is most active in this field. Vendors bypass appstores with their proprietary apps. Once upon a time I had a Samsung phone, and when I configured its email app, I saw Samsung's own servers, and not my phone, logging in to my email server. Which means they stole my password. That's when I tossed out Samsung devices once and for all.

But anyway, here's the courtesy tl;dr of the article:

Can it be done? Absolutely. Will it be done? Most likely. Have many people suggested that it's already happening to them? For sure, all over the place.

Is it allowed by Google, Facebook and the like? Most definitely not. So is it happening? Probably not, it's just a coincidence that you talk about something specific, and then suddenly find all kinds of ads about it.

Here's a dictionary definition of 'coincidence' followed by an explanation from a professor about how our minds have evolved to correlate stuff all over the place and see patterns in them, even though they're just coincidences.
Well, it's funny. NeXT was obviously a pretty great platform to develop for (others can speak to that more than I can) but the tools on the PC side at the time were pretty good. Borland and Microsoft were still in a legitimate competition to deliver good tools at a low cost. Delphi wasn't terrible.

The big problem was that Windows 95 was such a crippled platform. In a lot of cases you'd want to do your real development and debugging on an NT machine and simply target Windows 95. (it was not in any way, as someone else stated, a "DOS shell" but it was still pretty bad)

From a user point of view, well, a lot of people thought the NeXT environment was pretty great. Windows 95 was easy to use but it was just MSFT's first step out of the primordial ooze. I'm not sure how much difference it truly made if you spent your whole day in Photoshop or PageMaker or Mathematica or whatever, except you'd expect the Windows 95 machine to crash a lot more often.
> This shows otherwise.

Switzerland is one the most highly educated and richest country on earth. Do you think the results of direct democracy would be equally responsible in Egypt, Syria or Bolivia? (I'm half-Syrian).
The interpretation that I like is that "10x productivity" is more about what someone doesn't do than what they do do. It's in the sense that they seem more productive, partly because they're really good at what they do, but mostly because none of what they do gets thrown away. They're good at the intangible stuff around the tangible job. Someone can be extremely productive, but they won't be "10x" if they produce a lot of stuff that ends up being useless for any one of dozens of reasons unconnected to the actual job itself.
I concur, wine fridges are totally a necessity!
Those that disagree with him are racist. They're explicitly valuing the lives of some people over others simply because of where they were born.
I was going to suggest the same thing. ZeroTier has been an absolute dream in eliminating the necessity for traditional gatekeeper services like TeamViewer or Hamachi.
Thanks for the detailed answer; appreciated. Will reply again if any more comments after reading in detail.
>A puzzling article; starts of saying there's no pattern, then shows a pattern.

You must've not read until the end because it explains why the pattern appears and that it doesn't actually hold for larger primes.
Machine learning Statistics
network, graphs model
weights parameters
learning fitting
generalization test set performance
supervised learning regression/classiﬁcation
unsupervised learning density estimation, clustering
large grant = $1,000,000 large grant = $50,000
nice place to have a meeting: nice place to have a meeting:
Snowbird, Utah, French Alps Las Vegas in August

http://brenocon.com/blog/2008/12/statistics-vs-machine-learn...
One example is this recent paper on learning (somewhat) high-level attributes of text from character streams alone (i.e., without telling the convolutional networks that things like words and punctuation exist).

https://arxiv.org/abs/1502.01710
A series of posts about the linux kernel and its insides
That's a link to arXiv which the biggest publicly available preprint server. That means you can get it for free legally.
If you support unfair collective punishment and protectionism, why limit it to nationality-based groups?

Why not restrict work opportunities for Black Americans also? And to protect "us" from the high rate of crime committed by Blacks, why not force them to live on the other side of town where they are less likely to harm "us"?

(I put "us" in quotes, since I don't consider "us" to refer to any morally meaningful group.)
Ask HN: Open source local equivalent for Heroku
I'm searching for an opensource private cloud platform that you can host locally and can provide simplicity and flawlessness like Heroku. Has anyone faced the same problem in past?
If you consider how much money is embezzled / stolen by (most) corporations by avoiding paying taxes for all the services they benefit from, in the countries they operate in, this seems a very good feature.
Then I don't see any reason why XMPP can not be used widely nowadays. Just installed xabber on my Android and am going to set up a team server.
This is why I use an app called DVasive which tells me when my mic or camera is in use. It's pretty good at figuring this out it seems, although I haven't found any nefarious apps yet that use my mic or camera unexpectedly (I've been using the app for a couple of years). It probably wouldn't work for vendors or other rogue ways to get access to my phones devices however.
> waste money on renting

How is renting wasting money? Are you not living in the unit? You're gaining 100% benefit by paying rent and receiving a roof over your head.

You must mean a waste by losing out on building equity?

That's a crap shoot in itself. A hot housing market and equity can go into the toilet at anytime due to very irrational market conditions. Look at the housing markets of Las Vegas or Miami for examples.
Yep, it is inconsistent:

$ ( set -e; foo() { f=$(false); }; foo ; ); echo $?
1
$ ( set -e; foo() { local f=$(false); }; foo ; ); echo $?
0
$ ( set -e; foo() { local f; f=$(false); }; foo ; ); echo $?
1

However, it is still better to use -e to catch errors early.
Doesn't it affect only those who run Windows with this ASUS LiveUpdate thing installed?

But perhaps you meant that you must now, as a protest, shun ASUS products. I can sympathise with that.
Nobody thinks they're a bad guy. However we have tried communism several times and it had inevitably and independently led to unimaginable atrocities. At this point ignorance is not an excuse.
> it's easy to get a Green Card and citizenship

Can you provide some information on this? As far as I know, it's difficult to emigrate to the USA. If it's easy, I'd love to know more about that as I want to move there.
Facebook's ad platform is very mature, it was launched in 2007.

I think Facebook is able to let more questionable stuff run in part because the micro-targeting makes it easy to disperse bad stuff to narrowly targeted audiences. On Google, investigators could search well known pharmaceutical terms and it was plain as day the advertisers were breaking US law. It is kind of like putting crack for sale in your storefront window verse in the back behind a maze of doors.

From what I have heard first hand, Facebook's platform was much more difficult initially and now is more lax. This could be in part the sheer scale of their ad network and the difficulty in policing it, or everyone figured out which loopholes Facebook couldn't plug without screwing up their quarterly numbers.
Such a stream would have been detected a long time ago. Do you have any evidence?
I think that might be focusing on the smoke instead of the fire. The sort of people who make amazing things happen are driven by rage.

They take the success of some area of the world so personally, and hold themselves to such a high standard, that everything they themselves do is insufficient, everything anybody else does is woefully insufficient, and everything the rest of the world does is evil. When the closest anyone, including the person assigning grades, can get to "good" is merely "doesn't obviously suck right now" it makes sense there would be a lot of shouting.
For some people, the overhead of separating segregating income streams into declared and undeclared doesn't make economic sense. For some people, a conscious decision to act illegally is inconsistent with their values. For some people the potential appearance of potential improprieties outweighs the benefits of cryptocurrency.

To me, that's really the rub. Many of the potential benefits of cryptocurrency are independent of how it may or may not facilitate slush funds.
Really interesting article. After reading it, it seems that statistics are about devising a model (like y=ax+b+epsilon) and then fitting it on the data while machine learning algorithms are about letting the data make their own model).
> You're just swapping landlord for bank.

And even if you pay off your mortgage you still don't technically own it due to yearly property taxes.
Sure, but you shouldn't be surprised to hear that many rental experiences are much more positive than that, or that many people's situations lead them to totally difference conclusions. I've listed a bunch of reasons. You wrote "I never understood how people can not own a house and waste money on renting for decades" above, and my response is "It's easy to understand. Take my perspective as one of the millions of examples."