skysight-inc/HackerNews huggingface dataset:
> Why remove x++ and not x += 1?

A key part of the reason for removing the ++/-- set of operators seems to be that they conflict with Swift's pattern of mutating operators returning void. (An alternative offered was revising them so that they followed that pattern.)

+=/-=, like simple assignment, do not have that problem.
That finish line has a lot of technological and regulatory barriers in front of it. There is a lot of time to choke Uber out before we reach it.
Another way to express this is, I'd like a language keyword for "left hand side of assignment". Then for x=x+1 I could say

x = <LHS> + 1;

It could then get arbitrarily complex. E.g.

x = (<LHS> + 1) / atan(<LHS>) - <LHS>;

and no matter how complex 'x' was in practice, the compiler (and the code reader) could keep track of what was happening.
So my server's SSL via GoDaddy is about to expire. It cost us $149 to renew. I can use this instead? Used for our exchange server.

Thanks for any info.
There’s Nothing Wrong – or Even New – About Zuckerberg’s New LLC
I would be. How un-surprised would you be? Enough to bet?
Huh. C++? You can overload operators, but define your own? I must have missed something.
I think it's palpable nonsense to suggest that the US or other outside forces are behind all or indeed many of the world's regional minority groups desires to speak their own language, practice their own religion and run their own region in their own way.

What evidence do you have to back up your insinuation the US is backing the various Uighur factions? Frankly, it's pretty insulting to their culture to imagine they'd be freely and happily assimilating Han Chinese culture if it wasn't for the nefarious plotting of Uncle Sam.
Put yourself in the shoes of a dev at a large academic institution, you think you are going write a new feature for a third party system to support free webinars? Or just set the price to $0.00 and not have to code anything? Or rather the dev was probably never even contacted, the prof or admin just set it up and the easiest way was to set the price as 0.
As Tech Firms Come to Oakland, So Do Hopes of Racial Diversity
I like your thought but Yugoslavia is (I think) a bad example for this. (I came from there)

There was no religious or ethnical union, of that I am 100% sure, and I'm also not convinced of nationalism there.

The unifying ideology was socialism/communism.

It is understandable why this did work so well in a country with no clear religious or ethnic majority because it tends to flat out deny any ethnic/cultural differences and restrict religions and places instead the socialist ideal in the center. (all are equal)

Once nationalism was on the rise it was the end of Yugoslavia. Now in place of being a socialist comrade everyone was either Serb, Croat, Bosnian and so on and demanded their own state.
I haven't read any of them, but there are a few with good reviews on Amazon.
Totally understand why they're upset. My comment was more directed toward wondering what being dead has to do with something like a library checkout history being private or not as the parent suggested. It would seem that librarians would desire to keep such details private regardless of the person's status of living or dead.
Yahoo's core business is worth negative $7.3B
LeechFTP , FlashFXP... ;)

On a more serious note. If you ask for GUI clients here, Filezilla is still quite good. But better don't get it from SourceForge, as the package it with malware, adware, trojans and what not. Oh man, crazy how much SF messed things up in the past decade... but different story.
While I agree that having both pre- and post- versions is confusing overkill, ++ is no more sugar for x += 1 than x+x is sugar for x*2.

Increment is the fundamental operation, += is sugar for repeated incrementation, not the other way around.
Yes - or in the Apple ecosystem, method swizzling is incredibly useful but also incredibly harmful - both to performance through necessitating dynamic dispatch, and to confusion, because WTF, method swizzling?
Boss to PR Intern
> Flood the aggregators! I said FLOOD them!
Javascript too. D3 uses it quite extensively.

See here: https://github.com/mbostock/d3/blob/master/src/geo/centroid....
Well, this thread got irrelevant in a hurry.
i just dove into clj & cljs w/o such a cost-benefit analysis b/c after writing some scheme and elisp, it seemed like it would be fun, maybe more fun than js, and for the most part, it has been.

good article overall. a point that was a little irksome was

> chrome devtools is way ahead of your cli repl (and even your editor-integrated repl) in a bunch of important ways

(emphasis added). b/c while i'm not saying the devtools is not ahead of figwheel+cider in some sense, enumerating specific want-to-haves would be more informative.

my main nice-to-have (and maybe there's something out there???) would be a way to set breakpoints for dropping into a repl. b/c of the scarcity of mutable state, it hasn't been such a problem, but there have been one of two times where i could've saved a few minutes by throwing a `(debugger)` or something in.
Malcolm Gladwell Explains Himself (2013)
No, please.
> Then if all those classes inherit from a common animal ancestor, the calling code would simply say: animal.makesound()

Which of course throws an exception in the case of Monk (inheriting from Animal -> Human), as it has taken a vow of silence.
Oh, I've just closed a Haskell window, saw the title and thought "how would I concatenate strings?", but I'm digressing...

But no, not only for for(;;). There's also the too common array traversal:

while(something) a[x] = b[x++];

And lots and lots of ugly but useful uses in pointer arithmetics where they make things clear. They have no place in any other language, but I'd really miss both operators in C.
They're obvious but only after you've learned them (compare it with x// if you saw that for the first time?).

If readability matters then the rationale that x += 1 is more readable than x++ is very reasonable.
Maybe the message could be hidden if the new cert was signed by the old one?
> Uber has to survive until they can get a self-driving fleet.

Which is hilarious. Tesla already has a semi-autonomous fleet of tens of thousands of cars, improving daily.

Best of luck Uber.
"Dark Web" is indeed the proper term, but it's been conflated with "Deep Web" in the media. See the section "Terminology conflation" in that Wikipedia article.
I've always found the idea that the operator complicates things ridiculous

Given that there are interview questions on the behavior of post/pre increment operators shows that there is some subtlety to it which creates ambiguity and complexity. So given that they want the language to be accessible, it makes sense to reduce ambiguity.
Glad to contribute!
Sorry, you are correct - although I would restate my point with "+= 1" isn't special.

1 is just another number, the fact that it's useful for enumerating arrays in C isn't relevant as Swift provides more native solutions for that, the use of which should be encouraged.
Do you also consider poetry a craft?
Chronicle of a fledging SaaS (part 1)
Since your initial complaint was the start of the irrelevancy, this is mighty disingenuous of you
from wikipedia: In 2007, Ballmer said "There's no chance that the iPhone is going to get any significant market share. No chance."[55]
The early adopters and concerned geneticists are both living in the future.

With their help someday we may be able to eliminate genetic conditions like [color] blindness, aging, deafness, homosexuality, blackness, and your less preferred gender.

Where do you get uncomfortable with this list? Technology has benefits and risks. It's not too early to start the discussion. It's even relevant to what society and people today categorize as "healthy" vs "disease".

Many in the deaf community argue that they are not diseased. https://en.wikipedia.org/wiki/Deaf_culture
MMS security concerns
Wondering what everyone's experience is around MMS security.

Would you be concerned sending photos by MMS?

And are there any real technical security concerns around sending photos by MMS?

Thanks
Other way around; z = x + y is a shorthand syntax for

z <- copy(x)
z += y

But you're otherwise right, it's annoying that this shorthand syntax isn't more generally available for user functions.
What a charming article. It brought a smile to my face at the end of a long day.

My team is too decentralized, spread all over the world, for a robot to make sense, but I almost wish this weren't the case because it would be so fun. So many opportunities for jokes, pranks, and as Emily put it, joy.

Eventually these devices will need to have mifi or 4G, to get around the wifi dead zone issue though if there's no 4G either, you're in trouble. I suppose the robot could be instructed to automatically turn around and retrace its steps until it has signal again.

Also, of course, they'll need arms. It would be so useful to point at things on the white board, tap an elevator button, knock on a door, etc. Operating a heavy door might be a bridge too far, for now.

But eventually, we may have a "Surrogate (The Movie)" situation where human lookalikes are wandering around everywhere, and we'll be jacked in with 3-D goggles, noise canceling headphones, and smart gloves that provide resistance.

This may actually be the Next Big Thing. Where can we invest?
++ is a rare situation since the introduction of foreach. For example in the JVM checking for null would deserve an operator.
Good, I always sticked to += 1 because it felt better.
Weird to see I'm not alone.

I could never really memorise the difference between i++ and ++i because it just seemed like such an obscure thing to have. It's really really weird (and cool) to see someone suggesting removing it.
MIT Dropout creating anti-college
I know CLAs let corps relicense. In fact, you'll find that I explicitly mentioned relicensing in the sentence immediately preceding that one...

Can you explain what's ridiculous about the part of my comment that you quoted?
Well, I suppose you can #define your own?
Seven simple steps to secure your cloud data
The problem isn't whether modern versions work; the problem is re-testing & re-certifying your application on the platform, because you don't know what features might have changed or broken with the upgrade. It can sometimes be cheaper to pay an engineer to backport or make custom patches if vulns are found in the future.
Adorable and fascinating, but hard to see why this is an article appropriate for HN.
The new “Horror Victorianorum”: On the irrational hatred of the Victorian era
Uber and Its Rivals Now Have a Big Investor in Common
Peter Krämer is actually also one of the few billionaires who is in favor of reintroducing a high wealth tax in Germany.
> Well the use of digital certificats for timestamping is explicitely covered in Directive 1999/93/EC [1].

Not what I asked. I asked if there was any evidence indicating that courts would reject Bitcoin timestamping despite being based on the same concepts, and in several ways superior to, the old-fashioned centralized timestampers. To which your answer is apparently simply 'no'.

> looks like planning to defend yourself in court to me...

I know what I said.
Is there a significant benefit to this over using a new name for the result?

y = (x + 1) / atan(x) - x;
x = y; // If you're in a loop and updating some value

If would hope/imagine that a compiler could reduce the two to the same code - and I don't think it reads any worse. Is there a downside beyond the extra line of code?
What about for beginners like me who instantly understood `++` and `--` as increment/decrement but avoided `+=` and `-=` for being rather nonsensical?

This half-reeks of something that a professional/advanced user thinks trips up beginners without actually tripping up beginners. Or they have an anecdotal sample size of n < 10 and decided since it confused 1 person that 10% of people get confused.
Free and simple way to create a professional online store
> Your functions can get that (and other) special form. You need to use a language where you can define your own operators. Have you looked at C++, C#, Haskell, or LISP?

AFAIK, Lisp doesn't have syntactically-distinct operators at all just functions which may have names similar to operators used in other languages, and C# and C++ don't seem to support custom operators at all. [0]

OTOH, Perl 6 has robust support for custom operators.

[0] except that C++ has apparently been hacked to create custom operators with some limitations via macros [1]

[1] http://www.codeproject.com/Articles/31783/Custom-User-Define...
Well, I type the * key to get a +, then shift and 0 to get a =, then 1 to get a 1.

Slow, and my fingers have to jump completely over the keyboard.

What is far more annoying, and should be banned, are `these` (I have to press shift+' twice to get one `, otherwise I end up with á' instead of `a`), and {}[], as they are on AltGr+7/8/9/0
As for 1, I'd suggest reading this book: http://www.amazon.com/That-Every-Man-Armed-Constitutional/dp...

As for 2: https://en.wikipedia.org/wiki/Battle_of_Athens_(1946)

As for 3, no one is suggesting it become a routine method. Heck, the early 20th Century Imperial Japanese political culture of assassination and what it led to is a stark object lesson (particularly stark as I finish reading this right now: http://www.amazon.com/Hell-Pay-Operation-Downfall-1945-1947/...)

As for 4, your history lessons must have skipped this event: https://en.wikipedia.org/wiki/American_Revolutionary_War

Overall, it's rather interesting you can't conceive of the deterrent effects of a well armed populace. Surely our 21st Century experiences in the sandbox suggest something....
This makes me so sad, not because of the language issue, but because these birds are not being cared for. :(

Those cages in the pictures are way too small for an African Gray. Also, you need someone who is willing to spend hours every day entertaining their bird.

The African Gray is like a three year old child that stop growing. You wouldn't put a three year old in a tiny cage and then ignore it. You shouldn't do that with the African Gray either. And their average lifespan is 70 years, so it will most likely outlive you if you take good care of it.
Plus a relatively easy concept to understand even if you encounter them for the first time. I'd say that it's even more intuitive than +=.
IS QUITTING WITHOUT a NEW JOB LINED UP EVER a GOOD IDEA?
That's old enough not to support TLS v1.2. That alone should be enough to take a long hard look at your application and think "how hard could it be".
It's been 10 and 11 minutes just outside Canberra, Australia. There are less drivers here.

Interestingly 2 of the local cab companies now have Uber-like apps, which are quite nice to use.
Yeah. regression testing, even though it is likely that most people won't see breakage or regression from upgrading to the latest, but some testing should still be done.
Poster probably meant it makes writing non-mutative code easier. Never mutating by convention is how a lot of js is being written these days.
Well, Octave wasn't started with the goal to take down Matlab. That became a goal later in the project's lifetime as it became clear that users were demanding it.
The Moral Character of Cryptographic Work
How to Open a Can Without Can Opener – Zombie Survival Tips #20
Anti Debugging Tricks
I'm a fellow New Yorker, and have been familiar with Placemeter for a while. Really like the concept, seems like it could grow in a ton of different directions.

Maybe it's there on the site and I just missed it, but what is the one-liner overview of how the sensor works? Does it detect mobile devices?
> Straw-manning is necessary

Take the high road, will ya

> Some positions are simply not worth discussing thoughtfully

Like yours? Very humble.

> there's no use respecting that view, it's far too extreme

ideals, you should know what those are
SHA1 still seems pretty good for most purposes. It would be nice to see if git-evtag would work easily with timestamping.

(As I understand the writeup, it is ultimately just generating a longer/securer hash of the entire tree's contents rather than just SHA1s, and so the post-commit script could be as simple as 'timestamp `git-evtag`', but the compile failed on my system so I am unable to try it out personally.)
Whenever I pictured the kind of person who posted reaction gifs to a thread, I imagined some 14 year old kid trying to be cool.

Now, seeing this on github, I can only spend a few minutes clicking on the gif-poster's names and taking a glance at their code to see if they are actually mentally retarded or 14, and leave mystified and horrified.
Which is funny, because that's what Uber is probably doing to Lyft.
Women can now serve in all military combat roles [US]
Is the self-driving fleet really that close?
FWIW, Go linter suggestion is to to use i++ but i += 2. If you write i += 1, it'll suggest you should write i++ instead:

main.go:6:2: should replace i += 1 with i++

That said, if it were removed, I'd probably be happy because it makes the language a little simpler, but I don't mind having it too much either, because it's a statement rather than an expression.
I don't have any specific recommendation, just some thoughts.

That almost sounds like a class structure type thing. And, I find even with a jenky interface and feature set I tend to gravitate towards social networks with a population past a certain threshold. I couldn't tell you that threshold as a number, but it's got a healthy glowing feeling, like everyone is contributing regularly with sincerity and enthusiasm. That kinda stuff that grows mostly organically.
Childhood Autism and Assortative Mating (2012) [pdf]
OMG, yes!

maybeNull?.getContent()?.toString()

This would improve my coding sooo much.

Currently I use Optional.fromNullable(maybeNull).orElse(new DummyObjectThatReturnsNullOnAllMethodCalls).getContent(), and then repeat the process.
Cochrane findings that will help you (2012)
DagCoin: a cryptocurrency without blocks
Why don't we use for medicines the same procurement procedures we use for aircraft carriers? The USG should just hire someone to develop antibiotics for them. It is a matter of national security too - in case of biological attack having a couple more potent will help a lot.

Or having the know how to develop them on demand.
Totally missing the forest for the trees. Uber has billions in revenue, so just on that alone the idea that the market is not worth billions is false.

Furthermore, they said the same things (20 something singles) about Facebook. Now my parents are on Facebook. The key is that Uber has the potential to change market behavior. Well, more than just the potential - it is changing some market behavior, as evidenced by this anecdote. The potential is that it has to potential to change the transportation spending habits of many more people.
Both were zapped by the 14th Amendment, which was passed in part to counter laws restricting freedmen from owning guns granted, the Supremes almost immediately judicially nullified it.

The recent McDonald decision zapping the Chicago and some of it's suburbs bans on gun ownership made that explicit SCOTUS writ ... where in an interesting wrinkle, the gun owner's advocate offered the Supremes a chance to reverse the prior nullification, which in part made their decision another beloved "compromise".
To be clear: the assignment isn't the optimization; its the use of a symbol for 'x' on the rhs so that the compiler can recognize it. To illustrate that

X &x = { complex reference expression for x }
y = (x + 1) / atan(x) - x;

Now the compiler has the clues it needs to write good code.
And with language support I don't have to introduce new names for each occurrence; just one name like <LHS> that readers can quickly learn.
> Doctor removes facemask

> "Sorry, they didn't make it"
Hope they contribute the change back to Cyrus.
This article gratified my intellectual curiosity.
Lyft does allow a way for their drivers to keep more of their pay by driving more: https://help.lyft.com/hc/en-us/articles/214586477-Power-Driv...

They also allow tips, unlike Uber. But I've heard from drivers that they don't get tips often, at least not in the Bay- too many passengers are used to Uber's no-tip system.
Learned something new today
Please give a better cite. Yours does not seem to support your claim. The only part of that link that mentions "millions" is

> Treatment failure to the last resort of treatment for gonorrhoea–third generation cephalosporins–has been confirmed in Austria, Australia, Canada, France, Japan, Norway, Slovenia, South Africa, Sweden and the United Kingdom. An estimated 106 million people are infected with gonorrhoea every year (2008 estimates).

Only 1,000 people die a year from gonorrhoea worldwide, the vast majority of whom live outside the US and EU.

https://en.wikipedia.org/wiki/Gonorrhea

To the best of my knowledge, the anti-biotic resistant bacteria that currently poses the greatest public health risk is Methicillin-resistant Staphylococcus aureus (MRSA).

> Many of these infections are less serious, but the Centers for Disease Control and Prevention (CDC) estimates that there are 80,461 invasive MRSA infections and 11,285 deaths due to MRSA annually

https://en.wikipedia.org/wiki/Methicillin-resistant_Staphylo...

None of these are millions of people with life-threatening risks in the US.
Format tip: prefix a block of lines with two spaces (on each line) and a newline before and after the block to turn it into a fixed-width font, then format ASCII-style.
"It is widely grokked that cats have the hacker nature." - Eric S. Raymond
You have to look for the Amiga MODs. Nearly all electronic music was in MOD format back before MP3.

http://amp.dascene.net/detail.php?detail=modules&view=5024

"This is a compilation of some of my demoscene music made between 1989 and 1993 when I was still called Moby, before some other guy took my moniker :P. These tunes were released by some of the best demogroups ever : Sanity, Alcatraz, Quartex, Dreamdealers... All tracks were composed using Protracker on the Amiga." https://elmobo.bandcamp.com/album/amiga-days-remasters

The worldwide distribution was though BBS networks and the Internet. Just for reference, when these Amiga modules started circulating, the IBM PC was only capable of making "beeping" noises.
This website is agnostic to the server setup. All it does is ask you to host a file at a specific endpoint on your domain on port 80. It has examples of how to do this with python or file-based on nginx and apache, but there's nothing stopping you from doing your own configuration to host the file in your own way. Hope that helps!
Anyway to get a wildcard SSL certificate from Let's Encrypt? Mine is coming up for renewal soon.
More interesting is being sued for looking like someone else:
http://usatoday30.usatoday.com/money/advertising/2011-07-21-...

(Old Navy was sued not the actual person still interesting)
Zuck's Not Alone: Here Are Letters Written by Other Moguls to Their Kids