Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
azth
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
azth
4y ago
They're using him to scapegoat their incompetencies. Everyone with an ounce of critical thinking was able to see that money printing will cause this. "Transitory inflation" yeah right.
122.
▲
by
azth
4y ago
It's only "controversial" in leftist circles that spout "equity". The difference in personality traits between men and women (even boys and girls before puberty) are well established in the literature for a very lon
123.
▲
by
azth
4y ago
Men are much more inclined to take risk than women.
124.
▲
by
azth
5y ago
There's a reason punishments are necessary, even if they might seem harsh.
125.
▲
by
azth
5y ago
Can anyone using lambda at scale pitch in regarding costs? It seems companies are using it to build pipelines which could be much cheaper by writing full services as opposed to small functions that you pay for per invocation.
126.
▲
by
azth
5y ago
It's a red herring. The true underlying causes for these things are already solved by Islamic regulations on finance, societal issues, social welfare, etc.
127.
▲
by
azth
5y ago
> does not create a victim It does.
128.
▲
by
azth
5y ago
And I refuted them with my citations. And you did copy paste, don't deny it. A google search will reveal the websites that have the same text you copy pasted. You didn't even bother to mention who were those supposed scholars who
129.
▲
by
azth
5y ago
> The arabic domination of the muslim world was ended by the mongols. Islam was never exclusive to the Arabs. One of the main tenants of Islam is that there is no difference between Arab and non-Arab, black and white, etc. > But the a
130.
▲
by
azth
5y ago
The Muslims saved the rest of the world from the Mongol trail of destruction. Millions did not get raped or genocided by the Muslims, not sure where you're getting that information from. Muslims have had rules of engagements since the
131.
▲
by
azth
5y ago
I'm saying that the Muslims did the world a favor by saving them from the Mongol destruction. Niall Ferguoson sounds quite biased and exaggerative.
132.
▲
by
azth
5y ago
> Arabs did. The ottoman turks, muslim persians, etc benefited greatly. They're all Muslims. Islam establishes that ethnicity does not matter. Arabs did not wipe out local populations, you'd want to look at the Crusades and Zio
133.
▲
by
azth
5y ago
The Muslims greatly suffered under the Mongol Empire's trail of destruction, and the atrocities the latter committed have been well documented. Yet, it is a great page in our history to have dealt the first major blow to them in the Ba
134.
▲
by
azth
5y ago
How do you suggest golang handles stack traces then? It seems Rust has the same issue by the way: https://docs.rs/error-chain/latest/error_chain/ > If the RUST_BACKTRACE environment variable is set to anyt
135.
▲
by
azth
5y ago
> That you've marked the function `throws E` is an admission it doesn't really work Correct, I didn't spend a lot of time refining it. I suppose the only way to make it work is to remove `throws E` from the signature and m
136.
▲
by
azth
5y ago
Those companies have to justify their office leases somehow.
137.
▲
by
azth
5y ago
> Simplicity of Go allows for rules' formalization of how I build 3D mental map myself, so I can outsorce it to the code. I don't see how that's any different from reading Java/C#/Kotlin code honestly.
138.
▲
by
azth
5y ago
> and the first one doesn't even work because of type erasure - you can't write generic functions over exception types. It sure does work :-) @FunctionalInterface interface ThrowingSupplier<R, E extends Exception&g
139.
▲
by
azth
5y ago
What's even more surprising is that lawyers are too scared to initiate lawsuits for these clearly unconstitutional laws.
140.
▲
by
azth
5y ago
I wonder if this will pave the way for law suits for people who have lost jobs/positions/promotions in favor of less qualified diversity hires.
141.
▲
by
azth
5y ago
> What does it have to do with errors? The fact that the former scenario is much more likelier to happen in golang due to its error handling. The former can be caught using unit tests, and should stick out more in languages like Java wit
142.
▲
by
azth
5y ago
It's quite trivial to write a generic function that handles a particular exception else returns a default value, which addresses the above scenario. final var x = getOrDefault(C::foo, Something.class, quux()); return x.bar();
143.
▲
by
azth
5y ago
> You've still not made clear what's special about errors that makes the concern about errors, not all types, more than theoretical. The way errors are handled in golang, its possible to ignore them accidentally. This doesn&#x
144.
▲
by
azth
5y ago
JIT makes things like the JFR possible.
145.
▲
by
azth
5y ago
Because errors are just return values in golang, and it's not possible to write a linter to guarantee that they're handled, there's always going to be the possibility of them being overwritten by accident. Not to mention due
146.
▲
by
azth
5y ago
Having worked on golang code bases for several years now, I assure you it's not a theoretical problem. It's not fun to have ignored or overwritten errors that keep the program going as if nothing is happening.
147.
▲
by
azth
5y ago
The right thing is to automatically maintain error context (e.g. stack traces) which golang fails at. Furthermore, the vast majority of the time you will have a top level handler that will log the error anyway. golang is just introducing bo
148.
▲
by
azth
5y ago
I've used golang at my employer for several years now, and I came out respecting and appreciating the design decision that have and are going into Java/C#/Kotlin much more given the atrocities I've seen written in golang
149.
▲
by
azth
5y ago
> Enums in Go are inferior but that doesn't stop you from using them in the same way. It does, I have to think twice because I know I'm not getting the compile time features that Java offers, and may end up just using strings i
150.
▲
by
azth
5y ago
> They're just built for features of Go They're inferior, and do not cover the same grounds (e.g. "enums" in golang are just integer constants, you can't code gen using golang tags, JFR is way way more comprehens
More ›