SM Irving Profile Banner
SM Irving Profile
SM Irving

@metric_dev

536
Followers
336
Following
254
Media
2,866
Statuses

Sharing insights in web development - UI/UX design enthusiast | CSS enjoyer | Javascript tolerator | Accessibility a11y

Charleston, SC
Joined December 2023
Don't wanna be here? Send us removal request.
Pinned Tweet
@metric_dev
SM Irving
8 months
Want a responsive grid system in CSS with no framework and in just 3 lines? I will show you the easiest way possible! If you know how to use the repeat() and minmax() functions in your grid column declaration making a responsive grid is simple as can be. Here is how.... 🧵
Tweet media one
4
3
20
@metric_dev
SM Irving
5 months
@cognition_labs I don't understand why developers are willingly coding the entire industry out of jobs. I understand why companies would want this, but I don't understand why developers are willingly doing this and coding themselves and everyone else out of being able to get good paying jobs.
64
23
340
@metric_dev
SM Irving
3 months
@shivaye01 @PicturesFoIder That little kiss on her baby's head is heart melting 😭
1
2
297
@metric_dev
SM Irving
5 months
@jga41agher @l422y This was one of the worst things I have ever seen. Had the vibe of a recruitment tape for an endtimes death cult.
5
10
216
@metric_dev
SM Irving
7 months
@thedooberhead @PicturesFoIder Sure but she is not qualified to fix the problem and fixing the symptom gives a child some time to live like a normal person in a normal home. That is valuable. I don't care about the adult in this situation. I don't care what mental issues you've got if you're a parent and are
2
2
117
@metric_dev
SM Irving
6 months
@argyleink No! This is an anti-pattern and is strongly discouraged for several reasons. > High potential for naming conflicts > Maintenance and scalability challenges > Clarity > Must write Ids is camelCase because hyphenated ones wont work like that > Deprecation concerns > More prob
6
1
90
@metric_dev
SM Irving
8 months
If you are a web developer or designer, let's connect! I am looking to hire someone in the new year. Let's be mutuals, follow for a follow back.
76
2
74
@metric_dev
SM Irving
6 months
@maybe_riya If you write static websites, I would not consider that software. If you write web applications then that is clearly software.
4
1
65
@metric_dev
SM Irving
8 months
@lucikritz @SecurityTrybe There is potential for there to be a man in the middle attack because that is a private IP. The most common man in the middle attack is when at attacker is using something called a wifi pineapple.
2
0
58
@metric_dev
SM Irving
7 months
@CarlosZeLuis @kylecoolky @InternetH0F >commuting >enjoyable Right, who doensn't love driving in rush hour traffic first thing in the morning and then again after a long work day?
1
0
46
@metric_dev
SM Irving
6 months
@adamwathan In vanilla CSS you would never make a utility function with just display: flex on it. If you were going to do that you'd just use tailwind or bootstrap.
2
0
43
@metric_dev
SM Irving
5 months
@tehseowner @cognition_labs Yeah it is a pretty serious flaw in a whole lot of people. This is of no benefit to society, only to the benefit of a handful of corporations and their equity holders.
3
0
42
@metric_dev
SM Irving
7 months
ATTN Shopify developers: I have a client with a shopify store that needs a redesign and I need to subcontract it out. Timeline is 10 days and budget is $1050 with a bonus if you finish according to spec with time left. Please reply below if you have a portfolio/past work I can
46
0
35
@metric_dev
SM Irving
3 months
@TheCre8tiveDiva @chfsrh The original poster thinks that having so few contributions to open-source projects within the last year is an indicator that someone is not capable of being senior developer due to lacking experience. Meanwhile, the account linked is that of Bjarn Stroustrup, who was the
1
2
39
@metric_dev
SM Irving
5 months
@franktinsley @cognition_labs Great, so we can all live in pods on a subsistence UBI with nothing to do while a handful of corporations suck up all the wealth. Awesome future they're building. Very excited. 🙄
3
1
40
@metric_dev
SM Irving
5 months
@ob35cne @cognition_labs I enjoy it a lot actually. I have always loved coding. I love everything about it. It is the only job I was ever good at. I do it in my spare time for fun because I like it. But beyond that, even if we did just code for money, so what? We choose coding because we can make the
6
0
39
@metric_dev
SM Irving
5 months
@Kuro_Seiba @cognition_labs The developers making it arent the ones who will own it.
1
0
37
@metric_dev
SM Irving
5 months
@sdw @CineBenjamin I think he is just saying most people don't define the word "texting" strictly as using SMS/MMS and view the term more broadly and would include iMessage in what they would consider texting or text messaging.
0
1
36
@metric_dev
SM Irving
4 months
@westjett1 @MrBeast Chicago isn't even that bad anymore. I don't think it even made the top 20 for murders per capita last yr. The really bad spots in the US are in St Louis & Kansas City MO, Camden NJ, Baltimore MD, Birmingham AL, Gary IN, Dayton & Cinci & Cleveland OH, N Philly PA, New
8
1
31
@metric_dev
SM Irving
4 months
@Mkunga_Og @everymovieplug It was the writers strike that killed it.
3
0
32
@metric_dev
SM Irving
5 months
@Paul_I_A_m @cognition_labs You have never needed to be privileged to be a programmer. Programming work elevated me out of poverty. You do not need a degree to do this work, you only need intelligence, dedication, a love of learning, and the ability and willingness to sit at a computer for hours on end.
4
0
33
@metric_dev
SM Irving
7 months
@prolibshow @elonmusk This is an easy solve. Make IDs free for people below a given income (a huge number of states do this already) and offer free transportation to government buildings for disabled people (again, many states already do this).
6
0
28
@metric_dev
SM Irving
6 months
@SOTSPodcast Reminds me a bit of the Rage Against the Machine bassist's tattoo, but MGK went full sleaves and no empty skin
Tweet media one
2
0
27
@metric_dev
SM Irving
5 months
@EhThing Electricity, internet, my back, my neck, my butt, my desire to not drop my laptop from a tree, my desire to not have to climb up and down from a tree.
4
0
27
@metric_dev
SM Irving
3 months
@WoodyKonichiwa @Rasmus_MunchS @BravoKiloActual @bellewerx Same experience. They will take days to respond and respond in a closed, short way to open-ended questions. Then for most part after 2 or 3 messages I never hear back. I have tried many different strategies. I'm a decent person and can carry on a conversation, Im not saying
8
0
23
@metric_dev
SM Irving
4 months
@EnforceTheTruth @Cobratate @DisgracedProp Iran did not have islamist theocracry until the US overthrew their government and installed the Shah as dictator. Many such cases.
0
0
21
@metric_dev
SM Irving
8 months
@msrissxox Tip if you are writing single JS files that don't use JS modules. Wrap your entire JS file in an Immediately Invoked Function Expression (IIFE) like this (function (window) { 'use strict'; const document = window.document; // all the rest of your JS here })(window)
5
0
24
@metric_dev
SM Irving
3 months
@alkanterah @selvarin @Rothmus How is "he can't act" not a valid criticism for an actor?
1
0
22
@metric_dev
SM Irving
4 months
@exotic_kneegro @mainbitchclique Yeah how much extra stuff do you really need in there just to link up? Looks like they could have a nice view of the city from the roof top of their building. Bring some lawnchairs and a bottle of wine up there then come back down to the bedroom after that.
2
0
21
@metric_dev
SM Irving
7 months
@matifanger return a === b ? true : false;
5
0
21
@metric_dev
SM Irving
8 months
@Shefali__J Great tip! Too many people just use console.log(). Here are some more helpful console methods: console.count() Log the number of times a line has been called console.error() console.time(), console.timeEnd(), console.timeLog() console.trace() Display stack trace
1
1
17
@metric_dev
SM Irving
7 months
How hard is it for developers not from US to learn to code in American English?
Tweet media one
8
0
15
@metric_dev
SM Irving
7 months
@Sarahj1919 @stillgray @elonmusk AB540 and SB68 are *not* types of visas, they are a California assembly bill (AB) and a senate bill (SB) 🤦‍♂️
Tweet media one
Tweet media two
Tweet media three
0
0
17
@metric_dev
SM Irving
5 months
@SilmarilCreator @cognition_labs Because human beings gain meaning and purpose in their lives from work. If you automate everything to a place there is no work to ever do people will turn inward and live lives of quiet despair. In the short term, the jobs that get automated first will be the ones that actually
4
0
14
@metric_dev
SM Irving
4 months
@rstudiofour @GoodReddit Nothing can hide having no jaw line.
0
0
14
@metric_dev
SM Irving
8 months
@PicturesFoIder Who dresses like that to go to anyones wedding?
3
0
14
@metric_dev
SM Irving
5 months
@BrandonfromBKNY @CPTMoorgan @dgendvil Why didn't they codify it any of the times they held congress and the presidency over the last 50 years? Oh, that's right, so they could fundraise on the threat of it being taken away instead. Awesome. So good. Much progress.
1
0
13
@metric_dev
SM Irving
5 months
@r7q4nx6m2s @insultsrare Assuming it is her natural body, and she did not get butt implants, what is she supposed to do? Wear a burka to school? Not be a teacher just because she got a nice ass? Not like she in a short skirt or something, shes fully covered.
1
0
13
@metric_dev
SM Irving
5 months
@JoelBlvck2 @Kuro_Seiba @cognition_labs "could" is doing a lot of heavy lifting in that sentence. I still don't get it, though. People with the engineering skills to do this could be working on any number of other things that could earn them the same amount of money without trying to earn it by attempting to
1
3
13
@metric_dev
SM Irving
5 months
@CPTMoorgan @_cyber_dude He also said he was going to give teachers a raise, solve the crisis in the middle east, end cancer, and make snickers bars great again. He is running for a final term, he doesn't care if he can't keep any of his promises, so he promises everything.
4
0
13
@metric_dev
SM Irving
6 months
New CSS Feature to get on your radar: light-dark() This new color function will let you set a two colors for a property, auto-detecting the desired color from the light/dark scheme set by both user preference (OS and browser) and developer's explicit settings (like from a
Tweet media one
2
0
12
@metric_dev
SM Irving
6 months
Joe Biden really just said he talked to the President of Mexico to get him open up the gates into the Gaza Strip. After calling a press conference to rebutt claims in the special counsel report about his memory. I don't usually post anything political😬but the clip is below.👇
4
1
13
@metric_dev
SM Irving
4 months
@HannaGrayLY2000 @Mkunga_Og @everymovieplug Many formerly good shows got extremely messed up by that strike. Heroes (happened near end of first half of season 2 development), Lost (season 4), Prison Break (S3). Ironically, it may have actually helped Breaking Bad, as they simply paused the production. This gave the
0
0
13
@metric_dev
SM Irving
8 months
@CicmilJovan @flaviocopes Cut to 2023 where if you ask, "how do I do this in jQuery?" they respond, "don't use jQuery"
1
0
12
@metric_dev
SM Irving
3 months
@aaEph3m3ral @WoodyKonichiwa @Rasmus_MunchS @BravoKiloActual @bellewerx Yeah man, obviously, that's why I wrote this in the post you are replying to, clearly without reading it. "I think in general women have many more matches than men and this skews the amount of attention they're willing to apply to each match."
1
0
12
@metric_dev
SM Irving
7 months
@welltypedwitch @dan_abramov2 @ImLunaHey That is correct, Lisp had nested functions in the 1950s, but we didn't have closures until Scheme (a Lisp offshoot) in the 1970s. Scheme popularized lexical scoping with first class functions.
1
0
11
@metric_dev
SM Irving
5 months
@AromaLee_MengLi @cognition_labs Electricity and the end of candles created more jobs and jobs that were higher paying and in better conditions, it did not have the effect or end goal of ending tens of millions of high paying jobs and replacing them with a service that would suck up all the wealth of thise jobs
2
0
12
@metric_dev
SM Irving
7 months
@RyanEls4 Output: "😂" This is because functions in Javascripts are just special objects. They have properties and are mutable. When you call the function and pass it the emoticon, the function only creates a property called x on itself and sets the value to that of the argument passed.
2
2
12
@metric_dev
SM Irving
7 months
@souporserious For box sizing reset I much prefer. html { box-sizing: border-box; } *, ::before, ::after { box-sizing: inherit; } This covers more edge cases.
0
0
12
@metric_dev
SM Irving
5 months
@daboigbae @_PaulSteiner Nightly. Better for the machine. Better for power consumption. Only takes a couple seconds to boot with fast boot. Not like you have to lose your workspace with a modern OS.
0
1
10
@metric_dev
SM Irving
5 months
@IAMESHAKER @insultsrare My man... a GOWN??!! 🤣
0
0
11
@metric_dev
SM Irving
5 months
@Ayobamilized @HumansNoContext I think it is the same exact people, just older now. No?
1
0
10
@metric_dev
SM Irving
5 months
@Princeutd1P @insultsrare Like what? A burqa?
0
0
11
@metric_dev
SM Irving
7 months
@varshadr1234 The Logitech MX Master 3s is the best mouse for work that I've ever used. The MX Master 4 is probably coming out in September, but I honestly don't know what they could do to improve on the 3. Lots of useful features you don't get with a normal mouse.
4
0
10
@metric_dev
SM Irving
3 months
@ruminatethis @CleavageCrumbs @JulieKennis2 Using the word "nubile" *really* doesn't help your argument that this is not creepy.
0
0
8
@metric_dev
SM Irving
7 months
@girllovescoding - Seti Monokai Pale Night Extension name: Theme - Seti-Monokai by SmukkeKim Others I like - Horizon (either Italic or Bold ver) - Monokai Seti Dark - Hydra plus Italic - Dracula Falcon - 1984 - Fancy - Sweet Dracula - Synthwave '84 - Snazzy Plus - Darker
5
1
11
@metric_dev
SM Irving
6 months
6 months ago I had no work. Rejected every place I applied in tech. Serious depression. I just closed a five-figure deal on a new project for the web design & development company I started in Oct. Contracts queued for 6 months. Will hire soon. Don't EVER give up on yourself.
4
0
10
@metric_dev
SM Irving
3 months
@Bidal4Life @InternetH0F The girls in the red light districts don't count.
0
0
9
@metric_dev
SM Irving
5 months
@downbadcomment I like how he let her know that it was up to her whether she sent him a picture of her nipples or not. What a gentleman!
0
0
9
@metric_dev
SM Irving
7 months
@chfsrh @dieworkwear Looks like he got his jacket off the kids rack. Doesn't make him look buff, makes him look like a self-conscious man with no dress sense. Tight in all the wrong places.
1
0
10
@metric_dev
SM Irving
5 months
@ChristinaPushaw @MiamiBeachPD @MDSPD @MDCPS What happened to "parental rights" in florida? Big government is going to come in and trample over parents in order to hunt down children with the armed agents of the State? Doesn't sound very conservative to me.
0
0
10
@metric_dev
SM Irving
8 months
@lucikritz @SecurityTrybe You think you're connected to public wifi but all your routing is going through the attacker device, the "man in the middle." The attacker captures everything you do online, including entering access credentials in websites like your online banking or crypto accounts.
1
0
10
@metric_dev
SM Irving
7 months
@RichardDRembert Until the water is clear.
0
0
10
@metric_dev
SM Irving
5 months
@SilmarilCreator @cognition_labs This is an insane pipe-dream that has no basis in reality. Even if it weren't, it would not be happening in my lifetime. I am thinking, I have thought about this a lot.
1
0
8
@metric_dev
SM Irving
5 months
@wil_doughty @cognition_labs Pride cometh before the fall.
1
0
9
@metric_dev
SM Irving
7 months
@jh3yy animation-timeline and animation-range are too freakin good. Can't wait until support is good enough to use it everywhere in production. Will be so nicwe to not have to drop into JS just to make a scroll animation work.
1
0
8
@metric_dev
SM Irving
4 months
@DynamicAnalysis @ArmandDoma Close the carried interest loophole. I'm sure he pays too much in state taxes and not nearly enough in federal taxes (relative to the tax burden for middle-class people). Not that I really care, though, considering the federal government would just use that money to kill people
0
0
9
@metric_dev
SM Irving
7 months
@msrissxox As someone else said in a different way, const only says that you cannot reassign the variable. const x = [1, 2, 3]; x = [1, 2, 3, 4]; Will throw an error and not work. You cant reassign the x identifier to something else. But you can mutate/alter the *value* itself, for
2
0
9
@metric_dev
SM Irving
5 months
@Squidy2021 Yeah, and even the optimistic version sucks. The rates of depression and deaths of despair would be through the roof in such a system.
0
0
7
@metric_dev
SM Irving
5 months
@Halfshell @EarlyVoteAction Amish people use all sorts of electronic devices. They dont have a blanket ban on the use of electricity driven technology. It just has to be approved by elders as not likely to cause societal disfunction or be decadent. Ive seen them use a lot of different tech.
1
0
9
@metric_dev
SM Irving
8 months
@thedevbek Def not. No reason to learn jquery now unless you have to maintain an old codebase that uses it. Since ES6, vanilla Javascript has been able to do everything jquery does just as easily
3
0
8
@metric_dev
SM Irving
4 months
@Drewbird47 @JordanMoffatt4 @lporiginalg This is the most fake boomer meme of all memes. No one is doing that. Coffee isn't what is keeping people from buying their first home. It is the fact that home prices have quadrupled, while interest rates and the cost of living and education has skyrocketed and salaries are
0
0
8
@metric_dev
SM Irving
8 months
@CreeCoder Seems extremely low. By like half. I cant believe developers are accepting salaries below $80k. Please stop doing that.
7
0
7
@metric_dev
SM Irving
6 months
@maybe_riya Depends on the attack. SQL injection attacks used to be common but are generally protected against now. Other vectors may be a phishing scam that gets a bank employee to download malware which is generally written in C, C++, or Rust. The WannaCry ransomware was written in C++ and
1
0
7
@metric_dev
SM Irving
8 months
When you are writing hook selectors for your JS in your HTML, do not use the same selectors you use for CSS styling. This way if you refactor your CSS and change a selector's name, you do not break your JS code. 1/2
2
1
8
@metric_dev
SM Irving
7 months
@AdamRackis Disabled people not being able to use your commercial product isn't something you should just "trade off." Even forgetting everything else about the morality or business sense of such a "trade off" you open yourself up to lawsuits. Web accessibility lawsuits are on the rise.
2
0
8
@metric_dev
SM Irving
8 months
@lucikritz @SecurityTrybe This is a common attack vector and one you should learn to look out for and defend against when on public wifi, whether at a cafe, hotel, or airbnb - anywhere lots of people connect to public wifi.
1
0
8
@metric_dev
SM Irving
8 months
Resolutions for 2024 - Drink more water - Hit gym twice as much - Grow my business to 7 figures in revenue What are yours?
1
0
7
@metric_dev
SM Irving
6 months
@WarrenLNaida .wall { overflow: hidden; overflow: clip; background: url(img/brick-pattern.svg) center / cover repeat scroll border-box red; }
1
0
7
@metric_dev
SM Irving
8 months
@lucikritz @SecurityTrybe Also, while using a VPN can provide a layer of security while using public wifi, it is not a foolproof defense. Particurally if the attacker controls the endpoint (they modified the router in your airbnb for example), or if your system or network contains other vulnerabilities.
0
0
7
@metric_dev
SM Irving
8 months
@NanouuSymeon 🧖‍♂️Stephen ⏳️36 years old 🕸 Web dev 🐦 I break down small chunks of what I am working on in CSS/SCSS and JavaScript in order to 👨‍🏫 teach what I know 🎲 love DND 🎮 Video games 📝 writing 🎸 guitar
0
0
7
@metric_dev
SM Irving
6 months
@bursteways @adamwathan Agreed. It is technically OK according to the spec to omit a semicolon for the last statement in a declaration, but every style guide I have ever read says not to do that.
0
0
6
@metric_dev
SM Irving
8 months
What are your resolutions? Mine are: - 3840×2160 - 2560x1440 - 3440x1440
0
0
7
@metric_dev
SM Irving
7 months
@RyanEls4 @Egge21M Thank God. I was itching to correct you and then I thought, "there is no way Ryan actually doesn't realize..."
1
0
7
@metric_dev
SM Irving
8 months
@take_dead456 @lucikritz @SecurityTrybe If I had to explain every subtopic like what is an IP address it would have been a 50 post thread 😄
0
0
7
@metric_dev
SM Irving
5 months
@vonKordke @yschaub @kylegawley @Andre_Lombaard @Apply In my view it only adds value if 1. You have no eye for design and don't have any desire to learn 2. You don't understand CSS and have no desire to learn
2
0
7
@metric_dev
SM Irving
5 months
@canoozie @gunsnrosesgirl3 Bro the definition of the word "earned" is "money gained as profit". You don't "earn" 25000 when you make 5k on a 20k investment, that is not right even colloquially. You "earned" 5k on 20k investment.
Tweet media one
1
0
7
@metric_dev
SM Irving
6 months
@99periwinkle @growing_daniel Tow truck driver had a tip screen other day sending a car of mine to a mechanic. I don't remember ever tipping a tow truck, but the ask did make me feel like maybe I shouldn't refuse a tip for the guy who is loading up a valuable possession on the bed of a truck and driving off.
1
0
7
@metric_dev
SM Irving
5 months
@Jennbenge @RubiconResolve @gunsnrosesgirl3 $600 is the correct answer. Doesn't matter if it is the same cow, a different cow, a dog, an espresso machine, or a necklace. The only part that matters for profit is the return on investment. In 2 individual transaction events he got a return of $300 on his investment. 2 × 300 =
0
0
7
@metric_dev
SM Irving
7 months
@BHolmesDev Looks great, but I am not sure I understand the semantics behind naming it .with()
4
0
7
@metric_dev
SM Irving
5 months
@SilmarilCreator @cognition_labs There will be no possible way to have any form of revolution or serious bottom-up social upheaval because the tools of the surveillance-state will be automated to such a large and tyrannical extent there would be no way to organize such a thing without having it immediately
0
0
6
@metric_dev
SM Irving
6 months
I am working on releasing a Sass (SCSS) library of useful functions and mixins. Does anyone have any suggestions for repeated patterns in CSS or utilities that you would like shortcuts for? Right now I've got a lot of animations, clip-paths, conversion functions and more.
2
0
7
@metric_dev
SM Irving
6 months
Native JS/CSS/HTML tip 📣 Make a responsive & accessible nav w/ dropdown- 🧵 I'm will be adding responsive functionality for various nav bar states by using a hidden input checkbox with :checked pseudo class in the CSS and tie it together with some javascript. Here is how!
1
0
6
@metric_dev
SM Irving
6 months
@luxdiei @PicturesFoIder Let ChatGPT explain why you're wrong.
Tweet media one
Tweet media two
1
0
6
@metric_dev
SM Irving
4 months
@YousefMunayyer @_cyber_dude Gotta love Genocide Joe talking about a "rules based order"
1
0
4
@metric_dev
SM Irving
8 months
@Raynerdwebsdev Is there a specific part of the syntax or a thing that you are trying to do that you do not understand? I know it can be confusing sometimes. I would recommend looking up concepts on MDN and reading the documentation or checking css-tricks for good articles on various aspects.
2
0
6
@metric_dev
SM Irving
3 months
@KanaryMine @amwogakhalwale @John13571113 We keep electing people who are funding a genocide of children. Mass graves of children, naked with their hands bound. This war could not be prosecuted without American weapons we give to them for free. So long as we continue to elect these people, we are complicit.
2
1
3
@metric_dev
SM Irving
6 months
@CabreraOsman @ThomasBanesNFL @edgarbitencour @PicturesFoIder Because we have the right to not be treated like thieves. Once I pay for something it is mine, I am under no legal obligation to let a stranger detain me and paw through my property.
3
0
5
@metric_dev
SM Irving
4 months
@msrissxox This is great! I have three suggestions. 1. Instead of the variable name being length (which is generic and doesn't tell you much), why not numButtons? 2. Instead of a for loop here, you could be using a forEach loop on the result of the querySelectorAll. The for loop is fine,
Tweet media one
2
0
5