skysight-inc/HackerNews huggingface dataset:
[A Study] combined smartphone-location data from more than 10 million Americans with precinct-level election results to quantify the impact of partisanship and political advertising on Thanksgiving dinners in 2016, on the heels of the presidential election. Among their findings: Democrats shortened their visits to Republican households by between 20 and 40 minutes; Republicans cut their time with Democratic hosts by 50 to 70 min; and mismatched families from areas with high political ad exposure spent even less time together.

I'm not sure what's more scary, that such intrusive data is so easily available or that extreme politics is dividing families so deeply.

(This was posted 3 days ago; but had no commentary, https://news.ycombinator.com/item?id=17201739)
Ha. This is hilarious. Most high-profile / successful iOS apps (other than games) are native. And judging from what I’m seeing in the ecosystem, I’d guess that most teams out there have switched to Swift or will do so soon. There’s very little enthusiasm or innovation in the Objective-C ecosystem at this point.

The lack of a major UI update in the last few years is a feature, not a bug. It doesn’t seem to have held back either iOS device sales or the Swift ecosystem.
I use materialistic but have a bookmark to my comments page to regularly check if I receive replies, since there's no notification system and the profile view in materialistic is shit.
One can put together a set of (Fast)CGI scripts in almost any language, given environment variables and some IPC is supported (IDK what IPC FastCGI uses exactly, bug CGI is envvars). Same goes with exposing a custom socket server. I guess people associate languages with frameworks and that's why they think these things are not possible in them. Or they like the <?php ?> style intermingling of 4 programming languages, which is a pathetic bad practice that turns the program into a pseudo-quine immediately. Just read the source of a WordPress plugin (keep a nylon bag handy because it's gonna give you nausea, to say the least).
I think it's a great idea!
Taking a cursory glance you can find a lot of articles on — exposed MySQL / Postgres servers being infected when they run with weak / default passwords. Exposing your db servers beyond the private network is the problem, kudos for trying to support people, but trying to secure open dbs on the net will always be a cat & mouse game.
im my youth in barcelona it was quite common to throw a bucket of cold water towards the noisy drunks. This usually solved the problem quite well (at least, when i was among the noisemakers...)
Amazon profits off of it, but so do the shipping companies and payment processors that helped sell the product and increase its sales. I don't think a platform that provides a service should be responsible for those that use the service, unless they explicitly claim responsiblity by saying they guarantee quality of their merchants or something. If amazon is responsible for the damage caused by their products, than so are places like Craigslist and eBay.
Yup my PC was... what's the polite phrasing? Let's say "not envied by my peers". A hunk o' junk, in other words.
Perhaps, but you have no idea whether anything of the sort happened with this guy at his particular job. You're just taking this one sentence and using it to recite a generic indictment of US labour practices which isn't really related to anything in the article.
I see your point and would be more sympathetic to it if we had proper sex education in k-12 and made birth control and abortions easier to obtain for poor people. Even so, clearly this lady made some poor choices.
I can definitely show you some great examples though of photography that is all about having the newest and most expensive gear.
I get that learning another new language sucks and JavaScript would've been nice instead but the Dart language choice actually enables some very nice features in terms of developer experience. I don't remember the details off the top of my head, but I believe stateful reload is one example of what possible because of Dart.
I've only been in Madrid and Seville and Granada (from the states), but that sentence looks like Portuguese to me. Does Barcelona speak a different dialect of Spanish or did you just type out a Portuguese sentence?
I think such issues can be avoided to an extent by a wearable device which can track your alcohol content or track if you are conscious. If at any point it detects you are not in control of you sense, maybe raise alarm, send alerts to friends/family etc. Maybe it will help in avoiding such incidents under the influence of alcohol or other drugs.

Netflix created something for fun to detect if you are awake or not: http://makeit.netflix.com/projects/socks . I wish someone creates something similar to save people from horrible situations.
No, Battle.net is not ad supported; I never claimed it did.

The people who use the APIs (such as MMOC) do run ads on their website.
No no, don’t believe Jordan Peterson (main cite in this article). He’s a media troll who takes controversial views on purpose and is at the fringes of psychology. https://www.google.com/amp/s/www.washingtonpost.com/amphtml/...

One of Peterson’s main arguments is about college campuses and politics. But 85% of HARD scientists - who have nothing to do with politics - are liberals (2015 AAAS poll). That argues that smart people like those at universities see through right wing propaganda - they’ve read Orwell and Arendt and Altemeyer and John Dean and “Manufacturing Consent” and understand how propaganda works.

Peterson is toxic and definitely not an intellectual model.
Apex Up, Express.js, and DynamoDB for the API, and then React for the front-end
I'm sold for anything that has a "mark all read and hide them" option like the HNMarkAllRead chrome extention (which I actually use on FF, even on mobile).
Eh. People have been saying this about cross-platform frameworks for what, 25 years?

“Build once, compile everywhere!”

They all come and go, but native seems to always win in the end. It seems like the hierarchy over the last couple decades in terms of “market share” for successful projects is: web > native app > hybrid app. I really doubt any framework is going to change that, or become all that dominant within what is basically a small niche.
I read quite a lot of ancient philosophy and grappled with basically this exact thought. It was a bit painful to feel as though we've intellectually slid backwards. There is a theory that calls that era the Axial Age, which is worth looking up. That era contained some of the greatest thinkers in history: Anaxagoras, Aristotle, Buddha, Confucius etc.

The thing to keep in mind is that there is incredible selection bias at work here. The vast majority of people living then were illiterate and living brutal lives. They didn't know or care about philosophy, much like the majority of people now. Yes, ancient Athens was special in that it had a special focus on thought, but I would still bet that the modern era has a greater percentage of people who are interested in great thought than ever before, and we've had our own thinkers at great heights.
The issues that are actively disputed are not esoteric matters - a great many non-specialists can, and do, understand the issues that are most often challenged in evolution, climatology and medicine, so long as one does not assume a vast yet undetectable conspiracy to falsify data. You are right in saying that there are difficult problems here, but it is probably beyond the capabilities of either science or philosophy to solve them. You can lead a man to reason, but you can't make him think.
I'll take it as a yes.
Sqlite's limitations have nothing to do with PHP. But you're correct that it's not intended for use as a multi user database. The limitation is in concurrent writes. If your app is read-oriented, then there is not a problem.

However, I'd personally always use postgres in this case, myself.
The Application of Brain Neural Computational Model in English Learning
From a self interest standpoint, if "credit" is how people are rewarded, then getting credit is the work. Also, if the mechanism for assigning credit ensures that only sqrt(n) are rewarded, then it's self-fulfilling.
The first paragraph is plain wrong. JS is the JS of frontend because there are no replacements. Use a language compiled to it, but still you'll have to know and use JS. PHP on the other hand is a caricature of a language that you can avoid.

The second paragraph is correct, but it's just equally correct for Python, Ruby, Perl, Lisp, Shell languages etc., as they all support multiline strings and string interpolation too. The only difference is that you'll have to wrap strings in delimiting markers, instead of code with <? ?>.
Most women with a common type of early-stage breast cancer can skip chemo
It's been about ten years since I made that code change, so I'm a bit fuzzy on the details, but in my mind, I really don't see how "pop rax; jmp rax" is going to be faster than "ret". I really feel like it was important to get the return address into rax as soon as possible.

And that, plus the ability to save/restore the xmm registers for the Win64 ABI (there is no push/pop xmm#), is why I used mov/movaps[] instead. I do recall it also testing faster on Athlons as well, but that was so long ago as to be irrelevant now, most likely.

Nostalgic! :3

In any case, I'd recommend benchmarking both under an application that tries to do as many cothread switches as possible per second. Theory's one thing, seeing the results in practice is always another.
It looks really great! Do you have plans to add commenting, or upvoting? Also, I just checked out your website from the about page, you should put up a simple "coming soon" page or something
Just because something correlates with parental income doesn't mean that it isn't heritable. Take an example that you agree with. Being white (or Asian) correlates with parental income. Those traits are also rather heritable.
Thank you for your comment. Stamps are positioned manually because there is no electronic voting system in Turkey. The source code is open and the app is hosted on the github. So there is no persistence.

1. The prosecutor's and Judges council consists of members assigned by President. Currently, in Turkey, there is rule of law, due to this. For the same crime or allegation, two people get totally different treatment based on their connection to the ruling party. This was the first one.

2. The illegality of voting ballots is another issue. Facsimile ballots were not counted as legal votes in the previous election. (Referendum) They were counted as invalid votes. But during the referendum day of April 16, 2017, when votes were counted, more pro-government yes votes without local ballot council started to appear from everywhere. (Normally local ballot box council members stamp all votes in their box with their official stamp.)

It turns out that many boxes were filled or replaced with votes that did not have local ballot box council. Also, governing party officials asked for votes with local ballot box council stamp from the people to prove that they voted for governing party. (To give them work, money, help etc.) So they gave prestamped facsimile votes to their voters in advance. During the counting process, opposition members objected to this situation but YSK, highest council of election approved a scandal decision to accept facsimile votes as legal.

So, in Turkey, there is no watermark or any other thing to prevent government officials to do Nazi party tactics to be elected.
> Aristotle is still the most insightful and relevant philosopher after all these years. From physics, to psychology, to biology, to politics, to ethics, to metaphysics, to logic. No single man has made more contributions to him.

I totally agree. Aristotle is still relevant today. But regarding happiness, as presented in this article, all these philosophers, Aristotle included, offer behavioral recipies that the SELF must enforce on his body in order to be happy. Usually by enforcing such things as frugality and fasting, instead of letting the body do what it wants. So let the body decide what is best for itself.

But what I want to say is that, happiness is, to a great extent, a feeling resulting from, or caused by, some chemicals. Like melatonin and seratonin. So all we have to do is to create the right conditions for the body to secrete the optimum amount of happiness chemicals. So it seems happiness is not about forcing body to behave a certain way.
Isn't the "PHP works on cheap hosting" schtick a bit dated now you can get a dual-cpu VPS with 8GB RAM at hetzner.com for 8.90 Euros per month? Commodity hosting now makes JVM apps feasible at the lowest price points.
IIRC "ERicsson LANGuage" because it was created for networking stuff at Ericsson.

EDIT: Yep, we're actually both right! From the Wikipedia page:

> The name "Erlang", attributed to Bjarne Däcker, has been presumed by those working on the telephony switches (for whom the language was designed) to be a reference to Danish mathematician and engineer Agner Krarup Erlang as well as a syllabic abbreviation of "Ericsson Language".
Have you talked to any hard scientists?

Reading liberal arts is right up there with reading bondage magazine monthly in terms of popularity and taboo.

The definition of liberal is much closer to libertarian. I've never heard people make a defense of pedophilia in public outside of a lab at 8pm when all the normal people have left.
You see that a lot in companies. Some people understand that getting their name on achievements is what really gets rewarded so they act accordingly.
Philosopher Peter Singer on AI, Transhumanism and Ethics
I read 40 books from the beginning of the year. "12 Rules of Life" is the only book I could not finish. I stopped at about 70-80% (actually I just left it on 1.25x on Audible while doing other things but without my full attention). He just rambles
about Gepetto story and Bible stories that after a while it loses al sense, yeah we get it what you want to tell, but if you make parallels with Bible stories for a hundredth time it loses its appeal and point. His book would be fine if it cut almost all of those Bible references out, left some, and included other references and stories also to which people could more relate to.
Artistic style transfer as a way to learn about convolutional neural networks: https://github.com/hnarayanan/artistic-style-transfer
I use Firefox for HN (and all my other web content consumption) on both mobile and desktop. In that way I still get the benefit of all my synced browser features (e.g. add-ons) and avoid the edge cases where a page isn't textual and resorts to the browser anyway. The weakness of the experience - and where apps/add-ons have a niche - is reply notifications, comment tracking, etc. I would be more interested in a web-app type HN wrapper than anything native. That's not to disparage any native app designers, though! I appreciate that many people prefer that experience.
My point is that a 'fat severance cheque' does not right a fundamental wrong, erosion of worker rights.
Openinternals Ep 2 – Zulip Internals
I also use Django and Postgres. For deployment (keeping things in sync) I use Git :)

Set up your bare repository at say /root/myapp in your cloud server then clone this to your local dev area. Then clone it again to your cloud server django directories say /web/myapp . Finally git ignore you settings.py file so it can be different in each server.

This can actually scale up to reasonably sized prod/test/dev/local_dev cloud server setup by using appropriate branches though I know the traditionalists would be squirming in their seats.
> Images from an illustrated version of a 13th-century Arabic treatise by Zakariya al-Qazwini titled ‘Ajā’ib al-makhlūqāt wa-gharā’ib al-mawjūdāt (Marvels of Things Created and Miraculous Aspects of Things Existing).

The drawings resemble the fantastical creatures of the Voynich Manuscript e.g. woman with eight legs, turtle with a human head etc.
>sidewalk coin

Rich man would pick it up, that's $720/hour if it takes 5 seconds. It's things like that that make you rich. Poor guy would probably pick it up too unless he's paranoid people will think he's poor.

>bus

Again looks like huge earnings per hour. He'll take the bus in this example unless he has something very lucrative that he's missing out on, but he's drunk so that's very unlikely.

>restaurant

Depends on the cost of the different places. It might not be worth the time to walk to the other place if the difference isn't great. If he's on a weekday lunchbreak, his time might be better spent elsewhere. Same thing for the poor guy.
These are two separate things: Erlang and Elixir are one, Phoenix is another.

In general, you don't need to know any Erlang to start working with Elixir. In time, as you advance your knowledge and start looking at more advanced features, you'll need the ability to read Erlang at some point, but that's actually pretty trivial: Erlang syntax is one of the simplest/smallest out there. It's much better in this case than it's with Clojure and Java.

The functional nature of Elixir may be a little weird, but, if you're worried about this, it's not taken to the extreme like in Haskell. At the end of the day, you do have a process dictionary (don't use it), and normal IO. It's true for both Erlang and Elixir, but Elixir adds some improvements on top of that: in Elixir, you can re-bind a variable (Erlang has single assignment only), you get the familiar syntax for accessing elements of collections (`coll[:keyname]`), the `if` is "fixed" to be normal if-then-else (the usual Erlang construct is dubbed `cond` in Elixir) and so on. It's FP but in the spirit of OCaml rather than Haskell: pragmatic and striving to be convenient without pulling the users' minds through a monad.

Now, Phoenix is another thing altogether. As far as frameworks go, Phoenix is very well designed, with a couple of orthogonal concepts being composed into a highly functional whole. To be honest, I didn't use Phoenix yet, personally - I did some code review for colleagues, but my own projects are written with Plug for now. Plug is a library which is comparable to WSGI spec in Python plus some additional utils, like in Werkzeug. Phoenix is built on top of Plug, so I figured learning it first is not a bad idea.

Turns out you can get by with Plug (and eventually some "plugs" packages from other people) for quite a while; the experience is like with Flask or Sinatra. You have to know what you want, exactly, but if you do, it's trivial to build a basic framework out of the available plugs. It's actually a strong selling point of the whole tech: as I mentioned, Plug is as much a library as a specification (with the same motivation as WSGI) and it's great for interoperability of components. The whole stack is composable and extensible at the same time, which is not that easy to pull off as far as framework designs go.

Documentation is decent, although its searchability is less so, I had a good time with devdocs.io for the core language and with hexdocs for plugs. It's definitely grokkable, and I'd say worth a try.
The Computer History Museum interviewed Dabney in 2012:

http://archive.computerhistory.org/resources/access/text/201...

(29 page PDF.)
There are existing options for this:
https://pub.dartlang.org/packages/flutter_webview_plugin
Well, sure. The fact it was created for this job, by some really intelligent people, who understood the domain space very well, and has proven itself over the past 30 years, is what implies it's the right tool.

The parent's point was simply that it's not that surprising that it's effective in this space, when it was targeting that space to begin with.
My mother grew up on a farm with eight siblings. For Christmas they would get a single apple in their stocking from Santa! My mother said everyone would be very excited. There was an an apple orchard on the farm.
It is if those forced behaviors over time in effect create more happy chemical compared to if you did not enforce these behaviors.
What makes people distrust science? Surprisingly, not politics
“Saul whom you all know” https://youtu.be/8V67pNDRrDM

Happens at 9:55
Earth's Wonders Like You've Never Seen Them Before
I use RN, interested in these architectural improvements being done. Any link to an issue or description of these, or a short explanation?
After reading most of the comments im really suprised to see folks still using vm servers and managing the stack themselves. Seems like high enough overhead.

I know cost is on peoples minds so why not serverless?
Haven't seen anyone mention aws lambda or gcp cloud functions. You get a massive free tier , like 2 million requests and free db...

Anyone doing this?
Unicode fundamentals and how to use them in Ruby
From the article:

> In other words, in today’s market, a branded, custom UI is king.

Does a custom UI per app not make it more difficult for people to learn each new app? Didn't the platform developers write their human interface guidelines for a reason? Or was that level of consistency only necessary in the early days of Mac and Windows, when the temptation was to port a DOS app straight over rather than redesigning it as a GUI?
Why did your parents seek to create a household which avoided sugary snacks? The fact is, that itself could be representative of the genetic predisposition towards self-control.
8 Keys to Recharging Passion and Purpose in Business
Which is the right way of divying up workloads with something like that. You use the high level language for 'command and control' and write specific bits in C or - in their case - maybe even have chips for specific tasks that get controlled by something higher up.
Sorry, I wouldn't mind a an app, but not with those sort of permissions.
I'm curious, could they use their sensors and other stuff to build some active noise cancellation system for local inhabitants instead?
Engineering for data scientists – Data 515A
Thanks for the videos!
I took intermediate and advanced physiology, so this is more of a refresher. Is there videos for the more advanced courses available too?
Thanks but there's no Costco where I live.
That's kinda retarded. That place looks like touristy destination, you don't want to lose touristy dollars especially if you are Barcelona.
The point about low calories is veggies are inherently an extra and not a staple. You need to add veggies to your diet and can't simply replace a plate of rice and beans with them.

The preference for low cost per calorie foods makes it easy to over eat when your body is missing some nutrient. Which can create offial feedback loops. But, the simple "how do I eat for 20$ this week" is IMO a factor at the individual and cultural level that should not be ignored.
Yes. I get woken up by Heathrow air traffic at 4:30am. Bad. So bad.
Because human behavior boils down to Plato vs Aristotle. If you don't read both, then there is a segment of the population who's actions and opinions are going to be a complete mystery to you.
I don’t think it needs to be stated, but the vast majority of Greeks were not Aristotle. If his way of thinking were common, he would have been considered unremarkable.

Take some time and read The Clouds and Plato’s apologia, and think about what happened to Socrates, and think about what that says about how the average person thought about philosophy.
I don't know which planet you're living on but all you need to do is search Indeed.com for title:php and you'll find PHP is up there with Java, C# and Javascript in terms of the number of jobs. In some countries Java, JS and PHP are the only languages used in any significant numbers. Likewise in more technologically advanced countries once you get away from the tech hubs. I'm not a fan of PHP and I wish it was true but dead it certainly ain't.