Details
-
AboutCarbon based humanoid lifeform that likes other carbon based lifeforms (most of these seem to be of the non humanoid variety and biassed toward furry or feathered ones). Natures joke: I'm allergic...
-
SkillsProgrammer proficient in most languages. prefer Go. Also a fan of Ansible and Linux/UNIX. Used to be a systems and network admin.
-
LocationNetherlands
Joined devRant on 3/1/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
-
<Continued>
Since PHP 5.4 it's an ok language if you know how to set up opcaching and class autoloading/namespaces. From PHP 7 it's actually a really good language. It's very performant and enforced type hinting makes it a lot less ambiguous without having to fight the type system where you actually need the flexibility. -
The main reasons are
1. it's an older language. You will see the hate for older languages all the time. Things they used to be bad at linger while not true anymore. Some mistakes are fixed by adding new stuff but need the old stuff for compatibility. You can see this in Java and JavaScript too.
A lot flak in the standard library being inconsistent is actually PHP being consistent with the POSIX functions they wrap/emulate. Inheriting those mistakes made sense at the time it was supposed to be scripting with C. PHP just allowed you to skip a lot of the tedious parts and you write the high performance parts in C to tie in.
2. Part of it's success comes from being an easy language to install, learn and use. This has the downside of a lot of terrible programmers that can, but really shouldn't use the language in production.
The absolute amount of insanity that is pushed out is vast. I've only seen this type of shit with electrical engineers trying to program a microcontroller. -
@AlgoRythm the language is so vast that you can have such different styles they basically become dialects.
To be fair this is a bit of an issue with all older languages but I've had the hardest time reading C++ over the decades. -
This is exactly why I often default to Go. It captures the simplicity of C while being expressive for modern systems with the way interfaces and concurrency works.
Summertimes it tries to be overly simple in the Syntax making it harder to read but generally they did a lot of things right and idiomatic code reads and maintains well. -
I found syncthing the most reliable/secure way to do that.
-
That's really amazing. You must have turned it off when the Linux kernel image was written but the initramfs was not.
mkinitcpio can usually fix this too.
Shift keys and caps lock not working is even weirder. Bordering on impossible. -
@dotenvironment I'm also not a native English speaker. It helps taking to people from the United Kingdom. They are very eloquent and creative when it comes to speaking about higher ups.
-
Caching is easy, invalidation is s bitch.
That is the rule I've always heard.
However there is a second element to it: caching is an attack vector. A lot of people missed that and don't think about it in terms of security. -
@torbuntu trust me it's always an option.
Also please stop using words you don't understand. Especially when you talk to management. The correct word is "lying" and you can add "incompetence" and "negligence" that is destructive to your company.
Leave out basically meaningless hype words like toxic and gaslighting. You will only find like a winey little bitch. If they do anything akin to gaslighting you can add blame shifting. It's clear and everyone knows what is going on instead of stuff that is often wrongly used for anything kids think is bad. -
@3dgoosee Yeah the kidding was clear to me. But there's truth to the joke too so went with a nutral voice of reason.
Funnily enough here I actually get ++ but on Reddit I get voted in the ground for just stating facts. (Like the difference between reflex and normal reaction. Never got so many down votes so fast). -
Storage, entertainment, temperature management in the summer.
-
Saying it the other way around makes just as little sense. Windows and Linux are different enough that they both have their bitch as weaknesses and fanbase.
Even though I must say that linux itself feels superior to me in stability speed and maintenance. From a developer perspective. -
With all the respect. I can see why this is the default behaviour. VS code and notepad++ do the same (but probably better). It does help in event of a crash or reboot.
Haven't used it yet so the implementation can be dog shit. -
Love the rename of the Avian Identifier.
Other than that I highly suggest you don't solve these problems by sacrificing your time. It will happen again. Because they can't plan and will call great success every time.
Whenever someone clearly isn't capable and tells you it's easy. Let them piece it it's easy. They can use CratGPT or something... -
Yeah completely gave up on that since Windows 7.
Windows 8 even caused 40 min longer downtime because I could not use my laptop during an incident. That was the reverse of this problem with the big updates (basically a full reinstall of the OS). I selected install and shutdown. It did shutdown but only did the prep for the update. So the actual upgrade was happening during the next boot🤦 -
@afaIk most of it seems fine but the immediate emotion usage with useless "announcements" is a huge turnoff for me.
-
You are confusing completely different purpose communication.
Why not add IRC, Slack, discord, and Signal to the list?
I definitely agree there is fragmentation even though you see you need critical mass in the target group to stay relevant. -
Lol you are now getting random advice from strangers that have never seen you and do not know the underlying cause. I would show this to the doc when you visit them so they can see how dangerous it is to just take someone off their meds (any meds) for weeks. Just for validation...
-
Sleep, GTD, decent timeslots where you really get at it without constant interruptions.
-
I've designed a db or two in 40 mins. Or is it a complete database engine that is more than kv?
-
Is this like a container orchestration tool?
Kinda miss the actual problem it's trying to solve.
Edit: never mind. Find the idea.md more enlightening. Skip all the marketing bs mate. -
@D-4got10-01 Yep, I've even made it a policy. It's a word people around me can't use. Unless understanding the actual meaning and usage. Hint: This word has nothing to do with behaviour (and to extend culture).
Why am I so strict? Because it's a dumb umbrella term used only to push shit away.
Really easy to say everything is "toxic".
It's at the same level as toddlers using the word "stupid".
So what I want is an actual description of the actual problem; if there is any. Them we could potentially do something about it. -
This is what the print screen button is for.
-
@kobenz <insert disaster girl meme>
Also lazy... -
Yeah man Apple sucks! Bet you will see this days later on iOs.
-
🤔To be fair with message signing you could actually make something like this work securely (the challenge can't be the password/secret hash of course but a derived message). Generating the challenge and verifying the response is likely heavier but it does prevent sending the secret/password.
Of course the real benefit of this is that we get to prove everyone wrong and that you can have a "signed boolean" and am "unsigned boolean". -
@D-4got10-01 connection wise that seems sweet. Portability a bit less and for the jack to work the adapter needs the dac/amp. This is often really bad. I've tried some cheap usb-c to mini, while I don't need miracles the static background noise was ruining the music and just annoying to keep headphones in without playing anything. Went with Fiio ka1 that is good but has some issues (short loud "shuck" sound every few seconds) with select phones (including mine) which they finally fixed in the firmware.
This is why I hate this. The best option seems to be buying headphones with a usb-c connector instead of mini-jack. You can't charge and listen at the same time though unless you go for a wireless charger. Basically forcing even more inefficient wireless crap... -
@D-4got10-01 thanks for that one! I miss Jack too. I also think that phones should come with two usb-c ports if you really must omit useful things like a jack.
-
@whimsical I don't get why everything needs to have batteries. It's even hard to find a compressor to inflate tires that doesn't come with a battery.
My dad has one from over 20 years ago. Trust me the battery powered one won't make it past 3 years. Likely two years with irregular charges and poor conditions in the bike shed.
How many more wireless mice, keyboards and worst of all earbuds do we need to go trough in a lifetime? -
That is unfortunate but bit something you can't overcome. If you know the behaviour of the app/service/script you can fairly quickly reimplement the tests correctly.
Start with end to end tests. You should be able to test the thing mostly without exploding the number of test cases.
Only with certain high in logic pieces unit tests pay off. (That is not 100% true but close enough). This will drastically lower the amount of tests while still having high coverage. Unfortunately sometimes e2e tests can be dog shit slow on some platforms. More of an integration test style can help than (while basically trying to test the outside behaviour).
