tntn | 6 years ago | on: U.S. Life Expectancy Drops for Third Year in a Row (2018)
tntn's comments
tntn | 6 years ago | on: U.S. Life Expectancy Drops for Third Year in a Row (2018)
tntn | 6 years ago | on: U.S. Life Expectancy Drops for Third Year in a Row (2018)
> There is no requirement to post the article headline as-is on HN.
There is. From the guidelines:
> Otherwise [i.e. not excessive clickbait] please use the original title, unless it is misleading or linkbait; don't editorialize.
tntn | 6 years ago | on: U.S. Life Expectancy Drops for Third Year in a Row (2018)
The comparison is between the last three years and 1915-1918, but the Spanish flu was just getting going in 1918.
EDIT: folks just arriving, the HN title has changed since I commented. It previously said "worst trend since Spanish flu," or something.
tntn | 6 years ago | on: Writing a small ray tracer in Rust and Zig
Rust people, is there a way to tell the compiler that each thread gets its own elements? Do you really have to either (unnecessarily) add a lock or reach for unsafe?
tntn | 6 years ago | on: How and why CPUs do “branch prediction” (2017)
tntn | 6 years ago | on: Senate passes bill to decrease grid digitization, move toward manual control
tntn | 6 years ago | on: Reset C by GE Light Bulbs [video]
tntn | 6 years ago | on: Red Hat Expecting X.org to “Go into Hard Maintenance Mode Fairly Quickly”
tntn | 6 years ago | on: Apple buys autonomous driving company Drive.ai
Now it is clearing pushing a driver-assist angle ("improves your stock ACC and LKAS," "copilot," "augment"). No mention of "self-driving," "autonomous," or the like.
Previously, it was clearly marketing a full-self-driving, no human involved system: "ghostriding for the masses," "software to make your car self driving."
tntn | 6 years ago | on: Google CTF 2019
tntn | 6 years ago | on: Google CTF 2019
tntn | 6 years ago | on: Google CTF 2019
tntn | 6 years ago | on: Google CTF 2019
I wrote a compiler from emoji-code to amd64 (mostly because I'm more interested in compilers than reversing). It runs quite fast - prints the whole domain in ~1 min. I'd highly recommend it to people who are into assembly, it was a fun exercise.
tntn | 6 years ago | on: Differentiation for Hackers
tntn | 6 years ago | on: Differentiation for Hackers
>>> import autograd.numpy as np
>>> from autograd import grad
>>> def fn(x):
... return np.power(np.power(x, 3), 1/3)
...
>>> gradfn = grad(fn)
>>> gradfn(0.0)
/usr/local/lib/python3.6/dist-packages/autograd/numpy/numpy_vjps.py:59:RuntimeWarning: divide by zero encountered in double_scalars
lambda ans, x, y : unbroadcast_f(x, lambda g: g * y * x ** anp.where(y, y - 1, 1.)),
/usr/local/lib/python3.6/dist-packages/autograd/numpy/numpy_vjps.py:59: RuntimeWarning: invalid value encountered in double_scalars
lambda ans, x, y : unbroadcast_f(x, lambda g: g * y * x ** anp.where(y, y - 1, 1.)),
nan
… Damn. >>> import torch
>>> x = torch.tensor(0.0, requires_grad=True)
>>> y = ((x**3) ** (1/3))
>>> y.backward()
>>> x.grad
tensor(nan)
… Damn.tntn | 6 years ago | on: Differentiation for Hackers
Sure, we call that computer algebra. As soon as you start doing that, you aren't doing automatic differentiation, you are doing (at least in part) symbolic differentiation.
tntn | 6 years ago | on: Differentiation for Hackers
(I probably should not say this, but I will anyway: your comments regarding math and science always give me the distinct impression that you know the name of a lot of things without knowing much about the thing. You are frequently breathless about analog quantum computing, Lie algebras, Chu spaces, some universal concept of duality, but then you fail to respond with substantial arguments to people that try to temper the breathlessness. If you want to convince people of things, you should work on this.)
tntn | 6 years ago | on: Intel to Slash Desktop Processor Pricing Up to 15 Percent as Ryzen 3000 Nears
tntn | 6 years ago | on: Why ['1', '7', '11'].map(parseInt) returns [1, NaN, 3] in JavaScript
https://ajph.aphapublications.org/doi/pdf/10.2105/AJPH.2017....
> Conclusions. Male firearm use drives the increased rate of suicide in rural areas