ual 0.7.4 preliminar benchmarks

Some early ual 0.7.4 benchmarking results across three backends: compiled with Go runtime, compiled with Rust runtime (rual), interpreted (iual).

No attempt has been made to make the new backends faster yet (iual, rual). That being said most concurrent code performs similarly across all three backends, and only interpreted ual (tree walker) sees an obvious penalty in compute heavy algorithms. I might --maaaybee-- be able to provide a VM for iual, but given the performance of the binaries using the Go and Rust backends it seems that it would be a better use of my time to keep adding important features that are still missing in this version. (file handling, sockets, for starters).

It seems to me that the ideal ual developer of the future will be happy to use iual for testing, and deliverable products will be compiled with one of the binary backend targets. The choice of Go or Rust will probably go down to environmental reasons, cultural aspects, or policy preference within organisations.

All in all, a highly productive day!

Now thinking of a fourth backend... wouldn't you guess what is it? 🙂

#ual #foss #golang #rust #rustlang #compsci #programmming

Celebrating Android Studio Narwhal Essentials, Java Edition by Neil Smyth, now available from PragProg.

🔗Read more: https://medium.com/pragmatic-programmers/2a58b2e9ed56

📔ebook: https://pragprog.com/titles/d-nsnarwhal

#Android #androideStudio #Narwhal #Java #mobile #programmming #pragprog

A discussion on the BQN Matrix channel about Project Euler number 21 led me to think that the divisors function in Kap would be useful for this.

Turns out I was right. The solution turned out to be pretty simple, once one realises that an amicable number is one where if you take the sum of the divisors twice, you get back to the original number and the sum of the divisors is not the same as the number itself.

The following Kap code solves the problem by taking advantage of this:

+/ ⍸ ≠/ (⊂↑)«=¨»(1↓) (1+ +/¨math:divisors ⊣)\ (⍳10000) 0 0

Run in browser

The code should be reasonably easy to understand for anyone with some APL experience, but I'll be happy to explain in more details if anyone is interested.

The scan operator is being abused a bit by turning it into a preserving version of repeat. I think if there was a collecting version of repeat, that would be a nicer way to do it.

#kap #apl #programmming #maths

For #WakeGP researches, do I need a #LispMachine comeback?

https://far.chickenkiller.com/computing/do-i-need-a-lisp-machine-comeback/

If you are too lazy to read it all, just jump to the list in the end.

#Lisp #programmming #research #development

Do I need a Lisp machine come back?

One might say I’m too obsessed with Lisp. Or in general with “unconventional” things. Maybe I am. Or maybe dead technologies have got some buried gems which you cannot find in the modern world of computing. This story is about WakeGP. Few years ago, I wanted to start with Evolutionary Machine Learning, specifically Genetic Programming. So I started writing WakeGP software using Rust. And it’s been few months which I’m doing experiments using different parameters and algorithms to see which ones produce better results(e.g. better accuracy).

Farooq's

Programowanie rysikiem po ekranie dotykowym lub padzie, z automatycznym OCR na żywo - yay czy nay
co sądzicie?

#zapytajFedi #programowanie
#askFedi #programmming

I just realized that #Django intentionally does not document how to use #doctests (they say so in the forums¹).

And I’m annoyed right now.

positive: they are wrong about doctests not being maintained in #Python: python 3.13 brings colored output for doctests:

https://docs.python.org/3/whatsnew/3.13.html#whatsnew313-doctest

I consider doctests to be one of the most elegant ways to test beautifully self-contained functions with easy to understand input.

¹ https://forum.djangoproject.com/t/testing-django-with-doctest/25550

EDIT: please read the thread! *happy*

#programmming

What’s New In Python 3.13

Editors, Adam Turner and Thomas Wouters,. This article explains the new features in Python 3.13, compared to 3.12. Python 3.13 was released on October 7, 2024. For full details, see the changelog. ...

Python documentation

Hello everyone.
In today's article we are coding network traffic monitoring with python.

I wish everyone good work
https://denizhalil.com/2024/09/08/network-traffic-monitoring-scapy/

#networksecurity #ethicalhacking #networkmonitoring #pentesting #python #programmming

Network Traffic Monitoring with Scapy: A Comprehensive Guide

Learn how to monitor network traffic using Scapy, a powerful Python library. Get insights into network security and troubleshooting with this comprehensive guide.

DenizHalil

Please use Homebrew to install rbenv if you're on Linux!

#ruby #coding #programmming #rubycommunity

So after some work, I have managed to convert those LinkedIn search result exports into something useful.

I wrote a script that takes a folder of exports in JSON format as input, which contains lists of profiles from search results (in my
case, IT Recruiters), and filters them by various criteria.

In my case, the results are lists of recruiters that best match my professional profile. They are exported on a per-country basis in a folder ready to be passed on to a tool like Chat GPT to generate an email to send out to them in bulk.

If people are interested, I'll turn this into a proper command line tool.

Currently, the configuration options are in the code, so you need to be a programmer to use it. But from 6000 recruiters as the input, I arrived at a data set of about 250 matched to me perfectly. Very cool.

It then outputs separate lists of suitable matches, grouped by country into a folder ready for. usage with something like chat GPT to generate emails to contact them and ask for open positions.

#linkedin #jobsearch #job #tech #programmming #hiring #utility

Power of Clojure for Clojure newbies and non Clojurists

YouTube