Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jpm48
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
jpm48
6y ago
This is how I learnt loads of great magazines in the 80's in the UK with code in, you spent hours typing it in. It didn't work and you fixed it (that's how I learnt to debug!). The next week the corrections were usually publi
32.
▲
by
jpm48
6y ago
One of my biggest bugbears on C / C++ programming is return 0; I wish people would #include <stdlib.h> /<cstdlib> and use EXIT_SUCCESS / EXIT_FAILURE just to make the code more obvious for the beginner on what the
33.
▲
by
jpm48
6y ago
python is the front end, a language that most Technical Artists use and know well. If you look at the core libraries behind this you will see some really good modern C++, including other libraries such as OpenImageIO, OpenColourIO OpenSubDi
34.
▲
by
jpm48
6y ago
I must say the new build scripts on GitHub work really well now. Our Lab build is built via these scripts. It's also on vcpkg as well if you use that.
35.
▲
by
jpm48
6y ago
I use https://asciinema.org/ for terminal capture. Works really well and can embed into slides. Here is an example from one of my lab sessions https://nccastaff.bournemouth.ac.uk/jmacey/msc/ase
36.
▲
by
jpm48
6y ago
I use this for all my lectures. Thanks for all the great work makes my life so much easier. Click on the links to see the slides! https://nccastaff.bournemouth.ac.uk/jmacey/Lectures/
37.
▲
by
jpm48
6y ago
Vertex array objects are not which can be a bit of a pain.
38.
▲
by
jpm48
6y ago
OpenGL is single threaded with a single state machine (ok there are some atomic supports via extensions). Vulkan allows you to manage the stream so you can multi-thread. This allows you to update more that 1 state at a time, for example in
39.
▲
by
jpm48
6y ago
I use matlab under linux it works fine for my usage is there anything specific that doesn't work that means you need windows?
40.
▲
by
jpm48
6y ago
You can do most things AE will do with a combination of Natron and Blender.
41.
▲
by
jpm48
6y ago
Wow OpenGL 1.1 in 2018! then to Three.js which doesn't use any of the 1.1 API. Weird.
42.
▲
by
jpm48
6y ago
Specifically for fluid (and similar) you could have a play with mantaflow http://mantaflow.com/ it's relatively easy to build (you will need Qt and Python). Houdini (free apprentice version will work for fun) is great
43.
▲
by
jpm48
6y ago
Have a look at Gaffer, it's a great FOSS alternative node based vfx system. https://www.gafferhq.org/ can be a pain to build but really cool.
44.
▲
by
jpm48
6y ago
you could try something like https://mathpix.com/ and then look up what the LaTeX symbol is.
45.
▲
by
jpm48
6y ago
Just done some more reading around and it seems most people are using docker in WSL to get things work! This seems overkill to me. I usually just write CUDA code in linux and use it. Am I missing something?
46.
▲
by
jpm48
6y ago
This is quite light on detail, have just installed, was thinking that nvcc would be installed to WSL2 as part of the process. It wasn't so did it via apt which worked fine. Built a sample (with some hacking of the SM versions which sho
47.
▲
by
jpm48
6y ago
Another good trick for seeing what headers (and the pre-processor) does in general is using the -E flag (for gcc / clang) it will show the file with the headers included so you can see what happens. This is really useful when using mac
48.
▲
by
jpm48
6y ago
To quote K & R "In C, there is a strong relationship between pointers and arrays, strong enough that pointers and arrays should be discussed simultaneously" ... however they also say "Pointers have been lumped with the go
49.
▲
by
jpm48
6y ago
I've used this https://gource.io/ for a good overview of group work then the build in analytics. Most of what I do is to download and run the code on my local machine, but I also ask for unit tests which help with the
50.
▲
by
jpm48
6y ago
No grades are on there and all the repos are private by default, yes MS get the info of the code (I've been using it since before the take over of GitHub). I think the students having public GitHub repos are good for CV / Job pros
51.
▲
by
jpm48
6y ago
I've been using it for all my programming units for a number of years. Whilst I don't use all of the features the main bonus for me is making the students commit code regularly and see the progress (or not!). It also has a number
52.
▲
by
jpm48
6y ago
I found windows to be getting too slow and sluggish, switching to Linux has made it much better, also battery seems a little better too.
53.
▲
by
jpm48
6y ago
I've installed Pop!_Os on my Surface Go as the primary OS (deleted Windows) and it works really well. A few issues with the touch screen but I just disable that anyway. Using it for coding in C++ and Python and it works well.