« first day (962 days earlier)      last day (3985 days later) » 

8:00 PM
This is all old news I know, but I just stumbled across the source of this, and the catalyst to it all is bullshit. "hurr someone was mean to me when I was stupid"
 
user1596138
@Bracketworks Ban that stupid kid!
 
@Bracketworks "hurr someone was mean to me when I was stupid" can I use that if I give you credit?
 
user1596138
Wait, they actually banned them?
 
@Pheagey Nah bro, prohibitive use license.
(really though, IDGAF)
I've once posted LMGTFY as a comment, because having performed the google search, the candidate answer was the first result.
 
@Bracketworks cool
 
8:04 PM
People who ask questions where the first result of a Google search is the answer shouldn't be entitled to swing their arms around protesting the "rude" behavior.
I don't get pissed by much, but it's this sniveling, whiny, cry-baby, run to Meta with a soapbox bullshit that I can't stand.
 
user1596138
!!/unsummon 11
 
@Jhawinsss Registered; need 0 more to execute
 
!!/boomerang 12
 
@Bracketworks Command boomerang does not exist.
 
I didn't know there was a bot; neato
 
user1596138
8:07 PM
@Bracketworks There isn't.
 
Yeah, doing it from Ubuntu worked, thanks D:
 
@MadaraUchiha damn'd windows...
 
@Bracketworks ohhh god, you don't know how much I agree with you here.
right click question text in chat -> search on google -> first link? OMG RAGE!
 
user1596138
@Bracketworks Exactly. Perfect.
 
@rlemon I know... I've got a friend in movie props; I'm going to get him to mould me a realistic head, just so I can smack it in lieu of the OP.
 
8:11 PM
@Bracketworks I also disagreed with that one when it first came out.
"Scare away newcomers" - Newcomers who can only ask Google questions here are not that welcome anyway.
3
 
@MadaraUchiha It seems the majority of answers to that specific question did too.
@MadaraUchiha Btw, thanks for reminding me; my Linux live USB is almost done :)
 
user1596138
@Bracketworks With USB2.0 that doesn't actually work out the greatest.
 
user1596138
Definitely not fast enough to actually appreciate the nix.
 
@Jhawinsss Nah, I know; running from memory in VM though is not bad.
 
user1596138
@Bracketworks Oh god.
 
user1596138
8:15 PM
@Bracketworks You have fun with that. It's horrid. Just install it for real or you'll never have a fast system going.
 
@Jhawinsss Nah, it's fine.
I'm just doing it for on-the-road sync. I have a windows host, debian guest at home, VM'd, split resources (cores/ram, etc)
 
user1596138
@Bracketworks Lol if you say so, it's your choice. I'll never run a VM for anything but testing before I install the OS. It's not worth the extreme performance drain.
 
@MadaraUchiha nice, glad you find a way to retrieve it ;)
 
:9809230 Thanks anyway
 
user1596138
I don't even have Windows or OSX installed on my main machine... Straight nix.
 
8:17 PM
@Jhawinsss I'm a gamer :) Bit of a problem :D
 
@Jhawinsss Well, I do alot of MS dev (unfortunately)
 
can u tell me how to wire sql query in cake php i have to write query for cake php app my sql query is SELECT categories.id, categories`.'name FROM categories AS Category WHERE Category.parent_id = 0 ORDER BY Category.name ASC
 
user1596138
@MadaraUchiha Then dual booting is what I'd do in your situation haha.
 
@Jhawinsss Which is exactly what I do :)
 
Nuts to dual booting
PITA
 
user1596138
8:18 PM
@Bracketworks Run nix with a Windows VM... It's actually a lot faster that way.
 
Only booting windows every time (as opposed to hibernation or even sleep mode) can really push your buttons.
 
i used to use a lot of virtual machine, now my main tool is notepad++
 
Hahaha @Happyninja
 
@Happyninja I'm trying to setup Sublime Text 2 in Ubuntu to no avail :(
 
user1596138
@Happyninja So, you're saying you replaced your VMs with Notepad++... Which makes sense... Not really.
 
8:19 PM
Didn't really like notepad++
 
@Jhawinsss i'm saying i used to be an it guy but now i almost only do programming
 
user1596138
@MadaraUchiha What are you having trouble with?
 
@MadaraUchiha Sublime Text 2 or 3. Hands down. Best, -simple- editor around imho.
 
user1596138
@Happyninja Ah. I'm both right now. I have 2 versions of OSX on this iMac and 13.04.
 
it's a different point of view, now i see things differently
 
8:22 PM
@Jhawinsss So I've installed it
Made sure I own all the folders related to it (including the plugins and whatnot) using chwon
 
in C#, 3 mins ago, by Pheonixblade9
user image
 
welll ... there is LigthTable, but that's not for PHP
 
(Note that I use GUI)
But still, when I run it, I get the same files opened in tabs (the files don't exist anymore, but I'm guessing the file that's responsible for keeping track can't be overwritten), I can't install plugins or do anything.
Unless, of course, I go to terminal and go all sudo sublime-text-2, which is fine, but rather annoying to have to type my damn password every time I want to edit a damn file!
Same goes with PhpStorm, even though I made sure to chown -R all relevant folders
 
First time in the chatbox
See's crazy picture
Leaves
 
Any idea what might go wrong? :P
 
8:28 PM
Hi Guys.
 
o7
 
what exactly is the problem @MadaraUchiha ? which files are you unable to edit ?
 
I am working with PHP and SVG, but I am not able o read anything in the object, I wonder why :/
Here is my code http://eval.in/32806
Thank you.
 
@tereško I open a folder, make changes, everything's fine
 
who owns the folder ?
 
8:30 PM
madara which is me
 
@BangoTango What are you trying to do?
 
who owns the files ?
 
also me, since I chown -R on the main folder
 
what is "main folder" ?
 
madara@Dor-PC:/usr/lib$ sudo chown -R madara sublime-text-2/
 
8:31 PM
congratulations .. you fucked up the installation
2
 
:D What did I win?
 
@Pheagey I am trying to read the path-d
 
@MadaraUchiha pat on head
 
D'awww
 
@MadaraUchiha why would you do something like that ?
 
8:33 PM
@BangoTango what does print_r((array)$result[0][path][0][@attributes][d]); get you?
 
@tereško I figured if the user opening the program is also the user owning the configuration files, the program will be able to edit them, since it's acting on the behalf of the opening user. Was I wrong to think that?
 
configuration files are located in /home/madara/
most likely /home/madara/.sublime-something/
 
@Pheagey empty array :/
 
so ... let le repeat the question
@MadaraUchiha why would you do something like that ?
 
8:35 PM
@BangoTango herm...
 
@tereško I think you already know the answer for that. So let's move on to solutions.
Is it fixable? Do I need to re-install? How do I do it right this time? XD
 
$result[0] is a SimpelXMLObject...
 
if that was only thing you run on that folder , then sudo chown -R root /usr/lib/sublime-text-2/ should be enough to revert your changes
 
@Pheagey if I print $result[0] it shows nothing.
 
looks like it ran smoothly, @tereško
 
8:38 PM
so ... what exactly is your problem with ST2 currently ?
something about files, but i could not understand
 
@tereško Plugins won't install, pre-opened tabs won't persist.
 
@BangoTango print_r($result[0]->path->attributes());
 
oh
 
When you open the program, the default behavior is that the tabs you had when you closed the program will be reopened
 
user1596138
@MadaraUchiha Sorry was AFK.
 
8:38 PM
From there take the attributes and put them in an array. Then use the key => value pair to pick the value you want.
And this should help as well: http://www.php.net/manual/en/book.simplexml.php
 
user1596138
Figure it out yet?
 
But that's not the case here, I get these two tabs of files which don't even exist anymore
@Jhawinsss Working on it with @tereško :P
 
lemme look atound in the settings
 
@tereško ls -l reveals that root owns the config files under .config/sublime-text-2, does that have to do with it?
 
all files in your home directory should be owned by you
no exceptions
 
8:40 PM
should
And yet, without me fiddling with it, it wasn't.
So can I safely chwon -R madara ~?
 
@Pheagey thank you! :)
 
chwon -R madara:madara /home/madara/*
 
@BangoTango np buddy. GL
 
its user:group in that syntax
 
Alright, done
lemme see now
 
8:42 PM
We should get rep points for helping chat...
 
@Pheagey no, we shouldn't
 
anyways, Im out for the day o7
 
Yeah, it works well now, that was the problem :)
Thanks @tereško
 
you should report it to ST devs
it looks like you encountered an installation bug
 
@tereško Will do
 
8:45 PM
... or it might be that you first time executed it as sudo sublime-text
 
user1596138
@tereško Why would that be?
 
@tereško It's possible, but I don't remember.
 
user1596138
@MadaraUchiha what distro are you on?
 
The installation was sudo for sure
 
@Jhawinsss try sudo echo $HOME and you will understand
 
8:46 PM
@Jhawinsss Ubuntu, 13.04
 
user1596138
How have you installed it so far? You can't use apt-get?
 
@Jhawinsss Yeah, using apt-get
sudo apt-get install sublime-text-2
 
user1596138
@tereško Of course. I know how nix works...
 
user1596138
@MadaraUchiha And that didn't work out of the box? What happens exactly if you try to run sublime from terminal?
 
which is why i dislike sudo so much
 
8:47 PM
@Jhawinsss It works now
 
user1596138
sudo sublime-text-2 or sublime\ text\ 2
 
user1596138
Ah, cool.
 
Turns out the configuration folders under /home/madara/.config/sublime-text-2/ were owned by root.
So my user didn't have permission to touch them.
 
most likely because you first time executed Sublime via sudo
@MadaraUchiha and it autogenerated the files in $HOME directory , the problem is that for sudo the $HOME most likely was /home/madara
 
This user looks like to like duplicating questions just for the sake of begging for code:
 
user1596138
8:49 PM
@MadaraUchiha just be glad you aren't dealing with ACLs on top of the POSIX permissions. The Mac server we have is BS.
 
@tereško I see.
 
Then I'll be more careful next time :)
 
or you could recover your root account
try: sudo su -
 
then enter passwd and set up your root password
when you have done that , you will be able to type in su - and log in as root
no need to write "sudo" every time
the "-" in the command means that you load the new user settings too
 
the full command is su - <username> but is left blank, it defaults to "root"
 
... and i am out of close-votes
 

« first day (962 days earlier)      last day (3985 days later) »