Hacker News .hnnew | past | comments | ask | show | jobs | submit | akr's commentslogin

Thank you for the kind words! Your simulation looks fantastic. I am frequently amazed how compact fluid simulations can be in practice. Definitely something I am going to aspire to reproduce on my own.


(Author here) Thanks for the interesting links!

I agree that there is much that could be optimized. The choice to use vertex buffers was driven by the overarching goal of implementing the whole thing in GLSL. It really is just a small playground project to generate some nice visualizations. If we wanted to actually use the results beyond displaying them the tight coupling between simulation and rendering would certainly become a hindrance.

CUDA usage as you describe definitely seems to be the way to go for larger scale stuff. i.e. most GPU-based LBM codes that are actually used in research seem to be based on it.


Well it looks awesome, we all are just fooling around with this stuff :-)

If you did want to increase performance, you could try to use OpenGL for rendering but write your actual sim in CUDA C++.

The whole interop API is listed here: https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART_...

Essentially it wouldn't involve any host/memory transfer, all would be processed on GPU.

Then you could limit your rendering thread to 60fps while running the CUDA kernel non-stop.

I haven't actually tested this out though because I had 2 GPUs for the sims above, and the beefy one running the sim was on TCC instead of WDDM mode (no attached display allowable.) [1] So I had the universe state buffer transferred to host memory, and then to the 2nd GPU for rendering to attached display.

I am not sure of the speed gains TCC vs WDDM really provides, but Nvidia says it makes "some difference."

[1] https://docs.nvidia.com/gameworks/content/developertools/des...


> Every German will upvote this comment

Please stop generalizing people using their nationality.

I am a German and I certainly do not agree with your views.


Generalizing is what demographers do. Generalizing based on nationality is not wrong. You are an outlier.


And here on this computer are 4 Germans sitting who also do NOT agree with your opinion – stop saying this xenophobic bullshit.


I am generalizing for the people who don't have families because they see Germany being handed over to foreigners in the future. You do not agree with my opinion? That is fine.

But it is not xenophobic to say that people want to keep German families German. Did you know that China has less than a million immigrants in the entire country? Maybe it is time you respect your people, too. Your group of 4 sounds like some xenophile party.

With this article we have the sexual relations of Germans strewn about and we are expected to just sit back and let the whole world morph the demographics of a nation they aren't a part of. I don't agree with it.


For someone who is still using the N900 as his main phone this is a great development. Altough the Jolla phone promises an equally open stack it sadly lacks the harware keyboard.


That is simply not true in my experience. The N900 screen is neither blurry nor barely responsive to finger touch. But the hardware is / was not the most interesting point about the N900 anyway.


I had an N770 with a resistive screen. It was responsive to fingers, but the buttons had to be big, and there was a glare from the digitizer.


I don't have any experience with Nokia devices other than the N900 so I can not comment on the N770. But I remember reviews from the time the N900 was released were the touchscreen was not really praised but commented on as much better than other resistive screens. Also there are 4 years between the N770 and the N900. There is definitly no glare on my N900 screen - to the contrary, it is readable even under direct sunlight (without any backlight) because it is transreflective.


This. I really would like a small netbook type ARM device which runs a normal Linux distribution and doesn't cheap out on battery capacity. The Samsung ARM Chromebook comes near but it could have a better display, casing and keyboard (ideally with a trackpoint).


My ideal machine looks a lot like this as well. I'm surprised someone hasn't built something in between the Pixel and the Samsung, and partnered with Canonical.


Same here - but I hope that Jolla can produce a viable N900 replacement for the future. It seems to be the only Linux based Smartphone platform currently in development that offers and is based on a "normal" Linux environment.


Darn! How I hate those me-too posts :)

Another very happy N900 owner here, with a brand new N9 in reserve if that one croaks.

Even though there's hardly any new software available (which I knew when I bought it) it's probably the best phone I ever owned.

I didn't (yet) sign up for Sailfish, but I'm very interested what will come out of this project.


The government may publicly take a stance against the NSA programs but in reality it not only wishes to, but is actually implementing simmilar programs in Germany (see "Bestandsdatenauskunft"). I doubt that any real action will be taken.


Sounds like something that should be possible with http://unhosted.org/


I also use a small ARM server (SheevaPlug) since about two years and it can hold up easily to VPS hosting. It runs everything I would run on a "normal" server (Lighty, Dovecot-IMAP etc.), but needs nearly no power in comparison.


The SheevaPlug is cool, but it seems like the newest ones have gone a slightly different route and thrown everything you could possibly want at it - wifi, bluetooth, audio, etc?

That's all nice stuff, but just adds to the power and price for what should be a dirt cheap, almost disposable, piece of equipment.

Though I would definitely appreciate gigabit ethernet on the beaglebone...


You can disable most of the extra stuff... I think all the options make these devices much more flexible.

If you wanted a dirt-cheap, more modular component you'd be looking at Arduino or Raspberry Pi, not a plug.


The am3359 SoC on the BeagleBone supports (dual) gigE, but the PHY in use is 10/100 only.


I think so too - you normally don't need wifi etc. on such a device. The one I use is the original first one and I wouldn't use the newer ones. If I remember correctly they even need active cooling...


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

Search: