skysight-inc/HackerNews huggingface dataset:
The compiler probably turned

for(int I = 0; I < 4; ++I) {
real32 PixelPx = (real32)(XI + I);
real32 PixelPy = (real32)Y;
real32 dx = PixelPx - Origin.x;
real32 dy = PixelPy - Origin.y;

real32 U = dx*nXAxis.x + dy*nXAxis.y;
real32 V = dx*nYAxis.x + dy*nYAxis.y;

//rest of the loop
}

into something like

real32 PixelPy = (real32)Y;
real32 dy = PixelPy - Origin.y;

real32 PixelPx = (real32)(XI);
real32 dx = PixelPx - Origin.x;

real32 U = dx*nXAxis.x + dy*nXAxis.y;
real32 V = dx*nYAxis.x + dy*nYAxis.y;

for(int I = 0; I < 4; ++I) {
U += nXAxis.x;
V += nYAxis.x;

//rest of the loop
}

PixelPy and dy are not affected by the counter in the loop which means they can safely moved outside the loop.

This also results in the subexpression
dynXAxis.y
and
dynYAxis.y
being lifted outside the loop.

Now we've moved half of the code outside the loop but we aren't done yet.

The same can be done with PixelPx and dx, the trick is to then replace
dxnXAxis.x
with

(dx + I)*nXAxis.x

Expanding

(dx + I)*nXAxis.x

yields

dx*nXAxis.x + I*nXAxis.x

We can now lift the subexpression

dx*nXAxis.x

out of the loop.

The only thing that is now done in the loop is

I*nXAxis.x

which can be further simplified to

U += nXAxis.x

The same happens with nYAxis.x.

EDIT: Sorry for the bad formatting. The markdown parser ate my asterisks so I put things into code blocks which requires a new line each time.
Not sure I am going to be able to appreciate the difference between chaos and what seems likely to follow this.
In a way, it's like the Go team chose to write something that has some of the coder UX of Smalltalk, but in a C-like statically compiled language. There is a useful region of language design space around the "simple language" concept, and they seem to be making the most of that particular design space maxima.
A PayPal Mystery
That show has been amazing for its relevancy.
Vim GIFs
> totalitarian

Probably the most misused term/epithet in international relations. At its worst Turkey is no more repressive than Russia or China and less repressive than Iran. Once you use "totalitarian" to describe authoritarian regimes, you run out of room to describe those that actually qualify as totalitarian, such as North Korea or Eritrea.
For the interested, I finally wrote up a description of one of the core concepts we use in figuring out our homebrew methodology of downsizing/minimalism:

https://chadkohalyk.com/2016/07/19/danshari-thinking-about-s...
won't save you. if you're that targeted they can also measure font sizing, or render it in a canvas and inspect the actual font shape.
Yes I just moved to Amsterdam (after 4 years in SF, 10 years in Montreal, and growing up in Paris before that) and it all seems way better than expected so far.

Everyone speaks english, most services also offer communications in english (bank, etc.) so really I don't find myself stuck trying to translate Dutch all the time (until I learn it) and tech seems to grow a lot here. While working in the city, I can see a lot of local tech and SV tech (Uber, booking, Atlassian, etc.).

It's also super cheap overall, and most foreign skill workers get 30% of their salary tax free.

As to move your company, I quickly looked and it seems like the taxes for companies in Amsterdam is easy and nice. 20% on the first 200k, 25% for the rest. And apparently lots of things deducible.
I think another key part of the dream is IDE support. So maybe the dream is complete with: Graal + Truffle + Nitra[1].

[1] Nitra - https://github.com/JetBrains/Nitra
Totally agree, but in perf critical inner loops, it might be interesting to speculatively inline different functions and measure perf. Overly factored code inside an inner loop has been shown in the video to cause compiler confusion.
I didn't realize just how fragile TOR is. . . While I understand that remaining anonymous requires adjusting your browser habits somewhat extensively, the fact that a ReCAPTCHA is enough to (theoretically) de-anonymize a user seems to me that it's not able to anonymize at all when browsing.

While TOR may be useful for evading firewalls, my general perception of the project has changed from general anonymity tool to a tool tailored for very specific use.

Granted, this is probably what my understanding always should have been.
With the mandatory leave in the US being 0, I would expect every single employee in the private sector to want a job with more vacation.

If people aren't thinking with their best interest in mind, there isn't much you can do.
I honestly don't believe it was a coup at all, or at least it was known before hand. There's no way the presidents plane was allows to just flying in circles around the city.
...or at some point had links to the Hizmet (Gulen) movement - whether it be staying in one of their dorms, or...
> It's hard to believe that this is the same Kissinger that's still held in high regard today.

It's really not: the people that hold Kissinger in high regard today (and those that did so then) did so specifically because of things like this, not despite them.

Note, though, that regard for Kissinger is rather mixed; while some hold him in high regard, some think of him as one of America's leading war criminals.
In my book, "quite likely" would be, say, 80-90 %. And that is absurd.

It is imaginable that the coup was staged, but it is not more likely than the other, more realistic explanations. In fact, it is still rather unlikely, even if one cannot rule it out completely.

That being said, as another commentator mentioned: These lists have existed before, since tensions have been going on for years. So now Erdogan just had to pull them out of the drawer.
A huge range of things are worth doing without being science. Further, just looking at vast amounts of data is not the scientific method.

It's like using vast amount of information to create a self driving car vs. actually letting the car run on real roads. The first can only tell if it approximates reasonable driving, the second can tell if it avoids getting into dangerous situations. You can collect a lot of information on the US economy, but in the real world the FED is actively trying to manage things and you can remove that factor from the data.
> It's starting to seem like they had these lists made up ahead of time and have been waiting for the right time to start cleansing the ranks.

Kind of how the 342-page US Patriot Act was introduced days after the September 11th terrorist attacks?
I doubt many people really hold Kissinger in "high regard."
Seems to work just fine for most state operations. The people really capable of critical thought will quickly learn to keep their mouths shut.
57% allopathic doctors in India have no medical qualification
So why don't people call it as it? Anything that has to do with foreign politics always sounds like propaganda to me or some weird sense of moral superiority.
Obama and Hillary made a huge error in judgment by siding with a fascist. It's amazing how we haven't gotten ourselves in deep sh!t already given how badly our leaders judge situations. But maybe we have, and we just don't know it yet.
This after Erdogan has already purged 2,700 judges and 8,000 police officers:

http://www.reuters.com/article/turkey-security-judges-idINKC...

http://www.politico.eu/article/turkey-dismisses-8000-police-...

This looks very much like a real-world version of Supreme Chancellor Palpatine's "Execute order 66":

http://starwars.wikia.com/wiki/Order_66

https://www.youtube.com/watch?v=09n0qd_n4c0
There are a lot of weasel words for the other languages, but the comment about ruby is extremely interesting:

"For example, the TruffleJS engine which implements JavaScript is competitive with V8 in benchmarks. The RubyTruffle engine is faster than all other Ruby implementations by far. The TruffleC engine is roughly competitive with GCC."
I really despise all things recruiter. I frequently hang up on them. They are the scum of the industry.

I've had several jobs I've gotten via recruiter and several that were direct hire. In every single case, the direct hire jobs were better (quality of the work environment, treatment, quality of the software and environments .. I'd even dare the say the quality of the team/other employees in some cases).

Another thing about the writer of this article; he mentions his loyalty and how it felt like he was "cheating on his wife". You should never feel loyal to a company. It's not a personal relationship. I talk about it a bit in this writeup: http://khanism.org/society/loyalty/
Does No Starch Press count? They have some very good technical publications, including Hacking: The Art of Exploitation.

https://en.wikipedia.org/wiki/No_Starch_Press
That's a phenomenon that happens in every big city in Western Europe unfortunately. At least the cost of living besides rent is still cheap in Berlin, unlike cities in northern Europe.
I don't think anyone claims Russia or China are democratic. Nor are we planning to add them to the EU or NATO anytime soon.
You do understand that hardware development has been shaped by C being the defacto standard low-level language? That is, if new hardware isn't easy to code for with C it has little chance of it catching on, unless it's so incredibly low-level and minimal that ASM is the most complicated language you need.

And while I'm no compiler writer, I suspect stack machines are a great choice for modelling an intermediate language because converting it to optimal register use is fairly simple, yet at the same time is completely agnostic about how many registers an underlying machine has.
Traffic analysis is always a problem; this is a specific case, but I'm not sure this is anything new.

Many attacks on Tor are facilitated by or require JavaScript. Consider disabling it rather than executing arbitrary, untrusted software on your computer automatically.
It always blew me away at how few of my peers would take advantage of feedback.

Whenever a paper was assigned, I always started it that same day, finished later in the week, and then sent it to the professor for their thoughts.

I’d address the professors concerns, follow up on their suggestions and-surprise!-did well.

Everyone else seemed to wait until the last minute, stress out, spend the same amount of time as me writing, just to end up with a worse grade and feedback too late to be useful.

This wasn't limited to my English/Rhetoric courses- I've come to the conclusion that none of my professors actually slept given how quickly and frequently they'd respond to e-mails.
What a shame. Erdogan is cementing his position and thus totalitarianism and islamofascism. Driving out the intellectuals and freethinkers is a significant step. Every month he and people like him are in office will take Turkey years to recover from. If this isn't stopped now, and it seems like it isn't, I doubt I will see a free Turkey in my lifetime.
Best of both worlds in Javascript. Use "IIFE" to make an anonymous function and call it. The editor lets you elide the function if you don't want to see the details, or leave it "open" if you want to read it.

If it turns out said little dance needs to be done twice, instead, assign the function expression to a name (in an appropriate scope) and call it twice.

Nested funcs/procs in Pascal were useful for this kind of local partitioning, as well (before C; C++; Java came and peed in the development mindshare pool), even if you couldn't make closures out of them.
Agreed. There's no way Turkey can get into the EU, first, because it will never meet EU rules; and second, because any other EU member can veto it. In this case, Greece probably would.

Quoted from https://fullfact.org/europe/turkey-likely-join-eu/

Turkey first applied to join what was then the EEC in 1987. It was declared an eligible candidate in 1997. Negotiations were formally opened in 2005.

Now, in 2016, negotiations have closed on just one out of 35 chapters—‘science and research’, which was completed in 2006, the year after it was opened.

Of the remaining 34 chapters, 14 have been opened for negotiation.

In 2006, the EU decided that until Turkey agrees to remove obstacles to free movement of goods (including transport restrictions) between it and Cyprus, no more chapters will be provisionally closed. Eight chapters (including areas fundamental to EU law, such as free movement of goods and right of establishment and freedom to provide services) will not even be opened.
The one they're describing does, yes.
The most important question: how do I find an apartment to rent in Stockholm city center without Swedish connections and without spending more than 1/3 net pay?
> I don't think they failed as much as they were never meant to succeed

Do you think it was a setup orchestrated by Erdogan ?
The title is misleading: 30k leads are not the result of the AI optimization, they are the input. It should be From 32% to 35% conversion rate with A.I. driven drip campaign optimization
If you're only sending a small amount of desirable transactional email, you're the perfect model of a good sender and your blacklist risk will be vanishingly low. Sending from a shared IP will still expose you to the behavior of the other customers using it (like a VPS, you'll have neighbors). We actively police our shared IPs for bad sender behavior.

Dedicated IP packages won't be affected by the sending habits of other users. They are more cost-efficient for high-volume senders, but we do have dedicated IP tiers starting at the $80/mo. mark, which allows up to 100k mails a month.

With either option, we're always happy to work with you if you're having deliverability issues - and that includes checking IPs for blacklist status.
Basically, Erdogan has given up on the EU, and to be fair, the EU has probably missed out on an opportunity to draw Turkey into its sphere while the chance existed, and while Erdogan was willing to compromise.
The magic of spreadsheets
Or, as W. E. Deming wrote: "You cannot inspect quality into a product."
> That utterly fails to explain why new innovations aren't reaching the common person.

Because you can't innovate more land out of nothing. People need someplace to live and until they don't, land will continue to be the most constrained and contested "wealth" unit.
> At its worst Turkey is no more repressive than Russia or China

This is what is called "setting the bar so low that a mouse could trip over it."
"Very totalitarian" vs "somewhat totalitarian".
Google, Trying to Endear Itself to Europe, Spreads Cash Around
It is happening in almost every major US city as well. Boston, SF, NYC, DC, even downtown Orlando. Millennials are trading in the suburbs for cities.
Interesting, because I've had the opposite experience. I learned how to count calories, and now I never need to look up anything specific, I can just make an educated guess. I never did pills or WW, so I wonder if that's related.
I'm not even super big on the show (my wife is), but twice now I've seen things foreshadowed on it. It was so blatantly clear Turkey was devolving into a pure dictatorship when the episode was filmed like two years ago.

We've seen stuff on Reddit, but the conversation they had at the end of the episode with the business owner was just scary. He was basically just like, "yeah, we're going to take power right from under everyone's noses, and it's going to make me rich"
Show HN: A shell/bash parser and formatter in Go
2x copy-paste is a "whole other world of pain"? I've worked in shops where the rule was you didn't make a method or otherwise refactor until there were 3 repeats of the same code. If you're in an environment where you can make the prophylactic search for that code pattern, this works well. (I could easily make searches with full syntactic expressiveness.)
> Since the dawn of computing our industry has been engaged on a never ending quest to build the perfect language.

...unfortunately. I see PLs as mere material - sure, you can improve on them but at far more important is how we architect our systems (the PL-independent ways we create and organize our systems into interfaces and components) is where I see the software practitioners of today flailing - and no PL is going to save us there.

We need to have a better way to analyze systems on these architectural measures and a better way to train people to build better architectures, not more PLs.
Do you have video of this? Interested.
Why Lithium Will See Another Price Spike This Fall
The problem with that plan is that Turkey has only one equal on its borders (Iran), and cooking up a cassus belli (supporting the Rojava Kurds & the Syrian government...?) there isn't going to be easy. Everyone else is either friendly (Azerbaijan), an overmatch (Russia & NATO), or a pushover but with overmatching alliances (Armenia & Syria).

I suppose they'll have to settle for a Kurdish insurgency...
Do you know the relative performance of Power7 and Haswell? The implementation is not wait-free on Power7 because of HW limitation, and has significantly lower throughput than Haswell in the benchmarks.
Big Data ;)
COBOL and Legacy Code as a Systemic Risk
As I said, it should be possible in theory. It boils down to details. I.e. how good the compiler is and how hard is to do better than automatic optimization for given hardware. It's not a uniform yes / no situation.
What about Lisbon? Portugal is very, very cheap compared to London and Berlin.
How to dress as an entrepreneur
Nah most companies still insist on their process but I don't think I've ever been denied an interview (it's usually HR screening resumes and they won't pass on people with a background at companies like FB/Google). It helped a lot in convincing me working at a large tech company was not the right path for me personally (if you can't tolerate it at FB/Google, it's unlikely you would be able to do so anywhere else). Perhaps the biggest benefit is security: you can safely take startup risks without worrying about getting back into the industry. That's been the most important benefit I think.
You are completely right, thanks for the feedback!
It's not clear in the OP, but according to the complaint, the test that the plaintiff underwent was the finger prick method:

> 76. Theranos drew blood from R.C. using its “tiny drop” finger prick method. The process was painful and was not quick as advertised. The phlebotomist struggled to secure enough blood from R.C.’s finger and had to repeat the painful process several times before collecting enough to test.

IIRC, Theranos did regular type of draws, too, as the finger prick tests weren't performing particularly well. They touted their venous draws as being more efficient and cheaper than the standard tests, though:. From their homepage:

> Our tests, including venous draws, require smaller samples than traditional labs. We also use much smaller needles. Ones designed specifically for collecting blood for children, taking the smallest sample possible. Theranos tests mean less blood, an easier process, and a clear difference in your experience.
Obviously people are looking to cash in. The lack of details on this one is expected. What could be the starting situation in which a man is on medication for something (unstated) and his blood lipids and blood sugar come back normal when they were in reality abnormal and, further, if that abnormality had showed up the doc would have changed the meds in such a way that the heart attack wold have been prevented one month later? One one month pre heart attack you are probably pretty occluded already. Are we to assume this guy had no angina a month prior? Are we to assume that he did not but seeing a high blood sugar would have led his physician to an investigation that would have led to a cardiac study?
> The TruffleC engine is roughly competitive with GCC

It is not surprising in sense Java is competitive to C/C++ as per many Java developers.
>or vote

In a dictatorship, it doesn't even matter who you vote for because the results can be falsified. Last Turkish election was stolen by Erdogan's AKP. And no one in western media said anything about it.

Erik Meyersson, prof at Stockholm School of Economics, did the analysis of turkish election data and he found the evidence of falsification:

https://erikmeyersson.com/2015/11/04/digit-tests-and-the-pec...
I am not obligated to negotiate, especially if there is the possibility of competing offers. And because of this, a company's first offer very often is their best offer, and they never get a second chance.

The company is not buying trinkets at a flea market. It's trying to rent skilled labor in a competitive market. If you pay me less than I'm worth, I can usually find a higher bidder. So there is the price you can pay to get me to work for you next month, and there is a higher price you can pay to hire me and get me to stop seeking offers from other employers for the next N months.

And the possibility that someone would walk away rather than counter is the very thing that keeps initial offers reasonable for everybody. It is the very same principle behind unionized collective bargaining, without the cartel enforcer of the union. The Nash equilibrium is to always negotiate individually, because you will usually get more money, but the strategy that benefits the whole class (tech employees) the most in aggregate is for most of us to not negotiate at all, and to judge the first offer as the only offer, because that ensures that tech employers always have to open with their best possible offer, or risk losing the candidate entirely.

Fortunately for tech employers, tech employees don't have enough solidarity or a strong enough cartel enforcer to accept any common negotiations strategy.
That's great how there is a measurement of 2.5MB per cubic meter. I've love to see a 1 x 1 x 1 meter cube of rope memory... Imagine the person hours required to do something like that, you'd have to hire professional persian carpet weavers or something.
My intuition is that an XSLT that can handle everything in a .docx document has approximately the same complexity as the Word executable because it must correctly interpret the information in the .docx in order to correctly transform it. Which is to say that the number of corner cases that such an XSLT has to handle is very very large. It is a reflection of the many many developer-years that has gone into the project.

Because a .docx is already a set of XML documents, and Microsoft provides tools for manipulating them [1], my gut reaction would be to treat Microsoft's format as the primary form of storage and use those tools rather than something custom built for a different XML format: it avoids having to design and build the software for translating .docx files, designing a custom XML schema, and building tooling for that custom schema.

If conversion is definitely necessary, I'd still think performing it with Microsoft's tooling is likely to be more productive than hand coding XSLT.

Good luck.

[1]: https://msdn.microsoft.com/en-us/library/office/dn467914.asp...
Oh, No – Pokémon Go a Sneak Peek at Forensic Artifacts
Housing ownership _can_ be rent-seeking, as long as rentier behavior is applied to the stock.

For example, home-owners in San Francisco who actively prohibit new construction are rent-seekers.
Here's the FlightRadar24 track of his jet: https://www.flightradar24.com/data/flights/tk8456/#a5a3952
They probably aren't now.

That they were recently is surprising to many. IIRC the main bargaining chip that kept them in contention was consideration for the current collection of refugee crises where certain actions by Turkey could help a lot and other could further exacerbate the problems (both from an administrative PoV within the EU and a humanitarian PoV).
Because it works to sway the masses. If you think you should take some action, telling your people that it's moral will help get support for it. If you think some other country shouldn't take some action, telling their people it's immoral will hurt support.
It's not a jab or a judgement, it's a statement of fact to illustrate the point that technology from 1991 still works perfectly fine today and that nothing about today's technology prevents you from using technology from 1991 or any time if that is the best solution for your project.