skysight-inc/HackerNews huggingface dataset:
On my first attempt of writing an IRC parser by following a specification at an RFC, I wrote the whole tokenizer in a single switch statement. But as I needed further branches I resorted to using nested switch statements. It quickly became a mess.

Then I switched to calling seperate functions within the switch statement for tokens. If the char is a colon and state is prefix, call parsePrefix. If the char is a whitespace, advance state etc.

I didn't know about jump tables back then, but relying on enums for states and branching proved to be a good idea. e.g If state is < 3, parseParameters(); if state is <2, parseMessage() etc.

Using nested conditionals and loops in the same function on the other hand proved to be a terrible idea.
It could be because tracker-blocking plugins (I use Ghostery) have started blocking Stripe.js. This is because they are now recommending to include it on every page of your site for fraud protection, which is a use case of user tracking: https://stripe.com/docs/stripe.js#including-stripejs.
Just an FYI this has a pretty bad security issue (XSS) which you might wanna fix ASAP (else people's Ether might get stolen :/):

https://twitter.com/IAmMandatory/status/915439417665261568
The system seems to be vulnerable to an XSS attack injected via the contract; the exploit seems to work on Chromium(60) but not on Firefox(55)

https://twitter.com/IAmMandatory/status/915439417665261568
Are you proposing that major political parties are "powerless, weak, and unable to retaliate against abuse"?
Tips for keeping away flies from Dog Food
I second TeamViewer, really like it and works across Windows, Linux and Mac.

I had a lot of trouble getting TeamViewer to install on my cloud VMs. It needs a physical desktop or something close to it. On DigitalOcean and Scaleway, this didn't work. On Vultr and Linode, it works fine.
Indeed, not very different from: https://www.immi-moj.go.jp/immimail/datainput.php

Or

http://www.cic.gc.ca/english/information/protection/fraud/re...

Where you can report overstayers etc.
I'm still stuck with Shelltile until quarter-tiling arrives (gotta have a browser, terminal, and editor window for maximal happiness). But, it sounds like it's coming, so that's awesome!
Well, I'd say Clojure's biggest advantage is that its fun and productive. Its performance equals Java's, which makes it one of, if not the fastest, dynamic programming language out there. Apparently, from the only empirical studies done on the matter, it also seems like code written in Clojure has the least defects of all other programming languages.

What I find makes Clojure so much fun is the REPL, and the metaprogramming. There's always something new to learn, and experimenting and trying things is quick and painless.

It helps that the language is full featured, comes with batteries included, has a very smart cohesive design across the board, with minimal quirks, and an inviting community.

Its also pretty powerful, supporting everything the JVM gives you, and everything JavaScript gives you. So you can write desktop apps, backend services, multi-core processing, big data distributed jobs, CLI tools, web apps, mobile apps, scripts, etc. There's even apparently a subset that can do systems programming: https://ferret-lang.org/ , though its unofficial.

So, I understand you one hundred percent, all languages can do most things, and the benefits of one over the other are often exaggerated, my reason, and I think the only good reason to switch to Clojure is if you've gotten bored, and need to revive your flame, switch to Clojure and have more fun!
Top Card Game Development Company – Mobzway Technologies
No, because PCI DSS considers using iframes to host card entry fields cannot impact "the security of the payment transaction": https://www.pcisecuritystandards.org/documents/Understanding...
It seems to md that systems (with a 's') programming was a term lntroduced by Go, and I always understood it has something with a wider scope than system programming - actually "intermediate level" applications for which a GC is acceptable both time-wise and space-wise.
Yet for system (without 's') programmers (kernel, driver or embedded systems devs for instance) a GC is still a no-go.
The line can surely be blurry, but I'd say that reporting people for doing something that has no effect on you, and harms no one, is snitching.

Being an undocumented immigrant in America is no more harmful to society than being a jew in 1930s Germany.
> The United States is 50 small countries in one big country

I see this sentiment touted a lot, but is there really that much difference between a Connecticuter and Rhode Islander, or a Mississipian and an Alabamian? A North Dakotan and a South Dakotan?
I know and as I explained to the sibling comment, it was just an example. But if we are going to be pedantic about it:

Mcdonalds India fact sheet:
https://www.mcdonaldsindia.com/images/Nutrition-Information....

A meal = Maharaja Mac + Regular Fries + Regular Coke = 998 calories. So close enough.
More importantly, aren't we settled that email is fundamentally insecure?

https://www.schneier.com/blog/archives/2016/12/giving_up_on_...

Shouldn't they be funding projects like Signal or Wire?
Ask HN: Can I be sued for recruiting former coworkers to a new company?
I was just an employee at both companies that would be relevant. Any thoughts / ideas here? These people are my friends and I just want to help them.
> the only reason we used this at a previous company was to kind of handwave around hey we have this tool doing regular security checks

That's the only reason for most of their clients. "We get periodic security scans from a respected vendor, yes sir!".

I can't rule out that the scanners might work, but if the vendor isn't naive, they'd be optimizing for their real target audience.
Can't they see the path in the referrer URL? Wouldn't that differentiate which page on HN referred the visitor?
Am I alone in finding it stunning that it's 2017 and we can still discover new anatomy? How can this not have been (re)discovered?
Launch of startups in India slows down
It would be interesting to know what the prizes would be awarded for if they considered only individual efforts, no huge projects with decade long collaborations of thousands of people.

The effect would likely just be that a few theoretical advances could be nominated while experiments, even those that confirm the theories in question (Higgs, or this years prize) would go unawarded.
Sorry about that, we have deprecated local feature, but yeah docs lag behind.

Please login to https://dashboard.hasura.io and create a free trial project.
MUGABE AGAINST TRUMP AT THE UNITED NATIONS GENERAL ASSEMBLY
No, I’m saying sophistry contributes nothing to the conversation. I don’t care about convincing you about the subject at hand: you have the opinion of someone who’s invested too much into justifying their ignorance to actually pick up a textbook and learn the relevant material.
If you're middle class, being hurt by a stupid investment could mean losing your house & retirement savings and yes, the state globally won't benefit from that.

Besides, historic numbers [1] show that passive ETFs outperform actively managed funds as a trend, so the original idea behind accredited investors was "if you want to play the high-risk game, at least don't put your last chip on the table".

[1] http://www.investopedia.com/articles/investing/030916/buffet...
My experience is that the advocacy of TDD in introductory programming courses is leading people to think that the way you test software is with unit tests only. It's not, by far the most important mode of testing software is manual testing: test out your changes as you make them and ensure that the thing appears, at least superficially, to be acting as it is supposed to. There is no point beavering away at unit tests when the thing doesn't even vaguely do what it's supposed to do in manual testing.
They automagically figure out what country the card is from so they can set the numeric/alphanumeric postal code.

Can I get that BIN list from somewhere so I can use this even if I'm not submitting to stripe?
Headless acceptance tests using Chrome
FYI, the toolchain is shit because:

1. The optimization problems that EDA tools have to solve are about as hard as it gets - NP-hard and sigma 2p problems at a massive scale. I'd argue that these are among the hardest optimization problems in modern computer science today.

2. The number of people with the CS + EE training to develop this software is decreasing. Not a lot of people are getting PhDs in EDA anymore, because:

3. Regular software houses (Google, Amazon, etc.) have about 2-3x the comp as EDA companies. Trust me I've seen a lot of incredibly smart EDA people jump to Google and more than double their salary overnight.

I doubt Intel is going to shift the balance here. It's not easy to develop a fast and efficient SP&R flow.
How will it help if it gets acquired below the valuation of the respective round?
I worked at a big hardware chip company 10~12 years ago and we also had a similar setup; except that the "cloud desktop" wasn't really a personal one, it's shared among the team. Whoever needs to do tasks that need the powerful machine to run will Remote Desktop into it; other than that normally you use the company laptop (which is pretty powerful for its time too). I don't remember having a lot of pain with Remote Desktop or VNC at the time; but the web client would certainly be cooler.
This needs to be flooded with legit sounding cases to dilute it out of existence.
Same story in Asia. Go to Thai cities and be surprised how many overweight children and adults you'll see. It's not just fast food, its anything processed. In India you often see kids eat raw instant noodles as snacks.
World Artistic Gymnastics Championships 2017 Live Stream
Yep, that's what happened at our company. Developer experience matters.
Picking my next two programming languages
Well have not really followed the air development/or-lack there-of. I'm not interested in the macbook, to small, to under-powered(imho) and the one usb c port does not really do it for me. The mbp also to big for me. I just like the air, that is all.
They are doing potential harm to the millions of immigrants who want to come to the country legally. Many of whom wait years to get their visas and get work.

They are undermining legal immigrants.

My preference would be a system such as Singapore, Japan, Australia, Canada, etc. where they favor people whose skills are in short supply at home. Make it easier to hire high demand low availability skills as well as seasonal workers legally while simultaneously making it very hard to hire undocumented workers in order to encourage legal pathways.
Best #VastuTips for the #East #Direction
We are able to capture the error / stack with vanilla JS. Tried sentry too. Wondering how would it help in debugging. What we have is the error message and the user agent but unable to reproduce the same problem unless we no more about the extensions installed or if the user agent is fake.
Plato Would Have Wanted Us to Unplug
And next we can ask, "How do we know some of the jews weren't criminals?" perhaps?
This article's main topic is just "tech companies are building big offices", dressed up in some purple prose. And they're also to blame for high rents. But if they build apartments to help ease the housing shortage, that's a "company town" and we can't have that either. And Amazon is a "commandeering leech" which "suck[s] up our resources and refus[es] to participate in daily upkeep", but when Google offers Mountain View neighborhood benefits, that proves it's "seeking to wrest control of the city from its government".

I suppose the next step is to blame the Google buses for being "elitist" and "gentrifying", while in the next paragraph, blaming Google for putting cars on the road and making traffic worse....

“Friedrich Spee von Langenfeld, a priest who heard the confessions of condemned witches, wrote in 1631 the Cautio Criminalis (‘prudence in criminal cases’) in which he bitingly described the decision tree for condemning accused witches: If the witch had led an evil and improper life, she was guilty; if she had led a good and proper life, this too was a proof, for witches dissemble and try to appear especially virtuous. After the woman was put in prison: if she was afraid, this proved her guilt; if she was not afraid, this proved her guilt, for witches characteristically pretend innocence and wear a bold front. Or on hearing of a denunciation of witchcraft against her, she might seek flight or remain; if she ran, that proved her guilt; if she remained, the devil had detained her so she could not get away.”
This is my bad, I could've made it work for Firefox but was just testing if it was vulnerable at all. I don't really wanna pay the ether to fix it since I don't actually want to exploit anyone :)
I’ve used BounceJS in the past: http://bouncejs.com
As with prime fields, The additive group will look pretty boring. Are the multiplicative groups necessarily isomorphic to the multiplicative groups on (z/nz)*?
The wording makes this really hard to read.
x2go is great. I desperately want to see VirtualGL integration in it though so you can run egl compositors with local rendering (since GPUs on VMs are still uncommon).

The other thing RDP is amazing at that I haven't seen Linux do well at all is resuming local sessions remotely and vice versa - with RDP it feels integrated, with x2go you're back to just transferring frames.
With an average tenure of < 2 years at these companies now, subsidized housing may force people to stay in companies longer especially if they have families. I'm not sure they can recreate Kodak/Rochester type place as there are so many rich companies vying for the same people.
Wow. The translation of your "How do you know that such an imigrant is not being a criminal?" to the equivalent statement in 1930's Germany is so direct and so poignant, I would have thought you were trying to support the parent's post, but I believe you're using that line to try to fault their thinking (which I find genuinely frightening in terms of the object lesson it presents on the ease of vilifying a "them" group, and how easily that kind of rhetoric can creep into polite conversation)
Thanks for the tip. It seems that ghostery's issue was fixed in August [1]. The latest version of ghostery does not block Stripe elements. Preventing an extension update isn't straight forward so we are left wondering if there's some other extension that's blocking Stripe.

https://twitter.com/stripe/status/899812679447187456
HOT: Ten Google Chrome Extensions You Cant Live Without
> So what does it mean to sell an asset which you actually still own/have a copy of

Yet we manage to sell IP (or just some intangible right to use it)
Donald Trump's Tax Plan – PersonalMoneyService
I've used TeamViewer on AWS and VirtualBox VMs just fine. Can you give more information as to what problems you've had?
> GPL doesn't cause problems unless you're distributing

Or if you might want to distribute in future, what is good now might become impossible because a client wants an on premise install for instance. Or if the software department ever get's spun out to a separate legal entity. I'm a big fan of the GPL, even the AGPL, but I wouldn't use a GPL library in a non-GPL product.
Somewhat off-topic, but does anyone know what top-level domains are in practice "safe" to use for email addresses if we're going to migrate to our own domain?

I mean "safe" in the sense of being unlikely to cause confusion or problems with less-than-well-written software (or humans).

Obviously .com is okay, and I haven't heard of problems with .edu/.gov/.org/.net, but I'm a little afraid of getting a domain for email addresses that isn't a well-established 3-letter TLD, on the off chance that someone has hard-coded a requirement like this in their code. I'm not sure if I'm just being paranoid about this though. Any suggestions on what's considered safe?
I loathe the comparison of Trump's presidency with fascism or now eastern bloc denunciation. I would appreciate it if we could criticize bad policies on their own merit, without the exaggerated historic comparisons. In my opinion, this is just fuel for division.
Also: it doesn't matter who picks up the shiny medal, what matters is also that science, like sports or movies, also has a couple of hours of glamour. The Oscars are also a charade, but it makes the whole industry a bit more magical and glamorous. The glamour and attention might attract that next Curie or Einstein to science, in which case it was all worth it.
I won't be dead. I'll be putting my DNA into the blockchain and will have immutable eternal life.
That's ridiculous. The entire point of AI safety is that we must not attribute human traits to these creations, such as "social instinct" and "basic decency."
I worked with someone at yahoo that had a name very similar to your handle. He'd have reason to create 100s of accounts.
I found flights to Lanzarote on flychecker at 190
If this is the example, keep in mind that it has 4 instances of bubbly running.
I understand that you mean well.
4k monitor?
There's some interesting data in this video about fast-food in Japan vs. US:

https://www.youtube.com/watch?v=ZW4jOlyj-sM

Surprisingly, hamburgers and fries have more calories in Japan.

But maybe that's a difference in how they're measured?
I feel that not standardising a low level FFI for r7rs large is a mistake. They should at least recommend some reasonably low level stuff that can be used to build abstractions.
Is striving for preservation of human life in general over one's own not some form of "basic decency" or "social instinct"?
Proper async code tends to go out the window where timers will suffice. It's filthy, but often faster and it works for whatever narrow problem the one-off script in question is solving.
Firing someone for cause is difficult. Everyone likes to complain about uncontested golden parachutes, but the lawsuits that result in the few cases that are contested are never pretty.
Ask HN: Resources to learn blockchain and smart contracts?
What resources are available to get into these two and related topics?

Would be also better if there are papers/books that introduces to these concepts (and toy implementation)?
Learning clojure is relatively easy, the hard part would be to get paid for writing it.
Read a few comments below lamenting about lost profits.
Odd, because I’m thanking the lucky stars we don’t have more consolidation in the industry.
That either takes a lot of time (and volume) to gather on card usage because it's not available as a list from Visa and co, or you require certain processing rights to access and can't share it due to confidentiality.

I forget the details, but I'm pretty sure it's the former, so it's not exactly easy -- which is yet another testament to how much work goes on behind such a seemingly simple new product.
This was posted as an opposite to what OP posted, to point out his sided point of view while fortifying his opinion with pretty much unrelated, emotional part of history.

I made sarcasm very obvious, especially with exactly saying it was that, in the second line.

Learn how to read in between lines.

Edited the post so no one else thinks it is the real reply.
The quote says "one of the reasons". You replied "can't be the reason". There's a fundamental disconnect there: the person you're replying to didn't say that there was any fundamental reason, or that they were describing it.
Thanks for explaining. This wasn't obvious to me.
The innovator’s dilemma in one sentence.
Ubimet | C++/Python Developer | Vienna, Austria | ONSITE

Ubimet is a leading weather service providers in Europe. We're experts in meteorology and issue customized weather forecasts for several million private and industrial customers. Together with our shareholder (Red Bull), we pursue the goal to be the weather service with the world's best quality forecasts.

We're looking for a C++/Python developer to work on interesting problems at the intersection of big data, realtime services, and scientific computing. We offer a great work environment in the city with the highest quality of living worldwide (https://en.wikipedia.org/wiki/Mercer_Quality_of_Living_Surve...). If you have to move, we offer a relocation package and take care of any visa formalities.

We especially encourage women, people of color, and others who are underrepresented in the tech industry to apply.

If you're interested, check out http://www.ubimet.com and our job ad at https://career2.successfactors.eu/career?career%5fns=job%5fl... and apply via Successfactors or at info@ubimet.com.
"but runs on your own infrastructure, off of a traditional RDBMS"

"exactly what you're asking about"

"deprecated local feature"

Eh?
What are Coroutines in Kotlin?
Oh Lord. A bunch of poor 19th century miners in a remote town is not the same as this at all. These are some of the richest and easily employable workers in the country living in one of the most populated regions.

They wouldn't have to do this if the local government wasn't so restrictive either. These companies don't care if their employees own their own homes or not. But unfortunately big companies are the only groups with enough power and resources to push through new housing development.
The multiplicative group is a finite abelian group, so it is certainly as "boring" as the additive group. The interesting pictures appear when you take into account a particular ordering of the elements of the group.
Don't bother with any of the custom ones if you don't want to end up in spam at most companies. I went with .org and had no issues sofar.
That's speaking from experience though, I didn't mean to be dismissive of the request of the OP. If there happens to a group who collects this and is able to share this through legal loopholes, power be to them!
> "the IRS has determined Equifax is the only business capable of providing this service."

Equifax and capable in the same sentence? Oh IRS...

The hackers should incorporate! Then two businesses would be capable of providing the service.

Would it be 'ethical hacking' if you hacked companies like Equifax so you could offer their data to tax-payer-funded clients for cheaper than companies like Equifax do?

</silliness>
The Toxic Saga of the Tsukiji Fish Market
How  to Get Rid of Insincerity in Your Writing
5 UX-UI Strategies to Develop Better Mobile App Interfaces
Depends if you are in good shape or not, makes a bigger difference than is obvious.
> I'm not sure if I'm just being paranoid about this though. Any suggestions on what's considered safe?

Maybe a bit, I don't think it is based in paranoia, you have technical reasons. Just recently had to strip tld from uri's, and boy was that harder then excepted!

That being said domains like co.uk, co.jp been around for a long time. I will stay away from "fancy .named" domains, but country level names should work fine.

Would love to hear other opinions as well.
True, didn’t realize they had pulled the block. Would be interesting to know how the decision was made with respect to user privacy (vs. breaking sites). I don’t know which other extensions may block Stripe.js unfortunately!
The other side believes the same thing though.

This boils down to the age old question of whether the method matters, or just the results. If we're okay getting our goals with bad methods, do we have a right to get angry next time, say, Donald Trump denies climate change due to one cold weekend?
PayPal JavaScript Express Checkout Integration in PHP MySQL