skysight-inc/HackerNews huggingface dataset:
>I just don't think most people will ever in their lives need to script their computers to batch rename files and automate tasks. Even if they do need it for something it seems more time efficient to find some GUI app to do it, or get help from someone who already know how to do it (a power user).

I agree with you but you couldn't have chosen a worse example. Mass renaming, tagging or formatting of files is one of the most performed operations of an everyday user and is a massive time sink for people who don't know how to programmatically do it.

Classification of downloaded music or movies is very common. Same goes for moving files around and renaming folders and mass-moving documents. I remember when I had to re-format around 1000 images for a friend of mine because he wanted a different size + format to create some photo album. Just a couple of imagemagick lines vs him and I manually spending a lot of hours doing it painstakingly picture by picture.
How does bit shifting prevent typos as opposed to just explicit numbering?
cf. ACM Code of Ethics and Professional Conduct: https://www.acm.org/about-acm/acm-code-of-ethics-and-profess...
I've never had a problem moving to another language, I'll never understand why people pigeonhole themselves into categories like "rails dev" or "java dev".

The fundamentals are transferable, I don't even mention specific technologies or stacks these days if I don't have to.
Same with RoR, no?
Madoka Magica and Steven Universe aren't the best examples of good, serious animation.
That could totally fit on my screen
Socrata, the company helping Seattle police publish its records online
My God. I would've been panned for that in university. Break it up with meaningful comments, rip some of it out into functions where possible, if you're leaving code in source which is commented out - at least leave a comment on why it's commented out.

I suppose this is the result of deadlines and lax code reviews.
The main problem for me today is that some updates makes everything go haywire and cause my battery to go from full to empty in 2-4 hours. Normally it can last for about 48 hours. I have seen this in at least two different Android phones.
As I see it they should focus on not making shure there aren't any bugs in Android updates that use the cpu a lot or drain the battery in some other ways. Then they should help with noticing which apps that suddenly drains battery.
> has backdoored hardware with a wholly proprietary coprocessor with networking and memory access.

Well, they don't even need a separate coprocessor. They could just swap out the registers of the main CPU, and use the full power of that CPU. Basically, it would work like context-switching works in a multithreading environment.
Thats because Europe have a very different system for supporting immigration.

In the US it's up to you to basically take care of yourself from day one.

in the EU you benefit from the social welfaresystem from day one.

In Europe you are made a patient so to speak, in the US you are made a provider. Europe doesn't have millions of people living their under the radar participating in the economy. Instead most immigrants and refugees gets paid by the system.

Further more the US is a big big big continent. Europe isn't yet it has more people than the US.

So this is not about being afraid this is about the rate, the quantity and the cultural change.

I read somewhere that this different means that the US get the 80% most self-sufficient immigrants while EU gets the 80% least self-sufficient immigrants which make sense when you think about the very different demand the US puts on your for self-sustaining your life.
Go ISRO.
EURUSD Faces Downside Pressure in the Short Term
I/O bursts with QEMU 2.6
Are any HN users stupid enough to say they will leave the country if he is elected?
Addressing your points in order:

- So the polish people needed favours to liberate their own homeland? That's worded a bit strong but seems like it sums up your argument.

- The schengen point was invalid, I was mixing it up with freedom of movement. My bad.

- For the scapegoating, see this article: http://www.telegraph.co.uk/news/worldnews/europe/poland/1204...

- Calling for tougher border controls is one thing, but what is the alternative? Let people drown in the mediterranean? Leave them in Turkey, a country which already hosts 2 million of them?

- Yes, England and France (and in more recent history the US) have a significant history in that part of the world with ramifications to current events. I think the UKs position in this matter is also complete crap, but that doesn't excuse other countries for not doing anything to help.
http://www.uofmhealth.org/health-library/hn-2187003

"The juice of freshly macerated unripe hulls of the black walnut (Juglans nigra) has been used for many years in folk medicine as a treatment for localized, topical fungal infections such as ringworm."

http://onlinelibrary.wiley.com/doi/10.1002/ptr.2650040104/ab...

"Nutmeg (Myristica fragrans Houtt.) is the seed kernel of inside the fruit. It has been studied to having number of ethnopharmacological properties. Essential oils are secondary metabolites which originated from different parts of plants and made up of volatile compounds. In the present study, the essential oil extracted from nutmeg was investigated for its in vitro cytotoxicity on Vero cell line (normal cell line) and anti-parasitic activity against Toxoplasma gondii parasite. Nutmeg essential oil showed very low cytotoxic activity against Vero cells with IC 50 value of 24.83µg/mL. In the in vitro anti-T.gondii assay, the oil extract showed significant inhibiting activity with EC 50 value of 24.45µg/mL. This result was comparable to the standard drug clindamycin (EC 50 =16.57µg/mL.). Based on the promising results, nutmeg essential oil may be further studied for its mechanism of action against T.gondii and to isolate the bioactive compound(s) to treat toxoplasmosis."

https://www.researchgate.net/publication/236031031_Anti-Para...

--

I found these within 5 minutes of googling.
As a settler that travels ocassionaly I am often required to open or even turn on my laptop at the security check.
Need a Pharmacy in Wandsworth – Alphega Pharmacy
Very well put.

The left ignores them completely. So they are grasping for every straw they can.
If this does go smoothly (and I hope it does), I imagine an issue being the bottleneck of higher education.

I go to school at a top CS university in America and the demand for CS classes has far surpassed the supply. Students are waitlisted in the 50s-100s for CS classes they need to take for the major. What is going to happen when the influx of CS students increases 2x, 5x..?

Hopefully higher-ed will figure it out before then.
"Astonishing"?

I cannot stand click bait titles. Is there a browser plug in that replaces bait words with more bland words instead?
Well, two things. Lots of people are good on the mechanics of a particular stack and weak on the fundamentals, making the description accurate.

And lots of people hire based on the assumption that expertise in a particular stack is the most important thing (perhaps in part as a result of the preceding point).
The Morning Hunt
This is pretty standard practice, in C# too. However, it's still somewhat prone to typos.

If you don't care about backward compatibility (i.e. the flags are used internally and never written anywhere), then a better method is actually to grab the value one line above and bit shift it by one. That way you can insert values in the middle and you won't have to change every single line (just two).
Why Startups SHOULDN'T Have Growth Teams
This seems like a good thing for an extension to do.
Looks like snake oil to me. I think this opens a niche for DaaS startups [1].

The article is more balanced than I expected. I like this quote:

> “The evidence that there is accuracy in these judgments is extremely weak,” said Alexander Todorov, a Princeton psychology professor whose research includes facial perception. “Just when we thought that physiognomy ended 100 years ago. Oh, well.”

[1] Discrimination as a Service.
I agree it's not a dichotomy. However,it's also not a "new" market and it's not just dinosaur enterprises buying on-prem software.
I'm uncertain saying Node.js is the VB of the 2010's is a nice thing to say or not.

I wrote tons of VB code but, in retrospect, I realize it was a crude tool. Efficient, in that it allowed me to build some fairly large business apps, but not really something that encouraged best practices of later eras.
Nice! I did my own clone as well, just containing the 3 boards of todo inprogress & complete. Made it to learn react, and react native (for the mobile version). I mostly use trello now, as they've just managed to make a much stronger web client than I can. I still like my own mobile client better though.

Also the fact their app works completely offline for a while now is rather handy.
Robo-bee: miniature robot perches like an insect
> "an aggregate or union type that includes one of the aforementioned types among its members (including, recursively, a member of a subaggregate or contained union), or"

I don't think you're properly understanding this wording (which was there since 1989 ANSI C, IIRC).

Firstly, we can interpret it very poorly, so that this appears defined:

{ double x = 42.0; /* declared type is double */
struct foo { int y; double z; } *p = (struct foo *) &x;

return p->y; }

Hey, x is being accessed via an aggregate type, and that type includes one of the aforementioned types (the declared type of x) as one of its members, namely member z!

Here is the real intent of the wording. Why it is necessary is simply because members are implicitly accessed when an aggregate is accessed as a whole. That is all! If we assign one "struct foo" to another, for instance, and that "struct foo" has a member "int x", that member is accessed and it is being accessed through an lvalue of type "struct foo". Without the above wording, that use would appear not to be conforming, because a "struct foo" type is being used to access an "int".

> In general, however, your complaint is basically: "C is not a pure structural type system, it's a name based one for the most part".

No, that isn't my complaint at all because, note that I still want a diagnostic if we remove the cast:

// diagnosable constraint violation:
struct foo *p = &struct_bar_instance;

I just want the access to be defined to members that happen to be of the same type and at the same offsets in these structures, without going all the way to assert that they are compatible types for the purposes of assignment/passing and pointer conversions.

The access should be defined even if the offset is the same in different ways, on those platforms where it happens to work out:

struct foo { char c; int x; };
struct bar { short s; int x; };

If c is one byte, s is two, and x is aligned to the next multiple of 4, so its offset is 4 in both structures, accessing x should work through either struct foo or struct bar on this implementation. I.e. it is undefined behavior if the offset isn't the same, otherwise requirements apply. Just like 1 << 30 is defined, and its value is the same, on all platforms where int is at least 32 bits wide. But it is not defined if int is, say, 16 bits (out of range shift).
Android N Combines AOT, Interpretation and JIT
Yes you are completely right. It wasn't meant as a serious argument. It was a reaction just as silly as then one it was answering.
While we don't have the "recipe" documented in an example repository, GAE does have right knobs and levers that would make it possible to use Bitbucket Pipelines with GAE. Give it a try! And, even if we haven't made an example repository yet, don't rule it out.
> many people whose work doesn't get their hands dirty seem to think they are subject to a different moral code

Let's not try to turn this into some "workers unite!" nonsense. I don't think how dirty someone's hands get have anything to do with what we're talking about.

Using your extreme example, the the $2k option is wrapping half a roll of duct tape around a leak. The $50k option is buying warrantied parts directly from the factory (not OEM).

What both you and the parent ignore is that there's usually a perfectly valid $20k option (OEM) that is a fair middle ground.
Because the original comment I responded to was about globalism. My response assumed that talking about Trump and globalism was dog-whistling for the less pleasant elements of society and so touched on both racism and real economic issues.
Better redaction: "The title is misleading. They are testing a scale model."
My vote goes to Richard Stallman.
"So when in doubt or unless you can prove otherwise, prefer SoA to AoS"
IRS Adds 700 Ways to Audit, So Don't Delete Emails or Wipe Hard Drives
In the UK, it was more than a suspicion - it was actual tax fraud. But the UK government decided to giggle and politely ask for a tiny amount from them, just to be sporting, what? Let's hope the French rip them apart for billions instead.
Conclusions:

What can we conclude from all this? The software world is complex enough that anything you can say will almost undoubtedly have counter-examples. While we haven’t proved it here, one of your take-aways should be the following:

It is almost always better to vectorize than not to vectorize on Intel SIMD capable hardware.

If you are vectorizing (“LOOP WAS VECTORIZED”), then it is almost always better (faster) to vectorize with SoA “stride-1” data layout than the AoS data layout simply because your chances of the compiler doing something wonderful for you are much better. This is because there are fewer instructions needed (less work) in the SoA case. It is possible that SoA may not be dramatically faster than AoS for a given code depending on how a program exercises the memory subsystem, but it is unlikely that you will see many examples where AoS code would execute significantly faster than SoA code. So when in doubt or unless you can prove otherwise, prefer SoA to AoS, specially on Intel Xeon Phi. This tends to go against how many of us were trained to arrange data structures, but for quadruple-speed single precision execution and double-speed double precision execution over the alternative, you will want to consider it.

tl;dr:

So when in doubt or unless you can prove otherwise, prefer SoA to AoS
It's not just the EU, in the US Trump enjoys a huge "emotional" support as people vote from what they "feel" has been happening to the country vs reality. They get double their emotional return because they feel like he also thinks with his emotions, aka "gut feeling" about everything instead of actually being educated about it.

In the US, middle-class and low-income are NOTORIOUS for voting against themselves, election after election after election, putting right-wing policy in place that basically crushes them slowly. Kansas is a textbook study of the final outcome of such behavior.

I call it "f\\k your neighbor voting" because people don't see it as voting against themselves at all but rather they hate their neighbors so much they think these policies will make others suffer and that makes them satisfied.
There is more to this than globalisation.

You can't just bring a bunch of muslims who have never been to the west into a liberal christian society and expect it to work out on it's own, the EU has failed miserably on this front, and people are afraid and angry. If you are a poor Eastern European with a wife and a daughter, all you see is that instead of the EU helping you out of poverty, it is brining in people from the east who will rape your wife and daughter and live off of your taxes and then kill you. After the rapes in Germany and the massacres in France, you cannot just tell people "well, shit happens".

To put this into a more rationale perspective: the left wings have failed the people, now the people are starting to turn to the other extreme.

The way I see it: you need a balance between right and left wing.
It may or may not. However, what's more important is the semantic significance.

You're making it clear these are flags and you're concerned with individual bits. 2, 4, 8 etc. are decimal numbers and mean something else i.e. "two", "four", "eight".

Does bitwise ORing the decimal numbers 2 and 4 really make sense? Not particularly, but combining bits at certain offset does.
I pitch that as a benefit. You get my expensive skills and when I've built it you get a cheap replacement of me for maintenence.
They (Chinese people) don't have the freedom to denounce US imperialism though, because that implies a choice - if they were equally able to rejoice and accept western values as they were to reject them (like you can in the USA incidentally), then your statement would be right.
A Design-First Approach to Mobile App Architecture for iOS
What if they want them to stay in their "home" country due to their culture? It's pretty much always the culture of immigrants that's in focus, but never their colour.
You are right. It's good to get opinions from people who are living abroad. But I would be cautious over the recounts of the "Chinese dissidents" who are expelled or fled from China.

They are more likely to be motivated to give a biased recount against the government as a way of expressing their resentment with the government. They also often have supports from people/organizations who are eager to find ways to paint Chinese government black (for whatever reason they might have). (Think the situation of Snowden)
i smell a fun jap/eng coding school startup idea in the making.
Good start! Only 85% to go!
The conclusions are not much of a surprise here, but nice that someone took the time to verify it.

This is comparable to the difference between row stores and column stores in the database world. When only looking at one column a column store is faster due to the memory locality, but when fetching a whole row the row store will beat it for the same reason.
...And unless you read the dragon book, you won't know how to write a recursive-descent parser. As for nested grammar, I think MPC supports that the best of the three, but even then, the support probably isn't the best. I haven't really checked though.
Thats not the point.

A refugees who flees war only need to go to the closest safe area and they are away from the imidiate danger that make them refugees.

Those with most money are those who can afford moving the furthest away.

In most cases it's actually the men who travel all the way to ex Scandinavia and leave their wife and kids behind. They do this because they know they can get them reunited later on.

The people who really have no money are stuck in the nearest refugee camp. I certainly don't hold it against those with the means to try and make a better future for themselves far away from their homelands but that does not mean you just accept everyone.

Then you just end up like Sweden and frankly not even the Swedes are happy about that right now.
Thanks for sharing. I put links to a few university research in the above post hoping the parent can see from a "real" perspective.
At that point are they even games anymore?
https://www.docracy.com/tos/changes

There's an RSS feed for all changes, haven't looked to see if there's per-site feeds.
Wait a sec. Since MPC is a Parser Combinator library, wouldn't it have the composability?
There will always be loopholes, but given there's been countless examples of abuse and times where what happened will never been known because data was intentionally deleted, this needs to stop. In fact, currently, it's standard operating procedure to delete information; once deleted, it's impossible to know what the information was, why it was deleted, etc.
All right, folks; they had ASCII in the 19th century. Have it your way!

"There were no videos? Then what did you watch on MTV?" -- Kelly Bundy, Married with Children TV Sitcom.
That sounds like something a lawsuit away from being shut down.
The problem with trying to cover everything, is that it has eroded the definition of informed consent. Expecting a person to do a informed decision on everything is difficult for even a certified expert on law, and much of "everything" is only relevant in context of local law and local contract law which dictate what is and isn't acceptable in a contract.

We are thus in a rather odd situation where most contracts and agreements are signed without the signer having a clue what they agree to.
It's too bad this is git only for now. Is there any plan to add support for mercurial repositories?
Spot the error:

...
[DayOfMonth(28)]
D28 = 134217728L,
[DayOfMonth(29)]
D29 = 268435456L,
[DayOfMonth(30)]
D30 = 536870902L,
[DayOfMonth(31)]
D31 = 1073741824L,
[DayOfMonth(DayOfMonthAttribute.LastDayOfMonth)]
Last = 2147483648L

Vs

...
[DayOfMonth(28)]
D28 = 1 << 28,
[DayOfMonth(29)]
D29 = 1 << 29,
[DayOfMonth(30)]
D30 = 1 << 31,
[DayOfMonth(31)]
D31 = 1 << 31,
[DayOfMonth(DayOfMonthAttribute.LastDayOfMonth)]
Last = 1 << 32

Hint: It's with D30 in both cases...
Math is such a wonderful and useful invention. Making people learn mathematics at school has made everyone love mathematics, take it up professionally, and become skilled mathematicians... You see my point. Most people hate math because of their experiences with it in school. I see the same thing happening with coding. It's gonna turn more people away from it than it ever turns onto it. May even do more net damage than good. (Anecdote: in my intro programming class, many people did not like it, even though they self selected to do it.)
Am on iPhone 6s and I see horizontal scrolling outside code blocks.
I think personal finance would be far more valuable to students than programming.
It's usually done to combine multiple flags using bitwise or, but I don't think it's the case here(unless glass can be shattered and not shattered at the same time).
Or are you saying that you usually write 0, 1, 2, 4 and so on?
I think azernik's reply in the other point of the thread illustrates very well how well scoped, scalable SaaS workloads are very amenable to cloud. His example is Amazon Workmail, my real-life example is Office 365, where Microsoft can essentially offer Exchange, Lync, SharePoint and Office apps for less than it would cost us to deliver Office apps + Exchange -- and make a margin.

That's old news, as Forrester reported back in 2009. https://static.googleusercontent.com/media/www.google.com/en...

It's just a matter of doing the math. It's very situational, and unfortunately I don't have anything that I've done that I am at liberty to share. I can say that in my case, at least 75% of apps we've looked at were rejected for AWS/Azure because they clearly cost more (25%) to operate, or savings were very marginal and our data about stuff like outbound bandwidth requirements was insufficient.

Keep in mind, my employer operates two shiny, efficient datacenters. We drive significant vendor savings based on purchase volumes. For a startup with no capital, AWS/Azure/etc is a no-brainer.
Ah yes, I used the math analogy, but the English analogy is also spot on.
This is good advice for supplemental improvement if you are already getting professional help.

I just wanted to add. If these things don't work, or you are feeling suicidal, or haven't talked to anyone -- please talk to your doctor. The same treatments will not work for everyone and it is not your fault if a regimen doesn't help or you can't stick with it. Even 15 minute no brainers are difficult when you are depressed.

Also, be honest about your symptoms. Anxiety may be easier to talk to your doctor about, but you can wind up prescribed addictive narcotics that will hurt rather than help.
Then why not just fingerprint everyone at birth (or shortly there-after)? Because that would be an blatantly unconstitutional violation of privacy.

Disincentivizing people from volunteering at a school by forcing them to surrender biometric data to the FBI for inclusion in a database that is normally only used to catalog information about convicted criminals is insane.
Looks like they've included the entire python stdlib, which that file is part of.