Details
-
AboutStarted with web dev when I was 13, so that makes 12 it years in 2021
-
Skillssu -
-
LocationTrondheim, Norway
-
Website
-
Github
Joined devRant on 3/15/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
New senior hire wanted to rewrite all our working PHP code and write it in D, because he:
- did not like PHP
- thinks PHP code is ugly
- D and PHP syntax is interchangeable
Same with replacing our MySQL database with MongoDB.
You might think it look ugly, but the others might not. So is it worth a rewrite? -
Hetzner is my go-to provider
-
Our new lead developer has started the daily standup 4 minutes early. I sit there, waiting for it to hit the minute mark of the original meeting time, before I join the video call
-
@IntrusionCM iirc, it’s basically the content-hash in the poetry lock file that causes merge conflicts.
I rarely get merge conflicts with yarn lockfile, mostly in package.json when the versions are changed. And there yarn has built in merge conflict resolution. -
@IntrusionCM basically this issue
https://github.com/python-poetry/... -
👆 poetry (except their take on lock files, especially with merge conflicts)
-
That’s one reason to why I run my own k8s (k3s on three mini PCs) cluster just for me to screw around in and experiment with.
So that when I break something, it’s only my own shit. And if I discover that something in dev/test/prod cluster needs to be adjusted, I can open a ticket waaay before it’s urgently needed yesterday. -
We’ve started to use Miro, it’s a nice tool if you know how to use a computer and understand basic interactions…
But the grayscale factor in our company is quite… high…
Whenever we have digital get togethers, over half of the meeting goes to explain how to use the tool.
And because I’m the local IT guy in our branch office, whenever one of the older ladies have a whole day of miro activities, I need to help them out.
They’re just a few years away from their retirement, just let them watch, please, don’t force them to interact. -
Very good and informative comments there, wouldn’t have known what const headcount was without the comment
-
I always rebase my feature branch whenever develop branch has major changes to it. And force push to sync it with remote if I have pushed it remote.
I try to teach my colleagues to always fetch remote *before* committing in the case someone has worked on the branch in the meantime.
One colleague created 3 feature branches, and merged develop into each one after a branch had been merged. When doing QA on the PR, it looked like that branch re-committed previous features.
I had to go in an “magically” clean up the branches, so they only contained the commits related to that feature.
I mostly blame it on bad GUI tools that hides too much of what’s going on behind the scenes. I like SublimeMerge since it basically shows you the cli commands it runs. -
Sounds familiar, we’re using a third party API that’s critical, and they (their outsourced developers in India) changed their API that broke shit for us over night. We’re just hoping that the law proposal that gives us the ownership of that API is approved soon. (Government)
-
@mundo03 nah. Just a very disposable income and little overhead.
-
@N00bPancakes I remember, it was a few months ago, my MX Master 3 ran out of battery, I just plugged it in and went for a longer coffee break.
Though I kinda can say I bought another mouse too, as I have two MX Master 2S' at home. When one of them ran out of battery, I picked up the other one. -
@sbiewald I had that mouse at my last place of work, didn’t really mind it. You get a warning at quite some good time ahead, I think like 10-15%. So you could plug it in before leaving after work, or if you neglect it for too long and it dies on you, a quick charge of 5 minutes gives you plenty of charge to last the day/ week. For those 5 minutes you can go for a stretch and piss.
I do that with my wireless headphones, whenever I forget to charge it after work, and it dies during the workday, I plug it in whilst I get some coffee and stretch my legs, when I get back, it has enough charge to last me the day -
@msdsk all we do is basically store data, and most of it is from old documents like church books and similar stuff. But it is also a lot of relational data, where you bind up a person to several known documents.
But I’m pretty sure we don’t have the most efficient system, since our db structure can be traced back to the 90s. But there’s not much computational stuff done to it, perhaps retrieved once a year. -
@100110111 I’m sure D has it advantages, but I’d we were to pick up a new language, we need to choose something with a strong community and doesn’t make it harder for us to hire new people / contractors.
-
@h3rp1d3v he said mongodb, I asked if he meant a document database, which he implied yes.
One thing he said we could do with mongodb was tag entries with their geographical origin, then we could query entries by geographical location.
Who’s going to be tagging millions of entries by region. And a lot of our data is transcribed old data from the last 900 years (we’re the National Archives of Norway) -
@Nanos sadly the thermostat is centrally located, and not on our floor.
But a colleague and I joked about messing with the temperature gauge to set it til a constant temperature whilst it really was 18. -
@Nanos I’ve also suggested that we paint the bunker. Apparently that’s not allowed because it’s a relic from WW2.
It’s an old german submarine bunker, Dora 1 in Trondheim, Norway.
If it weren’t for the dry air inside the bunker, I’d work there. (Temperature and humidity is constant low, for protecting the old paper archives, 30km of shelves). -
That is true, with them mounted the other way, it would probably just give another 5cm of opening.
Before we got the roller shades the windows could be open fully, it’s just past the few first centimetres the window doesn’t shut on its own. Hence why Mr. Squishy has to keep it open. Just another centimetre or two more. It would’ve stayed open by itself. -
@electrineer I’ve got the roller blinds all the way down usually, so it allows the window to open a bit more. Just enough that I can sometimes feel gusts of fresh air.
I did however request a new ventilation outlet above my desk, that’ll help bring fresh air too.
And after summer when the Head archivist retires, we can finally turn down the thermostat from 23.5 celsius to something liveable -
@electrineer if you touch those curtains on the rails, you’ll hear from the Head archivist at our location (I work for the National Archives of Norway, head archivist is the person who oversees the regional office)
I once tried to move them in front of the window, so it would at least offer some light reduction. She threw a hissyfit because the curtains are there to hide the white section of wall behind the curtains… -
It is a beautiful concrete wall
-
@Nanos I don't think the property owners will be happy I demolish their windows.
It would've been such an easy job to do it right. Just mount them on the outside of the window frame, not inside it... you'd just need a bit wider roller blinds, and some other mounting brackets. -
@iiii This is Norway, we don't use plastic windows. The frame is of wood.
Though it can be opened at the top as well, but the gap is too small to get any air out. As it also hits the shades. -
@HitWRight I'm not looking out the window, it's behind me. And it's a beautiful WW2 bunker behind me, fascinating to look at.
-
Medium is built upon React, then they're probably using something like StyledComponents for generating the css. Most items have a unique class to prevent from bad css inheritance, plus shorter classes is less bits and bytes travelling at lightspeed across the globe so we can read stupid articles.
Here's an example of a class from a component I made, "Button__StyledButton-sc-1mw7nek-0 iQHBGF". Totally unique, but it also has a reference to what component it's for. Throw it through a minifier would probably change it. -
@Teknas if you see under the left and middle monitor, there's an eGPU. That's how I can do this magic. The mac is also powered by it (or the Thunderbolt3 dock, depends on which I connect first).
It relieves the mac quite a lot, because it doesn't have to power 3 external monitors, only the internal one.
But the mac itself can run 4 external monitors iirc. Just have to use a dongle on each side (2 monitors per TB3 bus), and the lid closed. At least 3, I know that, as that's the setup my colleague is using. -
@Puroguramingu the laptop is fine. My preference, and all the other devs here. The mouse was put up for show, I really use a MX Master 2S or the trackpad.
Table itself is fine, the angle makes it look huge, attached another photo from a better angle, and not used 0.5x zoom, pre cleanup.
We are working on changing the lighting, got horrid fluorescent lighting fixtures hanging from the ceiling, working with an interior architect to find better ones, perhaps just above the desk, and it has to be individually controlled (as us light shy can dim it).
Plus we're working on getting blinds for the windows, previous manager for property didn't see the point, she was close to a twig in her head. She came for a visit on a cloudy afternoon, during the winter, and as @theuser probably can vouch for, northern parts of Norway during winter, doesn't get much light.
And as it being gov. Everything. Takes. Time. -
@ScriptCoded ofc they are. The only thing I got myself, was the eGPU (because I had a spare at home, and the 3D printed phone stand)
@potata @theuser What's wrong with the mouse? Good old Microsoft X03-53717 mouse (it's not really connected, just used it for show, got a Logitech MX Master 2S)
@theuser haha, I think the photo gives it a worse look than it really is. It's a corner desk with hydraulic legs. Edges are a bit torn, but some sandpaper fixed it. It's from ~2006
@dder the duck is important. I was unsure to use the duck or the stressball up there. I chose the duck. The stressball is hiding behind my screens.
@Codex404 if you view my profile, 3rd newest post is from earlier this year, 1 less screen, 4m left to where I'm sitting right now. I had my back and leftside against the open area in the landscape. Now I got a WWII submarine bunker behind me, and a wall of screens in front.