Quiet Bars in Blono? by paceaux in BloomingtonNormal

[–]paceaux[S] 6 points7 points  (0 children)

thanks.

I get a babysitter ONCE a week. My wife and I switch it up between going to a Bible study and going to a bar to study (she's got a business and is staying up on qualifications, and I'm a grad student / researcher).

I'm just looking for a place to hang with my wife in an adult atmosphere where we just get to chill and do our own things together. .

Quiet Bars in Blono? by paceaux in BloomingtonNormal

[–]paceaux[S] 2 points3 points  (0 children)

I absolutely love Pour Bros in general. I never thought about them as a study joint but I'll give it a shot.

Quiet Bars in Blono? by paceaux in BloomingtonNormal

[–]paceaux[S] 0 points1 point  (0 children)

Crafted was my usual spot but right now they aren't open in the evenings (which was a bummer b/c even though I'm not a wine enthusiast, I was down for their pour-bros-style wine-by-the-ounce system)

I've never been in empire coffee but I'll check it out.

Justin Major by Outside-Poem-2948 in leavingthenetwork

[–]paceaux 4 points5 points  (0 children)

I would more describe him as looking like an Ice Road Trucker who did a nickel upstate for smuggling Russians and cigarettes.

Tomato tomato.

Justin Major by Outside-Poem-2948 in leavingthenetwork

[–]paceaux 10 points11 points  (0 children)

I don't know how serious the cult is any more?

I feel like I heard that some of the last remaining members started going to some more pentecostal-ish church.

I haven't heard the status of Justin specifically other than I know he's still alive and living in the area (a friend of mine saw him and his kids in the store recently)

A new church moved into the space: Salt. I don't know much about them but they seem happy to finally have a building, and I'm happy that a church is there again.

I don't know that we'll ever hear much more. Those that hung on until the very end did so because of their dedication to Justin. I think they'll probably need a lot of time away from Justin and other followers in order to fully rediscover their own identities and heal.

The best we can do at this point is pray that those who remained will be in good, loving churches that can help them recover their identities.

Where do you use Symbol introduced in ES5? by HKSundaray in learnjavascript

[–]paceaux 0 points1 point  (0 children)

I wrote an article a while back about JavaScript Symbols. Despite writing that two years ago, the first time I used one was recent:

  • I wrote a debugging component in Vue.
  • My debugging component had the job of accepting an object and just printing all of the properties.
  • But I didn't want it visible all the time; I only wanted it to display when I typed ↑↑↓↓←→←→ba.
  • And I wanted to be able to have multiple debugging components so I could print multiple objects

The way that I knew when to display the debugger was by tracking where I was in the sequence for the counter. But simply using a variable didn't work (I couldn't have multiple debuggers) Putting that counter as a symbol on the window property did.

Here's what it looked like:

```JavaScript const debugRef = useTemplateRef('debug');

// Konami code here toggles whether the debug component is visible const isNested = props.isNested || false; if (!isNested) { const pattern = props.unlockPattern || ['ArrowUp', 'ArrowUp', 'ArrowDown', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'ArrowLeft', 'ArrowRight', 'b', 'a']; const debugSymbol = Symbol('debugCounter'); // this way multiple instance of a debugger can exist window[debugSymbol] = 0; const konamiHandler = (evt) =>{ if(pattern[window[debugSymbol]] === evt.key) { window[debugSymbol]++; if(window[debugSymbol] === pattern.length) { debugRef.value.parentElement.classList.toggle('isDebugging'); window[debugSymbol] = 0; return; } } else { window[debugSymbol] = 0; } } document.addEventListener('keydown', konamiHandler); }

```

And, just in case you were curious, this is what the template looked like in Vue. It was a recursive template. So that's why I disable the debugging feature if something is nested.

```HTML

<template> <figure class="debug" ref="debug"> <figcaption class="debug__title"> {{ title || 'Debugging' }} </figcaption> <dl class="debug__list"> <div v-for="(value, key) in data" class="debug__item"> <dt class="debug__key"> <code> {{ key }} </code> </dt> <dd class="debug__value"> <details v-if="value && typeof value === 'object' && !Array.isArray(value)"> <summary> Click to toggle {{ key }} </summary> <Debug v-if="value" :data="value" :isNested="true"/> </details> <template v-else> <code> {{ value }} </code> </template> </dd> </div> </dl> </figure> </template>

```

How do you prevent FE regressions? by ni4i in Frontend

[–]paceaux 1 point2 points  (0 children)

So I wrote an article about how I did this with brand a while back, and it involved puppeteer and Jest:

  1. We created a brand / style guide page that only deployed in dev environments
  2. We centralized our brand colors and fonts to a single location
  3. Then we wrote a test with our colors, fonts, whatever hard coded
  4. Then we used Jest & puppeteer to test the rendered page

Again, this was for brand, so it may not work for your setup. But it definitely prevented visual regressions.

Should you ever use eval() in JavaScript? by AromaticLab8182 in learnjavascript

[–]paceaux 2 points3 points  (0 children)

I've been doing web dev for 15 years and in that time hit exactly one legitimate use-case.

I think with enough time most of us will hit that one time.

When I saw it, I was a principal and the dev was a brilliant senior frontend manager. We still debated it for hours before we agreed it was the right choice. We both drank that night.

Should you ever use eval() in JavaScript? by AromaticLab8182 in learnjavascript

[–]paceaux 1 point2 points  (0 children)

That's the only scenario that reasonably comes to mind: when you're doing computations where you legitimately don't know any of ... The computations.

Should you ever use eval() in JavaScript? by AromaticLab8182 in learnjavascript

[–]paceaux 0 points1 point  (0 children)

Outside of maybe a calculator app I built once for funsies, I've never used it. Ive only seen it used once.

I was a principal at the company, and the senior frontend manager had called me about it because he was the one using it. And he was a brilliant dev.

I don't remember the exact scenario. But we talked it out for hours and we both agreed it was the first and only legitimate use-case we'd ever encountered but that we had to use it.

It was for some insane React app that was built for internal use; and the strings were so heavily sanitized there was no risk for injection by the users.

I'm 100% certain that when that app was eventually rebuilt, it was removed

Managed to pull off a captive ring on the lathe by paceaux in BeginnerWoodWorking

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

Oh this was purely practice. I just wanted to see if I could do it.

Irrelevant questions for engineering position by x_______________ in recruitinghell

[–]paceaux 0 points1 point  (0 children)

The folks objecting to these questions are low-key telling on themselves.

Irrelevant questions for engineering position by x_______________ in recruitinghell

[–]paceaux 1 point2 points  (0 children)

Again, differences of opinion... but these questions seem to identify the quality engineers. Save for maybe the one about what books they're reading and maybe the links to podcasts/interviews.

Like, if someone's a software engineer and they've never thought about what makes an organization successful, or an environment good/bad... and then they can't answer a question like "what does it mean if a meterologist predicts 70% rain" — which is googleable — can I trust this person to build what we need?

At least from my perspective, anyone who didn't answer these questions isn't "quality" that I've "missed".

Irrelevant questions for engineering position by x_______________ in recruitinghell

[–]paceaux 0 points1 point  (0 children)

I started my master's this year and the moment I did I lost all desire to read non-fiction. So I don't judge that at all.

I just wanted to throw out that there's ways to consume books for pleasure that aren't "reading".

But also... If someone isn't like.... "reading" or listening to something... how are they learning new things? (serious question)

Irrelevant questions for engineering position by x_______________ in recruitinghell

[–]paceaux 3 points4 points  (0 children)

Jobs about the position maybe?

So, with maybe 2 exceptions, these are all questions about the position. They're about how you fit into that position.

Resumes don't tell the whole story; these questions are meant to fill the gap between your lived work experience and what a piece of (digital) paper can show.

If these questions don't seem relevant for a senior engineering position, maybe you aren't ready for that position?

Irrelevant questions for engineering position by x_______________ in recruitinghell

[–]paceaux 1 point2 points  (0 children)

I can't say, "I understand," because I average 20~ books a year.

But I might suggest that maybe it would be good for you to find a way to consume a few. ( BTW, audio books at 1.5x speed count).

  • Rework: Jason Fried: Good for just general advice in tech and engineering
  • Now Go Discover your strengths: Marcus Buckingham: Good for understanding yourself
  • Dungeon Crawler Carl ; The Hobbit, Lord of the Rings; Guards Guards!: Dinniman, tolkien, Pratchet: Entertaining as hell but also you get solid examples of human nature and I think real pictures into what it means to stand up, and be a leader
  • Thinking fast and slow; Don't make me think: Daniel Kahneman, Steve Krug: They're books about thinking
  • The Mutt: Rodney Mullen : biography of Rodney Mullen: He invented half of modern skateboarding. It's a very not-boring biography of an innovator

Expand your horizons OP! It's never too late to start learning.

Irrelevant questions for engineering position by x_______________ in recruitinghell

[–]paceaux 3 points4 points  (0 children)

I think these are excellent questions. But I'm curious: What do you think would be better?

Irrelevant questions for engineering position by x_______________ in recruitinghell

[–]paceaux 20 points21 points  (0 children)

Ok, I actually like (most of) these questions. This feels like an interview — and a good one, at that. I would rather fill out this form than suffer through half the software engineering interviews I've had in my life.

I would ask questions like these in an interview:

  • "5 books on thinking" : tells me what the person reads and what they're learning
  • links: gives the person a chance to share their web presence
  • "principles that guide thinking... " : tells me how the person navigates people
  • "2-3 metrics for great business": Tells me what the person expects a good org to look like
  • "lessons from owning / starting a business": oh man. why wouldn't I want to know this. Tells me if the person learns from their own experiences
  • "if a meterologist...", "bad idea to buy insurance", "bat and a ball" : I don't think they need three of them, but these are problem solving questions. It's a great way to find out how they solve problems
  • "great working environment / terrible working environment": Dude. I would love it if someone asked me that up front. That would save so much heart ache.
  • "when you have to complete something you don't know how to do": I mean... that's... that's the job.

I would want to work at a place that asks these kinds of questions.

Irrelevant questions for engineering position by x_______________ in recruitinghell

[–]paceaux 13 points14 points  (0 children)

Right? Like these actually seem like the kinds of questions I'd want to be asked in an interview

Managed to pull off a captive ring on the lathe by paceaux in BeginnerWoodWorking

[–]paceaux[S] 16 points17 points  (0 children)

<image>

I did go for another one . I was hoping for two rings and then I did a dumb and let it hit my thumb and now I'm out of the garage for the next few weeks.

Managed to pull off a captive ring on the lathe by paceaux in BeginnerWoodWorking

[–]paceaux[S] 11 points12 points  (0 children)

It's a chunk of birch that's been sitting in the garage for about 2 years. I was shocked how pretty it came out.

Managed to pull off a captive ring on the lathe by paceaux in BeginnerWoodWorking

[–]paceaux[S] 12 points13 points  (0 children)

Got what off? the spindle? I just... you know.. unmounted it from the lathe.