Better HN
topnewbestaskshowjobs
Log inSign up

tehsauce

1,636 karma · joined Dec 10, 2016 (9y ago) · 422 submissions

https//github.com/PWhiddy
Submissions

comment 8y ago · link · parent

Exactly! The "limited supply" argument for the value cryptocurrency totally ignores the fact that anyone can fork or create a brand new token every day of the week. Nothing like gold or any assets tied to the physical world.

comment 9y ago · link · parent

Compute shaders are not supported in webgl, but is possible to perform vector operations by rendering to a texture with the fragment shader. It's basically a hack. The trick is rendering an image without putting it on the screen, storing arbitrary data into the pixels. This has limitations, but is actually good enough for many vector and matrix operations. I believe this method was even used with desktop opengl when gpus were first being used for general computing and didn't have more flexible apis yet like opencl/cuda

comment 9y ago · link · parent

If anyone wants the "old" bitcoin back, there are plenty of altcoins that are still worthless! If you want a less popular coin you can even fork btc or anything else, that's the beauty of software. Nothing has changed. Bitcoin is totally replaceable.

comment 9y ago · link · parent

Blockchain =! Internet

Proponents of bitcoin as well as skeptics love to compare bitcoin to the internet. A skeptic will say "bitcoin is in a bubble, it has to burst because the dot com bubble did". Then a supporter will rebut saying "early internet companies also bubbled, but afterwords the amount of growth far exceeded the initial bubble."

Frankly I don't think any of this is relevant. Blockchain is very impressive technology that solves the really tricky infrastructural problem of creating large secure systems. But unless your life involves building these systems, or you are unfortunate enough to live in a region without access to (or operating outside of for legal reasons) existing stable systems, blockchain will have have no noticeable impact on your life. Remember, the internet connected everyone in the world together. The blockchain makes large systems easier to secure. When comparing history to the present, pay attention to the differences, not just the similarities.

On that note I'm going to bring in some more historical context that may also be questionably relevant, but at least is less spoken of. Many people today are still adjusting to the culture shock caused by the internet and computer technology in general. As this area is finally starting to settle somewhat (how many huge companies came up in 2000s vs 2010s?), everyone seems to be hunting for the next big thing. Is it virtual reality? Artificial intelligence? Self driving cars? Blockchain? Some kind of biotech? Investors are dumping money into all kinds of new ideas, hoping for them to change the world. And that's a good thing. But the last 20 years made innovation an expectation, so don't expect another internet just because it feels due.

comment 9y ago · link · parent

Okay lets see what the article actually says... "The moon, peppered with the impacts of asteroids over the eons, should also possess dollops of platinum and other precious metals. Helium-3, embedded in the lunar crust by the solar wind, could be fuel for future fusion power plants."

Unconfirmed dollops of precious metals (no mention of how to extract this) and fuel for a type of reactor that does not exist. All this at the most inaccessible place humans have ever been! Sounds lucrative.

comment 9y ago · link · parent

I haven't looked at the article but I'm confident there is no profit to be made going to the moon.

comment 9y ago · link · parent

That is not 20 lines, that's 300+! Here is terrain rendered in 30 lines, with no textures either. https://www.shadertoy.com/view/lslBz7

comment 9y ago · link · parent

Near the bottom he does show the results of running it on 100-D Rastrigin (and mnist before that) with stats and plots. Or do you mean something more complex even than that?

comment 9y ago · link · parent

I was a victim of this, thanks for pointing it out. Now I know what to fix at least!

comment 9y ago · link · parent

The code for these is really short and elegant! Keep in mind when you want to make some graphics that aren't owned by the "king", the much more powerful (though some boilerplate is required) open source libraries like p5.js and three.js are capable of rendering these real-time in the browser!

comment 9y ago · link · parent

This seems like an unreasonable approach given the quality of their graphics. They might as well train an GAN to replace the entire rendering pipeline if they are using just simple images! Train it to generate images directly from pose information. They really should focus on improving their rendering beyond a 1993 level if they want a robust solution.

comment 9y ago · link · parent

Going to shamelessly plug my interactive viewer for n-dimensional geometry, demoed here with a tesseract. http://transdimensional.xyz/ Each column is a slider that previews rotation of each axis. Drag them. Made with threejs/webgl

comment 9y ago · link · parent

Yes! I want to see more shadertoy on HN

comment 9y ago · link · parent

This hardware is designed for running spiking neural network models? What is the current state of the art in this field? I was under the impression that training a spiking neural network was somewhat of an unsolved problem, because backprop doesn't easily apply. Anyone have information on this?

comment 9y ago · link · parent

Breezes right over back-propagation, arguably the most crucial part :/

comment 9y ago · link · parent

For the last 8 months or so I've been developing a project (using gpus) to detect faint moving objects- distant kuiper belt or planet 9 range. Recently we had an algorithmic breakthrough that may be a game changer in how fast we are able to search for this and other objects. Very exciting to read these updates.

comment 9y ago · link · parent

I have actually tested this nbody sim on the aws linux free tier :)

comment 9y ago · link · parent

For anyone interesting in toying with a Barnes-Hut gravity simulator that can handle lots of particles and produce pretty pictures, here's one I made last year for fun. https://github.com/PWhiddy/Nbody-Gravity Takes about a minute to set up and start generating images and video (mac/linux only, sorry)

comment 9y ago · link · parent

I was curious to see that first demo in action, so I quickly whipped up a shadertoy

https://www.shadertoy.com/view/Mtsyz2

410.

Canyonlands(aoe3.heavengames.com ↗)

1 points · by tehsauce · 9y ago · discuss

411.

A simple Haskell raytracer(github.com ↗)

2 points · by tehsauce · 9y ago · discuss

comment 9y ago · link · parent

https://github.com/DiracInstitute/kbmod

The project I was referring to :)

comment 9y ago · link · parent

I used pybind11 for my open source asteroid detection code. It's very slick, especially it's ability to seamlessly convert between stl and python lists- for example a vector of strings converts directly to a python list of strings. Also the interoperability with numpy. A class containing an stl of primitive types and the dimensions can easily be turned into a numpy array. Very neat

comment 9y ago · link · parent

This attitude does not support productivity or learning. Tutorials sometimes can be a simple series of steps to follow that avoid actually teaching concepts in depth but they are useful for two reasons: 1. Often, you only want to do something once, and don't care about learning all the details. In our modern lives, we do so many different complex tasks that saving our time and minds for the focus of our work is essential for efficiency. 2. A collection of weak tutorials, or even just one are better than nothing. Even if the tutorial doesn't directly explain advanced topics, reading between the lines on a few simple tutorials is vastly better than having no where to start.

These simple tutorials are huge wins for everyone's productivity, as millions of people learn to do the same task every day, you might be able to benefit from their notes more than you think

comment 9y ago · link · parent

"last month after running experiments in which particles within the LHC detectors collide about 1 billion times per second, with each collision generating a petabyte of data."

1 billion petabytes per second haha

comment 9y ago · link · parent

Look at david.li webgl demos

comment 9y ago · link · parent

His webgl pathtracer is very cool also! http://madebyevan.com/webgl-path-tracing/

comment 9y ago · link · parent

Don't get me wrong, this is super cool technology. But imagine putting a 1500kg Tesla 100kWh battery into a much more efficient Cessna type design that is lighter and has larger wings. It would need to dish up about 80kw to maintain cruising speed, which is only about 180km/h. Factoring in the tiny wings and incredible weight, this thing would be hard pressed to stay airborne for a hour at 100km/h. I just hope is capable of gliding to a landing if the Battery dies or fails. Then it could be safer than a helicopter.

419.

Fabrice Neyret's Collection of Desmos Graphs(evasion.imag.fr ↗)

2 points · by tehsauce · 9y ago · discuss

1
1112131415