« first day (2313 days earlier)      last day (2621 days later) » 

11:00 AM
morning
 
o/
 
Anonymous
hoi joenaz
 
indeed
 
Anonymous
how are you on this fine morning?
 
hmmmf
 
Anonymous
11:05 AM
gooooood
 
grrrrr
because phpmetrics considers comments equate to accessibility, team started adding the most stupid comments on earth to everything ... reject, reject, reject ...
 
@PaulCrovella ahhhhhh that's why, thanks
 
Are you supposed to specify alternate domain names in a CSR?
 
Anonymous
woops
 
11:20 AM
C-C-C-C-C-
C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-
C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-C-OMBO BREAKER
 
!!uptime
 
╔══════════════════════════════════╗
║ [26 seconds] without an accident ║
║   since [2017-02-14 11:21:22]    ║
╚══════════════════════════════════╝
 
it thinks lorem ipsum makes code more maintainable ... who is making these decisions, that's the stupidest thing I've heard about this week ...
 
!!version
 
11:22 AM
@Jeeves show off
 
@JayIsTooCommon @Sean ^ fixed
Also I fixed the twitter thing
 
@JoeWatkins That's the stupidest thing I heard all hour, at best.
 
3 messages moved to Trash
 
Anonymous
@DaveRandom noice
 
Still not sure where the <3 went though
 
11:22 AM
@MadaraUchiha it is only Tuesday, I doubt it will retain the position for long ...
 
!!reminder It is tomorrow at 11:21
 
Reminder 35652264 is set.
 
!!reminder list
 
Registered reminders are:
• @⁠DaveRandom http://chat.stackoverflow.com/transcript/message/33706606#33706606 → Id: :33706826 → Saturday, 29th April 2017 12:01 (UTC) - Set by Gordon - Seconds left: 6395876
• what happens → Id: :35514705 → Thursday, 21st December 2017 00:00 (UTC) - Set by Trucy - Seconds left: 26743016
• It is tomorrow → Id: :35652264 → Wednesday, 15th February 2017 11:21 (UTC) - Set by Sean - Seconds left: 86276
 
Excellent
 
Anonymous
11:23 AM
 
!!reminder @DaveRandom polishing turds does not work ... TEST JEEVES in 5 seconds
 
Reminder 35652281 is set.
@JoeWatkins @⁠DaveRandom polishing turds does not work ... TEST JEEVES
 
There are some tests
not many, but some
 
no there aren't ... you have 2% line coverage
 
Anonymous
am gonna try add some for inbuilt
 
11:24 AM
!!command map voting RFC.php Voting
 
@Sean Unknown endpoint name 'Voting' for plugin 'RFC.php'
 
this actually makes us bad people you know ... we cannot very well sit here and criticise every single newbie that does anything wrong, when we - you lot - are producing shit ...
 
Oh guess it's not in that yet.
 
@JoeWatkins 2% is NaN times better than 0%
3
 
@JoeWatkins irrelevant comments are unlikely to fall out of sync with the code, hence they're easier to maintain. "future-proof", if you will
 
11:25 AM
I opened an abstract yesterday that extends TestCase and it calls parent::setUp ...
think about that ...
it means you don't know what you are doing ...
 
In my defence I didn't write that
 
\Room11\Jeeves\Plugins::AntiW3Schools
  Methods: 100.00% ( 8/ 8)   Lines: 100.00% ( 22/ 22)
\Room11\Jeeves\Plugins::CanIUse
  Methods: 100.00% ( 7/ 7)   Lines: 100.00% ( 15/ 15)
 
I know, I looked at blame ... you accepted it presumably ...
 
But I also freely admit that I have no idea what I'm doing
 
Anonymous
!!remove 5
 
11:26 AM
100% coverage on my plugins :P
 
Anonymous
daavvvveeeeeee
 
@Sean urm ... NO
 
@JayIsTooCommon moment
 
how much of the plugin system is tested, and every layer beneath it ?
more or less none ...
 
I imagine adding tests for generators / amp-coupled components is going to be a pain
 
11:29 AM
either way it'd be a good idea to add "I am not a role model" to Jeeves's profile
 
That is certainly true
 
Anonymous
@DaveRandom worked without a param, if that helps
 
Anonymous
!!remove
 
It is, at the end of the day, a playground application
 
Anonymous
nvm
 
11:30 AM
@JayIsTooCommon yes it's weird, not sure what's going on there
 
you/we set ourselves up as role models when we criticise the work of strangers on a daily basis
 
hmmm
 
3 messages moved to Trash
 
Anonymous
right..
 
interesting
 
11:31 AM
@DaveRandom how long would it take you to write abstract test cases covering non toplevel namespaces ?
 
5 messages moved to Trash
 
@JayIsTooCommon I wonder if it is age related
 
@DaveRandom technically @JayIsTooCommon shouldn't be using the internet without a parent present ... he is only 12 remember ...
 
Anonymous
No, I think it's inbuilt / plugin related - inbuilt logs commandID, plugins don't
 
Anonymous
@JoeWatkins your mother's right here.
 
11:33 AM
@JayIsTooCommon if my mother saw that, she'd beat you up ...
 
Anonymous
:D
 
@JayIsTooCommon oh right of course
although it should still have said it didn't have anything to do
@JoeWatkins I dunno, I'm not good at writing tests in general. Someone offered to do it once but the architecture was in such flux at the time that it didn't make much sense (it was intentionally broken daily). Now that's not true, and I can't remember who offered.
I would do it myself but I have such a long list of frankly more important things to do...
I certainly need to get better at testing
If you look through my github you will not find many tests in anything
 
Anonymous
@DaveRandom I think it's swallowing an exception somewhere
 
Anonymous
plugin messages should still be removed, just not the command
 
true
 
11:37 AM
well that's honest at least ...
Jay and @Ekin should stop working on bugs and features until there is satisfactory test coverage, and nothing else should be merged until it's tested, and PR's should cover themselves ...
if there were abstracts, I'd have done it already, I had a go at abstracts yesterday but I don't understand it well enough right now, and real life, and my plate is full to overflowing with work stuff too ... because I backed myself into a corner where I'm doing the work of a team again ...
I need to clone me ... a few times ...
@Jay when you're done testing Jeeves, work on cloning me machine ...
 
write tests for that one first
we don't need some twisted half-joe running around writing c++
 
In shinier news, we now have nice things: opengrok01.lxr.room11.org/source
 
I wondered where that had gone
why is the url still silly ?
 
the front end (lxr.room11.org) should be here today
1 hour ago, by DaveRandom
OK @LeviMorrison so web01 is now refusing my ssh connections after a reboot and web02 is timing out :-S
 
oh okay, missed that
 
11:45 AM
I'm going to hack something together on my server shortly until that is sorted out
 
can you add the source for dnslib, please?
 
yeah was just about to ask if more stuff could be added yet ?
 
Yes can you make me a list between yourselves please (in a gist or sth), it's not a big job but I have to go do some real work right now
 
okay excellent
can you collaboratively edit gists ?
 
If you can make me a list of repo URL/checkout ref that would be good
do it in there ^
Also please bear in mind that we have limited HDD space, I'm not sure how big hhvm is but I'm guessing big
Should be doable, but don't add loads of stuff like that
 
Anonymous
11:53 AM
yeah can't see anything obvious Chris, i'll try fix it when I'm home if you want. Can't get Jeeves working here
 
Anonymous
@JoeWatkins yes yes i'll try do tests. But I have no idea what I'm doing so I will pester you if I get stuck.. But hey, at least you get to speak to me.
 
@JayIsTooCommon 'tis fine
try really hard ... until it hurts ... even if you think it might kill you ...
 
Anonymous
yes sir
 
Has anyone know where are classes in Rust? Are they in Rust at all?
 
afaik Rust doesn't have classes. It has Custom Types and Modules
 
12:03 PM
@Gordon Yes, am looking there, but found only modules
 
@Shafizadeh actually the industry standard is to use spaces instead of tabs. You can set your IDE to transform "Tab-key" into 4 spaces, which helps with it. It's covered under PSR-1 and PSR-2.
 
lawl
 
After 4h trying to implement something in Rust I had to say it's "Brain Damaging Language" all those &* &'a use mut let impl pub fn mod tokens are driving crazy.
 
12:15 PM
You should talk to Levi about that, he likes Rust
 
That crazy person
 
There are instances created by Self but no classes and constructors, so what the heck is instance then? Object of module... :/
 
haven't touched Rust in two years. Only build this little toy gist.github.com/gooh/dd6407813651aa040f22
I remember I was annoyed by the unstable API back then
then decided to let it mature some more and revisit later
 
After 4 hours of trying to implement something in Rust, I had a stone foundation.
 
Is it bad practice to end your php tag in conditional statements or loops to echo big blocks of html?
 
12:20 PM
@Alesana What do you mean?
 
I see there are almost every features of modern lang I expect as generics, primitives, mutability and immutability, async streams, threads, annotations (I think so), module scope visibility, nested modules and also compiles into binary file, but no classes and ugly syntax
 
Like if (foo) ?> HTML <?php }?
 
@Alesana it is bad practise to mix logic and html. try to keep them separated, else you end up with a tangled mess of spaghetti code
 
Yeah
 
@Alesana No, as long as you don't break what @Gordon said ^
There's in fact specialized syntax to make that form clearer
!!docs alternative syntax for control structures
 
12:21 PM
[ Yaf_Controller_Abstract ] Yaf_Controller_Abstract is the heart of Yaf's system. MVC stands for Model-View-Controller and is a design pattern targeted at separating application logic from display logic.
 
Thanks @Jeeves, that's exactly what I wanted.
 
Ah okay. Yeah I am now keeping them separated but I am trying to work with some code I made months ago and it's a complete mess
Ah thanks
 
!!docs control-structures.alternative-syntax
 
[ Alternative syntax for control structures ] PHP offers an alternative syntax for some of its control structures; namely, if, while, for, foreach, and switch. In each case, the basic form of the alternate syntax is to change the opening brace to a colon (:) and the closing brace to endif;, endwhile;, endfor;, endforeach;, or endswitch;, respectively.
 
and you know "alternative" means bullshit, so go figure ;)
 
12:35 PM
@ScottArciszewski You might want to review your audit - github.com/lcobucci/jwt/commit/…
Oh hi Marco
"pusher of evil"
 
is there a way to get a php array and put it into a javascript array?
 
yeah there is a way
 
!!docs apcu
 
[ APC User Cache ] APC User Cache book
 
Thanks, Joe
 
12:37 PM
json_encode($array);
that'd return a json string
 
@RachelDockter <script>var thing = <?php echo json_encode($php_array); ?>;</script>
 
wait so that goes in my php
 
but it will happen at load-time
 
ok im gonna test that thanks
 
if you want to pass the information later (like, for using an auto-complete), you will have to learn about AJAX
 
12:39 PM
i just need to use php to get info from my database and display it in a js chart
 
then that approach should be good enough
 
dartlang.org looks really cool...
 
cool thanks
 
yeah for charts
json_encode($array); is the way to go
echo " a bannana at a duck happy valentines everyone ";
I coded an entire platform without using classes ,does that make me a noob ? :)
 
@user3548161 Nope.
 
12:45 PM
<div class="side">
<?php $array = ["one", "two", "three"]; ?>

<script>
var thing = <?php echo json_encode($array);?>
document.write(thing);
</script>
</div>

<script>
var thing = <?php echo json_encode($array);?>
document.write(thing);
</script>
</div>
is that meant to work
formatting kinda messed up
 
Wes
\o
 
hey guys, please check out soundcloud.com/vkbdev/dholakwah , just recorded 2 hrs ago :D
 
@tereško
 
ThW
@RachelDockter doesn't make sense.
 
12:47 PM
what do you mean @thw
ffs it copied wrong
	<div class="side">
		<?php $array = ["one", "two", "three"]; ?>

		<script>
			var thing = <?php echo json_encode($array);?>
			document.write(thing);
		</script>
	</div>
 
ThW
still doesn't make sense.
 
why not
 
@MadaraUchiha haha thnks feel good now , even my subqueries have subqueries :)
 
is there any simple library, which matches /foo/{bar} with /foo/baz just statically
 
ThW
document.write(thing); is just writing the variable to the document
 
12:49 PM
@user3548161 Let me rephrase that
 
thats what i want, to check if it worked
 
@RachelDockter dont ever use document.write
 
Of all the things that might make you a noob, whether or not you use classes isn't one of them.
@RachelDockter don't ever use document.write
 
its just to test if it worked
 
if you need to test a value, you should use console.log() instead
 
12:49 PM
@vamsi
 
ThW
@RachelDockter you can do that without this line, just check the generated source
 
oh i console logged it and it worked lol
 
@user3548161 yeah ?
 
i guess thats why to not use document.write
 
document.writeis something form the dark-age of javascript
 
12:51 PM
@Vamsi Your music reminds me of the ocean back in 1960's lolz can i use?
 
the way it work is extremely disruptive and flaky
 
ThW
@RachelDockter No it is not. You should modify the DOM using the DOM API, not writing the source dynamically.
 
@ThW i have no idea what any of that means
 
@ThW That depends on what you're trying to do.
Server-side rendering has plenty of benefits
 
ThW
@MadaraUchiha document.write() is not server side
 
12:52 PM
@user3548161 sure .
 
@ThW No, but "writing source dynamically" is.
(miscommunication ahoy?)
 
ThW
@MadaraUchiha reply I spoke about the document.write() vs. DOM node manipulation
 
so is there a way to store a js variable in php? is it the same
 
ThW
@RachelDockter You misunderstand how it works.
 
is it because one is server side and one is client
 
12:55 PM
yes
 
ThW
A JS variable can only exist in a JS process. However you can of course have the same values in other environments and PHP can serialize PHP variables to a JSON string, This string can be parsed by a JS process into a variable again.
That is what happens with var thing = <?php echo json_encode($array);?>
 
ok that makes sense
trying to get my head round this and its abit confusing
 
386
Q: How to pass variables and data from PHP to JavaScript?

Madara UchihaI have a variable in PHP, and I need its value in my JavaScript code. How can I get my variable from PHP to JavaScript? I have code that looks like this: <$php ... $val = $myService->getValue(); // makes an api and db call $> I have JavaScript code that needs val and looks along the...

@RachelDockter ^
 
i know how but i need the other way round
how to pass js variables into php but i dont think u can
 
you need to use AJAX for that
 
ThW
12:59 PM
@RachelDockter use XMLHTTRequest to make specific requests to the webserver
 
ok im gonna research and try it
 
why are you trying to pass js variable into to php ?
 
ThW
btw generating JS that way is bad style. You should use static JS referenced in your HTML page and data attributes for the values.
 
well im trying to get data from my db using php, then pass into js to make a chart, but i need the user to click buttons for what data he wants, and then gets the appropiate data from the db
i guess i could just use forms for that instead
 
ThW
@RachelDockter Use AJAX requests
 
1:03 PM
im looking into ajax now
 
Would it not be better to vertically fragment the queries into seperate files and call them via ajax based on case or option selected ?
 
like manually get every query
there would be too many combinations
no wait i think i misunderstood
 
may be i misunderstood how are you trying to populate your charts what options will the users have
 
@RachelDockter You have two options, basically
Either you get all the data to the client, no filters attached, then sort/filter client-side based on the user's inputs
 
well its a game so the x axis will be the people, filtered by gender age etc and y axis will be kills/ deaths/ score etc
 
1:09 PM
Or you wait for the user to click on a filter/sort, then you send a request to the server and it will return the correct data for the passed filters/sorts
 
@DaveRandom dnslib (blame @PeeHaa for this ping :P)
 
i think im gonna do the 2nd one
 
Then you're going to have an endpoint like get-chart-data.php, and it will accept query parameters like ?x=gender&y=kills,deaths
 
@JoeWatkins
 
And your PHP script will parse those query parameters (with $_GET) and make the appropriate query, then return data back to the client.
Probably in JSON
The client then gets the JSON response, and is able to modify the chart to include this new data.
 
1:11 PM
OMG. I just realized that @DaveRandom nick is a pun of /dev/random… after all these years
19
 
yeh thats kinda what i was thinking, seems difficult but i think ill get it
its worth like 20% of my final grade just getting data in charts
 
@Gordon happy coincidence. I've had this nick since before I knew anything about *nix
 
@Gordon I just realized your nick name reminds me of Gin
 
@DaveRandom chris just fix dnslib will ya
 
@Gordon omg
 
1:12 PM
@Ekin It's very nearly at the top of the pile now
 
Ok fix it fix it fix it fix it
Noaw
 
I will keep repinning message #35653931 until someone tells me to stop
 
@user3548161 thinking about that will probably give you headaches
 
1:13 PM
/me looks at pile
 
Wes
today i probably get to finish something! #famouslastwords
 
/me looks at chris
 
I will no longer repin message #35640559
 
Fix itnfix it fix it
 
1:14 PM
Should I add room11tube to the pin?
 
btw @Ekin what is the actual problem you guys are having?
 
@Jeeves Does that even work?
 
afaik none of the (known) issues should be affecting you
 
I mean, messages whose pin had aged shouldn't be repinnable.
 
@RachelDockter I dont know what your project requirements are but keeping it simple and using common standards is the way to go .
 
1:15 PM
@DaveRandom the problem is that it's broken due to shoddy coding
 
@MadaraUchiha it re-posts it
 
Ah, I see.
 
basically it just automates what we used to do manually
 
(we should upload talks to r11tube)
 
1:17 PM
@Ekin fucking TCP
it's more trouble than it's worth with DNS imho
@Trucy maybe not until there's stuff there
 
I agree with @Ekin on this one
You should really just fix your shit
 
You should fix your shit
 
Too late
Can't touch it
 
fuck tou
 
Fuck you
 
1:26 PM
Happy fuckyountines day!
 
If you have time to be annoying you have time to fix dem shit
Just sayin
 
hello
 
hrello
 
hello
 
can you suggest How ca i write sample service to Register page
in Register page contains name, e mail ,password D.o.b & Place
 
1:30 PM
No
Sounds like you need to google a tutorial or find a book
 
why
 
Because that is stuff a developer needs to learn how to figure themselfs
 
i have to learn and discuss with yours
 
finding information and learning ow to solve problems
Break the problem apart and start solving it
 
okay can you suggest some best sites to learn php services
 
1:32 PM
well it sounds like you want to learn php and "simple" database stuff
 
yes...
okay bye guys
 
Sorry if I came off like a ass
 
it's okay
 
Anonymous
!!wotd
 
spoony: foolishly or sentimentally amorous.
 
Anonymous
1:36 PM
you're spoony @JoeWatkins
 
It's really great you want to start digging into it, and I can only recommend you do just that. Programming is fun and amazing. I think you can find most of what you need by searching.. you might also run into shitty resources, but that is also part of learning to diff the shit from the not shit
Do some code, get some feedback from other people and that can also help you diff what is good practice and what might not be
 
Anonymous
@Leigh fancy moving to Devon so we can work on that project together please?
 
@JayIsTooCommon No on both counts
 
Anonymous
Well, happy valentine's day to you too.
 
ah fuck gotta do the dishes and buy some candles... (valentines...) laters
 
1:38 PM
We should make them independently, and then fight them
 
you do that everyday, admit it
 
=( yes
 
Anonymous
@Leigh ... deal.
 
@JayIsTooCommon Yesterday I was investigating making my own moisture sensor using needle valves (like you inflate footballs with), so they could double up as watering devices
I should probably patent that
 
Anonymous
OOOoooo... That sounds difficult
 
1:41 PM
need a way to prevent clogging though
 
Use @PeeHaa's penis
 
moisture sensors just measure the resistance between two points. Like many things in life.. more moist, less resitance
 
@DaveRandom too small
 
Anonymous
@Leigh clogging?
 
lol :-P
 
Anonymous
1:42 PM
it's only water you're planning on spitting out, isn't it?
 
@JayIsTooCommon I was thinking about muck going back in
 
Anonymous
oh, of course
 
water pressure might solve it though
 
Anonymous
Also, do you need variable positioning? To stop it from stabbing the plant?
 
Anonymous
I can't be the only one who found the new SO nav/menu just bad looking
 
Anonymous
 
Anonymous
yesterday, by JayIsTooCommon
apart from the colour and design, the new nav bar is nice.
 
@JayIsTooCommon no chance mid-week I'm afraid
well maybe actually
 
Anonymous
mid-week?
 
Anonymous
oh hampshire, hah thought it was southCoast
 
Anonymous
-4
A: Top Navigation Update

Philip KirkbrideThis new top bar is horribly ugly!

 
1:52 PM
in SO Close Vote Reviewers, 14 mins ago, by NathanOliver
oh no, just refreshed main and now I'm on the new nav there. AHHHHHHHHHHHHHHHHH
 
@DaveRandom yay
@JayIsTooCommon shut it, boy ...
arghh
stackoverflow changed design
yesterday, by Joe Watkins
I DON'T LIKE CHANGE
 
github too (for me)
so many changes
 
Anonymous
also linkedin
 
Anonymous
all are downgrades btw
 
Anonymous
the world has gone mad
 
1:58 PM
hide yo' kids! hide yo' wives! navbars are changing!!
 
WHAT THE SHIT HAVE STACKOVERFLOW DONE
 
I like it
 

« first day (2313 days earlier)      last day (2621 days later) »