skysight-inc/HackerNews huggingface dataset:
While I realize you have tried a lot of medications and are probably not feeling the energy to try more, I think you need a better psychiatrist and/or medications.

Also, knowing someone with a less-common variant of bipolar disorder which doesn't tend to cause manic episodes, I would suggest that it is possible that your diagnosis of clinical depression could be incorrect.

I am not a medical professional -- merely offering these comments as someone who has realized that it is not merely the case that people with mental illness should be able to survive them, but that they should be helped to find ways to actually suffer less -- something our society tends not to emphasize, instead telling people to find ways to work through whatever discomfort they are having.
They are not talking about active users. The metric quoted was "used Facebook in a single day". I know for a fact that they count any "Like" click or any Facebook comment on any web page on the internet when they quote "used Facebook". It does not mean logged into one of their apps.
Free bite-sized courses delivered to your inbox every morning – Highbrow
Shouldn't someone allowed to carry a gun be held to a higher standard?
Yes this metric counts those too.
Well, I imagine if your background/education wasn't computer science, and you didn't have an intro to algorithms and data structures, (and also not that into math) recursion would feel unnatural and strange.

I say this because I was originally a self-taught programmer, and I hated recursion too. Once I went to school for a CS degree, I learned how awesome it really was, and now I use it all the damn time.
The "he" in my text was intended to reference a human, Jeff Bezos, as the parent of my post did.
Salon is a vile leftist propaganda shop. Reagan turned around a stagnant economy through deregulation. He freed millions of people from the evil of communism. He defeated the Soviet Union and he rebuilt Americas military.
The Vatican is also an absolute monarchy and very much not in line with the society I'm imagining.

I'm not familiar with how their citizenship process works as well, or how they provide services to expats.
Have you ever worked on a UI?

Ever?

Those are trees. Want to walk the UI to find an element? Trees. Want to manipulate the DOM? Trees.

Walk a file system?

Write a file system?

Trees and trees.
what editor do you guys use? or what editor has the best rust support, yet?
In golang code was easily written via st2/st3
One big practical complaint is that recursion makes it difficult to reason about the run-time characteristics of code. There's some truth to this - I'm personally no stranger to refactoring recursive functions that have proven susceptible to stack overflows into iterative implementations.

I think even the most die-hard functional programming fans among us secretly know that this is a problem. It's why virtually every functional language implements tail call optimization, and why one of the earliest things that's taught to new students of functional programming is how to ensure that functions use tail recursion whenever possible. Sometimes we even go through some pretty impressive contortions because of this. Consider the case of continuation passing style.

The other is that a lot of people find recursion hard to understand. Others seem to naturally think in terms of recursion and think iteration is a headache. I'm not sure the two camps ever see eye to eye. It might be a brain wiring thing. Though perhaps practice rewires your brain - I wouldn't be surprised if making someone spend a decade writing mostly imperative code causes them to become more comfortable with iteration, and making someone spend a decade writing mostly declarative code causes them to become more comfortable with recursion.
I think we hand out movie cards. We're a smallish BigCo, owned by a larger BigCo.
I agree that at some point (probably reasonably early on actually) it would start taking longer to say the number out loud than one second, so you'd fall behind.

However we're talking about counting which is not necessarily saying it out loud. You could just be pushing a button every second, or watching a drop of water fall from a pipe at a constant rate.

Anyway, I remember learning this little fact as a kid and it making the numbers (and the difference in magnitude between them) much more tangible.

For context, at a rate of 1/sec/sec:

1 = 1 sec
10 = 10 sec
100 = ~1.5 min
1000 = ~17 min
10,000 = ~3 hours
100,000 = ~1 day
1,000,000 = ~12 days
10,000,000 = ~4 months
100,000,000 = ~3 years
1,000,000,000 = ~32 years
The only reason I bought a Kobo ereader is because it has a native Pocket app.
I once worked on a website that analyzed Python code in order to index it into elasticsearch for structural search queries (things like "find me all classes that inherit from SomeBaseClass"). Python's built-in ast library outputs a tree for you to traverse, and even with their provided tree walker you still deal with the internals of the tree and recursion.

Furthermore, part of our indexing needed to follow imports to find the canonical name of a value, which is a problem very well suited to a recursive solution.

You may not have encountered these situations where recursion and trees have to be dealt with, but they absolutely exist.
I'm sure there are many people like that, if only because many people consistently act contrary to their own idea of their own morality. Somebody in this thread already mentioned revealed vs. stated beliefs and preferences.
What's also interesting is the contrast. Downtown LA and the "Arts District" are getting gentrified. People live in very fancy lofts. Check AirBnB for pictures of them. Some are incredibly amazing. But, right in between downtown LA and the Arts District is Skid Row. Drive down 4th street and see all the tents and homeless and fires.

I stayed at the Barker Block building for a month last October. 1/2 a block away there were tents.

https://www.google.com/search?q=barker+block&tbm=isch

http://www.hulu.com/watch/460340
> It's my uninformed opinion that recursion is uninteresting and unintuitive.

Recursion is the use of the built in stack data structure that the compiler manages for you.

If you are working your way through a data set with a well determined end state that you incrementally approach (be it the end of the list, or getting closer and closer to finding a value in a tree), and you have a need to backtrack, then recursion is a good way to solve the problem.

All recursive code can be rewritten to be non-recursive, you just keep track of your own stack data structure. This can be either not that much work, or a major pain, depending on the exact problem.
Planet Money had an interesting episode about him recently: http://www.npr.org/sections/money/2015/07/31/428157211/episo...
Meh, they just need a push in the right direction. If they didn't care to post a license in the first place they might not care which one I pick for them. But you're right, in this case they took the PR as an opportunity to select a license but decided not to take the one I suggested.
> In Africa, Facebook Zero is trying to create the illusion that there's no other Internet, just Facebook.

If there is no Internet access then there is no Internet. Critics of Facebook's initiatives should need to provide compelling alternatives if they want to be taken seriously.
Test post
test text
True, I just objected to the idea that gestures are trivial. :)
I have to admit my use of Docker is quite a bit different than yours and while I definitely understand the concerns / complaints if they aren't using it can we really be made if there are changes like this?

I only use Docker on AWS Elastic Beanstalk and they only update for security issues most often (Beanstalk is using 1.6 as I type this).

If I recall even the config file format changes between 1.6 and 1.7
Trader Joe's rocks. Evidently things have turned around for Aldi since I remember hearing about them having problems with stores in the southern part of the US. Honestly, that's been 8-9 years ago now, so it would appear I was wrong about their current successes!
I am not at all connected with the manufacturing industry, but I wonder if a group like ASME could help.
> Using 100% CPU is making the most efficient use of the hardware,

I have 4 cores and another 4 through hyper threading.

If 100% of my CPU is ever used up to render what amounts of a couple kilobytes of text content, then I start to wonder what is wrong.
Yeah, I see him driving around out this way sometimes. I've only heard about him recently.
Yes, it makes sense to have firefighters with better equipment/muscle power present in those cases (the smashed car is also a potential fire hazard).

Those seem like more edge cases (most people don't weigh 600 lbs and most car accidents are minor collisions with little to no fire danger). That doesn't justify the extra expense of using them in other situations like the ones mentioned in the article which could easily be handled by police and EMTs.
Clerky Is Hiring a Senior Front-End Engineer
Funny side story is that Hoare couldn't publish algorithm for QuickSort until he learned ALGOL was ready to do recursion. QuickSort is one of the algorithms that is very difficult to do without having a concept of recursion. Another one is various tree traversals. What are the other algorithms that would be impractical without recursion?

PS: Using stack to simulate recursion doesn't count :).
It may also be worth noting (when discussing national debt and the like) that 1 trillion = ~32,000 years.
Searching for Sugar Daddy
FYI the image formatting is off on mobile chrome. http://imgur.com/0dyvQJP
Totally depends on the particular software and the market it serves. Mass market stuff I think lends well to simplified designs.

Vertical market software tends to have very specific requirements which are unfortunately not agreed upon by all of the big players in the industry. So you can simplify it, but if your software doesn't support X, Y and Z then you can't sign Corporation Foo. And you start getting feature requests (er, orders some might say) from your bigger clients who are paying for thousands of subscriptions/licenses. But Corporation Bar doesn't like that - so it has to go in as an option/preference. Repeat this process for about 5 years and you have what appears to be a bloated piece of software.
Yes. In practice this is extremely unlikely for correct lock-free structures. But you can also protect against it by releasing the epoch on every iteration of the retry loop, rather than just at the outset. (This may be a good idea for other reasons.)
One logic puzzle a day via email by Highbrow
Very nice...

But in the comic I got confused about how the resolver could start communicating with the nameservers, given that they are themselves part of the dnsimple.com domain. Where did it get the IP of the nameservers?
>the global economy is dependent on cheap US money

Keep saying it and you may end up believing it.
"According to the paper, it simply makes everywhere outside of data structure code a quiescent state" -- yes, from a per-thread point of view, but of course all the hard work is in detecting global quiescence.
I wonder if this is a big part of it, I know all my neighbors on a "Hi, how are you?" basis, and some better than that. We all know each others kids, and we all look out for each other. One of the reasons I chose the house I did was so that our kids could walk to the park without crossing any busy streets.

I think you have to be intentional about it though. We walk our dog and say Hi to everyone we pass.
so many real-life applications to this tech. awesome. Nicely produced introduction video. good job, guys.
Thanks; that clears it up.
Hey. Is there a way to extract the audio so I can listen to it from my phone? The links above point to flash content that I can't access on mobile
I'm not trying to downplay your product, in fact I'm seriously considering davmail running on localhost to use it, but if you're at the "looking into" phase of supporting Exchange it's probably going to be a long way out. Most third party support that I've tried that isn't connecting to ActiveSync has been bug ridden. Different versions of exchange, different configurations, etc. I don't envy companies going down that path.
Nice! I was just thinking about using CG as an enticement to teach linear algebra. Basically, turn the curriculum upside down: here's how you rotate an object ... a point is a vector .... here's a matrix ...

That's how I learned it.
For what it's worth, it looks to me like you are taking positive steps toward wellness. And even if I am wrong, we both know wellness won't come all at once, but will happen over time and it sounds like you've got a support network in place to back you up.

Stay strong.
In general it's possible to write Rust code that is competitive in speed with C and C++. Some safety features like bounds checking do have a small performance cost, though in typical performance-sensitive code it is on the order of 1–2%. You can write unsafe code to avoid the penalty when really necessary.

The programs submitted to the benchmark game currently show Rust faster than g++ in some benchmarks, slower in others, but generally in the same ballpark. Of course this changes as the compilers and the programs improve, and the benchmark game isn't representative of anything in particular, but it illustrates some of what's possible.

http://benchmarksgame.alioth.debian.org/u64q/compare.php?lan...
I wouldn't say a founder shouldn't take VC money, just use VC money to fund processes that are essential to building a healthy, viable business: hire staff, market expansion and user acquisition, product improvements, etc.

Buy the exposed brick, reclaimed wood HQ when you're worth ~$1 billion
Different strokes for different folks, as they say.
Technology That Caught the Virginia Shooter
Hippies. Arizona has had open carry forever.
https://doc.rust-lang.org/book/ffi.html at the end of "Interoperability with foreign code"

Yeah, that error message sent me down the wrong path :).
Toxy, a hackable HTTP proxy to simulate failure scenarios
I put in my €5 - Marijn Haverbeke does some awesome open-source work (e.g. Eloquent JavaScript) - so I think we should definitely help chip in, if we're able to.
You think if it wasn't for systemd your server wouldn't need dbus? You wouldn't be running docker on that server either..
Absent regulation, the cab business has very low barriers to entry. Other direct sales businesses with low barriers to entry such as street peddling, door-to-door sales, food trucks, etc. are also typically regulated or banned. Sales businesses which require renting/owning retail space have a much stiffer entry barrier and inherent limits on crowding, but many types of them are still regulated in various ways (liquor licenses, restaurant licenses, salon licenses ...).

Or in other words, cabs aren’t unique.
Yours is an extremely simplistic and naive view of how the real economy works.

Government spending can be a net gain or drag on an economy but it can be a big boost in certain circumstances:

1) When the private market is retracting the government can offset that somewhat and create a "softer" landing. This prevents over-shooting on the underside (think the Great Depression). The lower interest rates are the better the bang-for-the-buck you get from government spending. When the world is clamoring to give you their money at negative interest rates (paying you to take a loan!) you'd be a fool not to pull the trigger on every capital project and bit of maintenance you can... which of course since we are so full of Republicans in the US we have been fools and haven't taken nearly as much advantage of the situation as we should have. As rates rise we'll end up doing the same projects in the future but pay higher interest rates to do them.

2) In an environment of excess capital (e.g. where the top 1% have most of the money) there is far too much cash looking for a productive place to invest and too few good investments. Again in that environment the government can do a lot of good by confiscating the capital (temporarily as you'll see) and giving it to the bottom 95%, ideally as free money with no strings attached. The vast majority of it will be spent, returning directly to the 1% who held it in the first place. The overall velocity of money will increase. This is the exact same thing as SF being dragged down by high rents writ large (if rent were reasonable I would personally create a job by hiring a nanny; instead that money goes to my landlord's retirement account where it chases all the other dumb money looking for yield)

Government spending (and high taxes) can be a drain under different circumstances:

1) If there is a deficit of capital to finance good ideas or productive businesses, the economy can benefit from lowering taxes on the 1% to free up capital. One could argue this was the case when income taxes were 90+% during the supposed "golden post war era" that today's idiots fondly recall with rose-colored glasses.

2) If spending is done via printing money or the overall debt load is too high then you can cause high inflation which has its own negative effects. If your debt is denominated in a currency you don't control (or in gold) then this can be a double-whammy and cause hyperinflation.

Government in general can be well-run and more efficient then the market when you are talking about absolute necessities and natural monopolies (like health care or roads), assuming you were willing to pay good salaries and benefits to attract the best workers and don't try to outsource everything. None of that applies to today's US or state governments... we pay like crap and purposefully use contractors for everything. It doesn't work well anywhere else, why would that work for government?
I studied math and I find recursion unintuitive, whereas I find the Principle of Induction[1] profoundly intuitive (the two are very closely related).

[1] https://en.wikipedia.org/wiki/Mathematical_induction
yoga.
just an hour a day.
Thanks for the comment, the vertical paxos reference is indeed relevant here.
That's interesting. I already have a lot of experience with Javascript so it might not be so painful.

What do you think about Rails vs Node/Express/etc when it comes to startups? Are more choosing Node lately, or is Rails still the startup gold standard?

This is the comment I've been responding to btw:

> I've been a PHP developer since 1997. December of 2014 I left PHP completely for NodeJS. Best decision of my life.

Can I ask why you feel that way?

Sorry for the interrogation, I'm just really curious and thinking of a transition myself.
Are you saying "Iranian" is the correct term for all the people living in past and present day Iran? Because that's...wrong.
No, but you need to know the approximate error thresholds on your measurements to make useful decisions.
It's not the need to defend through balance it's the constant push of the extremes to the spot light mostly by none-other than the opposition.
Trump gets more air time (direct or in name) by the media which is aligned with the democratic party than say FOX news.
And the republicans are no better one of the biggest pushes for Obama leading to the 2004 elections were the republicans with their constant "fascination" with him.
Now I'm not comparing Obama to Trump here as an individual but as a candidate the rednecks hating on Obama pushed more democrats to his side because "we are supposed to object to them aren't we?" same thing goes here Trump is surprisingly quite a good public speaker, he knows how to work a crowed and he knows how rub people the wrong or well the right way to get the responses he wants from them.
When the opposing party is attacking him day and night it not only give him free publicity but moves more and more people to his side because when you feel that your side is under attack you align yourself to "defend" it.
This is the same reality that breaks or tears so many social movements especially on the internet apart since eventually they grow to the point where they have some many loons that that's the only thing that your "opposition" is attacking you with and well you can't side with them can't you now?

And this isn't just happening to politics, this is the same human behavior that killed Greenpeace (all of it's founders were pushed aside by radicals) and why you can't tackle any serious issues whether it's wall street or global conflicts.
Just try having a movement for a 2 state solutions in the Israeli-Palestinian conflicts you'll start with few ideals that want to open a good dialog, you'll end up absorbing BDS loons, people with signs that praise Hamas, your gatherings end up having "From the river to the sea Palestine will be free" chants that leave not room well for a 2 state solution.
Animal rights? pfft you'll end having naked people running and spraying fake blood, social equality? that will turn into a Guy Fawkes look a like contest, the ease of inclusiveness which comes with the modern times pretty much exclude you from dealing with any major issue in a serious manner.
Interesting idea,
particularly the prompting for uknown quantities,
but GNU units already does a pretty good job of this.

https://en.wikipedia.org/wiki/GNU_Units

Calculations aren't quite as short as "1mA 3K",
but pretty close to it.

You have: 1mA 3kohm
You want: V
* 3
/ 0.33333333

It has long and short SI prefixes,
scientific notation,
implicit multiplication,
and a history dating back to Unix itself.

By the way, one of the example calculations (calculation of 205 Hz) is too high by a factor 10.

You have: 1 / (2 pi 0.5microF sqrt(11kohm 22kohm))
You want: Hz
* 20.461734
/ 0.048871712
I heard a synopsis of the book on BBC World News this morning. It's obviously a first novel (very different from LOTR) given the subject matter: familial murder and incest :/
My favorite quote:

this is actually a really pragmatic set of hackers
that just hack on Ruby, hack on C and spend their
time working on more interesting things using a
more stable stack, rather than chasing after the
latest and shiny tech.
Continue reading for only $0.99 and get 10 days of Unlimited Digital Access.
Here's a couple of locations where to strike:

* temple of the head (and the head in general minus the forehead)

* "Rabbit punch" https://en.wikipedia.org/wiki/Rabbit_punch

* Adam's apple (and throat in general)

* solar plexus

* heart (if you punch strong enough you will confuse the heart in a way where the single muscle fibers won't be contracting at once and thereby stop the blood circulation)

https://en.wikipedia.org/wiki/Commotio_cordis

I said a billion because there's a ton of ways to cause trauma to these.

> can realistically be considered lethal with any sort of consistency, despite the claims some less reputable martial arts sometimes make.

Yeah, it's not 100%. But for example the Rabbit punch is extremely dangerous.
Blame the gun?
> I wouldn't be surprised if making someone spend a decade writing mostly imperative code causes them to become more comfortable with iteration, and making someone spend a decade writing mostly declarative code causes them to become more comfortable with recursion.

I have spent a decade doing a mix of both. It really really really depends on the problem at hand what's easier to understand

Have to traverse a tree? Recursion.

Have to make a big thing out of small things? Recursion.

Have to add +1 to a bunch of numbers? Loop.
Some more numbers:

US 578,424 318.9M 0.18%
LA County 44,359 10.02M 0.44%
LA City 25,686 3.88M 0.66%

https://www.hudexchange.info/resources/documents/2014-AHAR-P...
http://www.lahsa.org/homelesscount_results
Sure. I'd advise you to take as little as you can get away with. The amount will depend on where you live, life phase, savings, etc.
That's just someone quoting a whole blog post from mentalfloss.com

http://mentalfloss.com/uk/technology/32106/the-true-purpose-...
I'm glad you enjoyed the post. The chain replication work indeed relies on a paxos-based master service for reconfiguration, but I believe that's the only similarity, the replication scheme is different otherwise.