Skip to main content

Search

Items tagged with: programming


 

Unix Toolbox

This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing.

Unix Toolbox revision 14.5
The latest version of this document can be found at http://cb.vu/unixtoolbox.xhtml. Replace .xhtml on the link with .pdf for the PDF version and with .book.pdf for the booklet version. On a duplex printer the booklet will create a small book ready to bind. This XHTML page can be converted into a nice PDF document with a CSS3 compliant application (see the script example). See also the about page.
Error reports and comments are most welcome - c@cb.vu Colin Barschel.
http://cb.vu/unixtoolbox.xhtml
#programming

 

Unix Toolbox

This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing.

Unix Toolbox revision 14.5
The latest version of this document can be found at http://cb.vu/unixtoolbox.xhtml. Replace .xhtml on the link with .pdf for the PDF version and with .book.pdf for the booklet version. On a duplex printer the booklet will create a small book ready to bind. This XHTML page can be converted into a nice PDF document with a CSS3 compliant application (see the script example). See also the about page.
Error reports and comments are most welcome - c@cb.vu Colin Barschel.
http://cb.vu/unixtoolbox.xhtml
#programming

 
#SDCC (Small Device #C #Compiler) is a compiler for #microcontrollers (MCUs).

SDCC is a retargetable compiler for MCUs that uses machine and source code optimizations to speed up programs and conserve memory. SDCC targets MCUs like the Intel 8051 and Microchip PIC lines as well as the Z80 CPU and others. SDCC supports inline assembly and a complexity reporter to aid refactoring.

Website 🔗️: http://sdcc.sourceforge.net/

apt 📦️: sdcc

#free #opensource #foss #fossmendations #hardware #programming

 
Some years ago I had this idea of using a #camera which captures the #colours of the outside while I'm walking. the colours should be translated directly into sound while i am wearing my #headphones to listen to the colours. Now I know that sound can be translated into #midi and so into numbers - and as we know colours are also numbers. To combine both could be the solution. But I am not into #programming - that's frustrating.
I think the idea or a project still exists somewhere!? :)
#music

 
So, zur Entspannung am Abend noch ein wenig #FreePascal programmieren. In #objfpc-Dialekt, falls jemand fragt. :-D

#programming #dev #developers

Mehr Infos gibts übrigens unter: https://www.freepascal.org

 
#Micro is a simple and extensible text editor.

Micro is a text editor that uses a simple binding-based workflow like #Nano, but supports more advanced features like tabs and splits, copy/paste, mouse input, text highlighting, configurable bindings, a command mode, and plugins. Plugins can change many features of Micro, including syntax or colorschemes.

Website 🔗️: https://micro-editor.github.io/

apt 📦️: micro

#free #opensource #foss #fossmendations #programming #development
Bild/Foto

 

Katerina Borodina auf Twitter: "the 5 stages of grief apply perfectly to debugging code 1. Denial "The compiler is wrong" 2. Anger "Why the hell isn't it working?" 3. Bargaining "If I use enough print statements I'll figure this out" 4. Depression "I will never fix this bug" 5. Acceptance "It's a feature"" / Twitter


Fitting
#coding #programming #humor

 

Release v6.2.0 · openlayers/openlayers


Yeah, cool!
Openlayers is a really mighty #map toolkit for the web.
#javascript #web #geo #programming

 
Bild/Foto
Bild/Foto
Bild/Foto
Bild/Foto
Bild/Foto
Bild/Foto
#diaspora #programming #personalchallenge #alwayslearning #alpha-release

Diaspora Client Example - Alpha Release


https://github.com/rahealy/diaspora_client_example

What This Is:


A Qt multi-platform example written in C++/QML/JavaScript that hopefully will be useful for those trying to make sense of the OpenID + OAuth specifications, accessing a diaspora pod using the diaspora API, and as code demo.

IMPORTANT: This client example is intended for use as a test of the Diaspora API. It does NOT implement certain OpenID security measures. It does NOT require encrypted (https) endpoints. DO NOT USE THIS CODE IN PRODUCTION.

What This Isn't:


A full fledged library and/or application and/or secure. While it definitely has potential, unless people show interest I'm probably going to turn to other projects.

 
Bild/Foto
Bild/Foto
Bild/Foto
Bild/Foto
Bild/Foto
Bild/Foto
#diaspora #programming #personalchallenge #alwayslearning #alpha-release

Diaspora Client Example - Alpha Release


https://github.com/rahealy/diaspora_client_example

What This Is:


A Qt multi-platform example written in C++/QML/JavaScript that hopefully will be useful for those trying to make sense of the OpenID + OAuth specifications, accessing a diaspora pod using the diaspora API, and as code demo.

IMPORTANT: This client example is intended for use as a test of the Diaspora API. It does NOT implement certain OpenID security measures. It does NOT require encrypted (https) endpoints. DO NOT USE THIS CODE IN PRODUCTION.

What This Isn't:


A full fledged library and/or application and/or secure. While it definitely has potential, unless people show interest I'm probably going to turn to other projects.

 

Version 9 of Angular Now Available — Project Ivy has arrived!


Yeah, this is totally awesome! This is a huge step forward!
#angular #web #programming

 
It took me a couple of days to come here, so why not brag a little:

I wanted a means to generate an informative error message without the need to everytime I throw something provide it with all the details. In short, I want to say something like
throw StdException {EMSG("Foobar")};

and in case a runtime debug flag is set the string passed to StdException() should also contain the name of the calling function, filename, and line number. In case the debug flag isn't set, just the original message. The output I wanted to be something like:
throw_something <../testprg/main.cpp:19> Foobar
with throw_something being the function name.

Here's how it works:
&#35;include <string> 
static bool _DEBUG_ = true; 

&#35;define xstr(n) str(n) 
&#35;define str(n) &#35;n 
&#35;define d _DEBUG_ 
&#35;define f __func__ 
&#35;define t ::THROW 
&#35;define q ? 
&#35;define c : 
&#35;define BLAH(s, l) "<" __FILE__ ":" l "> " s 
&#35;define EMSG(s) d q t (BLAH(s, xstr(__LINE__)), f) c s 

&#35;ifndef THROW_DEFINED 
std::string THROW (const char* msg, const char* func) 
{ 
    std::string mesg(func); 
    mesg += ' '; 
    mesg += msg; 

    return mesg; 
} 
&#35;define THROW_DEFINED 
&#35;endif

Feel free to use it.

#Coding #Programming #Cxx #CPlusPlus

Bild/Foto

 
#diaspora #programming #grinsandgiggles #personalchallenge #alwayslearning

Diaspora Client Example

This is a continuation on my "couple of days" challenge I'm doing since I have time to kill waiting for replies/rejections to job applications. I skipped Friday because a friend took me out skiing, eating and then I napped. Picked things up on Saturday and have been puttering today.

I need to figure out how to install and set up a development version of a *diaspora pod locally so I can learn how the OpenID + OAuth stuff works. Until then though I've fleshed out a simple UI using Qt and QML:

Bild/Foto

Background Info:

https://github.com/rahealy/diaspora_client_example

“With the release of the new HTTPS/JSON based diaspora API the author decided as a personal challenge to see how much of a simple client could be written using QTQuick and QML in the span of 1 day, 2 days, and so on.”

I’m going to see how much time it takes to install and configure the various dependencies before starting the clock officially.

 
#diaspora #programming #grinsandgiggles #personalchallenge #alwayslearning

Diaspora Client Example

This is a continuation on my "couple of days" challenge I'm doing since I have time to kill waiting for replies/rejections to job applications. I skipped Friday because a friend took me out skiing, eating and then I napped. Picked things up on Saturday and have been puttering today.

I need to figure out how to install and set up a development version of a *diaspora pod locally so I can learn how the OpenID + OAuth stuff works. Until then though I've fleshed out a simple UI using Qt and QML:

Bild/Foto

Background Info:

https://github.com/rahealy/diaspora_client_example

“With the release of the new HTTPS/JSON based diaspora API the author decided as a personal challenge to see how much of a simple client could be written using QTQuick and QML in the span of 1 day, 2 days, and so on.”

I’m going to see how much time it takes to install and configure the various dependencies before starting the clock officially.

 

Anyone else thinks hackatons are a terrible idea?


A group of programmers in my country ( #czech ) decided they'll create #software for #government for free during 48 hours, for free. While that seems cool at first, I think that is in fact a very #bad idea. Why?

Well imagine you want to do the same e.g. with a building. To save the architect's time and money on his salary you tell him to design the building in one hour as best as he can. While you'll immediately save money, the result will likely be a building that's badly designed, will have many issues you'll be paying for during the next decades.

Hackatons, gaming jams etc. are extremely popular because they look cool and save time, but they create terrible results and teach very bad practice, which is driven by today's short-sighted society. The whole history of #engineering taught us that haste makes waste, but nowadays we're abandoning all sanity because of #capitalism, #markets and #consumerism. The result of course is huge #bloat, ugly, wasteful, obscure, unmaintainable, buggy and even dangerous technology. Let's not do this.

#hackaton #programming #game #jam #suckless #escapekeysociety

 

Anyone else thinks hackatons are a terrible idea?


A group of programmers in my country ( #czech ) decided they'll create #software for #government for free during 48 hours, for free. While that seems cool at first, I think that is in fact a very #bad idea. Why?

Well imagine you want to do the same e.g. with a building. To save the architect's time and money on his salary you tell him to design the building in one hour as best as he can. While you'll immediately save money, the result will likely be a building that's badly designed, will have many issues you'll be paying for during the next decades.

Hackatons, gaming jams etc. are extremely popular because they look cool and save time, but they create terrible results and teach very bad practice, which is driven by today's short-sighted society. The whole history of #engineering taught us that haste makes waste, but nowadays we're abandoning all sanity because of #capitalism, #markets and #consumerism. The result of course is huge #bloat, ugly, wasteful, obscure, unmaintainable, buggy and even dangerous technology. Let's not do this.

#hackaton #programming #game #jam #suckless #escapekeysociety

 
#Virtual #Piano #Synth #Programming #HTML5 #JS
Bild/Foto

 
#Virtual #Piano #Synth #Programming #HTML5 #JS
Bild/Foto


 

Announcing TypeScript 3.8 Beta | TypeScript


Interesing new features, however, those private field stuff in my opinion is now totally confusing.
#typescript #javascript #programming
Announcing TypeScript 3.8 Beta

 
rebecca auf Twitter: „git rebase isn't about "hygiene" or "moving commits to a different branch" or anything else. it's about saving face after it takes you 37 tries to get travis working“ / Twitter

Oh yes! I hate those yaml shit.
#git #programming #humor

 

Unintentional framework | CommitStrip


So this explains a lot now!

#javascript #framework #programming #humor

 

COBOL – Computersprache fürs Geschäft | HNF Blog

Die „Common Business Oriented Language“ ist auf Deutsch die allgemein einsetzbare Sprache für geschäftliche Zwecke. Die Abkürzung des englischen Ausdrucks lautet COBOL; sie bezeichnet eine Programmiersprache, die in vielen Ländern benutzt wurde und wird. Die Entwicklung von COBOL startete 1959. Vor sechzig Jahren, am 7. und 8. Januar 1960, wurde die Urversion der Sprache freigegeben.
Happy Birthday #COBOL !
#programming #history
COBOL – Computersprache fürs Geschäft

 
New case study:

"We're modifying AXIOM Beta into an X-ray camera for a small Computed Tomography (CT) instrument under NASA funding. This research is part of a larger project to develop a CT instrument which will analyse ice and rock samples on the surface of Mars."

Reading: https://wiki.apertus.org/index.php/AXIOM_Beta/Case_Studies#eXaminArt

Telegram group: https://t.me/apertus​

#foss #openhardware #technology #filmmaking #hacking #electronics #programming #code #Space #NASA #Astronomy #photography​ #Linux
Bild/Foto

 
Screenshot of AXIOM nctrl webui that's presently in development.

Features a hardware abstrtaction layer over all the peripherals of the camera. It can be used it with the AXIOM Beta and AXIOM Micro and is configured via yml files.

Repo - https://github.com/axiom-micro/webui

There's also code to integrate both projects with the existing firmware builds - https://github.com/apertus-open-source-cinema/axiom-beta-firmware/pull/127

Telegram group: https://t.me/apertus

#openhardware #programming #gsoc #opensource #foss #filmmaking #Linux #code
Bild/Foto

 
Learning hardware programming as a software engineer

I feel the same at the moment. Beeing a software developer since a couple of years I never worked with hardware before. I recently got an ESP32 and a breadboard and I am now trying to understand all that hardware stuff.
#Microcontroller #programming #hardware

 
wtfpython/README.md at master · satwikkansal/wtfpython · GitHub https://github.com/satwikkansal/wtfpython/blob/master/README.md
Exploring and understanding Python through surprising snippets.
#programming #python

 
wtfpython/README.md at master · satwikkansal/wtfpython · GitHub https://github.com/satwikkansal/wtfpython/blob/master/README.md
Exploring and understanding Python through surprising snippets.
#programming #python

 
#Code2HTML is a syntax highlighter.

Code2HTML is a program that converts source code into colorized HTML. Language syntax is defined using Perl regular expressions, and several output modes (colorschemes) can be used. Code2HTML can automatically recognize several input languages.

Website 🔗️: https://www.palfrader.org/code/code2html

apt 📦️: code2html

#free #opensource #foss #fossmendations #programming

 

C, what the fuck??! – bowero


Dude!

#clang #c #programming
C, what the fuck??!

 
Anyone interested in programming here? You'd think it would be easy to strike up a convo on here. #code #programming

 
Anyone interested in programming here? You'd think it would be easy to strike up a convo on here. #code #programming

 

New Compassionate Tech Values


* ~~Ego~~ #Humility
* ~~Elitism~~ #Inclusion
* ~~Competition~~ #Cooperation
* ~~Being "Smart"~~ #Learning
* ~~Being a "Rockstar"~~ Being a #Mentor
From a graphic by April Wensel -- https://compassionatecoding.com/

#tech #compassion #coding #development #programming #AprilWensel