Hacker Newsnew | past | comments | ask | show | jobs | submit | neuroscihacker's commentslogin

I wrote about analytic easing functions a number of years ago and show how to precisely design a spring function:

https://medium.com/hackernoon/the-spring-factory-4c3d988e712...

And a bounce function:

https://medium.com/hackernoon/the-bounce-factory-3498de1e526...


I've written about this topic before and I think this is not right. Scroll down to "Environmental Impact".

https://towardsdatascience.com/high-performance-code-pays-di...

"The climate crisis threatens human civilization on a grand scale and electricity is frequently produced from fossil fuel. Electricity is then consumed by the operation of computer code. Google alone used 12.8 Terrawatt-hours in 2019 according to its 2020 environmental report, more than many countries and more than several US states. It seems intuitive that improving code efficiency should reduce environmental impact. Does it?

The answer is not at all clear and must be considered on a system by system basis. The main reason is induced demand.

...it will take a centrally coordinated process at both national and international levels that can allocate energy to different industrial and consumer sectors and manage the energy production mix on behalf of the whole of society. Only then we can solve this problem in a rational way that doesn’t depend on luck.

In fairness, software companies aren’t power companies, it’s a little ridiculous to expect them to build their own generation. What we can more expect from them is to pay taxes, divest from fossil fuel companies if they hold securities, and hold their total energy consumption under a ceiling set by a regulator while the society changes the energy mix as fast as possible."


Nuclear mania! I posted my article in the previous thread about nuclear physics, but I wrote one on the tests in the Marshall Islands as well.

https://medium.com/insane-before-the-sun/3-nuked-sinking-the...


This is a pretty excellent site. A few years ago, I worked on a series on nuclear weapons and recently released one of the articles. There's a backlog of articles you can read by clicking on the publication including on the physics.

https://medium.com/insane-before-the-sun/4-nuclear-blast-eff...

https://medium.com/insane-before-the-sun/2-the-physics-packa...


https://github.com/seung-lab/dijkstra3d/blob/master/dijkstra...

  // Dijkstra, Edgar. "Go To Statement Considered Harmful".
  // Communications of the ACM. Vol. 11. No. 3 March 1968. pp. 147-148
  if (neighboridx == target) {
    goto OUTSIDE;
  }


I had a good experience with Howler.js v1 a few years ago and built a library that joined musical pieces together in semi-random order for a game. The system is still running on eyewire.org today.

I haven't studied v2's differences in depth, but in v1 I made a few customizations to add timers, chained cross fades, smooth muting, and perceptual volume control (i.e. takes into account the logarithmic response of hearing).

https://github.com/seung-lab/howler.js/commit/fe445afd12cc7b...

https://github.com/seung-lab/sonic-shuffle/blob/master/js/So...

https://github.com/seung-lab/sonic-shuffle/blob/master/js/Mu...

Anyways, thanks Howler team, you made one of my projects much easier to do!

EDIT: Removed an inaccuracy, it's been a while since I looked at the code.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: