« first day (941 days earlier)      last day (4233 days later) » 

00:00
Especially since the content script does share a console with the page it's injected into
But remember the BG page isn't associated with any particular tab, it's global to the entire extension
ok so the console log still doen't show anything on any console, nuts!!!
do i have to restart the browser?
No, presumably you have remembered to reload the extension after you changed the file though?
Also the inject is only triggered when a page is loaded, so if you reload the extension you have to refresh the chat page to trigger the init routine
reload the extension? i'm refreshing the sandbox room
m59
m59
Hello.
hi m59
00:05
So presumably you've done "Load unpacked extension" and you're modifying the files in the directory you pointed it to?
works, damn !!!!
yeah, do i have to reload the extension every time i edit a file, or just bg.js ?
i was refreshing the sandbox (yup, in dev mode, unpacked)
m59
m59
I'm writing a content manager (way outta my league, but so fun). I'm trying to get started on my restful backend.
I kinda have the idea of REST, but not much more.
@DaveRandom why did you opt for extensions and not userscripts with GreaseMonkey/Tampermonkey ?
m59
m59
So, the main point is to route all my requests through one file that handles them, right?
@kaᵠ Because they don't expose the real APIs that let you properly bugger about with browser behaviour
Also you can't auto-update userscripts (cleanly)
00:11
@DaveRandom and you felt this was needed for chat.SO ?
auto update shouldn't be a deal-breaker
cv-pls doesn't strictly need it, but the linkifier does (did when it was based on redirects)
cv-pls will need it when the next round of new features comes to fruition
WHY THE FUCK IS Note A RESERVED WORD IN T-SQL?????
4
I hate Microsoft so much
I have just been debugging a syntax error in an SQL statement for half an hour
looooooool
microshift got +30min richer
user895378
@DaveRandom lol. I mean that sucks, but it is a bit funny :)
I wouldn't mind so much if the error message was more helpful that just "Syntax error"
When your statement is 50+ lines, that's pretty useless
00:22
@DaveRandom LMAO, srsly?
Apparently so. When I "quote" it, it works
Another stupid thing, what the hell kind of quoting syntax is [identifier]
different one
cuz ms is differnt
Not impressed
I'm going to bail, fresh for another day of hating M$ tomorrow
gn, gl tomorrow
:-P
nite @all
00:33
@DaveRandom do i need to put the json in the manifest also?
user895378
@DaveRandom 'night
01:50
why the long avatars?
@kaᵠ because it's not Friday yet?
good thing Monday the 13th ended
user652649
02:07
morning
hey morning
is anybody here
morningh
hi ka
hi ka
user895378
02:43
@Jack FYI I've been using boyermoore_indexof() and getting faster search times when searching larger strings. Haven't run into any problems. Sadly, the use-case I planned to use it for didn't end up seeing any improvement because the haystacks aren't usually very large.
user895378
But, I've found it useful when appropriate.
@rdlowrey That's a pity =/
I suppose the search pattern reuse is not really applicable either?
user895378
Oh, I used that as well. I only saw any benefit for very large strings.
user895378
I have some things in mind to try it out on down the road. I've got a lot of textual data to sift through.
user895378
@JoeWatkins and @bwoebi I worked out my runaway memory problems ... I see now that it's important to retain a reference to the Stackable passed to Worker::stack() in the context where it's created and clean up your messes when you've finished.
user895378
02:50
^ Nevermind. That's a lie :( ... I thought it solved the problem but even when I do that the memory slowly leaks out.
What runaway memory problem?
@Jack how can I use your boyermoore_ function ?
user895378
5 hours ago, by rdlowrey
class MyWorker extends \Worker {
    function run() {}
}
class MyStackable extends \Stackable {
    function run() {}
}

$worker = new MyWorker;
$worker->start();

for($i=0;;$i++) {
    $worker->stack(new MyStackable);
    if (!($i % 25000)) {
        echo memory_get_usage(), "\n";
    }
}
Sounds lovely.
user895378
03:05
I'm sure it's something I'm fundamentally not understanding about how things work with pthreads, but for the life of me I can't figure out how to plug the leak.
how big is the leak ?
@kaᵠ Go for it :) read the README
@Jack why not have it compiled on github?
@kaᵠ I don't compile for the world.
lol :)
03:11
Plus, it's easy. Unpack, phpize && ./configure && make install
user895378
@kaᵠ Looks like 80 bytes each time I call Worker::stack()
I now own http://wordlist.pw - time to make a site that tells you if your password is on a wordlist :3. (rate limiting included...)
@rdlowrey code?
user895378
@kaᵠ big paste a few lines up.
user1642018
03:18
hi all.,
10k+ :<
user1642018
i just installed php-imap still it says undefined function, any idea ?
there should be a [deleted] after the link if it's a mod-tools-only link
user1642018
i want php-imap for phplist package
user1642018
May 13 22:07:23 Updated: php-common-5.1.6-39.el5_8.x86_64
May 13 22:07:24 Updated: php-imap-5.1.6-39.el5_8.x86_64
user1642018
03:20
and i am checking it with
user1642018
<?php

$imap_obj = imap_check($imap_stream);
var_dump($imap_obj);

?>
@Hiroto wait for second i ll give you screen shot
@N̨ul̕L͑P̯͍̭ȏͣ͛iƞer very big
but... what is the question ?
@N̨ul̕L͑P̯͍̭ȏͣ͛iƞer no need for the shot ^
lol
03:24
@kaᵠ nice trick to view >10k post .. this is very smart
@rdlowrey i first need to recompile php with ZTS :((( recompile???
@N̨ul̕L͑P̯͍̭ȏͣ͛iƞer it's a known 'bug'
management doesn't really care as it doesn't hurt or affect anyone
@kaᵠ some bug should be remain :P :D
maybe they intentionally left it there
it's by design
of course :))
03:26
according to anna :p
every bug is by design in any closed-source app
and that's a fact
@kaᵠ does the same work for answers?
@crypticツ no idea
03:27
not for answers
@N̨ul̕L͑P̯͍̭ȏͣ͛iƞer can you provide a deleted answer link?
you get "this post is locked and cannot be edited"
@N̨ul̕L͑P̯͍̭ȏͣ͛iƞer there should be plenty on the old q's
whoopie
03:28
@Hiroto why do you see that [deleted] tag?
@kaᵠ noop its the question
i added it
notice the chrome network window
yupp its working perfectly
03:32
@Hiroto i don't get it
but how do we find out the ids for the deleted answers for a question?
@N̨ul̕L͑P̯͍̭ȏͣ͛iƞer so.. you just tested from a dummy account ? :P
@crypticツ aaaaaaa, now that is the question
oh, @kaᵠ. it's only locked ones
may be from 10+
@kaᵠ :P
@kaᵠ I figured it out!
03:38
@crypticツ ?
You all upvote my questions until I get to 10k and then I can see the ids to be able to do the edit answer trick! =oD
@crypticツ ok, cool
just a sec
it's so simple!
@crypticツ why not answer :P
@N̨ul̕L͑P̯͍̭ȏͣ͛iƞer gotta keep under the radar O_0
0
Q: Add a [deleted] tag to links in chat that are 10k+

HirotoWhen in chat, there's quite a few links flying around that are deleted, and only viewable (well, without the edit trick) by 10k+ rep users or those with access to mod tools. Since the links are shortened to just stackoverflow.com/questions/..., would it be worth it to indicate that the question b...

done~
@Hiroto you gonna get sooooooooo DV-ed, i'll give you a +1 head start
lol
i have two questions on there with huge numbers of upvotes; it's k. :3
03:42
@crypticツ pheeew, i'm beat upvoting you, same time, same place tomorrow ?
I never understood why <10k aren't allowed to see deleted stuff. Yeah, it's fine hiding it, but actually preventing them is kinda pointless
@Ocramius You mean a task that could be farmed out in some arbitrary fashion?
yup, really stupid
should at least be a 2k privilege
anyone care to go on meta with taht ? :))))
to the META machine !!!!
@crypticツ so people want to get 10k ... and spend more time ..blabal
technically it's censorship or being prejudice against less smarter folk
03:44
I just want 2k to do my own edits.
@Hiroto now you earn 2rep for each edit, you aint gonna after 2k
@Hiroto i just want to 20k to cast insta delete vote
I don't mind; i worked as an editor
i dont like having to wait to be approved :p
and wont get more then 1k rep from edit
@crypticツ it makes sense so bots don't crawl deleted pages (but prolly already have a copy some of them) but then it reallt makes no sense the bar is THAT high
03:47
brb userscript for it
scrape from the (actually open) API and display :)
i managed to make ~50 edits till 2k, have 100 now, guess i don't edit much
i feel like im going to end up with 3k on meta before SO at this rate
@Hiroto userscript for what?
displaying deleted questions :0
if it's in the api it's fair game, right? (that's how i see vote splits without the rep on meta)
03:49
hmm, just AJAX a HEAD?
api might be too much
@kaᵠ nofollow in link?
hmm... @Hiroto U SNEAKY, but yes, fair game (you had to work for that pseudo-priv :P)
@crypticツ that doesn't mean anything, stupid bots will index it, maybe save it somewhere, then a dupe is born
@kaᵠ only show it for logged in users?
@crypticツ there's the thing the deleted questions are deleted for a reason, 10k user have mod powers so it's clear they should see it, but new users shouldn't see them to not mistakenly 'learn' from them
so.. it must have a lower treshold, but 10k is too high
since at 2k you're trusted with editing and at 3k with closing, maybe it could be in that range?
dunno
but they aint gonna change it
for who?
it would be cool to give privilege to see delete post to 7.5k user .. since between 5k-10k there is nothing
04:01
yeah.. was actually looking at that gap
1 - 2 - 2.5 - 3 - 5 - 10 - 15 - 20
and 10 - 20k is quite big (15k privilege makes no sense (imo))
10-20 should be big 20=trusted user
last level
maybe that should be even higher
20k is already higher
yeah, like 50k =D
04:06
no, that's too much :)
35k is when rep stops doing anything
you have max close/delete votes
agree with you it may be then 60k (whatever more then 50.7 k ) :P
Or, always one more than your current rep lol
speaking of rep
04:10
ahaha
lol !
there could be an algo for a badge like that :)))
There's a rep whore badge? Noice! ;-)
@Hiroto what's that you say about 35k? isn't one maxed ou at 20k ?
04:12
after 10/20k every 5k rep gets you another close + delete vote
up to 35k
oh, 1k
aha
@N̨ul̕L͑P̯͍̭ȏͣ͛iƞer removed
rep whore badge proposal: "posted more than 100 accepted answers for questions of a score less than -2"
04:14
@kaᵠ yupp .... he is any how managing to superseding kolnik
@Jack on the right track :))) + some more fu
there should be a www.nooboverflow.tld to bounce all the closed+deleted questions off SO
accumulate repwhore points there
garbageoverflow
and @ka should be official moderator for it :P
04:16
flackoverstow
F.&(*&%%#&^%(&)&*()(*_(*K NO
2
@kaᵠ c'mon, you can be the garbage nazi!
@kaᵠ why are you writing PERL in a PHP room?
looool
"This is not garbage, this is toxic waste!"
04:18
@Hiroto valid php: <? ;;;;;;;;;;;;;;;;;;;;;; ?>
no cabbage ?
still highly readable in comparison!
Reminds me of the matrix bastardization, when Neo sneaks up on Cypher and he asks "Is that the matrix?" to which Cypher answers "No, that's just a Perl program I've been working on" lolol
/usr/bin/perl should be --w--w--w-
ahahha
write-only. :3
04:21
@Hiroto nono, ln /dev/null /usr/bin/perl
@Hiroto --------w- ?
ahaha
@kaᵠ that's the original version i put into IRC
ohh
didn't know it
Actually only root would really need Perl.
well i doubt you're on irc.rizon.net, lol
04:22
why do statements with curse words get starred in here? ---->
They are wonders of the chativerse
lol
@kaᵠ More like statements with parse errors lol
is it really this tough for you PHP devs?
04:23
open your window and start screaming "FAEN!" and see how many people understand you. if it's more than two people, go the heck to bed. :<
it's a bit hard to earn a living doing php, now everybody does php ( SODD = stack overflow driven development )
2
@crypticツ :(
@kaᵠ according to his profile he is 21 only ....so i think he is not
@N̨ul̕L͑P̯͍̭ȏͣ͛iƞer the link? :D :P
@N̨ul̕L͑P̯͍̭ȏͣ͛iƞer I know guys from college who would not shave for months and looked like that, we called them hipsters
04:28
@N̨ul̕L͑P̯͍̭ȏͣ͛iƞer founded his own company .. that's cool :)
somehow he has time to rep whore though.
checking checking for ZTS... configure: error: pthreads requires ZTS, please re-compile PHP with ZTS enabled
@Jack easy way out ^ don't wanna wait 2987897 hrs to compile php
haha .. ZTS ... that's it, you're going to hell.
shit, i knew it!
wow .. that guy's a machine!
04:32
@Jack why, what's up with zts?
funk! look at the nice rep-flow
@Jack awesome
c & c++ == rep-rep-rep
@N̨ul̕L͑P̯͍̭ȏͣ͛iƞer Found him at #4 in the quarter rank.
Well, and are generous pple :)
on the whole.
unlike for some strange reason.
bye @N̨ul̕L͑P̯͍̭ȏͣ͛iƞer
user652649
05:16
@webarto did you buy it? it's FWD man!! it's a fiat not an alfa!! :P
I am trying out Joomla CMS, and building a website with it.. Not a big fan so far, I prefer coding HTML/CSS/JavaScript... Thats way simpler imo!
1 message moved from HTML / CSS / DOM
Looking for a some solutions that let me code most of the sides myself, and then use a cms to update image galleries, and other shit the user needs to do without touching any code. I guess it is out there?
Let's me code most things in html*
user652649
@kaᵠ is that an unicode bottom character ω ?
05:33
Morning everyone
@Wes it;s an unicode <-- long left arrow
@NikiC what about compiling as a separate extension "GMP2" till it gets updated in php ?
06:03
Morning ...
@kaᵠ did you manage to get setup ?
@JoeWatkins didn't get pthreads up
not feeling like compiling php for 9812734987213 years
what hardware do you run on ?
( php compiles in less than a minute on my machine )
with a populated ccache it takes 7 seconds flat ...
@JoeWatkins there's a little arrow at the end of anyone else's messages that shows up when you're with your mouse on that message (last one on the right). use that if you want to reply to a specific message
@JoeWatkins interesting, didn't compile for some time
i'm on a 64bit amd, can't take longer than 5-10 mins i guess
my machine is a bit extreme, a 3.4ghz i7 with 16gb of ram on RAID0 SSD's that achieve silly speeds ... but on any reasonable server hardware it should be rather quick whatever nowadays
but i kinda hate having to compile it with extra stuff, i'll forget and think pthreads is in php by default
06:11
unfortunately, that's not likely to ever happen ...
@rdlowrey <--- did you see this @JoeWatkins ?
he's got a leak (80 bytes on every stack call)
I can't see it
I'll ask him lata
@JoeWatkins click the little gray arrow at the start of the message
06:29
Good morning!
@kaᵠ yeah found it ... this has been reported before and one person appears not to be able to overcome it ... github.com/krakjoe/pthreads/issues/87 its just a case of keeping references and managing them when tasks are complete
@JoeWatkins <--- [bug known] @rdlowrey
@JoeWatkins any workaround/hack ?
@rdlowrey @kaᵠ some working out is in that issue report .... I can manage to work around it so that memory is free'd, but fear I'm able to do that because I know every instruction being executed ... it's a tricky one, asking php users to manage memory is asking a lot ... I'm still thinking about a long term solution ... it's only the behvaiour of stack that is affected, and they aren't actually leaks (eventually the memory is free'd and zend reports not leaks after execution) ...
@JoeWatkins of course a patch is the way to go, being a bugfix won't it get implemented right away ?
huh ? you know I write and maintain pthreads on my own ?
@rdlowrey @kaᵠ there's not a patch, there's some php to work around it in that bug report, I can't reproduce it in the way the report describes, but by being careful I'm able to avoid the symptom of memory usage going up ... the usage of memory_get_usage also matters, php doesn't allocate and free memory like C does ... its all in the report ... bit of a long read, but bit of a complicated subject
06:45
What do you guys use for generating a zipfile?
I found ZiPArchive in php does anyone use that?
@JoeWatkins ohh ok then, guess @rdlowrey will figure it out since you pointed him to a 'source'
@JoeWatkins wow, one-man-army ? ouch
@rdlowrey @kaᵠ I was really hoping that I'd be getting help by now ... but it's not forthcoming ... the storage pthreads uses, which is separate and different to normal object properties (it has to be) , I do have a plan to advance the storage to the level of APCu and wrote the API (in APCu) to make that happen ... but weeks where I can work like a machine are few are far between, pthreads only exists because I had a big chunk of time off work ... no longer off work ...
Is it a good practice using this for generating zip files? php.net/manual/en/zip.examples.php
@Duikboot I've used zip before to create zips ... I would say this, that if the zip is small go for it, if the zip is not small then you might think about using system execution functions and the system installed binary to take the pressure off the web stack ...
^ that
06:54
@JoeWatkins What do you call a large zip file?
@Duikboot shitload.zip
:P I mean in filezise :P
there are a few things to consider when archiving: 1. many files (even if small); 2. large file(s)
1. anything over 2000 would be too much; 2. over 64Mb <- @JoeWatkins might have other ranges
but test and see @Duikboot
choose you confortable limit and pick for what you do, will it be run from a high end server? do you have many users requesting archiving? will this app be shared? does it need to run on a crappy server?
etc, w, tqsv!
@Duikboot depends on the environment and what the system can do that php cannot ... some zip commands will execute on all cores and be way faster than php could ... say I was on embedded, but multicore hardware, with 1gb ram, then 128mb is massive ... on multicore server hardware with fast disks then 1gb is largish and prompts me to think about options ... on either setups if the command line can do things php has no hope of and execution time is a factor in my design then I'd
think wrapping the command line to be a good option for any size zip ...

« first day (941 days earlier)      last day (4233 days later) »