Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
apta
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
271.
▲
by
apta
6y ago
> It makes sense that the universe just bounces instead of 'coming from nowhere' This is why people are getting tired of scientism. Instead of being unbiased, some so called scientists are putting dogmas ahead of their observat
272.
▲
by
apta
6y ago
It's not exactly the same as equality checking, as each has its own uses. You can override `equals` to reflect specific semantics. Say for example you have a non-public ID field for your Point class that is used to determine uniqueness
273.
▲
by
apta
6y ago
A couple of options for handling nulls: * https://checkerframework.org/ * https://github.com/uber/NullAway
274.
▲
by
apta
6y ago
What are viable alternatives?
275.
▲
by
apta
6y ago
It doesn't allow you to match on individual members of the class. For example, in future Java I should be able to do: if (p instanceof Point(0, 0)) { // handle origin } else if (p instance of Point(x, y)) {
276.
▲
by
apta
6y ago
He's the lead of project Loom, so he knows a thing or two on what he's talking about ;-)
277.
▲
by
apta
6y ago
Income taxes are a very bad model. Other societies have a superior tax model that is both less strenuous on the citizens, as well as providing more benefits overall: https://en.wikipedia.org/wiki/Zakat I would be in fa
278.
▲
by
apta
6y ago
> standard lib Python and Go suffer less than other languages Depends on what those "other languages" are. For example. golang has nothing on the Java standard library (e.g. what does golang have to even remotely compare with `
279.
▲
by
apta
6y ago
It's there in the tweet he links: https://twitter.com/behdadesfahbod/status/127513187003691417...
280.
▲
by
apta
6y ago
Who attempted to force his employer to fire him for a code of conduct violation?
281.
▲
by
apta
6y ago
> (e.g. Python or Go) golang is quite notorious for its dependencies pulling in tens or even hundreds of other dependencies
282.
▲
by
apta
6y ago
> maybe it should be returned to USPS with interest? Interest is an evil and harmful practice. We've known it for thousands of years.
283.
▲
by
apta
6y ago
The goal is general welfare, not at the expense of wasting money or taking more money than necessary from the rest of the population. This is exactly what Zakat establishes.
284.
▲
by
apta
6y ago
> Also as someone who lived in system that had Zakat, it was supplemented with state-sponsored retirement. It can be supplemented upon need, it is still a strictly more fair system. Did that state collect social security or income taxes
285.
▲
by
apta
6y ago
Actions have consequences. Secondly, other societies have already solved this issue by means of a charity tax that is much more affordable than social security: https://en.wikipedia.org/wiki/Zakat
286.
▲
by
apta
6y ago
It should at least be an option for those who want to opt-out of it in return of not expecting social security in return.
287.
▲
by
apta
6y ago
Probably a good idea to just do away with social security entirely and leave those wages with their actual owners.
288.
▲
by
apta
6y ago
> If I see: `this.myFoo` > Cool, it's declared as a field on the class IDEs can highlight local fields and class members in different colors. Furthermore, in C# convention, member variables are preceded with an underscore (e.g. `
289.
▲
by
apta
6y ago
Once logic and morals are thrown out the window, anything goes.
290.
▲
by
apta
6y ago
That wasn't the question he asked.
291.
▲
by
apta
6y ago
> Given the treatment the members of the various Abrahamic faith's have given each other over history Quite a non-realistic view of history and people's behavior. People will do bad things regardless of (and in-spite of) religi
292.
▲
by
apta
6y ago
Lending money with interest has been a known evil for thousands of years now, Judaism, Christianity, and Islam all prohibit it. Yet, we do not learn from the past.
293.
▲
by
apta
6y ago
This is yet another way how the CCP will steal IP.
294.
▲
by
apta
6y ago
It just reeks of incompetence and laziness, not to mention failing to go after the real problem of not having proper healthcare and other benefits that is the job of the government to provide. They could easily survey drivers to determine h
295.
▲
by
apta
6y ago
They want private companies to pay for the government shortcomings of not providing affordable healthcare and other benefits.
296.
▲
by
apta
6y ago
And this magical "open source software" will come into existence on its own, and not cost anything to maintain or run I presume eh?
297.
▲
by
apta
6y ago
Not unless the law is broken.
298.
▲
by
apta
6y ago
It's quite bad design from golang to have these kind of imports. They claim they dislike "magic", yet here we are.
299.
▲
by
apta
6y ago
> Kelsey said “for the next step, you just have to put this in your Go imports, you don’t have to use it or anything: _ "google.golang.org/xds" > I was all “WTF how can that do anything? very suspect language
300.
▲
by
apta
6y ago
> If we settled for good enough in all cases we wouldn’t have Go or Rust funnily enough, golang is a regression in practically every front compared to established ecosystems like Java and C#.
More ›