skysight-inc/HackerNews huggingface dataset:
I was fired for not moving back to the USA. I was lucky enough to turn that to my advantage.

In 2012, I was living/working remotely in Ukraine (still am) as a single support dev, having worked for the same company since 2003. Around the time of my annual review, the founders asked me to move back to their main office in Massachusetts. I didn't see this as a serious enough offer, however, because despite the facts that a) moving is a pain in the ass, and b) my wife would have to go through the US immigration process, the founders weren't forthcoming with any offers to offset this process like a raise, moving allowance, etc. It was pretty much a 'move and take all the costs on yourself' message.

I visited them in the USA in April and again they said 'we really need you in the States' and I asked about what kind of support we'd get, and got a 'hmm, good point, we'll get back to you' response. Come mid-May, I was fired over the telephone.

The insult to injury came with the 2-week severance package which required me to sign a 3-year NDA. The founders assured me this was a 'standard practice'.

I passed on that, because I was able to line up a consulting gig right away, and later that year I was able to get hired by their competitor, to not only develop the same product but to recruit and train a team of Ukrainian developers to build the product. So now, I'm a Senior Manager where I was a Senior Support Dev before.

Pro-tip for founders: be up-front about the package you are offering when you want someone to move across the ocean for your company. Also, good idea to not be cheap about the severance package to employees who have been with you the longest and know the most about your core product.
Amazing story, it's not even the immigration process that caught my eyes, but how you knew exactly what you wanted, kept at it, once you had the chance, you made the move, and 3 years later, you pay more in taxes than you can ever earn working for someone else while employing 30+ others. Bravo!
Muppets are usually pension funds, where the people doing the investing want to do it as easy as possible and with high rewards so they get the bonus for doing nothing.
Hi, vardump, my true point here is clear: latency != 1/throughput. Can you accept this viewpoint?

1. our talking context is Java. There is nothing about assembler here. I assume you are the author of this library. If not, let me know.

2. I spend a little time to see your perf source[1]. Tell us what's ping-pongs you did?

3. Even your micro testing Thread busy waiting on cores. The OS still has the right to do thread scheduling. Who gurantees you have not a cache line missing for next time running? This is possible by a relative complex steps in Java. But it is obvoiusly not shown in all of your codes and notes.

4. The cache line is not sharing directly. They become coherent by MESI or its variants[2]. You busy waiting causes the coherence storm for RFO, which is expensive in theory. Although some relieve these pain, this is another topic. You need to show these latencies or at least why you do not consider them in the nanosec level?

5. if assumed "15 ns in any case without contention" is right, then 1ns for the latency of rest instructions? The cost of above cache coherence? The cost of a function call pro/epi in hotspot-JITed codes? The overhead by volatile of forbidding some JIT? OK, how about counting on GC?

6. Ping-pong is still not good enough for nanosec level latency measurement. Because, you have the "endpoint effect". At least, you need to copy? what's the memory copy throughput latency?(note again: latency != 1/throughput)

7. Finally, your codes just show the throughput of batch writing/reading into/from memory by Java's mmap kinds. It is not the "p2p" latency in common sense.

I just leave HN readers to make their own judgement: I plan to announce a pico-second message-passing library because I have done the TB level L1 cache throughput in my Haswell core.

[1] https://github.com/caplogic/MappedBus/blob/master/src/perf/i...
[2] http://en.wikipedia.org/wiki/MESI_protocol
>Sorting out intellectual property and ownership is _the_ 21st century problem

Uhm, no. Only for the HN crowd and maybe open source.

There are a lot more and more pressing problems that have to do with things like the environment, food production, reproduction, migration and democracy vs. corporatism vs. ideology.
> There's no way Blatter gets through this unscathed

I suspect if you find a good online betting site, you would get someone to take the other side of that bet at attractive odds.
Right, but if someone surreptitiously deleted all Go compiler binaries from the world, then we'd have to go back to compiling the C source of 1.4...

Of course, that's the nature of bootstrapping! If someone managed to erase all the software from all the computers in the world, we'd have to go back and find an "Old world" Mac and use the on-die Forth compiler to write a C compiler so we could start compiling things again.
It's a sign of maturity to show that a language can bootstrap itself, prolog has been written in prolog, erlang was written with prolog first, then later rewritten in erlang, as other's have pointed out, it's pretty common for C/C++, Lisp, Assembly. This of course applies more to compiled languages.
Shouldn't that work with companies as well, not just IRS?

Take for example some large corporations. I.e. if Amazon or Google stores their customer information carelessly, and someone steals it - then Amazon would be victim, and if you say that they should have protected the information, you are blaming the victim because you don't like them?

The American revenue service has even larger resources and also a larger responsibility than even the largest of multinational corporations. They should be held accountable for what they do (like the tax officials in any country).
Yes, as you are ware that,
it is hard to measure the latency correctly especially in your nano-second level.
The bug in your JavaScript for loops
I am a co-author of Mandos – thanks for the plug! ☺

The canonical link is (https://www.recompile.se/mandos), which currently redirects into our MediaWiki instance.

(Regarding CACert; we are planning to move to Let’s Encrypt whenever they become available, but for now CACert is at least better than self-signed.)
I agree that one shouldn't ascribe to malice what can be ascribed to incompetence. ("The Solicitor General does not understand...")

BUT!

At the White House level, incompetence equals malice. We have every right to expect competence from a level as high as the White House.
tried to go to their homepage minutes before I uploaded the image and google gave me the warning
I'm sure Google would love to add that requirement. But with antitrust regulators from the U.S. and EU salivating at the chance to hit them for monopolistic practices they will avoid anything as overt as that.
aaah thats why i get confused. i thought its always one phrase, but its "all but" and "anything but". now i get it.
lets just say this whole confusion is anything but unclear now. it used to be all but impossible to understand what people meant.
When it comes to its digital future, Europe could suffer a double defeat
File Transfer app for android
The history slider looks awesome. It's great to see new design apps with features that take advantage of the strengths of browser-based applications for creative collaboration, rather than just trying to replicate desktop usage models.

I'm using Safari so I didn't get to actually use the tool yet (it's Chrome only)... Looking forward to it though.
Barnes Wallis' Tallboy[1] was a 5 ton bomb designed to be dropped from a high altitude and penetrate deep underground. Upon detonation at the correct depth it could create a large crater, up to 100ft deep and 80ft across, which was identified as being useful for attacking railway targets and airstrips, as repair of these craters was time consuming. Combined with the specialised bomb sights used by the squadron who dropped the Tallboys, successfully bombing a small target such as a viaduct or railway line was doable.

However this bomb wasn't used before June '44, when most of the death camps were closed or closing, and the short supply of Tallboys meant that they were exclusively used for targets of high military importance.

1. http://en.wikipedia.org/wiki/Tallboy_%28bomb%29
The ultimate, quick file sharing application that will simplify your life. No use of your data plan, faster than Bluetooth, no cables, and you don't need cell phone service! Transfer between all platforms at lightning speed!
>>> [a, b] = 2, 3

>>> (a, b) = 2, 3

>>> {a, b} = 2, 3

File "<interactive input>", line 1

SyntaxError: can't assign to literal
I think some slide notes could be created even if it takes some extra time. Some viewers might be there to learn and wants some notes/references while others are there for entertainment. If everyone is forced to take their own notes it might take attention away from the presentation itself.
For Swiss people, Blatter is a kind of reason to be ashamed.
Funny fact: every single time I am abroad and someone reminds me we have Blatter, I freak out...

I hope he will get caught if he's involved and that his face will disappear forever from the football world. That sport is amazing, but in the last (almost) 20 years, it has been ruled by a man with a dubious integrity.
As we move away from jobs-as-sustenance and toward a new social model where sustenance and income come from a broader range of sources that do not so directly correlate to your time spent working... the respect for and ownership of intellectual property may very well be a central tenant to life in modern society.

It's not just about lawyers and multinationals dukeing it out.
And, more importantly, what changed your mind? https://news.ycombinator.com/item?id=1997159
Wow, look at the stats on that font - https://www.google.com/fonts/specimen/Roboto#stats - 9,979,683,779 is a lot of views in one week.
A common pattern used to be as follows:

Start by implementing in Assembly as little as possible for the programming language as an interpreter.

Meaning just one form of conditionals, just one looping construct, very few basic types, basic IO.

Then use the bare bones interpreter for the second stage, writing a real compiler that is able to process the same basic language and additional constructs.

Another alternative is to add some bytecode format that can then be used equally for interpretation or as input to native code generation.

Niklaus Wirth originally designed P-Code with the intent to make Pascal compilers easier to port. He wasn't thinking to use it as full OS VM, like the guys at UCSD did with they Pascal dialect.

Another trick is to design the bytecode in such a way that it can directly be translated to native code via a macro assembler. It won't generate fast code, but it will provide an easy path for a compiler instead.

Nowadays the Assembly step tends to be replaced by another language that can be found in most platforms, so many tend to choose C.

Not always because it is the best language to write compilers in, but rather because it is ubiquitous or there is some library the authors want to use, thus perpetuating the myth that all languages require C for those not so well versed in compiler design.
It's a bit ironic that it takes what is almost a non-soccer country to fix soccer. But US corporations (Coca-Cola, McDonalds etc.) are major sponsors of FIFA so the US has a legitimate interest in prosecuting FIFA officials.
In case one wonders why the United States is enforcing this:

"U.S. investigators got help from Chuck Blazer, the longtime general secretary of the confederation, the New York Daily News reported in November. Blazer wore a hidden recording device in a keychain to meetings with soccer officials at the London Olympics and elsewhere, the paper said. The IRS had leverage over Blazer: He hadn’t paid taxes on millions of income for more than a decade, according to the paper.

...

The choice of Qatar for the 2022 tournament angered many nations, and the U.S. in particular. The U.S. was beaten in a final vote run-off with the emirate after rival offers from Australia, South Korea and Japan had been eliminated in previous rounds. Former President Bill Clinton led a U.S. group that traveled to Zurich to make a final pitch to voters."

http://www.bloomberg.com/news/articles/2015-05-27/u-s-starts...
Why Most Engineers Turn into Managers, and Whether It's a Good Thing
What to expect from an AT&T employee?

Which languages do you think guys at Microsoft, Apple and Google get to choose?

Those developed by their employers or others?
Yeah, I saw it then and got PDF's of all prior year taxes. Info needed was suprisingly little. I had way more trouble changing the first password I used than I did setting up my account in the first place.
A great injustice
China (including special areas Macau, Hong Kong) should learn to respect an intellectual property. In countries where there is 98% piracy it's impossible to start a purely software company.

So why are they learning to code ? To be a peasant for banks, insurance companies, gov or cheap workforce for the west ( but yes this is hong kong and i know they are quire "rich").

I am from a post-soviet/socialist country and took me some time to understand that paying for a software that you use everyday is worth it. But it's still too uncommon in my country and many others.
A Linux company that spent 17 years competing with Windows is officially over
Go's SF meetup just finished.

https://news.ycombinator.com/item?id=9609427
Looking at the title, my first thought was that somebody is making fun of all those posts "[something] in Go" ;)
Both require the learning and manipulation of abstract symbols whilst performing 'in the zone'. Programmers and musicians both learn to weave these abstractions into a larger, continuous tapestry. Musicians stream notes into music, as coders stream logic into a program.

However you'll also find it usual for excellent people to excel in many areas, so the real question here is - How many professions do you have in your circle of friends? I would expect there to be similar correlation of musicians in any other occupations which require timing, dexterity and creativity.
Turns out it's deprecated:

>>> import warnings
>>> warnings.simplefilter('always')
>>> 'x'*np.float64(3.5)
__main__:1: DeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
'xxx'
Is the video out yet?
Pardon the title if it looks deceiving, that actually sums up what the app does.
The notional amount doesn't tell you anything meaningful in term of risk. Say I am Deutsche, you are Citi. I trade a €1bn 10 year interest rate swap with you and then another €1bn 10 year interest rate swap with you in the opposite direction. The risk is exactly zero (the two transactions will be netted to zero in case of an insolvency) and the cash flows will perfectly offset each others. We each have €2bn of notional of derivatives outstanding.

Banks like Deutsche aren't in the business of taking large directional derivative bets. They are market makers so the quasi totality of these 72 trillions are offsetting positions, which are mostly collateralised, i.e. each counterparty has to post assets to match the evolution of the value of the derivative in order to keep the credit exposure minimal.

With such a massive book, there will be residual risks all over the place but 72 trillion is a meaningless number for assessing them.
Yes, the expected output is xx›
This is really, really bad for people in abusive relationships.
If I remember correctly, Perforce SCM had this feature.
How to Unit Test Controllers in AngularJS Without Setting Your Hair on Fire
Google Docs suddenly broke their API
By the way, thank you for your colorful simile--it really spurred me to fix this issue this morning, and I've definitely learned to take cross-browser compatibility more seriously. Cheers.
Provided people didn't forget. Recreating from memory will take a fraction of the time. I would go for a lisp interpreter in assembly then implement a c compiler in that.
It's good that the author realizes that there is a tradeoff between the complexity of the language and the time and energy needed to bring new programmers up to speed on a project. This is something that gets missed really often.

However, I think the author completely misses the power of composition. It's usually the best alternative if you want to share code between different types in Go. I have written many large go programs without ever using the empty interface or typecasting (except of numeric types, where sometimes you need it because go doesn't ever do implicit conversions between numeric types.)

I agree that the behavior of storing nil in an interface is a wart.

The author spends a long time arguing against the idea that the use of sync and atomic should be discouraged. He claims that it is hypocritical because the standard library uses these packages. But it doesn't seem hypocritical to me to put tricky optimizations into the standard library, but discourage ordinary programmers from writing tricky code in their ordinary applications. The standard library has millions of users; most code has a handful. The tradeoffs are going to be different.

Besides, the author is arguing against a strawman here. Go has always given programmers access to low-level programming resources such as inline assembly, operating-system-specific calls, and even the ability to directly make non-portable Linux system calls. Compare this to Java, where up until very recently, you couldn't even create a symlink without using JNI because the authors were afraid it might be non-portable.

I think micro-benchmarking the performance of channels misses a lot of the point. OK so you have a microbenchmark where mutexes are 30% faster than channels in a tight loop-- and you're willing to give up all the benefits of channels for that? Talk about missing the point. And if your goroutine does anything interesting with what it's pulling out of the channel, this is even more irrelevant.
Not entirely sure of your point but...

Python 3.4.0 (default, Apr 11 2014, 13:05:11)

[GCC 4.8.2] on linux

Type "help", "copyright", "credits" or "license" for more information.

>>> (True, False) = (False, True)

File "<stdin>", line 1

SyntaxError: can't assign to keyword
It will not come unless Android team changes their mind.

What the Go team is doing is providing the same level of access that C and C++ enjoy.

Which means that outside developing games or writing pure business logic, is all about JNI fun.
I'm not sure what value add this serves as an opt-out solution rather than opt-in. For people who have a strong desire to show their location, sure. But what possible reason could Facebook have to make this readily accessible to anyone you chat with on an opt-out only basis?
You know what, could be "Aitch Fon" as well (the 5 starts with F, right?)
Yet Limbo uses it everywhere.
But, like the parent said, in Python 3:

>>> (False, True) = (True, False)
File "<stdin>", line 1
SyntaxError: can't assign to keyword
You can start here:

http://en.wikipedia.org/wiki/Wick_rotation

and there was this on HN some time ago

https://news.ycombinator.com/item?id=8377680

Though I didn't find Scott Aaronson to be as clear as the professor who finally showed us the Wick rotation. Unfortunately he passed away a few years back right after having missed being awarded the Nobel prize by an inch.

https://en.wikipedia.org/wiki/Nicola_Cabibbo
i'm very impressed by your persistence. congratulations.

nowadays, do you encourage or employ people in same situation as you were?
...forgot to call run().
Protect your public email with CAPTCHA
BC degree is a bullshit you can literally buy it in many countries. By buying i mean you pay for tuition and you visit the school for 2 years and then you get a degree. But not only is that very expensive for most of the people in post-soviet countries but also worthless.

They will not teach you anything useful. Not even when you apply for CS. They exploit the post-soviet system.

And there are many good people in these countries. Not exceptional, not 1% of mathematicians,physicists or ninja programmers but better than the average.
Yet they did not get a chance.
_wmd explains pretty well why FDE with authentication is technically challenging.

To be clear, the reason unauthenticated encryption is considered reasonable here is because the threat model is: Someone steals your laptop, you don't expect you'll ever get it back, but you don't want them to be able to extract any data.

On the other hand, if your threat model were "Someone secretly grabs your laptop when you're not looking, pulls out the hard drive, flips some bits, then puts it back, without you ever noticing.", then FDE can't protect you.

For a laptop or phone, the latter case seems reasonably implausible and so FDE is worthwhile. OTOH, for cloud storage use cases where you don't necessarily trust the storage machines, FDE as-is is basically worthless.
In that case we need some new term to differentiate the games of "Starcraft II" and "Starcraft II, but without Terran and Zerg as viable options for competitive play."
I think it's because you'd need a continuous line of magnets over the full tube, as opposed to accelerators at intervals so it's probably orders of magnitudes cheaper. I don't know about the reliability of compressors but I'd say you could have a couple onboard if they're an issue.
I would never exchange the power of a ML based language with first class support from the OS vendor, by Go.
The silicon valley is hardly a counter example of "make money is the only goal". In fact for those who question the compensation of bank executives, the compensation of silicon valley executives should raise a few eyebrows.
Is there a js library for organising an array of colour swatches by hue (or other values)?
Take a look at serverhub.com ssd cached vps, $5 per month for 500GB of diskspace.
Welp, IT industry had a good run. Time to wrap it up and hand it over to a couple of companies to run as a monopoly.
Or maybe not lie?
Revolutionary Blood Pressure Kit Auscultates for Accurate Reading with Phone
The money moves around and around and around (notionally) a dizzyingly large number of times because the more opaque the process and end product, the less immediate introspection it receives, the less well the average Joe can understand it, and the firm can continue 'alchemy'.
Kudos to the regulators for the arduous task of unravelling the large ball of string and following it to the conclusion!
You can see how the CAPTCHA verificatiton works from the senders' perspective by sending an email to test@mailport.me
"where are you?"
"when will you show up?"
"you back home yet?"

A lot of these things are questions I routinely get/ask in things like messenger. People with location on usually help us to coordinate things and the like.
It was rerun with that call:
https://www.amon.cx/blog/rethinkdb-reviewed-by-a-mongo-fan/

Still we don't know the hardware, what versions were installed, configuration changes etc.

The whole thing is pretty meaningless.
<script>alert('1 point for you')</script>
What does this mean? Is there some tournament game where one side only has to win 10% of games to win the match?
> So do this contradict his ruling?

Yes. As mentioned in the linked article, the Federal Circuit court overturned Alsup's ruling. The Alsup ruling came from a district court, and the Federal Circuit has the authority to overturn it. From there, the question can go on to the US Supreme Court.
Over 30% of Official Images in Docker Hub Contain Security Vulnerabilities