3,034 karma · joined Jan 27, 2014 (12y ago) · 1,459 submissions
comment 8y ago · link · parent
Until you cast the object...
You should use truly immutable data types unless you specifically need otherwise, most modern languages and libraries encourage you to do so.
comment 8y ago · link · parent
That's the case, no? When I order stuff from AliExpress, the seller's only responsibility is to declare the item value honestly, it's then up to the carrier and local customs to charge VAT, import duties and fees.
comment 8y ago · link · parent
2. I mentored a couple novice developers working on a Play codebase, the rough guideline was to use libraries that depend on Scalaz, Cats, Shapeless ... but never import any of them in our codebase. No HKT in our code either. (Nowadays I work with all that on a daily basis, you can keep things reasonable).
3. I think you're mixing up a few unrelated things. Scala's OO model is cleaner than Java's. Implicits abuse is avoidable with frameworks like Play.
comment 8y ago · link · parent
Lobbying from the food industry is extremely powerful and pervasive. They're using the same playbook as the tobacco industry a few decades ago. For instance the traffic light nutrition labels (that I believe originated from the UK) were shot down at the EU level, under the pretense of not stigmatizing the important gastronomic heritage in several European countries.
comment 8y ago · link · parent
If you can tell your employer you'll spend the next sprint or two fixing a bug upstream, good for you!
From my experience working with complex libraries, when you hit a bug or a corner case, it is probably not going to be an easy fix. There's a reason many open source projects are triaging low-hanging fruits for first-time contributors.
comment 8y ago · link · parent
Japanese are indifferent and non-confrontational. If you don't care about what people think and don't try to integrate too hard, life isn't bad.
comment 8y ago · link · parent
All EC cards issued by German banks are co-branded, it used to be only Maestro, nowadays mostly V-pay. They do work fine abroad. (V-pay a bit less so than Maestro, but that's not a bug, that's a feature, skimming is a big issue in big German cities, that's why a lot of banks switched to V-pay)
comment 8y ago · link · parent
Most banks offer it, or at least claim to. However there's still no penalty for banks that don't do their job properly. But it shouldn't stop you, transferring all your SEPA direct payments isn't that hard even if you do it yourself.
comment 8y ago · link · parent
If you look into the fintech space, there's a stark difference between Europe and the North American market. We have several players entering retail banking every year in Europe, and that's partly thanks to regulations.
comment 8y ago · link · parent
And it's doing fine. Its cooling is slightly over-sized since I want to keep fans spinning at very low speed, but I haven't seen much difference compared to when it was outside.
comment 8y ago · link · parent
I'm trying to. The standardized annual power consumption that is advertised on the energy rating is only accurate if you use the default settings for 40 and 60°C cotton cycles. And that is effectively 4 hours at 40°C for a partial load. I saw the advertised "turbowash" cycle, however while it's supposed to be energy efficient, you have to take LG's word for it.
In the US, while models differ in size, if you look at a similar price range and load capacity, you'll see that numbers used for the energy rating are pretty similar (around 100 kWh or less). But, to my knowledge, the default cycles are fairly short. Sadly neither Samsung nor LG seem to publish cycle length in their manuals.
comment 8y ago · link · parent
Edit: here's an example: http://www.lg.com/uk/washing-machines/lg-FH4A8TDN2#
- 60°C full load 297 minutes
- 60°C partial load 244 minutes
- 40°C partial load 239 minutes
comment 8y ago · link · parent
Front-loaders are vastly different between the North American market and Europe or Korea. I remember my friend's brand new LG in California would run an eco-friendly cycle in 40 minutes. A similar model in Europe takes 4h30!
comment 8y ago · link · parent
Secondly, IDEA's SBT plugin works pretty well, use it if that's not the case yet, and put a reasonable .jvmopts file in your project. SBT can still be slow and there no magic cure for that (even though it's constantly improving). Some of my coworkers use bloop instead: https://scalacenter.github.io/bloop/
That said, Scala is indeed jumping on the LSP bandwagon, and it's already supported by Dotty out of the box.
comment 8y ago · link · parent
Then we got new C-level executives from Cisco, and the first thing they did was to initiate a migration to Cisco solutions. Their offering is super confusing to end users like me (WebEx, Spark, Jabber, ?) but it works reliably, in my experience.
comment 8y ago · link · parent
Other visas are also abused (J-1, L-1, even O-1). It wouldn't be that hard to have a saner immigration path for skilled workers, like Canada, Australia and many European countries.
comment 8y ago · link · parent
Since fundamental physics and bioinformatics have been mentioned several times in this thread, if you're curious, look into salaries at places like the National Laboratories, or even independent labs like the Allen Institute.
The market distortion in the field of AI/ML isn't as simple as poor wages in academic research. There are many strong European industries that could benefit from more AI/ML and that can definitely afford attractive salaries. Those jobs already exist around the German car makers for instance. Unfortunately, there's always more money to be made selling ads.
comment 8y ago · link · parent
Dealing with cash isn't free to merchants either. And that cost is passed on to the customer.
Sure, governments that are pushing for a cashless society have ulterior motives. But you can't blame them for capping fees that used to be just spread onto everybody, regardless of the payment method. Now at least they're supposed to be comparable.
comment 8y ago · link · parent
I worked at Samsung and given how much they poured into Tizen and the various in-house services for SmartHub, I guarantee they aren't making any significant money from them. They have zero leverage with apps for services that people consider a given (like Netflix). And a lot of smaller partnerships don't end well (see Peel for instance).
I'm not sure about brands that went with Android TV, but Google is pretty smart in such partnerships and fully takes advantage of the fact that OEMs like Sony don't have the internal resources to come up even with a half-decent OS.
Questionable updates that push things like samba.tv are probably a (poor) afterthought.
comment 8y ago · link · parent
While I don't expect them to sell mortgages anytime soon, they have many other ways to make profits. And if they manage to keep their footprint low compared to the way big traditional banks are moving online, I'm sure they'll be fine.
Or they could end up being acquired. (I hope they're big enough not to, but consolidation is a real issue in retail banking).