New pages

Jump to navigation Jump to search
New pages
Hide registered users | Hide bots | Hide redirects

1 May 2025

  • 04:2304:23, 1 May 2025 Temperature App (hist | edit) [3,840 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction=")
  • 02:1102:11, 1 May 2025 Calculus (hist | edit) [1,237 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= This is my page on Calculus hopefully reminding me of my earlier youth =Limits= This is where you are given and equation and you have to specify the limit. The approach to solving these is *Substitute the value asked for *Multiply the top to cancel the bottom *Multiply by the conjugate, this is where we take and expression with a real and imaginary part and flip the signs.So the x -3 has a real value of x and an imaginary value of -3.<br> File:Conjugate1...")

28 April 2025

22 April 2025

  • 04:3704:37, 22 April 2025 Difference of Cubes (hist | edit) [546 bytes] Iwiseman (talk | contribs) (Created page with "Never done this before. I think people just remember this but here goes A³ - B³ = (A-B)(A² +AB + B²) Found an explanation which works for me. We have two cubes where their volumes are AxAxA and BxBxB.<br> 150px<br> You can fit the blue on inside the orange one<br> 150px<br> And now you can measure the 3 parts of the remaining area<br> 500px So we start with A³ - B³ = (A-B)A² + (A-B)AB + (A-B)B...")
  • 04:3504:35, 22 April 2025 Factored Form Equations (hist | edit) [1,172 bytes] Iwiseman (talk | contribs) (Created page with "For Quadratic Equations you can calculate the factored form. First I will list the terms for the parts *Quadratic Term (ax²) *Linear Term (bx) *Constant Term(c) Give the equation y = x² - 3x -10 This can be written like this y = (x -5)(x+2) The way to approach it is to identify the factors (numbers) when multiplied together add up to the constant (-10) part of the equation and when added together equal the linear (-3x) part of the equation<br> A more complex quadra...")
  • 04:3204:32, 22 April 2025 Logs (hist | edit) [441 bytes] Iwiseman (talk | contribs) (Created page with "=Logs= Going in Gaussian Naive Bayes I was redirected to logs. This showed how log number lines show the size of the differences. If for instance we take 1 and 8, 8 is 8 times the distance from 1 but if we do this with 1/8th and 1 which is also 8 times the distance the number line does not show this. But a log number line does<br> 500px<br> '''Fold Change''' is defined as Ratio that describes a change in a measured value<br>")

19 April 2025

15 April 2025

  • 22:0922:09, 15 April 2025 Wordpress (hist | edit) [3,909 bytes] Iwiseman (talk | contribs) (Created page with "=Information= This page is to capture things about wordpress to help my gorgeous wifey =Nginx= This is to capture the setup for nginx and wordpress ==Example 1 wordpress.example.com== Here we have an example where we use the domain name no subfolder <syntaxhighlight lang="nginx"> server { listen 9080; server_name wordpress.example.com; root /var/www/wordpress; index index.php; server_tokens off; access_log /var/log/nginx/wordpress_access.log; error_...")

10 April 2025

  • 03:3203:32, 10 April 2025 Setting up a Gitea server (hist | edit) [6,091 bytes] Iwiseman (talk | contribs) (Created page with "=Set up a MYSQL Database= Make sure you are listening on 0.0.0.0 and not localhost. <syntaxhighlight "bash"> CREATE DATABASE gitea_db; CREATE USER 'gitea_admin'@'you network IP' IDENTIFIED BY 'not saying'; GRANT ALL PRIVILEGES ON gitea_db.* TO 'gitea_admin'@'you network IP' WITH GRANT OPTION; </syntaxhighlight> =Gitea Setup= <syntaxhighlight "bash"> # Get Software wget -O gitea https://dl.gitea.com/gitea/1.23.7/gitea-1.23.7-linux-amd64 # Add Git User sudo adduser --sy...")

2 April 2025

  • 03:5503:55, 2 April 2025 Web Site Building (hist | edit) [3,589 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= This is a page for capturing thing that are website related =Dark Mode= When looking at implementing this be aware there is system, light and dark usually. Only if you go incognito do does the get switched off. I think it is held in LocalStorage somewhere =Sites= ==Components== Aceternity is a good place for NextJS components. You get the code and can change the components yourself. https://ui.aceternity.com/ here ==Generating Gradients== Go here to ge...")

31 March 2025

  • 21:1321:13, 31 March 2025 LLM and Ollama (hist | edit) [6,420 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= This is a page about ollama and you guest it LLM. I have downloaded several models and got a UI going over them locally. The plan is to build something like Claude desktop in Typescript to Golang. First some theory in Python from [https://youtu.be/GWB9ApTPTv4?si=kP2V0AOANH8rEiDm here]. Here is the problem I am trying to solve.<br> [File:Ollama problem.png|500px]<br>")

30 March 2025

29 March 2025

  • 02:3702:37, 29 March 2025 JSON-RPC and LSP (hist | edit) [1,852 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= This is probably the quickest thing to put my nose into. So here goes with rust =Rust Example= To get going we need <syntaxhighlight lang="toml"> [dependencies] jsonrpc-core = "18.0.0" jsonrpc-http-server = "18.0.0" serde_json = "1.0.140" </syntaxhighlight> And here is the code. Not must to discuss. The ServerBuilder I thought was pretty cool. <syntaxhighlight lang="rs"> fn main() { let mut io = IoHandler::default(); io.add_method("say_hello", |_p...") originally created as "JSON-RPC"

26 March 2025

24 March 2025

  • 05:1505:15, 24 March 2025 BibbleWiki Page (hist | edit) [1,055 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= This is just a page to keep stuff I learn about wiki =Backup= For this I use mysqldump and backup the entire folder =Overriding Skin= I use vector as my skin. <br> <br> You can amend css <>/MediaWiki:Vector.css<br> <br> You can amend js <>/MediaWiki:Vector.js<br> <br> This is how I get the copy button to work")

22 March 2025

19 March 2025

  • 00:4100:41, 19 March 2025 Angular Revisited 2025 (hist | edit) [1,088 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= Been a while since I touched Angular except for when I put my loader into WASM. So this page is just to add any changes I have found =CommonModule= The structural directives, e.g. NgFor NgIf not can be import in the component. I guessing the is because of SSR so now we do this <syntaxhighlight lang="ts"> @Component({ selector: 'app-chess-board', imports: [NgFor, NgClass, NgIf], templateUrl: './chess-board.component.html', styleUrl: './chess-board.c...")

18 March 2025

  • 01:5201:52, 18 March 2025 Android Kotlin Flows (hist | edit) [8,420 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= This is a page to capture anything important about kotlin flows. This very similar to RxJava =Simple Example= <syntaxhighlight lang="kotlin"> fun fred() { val countDownFlow = flow<Int> { val startingValue = 10 var currentValue = startingValue emit(currentValue) while (currentValue > 0) { delay(1000L) currentValue-- emit(currentValue) }...")

17 March 2025

12 March 2025

  • 22:4722:47, 12 March 2025 Dagger Hilt (hist | edit) [6,049 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= This page is to summarize new Dagger Hilt =Configuration= Dagger hilt relies on kotlin-kapt and dagger.hilt.android.plugin <syntaxhighlight lang="groovy"> plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' id 'dagger.hilt.android.plugin' } dependencies { implementation "com.google.dagger:hilt-android:2.40.5" kapt "com.google.dagger:hilt-compiler:2.40.5" implementation "androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-alph...")

10 March 2025

  • 03:2203:22, 10 March 2025 Kotlin 2025 (hist | edit) [1,667 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= It has been a while since I last looked at Kotlin. I think I am still and rust fan but always loved Kotlin on the phone. It is probably 4 years and one stroke since I looked at this and my little grey cells need a refresh =Compose= I have covered this a bit in Android Compose Example Surely a major improvement =MVI= I have used MvvM in the past but MVI now looks to be a better choice for me at the moment. You would have to have done a lot of projects t...")

9 March 2025

  • 03:1503:15, 9 March 2025 Android Compose Example (hist | edit) [8,328 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= I thought it might be better to just show and example from the net to give me enough to get going. Can't help but think of Flexbox when doing this. Wanted to cover *One Page *Permissions =One Page= The one page looks like this.<br> 300px<br> This was broken up into *The Main Activity **WeatherCard (The Square Bit) ***WeatherDataDisplay (Bottom of the Weather Card ==The Main Activity== <syntaxhighlight lang="kotlin"> Wea...")

7 March 2025

  • 23:2423:24, 7 March 2025 Andoroid MVI Example (hist | edit) [15,029 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= Wanted to revisit the MVI pattern to just have another look using another approach this example uses ktor, an asyncronous client, where I was previously using Retrofit, and Oribit MVI which provides the container and the Store elements. (See Below) =The Pattern= Last time I looked at this we had this diagram<br> For this example I will be using this one<br> 300px")
  • 05:3505:35, 7 March 2025 Android Compose (hist | edit) [618 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= Been a while since I started looking at Android, I makes me happy to do this. Love the technical aspect. =Starting out= I find it really hard to understand the approach to Alignment when we deal with rows and columns but doing the course on Compose finally makes we think. If you are a column the main axis is down (y-axis). If you are a row you align on the x-axis.")

6 March 2025

  • 02:5202:52, 6 March 2025 Android CameraX (hist | edit) [18,265 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= Already had this working for my Food app but this is now broken so watching a tutorial and thought I better take notes =Setupn= Make sure we give permissions in the Manifest <syntaxhighlight lang="xml"> <uses-feature android:name="android.hardware.camera" android:required="false" /> <uses-permission android:name="android.permission.CAMERA" /> </syntaxhighlight>")

2 March 2025

  • 03:2303:23, 2 March 2025 Android Revisited (hist | edit) [1,412 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= Well build an app to send photos to my server and show on Web page. Sound simple but so much has changed. =Day 1= Android studio installed with copilot. The studio still seems a tad slow compared to VS Code and finding my way around build.gradle.kts is a bit different with the way it manages version numbers.")

24 February 2025

  • 21:0421:04, 24 February 2025 CSharp Rest API 2 (hist | edit) [7,280 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= So why two pages. I needed to revisit this and put my thoughts down as things happened =Setup= ==dotnet SDK== This first thing to note is the installing the dotnet SDK is best done via apt. I could not get this to work using snap ==Project Structure== ===Overview=== My plan is to create three projects, Api, Domain and Data in an attempt to try an be more clean about my approach.<br> File:Project structure rest.png<br> ===Directory.Build.props=== To ach...")

20 February 2025

10 February 2025

  • 21:0721:07, 10 February 2025 Haskell (hist | edit) [42,172 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= This is my first dip into Haskell, just felt like trying it =Hello World= Here we start with main and strange format but no curly brackets which is good. <syntaxthighlight lang="hs"> main :: IO() main = putStrLn "Hello World" </syntaxthighlight>")
  • 01:4501:45, 10 February 2025 Monads (hist | edit) [729 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= Heard about this with a friend and never really revisited it. With my attention at home on Rust, thought I might write something down =The Maybe Monad= Well possibly the Option monad for me. To make one of these you need <syntaxhighlight lang="hs"> return :: a => Maybe a >>= : Maybe a </syntaxhighlight> =What's the Point= *Same idea works for other effects *Supports pure programming with effects *Use of effects explicit in types *Functions that work for...")

5 February 2025

  • 22:4722:47, 5 February 2025 STM32 Driver Creation (hist | edit) [24,958 bytes] Iwiseman (talk | contribs) (Created page with "=STM32 Driver Creation= ==Introduction== This is the start of creating a driver. This is the introd slide where they explained the next few steps.<br> 800px<br> ==Creating a Device Specific Driver File== This is creating a header file which will contain the necessary headers for the peripherals and used in the Application. They suggested this should contain.<br> 600px<br> ===Memory Addresses=== Created...")
  • 22:4022:40, 5 February 2025 STM32 C++ Page (hist | edit) [1,711 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= This page is to capture information relating to C++ and STM32 =Blinky on Steriods= This was a journey to build a blinky for STM32 using this new knowledge of how to build a HAL. Luckily there is always out there. Many thanks for [https://github.com/AFontaine79 AFontaine79]. Lots of experience with this but near to none on arm so the example https://github.com/AFontaine79/stm-blinky put me on by way. <br> Really this is to provide the framework for making...")
  • 22:2522:25, 5 February 2025 STM32 Rust Page (hist | edit) [5,802 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= This is meant to be a general page for rust when using STM32 ==Install Rust For Embedded== First we install rust. This adds something to ~/.bashrc so rebooting is the quickest way <syntaxhighlight lang="bash"> sudo apt install curl curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh </syntaxhighlight> For stm32 we need the toolchain <syntaxhighlight lang="bash"> rustup target add thumbv7em-none-eabihf cargo install cargo-binutils cargo install c...")
  • 22:1022:10, 5 February 2025 STM32 Software Page (hist | edit) [8,656 bytes] Iwiseman (talk | contribs) (Created page with "=Introduction= This is the page for all things STM32. Currently working with a Nucleo F302R8 =Setting Up= This was a trial and a half and here in case some others struggle and find this help.<br> ==STM32CubeIDE (Eclipse)== My goal was to use eclipse because this is what is used in the videos. So with ubuntu 23.04 install went to install this with eclipse. But the eclipse version requires python 2.7 which is no longer available. ==VS Code== Luckily STM32 had brought out a...")