Hacker News new | past | comments | ask | show | jobs | submit | fedesilva's comments login

At least for me, webapps are just 1 in a thousand tabs open in 500 browser windows (ok, I exaggerate a bit). For an app with it's own window I can just hit a shortcut and said app gets focus. Disclaimer, not an Elektron fan.


Same for me. I'm so surprised that browser makers still haven't solved this particular problem in spite of all browsers now being multi process.


use `chrome --app`


That doesn't work on macOS.


About 6k+ people use it in my org - the vast majority are not devs.


Many people cross the Atlantic every year in relatively (not like this) small boats every year. There are common procedures and knowledge available to people that do that, see here for example: http://www.yachtingmonthly.com/archive/arc-safety-checklist-...

Examples of gross negligence: being dismasted in low or moderate wind conditions because lack of maintenance to the rigging and/or motor failing because of lack of a fuel filtering system, departing when conditions are obviously not favorable (wind against current in the Gulf Stream off the US coast).

There is no such thing as a clear line but it can be established for each case I think.


The lazy approach is probably way cheaper. Unless the social media shit storm is too big in which case they can correct after the fact.

Not saying it is ok to do it. Just that business will always pick the cheapest option they can get away with - that is, that does not affect the bottom line.


In my case its the contrary; it's the changes in patterns that distract me; the brain can move repetitive sounds to the background.

I don't play the same song but play repetitive music, also I use mid-tempo and up so I don't get sleepy.


"Knowing LinkedIn is saying "enough" is a real breather for me. At this point, I can stop. Hopefully it will trigger a chain reaction, and leave Scala for the academics."

You later speak of "hate" while justifying on the decision of one company your dismissal of a whole ecosystem. The chain reaction comment was tasteless and in no way looks like an opinion trying to make the platform better as a community.

If you don't like it, drop it.

Also FWIW in my experience with academics, most of them use Python, go figure.

-- EDIT

I don't usually reply to comments like this one but this time I could not resist. Sorry.


> If you don't like it, drop it.

I think criticizing something that you decide not to use is pretty valid, doesn't justify an ad-hominem attack, and certainly doesn't count as "hate".


I think pron knows what he's talking about, considering that's all what he does in pretty much every Scala-related submission.

He's not hating Scala, he's just desperate selling his 5 years out of date opinion about it on every occasion he can find.


Yep. Most recently 6 months ago. Now there's no longer need for me to sell my outdated opinion as it seems to be doing a great job selling itself.


I would say that is because neither you nor the original authors had an idea of how things work (thread scheduling, etc).

Good for you if you rewrote it and it did solve your problems. Obviously it was not such a huge task, if it was, learning how to control those things would have been wiser.

In this specific case 'dispatchers' is what you were looking for (http://doc.akka.io/docs/akka/snapshot/scala/dispatchers.html) and it is quite flexible.


But this applies to any javascript program (or compiled to javascript). If you have specific requirements then scala.js is not the tool. Scala is.


I agree with you. There is a difference between simple and simplistic. Easy is not always simple.


You can always use Option() as in:

scala> Option(System.getProperty("kaboom"))

res1: Option[String] = None

then map, getOrElse or fold at will.

(edited format)


For sure you can, but the internals of the libraries can also cause NPEs because of turtles all the way down :P

We've been running scala in production for 4 years, and had our share of NPEs in our code and in the libraries we host. My point I guess was just that it's not entirely true that they will not boil to the surface on occasion.


It's true what you say about libraries and turtles. Still it's rare the event when I get an NPE from my/our code.

Sometimes think I would love to have a layer between us and Java. Some sort of FFI which returned everything on an Option.

Probably too cumbersome, but still ...


Thanks for mentioning this. I had no idea. All this time I had been doing null checks...this makes it so much less painful!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: