|
That didn't take long, now did it?
I wasn't sure if I wanted to post that as a TotD or CCC ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Oh, and I already have tomorrow's. Kinda follows a theme, as you'll see.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Next time is it humming? (no himming and homming as much as I know)
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
I came up with this one before yesterdays - I wasn't sure if it should be a TotD or not as hemming and seaming are outside many developers bailiwick.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
Her name is Kotlin. She's the younger sister of that beautiful dame Java.
A couple of months ago I decided its time to conquer Android. Started out on this quest using Java but soon realized the best platform is Kotlin. What a beautiful language! So concise, so brief and to the point. Requiring minimal typing. And to add to the pleasure I used the Android Studio, which is a variation of the excellent IntelliJ IDE.
Aaaaah! Life is good in retirement.
Get me coffee and no one gets hurt!
|
|
|
|
|
Ha, the simple life!
|
|
|
|
|
The cookies disclaimer on their website is written in white on dark background in courier font. I love that.
|
|
|
|
|
Neice may be more accurate?
Cheers,
Vikram.
|
|
|
|
|
I look forward to your CP articles on Kotlin !
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch
|
|
|
|
|
If you chose Kotlin, you have to juggle learning a new language and learning the Android framework/ecosystem. Double whammy!
|
|
|
|
|
Quote: Double whammy!
True! You do need some perseverance.
Get me coffee and no one gets hurt!
|
|
|
|
|
Your post rekindles my drive to pick up Kotlin this weekend again after given up 2 months ago.
|
|
|
|
|
Good luck! By the way, I found the following book, that you can get as a Kindle from Amazon, useful. The book is slightly out of date as it uses a handful of items that have been deprecated:
Android Studio 4.2 Development Essentials. Kotlin Edition. By Neil Smyth. Make sure you get version 4.2. Amazon also offers an older version. Of course the book covers Kotlin for the Android operating system.
Get me coffee and no one gets hurt!
modified 17-Sep-21 12:30pm.
|
|
|
|
|
The book is available in my SafariBooks subscription. I noticed the author has a similar book with Java edition.
Started reading the book. Thanks for the recommendation.
|
|
|
|
|
I've been taking a break from coding, or so I thought, and trying my hand at modding Fallout 4, which for those of you that don't know, is a total nerd's game.
Wow it's challenging. Endless seas of records of data entry, and an arcane scripting language. No github, but you can reverse engineer mods others have wrote and decompile the scripts.
That's how you learn your way around the game engine.
If Nexusmods got taken down tomorrow I don't know how many people could write mods for fallout 4 after that.
The whole mess is a house of cards.
I mean it's "documented" in that there's something like doxygen docs for the Creation Kit (the fallout 4 modding toolchain), but there's documentation and then there's documentation. The "Apply Bash Spell" for example, you'd think would apply a "spell" to a target when you bash them with your gun. No such luck. It's a carry over from Skyrim, where you can do a shield bash. The bash mechanics in Fallout 4 are slightly different, you have to look for IsPowerAttacking while using Apply Combat Hit Spell, and filtering to make sure the Attacking weapon is a firearm. This is documented exactly nowhere. Not to mention there's at least one other way to do it that I know of, and I'm not sure which hack is worse.
It has been an adventure, to say the least.
Real programmers use butterflies
modified 14-Sep-21 5:47am.
|
|
|
|
|
honey the codewitch wrote: The whole mess is a house of cards.
I suspect that's the state of most games.
Personally, I'd be happy just to be able to extract my GTA Online character stats--not even write anything back, purely reading data. There used to be a GitHub page that went over how to log into Rockstar's Social Club, but last time I looked, the thing was a few years old and even that no longer seems to work.
|
|
|
|
|
honey the codewitch wrote: It has been an adventure A BIG GREEN SNAKE BARS THE WAY!
Software Zen: delete this;
modified 14-Sep-21 15:14pm.
|
|
|
|
|
Plugh!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
your computer skill just reached 92%, congratulation!
|
|
|
|
|
My mind obviously occupies a different space from yours. When I saw
honey the codewitch wrote: "Apply Bash Spell" I thought, wow, they have extended this:
peter@Pegasus:~/stuff$ greo '(cat)|(dog)' captions/*
Command 'greo' not found, did you mean:
command 'grex' from snap grex (v1.2.0)
command 'grep' from deb grep (3.4-1)
command 'geo' from deb rheolef (7.1-1)
See 'snap info <snapname>' for additional versions.
peter@Pegasus:~/stuff$
I don't know whether or is more appropriate. But it was before any caffeine for the day. Repairing that deficiency right now!
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
You sire, certainly are an arch wizard!
|
|
|
|
|
It is. The documentation is not existing. I wanted to create a very simple script to drop magazines when reloading in combat (just dropping the remaining ammo at player location and removing them from inventory) but the architecture of the game is so convoluted and the documentation so terrible, I stopped after 6 hours.
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Being an avid Fallout 4 modder myself, I concur
|
|
|
|
|
I received the printer[^] on Saturday.
It took me a while to build, because I put it together wrong once or twice.
Here's what it looks like[^].
Power Supply Wrong Voltage
Also, once I got it built, I plugged it in and it didn't do anything. Nothing. I examined the power supply and noticed it was set for 230V (European standard) instead of US. I slid the switch to the correct location and all was well.
First Print
I printed an item from Thingaverse -- a chip clip[^].
Here's what mine looked like:
1. Top side view[^].
2. Bottom side view[^].
Yes, there is a problem. That is not supposed to be connected like that on the bottom.
Oh, Elephant!
I learned a new term : Elephant foot.
That's what this problem is called.
Learned that after posting this as a 3D Printing StackExchange question[^].
Now, I will try to solve that. Any suggestions?
|
|
|
|