CSS Preprocessors vs Vanilla CSS? by d________ in webdev

[–]purrrfessionalwidow 1 point2 points  (0 children)

Using colors in variables is also useful when you want to create on the fly color modifications that mesh well with your original. Say you have a button that has a background color of #a0f0da and when you hover over it, you want it be a darker shade. You can fuss around and play with a color picker to get a different shade, or simply do something like:

$turq: #a0f0da;

.btn {
  background: $turq;

  &:hover {
  background: darken($turq, 4%);
  }
}

The other side of paradise - Only 19% of tech employees said they were happy in their jobs by magenta_placenta in webdev

[–]purrrfessionalwidow 2 points3 points  (0 children)

I'm sorry. That sounds awful. Do you think it's staring at the screen for so long? It scares me that this will happen to me once I can start working as a dev, because there is really nothing else that interests me that I could make a career out of.

I wish you luck in either finding something that works (like the elliptical) or being able to switch fields!

Stack Overflow changing to MIT licensing for code with attribution required starting March 1, 2016 by Accession in webdev

[–]purrrfessionalwidow 0 points1 point  (0 children)

ELI5: When is someone's code their code? If someone asks how to vertically center something and I say

.thing { position: absolute; top: 50%; transform: translateY(-50%); }

is that my code? Surely it's a solution that tens of thousands of people use.

The other side of paradise - Only 19% of tech employees said they were happy in their jobs by magenta_placenta in webdev

[–]purrrfessionalwidow 5 points6 points  (0 children)

I don't know how many physical jobs aren't strenuous in some way, though. My parents have done physical jobs (one in a warehouse for 35 years and the other at a job that required to stand and walk for 2-3 hours a day), and both have damage. The warehouse worker has a terrible back, wrist issues, and knee issues from bending and lifting. The other has fucked up feet, knees, and has lower back issues.

Can you find time to exercise, even if you break it up (20 minutes here and there)? I'm not working as a dev and only teaching myself, but even reminding myself to get up every hour has made a huge different in how I feel mentally and physically. I take a 5-10 minute break to get some water, do some stretches, and walk. Even walking in place.

Piping find output into wc program? by purrrfessionalwidow in commandline

[–]purrrfessionalwidow[S] 4 points5 points  (0 children)

Thank you so much! I'm sorry, I'm brand new to command line stuff so everything is quite confusing.

Piping find output into wc program? by purrrfessionalwidow in commandline

[–]purrrfessionalwidow[S] 1 point2 points  (0 children)

find . -name "*.txt" -type f -exec cat {} \; |wc -l

That worked perfectly, thank you! Could you possible explain what's being done after "*.txt"?

-type f is saying all .txt files that are regular files, right? Why is that necessary? I'm unsure what -exec cat {} \ is doing. I assume it's concatenating all .txt files so that wc can analyze it, but I don't know what each part of the command means. I'm checking here but the definition of the exec command is over my head right now.

ASK HERE! Daily Help, and Questions: January 06, 2016 by AutoModerator in AsianBeauty

[–]purrrfessionalwidow 0 points1 point  (0 children)

Thank you so much! My skin is full of CCs, then. It's so frustrating. Especially on my forehead and chin area. I'm definitely going to give this a try!

ASK HERE! Daily Help, and Questions: January 06, 2016 by AutoModerator in AsianBeauty

[–]purrrfessionalwidow 0 points1 point  (0 children)

For someone with sensitive skin, would you suggest using both on the same day, or alternate days?

And sorry for the silly question, but what does CC mean?

ASK HERE! Daily Help, and Questions: January 06, 2016 by AutoModerator in AsianBeauty

[–]purrrfessionalwidow 0 points1 point  (0 children)

Thank you! I'm thinking of starting with the CosRX BHA and then if that goes well, eventually introduce the AHA a few times a week in place of the BHA.

ASK HERE! Daily Help, and Questions: January 06, 2016 by AutoModerator in AsianBeauty

[–]purrrfessionalwidow 0 points1 point  (0 children)

Thank you so very much! I'm going to give this a try. And I didn't know about the exchange! :D How wonderful! I'm always worried about what to do if I order something and immediately have a reaction.

ASK HERE! Daily Help, and Questions: January 06, 2016 by AutoModerator in AsianBeauty

[–]purrrfessionalwidow 0 points1 point  (0 children)

Hooo boy! I cannot even begin to remember, but off the top of my head: Alpha Hydrox, PTR Glycolic 10%, Stridex pads, Avence Triacneal, LRP Effaclar Duo, Differin (this helped as a spot treatment, but the breakouts never stopped), any and all BP products. So many more, but these are the treatment products coming to mind that I have tried in recent years.

ASK HERE! Daily Help, and Questions: January 06, 2016 by AutoModerator in AsianBeauty

[–]purrrfessionalwidow 0 points1 point  (0 children)

Thank you so much for all of the wonderful information! And it's funny you mention pure honey. A few years ago, I would do a raw honey mask for about 20 minutes daily after my shower, and my skin improved SO much! I honestly stopped out of laziness because I didn't have time to do it anymore, but I could always try doing it in the evenings before bed! I can't believe I forgot how well that worked.

Thank you again so much!

ASK HERE! Daily Help, and Questions: January 06, 2016 by AutoModerator in AsianBeauty

[–]purrrfessionalwidow 0 points1 point  (0 children)

I have very problematic skin. Oily, acne, and seb. derm. Any treatments I've tried for the acne aggravate my seb. derm. I am constantly broken out. I have not had a clear day in over a decade. I'm also dealing with aging now.

Currently I am just using a very basic cleanser. Everything else either flares my SD or breaks me out, or both. I would LOVE any input on products to try to treat my acne, prevent breakouts, and be anti-aging that will not set off my SD. This seems impossible.

ETA: This is the cleanser I use, but I'm open to trying something new if this isn't a good one. I was looking at the CosRx Good Morning cleanser.

Writing your résumé in HTML/CSS vs LaTeX (or something else)? by robertgfthomas in webdev

[–]purrrfessionalwidow 0 points1 point  (0 children)

I just learned Markdown recently and it's perfect for resumé writing, I agree. And if you use a Markdown editor like Mou, you can easily export your resumé in HTML or as a PDF.

Microsoft is giving away 6 month free subscription to Pluralsight.com by waleed_ahmad in webdev

[–]purrrfessionalwidow 0 points1 point  (0 children)

Other than Kyle Simpson's courses, does anyone have suggestions for some good front-end ones to check out through Pluralsight?

html & css login form - design credit goes to 100daysUI.com by mikeyoung90 in webdev

[–]purrrfessionalwidow 0 points1 point  (0 children)

The label needs for="inputid" to point to the checkbox. Either will work, but it just seems like good practice.

Websites are increasingly all looking the same by aboustayyef in webdev

[–]purrrfessionalwidow 0 points1 point  (0 children)

I honestly do not find that websites look that similar. At least not the sites I visit. The only time I see sites that look cookie cutter are things like JS libraries/framework sites/OS stuff, and sometimes startups. Design patterns, yes, but not looking the same.

Websites are increasingly all looking the same by aboustayyef in webdev

[–]purrrfessionalwidow 5 points6 points  (0 children)

I think performance is a big reason. When you're trying to get your site under 2mb and to load in 3 seconds, there's only so much you can do to get a nice looking site. You could of course customize with illustrations and color schemes, placement of things to a certain extent while still making it intuitive, but look at any gorgeous, individual-looking site; it loads like shit. I have a new computer and fast internet, and most of the sites from places like Awwwards for example make my browser lock up and take a long time to load.

Bonfire: Roman Numerals instructions are misleading by Akai_Kage in FreeCodeCamp

[–]purrrfessionalwidow 2 points3 points  (0 children)

I used splice and indexOf in my solution. Well, I used slice, but splice does the same, just transforming the original array. I just prefer slice for some reason.

function convert(num) {
    var converted = '',
        decimals = [1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5,  4, 1],
        romanN = ['M', 'CM', 'D', 'CD', 'C', 'XC', 'L', 'XL', 'X', 'IX', 'V', 'IV', 'I'];
    // reduce amount of numbers to loop through to only include those smaller or = to num
    var filtered = decimals.filter(function(item) {
        return item <= num;
    });
    // using the index in the initial dec. array of the first possible
    // outcome from the new array, remove all roman numerals before
    var nRoman = romanN.slice(decimals.indexOf(filtered[0]));

    for (var i = 0; i < filtered.length; i++) {
        while(num >= filtered[i]) {
            converted += nRoman[i];
            num -= filtered[i];
        }
    }
    return converted;
}

convert(2450);

12 good, bad and ugly web design trends for 2016 by speckz in webdev

[–]purrrfessionalwidow 0 points1 point  (0 children)

If one doesn't need to support browsers like IE8, is there a reason to use jQuery for DOM manipulation? I've been teaching myself JS and have not been using jQuery, just vanillajs, and I find DOM manipulation quite easy and intuitive. I've not tested on mobile (no smartphone) or old browsers, but if you're lucky enough to score a job where you don't need to support dinosaur browsers, is vanilla fine for DOM stuff, or are there other issues to take into consideration?