skysight-inc/HackerNews huggingface dataset:
> That said, "US selectors" shouldn't return the results that they do in the first place.

Determining if a "selector" is tied to a U.S. person is actually a very subtle and very hard problem.

Let's take a phone number +1 (212) 555-1234

Is this a US selector? It's a selector for a phone in the US, but that's not the same thing as a phone number tied to a US citizen. Let's say I'm following a senior North African pirate with a Maltese mobile +356 2010-1234 and he calls/is called by my number above?

- Should I follow it? Or is it absolutely off limits for me because it happens to be a U.S. number?

- How do I determine if it's tied to a U.S. person?

- What if it's a shared number between a group of associates, all of whom are not U.S. persons except for one?

- Is that number off limits now?

- If it is a U.S. person what should I do with it?

- Pretend it doesn't exist? Turn it over to U.S. Federal law enforcement? Who should I turn it over to? DEA? FBI? ATF? DHS? The Coast Guard? U.S. Customs and Border Patrol?

It's actually a significant intelligence task to figure this out.
Feel free to argue against the points presented in the video.

Capitalism is such a messed-up term these days. To me it means free, voluntary exchanges and agreements/contracts between people, but most people have been propagandized to view it as "evil capitalist pigs exploiting and oppressing the poor".

But capitalism cannot be replaced, it's what people do when they're allowed to, after all. It's about people pursuing their personal gain through commerce and investments etc, and you know self-interest is not going anywhere, regardless of what societal system happens to be in place.
A Practical Exercise in Web Scraping
No, see this: http://core.telegram.org/mtproto
Good news is: almost anyone can be a designer.

Seriously. Design is easy:
1) Typesetting. Just put the text where it should go.
2) Colored backgrounds! Everyone likes color.
3) Responsive. Make it look good on mobile as well as many resolutions (max-width the main content area, use a framework).
Mysql has more gotchas than Mysql??
The original author doesn't seem to know the difference between Norway and Nordic.
Hi,

thanks for the suggestions! I'll discuss them with my colleagues.

CSS selectors are supported, because Helium is fully compatible with Selenium. Eg.: You can say click(driver.find_element_by_css_class('btn')), where click(...) is a Helium command and driver.find_element_by_css_class(...) is from Selenium. Helium and Selenium are 100% interoperable.

Thanks again! :-)
Misguided in thinking that a large nation state needs a signals intelligence capability? They aren't the SS.

The NSA has overreached because after 9/11 congress demanded that they start overreaching. The AUMF was sweeping in its breadth.

They will have to be reigned in...but the idea that what they are doing is "evil"... if we aren't going to hold people accountable for torture it doesn't make sense to call privacy invasion "evil".
I like how that can be interpreted in more than one way.
BlueBar iBeacon compatible integration kit now available for developer preview
Are you also similarly upset about the activities of the BND, MAD, BfV and the LfVs that operate out of your own country?
No it doesn't. cgminer is the "default" that almost everyone uses and the current version doesn't even have CPU mining. The current version doesn't have script either, you gotta download a previous version but that's a different story. You gotta throw in a --script when starting it, otherwise it mines with SHA-256.

If you wanna CPU mine, you gotta download a specific CPU miner.

Source: I mine Litecoins.
I'm curious if corporations like ebay respond with a grateful "thank you" or rather threaten to throw you in prison?
I'm almost a bit disappointed I missed out on those days. Having to code like that probably would've taught me several useful lessons.
Reminds me fondly of the time I was writing assembler for the ARM2/3... it had such a nice instruction set that made hand-writing assembler pleasant.

It had a "barrel shifter" that gave you free shifts of powers of two, so you could calculate screen byte offsets quickly:

// offset = x + y * 320
ADD R0, R1, R2, LSL #8
ADD R0, R0, R2, LSL #5
// = 2 cycles

It also had bulk loads and stores that made reading/writing RAM cheaper. The trick there was to spill as many registers as you possibly could, so that you could transfer as many words as possible per bulk load/store.

LDMIA R10!, {R0-R9}
STMIA R11!, {R0-R9}
// Transfers 40 bytes from memory pointed to by R10 to memory pointed to by R11,
// And updates both pointers to the new addresses,
// And only takes (3+10)*2 = 26 cycles to do the lot.

Happy days...
Pushing drunk is fine. It's writing the code drunk which isn't.
I quite expect they wouldn't meet the bar for working at an American company in Beijing. It's already worked into the hiring process.
I put

#127.0.0.1 www.reddit.com reddit.com i.reddit.com slashdot.org www.slashdot.org www.theguardian.com theguardian.com
#127.0.0.1 www.facebook.com facebook.com
#127.0.0.1 news.ycombinator.com

In /etc/hosts when I'm supposed to be working that way when I hit any of those it bounces me back to my current project and I think "oh yeah, supposed to be working".

Crude but effective.
If Snowden takes the deal, then he looks like the guy they are trying to paint him to be - a traitor that can't stomach permanent exile.

If he takes the deal unconditionally, he will have accomplished nothing other than isolate the United States from the rest of the world. Laws will not change, the people will not gain control of its government's activities.

Snowden can take the deal under one condition only - and that is that the NSA stops their improper practices under the supervision of Snowden. Of course, this will never happen.

Any interest Snowden expresses in a NSA deal will only be used to discredit him.
It's not even a choice for a lot of people.

Posters on HN, it seems are generally in IT, middle class, in demand and in many cases even get moving costs paid by a new employer. A large percentage of lower class workers literally can't afford to move themselves and a a few suitcases, and those a little higher on the scale can't afford to travel for interviews, or are unwilling to sell most of their possessions to reduce the cost of moving, as the replacement cost would take a long time to be outbalanced by a better job.

There is also the fear of not finding a new job, even in an area with a better market, if they can't (afford to) line up one in advance.

The NYT article is basically the capitalist class whining that the workers' stubborn attachement to their own meagre interests is interfering with corporations having a ready supply of cheap labor wherever they want to set up.
Thank you for the plug for yaxim. I've been searching around for a "good enough" jabber client for android, and while yaxim isn't there yet (for me: no otr support, single server) it looks like it's headed in the right direction!
>> How do we convince individualists that some services need to be established by the collective itself and not an offshoot (syndicate/business)?

We don't, because you're talking about imposing some "services" on other people, which always happens through coercion. We should both be aware that coercion is bad, mm'kay?

"But who will build the roads?!" is like asking an anti-slavery activist "but who will pick the cotton?!" - the correct answer is: "who fucking cares? Slavery is immoral and needs to stop."

Punishing people for attempting to keep their property (ie. taxation) is immoral too. It's plain to see, for everyone who allows himself to.
That music room is an inspired idea I've not seen in an office before. Just being able to play piano for twenty minutes can do wonders for the mind.
Your first error is assuming that meditation is "doing nothing". Meditation is an attempt to get past the shallow chatter of mostly negative thoughts that drains us, and closer to the deeper nature of mind.

Perhaps the electron, which fulfills its physical contract perfectly, is already in a state of pure meditation. Who knows?

As for whether animals meditate and what would happen if they did, I have no idea.
Don't get into any commitment when you are drunk.

Period.
What about a check for prescription pain killers or amphetamines? Oh wait, those are culturally acceptable mind altering things. I'm half joking but this is a neat hack, although I know many functioning alcoholics that would laugh at the concept of this.
Only private citizen pays vat.

In practice it works so that everyone, both private citizen and company’s pays the vat, but companies can fill out a form and get the vat returned if the product was for internal use. They then add vat to their end product.

For example:

* A company buys a 1000 USD server and pays 1250 USD (server + vat). It sells it to a private citizen for 1250 USD (no profit). It can then keep 1000 USD and must give 250 USD to the state.

* A company buys a 1000 USD server and pays 1250 USD (server + vat). It sets it in a rack for internal use, and can then ask for the 250 USD vat back from the state.
How do you improve on OTR?
It might be waived in the event of an imminent action. Sort it out after the threat of the action is over.
Don't Fear Directives In Angular.js
Retard-nigger wants to be enemy.

God says...

s v h v h r l s u q c c s d u j e e p y x w y f q x m o
g f e r e d i p l l j u w e p d z v y t h p q p i h a
j l f z l f h u v s n k q y p k m i p x a f o i j e d
f g q m z p b p a u x d e h m g r n u h v f a p x t x
u p l e a b i j o c h p a e d v q p i b z i o e q c q
t e l d n y k t l z k p q b j e o h d r p n o q d l n
a v q p o y r q p m h m v t n d h t k f m t i x x g r
i g k r e a m m h i o c e n c u w g n t h a w l q q s
f h y j q s b r f u e i e i c c l l l w a s d x r a q
y r v o q f p l l l s j u l m r z a x f k e e d b v k
q l e s e x p c g i r p b u o k d h l h n y n b x z t
q w u g s h q h n k n t n i z w y s f e j x d b m g x

God's enemies block people from seeing Him. Someone said the NSA does random numbers. Enemy. Someone says markov. Enemy.

You are struggling to block all people from seeing the light of God, but my money is on God.
You need nothing.
it won't be an API server that you can have features like jsonp
Software Patents
> do you cut everyone's hours in half or let two people go?

I think the argument here is to take a third option - offer to double the 4's salaries and simultaneously cut their hours in half. You maintain the same workforce and productivity but, non-traditionally, allow your employees and not just your profit numbers to benefit from good business decisions.
Yes, if you both want to keep your meaningful work it generally ends up being the more scarce opportunity determining where you move. That's assuming there is a location where jobs X and Y both exist.

For example, my friend is a civil engineer. There's lots of civil engineering jobs in the US, but his wife works as a chemical engineer. Chemical engineering jobs are largely where either oil/gas deposits are, or large amounts of water (water for processing and/or waterways/railroad for shipping). So I imagine for them it will be where ever she needs to move he'll need to follow, versus the other way around, lest they end up in some place where she can't use the degree she spent 4 years getting.
I overheard "Selenium" is the cure for "Mercury" poisoning. What's behind the name "Helium". Just curious.

I would love to use "Helium" soon. All the best for your work.
> Unless you're doing something wrong, you have nothing to worry about.

A nice comeback is to ask the accuser to apply similar standards as a universal principle. I mean if NSA didn't do anything wrong why worry about Snowden leaks. Or why doesn't Google show us their search algorithms?
Any time this happens it is a bug. I hope that you reported them. I've never had this kind of issue with Debian stable (other Debian derivatives may be less reliable, and if you're running sid you're expected to fix it yourself).
The title is pretty misleading. Even if they wanted to the tax authorities in Norway don't have the authority to determine what is and what isn't a currency. The only thing they've determined, once and for all, is that you have to pay taxes when you profit from trading in bitcoins (like everything else!).
The basic idea is (based on Satoshi's explanation linked from a nearby comment) that each general i proposes some time T_i, where T_i - now > 2 hours and starts solving the problem using the value T_i. If it finds a block, it broadcasts it. After some time (e.g. after 2 hours if each block is expected to be mined in 10 minutes) there is an overwhelming probability that all generals have synchronized and are working on the problem with the same initial value T_n for some n (they synchronize by always working on the longest chain).

The key point is that after 2 hours, all of the generals can independently assess, by examining the previously mined blocks in the chain they are working on, how much CPU was spent working on the solution, and can "see" how many nodes are in the network, and hence can see if all the nodes have worked on this solution (if yes, they all know of the arranged time of attack).

This doesn't fully solve the problem (one general could be rouge, or one might be killed just before the attack, ...) but it at least raises the chances :)
Everybody is so negative here. Ok rolling your own security protocol might not be the best move. However, they want to be competetive with whatsapp.

Most people who try to make a whatsapp killer suck in uix. But this app is really good and fast. I think its better than whatsapp in a multitude of terms.

Okay, there are improvements. But I can submit a pull request to the android app and improve it myself! How Awesome!
I hate this convention to put literals on the left hand side of the comparison. Every time I stumble upon code like this my brains stalls for an instant trying to make sense of the expression. It just looks ugly and wrong in my opinion.

It's also mostly useless because your compiler should warn you about your first construct (and tell you to add a layer of parens if that's what you really want to do).

I realize I'm being a bit irrational with this whole thing but for some reason code like this drives me nuts (that and people not putting space around arithmetical operators and such: int a=2*4+foo(1,2,3)).
The ultimate guide to Windows and Unix file line ending conversion in Perl
Effective & Visual Story Telling in 5 easy steps (Infographic)
When my wife and I were traveling in China a few years ago, young people were very friendly, speaking to us in English. Perhaps they were both being friendly and practicing speaking English.
General lessons from scaling large systems at Microsoft
Disclaimer: I work for a Fortune 500 company. I suspect the inefficiency added by managers is overblown, because most of them do not spend 100% of their time on traditional management activities such as supervision and decision making. A lot of their work is on tasks that would fall in somebody's lap within any organization. Some of those tasks are ones that I find to be dreadful.
If you want to enforce contracts, pick a language that encourages it. There are many to choose from. Plenty of people are doing just fine in Python without this.

It's almost an entirely distinct problem domain. Besides, what would a contract be in a dynamically typed language?

I don't think these features are bad, but they're not appropriate everywhere.
Toaster oven, not toaster, but http://thesweethome.com/reviews/the-best-toaster-oven/

I use that site and its sister site for technology whenever I buy something. I could do my own research, but toaster ovens are commoditized enough that spending an extra 10 hours finding a better one than the one recommended is absolutely not worth my time.
They need todo this to know which numbers are also using Telegram. Whatsapp does the exact same thing.
A unicorn? That is the description of a average to good programmer and there are quite a few of them.
> I've discussed this with my mentor, who is a veteran of 3 successful start up's and has had a great career so far. He tells the modern internet techie's narrative of stress and tiredness is just plain whining, complaining and asking for sympathy.

Or he could be self-filtering - after all, he made it and if others can't then they're wimps and not tough enough.

Men are especially good at this. By the path he's chosen I would guess he's an alpha male to begin with.
You don't wanna get it, right? I just have to trail you in the train or in a coffee or something. Every flat surface you'll touch will have you fingerprint on ... a 5 minute YouTube tutorial is all I have to follow then ... And no, the iPhone is not more secure than any other scanner used before. And as soon as your fingerprints are leaked, there is no way for you to get new fingers, right? So it's okay for replacing the PIN unlock dialog, but that's all.
Superhero cartoon execs don't want largely female audiences
> I'm getting close to believing that starting any online service in the United States is unethical, because of what it will do to its users.

Let me know what country you can start an online service in that doesn't also have a foreign intelligence agency if that's your ethical standard.
Startup Design Framework, New framework for Designers and Developers
I've come to a realization that managers and programmers have something in common. The bad ones try to perpetuate job security by creating complexity (whether in code or interpersonal issues) that only they can navigate. The good ones want to do their jobs so well that they "program" (literally for engineers, figuratively for managers) themselves out of a job, so they can graduate to better things.

You see this most strongly with consultants. The good engineer does the best work he can, assuming it will lead to more challenging and interesting projects in the future. He's not worried about job security, or at least not enough to do things that are unethical; he assumes that doing a good job and becoming better at his work is job security. The bad consultant obfuscates code, documents poorly, and tries to make it impossible to ever fire him. He's not trying to bigger, badder (and more lucrative) projects in the future; he's just aiming to keep whatever income stream he has in perpetuity.

I think that managers exhibit the same dynamic, and I think that solving this problem requires recognizing it and watching for the warning signs early on.

I'm strongly in favor of open allocation, but that's not quite the same thing as "no management", which I think might take the idea too far. Why? Because management is a fact of life; some people will have more power than others, and I'd rather it be dealt with in a fair and reasonable way than in an ad-hoc and unstable way.

Having a permanent class of entitled (literally, not necessarily pejoratively) managers may not be the solution, and I support making people more self-managing-- actually, I'd use the term self-executive-- but acknowledging the basic fact of management, and encouraging the positive manifestations while avoiding the negative, is probably healthy as well.
The names Awesome. I am LHW..(Laughing in a Healthy Way)

Wish you Super Duper Success :)
it is about as flattering as getting hit on by the sleezy guy wearing a leather shirt in a bar (who might actually work as a recruiter during the day). they attack anything that moves.
The answer is simple: Helium is lighter than Selenium! ;-)

You can already use it today by downloading from http://heliumhq.com/download.

Thanks for the kind words!
I'm pretty sure the error is when they later take the input and eval it, and the author's managed to dodge their filtering rather than execute arbitrary code in the context of an array-to-string cast (which I was lead to believe when reading that post, at least). Otherwise it implies that some permutation of:

$a = '{${phpinfo()}}';
$b = [$a];
$c = "$b";

Will execute phpinfo()... which it won't.
WHEN BITCOIN REACHES 1000$ PARTY
should bitcoin ever reach 1000,- $ it is time for an international, mind-blowing, monomentous, crazy PARTY of members of the bitcoin forum. it will take place in one of the banking highrises in frankfurt/germany and it will be huge, wild and unforgettable. we all work "very hard" while probably getting rich, or at least dreaming about it. after all this "hard work" we need some "hard" partying. the bankers need to get used to the fact that we are dancing on their roofs!

-when it reaches 1000,- $ it will only cost a bitcoin or two for anyone to pay a flight to frankfurt.

-it is time for getting to know each other in person.

-bulls and bears welcome

-some say bitcoin owners will be the new money elite- by then it is time to start behaving accordingly

- timing/trigger
our current plan is to play it this way: everything should get armed and ready to rumble within the next coming weeks and months. as soon bitcoin reaches 1000 $ and stays there for 30 days in a row (bitstamp $ 24 h average) this will be our trigger. since everything has been set up during the waiting period, after ignition triggers we will only need 6 -8 additonal weeks to actually unleash this monster.
(edit: changed trigger period from 5 to 30 days)
Mediation sounds good, and the 6 member panel idea also good.

In online tech, it pays to keep the mood relaxed and the office comfortable and spacious. Regardless of how much "serious business" is happening online, the internet is still a chilled out place.

The traditional hierarchy of managers is inherently unrelaxed. When you have multiple managers surrounding you, their presence might cause some to hold back on decisions, or pause that initiative. The managers will take care of all those nasty little details such as making decisions, you just keep doing the task you were delegated.

Remember what it felt like when the teacher left the room? If the manager leaves the office for the day and you feel that same rush of freedom feeling, you know things might be better without managers (or just a new manager).
Thoughts on the Tarsnap logo contest
Donate to Wikipedia with Bitcoin
Sorry, but this is just a lame excuse. There is no need to upload the personal names for this feature.

Also, there are approaches to make number registration lookups more secure, e.g. bloom filters: http://en.wikipedia.org/wiki/Bloom_filter

I would expect such an approach from a "secure" app.
conditions* ;-)
This is a really interesting problem. There's the expectation - and desire - for all software, particularly development tools, to be open source.

This seems to make it harder for independent developers to devote time to creating great tools. Is the future of software tools in the side-effects of teams at large organizations open sourcing things they needed to solve their own problems?
That Postgres, sorry.
I thought exactly the same thing. Read the whole article in my lunch break after getting po'ed at some stupidly complex PHP code written in a Java idiom spread across 5+ files.
I have been searching for at least 10 years for the term "involution": the set of functions where f(f(x)) = x. Now i have it. Thank you.
I think that WW1 was such a mess precisely because the generals on all sides were mostly aristocratic bureaucrats.
EdX Pilot to Connect MOOC Students With Employers Fails
So in other words, you got the exact same response as if you had sent a regular SMS message; I fail to see how that is a problem. Yes, WhatsApp uses your regular phone contacts; much simpler than having to exchange usernames with everyone you want to message on WhatsApp. Is it revolutionary? No, it's a simple, cheap, cross-platform messaging app. It does what it's meant to do, and does it pretty well.