skysight-inc/HackerNews huggingface dataset:
> One can make very interesting conclusions based on purely this.

With a large grain of salt

1. generally, the thing seems to mix words from all context, for instance #6 in Ruby is "should", click on the word and it's mostly comments, same for Rust's #4 "the".

2. "if __name__ == '__main__'" (seriously, TFA counts >600k of those)

3. also unclear what codebases are parsed, lots of django-isms in the conditional examples (if context is None, if request.method == 'POST', if form.is_valid)

See also: Go, where most every function call requires an `if`

> - Ruby makes it possible to write in a much more functional style than Python. OR Ruby developers like to develop more in a functional style than Python developers.

Don't confuse writing more functions/methods and writing in a more functional style, they're very different things.
The biggest advantage for the students would be if you would not split up math into algebra, calculus, etc. The equation

x^3 = 27 (calculating the volume of a cube)

is an application of the equation of

x^y = z (potentiate a number)

which is an application of the equation

f(x) = y (apply a function)

The solution is simply

x = f-inverse(y)

if f is invertible.

As this simple example shows math on high school level can not splitted up into geometry, algebra, calculus, etc. Understanding one of these areas helps to understand the others and vice versa. If you want to master one of them you have to master all of them at the same time, with the same speed, parallel.
Yes, I usually call it "s" to reduce it's impact but I'm still not happy with it.
I am friends with the CEO of a successful software company thats been around for ten years with a few hundred mil in funding (not just a wannabe) and a couple hundred devs. We are friends personally and don't overlap in work at all but he told me that in his company "I have an open door policy and I listen to everyone. It's ultimately beneficial to work that way. Some people come into my office every week, some once a year, and some come in about every 4 months to give feedback. I listen to the people who come in every 4 months and ignore everyone else."
> Have access to all the treasured resources that took me years to find and collect

He is obiously levels above us
Well, Lua's word list starts with index 0...
Expired ssl certificate for airbnb.com
> Avoid frameworks like Meteor, React etc. they're a rabbit hole that will paralyze you from shipping and getting to revenue.

I agree with the part where you say to avoid tools that don't paralyze you from shipping and getting revenue. On the other hand, I think that if someone is fast and productive with React or Meteor, that is the tool he/she should be using to build anything.
Building a Kafka that doesn't depend on Zookeeper
why does the squash flag squash everything? Wouldn't it possible to only squash the layers introduces in the localhost build? The you could share the other layers again.
(Going meta for a second: I'm sorry this took me so long to notice, but I think this might have become a political discussion. I had believed we were principally discussing mathematical fairness as it applies to markets, with maybe some colorful/relaxed examples to keep thing interesting, but that the examples were all relating back to mathematical fairness. Sorry for being dense :/)

> This is not by any means a dismissal, as it provides valuable insight into the behavior of human society, but viewing it as the beginning and end of economics will place massive limitations on any analysis.

My personal interest in economics has roughly nothing to do with understanding human behavior -- I'm interested in incentive structures/mechanism design, mathematical fairness, agency, decision theory, optimal play, optimally exploitative play, cooperation/coordination/defection in partial information games, etc. This is to say that, for me, economics becomes uninteresting as soon as you worry if human behavior matches the model. Econs are so much cooler than humans! It's much more fun to ask what they would do, and what can be done to improve their outcomes.

> https://en.wikipedia.org/wiki/Behavioral_economics

Yes, I am familiar, especially as it relates to faulty decision making in professional life (base rate neglect, availability bias, etc). I don't think he's considered to be part of the field, but I've also found George Polya's How to Solve it to be related here. He explicitly discusses heuristic search for math proofs, and how this can amount to a blind spot.

> It is a simple conclusion that follows from three premises

(This was what made me realize what had happened). My disagreement is with respect to the question of "can a fair game be created within an unfair game, even in a context where you can't correct historical unfairness?" -- to that I say yes (with my earlier caveats about physical limits of fairness in our world).

Perhaps now that I've explained more about my background and perspective, you can consider this thread (https://news.ycombinator.com/item?id=13442034) again from the perspective of "Will capitalism survive the robot revolution?" -- the econs I love will (I hope/expect) finally be a reasonable model of economic behavior. Therefore I hope capitalism will survive, since that would ensure I got to live in a good/fair world. If you are aware of some way in which a capitalist system, when populated by robots/econs, could be improved with respect to fairness, I'm skeptical but quite interested.

Re: the political question you asked. If there were a way to say for sure if wealth was unearned I'd absolutely support confiscating it, if not I'm skittish and afraid of causing more harm than good.
This is the sort-of obvious eventuality of a world filled with dozens of different services. Of course a new service will come that tries to bridge them all together in a simple way that is efficient for the user. Imagine if all the USA's cable channels were different apps that took up space on your TV's hard drive (like phone applications). Now imagine your TV has a way of visiting "lesser" channels (web browser). Now imagine that, eventually, the channels you care about begin integrating into the web browser (the numerous applications that now offer browser-based components). Now imagine someone comes along and says you can use a single service to access all those channels (shouldn't be hard to imagine that because it's how things are now..).

The innovation here, imo, is that WeChat is essentially a web browser that looks and feels very different from traditional web browsers. It's a big deal given the conditions of today; i.e. cloud-based and browser-based applications are becoming the norm. Interesting, for sure. I see a future in it, anyway.
> and there is no supported way to reclaim that space

That's one of the things addressed in the latest stable release. It now reclaims space on startup.
It comes as absolutely no surprise at all to find out that the UK's post-Brexit Banking industry will be just fine.

At this point, the only possible opportunity Brexit gives the Conservatives is to turn the UK into an offshore financial tax haven.
Mender: over-the-air software updater client
If you haven't already, read this article by our own "patio11":
http://www.kalzumeus.com/2012/01/23/salary-negotiation/

Like others said, be nice but firm. Once during an interview, I was told that my desired salary range was above the top of the band for that job. I said with a big smile: "That's not my problem!" The interviewer said "You're right!"
After years of mucking about with different distros, Ubuntu was the one that stuck. More than that, its the one I install for friends and family - helping people save money turning creaking winXP/Vista machines into sleek and simple Ubuntu ones - no muss, no fuss, a webbrowser and music player is all they really need - and it still works today as well as the day Ubuntu was installed.
In most languages, the top words are self/this and function/def. On the other hand, in Go, the most common word is "err", and "if err != nil" are three of the top four words. I really wonder how big part of the code in Go is just propagating errors.
Have you ever tried to frame "help people don't deserve" as being a selfish act? Ie. I like social programs not because I want to give out free help but because I want to increase the demographic of who can buy my products, reduce who may try to hurt me, etc.
That's interesting -- I was wondering in which cases typedef changes the parse tree, and came across a few [1]:

a (b); /* function call or declaration */
a * b; /* multiplication or declaration */
f((a) * b); /* multiplication or deref and cast */

> With one further change, namely deleting the production typedef-name: identifier and making typedef-name a terminal symbol, this grammar is acceptable to the YACC parser-generator.

[1] http://eli.thegreenplace.net/2007/11/24/the-context-sensitiv...
This was just "work long hours to get the project back on track" being communicated as "improve velocity" with about as much success as you'd expect and less understanding than you're projecting.
Don't complain about down votes, especially after only 15 minutes. There is inherent randomness in votes and it only takes one or two votes to grey out a comment. Most of the time these things work themselves out within an hour or two. In this case the comment was black within 12 minutes of your post.
Thanks for posting - I was just thinking of this myself !
I really need to checkout /r/unixporn because what you describe is exactly what I have on my machine. One day I started thinking about what I started with as a professional programmer (back in the 80s). 80x25 terminal. I was happy with it. What was the new stuff giving me? Eyestrain.

I've got tmux with a 25 point font and 16 colours now :-) Happy as a clam. Would be nice to have a browser that I could bend to my will... Some people will never get it, but this is a very nice setup if you know how to use it.

(but as someone else mentioned, I run compton because I like stupid effects and drop shadows... crazy, right?)
Don't even bother with those Chinese tablets. They are passable for media consumption, but absymal for anything else.

Buy something like a refurbished Dell Latitude series instead. Keyword here is you said "long trip'. When you buy something that made a lot of tradeoffs to achieve that price point, you are going to be frustrated.
Preface: I'm not trying to nitpick you to death. I wouldn't expect anyone outside the medical field to remember any of these terms.

Yes, a HR of 230 BPM is not normal. The terminology is confusing because tachycardia can be both physiologic ('normal') and pathological ('abnormal') depending on the context. What you are describing is not "just" tachycardia, but most likely a type of supraventricular tachycardia/tachyarrhythmia (not a cardiologist, but my best guess would be AV nodal reentrant tachycardia or AVNRT).

The maneuver is called valsalva, one of several vagal maneuvers that essentially work by increasing the parasympathetic input to the heart and negating some of the sympathetic (fight-or-flight) input.
Dont! Never ever do that. If you want to bootstrap do it on the side. Only quit your job if the project matures. Not only that, but a solid benefit is that the skills/ideas you might learn from your project will cross pollinate into your work, therefore making you a better employee hence more valuable.
Video tutorial:How to build a retrospective board using lists with deepstreamHub
I'd recommend against the Teclast and Chuwi hardware. They're cheap and they look like it works well (and spec wise it isn't too bad), but the user experience isn't the best. If I recall correctly their touchpad experience is pretty lacking (I think Chuwi one lacks the pressure sensitivity). While they are Cherry Trail Z8300 Atom CPUs, they're mostly for lightweight usage, like web browsing and youtube max. Also they should be using a brand of eMMC for storage which doesn't have the best I/O rate.

It's nice as a gimmick, but not a great one for development. If you're on a budget, I've seen fairly cheap but great second-hand hardware on ebay or craigslist. Maybe check those out. A few years ago I bought a Thinkpad X240 for around 200 dollars, it was an i5 with 8 GB RAM and I bought my own SSD to put in it. That laptop has been fairly solid for me especially with the expanded battery pack I purchased.
unless is a blanket banning of buying these services from anywhere.
If you are a power multi-tasker (20+ browser tabs at any given time) running IntelliJ with a couple of electron apps (Slack, Spotify), it will slow down your system with constant disk-thrashing on a 8 GB machine even with an SSD. I use a Macbook Pro 2015 (8GB RAM/128 GB SSD) and I cannot run a fully featured IDE anymore. No more WebStorm or RubyMine. Vim is the only way to go!

You're a little bit in luck as Windows machines are considerably cheaper. Go for at least an i5/16GB/256GB SSD.
Yep, the tool should skip strings and comments.
> "...Technology doesn't matter..." <

Key point this one.
RNA hitches a ride on ultrasound waves
> Sarbanes-Oxley is a big villian here. It pushes the cost of legal compliance through the roof for public companies, forcing companies to delay IPOs until revenue is higher.

SEC compliance costs are significantly higher than SOX for public companies, why not complain about that instead?

Neither the few hundred thousand dollars for SOX compliance or the million dollars for SEC compliance are significant pressures on the IPO scene right now. Wider availability of VC cash, better strategies for repeatedly going to that well, and big investment deals for private companies with large public companies (i.e. the Uber/Lyft model) have changed the market pressures so that IPOing isn't as valuable as it once was.
This is explained in the README of the project's Github repository: https://github.com/anvaka/common-words#how-are-word-clouds-r...
I was pushed hard on this last time I was interviewing. We danced around a bit, with them requesting and me declining, until they said they must have my previous salary because it is their policy. So I responded that it was my policy not to disclose my salary. They couldn't argue with that, and I got the offer I was looking for (which I ended up turning down anyway, but that isn't the point.) This is in the UK, but I don't see why it wouldn't apply anywhere.
Impact of job-stealing robots a growing concern at Davos
Well I will slay my developers before they put the metasyntactic variables on master. I allow i to pass though. Go to j and you have O(n^2) and I will slay them again.
The UK won't be a member of the WTO since it never joined. It'll have to apply after it leaves the EU.
Agreed. What the author is doing is really very cool, and I just can't see anyone running Windows 10 ever doing anything similar.
WhatsApp from the very beginning went with Erlang and it perfectly suits their needs. You can almost map 1:1 the messages in WhatsApp to messages in Erlang. On the top of that they optimized the hell out of their stack[1].

Twitter on the other hand is a very different problem where you need to broadcast messages in a 1:N fashion where N can be 100.000.000 (KATY PERRY @katyperry. Followers 95,366,810). On the top of that they need extensive analytics on the users so they can target them in the ad system. I am pretty sure there is some space for optimisation in their stack, not sure how much % of these servers could be saved.

http://www.erlang-factory.com/upload/presentations/558/efsf2...
30 Codes for “Led Flashlight Unlimited” for Hacker News Community (Android App)
Led Flashlight Unlimited is simple but very handy LED flashlight with Material Theme integrated in Unlimited version! If you have LED at your phone camera you can touch the button or widget to turn it on! It is very simple flashlight without any limits nor ADs!

Just add home screen WIDGET and touch it to make a light! Just as simple as that!

Some best features: - Touch Widget to enable/disable your LED!
- Multiple widgets support!
- Notification bar info and tap to stop!
- Works with disabled screen!
- Don't ask for unnecessary permissions (Like Internet Access!)
- Active development (contact me if you have problems!)

Unlimited version features: - Disable on Shake Gesture (without re-enabling screen or unlocking the phone!)
- Auto Enable & Close
- No update reminder!
- More to come!

As simple as possible!
You won't need to carry a torch anymore! All you need is this app!

Free Codes:
4W1E4R37P13XG9VBJGA4MZF
YGWAC7970ZV52BNM2ZKRG69
RESFF5BNB1HRPXAATSSQ95W
ZF1BS3PQB9QRTMFSZWVDUJX
6GFB2U9YM7DEGMPS6G1G24M
YG6U4YFQ0HJEJY0LMS4AQQ1
E76WNB0BJASP6D6FASYLB90
9KMM2U5YGDZ0E938867A2NG
179EJUN0KXUC4MY071XRPED
1JUFE3R2JNSEQYQGDKEN9JV
G197BUXMQ5A3ACCFTP5C0NP
V08RFZ9Z21A1UJ1YCCT9CCV
52EN8EUX6FHXFZME834UZ7J
4V3Z6NQAGQ8ZRNV8BHH46UQ
SMSWATMVQ23375B6S9SL9MY
34P23NS1MD56MVTYZZE062J
5C9TRAY05R23ZSSJ0AJ11LK
9E5XLUZJ8AKZWQNQPP2C73K
K43PZ7DSBWK2BLDSYVCJ1UK
AMH3KTTKY6B1BTGTRLYJAJV
4E7VNFMBV005D9HXK2YCBLT
0CQA4D1E74F7JWR9TTYK7SH
RZMGGCY7LJGNE3TBF61UQHU
PCHSDH3RG4QA5FDQR0DV8TL
H873DWMTFV4WLQLSM6GD35M
BBUQZEPRFFXM8KUQA8N4FZ2
Q5RZ4PDTESPYSUUL7Q5DHBU
PJTXKM9QFC527C8AN5RR9B9
1FGSRG4KJ4WW1CRD5TDA5R5
A6YSXSUJB8X9TUEL43Z74FR
2XSLVN93WFFCAFTN2AUL1L3

Unlimited Version Link:
https://play.google.com/store/apps/details?id=net.kreci.flashlight.unlimited

Demo Version Link:
https://play.google.com/store/apps/details?id=net.kreci.flashlight

Please rate/review the app in play store if you find it useful!
Any comments and suggestions welcome!
The slow adoption of modern C++ is very apparent. Some things not event listed: forward, unique_ptr, shared_ptr, tuple, constexptr. nullptr is much lower than NULL and move is quite low. These features are now 6+ years old! ;)
Do people really use implicit selfs in ruby? Note that @foo is not an implicit self.
I use Vim on the command line, but for Java programming I also like to use the features of an IDE like IntelliJ (or at least Eclipse). I always use Vim plugins for those (Vrapper for Eclipse or Idea-Vim for Idea).
It was also a surprise, to me at least, that even if you released all of the people in jail for drug offenses, it would really only affect certain black demographics. That's something I hadn't realized. Basically a HUGE affect on the number of blacks in prison, but almost no affect on the number of whites and latinos in prison. And whites and latinos are overrepresented in the prison population in a relatively draconian way compared to Europe. (Just not as overrepresented as blacks. I'm assuming because of the asymmetry in enforcement of drug laws.)

So we are using these sentencing laws to send EVERYONE to prison for a long time, regardless of the crime. It makes me wonder how many crimes actually land you in prison? Probably some things I don't even know about will put you there.
Also worth noting the Z8300 is an Atom device. Here's a comparison of the processor in these devices vs. what I believe to be the lowest-end processor from a 2015 MBP: http://cpuboss.com/cpus/Intel-Core-i5-5257U-vs-Intel-Atom-x5...
The situation has been improved quite a bit with kubeadm. Getting a basic cluster set up is a lot easier with that.

https://kubernetes.io/docs/getting-started-guides/kubeadm/
Wall Street Analysts Give Investors What They Want
Yes, it's a bit ugly but it still doesn't make it useless. It could be useful for e.g. passing a comparator to qsort using a captured variable to pass the comparison criteria (e.g. compare arrays according to the n'th element).

> So what GCC does is actually a horrible hack - it dynamically creates a function (called a trampoline), which calls the actual function with a pointer to its data.

Well you can call it a horrible hack but it's pretty clever. There's no other way to do this without having a rich runtime system and a language with a built-in concept of a heap (and perhaps a garbage collector).

> And since the trampoline is also allocated on the stack, this requires the stack to be executable, which is Not Great for security.

Yeah - this is pretty nasty. Executable stack is less than useful, although it's not enough to protect against stack/buffer overflow exploits that utilize ROP or other advanced attack methods.

However - in my practical experiments, I have noticed that the optimizer will get rid of most trivial trampolines if the resulting function pointer isn't stored or passed to a function in a foreign translation unit. LLVM in particular is really good in eliminating trampolines.

I wish there was a way to have compile time certainty that no trampolines ever get emitted on the stack. You could still use capturing nested functions with certain limitations.

But yeah - it's not the most useful feature, primarily because it's GCC only and secondarily because, at worst, you'll end up executing a few bytes of machine code from the stack.
Same with many node apps. Every other statement is:

if (err !== null) {
return callback(err);
}
There's a description of the method in the Readme

https://github.com/anvaka/common-words#how-are-word-clouds-r...
Is anyone investigating how well these numbers fit a Zipf distribution?
I can't read MACLISP, but these two Common Lisp macros match the behavior that's described in the big comment:

(defmacro defsmac (name params expr)
`(defmacro ,name ,params
(sublis (mapcar 'cons ',params (list ,@params)) ',expr)))

(defmacro defmac (name params expr)
`(defmacro ,name ,params
(list '(lambda ,params ,expr) ,@params)))
Unfortunately it's not using size as a metric like mouse word clouds. This confused me at first. Look at the size of 'err' in the go layout.
> you don't need descriptive names that much, because even single letter variable names are evident

That's an annoying lie, and makes codebases in languages with genuinely strong static type systems (e.g. Haskell) much harder to read than necessary.

Hell C#'s type system is stronger than Go's, yet there is no such prevalence of meaningless variable names (first one comes in at #23, Go has 7 single-letter variable names in the top 23)
And else is used more than if...
Whey eiwit zorgt voor betere gezondheid en lichaamsgewicht
Until the age of 18 we were not allowed to use a calculator in the exams, not even in physics. We had to solve everything simbolically. This rigorous teaching method resulted in a couple of gold and silver medals at the Internationale Mathematik-Olympiade. A couple of my former class mates are now profs on the MIT, Berkeley, God knows where.
I remember that one because of the offer to learn Oracle during a cruise, complete with the important part "Convince the boss" : http://www.dba-oracle.com/BC_cruise.htm
Dont tell your friends there is no such thing as luck. There are only factors that are too numerous for you to account for them all.
When I need state in remote servers, of course I still use Tmux. I was referring to local Tmux sessions, that I mostly used for tabs/splits before I started to use i3.
Well, I'm not taking that point, sorry.

Quantitative easing was tried, and didn't work. There was nobody to lend money to, so velocity felt in proportion to the new money printed and the whole thing turned into just a hidden bank subside. It may work if coupled with the correct fiscal policy (AKA a temporary universal income), but nobody on the US government has the power to do that.

Interest on reserves is a fringe monetary instrument that is getting support from economists out of desperation. The leading theory is that it doesn't work at all, the fringe theory that everybody is hoping to be right is that it can work if the government restricts the use of paper money. AFAIK, nobody has any idea on what unexpected effects can come from doing it for any long period.

Interest rates are not the only tool, but the US government has already spent all of the orthodox tools. In fact, I do think the lest one to stop working was quantitative easing.