skysight-inc/HackerNews huggingface dataset:
Hi! My Go project directory has ~2 million data files under a directory called test. When I open the project directory, VS Code starts going through all of them, consuming a lot of memory and IO bandwidth. Is there a way to make it ignore that directory?

I tried "files.exclude" which hides it from the sidebar, but VS Code still tries to walk the entire directory tree.
Brief supporting Apple filed by Amazon, Facebook, Google, Mozilla, others [pdf]
I am slightly dyslexic but my oldest is severely dyslexic. She could read it (she can read a book a day now after years and years of work) She barely noticed the text changing. Oh....

But the weird thing for her is she works in a library and loves that.
The study, previously considered to have been experimentally verified was found to have overlooked factor x and in fact, is wrong in its conclusion.
One would need a very contorted definition of "prominent in cloud services" to go along with that. BlueMix is still taking its baby steps compared to AWS or Google, and Softlayer is more like an outsourced data center with a bit of a management portal on top.
We've asked you before not to conduct religious flamewars on Hacker News. There is no place for them here. Really, please stop.
That depends on how services use data -- if they encrypt every bit touching an EC2 instance, then the NSA only gets a whole lot of very-hard-to-crack files.

But I agree with the overall feeling. European developers already know (or should know) that the AWS model was tarnished by the PATRIOT Act pretty much since its inception, from a legal standpoint. If your data is handled by a US company, be it on US soil or anywhere else, the US government can get it at any time (without even the need to involve NSA-level skills) and nobody will be allowed to tell you. To be fair, in any other circumstance your data is just fair game for any NSA operation, so in practice you're basically screwed no matter what, but at least you can try to give them a challenge.
The precautionary principle would say not to do your experiment until you can be assured it won't damage your research subjects.
Swift is changing fast. Chris Lattner has stated that Apple will have a good migration solution to update current Swift code. If Apple does it right, Swift will be a major cross platform language within a few years.

You can argue that Rust, Nim, or Go are better, for example, but the community and support Apple give Swift give it a big advantage.
Simply look at the number of Swift books published in the first 18 months:

http://www.h4labs.com/dev/ios/books
Apache MRQL a query processing and optimization system for large-scale
I don't think he's being tongue in cheek. I bet you he's genuinely angry and resentful. From his point of view, he once had a lovely language, C*, and he can't use it any more, and is being forced into assembly instead, for no reason other than the perversity of the maintainers of the only two C compilers that he feels that he can use.
I'm unsure on the actual sizing but that wasn't exactly a rumor, that's when I was laid off. This was after a furlough and narrowly avoiding another layoff less than a year into my employment.

Needless to say I'm glad I'm gone, even if it wasn't my choice.
haha I was just thinking about that video :~) (up vote)
I am a huge fan of Tichu, which is also a more casual Bridge-like game.
You may be better off building up the LLVM IR as text, vs. using the FFI builder. (If you want/need type safety as opposed to just waiting for the LLVM verifier to tell you what went wrong, you could write the builder in Lua.)

Here's a link with a Python example (along with a justification for this approach): http://eli.thegreenplace.net/2015/building-and-using-llvmlit...
I may be picking a nit, but counting cards is legal in all casinos in the US. You are not breaking a law by counting cards, but the the casino has the right to stop providing you its service if you are, or if they even think you are (right up there with "No shirt, no shoes, no service").

Perhaps you mean that casinos in Atlantic City actually will not kick you out if they suspect you're counting cards, or they're bound by some law to allow you to keep playing?

If counting cards were actually illegal, we'd be a lot further along on our way to Orwell's 1984. You can't outlaw thought (yet).
In our community we share our salaries we make. I am male recently hired by Google. My package is exactly equal to my friend which has the same amount of experience and is a female.
Can't most stores track you just as easily with your credit card information?
Why should we expect methodological errors for the replications to be anywhere near that? I'd expect them to be in the low single digit percentages. And across different replications, such methodological errors should rarely be correlated, so as long as the rate is merely less than 50%, then when given several distinct failures to replicate, it counts as solid evidence that the original result was spurious.
The average doesn't matter, specific problems are reported on the mailinglists, for example. You wouldn't sway everyone's writing style with some statistical evidence, not in a giant ecosystem like C/unix and it's not a democracy either where 51% would just ignore the other 49% existence.
Bye bye mechanical ...
Thanks. We appreciate the helpful intent, but it's better to leave the thread for discussion.
Argh this seemed so interesting until I read it and realized there is no conclusion. I believe the explosions were real and probably chemical in nature. However, these new click bait articles are making reading news and articles very painful. Either HN needs an update or we need a new place to get our news without all this blather.
Kindof sucks that they have to train their h1b replacements. Just like Disney.

I'll never buy anything associated with either company.
> In Quebec, programming is not considered an engineer-reserved task and therefore experience cannot be used towards getting the PE. In practice, it means that even thoug there is such a thing as software engineering degrees (most universities offer it), no graduate ever becomes an engineer.

APEGA has essentially the same rule in Alberta. That's what makes it impossible to log enough eligible hours to qualify for a P.Eng. It may well be the same in all provinces.

Consequently, although APEGA insists that only Professional Engineers can use the title "Software Engineer", they simultaneously make it impossible for anyone to ever use that title in practice. There's been at least one court case about it that I can recall.
I can say "Open Spotify" and it will open the app. Then I have a button on the helmet that sends the Play command. But I can't do anything robust like playing a specific artist.

Perhaps if I used Google Music the integration would be built out.
I think he is more about staying curious and dont over specialize. Also just saying a big no-no to what I call "coders", people who can code but have no clue to what is actually happening. There are so many "developers" who learned a kind of ... memorized way to code in some scripting language, and stopped there.

The "engineers" he speaks about are people who cannot limit themselves like that. However, "engineer" sounds a bit pretentious :D
I'm not sure I understand. It doesn't matter if the consumer of the certificate is able to set their clock to make the certificate/signature valid because most people don't do that, but if the producer of the signature can simply set their clock to produce a signature/timestamp combination that's considered valid by a consumer regardless of their clock, then what's the point of expiring the certificate?

But yeah, it looks like Microsoft countersigns, assuming this is what that original comment was referring to: https://msdn.microsoft.com/en-us/library/windows/desktop/bb9...
> and only noticed by the third that has a feel for it.

Everybody feels something. It's just that most people don't realize what it is what they are feeling. But subconsciously they feel a difference. And that diference may (or may not) influence the buying decision.
Yahoo Still Searching for Ideas as It Adds Advisers to Help
"If they ever release a good computer, we will do it," he said. If they ever release a good computer. There must be an "enough" missing i believe.
>We need to de-stigmatize flexible schedules.

Why do we 'need' to do this? Jobs with very rigid shifts should be at a premium shouldn't they?
Review: Netsurf under AmigaOS 3
> I don't think he's being tongue in cheek. I bet you he's genuinely angry and resentful.

Oh you are right, that's two totally contradicting modes that combined are not at all sarcastic. Not at all.
I recently did a game jam with my brother where we wrote a small OS X game in a weekend in Swift using SpriteKit. It was quite fun, and Swift was really pleasurable to write in.

These changes look great and will really improve the clarity of the standard API, and are just good coding guidelines in general.

I write web applications all day, and no current web language is as fun to write in as Swift.
The ‘middleware listener’ pattern: better asynchronous actions in Redux
Assembly Optimizations: (Un)Packing Structures
FWIW I compiled this with gcc 4.9.3 -O3 and got:

satd.c:7:29: warning: iteration 15u invokes undefined behavior [-Waggressive-loop-optimizations]
for (dd=d[k=0]; k<16; dd=d[++k]) {
^
Basically everything B2C today is a data play. Customers want everything to be cheap or free, so the only way to make money in B2C is to turn the customer into the product.

It's a deflationary race to the bottom. The bottom is a hell where everything watches you and sells absolutely everything about you to whomever can afford to buy the data.
> You may be right, but a good sign for whom, exactly? For the people who lost their jobs? For shareholders? For fans of IBM the company?

For IBM. It's good when you consider the alternative where a great company is slowly destroyed and everyone loses their jobs.
It seems to me like IBM is in perpetual layoff mode. It's not that the ship is turning around - it's that it's grinding down into irrelevance. In a sense IBM is doing it the right way - returning the capital (via dividends and buybacks) and people (unfortunately via layoffs) back to the market to work on productive things in configurations that add value. Better to do this than to waste everyone's time and money. (But yes - it's painful!)
On a reasonable machine (e.g., x86, x86_64, ARM, ARM64), in a reasonable context (i.e., not the very tippy top stack frame), the one-past-the-end read is harmless. The value is unused, and the read itself is not going to segfault because it's going to read the frame pointer or return address out of the stack frame.
I have never played bridge so my opinion is of a complete outsider's. You can also see me as the devil's advocate.

What if we just accepted "cheating" to be part of the game? Such that every team is allowed to devise their own way to communicate in subtle manners (barring the use of electronic devices). And so part of the game would be to figure out the opposing team's code. There is really no way to prevent communication when you have physical presence. If you really want to prevent communications, sit them in separate rooms and make them play through computer terminals.

Catcher signals are used in baseball, we don't call that cheating.

And to bring up another analogy. Remember how in the anime Naruto, the kids have to take a paper exam to advance? The questions in that paper were hopelessly difficult for the candidates, and it turned out that the real exam was for them to attempt cheating without being obvious.

And please don't get me wrong. I'm not saying that what Fisher and Schwartz did was ok. They were clearly violating the existing rules. What I'm saying that trying to enforce a rule forbidding communications when you have physical presence is an exercise in futility. It's just that maybe we should consider changing the rules or how the game is played.
Not the first step, this was the first step https://news.spotify.com/us/2016/02/23/announcing-spotify-in...
Yes, though I normally use cash unless I've run out, small trips, instead of large.
>This is absolutely essential to my nix workflow*

Well, most editors and even IDEs don't offer one.

>and I can't for the life of me imagine a reason to not include it.

The reason being that terminal semantics are hell difficult to implement, and doubly so in a web-based stack?
I suppsoe there is a hormone for washing dishes and doing laundry also.
The Mac Pro design was changed to a trashcan design that can't upgrade the video card any more. The old ATX Mac Pro design was better and allowed the video card to be upgraded.

http://www.macobserver.com/tmo/article/the-new-mac-pro-is-a-...

It was a decision by Tim Cook, and it made it so the Mac couldn't compete in gaming next to a PC, Tim Cook most likely made the decision to save money on the Mac Pro design.

In fact older Mac Pros had limits on what video cards were compatible:
https://support.apple.com/en-us/HT201805

If Apple brings back the Mac Pro ATX Tower, it could have a gaming Mac again. Until then people are going to build a Hackintosh to game on OSX.
This just seems completely wrongheaded.

There is no difference between looking for items which match some criteria, and looking for items which do not.

The classification type looks like a big red herring.

It is a problem of exhaustively partitioning a set of items into two classes. "Retain" and "reject" are just arbitrary labels for these classes, which might as well be "A" and "B" or whatever else.

Whether it is easier to calculate class A or B depends entirely on the statistical properties of the specific input relative to the complexity of the criteria for determining class membership in A versus B.

For instance, suppose membership in A means satisfying the correct attribute values in fifty different properties. Now suppose that most of the objects in the input set satisfy the test in 49 properties, failing only in one. Only a few objects satisfy all 50 properties with the correct attributes. Then the task will be hard, and it will be equally hard whether the focus is to identify B's or A's, because either way it is a separation of A's from B's.

If you give me a jar of beans, where all are white, but about six or seven are black, I can easily give you all the white ones, or all the black ones. Either way I pick out the black ones. Then I have them separated and I just give you whichever set you asked for. If the mix is 50/50, it's a lot more work, whether you ask for black or white.
People love to hate tabs, but in a world where we represent logic in megabytes of alpha-numeric characters, doesn't a semantic notation of indentation make just a little bit of sense?

Tabs are for indentation, spaces for alignment. These are different concepts, but spacers[1] just think whitespace is whitespace are forever double tapping their spacebar like some sick mental tick that can't be cured.

Your editor should not need to detect tab size. You should be able to size your tabs however you want. A tab is an indentation, weather you want it to be 2 chars or 20. It shouldn't matter.

The fact that a neural network is being used to detect tab size, just shows how much ground tabbers have lost to the space infidels[2].

[1] http://www.jwz.org/doc/tabs-vs-spaces.html

[2] http://blog.codinghorror.com/death-to-the-space-infidels/
They only "walked it back" enough to squash the bad PR they were getting. Once the headlines went away they went forward with their plan after all:

http://www.nytimes.com/2016/01/26/us/lawsuit-claims-disney-c...
This is probably heresy. No one talks about the H-1B worker who got laid off - it is only about the ones who stay. Not sure if everyone in this thread is aware but if an H-1B worker is laid off, he/she gets only 30 days to find a new job. If he is not able to land a new gig within 30 days, they have to leave US for good. So I will not judge here based on a couple of FB comments.
> i agree. and this goes both ways. some people start from the axiom that racism/sexism don't exist and modify their interpretation of the data to match that. "There's no pay difference".

Yes, of course. Really, for all the talk about convoluted biases clouding people's decision-making, it's pretty telling that most of the time, they don't even manage to get past the basic challenge of actually letting the evidence lead them to a conclusion.
The 5 Most Powerful Ways We Can Use Technology to Learn
I am amazed about this unexpected compliment to the Comic Sans MS designers. I always thought that this font is, conversely, harder to read than serif fonts. Seemingly this is not always the case in practice.
Redefining the Political Spectrum
People jump on the microservices bandwagon way too often. I'm glad that Jan pointed out that not everything that is broken down is a micro service.
What was it they did with torrents before ?
> You may be right, but a good sign for whom, exactly? For the people who lost their jobs? For shareholders? For fans of IBM the company?

For IBM. For shareholders. For people who are not laid off and still work there.

> it's not the fault of the people who are being affected by this, as by and large they were not responsible for IBM's decision to get more and more into support and services.

Is it surprising that IBM is not a flat organization / meritocracy where regular employees get to vote on corporate strategy. Yes it is not their fault. So what should IBM do? They can provide severance packages, extra benefits maybe. Try to re-train some people perhaps. But can't keep everyone till retirement just to provide jobs (That is what Uncle Sam does).

> Why is it that when IBM made a bet that did not play out, that they have cut people's severance benefits signifcantly?

But it did play out. Services was bringing a huge amount of money during late 90s early to mid 2000s. It just doesn't anymore

> Why are we not holding IBM up to be responsible for the well-being of their workers?

We are posting on HN right. This startup land. Every 9 out of 10 startups will die. Are you holding them just as responsible? Or is there some implicit assumption that if you work for IBM then you'll be good till retirement.

> I am arguing that we shouldn't talk about layoffs as a "good sign",

I still argue it is a good sign. It is good for some parties (I enumerated a few above) and it really sucks for those getting laid off. No denying that. Hopefully they could have extra time, severance packages and so on to help.

How about this, what would you do if you ran IBM and you ended up with 50000 employees trained to do something that just doesn't bring profit anymore?
Instead of generate LLVM code, you could instead generate 'typed Lua' using Lua as a metaprogramming language. Then the 'typed Lua' can get compiled down by LLVM into object code.

This is what http://terralang.org does.
That is a bad assumption that will mislead you. The gender roles are not baked into our DNA.

There are 'baked-in' DNA traits, that have emergently caused cultures to adopt those gender roles in their historical contexts.

'Baked-id' DNA traits are now emergently leading to the abandonment of gender roles in the context of western cultures & economies.

Please re-evaluate your assumptions because they are wrong.
This:

k<16; dd=d[++k]

, whenever the code reached the end of the loop, effectively becomes

dd=d[++k]
if(k<16) goto startOfLoop;

That, in turn is equivalent to:

k+=1
dd=d[k]
if(k<16) goto startOfLoop

In the second line, k is used to index into array d. Conforming programs do not access memory outside of arrays, so the compiler can infer that

0 <= k < 16

Given that, it is clear that the goto startOfLoop branch will always be taken. Inside the loop, the program accesses some memory, but that data never is visible to the outside world, so the compiler can optimize away the memory reads and writes.

The compiler is that aggressive because it has to be in real world programs. For example, compilers using C as their target instruction set may generate bounds checks for every array access, trusting the C compiler to remove as many as possible of them. Macros are another common cause of superfluous source statements that programmers will expect the compiler to optimize away.

I think it will be very tricky to detect cases where compilers should be wary of applying 'obvious' optimizations.
It seems untrue if an IBM spokesperson denied it. It would look really bad if their official spokesperson denied it and then the next day had to say the opposite.
I can't believe they did this kind of thing in 1999 - 2002 for WebSphere. That is the era where Enterprise Java, XML, and SOAP took off and App Server was selling pretty hot.

Having said that, the 1999/2000 dotcom bust is different than if it was to happen today. In 1999/2000, open source wasn't as mature/diverse/strong as today so companies will buy commercial technology provided by SUN, Microsoft, IBM, Oracle.

These days, majority of the VC backed companies are using FOSS software with minimum Oracle/Microsoft software (probably the ERP/Finance/HR modules).
MiST: FPGA-AGA-Core 1.2
IMO generalizability is a big problem in psychology as a field. This paper "the weirdest people around the world?" explains it quite well: http://www.econstor.eu/bitstream/10419/43616/1/626014360.pdf
(open access)
In what world does it take more technical knowledge to use a pdf instead of a doc? It doesn't--pdf is easier to use for everyone except someone who wants to modify the resume without your knowledge.

If a recruiter asks for word, say simply "I don't own Word, sorry."
Executive pay doesn’t seem to follow the high-risk-high-reward scenario; they keep the “high reward” but see apparently none of the “high risk”.

A much more balanced system would be something like, for each executive:

- Your base pay is $51 million.

- If you FAIL at your task, YOU OWE THE COMPANY $50 million.

- If you succeed, you receive an extra $20 million. If you choose to split $15 million of this reward with employees in terms of stock however, your portion of the stock will be doubled.

That would put some skin in the game. And if a failing executive is forking over most of his millions back to the company, they could probably avoid quite a few layoffs. And if the executive doesn’t fail and has a direct incentive to share success with employees, the workers would be even more loyal to the cause.
Instead of college basketball teams, imagine college blockchain clubs
Interestingly, variations on "the exploratory garden-path" are widely hailed by qualitative social science researchers as sound methodology.
I'm not usually one to bang the "everything must be scientific" drum, but the claims some typographers make seem to be so unscientific as to be absurd. I know that much of typography is subjective, but still: In this case I prefer the text on the right, but how do we know this is due to "vertical rhythm" and not simply increased space between lines? (Or some other effect.) This would be easy to test.
It's pretty common for anyone that's worked in tech for Fortune 500s before: http://www.nytimes.com/2016/01/26/us/lawsuit-claims-disney-c...
The solution is fairly straightforward: give people money so that the machines can work. Basically, buying power coming from labor is an arbitrary historical accident - mostly coming from the whole Protestant work ethic scene. If buying power instead comes from being a person, then the machines can make more material goods for us.
YOU don't complain, even though it's slow, at least it isn't metered :/

I get 10GB/mo and it's $15 for every GB I go over. I'm a "giant pirate" and would usually go through that in an afternoon when I had comcrap. Oh well.
In this particular case, there isn't any creative process being compelled or even anything being designed. It's turning off a couple of security features. It's as creative as flipping a light switch.
I had a nightmare strangely similar to this recently...
2002 was really bad for any tech spending..
Joining Together to Avoid a Troubling Legal Precedent