HNHacker News
TopNewBestAskShowJobs

chpill

18 karma · joined December 7, 2013

submissionscomments
chpill··on Performance Improvements in .NET 10

  When you have a really good JIT, as Java does, this tradeoff is gone
Is there a way to visualize the machine code generated by the JVM when optimizing the same kind of code as the examples shown in the talk you mention? I tried putting the following into godbolt.org, but i'm not sure I'm doing it right:

  public class DontForgetToFlush {
      public static void example(java.io.BufferedWriter w) throws java.io.IOException {
          w.write("a");
          w.write("b");
          w.write("c");
          w.write("d");
          w.write("e");
          w.write("f");
          w.write("g");
          w.flush();
      }
      public static void main(String... args) throws java.io.IOException {
          var os = new java.io.OutputStreamWriter(System.out);
          var writer = new java.io.BufferedWriter(os, 100);
          example(writer);
      }
  }
chpill··on Fukushima radiation did not damage health of local people, UN says
The World Health Organisation agrees with the UNSCEAR about the impact of radiation https://www.who.int/news-room/q-a-detail/health-consequences...

That would have to be an INSANE worldwide propaganda effort to pull this off. Or maybe, the propaganda is not where you think it is.

chpill··on Sci-Hub Founder Criticizes Sudden Twitter Ban over “Counterfeit” Content
The page from elsevier website for those who want to check

https://www.elsevier.com/connect/allegations-linking-sci-hub...

chpill··on Small Lab Makes Big Breakthrough in Nuclear Fusion Tech
> The real question is whether fusion will ever be economically competitive with renewables+storage.

Could you elaborate on what storage you have in mind? The only effective way we have to store large amounts of electricity right now is [pumped-storage hydroelectricity](https://en.wikipedia.org/wiki/Pumped-storage_hydroelectricit...), which is interesting but also very sensitive to the geography.

chpill··on We need to take CO2 out of the sky – an overview of climate tech
> The best thing I can think of then is to lower the temperature of the earth because then the oceans will act as a Co2 buffer sink.

If we had some other levers to cool down the earth, the CO2 in the atmosphere would not be such a big problem.

chpill··on Ask HN: What are some of the best technical talks you've heard?
It does take time before he starts drawing the parallel between woodworking and software, but it is well worth the wait!

Thank you for reminding me of this great talk.

chpill··on Clojure will affect the way you think about programming
Writing your own transducers is hard and error prone, but I think using and composing the ones given you by clojure.core is actually rather easy (Especially using the 3 arity of `into`).

I don't use so many `->>` anymore thanks to them.

chpill··on Clojure will affect the way you think about programming
I have been working with Clojure(script) full-time for the past 4 months (coming from javascript). I highly recommend it. Programming is fun again.
chpill··on The web sucks if you have a slow connection
I think this is an important question.

Like another reply to your comment, I thought about having a very small js script in the header puting `Date.now()` in a global, then on page load, having another script checking the amount of time that had passed to see if it was worth downloading the "extra" at all. But then again where do you put the threshold? Has anyone tried this with some degree of success?

chpill··on State of Clojure 2016 – Results and Analysis
For your concern number 3, the creator of spacemacs has created a package to help you author lisps in normal mode (https://github.com/syl20bnr/evil-lisp-state). It is included by default in spacemacs (all the bindings begining with `SPC k`).

It offers you all the cool features of paredit (barf, slurp, splice, transpose, convolute etc...), but it is easier to use in evil-mode. Check it out!