« first day (2861 days earlier)      last day (2101 days later) » 

1:00 PM
the black box test is quite nice though.. it doesn't find anything :)
and then there are those 'special' devices that can crack anything within seconds or minutes
security only works up to a certain level..
 
Guys, do you think is it a good idea to give 40% of your project stock and get an office plus some computers instead?
 
You mean when they have physical access to the machine?
 
yes, those
 
Yeah if that happens all hope is lost
 
fortunately my app is heavily secured physically :)
I'm thinking maybe I should ask money for my services...
But it does not hurt my interest if they get addicted to the app
 
1:04 PM
You always should ask money imo :P
 
I think that when the userbase grows... they have no problem licensing the thing
actually they're offering it already, but I refused
 
You... don't like money?
 
I think money is useles, when you have enough to get by
 
I am going to disagree on that :p
 
My dream is to make the world just a little bit better during my lifetime. But I don't know if I'll ever succeed :)
2
money... is too often just a promise of a system to keep the rich rich
 
Wes
1:08 PM
\o
 
Well
That escalated quickly
 
what do you mean?
 
That's like saying that bread is just a promise of a system to keep the well fed fed
Are you against that too?
 
It's not that I'm against it.. I just try to ignore it as much as possible
Invest in people instead
Actually bread is not a promise :)
 
Why not?
And why is money?
 
1:11 PM
@Code4R7 It is in Javascript
 
LOL @Machavity
 
lol indeed
 
imo money is what a government creates and needs
 
Wes
:B
 
people can live without it
 
1:12 PM
@PeeHaa wrong. ever since marie antoinette everyone knows the rich just eat cake.
 
I need just a little money to keep the government away from 'my' piece of land
 
@Code4R7 They cannot
 
In other news, was helping with a tag removal and found this gem of a... question? idea? I guess PHP isn't enough like JS for them
 
Not without other people giving them money
@Machavity lol
 
1:14 PM
@Code4R7 He has plenty of money
 
he has a fancy car?
no, lots of followers! :)
 
That's hard money right there
Internet money is still money
 
even SO points are a form of currency
 
Not an actual currency
 
no...
 
1:16 PM
The dude makes actual money with his videos
The stuff he can buy bread with
I never was able to buy bread with my SO points
 
but can you make bread without money ?
 
I loved the video where he made his own blog using sticks, rocks and Wordpress
5
 
I can buy the ingredients yes
 
yeah, bread is more easily made from flour and water.
 
lol @Machavity
 
I loved the video where he made his own blog using sticks, rocks and Wordpress
 
The thing is @Code4R7 is modern societies people found out that having money as a currency is much better for all parties involved than trading goods and services
 
@Code4R7 money isn't the problem. greed is.
 
all parties? including those kids that sew clothes?
 
That;s not because of money
 
1:18 PM
this is a very bad amalgam
 
I agree @Gordon
 
If we were trading goods and services those same chinese kiddos would still have to do the same thing
 
and money is a clean way to hide greed
 
Why?
Or rather how?
 
suppose you need those clothes.. because you don't make your own whool sweater. Instead you go to a shop and let somebody else make it for you. Would you rather pay less or more?
 
1:21 PM
Hello I have a question about laravel blade

how can I display the whole string in my blade?
 
@Code4R7 Less
But it does not matter whether I have to pay with money or trading goods
 
Which is what most people will say.
 
It's always the same
And has always been the same
 
@PureRhymerOrganization I'm not sure there's any Laravel users in here. Sorry
 
@Code4R7 I'd also trade it for less food than more food
 
1:23 PM
Don;t get me wrong. It's noble what you are trying to do, but also naive
 
@Machavity ok sir thank you
 
But, if you know the amount of work that is required to make a whool sweater, you know that € 80 is an unfair price. It should cost about 400 - 500
 
Do I?
 
@Code4R7 so dont sell it for 80
 
... did you ever make a whool sweater?
 
1:24 PM
@PeeHaa I left that conversation alone yesterday. It's not even worth it. I've got in them before. Actually I was willing to provide an address to send me the useless money. I'll take all the useless money.
 
no, my wife does
 
who spells it whool? it's wool
 
sorry about that @Tiffany, I'm not a native English speaker.
 
Those Whooly Mammoths were huge back in the day.
 
1:24 PM
@StatikStasis Yeah. I was bored though :)
 
Metoo.
 
@Code4R7 so, you mean that even someone who whould have like, thousand of sheeps, and dozens of highly skilled sweater making people, they would not be more efficient than a single person?
 
@Code4R7 no need to apologize
 
Wes
are the chat rooms on reddit a new thing?
 
1:25 PM
kinda
 
They have chat rooms?
 
Wes
i've been invited to one and it's probably a scam already :B
 
I think the feature's been around about a month now, I've just ignored it
 
I actually took a leave of absence from reddit since January of this year. Two months ago (maybe three) I started just checking /r/ProgrammerHumor but that is it. Just wanted to see what else I could do with that time.
I have seemed to substitute it with more of this chat room. =/
Still not getting anything accomplished.
 
@Wes For people who like to drink from the firehose...
 
Wes
1:28 PM
lol
 
@StatikStasis same, but at least I'm learning new stuff...most of the time...
 
That's true.
Which reminds me...
 
@StatikStasis you have work to do too ?
 
This chat room can be an anodyne to my daily work. =)
@Code4R7 sometimes.
Right now I am procrastinating.
 
I keep fretting that I didn't close the bathroom door properly this morning, and one of my adult cats is going to wander into the bathroom and attack the kittens... can't decide if I should ask to go home and check, or just wait until lunch.
 
@Tiffany Poor Helpless Pets...
 
@Machavity coming up with new initialisms for PHP?
 
@Tiffany They're probably all pawing under the door at each other. That's always cute.
 
@Tiffany don't you have any cameras installed at home for cats?
 
@Tiffany Basically. Gotta keep the room on-topic ya know :P
 
1:32 PM
@StatikStasis I just had a short holidy of four days .. with the kids
 
@Code4R7 I have too many windows open all the time. I would never see that.
 
I had more energy before I went
wrong window? :)
 
@Machavity More like PHP: Poor Helpless Programmers
 
LOL @mega6382
 
@mega6382 haven't needed any, plus they aren't cheap, at least that I've seen, and I'd have to mount it and blah blah blah... I don't have the attention span or care to add one. Plus I'm paranoid someone will hack into it.
 
1:33 PM
@mega6382 s/Helpless/Hapless
 
3 messages moved to Trash
 
You got it all wrong. PHP stands for Programmers, Happy Programmers.
 
@mega6382 It's almost NoYouTube Link Day for you.
 
Perl Heeds towards PHP
 
@StatikStasis :P
 
1:36 PM
Don't want to work today...
 
@Gordon Where we always have fun?
 
I like Al... especially It's all about the Pentiums baby!
 
Pretty Happy Programmers.
 
Probably Hungry Pets
 
Time to get some stuff done. bbiab
 
1:38 PM
@Machavity I am from Germany
 
cya
Have to go too... something with forms... happy PHP
 
@Gordon Yep. Probably the most famous German on SO
 
@Machavity what I mean is: Fun is verboten!
 
@Gordon Sorry. I forgot
 
Wes
1:52 PM
@Machavity i'm sure that's @PeeHaa
 
...
 
Wes
:B
 
phpinfo() gives me 2 fields for php.ini files:
Configuration File (php.ini) Path and Loaded Configuration File
I made changes to the Loaded Configuration File however they don't seem to be taking effect. Should I instead make the changes to the Configuration File (php.ini) Path?
 
Restart your webserver
 
Guessing there isn't, but in PHPStorm is there a code reformatting majigger somewhere that lets me turn:

/**
* @var bool $thing
*/

Into

/** @var bool $thing */

Everywhere...
 
1:57 PM
@Wes I thought he was Dutch. Then again, most of Europe runs together these days. He voted for Brexit, right?
 
Looked at the code style options already
 
@Leigh I want to say "Find in Path" but I'm not sure it handles new lines
 
Could regex a global replace, maybe, hmm thanks for the inspiration :D
 
maybe with some regex shenanigans?
 
Wes
@Leigh but you can preview search & replace with regexp now
 
1:59 PM
lol
 
hi
 
/\*\*\n\s*\*\s*(@var.*)\n\s*\*/
/\*\* $1 \*/
Good enough
 
Wes
:B
 
\n\s? is there a space after \n?
or I guess that would mean catch all if there are spaces
 
Wes
yes the indentation
       /**
this    * @var
 
2:04 PM
ah, didn't think about that
 
Some tosser has written them like

...
*/
public $blah
/**
...

So now when they're collapsed there's no gap between definitions
I'll fix it with another regex!
3
 
lol
 
Why remove it, it's true
As long as you have infinite undo
 
it seemed like I was stating a fact and being Captain Obvious, as is my wont
 
2:16 PM
@StatikStasis I have this pinned to one of my corkboards: i.imgur.com/qsLx1Ip.jpg
 
Love it! @Tiffany
 
2:29 PM
Aretha Franklin died. =(
 
@StatikStasis Debugging CSS: Making educated guesses about what could solve it. But you do still not understand how the fuck that solution actually worked and still thinking the original implementation should have worked.
Was fiddling this morning with flexbox, flex-basis and somehow a min-width with the same value as the flex-basis did the trick - but why?!
 
flexbox is too complex for me
 
@PeeHaa I'm by the way actually mixing flexbox and grids - on multiple levels of nesting - works nicely.
@Tiffany you can do almost everything with pcre ... but some things written with regexes is just ridiculous ...
just because you can, it doesn't mean you should
 
@Tiffany yeah, I'm out. A well-formed xml is fine ...
(as long as you handle the CDATAs properly)
 
2:45 PM
@bwoebi I definitely do a lot of "hacky" behavior when debugging CSS. The Family Guy gif with Peter and the blinds are a perfect analogy for debugging CSS.
 
Wes
@bwoebi more info?
 
@Tiffany Html parser
 
@Wes don't remember exactly, ended up actually doing something slightly different
 
Wes
flex-basis is the width (on the main axis) of the element with the flexibility off
 
3:00 PM
user image
3
My next task at work is to optimise one function.
 
lol
Now I see the linenumbers :D
 
Wes
anyway ping me for css help :B that's one of the few things i can be helpful to the world
 
@Wes well, it's the minimum width as long as there's more than one element on that row
 
Wes
?
 
@Wes if you have flex-basis (and flex-wrap on parent obviously), it will wrap if it should be shrunk to a value smaller than its value. But if it can't wrap, it will still shrink.
 
3:05 PM
@Danack holy moly...
 
@Danack please clean these linebreaks up. if you remove them all, it'll be exactly one line of code - job done!
 
Wes
@bwoebi yes, you are saying that flex-shrink is essentially useless with flex-wrap:wrap
as wrap is applied before shrinking
 
@PeeHaa blog.codinghorror.com/parsing-html-the-cthulhu-way "We live in a world full of newbie PHP developers doing the first thing that pops into their collective heads, with more born every day. What we have here is an ongoing education problem. The real enemy isn't regular expressions (or, for that matter, goto), but ignorance. The only crime being perpetrated is not knowing what the alternatives are."
 
Wes
that's one of the things i complain about flexbox... but w3c right now is focused on standardizing ::first-letter. important stuff
 
@Wes ah. I already wondered what flex-shrink was all about, it never had any effect in my flex containers ... which are all with wrapping
 
3:09 PM
@bwoebi for that matter: rm -rf /
 
"Even Jon Skeet cannot parse HTML using regular expressions." Blasphemy!
Should add to jeeves skeet joke list.
 
@StatikStasis Jon Skeet just asks HTML to parse itself and it complies
 
There it is.
Jon Skeet could parse HTML using regular expressions but instead Jon Skeet just asks HTML to parse itself and it complies.
 
Wes
as you can see it doesn't try to shrink abcd in a single line
but it does shrink "e"
as it is larger than the flex container
it's poo, i know
there are workarounds to this though. but they are poo
 
@Wes it doesn't shrink e, that's the overflow
 
3:14 PM
@Machavity Jeff Atwood: "Parsing HTML is a solved problem. You do not need to solve it. You just need to be lazy." But... but... the new Code of Conduct says: "No name-calling or personal attacks.
Focus on the content, not the person. This includes terms that feel personal even when they're applied to content (e.g. “lazy”)."
 
@Wes you can set flex-shrink: initial there and it will make no difference
 
Wes
dude don't teach me css :P this is what it does when it doesn't shrink jsfiddle.net/q4e8cmuL/2
 
@Wes this looks exactly the same in my firefox
what browser are you using? :-D
 
Wes
really?
 
yes.
 
3:15 PM
Jeff Atwood still works at SO?
 
@Wes well, you sent me twice the same thing too though (identical source, different links)
 
@StatikStasis Hey, people are always welcome to try parsing HTML with regex. SO comes with no implied warranties against unholy things happening as a result
 
Wes
@bwoebi oops sorry jsfiddle.net/q4e8cmuL/4
 
SO comes with no warranty on anything anyway
 
Wes
you can tell it is shrunk because the border doesn't wrap around the contents
it ends within the flex container
 
3:16 PM
Focusing mainly on the "lazy" part. But I guess there is a difference in telling someone to "be lazy" and just plain out calling someone lazy.
 
@Wes ah thanks
 
Wes
btw, i was submitting this to csswg recently
i don't think it meets the expectations of people. it should be at least customisable
i mean currently is "wrap before shrink", but one should be able to tell "shrink before wrap"
 
morning
just fine, thanks... you?
 
Wes
are you talking alone? :B
 
only way to get a sensible conversation
 
3:27 PM
!!dad
 
What did the officer molecule say to the suspect molecule? I've got my ion you
 
booooo!
why shouldn't you trust atoms? bcz they make up everything!
 
huh, I always thought "ion" was specific to atoms, til
 
I had a friend ask me if I knew anything about Sodium. I said, "Na..."
If a queen farts is it a noble gas?
 
@Wes There's one annoying case when I have a fixed width container within the flexbox, the other containers don't want to shrink more, they wrap instead early
 
3:35 PM
I keep telling you all these chemistry jokes but to no reaction....
 
Wes
@bwoebi code?
 
A neutrino walks into a bar...
... he was just passing through
 
Wes
:B
 
@Ekin Too soon? ;)
 
3:39 PM
rite
 
@Wes ah, no, it's the input element
the input element wraps at ~147 px
instead of at the expected flex-basis, not sure what to do about that
 
Wes
@bwoebi add min-width:0 to the input
that's because the browsers have a default min-width on the inputs
 
@Wes meh, when I look in firefox inspector it just shows "min-width: auto" ...
When I mark the browser styles checkbox
...
 
Wes
yes basically auto is "it depends on the layout used"
 
okay, that also explains the min-width "solution" from this morning
 
Wes
3:45 PM
For min-width/min-height, specifies an automatic minimum size. Unless otherwise defined by the relevant layout module, however, it resolves to a used value of 0.
 
whatever a layout module is
 
Wes
layout module is css-flow, css-flexbox, css-grid etc
so each one of these specs defines what min-width:auto should be in that case
i doubt they do that though :B
 
@mega6382 So amazon responded. Apparently I needed an additional rule inside the NAT SG ""All ICMP - IPv4" Destination as "0.0.0.0/0." Now I can ping from the NAT out.
 
@Ekin Superb investigative work there. =D
 
@Fabor did you finally stop laughing at my ex-boss?
were you able to sleep last night?
 
Wes
3:53 PM
you remind me donnie darko's rabbit
 
Wes
i love that movie. need to watch it again :B
 
except its a stoner rabbit
 
@StatikStasis well, there were 6 results for neutrino, so not really :)
 
@rabbitguy heh no. You saw the tweet by Anthony?
 
3:54 PM
yeah... was he the one who couldn't stop laughing?
hehe
 
@Wes You love those dark films.
 
Wes
i wouldn't say it's dark
 
Donnie Darko is not dark?
 
Wes
it's just fucked up
 
um I think it's implied in the title
 
Wes
3:55 PM
lol
 
I have some strange connection between him in that movie and my epilepsy
like something I think when I have a seizure I am time traveling or some stoner idea
 
Wes
:B
 
that last sentence made me feel I had enough internet for today :p
 
me talking about my epilepsy?
 
'when I have a seizure I am time traveling' ...
just reading that
 
3:58 PM
nods
 
tbh, when I have a seizure, I go to a very special place
 
The hospital?
 
sometimes
it is spiritual thing, tbh
or I've made it that over the years in an attempt to draw meaning from them
 
Church of Seizures. You could start a cult.
Time for some exercise. bbiab.
 
4:02 PM
@Wes another thing I stumbled over today: if your svg filters are defined within a display: none container, they aren't applied at all
In Firefox at least
 
Wes
dunno about that but doesn't surprise me
 
@Wes but you can use <symbol>s defined within display:none containers
This asymmetry makes like no sense to me
 
@Danack it just dawned on me... that thing is over 700 lines long... why the fuck? how the fuck? I'm guessing it's a router call, but why and how could a router call be that fucking long?
 
you must be new to the world of developing applications, @Tiffany
 
... no she's not.
 
4:12 PM
I know she's not...
rolls eyes
 
I'm trying to wrap my brain around why ... what should be a simple router call ... take 700 lines. I know the obvious answer is it's doing stuff it shouldn't be doing, probably a bunch of business logic, but how and why the hell did that happen?
 
I'd say something like "hey let's inline that handler because we need rapid prototype", followed by months of "ok we need to add this and that".
 
@Tiffany Never seen huuuge controllers?
How nice, young and innocent :P
 
Wes
@Tiffany no layering. it's probably a mix of controller, service and stuff... it's not that programmers cannot do that, it's that probably they had to do that
 
One hardware-ish question. Is two 4GB rams better or one 8GB ?
 
4:18 PM
did @StatikStasis suggest I start a church that revolves around having seizures?
 
It sure sounded that way ;)
 
Wes
2x4gb is better because dual channel
 
@Wes s/because/if/
 
lol... does that make me some kinda prophet since I am the founder?
 
@Shafizadeh depends... two 4GB RAM sticks takes up two slots on your mobo, one 8GB only takes up one, so if you wanted to expand in the future, you're limiting yourself on amount of slots available. two 4GB is probably cheaper though.
 
Wes
4:19 PM
all modern chipsets if i'm not wrong support dual channel
 
and what @Wes said
 
@Wes No idea about servers
I fucking hate hardware
 
we smoke a lot of weed in my church and you don't have to be epileptic to be a member
 
@PeeHaa you mean 2x 4GB can be implemented assembled (series is not parallel) as one single 8GB ram?
 
class Hardware implement IFucking
 
4:20 PM
your life just has to have been effected by an epileptic
who's joining w/me?
 
@FélixGagnon-Grenier I want to star...
 
yeah me too
 
Fuck it, room owner can clear it if they don't like it :P
 
lol
the fucking drugs, man... they really drag me down :(((
 
4:22 PM
the drags.. they really drug me down
... ok sorry, I'll stop with these silly rewordings
 
adavant aka a benzodiazepine
 
fucking hate benzos, but they slow me down which lowers my risk of having a seizure
 
Wes
4:33 PM
@bwoebi i need some help identifying a data structure name
it is binary search tree based, i think
i have a set of values that has a natural order and is enumerable
e.g. integers
the data structure would store ranges rather than single elements, e.g.
$data = [1,2,3,4,5,     10,11,12,13,14]; // no
$data = [1 => 5, 10 => 14]; // yes
it can be done with a simple map but a navigable map makes the lookup much faster
do you know how this data structure is called?
 
evenin'
 
Wes
\o
 
o/
 
Hello , im looking for some advice. I need to build a website that shows services in different towns and cities. for example you go to website.com/city/birmingham and it will dynamically pull the services that are within birmingham.

Is the best way to do this to make a db table "towns" and manually input every single town, then make a pivot table linking the service to the town? Seems a bit long to do that. Is there any other way of achieving this?
 
4:50 PM
@virepo define "services"
 
Can't help. I never did anything geographic, except for reading open data and manually entering road data.
Doesn't OpenStreetmap have some API ?
 
Wes
15
Q: How to check if a certain coordinates fall to another coordinates radius using PHP only

Kenneth PalaganasI have seen so many functions but it happens to work only for MySQL or Postgresql. I want the equivalent logic for PHP. I'm doing some comparisons, like I have this data that were being produced when created. Lat: 56.130366 Long: -106.34677099999 Later on, I want to check if this coordinates w...

right away or straight away, that is the question
 

« first day (2861 days earlier)      last day (2101 days later) »