jpm48
Re:Python built-ins worth learning (2019)
on Thursday March 10, 2022 @06:00AM (#30625551)
Wow, didn't know this one (just added to my lecture notes!) thanks
Re:Ask HN: Anyone here have good material for learning how to sketch f...
on Friday February 25, 2022 @02:45PM (#30471440)
"Just getting started", I feel the same with the guitar. Been playing since I was 12, 40 years on with quite a few breaks still love it and having fun will never be a pro! I work with loads of great artists, I really can't draw (but am according to the deeds of my apprenticeship a qualified draftsman!) but still love to doodle and sketch. The awesome artists I teach and work with always amaze me, mostly the really good ones always have a sketch book with them and always doodle. This is the key, love it, practice it and enjoy :-)
Re:Criterion: A cross-platform C and C++ unit testing framework
on Monday February 21, 2022 @04:40PM (#30420983)
Most likely a combination of asciinema https://asciinema.org/ and https://github.com/cirocosta/asciinema-edit (You can do it by hand as well, but the tools are easier). Use the Quantize and speed options
Re:Fred's ImageMagick Scripts
on Friday February 18, 2022 @02:08AM (#30382934)
Have a look at OpenImageIO it may help. The otool
can do lots, and if not you may be able to use the API's (C++ or Python) https://openimageio.readthedocs.io/en/latest/
Re:Show HN: Rich-CLI – A CLI toolbox for highlighting, Markdown, JSON ...
on Monday January 31, 2022 @04:07PM (#30154362)
One thing that may be nice is a pager mode. If you feed into more or less with a pipe you loose the syntax highlight.
Re:Show HN: Rich-CLI – A CLI toolbox for highlighting, Markdown, JSON ...
on Monday January 31, 2022 @03:08PM (#30153531)
This is going to be useful for many things in my teaching. I've just got my students to install Rich / textual for my python coding course as I've featured it as one of my Modules of the week. https://nccastaff.bournemouth.ac.uk/jmacey/msc/PipeLineAndTD... So this will come in handy. Great work.
Re:Approved Cameras
on Sunday January 09, 2022 @07:11AM (#29862576)
I've watched several that i've thought have been written by AI / GPT.
Re:$2,500 Ethernet Switch Effectively Isolates Audiophiles from Cash
on Monday January 03, 2022 @12:48PM (#29783698)
wow, this is amazing, I wonder if std::make_unique<audio> would be better as it aligns the bytes as well ;-)
SeExpr is great and used a lot in animation / shader development in things like Renderman from Pixar, it was great to see it in Krita https://wdas.github.io/SeExpr/
Re:Scientists find preserved dinosaur embryo preparing to hatch like a...
on Wednesday December 22, 2021 @03:17AM (#29646746)
If you like SciFi this is a good take on that question. The Doors of Eden
by Adrian Tchaikovsky https://www.goodreads.com/en/book/show/48643567-the-doors-of...
Re:Decap of a tiny chip that plays Christmas songs
on Sunday December 19, 2021 @10:33AM (#29614684)
Years ago we took one of the happy birthday tune cards and connected it to the floppy drive hinge on a PC, the developer was convinced we had installed a TSR program to play it every time he inserted a floppy, not realising it was a hardware hack. Weeks of fun until he found out.
Re:Yamaha RA-100 Rotating Speaker Organ Amp
on Thursday December 16, 2021 @01:47AM (#29575704)
This is a massive part of the Pink Floyd (Dave Gilmour) sound, he use the RA-200's https://www.gilmourish.com/?page_id=83
Re:Can we trust Microsoft with open source?
on Saturday October 23, 2021 @01:02PM (#28970253)
The chaos I'm getting with vcpkg at present seems to say not! I love the idea of vcpkg and it used to make life so much easier as I gave my students a list of packages to install for their homework and all was fine. Recently packages seem to get updated and break, there is no "easy" way to specify versions of packages. And in general it takes months to fix simple bugs. There seems to be over 1K issues at present. I know it's a difficult project but still could be done better.
Re:What =delete means
on Monday October 18, 2021 @10:32AM (#28905792)
I put
private : myclass(const &myclass )=delete;
Just to be safe :-)
Re:Deeper Than Pixels: A Reading List on Video Games
on Saturday October 16, 2021 @11:28AM (#28888519)
I recommend this book to my students, Bob writes so well. His crafting interpreters book https://craftinginterpreters.com/ is also brilliant, I wish I could write so well.
Re:Design patterns let you apply existing solutions to your code
on Friday October 15, 2021 @03:27AM (#28875285)
I teach students who write code for VFX software, Simulations and Games so it is a "creative endeavour" :-)
Re:Design patterns let you apply existing solutions to your code
on Thursday October 14, 2021 @03:43AM (#28861541)
I always give my students these to read when I teach design patterns :-) https://realtimecollisiondetection.net/blog/?p=44 http://realtimecollisiondetection.net/blog/?p=81 "The “Design Patterns” book is one of the worst programming books ever. Yes, really. I’m 100% dead serious when I say that I think it has set (and will continue to set) the progress of software development back by decades."
Re:Apple proposes adding "model" element to HTML that displays 3D content
on Tuesday August 31, 2021 @08:23AM (#28367017)
It's a schema specification with various plugins. I guess it will mainly be about the geo specification for models (and perhaps ignore the shaders etc). Documentation is hard to come by, you basically have to look at the source / examples.
Re:Apple proposes adding "model" element to HTML that displays 3D content
on Tuesday August 31, 2021 @08:10AM (#28366876)
Interesting they show support for USD(Z) in the example. USD will be the standard for most VFX houses and make tooling for various web based systems so much easier.
Re:Why does the New menu even exist for creating new empty files?
on Wednesday July 21, 2021 @04:01AM (#27903598)
I use the terminal and the touch command all the time to create empty files before adding them to a project (for example touch include/MyClass.h src/MyClass.cpp )
Re:Why Python 4.0 might never arrive, according to its creator
on Thursday June 03, 2021 @11:16AM (#27382570)
I guess they mean python2 1/2 == 0 python3 1/2 == 0.5 (threw me the first time when I moved as I use this to demonstrate the differences in integer devision in C based languages).
Re:SIMD for C++ Developers [pdf]
on Wednesday April 28, 2021 @02:18AM (#26966267)
This is really nice, I teach intrinsics to my MSc students so will add this to their reading list. This is a recent set of notes I gave them showing how to go from simple CPU only to Threaded SIMD + OpenGL https://nccastaff.bournemouth.ac.uk/jmacey/post/GridVis/grid...
I think one of the main issues for Big studios is the whole pipeline is based around Maya / Houdini and it is easy to get artists who know these tools. It's hard to switch and takes time (see how many studios are still using Python 2.x as a switch to 3 will break so much). I know a lot of people are beginning to look at blender (mainly due to cost and the new licensing models from Autodesk). It is really expensive for studios to use now.
Re:Initial preview of GUI app support for the Windows Subsystem for Linux
on Wednesday April 21, 2021 @04:33PM (#26895085)
First initial test (after 3hrs to update everything!) I can't create an OpenGL Core 4.1 Context with SDL2 Oh well it's late now will investigate more in the morning.
Re:Initial preview of GUI app support for the Windows Subsystem for Linux
on Wednesday April 21, 2021 @03:03PM (#26894044)
Looking forward to testing my OpenGL lecture code on this, it works under Windows and Linux natively so working on WSL will be a major bonus for me :-)
Re:“They introduce kernel bugs on purpose”
on Wednesday April 21, 2021 @11:43AM (#26891146)
yep first thing I thought was how did this get through the research ethics panel (all research at my University has to get approval).
Re:GitHub, fuck your name change
on Wednesday March 17, 2021 @04:42AM (#26488054)
This explains my WTF moment when teaching a class full of students to push to the github classroom using push -u origin master and it being rejected and having to use main!
Re:Show HN: "100 Page Python Intro" eBook
on Tuesday February 09, 2021 @01:57PM (#26081227)
A lot of talk with issues of setup here. I have been using https://trinket.io/ with my lecture notes / students as a good way of getting started. Especially now we are teaching online and not using our dedicated labs with python already installed. It works well and you can use turtle.
Re:Pip has dropped support for Python 2
on Sunday January 24, 2021 @08:33AM (#25891886)
At present I have no choice but to use Python 2.x as Maya and Houdini (animation software) are still shipped with Python 2.x The industry has know for years about the EOL but it's going at a glacial pace due to issues with PySide / PyQt and Python 3. https://vfxpy.com/
Re:Ray Tracing in pure CMake
on Saturday January 09, 2021 @02:09PM (#25703473)
plus 1 for this, I have been using CMake with my students for a year (moving from qmake) and this in conjunction with vcpkg to install stuff has been a breeze. This book is great too https://crascit.com/professional-cmake/