Better HN
topnewbestaskshowjobs
Log inSign up

_Codemonkeyism

3,311 karma · joined Sep 10, 2015 (11y ago) · 1,565 submissions

Submissions

comment 8y ago · link · parent

Didn't watch the Tedx talk, sadly the article doesn't mention what "productivity" is and how it was measured.

comment 8y ago · link · parent

As someone who is using Linux (on/off Desktop, continously on servers) since root.tgz times:

Frameworks and window managers did their share to splinter and prevent Linux Desktop, why shouldn't we try again to prevent Linux mobile becoming a thing?

But if this is a phone for Linux enthusiasts, why not?

comment 8y ago · link · parent

I've been coding since around 1981. What changed my coding style most, is Option when I've started Scala 10y ago.

comment 8y ago · link · parent

"So Long, and Thanks for All the Fish"

comment 8y ago · link · parent

Or 'should' :-)

comment 8y ago · link · parent

Yes, but Germany-UK is not France-Germany. With the merger of French Nexter with German KWM to build the next MBT I do think the situation is different.

comment 8y ago · link · parent

Most property owned by private people before the GDR was founded was repatriated to the former owners, which was a messy process and as can be seen in Berlin, took up to now (goes for houses, gardens, fields, small shops etc.) This was further complicated because Jewish property also needed to be repatriated - with most owners murdered - as it wasn't given back by the GDR after the Nazis confiscated it.

Public land in the GDR is now owned by the German state.

"some profitable companies"

Most companies were transfered to an institution ("Treuhandanstalt") founded by the GDR. Most of these folded, because people in the GDR stopped buying former-GDR products and bought from West companies as soon as the Mark was introduced with a stupid 1:1 exchange rate instead of the real 1:7 (but it got the chancellor reelected). Additionally all export markets in Eastern Europe broke down. Imagine a company losing ALL it's customers and in the need to find new ones while still having thousands of employees. I'm not sure many companies today would survive this.

With an 1:1 exchange rate no company was profitable, most due to not enough machines working and too many people (many machines were run down in the 80s and couldn't be repaired). Funny story from former left-terrorist (RAF) members who fled to the GDR and when working in companies there (VEB) thought "this never works" because the whole company owned one xerox.

I don't think NK has a lot of functional companies though, with most people being farmers, so this should be mood.

comment 8y ago · link · parent

It will get tighter, Dassault and Airbus plan the next European fighter together - might be a merger coming.

comment 8y ago · link · parent

After some 'challenges' in the beginning for being together 24/7 it works really well now for some years.

I make the technical decisions, she makes the sales decicisions and we both compromise on product with her with the final decision.

comment 8y ago · link · parent

Working for my wife in her startup.

comment 8y ago · link · parent

Loved working with Alphas in the 90s.

comment 8y ago · link · parent

Should have known :-) And as always comments say more about oneself than the other.

comment 8y ago · link · parent

Welcome to the Guardian ;-)

comment 8y ago · link · parent

Yes

comment 8y ago · link · parent

I'm not following, how could an error with Future[Either[A,B]] disappear compared to synchronous logic of Either[A,B]? Our code base is the same for sync and async logic and error handling.

One thing that doesn't work is Anders Hejlsbergs method of letting unchecked exceptions bubble up, but exceptions haven't been a good idea for business code anyway.

comment 8y ago · link · parent

If the future has a side effect I'm not concerned with, like sending a mail, I can't see the problem?

comment 8y ago · link · parent

The main culprit to me in Golang seems to be channels, not goroutines. If your workflow essentially is defined by a mesh of channels and goroutines, it's hard to reason or understand.

I have no direct practical knowledge of Golang, but working on a large application that used BlockingQueue for concurrent communication and one which extensively used services buses for communication - both were hard to understand and reason about flow.

After some years with Scala Futures I'd say they work well and reason well. They can be seen as normal function calls returning Future instead of another 'container'.

They reflect the black box mentioned in the article, with one way in and one way out (e.g. when a method returns Future[_]).

The point about error handling: We use Option,Seq.empty on read error handling, Validation on create/write and Either on side effects (like sending mail).

(yes, they are still leaky abstractions e.g. when debugging, but work fine most of the time)

comment 8y ago · link · parent

Yes, but with every large applications I've been bitten by non-functional problems in production with major Java migrations, as non-functional testing is usually not as extensive as user testing.

The answer was to:

"So better start today making sure it runs on Java 10. It doesn't need to be deployed straight into production."

Making sure it runs on Java 10 is not the problem, I expressed myself too fuzzy.

comment 8y ago · link · parent

Main point:

"The judge said he disregarded Weadock’s testimony. 'I don’t think anybody in that courtroom understood what a restore disk was,' Lundgren said."

comment 8y ago · link · parent

My main point with Java upgrades is not source code, but different behaviour in production. Or some side effects you didn't get in testing.

comment 8y ago · link · parent

Did you find anything on their support policy for sec updates for older versions?

comment 8y ago · link · parent

Foursquare lib migration to Scala 2.12, open since one year, we can't upgrade to 2.12 because of that dependency,

https://github.com/foursquare/fsqio/issues/37

They don't upgrade the open source version because their internal version depends on that open source version and they don't can't upgrade internally to 2.12.

They can't upgrade because of several dependencies of their own, the last one Finagle.

All of those although "cross compiles are no problem" as the default answer from the Scala development team on these issues.

comment 8y ago · link · parent

What web framework are you using? Both Lift and Play had major migration problems over the last 5 years due to cutting off support for older Scala versions.

comment 8y ago · link · parent

Yes we use Scala in production for >6 years.

But I wonder how many companies would make the same decision again after their experience with Scala.

comment 8y ago · link · parent

Yes I've read that point, but a.) it means not 2 but 2.12 b.) what happens if the 2.12 class file depends on old Scala library code?

"this won't be an issue."

After a decade of Scala usage and a several 100k line project to code on, I'll believe it when I see it.

comment 8y ago · link · parent

Scala is not for development, it's a research project.

comment 8y ago · link · parent

Essentially a Tesla car tries to kill you by following the wrong road markings over and over again (as remarked by the wife of the dead driver). Tesla puts the focus on you to detect ever time when the car wants to kill you and act fast enough. If you like that, buy Tesla.

comment 8y ago · link · parent

Working as a consultant on digitization with some of the largest German companies, the main problem is their success in one field.

Everyone wants to innovate, I've got orders directly from the board on these topics, everyone in top and middle management is on board, wants to innovate, there is a lot of tailwind, but in the field they are squashed by the success of their main products and by time constraints maintaining their cash cows.

Many expect ROI much too early. I tell them look at startups, VCs and exits, these are the time frames to expect success (up to 10 years). But if a new project doesn't make enough money in 2 years it is often killed or seen as a career killer being on board.

comment 8y ago · link · parent

Yes.
1
212223
53