skysight-inc/HackerNews huggingface dataset:
Ah sorry tabrischen! The idea was Hack Reactor tasked us with presenting a topic of our choosing, but we were only given 5 minutes to do so.

So I'll try to go into more details for you!

The Vipassana tradition I've been taught in includes three techniques:

* Concentration meditation, called Anapana, where you observe your breath. Just watching the rhythm in and out. Trying not to miss a single breath. It helps to focus on just a very small region, like the triangle from your nostrils to your lips.

* Insight meditation, called Vipassana, where you observe the physical sensations in each part of your body, in a systematic way, from top to bottom and bottom to top. This is pretty tricky, especially at first, and believe it or not took me over 80 hours of practice before it really "clicked". If you're trying to teach yourself, I'd recommend the ebook Meditation In Plain English, linked in the post.

* Loving-Kindness meditation, called Metta, where you generate good thoughts and compassion towards yourself and others. This one is even trickier to explain! Wish I could do it justice. But it's super powerful, and especially nice way to finish after practicing the other two techniques, which can leave you feeling a tad 'raw'. There are lots of different recommended ways of practicing Metta, but I'd recommend searching for "Metta meditation" for videos and other descriptions.

Hope this helps! Thanks for the question and I'm happy to do my best with any more.
Ask HN: Tips to build an OpenBSD Thinkpad for airgap use?
I'm interested in setting up an airgap machine. My gut says I should run OpenBSD on a ThinkPad and just figure out all the dependencies. Tails sounds good too, though that's a slightly different problem. I want a permanent system. I just don't want it on the network much and I do want it to handle protocols well. Seems like OpenBSD is the way to go in that regard. But then, I'm definitely not an expert.

There are any number of gotchas to managing an airgap machine though, and there are any number of problems with installing a new OS on a laptop. Wanted to solicit for opinions while I wait for my copy of Absolute OpenBSD to arrive.
It really is worth careful and thorough study. Apple has mastered 'marketing' on such a deep level.
Although a sweet story, there's an underlying message here that's disappointing; this type of genuine kindness shouldn't be newsworthy.
Android across the industry generates an order of magnitude less revenue than iOS apps so don't be surprised if you don't see as high figures.
I genuinely wanted to be pulled out of high school. I don't know how it was in your day, but at this pint in time high school is about passing, not learning.
Thank you for bringing sense and reason to the discussion.
tks, cool tut
Flappy Bird clone in under 20 lines of code; about 1kb: CrappierBird
A Vim plugin to search for a word in your system dictionary
Terminal game to test Git skills
I think python is a great language for this type of programmer. The batteries included is great, the other day I used it's built in csv parser to process my exported bank account transactions.
until they put the speakerphone next to their ear, perhaps
Wow. They even wrap the source packages, and the portable ones.

Bastards.
Habits are easier to form if the person somehow derives a sense of enjoyment from it, or if there isnt too large of an obstacle, or if it's subconscious. Even if you live next to a gym, going there means making the effort to change to gym clothes, break from your usual routine and take time off - time that you couldve used watching tv for example.

What would help is if the act of going to gym does not void you of your usual joys. For example, if you were to watch a tv show, watch it at the gym while you're working out. Like hanging out with friends? Bring one to the gym with you.
Show HN: ImageTweet – tweet longer messages using Images
> Kill Your App Any Time

I'm rather shocked to see the EFF linking to the horribly wrong old Telegraph article about Steve Jobs purportedly confirming that there was a kill-switch that would remove apps from iPhones. At least as of the time that was written, that was not true. The referenced "line of secret code" (hyperlink is broken), IIRC, was actually referring to a CoreLocation blacklist, not an application blacklist, with the intended usage being to be able to disable GPS functionality in certain regions if local governments demanded it, and that blacklist never actually ended up being used and was removed entirely in a future OS update.
After personally meeting quite a few people (the unusual suspects...not teenagers) develop a serious addiction to the opiates that were prescribed to them... I would have to say we might want to reevaluate how things are done.
LoVe marriage SPeCiALiSt baba on android issue tracker
Do you have a link to the actual paper? I couldn't find it, somehow.
New smartphone battery recharges in less than two minutes
The White House's non-response on the two-year anniversary of Aaron Swartz's death shows why these petitions are not only flawed, but should be avoided by people who actually care about political or policy change.

Look at the nearby discussion: Instead of asking why Carmen Ortiz, who's been in her current job for nearly six years, is still there, we're debating the terms of use of the petition site. Instead of wondering why a law originally designed to protect NORAD was used to drive Aaron Swartz to suicide -- despite his JSTOR "victim" never asking for a criminal prosecution -- we're reminiscing about other, equally useless, petitions in the past.

I admit it's a brilliant move by this administration (to be sure, Rs would do the same thing). Instead of having people sign up to be members of EFF or ACLU or TechFreedom.org, which will send email alerts when legal fixes like "Aaron's Law" are pending in Congress, people slap their names on a petition that results in a committee-managed non-response on the two year anniversary of his death.

Imagine if even 5% or 10% of the 61,179 people who signed that petition instead organized rallies in their cities, or a kind of Leave The Internet Alone rally in DC. That might or may not accomplish something; it surely would accomplish more than signing the petition did. (You could wrap in a bunch of related topics: DMCA/copyright reform, NSA reform, CFAA reform and more.)

I'm sorry if I sound frustrated. I spent hundreds of hours interviewing folks involved in the case and reading court documents about the Aaron Swartz prosecution while I was at CNET before leaving to build http://recent.io/. What happened to him was a tragedy, but Carmen Ortiz will leave for a seven-figure law firm job at a time that's convenient for her, and an effort in Congress to fix things actually coughed up a bill to make current law worse:
http://www.cnet.com/news/aarons-law-rewrite-backfires-reform...

If you're interested, here's a detailed piece I wrote about the federal anti-hacking law Carmen Ortiz wielded against Aaron Swartz, and how it was never originally intended to cover what he was accused of doing:
http://www.cnet.com/news/from-wargames-to-aaron-swartz-how-u...
> he is clearly biased towards Snapchat

You've repeated this many times so it must really have struck a nerve with you but it's not like this is a recommendation for SnapChat. He thinks it's the most used and he states so, I really don't see a problem with that even if he is best friends with the CEO.
Petrobras is very close to 50% owned by the public, but okay. There's plenty of other examples including the IT systems of various private firms around the world, Stellar, Cetel, IABG, Huawei, Deutsche Telekom, even some multinational companies based in the US.

> What was done to Sony is entirely different as well - this was a clear effort to cause damage to them, not a means to gather intelligence.

100% agree. It is very different and establishing boundaries here is an important keystone to US cyberwarfare norm efforts. Unlike other posters I would separate sabotage from 'corporate doxxing' - Stuxnet then is very different.

> broadcast services are only legitimate targets for attack under the Geneva Conventions if they are of fundamental military importance

Which depends on the perspective - as the State Department was involved with SONY in the development of "The Interview" and the US is well known for international propaganda, I could well understand if another nation state considered the private company partners to be an extension of fundamental military importance (and certainly the US considers it a keystone of international efforts and calls it "Psychological Warfare").
You're right - my bad

http://www.nytimes.com/2014/11/02/magazine/the-biggest-ship-...
You're right about normalizing the user preference vector: not strictly necessary. Still if we're normalizing bounty vectors, it feels right to normalize everything :).

Another variation that I was considering is to generate 'user clusters'. In Mark Vector Space, divide user vectors into N groups such that the net variance across all clusters is minimized. Then when a user, for which there is sparse data, needs contextual information from other users, I could simply ask how correlated he is to the different clusters. If each cluster's 'center of mass' is a vector, the dot product between a new user and the different cluster vectors could be informative in reconstructing suggestions: the idea being to infer from similar users what a particular user might want.

I was also wondering whether adding a stochastic component to each user-vector would be interesting.

Thanks for the feedback.
I don't understand their position on DRM here. It makes no sense. The EFF is complaining that the DRM required by the App Store is onerous and puts restrictions on what users can do with their app, and says "we want them to be broadly available to others to use, adapt, and customize".

But that's nonsense. If the EFF hands me a binary for an app, it hardly matters whether it's DRM'd or not as long as I can still run it. The extreme minority of people are capable of doing anything remotely interesting with a binary without access to source code. If the EFF wants people to be able to adapt and customize their app, all they have to do is release it under a permissive open-source license.

In fact, if this really was a purely moral stance, they could have developed the application and released the source without ever publishing it to the App Store, thus allowing users to compile and use the application themselves. But they didn't do that. Instead, this seems to just be a flimsy excuse for the EFF to make a bunch of noise about Apple in order to drum up some PR.
Nice that one does not have to deal manually with that on each boot :)

The stuff that just happens to get stuff working is amazing.
Yes, the fighting words doctrine requires that the fighting words be communicated in person to a particular person (not in a newspaper).
Well, "getting" a social medium is not about understanding the data model.
From 'WarGames' to Aaron Swartz: How U.S. anti-hacking law went astray (2013)
I think the parent commenter's question was whether it would be illegal to publish something that was the subject of a credible terrorist threat, not to make a credible terrorist threat. You addressed whether people are allowed to make threats (no) rather than whether the government can use the threats as a reason to prevent the thing that is the target of the threats (generally also no).
So basically they used tags, welcome to 2004
>sleep becomes optional

Do you have a non-anecdotal source for that claim?

tx
So wait, does Apple have or do they not have not the same kind of kill switch functionality (read: either remote uninstall, or cert revocation -> app no longer runs) that Google definitely has and has demonstrated on a few malware apps?

Example: http://www.engadget.com/2011/03/06/google-flips-android-kill...

This article makes direct reference to such a function: http://www.businessinsider.com/brazil-orders-apple-to-use-ip...
Hi,

Here is a quick and easy way.Index all the user locations into a elastisearch instance and as soon as a user opens up the app , fire a near query on the elastisearch with users current location as input and get all the other users within a specified distance as json from the elasti instance.

This should help you http://www.elasticsearch.org/guide/en/elasticsearch/referenc....

The second option is to use mongodb for the same, but the first solution is much easier and faster to implement.
Wearing LG's webOS smartwatch made me happy
GE claims 0.23mm spacial resolution across a 160mm span in 0.28 seconds if I understand correctly [1]. This would be about 695^3 voxels. Seeing the example captures [2] I guess the device can scan multiple volumes in a row to cover larger spans.

[1] http://www3.gehealthcare.com/en/Products/Categories/Computed...

[2] http://www3.gehealthcare.com/en/Products/Categories/Computed...
Not, rather
Please do not conduct religious flamewars on Hacker News.
Good point. I found that changing what I was doing was a massive help. For instance, I don't enjoy running, so I started reading up on Stronglifts / Starting Strength and got into weight training. I log what I do on Fitocracy to track personal bests as I tend to get addicted to quantified life type stuff.

Replace weights with sports (especially group sports where you are accountable to others), cycling, running or whatever you enjoy.
That's exactly what I thought. When I read the translation I thought they were telling the hostages to not get into trouble so that they would not be chained up to a tree by their neck or otherwise handicapped. If I was in that situation I would have interpreted the exact opposite of the messages.
But the VideoCore IV is kind of a weird vector processor, there's still a lot of official documentation we don't have, there are those ring buffers, you have to wake the—

Oh, you meant the ARM? Oh, my, no, the Pi doesn't boot from that. The ROM loader starts the SDCard and loads BOOTCODE.BIN to the VC4 with cache-in-RAM mode; that's its equivalent of the bootblock. The ARMv6 isn't even turned on until the next chain later (used to be two, from memory?).

So, you know, if you fancy a much more fun, more advanced, challenge, it's right there waiting for you, under the crust. Have fun. Let me know if you find a diagonal vector addressing mode or a good way of shuffling words! <grin>

(PS: There is actually someone at Broadcom working on open-source firmware for the Raspberry Pi, or was last I checked. They're going to have to rewrite it: the ThreadX RTOS they used is commercial. But he has firmware documentation, at least. You have… some of it.)
> 9p works from OSes other than Linux; there's a driver for Windows as well.

Do you have a link to the Windows virtio 9p driver? I'm not aware of such a thing existing.
>19 people rescued. You're next. Don't lose hope.

Me : I think it should mean, you might be the next to be rescued.

>If this message had any tangible effect, why aren't there any first hand accounts from the hostages explaining what they did differently as a result of hearing the message?

From the article : In his military psychological evaluation, Col. Espejo says that the soldier spoke of hearing "the code hidden in the song," and revealed how the message was passed from soldier to soldier. The song was even enjoyed by the FARC, who were oblivious to its secret message. "It makes me very happy to think of the hostages listening to our song," Ortiz says.

From the article : Someone who is a hostage, for over a decade, would think there is still hope. But I too find the article lacking in this.

> who understood it were some of the hostages? This just proves the point that it's un-actionable.

From the article : Operation Chameleon — a sixth-month operation that involved 300 government soldiers and secret raids. Because the FARC shoots hostages dead at the first sight of a military invasion.

From the article : Espejo reasoned, "The FARC were peasants from the fields, they wouldn’t know [Morse].

> But they're trying to make it sound like a big intelligence or military coup, which it is not.

Me : No, they are not. It's an extension of Operation Chameleon - That's what I think.

> If the government claimed that the message was simply a way to make the hostages keep up hope, then OK.

Me : Exactly, but it's an understatement. For those who are suffering, this news would mean a world to them.
A few years ago, Charlie Hebdo fired cartoonist Siné over a relatively innocuous joke about Jean Sarkozy (the son of then president Nicolas Sarkozy) planning to convert to judaism in order to marry into the family of the founders of supermarket chain Darty. Siné's quip was basically a direct quote of a comment by Patrick Gaubert (a personal friend of Nicolas Sarkozy's and the president of LICRA at the time) but since he had added a sarcastic bit to the effect that the young boy would have a bright future, Charlie Hebdo's editor-in-chief decided that it was an unacceptable display of antisemitism and could put the newspaper at risk of lawsuits. Therefore Siné had to be let go.

That's only one example for sure, and things may have been a bit different after Philippe Val left, but I don't think it's fair to say that Charlie was even-handed in the way it targeted its gushes of vitriol, and even less so that they were principled champions of freedom of speech. Like most French people across the whole political spectrum, they were stauch supporters of speech-they-agree-with.

None of this detracts from the horror of what has happened of course. I just thought I would mention that the popular "uncompromising beacon of freedom" narrative might be a bit too simplistic.
From what I gathered, the idea was supposed to be that when fighting broke out, the hostages would know that the fighting was a rescue mission and be able to act accordingly. Imagine if there was just suddenly fighting, with no context; hostages would /know/ the FARC was on edge and would be extra careful not to try anything stupid and get killed. However, with this message, they would know that the fighting is a sign of a rescue mission and try to escape.
If the EFF didn't develop the application and release the source, what exactly is this: https://github.com/EFForg/actioncenter-mobile

And quoting from the README: "Although it works on both iOS and Android, the app is only targeting Android as of today. If you need to deploy to iOS as well, please check out the Ionic docs or contact the project maintainer for help."

What more do you want?
JsAction
Raznama
A Restaurant Just Banned Tips and Employees Are Thrilled
Awesome! And it works for 1000 photos? How long did that take?
Evernote's Web Clipper. Select the info you really need to remember or the entire article/page, and it'll be saved along with the link and any notes/tags/whatever you add. Lets you store more data than standard bookmarks, and takes away the risk of link rot since the important info is saved on your computer. Plus it works practically anywhere.
It doesn't seem that they will have to contribute them back, just possibly, use the same license (which is possibly equivalent/just as bad):

> You are free to copy, distribute, transmit and adapt our data, as long as you credit OpenStreetMap and its contributors. If you alter or build upon our data, you may distribute the result only under the same licence. The full legal code explains your rights and responsibilities.

http://www.openstreetmap.org/copyright

Although IANAL, and it's not clear to me if rendering an independent set of data on top of the unchanged OSM data layer (i.e. effectively render two maps, on with some transparent sections) counts as building on top of the OSM database. So maybe they wouldn't even need to use the ODbL for their own data.
Just Released Alchemist v0.12.0 – Elixir Tooling Emacs Integration
Linking functions; but also minimizing scope creep, API changes, opinionated libraries with a questionable lifespan, bit rot, and versioning woes (eg. a major change in to-dash-case may not represent a major change in to-camel-case).
last year, while having dinner with a friend, he asked me how to create a copyright system for artists, such that they can monetize their works based on the number of times their works have been used. I then had exactly the same idea. but later on I gave up, because although the block chain could prove who is the author of certain work, but it won't prevent the work from piracy.
Lazy to use zeroes, yet, pretty active downvoting.
> A consensus database that is replicated completely across all nodes acts more like a public square than anything we've seen before on the Internet.

Gnutella. 15 years ago.

http://en.wikipedia.org/wiki/Gnutella
Also found a nice ebook "xv6: a simple Unix-like teaching OS" elsewhere on that site.

[1]: http://pdos.csail.mit.edu/6.828/2014/xv6/book-rev8.pdf
And yet Christians have it so right...

"Now it came about after these things, that God tested Abraham, and said to him, Abraham!' And he said, 'Here I am.' And He said, 'Take now your son, your only son, whom you love, Isaac, and go to the land of Moriah; and offer him there as a burnt offering on one of the mountains of which I will tell you.'"(Gen. 22:1-2).

Remember that religious texts are mostly proverbs. These events most probably didn't actually happen, they are trying to communicate moral attitudes via stories... a little like Winnie the Pooh and Friends.
Actually, not really.
How to Perform Dynamic Web Scraping and Data Extraction?
You do realize that significantly more complex software has been written for decades without the use of generics, right?
Apple has never demonstrated such a capability, and has never confirmed it either. Pretty much everyone claiming they have it (including the linked Business Insider article) sources back to the same thing in 2008 which was the CoreLocation blacklist I referenced. To the best of my knowledge, in 2008, Apple had no way to remotely delete an app from a device. And I'm not aware of them ever gaining that ability.

What Apple can do is remove an app from the store, preventing anyone from installing it. But as far as I'm aware no certificate revocation is checked after the app has been successfully installed.
Found this on wiki-

Opioids are being used more frequently in the management of non-malignant chronic pain.[9][10][11] This practice has now led to a new and growing problem with addiction and misuse of opioids.[3][12]

I saw a documentary a few months ago. It was saying how many herion users got first addicted to the medicine prescribed from their doctor. They resorted to herion when they couldn't get more from their doc and they were hooked. They had this doctor saying how back in the 90s drug companies encouraged prescriptions of their pain relievers for chronic pain and talked about how safe they were. They played a few of those ads.

I only caught it in passing for a little while, but is interesting if true.
Is anyone else embarrassed that the text of the petition is ungrammatical and contains typos?
If that actually works on iOS then why didn't they talk about it in the article? It would have been much better PR for them to say that they have a functioning app and the source is available.

My expectation from that README is that Ionic (which I've never heard of before) supports iOS but that the app itself has not actually been configured for or tested with iOS.
I think he means that _using clojure_ (to implement the IDE) is very language specific as opposed to saying "it is based on clojure" or "clojure is cool because X" (which everyone can).
The article comes off as overinflated shit, but Wieseltier's beehive-kicking is sure working here. Perhaps his boot isn't entirely without substance.