« first day (3084 days earlier)      last day (1874 days later) » 

8:00 PM
kevin still likes jquery
 
That's not a compelling argument against them.
 
so his opinion is invalid
 
Kevin dislikes everything
 
eh, it's for teh same reason i hate jquery. bad devs abuse the shit out of it for the sake of using it rather than using it to create clean code
 
8:01 PM
*literally no one*

kevin: "I don't like it"
 
destructuring is definitely abused in react components
 
kinda like arrow functions
but i like arrow functions
 
spread is generally abused in a way that it ends up allocating an entirely new object when it could just insert elements into an existing one
 
When I started using jQuery I didn't know that document.querySelector existed. I thought jQuery was original in its use of css selectors.
 
jquery was original
 
8:03 PM
it... didn't for a while lol
 
@ndugger I think that's one of those things that's hard to generalize
 
jquery is why it exists
 
oh so I wasn't totally wrong
 
@DavidKamer not really. I see it all the time. I never said 'always', but 'generally' definitely is appropriate here
 
Did any other library use Sizzle.js prior to jquery?
iirc is was created specifically for jquery
 
8:05 PM
I see people do [ ...foo, bar, baz ] all the time in places where foo.concat would be far more appropriate. Obviously there are cases where it isn't, but newbies don't really know the difference
 
@ndugger idk, I'd rather see it more than when someone calls a ton of Object.assign and stuff like that
 
Most of the time, using Object.assign and object spread do different things
 
or like 2-3 lines of code to replace
 
I'd rather see Object.assign where its appropriate and doesn't need to allocate an entirely new object for no reason
 
fair
but I haven't seen it misused or even used very often tbh
 
8:07 PM
I work at a very large company
I see things
Bad things
 
@rlemon Where do you put Webpack stuff?
 
I hated the Class syntax initially, but, meh, better than noobs trying to understand the prototype
 
haha, yeah. I use it a lot tbh, but not as much as I once did
hmm. I wonder why people like doing things the hard way. It's like "that's not cannon"
I think it's important to understand prototype, but I don't like seeing it
 
it's not about "hard" or "easy", it's wanting to do things the way that is familiar
 
I understand that
 
8:09 PM
JS was my first language that I actually learned the ins and outs of, and I welcomed the class syntax with open arms. Instantiating a function makes no god damned sense
 
foo.#bar is very foreign
 
Honestly I wouldn't like using JavaScript w/o ES6. I would probably be in a different field...
yeah that looks ugly
 
I'd rather it be a utility function
 
I agree that it looks bad
 
the rationale behind it is really stupid
 
8:11 PM
@ndugger it is funny that Java is starting to look more like JavaScript and JavaScript is starting to look more like Java though
 
javascript is looking more like a toddler scribbled some crayon on the back of a VHS tape
pls
 
Just implement _ into the base language
 
that's a shit solution too
 
@ndugger ha, I'd love to hear more about that
 
just make all java code legal in js, but only when prefixed with &
&public &static &void main
 
8:13 PM
@forresthopkinsa but if you add \ before & it still acts like a bitwise operator
now \ is mandatory
for &
 
their entire reasoning behind not using the private modifier is that it's not really "private" in the sense that traditional languages can have private members, but javascript already fucks up every other programming concept too, like how our classes are prototype-based, so I couldn't care less that it confuses non-js developers to have a filed marked as private that isn't really private
It's a better decision than using the pound symbol
 
simple
don't add the feature at all
 
I agree
at this point
if the language can't support it, don't do a half-assed hideous work around instead
 
is there an ES7 standard in the works yet?
 
didn't they move to year based shit
 
8:15 PM
they're on like es9 now, bruh
 
so es2019
 
aaaaaahh shiiittt
yeah I forgot
I did think they did major releases still...
 
and here we are still compiling everything out as es2015
or es5
 
sounds like a cluster tbh
 
because people don't buy new phones every year
 
8:16 PM
I still have the pixel 1...
 
Honestly, I'd really love it if browsers decided to just natively implement TypeScript. It wouldn't fix the language, but it could course-correct some of the absolute shit decisions made in the past couple of years
 
native react
 
just destroy non-chrome-based browsers
 
native support python in the browser
 
I'd support reconceptualizing the dom from the ground-up as well, and getting rid of css
 
8:19 PM
web assembly
 
> destroy them
 
and also removing idiot CORS restrictions that don't actually protect anyone
 
web assembly is the way of the future
way of the future
it's the way of the future
 
0
Q: Why is jQuery function not working in IE11 browser?

Diego PintoI have this function working on every browser except IE 11. $(".someClass p").each(function() { if(/Trident.*rv:/.test(navigator.userAgent)) $(this).replaceWith('<h3>' + this.innerHTML + '</h3>'); }); This shows the below error on the console: SCRIPT1014 Invalid Character

 
I honestly am pretty surprised at the amount of people still using jQuery (for new projects)
 
8:21 PM
have you seen a pattern of where they're from?
 
As if the news hasn't reached them yet that the browsers have stabilized and standardized
 
kind of like how ruby is popular in certain cities
is there a tool to look up popularity of framework by country? google trends maybe?
 
stackoverflow.com/posts/55382878/revisions idiotville... people edited the errors out of the code example so the dude can't even receive any help
10/10 iq, stackoverflow
 
the spaces?
the op edited that out
 
8:25 PM
oh, that screen is kind of hard to read with darkreader on, lol
 
-2
Q: How to resolve the issue with jq new version error?

Mohibi downloaded the new realized version but still the same issue, jquery code is not working such is $("#btn").click(funciton(){ $.ajax({ method: "GET", url: "some api here" })

 
you forgot angularjs
 
8:28 PM
@forresthopkinsa even over time you can see the difference: trends.google.com/trends/…
 
We use React more than jQuery ("use") already
 
I haven't touched jQuery in at least 3 years
probably 4
 
This says everything: trends.google.com/trends/…
 
8:30 PM
ok buzzfeed
 
i'll screenshot the map
weird that Japan is still into jQuery
 
japan is into a lot of things it shouldn't be
 
like ruby
 
Seems a bit odd that Angular got more popular until March 13th, and then dropped off the planet. I'm thinking something's amiss with the tracking there.
 
eh maybe not what I thought about ruby
@ConspicuousCompiler probably a bootcamp/bootcamps
sometimes we forget how small the dev community actually is
 
8:34 PM
If the dev community is that small, then the fact that there's a popular Nike React shoe would suggest the React figures there are also not useful.
 
Let's hope the Reebok jQuery 2200 never takes off.
 
@ConspicuousCompiler what?
 
jquery 4 is in the works still
 
wait, this tells a story:
places where Java is more popular, jQuery is more popular
Java and PHP
 
8:38 PM
"Places where outsourcing contractors are hired to maintain legacy projects."
 
wait, why is my message still highlighted green or is it just for me?
@ConspicuousCompiler bingo lol
but I'd argue they're still pumping out jQuery for new outsourced projects
 
can confirm
3rd party provided us with a full custom-built jquery solution
 
Real thing: "What testing frameworks do you use for React? Are you comfortable with Jest?"

"We usually use selenium"
 
complete with spaghetti code and dozens of globals
 
I face palmed when they said that
 
8:42 PM
Emphasizing black-box and integration testing does the most for ensuring end user experience is maintained. Maybe they think their developers are efficient enough without unit testing.
 
enzyme
 
Just don't write bugs.
 
ha, no wasn't that
weeks of proof later it was exactly what I thought
 
What was that? No testing at all?
 
and that's just not how you respond to that question. If they would have said "we do quality assurance with selenium but unit testing isn't something we think is needed" I wouldn't have facepalmed
@ConspicuousCompiler no results and way too many questions
 
8:47 PM
testing is a waste of time
 
That sounds like he answered that during an interview and was still hired?
Why spend money on testers and waste time writing tests when you can have users pay you to test your products? taps head
 
0
Q: CSS How to join lines

EduardoI have to horizontal lines created with CSS in <div> elements, now I want to join them with another line(the one drawn by hand), any ideas? The image of what I'm doing below: .canvas { top: 1px; left: 1px; background-color: #CCC; width: 1000px; height: 1000px; } .top-lin...

 
@KevinB maybe, but if the client wants it, then I at least advise the right way to do it
@WilliamLee worse, it was above my head. W/o getting into details it was a firm that was hired
 
Guys, give me your honest opinion ... is my portfolio website too boring? Do I need to be more creative -- I know I am far from finished with it yet.

-> https://zinuku.herokuapp.com/portfolio
 
@SebastianAlexanderBNielsen not great not terrible
 
8:58 PM
Should it be more creative?
How do I make it go from okay to awesome?
 
More penguins.
Decide what skills you are most competent at or most want to use in the professional world, then build the site to emphasize those.
 
@SebastianAlexanderBNielsen either do some CSS or use bootstrap depending on the effort and creativity you want to put in
 
Then add even more penguins.
 
Okay, thanks for the tips guys.
 
better than mine
 
9:03 PM
@KevinB you don't have one do you?
I've seen rlemons
it was pretty neat
 
whoa, why is jquery showing ahead of javascript again
javascript is my top tag
 
lol, you must love jQuery
 
my first 20k rep came from answering jquery questions
so did most of the other 60k
i've received two revenge votes in the past 24 hours, and i haven't even been mean
 
Sometimes people just don't like an answer and don't want to explain why. Why attribute to revenge what could be equally as well blamed on somebody having a grumpy day?
I, for one, have way more grumpy days than proper revenges.
 
because noone's going to 8 year old questions about coldfusion
it's 100% a revenge vote
lol
 
9:11 PM
huh, that's a bit odd
I'll upvote any JS answers you have that seem good to offset it, one sec.
 
Well, good on them for enacting a proper revenge. We should all strive to be so proactive.
 
i could see the other vote being legitimate
but... unlikely imo
 
lmao I don't think I've ever revenge voted someone. Sounds like a waste of time
maybe someone who obviously downvoted my answer and then posted a copy of i
I probably revenge voted them
but that hasn't happened in a long long time
 
i've done targeted voting of people who routinely answer garbage questions or post garbage answers
but it was always on posts that deserve it, not just random ones from their profile
 
yeah, that seems like a fair thing though. At least have an opinion if you do it
I thought over 10 k you could see someone voting on your stuff
 
9:18 PM
nah, not even mods can see that
voting is private
 
really? I've always operated under the principal that over 10k people could see my votes lmao
HERE I COME jk
 
all we mere mortals can see are vote totals
 
I upvoted a few of your JS questions @KevinB, do I get a cookie now?
*answers
I made sure to pick ones that were good
 
all time	 	by type	 	        month	 	week	 	day
233	up		    170	question		31		    10		    5
78	down		141	answer
 
and no jQuery lol
 
9:21 PM
all time	 	by type	 	            month	week	day
3,969	up		17,620	question		349		74		15
27,215	down	13,564	answer
 
What am I looking at?
 
voting totals
 
oh, now it makes more sense
 
first one was yours
 
holy crap you have a lot of down votes
 
9:23 PM
17,505 of those downvotes are on posts that remain undeleted, but that means almost 10k of them were on posts that are deleted
 
hmm, yeah I go into the que's every couple of days and downvote questions that I don't know what to do with. I wonder how many end up deleted
 
i have the queues adblocked
 
why?
 
i don't like them
rather find posts organically through the home page
 
That's fair I guess
0
Q: React HOC with multiple components

JimmyI want to create a React HOC that would ideally receive two components instead of one wrapped component and toggle between them. That is, in the code below, instead of <h3>component one</h3> and <h3>component two<h3>, they would each represent child components. How would I be able to accomplish t...

 
10:33 PM
hey
 
Hello @Atulkumar
 
do you have any idea about sequelize ?
 
I know about it, what's up?
 
Can we spell it SQL👀 instead?
 
what?
sequelize is a library
 
10:37 PM
!!woosh
 
Sequelize.js
 
cap is ded
 
wth are you @CapricaSix
 
I'm trying to be funny. Don't worry about it.
 
i have a table which have key reference of two other tables and i want to retrieve the data associated of the two linked tables through sequelize ?
 
10:39 PM
that's pretty vague
 
use a table cell with a rowspan that is the number of rows between the top line and the bottom line then put a gif there with an image of a line of appropriate height/width — Kevin B 2 hours ago
 
What do you mean by "retrieve data associated"?
that could many several different types of relationships between the tables
 
can i provide you with my question raised by me and help me out?
 
sure
 
Does your question include schemas for the relevant tables and an example of what you want the query result to be?
 
10:41 PM
0
Q: How to sequlieze code to join more than two tables?

Atul kumar singhI have the following table to which I want to retrieve data using sequelize. The table is defined as bellow: I want to join the three tables, but I'm getting the error no 1054. Here is my code: Skill model: 'use strict'; module.exports=(sequelize,Datatypes)=>{ const Skill=sequelize.def...

the diagram can help you understanding better of situation
 
Schema and example code. Sweet.
 
can you suggest how to retrieve the value from 3 of the tables ?
i mean the two of associated tables?
 
Oh, I have no clue, I've never used Sequelize. But it does seem you've given enough information that somebody familiar with the library can either help you do what you want or tell you that the library can't do what you want.
 
well it has been almost more than 5 hours but no one is able to answer the question
@DavidKamer any help will be appriciated
 
Yes, sometimes it takes time for answers, especially if you're doing something unusual. SO is a community site that works mostly via volunteer labor, so not a lot of things have deadlines.
 
10:53 PM
@Atulkumar As a general rule, don't omit the most popular relevant tag if you want your question answered
 
11:18 PM
hey guys, google translate isn't helping me, but I am in need of a word in english: I need to "polish" a screwdriver to make a slit in the middle. Or do I need to "file" a screwdriver to make a slit in the middle?
Or - what verb do you use with there tools asset.conrad.com/media10/isa/160267/c1/-/nl/829640_BB_00_FB/…
 
Those look like chisels to me.
 
Nah, they're basically iron with rough surface to do things like you do with sandpaper, but then a bit more rough.
 
Oh, they are files, though. Just some of them are really pointy.
 
But is "filing" the correct verb?
 
Definitely not 'polish', for what it's worth
 
11:21 PM
Yeah, I think "filing" would be correct.
 
I would understand 'filing' in that context
 
thanks
 
(For clarity's sake, "polish" is used to make something shiny/remove decay from the surface. Polishing should never cut into a surface if it's done correctly.)
 
Yeah that's what trips me - together with "file" being to me a complete different word.
It sounds the same as the dutch verb though, so it's probably the correct one.
For reference: I'm explaining some neighbour how to make a tool to increase tension on spokes of a bike.
 
yeah. When women use those long tools to sand down their nails, that's filing.
The tool is called a "nail file" in English
When I hear the verb in that sense, I think of prisoners using tiny tools to "file" through the bars of their cell
Hopefully that gives a little more context as to how the word is used
 
11:27 PM
The spokes end in the wheel have a flat screwdriver appearance. The problem is that the spoke metal itself will "pop out" of this screw when you rotate it to tighten them. - So you need to "file" a hole in the middle of a screwdriver to allow for this spoke to go into.
 
@forresthopkinsa Hey, file you dude.
 
how rude
 
Or you can buy a dedicated tool: but that's about 4-5 times as expensive, and isn't any better.
 
@forresthopkinsa same level as package.json
but I spin it up from gulp
so I have build-server, build-client, etc.
 
11:42 PM
I see. Okay thanks
Thinking I'm going to have to CRA eject before I can put the two into one nice directory like that
 
but even if I did do it all from webpack, I would probably keep it there.
 
Makes sense. I see some people have a scripts/ dir that they keep all of that in
 
If I was making a truly separate api from the client, I might just split it all out. but as it stands they are one in the same.
and hotreloading doesn't seem to care
 
yeah I'm using nodemon and webpack-dev-server concurrently for hot reload
 

« first day (3084 days earlier)      last day (1874 days later) »