skysight-inc/HackerNews huggingface dataset:
Hi! This is really fascinating stuff, can you elaborate any further on the custom PCB?

I've been investigating it, it's seems incredibly difficult to do?

For instance, I've been looking at a base Arduino + Bluetooth + accelerometer board, but in a custom shape, you seem to have something similar...
I assume every damn editor out there has a plugin that makes this a complete non issue. I spend most of my time in a terminal anyway and know my way around it, i prefer it by far to comments, also because of the metadata like dates and authors which rarely is found in comments.
I recently replaced Systemd with OpenRC on one of my Arch Linux systems. It was the first time for me, so I was being careful, but still it just took ~60 minutes and I ended up with a more sane system afterwards.

My pet peeve about Systemd is the abysmal error logging for services. Usually it will spit out 50-100 lines that offer zero useful information about why something failed. Adding insult to injury, I have noe easy way to add logging of services. If it were a bash script, I could inject "echo $foo > /tmp/service-debug.log" in the script, figure out the problem and fix it. Now I'm stuck with reporting it upstream and likely getting "Unable to reproduce, closing".
Good for her, I fully support her!
How does Bitcoin actually work?
Westworld reminds us of how like us robots could be
Google Cartographer
Down 18% at the open.
When the pace of change accelerates the value of experience drops an equivalent amount.
> ...asked if I was taught that in my non-Stanford education...

Anyone who said that to me would seriously risk a sock to the jaw from my non-Stanford educated fist, interview or no. That is an incredibly rude and condescending thing to say.

Thankfully that guy didn't interview me during my interview at Google, and my fist remained wrapped around my dry-erase marker instead.
"These are conservative estimates that consider only reductions in economic activity"

I am always dubious of such claims... For example if i order a widget every day and on Monday I cannot order a widget because the internet is down then I order 2 on Tuesday instead, so there is no real loss in economic activity.
The holy grail for politicians is growth in jobs that pay well but don't require college degrees or a ton of specialized training. Manufacturing provided those jobs for decades.

That's why they are obsessed with manufacturing. If someone could come up with another industry that does the same thing for unskilled workers, then politicians would back that just as hard.

The sad part is that manufacturing itself no longer pays unskilled workers well. People blame China but it's arguable that automation and machines have taken more jobs.

This is why free college for everyone in the U.S. is a good idea. Our economy is leveling up, and it's time to level up our education too.
Using Convolution Networks to Find Minerals
MongoDB | Palo Alto, CA | Onsite - Full-Time | Software Engineer (Performance Team)

This is a small but growing team (4 members) where you will have the chance to make a huge impact on how MongoDB grows. We are looking for a developer (2-3 years of exp) that is looking to take their career into the next level.

As part of the group that works on ensuring great performance for MongoDB, you will be building performance frameworks, creating and automating performance tools, and learning how our technology is deployed for various use cases. Performance Engineers at MongoDB work with a very talented group of engineers to measure, analyze and improve the performance of MongoDB’s disruptive database technology.

Any interest? Reach out directly to me at JC@mongodb.com and/or apply here: http://grnh.se/jqelm2
As an interesting sidenote - did you know that there were entire groups of women who were against giving women voting rights, in both UK and US?

https://en.wikipedia.org/wiki/Anti-suffragism
Westerners like to think that, but it's not true in my experience. Even in the multicultural U.S., think of the reception of every immigrant group: All were hated. Germans, Italians, Africans (EDIT: not that I'm suggesting they were ordinary, willing immigrants), Catholics, now Latinos ... Think of the attitude toward hajibs and Muslims in the U.S. and Europe - hardly accepting!

Anyway, we're making very broad, baseless statements about the opinions of hundreds of millions of people. People in my own family don't even agree on these issues.
And the one supposed to maintain ConsoleKit, who abandoned it, was... a certain Lennart Poettering.
Did you capture memory core dumps from those random freezes to reliably pinpoint systemd as the source of the issue, and not the more likely culprit of hardware?
For all this outrage why doesn't another country step up and host this tournament?
# NOTE(coderguy): Calling this method before calling
# Init will result in a runtime error.

I use comments to make people aware of invariants the code expects that aren't necessarily obvious from reading that code.
Look again.

Stock market opens at 9:30am.
Development and Deployment of Django on Fedora
Tech billionaires convinced we live in the Matrix
Take my opinion with a pinch of salt as my only experience is my own high school education in the UK. My gripe is that you dont learn life skills. You dont learn things like the difference between a debit and a credit card, how a mortgage works, how to pay bills, learning to cook for yourself, how to do extremely basic car/home maintenance (changing bulbs, refitting plugs, etc), how to budget and save money, what happens if a family member dies, signing contracts and what your obligations are (eg, a mobile phone contract, a rental lease), and on and on.

The age old example is Pythagoras theorem, i got taught that at school and have never used it. Anyway, enough of my rant, i'd just like to see young people more prepared for the world, the opportunity is there and we're squandering it.
>do what Socrates did: sitting with his students, asking questions and, through dialogue, teaching them what matters most

Nonsensical comparison. Socrates' pupils came to him. They weren't herded into daycare and expected to act like calm but enthusiastic scholars of random subjects.

Furthermore, nobody knows which knowledge matters most to other people. It's a conceit to pretend otherwise. I suspect Socrates would have been the first to admit this.
Someone show Ruby some love:)

Learn Ruby.

Its a beautiful language well worth the effort and it has a HUGE ecosystem behind it. You'll never lack for resources. It is powerful and I found it doable to learn it all on my own.

It will aid in the transition to making dynamic websites because it is used in Rails.

In the early part of my learning I found that the break in compatibility between python 2 and 3 was irritating and confusing to me. Some of the good books were on python 2 and I had been informed the world was moving on to 3. Ruby has major versions (1.9 vs 2) but no break.(I started out by trying to learn python but switched midway to ruby)

The only caveat is if you want to do math heavy stuff or machine learning - python excels at that.

Python is frequently recommended by people with a CS / computational background. I did not have that.

Some people do not approve and I understand. But this was my experience. YMMV.
Boy, nobody tell this person about :(){ :|: & };: !
Based on their balance sheet, it seems they have net assets (~$6.6 billion in assets - $2 billion in liabilities) of $4.556 billion. Am I doing the Math wrong?
Also interesting to note, is that headscarf practices in Iran predate Islam by around a thousand years and that had an influence into Islam.

Wikipedia has a great overview over the headscarf in Iran: https://en.wikipedia.org/wiki/Hijab_by_country#Iran
The point made in the article is based on an example that violates good Separation of Concerns. Also focusing on why induces developers to justify themselves the reasons to write the code and assume any reader knows all the assumptions of the environment. This trend will strongly disencourage code exploration and keeps newcomers in the outer side of the wall. A good alternative would be to have a combination of 1. good separation of concerns 2. good method/function name and 3 comment with focus on what. If you do this consistently your app would be really friendly to newcomers and even to your future self because when taking a look to it 2 years later, your code will tell you the name of an action followed by a human description of what it does without forcing you to read the rest of the code and reverse engineer it to answer what it should be a simple question. Also you scan code through the app faster if you need to read less to understand what's all about. Most people don't see this because they are too immersed in the set of assumptions that a given project has, but time proves they would be rather focusing on what. There is a secondary benefit on doing this, it will slowly make you write better method and argument names, so it will me more often than not that your code will need comments at all.
If you would work in the company i worked (e-gov in switzerland) comments are strongly discouraged (except as said if you do something stupid and you expect the reviewer to notice and give some inputs).

My rule is like: Make the code say what it does, if you have to explain why it does what it does do it in the commit message.
I don't think so, have we? Windows applications are very small because all the UI libraries are in the OS itself, where they should be.
Recommending Movies with Deep Learning
>> Comments, by their nature, are static.

Says who? Comments, like unit tests, and READMEs, need just as much attention as raw app code. As others have said here, explaining what the code is doing isn't the end goal of comments, because you can read the code for that.

I tend to use comments mainly for handoff purposes. One of my peers needs to know what I was thinking, goals, anomalies, etc., rather than how to parse syntax, which they can do already. Here's a random example:

/*
* checkReady() starts the winston logger, which is set to catch unhandled exceptions. We don't want
* to do that until both the web and SMTP listeners have started, so that they can throw errors and
* exit the app. This is important because running on well-known ports without cap_net_bind_service
* shouldn't fail silently.
*/
function checkReady() {
if (++serverCount == 2) startLogger();
}

...And whether or not I've made a bad decision here regarding startup logic is moot. :)
Well you can use it on Android as well, but it is a bit tricky to do on non rooted devices. I did a proof of concept a while ago ( http://www.ferienvillaflorida.de/labs//3d/android/stereovisi... ) but never found the time/motivation to develop it further.

But I guess most people who think about using it for a small robot will probably connect it to a Raspberry Pi anyway
Yeah, I'm not a Googler but the only one I know had no formal CS education and wore a full suit to his interview. Just study algorithms like mad and go for it if it's what you want. Technical merit will get you in.
Abandoned Mobile C&C Servers Present Opportunity to Attackers
I don't remember a real life situation when I was unhappy because the code had so many comments. Several times I've been unhappy because the developer obviously had spend a lot of time thinking something, but did not leave any clues about his thought process in form of comments. Especially if the code is dense, it is not always easy to grasp the meaning.

Sometimes the lack of comments leaves you to wonder if you are looking at a bug or a deliberate design decision. When working on projects that have history, one sad thing is that usually everything else gets lost over time except code and comments. Design docs, issue trackers, emails, commit logs - all gone when companies change, code is moved around etc.

My general instruction would be that if you are thinking if you should write a comment, then write it. Writing a comment takes no time at all and it is easy to remove later. Coming up with the same insight that would be captured by one line comment may take hours when somebody else is looking the code 12 months later.
Optimizing Your Web Page for Speed
I have read a couple of similar stories. While there may be a legit case for funding this work (I don't know the details) one should be aware of one thing: There are a lot of promising preclinical results, and the vast majority never turns into any medical treatment. I think the article completely fails to reflect that and gives the impression that turning this research into a treatment is just a matter of proper funding.

As far as I understand there currently only exist a few animal lab studies that indicate this treatment works. Especially in these preclinical settings many studies turn out to be not reproducible. But even if they are, there's a very long way to a treatment in humans.
You could go old school and start with Pascal. It's a great learning experience. And isolated from the real world to some extent, which at the start is a good idea (there isn't 300 frameworks staring back at you).
Google pays pretty well. You have to spend so much time in school getting a degree and if you spend some extra time getting this job well as incremental cost it isn't too bad.
Being French, all I saw was a spelling error ;-)
Given we are a small team and know each others typical structures. It also helps that i only did this in a MVC environment, so structure was given mostly.

I dont want to link to company applications honestly, and my personal ones are way to messy in terms of inline documentation anyway.
As a westerner you generally can do lots of things locals are not allowed to do by social rules. This is true in many places around the world.
RStudio is a platform, and a company, focused exclusively on R programming – it dates back to 2009. That's several years before the launch of Project Jupyter, though IPython has been in development since 2001.

I'd love to see RStudio branch out and provide feature-for-feature Python functionality (at least), but I don't think that's likely to happen.
Check out the cppcon 2016 presentation by Jason Turner and watch how eager the compiler optimizes away code when const is enabled on values. Cool presentation too, and uses Godbolt's tool
https://www.youtube.com/watch?v=zBkNBP00wJE
GH link: https://github.com/appbaseio/mirage

In case you would rather run this locally than grant access to your elasticsearch.
> If Google and AWS shut down

I would be more concerned about what happens if your account on Google or AWS is shut down - much more likely, and less notice if it were to occur.
Computer Science?
The bigger issue is that NoSQL has come and gone.
Interestingly, I've avoided using Facebook as much as possible. I keep the profile alive because my siblings expect me to have one and tag me in stupid things I don't allow to actually show up on my wall. I actually log in maybe once every six months because there's nothing to see there, just re-shares and tired memes. Twitter on the other hand I use pretty much daily.
It's very very not user-unfriendly. I finished the tutorial in 20 minutes and it was very intuitive and exciting!
Bayes’ Theorem – What is it and what is it good for? (2015)
How to write a great mobile RFP (Request for Proposal)?
Apple's first ever iOS app development center opens in Italy today
Really? That's very surprising to me. Doesn't the OS include everything required to display text already?
I'm sorry but thats not good enough.

On Android I can make a new email client, and overnight it can become the default email client for everyone that installs it.

On iOS I would need to convince most large apps to allow me as an option before it would work.

Not being able to do this is basically the last thing keeping me off of iOS at this point.
Followio – Track your followers
In case anyone was wondering, don't use this to do your encryption. It's an (interesting) intellectual exercise, nothing more.
Hey guys,

me and Denis have been working on this little side project of ours for quite some time now. At first, we didn't have any aspirations for it, but since we got little bit of traction and the user base was growing slowly but steadily, we've decided to give it a redesign and made it an app worthy of the year 2016.

+ So far it tracks your followers count across various social networks (Twitter, Google, Dribbble, Instagram, Youtube, Vimeo and Soundcloud. Other networks are bit though to work with).

+ Daily widget with actual followers count

+ 30 days history

In near future we will release version working with backend API. That would bring new, stunning features:

- info who started/stopped following you

- which post was the most influencing

- which tag was the most successful

- what day/night time is the best for posting

And many more
I think this is one of those things that is more about wisdom than anything else. You get a sense of what to comment over time and experience.

Typically following language best-practices is ideal (pydoc, godoc, Javadoc, etc) so you can get easily-generated documentation for free. Following the standards will make any custom APIs consistent with the standard library API docs.

The most important thing though is to ask for peer review on the code. When you are writing code (just like regular language) it will make sense to you regardless of comments or proper variable names. Have someone else read it and tell you what the confusing bits are. If there is no one to do that because you're a lone wolf, then step away from the work for a couple days and play golf or something. Then come back, read the code, and ask if it could be more clear. Then either change variable names or add comments for clarification.
That depends on the application (and website) in which you're tapping the address. In some cases that will be Google Maps, if installed, in others you'll be presented with open-with options, in others still it will be Apple Maps.
> western culture is the only one that tend to respect foreign customs

Not true at all.
Thats a bit much to suspect based on a single sentence don't you think?

I am sure there are environments where this would be super messy, but if you work in small teams in a given structure always following best practice and basic refactoring. 99.9% of the code gets pretty obvious in its use.
Is there really a reason to have LinkedIn on your phone unless you're one of those people who uses it as his fb/twitter for business? I forgot I even had it so it's gone now.
Nobody wants to be drafted, it is a waste of time. Women also voted against Equal Rights Amendment in 1970ties.
> There are various results showing that the difference in size between an informal proof (even when correct, which, as experience shows often isn't[1]) and a formal one may be exponential.

What's the definition of an informal proof, and in what sense can it be exponentially smaller than a formal proof? Even if you can answer this, it sounds as if you are ignoring all the progress we have made in programming language design. The whole reason we have modern programming languages is to bridge the gap between the "informal proof" you keep in your head and an actual formal correctness proof.

For example, C programs typically have a lot of bugs because there is such a large disconnect between the model of the program in your head (which also lacks most of the error states) and the actual state space of the program. Almost every abstraction in C is potentially leaky, and this just doesn't allow you to reason succinctly about your program. This is not even specific to C. The "simple" imperative programming models that are still used almost everywhere have exactly the same problem.

The point of modern programming languages isn't that it's essentially the same thing, but with a scalable static analysis tacked on (types). The point is that we try to impose a discipline on programs which allows for modular correctness proofs. If you have a module implementing a certain data structure in ML, you can reason by parametricity about its correctness and once you have established whatever properties you want, nothing will every break them again. Essentially, you have just taken part of the state space and shrunk it down to a single bit.

And that this is possible is not at all surprising! Everything you write, here or in your article, is also applicable to ordinary mathematics. So if theorem proving is fundamentally difficult, how do we make progress in mathematics? By finding new abstractions and by composing abstractions.

We are making real progress in verification. Nowadays, there are scalable proof techniques for concurrent programs, even in the presence of weak memory models (GPS, iCAP, Iris, ...). There are compositional proof methods for program equivalence which scale to real programming languages (step-indexed logical relations, ...). There are language primitives for safe, efficient and easy to reason about concurrent and distributed programming (e.g., join calculus). And many, many more things which were previously thought of as stupendously complicated.
Yes, the problem that I've found is that I've taken over legacy applications (several times), where the previous developer wrote comments/instructions for how to work with a method. And I wasted countless hours trying to follow their instructions, just for it to turn out that they had changed the method and never updated the comments. So the time wasting component can work both ways in my experience.

If that were an isolated incident I would blame it on the individual developer, however it's been a constant trend in the apps I've taken over through the years.
Your point about different social norms and rules is well taken. However, social norms are one thing and state enforced law is a different ball game.

A month ago, I went to Europe and my date had to wrap a scarf around her waist to visit a church (she was wearing shorts). That is totally cool. It's private property and they can set the rules as they please. But in public, women are free to wear what they want.

On a side note: I am from India and I don't know where you got this idea that women has to cover themselves from neck to wrists to ankles (not even the villages, see: https://www.google.com/search?q=indian+village+women&source=...). Yes, certain Muslim population do wear hijab/niqab.
> vim inside of mintty (that comes with downloading git),

Is git for windows using msys2 yet? If not, do yourself a favor and start using msys2 instead. It has packages for git and vim, and it uses pacman for pacage management. I've had a great experience using it.
If it gets really bad, just mock them openly. Sure, you might not achieve your objective, but you'll have fun not getting there.
Compare Robert Hanks, "On Putting Things Off"

http://www.lrb.co.uk/v37/n17/robert-hanks/on-putting-things-...
Google Changes Its Tune When It Comes to Tracking Students
Why you should do a road mapping session before creating your iPhone app
IIRC both Google and Facebook have to work together for that to happen.
>> Iranian leadership is ideologically driven.

What a weird coincidence that all the dictators that oppress their population and steal the oil money have lots of ideology... and makes lots of external enemies to blame all problems on.

And yeah, the Iranian upper classes seem even as West oriented as most any population in Western Europe.
Note how everyone likes to tell women what they can wear.

Isn't the problem that some people like to tell women what they can't wear?
Learn Python. It is a general purpose language. Since you are specifically looking to start with games or for little pet projects, I would recommend:

https://inventwithpython.com/
Hmm. I kind of want to go for Ruby...but how would it do if I wanted to make simple games? Nothing too fancy but simple pixel games or clicker types.
I don't know. I just know If I do, wsgi doesn't start.