skysight-inc/HackerNews huggingface dataset:
Yes, and look at the wild swings there.

Oil price being one particularly topical. Over investment in marginal fields that are economical at an artificially inflated ~$100/boe due to speculation. This is particularly evident in the US in hiring booms and busts in the industry and the direct influence at the price at the pump (it is cushioned more in other countries by taxation for example in the UK tax is circa 80% of the pump price for fuel, whereas in the US it is circa 17%).

This wild variability in food prices would be very very bad for not only farmers but the public. Sure, in gluts, $0.50 milk per gallon would be great, but in times of say severe drought, $8/gallon would be devastating to those people for whom food is a large part of their budgets, or most people.

That's the idea behind it anyway. The same is done world wide and cannot be unwound in isolation. The US and EU both have farm subsidies or price smoothing.

I'm sure the system is gamed, like all systems are - but a completely unfettered free market, globally, for staple foods is unlikely to ever happen.
This question seems to point in this direction of changing our shell syntax from `vo` to `ov`, based on Jef Raskin's Humane Interface http://ux.stackexchange.com/questions/48051/how-to-extend-th... .. I imagine pluggable shell grammars would allow open ended exploration this way.
Humor from the Tombs (1968)
I think the problem author wanted to highlight, which seems to be missed in this subthread, is that CIE is not "doing little is OK too", but that unless you commit all your resources to do everything you can to help, you'll likely to be seen doing too little and become hated. This forms a chilling effect that makes people with opportunity to do something chose to ignore it, in order not to interact with the problem.
The gui equivalent would be right-clicking on a thing. There's probably a lot on what you should put in that menu, and you could probably take some general principles from that.
Download Cydia iOS 8.4 and Jailbreak iOS 8.3 for iPhone, iPad and iPod touch
Social Anxiety Disorder: Simple Tips to Combat Anxiety
That's really not an unusual or surprising thing. Most products have research and development costs factored into their prices. It's the primary reason why bleeding edge stuff costs so much.

As far as carbon emissions go, it's hard to compare without knowing what byproducts fusion will generate.
that's a load of work for some fake internet point.

and no on some browser the scrollbars consume layout space and on some they don't. (remember to add the ios/safari monstrosities into the mix)

heck, just open this http://www.matanich.com/test/viewport-width/ on edge/ie11/chrome and see yourself how reliable clientWidth is (especially test edge fullscreen vs edge windowed but fullscreen it will blow your mind)
I'm not sure whether I agree or not but thank you for sharing that article. Very interesting.
> It's tough to think about how we can reduce personality to four axes that are immutable as you grow and change.

I don't think that jives with MBTI. Even the harshest critics of MBTI would acknowledge that MBTI doesn't preclude plasticity and "type development." I think MBTI just says that you have a dominant proclivity along certain axes. You can re-take the test at different lags to test the hypothesis for yourself. The MBTI argument goes that you'll develop additional competencies.

Re: article, I didn't find the authors arguments compelling. Not that you need a "cognitive science" background, but the author's an English Lit. prof who makes hand-wavy arguments against MBTI. I suspected clickbait due to the title, and I was right...
Assertions in code are for documenting and checking things that can't happen unless there's a bug. This helps programmers reason about the code as they read it, and helps us find errors closer to the defect that caused them.

If a test case triggers an assertion violation down in some method, there is a bug. That should break the test, so that I'm told about the bug, and can investigate and fix it. If there happens to be a `try...except Exception` anywhere in the stack above that method, the test never learns that an assertion fired and might even pass. This makes every test less useful than it could be.
Humans as they currently exist? Certainly. But never? Certainly not. We can evolve further.
>Making it difficult to fire ineffective people, or doing so slowly, is one of the best ways to ruin an organization. The friction that exists around firing in many countries seems to be part of why they have less effective business innovation and investment.

It has nothing to do with innovation and investment and everything to do with managers' desire to maintain their dominance over their employees.

>Meanwhile, poor performers stir dissatisfaction among other employees, especially effective ones. This makes it harder to start new companies and grow.

Not half as much as authoritarian managers do, and easy-to-fire policies guarantees authoritarian managers.

>It's preferable for both employee and employer have the right of free association.

Only if it were an equal relationship. Which it patently is not.

>As organizations tend to grow larger, they tend to accumulate less effective people over time

You know what kind of organizations do that the most? The ones that know that they can dispose of their employees at a moment's notice for any reason, without reason.

Organizations that can't fire indiscriminately tend to be a bit more careful about hiring. Which is good for job security, which in turn is actually good for efficiency and good for innovation.
I see your point about professionalism.
So graphic designers are going to use text, instead of Photoshop?

Pixar artists will be switching to CLI, over direct-manipulation graphical interfaces?

Sound-designers will use text to look at waveforms?

The title is overly broad because it focuses on only a certain class of applications.
I think you're wrong here. The article is not about (1) and (2). Consider (4) (because (3) is taken by another comment):

4th person: These people are starving. I could help them by doing as much as I can afford. Hovewer, most people seem to unconsciously subscribe to CIE, and they will see that as too little help, therefore I'll become an object of hate in the media. It may ruin my business. I'll be pointed at on the street as a bad person. Therefore, I shall ignore the starving people. We have all those social programs that help them, I pay taxes, so it's all cool, right?
Slack is not a text interface. Slack has as text interface for many common operations, but you can't ignore how much GUI Slack has.

The future of UI is having graphical and text interfaces at the same time. Throw in touch, speech and sight for fun if you want. None of it is going away. Most programs need a simple and very well thought out GUI, aimed both at new users and at discoverability of features for experienced users, and more powerful text based interfaces and keyboard shortcuts for power users. This is what the best programs do now, and what Slack does too.

The interesting thing about having both/multiple kinds of UI is that it guides the overall design structure of a program. Having both GUI and text interfaces forces MVC patterns to emerge, and it requires having a strong underlying foundation for your data and the operations that manipulate it.

*edited for typos
Gpg --key-gen doesn't have enough entropy
Ask HN: Personal tricks and solutions to small problems?
What are some tricks or solutions to small problems, preferably to problems that other people don't realize they have? Some that may induce the eureka effect?

For example, if you are always cleaning your download folder or if it is containing GBytes of garbage, just use /tmp as your Download directory.

Let's use this thread to collect all of these tricks and solutions and dump them later into a public repo.
The "small groups of fighters" have been fighting for generations against the tyranny of larger, mostly distracted forces. That the US didn't "win" is a political matter, not one of ability. If the full weight of the US military were put against an uprising, the rednecks with the doomsday shelters would be annihilated in short order.

England was similarly distracted. AND on the other side of the freaking world. Fighting the colonies were more time and money than they were worth.

The problem with the gun issue in this country is that the people who vote against gun control are the ones least susceptible to gun violence. I guarantee you that you'll find a lot of support for gun control in housing projects.
Let me give you another reference point. I know this teacher; I sat in their classes for years listening to them drone on and on about subjects I have no interest in. I listened to them explain to me that '[the next test] will determine my future'. This is the teacher that told me I needed to take 3 years of Spanish in high school or I wouldn't get into a good college.

I know this teacher well, because I was one of their students who started smoking pot.

I went to the beach. I dove in the surf, laughed with my friends, tossed a frisbee, smoked a bowl and fell asleep under the light of the stars listening to the waves crash in.

I went to a concert. A symphonic metal band opened my ears to creative possibilities that I had never before imagined.

I started hanging out with different people. I had previously associated mostly with high academic achievers; most of my new friends were on a different path. They were from the other side of town. They hung out in the school's computer lab, and so did I. They were also some of the most kind and loyal people I'd ever met, and I still count most of them among my closest friends.

At the beginning of sophomore year I was ranked 3rd in my class. I graduated 7th. This teacher was very disappointed in me.

I graduated college with a ridiculous job offer at a growing tech company building systems that save lives every day. Most of the students who slurped up what this teacher was offering didn't realize it was horse shit until they finished school and had to move back in with their parents.
This is not a good example. Google did not beat Lycos etc. by on-boarding any non-geeks to text commands, instead they proved the effectiveness of page-ranking dumb searches.

Non-geeks do not use additional search syntax compared to the number using the nice obvious and clickable "Images" or "videos" tab.
How  to Find Peace Within Frantic Mornings
> “EV charging spaces are functional reserve spaces, just like disabled drivers spaces.”

For some reason I can't see that eliciting much empathy.
So that's why Apple products are selling so poorly.
Skeleton is awesome. The maintainer has gone away, but there's an effort to fork it and continue the project.
> How would you represent a tree or graph data structure in text to a human and let them manipulate it?

Tree:

'(root (left (left-left left-right)) (right (right-left right-right)))

Graph:

'(graph (#1=node1 #2=node2) (#2# #3=node3) (#3# #1#))

Solved problems since at least the early 90s.

> Yet using it to paint is a lot harder.

Sure, but drawing is only one activity among many possible activities.

> As a software developer you're often manipulating only text.

I think that's true for most users: they are reading articles (text); writing comments (text); sending social updates (rich text); watching videos (not text); playing games (not text, but may have textual content, e.g. in-game chat).
React-date-range – A React component for choosing dates and date ranges
I see this is partially a failing on the part of OEMs. Tesla is the only manufacturer that has actively built charging stations, or even ponied up money for others to do so. Everyone else is happy to market and sell electric vehicles, but leave the problem of charging to sort itself out.
Is that even an argument though? A better way to say the same thing is "Easy problems get solved first". Or another way to say it "You aren't going to spend a billion on a problem if you solve it in 10 million".

What we have here is a measurement problem. For example looking at curing polio and curing AIDS as one issue is disingenuous, it tells us nothing about the complexity of the actual problem we are solving. To cure AIDS we may have to solve many hundreds of different problems, many of them usable in other applications.
Have to agree. AirBnB and Uber are probably the biggest non-tech companies masquerading as tech companies. I can reserve a room on Hilton's website, doesn't make them a tech company.
> Why is it always "free markets" but never "competitive markets"?

I would put my money on newspeak. "Free" sounds more positive than "competitive". Freedom is like always good, while competition makes it clear that there will be losers as well as winners.

It's also much harder to be against freedom than competition. Often, we want cooperation instead of competition. But what could possibly replace freedom?
I disagree.

I've seen firsthand the huge investment it takes to wire a neighborhood with underground fiber. A small company cannot do it. Okay, so what?

Google is offering free internet forever for a one time $300 construction fee which you can pay off over the course of a year. I'm buying gigabit plus premium TV package, 2TB 8-tuner DVR, etc, and my costs will be halved for a massively better product. If this is oligopoly, bring it on.

With state created monopolies, prices rise and quality stagnates or falls. I don't know anyone who would dispute that. But these so-called oligopolies constantly innovate and drive prices down and quality up. Apple is part of an oligopoly as are many other darling tech companies. The constantly innovate and drop prices. Even in the days of the so-called robber barons it was so. Standard Oil controlled 90% of the oil market for about 10 years, during which time the price of a barrel of kerosene fell something like 300%. [1]

[1] http://tomwoods.com/blog/beware-the-robber-barons-and-more-t...
What Really Keeps Women Out of Tech
Yeah! right?
But if I understand your project correctly, it also has every other possible continuation to that stanza in it somewhere?
Not subscribing to either side of the argument at the moment, but I just want to note: the Constitution is not the Word of God, it can and is changed whenever the society thinks something it turns out to be a spectacularly bad idea. When discussing whether that is the case, "it's in Constitution" is not a valid argument per se.
I don't want to play study tennis with dogma. However, here are some representative examples:

http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3182557/

http://cdp.sagepub.com/content/13/4/148

IQ and its heritability are about as uncontroversial among psychiatrists as global warming is among climate scientists.

Here's a good blog post about the personal implications of this, and how this knowledge can be used productively and charitably: http://slatestarcodex.com/2015/01/31/the-parable-of-the-tale...
I see that a Kleisli arrow is involved somehow. I have no idea what a Kleisli arrow is. Would i have to learn in order to use this library?

Is the involvement of a Kleisli arrow strictly necessary?
You don't get it. Those people get hit with narcotics charges because the cops and D.A. know exactly who they are and the long list of other crimes they've committed.

People who simply use or sell some marijuana and that's the extent of their "illegal" activity, they don't wind up in prison. Doesn't happen.
Fair enough. Graph theory has a collection of quite well-known algorithms that run fast, which mostly come down to clever manipulations of depth-first and breadth-first search algorithms. These typically run in O(n+k), where n is the number of vertices and k is the number of edges. In large networks, it's still often the case that k is proportional to n (most people have less than 1000 facebook friends, so we can bound k by 1000n...), so this is still linear in n.

I tend to see lots of graph algorithms which run in O(n^3) time, which tends to be fine for medium-sized data sets, but yeah, breaks down when you get into the 10,000+ sized data sets.

And then there's 'matrix' methods you mention. These can often be tied to an area called algebraic graph theory, which looks at properties of matrices (like the adjacency matrix) to try to pull out information about the graph. Relaxing the graph problem and allowing the full range of matrix operations allows some fast linear algebraic methods to be used, though the final solution may need some massaging to make sense, and may not be perfectly optimal.

A great example of this is spectral clustering, which uses eigenvectors of a relative of the adjacency matrix to perform a clustering of the graph's nodes. The optimization that the clustering is solving is actually an (iirc) NP-hard problem; casting it as an eigenvalue problem gives an O(n^2) approximation of a solution, which then gets hammered into something we can live with...
Feedable.io, Turn your photos and videos into social posts on your website
> "But fusion IS very expensive electricity."

You're falling into the same trap as the article author, you have no way of knowing that.

For example, this article on the dense plasma focus approach to nuclear fusion shows the costs are far below that of other non-nuclear sources:

http://lawrencevilleplasmaphysics.com/cost-advantage-roi/

Even if you take into account the research costs (which I think is a mistake, the cut off point is too hard to define, I mean would you include R&D into petrol-based cars in the solar car R&D costs?) the level of funding that the dense plasma focus has had to date has been relatively small, it could recoup those costs quickly. You can get a sense for the investment costs involved in one dense plasma focus project here (though admittedly this doesn't include all similar research projects, of which there are a few):

http://www.integrityresearchinstitute.org/FutureEnergy/Focus...

So you see, because you have no way of knowing which fusion approach would win out, you cannot say with any certainty that it is expensive electricity.
If you think that's what happened in Iraq, then you have a simplistic and woefully inadequate view of how the war actually went.

If there's any one big thing we learned in Iraq, it's how Counter-Insurgency works and how important it is. You can't simply roll in and impose your will on a well-armed populace, no matter how many ships and planes and tanks you have. You will be hit over and over again by snipers and small ambushes that fade away before you can bring your resources to bear. There are no big targets to use your big weapons against, and using them arbitrarily against the civilian population will enrage more people into fighting against you than the number of actual combatants it kills. You can't get any good information from anybody on who the insurgents really are and where they are.

The force that is closest to the population will basically always win in the end, even if they have less resources. The only way for an outside force to successfully counter an insurgency is to make themselves more close to the population than the insurgents. That's how the US won in Anbar late in the war - the insurgents, despite being the same religion and more culturally similar, were so brutal, arbitrary, and disrespectful of local traditions that they were willing to side with Americans from an ocean away to get them out.

The other important part is how the soldiers themselves feel. It makes less of a different when you're an ocean away from home in a very foreign culture, since there's not really any practical way to desert. If they were ever to operate in America against Americans, that could be a very big deal. Soldiers aren't order-following robots; you're going to have to convince them to fire weapons at, and take fire from, their friends and neighbors on the orders of somebody far away to impose something they may not care about or believe in. It's not necessarily impossible, but it makes things a lot harder.
Only one of us is being silly suggesting that any existing or near-term AI can replace C-level executive's skills. Those include management of scheming managers, business analysis/strategy, bribing/wooing politicians, overseeing negotiations like TPP, PR against the masses, and especially keeping Directors happy on the golf courses.

Far as your financial instrument, computer intelligence wouldn't understand it at all because it's not good enough. Instead, you'd likely have a system whose inputs are curated by humans, using rules/algorithms made by humans, and whose output is checked by humans. Like Blackstone's Aladdin. ;) So, keep dreaming about this fictitious world where machines come close to the skills of big boys on top or Wall St.

They're only useful if it's something expert systems or machine learning can handle. That's really narrow. There's money in it, though, in case of HFT or BPM consulting.
> Your perception of his company's diversity does not change the validity of his point about having a less diverse pool to hire from.

It changes how seriously I would take his advice.

If someone says "I did X, and without X it would be very hard to do Y.", you would assume that they actually did Y. If you later find out that they didn't do Y, and further that the people they're advising to change their behavior and start doing X are better at Y than they were.. it's a sign you might feel free to ignore their advice.
Maybe you can overdraw your sick leave if you are actually, like sick?
Seems to work to me. Check at the end of that page and I see "given the size of the vocabulary used in this library really is three hundred and twenty words that big is a list of these three hundred and twenty words available". If you are referring to the whole page being in bold, that happens because you are looking up for that page exactly. Use the "string only" search if you want a location string for a particular sentence, to preserve the bold around that sentence. The issue with that is that it will give you a different page (although still containing that string). E.g:

nLagn9BPkh5lAc7tCbWQNjkt271OF9JHi0NITtGLUPx9iJ1HxUgUq67kEoANXkJ8oDw3Fn79yNEs1sVqGm6LZGjl3P6YS
Thanks for checking it out! A spaced repetition app that I've used is Memrise (I used the web app), and I found it to be pretty effective. They gamify the experience by having 'plants' that you have you to water every so often.

The app I wrote keeps things pretty simple, and is designed to re-create the physical stack of flashcards (which is a proven technology I think).

But spaced repetition is definitely a good approach too, and apparently it's backed by findings in neuroscience.
I appreciate your polite reply.
I don't understand the reason for two `tcp_connect` functions. One just adds the option to pass "w" to the fd mode. Both functions are otherwise identical. Despite the "IPv4 only" comment, both structure pack with `getnameinfo()` so both appear IPv6-capable. Looks like this could be optimised to remove the first connect function.
If it results in worse behavior, then framing it as "encouraging improvements" is misleading. And if it's about encouraging improvements, then it should encourage the improvement from (3) to (2), rather than condemn it for being not (1), thereby actually encouraging (4).
That is more or less like M-x in Emacs, especially if you have Helm activated. But OS wide.
[WikiLeaks] US Policies in Iraq Unleashed Chaos, Brutality and Death