skysight-inc/HackerNews huggingface dataset:
I don't think there is a formal universal distinction in programming between a "modulo operator" and a "remainder operator" in terms of behaviour. Wikipedia says that the result of a modulo operation varies between languages [0]. Furthermore, by mathematical convention as seen in the Euclidean division theorem, the remainder is always in [0, n).

[0]: https://en.wikipedia.org/wiki/Modulo_operation#Remainder_cal...
The green name goes away but if you aren't very active, you will then get automatically shadowbanned. I had a second account which I used to disclose specific things about the company I worked at but when I tried to reuse it after a while, all my posts went immediately to dead.
> Rule of thumb says you shouldn't spend more than three times your income on housing

Is this a rural rule of thumb? Looking around me, I see people routinely paying 5-10 times their annual income to get a crappy city apartment and spending the majority of their income making mortgage payments. The alternatives, spending the majority of their income on rent or moving to an area where the majority of the income would vanish, do not seem better.
You might be right in "most" cases but looking at the benchmarks, there is quite a few cases which are used a lot in everday computing where performance literally hits rock bottom. Video rendering went from 600 frames per second down to 200 frames per second. That is a 60% or more performance loss.
There are some interesting ideas about programmability, like automagically offloading some computation parts to FPGA.

http://conal.net/blog/posts/haskell-to-hardware-via-cccs
http://conal.net/blog/posts/circuits-as-a-bicartesian-closed...
https://github.com/conal/lambda-ccc/blob/master/doc/notes.md
You could probably get more where I work (CyberAgent) or similar places like Line, Mercari. Applying is free :)
Is Node JavaScript performance better than PHP?
Machine Learning analyzes data and information of users' online behaviours
It has actually been perfectly viable to escape Intel and (especially) Microsoft for a very long time. Lots of people on HN have done so.

Buy an AMD machine, install Ubuntu, and you're done.
Just an FYI, the Bretton Woods system was the gold tied system that lasted until the 70's and was discarded for a fully fiat system. From context it seems you're using the reference incorrectly to mean this post gold standard system.
[PowerShell] Get Group Membership Changes
they've always been only money burners, because certifications are tight to specific technologies, that gradually are disappearing with the time (Think to all those MSCE Windows Server 2000, 2003 or old RedHat ones).

They are totally pointless nowadays.
These seems to be linux's own mitigations against L1TF. There's no mention about microcode being updated here, which I assume isn't the case.

I assume the microcode update could be either equal o slightly worse in terms of performance, as the CPU might need to flush more frequently.

Which is pretty sad, as the status of kernel+microcode updates is quite confusing already. Some mitigations can take advantage of new microcode updates, if the kernel is recent enough. How does the pure soft-workaround compare in terms of performance to the microcode-assisted one?

Note that, combining all workarounds for meltdown+spectre-v1/v2+l1tf can have a significant performance hit for some workloads which are not purely cpu-bound. On top of that HT is now looking like a bad idea to start with.

I'm pretty sure that for a server where there's a lot of I/O and virtualization going on, enabling all the patches and workarounds + disabling HT can take a massive cut in overall throughput.
This title is... not great.

This is neither the first nor the second famous dome in Italy that came to mind.
Yeah. It’s a fairly small and young company (5ish years) so I knew I’d be taking a paydrop but I think the experience and Japanese practice was worth it! There are tons of tech events you can use Japanese at, try finding them on compass.com. As long as you turn up and try to speak amd socialize you’ll find your Japanese improving rapidly.

Glad you found a good position with a solid salary! Good engineers who speak English and Japanese are hard to come by, get your languages skills up a hit and you’ll be able to work anywhere you want.
The linked articles state the testing was done with the mitigations provided in the latest kernel enabled. It does not say that the microcode updates were applied during the testing.

Also there was significant reduced performance when hyperthreading was disabled as required to fully mitigate the threat of the vulnerabilities. If the microcode update changes the behavoir of hyperthreading in order to fully mitigate the vulnerabilities without having to completely disable it then there is a chance these changes effect the performance benefit of hyperthreading.

Given Intel's anti-benchmark license clause without evidence otherwise I assume it is not just a chance but a strong likelihood that the performance benefits are significantly impacted.
How to Meet Sugar Daddy in Canada
http://paperkast.com/
Banks Are Becoming Obsolete in China – Could the U.S. Be Next?
The key to this is in how you do integer division. Here is what happens in Python2:

>>> 19 % -12

-5

>>> 19 / -12

-2

That is because Python2 integer division is something called "floored division". This can be seen as always rounding toward negative infinity. This is arguably the correct way to do integer division and in fact there has been a lot of argument about this over the years.

One very nice feature of floored division is that it does not have a weird discontinuity around 0 as "round toward 0" does. This discontinuity can sometimes cause problems in embedded applications involving physical motion.

So mod and remainder are the same. You just have to do the division right...
These are really good points. Thank you.
Currently, Caonima is optimized for China, so our VPS is located in Japan and the use of the obfuscation plugin is required. After registering, users get a link with their client configuration. Users can connect with any device on which they managed to install the Shadowsocks client and the obfuscation plugin. This seems to be a pain
point. Some users do not get past that stage.

Caonima provides a ready-to-use server connection. For client installation, we refer our users to the official Shadowsocks channels. Caonima is compatible with the subset of Shadowsocks clients that support the SIP003 plugins
(https://shadowsocks.org/en/spec/Plugin.html). In other words, the better maintained ones, like the C libev implementation. Shadowsocks has a good installation story on Android, too, with the app store and configuration via QR code or paste link. Last time I checked, Potatso on iOS was not supporting the SIP003 plugins.

With Caonima, I was able to watch Youtube videos in China without lag. If there will be demand, we will provide kcptun connections for further optimization.

So here are some questions to which I have no answers yet. Who needs Shadowsocks as a service? People who travel to destinations where the Internet is restricted, and for which the installation and maintenance of a Shadowsocks server is overkill? Expats who expect the best speed and performance from their proxy? ISP customers who suffer from net
neutrality violations? Organisations that do business with China, whose employees travel to China, and who might benefit from a lightweight solution?

Ultimately, I hope that the service can prove beneficial to its target audience. It's true that I don't know yet who that is, but I do know that it grows everyday, unfortunately. We live in a world where open, unfettered access to the Internet is
becoming less rather than more self-evident.
The hard part wasn't getting the bugs out (we didn't find anything substantial), it was making it run on a machine different from my laptop, making it take non-hardcoded data and parameters, cleaning the code up and documenting sufficiently that we could reasonably understand it after not looking at it for half a year, and packaging it in such a way that users wouldn't have to spend half a day installing it.

I don't think you can reasonably expect software that extracts features from photographs to be proven correct. What would the specification even look like? How many man years would you spend on verifying OpenCV and the two dozen other dependencies you rely on? It's not like all math papers provide machine checked proofs and that would probably be an easier endeavor.
Councils and boroughs still running Server 2000
What can be used instead?
There are really low-noise and well monitored sub on reddit, where the scope of their information is limited.
An example, to talk and share news about Syrian situation, https://www.reddit.com/r/syriancivilwar is an amazing neutral space.
Ask HN: What problems have you faced while monetizing an app
I'm working on a new app and already understand how important to create a monetizing strategy from the start. So can anyone share their experience with in-app purchases. What are the most important thing to pay attention to and what are the most common coding issues. Thanks in advance!
All the computing in the world won't prove the existence of god.
depends, but 6 figures seems pretty normal if you're good but not in charge of anything in particular? dev salaries are lower here, maybe? but I started in data on the same salary that my been-devving-6-years girlfriend is on now after 3 raises.
The two huge companies being merged is more often considered fail than otherwise.

> a 2004 study by Bain & Company found that 70 percent of mergers failed to increase shareholder value. More recently, a 2007 study by Hay Group and the Sorbonne found that more than 90 percent of mergers in Europe fail to reach financial goals.

http://edition.cnn.com/2009/BUSINESS/05/21/merger.marriage/

Especially when the merge should be deep and involve engineering teams with different cultures to join and work together on the product. So I'd consider the release of first Xeon+FPGA after 3 years past acquisition as a somewhat success.
It will happen naturally. Throwing hardware at the problem is still the most economical thing to do. Features and speed of development still beat performance. When that's no longer true we'll focus on performance again.
The hard truth is, you're best leaving it alone unless you're willing to take the flak for introducing bugs into "working" code. It's just one of the unfortunate realities of software development.
I think you mean this comment:

https://news.ycombinator.com/item?id=17818407#17819123

Quote at the end:

The underlying issue they are trying to solve is that developers believe they should be able to extract some of the wealth they feel they created. In open source, that wealth is often only created because the software was free. Otherwise, people would have used something else that was free but worked well enough. Developers like to often argue this isn't true, but history shows it to be true basically always :) So saying you should be able to extract this wealth is probably wrong. Saying you should be able to get paid a reasonable amount of money is not.
Article unreadable in the EU. Thanks GDPR :(
>Before Zen, we all kind of assumed they were so far ahead that AMD were more likely to be out of business before they would ever be a credible threat again.

It depends where about on the timeline. AMD's hired of Lisa Su and Jim Keller in 2012, we all thought it was too little too late. Look back at the Roadmap Intel were giving at the time, I used to joke about Tick Tock were like the sound of AMD's death clock. In 2012 we were looking at 10nm in 2016, 7nm in 2018, and 5nm in 2020. We just had Sandy Bridge, but that was the last big IPC improvement we have had.

Fast forward to 2018 / 2019, No 10nm, and I would have been happy if they were selling me 14nm++++++ Quad Core Sandy Bridge. Broadwell and Skylake brings nothing much substantial. Intel were suppose to break the ARM Mobile Market with tour de force, and that didn't happen.

We all assumed Intel had many other tricks up its sleeves, new uArch or 10nm waiting in the wings when things are needed. Turns out they have nothing. Why did they buy McAfee?( Which has been sold off already ) And Infineon? Nearly eight years after the acquisition they are just about to ship their first Mobile Baseband made by their own Fabs, Eight Years! What an achievement! Nearly three years after their acquisition of Altera, which itself has been previously working with Intel Custom Fab before that. What do they have to show?

During that time, the Smartphone revolution scale has helped Pure Play Fab like TSMC to made enough profits and fund their R&D rivalling Intel. And in a few more weeks time we will have an TSMC / Apple 7nm node shipping in millions of units per week. In terms of HVM and leading node, making TSMC over taking Intel for the first time in history. AMD has been executing well following their Roadmap, and Lisa Su did not disappoint. Nothing on those slides were marketing speaks or tricks that Intel used. No over hyped performance improvement, but promise of incremental progress. She reminds me of Pat Gelsinger from Intel, Down to Earth, and telling the truth.

Judging from the Results though, AMD aren't making enough of dent in OEM and enterprise. Well I guess if you are not buying those CPU with your own money, why would you not buy Intel? The consumer market and Small Web Hosting market though seems to be doing better, where the owners are paying. I hope Zen 2 will make enough improvement and change those people's mind, better IPC, better memory controller.

If you loathe Intel after all the lies they have been telling and marketing speaks, you should buy AMD.

If you love Intel still after all, you should still buy AMD, teach them a painful lesson to wake them up.
Sadly I'm still on Windows7. I'll start the fight with IT over access (I assume configuring it requires admin) as soon as I'm on Windows10.
I seriously doubt this is going to result in hiring more people without a degree. Anyone who has interviewed at these companies will likely agree.
The laminate book of dreams
When Apple stores close, there are specialists called in to use mallets to destroy the floors and displays. (Saw this on Reddit, can't find a source at the moment sadly.)
Wow.
A) You are a creep.
B) However thanks for sharing this.
C) I'm not sure if you shared this for google to fix, or to brag about it - so still a creep.
D) Next time just apply for a bounty.
E) Creep.
Exactly, failing to keep up with the Jones has real impact on happiness. Absolute vs relative prosperity is like buying a top of the line new computer in 1995 or a used computer today built in 2010 that is vastly more powerful yet can’t run a lot of current software well.

One issue is we are constantly bombarded with things we don’t have. Basic cable has far more channels than existed in 1960 but the menu constantly shows every channel you don’t have while making menus harder to use.
Yeah but it's already sufficient to beat the cram at anything under 3k mmr. It's quite remarquable as most players are in this loW tier.
I cited wikipedia and a UN observer. What else do you want as data? Survey data? Who would answer a survey asking if you were racist, specifically if you're racist towards certain ethnic groups? What are you realistically asking for that will change your mind?
Welcome to software engineering, this is how things are here. It is very unlikely that you will ever work on a large project that gives you a warm feeling in your belly. So learn to grow on it.

Rewriting random code as a codebase newbie is always a mistake. You will get things wrong. Mistakes can be delayed a long time before you are aware of it.

Try to understand the product. You should spend more time to understand the product features and flow instead of staring at single ugly code fragments. Understanding it will reveal some structure in the code, even if it isn't explicit. Try to engage your peers about things you don't understand. They will potentially deliver tons of detail and background information. Over time you can mentally map this high level information to the codebase.

If you understand the product better, I'd suggest to write a few (1-5) simple selenium tests that cover the core tasks of the product. This test is simply to ensure that you do not break something on the greater scale and the product is still delivering it's basic value. If you start to find confidence with you tests, you can share them with your peers. This will give everyone some instant value and potentially a lot of respect towards you.

You seem to be afraid of your colleague. You don't even know if he wrote all that code, you don't know about his stance on the codebase. Engage him, try to find out how he is working with the codebase. Try to find out his skill level and mentality. Do not judge early, don't complain. Even if he is low skilled, he could have a lot of knowledge about the product and the company.

Eventually don't expect to rewrite the whole codebase. Rewriting a large valuable project which is in production will take easily a year. One year after that someone will claim this is legacy. It won't help. It is easy to think that you can do better, but even a clean codebase can be a huge mess.
Figure out how to gradually improve the project alongside features. Figure out risks and high friction tasks for devs, operations and users.
You may be missing the point here: it's AI, so it doesn't "think" in terms of strategies or tactics like you do, it just runs countless simulations, figures out what works in those, and then blindly applies that. So if the human opponents do things it has not been trained to cope with, they'll have a significant edge.

Incidentally, this is pretty much what Kasparov did when playing Deep Blue, with some success: https://en.wikipedia.org/wiki/Deep_Blue_versus_Garry_Kasparo...

Aside: As a non-Dota-playing HNer, the only one of those points I found comprehensible was #11. Gaming jargon can be pretty impenetrable to the uninitiated...
Any non-Japanese person who wants to work there should think long and hard, and give it a trial first. Poor pay, strong work culture, stifling weather and crazy weather events for much of the year...it's no paradise. You'll frequently see things happen which are downright illegal in the Western world. For example, being explicitly denied service because you're not Japanese. You might not see these things as a tourist but live there and you'll see it.

It's sad that some introverted/vulnerable people seem to gravitate towards Japanese culture. If the Japanese themselves have a tough time in their own society then why do outsiders expect to fare any better.
In the last few years we switched from throwing more CPU cycles at the problem to throwing more CPUs at the (not necessarily parallelizable) problem.
You're not kidding - I hadn't read about him before, but wow. https://en.wikipedia.org/wiki/Filippo_Brunelleschi Architecture, ship engineering, mathematics and sculpture. The dome itself is the largest brick-constructed dome in the world.
I don't understand why you would have been expected to report this to Google. It's not an issue or bug with Google, it's a simple gray hat social engineering trick.

People linking to fake sites as a dark pattern is nothing novel, you just did so too capture analytics instead of, say, installing a virus or taking someone's credentials. That said, you certainly could have done the latter and gotten views into your competitors' user portals. In my head that's not fundamentally different or more unethical from what you ended up doing.

I don't necessarily begrudge you for trying it, but I don't think it's for a noble reason nor do I think it was particularly innovative and the end result is Google doing something unsurprising.
It's particularly egregious because the original article title says "...on ARM laptop Pinebook".
> The smartphone is a general purpose handheld computer that's been captured and turned into a rent-extraction device by being re-conceptualized as a "service."

Services are indisputably a good thing and they are absolutely the way forwards. There is no reason for anybody to own much of anything and with global middle class approaching 4 billion it's simply not possible for the extremely wasteful concept of "ownership" to survive. Metering is the only way forwards besides catastrophe.

> Already, I mistrust non-OSS computing devices with their mystery-meat forced updates and non-removeable apps and barrage of legal agreements.

You've stumbled upon the actual issue which is nothing more than compelled business (in Europe and Asia) and what I guess the US calls a "coercive monopoly" [1]. The fundamental problem with Apple's App Store is that there is no reasonable alternative. Individuals and businesses which purchase IPhone devices are forced to do business with Apple if they want to actually utilize those devices to their full potential. Similarly developers who wish to provide services around IPhones have no choice but to do business with Apple.

> We know how this goes in the case of corrupt illiberal states, but ending up in that same place via a corrupt corporate culture/state is also possible, happening as we speak even, and halting that should be seen as another layer of defense for the liberal order.

Ironically, if you want to see a government who gets this "right" take a look at China. Chinese governments have moved aggressively to prevent monopolies and the laws were modified ten years ago to draw a clear distinction between a market (where all businesses interact freely and there is fair competition) and a platform (where a single business dictates virtually all the economic terms). This, along with the relaxed IP framework, is why the Chinese market is much more competitive and dynamic than anything else going on out there. At this point I don't think anybody seriously expects America's ultra-right-wing Supreme Court to break Apple's monopoly, but earlier this year there were a lot of indicators suggesting that Apple's coercive practices were not welcome [2]. (Though this issue might solve itself if Apple's market share in China continues to plunge.)

[1] https://en.wikipedia.org/wiki/Coercive_monopoly

[2] https://www.nytimes.com/2017/08/10/business/china-apple-app-...
This code is not written by me syndrome ?
I have over 25 programming books in my cube and another dozen or so at home. I'd say roughly 1/3 tend to favor full practical programs interlaced with snippets. The full programs are usually 1/2 to a few pages in each chapter and are in general, not something I'd try to cram into the REPL piece by piece.
Lets be real the second car is so the spouse can get a job too because otherwise the bank is taking the house.
Your right he did the ethical right thing and informed the sites he’s spoofing, and informed the users he tricked. And he only ran it for a limited period to prove it was possible...
Oh no wait he did none of those things. This is not a POC, it’s just a guy running an exploit for five years who thought he did nothing wrong because “If i shouldn’t be allowed entry, they should have used a better lock!”
I don't think that is quite true. Yes, for normal intergers 17 and 4, you can say the above. But mod can also be used as an operation on (and into) the equivalence classes of Z mod 4.
Copyright violation? You're literally just "archiving" their website. Exactly the same as Google are doing themselves.
The point was that one worker can't effectively pay for a household anymore.
> I do find it irritating he brought up WW2 within 2 hours after the article was posted, just because it was about Japan. I get the impression he just wanted to use the opportunity to bad-mouth Japan.

Trying to read somebody's motives (who you have never met) is mostly incorrect. Japanese people in Japan are incredibly racist towards other Asian people. And the Japanese government is backpedaling and still visits a shrine with convicted war criminals celebrated as casualties.