๐Ÿš€ OharaLumina

All Posts

Thumbnail for Posts

What is the purpose of class methods

๐Ÿ“‚ Categories: Python
๐Ÿท๏ธ Tags: Class-Method

Im teaching myself Python and my most recent lesson was that Python is not Java and so Ive just spent a while turning all my Class methods into functions I now

Thumbnail for Posts

What version of javac built my jar

๐Ÿ“‚ Categories: Java
๐Ÿท๏ธ Tags: Jar

How can I tell what version of the Java compiler was used to build a jar I have a jar file and it could have been built in any one of three JDKs We need to

Thumbnail for Posts

Where does the convention of using healthz for application health checks come from

๐Ÿ“‚ Categories: Docker

In the KubernetesDocker ecosystem there is a convention of using healthz as a healthcheck endpoint for applications Where does the name healthz come from and

Thumbnail for Posts

Why can I not create a wheel in python

๐Ÿ“‚ Categories: Python
๐Ÿท๏ธ Tags: Pip Setuptools Python-Wheel

Here are the commands I am running python setuppy bdistwheel usage setuppy globalopts cmd1 cmd1opts cmd2 cmd2opts or setuppy help cmd1 cmd2 or setuppy

Thumbnail for Posts

Why cant a text column have a default value in MySQL

๐Ÿ“‚ Categories: Mysql
๐Ÿท๏ธ Tags: Default-Value

If you try to create a TEXT column on a table and give it a default value in MySQL you get an error on Windows at least I cannot see any reason why a text

Thumbnail for Posts

Why use AJAX when WebSockets is available

๐Ÿ“‚ Categories: Node.js
๐Ÿท๏ธ Tags: Ajax Performance Websocket

Ive been using WebSockets for a while now I have chosen to create an Agile project management tool for my final year project at University utilizing Node

Thumbnail for Posts

Why use argparse rather than optparse

๐Ÿ“‚ Categories: Python

I noticed that the Python 27 documentation includes yet another commandline parsing module In addition to getopt and optparse we now have argparse Why has yet

Thumbnail for Posts

Write string to text file and ensure it always overwrites the existing content

๐Ÿ“‚ Categories: C#
๐Ÿท๏ธ Tags: File Text

I have a string with a C program that I want to write to a file and always overwrite the existing content If the file isnt there the program should create a

Thumbnail for Posts

Access props inside quotes in React JSX

๐Ÿ“‚ Categories: Javascript
๐Ÿท๏ธ Tags: Reactjs React-Props

In JSX how do you reference a value from props from inside a quoted attribute value For example ltimg classNameimage srcimagesthispropsimage gt The resulting