Programming/Development Leftovers

-
PHP 8.0 Ready To Ship With Many New Features, Even Better Performance - Phoronix
PHP 8.0 is scheduled for release tomorrow on the US Thanksgiving day. PHP 8.0 brings with it many new language features on top of the opt-in JIT compiler support. Here is a look at some of the PHP 8.0 changes along with a quick look at the near final performance of PHP 8.0 on an AMD EPYC Linux server.
PHP 8.0 is a very worthy successor to last year's PHP 7.4. Besides the JIT compiler there is a ton of work incorporated into this big version bump. Among the PHP 8.0 highlights are:
- PHP8 introduces the much anticipated Just In Time (JIT) compiler for further enhancing the speed of PHP scripts. More details on PHP's JIT compiler via this Wiki page.
-
Going from Android LinearLayout to CSS flexbox
Are you an Android developer looking to learn web development? I find it easier to learn a new technology stack by comparing it to a stack I’m already familiar with. Android developers can layout views using the simple yet flexible LinearLayout class. The web platform has similar tools to layout elements using CSS, and some concepts are shared. Here’s some tips to learn web development using your Android knowledge.
-
Software Diagrams Aren’t Always Correct and That’s OK
Concretely, software is just bits in electronic storage that control and/or are manipulated by processors. Abstractions are the building blocks that enable humans to design and build complex software systems out of bits. Abstractions are products of out minds—they allow us to assign meaning to clusters (some large, some small) of bits. They allow us to build software systems without thinking about billions of bits or how processors work.
We manifest some useful and generally simple abstractions (instructions, statements, functions, classes, modules, etc.) as “code” using other abstractions we call “languages.” Languages give us a common vocabulary for us to communicate about those abstract building blocks and to produce the corresponding bits. There are many useful tools that can and should be created to help us understand the code-level operation of a system.
But most systems we build today are too complex to be fully understood at the level of code. In designing them we must use higher-level abstractions to conceptualize, compose, and organize code. Abstract machines, frameworks, patterns, roles, stereotypes, heuristics, constraints, etc. are examples of such higher-level abstractions.
The languages we commonly use provide few, if any, mechanisms for directly identifying such higher-level abstractions. These abstractions may manifest as naming or other coding conventions but recognizing them as such depends upon a pre-existing shared understanding between the writer and readers of the code.
-
How to Convert Integer into String in Python | Linuxize
Python has several built-in data types. Sometimes, when writing Python code, you might need to convert one data type to another. For example, concatenate a string and integer, first, you’ll need to convert the integer into a string.
-
How To Install PyCharm on Debian 10
In this tutorial, we will show you how to install PyCharm on Debian 10. For those of you who didn’t know, PyCharm is an intelligent and fully-featured IDE for Python developed by JetBrains. It also provides support for Javascript, Typescript, and CSS, etc. You can also extend PyCharm features by using plugins. By using PyCharm plugins you can also get support for frameworks like Django, Flask. We can also use PyCharm for other programming languages like HTML, SQL, Javascript, CSS, and more.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you through the step by step installation of PyCharm on a Debian 10 (Buster).
-
This Week in Rust 366
-
- Login or register to post comments
Printer-friendly version
- 2534 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
Chafa 1.6.0: Wider
Here’s another one from the terminal graphics extravaganza dept: Chafa 1.6.0 brings fullwidth character support, so in addition to the usual block elements and ASCII art, you now get some mean CJK art too. Or grab as many fonts as you can and combine all of the Unicode into one big glorious mess. Chafa can efficiently distinguish between thousands of symbols, so it also runs fast enough for animations — up to a point.
Since some users want this in environments where it’s not practical to build from source or even to have nice things like GLib, I’ve started adding statically linked builds. These are pretty bare-bones (fewer image loaders, no man page), so look to your steadfast distribution first.
Speaking of distributions, a big thank you to the packagers. Special thanks go to Florian Viehweger for getting in touch re. adding it to OpenBSD ports, and Mo Zhou (Debian), Michael Vetter (openSUSE), Herby Gillot (MacPorts), @chenrui and Carlo Cabrera (Homebrew) for getting 1.6 out there before I could even finish this post.
| ClusBerry 9500-CM4 – A Raspberry Pi CM4 cluster, industrial style
Raspberry Pi cluster boards / solutions pop-up from time to time. But so far, I think we’ve seen only one based on Raspberry Pi CM4 modules with the upcoming Turing Pi 2 mini-ITX cluster board supporting four of those.
TECHBASE has now unveiled a different kind of Raspberry Pi CM4 cluster with ClusBerry 9500-CM4 integrating up to eight Raspberry Pi Computer Module 4 in a DIN-Rail housing for industrial applications.
|
Rotary Un-Smartphone is a rotary dial phone based on Arduino, 4G LTE module
If you feel nostalgic and misses the days of the rotary dial phone, Sky’s Edge “Rotary Un-Smartphone” is an open-source hardware rotary dial phone controlled by an Arduino board and equipped with a multi-mode 4G/3G/2G module.
It’s a bit more advanced that you old rotary phone with recent cellular technology, ePaper & OLED displays, quick dialing buttons, and the rotary dial can both be used to dial full phone number or quickly access your contact list.
| today's howtos
|
Recent comments
4 hours 7 min ago
4 hours 33 min ago
4 hours 35 min ago
9 hours 5 min ago
9 hours 8 min ago
15 hours 31 min ago
15 hours 42 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 10 hours ago