skysight-inc/HackerNews huggingface dataset:
Wouldn't one fix be for native modals (not created by web) to have a distinguishing feature? For example, native modal backgrounds could uses your home screen background with a reduced opacity and blur. This could mitigate these types of phishing attacks since emulating the look and feel in web (html/css) would be difficult.
> if you want to talk about characteristics signifying traits associated with power and dominant status

Whiteness is associated with power and dominant status, but not all categorizations of "characteristics signifying traits associated with power and dominant status" are Whiteness. Whiteness is a subset of CSTAWPADS.
Seems to be a dupe of:

https://news.ycombinator.com/item?id=9688383
What is the "anti-FlashBoys" book?

(Asuming you don't mean FlashBoys)
Wouldn't it be faster to run built-in sort on each 1/8 of array, than each 1/4, 1/2 and the whole array in the end?

Does Array.sort run much faster when the array already has some order?

EDIT: It doesn't. Sorting even totally sorted array takes as much as sorting shuffled array.
Are you me?

I did the very same thing ~20 years ago. I used a DOS Terminate and Stay Resident (TSR) code to achieve this, I did't have to fake any screen. The key strokes were stored in a file.

I still remember keyboard interrupt value (0x9) while registering TSR code.
Only yesterday I was raging at Flash for continually chewing up my CPU and RAM. I hadn't even considered setting limits on the processes. So thank you for the suggestion.
Hover-focus is great on tiling window managers, but I'm not sure I'd react well to it where windows overlap by design.

Also, don't forget that OS X lets you scroll whatever window your mouse is over, even if it is "blurred" (not in focus). This is the one feature that I miss most whenever I need to use Windows.
But note that a single counterexample disproves a general law.
My problem with PowerShell is that its Yet Another Syntax To Learn (YASTL).

If a JavaScript runtime like nodejs had access to the same interfaces as PowerShell or to COM I'd be over the moon.

It would be very powerful, you'd effectively be opening up windows shell programming (OS scripting) to tens of millions of developers rather than the 1% that take the time to learn PowerShell.
French culture ministry has tweeted about 1984 and removed it
Too bad! Does this happened outside India too?
What if the thing you ask it is to get rid of the irrational mechanisms that makes placebos works on you even though you know they are placebos?
The roots in the quote are all Latin, so close enough. But the point isn't the literal words, it's that "sophistication" is a modern concept that would have seemed strange and probably repugnant in Leonardo's time.

I'm pretty sure that even Gaddis intended the phrase ironically. The Recognitions is a novel about fraud.
Airtel accused of injecting 'suspicious' code to track users' browsing habits
Wah! I just skimmed through the Gecko bug that is linked from the above link. I recommend reading reading it through if you are interested in using these techniques on multiple browsers.

It's a bit of a mess. I think there is some misunderstanding here of what the requirements are. I should be able to queue callbacks and have them execute using 100% of the CPU, but still yield to browser and IO events so that the broswer (or IO processing) is responsive.

A lot of the talk is about minimum waits. For example setTimeout(0) apparently has a minimum timeout according to the spec. It's not that I want the minumum wait to be any particular value. It's that I want it to be as small as it can be while still yielding to browser and IO events. While I have callbacks queued and executing, I want the CPU to be pegged at 100%. While it is pegged at 100%, the browser should still be responsive if my callbacks yield often.

So reading the thread it seems that on Gecko setTimeout(0) does not max the CPU (because it is waiting -- I'm going to give this a try next time I get a chance). Also using .then() on a native Promise does not seem to yield to the browser (apparently this is what the spec asks for).
Flash is running an event engine like JS under there. Your comment made it occur to me that they might busywait, rather than having a proper scheduler. This seems insanely lazy.
I read this article years ago, and it's worth re-reading... ergo, not clickbait.

The author talks about how it __appears__ wasteful to buy expensive clothes when you're poor, but it's all about __signalling__ to others that you're someone that should not be ignored. It profoundly changed the way I thought about the "people buying expensive things they can't afford" idea when I read it.

At the risk of quoting too much, this is the part that really was memorable for me, and is worth reading more than once in the original article:

I remember my mother taking a next door neighbor down to the
social service agency. The elderly woman had been denied benefits ....
The woman had been denied in the genteel bureaucratic way — lots
of waiting, forms, and deadlines she could not quite navigate.

I watched my mother put on her best ... outfit.

It took half a day but ... my mother’s performance ... got done
what the elderly lady next door had not been able to get done
in over a year. I learned, watching my mother, that ...
we had to pay to signal to gatekeepers that we were worthy of engaging.
It meant dressing well and speaking well. It might not work.
It likely wouldn't work but on the off chance that it would, you had to try.

Sure, there are stupid people that buy things they don't need. However, sometimes the things we think of as "luxury" are necessary for Getting Things Done. Hell, this is the reason I have a suit in my closet that I've worn rarely (job interviews). Expensive accessories and a Nice Outfit can help people ensure that they aren't discriminated against for being "low-class".
This has been in chrome for years.
Fog Computing Is Vital for a Successful Internet of Things
This pretty much matches exactly what I experienced at Google. I was fortunately enough to get two interviews for two different positions in two different locations.

The only thing I could add is that, occasionally there is a distinct lack of communication between the interviewers during the day and you do find yourself getting the same questions asked of you.

The classic Google-esc questions are still asked but they aren't as tough as people make out - just speak loudly, don't close up and vocalise your thought-process. It's about the working not the final answer.
My Life Inside a Remote Chinese Bitcoin Mine
Dave McClure plays the odd while picking his next investment
Quit bitching. Read the fucking docs you lazy fuck.
No. What she said was she wanted "normal". Have you noticed how the poor people on tv have money for nice clothes and apartments. Basically she didn't want to feel poor. She didn't want her kids to grow thinking they were poor.
I think the ability of the US government to influence democracy is largely overestimated. They can't introduce it and they can't exactly stop it, either.
Here is the 'Anchor.js' being injected into the page. There is nothing malicious in the code. I can't comment on why this is injected in the first place.

http://jenson.in/0x22b/hax17_jmj.php
Have a look at "Web Operations". It deals with all the components of building and operating a large web application. http://www.amazon.com/Web-Operations-Keeping-Data-Time/dp/14...
c.f. https://news.ycombinator.com/item?id=9689979 pointing to here: http://www.washingtonpost.com/news/storyline/wp/2014/10/16/s...
In addition, some form corruption is expected to happen due to factors besides the backup software, such as bugs in the kernel or hardware errors.

What I wonder more is why the corruption of the file data wasn't caught by the backup software since it uses checksums for deduplication.

A third option is user error such as that between the (user) checksums and the backup there were changes to some files.
Sumatra PDF is the best. I actually prefer it, running under wine, to any of the Linux PDF readers I've tried. I used I to write/preview my thesis.
This could change the whole concept of mind uploading, someone should do a MBTI test on each personality. If a mind uploaded onto a computer still retain these multiple "personalities", could they act as anti-virus "software etc.?
The header role is to define the interface of the module, that's why I believe the leaner the header is the better. When I'm using a module I do not care what the implementation is using, the only thing I care about is what functions are exposed and what data structures are required by the functions. All other details are irrelevant. If any of the functions are using any types from the external header that are passed by value (for pointers forward declaration is the way to go), then that headers also become part of the interface and have to be #included in header.
Interesting plot twist.

Check this subreddit dedicated to global internet: http://www.reddit.com/r/globalinternet
I don't think answers a person gives about their decisions is ever "real" data. For example, a rich male buying who bought an impractical sports car will give an answer that conflicts with how those around him would account for his actions.

This points my thinking back toward impulse control and delayed gratification ability being deciding factors when looking at why the sofa seems compatible with a poor young person and a sports car and a rich older person.

But with near negative interest rates, I wonder whether if the excessive sofa isn't the investment vehicle of the future. Telling your network about that indiscretion (and reminding them in your selfies) may have them thinking of you when new sources of income come up.
Location: Oakland, CA (temporary, moved from Japan to look for work) (US citizen)

Remote: Yes

Willing to relocate: Yes, to SF or Palo Alto - walkable neighborhood with short commute preferred

Technologies: Full-stack web. Python/Flask. Node. MySQL, SQLite. HTML/CSS/JavaScript. Chef. Android.

Résumé: https://resume.creddle.io/resume/hkwqouo1uvo

LinkedIn: https://www.linkedin.com/in/maricaodagaki

Email: ento dot entotto at gmail dot com

9 years of experience in software engineering. Freelancing: 5 years, remoting: 4 years. Open to new technologies: I am quick to pick up anything.
I'd like to work on a product that relates to my lifestyle and interests, including meditation, forming & changing habits, paleo diet, dogs, bikes, gadgets, singularity, ebooks, remote work, RVing, anime , learning and more.
> I can guarantee that some ham-fisted chancer who'd flicked through the "Teach Yourself C++" chapter summaries put himself down as an 8, though.

It's very easy to filter out these guys though. I had one such come to my interview - on a scale 1-10 (10=best) the guy put 8s, 9s and 10s for several programming languages (C++, C#, Java, a few others); and that guy was fresh out of college.

Then during the interview it turned out the guy knows exactly nothing, even when I tried to talk with him about the most basic concepts of OOP (like, what is a class or an object), he couldn't provide any meaningful answer to lead the conversation further.

I have no idea how he hoped to pass an interview, perhaps he thought there wouldn't be anything beyond the online form to fill.
Show HN: Conway's Game of Life, Rails Implementation
YA: http://zbackup.org/

YA: http://duplicity.nongnu.org/
Have you tried HHVM?
The author of Bud is Fedor Indutny who won the CloudFlare Heartbleed Challenge (https://blog.cloudflare.com/the-results-of-the-cloudflare-ch...).
Nice, I'm learning Swift from your site. The kerning for Chapter "10.4" is killing me though. Other than that I'm enjoying going through it. :D
>> "They're competing with empowered independent artists, whom alot of times only have to earn a paycheck to pay themselves, who simply love music and don't care about fame or becoming wealthy from their efforts. Most of them care about making great music and making a modest living doing so."

Sorry but this is BS.

1. Independent artists are empowered in the way that they can distribute music in so many places online - getting people to listen is another matter. Even if your music is good marketing it by yourself is very, very hard.

2. Even artists who aren't part of a group (I'm thinking DJ's for example) have to pay more than themselves. They don't travel alone and every live musician usually has to pay a sound guy and probably a lighting guy.

3. I think very few musicians care about getting wealthy - they just want to make a living. They want to be able to play and make music 24/7. Even reaching that level is incredibly hard. I can't remember their name but there was a Medium article posted here a while back by a band (quite a well known indie band) who were trying to do just that. They sold out 1,000 seat theatres around the country but the costs of putting on a show caught up with them.

Artists need labels. Maybe not in the form we've always known them but they are still very important. I think it's also probably in the interests of artists if one place becomes king in streaming. You can focus your efforts there instead of having to distribute your music on all these streaming services with their own social sides you must also contribute to.
Yes. I saw it just after I posted this. Felt really weird.

But the point I was trying to make was a bit different. That post was arguing about how people can pick up cues from real life and use that information to arm themselves with expensive stuff with which they think they can climb up the social ladder. That is a very smart thing to do. But what Ads do is to feed people the same kind of info, only a highly skewed version of it to their advantage.

>As for ads, let children make up their own minds.

Yes let them. But I think we should also help them see things for what they really are. In case of Ads, how it initially appears to tell that 'hey, I have made this product', but how it also is about telling us 'hey, you need this product' creating a need when there is none, and how it can influence people subtly. And then let them make up their minds how much they want to be exposed to things like that.
Scientists could potentially employ these type of people to study "nurture vs nature" questions as they are better targets than identical twins since they all technically occupy one body...
>> "If the margins are getting slim, it's only because the music industry has gotten so big and bloated compared to the size it naturally should have in a digital landscape."

The margins got slim because people were able to get music for free. Some still want to pay but they don't want to pay a lot so the industry has to take what it can get and offer streaming.
Apple's new music service draws a suspicious eye from regulators
Nice!

Can you tell me more about the uses of polyurethane?
Airbus crash linked to faulty software installation procedure
You can sort of polyfill web workers by providing the same API but running the web worker in the main thread.

Edit: I assume I'm being downvoted because you're still running the script in the main thread, and therefore lose the concurrency. Obviously this is an issue with a polyfill, but the point of polyfilling web workers would be to keep the one codebase rather than writing your your web app with and then without web workers.
"On one occasion, subjects proceeded across a busy intersection against the red light in a diagonal fashion, taking the longest route possible and one of greatest danger. The resourceful work of Agent Maiers in blocking out one half of the stream of automobile traffic with his car..."

It's both funny and sad (totalitarian spying state, where spies are allowed to break laws).
Show HN: Meerstand – a Meerkat mount for standing desks
Get ready to buy a new suitcase Airlines seek change to carry-on baggage policy
If you google "greg wyler" and then click the wsj link you can visit the full article.

But as to your question, it appears that he joined google from a company he founded that owned the rights, then left and took the rights with him and formed a new company to control the rights again.

> When he left, Mr. Wyler took with him the rights to certain radio spectrum that could be used to provide Internet access, according to a person familiar with the matter. The person said Mr. Wyler had formed a new venture, WorldVu Satellites Ltd., that designs satellite systems and controls the rights to that spectrum.

> Brian Holz and David Bettinger, who joined Google with Mr. Wyler from O3b Networks Ltd., also have left Google, according to the person familiar with the matter. O3b is a private satellite company founded by Mr. Wyler.
Quotes are words.

The content is all words.

So why is it a huge PNG?

Oh, oh, is it an "infographic"? Right, yes, the graphical content is so important, of course…
Why can't you mock the function? Mocks aren't specific to classes.
I don't usually have more than 30 tabs open, my problem is separating them by 'topic'.

To a degree I can solve that with different browsers or profiles, but when clicking a link on irc or in a mail or twitter it always opens in the default browser.

My main gripe there's no way to have real context switches there, then again maybe I would just have to find a way to send a certain tab to a certain browser instance with a keyboard shortcut...
Every time the same team wins over and over again, when I change some values other team keeps winning all the time.
Made me sad... apparently a good 1/3 of Americans spoke German before WWI, after which anti-German hysteria caused a decline in German speakers in America. So it was not only the Nazis that were responsible for German's decline.
> Let's say that I have a function x that returns a Foo, a function y that takes a Foo and returns a Bar, and a function z that takes a Bar and returns a Baz. This is perfect: we just call z(y(x)).

update: I created an interactive tutorial[0]

Alright, here is my code (I can verify it is runnable/working on ghc 7.8):

data Foo = Foo deriving Show
data Bar = Bar deriving Show
data Baz = Baz deriving Show

x :: Foo
x = Foo

y :: Foo -> Bar
y _ = Bar

z :: Bar -> Baz
z _ = Baz

> Then we discover a corner case, or the requirements change, and now there's a situation where x can't return a valid Foo. In Haskell, then, we have x return a Maybe Foo, and y take a Maybe Foo.

I'm only going to make one change to x:

- x :: Foo
- x = Foo

+ x :: Maybe Foo
+ x = Just Foo

You don't have to change caller y to take a maybe Foo for one, you can leave it as is and use:

λ> fmap y x

Let me remind you of the type of fmap:

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

specialized to the case of Maybe's functor instance and our types:

fmap :: (Foo -> Bar) -> Maybe Foo -> Maybe Bar

> Then y either handles the Nothing case using a pattern, or else returns a Maybe Bar.

In this case you can see by the definition of fmap a Maybe Bar is returned.

> If y returns a Maybe Bar, then z handles the Nothing, or else returns a Maybe Baz.

Just as we don't have to change our definition of z.

Our final composed function is just:

z . y <$> x

So the final code looks like this:

import Control.Applicative (<$>) -- must import explicitly before GHC 7.10

data Foo = Foo deriving Show
data Bar = Bar deriving Show
data Baz = Baz deriving Show

x :: Maybe Foo
x = Just Foo

y :: Foo -> Bar
y _ = Bar

z :: Bar -> Baz
z _ = Baz

main = print (z . y <$> x)

It sounds like you previously thought all the functions had to be updated and it had to look something like this:

data Foo = Foo deriving Show
data Bar = Bar deriving Show
data Baz = Baz deriving Show

x :: Maybe Foo
x = Just Foo

y :: Maybe Foo -> Maybe Bar
y _ = Just Bar

z :: Maybe Bar -> Maybe Baz
z _ = Just Baz

main = print (z . y $ x)

Does this make the composabiltity clear? Is it clear how fmap (aka <$>) eliminated the problem having to update all of those functions whereas in a less composable language it would be necessary?

If you are interested in more information about functor, applicative, and monad check out Adits awesome "Functors, applicatives, and monads in pictures" tutorial[1]. The pictures/diagrams in it helped me really make sense of applicatives, functors, and monads.

0: https://www.fpcomplete.com/user/codygman/real-world-fmap-exa...

1: http://adit.io/posts/2013-04-17-functors,_applicatives,_and_...
So don't dump it all in one place, but spread it around. Dilute it before dumping, probably.
Detoothing Web Traffic Spam
I "remember" that place from the book Daemon by Daniel Suarez (not going to spoil anything). Looks exactly like I imagined it back then.

It's amazing that in a metro area apparently struggling with affordable housing huge properties like this can exist unconverted for such a long time.
I think this one in particular (related to msgpack depedency?): https://github.com/jborg/attic/issues/264
Having grown up with a small sprinkling of Yiddish words in my parents' vocabulary, I agree with Sasha Baron Cohen's character in The Dictator, where he says "I like Yiddish, the words sound like what they mean". I actually made this same comment to my Dad 15 years ago, and he told me it only seems that way since my brain learned the words in context.

My grandfather grew up in Brooklyn with Yiddish as his primary language. On his first day of Kindergarten, probably 90 years ago, the teacher held up a fork and asked the class what it was called. He answered "Gopel".

On his first date with my grandmother, he wanted to take her to the Yiddish theatre in NYC. But my grandmother refused, not being proficient enough. Today the idea of live vaudeville Yiddish theatre in the USA is almost unfathomable.

And some of this Yiddish is still getting thru to my kids. Eg, they'll say they bumped their keppe (head, pronounced 'keppy'). I've always liked the sound of that. My wife even heard our Italian baby sitter here in London, at the playground babysitting another child, say in Italian accent "aww did you bump your keppe?"

My favourite Yiddish quote :
"A pish on a fartz iz vi a regn on a duner". Translation : To pee without farting is like rain without thunder.
Talkdesk, a Startup That Spins Up Call Centers, Raises $15M
One of the problem with gists is that they can't be shared/accessed/listed easily within an organization as far as I know.
Download 5KPlayer – Best Free Media Player to Play 4K/5K HD Videos
E.g. by backing up two files which are designed to demonstrate a MD5 collision.
Ok, yes that sounds pretty cool.

It feels like there are much simpler ways to support pay on reveal secret directly on the bitcoin blockchain, if this is accepted as an important goal (e.g. with explicit conditional redemption conditions based on spending transaction blockcount).

But I guess a more general solution for time locking and malleability can give you other stuff as well (e.g. off chain payment microchannels).
To build a tech startup ecosystem, China should look to Singapore
The other aspect is this: when you're poor, the moment you have money, usually some beurocratic muppetry will conspire to take it away against for essentially bullshit reasons.

These reasons are unavoidable unless you have a lot more money, but they'll also just be added to the pile of debts you can't avoid anyway. So why not spend that liquid cash now, while you have it, rather then waiting for life to decide to screw you over again and take it away for no appreciable gain?
I loved this part from the article.

That’s how generational wealth happens where I’m from: lose a leg, a part of your spine, die right and maybe you can lease-to-own a modular home.

That was a very powerful sentence.
Slight bug, If there's any bombers on the field at all the other sides fighters won't shoot any fighters.

If side A has fighters on side B. A has a bomber just launched. B fighters just try to fly at the bomber, dieing to the B fighters.
Care to elaborate how they compare? Do they fit the use case of millions of files and terabytes of data?