HNHacker News
TopNewBestAskShowJobs

nathandaly

779 karma · joined August 26, 2016

[ my public key: https://keybase.io/nhdaly; my proof: https://keybase.io/nhdaly/sigs/AEu1BzEokSG-gLQLE9ZR_hDrD5PMYV-SlgDJVvajhv0 ]

Ex-google (xoogler) software engineer; co-founder Fossil Jobs; engineer at NVHExperts. Obsessed with JuliaLang. Terrified about Climate Change but inspired by its challenge.

https://nhdaly.github.io/

submissionscomments
nathandaly··on Scientists Discover the First Room-Temperature Superconductor
Subtitle:

> Physicists finally achieved the long-sought goal, but there’s a catch: Their compound requires crushing pressures to keep from falling apart.

nathandaly··on Cryo–electron microscopy breaks the atomic resolution barrier
FYI - This means they're able to image individual atoms, not that they're imagining WITHIN atoms as the title somewhat implies.

That is: atomic resolution, not sub-atomic resolution

nathandaly··on The unreasonable effectiveness of the Julia programming language
We use Julia in production at RelationalAI. Our cloud hosted next generation knowledge graph management system is a highly performant database and query optimization engine, and it's written 100% in Julia.

We love Julia for the same reasons others have stated here: It's easy and intuitive to write, making it productive to work with for both our engineers and our mathematicians. It's reflection abilities make performance tuning and optimization easier than any experience I've had before. The ability to fine tune the assembly emitted for your hotspots _matters_, and it's straightforward to do in Julia. And for the rest of the code, being easy to write, easy to read, and close to the math are all a big win.

nathandaly··on JuliaCon 2020 Conference Agenda
JuliaCon 2020 concluded yesterday, but the talks are all posted on YouTube, and the conference agenda page remains accessible for the near future.
nathandaly··on The Green New Deal in the United States: What it is and how to pay for it
Article published here:

Energy Research & Social Science Volume 67, September 2020, 101529

nathandaly··on It’s Time to Build
(Here's an analysis of the Green New Deal published in Energy Research & Social Science): https://www.sciencedirect.com/science/article/pii/S221462962...
nathandaly··on It’s Time to Build
Also, here's an essay I really like written more from a tech/software engineer perspective about how to align your career towards building (with an emphasis on building our way out of the climate crisis): http://worrydream.com/ClimateChange

I've pivoted my career to working on the Julia programming language, because of its focus on science and engineering (_building things!_) rather than what I used to be doing in the software world (e.g. my past job at google), squeezing out more dollars from advertising. https://julialang.org/

nathandaly··on It’s Time to Build
From my perspective a lot of the problem is indeed about _motivation_ and _imagination_, like Marc says.

One place where I'm finally starting to see this kind of desire to build making its way into the public sphere (and not just resonating in tech circles) is with all the growing energy around a Green New Deal (https://www.sunrisemovement.org/green-new-deal).

This is the first time in at least a decade that I can remember politicians talking with the same attitude Marc was. The climate crisis is an incredible opportunity to BUILD! And to build like we haven't built in generations!

I love your desire to find companies working in this space. I am interested to see what responses you get on that front. But I also think a serious way we can help is by shifting the public consciousness towards _belief in our ability to build_, by advocating for things like the GND. So this is how I'm spending my outside-work time right now: volunteering and organizing to spread the vision of a society that BUILDS, and fighting for political candidates that share that vision. :)

nathandaly··on SpaceX first stage landing failed for Starlink-4 launch
This was the fourth mission for this first stage booster, which is the most any core has launched yet, is that right?
nathandaly··on Pixelmash: Resolution-Independent Pixel Art Software for PC and Mac [video]
Their software page: https://nevercenter.com/pixelmash/
nathandaly··on Writing a simple SQL interpreter in Julia
Like Stefan said, static compilation has been possible for years, just not very user friendly. We've been working on making compilation easier here: https://github.com/JuliaLang/PackageCompiler.jl

And we have a package for building complete, standalone, desktop applications out of the compiled code, here: https://github.com/NHDaly/ApplicationBuilder.jl

> does this involve bundling all of Julia w/llvm and all?

Yeah, more or less. It involves bundling the julia runtime shared library (no different than a C++ program needs access to the C++ runtime library, except that usually comes pre-installed), and all its dependencies, which yes, includes llvm and all.

A far-off goal is to be able to shave off the pieces of the runtime you don't need, such as LLVM if everything is precompiled, FFTW if your program isn't doing heavy linear algebra, etc.

nathandaly··on Writing a simple SQL interpreter in Julia
XD lol
nathandaly··on Writing a simple SQL interpreter in Julia
Thanks, no, i think this is a good criticism.

I think what I meant was something more like "You can think of it as basically just the Cartesian Product of your two tables, and then filtering out rows based on how you specified the query." I'll make that change now.

I recognize that you would want to do the filtering first, of course, and only materialize the final table at the very end after everything else finishes.

Other than that, though, am I missing anything else? It's quite possible due to, as I said, how new I am to relational databases.

nathandaly··on Writing a simple SQL interpreter in Julia
Ah yeah, I should've been more explicit in the title.

I think parsing wouldn't be hard either (since that's essentially what the macros are doing), I just didn't do it.

In fact, I think probably all the macro parsing code could be reused for a parser!

nathandaly··on Writing a simple SQL interpreter in Julia
Thanks!

I think most of the challenge was self-inflicted.. I just sort of programmed as I went, with no planning at all, and so i wound up reimplementing the same concept a few different ways, which made smooshing it all together into the mega SELECT function difficult.

I also was surprised by some of the aspects of writing the macros. It wasn't really clear to me when pieces of the expression get passed in as separate arguments, vs when they come in as a nested structure.

That is, does `@SELECT foo @FROM bar @WHERE a>2` parse as a call to `SELECT(:foo, :@FROM, :bar, :@WHERE, :(a>2))`, or as `SELECT(:foo, :(@FROM(:bar, :@WHERE(:(a>2))))`? I think it was the second one, but I still don't think I really have a good grasp on the pattern.

nathandaly··on Writing a simple SQL interpreter in Julia
Haha thanks Stefan! :)
nathandaly··on Reusable Warming/Cooling Pack for Electricity-Free Vaccine Refrigeration
Hey HN! I'm part of the team behind this device. It can keep vaccines cold indefinitely without electricity—you only need to move the device in and out of the vaccines container and maybe lay it in the sun once in a while. This is a link to our design contest submission page. It's an absorption heat-pump that uses osmosis and exo-/endothermic salts. There's a cooling phase (absorbing heat) and heating phase (releasing it) and it switches b/w them when it crosses a temp threshold (73°F). See diagrams in URL.

How to use it:

Put vaccines in an insulated box (maybe cooled earlier w/ the device). Put the pack into a stream (or already cold box), which lowers the pack's temp below 73°F and starts the runaway cooling. The pack gets cold (~40°F) in a matter of seconds. It absorbs heat from the box and stores it as chemical potential energy in the form of dissolved NaNO3 and crystalized CaCl2. After hours or days, remove the pack. If outside air is above 73°F, it automatically triggers the heating phase when it warms up to room temp. If not, manually warm it up (lay in the sun or on the stove) to bring it above 73. Then in just minutes it gets hot (~105°F) as the salts release all their stored heat. When heating finishes and the pack returns to room temp, store it or put it back in the box to start cooling again.

Principle is similar to other systems, e.g. A/C in RVs (wikipedia.org/wiki/Absorption_refrigerator). But A) it's driven by small temp changes you apply, so it's easier to do w/out electricity, and B) it uses safe cheap materials.

Cooling per kg (of salt+water) is around 90% of melting ice. (ie, approx the same weight of ice in the cooler for same amount of cooling)

--

Big impact where spotty electricity makes storing vaccines difficult: long electricity outages spoil vaccines, which have to be thrown away.

Another monetization: sell as electricity-free heating to backpackers.

This is part of an engineering competition. If you want to support it please vote for us!

nathandaly··on Renewable, electricity-free cooling and heating (for vaccines, etc)
Hey HN! I'm part of the team behind this device. It can keep vaccines cold indefinitely without electricity—you only need to move the device in and out of the vaccines container and maybe lay it in the sun once in a while. This is a link to our design contest submission page.

It's an absorption heat-pump that uses osmosis and exo-/endothermic salts. There's a cooling phase (absorbing heat) and heating phase (releasing it) and it switches b/w them when it crosses a temp threshold (73°F). See diagrams in URL.

How to use it:

Put vaccines in an insulated box (maybe cooled earlier w/ the device). Put the pack into a stream (or already cold box), which lowers the pack's temp below 73°F and starts the runaway cooling. The pack gets cold (~40°F) in a matter of seconds. It absorbs heat from the box and stores it as chemical potential energy in the form of dissolved NaNO3 and crystalized CaCl2. After hours or days, remove the pack. If outside air is above 73°F, it automatically triggers the heating phase when it warms up to room temp. If not, manually warm it up (lay in the sun or on the stove) to bring it above 73. Then in just minutes it gets hot (~105°F) as the salts release all their stored heat. When heating finishes and the pack returns to room temp, store it or put it back in the box to start cooling again.

Principle is similar to other systems, e.g. A/C in RVs (wikipedia.org/wiki/Absorption_refrigerator). But A) it's driven by small temp changes you apply, so it's easier to do w/out electricity, and B) it uses safe cheap materials.

Cooling per kg (of salt+water) is around 90% of melting ice. (ie, approx the same weight of ice in the cooler for same amount of cooling)

--

Big impact where spotty electricity makes storing vaccines difficult: long electricity outages spoil vaccines, which have to be thrown away.

Another monetization: sell as electricity-free heating to backpackers.

This is part of an engineering competition. If you want to support it please vote for us!

nathandaly··on The ancestors are not among us
I think this is exactly the distinction the article is trykng to make. The statement "apes haven't gone away because there are humans" has a false premise: apes have changed a whole bunch since the common ancestor they share with humans, just like humans have. Back when there were no humans as we know them, there were also no apes as we know them.

As far as I remember from biology, even if there is no selection pressure on a population, the population will still experience genetic drift and will still change over time.

nathandaly··on Jeff Bezos' Vision: Trillion Humans in the Solar System
I would add to that request that we can take care of all the humans we've already got and ensure everyone has awesome standard of living and equal opportunities before we go trying to hit trillions of people.
← PreviousPage 2 of 2