skysight-inc/HackerNews huggingface dataset:
Personally I interpret a large part of acceptance as stopping the endless stream of "what-if?"'s and doubt and stress and fear surrounding what happens in our lives.

When faced with an event, ruminating endlessly about what might have been if you did X instead of Y, or worrying about what might come next stops you from actually being free to focus your attention where you want it: On what deliberate action you should be taking, and on enjoying the good things in your life.

And that might have the effect of inaction in many cases. For "common people in that country" you mentioned it might very well be that on consideration an uprising was far down the list of what actually mattered to their lives. I don't know what impact it had on their day to day lives, and how that measures up with other things, such as caring for their families and making a decent living. Or maybe "acceptance" had nothing to do with it and they were just scared.

But priorities shift once you take a more deliberate view and are not driven by anguish about a situation but about considering carefully what actually matters to you.

A simple example:

You look at the clock, and realize you're late. There's no way you can make it to where you were meant to be in time.

You can choose to get stressed out and frantic, but it's already too late - you won't change that, all you achieve is to be stressed out and frantic and running around like a headless chicken while life passes you by.

Does it matter if you're late?

Maybe it does, but it still doesn't help to stress out about it when you should instead focus on what the best course of action is. Perhaps it is as simple as a phone call to let someone know you will be late. Perhaps you miss a train, but can just take a later one. Why stress over it? Even if being late is a disaster, the stress achieves nothing. It is unhelpful and just makes things worse. So you accept that you will be late and take deliberate action to minimize the impact of being late, and you accept the consequences you can't mitigate rather than make things worse by feeling sorry for yourself.

Maybe it doesn't matter, and you should just breathe calmly and accept that you will be late and since it's not such a big deal you proceed as you otherwise would and enjoy your walk wherever you were headed and take in the view and enjoy the nice day. Maybe you won't look at the clock in the first place, because you know it does not really matter what time it is.

Most things people get terribly worked up over are never worth caring much about in the first place, yet we get worked up and stressed out and make stupid mistakes or feel miserable for no good reason. Focus your attention and energy on the things that are worth caring about, and even then try to make a clear distinction between deliberate action and feelings or actions that are not helpful.
Here is how it goes. They stop you. While they've got you, it is easier to pile on charges than having to go chasing after someone else. Or they are just bored. Or they had a fight with their gf and now they are pissed off.

So they "smell" drugs. Ok, they ask you if they can search your car. They do it in a very casual kind of way, you know, "mind if I take a quick look around the front seat of your car?". If you know what is coming, you should say "no, I don't consent to a search". Then they tell you they'll bring in the drug dogs, so might as well let them as they'll "go easy on you". You still refuse.

So now you are going to get punished because you are not cooperative. Drug dog can come in anytime from a half-an-hour to an hour later. At this point it the officer is angry and he is pretty sure you have something to hide. He is expecting a nice drug bust. Drug dog comes in 2 hours later. Officer walks him around the car. Come back and says. Dog signaled, drugs. "We are going to have to search your car."

So they search your car. They don't find drugs but maybe they see a suspicious looking package in your trunk, is that a bomb? Could be. Maybe they see some white powder in your backseat.

Better take you into the station, it might be cocaine, they need to test it better. You are at the station, being booked. You are there for the whole weekend + a holiday on Monday.

Finally after 3 days they drop the charges and let you go. And all you wanted was to go and get flour and milk so you can make pancakes on Saturday for breakfast.
Of course it's possible and desirable so someone has already done it: http://itunes.apple.com/en/app/tex-touch/id377627321?mt=8
64notes is just another "me too" copy of 37signals, IMO.
We sell the same apps on Android and iOS.

Android revenue is 5% of iOS revenue.
It may be worth offering a brief summary, so here is one. (Note: statements of opinion and exhortations in what follows are Prof. Kahan's, not mine.)

-- 1 --

A very effective way to diagnose some kinds of problem in numerical software is to run it with different settings for floating-point rounding. That way, if you're using an algorithm whose outputs are pathologically sensitive to small variations in their inputs (or in intermediate results), you're likely to be able to tell because the final results will differ by more than a few bits in the lowest places.

Unfortunately, support for doing this is lacking in most programming languages and environments. This is a Bad Thing.

-- 2 --

When doing FP computation that mixes single and double precision, it is tempting to treat mixed-precision operations as single-precision rather than double precision. The latest version of MATLAB (at the time when Kahan gave this talk) does this.

This can be very bad, because doing more of the computation than necessary in single precision can produce needlessly inaccurate results and therefore slow down convergence of algorithms (or just plain screw them up).

This is also a Bad Thing.

-- 3 --

Computer architectures, languages and programming environments should be designed so that following the path of least resistance leads to good, not bad, numerical behaviour. Lots of more detailed proposals along these lines can be found on Kahan's web pages.

Making this happen is a big job. Kahan is likely to be dead before it's finished. So go and make it happen.
That doesn't capture the type of the original example.

BitSet(1, 2, 3).map { _.toString + "!" } // returns Set[String]

The Scala code here starts with one Functor (BitSet) and returns a different Functor (Set), depending on the type of the function (in this case, Int => String). If the function had type (Int => Int), it would still return a BitSet.

The signature for fmap does not encode this flexibility.
You've obviously never been harassed by the police. I was driving home from a late night study session in college and was pulled over. I was completely sober, and knew I had done nothing improper. The cop told me I touched the white line and I told him no I didn't. Then he proceeded to interrogate me about where I had been, where I was going, etc... After a few minutes of this charade I told him either write me a ticket for something I didn't do or let me go because I needed to get to sleep for an exam the next day. He then told me that he could keep there all night while waiting for a warrant to search my car, so I might as well let him search it.

At this point, I really needed to get this done with so told him to get ahead. I had a small cab pickup truck at the time and figured this shouldn't take too long. Him and his partner then took all of my stuff out of my car and placed it on the hood. They found a small pocket knife under my seat and tried to make a big deal about 'you said there were no weapons'. Yeah, okay. So, after all that and almost 2 hours of my time they got in their car and drove off leaving me to clean up all my stuff in the dark that's now sitting on the hood of my car.

This incident (and yes, I have others) happened over 10 years ago, and it's apparently only gotten worse. So yes, what was said is a reality.
This article suggests that it is Groupon's fault. Nothing could be further from the truth. Not even the most aggressive account executive could force this plan down the throat of a business owner. They solely elect to proceed with a Groupon promotion or not.

The fact that it was so successful is hardly a negative for Groupon -- quite the opposite, in fact. It suggests instead their command over marketing capabilities and their eager customer base.

This business owner should have worked with Groupon to design a promotion that covered costs - so that this wasn't so financially damaging.
The Hushed Dangers of Startup Depression
This looks really interesting, but I'd love to hear from someone knowledgable in the physics of terahertz radio waves. There are often trade-offs involved with the frequency you choose. For example, 2.4 GHz just happens to penetrate common building materials (reasonably) well. The 5 GHz spectrum for 802.11n doesn't work as well in many cases.
Don’t Keep Your Social Media in a Silo
http://investors.dressrush.com/

http://squareup.com

http://feefighters.com (go through the funnel to see what I mean) and their other page http://samurai.feefighters.com

http://andyet.com
Google Is Focused On Site Speed
3 Tips for Managing Your Social Community
Grosir Kaos Polos Online
Ok, I'm making some assumptions about 3D movies, admittedly. --I just figured that the only reason anyone liked Avatar was because the 3D effects made up for the horrible plot. At least, that's the only reason I can think of for why anyone would like it.
Second, I think most American drivers are reckless.

I'd stay away from Latin America if I were you, then.

I feel like your "solution" is mostly just making a moral point, and doesn't accurately reflect the amount of risk the voting public finds acceptable.
Or maybe he's keen for a challenge.

Sometimes it's better to work for a company that sucks at what you're good at, because there can be greater opportunity to improve things and be rewarded for it.
This is terrible logic. Why is this on HN?

1) Speeding is not a crime.

2) The 112,000 or so tickets given each day add up to over 41 million tickets per year – that’s 19.5% of the populous! -- NO it's NOT! He's totally disregarding the fact that some people are repeat offenders.

3) Just because something's popular doesn't mean it's right. Any argument that relies on normal distributions to determine what should be illegal should be considered flawed from the outset.
> I'm quite sure you're just trolling but I'm curious to know why you think the first two are leeches but not the third.

You're by definition a leech when instead of being allowed to go bankrupt you're feeding on other people's money (so called "Government support").

That's not how banking got started back in the 15th-16th century, I never read of the Genoa bankers for example asking Philip II "hey, why don't you let us rob you of your South America gold?", as far as I know it was the other way round (Philip II screwing the Genoese bankers). But then again, back in the day we didn't have main-stream media Keynes-ian supporters saying things like "if we dont' give our money to support the banks the whole system would come crumbling down".
I used to work at an Apple retail store and I empathize with your frustration.

With respect to the line idea, we trialed that and found it to be a disaster. You see as the apple store is so packed we quickly found the line going out the door. This clearly signaled to all who walk by that they should not come in.

We make the best we can of a great(profit)/bad(wait times) situation.
If you don't like the other guys numbers back them up with your own. Don't just go nuh uh. From the post, Android is at 55% market and 1:1 installed base with iOS so.... nothing.

He just doesn't like that iOS had a 1 year headstart on Android and had 3 months longer to get App store sales (july-september).
I think it's mistaken to say that you "forced" the government to apologize. There was no use of force, or coercion. I think it's very important to maintain the distinction between forced action and chosen action in societal/political discourse.

That said, this is just a minor nit in the grand scheme of things. I greatly appreciate the campaign you ran and your bringing Turing to greater attention.
... and production is 3-4 years out. So cost, speed and availability predictions need to be taken with a large grain of salt.
Scheme has a really simple syntax but wouldn't this code be a little more readable with separate lexing, parsing, and evaluating steps?
Just wanted to communicate how amazing it was to have two of the authors of The Reasoned Schemer (Dan Friedman, William Byrd) there this year. At the first Clojure/conj I was opening up its pages for the very first time. To find out that such a powerful computational model can be described in about ~200 lines of Scheme was a shocker. To find out that it is also efficient was just unbelievable. I'd been doing Clojure for two years already I don't think it really hit me what Lisp had to offer until I spent nearly 6 months understanding those mere 200 lines and reimplementing them in Clojure.

Having Dan and Will around to bounce ideas off at the Clojure/conj was simply incredible. One thing I've disliked about the miniKanren system is that many finite programs do not terminate depending on where the recursion occurs. Dan & Will have been working on that problem for 8 years.

Being the unprincipled fool that I am I decided to tackle this problem head on. Over the past weekend I implemented a version of miniKanren that not only terminates now for an incredible number of programs (it implements fair conjunction), but it does so without sacrificing miniKanren's excellent sequential performance when you so desire it.

So for me, yes modern programs should be written in Lisp. We don't even know what modern programs should look like yet :)
I don't agree with this.

What you describe is rumination. Rumination has been demonstrated to be beneficial in resolving problems. Depressed people ruminate a lot, and I remember seeing at least one article (don't ask for a reference - I don't remember where) that claimed that this was because rumination worked as a tool to get us to focus on resolving a problem.

Rumination is an indication of focus, not of a wandering mind, even though it might superficially seem like wandering because we turn to rumination all the time whenever we have "spare cycles" and there is something important on our mind.

Meditation might also affect rumination in that it changes your mindset and a lot of the things that you previously thought was massively important and worth ruminating about start turning into inconsequential non-events to you, but that's entirely separate from reducing "wandering", and meditation won't stop you from ruminating on things you really care about (though it might train you to be more focused on when you do it and not let it cut into your relaxation, for example).

But what I at least think of as the mind wandering is the type of random chatter that leads you to go check Hackernews one second because it popped into your head that you hadn't checked it for five minutes, and leads you to grab a snack the next because you suddenly felt an urge for sugar, and have you sit and blankly dream about that vacation you'd wanted to book a few minutes later.
Yeah I have all those app on my iPhone 4. iMove is useful if I'm out and about and want to trim and upload a video to facebook etc (these apps should really be shipped with the OS), but that's far cry from actual work or real video editing.

The other applications pages, numbers, keynote are severely limited, and really slow and difficult to use. They are OK for viewing documents created elsewhere, but not so much for creating new one.
Who Takes Risks?
Wishbox Released: An Amazing New Way to Get Feedback from Web Site Visitors
Be a Paranoid Pessimistic Programmer
> Bullshit. You just followed somebody else's public explanation.

If you're referring to the stack overflow answer, then no. I understood the signature by learning Scala (by reading a book). Is that cheating?

> Does that mean that monad comprehensions are also beginner friendly?

No, not necessarily. Do you have to understand what that even means to be able to use Scala?
Backbone vs Knockout
I think the idea that a law which criminalises a majority of the population is invalid stems from the following logic:

1. Governments are supposed to represent the will of people
2. People would not want a law which criminalises them
3. By 1. and 2. any law which criminalises the majority would be rejected by a perfectly efficient government (where efficiency being the minimisation of overall dissatisfaction with the legal state)

I am not sure I agree 100% with 1 or 2 (Self interest and tragedy of the commons poke slight holes in each)

However the notion of a country where 51%+ of the people commonly committed murder is so far removed from our cultural norms it's a baseless comparison.
Haskell has typeclasses which would probably correspond to structural typing in Scala. This type signature:

Functor f => (a -> b) -> f a -> f b

Defines map for any type that implements the type class functor. Lots of types will implement functor and it is easy to implement it yourself.
The code is open source (GPL3), feel free to fork it from github and modify it.
By 'schemes', do you mean hardware support? Because if not, using floats will be much much faster, in my (admittedly fairly limited) intuition.
clasio better than classic! really? clasio is not a good name....it simply presents too many spelling problems.
"Besperk, Ogmerk, Oyake, Verloop"

I worked for Revivio. I worked for SiCortex. I can handle bad names, but these are names I'd only use in place of swear words. "This code is ogmerk. Go besperk yourself." If you used these names too often around prisoners of war, you'd be violating the Geneva Conventions.
they began most tasks with a search on YouTube

This really underlines why buying YouTube was a smart move for Google.
Wild Chords
How Israel turned itself into a high-tech hub
Never Anger Your Web Developer (Check The Source)
A cloud service would be nice for a pretty frontend, but isn't at all necessary. iSSH + Dropbox + home server with full LaTeX installation = typography-fu.

Many people seem to think that tablets functioning as "laptop replacements" means duplicating all laptop functionality on tablet hardware. I take "replacement" to it's full meaning, in that a tablet allows you to develop on a server while making no compromise on portability.

If you wants to carry around the full LaTeX installation, you need a laptop. If you want a laptop replacement, you can't expect to not replace your way of working.
It's exactly the same for me.

I just tool along in the right lane at 5 mph under the limit (US) and all the traffic passes me on the left. I pretty much never have to react to anything, since everything in front of me is moving away from me. I set my cruise control at what I've read is the optimum speed for fuel economy on my car, and I feel like I use 2/3 as much gas.
All you need to do is read the location that pointer points to as an atomic operation. So allocating a 50kb string would work in the same way as long as you could store it in a specific processes memory.

PX a=(0x00010001) //which points to 5
P0 x0=a=(0x00010001) //which points to 5
P1 y0=a
P1 pointer y1=0
P1 y1 = malloc(sizeof(int))
P2 x1=a=(0x00010001) //which points to 5
P1 *y = *y0 + 1 //aka 6
p3 x2=a=(0x00010001) //which points to 5
P1 a=y //you could do a lock to verify that a == (0x00010001) but if you don't care about dirty writes then then you can also do this as an atomic operation.
p3 x3=a=(0x00030001)//which points to 6

And once x0,x1,x2 stop pointing to (0x00010001) you can free that memory. The assumption is xN and yN is a process specific local variable preferably a register.
Manufacturing bombshell:  AMD cancels 28nm APUs, starts from scratch at TSMC
> Second, I think most American drivers are reckless.

> I have a solution, but most Americans don't like it.

I'm fairly certain that poor driving isn't limited to Americans. Why call out them, specifically?

> An average level of patience, skill and focus is simply
> insufficient to safely operate a car.

You have research to back this up? What's considered "average"? What's considered "safe"?

> Require an expensive and hard to obtain license for driving (akin to a
> pilot's license, since cars are statistically more dangerous than planes
> anyway), and drastically increase public transportation to accommodate the
> increase in non-drivers.

Making something more expensive makes it more exclusive, but only to people who have money. Making it hard to obtain doesn't ensure that unsafe driver's won't get one, just that they'll go through more trouble to get it.

If you remove drivers from the system, you also remove a source of revenue for the city in violation fees -- speeding tickets, moving violations, parking meters and tickets, etc. So your plan is to decrease revenue while drastically increasing the amount and quality of public transportation? My city can't even operate a municipal bus service properly, and that's at current revenue levels.
Online Biz- Help I Keep Purchasing Bad Internet Marketing Products
It's actually sort of interesting how much the field of eye care has improved in my lifetime:

I was a year and half when I had surgery to shorten one of the muscles for my bad eye - they thought it was just a lazy eye.

When I was 5 I used to have to wear a patch over my good eye for an hour a day because the doctors still thought my other eye was just lazy and that I could be "trained" to use it properly.

At 6 we traveled 4 hours to Seattle to see an eye specialist at a hospital. It was a full day affair and I had to spend most of the day in a dimly lit playroom because my eyes were kept dilated so they could take multiple pictures. This is when they actually figured out that there was more going on, and decided what parasite actually caused the damage (I still can't remember the name of it).

15 years ago I went to an eye doctor who took another picture of my eye. He wanted to show the image to others because he had never seen anything like it.

Even 5 years ago pictures of the eye usually meant dilating it and putting in a dye so they could get a clear image.

Today I can go get an eye exam and they don't even need to put dye in my eye to take a picture. --Other tests still need the dye, but at least I haven't had to have my eyes dilated for around 3 years. And, of course, the images are stored online so they can quickly load them up and compare them to make sure nothing has changed.

If this sort of progress continues, I figure there's a chance that they'll come up with something that can give me vision in both eyes before I'm too old for it to matter. :)
Second Mindfulness in Plain English. It is excellent, and though written by a Buddhist monk it is for the most part careful about separating the (little) material on Buddhism out as mostly contextual information, and point out that it is not necessary for the meditation practice itself.

I also recommend a series of podcasts by Gil Fronsdal at Audiodharma called Introduction to Meditation: http://www.audiodharma.org/series/1/talk/1762/

It covers largely the same approach as Mindfulness in Plain English and fits great in with the book. It contains a series of short guided meditations.

It is also "cult free". While Fronsdal is Buddhist, he deliberately makes fun of how being a Buddhist or knowing much about Buddhism isn't necessary, for example by pointing out how mindfulness meditation is being taught as a stress reduction technique at places like Kaiser but "without mentioning the B-word", and that's about the full extent of the mention of Buddhism in the recordings.
Not necessarily. If you're a big consulting firm, then your entire profit could come from landing contracts. How do you land contracts? You play social games. As for doing the work, that's why you hire subcontractors and send off a few people to supervise.

This allows you to take on a lot of projects whilst still maintaining a strong sales force to bring in new projects.