sastrone

u/sastrone


r/SublimeText•

I tried sublime-text 2 while I was at Google over the summer and they were handing out keys, but I was disappointed by the vim emulation and found myself constantly running into basic normal-mode actions that weren't supported.

Have there been any improvements in this area? If ST-3 has better plugin support, then will there be any hope?

15

r/learnpython•

So I'm used to checking for substrings with

>>>"test" in "testing"
True

So why doesn't this work?

>>>[1, 2, 3] in [1, 2, 3, 4, 5]
False

The first case is testing for a series inside another series, so I understand why

>>>[1, 2, 3] in [[1, 2, 3], 4, 5]
True

is true, but I can't get over the fact that strings and arrays use "in" differently. Is there something for arrays that behaves more like "contains" in set theory?

514

r/linux•

After spending years using linux on my desktop and laptop (using debian), I am now primarily using computers at my school's computer lab running Fedora 15.

The distro change isn't that bad, but what is killing me is that the customization that I've come to love has been ripped out of my hands. Things that were once easy (installing software, customizing the UI) are now incredibly difficult.

The main problem is that I can't install anything to the computer because I am root. I have no problem installing programs to $HOME, but it seems like the package manager doesn't allow for this to be done.

Are there any tools out there, or any words of advice for people like me?

7872

r/dcpu16•

I'm writing an assembler and emulator, but can't for the life of me find anything concrete about the spec.

Here are the ones that I've found so far.

All of these have major changes in them. Currently I've been working on implementing the one on the sidebar, but I'd like to stay as updated as possible? Is there an "official" one to fol

511

r/BuyItForLife•

I almost always have a deck of cards in my pocket, and the one I have currently is getting worn out. Because I spend so much time with it, I figure I should get a high quality deck.

10

r/leagueoflegends•

I went through a month where I played nothing but LeBlanc. Mostly because I was good at her and my friends wanted to win games. No problem there. But when I wanted to try new mid champs, my hidden normals elo had risen so high that I have lost every single game I've played.

I don't mind losing games as long as I learn, but I don't want to ruin my team mates games as well. Especially when people start leaving or suiciding into fountain.

16


r/crypto•

I was reading about the numerical constant Pi on Wikipedia, and saw that there aren't any discernible patterns in the sequence of numbers. This got me thinking, if you chose a starting place, and then rotated your characters sequentially from the subsequent digits in Pi, you could rotate every character by a (seemingly) random number.

This could obviously be expanded on by using two digits instead of one (to shift them more than 9 spaces max) or use a third digit to decide to rotate up or down.

Anyway, I just came up with this today, but I can't think of any holes in it so far. Could someone shed some light on why this won't work?

1046