Skip to content

u/WHEEEEEEEEEW

In this archive from Aug 2013 to Feb 2020

2
posts
1k
comments
1
media
2.2k
score

Makes sense, would be too expensive otherwise.

You might be able to get away with having the worker threads populate a safe queue and having a final thread to add from the queue, which would give you thread safety while being able to generate elements faster than normal.

1 points

This would break nested lists and code, since those depend on indentation, but you could just pass the document through sed (sed -e 's/^\s+//') before converting to clear the whitespace.

You can also maybe set hard tabs and use those when you just want visual spacing, space four times for syntactic spacing, and strip them using sed with \t instead.

1 points

I don't have a definitive answer for you, but you can try opening the executable in an archiver and see if you can extract assets from it that way. From what I've read online it seems like it may be possible to extract some raw data that way.

Also, for git, stage your files often, even if you do not commit. Staging a file (git add) prevents data loss, and you can unstage them before committing.

1 points

Did you happen to rewrite history? If you did, you might be able to get the files back from git if you haven't done a garbage collect in git.

Files typically aren't nuked until that happens, so you can check the reflog and potentially recover commits.

https://stackoverflow.com/questions/3973994/how-can-i-recover-from-an-erronous-git-push-f-origin-master

1 points

I'd give a nod to Miniconda too. It gives you conda without the default packages that Anaconda comes with. It's a great light-ish-weight option for managing virtual environments. It's a step above venv IMO, since it doesn't pollute the application directory.

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.