Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
geokon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
721.
▲
by
geokon
5y ago
Thanks for introducing me to `add-lib` This is going to be a huge time saver :) More info here: https://insideclojure.org/2018/05/04/add-lib/ Hopefully there will be some way to just "reload" y
722.
▲
by
geokon
5y ago
Yeah, I mean from a IDE/developer point of view reflection is fantastic - really can't argue with that. At dev time it's a life saver. But coming from C++ my gut reaction is that for compilation/distribution time this is
723.
▲
by
geokon
5y ago
That's an important distinction. I guess my annoyance is mostly cosmetic. The app is pretty small and does a simple data processing task. Had I written the app in C++ it would have been a couple of megabytes (and it would have taken me
724.
▲
by
geokon
5y ago
Crazy to think they choose an unshrinkable language as a mobile platform :) It doesn't seem like that powerful of a language feature (and more of a code smell) and it creates this mess down the line. I wonder what fraction of libraries
725.
▲
by
geokon
5y ago
Oh that's cool. I'm not intimately familiar with Java, so it's interesting to see how it's done. I figured it was something like that. Coming from C++, reflection seems like a giant useless codesmell - and there are all
726.
▲
by
geokon
5y ago
As I understood it, jdeps is only for shrinking the runtime and bundling it with the program. This part seems fine.. or at least they're doing the best they can :) I ended up skipping this step and distributing a JAR - which is a bit o
727.
▲
by
geokon
5y ago
No, the Java compiler does not do this. You can try it yourself and see. All dependencies are bundled into the JAR. If you have some large library as a dependency (like BoofCV or JavaFX for instance) then all of the classes and dependencies
728.
▲
by
geokon
5y ago
Anyone have any experience using a Java treeshaker? I have a Clojure GUI/JFX App that's bloated and I've only managed to slim it down with manual package pruning. I couldn't get Proguard to work with Clojure. Granted pr
729.
▲
by
geokon
5y ago
very interesting! Thanks for sharing :) That really answers the question
730.
▲
by
geokon
5y ago
Usually when companies talk about an "enormous environmental toll" i get the feeling the business case must be weak. But giving them the benefit of the doubt and assuming the tech is legit and it all makes economic sense, why Norw
731.
▲
by
geokon
5y ago
Well they don't need to be idempotent, but it's generally a good idea if you want to stay sane debugging your system. To the second effect, I know in clojure's reframe this is handled by something called "subscriptions&q
732.
▲
by
geokon
5y ago
Don't you accomplish nearly the same thing with memoized functions? This seems to just provide a wrapper that obfuscates things
733.
▲
by
geokon
5y ago
Dumb question, but how does this work? .cat isn't listed as a TLD https://en.wikipedia.org/wiki/List_of_Internet_top-level_dom...
734.
▲
by
geokon
5y ago
Isn't this basically a normal tagged image? Like one you'd see on instagram/facebook. It displays a little bubble at a given position with the user name of the person in the picture. When you mouse over it changes to indicate
735.
▲
by
geokon
5y ago
There are new RISC-V chips that aim to do that: https://www.cnx-software.com/2020/10/24/bl602-bl604-risc-v-w... Here is a recently announced board: https://www.cnx-software.com/2021/05&#x
736.
▲
by
geokon
5y ago
Thanks for the explanation. It raises other questions, like how they would know small MACHOs haven't darkened the sky (I'm guess either you'd see twinking or it'd shift the stars downward on the Hertzsprung–Russell diagr
737.
▲
by
geokon
5y ago
Nebulae are an argument in favor. They are observable b/c they're not dense. They have a very high surface area to mass ratio. Light passes through them and they have absorption spectrum. They also emit a lot of black body radiat
738.
▲
by
geokon
5y ago
Maybe someone could help me understand why a simple explanation for dark matter isn't possible. I get how you can measure the mass of stars, and how you could also maybe measure the mass of interstellar gasses. You add it all up and th
739.
▲
by
geokon
5y ago
right. I think that was the parent's point. There is a bit of a double standard. You aren't allowed to link to a torrent of some software that's posted to hn. But if it's someone's writing then it's whatever. I
740.
▲
by
geokon
5y ago
well I didn't mean to be rude. but it was an off the cuff remark that was wrong. People say things without posting a source and that's how disinformation starts... first thing that came up in search suggests archive.org also is mo
741.
▲
by
geokon
5y ago
1) I assume b/c libraries purchase the book it's not equivalent. Do they purchase a subscription to the NYT and then lend it out to people? From what I gather on their website it doesn't seem like it 2) I'm not sure why
742.
▲
by
geokon
5y ago
I see, so it wasn't some unexpected influx. It was a deliberate decision on the part of the authorities. I guess it makes sense that industry is clustered and you often can't bring the factories to where the people live.
743.
▲
by
geokon
5y ago
Couldn't you use the exact same argument for software? It too gets taken down all the time I never really understood how Archive.org operates. This is an honest question.. But they doesn't own this piece of writing, so what'
744.
▲
by
geokon
5y ago
It's a bit surprising that this omits the fact that the Moscow Metro is a nuclear bomb shelter. There are huge blast doors everywhere and at many stations it's significantly deeper than Paris of New York. It's also got some o
745.
▲
by
geokon
5y ago
haha, i shouldn't type replies late at night. So many typoes..
746.
▲
by
geokon
5y ago
I guess what bothers me is that visualizations are supposed to leverage our intuition and gut feeling. Like in Geometry, the teacher tell you that when the lines are parallel, the angels on on a bisecting line are the same. You "see&qu
747.
▲
by
geokon
5y ago
B/c it actually adding a layer of complexity that's not necessary for the sake of getting a pretty picture. I'll try to illustrate.. The roots of unity are just trivially observed mathematically Through Euler's identity:
748.
▲
by
geokon
5y ago
Oh woah, I've never seen that visualization - very cool. I only meant to really highlight that often things are thrown on the complex plane and presented in introductory material as making the problem in 2D. The few times I've see
749.
▲
by
geokon
5y ago
I didn't mean to imply that there is anything wrong with visualization. I feel they're easier to understand than equations for the vast majority of people. But as a concrete example, to understand the Fourier transform it probably
750.
▲
by
geokon
5y ago
At the end of these types of popsci explanations you still can't grok the math any better and you end up with a hand-wave-y misleading understanding of what's going on. It starts off by saying that the Fourier Transform "meas
More ›