Items tagged with: programming

#wxPython by Example – Creating a wx.Notebook (Video) https://www.blog.pythonlibrary.org/2020/07/10/wxpython-by-example-creating-a-wx-notebook/ #python #programming
wxPython by Example – Creating a wx.Notebook (Video)
#python #programming
wxPython by Example – Creating a wx.Notebook (Video)
"It’s a typical Larry [Wall]talk filled with quirky, humorous observations about life and #programming and notably he announces the #Perl 6 project."
12+ Free (or Low-Cost) Websites to Empower Your #Programming #Education
These HMI (Human-Machine-Interface) displays are a really fancy addition to Arduino/IOT projects.


#maker #programming
Emmet Vim: Essential Tool Kit For Web Developers #www #programming #vim
Generics for Go https://lwn.net/Articles/824716/ #golang #programming
phew! wrote a part of cryptography for my utility today.
encoding of sensitive DB data and passwords.
took part of code from claws-mail, but significantly refactored it, because they heavily use gnome libraries and I don't. I use only GnuTLS. and I added processing of large binary blocks (in claws-mail only passwords were encrypted). so almost nothing has left from the original code piece. but it works fine. so I can store private keys and passwords in encrypted form in DB.
optimization and possible leaks hunt are postponed for tomorrow. cannot stay up the whole night long. tomorrow I have a vocals lesson and need some sleep.
#programming #cryptography #gnutls

Software analysis and synthesis

People who haven't written large programs think that writing software is easy.
All you have to do is break a big problem into smaller problems until you have
something so small that it's easy to program.

The problem is putting the pieces back together. If you've only written small
programs, you haven't had many pieces to put together. It's harder to put the
pieces together when you write a large program by yourself. It's even harder
when you work on a large program with other people.

Synthesis is harder than analysis. Or as Perdita Stevens put it, integration
is harder than separation.


The image above is a screenshot from her
keynote at the [RC2020](https://reversible... Show more...
" #Programming an #Arduino to do simple things like turn on an LED or read a sensor is easy enough via the official IDE"
HeyTeddy is a conversation-based prototyping tool for Arduino
Hey everyone, I’m #newhere. I’m interested in #hacking, #programming, and #racingcars.


vvvvhat happened in June 2020

Read the full blogpost.

Made with vvvv:

#vvvv #vl #visualprogramming #coding #programming #creativecoding
conversion of PostgreSQL binary timestamp (8 bytes) to useful formats:
int time_fnum = PQfnumber(res, "time");
char \*time = PQgetvalue(res, 0, time_fnum);

/* convert PostgreSQL timestamp to string */
long time_val = htobe64( *(uint64_t *)time);

struct timespec ts;

ts.tv_sec = (long)(time_val/1000000);
ts.tv_nsec = (time_val%1000000)\*1000;

char time_gmt_str[20];
char time_local_str[20];

struct tm \*t = gmtime(&ts.tv_sec);
strftime(time_gmt_str, 20, "%Y-%m-%d %H:%M:%S.%ld", t);
t = localtime(&ts.tv_sec);
strftime(time_local_str, 20, "%Y-%m-%d %H:%M:%S.%ld", t);

printf("Time value: 0x%016lX, time GMT: %s.%ld, time local: %s.%ld",
time_gmt_str, ts.tv_nsec/1000,
time_local_str, ts.tv_nsec/1000

#C #programming #PostgreSQL
Highly recommend the article.
muesli - 2020-07-08 10:34:04 GMT
Why Mastodon and the fediverse are “doomed to fail”:

● NEWS ● #uniToronto #Programming ☞ I now think that blog 'per day' pages with articles are a mistake
What you need to know about hash functions https://opensource.com/article/20/7/hash-functions #programming #hashing #security #encryption
Stop working so hard on paths. Get started with #python #pathlib ! https://everydaysuperpowers.dev/articles/stop-working-so-hard-paths-get-started-pathlib/ #programming
#Qt Design Studio - Sketch Bridge Tutorial Part 1 https://www.qt.io/blog/qt-design-studio-sketch-bridge-tutorial-part-1 #programming
Excellent Free Tutorials to Learn #Solidity #programming
Later posts Earlier posts