Techno feudalism mentioned. Queue a Varoufakis talk
Caveman
- 0 Posts
- 37 Comments
I’ll join in
const isEven = (n) => !["1","3","5","7","9"] .includes(Math.round(n).toString().slice(-1))
Caveman@lemmy.worldto
Selfhosted@lemmy.world•I self hosted a World of Warcraft server.English
2·4 months agoYeah, I might actually play wow since I can reduce the XP scaling by a lot. It goes from 50 mobs at lvl 10 to 600+ to level up at lvl 60. I have a 7mo old no way I have time for that hahaha.
I use SQL for work so I can mod the DB easily to remove the exponential scaling in favor of linear scaling like mob XP scales.
Caveman@lemmy.worldto
Selfhosted@lemmy.world•I self hosted a World of Warcraft server.English
1·4 months agoYou can mod the database for creatures to drop more xp, gold and loot from the looks of it.
Caveman@lemmy.worldto
Selfhosted@lemmy.world•I self hosted a World of Warcraft server.English
1·4 months agoUpdate, I downloaded the VMangos database. It looks like it might be possible to edit drop rates with creature_loot_template(ChanceOrQuestChance) and XP gain by using creature_template(xp_multiplier)
I haven’t hosted anything yet but it could be tested by editing a Chicken’s xp_multiplier from 0.0 to 1.0
Caveman@lemmy.worldto
Selfhosted@lemmy.world•I self hosted a World of Warcraft server.English
3·4 months agoI’ve been seriously turned off by the grind of WoW. Are you able to do something like reduce the XP level scaling or something so that every level is like 30m and improve drop rates?
Important note: This release can only be upgraded to if you’re on 10.7 or later. Make sure to update to 10.10 soon or the process might become more manual.
Caveman@lemmy.worldto
Programmer Humor@lemmy.ml•Python needs an actual default function
0·5 months agoIt’s a common practice but not required. Python behaves like JS where it just runs whatever you wrote. If you don’t want it to run when importing the file you can put the main() inside the if so it only runs when you run the actual file.
You can use it when developing a function or a class to run a simple test without running the whole program.
Caveman@lemmy.worldto
Programmer Humor@lemmy.ml•Python needs an actual default function
0·5 months agoBash combines quick, dirty and fast in exchange for readable. Bash is also nice for terminal functions like opening a set of programs and whatever
Caveman@lemmy.worldto
Open Source@lemmy.ml•What projects does the opensource world lack
2·8 months agoFairphone comes pretty close.
Caveman@lemmy.worldto
Selfhosted@lemmy.world•Plex is discontinuing its “watch together” featureEnglish
3·8 months agoJellyfin is not there yet but it definitely can be. It can be done pretty easily without any centralised server.
- Sending people magic links to their accounts on their phones that auto log them into Jellyfin.
- Make IP dictionary to have people type “cat mug door end” which pings the server with a login from an IP.
- Show QR code.
- Scan with an authorised app which pings the server to authorise the device on behalf of the user.
It’s passwordless 4 word input + phone scan that can be optimised for TV pretty heavily since you only need make something 10^12 unique to account for all IPv4.
It will take around 15-30 hours to code though for a person familiar with Jellyfin on android TV and server.
Caveman@lemmy.worldto
Selfhosted@lemmy.world•Plex is discontinuing its “watch together” featureEnglish
51·8 months agoI haven’t tried Plex but Jellyfin is super easy. Type in IP, username and password and you’re done. Only need to setup port forwarding on the router to make it work.
Caveman@lemmy.worldto
Selfhosted@lemmy.world•Opinions about using a mini PC with a HDD enclosure as NASEnglish
2·11 months agoDoing it now with a not so mini second hand pc
Caveman@lemmy.worldto
Selfhosted@lemmy.world•Selfhosted alternative to google keep/onenote/evernote/goodnotes?English
91·1 year agoNextcloud is a really good all-in-one solution for self hosting data
People may hate on SOAP but I’ve never had issues with setting up a SOAP client
I don’t mind xml as long as I don’t have to read or write it. The only real thing I hate about xml is that an array of one object can mistaken for a property of the parent instead of a list
I bought a used desktop with 4 SATA ports. Has i5 7th gen and currently 5 TB and an 500GB SSD and has max ram of 64GB. I guess the HDD are not included in the price?
I’m not sure what your software requirements are but if you go the DIY route a desktop works. I made the BIOS auto turn on on power restored and have services start on startup so it gives the server feeling.
Bonus is that you can use it as a gaming server and upgrade the components easily for a while depending on the motherboard.
Caveman@lemmy.worldto
Programmer Humor@lemmy.ml•Popular Programming Book "Clean Code" is being rewritten
0·1 year agoHe wrote for example the books Clean Code and Clean Architecture which are IMO opinion really good books although I don’t agree with every point he makes.
Some really good points he makes are for example:
- Functions that only do one job
- Testing makes refactoring easier
- The standard SOLID OOP stuff.
- Tech debt is bad
- Abstraction and encapsulation is good and allows developers to interact with the code on a higher level in terms of actions instead of writing verbose stuff. Essentially saying less code leads to less bugs
- Insulate yourself from change
- Duplication is bad
- Two use cases that are very similar is not duplication and should not be refactored.
- Don’t mix high level code with low level.
- Build solid Entity classes to model the data and their interactions.
Those comes with examples. He’s a tad bit overly idealistic in my opinion. These books fail to mention a couple of things:
- Refactoring is expensive and the cost is often not justified.
- Premature abstraction is the absolute devil
- You don’t need to insulate from things that are very unlikely to change (like going from SQL to Document DB)
- Less changes also lead to less bugs.
- Too much emphasis on functions being few lines of code instead of just being simple.
All in all though, very solid books. I read Clean Code in university and Clean Architecture in my first job and it really helped me wrap my head around different ways to solve the same problem. Excellent ideas but it’s not the holy truth. New programmers should read it and take inspiration, craftsman level developers should criticise it and expects can mostly skip it.
Because most self hosted things are free already. It doesn’t apply to FOSS.
I’d recommend starting by hosting a nextcloud instance.
Then do some optional steps:
That’s pretty much what you need to start hosting your own files, then later on you can setup a email server, media server like Jellyfin, homepage and everything.
Just go one step at a time and when you hit an issue you can and should ask Google or ChatGPT. Remember, everything exposed to the Internet is vulnerable so take security seriously. Always have everything protected by a decently long password, pairing requirement with your server confirming adding a device or an API key.