Better HN
topnewbestaskshowjobs
Log inSign up

_Codemonkeyism

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

Submissions

comment 7y ago · link · parent

As I'm running a legacy larger Scala app, what would that compiler options be? e.g. for the line

    service.withName(customer.getName().firstName);
with a NPE in line 25?

comment 7y ago · link · parent

After 20 years, first in Java and then in Scala I've been tortured by this error message. Some years ago they fixed ClassCastException which for a long time also didn't tell you what was wrong. There are some others if I remember correctly with bad error messages, like NumberFormatException. In general error messages on the JVM are very bad, wish they would take a look at Elm error messages.

I've left this year the JVM for TS, but glad for everyone who uses the JVM.

comment 7y ago · link · parent

Thanks will take a look, up to now everything else I've tried had subpar print CSS support and created not the best output. Didn't know weasyprint !

[Edit] Tried out Weasyprint, sadly doesn't support a lot of stuff which I need (Javascript, could hack phantomjs, and CSS leader() for TOCs).

comment 7y ago · link · parent

I wish there would be an open source alternative to PrinceXML.

comment 7y ago · link · parent

Visual Studio Code with Markdown.

comment 7y ago · link · parent

Most Bud Spencer movies in the 70s and 80s, as most series were synchronized very "freely" in Germany and had often different stories.

277.

Tag Types in TypeScript with Taghiro(codemonkeyism.com ↗)

1 points · by _Codemonkeyism · 7y ago · discuss

comment 7y ago · link · parent

Not sure how a years long sign up and waiting list is "unpredictably". Or was that ironic and I didn't get it?

comment 7y ago · link · parent

Using Brave for some months now, mostly satisfied.

Just my personal story: Moved away from FF because of their privacy concerning unwanted plugins and marketing campaigns.

comment 7y ago · link · parent

Sure the "50M didn't vote for Brexit" is BS as is the "but the 17M" with such a tiny margin of pro-Brexit votes.

Implicitly agreeing to the "but the 17M" frame, the Remainers lost the public discussion.

comment 7y ago · link · parent

Yes I agree, if you don't vote (having voted in every election the last 30y and would never not vote) you're ok with the result and can't complain, but from a Remainer standpoint the framing would be "50M didn't vote for Brexit" - then I'd think their arguing would be easier.

Having watched many Commons discussions, it basically always ends with "but the 17M".

comment 7y ago · link · parent

Implemented PCI DSS and GDPR several times, I do think there is a huge difference.

comment 7y ago · link · parent

The Brexiteers had won when they successfully framed Brexit as "the will of the 17M". Remainers didn't counter-frame this with "50M didn't vote for Brexit".

Therefor all the marches, petitions etc. are always/can be ignored in the context of "but the will of the 17M".

"Don't Think of an Elephant!" is now such an old book, and still a lot of people haven't read it. Brexiteers have read it it seems.

comment 7y ago · link · parent

As a EU citizen I like my personal data protected. I left facebook and all other networks except Twitter and usually do not give data for any coupons in shops.

GDPR is a mess not from the goal but the implementation.

Currently no one knows how to implement GDPR correctly - e.g. how to exchange business cards, how to store information from sales leads etc.

Compare this with PCI compliance (which is about CC data protection) and it's very clear if you're compliant and if you are not and what to do.

For now this has no effect because data protection agencies - at least in Germany - are overloaded, but will lead to a lot of fines for companies that want to do everything the right way.

Article 13 is the same mess. Good in intention of making YT pay for the content they use and which is copyright protected, but _impossible_ to implement in it's current form.

comment 7y ago · link · parent

Which country comes to your mind with high usage of cannabis and not a crisis? Looks like the Netherlands (which came to my mind) has rather low cannabis use.

There also wouldn't be a statistic if people do not report to a doctor about 'hearing voices' for example.

Also the Netherlands has shown the increase in schizophrenia

https://www.who.int/substance_abuse/publications/cannabis_re...

For a deeper discussion see

https://theconversation.com/if-cannabis-is-getting-stronger-...

comment 7y ago · link · parent

Talked to a psychiatrist some years ago, he said it would create the biggest health crisis in Germany if cannabis would be legalized, as there is a strong connection to schizophrenia for cannabis use. This link is only in a small portion of people, but when millions start to smoke it's going to be a very large issue Germany is not prepared to tackle.

comment 7y ago · link · parent

I'm making micro steps forth and back.

Ditched Chrome, using Brave.

Tried DuckDuckGo but - very subjective - it has results that don't work for me, so I'm mostly back to Google.

Removed Google Maps, mostly use Maps.me now.

Remove Google mobile Mails app, now using Nine.

comment 7y ago · link · parent

No. This is the sign of our times. And I might follow you, I might join your club if you're an activist, but I will not read your news site and pay for it if I want news. Activist opinions are free today.

comment 7y ago · link · parent

Last time I've said this, I got a huge karma hit, but I'd say it again: Greenwald is a political activist not a journalist. I had huge expectations in investigative journalism with The Intercept, but for me it failed.

But it looks like it wants to stay that course, with

"said it could no longer afford its research team, and was eliminating those jobs as part of a 4 percent cut in its workforce."

+100 for

"I'd rather see and PAY for one Spotlight story a year than 24x7x365 days of tweeting"

comment 7y ago · link · parent

Thanks! Your reply is much appreciated.

comment 7y ago · link · parent

Really nice design, was there any inspiration? I would like to use something like those squares to illustrate an ebook.

comment 7y ago · link · parent

Greenwald is a political activist.

comment 7y ago · link · parent

Basically every history article is heavily biased, just compare the different language versions.

comment 7y ago · link · parent

Yes it is, the same way a CEO is responsible if the systems of the company are hacked and millions of emails and passwords are lost. They do what security experts tell them. Equifax for sure had lots of experts. Or Sony for that matter. There is a point when a court will decide that "you should have known" and the "expert" defense will not work.

It's funny on HN, if it's security the CEO should go to jail for listening to experts, if it's Boeing - one of the holy cows beside Tesla - it's "follow expert advice".

I bet $100 if an US 737 MAX crashes the CEO will go to jail.

comment 7y ago · link · parent

There will be a point in time when CEOs of those airlines in the US that do not ground 737 MAX planes get into a lot of trouble if something happens to one of their planes. Then they play with jail time instead of payments to victim relatives.

comment 7y ago · link · parent

When was the last time that two brand new Airbus planes of the same model crashed in similar ways and the EASA didn't ground the model?

comment 7y ago · link · parent

"practice, these planes don’t fly differently."

Until they crash and kill hundreds of people.

comment 7y ago · link · parent

Today we use several echos only as a time/voice activated watch/spotify. They well be thrown own if we move and replaced with non-cloud wlan speakers.

comment 7y ago · link · parent

YEEEEES!
1
91011
53