Heuristic42
Blog
Opengl
Meta
Rendering
3
created
Jul 4 at 6:54
Why std::move and move semantics?
A few years ago, I was fortunate enough to have Jon Kalb explai…
–
pknowles
edited
Jul 4 at 5:15
3D Rendering (Computer Graphics)
Rendering in 3D computer graphics is computing a 2D image from …
–
pknowles
edited
Jul 4 at 4:16
Heuristic42, A Graphics Programming Website
#[Blog](/blog/) An unstructured assortment of personal graph…
–
pknowles
edited
Jun 24 at 15:10
RAII++ - the powerful implication of always initializing
If you search, most definitions of RAII refer to using "**scope…
–
pknowles
created
Jun 24 at 15:01
RAII++ - the powerful implication of always initializing
If you search, most definitions of RAII refer to using "**scope…
–
pknowles
comment
Jun 15 at 11:42
Matrices
[deleted]
–
anonymous
comment
Jun 1 at 11:01
Matrices
[deleted]
–
anonymous
comment
May 18 at 22:30
Matrices
[deleted]
–
anonymous
created
Apr 10 at 12:38
test2
;</script>
–
Nia
comment
Feb 8 at 6:26
Matrices
[deleted]
–
anonymous
edited
Feb 3 at 7:54
Embedding GDB pretty printers, just like natvis
Pretty printers are awesome, but the setup can be a real pain. …
–
pknowles
created
Feb 1 at 12:27
Embedding GDB pretty printers, just like natvis
Pretty printers are awesome, but the setup can be a real pain. …
–
pknowles
comment
Jan 26 at 8:20
Matrices
[deleted]
–
anonymous
comment
Jan 15 at 7:46
Matrices
[deleted]
–
anonymous
comment
Jan 14 at 8:05
Making a real EMF Reader
All good/my bad. A half implemented feature that I really shoul…
–
pknowles
comment
Jan 14 at 8:03
Making a real EMF Reader
I don't have a circuit diagram sorry. The LEDs are all on separ…
–
pknowles
comment
Jan 10 at 0:07
Making a real EMF Reader
а есть подробные схемы что к чему подключать и куда припаивать…
–
anonymous
comment
Jan 5 at 18:00
Matrices
[deleted]
–
anonymous
comment
Dec 15 '24
Matrices
[deleted]
–
anonymous
comment
Nov 27 '24
DerBard: Custom Split Mechanical Keyboard Prototype
hello
–
anonymous
comment
Nov 20 '24
Matrices
[deleted]
–
anonymous
created
Oct 21 '24
Iterators: pointers vs cursors
You're already doing both of these by hand. This post emphaisze…
–
pknowles
comment
Oct 11 '24
Matrices
[deleted]
–
anonymous
…
View All
Log in
PIP and the user directory
leave this field blank to prove your humanity
Article title
*
Article revisions must have a non-empty title
Article body
*
This is a quick note about python + pip best practices: ***never use sudo pip!*** It creates files only readable by root and breaks your python install. Instead, always run pip install with --user: # E.g. pip install --user <package> # Or /path/to/specific/python -m pip install --user <package> After installing packages, python should already be searching the user director as part of [`sys.path`](https://bic-berkeley.github.io/psych-214-fall-2016/sys_path.html). Related error from not doing this: [stackoverflow.com: ImportError: No module named virtualenv](https://stackoverflow.com/a/40352303/1888983) What's the difference? [stackoverflow.com: sudo pip install VS pip install --user](https://stackoverflow.com/questions/29310688/sudo-pip-install-vs-pip-install-user) Also, versioned dependencies is a nightmare and not installing random packages system wide is a good thing. Using virtualenv and alternatives is also good: [stackoverflow.com: What is a virtualenv, and why should I use one?](https://stackoverflow.com/questions/41972261/what-is-a-virtualenv-and-why-should-i-use-one) python -m venv env . env/bin/activate which python # prints /here/env/bin/python which pip # prints /here/env/bin/pip pip install <package>
Toggle Preview
Edit message
*
A description of the changes made
Discard Draft
Save Draft
leave this field blank to prove your humanity
Flag
the thing you clicked
for moderator attention.
Reason choice:
Spam, promoting, advertising without disclosure
Rude, inappropriate, generally offensive
Too arrogant or demeaning to others
Other
Reason:
The reason for raising the flag
Error