skysight-inc/HackerNews huggingface dataset:
Ask HN: Are there currently protests in your country?
I am trying to find objective information and the only way to do this seems to be comparing sources accross international news orgs.

There appears to be evidence that there are fairly non-trivial sized protests in the following countries:

- south korea

- venezuela

- england

- israel

- us

- indonesia

And several others. Interested in OBJECTIVELY substantiating this.

Edit:

- argentina

- australia
The recall covers machines since 2011, so whatever issue they have is probably not new.
The funniest example is the one involving `jq` which could have safely manipulated the JSON in one shot, instead of piping this into `sed` & `grep` & `awk`.

jq: bestest tool ever (https://stedolan.github.io/jq/)
Go not to the Elves for counsel, for they will say both no and yes.

J. R. R. Tolkien
>I think the privacy war is as winnable as the war on terrorism.

You think the war on terrorism is winnable? So you predict that after some date in the future, that no one will ever commit an act of terror again forever till the end of time?

I think you don't understand either of the two concepts you're equating.
Is there a term for not bothering to remember things, because someone will just answer for me? :P
> Very few SoCs have internal switch mode controllers.

That's why PMUs are used. Just look at bottom side of the PCB - there are three coils, two of them very close to the chip looking pretty much like PMU.

> It is going to either be an LDO, or take a fixed operating voltage.

No, read specification: 3.6 - 6V.
dupe: https://news.ycombinator.com/item?id=12881119
It is 14.04 LTS and packages are missing.
My wife is looking at residency programs (she will be an MD). She has an interview at UCSF, but we are not sure we will go--San Francisco is just too expensive. Salary is only $65000 and we have to pay back student loans. I cant't imagine any doctor wanting to train in San Francisco. The city is pricing itself out of existence.
Looks like that rumor was bogus:

"As pointed out by Ars Technica's Andrew Cunningham and others, Kuo's outline of chip possibilities does not match up with what is known from leaked Intel roadmaps. Intel is not planning MacBook Pro-class chips in the Cannonlake family at all, and Coffee Lake chips aren't arriving until 2018."
This is actually a great idea from Perl. Essentially an anti-monad. Somehow it doesn't surprise me that the php proposal is inactive (asterisk).

I haven't the foggiest idea what people do today in php but if they don't used cached templates everywhere I will be sad.

Even back then we serialized into and "rehydrated" out of memcached and the database (which memcached pulled from on cache misses). It's honestly more of a pain in the ass NOT to use serialized data structures in the long run. It's a good habit that is hard to break once established :-)

As far as AST manipulation. Heh. Betcha 9 out of 10 front end programmers have never written a compiler in their life. Again a good habit (somehow this topic always loops around to either lisp or Parsec) but a bit harder to establish. Template metaprogramming is a great way to get in a logit of trouble fast unless you know exactly what you're doing, IMHO.

(asterisk) wrote and sold a website in php. I don't judge people by their tools. But a lot of things about php sucked, at least 10 years ago when I stopped needing to write it.
Indeed. I found myself reminded of reading Ignition.
It has to make an HTTP request every single time it wants to check if there are new messages… I wouldn't call that a good realtime protocol (though in fairness, I'm sure it's good for many other things).
Wow, thank you for the insider perspective. That's truly horrifying that a $2B company (previously $10B) that depends heavily on software outsourced so much of its core competency like that. Talk about being penny wise and pound foolish. I've worked at two ~$10M companies that used all in-sourced development (i.e. me and my coworkers) and, while not without their faults, were significantly higher functioning.

Also, how the fuck do you brick a device by updating it? Wasn't this problem solved decades ago? You upload the new image and then, only once it's completely transferred and verified, do you atomically switch over to it. Are you telling me that they really made it so that the firmware update overwrites the existing firmware, so that any interruption in the process causes it to go poof? Ugh. I know that requires double the internal memory, but c'mon, this is 2016. The cost of that is some very tiny insignificant fraction of what an RMA costs. Never before in my life have I ever irrevocably bricked a device by updating its firmware.
Graphene Gives You Infrared Vision in a Contact Lens (2014)
Thanks for pointing that out. I hadn't seen the update at the bottom of the article.
As an aside, I like "crypsterism" as a portmanteau for people who advocate hipster cryptography/security policy.
They have terrible battery life. My first laptop I purchased in college was a top of the line Alienware. Never again will I do that. If you value portability and battery life at all I would reconsider. If you want power and discrete graphics get a desktop.
Well, for people who were using another OS not especially great for dev-work (there's nothing special about OS X in that regard) it seems like a fine recommendation. The biggest reason to run OS X apart from the obvious "you should do it because you want to develop for Apple stuff" is that it's a clean experience that mostly gets out of your way and you won't have to tinker all that much.

The macbooks are well tailored for dev work because the hardware itself hits most of the points that people want and care about.

There are arguably more options for dev work on any linux distro and Arch, for example, will do a better job with its repositories and the AUR in giving you easy access to devtools (and all other apps) of all kinds.
Does that salary include the housing stipend? AFAIK, UCSF residents get a decent stipend to use for housing expenses, on top of their normal salary. May not be enough to swing the balance either way, but it's worth knowing about...
Tell me more about Polish government corruption in 1916. I'd be interested in what you have to say about it.
That sounds like it's worth for me to try again if that is the case. Maybe I can find some decent hardware that works well. Thanks for sharing.

The flip side is for the work I do nowadays, I usually use a Linux VM on something like Digital Ocean. There was at one point I was using a 2011 11" Mac Air to dev work.
Apple is too arrogant to backtrack. They will just persist and wait for their demographics to adapt. People take so much crap from Apple, this would be no different.
Five years down the line Macs will be an even smaller piece of the pie. The way Apple has been neglecting Macs has me concerned of a not too distant dystopia where Apple decides that Macs and macOS are not worth the trouble any more. Sure they will still use macOS internally for development that they can run on older Macs or generic PCs themselves. Swift Playgrounds on the iPad will be the way most developers get to make apps. Larger and more prominent developers like Adobe, Microsoft, big name game publishers etc. get some sort of special treatment, e.g they get to buy iOS "devkits" (2013 Mac Pro preloaded with Xcode or some sort of macOS VM) from Apple for a lot of money.
That's only true for opinions that are not generally accepted.

I believe you have strong opinions about all sorts of things, e.g. you probably have a strong stance against slavery. Take this strong stance 300 years back, and you would be seen as an emotionally unbalanced person, by your standard.

I'm glad there are people with strong opinions. The world would be a much darker place if everyone was always on the fence.
That was what I ended up doing. Dev work in VM, and let OSX be egregriously good at talking to people. After I switched to a cloud machine for the Linux dev and started using mosh, I don't really notice that I am not working on a cloud machine. Though if I want to say, take a 3-month coding cruise or travel by train across the US while coding, that might be different.
No, the issue is of convenience: most devices out there are not USB-C yet. Carrying around and losing adapters makes life less convenient.
Why can't your wife decide what laptop she wants?
Man names Wi-Fi network “Daesh 21,” prosecuted under French anti-terror law
That's amazing. Apple captures 104% of the profits in the smartphone market, Samsung is next in line with... 0.9%.

Everyone else is selling phones at a loss in order to gain more market share.
Hunting and pest control are examples of non-violence? Is that your argument?
I just want to suggest a book that I think is relevant to the topic!

Superforecasting: The Art and Science of Prediction - Philip E. Tetlock, Dan Gardner
Hey I know, I want to be able to connect to a device's flyweb server and give it voice commands. Oh, can't do that, accessing the mic requires HTTPS.

Sorry, I didn't mean to be snarky, I worked on a project that has some surface similarities to this (local only server) but last year when Chrome (and Firefox?) banned a bunch of features unless youre HTTPS that pretty much killed the project.

Thats not to say there aren't uses without those features. Its just interesting to see Mozilla make this feature that serves pagesp that can.t use the full range of features,

Examples:

You want to make media server but you can't go full screen

You want to use phones as wiimotes but you can't get device orientation

You want to speak into the webpage but you can't access the mic

You want to scan barcodes into the webpage but you can't access the camera
I have, back in 2002 - 2010. That was when the fulltime job I signed on for issued me a MBP. Suspend and wake was terrible. I've had Linux geek swagger in there claiming they could fix it, and then running away when they realized, there was no fix.

That was why I was asking if the state of things for Linux has improved now that it is 2016. Thanks for sharing.
I think 65000 is with the housing stipend, but it is possible the website doesn't tell us everything.

https://medicine.ucsf.edu/education/residency/application/co...
Just because salesforce integration stinks, does not mean it is a lousy product.

The very basic premise is simple: it's a contact DB for sales teams, and helps manage relationships.
To be honest, no operating system is perfect for both POSIX and Windows development at the same time. But windows is very workable in a lot of situations, and when it's not, I run a VM. I don't believe that you will be able to get around that (without dual booting, Remoting, etc...)

There are just a lot of development tool sets that aren't based around working in windows. In that same respect though .net development is improving on *nix, it's clearly not something you want to do for production yet.
It's uncommon, there are diminishing returns to IQ, and it is more striking when high IQ people do poorly, but in general the more you have the better off you are.
I've never seen OSX sleep issues. I have seen Windows sleep issues, but less than for Linux. I'm hoping things are better now in 2016. But yeah, I got OSX because I know OSX can talk to everyone.
I find New Year's resolutions extremely useful, but only if I subsequently break them down into quarterly resolutions so I can evaluate them more often. A whole year is too long a time to check up on your goals.

I developed a pretty consistent habit of exercising in 2016, and I also started a project (https://goo.gl/Qmbbgh) that I think can feasibly generate enough recurring revenue to sustain my lifestyle.

In 2017 I'd like to continue exercising but add a little more cardio (it's been mostly weightlifting), get my project to at least $3-4k/mo in revenue, add to that a new habit of reading and learning new things at least one day a week.
What I've learned running a software startup for 1 year in Mexico
Show HN: 15 of the Best Newsletters to Subscribe To
I would rather die than live with Alzheimers.
The 32GB option should come "for free" with the next Intel CPU generation (it's already out, but perhaps too late to make it in these Macs). I doubt Apple gets off on withholding that, it's just a limitation of the Intel chips they're using (correct me if my misunderstanding is wrong).
You got yourself an advice already: two independent connections, the backup
one being cheap to maintain. You need to define what are you expecting if you
want any more meaningful advice.
I wouldn't be surprised if the same group of kids in the study end up being the trouble makers or socially awkward ones with the beginning of primary school. Learning as a whole, waiting others to catch up and other methods of "modern" education does negative wonders on gifted children.

I have a profoundly gifted child, and witnessed this cycle (normal in preschool, problem child in primary) not only on my child but on many other gifted children. And almost all the parents of gifted children around me tries to find a remedy to boredom in school. School system actually leaves gifted ones behind by forcing them to slow down. The teacher makes a lot of difference but it's not enough if the child is still in the same curriculum.

Families of normal children don't help either. They totally reject the idea that gifted children needs some special attention, thinking that these kids can do well on their own because of stereotypical image of giftedness in society.

Edit: Some terms.
Matrix isn't tied to HTTP - it's just the baseline protocol. The idea is for people to propose whatever custom efficient transports they like, maintaining HTTP as the lowest common denominator. For instance https://github.com/matrix-org/matrix-websockets-proxy is such a WebSocket proposal.
A good reason for running a database in a container is fault tolerance without setting up database replication.

Put your database in a container, let it store its data on a network storage system (like a distributed file system). The container scheduler makes sure it gets rescheduled when the node goes down.
Once the government took over the schools it was already too late. And that happened a long time ago. The government run public education system is always going to reinforce the party line.
Haven't things changed since 1996 though? Many countries today seem to be "selling themselves" to companies and capital, trying to attract investment.
Can someone here estimate how valuable modern video codecs are? Everybody needs them but development is super expensive and requires many bright minds.
Not the poster you were replying to, but Eclipse here. I'd definitely want a great Rust plugin for Eclipse if I were going to invest heavily in Rust.
We were in a similar situation and didn't even look at SF. We are currently in SEA which is fairly expensive, but there is a ton of high density housing being created and effort to develop far reaching & high throughput rail.
"What people learn from running a business won’t help them formulate economic policy. "

This is very, very false.

Yes - a nation is not a 'company' - but most people do work for companies, and arguably the most important metric in the nation is 'employment'. People who are employed are happier, fruitful, they pay taxes, they don't consume as many free government services etc..

It's definitely fair thing to say the country 'should not be run like a business' - but as we have seen with Obamacare - and the US' messed up overseas taxation scenarios - I think it does help to have a good understanding of the reality of business etc..

Also - one could argue that 'Economics' is not really even a science in the classical sense. Economists can't predict much, they never agree with one another even on the most fundamental issues.
It works quite well for me with the Conversations Jabber client with no discernible battery usage impact.

Did something change in recent Android versions?

Edit: Apparently Nougat's Doze is the issue. Conversations bug report, you can apparently put it on a whitelist:

https://github.com/siacs/Conversations/issues/1624
This is a great start!

Contributing can be a lot more than just PRs though:
- answering questions on stack overflow, chat (irc, gitter, slack)

- creating a minimal code repro, checking for duplicates, checking if a bug is fixed in a later release/master branch

- writing tutorials/usage scenarios, giving talks, just using the project and providing feedback

- helping with documentation + website

- translations if possible

- reviewing other PRs

- helping with the changelog, testing prereleases

- adding to the discussion on issues

Bigger projects can have a pretty hard time with maintenance: fixing bugs, juggling PRs, making releases, answering questions, etc.

(We're looking for help on https://github.com/babel/babel and trying to figure out how we can make the project more contributor friendly!)
E2E Crypto is very nearly operational. It's live (in beta) on the web on https://riot.im/app, and meanwhile the iOS & Android implementation PRs have (almost) landed on the develop branches of matrix-ios-sdk and matrix-android-sdk respectively. Our crypto audit is complete, and we're hoping to unveil it to the world in the next week or two.
I didn't start from a grandeur goal, but had an existing app on the appstore and was frustrated with every single aspect of the app development process. So I started implementing little by little just to make it easier, and ended up with an app that's actually a precursor to Jasonette.

I extracted Jasonette out from that app so others can use it too :)
Thanks for the reply; we'll see you as you get out of the lockin (feel free to ping me via email if you've got anything specific).

Why drop autoscaling though? Note that you can use Autoscaling Groups with Kubernetes on EC2: https://github.com/kubernetes/contrib/blob/master/cluster-au... and the team would happily take bug reports (either as GH Issues or just yelling at them on slack/IRC).

(Sadly http://kubernetes.io/docs/getting-started-guides/aws/ doesn't point to this...)
Hi Ethan,
it looks very interesting, one feedback and one question:
Feedback: you should try to slow down the gif demos, at least in my Chrome/laptop they are quite fast and the viewer can't really appreciate it completely

Question: I see that XCode is required, I don't have a Mac only an iPhone). Any possible way to use Jasonette without a Mac? I've seen some services like Mac in a cloud but I was more thinking about alternative methods.
For example, as the only setup required is to provide the URL, couldn't you create a generic Jasonette test/dev app where you can provide the url and do the testing/development directly only on the json side?
"The mercantilism vs. capitalism debate Adam Smith was entering into wasn't really about internal economic organization anyway, it was about international trade and economic competition. The old mercantilist idea was that economic competition was a zero sum game, and that above all else the government should try to maintain a favorable balance of trade (export more than you import). Adam Smith's basic argument was that both sides benefit from trade."

+1 to this, this is a better description of 'Mercantilism'.
The tech industry (please spare the arguments about whether Lyft is a tech company for a moment) getting into elections can be scary.

Facebook would help you register, and is now offering to find your polling places. Suppose they only offered this for people their data mining suggests are of a certain political persuasion, but not others.

Or suppose Lyft only operated this in cities that primarily matched their views (SF yes, but San Diego no, because it leans slightly more conservative because of the military population).

Should we expect big data to be neutral in how they make elections friendlier?
As per elsewhere on this thread, this isn't entirely fair. Matrix uses HTTP+JSON as its lowest common denominator, but the whole idea is for people to use WS+CBOR or capnproto or whatever whenever they need efficiency.

In terms of "syncing data everywhere" being 'terrible for realtime messaging'... i'm not sure that holds water ;)
Thanks for a practical counterbalance to the pointless snark here. Your comments about software improving efficiency reminded me of Google's datacenter optimizations. https://www.google.com/about/datacenters/efficiency/internal... Data driven improvement can make a big difference in many places.
Can anyone comment on how rkt compares to Docker regarding the issues from this article ? And how does rkt compare to Docker in production in your experience ?

I've been using Docker in production for a single server website and have had very few issues. I do like how easy it is to reproduce a working environnement with a "docker build" though.

That being said, I think that just using Ansible on a server is probably an easier and more reliable solution. Ansible is battle tested and allows to have reproducible environments too.
Apple's rumored transition to in-house ARM-based CPUs for their Macbooks couldn't come faster. For such a critical component, relying on a single third party to continue innovating on a timeline which aligns with where you want your products to be is not ideal.
Students (especially younger ones) often need more help seeing the light at the end of the learning tunnel. Something like this is a great start to teaching development and spurring them onto an actual language.

I usually don't start with CSS let alone SCSS for websites, basic HTML shows them instant results for what they typed and gives them more endurance for the longer learning curve (but more power) provided by CSS.
Go back to Canada.
Citizen Kane: "It's no trick to make a lot of money...if all you want to is make a lot of money."
I wonder what's the energy cost introduced by having 16 extra GB of RAM. Is that a space issue (more RAM = less space for batteries) or a power consumption?
turns out that implementing a new double ratchet implementation from scratch... and then adding in all the additional semantics required for Matrix's history-synced group chats etc... and then getting publicly audited... and getting it running on Web/iOS/Android... not to mention writing a formal spec for everything (both for the crypto, and the Matrix aspects of it), is a significant amount of time & work ;)
One of the big lies of capitalism is that competition is desirable.
Apparently you didn't read the article in full before criticizing it. The article says that the simulation was used to verify real world observations from a particle accelerator experiment in Japan.
Clustered Raspberry Pi's Using Akka Clustering
> the diagram becomes far easier than a text description

If the text is hyperlinked it can be every bit as easy to follow as a diagram. In fact, it can be easier if things are really complicated because it allows you to focus your attention more easily just on the parts that matter to you at any given time.
As has been noted upthread, Matrix does allow for alternate transports. So this may not be quite as big an issue.
Agreed that Matrix isn't a "modern alternative" to XMPP, but for different reasons. At its core, Matrix is a decentralised object database for conversation history (like NNTP). XMPP is a message passing protocol (like SMTP, but extensible).

Matrix is not "all pull-based" - that's just the baseline implementation. Folks have already implemented push-based transports for Matrix - e.g. COAP or WS.

edit: [Disclaimer: i work on Matrix]
Good to hear it!
Sure, and that's better, I agree, but XMPP also works the same way, but it's base protocol is much lower layer (a TCP connection instead of a higher layer protocol like HTTP). The point is that the default (which is always what most people will stick with), is too cumbersome and inefficient for realtime applications.
Only the mobile ones are out for ultraportables, desktop Kaby Lake that would go into a MackBook Pro expected in January 2017 plus another month for manufacturers to catch up.
New ActionHero.JS documentation site