skysight-inc/HackerNews huggingface dataset:
Your sample code is an interesting case because the nature of declarations in Scala (among other languages) is distinct from the nature of declarations in pure Java.

Setting a default value for an argument is an assignment, a real action that is taken by the code at runtime. The Java equivalent would be in two (or three, depending on how you count) parts, something like:

// Do the things.
// If minutesWorked is left at -1, this procedure will use the default value of 480.
void payEmployeeForOneDay(int rate, int minutesWorked) { // inert declaration
if (minutesWorked == -1) { minutesWorked = 8; } // active code with bug
// ...
}

Here we have a human readable specification of behavior, which has zero impact on the compiler or generated code, a machine readable description of an interface for other bits of software to interact with this bit of software, and some working code that will make something happen.

This is interesting because the specification being described and implemented is not fully encapsulated by the function declaration/API, but also by the "non-code" english comment attached to it.

Is it fair use for me to copy this API by using the same function declaration but rewording the documentation, but writing my own implementation of the function body to correctly match the comment? What if I implemented a bug-compatible version of the body from scratch, and rewrote the comment to match?
Case was resumed (it was never closed) a few weeks ago. If they are sentenced in Greece, our country will have to pass them to Greece.
FYI, in 2013 a reform (Senate Bill 443 [0]) was shot down in California, because LEO doesn't want their goodies taken away.

If you're a concerned Californian you might want to contact the senator who introduced it, Holly Mitchell [1]

[0] http://www.sacbee.com/news/politics-government/capitol-alert...

[1] http://sd30.senate.ca.gov/
A third of cash is owned by 5 U.S. companies
I've used two techniques:

1) use a prefix (t-) for test selectors and do not attach any styles to them (put them on the elements you need to target directly so the tests do not have to know about the DOM structure)

2) use data- attributes for test selectors (again directly on the target elements so DOM changes won't break the tests)

The second I got from this article, which is a bit Ember specific, but makes a lot of good recommendations:

https://dockyard.com/blog/2015/09/25/ember-best-practices-ac...
Why are you looking for one?
> a company the size of Google could whip up a more modern approach to this!

Maybe Google should look into .. Google Charts?

https://developers.google.com/chart/
Wow, can someone explain what is going on in here?
Graphene balls improve oils lubricants performance
Well, sure the US has debit cards. But people use credit cards because they want the credit.
Yes, we depend on Flash for this, too. I worry about Flash disappearing from the ecosystem before HTML5 streaming matures enough to deliver a decent, cross-platform-consistent live-streaming experience.
I want Python 4 already!
they don't do humor here, i guess its against regulations ;-)
After the Snowden stuff, I still find it hard to entrust Google and Facebook with the data necessary to provide the super-personalized experience despite the things they have done to try and win back confidence.

Since I still use Google and, to a lesser extent, Facebook products, they have lots of data on me already but these kind of products still give me pause as I think about what could happen. If my experience is like many others, that could make it harder for these types of new products to find the adoption had all the NSA stuff not been revealed.

From a marketing perspective, it could be a really interesting study into the impact of a brand violating the customer's trust and the government's role in forcing the behavior.
It was interesting that a year ago the media was saying that Americans were pulling back on credit use, and paying it down. [1] I'm curious if that was honest reporting, or if something changed which caused people to spend more?

[1] http://blogs.wsj.com/economics/2015/04/07/americans-pull-bac...
Family Money and Financial Innovation
The integer division is more surprising in a dynamic language because it might stay undetected until the day you happen to pass round numbers to your function.
Mandelbrot's book The Misbehavior of Markets has some pretty interesting context.
I think you might need to do a bit more research on Rupert Wingfield-Hayes... he's neither an idiot, nor an attention seeker - indeed from the reports I've seen him do from various undesirable places on BBC News over the years, it appears he's a very competent journalist and not one who's afraid to be in a dangerous place to get a story out.

Did you actually read the comments that the DPRK officials made about his statements? Typical frame-up things, intentionally taking offence where none in particular was meant. There are plenty of things that RW-H could have said since being released which he appears not to have done.

The naivety of some of the comments on this thread is baffling to me. North Korea isn't a problem which is just going to go away. It's far more stable than the Syrian civil war, and that's been going on for years. NK could continue indefinitely by doing what it's doing.
They do exist. However "as a convenience" they allow overdrafts at ridiculously high costs. AFAIK you can't shut this feature off and just have charges declined if there isn't enough money in the account.
Yes, but they're not different points on a scale that goes from religious to irreligious, if that is what you mean.

One can be an agnostic christian, for instance, in which case one would believe that it is unknown or unknowable whether the divine or supernatural exists (and believe in it still).

What I'm relating to the difference between "asocial" and "antisocial" is the difference between "atheist" and "antitheist".
Check the others comments, it's not a real deal.
Perhaps it might be appropriate to state this in the hero image of the landing page.
What bothers me more than the lack of privacy or encryption is the idea that we are giving our voice to machines. We are moving to a society where we let technology speak to our friends and loved ones as if they were us. Something essentially human is being lost in that process.
> I believe a large part of the problem is that the MTA is actually funded/managed by Albany instead of NYC, even though it only serves NYC. That makes 0 sense. I also think it's time to eliminate the distinction between the LIRR and MetroNorth.

Brief storytime about the MTA. When the subways were built from the 00s through the 20s, some of the lines were owned by private operators, specifically the IRT (Interborough Rapid Transit) and BMT (Brooklyn-Manhattan Transit), and some were owned by the city: the IND (the INDepdent Subway System).

Then, then depression hit. Fares were pegged at 5 cents. All the private companies were bought by the city. The MTA was formed. Now, by the early 50s, the MTA controls the entire subway system.

Around this time, Robert Moses works to convert NYC to a fully car-based city. Subway ridership declines. The elevated lines are torn down, streetcar service halted. The MTA goes bankrupt in the 1970s. They're bailed out/bought up by Albany, thus leading to the current system where Albany controls the MTA.

I agree that control of the MTA should go back to the city, but good luck getting Cuomo to give it up.

> They're not good at labor relations

Indeed, yet the labor unions are also part of why the operating costs are so high. Each active subway train requires two human employees according to union policies. On lines with CBTC installed, no humans are technically required. The unions also fight against automation improvements such as this that could dramatically improve capacity and cut costs.

> There is insane intra-organization disfunction between MetroNorth and LIRR.

Not to mention NJ Transit, the PATH, and, forward-looking, DeBlasio's proposed waterfront light rail (which would be operated by another authority entirely).
Even those of us who don't carry a balance often prefer credit for the additional fraud protection features. Can't do a chargeback on a debit card.
Regrettably, "they" don't wish you to know those tricks.
What does everyone think about LinkedIn's publishing platform?
Why? It's so much better than the standard white board questions.
Sorry for being pedantic, but the correct term is "could not care less". Otherwise you are suggesting that they do care.
ok, are Google planning on supporting HLS if they're ditching flash? I see this site is saying that it does (with their player) -- so does it natively or are these guys doing a transmux in Javascript similar to HLS.js and others?
Close.io is looking for remote senior JavaScript front-end engineers
Right now yes, this is an upcoming change.
Kuruvi is a simple Golang wrapper for the GET endpoints of Twitter's API
I is not 'exactly' a quine, because the tool 'cat' is a program on its own, and not a shell command. Still, it is an entertaining and unexpected outcome.
Maybe fox contacted NES and aquired the rights to double dribble and the clip.
Unpopular opinion: I've been advocating for order kiosks in fast food establishments for 10 years. Why? Language barriers, and order accuracy. I think having A kiosk for those who wish to order in any language, or to improve accuracy, should be allowed. I hate to see the day that all workers are replaced by kiosks, but I am pulled by the idea of less barriers to ordering.
Mini-Robots That Mimic, Perch and Move Like Insects
Steve Jobs was right ... 6 years ago.
Anecdote: I have been to musician forums where you will find plenty of threads bitching about The Evils Of Youtube Destroying the Industry. Without a hint of irony, they are often nearby to "What Are You Listening To Now?" threads full of Youtube videos of other musicians' favorite music.

This is what the article reminds me of. The big music industry sometimes seems clueless to how people actually experience music. They instead want to blame the (visibly public) tool, and think that drastically tightening up the tool will be the solution to their problems.

As seen above, music is a natural part of communication and identity etc. People naturally like to share music with others. Even in the "record industry" days, people traded tapes all the time (for instance, tape trading popularized many of the speed/thrash metal bands in their day. Such as Metallica, which is one of the big reasons why their anti-Napster attitude was so ironic).

For this reason, I believe far more in content ID type solutions than strengthening the takedown weapon. If 2700 people upload One Direction songs, so what as long as One Direction is correctly identified and paid for all videos and views?

Certainly there is work to be done on effective monetization models for streaming, and the mechanics of content ID, and other challenges. But actually calling Google and streaming services pirates (as this article did) is completely wrongheaded.

I think Google and streaming services are legitimate businesses. If the industry tightens the noose too much on the legitimate businesses, consumers absolutely would go back to underground, the new Napsters.
It depends on what / means. Sometimes it's integer division and sometimes it isn't. (You can use // to get integer division more consistently.)
Your Own Personal WiFi Storage
Agreed — I don't see much chance for change in the general DRM debate but it would be nice if it at least hit the point of something like H.264 where there were standard terms available to anyone who wanted to implement it so a new player couldn't be frozen out.

(Back in the day, we had a client who was working on a BeOS appliance. Plugins were a big deal since things like Flash were theoretically portable but Adobe wasn't going to talk with you for less than a certain dollar amount)
There’s No Such Thing as Free Will
You can do the trick with WebRTC + a SFU (like Jitsi), but the bandwidth cost might be higher.

https://jitsi.org/Projects/JitsiVideobridge
I agree, the failure to grasp the basics of english grammar around which the author has declared his/her thesis is cringeworthy.
From the article:
"Even American Express Co., which historically has focused on customers who pay their bills off every month, is now concentrating on lending money to consumers who keep a balance.

Outstanding balances reached nearly $952 billion in the first quarter, ..."

This seems to imply that, by "keep a balance," they mean not paying your bill off every month.
Is it that much more work to type "python3" ?
> The areas around New York City are among the least functional urban zones I've ever encountered.

I would assume the greater NYC is the best functioning urban area in the USA?

However, if you measure by European or Japanese standards, then everything in USA is bad.
How Charles Schwab Fought Back Against the Robo-Adviser Startup Invasion
Libertarians believe in selling off the National Parks and abolishing the EPA. Just ask them: https://www.lp.org/issues/environment

Silicon Valley types as described above are just pro-business types that fetishize technology and are socially liberal. Or what used to be coastal Republicans before that party was overrun. Libertarians they certainly are not.
Actually this is a really good idea... But I was referring to to testing the CSS itself - in the same way I text my JavaScript. I'd love to have a suite of tests that say "this element should be 10px from the left of the page" or something like that. I've seen tools that attempt to make this possible but they are hard to work with.

Thanks for the suggestion on how to work with test classes anyway. Very useful.
The story of Emily and Control [fiction]
I do this too, and many Americans probably start with the same tactic or strategy. The problem arises... when problems arise. You start carrying a balance to cover short term issues, which can turn into long-term issues which are made worse by your new high interest credit card debt.
You don't decide what a company can or can't do if you're not paying for the privilege of using their products.
Mr. Poe? Is that you?
>>> and hoping that "good people" just somehow summon good software into being is comically naive

You have no idea how true this statement is. I was on a small project about a year ago, using Agile. Both mangers and a director quit within weeks. Our team basically became self sustaining. No PM's, no managers. Our team had no oversight and no captain to steer the ship. We were left to finish the project ourselves.

We had a team of 5 developers. We sat at lunch one day, bound and determined to show management we could do this without all the daily standups, agile tracking, burn down rates and stupid PM oversight.

I wanted to quit inside of two weeks. 3 developers were advocating a total rewrite and a pivot to a different stack. Myself and another developer just wanted to finish the app and get it shipped. Egos, a tight timeline and several rash decisions doomed us. Instead of showing management we could do this ourselves, it became blatantly obvious this project would not get completed without a ton of oversight and guidance from an experienced project manager.

It's all rainbows and unicorns when you think about it. "Just get some good developers together and they can get it done!" sounds so romantic, but in reality, it always ends up in a total shit show, as I experienced first hand. It was a tough lesson to learn that management actually do have a job to do and they understand a lot of stuff developers never have to worry about.
This looks great, thanks.
Ethereum could work even better for this. You can implement some of the logic in smart contracts, store arbitrary data on the blockchain, and the block time is 15 seconds. It's also easy to use multisig schemes to keep the money more secure.
jebuz... I hope that you test stuff before putting it into prod after tweaking settings based on permissible values :D
You've got it flipped. I'm saying that having a deep knowledge of theory isn't what enables you to make great music. I am also saying that most working musicians' knowledge is extremely limited and that absolutely makes their work outsider art. That's not saying that anyone should go to conservatory (anything but - if you want music ruined for you by all means go), but yes probably every musician _writing music_ should improve the knowledge of their craft.
Guys, you need people that use landing pages all day long and have enough traffic.

Your market is huge(I know that because I was selling products for this niche), from solo internet marketers with big email lists to media buying agencies. You just need a few case studies to show them it's working.

Do you have any case studies?
The only real problems arise when people refuse to reconsider their opinions in the face of facts.

But your fact is just another one's opinion. We have had ample examples in the last fifty years where "science" has been abused with a for-profit motive (tobacco and nutrition are useful examples, as is this article).

It's not fair to blame "hippies" for ignoring "science", unless you're also willing to blame media, politics and business alike for overstating the "certainty" of scientific knowledge.
> Some companies are still using flash in their internal systems, how do you justify breaking something that works for so many people?

This is necessary because its the only way to progress forward.
> My HOA would not allow my to rent the townhouse out (too many rentals already), nor could I come up with the $150K to bring the mortgage down to the new fair market value. So, mailed the keys back to the bank and walked away.

Note that this doesn't actually work to reduce your debt everywhere (even everywhere in the US); its basically voluntarily inviting the bank to foreclose, which they usually will do (because if you are abandoning the property and they don't, the longer they go before foreclosure the more likely that, just due to being abandoned, the property will lose more value.) But when they do foreclose, some jurisdictions allow foreclosure deficiencies -- that is, they allow the conversion of the amount of the mortgage debt that the lender doesn't recover in a foreclosure sale to be collected as an unsecured debt.
A similar thing is using least squares for linear regression rather than minimizing MAD. In past the argument was that the least squares sum has a closed expression, but with computers even that advantage eliminated.

The nice thing about minimizing MAD is that in typical settings the liner regression line-plane-hyperplane goes through measurement points. As such there is no interpolation and outliers are nicely cut off making the result very robust to measurements errors.
I didn't mean to discuss, just to correct OP in case he was genuinely misinformed.
Yeah, I would call it a quine of the binary loader, basically.
Google would be insane to not offer some version of end-to-end encryption in a chat app in 2016, when all of its biggest competitors have it enabled by default.

Who are all of its biggest competitors? Messenger sure doesn't do this (does it even have E2E at all?), Skype doesn't, either. Telegram, even if you considered it a big competitor, did they finally enable E2E by default? Or do you still have to open a "secure chat" for e2e? Kakao, WeChat, ... who else?

Honestly, aside from WhatsApp, I can't even think of one which anybody would consider "big".

That's indefensibly different from "All".

EDIT: Cool, I just learned iMessage is encrypted e2e! That's "Two" :)
Are the two are mutually exclusive?
I'd argue both are true to a degree - though "conditioned response" evokes the kind of simplistic "mindless puppet" view of the Chinese perspective I'm trying to avoid. It has its own self contained logic that should be appreciated regardless if it's something from their culture and traditions, or something instilled subversively by the government. All I've tried to do is illustrate that logic as best as I understand it - without passing judgments or condoning it
Which are the best of the SaaS options? Just curious -- I'm not happy with CircleCI or Travis right now.
I think what they're saying is that the bank exercised their lien and claimed the mortgaged property, whereas card debt is unsecured and there's no collateral to claim.
Firefox with uBo and Ghostery shows empty tables, with JS on and off.

Chrome displays the books (which seem to be little amazon ads).
Many credit cards have cash-back or other rewards. It's easy to see the dual appeal of the reward, plus a month's worth of float on the payment.
Yes, I completely agree. I have plenty of vices, and struggle with them all the time. I guess I was trying to convey my own current state of mind after thinking hard about this problem and where it leads...but you're right to characterize that as a personal viewpoint, and not something you can realistically prescribe for others. Everyone has to come to their own enlightenment, and I still have a long way to go.
For the case of Apex, I think "deployment tool" is better than framework. There isn't really any magic here. At least nothing you couldn't do yourself in the AWS console or UI. It would just suck for more than a few functions. This is automating all the clicking you would have to do otherwise and giving you a sane way to manage functions that can be grouped together.
For our customers it is all about WPF, Qt and Xamarin.Forms.

The few customers that still require Java desktop applications have no desire to move away from Swing.

I really don't see a bright future for JavaFX.
It is of my opinion that if a word or phrase is logically improper but the meaning is widely understood, then societal acceptance grants it validity.

Edit: This post is receiving a fair amount of downvoting. I would be very interested to hear arguments that are not from my own viewpoint.
Flash has other problems besides security exploits.

* It's a single-vendor/proprietary runtime.

* It's not even available for mobile. Most of the content that uses it is made for desktops.

* It's a black box.

* It doesn't work great on platforms Adobe doesn't prioritize (if it's even available).

* We have to wait for Adobe to fix bugs and vulnerabilities.

All Chrome is doing here is phasing out the Flash Player runtime.

Even when support is dropped entirely you can still use something like OpenFL and/or Haxe and target the web with it if you still want to use your Flash skills.
Well, maybe it's time to stop using inferior shit products and buy a proper mouse. Any $20 mouse from your local department store has at least one button to press with your thumb.
Agreed. It'd be terrible if it were being used to look for a "right" answer, but as a means of getting someone to talk about systems and processes so you can get a glimpse of their approach to things, I feel like it's really handy.
There's a few services that will act as intermediaries for you like https://www.plastiq.com/ which charges 2.5%. I learned about these services on Slickdeals in a discussion on how to quickly rack up credit card reward points. A Google search turns up this list http://www.doctorofcredit.com/complete-list-of-options-for-p... (I'm not affiliated with the author).
For clarification:

"In 1945, following the end of World War II, the Republic of China (ROC), led by the Kuomintang (KMT), took control of Taiwan. In 1949, after losing control of mainland China in the Chinese Civil War, the ROC government under the KMT withdrew to Taiwan and Chiang Kai-shek declared martial law."

- From wiki's 'history of Taiwan'

(I'm not making a point, I just think this context is important to the discussion)
Urgency Tactics You Can Use to Boost Conversions