« first day (2602 days earlier)      last day (2347 days later) » 

11:00 AM
@ShrekOverflow Is that already the final hash that is compared to the data stored in the backend? Or does it go through another round of bcrypt or whatever?
 
@OliverSalzburg Ofcourse it goes through Bcrypt
I am not a bank developer you know.
 
Just checking :D
 
@OliverSalzburg I work for Auth0
 
I know. I keep a file on all of you
 
Haha
I'd be grilled if I wouldn't BCrypt :P
Although as a side effect of working for Auth0, most of code I'll ever write will be paranoid level.
 
11:03 AM
:D
 
@OliverSalzburg 😲
 
I just did a boo boo
 
user5891775
Hi. I'm Farty
 
11:06 AM
@BenjaminGruenbaum Thats a weird mix of eww and oh wow and what
 
Hey Vue.js pros; is there a way to comment in template (like an attributes in a components) ?
 
@towc
 
@Baldráni <!-- comment -->
 
Is there a way to use cross-env to have if logic in npm scripts? Eg if they are on window I want a different command to run.

https://www.npmjs.com/package/cross-env
 
@SuperUberDuper I'd just have explicit commands instead
 
11:21 AM
ok
 
$ npm run build:win
$ npm run build:osx
afaik you can have os specific
index.js file which calls these
1
Q: npm package.json OS specific script

gawiI would like to create a package.json build script that executes slightly different set of commands when run from Windows, Linux, Mac. The problem is that I cannot find a way to put it in package.json file that will run without problems at every system. Here is an example that I would like to h...

 
Start all scripts with bash -c :P
 
hi anyone here know about google maps api ?
 
Yeah, it's an API for maps provided by Google
 
im trying to get lat, long from location but getting error 'Cannot read property 'place_changed' of undefined'
 
11:27 AM
@SajalGupta please show code
 
user5891775
whoaa
 
Jesus you are developing on prod!
!!giphy badass
 
@OliverSalzburg That wasn't working :/
 
11:28 AM
@Baldráni Then I don't know
 
google map api doesnt work on localhost
 
I guess there is no solution yet
 
@ShrekOverflow the only real way
 
!!giphy ratajkowski
 
!!undo
 
11:29 AM
Sry haha
 
yeah, sorry. but it's best to keep nsfw content out. At least not embedded
I might try to remember that name though, who kows
 
bitcoin, altcoins, stocks, everything has gone down now
 
that happens, yes
 
anyone helping me ?
 
11:31 AM
Is recession calling? :P
 
user5891775
@SajalGupta um. i think it does work on localhost.. show us your code
 
@RahulJain This is just correction I hope you didnt invest in the tip haha
 
did you check allow location?
 
However unless you're daytrading you can not give a sigle fuck about it
 
@Baldráni don't know, just expecting some growth in 1 month
 
11:33 AM
@ЧеловекиPHP seems like someone hacked it before I came back from my coffee break lol
LUL
cc @OliverSalzburg @GNi33
 
awww, who was that?
 
dunno
 
@KamilSolecki It wasn't me!
 
it's back \o/
 
@RahulJain Just w8 then
 
11:35 AM
@Baldráni greed vs dollar cost averaging, putting a big amount at once makes people panic even if they don't daytrade
 
2 hours ago, by Человек и PHP
@KamilSolecki man i've tested many times this framework, it works perfectly
(X) doubt
 
He did that himself to troll us!
 
@RahulJain Do you panic ? I don't Fomo is for new user. We have seen this b4 and will se that again. I really don't give a damn. Moreover volatily is clearly a good way of making big profit :)
 
Even oboecat doesn't dev on prod!
@RahulJain where?
 
> All developers have a test environment, some are even lucky enough to have a completely separate production environment.
3
 
11:38 AM
:D
where is that from?
 
@Baldráni yeah lol. I lost some earlier in fomo, but won't anymore. the only thing panicking me is the blogs which are saying that cryptocurrencies are just bubble and bitcoin is ready to burst now, $10000 is really huge
 
@ShrekOverflow A JPEG of a photo of a slide during a presentation I saw on reddit once
So, yeah :(
Everybody has a testing environment. Some people are lucky enough enough to have a totally separate environment to run production in.
Maybe this guy
 
@OliverSalzburg I am going to use that now
 
A clone of @SterlingArcher
 
@RahulJain Mcafee founder bets his dick on the fact that it'll touch $1Mil by 2020
 
11:40 AM
@ShrekOverflow Please do. I love it :D
 
@ShrekOverflow That's cause he has money in it and wants to fuel the hype
 
I am not an Ogre. I know that, just quoting.
 
@RahulJain Well you shouldn't look at Bitcoin at 10k but at Marketcap at 300Billion (is this huge ? I don't think so) There can't be a buble if there is no invest in the first time. Moreover the technology behind blockchain) does not really allow buble (for the most part ofc)
 
And those who talk about the bubble are just trying to short it!
 
11:41 AM
^
 
@ShrekOverflow Isn't that just too much? Like, when everyone would invest in bitcoin and still it is being accepted only at certain places, why would it grow. Like I don't know how exactly the growth of coin works lol, so I should better shut up :P
 
Everyone is gaming the system and, seeing what kind of people are putting money into it (idiots), I think it'll work just fine for them
 
@OliverSalzburg I just modify production files from FTP
who needs dev env
 
@Neoares What FTP? The files are hosted on my workstation, the HTTPd is pulling them off a samba share
 
11:43 AM
@OliverSalzburg TRUTH has been spoken
 
@OliverSalzburg who's talking bout you! :/
 
@RahulJain Growth of coin is prettry basic : coin in circulation / money invest in
 
but I agree, I'd do that also
 
@Neoares I just slipped into the first person for that one
:D
 
:D
 
11:44 AM
@RahulJain I would have trusted it had it come from say Forbes and Warren buffet was claiming that
but from a "private giant" I'll take that with a pinch of salt
 
@FartyMcFartface Google Maps API error: RefererNotAllowedMapError developers.google.com/maps/documentation/javascript/…
 
like, there's people hat does something called "tests" @OliverSalzburg
I mean they spend time doing code that does nothing on production
pffffft
 
I once wrote a test. It failed. So what's the point?
 
@SajalGupta That link even has explicit details on how to fix it.
 
@RahulJain Hum yeah the article make some sens and indeed bitcoin is some sort of a bubble however its important to think of Bitcoin as the major asset of cryptocurrency so don't worry we are still far from a crisis
 
11:46 AM
@OliverSalzburg if it fails just remove it and move on
 
@OliverSalzburg git push -f origin master what could go wrong?
 
it works for me
 
@ShrekOverflow origin master is redundant, because I'm obviously already on master tracking origin/master
 
@ShrekOverflow coindesk.com/…
 
11:48 AM
> origin master is redundant, because I'm obviously already a master
 
> "You can’t value bitcoin because it’s not a value-producing asset."
Not
 
@ShrekOverflow yes, and that is why I took my program online.
 
calling it a bubble
 
where that api is working
 
dollar is a bubble
euro is a bubble
I'm a bubble
 
11:49 AM
but im getting error in 'place_changed'
 
his stance changed very signifcantly if anything from 2014
 
when he called it a Mirage
 
^ :')
 
Also again I said and b/w forbes, buffet not or
 
11:51 AM
I could go forbes a buffet right now myself!
2
 
@ShrekOverflow lol.
 
@OliverSalzburg Ayy!
 
6
Agriculture

Proposed Q&A site for farmers and people who enjoy plant life.

Currently in definition.

cc @rlemon @KendallFrey and all canadians
 
We're not all farmers
 
11:54 AM
@KendallFrey wait really
 
who said you are all farmers
 
farts.stackexchange.com
I propose^
 
@KamilSolecki but yeah that was my actual reaction
 
@RahulJain btw the ruler of the world Vladimir Putin is interested in BTC now
 
11:56 AM
@KendallFrey what's this from?
2
 
also Forbes && Buffet
 
Letterkenny
 
117
Weapons

Proposed Q&A site for any type of weapon, from ancient edged weapons and archery to guns and military systems.

Currently in commitment.

 
You are giving me Forbes || Buffet
 
I'm not very attentive, am I?
 
11:58 AM
@Neoares Thanks for the heads-up. Don't we have anything bigger regarding plants?
 
there has to be a 3dprinting one, right?
 
I should partake in this social online gathering of fellow-minded gardeneers
 
of course there is, nice
 
@Neoares Incoming ban on StackExchange from a lot of countries
 
@ShrekOverflow that's not how gun laws work
 
12:00 PM
@OliverSalzburg I have an orchid and 3 cacti, do I qualify
 
!!breakfast or lunch
 
@towc lunch
 
its again that cap wont let you have breakfast
Also, I'm skipping work today. One of the producers im working with is throwing a party \o/
 
@ShrekOverflow isn't SO from murrica?
 
@GNi33 There are countries which banned github because its a text sharing site
 
12:01 PM
china?
 
yes, you can share ascii porn
 
or which countries are we talking about here?
 
wait, is trollland not india?
 
@KamilSolecki Yes!
Which cacti?
 
@towc no, they are from The Wastelands
@Loktar can confirm
 
12:03 PM
@OliverSalzburg yay! its.... a round one :P
 
@KamilSolecki Post pictures so I can put them into your file :P
 
will do as I get home
 
(RXJS) I have an array of 3 numbers. I want to emit a number....delay...emit second number...etc. How can I do that ? I already have Observable.of( this.items).delay(1450)....now?
 
!!wat
 
I'd use a custom function
 
One of my favorite cacti started a lot of new growth recently. I bet it got turned on by me turning on the radiator
 
Rx.Observable.of(true,false,true).delay(1000).subscribe(console.log) - this writes all values at once after a second. I want to emit each value after a one second delay.
 
have you tried a custom function?
 
^why ? i'm sure there's an rxjs operator for that.
 
then find it
 
12:10 PM
I didn't
 
Is there a "better" way to do this? Object.entries( conditions ).map( ( [ value, property ] ) => {...});
Because our linter and code formatter disagree on how this should be formatted :(
 
for...in? Object.keys? and get the value later ofc
 
I don't know. You first asked me about forbes and buffet if they call it bubble, and they both calling it bubble. Forbes: https://www.forbes.com/sites/jamiehopkins/2017/11/29/bitcoin-might-be-a-bubble-but-digital-currencies-are-not/#31b4fef15d02

Buffet: https://www.coindesk.com/real-bubble-billionaire-warren-buffett-doubles-bitcoin-doubt/
 
Thats Forbes || Buffet
not Forbes && Buffet
both those articles are written by people either paraphrasing him
 
No, there are both links
 
12:12 PM
or not him
Yeah I know but I'll only consider it if
he explains to Forbes and forbes accepts his explanation
and then publishes it :P
 
Object.keys(conditions).map((key) => { let property = conditions[key]; .... });
 
ok ok. lets see lol. today is just very fluctuating day :P and notjust btc, eth, ltc all are falling to whre they came from.
 
see if your linter/formatter agree on that
 
Ofcourse
anytime any market goes up it falls down
thats just how markets are
the key of growth is a steady rise -> fall (not the the very ground) -> rise up
 
@towc Yeah, I'll go with that. Thanks
 
12:15 PM
weird that your things disagree
 
@OliverSalzburg I'm slowly starting to wonder if you actually keep files about all of us
 
Found it . Rx.Observable.of(true,false,true).zip(Rx.Observable.timer(0, 500), x => x).subscribe(console.log)
 
That's not at all weird once you realize that a lot of people write a lot of shitty code
 
what rules were you disobeying in the linter?
 
@towc indent
 
12:15 PM
uhmmm that's weird
 
:40252472 i am not experienced, I basically have an absolute garbage life
 
either way, I can see how Object.entries can get kinda confusing and lead to bad code. It also returns a proto which fucks things around
!!> Object.entries({ a: 1, b: 2 }).map(console.log)
 
@towc ["undefined","undefined"] Logged: ["a",1],0,[["a",1],["b",2]],["b",2],1,[["a",1],["b",2]]
 
oh wait, no
 
12:17 PM
That's what ESFormatter makes of it
And touching those rules is a sure way to waste at least a day of work
 
@OliverSalzburg I'd format that with the [ on its own line indented 3 tabs, and the contents indented 4 tabs
 
return Object.entries(conditions)
		.map(([value, property]) => {
			....
		});
try something like this
 
@KendallFrey You can format that all you want. Once you auto-format, which we do constantly, it fucks it up
 
You can't control how your autoformatter works?
 
@OliverSalzburg oh
 
12:18 PM
@towc There is no other way to format it. You have to adjust the ESFormatter rules
1 min ago, by Oliver Salzburg
And touching those rules is a sure way to waste at least a day of work
 
well, that kinda sucks :/
 
I agree with you wholeheartedly my dudes
 
I also don't like the rules it has currently :P
 
12:20 PM
I almost seems worth a day's work to get two tools that don't fight each other.
 
And ESFormatter has bugs which we have to work around
 
hmmm don't use ESFormatter then?
 
Which also complicates the matter further. You can't just use any rule you want, because some of them are conflicting with each other
@towc That would be an option. But we somewhat rely on it and it makes it a lot easier for the team to stay within the code syle
 
how about another formatter?
one that can be coherent with your linter
that seems like a basic requirement
 
@towc If you can suggest one that allows us to define a ruleset that fits our code style 100% and doesn't have any of the issues ESFormatter has, I'd be happy to learn about it
This right now is not a huge problem. It's an inconvenience brought on by the fact that ESFormatter doesn't understand destructuring
 
12:23 PM
well, I don't know of many, but there has to be one
 
@towc That's what I thought
 
@OliverSalzburg maybe publish it on NPM ?
 
how about you fit your coding style to a formatter, and not the other way around? Tools shouldn't be obstacles, but there's a point where you're just being picky
I've heard prettier is nice :P
 
Prettier is very nice
 
works well in vim, and formats as you type, which you may hate, but might be worth it
 
12:24 PM
Consider that we use ESFormatter throughout our entire code base, which is vetted to produce 0 linter errors when auto-formatted. We moved from WebStorm providing the same functionality and it was a major undertaking
 
I am loving it while using TypeScript and Even Java
although making Java prettier is a hell
 
@OliverSalzburg urgh, how big is the codebase :/
 
@towc If you think this is the first time we had issues like that, you're mistaken. This was a long battle of constantly adjusting on either side of linter vs formatter
The current situation is already after all those battles
@towc I maintain ~45 modules of varying size
 
well, ouch
it seems like a trainwreck in the distance
 
And tools are constantly getting in our way, which is why you constantly see me talking shit about everything :P
 
12:27 PM
remove all tools, assign someone to format and lint manually for a few days, while another team is working on creating the company's own formatter and linter 😃
no but really, it could be fun to create your own linter/formatter. Using esprima it should feel as easy as making css rules
 
@ShrekOverflow We have an internal module related to maintaining code style and project structure. That is on npm and it includes those rules
 
uuuuuh I could make a linter tool that takes in css-like configs, and uses them on esprima!
 
@towc We have considered that and it is not viable for us
 
I think we should have a js room style package on npm :P
personally I used airbnb style
 
12:29 PM
the AST should be as easy to traverse as the DOM
they're both trees
might be slow AF even simply because of esprima, but heh
well, I know what I'm doing today
 
@towc As always, it's a lot more complicated than you think, once you really get into it
You think you have a consistent code style. But you don't
You have exceptions of which you are currently not even aware
 
@OliverSalzburg can imagine. At this point I'm not even trying to help your company anymore
 
Like how stuff has to be formatted when it's in a comment or what about foreign-language content? Like JS inside HTML
 
I've accepted that I'm very likely not more clever (or produce a same amount of knowledge in a shorter span) than the people in charge at your place
 
Other people are usually not smarter than you, they are just more experienced at making it seem like they are
Like, I used to trust people just because they have a blog
People don't know shit
But they're still happy to blog about it
 
12:35 PM
That goes both ways, you usually are not smarter than other people
 
Good point
 
Usually being self aware is nice. But I guess it comes from experience, understanding Congnitive biases should be life 101 :P
 
whatever works for one
 
12:52 PM
@Traitor That is very wise
 
I'm still waiting for the first thing that "works for me" :(
Even though I say that exact phrase whenever I receive a bug report
 
user5891775
Hey
 
user5891775
It's Farty McFartface
 
@OliverSalzburg You are on the roll today aren't ya?
 

« first day (2602 days earlier)      last day (2347 days later) »