Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chopin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
451.
▲
by
chopin
7y ago
CE is a self-certification (I don't know about UL). For this situation CE is worthless as anyone could put up a sticker.
452.
▲
by
chopin
7y ago
I just tried this in Java and I ran quickly into circularity issues (one of the fields has an indirect reference to the same object, say a list which the current instance is part of). How does Lombok cope with that? It's not that easy
453.
▲
by
chopin
7y ago
But these adverts raise even more suspicion. I had a very awkward feeling when I saw them the first time in the German TV. Everybody knows that adverts are the poster-child of lying. Why should this be different? And if those are real worke
454.
▲
by
chopin
7y ago
It's a bit like intents on Android where you also don't get direct access to (some) resources. I like that line of thinking very much.
455.
▲
by
chopin
7y ago
I am not against checked exceptions per se. Their excessive use of them in the standard library and especially the inability of lambdas in handling them are a problem imho. Take the stream close methods: There is absolutely no use in having
456.
▲
by
chopin
7y ago
orElseThrow does return a String, not an Optional. You also could use orElse(null) or orElse("null") depending on the use case (eg. using as a part of toString).
457.
▲
by
chopin
7y ago
Even Object.toString could do this using reflection. If you're worried about the performance, override it. I never understood why this is not the case (doesn't Haskell do something similar?).
458.
▲
by
chopin
7y ago
java.lang.Object has a few methods though. At least those should be known when one starts writing productive code. Otherwise one produces even worse bugs than relying on toString behavior (equals and hashCode, god forbid). Cover to cover wo
459.
▲
by
chopin
7y ago
I personally like the explicitness of the language even if it is boiler plate (with some exceptions like checked exceptions in lambdas). It makes average code very readable with only little caveats. More than one time I struggled with my ow
460.
▲
by
chopin
7y ago
Exception handling and closing resources keep to be a major pain in the ass. Worst, the lambdas do not fit well with checked exceptions and the standard library is full of them. Another major pain are closing methods which throw checked exc
461.
▲
by
chopin
7y ago
I do that for this reason but only if I am able to inject the implementation into the classes under test. Very often I just resort to constrictor injection for internal code.
462.
▲
by
chopin
7y ago
I prefer god. He at least doesn't talk to other people about his observations.
463.
▲
by
chopin
7y ago
10% per year is much, though. Even with this it's an unreasonable price hike.
464.
▲
by
chopin
7y ago
I will not use sites who are doing this.
465.
▲
by
chopin
7y ago
This is extremely dangerous if you have session cookies and don't configure them carefully. For now, I commonly allow javascript/cookies on the top-level domain (I am a lazy uMatrix user). This will presumably change in future...
466.
▲
by
chopin
7y ago
If web sites are starting to track me via first-party cookies (which I allow for now) those will be banned aggressively as well. Currently I am somewhat lax on deleting them on browser close (I like to stay logged in for some sites). But th
467.
▲
by
chopin
7y ago
Tor-like schemes won't help you much as the tracking is done on the device.
468.
▲
by
chopin
7y ago
If you don't have bread, eat cake.
469.
▲
by
chopin
7y ago
Counterpoint: all purchasing sites I used so far are tracking me (or at least try to). I am tracked although I pay for the site. You have to factor in the fact that people know they are tracked whether they are paying or not. Given that fac
470.
▲
by
chopin
7y ago
On the first read I was inclined to agree. However I would like to see an alternative for use in public services at least. I am not very comfortable with the fact that citizens data gets uploaded to Microsofts servers.
471.
▲
by
chopin
7y ago
Works as well in version 5.1.6.2 on Linux Mint.
472.
▲
by
chopin
7y ago
I absolutely hate type detection in Excel. It's at least comparable to type coercion in Javascript, maybe even more capricious. I know the type thank you very much.
473.
▲
by
chopin
7y ago
The problem is that Germany lacks knowledgeable people in public service.
474.
▲
by
chopin
7y ago
Sounds like Germany...
475.
▲
by
chopin
7y ago
Taking lowest cost bid isn't always optimal. In Germany it is required to take the lowest cost bid which leads to all kinds of failed projects as the winning bid can't hold its bid. As well, life-time of things built this way have
476.
▲
by
chopin
7y ago
Rest assured, things have considerably changed in Germany since then.
477.
▲
by
chopin
7y ago
And phones home to a bunch of Google sites. I think we can safely ignore this.
478.
▲
by
chopin
7y ago
At least for sites where I am expected to leave money (web shops) that would mean aggressive blocking of subdomains (just for security reasons). I never cease to be astonished of stupidity. I can imagine that this tactic leads to all sorts
479.
▲
by
chopin
7y ago
PrivacyBadger, Ublock Origin, UMatrix and lately Toggle Resist Fingerprinting.
480.
▲
by
chopin
7y ago
It contains less chocolate now.
More ›