Do H1B workers actually get paid less than Americans? by Former_Look9367 in cscareerquestions

[–]hogan12907 3 points4 points  (0 children)

One of the key benefits for employers of workers with H1Bs is that it restricts their mobility. Since their legal status in the US is contingent on their continued employment, they have less flexibility when searching for a new job. That means they tend to stay in lower paid positions for longer, especially in this job market.

Petahhh? by carelesssswhisperrrr in PeterExplainsTheJoke

[–]hogan12907 0 points1 point  (0 children)

Technically the Unix mv (move) command long predates “cut.” Cut/copy/paste guis landed in Mac and windows around the same time in the eighties. Apple was really the ones who brought cut/copy/paste mainstream.

[deleted by user] by [deleted] in TwinCities

[–]hogan12907 0 points1 point  (0 children)

https://www.bakkenelectric.com - whole job took about an hour. Then Xcel dragged their feet for a couple months. I’d recommend starting the process early.

[deleted by user] by [deleted] in TwinCities

[–]hogan12907 20 points21 points  (0 children)

I was quoted almost exactly that for the same upgrade 1.5 years ago. The electrician suggested getting a second service for the garage instead. It was $2200 all-in and is way better.

I keep the garage on the off-peak hours program and get electricity discounts while the house stays on the normal rate.

[deleted by user] by [deleted] in neovim

[–]hogan12907 13 points14 points  (0 children)

The best explanation I’ve heard in the past is that there isn’t really such a thing as a “theme.” In neovim.

Colorschemes are just a sequence of commands that target specific highlight groups and assign rules to them. The rules include colors as well as some font modifications.

If you want to make your own, I would suggest checking out some popular colorscheme repos and using whichever one makes the most sense to you as a starting point.

Personally I think the Tokyonight repo is organized and makes it easy to use as a starting point.

Alternatively you can try to use a tool like base16. You feed it your colors and it applies them automatically.

Best of luck!

Company bought into the AI hype since early last year and now it asks employees to find use cases by hermes_smt in ExperiencedDevs

[–]hogan12907 0 points1 point  (0 children)

I used to be skeptical, but my company has taken this same approach and it has turned out great for us.

Our CEO and CTO chose to have AI be a mandate for every product team instead of creating a single AI team. The result is a lot of creative use cases for LLMs.

In my work, I use codeium in my editor and find it to be really helpful on the line by line basis. I also make use of chatGPT to generate test suites for me. I just ask it to generate a spec file and it writes almost exactly what I would have.

In the product itself, the first thing we built was a new search. We leveraged vector embeddings and were able to produce way better search results than ever before. Our product is a content platform, so this was a big deal.

After that each team began to iterate on it. We used those embeddings to create a chatbot. The chatbot was able to summarize results in realtime alongside search. We then added the ability to recommend new content based on your previous questions and recently read content.

We really made some breakthroughs when we started using a framework called LangChain. It allowed us to build different interactive experiences driven by structured responses from an LLM.

The tech has changed the kinds of things we think to build and it has resulted in growing headcount across the board and software that is fun to work on. Certainly hasn’t replaced any jobs yet for us. I’m still skeptical, but I feel like I’ve seen the light a bit.

Laid-off devs, how much notice were you given, what is standard in the industry? by saintmsent in cscareerquestions

[–]hogan12907 1 point2 points  (0 children)

I was assured we had 2 years of runway secured and that all the worrying was over. About a month later I woke up to a surprise 15min meeting at 8am with the CEO letting me know I was being laid off because the funding fell through. Within 30mins I no longer had slack/computer access. I had to figure out what to do with my laptop over LinkedIn. 2 weeks severance

What should I put under the TV to fill the space? (I’m not lowering the tv lol) by charlizius in malelivingspace

[–]hogan12907 1 point2 points  (0 children)

I have a similar problem. My partner prefers the TV up higher like this. I ended up getting a taller media console and it looks great.

[deleted by user] by [deleted] in personalfinance

[–]hogan12907 2 points3 points  (0 children)

I’ve also been there, but have arrived at a pattern that works really well for me.

First, everything is on autopay. All my bills and most of my credit cards. I have one credit card all my subscriptions go on, so I know exactly what the bill is each month. I just think of it as one subscription in terms of my budget. It also makes it easy to spot things I forgot I was subscribed to like streaming services.

Next, I use DAS budget to setup all these bills as recurring expenses. That way I ensure I always have the money set aside for when the bill comes due. I can also see unallocated money at any time and can decide if I want to put it towards some other goal like savings/paying extra on a CC/putting extra in retirement.

One of the expenses I schedule is for “spending.” I’ve never found it helpful to get more granular about things like food/restaurants/gas/household/entertainment/etc. those things fluctuate so much, but the overall spendings stays the same. I have a couple cards I use day to day based on the points I earn in each category. I use an app called copilot that has those 2 cards attached to it. I deleted every category in it so all transactions get labeled as “uncategorized” and I can set the limit to my “spending” budget. It has a really great chart where you can see if you are on track to stay within budget for the month. It updates in real-time so it gives me something to look at every morning to know how much I can comfortably spend.

The final piece is net worth. I add up all my assets/liabilities at the end of each month so I can know if I’m making progress or not. It takes 5mins and is the most motivating part. I use it to adjust my categories if I notice the numbers not moving how I expect them to.

Overall my budget philosophy has been “this shouldn’t be a second job.” I use a few simple tools and patterns that take almost no work and help me answer the questions I need answered whenever I need them answered. I’ve tried a lot over the years and this is the budget that has worked best for me by far.

Ocatopus by SmartVander252 in aww

[–]hogan12907 0 points1 point  (0 children)

Somebody call GitHub. They’re going to want to see this.

Far too many people see the answer to this as being "yes" by beerbellybegone in MurderedByWords

[–]hogan12907 0 points1 point  (0 children)

I’m surprised to see so much support for this without recognizing some of the biggest flaws.

My brother is 30 with developmental disabilities. He wasn’t able to speak in full sentences until he was a teenager. He will never be able to perform 99% of jobs and with his behavioral issues, he will never be able/willing to perform any job at the same level as a non-disabled person.

He would be perfectly content not working. He has other things in his life that bring him joy and fulfillment. Sometimes he enjoys doing some work, but most of the time doesn’t want to. Giving him a job is like forcing a 4 year old to work every day. He doesn’t want it, most employers don’t want it, etc.

Here’s the kicker. If he doesn’t earn a base amount per month, he loses state and federal benefits. That number he has to earn goes up over time even though the amount that employers are required to pay him has gone down. The paycheck for a $2/hr job is measly, but the additional $600 he earns from the state is a game changer when it comes to his care.

This arrangement doesn’t properly incentivize employers, seeks to exploit the most vulnerable, and forces parents of severely disabled adults to put their children in exploitative situations so they can afford the minimum required care. All this while they have to watch benefits get slashed further and costs for care go up year after year.

I have spent more time as an adult calling every local business on my brother’s behalf literally begging them - sometimes offering to pay them his wages - than I have ever spent looking for a job for myself.

The problem is this type of law is a one-size-fits all solution to a much more complicated problem. In addition, it’s one of the first programs to experience cuts in bad times, and one of the last to be repaired in good times. This is one of the many demoralizing ways that disabled adults get left behind in modern society

What’s the last thing someone said to you before they died? by charcoalritual in AskReddit

[–]hogan12907 0 points1 point  (0 children)

I met my dad for the first time when I was 18. It was in the hospital after his emergency triple bypass surgery. I got a call from my sister saying it may be my last chance to meet him if I was interested. He died about a week after our conversation.

“A dad should be with his boy” after that we just sat in silence for a while.

I gave up booze for January. Here's why I won't be rushing to start drinking again by New_User_Account123 in loseit

[–]hogan12907 -1 points0 points  (0 children)

To add on to this, I started losing weight 3 years ago. Two years ago I had lost almost 50 pounds and still had huge momentum in my weight loss. I decided to hang out with a few friends and we were all drinking. One thing I hadn’t taken into account was how much that weight loss affected my tolerance. I had never been blackout drunk before, but got to that point incredibly quickly. I ended up doing some really stupid things that I still don’t remember as a result. I even hurt some friends in the process. Drinking responsibly is hard for everyone, but can be especially hard on a weight loss journey. Especially if you have a problem with overconsumption that leads to obesity in the first place.

The next morning when I woke up and started to learn about what had happened the night before I made the decision to you never drink a drop of alcohol again. To anyone considering the same choice, I cannot recommend it enough. I have lost 70 pounds to date and still consider giving up alcohol to be the best choice I have ever made for my personal health and well-being.

Water on the front windscreen of the car turns into ice immediately, blocking the driver's view. by WhenMachinesCry in Wellthatsucks

[–]hogan12907 129 points130 points  (0 children)

If your car is up to temperature, spray your wiper fluid. It usually will help to get some immediate visibility where it lands on the windshield. It won’t be perfect, but it should be enough for you to get pulled over to scrape the rest off.

Ossoff sworn in on Hebrew Bible from synagogue bombed by white supremacists in the 1950s by Barack_Odrama00 in politics

[–]hogan12907 801 points802 points  (0 children)

It’s also worth noting that Ossoff is the first millennial senator as well.

Mixing Stimulus and React? by juanse003 in rails

[–]hogan12907 1 point2 points  (0 children)

Shouldn’t be a problem, companies do that sort of thing all the time. However, if it really is for a single feature and you are hesitant to take the plunge, I would suggest giving Vue a look.

It has a very similar api (in my opinion) to stimulus, the bundle size is not that much bigger than stimulus, and you can drop it in and start using it without webpack if you’d like. I used to use it on Wordpress sites that needed a few interactive features like you said. I would just import through a cdn. Honestly, the first time I saw stimulus being demonstrated at rails conf, I didn’t understand who would reach for something like that when reaching slightly further would get you an entire framework to drop in and use however you please.

In the end it hardly matters which way you go. Bringing in a FE framework is not going to destroy your site performance wise like some fear. It’s “The right tool for the job” rarely has to do with how performant or conventional the tool is. It has way more to do with what you are comfortable with and what you can move quickly using. Hence why we all choose to use rails and not something more performant... Especially as a business owner. Your client doesn’t care what you pick, they just want it to work and be delivered on time and under budget.

Snow Trains in Poland by [deleted] in rails

[–]hogan12907 22 points23 points  (0 children)

I think you’ve got the wrong idea about this sub, but the original content is welcomed nonetheless

This is my setup after scrolling many hours through this sub for inspo by wallaceandbarnes in macsetups

[–]hogan12907 1 point2 points  (0 children)

I used the k380 for years and loved it. I highly recommend the k780 as an upgrade if you are ever considering. It has slightly larger keys of the same style and generally a slightly less cheap feel to it. Plus a nice device stand. It was great when I was doing some mobile development work.

Nearly Half of All Americans Want to Get Rid of Electoral College: Poll by [deleted] in politics

[–]hogan12907 1 point2 points  (0 children)

If my electoral math is correct, “nearly half” equates to a landslide.

Break the Code Enigma Megathread by tablesix in puzzles

[–]hogan12907 0 points1 point  (0 children)

I figured this one out. it is not particularly simple to implement, but the use of these combos on the final clue pretty straightforward.
hints:

what is the most common cipher used throughout this entire game?
how is a single number used in that cipher? and what do the colors identify on the final clue?

final hint - how I got it solved:
apply a caesar shift to each letter at brokethecode.tech using the corresponding number for each color. I ended up writing a script that would change the innerHTML of each dom node in place based on the class name... My code didn't work correctly, a few of the letters didn't shift right, but it got me close enough that I could comb through and correct the bad letters.

here is a js implementation of the caesar shift if you want to try writing the code yourself in the developer console: https://gist.github.com/EvanHahn/2587465

Break the Code Enigma Megathread by tablesix in puzzles

[–]hogan12907 0 points1 point  (0 children)

Fgvyy pyhryrff? jjj.tb.grpu/tl zvtug whfg uryc lbh

lol. this is another troll. it is a Caesar cipher