skysight-inc/HackerNews huggingface dataset:
I have used Scala for building business solutions since 2012. I had been maintaining PHP and Rails systems of 50k to 150k LOC prior to the switch. I still have to maintain PHP and Rails systems. The move to Scala was driven by the need for better performance, system resiliency, and to mitigate the effect of multiple developers coming in & out of a codebase. It turns out to be ideal for this.

Idiomatic Scala is not a grab bag of features or paradigms. It is firmly based on programming with expressions and using the type system to improve abstraction. Statements and mutable data structures show up when interfacing with external systems or for performance reasons. The Collections libraries are arguably "object-oriented" as that term is commonly understood, but this is not typical for application code. However, object-oriented features such as objects, classes, and traits are the basis of Scala's module capabilities.

For programmers coming from 20th century mainstream languages that are all based on programming with statements, mutable variables, and are arguably a thin abstraction over the machine itself, programming with Scala can be a challenge. If you want to do your familiar imperative style of programming, Scala is going to be painful. Use another language. But if you would benefit from a type system and good support for expressions, then Scala is possibly the best choice currently for growing business applications. We are not in 2005 any more.

Scala is not ideal as an introduction to functional programming. Other languages, such as F#, SML, OCaml, and Haskell have better, simpler syntactic support for features associated with functional programming.

People who dislike on Scala are probably either stuck in the past or don't have pain that Scala would solve.
The masses are what they are. Big phrama is the one taking advantage of the natural state of the masses. We could blame a child for being dumb, but instead we make laws protecting children from those who would take advantage of them (banning child labor, lots of rules to protect children concerning contracts, banning predatory lending, etc.).
"[Go] is impressively fast and soon we figured out that our bottleneck was not the language/framework neither the application, but our database"

You re-wrote your entire REST API in a new language without first understanding where your performance issues were?
A Free Logo Design per DayYay
+1 Implicits. We put very strict limits on use of implcits. They make code extremely difficult to reason about, but can also be incredibly dangerous. I once stumbled upon an implicit cast of Int to Float... Oh, my.
There's actually a port of OCaml to the JVM that has pretty good interop with the Java ecosystem, or at least it will once it's out of beta: http://www.ocamljava.org/.
you're probably american, so you're forgiven for this ignorance, but europe consists of +-50 sovereign states. Even now with EU (that doesn't contain many states), declaring a war is always matter of a given nation.

Apples to ants...
Well, actually, since the getters/setters advertise the type of the internal data structure, it is public. True, you could change the return type of them (which would require you to do just as much refactoring as if you changed a public internal data structure) or change the internal data structure and cast to the return type but many times that will make the getter/setter meaningless.

This is all not to mention that since the setter is public, you don't have any protection of your internal data structure anyway since anyone can modify it.

It's true that getters/setters offer thread-safety; I'm happy to concede that.

However, the performance impact is not FUD (or at least, I did not mean it as such); ask any systems programmer and they will happily tell you that one of the most common optimizations you can make is removing function calls where they are unneeded. Another comment mentioned that the JVM can JIT this problem away through inlining; I honestly do not know if that it is true—if it is, then great; that would be a significant benefit over this same kind of formulation in, say, Cxx.

Finally though, I don't really understand why Java programmers cling to backwards compatibility so when their own language shows you what happens when you commit to never removing anything to avoid breakage (i.e., you build in a huge amount of cruft).

Keep in mind, none of my posts are meant to be flamey here; I was just giving my opinion of one of the patterns displayed in the FAQ that I find distressing.
Absolutely shameful that WikiLeaks would choose to publish stolen, private correspondence, and frankly I'm surprised and disappointed there are people in the HN community that don't seem have an issue with it.

Even if you supported the publishing of the NSA documents on the grounds that it was whistle-blowing, and thus aided in uncovering a greater crime, there's no such possible justification here. (Certainly not in publishing them in bulk.)

We have due process for the discovery of private communication, and that process protects all of us. In fact, our personal freedoms depends on our consistent application of those protections, regardless of whether they're being use to protect you, me, our best friend, or someone we don't even like.

If we decide that it's up to thieves to decide what we do or do not get to keep private in our own lives, then we'll have fallen so far as a society. Good luck when they come for you next.

(Personal request: since this is obviously a polarized topic, consider posting your rebuttal as a comment, so everyone including me can learn more about the nuances of the debate.)
Show HN: NKjoep/i-love-markdown.css
It is also amusing the big money spent by the ones licensing the "security torx" and guessing how they got convinced.
I don't think Sony is making this. I think this is just the production company emailing sony employees about it to try and get the word out. http://www.imdb.com/title/tt2392361/
One of the best decisions I made was to transition from J2EE server code (Spring+ hibernate + Jsf/(some)SpringMVC ) to Clojure ring + Moustache. The code is smaller, simple to understand and concurrency is a breeze. The only downside is you can't write a SOAP server as XML namespace support is missing in its xml library.

edit : typo
This server is supposed to be generating and managing certificates, but it only has only 1/3rd test coverage (34% at time of writing).

Do others feel this is reasonable?
Assume that all information that exists at t = 0 shares more similarity with other information at t = 0, than information at t = other. Then all information that exists in the present observation has a uniform probability of being correct, without having to verify the correctness of the information.

Assume that information is deterministic - in that information has a limit of what it is capable of expressing given enough time.

Assume that information taken at t = 0 and information taken at t = n and t = -n shares similar degrees of complexity, transformation, simplification, mechanical operation. All information moves uniformly.

There are lots of things that already exist in culture that present themselves as fact or truth, when there really isn't any reason to have initialized yourself on agreement when you were first taught it, aside from cultural and societal pressure.

I don't like google, but what google is doing is no different than what anything else does when it creates, alters, and destroys information. The localization of the information doesn't matter, as the transformational functions applied to the information can be universal, random, and chaotic.

In simpler terms, someone at google may implement one way to think, which spreads virally across an entire population, but they may have learned that one way to think from something they learned isolated from civilization on top of a mountain. And they may change it tomorrow, because something seemingly trivial changed, like someone's tone of voice in an otherwise predictable meeting that occurs every Thursday at 2:15 pm. In retrospect, it's still ambiguous as to what has significance and what does not. Patterns are no different from chaos from an objective perspective.
Everyone who hasn't used it for at least a year or more than three.
Yeah, I just turned 40, tell me about it :)
(2) Isn't this true for all languages, and in fact isn't that the hallmark of a _good_ programming language? One could also argue that this provides evidence of simplicity, as many smaller building blocks can be assembled in different orders to produce the same (complex) result.

The antithesis is when we see posts about how "Go's too simple".
Hi @Superpi, in regards with your situation, please read this article, this might inspire you...
http://www.inc.com/ben-baldwin-and-donald-cowper/this-entrep...

But for now take a break first, put your startup aside. If you need to work to earn a living then work. Don't mind what people might say if you put your startup on hold. Who cares about them? Do you think they care about you or your startup? No. They probably would talk behind your back for awhile. But who cares. What is important now is for you to live your life the way you wanted to. Life won't be back in an instant. But whatever you learn from your startup keep it and use it when you want to do it again.

I wish you well and be strong.

----------

With regards to the fact that it is hard to raise money in a poor country:

I agree. It is harder to raise money in a poor country. It is also sad to realize that unlike the Western countries where angel investors or incubators/accelerator are willing to shell out money just to test if there is a market for the idea even if they have no product at all. In a poor country, even if you have a prototype ready and you need funding to test it to the market, your prototype is nothing and you will be valued way way less than what you really are. Until you can actually prove that it is a viable business or maybe you have actual customers, then that's the only time they are willing to risk it. In a poor country, nobody feels safe to invest on you. It's all about risk management.

It is also sad to see that investors (from other countries), doesn't believe that the next billion dollar company can come from a third world country or maybe from a third world country founder.

But as a startup founder and as an individual, those "facts-for-now" doesn't stop me from building things, nor does it stop me from innovating, or stop me from building my startups, and that doesn't stop me from believing that I can build the next billion dollar startup. I know I have to step up my game and give 2-10x more the effort provided by the privilege people, but that won't stop me from fighting and believing. Because remember nothing is impossible and if you want it you will do it, no excuses.

:)
I had my admin enable the IRC gateway and I just use that now. Uploaded files are a little awkward (but that's mostly because I have to switch between multiple google enterprise accounts during the course of a day).

Put the 'SLACK' user on ignore and most of the annoying integrations disappear.

That said, I still hate the thing.
Those seem to be very fair points, but you didn't care to elaborate what are the implied negatives of the Sudbury system in your opinion?
You have no idea how young 40 is until you're say, 50 :)
Indeed. My mother founded an educational software start-up at 60. 4 years later it's doing rather well actually.
You needed leaked emails to tell you that companies donate to political candidates they like? https://www.opensecrets.org/pacs/lookup2.php?strID=C00282038
I'm still rocking my MacBook Unibody (Late 2008). Coming up to 7 years old and the only issue is the battery is down to an hour and half, which sucks.

Other than that, 8GB RAM and a 120GB SSD gave it the much needed boost (5 years ago...).
Hey, what you did is awesome. It is a small step, but it is decidedly in the right direction - and often us Italians are too cynical and resigned to a shitty system to push back against it as much as we should.

Kudos!
I agree that the comment was insensitive. I never said otherwise. I was pointing out that you missed a case: it is entirely possible “that is not what they meant and they do not need to update their vocabulary”.
If you compare it to Java or Groovy, Scala is the winner. Even the designer of Groovy admitted by saying something like "If I knew the Scala back in 2003 I'd probably have never created Groovy" But compare to Haskell, it looks like a bit bloated. On the other hand, Play Framework has been a great catalyst for Scala.
I am not really sure. I come from a Ruby and Python background and just love scala. It's a joy to work in and relatively easy to introduce at work compared to other FP languages.
How is it not? This seems to be the normal state of affairs in US elections, but that doesn't change a thing.
Bytecode features not available in the Java language
I know the plural of anecdote is not data, but every time I've asked a question in #scala I've received nothing but helpful and welcoming responses.
I agree with this wholeheartedly. WikiLeaks doesn't exist just to publish scandals. It's not a tabloid or a nightly news show. It's a website that publishes leaked documents, and this is the biggest leak of the decade. Making it searchable and accessible is the icing on the cake.
This chain was in response to the person saying they should be able to fire someone for use of medically prescribe marijuana. I was asking for someone who agrees with that viewpoint to denote the difference.
Anytime humans are involved mistakes will be made. Where I work when something goes down it's a total panic and later it always has to be someone's fault. Sure lends itself to lots of CYA and working scared.
You need to read http://mystartuphas30daystolive.tumblr.com and realize you're not alone.

First you'll survive, then you'll thrive. This experience will build character in you like few other experiences can.

Reach out to me if you need anything.
for some reason the Gates/Zuck drop out references always forget to mention what school they actually dropped out from
But then why didn't they give you a shitty bandwidth when you try to access such remote content? That would be fair game, instead of capping the global data transferred over a month..
See “conduit contribution”: "Here’s how a “conduit contribution” works. Person A wants to give a lot of money to Candidate X. But federal law puts a ceiling on how much one person can contribute to a candidate. To get around the law, Person A goes to Friend B or Employee C or Associate D and says, “Hey, if you give me the money for Candidate X, I’ll pass along your check and then reimburse you out of my own pocket or from corporate funds.” The friend, employee, or associate effectively becomes a “conduit” for the real contributor, thus the name."

"The law is clear: Under the Federal Election Campaign Act, making campaign contributions in the name of another person or otherwise concealing the true source of the funds is a felony if the contribution exceeds $2,000. In fact, both the person soliciting the contribution and the person who agrees to be reimbursed for it could be investigated. Even if neither is aware of the law."

source: http://www.fbi.gov/news/stories/2007/december/electfraud_121...
Certainly this is your experience, but to say that someone else is not likely to earn much higher is perhaps a limiting viewpoint.
I don't see it that way. To me, this usage of sharing a math graph is just a Schelling Point.[1]

Twenty years ago, residents had these huge paper phone books. It had the yellow pages listing businesses (the pre-internet version of Yahoo! directory pages). It also had blue pages in the front with all kinds of information: time-of-day phone number, first aid instructions for choking or ingesting poison (along with phone# for poison control center). In Florida, it also had maps with emergency evacuation routes in case of a hurricane. When the phone books expired at the end of the year, they could be repurposed as cheap door stops or booster chairs to feed toddlers. The phone books were something universal that everybody had shared knowledge about. Maybe it seemed like the phone company had a monopoly on disseminating non-phone related information but those books were yesterday's Schelling Point. Society has moved away from them.

I think this method of sharing a url from google is another harmless Schelling Point but I can be convinced otherwise. Monetizing people's curiosity about "x sin(y)" doesn't seem to be much of a threat. Wikipedia and Youtube are other Schelling Points. If I'm curious about an obscure music track; I just go to youtube.com because I'm conditioned to think that somebody somewhere already uploaded it.

Not sure what people expect the alternative should be. Should users who want to share graphs alternate URLs between google.com and wolframalpha.com?[1]

To me, the real threat from Google Inc isn't the Shelling Point aspect but the mountains of behavioral data they collect on users from search + Android location data + Gmail that can be used against them. The data can be misused to discriminate employment to job seekers or deny health insurance for the sick. Google says they don't want to be evil but the temptation to monetize that valuable data seems impossible to resist.

[1] http://en.wikipedia.org/wiki/Focal_point_(game_theory)

[2] https://www.wolframalpha.com/input/?i=x*sin%28y%29
My interview at BB involved zero shitty pointer and character array questions. It was challenging but included virtually no trivia whatsoever. And that was in 2004.
Just out of curiosity: is using IntelliJ on the HP Stream a good experience? Considering a similar purchase (chromebook C720p) but afraid of performance issues...
I've written C# for most of my career, and have in the last couple of years been exploring functional programming. I started learning Scala, and getting involved in the community and I found it to be quite interesting.

Something I find different is that most C# developers like writing C#, they may dislike many other parts of the ecosystem, but they generally enjoy the language. However with Scala developers, I find that many of them seem to dislike the language.

To cast a broad stereotypical brush, it seems like there are 2 main groups of Scala developers. There's those who are really into FP, and would love to be getting paid to write Haskell all day, but unfortunately Scala is the only option they can convince their employer to adopt. So they begrudgingly choose it because it has some of what they want, but they are forever wishing it was better & making their frustrations known.

Then there's the other side, which are developers coming from Java (or other OO languages) after hearing about the benefits of FP/Scala. They're either not using Scala professionally, but want to learn, or are just starting to use it at work. They are much more enthusiastic about the language.

Unfortunately, the first group are often more vocal, and it puts off newcomers.
You mean WordPress? I want a WordPress with this. It must be responsive and SEO optimized.
Your post said groovy and jython had more "wide spread" acceptance than Scala, and I thought you meant market acceptance. It is a reasonable reading of your post.

Your intended meaning requires a big leap in what side spread acceptance means, so I hope you can see the confusion.
Please use correct numbers in the ordered list.
This is the principal reason why "drones, OK, land mines, not OK." A land mine is a drone that waits for you. It is simple and cheap. Any armed group could afford them. Drones require high technology, among which satellites to relay video links and commands, etc. The "human in the loop" is just a bureaucrat rubber stamping, in real time, decisions made by a de facto autonomous weapon.
Mobile-Friendly Test
Tilde club?
I'm barely monolingual let alone bilingual, so I'm honestly curious: how does spell check do here? Are you able to type most words without the accents and let an auto-correct tool auto-magically correct things?
Decades of crusty code - C++ wrapped around C wrapped around Fortran, home brewed versions of the STL, nih syndrome across the tooling. Actually surprised outages not more common. Still, given their interview process is basically parlour trick questions about pointers and char arrays, it is quite telling!
Then we software developers need to get better at using hardware resources efficiently, so that the amount of RAM that's considered adequate today is still adequate 10 years from now. As I've said before, why isn't a PC with a 366 MHz processor and 64 MB of RAM (the laptop I used in college) good enough any more?
You're right. It's not even a quid pro quo if a contract stating the scope and purpose of the "donations" isn't attached. /s People here are just jumping on the bandwagon and assuming some very unkind things about the politicians and the executives alike; and that's just not fair.
> Internet.org doesn’t block or throttle any other services or create fast lanes -- and it never will.

Wait what? It's basically blocking everything except their services, did I miss something?
I've used it a little and haven't had any problems. You can run it on Jetty, so performance is excellent, and you get access to the whole Java ecosystem. Things like Core.async, Pulsar (modeled after Go's coroutines/Erlang's actors) and Software Transactional Memory make parallel/concurrent programming a breeze. The biggest "issue" some people have with it is that it's generally dynamically typed, but if you don't mind that then it's at least as effective as other server side dynamic languages.
> I disagree on the addictive nature of sites like Reddit, FB, etc. Yes, they are addictive. [..]
"Isn't this true for all languages". No, not at all. Many languages have an idiomatic way to write things. Python definitely does and so does Haskell (to a lesser degree).

"One could also argue that this provides evidence of simplicity" Or one could argue that it provides evidence of complexity, since you need to hold much more information in your head to achieve the same results.
I'm just curious where you're managing to live with ~$200/mo.
You act like WikiLeaks is some sort of guardian angel of the internet. I don't think they have to justify their actions as right or good because that's not the purpose of the site to begin with.

WikiLeaks publishes information. It's not a force for good or bad, but a resource that can be used to change the world. They didn't steal the information, but they collected it. They've done no wrong in presenting it this way. I understand why you're angry - people were deceived and their (believed private) conversations were made public. But blame the hackers, the internet, Sony's infosec team, or the executives that prompted this breach. WikiLeaks had nothing to do with it.
Were you under the impression that lobbyists weren't supposed to advocate for specific laws?
There's nothing wrong with using a debugger. If you tell me you can't or won't solve a problem without a debugger, well ...
iOS (iPhone at least) Safari: go to https://www.google.com/search?q=x*sin(y), tap the address bar, scroll up, and tap Request Desktop Site.
>I've switched to OSX but i still use Windows 10 on my other laptop and Windows 8.1 on my gaming PC and haven't had a bluescreen since Vista. I literally have never seen it for years.

I can reproducibly blue screen Windows 8.1 with the latest ATI drivers (as well as every driver for the last year and a half) by watching hardware accelerated Flash movies on an ATI HD 7770 GHz Edition. Swapping the card to a different ATI card fixes it. Swapping the card to an nVidia card fixes it. Swapping the 7770 GHz for another 7770 GHz does not fix it.

This only happens in Windows. It does not happen with the ATI drivers in Linux.
Except that the stolen & private correspondence exposes political corruption and influence peddling.
GSL: A Universal Code Generator
I'm fairly certain I would have zero desire to work someplace that considers 'Yes, i use a debugger' the wrong answer.
Upstart + net/http
Social Justice Bullies: The Authoritarianism of Millennial Social Justice