« first day (2580 days earlier)      last day (2368 days later) » 

10:01 AM
it is
 
@Tomm, in the form, that has all the loops you ran, does it have an <input type="hidden" name="datnum" value="whatever"/>
 
i do not have a single hidden input type
 
In your code you're checking for isset($POST['datnum']), that means the form you submit has to have that value
all inputs have to be within a <form></form>
 
yeh like i showed a few secs ago <input type="date" name="datum" value="<?php echo date('Y-m-d'); ?>">
 
@Tomm don't do that. use prepared statements instead
 
10:03 AM
in the header
@darius its in the header like this :
<form action="index.php" method="POST">
<input type="date" name="datum" value="<?php echo date('Y-m-d'); ?>">
<button type="submit" name="submit">Send Date</button>
</form>
and that is this
 
@O'Skywalker hahahahaha "why not? are you lack of money, haa me too"
 
Is there a way to highlight in pastebin?
 
shoot me
i really do not know
 
@Tomm
Look at the bottom of the form, there's an input.
 
il try this
brb
 
10:09 AM
Use that input's datnum value, then when you click submit, before page loads, look up database, do the foreach loop and send it out.
 
// DO YOUR SQL SEARCH HERE AGAIN, SAME WAY AS IF YOU WERE OUTPUTTING
what do you mean by this
cause all the info i call is put in a complete html table
 
PHP = get POST or GET variables -> look up mysql/sql for the data -> use the data to do whatever you want -> then display the page.
 
do you want me to copy the whole table everything into the button
 
So you have 2 steps, you click calendar , select date , submit -> loads mysql data, sets up form for 2nd submit.
You click 2nd submit -> reloads page, checks if it's 2nd submit, checks that 2nd submit form had date it wanted to send out -> get sql/mysql data again, if all good, do foreach loop and then run new procedure for sending out whatever you wanted to send -> show page.
 
3 messages moved to Trash
 
10:14 AM
That was my intended good deed for the day.
I'm done with that topic
 
> /dev/null
 
it turns out if you wish really hard for something, you'll get it ...
 
longest topic for the day haha
 
Gigabit island.. watch it be outdated in 3 years
Remember when 3mbit was a big deal?
DSL days
 
I remember it when 9600 was a big deal
 
10:18 AM
@Darius if it happens, I'll get two gigabit ...
 
now we know how things like laravel start
 
you don't have time to read shit questions ... you are all supposed to be busy making cakes ...
 
fuck you too
 
My internet went out
 
10:22 AM
@JayIsTooCommon I'm going to hurt you ...
 
Just as we started talking gigabit
 
trololo man
 
@Darius like, to the shops or something?
 
in other news, levi sitting on my router is no longer cute ... he has broken an antenna ...
 
standard
those things are pretty cheap to replace though
 
10:23 AM
I’m at 7/11 lol getting soda
Get those apple cube routers. No antennas just an expensive brick of magic
 
Anonymous
@Darius did you actually laugh out loud over getting soda?
 
I'm unsure it can be replaced, there is a bit of gold wire (solid) sticking out of the router ... the antenna is a few inches away ... empty space in between ...
 
This 60 degree weather is horrible for shorts
 
is there a way to put it back on maybe ? I can't get anything to detach from anything on the antenna ?
 
@JoeWatkins piccy?
sounds like he's just stripped the plastic casing off the actual antenna wire
 
10:25 AM
You good at soldering? I’d do that
 
which won't even stop it from being an effective antenna, it just makes it look untidy
 
twitter inbox
 
Twitter’s for politicians
 
@JoeWatkins hmm, can you show the back of the router?
looks like it might have actually broken the connector off the board :-/
I mean it doesn't massively matter, you still have 2 and you could always just get a separate AP for £30 if it seems to seriously affect the coverage
 
I don't know when it happened, I think last night or this morning ... won't know about effect until the kids are trying to do internetting
I should have put it on the wall
 
10:30 AM
I'm pretty certain I left the antenna mode as MIMO so the others should pick up the slack, those antennas are only cheapo omni anyway
I can never remember directional antenna terminology
 
don't worry, I never knew it ...
 
it's a really fucking mindbending and dull subject
and if I am saying that, you know it must be bad
 
Even with 1 antenna and a 5ghz connection, shouldn’t it be ok?
 
I don't know, I'll ask my network guy ...
@DaveRandom ?
 
Well you should still have 2 iirc
pretty sure that thing had 3 in the first place
 
10:32 AM
yeah, still two left
 
anyway it's not expensive to get a separate AP if you start having issues
 
yeah and actually it makes some sense, because office is tucked away at back of house and signal sucks ass upstairs ... would be better to have wireless ap somewhere central, even upstairs ...
if you put a single ap upstairs, is the signal downstairs shit ?
 
Project manager just said opt out of validating input to save time because client doesn’t want to pay for the extra features but still be on budget. What could go wrong .. hah
 
@JoeWatkins you'd be better to put it at the diagonally opposite corner of the house and run 2
most likely, anyway
2.4GHz penetration is terrible
 
Isn’t 2.4 the best penetrator and distance ? 5ghz sucks is short length
 
10:36 AM
even on 5ghz there are places that look like blind spots ....
 
Or does 5ghz get past walls better despite shorter dostances
 
in a noiseless environment that's true, in reality 2.4GHz is full of crap
 
3 messages moved to Trash
 
I hear @PeeHaa is a good penetrator, though personally I don't believe it
 
clap
 
10:36 AM
Slow clap
 
@JoeWatkins yes, he has that
 
lol
 
@Darius yeh 5GHz feels like a huge step backwards in general. Which is a real accomplishment, given where 802.11 started
 
I know those numbers, I use them a lot ... I think I used 8 today ...
 
tl;dr everything about wifi is terrible
19 hours ago, by DaveRandom
related: everything is terrible
 
10:39 AM
everything that is wireless or battery powered is terrible ...
 
Actually that's not completely true. I have had some pretty decent battery-powered pocket calculators.
 
ideally, everything should be connected to everything else with a big fucking wire, and it should be powered by petrol ...
 
not a tesla fan I presume?
 
also, my cat is wireless and she's not completely terrible
 
toss a cucumber at it
i've been wanting a cat
 
10:42 AM
I don't think you should have one
 
:(
 
@Darius I was very young the when I first got an electric car, maybe only 6 or 7 years old ... it was thoroughly disappointing, I won't be buying another ...
 
Anonymous
yes, but that was like 128 years ago
 
Anonymous
technology has moved on since then
 
:D
 
10:45 AM
haha, that was quick ...
 
oh.. @JoeWatkins you're richy boy.. I had wooden car :(
 
technology has improved, but "does it scale?"
 
the ability to drive over grass isn't much of an improvement ...
 
wood? I guess.. not?
 
Then at 12 a RC toy car , thing was fun as hell.
I had.. a plywood board, a hotrod knockoff toy car, and hammer + nails. I made the car travel like marbles.
Built an RC plane with dad over the course of a month, he flew on it for 10 mins, then gave it to me, crashed it between 2 parked cars within 15 seconds.
we never did it again..
 
10:49 AM
in all seriousness I don't think they are actually solving any problems ... they look nice now, they're fast now ...
 
Cars ?
 
no, electric cars, or hybrids ...
 
They don't all look nice, most look like soap bars imo.
 
tesla 3 looks like a normal modern car, quite a nice one ...
 
yeah. but others? nissan leaf.
 
10:51 AM
there's also a huge Mitsubishi that's quite nice
and there's a range of high performance hybrids ...
 
There's the looming issue of battery life expectancy though
You know you can have a regular car last you 20 years if taken care of, hybrids/electric, gotta replace those batteries every 3-5 years
The one thing that's wrong with the car industry, the one thing that sucks bad, is bucket seats, bucket seats everywhere
 
bucket seats are good, if you have any power ... putting bucket seats in a fiat 500, I don't get ...
 
The last rant on cars is sound systems, did you notice how the bass has changed? They no longer pass vibrations to your body, they muffle your ears to only perceive bass, but not feel it.
 
@tereško There was a band you shared about 2-3 days ago, all instruments as well, do you remember what it was? You @'d Tiffany.
 
11:00 AM
probably "Long Distance Calling"
 
Yep, thanks.
 
I tend to listen to instrumental bands (mostly post-rock), when I am either working or reading
 
It's a good setting.
 
@Darius you might also like this youtube.com/watch?v=XRQJ453dpmw
 
@Darius i was right it was a php thing
And i fixed it x10000
 
11:06 AM
great
Yep , like it Teresko.
My favorites though, always tend to be slow heavy rhythms.
 
you mean like "My Dying Bride"?
or not that heavy
 
Haven't listened to them, will look at them. But like the beginning of this metallica song. youtube.com/watch?v=S5TnPjOd_To
before it speeds up
Nah, not like Saitama's example.
too busy
 
well, here is a sample from My Dying Bride: youtube.com/watch?v=vmGHTdTIAFQ
 
@JoeWatkins Is there a way to identify when cufa is called from a PHP extension and when it is, to find the parameters that were passed to it. You said yesterday about OpCode monitoring. Any example extension that do this?
 
11:16 AM
Dying bride without vocals is great.
 
11:33 AM
 
I like this song, beyond all measures: youtube.com/watch?v=kfVsfOSbJY0
 
@EarvinNillCastillo @Darius @samayo if you guys are interested how i fixed my problem and came out better on top tbh here is the solution i have. pastebin.com/CRg6ff1c
 
on a more serious note: I m currently listening to open.spotify.com/artist/5LDGgIxaWuRV4KlY6oob6b… kinda like norther or cob
 
Hello someone know some tip for that problem?
0
Q: Error: redirect_uri_mismatch from localhost

MagicHatI want learn about post video to Youtube from localhost. I try use YouYube Api from localhost, see many question here about this error, but nothing work fo me. I follow all steps: 1- Create project 2- Enable Api 3- Create credentials: From that step i choose : help me choose Which API do y...

 
11:47 AM
Listening to missio atm, bottom of the deep blue = 💖
 
11:58 AM
hmm, youtu.be/VgAATnEQ-hU is pretty nice as well <3
 
>.>
 
even tho the lyrics might not make any sense, it speaks to your heart :B
 
You're too happy to be a programmer
 
Hello all
 
Should be grim!
 
12:00 PM
Morning :)
 
o/
 
\o
 
Hello @Gordon
:)
 
o/
@Darius yeah... if you are into animes, or would like to get into dem, I'd recommend you watching Koe no Katachi (A silent Voice)
The english dub, and the blu rays might be out by now as well
 
I am, but more into stuff like the recent Black Clover
Shonen? is it called?
 
12:03 PM
yeah :B
 
Romances , bleh.
 
well, tbh I didn't like romances either, but watching Kimi no Na Wa, and Koe no Katachi made me disbelieve my thinkings
and now, almost all the animes I like to watch have a touch of romances in them
 
I mean, it's okay to go mainstream and just watch MHA to get into stuff.
 
my hero academia?
 
Ja
 
12:05 PM
My Hero Academia, yeah.
 
Hello i got issue please check this link
i got issue in php
:(
 
meh, it started sucking midway into the second season
 
is anyone know how to solve this issue :)
Thanks in advance
 
:)
@Darius yes i did already please check my question carefully :(
where i am stuck
 
12:08 PM
@Sean I thought Your Name was pretty mainstream as well :/
 
It's kind of hard to tell what you're asking for
Yeah, it is
 
Agreed, can't understand what you're asking then.
 
@Darius i want on each count add static value :)
 
Outlaw Star still all time favorite show.
why?
what does adding the static value do?
 
Means @Darius
 
12:10 PM
Write out some sample results you're looking to get day 1 - 1 day day 2 - 2days difference + (1 previous day) or something
 
because i want if diffrence between days are 10. then i want to run this in counter means in 1 count sum 5 and so on... :)
But how to do it @Darius will you please give me some code over my pastebin :)
 
Doesn't make sense, I don't understand.
 
just imagine if diffrence between days are 10. then i want to run this in counter means

1st day :- 6 * 5 = 30
2nd day :- 6 * 5 + 30 = 60 and so on to 10 days then sum all.
@Darius hope you know now :)
 
Do a loop, set $previous_counter_sum = 0; $days_array = [], foreach day do math, replace/add curren't days value to $days_array, and add to $previous_counter_sum. At the end of the loop, your $previous_counter_sum will have sum, $days_array will have each day's sum.
 
Thanks alot @Darius will please give me code over pastebin please
:)
 
12:16 PM
no
do it yourself
 
is it possible from my code which you see in this link
 
give me teh codez, that's not really a nice approach
 
no shame at all.
 
in this i get difference between dates ??
@Darius
 
12:18 PM
has left the room
 
@JAamish accessing params from opcode handler is not a problem ... detecting if a function is called from an ext is not going to be tidy, you'd have to look at the function in previous stack frame (caller) ...
uopz does some magic with opcode handlers, so does xdebug, you might look there ...
 
12:33 PM
I am working with Laravel so I have a website folder under public folder which contains some .blade.php files suppose my this is the path javafan\index.blade.php what the route syntax would be?
 
Morgen
 
o/
 
@JoeWatkins Thanks.
 
Did twitter also up the api limits?
 
12:45 PM
@PeeHaa Boo! The message exceeds the 140 character limit. :-(
 
pfff
 
Can I try? :3
 
Laravel/php general based question, when you tell laravel "use app/modelname" does that "include" the script taking up resources? or are all the files already included and you're just saying recognize the naming for use.
 
E_TOO_MANY BUGS
 
What the hell
 
12:50 PM
^ that
 
Jeeves
I restarted him because of changes
 
:O
 
phew...
 
8 messages moved to Trash
5 messages moved to Trash
 
Can you guys help answer the basic (stupid) question? is use \app\someclass same as require('somepath/app/someclass.php'); new someclass(); ?
 
12:55 PM
No
For one PHP doesn't do imports
 
3 messages moved to Trash
 
:-( I was reading that y'know
 
go read it in the trash can :-P
 
Ok thanks, I'm misunderstanding what you mean by it doesn't do imports, php.net refers to it as aliasing/importing, but I'll look it up, thanks PeeHaa.
 
12:58 PM
@kelunik thanks a bunch, you rock
 
@FlorianMargaine You're welcome. If you have further questions, just ask.
 
will do, thanks
 
@Darius use whatever\namespace doesn't do anything in php
It doesn't actually import / include code
It just says "I have a namespace I may want to use"
 
Perfect, "I may want to use".
 
is it possible to import a phar and prepend a namespace to all its classes?
 
1:02 PM
thank you.
that cleared it up
 
@FlorianMargaine I am gonna go with no
 
@PeeHaa you uck
 
err... so I have this stupid thing... I have a class in C++, and I wanted to call a global method (as in provided by a system header file)... calling that inside a method produces an Out of Scope error and couldn't google some sort of solution
 
he does
 
any ideas?
 
1:04 PM
is that french :P
 
it's just a typo that I find nicer than the real thing, so I'm not editing
 
@FlorianMargaine s/uck/suck
/captain
 
@SaitamaSama suck suck?
 
ahahah, lol
 
@FlorianMargaine <3
 
1:05 PM
@FlorianMargaine uck you
 
Yeah I flagged you @FlorianMargaine and now a mod is here to get you
 
aww :(
let's hope I can bribe him
 
@FlorianMargaine It will cost you 6 internets and 3 common lisps.
 
how do you go about editing a SO answer that's missing a comma causing a syntax issue/error? SO says atleast 6 characters need to be changed
 
@FlorianMargaine It took me some real effort not to add an anti-semitic slur in here
I will write it down for friday
 
1:07 PM
otherwise a perfectly good answer
 
@MadaraUchiha damn dude I only have 4 internets
 
I'm afraid that's not enough. You'll be banned now.
 
BANHAMMER
 
@SaitamaSama minimum reproducible example please, I can't quite picture what you are doing that would not work from that description
do you have a namespacing issue maybe?
 
err... just a sec... creating a mcve
@DaveRandom These lines: gist.github.com/SaitamaSama/… seem to be producing this error gist.github.com/SaitamaSama/…
Server.h: In member function ‘void Server::start()’:
Server.h:48:7: error: ‘::inet_ntoa’ has not been declared
       ::inet_ntoa(remote_addr.sin_addr),
       ^
Server.h:49:7: error: ‘::nhtons’ has not been declared
       ::nhtons(remote_addr.sin_port)
       ^
I'm not really fluent in C++/C yet, so... not sure what the exact problem is, but seems to be a namespace thing overall
also, sorry for those memsets. Something I picked up from C, and still can't seem to get rid of doing memset instead of other C++ methods
 
1:18 PM
I have this range slider in my while loop : <input type='range' name='data[]' value='0' id='myRange' class='slider' min='0' max='7' data-show-value='true'> is it possible to replace data with a database value that loops through it like the $row[' '] function in php
 
Not yet @Wes. Way too busy looking at the gorgeous graphics to notice the scratch, and I'm really scared ;)
 
Any One Use PDF Web Viewer in laravel?
 
Do not mind my question i found the solution by doing some stuff
 
@SaitamaSama well my grasp of C++ is almost non-existent, but the leading :: seems unnecessary there, afaik it's only required to disambiguate and there is no ambiguity in that code. Also I believe those functions are declared in arpa/inet.h, which you have not included. Also, put class declaration in the header, put the implementation in .cpp
 
ahh... makes sense :B
Arigata @DaveRandom-sama
 
1:25 PM
@JoeWatkins (or whoever is responsible for this) phpdbg.com looks to be inaccessible at the moment.
 
Hasn't that been down for years now because it moved into core and php.net?
Jul 31 '15 at 9:40, by DaveRandom
@DejanMarjanovic so we need to prepare for taking phpdbg.com down and having it redirect to php.net... who has access to the VPS? ^ this :-P
 
ios has calmed down now. Working well enough @DaveRandom. BTW is there supposed to be an ethernet bit for the xbox?
 
I have this query : $sql = "SELECT Personeelsnummer, Werkdatum, Kaart, Naam, Beoordelingnumeriek FROM beoordeling INNER JOIN personeel ON personeelID = Personeelsnummer WHERE VestID = '1' AND Werkdatum = '$date'"; which give what i want (numbers 1 through 7). But if i use $row['Beoordelingnumeriek'] it does not give me any values
all other $row['']'s work
 
^ I am afraid of bloodloss :(
 
^ :D
 
1:33 PM
@Tomm Not a solution for your problem but pleeease don't use Dutch in your queries and/or code
 
@PeeHaa they asked me to
I dont support it either
 
Is code universally supposed to be written in english? :O
 
and the dutch in that is the database row names
 
@Darius Yes
 
woah, two dutchies in a room
 
1:34 PM
learn a new thing everyday
 
:o
two dutchies get the camera
 
sdd
Guys, I have a few lines of text which I need to be sure of it is written in correct english. Can someone with English as main language check it out for me in private chat?
(3 dutchies)
 
@Fabor meaning what, sorry?
what did you buy?
 
using ios when talking about routers is confusing me as fuck
 
also, who is your daddy, and what does he do?
 
1:36 PM
You are. And he drinks and hits me
 
you deserve it, though
 
:P
 
violence is never the answer :B
 
Anonymous
when you are concerned, it is
 
:B = buck tooth smiley?
 
1:37 PM
three dutchies? I guess it makes no sense discussing soccer with them (since I am german; obvious reasons) but I'll just put this here: frikadel vs frikandel. fight!
 
@Darius tbh, I don't know. I use it because @Wes uses it
 
sdd
Guyss I need someone who speaks English(native)
 
@Gordon There is no fight. It's frikadel
 
sdd
ASAP
 
How about I kick you asap instead?
 
sdd
1:39 PM
That would be rude
 
You are rude
 
chop chop
 
Kroket
 
sdd
Yeah you are right. My apologies
 
Apologies accepted. Now if you could focus on the frikadelfight. thank you.
 
1:40 PM
@PeeHaa no :p
this totally works (#iLovePHP)
function 時間を変ずる($時間 = null)
{
    return $時間 ? date('c', $時間) : date('c');
}

var_dump(時間を変ずる());
 
Anonymous
vampville in here today
 
@AlmaDo yes we know
 
@JayIsTooCommon aren't suns out yet?
 
sdd
It's frikandel. That should end the fight
 
So do emojis
 
1:41 PM
@AlmaDo flail whoever wrote that
 
@Gordon I did it just now :p
 
@AlmaDo all hail Anime-Language
 
@AlmaDo well, flail yourself
 
@Gordon いや
 
sdd
But seriously, is there anyone in here I can pay to check few lines of text if it is written in correct english? Will take like 5 to 10min..
 
1:42 PM
@Tomm Whatever the problem var_dump() will tell you what is going on
 
@AlmaDo My eyes x.x
 
Anonymous
!!welcome sdd
 
Welcome @sdd, please read the Chat Guidelines
 
@SaitamaSama eh.. no :p
@Darius oh come on :\ I wrote it myself (:
 
I don't understand how you can read and catch each squiggly pixel in those characters.
they're so alike
 
1:44 PM
I do not. I write in hiragana / katakana and then it transforms to kanji :o my knowledge is yet too shabby to write in plain kanji
 
I am hecking bamboozled
 

« first day (2580 days earlier)      last day (2368 days later) »