« first day (1307 days earlier)      last day (4006 days later) » 
00:00 - 14:0014:00 - 00:00

14:00
They don't have a proper file manager and the default video player sucks
@HackToHell: got one?
I'd talk to @BenRichards about that
and a lot of android phones don't have file managers.
@JourneymanGeek Friend has one
@JourneymanGeek You can atleast install a proper one
true
but then again, most of my killer apps are android only ;p
14:01
@JourneymanGeek Here even if you install a file manager, you can't change any files
So fucking annoying
and videos only play if they are in the Videos directory ._.
It's useless getting a windows phone as your primary phone
Bob
Bob
@HackToHell the lack of raw FS access is annoying, but I guess it suits their target market (which was a stupid decision, bleh)
I haven't had issues with the video player :\
then again, I hardly use it
14:16
damn it, I used to be able to access the smb share of my mother's TimeCapsule remotely within Windows
@Bob It doesn't play mkv files :/
Bob
Bob
@HackToHell ...that's fairly common, actually
(not saying it's good, but it certainly applies to the default players in... just about everything)
@Bob and I couldn't find a free player in the market that could play mkv files
Hey @Bob, long time no talk.
Bob
Bob
@ErraticFox Hello
14:21
uh why are there two foxes in here
2
I have a short question about Arch...
what do the foxes say? (to each other)
Bob
Bob
I can't even be bothered typing the 7 characters.
!!foxno ?
14:22
@allquixotic they say walalalaalala.
Bob
Bob
Now we just need to get that ELU mod in here
@Bob which one? oh, the dom--*trails off*
Bob
Bob
huh?
My question though. When I reboot or boot Arch, I always have to type dchpcd to start my connection to the internet. How can I make this automatic? My Arch in on a vm.
!!bababababat
Just started for the very first time messing with Linux 4 days ago.
that's what you get for using Arch!
Arch is a DIY distro. if you don't know how to DIY, then don't use Arch
bleh, stupid Arch
too many updates
use a distro that comes preconfigured with a working NetworkManager that automatically starts
like Fedora
or ubububububuntu
14:26
!!no
I want completely control of everything though.
I tried #!, but it wasn't enough.
@ErraticFox you're in complete control as root on any distro
Bob
Bob
...You... "tried #!"?
What exactly does trying #! mean?
@Bob Crunchbang.
Bob
Bob
14:27
Ah.
@Bob I want to be in complete control of my car, so I tried popping the hood
but it wasn't enough
@allquixotic, I mean nothing installed, unless I've personally installed it myself.
Bob
Bob
Heh.
Funnily enough... that's kinda what I was doing the last day or two.
Though I kinda just didn't bother and ran with Lubuntu.
(where the goal was lightweight, rather than full DIY)
Ash
Ash
I have a char *shm and a char hi[10] . why hi[i] = *shm won't work ?
Bob
Bob
define "won't work"
wrong output? segfault? OS crash? computer catch fire? house explode?
Ash
Ash
14:34
segfault
@ErraticFox: you probably need a init systemd script for that I guess
Bob
Bob
compile with gcc -g and run it through gdb
that will at least tell you which line crashed
then you can stick a breakpoint above that line and examine values
you might want to check what i is
@Ash did you initialize shm to some value first?
just declaring char *shm; gives you a garbage (unpredictable) memory address (it's actually a number, but it's going to be interpreted as a memory address when you dereference the pointer) -- dereferencing it is almost always going to produce a segfault because that part of virtual address space hasn't been mapped into your program
Ash
Ash
@allquixotic , @bob :the error was not there.It was a silly mistake.I corrected it.:P
@allquixotic The last time you told me to learn gdb , I did it .Now I feel thankful for that
Bob
Bob
@allquixotic huh, completely forgot about that :P
this poor guy has been talking to himself the whole thread (at least he kinda worked it out): ubuntuforums.org/showthread.php?t=2206514
14:52
quack
@JourneymanGeek what is your sound?????????
woove?
dog goes woove, cat goes myow... YDIW
@allquixotic: depends on what language I am speaking, obviously
mini snauzers squeak youtube.com/watch?v=C1WBJxDTRQI
westies tend to growl-roar ;p
@JourneymanGeek pakan? ;p
ஊடு ? :P
14:55
(I am bilingual yanno)
ooodu? ;p
you mean oh-du? ;p
@JourneymanGeek google translate for "woof". it failed i take it
yes
cause we don't have a w sound in tamil
do you speak malay too?
ash's usual bark sounds like 'book'
no
tamil and english
so you are more the tamil part of singapore than the chinese part of singapore?
i knew a person from singapore who knew Chinese and English and was of Chinese descent
Bob
Bob
14:57
> Autostart of apps in lubuntu is not so straightforward as it is in Ubuntu or Xubuntu
fml
why can't something be easy for once
there's no real 'tamil' part and 'english' part
Ash
Ash
Starting program: /home/aswin/tmp/aswinkv/programs/6.2.14/a.out
Enter the key value
6789

Breakpoint 1, main () at clie.c:36
36 h=strlen(hi);
(gdb) p h
$1 = 134514395
(gdb) n
37 for(i=h;i==0;i--)
(gdb) n
42 printf("%d\n",h);
(gdb)
why wont my program execute the __for loops__.Im using gcc
original prog :
Bob
Bob
@Ash that for loop translates to this while loop:
i = h;
while (i == 0) {
    // do something
    i--;
}
unless h started as 0, you'll never enter the body of the loop
@Bob good observation
Ash
Ash
original prog:
(gdb) l
35 hi[i]='\0';
36 h=strlen(hi);
37 for(i=h;i==0;i--)
38 {
39 printf("%c",hi[i]);
40 }
41
42 printf("%d\n",h);
43 }
@Bob I dont get it
Bob
Bob
15:03
@Ash the loop will execute while i is equal to 0
Ash
Ash
ok
what does i start out as?
Bob
Bob
if I were to guess, you probably wanted to use i >= 0 instead... but then you'd be printing the string character by character and backwards, which is weird... what's the purpose of this block of code?
Ash
Ash
got it .
I meant i!=-1
as you said i can not be 0 , since it will miss first charcter
@Bob I am doing IPC hw ;
I wanted to reverse a string in a segment
but since I am not good with pointers I resorted to this silly method
Bob
Bob
@Ash better to use >=0 than !=-1
I would consider it more readable
also, when you're done and it works, I'd recommend posting over at Code Review - that could help you a lot
remember that they review working code; don't post broken code there (read the help page)
Ash
Ash
15:10
@Bob I will and thanks.
This is the full code : Can you tell how to reverse the string without using the array : I am the worst with pointers.
#include<stdio.h>
#include<stdlib.h>
#include<sys/ipc.h>
#include<sys/shm.h>
#include<string.h>

void main()
{
key_t key;
char *shm;
char hi[10],my[10];
int shm_id,i,n,j,h;
char ar[10],ch;
printf("Enter the key value\n");
scanf("%d",&key);
shm_id=shmget(key,100,IPC_CREAT|0666);
if(shm_id== -1)
{
perror("hey , error here ");
exit(1);
}
shm=shmat(shm_id,0,0);
if(shm ==(char *) -1)
{
perror("hey , error here ");
exit(1);
}
i=0;
while (*shm!='\0')
{
hi[i]=*shm;
i++;
shm++;
};
hi[i]='\0';
h=strlen(hi);
or I will post It at code review :p
Bob
Bob
@Ash not if it's not working code
if you need help on how to do something, or help on getting code to work, stackoverflow
codereview is only for reviewing working code
there's already SO answers on reversing a string
but I don't want to link them because (a) you need to learn to search and (b) I don't particularly like their use of XOR swaps (as others have mentioned in the comments)
so... storm front in Sydney
the thunder was surprisingly horror-movie-like
@Ash there's no reason to copy the shm buffer into hi first
@Bob wow, that looks almost like a derecho
Bob
Bob
well, it came with a nice mini-flash-flood
this poor guy's car was trapped in a foot of water (parked at the kerb)
15:31
@Bob were there high winds?
Bob
Bob
@allquixotic not really, no
but I left the building after the worst passed
@Psycogeek How do I quote your answer from mobile device?
Ash
Ash
16:14
@Bob not that I am going to ask it at code review ; but given that the code works fine , I can ask the best practices , isn't it ?
Bob
Bob
@Ash if you want general best practices, Programmers
if you want best practices with regards to a specific piece of code, Code Review
Ash
Ash
ok :)
Ash
Ash
16:28
@allquixotic why did you say so ?
anyone know how to purposefully cause a hard drive to fail, for demonstrative purposes? I'm trying to do a short course on recovering desktop systems
@Moses fail how?
like, explode? like, become totally unreadable? like, bash the on-board logic controller with a hammer? like, disassemble it and damage the read heads? there are so many things you could mean, I have no idea where to begin.
or were you referring to something closer to a software failure like random data corruption of the filesystem?
sorry, I mean because unbootable, but not just corruption of the filesystem. Something that a reinstall of OS would not fix
hopefully without having to bash it with a hammer XD
@Moses "something that a reinstall of the OS would not fix" - sounds like the only way to achieve that is to inflict permanent hardware damage on your HDD, in which case, there's no going back without having the disk professionally repaired, which would cost more than buying a new disk
any software-level breakage is going to be able to be fixed by, at worst, putting a new partition table on the disk and reinstalling the OS
any hardware-level breakage is just hardware breakage, you won't be able to do anything useful with the drive except stare at it and go "yep, busted"
are you trying to take a course on recovering desktop systems, or are you trying to write (author) a course on recovering desktop systems? "do" is not a descriptive enough verb for me to understand what you're trying to do.
well, I want the students to investigate the problem and eventually come to that conclusion. I was just hoping to not make it it obvious with a mangled drive as soon as they open the case :)
teach a course, with more hands on time than just lecture tim
time*
16:42
@Psycogeek I can't remember!
@allquixotic thanks for your help!
@Moses well... I'm sure putting a strong magnet to it would stop it from working correctly without making it obvious to the naked eye
oh yeah! why didn't I think of that? thanks
it would take some surgery inside the HDD itself (and then proper re-assembly to mask your handiwork) to make the HDD be recognized in the BIOS and yet still not work, though... that's the kind of brokenness that only old age and/or abuse can produce
mmmh
thatisall
16:48
@kalina eating peanut butter?
no
looked through the plethora of pings relating to why I'm called kalina on chat instead of Flyk
realised I didn't care
made appropriate "mmmmh I don't care" noise
now I guess I'm going to go afk for another 24 hours at least
I always visualize "Flyk" as like, a stylish yet violent ponytail whip which has the tendency to cause skin lacerations
16:50
like "flick" but stylized
well that is the correct pronunciation
Flyk is/was my name in WoW
17:06
Is there not a general NTFS recovery question on SU?
@CanadianLuke recovering a damaged FS depends of how damaged it's
I was hoping there was just a single thread to point to
I closed it as a Software Recommendation anyways
 
2 hours later…
Ell
Ell
Ahh I'm having a mare!
My linux mint won't recognise my blank cds or dvds
Which I need to use to write an image of windows to in order to reinstall an os on a new hard drive I bought because my laptop suffered a trauma >.<
19:33
Yay. Full conversion of a work project done in 35 minutes.
I wondered itf I handed a difficult task to a coworker who has spent all afternoon doing the same. And has done 1/10th of the conversion.
But if it can be done in 35 minutes (and tested!), then it is not hard.
20:29
@CanadianLuke Subway sandiches? What's tha?
@Boris_yo It's a deli place, where they make "healthy" sandwiches in front of you for minimum wage
@CanadianLuke The sandwiches can be healthy. Just don't get cheese or mayo! ;D
I prefer Pita Pit though. Not as much bread, and much nicer fillings.
20:49
The Pita Pit here gives barely any filling, it's 90% pita, 10% filling. Not worth the $8 they charge
@CanadianLuke Ahh, the one down the road from here is probably generous as I'm working in a rather upper class area at the moment.
Nice! We only have one, it's right in the middle of downtown
21:32
Pita Pit? O_O
never heard of...
pitapitusa.com --> "peeta pih-TOOH-sah"
ah, they seem to only have locations in major cities, like, downtown, not out a bit... :P ... would have to drive into the city a few miles to get there
@CanadianLuke Amazing.
I'm learning to really love reddit :)
@CanadianLuke I mainly use it for the communities based around games I play.
I'll start getting more into it, I'm sure
I think I may make one of these this week:
22:34
I'm not a fan of leaving meat out in room temperature for 5+ hours
I could probably do the crushing in our fridge.
 
1 hour later…
Bob
Bob
23:52
The following NEW packages will be installed:
  krb5-locales libbsd0 libedit2 libgssapi-krb5-2 libk5crypto3 libkeyutils1
  libkrb5-3 libkrb5support0 libwrap0 libx11-6 libx11-data libxau6 libxcb1
  libxdmcp6 libxext6 libxmuu1 ncurses-term openssh-client openssh-server tcpd
  xauth
That's a lot of packages for just openssh-server...
00:00 - 14:0014:00 - 00:00

« first day (1307 days earlier)      last day (4006 days later) »