« first day (2699 days earlier)      last day (2474 days later) » 

11:01
it works for me
you have to iterate over notifications, not panels
> for (let i = 0; i < this.state.panels.length; i++)
at least your array is an array of notifications
yes, i needed another loop for the notifications
thank you mate
omg, I just finished Evangelion today. 'twas a masterpiece
So I first need to set up InTune in O365 to create a new MDM profile so that I can disable this Windows Hello/PIN bullshit
Let's get back to this tomorrow, I guess :P
@SaitamaSama Evangelion?
11:06
@Wietlol it's an anime myanimelist.net/anime/30/Neon_Genesis_Evangelion (pls no shame :P)
oh man the "we have fresh fruit" in job offers always gets me
@OliverSalzburg tell me you also add that in your offer descriptions
@Neoares What do you mean?
the "we have fresh fruit and drinks" perk in job offers
on the "what we offer" section
I'm like "dafuq just give me more money so I can buy them by myself"
Oh yes, we have that as well
xDDDD
11/10 would work there
11:10
That's just because working here has no perks and we had to put something on there ;P
naturally
buy a freakin' ping pong table
gg easy
Nah, we also offer good stuff. But these offers, bottom line, cost less money than a higher salary
Due to how taxes apply and shit
So it's cheaper for everyone, in theory, if you eat the company food
What we offer:
- a lot of stress
- frustration
- long days
- almost-free water available
- annoying noises
- fresh fruit*

(the fruit is not to be eaten)
11:13
aww, then what's the point?
@OliverSalzburg yeah... some of them offer a ticket master credit card
so you can buy food with it
I actually had one in my second job
I guess companies pay less taxes for that
there is both a ping pong table and a billiard table in the kitchen/eating room here
I work in a 4-man company
we have a water machine, that's it
ah that is different
I work remotely
11:15
and 3k€ laptops xD
@Neoares you could build some powerful PCs out of that amount
why laptops?
cause they're better for a job
I mean you can bring them wherever you want
@FlorianMargaine all week or do you have presence days?
if you travel, for example
hi btw :)
11:16
o/
@GNi33 I live 700km away from my office
for example when we went to the mobile world congress
we just brough a couple of them to show our demos
I see ;) I kind of envy you
@Neoares you could just ssh into the pc from a non-powerful budget laptop (or phones)
I come a few days every other month, there's an office with ~10-15 people, but most people are working remotely
(we have like 50 people working from their home, all over the world)
11:17
yeah, that would be perfect for me as well
@SaitamaSama ssh?
we need to show video lol xD
trust me, this is easier
@GNi33 you can send me a resume, I'll see if that matches our interests?
I do need a dedicated office at home, but then I love working remotely
@Neoares okay then :B
I do need a dedicated home at office
11:19
@FlorianMargaine I did consider applying to you guys a few times actually
but I really want to finish my masters before doing anything like that to be honest
that time that program eats up is ridiculous
but thank you very much for the offer, really appreciate it
11:38
Hi !

I have an unanswered question (there is an answer but it doesn't solve the question, despite it has been upvoted by someone) and after looking over SO FAQs, I read that I should come here and hope for finding someone with an answer ^^
So if anyone agreed to sacrifize / invest some time on my question, I will be eternaly thankfull :-)
0
Q: How to encapsulate / wrap a VueJS component?

MiaowHi everybody, please pardon my english :-) I have a Vue component that can take dynamic slots (the names of the slots will depend on a props). I use it on several places and some of the slots are always present. To avoid redundancy, I'm looking for a way to create a component that "wrap" the f...

ding ding ding Vue warning
nah fuck it, I won't get into the stereotype
lol
that is not how you salute when you join the room
I don't salute
some manners please
you did :P
11:41
(It's the first time I use this chat, tell me if I should do something in other way)
@Miaow I was talking to towc :)
(And I dont speak english very well so I may need to take more time to answer than average ^^)
@Miaow never ask forgiveness for bad english
!!welcome miaow
just put effort into it, and it's fine
11:42
@miaow Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
!!do you need a coffee?
@Neoares No
@CapricaSix I'll do that immediatly ;-)
I already like this guy
oh wait, the welcome was due to @kamil command
I thought she was so delayed
11:44
(Please don't tell me that I answered a bot... ^^)
(you did :D)
Hahahaha
some people need days to realize
#achievment
!!are you a bot, aren't you?
The name helped me ^^
@Neoares I'm not so sure anymore. It can go either way
\o/
@Miaow french or german switzerland?
11:45
French
dang it
@Neoares he used chat in 2017, hence cap didn't trigger
baguette
croissant
youtu.be/QJwIsBoe3Lg English <-> French jokes
11:47
@Ikari did you just reset cache on me
a french laughing about french culture?
@KamilSolecki might have done
is this the end of the world?
@Neoares Not french, but definitively lauthing at it ^^
...but to come back to my SO question... ^^
Anyone with VueJS knowledge and nice intentions ? ^^
first the french canadians and now the french swiss, this room is in danger :P
11:49
Mwahaha
@Miaow I know a guy that meets the first condition
but he has no soul, I warn you
@Miaow sadly, not too many people in the room use vue afaik
there are a few, maybe they'll help you out
@Neoares I dont either, I already sold mine
Hi!

I have found an unanswered question to which I need to find an answer and after looking over SO FAQs, I come here in hope to find someone with an answer ^^
So if anyone agreed to sacrifize / invest some time on my question, I will be eternaly thankfull :-)
@jr.root.cs Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
11:52
0
Q: Python Flask + Javascript : return image and display in web page

Jackson_DKMGPossibly a silly problem but i couldn't solve it alone. I am running a Flask application and one of the functions allows to take a picture from a camera on a remote raspberry pi zero, then display it on the web page with JavaScript. All I am getting seems to be the EXIF data of the picture, e.g...

@jr.root.cs Wow, that's a responsable reusage of message xD
Planet earth thanks you ^^
(Sorry, can't help about phyton =/ )
@Miaow Yap, stuck without inspiration ...
;-)
@jr.root.cs send as a blob instead
@Neoares Indeed. VAT applies differently for us
user9107868
11:57
JASON!
user9107868
silence reigns
And money that the company spends on you is spent before income tax is applied, thus, we get the product 19% cheaper and we pay it from the money pool on which no income tax has been paid yet
Money is good before society got their cut :(
user9107868
say WHAT? ^^^^^^^^^^^^^^^^^^
what's with you?
12:02
@OliverSalzburg fuck society
btw... is there a spread operator for python?
hi guys
I want to merge dicts
oh I have the ** thing :P
i need a library for dates and times manipulation; initially I tried to use moment.js, but didn't like it due to mutability. What would you use then, luxon.js or date-fns?
12:19
This is odd when i am building a component a .bin file is created :( for only that one page all other pages are working fine.. and this is also happening on just one system i am unable to understand why i am getting this kind of behaviour has anyone ran into similar issue
@cafe_ you didn't like it because of mutability?
yeah
is there a reason for this inparticular?
go use luxon then
well, a project i'm working on right now uses mainly ramda.js and constants
12:25
meh
so I'd rather avoid mixing styles
ramda.js >.> whats that
idk
you tell me
google is your friend.
thats what i am doing now :D
rubmling lambda ?
12:26
that was just awe like I am hearing about it for the first time
@AtharvaPandey stick around.. you'll hear a lot of weird libraries in this chat
"Hey, has anyone used pickleRelish.js?"
hahaa @Neil as much as I want to recently I am getting quite less time... i hope once i move out i ll be sticking around here a lot
0
Q: Not able to bind Js variable into table column title tag

Saurabh Sharmavar q = "SELECT Name, Address FROM Login where Login = 'app'"; <td title="+q+"></td> When I move cursor over table column. It shows: SELECT Name, Address FROM Login where Login = It isn't showing full string

@AtharvaPandey Good man (or woman)!
I advocate for all the food based libraries to have to work together well with their matching vegetables. Say, parsley.js would have to work together with curry.js
speaking of, I'd love some strogonoff right now.
12:34
aint you missing an a there ?
like stroganoff ?
hm, maybe lemme check
@Neil MAN @KamilSolecki and I wish they had this chicken.js instant fried chicken
yeah, stroganoff*
it is from beef stroganoff :P
Not sure if I ever shared this here, but here yall go
12:43
Damnit, now you're making me hungry
I just ingested so much philosophy atm that I might just pass a PhD course about it
I'm about to eat tortellini with pesto
@Ikari what kind of philosophy
0
Q: Why does Windows convert the operator "=<" to "= 0<"?

Oliver SalzburgI have the following batch file: SET /P FOO=<"foo.txt" This is an attempt to read the contents of foo.txt into the variable FOO, as suggested in How to read file contents into a variable in a batch file? . This method has previously worked fine for me. When I execute the script, I get the fol...

In case any of your have an idea :P
3 hours ago, by Madara Uchiha
@OliverSalzburg Your fault for using Windows.
12:48
I'm seeing this on multiple machines and it stopped happening at home for magic reasons
@KendallFrey okay, how do I express this, umm, some sort of exotic mixture of despair, hope, gore, and ...
that's... not philosophy
okay...
@MadaraUchiha Upvote my questions instead of taunting me!
I need to process what I just watched anyways, I'm sure I didn't understand half of the things what was said there
12:52
Unfotuntaly both result gives same resullt as 150 letter 🤔

<p>
  {
    newsDetails.content.length > 150
    ? `${newsDetails.content.slice(0, 150)}`
    : `${newsDetails.content}`
  }
</p>
@Muhammed Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
@OliverSalzburg stored as .bat or .cmd?
@KarelG .cmd
wtf And I just had one version of the file that worked and now it stopped working again
At home I had fixed a case of this by typing the offending line again. Which produced no diff, but worked
ha, I can reproduce it
intriguing
13:06
It works if I run the script in PowerShell :P
powershell D:
I only like the name
mv build.cmd build.ps1
Problem solved :P
Well, not really. I can't rest until I know the source of this
13:23
@Muhammed I would do the slice before the react {}. A ternary like this is really not neat
TIL vim has an :edit, or :e, which is like :open, but with autocomplete and other stuff
Also if it's text, you do a substr, not a slice, right ?
Slice for mutating, substring for displaying
!!> "you just lost the game".slice(-8)
@rlemon "the game"
13:25
@BenFortune slice doesn't mutate
lol
Am I thinking of splice?
@KarelG Seems like the = 0< is just somewhat more explicit syntax and should really be the source of the problem
yes
Oh I never used slice on string. Usually substr/substring. Still a lot to learn
:41527614 the actual code looks like this
  render () {
    const newsInList = this.props.currentNews.map(newsDetails => {
      return (
        <section className="media" key={newsDetails.id}>
          {newsDetails.image && <figure className="media-figure">
             <img src={newsDetails.image} />
          </figure>}
          <div className="media-body">
            <h3 className="media-title">{newsDetails.header}</h3>
            <TagLink links={newsDetails.tags} filterHandler={this.filterTag} />
@KarelG That accusing glare.
@KarelG man now I have to find the reddit post
people were debating if it was the same dash, and shit got real.
like, 3d modeling the dash kinda real.
check wcgw sub
@Muhammed your render returns nothing.
no, that's a repost
the original was months ago
maybe longer
@rlemon months?
I remember that from like 3 years ago
52 secs ago, by rlemon
maybe longer
well yeah
"the original one was milliseconds ago, maybe longer"
11/10
@Muhammed create a function
13:49
there's an order of magniitude of difference
@dievardump Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
your answer is not valid
oohh and apparently it was Twitter, not reddit
@Neoares sure is
ooooh Japan
you're just butthurt because it's so good
13:49
@CapricaSix I did indent it. It's so chat that doesn't see it, tssss
Still love you bot
@rlemon lol the people in twitter
and doing 3D models of the car
@KarelG I got the solution if you're interested ;D
I think I got it anyway ;P
I am
The = 0< syntax is correct
In fact, the opposite is explicitly written as ECHO "It works" 1>"foo.txt"
This was not the source of my issue
The source of my issue was that, if you place a SET /P inside an IF, then it doesn't work
13:54
noob
0
A: Why does Windows convert the operator "=<" to "= 0<"?

Oliver SalzburgAs noted in my comment, the observed behavior is not the cause for the variable not being set. The variable not being set is apparently caused by the SET beint inside an IF. The following script will only print Pass for the first ECHO on my machine. @ECHO OFF SETLOCAL ECHO Pass>"foo.txt" SET /P...

should have known that
How is there a 100+ upvote answer on SO and nobody mentions that?
!!giphy noobs everywhere
edit it in?
Adventure Time!
@rlemon Fuck that. I bet I'm not even seeing the problem clearly and I will just embarrass myself
Comment it is :P
@OliverSalzburg o.o ?
omg
@KendallFrey @SterlingArcher i.redd.it/1g5jkk3yz7k01.png
13:59
still your answer does not explain the problem

« first day (2699 days earlier)      last day (2474 days later) »