Skip to content

u/behrangsa

In this archive from Sep 2013 to May 2019

29
posts
48
comments
9
media
206
score

Top posts

Top comments

Text editors use certain data structures that make operations like deleting or inserting a word in the middle of the document efficient.

So they don't store the whole text file in one massive array or string. If they did, every character insertion in the, say, middle of the file had to shift 325MB worth of characters.

Google data structures for text editors and you should find some interesting results.

6 points

I think all Linux DEs (KDE, Gnome, Unity) need a phase similar to that of OS X's Snow Leopard and focus only on polish and fixing old and annoying bugs rather than adding new features.

Feature-wise KDE is very good but when you use it for more than a week or so, you will slowly find out that it has lots of unpolished areas as well as annoying bugs. Some of them are very old, such as this one.

3 points

Subreddits

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.