« first day (1701 days earlier)      last day (3263 days later) » 

7:05 PM
Good evening/day/morning everyone! I need a hint, just a small idea how I could watch a video from my Sony blu ray player with subtitles. The player doesn't support subtitles, but I've a srt-file. I can't find any video-support chat thou. Thanks!
 
Find a converter that embeds the subtitles into the video?
But don't ask me what to use therefore... @de-facto
 
Okay, I actually had the idea, but I thought it could take a while to 'recode' the video :) But I'll look for some! ;)
 
Oli
@de-facto Yeah hardcoding is the method of least resistance if the model won't accept any other file-based way, but transcoding is hella-slow and you lose quality. If you're facing a large library of content, just getting a player that does support the content (or using TV-out from your computer) is a better option.
 
Yep, that's the point. I don't know why Sony doesn't support SRT if they support subtitles in the video itself. I just saw there have been two posts in askubuntu itself about it: askubuntu.com/questions/119325/… and askubuntu.com/questions/97975/… - maybe I'll try the last one.
 
7:28 PM
Anyone knows a 15.04 source for gstreamer0.10-ffmpeg?
 
user136984
@Oli: Why can't I just turn a pair of characters into 1 every time I get to a pair in bases?
 
user136984
Does anyone know what I am talking about?
 
user136984
:D
 
user136984
I confused muru so much he went to sleep! :D
 
user136984
@jrg: How about you?
 
user136984
7:33 PM
Do you have any idea what I am talking about?
 
user136984
@ByteCommander: Or you?
 
user136984
Or am I just confusing everyone? :D
 
I don't know what you are talking about, but I can't find a suitable package for ubuntu 15.04. I think I go to bed or continue studying European history of laws :/ Thanks anyway!
 
user136984
@de-facto: I just am asking when I get to the top of the base if I can turn it into one character instead of two or more.
 
@ParanoidPanda no
@ParanoidPanda What the hell are you talking about?
 
user136984
7:44 PM
@ByteCommander: Bases.
 
user136984
For instance, base 10.
 
user136984
Why not make 10 one?
 
HUH?
Why?
10 != 1
 
user136984
No, I am not saying it is equal to the number one...
 
user136984
7:45 PM
I am saying why is it two characters?
 
user136984
Why not make it one?
 
user136984
It would save a lot of space.
 
Because we normally use the decimal system.
And that only knows 10 different digits from 0-9.
 
user136984
That does not explain why you still can't have it as one in a computer system.
 
So to display 10, we need a 1 and a 0.
 
Oli
7:46 PM
@ParanoidPanda It isn't two characters (16 bits ascii, 32 bits unicode), it's a 4 bit integer.
 
user136984
But why can't we just merge them into one?
 
You mean creating a new unicode symbol for 10?
 
user136984
For every number would be nice.
 
user136984
But a different way from the one you think.
 
torturing his monitor rapidly with his forehead
 
user136984
7:48 PM
Not just having a new one for each number.
 
user136984
But treating each number as one.
 
user136984
Sort of...
 
WHAT THE HELL DO YOU DREAM OF AT NIGHT?
Sorry.
 
Oli
@ParanoidPanda You are describing very common basic compression techniques. Tabling up long repeated values and accessing them by reference.
 
user136984
@ByteCommander PUPPIES!
 
7:49 PM
I don't understand what you want... As almost always.
You want to have a unicode symbol for every number?
 
user136984
@ByteCommander: Well... You did ask me what I dream of at night... :P
 
user136984
:D
 
No, not about that...
I don't understand your number problem.
Explain as if I was five.
 
user136984
A computer is a magic box which can either contain a weird flag, an apple, or a penguin (most commonly anyway).
 
Oli
In the context of images, that allows you to have a 8-bit palette but access billions of possible colours (just no more than 256 at a time).
 
user136984
7:52 PM
@ByteCommander: Oh, you didn't want me to start there, you wanted me to start with my number problem as if you were 5, oh! :D
 
Grrrrr.....'%"*§&'"§&"
 
user136984
Well, you said that you wanted me to explain to you as if you were five, that is how I would start! :D
 
user136984
You should have said 10 instead.
 
user136984
Because if I really were talking to a 5 year old they would not understand computers.
 
user136984
But a 10 year old would be more likely to.
 
user136984
7:54 PM
@ByteCommander: Sorry, just got a little confused there! :D
 
user136984
No offence intended!
 
If you continue treating me like that, I put you on my Ignore-List.
And you will be the first one there. All alone.
 
kos
@ParanoidPanda That method by the way might be efficient for a good number of 3 or more repetitions, which you can narrow down to 2 characters, e.g. 000 = 03, also doing this exactly this way you can group together a maximum of 9 repetitions, and you double non-repeated characters.
As always, compression is not efficient on unpredictable binary files.
 
user136984
@ByteCommander: What, you asked me to explain to you the whole thing from scratch as if you were 5! How was I to know where and how you wanted me to start if I were to pretend that?
 
@kos That is the Huffman compression algorithm, isn't it?
@ParanoidPanda Are you talking about Huffman?
 
user136984
7:57 PM
Who's in a Huff?
 
user136984
Is that like Superman?
 
user136984
But this man is huffing and puffing around?
 
GRROOAAHR!!!
I'm becoming a werewolf!
 
user136984
In other words, I don't know who Huffman is...
 
kos
@ByteCommander Yes. There was a great answer on this on Stack Overflow, which explained with numbers that for this reason binary files tend to also grow sometimes. Let me see if I can find it
 
7:59 PM
In computer science and information theory, a Huffman code is a particular type of optimal prefix code that is commonly used for lossless data compression. The process of finding and/or using such a code proceeds by means of Huffman coding, an algorithm developed by David A. Huffman while he was a Ph.D. student at MIT, and published in the 1952 paper "A Method for the Construction of Minimum-Redundancy Codes". The output from Huffman's algorithm can be viewed as a variable-length code table for encoding a source symbol (such as a character in a file). The algorithm derives this table from t...
 
kos
@ParanoidPanda Also I forgot that also repeated-once characters will grow in size
 
@ParanoidPanda Read!
 
user136984
I have...
 
user136984
Or more...
 
user136984
:D
 
user136984
8:00 PM
I am.
 
And don't come back until you reached the very last line and can recite all of them by heart.
 
kos
@ByteCommander Anyway no, it's not Huffman
21
A: What is the best file compression of random binary data that you can achieve?

supercatIf file sizes could be specified accurate to the bit, for any file size N, there would be precisely 2^(N+1)-1 possible files of N bits or smaller. In order for a file of size X to be mapped to some smaller size Y, some file of size Y or smaller must be mapped to a file of size X or larger. The ...

 
user136984
Why can't the little men who live in the box who have 1s and 0s on their hats have a big infinite group hug?
 
user136984
Now I'm really being very metaphorical about it!
 
user136984
Is anyone any more clear now?
 
user136984
8:03 PM
Ooh! I do like the way this is going! Now I can talk about anything in computing in terms of a little house and little men in a little group hug!
 
user136984
Wait...
 
user136984
I think this is going a little bit weird...
 
user136984
Hmm... Maybe I should stop now... :D
 
I'm going to send you a werewolf picture any time you annoy me with dumb questions, thoughts of a five year old or things nobody can understand.
I am already warming up google images...
 
kos
@ParanoidPanda Because binary files are not very likely to shrink much, and they can also grow in size using that technique. Indeed you can, but you don't usually gain much and sometimes you also lose something. Quoting the answer i posted: 4 times out of 9 a sequence shrinks, 3 times out of 9 the sequence stays the same, 2 times out of 9 the sequence grows
 
user136984
8:07 PM
And I will send you the picture of a panda then! >:)
 
8:21 PM
Just be quiet unless you can tell me how to set up tor.
 
user136984
Set it up in what way?
 
user136984
Don't you just go through the installer?
 
$ tor
May 27 22:21:11.333 [notice] Tor v0.2.5.12 (git-3731dd5c3071dcba) running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.1f and Zlib 1.2.8.
May 27 22:21:11.334 [notice] Tor can't help you if you use it wrong! Learn how to be safe at torproject.org/download/download#warning
May 27 22:21:11.334 [notice] Read configuration file "/etc/tor/torrc".
May 27 22:21:11.342 [notice] Opening Socks listener on 127.0.0.1:9050
May 27 22:21:11.342 [warn] Could not bind to 127.0.0.1:9050: Address already in use. Is Tor already running?
 
@ByteCommander Is this the tor client or server?
server/node/whatever they call it
This room was placed in timeout for 1 minute; the topic of this room is "General discussion around Ask Ubuntu, Ubuntu & official Ubuntu derivatives. For other Linux distros please see: chat.stackexchange.com/rooms/26/unix-and-linux"; - conversation should be limited to that topic.
okay, that's enough.
74 messages moved to Trashcan
 
Thank you.
 
8:27 PM
Now, if you could answer my questions :)
 
Is that a feature for mods only or for room owners?
 
Oli
@ByteCommander Yes
 
Which yes?
 
Oli
@ByteCommander Yeah
 
Come on! :)
 
Oli
8:28 PM
Okay
 
@ByteCommander Take a peek around the options here ;)
 
Thanks, so room owner.
 
But yeah, RO have the timeout and move messages ability.
 
About tor:
I guess it's the client, as I just want to use the network...
I am new to this.
I just followed a Q and installed the package tor.
Then I tried to execute tor, and got the error above.
 
I'm not terribly familiar with tor, but if you're just using it as a browser I'm not sure why it wants to bind to 127.0.0.1:9050.
Do you have any web servers or whatever installed?
 
8:30 PM
Not that I knew of one.
It should set up localhost as proxy.
So I can set e.g. firefox to use localhost:9050 as SOCKS proxy.
That's what it said in the answer.
 
@Seth We actually have a "trash" room?
I used to always move stuff to the Sandbox.
Having an actual trash room is a much better idea.
I hereby propose that we change the name of the room to /dev/null.
 
@NathanOsman yeah
 
Then we can do:
 
it's really a network room though.
 
→ 74 messages moved to /dev/null
...and I will smile a little bit inside each time.
 
8:32 PM
@ByteCommander Ah, that makes more sense.
 
So should I just try to edit /etc/tor/torrc and set a different port number?
 
@NathanOsman That might make finding it hard..
 
Yeah, good point.
 
How can I check which ones are free and which ones are occupied? (and by what?)
 
@ByteCommander that likely won't change anything, unless you do indeed have something already using that port.
@ByteCommander nmap.
 
8:33 PM
At least us, Unix.SE and possible Super User would get the joke though.
 
user136984
What do you guys think of my new profile picture by the way way? >:)
 
user136984
 
Looks like I was kidnapped by the lizard people. But we won't go there.
 
Looks like if it was going to eat me.
 
user136984
Another one of my masterpieces! :D
 
8:34 PM
It's... a picture...
...I think...
 
user136984
@NathanOsman: What?
 
Search me.
 
user136984
Well, what do you expect it to be?
 
user136984
A panda?
 
user136984
I made it!
 
user136984
8:35 PM
:D
 
@ByteCommander What is the output of ps aux | grep tor?
 
user136984
The image is called "Old One".
 
user136984
Anyone here who actually likes it? :D
 
user136984
How does it compare to my old image?
 
and sudo netstat -anlp | grep :9050 will tell us if anything is listening on the port already @ByteCommander
I really should learn how to use netstat.
 
user136984
8:37 PM
@NathanOsman: What do you think of it?
 
@ParanoidPanda I liked the old one better, but that's just me.
 
@ParanoidPanda It's a pattern?
 
@Seth Much. Everything from indicator to factory and monitor...
 
user136984
It's a face.
 
user136984
 
user136984
8:37 PM
It's got eyes!
 
user136984
A mouth!
 
user136984
And even a nose! :D
 
Where?
 
$ sudo netstat -anlp | grep :9050
tcp        0      0 127.0.0.1:9050          0.0.0.0:*               LISTEN      9282/tor
 
@ByteCommander try ps aux | grep ^tor
@ByteCommander aha. Looks like tor is already running. Try killall tor and try again.
 
8:38 PM
empty output.
 
user136984
@NathanOsman: There are two red glowing eyes at the top.
 
Uh. Okay.
 
user136984
There is a big open area which looks like a mouth.
 
@ByteCommander ps aux | grep tor$ then, perhaps.
or maybe just "tor" would work (with quotes)
 
user136984
And there is a sort of nose.
 
user136984
8:39 PM
Can you see what I mean @NathanOsman?
 
Tor is starting now, it seems.
 
please don't take up huge globs of chat space will repeated images @ParanoidPanda
 
@ParanoidPanda Yes, yes, yes.
 
@ByteCommander did you kill it like I said or did it just magically start when you tried again?
 
kill and restart.
 
user136984
8:40 PM
@NathanOsman: So what do you think of it?
 
cool.
 
But I get a big log of notices...
 
@ParanoidPanda What do you want me to think of it?
 
So basically tor was already running, hence starting it again wouldn't work.
 
Reading if anything important is in there...
 
user136984
8:41 PM
@NathanOsman: Well, does it make you feel anything?
 
user136984
Most people don't really like it.
 
How do I check if IPv6 is currently enabled?
 
user136984
Like some described it as a lizard.
 
It looks like a fractal to me.
 
May 27 22:39:22.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no usable consensus.
 
user136984
8:42 PM
@NathanOsman: Do you not instinctively feel a face in it?
 
Means what? ^
May 27 22:39:22.000 [notice] I learned some more directory information, but not enough to build a circuit: We need more microdescriptors: we have 0/6749, and can only build 0% of likely paths. (We have 0% of guards bw, 0% of midpoint bw, and 0% of exit bw.)
Ah, solved itself later:
May 27 22:39:28.000 [notice] We now have enough directory information to build circuits.
 
user136984
@NathanOsman: I assume not.
 
Is tor supposed to occupy the terminal window it is running in?
 
user136984
@NathanOsman: Then you see it for what it truly it, and not what the human eye (or brain) interprets it to be.
 
@Seth - it's ps aux | grep -w 'tor'
 
8:44 PM
@hbdgaf ah, nice! Didn't know about grep's -w flag.
I'll remember that.
@ByteCommander running any process on a terminal occupies it.
 
user136984
@NathanOsman: Do you at least think that it is fat?
 
It's a Gravatar - it's therefore square. Neither dimension is larger than the other.
 
user136984
Oh come on!
 
user136984
:D
 
@ByteCommander If it does just use nohup
 
8:48 PM
I always find it funny when I see this little text saying "upgrade to remove ads" after Ghostery has already blocked them.
 
user136984
@NathanOsman: Is it not fat like Big Momma?
 
@Seth You use Ghostery? Do you think it is better than NoScript or Disconnect?
 
For sites whose primary income stream is ads, I think leaving them enabled is a move to say "Here's my impression" just to let them keep generating revenue. It's like supporting a site.
 
user136984
@NathanOsman: What do you think about this?
 
user136984
10 hours ago, by Journeyman Geek
sheepshagging shaggy sheep?
 
8:51 PM
Stop asking questions!
 
user136984
@NathanOsman: Why?
 
@ByteCommander Never used either of the latter, Ghostery was always enough for me.
 
It's wasting my time.
 
@hbdgaf It is... But I am annoyed about AdBlockPlus anyway that stopped removing the ads on leo.org unless I run a manual filter update every day.
 
user136984
@NathanOsman: It depends on what you consider time wasting.
 
8:51 PM
@hbdgaf I turn it off on sites I respect and use a lot.
 
I never used Ghostery... :)
 
@ParanoidPanda What you're doing. Right. Now.
 
Maybe I should try it.
 
It's not really a dedicated ad blocker, but it works as one.
 
user136984
@NathanOsman: Now you are confusing me...
 
8:52 PM
@NathanOsman This is what I tried to tell him within the 70 messages that are now located in the trashcan.
 
user136984
@Seth: What is Ghostery?
 
Or, as you would say: gone to /dev/null
 
user136984
I think I used to use it...
 
user136984
But I can't remember what it is! :D
 
@ParanoidPanda We don't care that much what you use as your gravatar and constant pings are annoying and useless. If Nathan asks you to stop then stop.
@ParanoidPanda ghostery.com/en
 
user136984
8:55 PM
@Seth: We went off that subject a long time ago...
 
user136984
Anyway...
 
user136984
I need to have a good long sleep on my maths problems!
 
test
I have no upstream with activated tor and set firefox to use localhost:9050 as SOCKS5 proxy...
Why?
 
0
Q: RDP enters command prompt automatically

whatthehec99Why is this? I did remote desktop connection from mac to ubuntu server. I get a command prompt automatically for some reason.

 
9:10 PM
Can't I use !! in a bash alias?
Do I need to escape it or put it in braces maybe?
I want it to expand to the last issued command.
So I want to have alias getit='sudo apt-get install !!' Is that possible?
 
9:29 PM
Anyways, good night for today.
 
@ByteCommander Have you tried it?
 
Oli
9:47 PM
@ByteCommander Have you seen github.com/nvbn/thefuck ?
 
 
1 hour later…
jrg
10:50 PM
@Oli nvbn also made everpad, which is awesome.
the guy does some great stuff, it looks like.
 

« first day (1701 days earlier)      last day (3263 days later) »