Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kaba0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
331.
▲
by
kaba0
2y ago
Well, the compiler says undefined behavior and optimizes it away :D
332.
▲
by
kaba0
2y ago
Pulling the God card is a bit like redefining `true` to false in some very dynamic language. Like, is there a point in asking/answering anything if anything goes?
333.
▲
by
kaba0
2y ago
If you think it’s like Ant, then you have absolutely zero understanding of gradle. Only the config step is “turing-complete”, which outputs a build graph that is cached and used to do every further step, finding the tasks that need recompil
334.
▲
by
kaba0
2y ago
I would also add that there isn’t too many players in its category of general build tools. Like, sure, you can have a go-specific build tool that is more ergonomic, but it chokes the instant you add a c dependency. I guess there is only baz
335.
▲
by
kaba0
2y ago
Aren’t you displaying each and every file? Like, gradle doesn’t have all that many tasks in a default java project.
336.
▲
by
kaba0
2y ago
While I’m not a big kotlin fan, I do believe that using it as a config language is a good direction.
337.
▲
by
kaba0
2y ago
Gradle uses a programming language to create a static build graph that can be analyzed and efficiently executed. I agree that gradle is not the most user-friendly software out there, but I can only think of bazel that would be up for the ta
338.
▲
by
kaba0
2y ago
Well, “color” is fundamentally an electromagnetic spectrum. You can’t describe it by 3 values, as it might have an arbitrary shape. What it does is separate out the whole spectrum/graph into 3 graphs that overlap, and summing them up
339.
▲
by
kaba0
2y ago
Resolution and color depth are two different “dimensions”, and 8-bit may refer to either.
340.
▲
by
kaba0
2y ago
I think this has more to do with budget. In many countries, professors are not paid specifically to write books, but if no proper book exists in the local language then they sort of have to do it one way or another. It usually ends up as so
341.
▲
by
kaba0
2y ago
Well, the differences between western cultures are less pronounced, but I do think that knowing, say, Chinese etiquette when meeting mainland Chinese people is essential to not come across accidentally as rude. There are significant differe
342.
▲
by
kaba0
2y ago
There are certainly people like that, but there are also exceptionally smart people that just absolutely suck at selling themselves, and you might unknowingly decided the same way in case of both. It’s very hard to fairly evaluate someone.
343.
▲
by
kaba0
2y ago
> Besides, Joe Biden is currently incredibly complicit in atrocities and war crimes Sounds pretty standard US foreign policy, but interestingly it only matters now.
344.
▲
by
kaba0
2y ago
Even the president is elected indirectly in the “land of the free”, it’s a joke of a “democracy”.
345.
▲
by
kaba0
2y ago
And they can be pardoned by the president after the fact.
346.
▲
by
kaba0
2y ago
I think this topic has been discussed countless times, and this post fails to add anything worthy to it. My two cents: use result types, or their analog in your language for expected error conditions, and use exceptions for exceptional situ
347.
▲
by
kaba0
2y ago
Though credit where it’s due, some of their tools really have been years ahead of anything outside of google, e.g. the closure compiler that made javascript development scalable.
348.
▲
by
kaba0
2y ago
That’s not due to the language, but due to the business domain (I assume web development). In this domain almost every framework, regardless of language, will heavily use metaprogramming, see django, etc.
349.
▲
by
kaba0
2y ago
How is it on life support, when it’s by far the biggest server-side language, running basically every top companies’ business critical infrastructure? Also, annotations are just metaprogramming, which can be tastefully applied.
350.
▲
by
kaba0
2y ago
What an idiotic comment.
351.
▲
by
kaba0
2y ago
I mean, gradle is a generic build tool. It could support it, just as it can be used to compile C (I have done the latter).
352.
▲
by
kaba0
2y ago
Yes, at the price of taking time away from the mutator thread, while a tracing GC can do useful work in parallel. Arguably though, especially for the early mobile devices an RC might be a better choice.
353.
▲
by
kaba0
2y ago
This is basically git automatically doing “accept theirs” or “yours” for any fork. You can see that it will not generally be what you want, so whether such a strategy could work is domain-dependent.
354.
▲
by
kaba0
2y ago
Parent commenter meant subsidizing the actual hardware costs. The same is true of pretty much every other console, they can also sell the hardware cheaper for this reason
355.
▲
by
kaba0
2y ago
Graal can create an executable from a ruby program as well with TruffleRuby and native image (both part of the general graal project).
356.
▲
by
kaba0
2y ago
I haven’t tried in this particular case, but they are very backwards compatible and I have had success running some CS professor’s 20 years old random, obscure jar about some datastructure visualization, downloaded from these old, ugly html
357.
▲
by
kaba0
2y ago
Do you mean the jars, or the JRE itself?
358.
▲
by
kaba0
2y ago
Can you actually compile Swing or JavaFX with GraalVM? I have only ever heard anecdotal evidence of that, even though I have known people from the Graal team itself. Like, there shouldn’t be anything fundamental that prevents it from workin
359.
▲
by
kaba0
2y ago
Kotlin’s approach was a necessity to interact with a Java convention. Java instead tries to move away from that mutable convention to an immutable-preferring one with clearer rules (e.g. what is the correct setter and getter for an `IP` fie
360.
▲
by
kaba0
2y ago
That’s not true.
More ›