chraebsli

joined 3 years ago
[–] chraebsli@programming.dev 6 points 2 weeks ago

Toller Musik Geschmack!

[–] chraebsli@programming.dev 4 points 3 months ago

What do you expect? A company giving you stuff without getting a profit from your usage? Gmail profits by using your data. Disroot eg doesn't get anything from your usage. They loose a small amount of money per user per time, since the serivce is really free.

Why don't pay if you need more? If the provided features aren't enough for you, or you need more storage, you can pay them for using more ressources. Thats very fair! And still they don't collect your data or show ads even when you pay like Gmail. BUT paying users pay for those who can't and rely on the free service.

To me, thats more than fair to have a 100% free service like that. Why everyone expects stuff to be free everywhere? Just because big companies lure users with cost free services but you pay with time and data? If you don't want to pay with your time or data, you have to pay with money!

[–] chraebsli@programming.dev 2 points 5 months ago (1 children)

what are your requirements? i love lenovo although i might change to frameworks or system76

[–] chraebsli@programming.dev 1 points 5 months ago (3 children)

why even buy that slop of hardware beforehand? if you dont want that feature, you might be happier with another brands laptop

[–] chraebsli@programming.dev 4 points 5 months ago (1 children)

don't say manjaro could be better.

  • it works.... most of the time until it doesn't
  • it looks nice .... until you update something and it breaks
  • it has many features... which you don't need by default
  • it can be customized easily.... if you just want basics
  • it is stable.... until you update something

but i love it and use it daily

[–] chraebsli@programming.dev 2 points 5 months ago (1 children)

Ohh please tell me this was written entirely by AI without a real person with a working brain going through it

[–] chraebsli@programming.dev 31 points 6 months ago (8 children)

haha yes sorry! my wireless wlan had some issues with my personal pc when i was etablishing a secure ssh connection. could also be an error with my dns system or with the http protocol.

[–] chraebsli@programming.dev 9 points 6 months ago

not sure about the legal side because when you install windows you accept eula and much more shit so im sure there is a sentence 'only keys officially bought from and provided from microsoft shall be used.'

[–] chraebsli@programming.dev 16 points 6 months ago

didnt know about massgrave until now. looks promising too.

[–] chraebsli@programming.dev 137 points 6 months ago (30 children)

you can activate any windows or office by using vlmcsd (https://github.com/Wind4/vlmcsd). you can selfhost it, choose any windows version like 11 pro or enterprise or office product like office 24 enterprise. activate it using your kms server and you can enter the matching licence key every so often to activate it. doesn't cost a cent except hosting on 512mb/1cpu. i think there are public kms servers with vlmcsd too. obviously JUST FOR TESTING PURPOSES ;)

[–] chraebsli@programming.dev 24 points 11 months ago (6 children)

ipv6 is great for public networks/ wan or extreme large nets. but for a small local net, ipv4 is so much easier if you need to access a single device. if ipv6 is parallell too, great but I hope ipv4 wont be disabled/ non existens in the future bc of this

[–] chraebsli@programming.dev 6 points 1 year ago (1 children)

$ sudo walk north

1
submitted 1 year ago* (last edited 1 year ago) by chraebsli@programming.dev to c/hardware@programming.dev
 

I have a Oneplus Nord 2, which has a very loose screen (see picture). Everything works fine, just the screen comes loose easily.

Can I just glue that screen down again? Is there a special glue needed for that?

 

How often do you update your apps on your devices?

me:

  • android: 2x per year, except some app needs an update to work
  • linux/manjaro: every few months, except security stuff (ik its a rolling release distro but I hate updating frequently)

A while ago I updated mostly directly after publish. But since more and more apps (primarily Google services, Social Media, ...) get shitty updates which include AI and bloat, I try to update as less as possible while stil trying to get important and new features.
But many apps freak out when not applying these updates in this timespan, which makes it really annoying when needing an app urgently. Then having to update them with eventually bad network makes me aggressive.

Which are your opinions?

 

I just spent 6 hours of debugging some code, just to find out I had to delete a line in a .gitkeep file:

I'm developing a Grav skeleton, which is a kind of template for Grav CMS to easily create sites with it. Such skeletons can include themes and plugins, which can be used to enhance its features and make individual sites.

Now I had this error that the sitemap.xml (used to tell search engines which pages should be indexed and where to find them) threw an error because the XML declaration wasn't on the first line as it should, but on the 2nd line. It came out that every page had this empty line, no matter if html, json or xml.
To find the bug causing this, I first disabled all plugins and enabled them step by step to find out which one produces said bug. It was the shortcode-core plugin, which can be used to style text with more than just markdown. Since this plugin isn't related in any way to the sitemap plugin, I searched for other possible error sources.
After some playing around, I found out that when I remove a theme, the bug simply disappears. With that info, it had to be a problem with said theme. Since themes can include custom shortcodes and the shortcode plugin did make some "noises", I started investigating a bit more with that. While trying to find the bug, I accidentally deleted the shortcode folder, which had only a .gitkeep file in it. This file was necessary that the folder persist with git versioning because if there was no such directory, the plugin would output an error message. I then recreated the folder manually and the error was still gone. Even after recreating the .gitkeep file, there was no empty line in the output.
After trying to find the bug, I checked git to see which edit made the bug resolve. And there was it: the .gitkeep file I recreated had some changes? But I didn't make any changes to the file except for recreating it. Wrong. The file originally had 2 empty lines, probably accidentally. And by recreating the file, it only had one line which resolved the bug.

It came out that somehow the shortcode plugin tried to get shortcodes from this file and likely added the 2 empty lines to the output. And an empty line before the start of the XML declaration causes the XML parser to output an error. Deleting the 2nd empty line from the .gitkeep file removes the empty line from the output and the error is gone. Bug fixed.


And I spent 6 hours today with the help of a kind stranger in a discord channel who was a bit like a 2nd brain to me. It really helped having someone who hasn't worked on this skeleton and could see some bugs you don't see because you're too familiar with it ("Betriebsblind" in German).

Edit: The plugins don't get maintained by me, they're getting maintained by the Grav team. I plan to create an issue on GitHub if I know more and probably identified the code causing the problem.

 

Stop comparing programming languages

  • Python is versatile
  • JavaScript is powerful
  • Ruby is elegant
  • C is essential
  • C++
  • Java is robust
2
Songs about Vim (programming.dev)
submitted 2 years ago* (last edited 2 years ago) by chraebsli@programming.dev to c/programmer_humor@programming.dev
 
 
 

After i joined the Fediverse, i deleted my accounts on Reddit, Twitter & Facebook a few days later. Yesterday, i deleted TikTok too and i will delete Instagram more or less soon. I hope some friends will change to the Fedi until then.

Ive had enough of all the ads and people just want fame. Make Social Media better!

view more: next ›