Spyke

Posts

unpopularopinion·Unpopular Opinionbypython

I'm starting to unironically like Tarot

This is really stupid, because I've never believed in anything supernatural or astrology-adjacent at all.

But I've been working on a satirical plugin for YouTrack (Jetbrain's alternative to Jira) called Scrum Tarot, the equally accurate alternative to Scrum Poker. So I had to kinda look into what sort of Tarot cards exist, and played around with online tarot drawing tools like dailytarotdraw.com. And while the project is now in a "I've lost interest so I'll never finish it" sort of state, I do keep coming back to that tarot website.

It's just ..fun? Like obviously I know this stuff only works because the description of the cards is purposely vague so that your brain fills in the gaps and makes them fit whatever situation you're in. But drawing three at the end of the day and seeing how I'll interpret them has been very meditative and actually kind of a good way to figure out the things that weigh on my mind without realizing.

View original on lemmy.world
cs_career_questions·CSCareerQuestionsbypython

I'm at a crossroads and can't decide whether to take this new job

Hi! I'm currently hunting for a new job and a really really good sounding place came along, but I'm having a hard time deciding whether it's actually a good idea because my existing job is already pretty cushy, so a switch might not be worth it. Would love to collect a few more perspectives on this!

My current situation:
I live in Germany. The company I currently work at is my first workplace ever. I started there in late 2021, did my apprenticeship in 1.5 years and was taken as a Junior in early 2023. The economy wasn't great at the time, so I had no wiggle room with the initial salary and started a bit low. I was promoted to regular exactly a year later in early 2024, and now that I've hit the internal requirements for senior that promotion is scheduled for sometime this year (the talks to find a senior project for me are ongoing, but my manager is visibly dragging his feet).

The pay raise system for my current company isn't great, so my low starting salary hasn't really grown at a pace that is acceptable considering my current duties and expertise. In hard numbers, I earn about 50k€ p.a. plus about 1.5k in performance bonuses (those aren't promised, but I've consistently gotten them every year) plus I own some company stocks that make like 300€ a year. Further bonuses are that the company pays a part of my D-Ticket (Universal Bus/Train ticket for the entirety of Germany, it's usually around 60€ a month but the company co-pays like 20€) plus they offer an Urban Sports Club membership with wich I can access all the gyms I'd ever want for 20€ a month.

The work is 100% remote, hours are completely flexible and overtime is compensated very fairly. Plus since I'm out of my trial period, it's basically impossible to fire me (which is normal for Germany).

The cons of my current workplace are that it's rapidly enshittifying. There's a strong push towards using AI everywhere, even if it makes no sense. It's also getting increasingly bureaucratic and annoying - many decisions can't be made by regular developers and need to be pushed through random stupid committees, and many features we need to build are just stupid random requirements that management came up with without actually knowing shit about fuck.
I also hate the new hires, especially my team's new architect who has a background in working for advertising and retail systems and now wants to do dumb shit like enforce customer tracking and aggressive data collection (we're B2B, all customers are paying customers so collecting their data is a stupid and illegal idea).
Another frustration is that I was appointed as the dedicated person that needs to keep watch on our security and compliance. That has never been an especially thankful role - no matter how large of a security flaw I bring up, I get met with an eyeroll and a "we don't have the time to fix that" from the side of the programmers and a very annoyed "why the fuck are you not doing anything about this??" from the side of the head security officer. Which ends in all security fixes being kind of my own problem. I'm extremely burnt out from that.

My stats:
In broad terms, my current skillset (which decides my market value) is the following:

  • 3 years of extremely solid hands-on experience in React and Typescript (not the kind of experience that code-bootcamp people have, actual experience)
  • 3 years of solid experience in everything AWS
  • Security Engineering knowledge
  • I'm extremely flexible, so I adapt to new tech very very fast
  • Outstanding soft skills and mentoring abilities, I basically lead all of my teams meetings and onboard all the new colleagues

--> basically, I have all the capabilities of setting up, building and maintaining a state of the art web/cloud based project all by myself.

My job search so far:
Generally, I haven't been super active in searching and only applied to the occasional very interesting seeming position. I got more interviews than you'd expect for someone who refuses to use AI to write their CV and does not write motivation letters. Those have led to two serious leads so far: one role for an extremely large company that loans out programmers (so it's kind of a forward-deployed engineer role) for 65k which I declined because the role would entail pushing out AI slop all day. And another where my second interview is still upcoming, but it's for an ISP who is known to pull customers into predatory contracts. The pay range is 62-75k but I'm on the verge of canceling the second interview because I disagree with their business practices.

In addition to that, I always have the option of nepotism and going to work at the small company my dad works at as an SPS/Delphi Programmer (the pay wouldn't be the best but it's always a fallback option).
Or I could take a shot and apply for the company my husband works at. He says he could put in a good word for me and get me a good chance at a role, but that would probably be embedded programming with like C, which I don't find very fun or rewarding. And it would be for the military, I'm kinda iffy on that. But the pay and job security is great since it's a place that follows IG-Metall Union rules.

The current offer I'm considering:

I randomly came across a very small (like 20 people) company who used to be an SAP consulting firm but hard-pivoted towards developing tools in a small niche where they compete with the current american monopoly for those tools (sorry, I can't be more specific than that, it really is a tiny niche).
They're extremely vocal about european data sovereignty (hell yes, no more working with AWS or Atlassian) and politically engaged in Open source, environmental projects and anti-nazi stuff.

They've been successful in their hard pivot so far and now they can't keep up with customer demand and need to be rapidly expanding, but they still haven't proven that it will work out long term so that expansion is risky for them. Coincidentally they're looking for exactly what I bring to the table (deep expertise in React/Typescript with DevOps experience and a lot of autonomy) in a role where I basically solo-drive a small project from start to finish. They got those red flags where they say they're "basically a family" and "like a startup", so you know the workload will be extremely high and stressful, working on weekends will be normal and being on-call 24/7 will be expected.

But: I'm really interested in their niche. It's a super cool ecosystem and even though I'd be getting a lot more architectural responsibilities than I should, that would be mitigated by the ecosystem being very opinionated on architecture so I can't go too wrong. And from the people I've met so far, it seems like a genuinely nice, open working environment with basically no bureaucracy. It's remote-first, but other than that the benefits are negligible. No more stocks, gyms or train ticket support for me.
But working at a place I I morally align with is a big factor for me. I have never talked to a company where data sovereignty is even considered, much less actually promoted like with them. And between all my interviews, AI has not been mentioned even a single time. All I know about their stance on it is how many of the people I met keep liking "AI is a dumb waste of money" posts on Linkedin. Which is a good sign.

I've had three interviews with them within the last week - first with their two "Face of the company/ people communication" guys (not HR, there is no dedicated HR person) then I got a small coding task which I absolutely aced so they wanted me for a technical interview the next day. They said they'd be thinking about it for at least the next week since they need to consider the other candidates, but the owner of the company was in my inbox the very next day asking to talk asap. The owner guy is the only one responsible for money allocation so he's the one I had to talk to when it came to salary stuff.

He let me know that I absolutely aced all the interviews and literally every single person in the company unanimously wants me on board (I actually believe it, considering how many of them have checked out my Linkedin profile).
BUT while talking to him was extremely nice, our salary expectations were very far apart. My opinion on the role was that demand-wise it's a Senior Software Engineer position with some aspects of Dev-Ops Engineer sprinkled in. The normal market rate for someone with 3-5 years of experience for that would be around 63-83k as far as I've seen, but the "startup workstyle", broad responsibility, high amount of project ownership and high amount of technical autonomy, plus the fact they want someone who can contribute right from day 1 makes me think the upper half of that range would be appropriate. So my number is 73k.

He was.. quite shocked. He said the absolute maximum amount of budget he has is 50k, because their current pivot is still quite a large risk. Basically, they can't afford to spend more money than that if they aren't 100% that they can make it back. And I do believe him on that, that number did not seem like a tactic to lowball me. I've done very, very deep research on the company and have found out trough the grapevine that their annual revenue is only in the ballpark of 800-1100k. I can see that a programmer asking for almost 10% of your annual revenue can be a bit offensive, haha.

Still, we ended the interview on a very good note and I still like the guy as a person. In my research I also came across the fact that he'd been considering turning the company into a Worker Cooperative when he retires (only like 3 years until then I believe) so I drilled him on his concrete plans for that. The plan apparently still stands and he explained the logistics of it to me - it sounded super solid, and I'm just way too on board with that kind of communist shit. He was also pretty flattered with how deeply I researched everything and how prepared I am, that's definitely not the norm for applicants 🥹

Anyways, we didn't come to an agreement on salary in that interview, none of us could even name a second number since we were literally 23k apart. So we decided to both crunch our numbers again, see what can be done and what compromises and risks we're willing to take. We're talking again on friday morning, and I'm pretty sure that where the final decision will be made.

I have talked it trough with my husband about a dozen times now, and the offer I will be bringing to that talk is 60k€ but for 35h/week. Our current rental apartment contract is limited to 3 years, at the end of which we will be buying a house. The next market collapse is coming, and we're sure that having our own property will be the best way to weather it, so it's a big goal that we both need to financially contribute to. That means that I can't really afford to sell myself for much less than market value (AND much less than my current job! Which is 50k for 36h/week at the moment, but the yearly pay raises are next month).

I also know I'm way too enarmoured with this offer. There's a heavy sunk cost fallacy going on and hating my current job is definitely pushing me to rash decisions. I totally see that I'm being a fucking vegan and letting my morals overshadow my financial self-preservation. But I also have enough savings to cushion a total catastrophe, and leaving my current company wouldn't actually burn any bridges, so there's a high chance they'd take me back if things don't work out. Honestly... I don't know. There's plenty of ways to argue that I should stay at my current job, or that I should keep looking, or that I should take that new job. When I weigh the pros and cons, all the options end up at kind of an equal place.

Soo.. does anyone have opinions on this? What would you do in my place..?

View original on lemmy.world
ichbin40undschwurble·IchBin40undSchwurbler bypython

Jobausschreibung von einem Schwurbler-Verlag

Bin da gerade tatsächlich beim normalen scrollen von Stepstone drauf gestoßen und schon in den ersten paar Sätzen läuteten die Alarmglocken.

Bei uns werden mit Mut, Neugier und Leidenschaft politisch korrekte Denkbarrieren durchbrochen und so die Zukunft der Medienwelt kreativ mitgestaltet.

🤨🤨🤨

Hier ist die Wikipediaseite von dem Kerl. Eine Sektion namens "Lokalpolitische Auseinandersetzungen" zu haben ist doch voll die Green Flag für einen Arbeitgeber.

Jobausschreibung von einem Schwurbler-Verlaghttps://www.stepstone.de/stellenangebote--Fullstack-Entwickler-m-w-d-mit-KI-Affinitaet-in-Vollzeit-Rottenburg-am-Neckar-Kopp-Verlag-e-K-Inh-Jochen-Kopp--14027399-inline.html?rltr=3_3_25_crl_m_0_0_5_0_0_0&cs=trueOpen linkView original on lemmy.world

Very dumb question about app notifications

My home assistant setup is super simple: pre-configured Home Assistant Green box, Zigbee dongle and some assorted Zigbee devices scattered around my home. I have the Home Assistant app on my phone to see the Dashboard while I'm at home, but since I never configured the box to be accessible from outside of my network, I obviously can't see the Dashboard if I'm not at home. Very basic stuff so far.

A few weeks ago, I built a little automation. I shoved a vibration sensor into my doorbell box (it's one of those that uses an electric motor to hit an actual bell) and when it detects the doorbell ringing, it flickers my light and sends a notification that says "ding dong" to my phone. The purpose is just to hear the doorbell ring when I have headphones on. The lights work perfectly fine, the notification is a bit delayed sometimes because I probably don't give the App enough permissions to hang out in the background all the time. I've never felt like fixing it though, since the lights are good enough by themselves.

Now I'm on my first longer trip since setting up that automation and I've noticed that I occasionally get the "dong dong" notification on my phone. First few times I've ignored it, because I assumed it's just old notifications that got queued while I was home but didn't fire until the app was allowed to sync. But the notifications started coming in at way too reasonable times and I checked in with my husband at home -- turns out they're actually completely correct and I'm getting actual real-time notifications for the doorbell ringing.

But like - how?! I thought my Home Assistant Green box isn't set up to send anything to the outside world?! I can't see my dashboard from other networks, so why would notifications be any different? Does anyone have any ideas as to why I'm getting those notifications?

edit: Thought it would make sense to include a screenshot of my settings; As you see, my home assistant URL is a local IP address. I have no idea why my phone would be able to talk to that? It can't talk to my local-IP-only Jellyfin server either, so why would this be any different?

View original on lemmy.world
dull_mens_club·Dull Men's Clubbypython

Radish update

All my radishes have now sprouted! I thinned them out last week and had the spare ones on top of some potato salad.
Yesterday I also planted 10 Brokkoli saplings in between the radishes so that the planter isn't empty once the radishes are ready to go (should be in like 1-2 weeks I think?)
Oh, and I'm working on transitioning my sugar snap peas to the outside world. They're outside during the day and inside at night for now, but I'm hoping to keep them outside permanently pretty soon.

View original on lemmy.world
linux·Linuxbypython

And so it begins

I installed Linux Mint for the first time on my personal Laptop just a few months ago, and it ran so well that I didn't want to mess with it to try out different distros.

But today, my company's IT department announced that they have some spare old Laptops to give away (technically because they didn't meet the specs for Windows 11, didn't stop the IT department from giving them out with Windows 11 pre installed though)

So now I got a few devices to play around with!! They're a Precision 7530 and a Latitude 7390 2-in-1!

I already got ZorinOS running on the little guy because apparently Zorin is nice for Touchscreen support. For the big guy I was initially thinking that I could try Bazzite, but the installer was like "Intel UHD Graphics aren't really recommended" so I might try something else first. Any recommendations? I mainly just want to try as many different flavors of Linux as I can haha

View original on lemmy.world
lemmyshitpost·Lemmy Shitpostbypython

First snake to be covered in vegan butter?!?

That is such a cursed combination of words. She climbed into my credit card holders metal loop while I was answering a Teams message and got stuck. Only started backing out voluntarily when I lubed her up. She's all right now, there was only a slight hint of a dent about 5 minutes later and it's all gone by now.

This is a shitpost because I realize that this situation is fertile grounds for puns and innuendos. Go ahead.

View original on lemmy.world
webdev·Web Developmentbypython

Has this React thing I've been doing been incredibly bad practice all along??

Okay so, context, I've come across this video last night. It's a short comparison between React and Svelte. Point 9 - Shared state (6:20) mentions that React doesn't really have a primitive way to share state between nested components and that you basically need to use something like Redux to get that working.

But... I've been sharing state between nested Components in just React for a while now and didn't know that I can't?? But I also don't remember where I learned to do it, so the chances are high that I just hallucinated up this method as a Junior.

Basically, when I want to share state I just make a new Context and ContextProvider, wrap it around the highest level Component I need it in, and use it lower down in the component tree.
If I need a state, I put the two outputs of the useState hook into the context (which feels nice because when I look through the code, I can see right away which children only read the value in the state and which children actually take the setter and have the capacity to change that state). Sometimes I don't even hand out the actual setter from the state, but a new function that also does some input validation before calling the setState itself. Doing it this way has always felt pretty clean to me.

From the React documentation, it seems to me like that's exactly how you're supposed to use Context. But I've also never seen anyone else do it like that. So is it incredibly ill advised and I've been shooting myself in the foot this whole time?

As a more specific example, my most common use case is that I need to render fetched data in a grid. This data can be filtered, but the component that sets the filter state is either on the same level as the grid (the grid's built in filter menu) or above it (a button that sets a predefined quick filter) or even further above that (a useEffect that looks for query parameters in the URL and sets those before the data is fetched for the first time).
So what I'd do is const [filterModel, setFilterModel] =useState() at the highest level and pass it to <FilterContext value={{filterModel, setFilterModel}}>. Then, I'd just use const {setFilterModel} = useContext(FilterContext) within all the components that write the filter and const {filterModel} = useContext(FilterContext) everywhere where I just need to read the filter, like in the hook that actually fetches my data. Does that make sense? Is there an easier/safer way to do it that doesn't involve adopting yet another external library?

View original on lemmy.world
webdev·Web Developmentbypython

PWA display modes and safe areas?!?

Hello! I'm messing around with some PWA features and getting really stuck when it comes to display modes. Basically every browser and device I test on behaves wildly differently, and I'm having a hard time distinguishing which of those behaviors are errors on my part and which are just browser funkiness.

(Link to my PWA if you want to check the manifest or see how it displays for you)

In my manifest, I try to set the display mode to fullscreen. This setting seems to only be properly and consistently applied when I test on my Lenovo Tab 11 running Chrome. Firefox on the same tablet does not respect it and starts in standalone mode, unless I also have the Chrome Version of the PWA installed. Once that is the case, Firefox is beautiful and consistent. I have no idea why the different versions installed by the different browsers would interact with each other like this.

When I install the PWA on my phone (Pixel 9 Pro running GrapheneOS), via Chrome or Vanadium, the site thinks it's running in fullscreen, but I still have a black bar at the top (it doesn't apply the theme color set in the manifest!). This wouldn't be a problem per se, but the browser also sets a safe-area-inset parameter, which, when I respect it, leads to a very fat distance from the top (the safe inset is green):
::: spoiler spoiler :::
When I install it on my phone via Firefox, the app sometimes thinks it's display-mode:browser but displays perfectly fine as fullscreen, and sometimes it thinks it's fullscreen but displays more like a standalone. It seems completely random and can change any time I close the app or navigate away from it:
::: spoiler spoiler :::

When I install the PWA on my secondary phone (Moto G100) via Chrome, it has similar issues as on my main phone (it thinks it's fullscreen but is actually standalone) but it does not apply that ridiculous safe-area-inset. That backfires sometimes as navigating back via gesture will catapult the page to take up the full height, so the header shifts into the top bar. Would have been nice to have that safe-area here...
When I install it via Firefox on the Moto G100, it looks good about half of the time! Actual fullscreen with proper safe-area that doesn't break on navigation. Sometimes it randomly starts in standalone mode, but with the proper theme color applied to the top bar. Everything breaks if I have the Chrome version installed at the same time though. Then, the firefox version will never show up as proper fullscreen, but always have almost the same display issues as the Chrome version on that same phone.

I haven't even tested the PWA on iOS yet (I'll have access to an iPhone in about 2 weeks though so I'll test it then) but I'm guessing it will have its own display challenges as well. I'm also still battling the display issues from swapping my SVGs to generate with colors from the OKLCH system (it seems to really mess with any open source browser I've tried). So maybe, I should just ignore the browser display issues for now and focus on my color display issues instead?

Also, does anyone know if I can just let the user decide on their own preferred display mode? It would probably be the best solution to just let the user set the display mode that actually works in their specific browser. But as far as I understand how manifest files work, I can't really change much once the app is already installed, and I haven't found any online documentation that would suggest that I could programatically change the display property in the manifest based on user input :( But maybe there's some workaround you know about?

I would be very happy about some pointers and feedback on how I might get this display thing halfway consistent!

View original on lemmy.world
bikewrench·bike wrenchbypython

Does anyone know whether this type of ebike frame to motor connection has a name?

Sorry, might be a stupid question, I have literally no idea about bikes!

What I'm looking to do is figure out whether there are any modern-ish ebike motors on the market that I could swap my current motor with (I'm assuming I'd be swapping all the other innards to fit that motor too, so dw about battery compatibility and the like). All I know about the current Motor is that it's a 250W Panasonic motor from around 2011. I asked the mechanic at my bike shop whether I could just toss one of those Bafang conversion kits on the bike but he said the way that my pedals sit within the motor would be incompatible with that and I'd need to get an actual ebike motor, not a conversion motor.

So now I'm trying to find information on current Panasonic motors and what sort of frames they need to fit, but I'm having a hard time because I have no idea how to even call this kind of spacing on the frame. Does anyone have an idea on what to call it/describe it as? Or is is a proprietary thing that I'd need a welder to rework? (Totally an option if push comes to shove, I know a guy)

Some more pictures from as many angles as I could get into (should I be getting measurements of any of these?):

::: spoiler spoiler :::

View original on lemmy.world