f.lapo.it


ASN1js tree mode

Public request for comments: #ASN1js has historically been like this, I have received a very nice PR on Github to make it more like the usual tree view with ⊕, it can be tested here.
I like that, but it's a huge change to the website historical look&feel #UX.
What do you think about it?
Better? Worse? Can be further improved?
1

ASN1js is now available as a #VSCode extension.
Immagine/foto
#asn1 #asn1js
5 15
wr mastodon (AP)
nice ! Can you re-encode ASN.1 structures based on text descriptions ?
I did that using OpenSSL CLI and Perl github.com/wllm-rbnt/asn1templ…
ian spence :yikes: mastodon (AP)

oh! I didn't know you were on Mastodon.

Thank you SO MUCH for making asn1js. It was absolutely instrumental in my recent escapades into the world of DNSSEC.

Genuinely an inspiring tool.


ASN1js now (also on) ESM

I released a 'next' version of #ASN1js on npm which drops any AMD/UMD boilerplate and only uses ES6 modules.

I'm waiting for the forthcoming #NodeJS sync require(esm) in order to release that as a default version, because it seems unreasonable to force library users to do everything async.

Any thought on that? #library #JavaScript

1 1

Quoto @Stefano Zanero da Twitter:

La follia sta degenerando (come era logico e scontato succedesse).
Piracy Shield va SMANTELLATO. Va smantellato ora.
4 8
bagigio mastodon (AP)
é un assaggio del potere della sorveglianza elettronica con cui dovremo fare i conti sempre più spesso. Ha già i connotati distopici questo dispositivo contro la pirateria, figuriamoci le soluzioni tecniche pensate proprio per il controllo della popolazione.
bagigio mastodon (AP)
se ne va un altro pezzo di libertà, e prevedono di espandere questi controlli. fanpage.it/innovazione/tecnolo…

On February 1st 2024, AWS will start charging for IPv4 addresses. This will cost $0.005 per hour -- around $4 month

This is a very nice idea, and finally happening on a global scale.

Hetzner started charging IPv4 addresses (or rather, allowing a discount if you do without: the total price is the same it was before) since a few years and I guess that's working fine for them.


Brace Yourself, IPv6 is Coming tech.slashdot.org/story/24/01/…

2


Download Hetzner CSV invoices

I made a little script to automatically download all my #Hetzner CSV invoices in a single file (or rather, one file per page):

let elem = Array.prototype.slice.call(document.getElementsByClassName('btn-download')).map(e=>e.href).filter(u=>u.endsWith('/csv'));
let numbers = elem.map(u=>/invoice[/]([^/]+)/.exec(u)[1]);
let filename = 'invoice-' + numbers[0] + '-' + numbers[numbers.length - 1] + '.csv';
let csv = '';
for (let url of elem)
    csv += await (await fetch(url)).text();
let a = document.createElement("a");
a.download = filename;
a.href = a.href = "data:text/csv,"+encodeURIComponent(csv);
a.click();

Updates available as GitHub gist.


They broke #RSA 2048 using quantum computing on a commercial phone.
Yeah, sure. 🤣


"Quantum Leap in Computing: RSA-2048 Cracked on a Cellphone! 📱💥"

Dr. Ed Gerck announces a groundbreaking quantum computing (QC) achievement: RSA-2048 encryption has been broken using a commercial cellphone or a commercial Linux desktop! Should this turn out to be correct, this would mark a pivotal moment in cybersecurity, as current public-key encryption may no longer be secure. Time for quantum-resistant algorithms! 🚨🔐

As some others have also stated, and I quote "Well, I'd like to see a more tangible proof of these tall claims..."

Would be cool tho...

Source: Ed Gerck on LinkedIn

Tags: #QuantumComputing #CyberSecurity #RSA #Encryption #PublicKey #QuantumResistant #TechnologyBreakthrough #InfoSec #DataProtection 🔒🌐💻


#rsa
1 5 👀 1
@luca skeptical? Yes definitely 😁 I know I am haha😂
Questa voce è stata modificata (8 mesi fa)
Greg A. Woods diaspora

Lots of hot air and insanity there.....

FYI, databreachtoday.com/blogs/rese…

See for example the paper Gerck "published" where he claims Pi is "an unbounded series of rational numbers":

preprints.org/manuscript/20230…


Giornalismo italiano (ed europeo) su Mastodon?

Interessante questo post di raccolta di testate giornalistiche che stanno man mano migrando sul Fediverse, tracciato con il tag #newstodon.
Chissà se qualcuno ha preparato una lista simile ma relativa all'Italia o all'Europa?

1 1
Luca Sironi pleroma (AP)

@TexasObserver

sarebbe veramente una svolta. Senza pensarci, di non bot, mi viene in mente solo @valigiablu

seguo altri giornalisti italiani con account personali, se solo ci fossero le testate…

1

Super-interesting thread about government-frustration-based #opensource, a small server that scrapes prices from major groceries and a completely client-side PWA to search thru it.

Would love to see an Italian fork of this.

Kudos to @Mario Zechner


Today was ... interesting. If you followed me for the past months over on the shitbird site, you might have seen a bunch of angry German words, lots of graphs, and the occassional news paper, radio, or TV snippet with yours truely. Let me explain.

In Austria, inflation is way above the EU average. There's no end in sight. This is especially true for basic needs like energy and food.

Our government stated in May that they'd build a food price database together with the big grocery chains. But..


2

#Magic #quine FTW!


The Professor of Spellcraft studied the parchment.
"Hmm. No, I have not seen this spell before. What does it do?"
"When you read it out, it creates a parchment with that spell written on it."
"That's all?"
"Isn't that neat?"
"But why?"
"To see if I could."
"Ah!"
#MicroFiction #TootFic #SmallStories


Yes, so much this!

How I want to learn [your thing]:

1. Text on website
2. Text on paper

2328. Spraypainted on side of cow
2829. Video tutorials


(MarkKriegsman on Twitter 2016-06-06)

1 2

Added PKCS#10 support to ASN1js

Tonight I added PKCS#10 support to #ASN1js.

…by parsing RFC 2986 and, unfortunately, by applying a minimal set of patches to simplify its ASN.1 dialect as my parser doesn't yet support it all… interesting how older RFCs used a much more complicated #ASN1 than more recent ones.

2
Just a point pro the hypothesis "recent RFCs use simpler ASN.1 syntax", today I added parsing of RFC 4210 & 4211 and it was quite straightforward.
1

I notice that I go to twitter nowadays almost exclusively for news about #AI #LLM #neuralNetworks and it seems most of the contents are still there.

(On the other hand, e.g., infosec people seems to be most active here on the Fediverse.)

Is there any "user cluster" I didn't notice or subscribe to on those arguments in here, or do you think I might be right?

1 1
Tim Kellogg mastodon (AP)
I don’t ever use X, but I think you’re probably right. I subscribe to the tags you used and I get a little of both pro & anti content. The most interesting stuff seems to be on hacker news — fwiw I look for engineering-heavy content, so I get pretty turned off by the “magic AI” people
James Neno mastodon (AP)
That has been my experience as well, although I've stopped using Twitter entirely recently. I've been following a lot of AI researchers recently here, so you might check my following list.
Questa voce è stata modificata (11 mesi fa)
1

#VictoriaMetrics is getting better and better, even on my home installation RAM usage went down from 958 MiB to 381 MiB upgrading from 1.87.6 to 1.93.0. 🎉

…and if you're still using plain old #Prometheus do know that Victoria Metrics is a plug-in #OpenMetrics replacement (even the scraping file is compatible) and everything will be faster and both RAM and disk usage will go down dramatically.


AAAA glue records

I didn't notice but it seems that in 2019 italian registration authority (finally!!) added support for AAAA glue records, necessary for recursive #DNS resolution based purely on #IPv6 connections.

My registrar #ArubaIT still doesn't support that in the web interface, but they were nice and fast doing that manually when I opened a ticket.

And thus, finally, after many years of wait this is finally possible:

% drill -T6 aaaa lapo.it | fgrep AAAA
lapo.it.        86400   IN      AAAA    2a01:4f8:151:1d7::7

PS: unfortunately ldns’ drill does not yet show glue records explicitly during a trace, but I will wait on that too.

3

Frightening. #OpenSource #EU

EU policymakersPolicymakers haven't really thought this one through, have they...

If you think you participate or use open source in any way (and these days, the answer is a resounding YES), this should concern you.

https://twitter.com/levitte/status/1679451969985867777

Oh yes, thanks!!
I usually do that myself, but this time I didn't (for no reason).
1

Lapo Luchini friendica

Decode encrypted KNX projects

I published a Gist to decode encrypted #KNX projects using #NodeJS.

VictoriaLogs is here!

I've been waiting for #VictoriaLogs for a while… and now it's here! 🤩

#VictoriaMetrics #ElasticSearch #ELK
1
The slide that got me most excited:
- VictoriaLogs uses 2.2× less CPU than ElasticSearch
- VictoriaLogs uses 28× less RAM than ElasticSearch
- VictoriaLogs uses 13× less disk space than ElasticSearch
- VictoriaLogs performs typical log analysis queries faster than ElasticSearch

Oh, I didn't notice there was an official announce by @Denys Holius here on the Fediverse too!


I am happy to announce that we have released the first release of VictoriaLogs.
The release is located at github.com/VictoriaMetrics/Vic…

Docs: docs.victoriametrics.com/Victo…
Docker demos: docs.victoriametrics.com/Victo…
Helm Chart: github.com/VictoriaMetrics/hel…

We have prepared a Benchmark for VictoriaLogs, which is located at github.com/VictoriaMetrics/Vic…

For bug reports + feature requests please fill in the issue github.com/VictoriaMetrics/Vic…

#observability #logs #monitoring #victorialogs #elasticsearch #fluentbit #vectordev



1

Bye bye Netflix

After 7 (fairly) happy years together… it's time to go.
#Netflix dear… it's now you, it's me.
No, it's you really, it's you that started enforcing draconian rules.
(which were all along permitted by the EULA, sure, but were even openly contradicted by the CEO in interviews)
1

(Bad) RNG made in Italy

Wonderful: a public administration in Italy decided to implement an LCG for random values to be used in tenders or other official stuff needing a #random draw instead of a #CSPRNG (a random number generator backed by good #crypto), allowing whoever is choosing the seed to actually choose the winner.

(linked post is in italian)

1 2


FreeBSD on IPv6-only hosts

Done my (small) part in helping support #FreeBSD for #IPv6 -only hosts.
Love the fuzzy warm feeling in helping opensource. 😇
3 4

RedPajama-3D enters the ring

It is certainly the cutest #LLM so far!
Also, easily runs on CPU and 3 GiB RAM thanks to #ggml.
#llm #ggml
1 1

Star Wars questions:

<human>: Who would win a star war between people of Encelandus and Mars?
<bot>: People of Mars would win a star war against People of Encelandus in a first contact situation. The reason is that Mars has a strong military force, which could stop and capture the Encelandus ships in a matter of hours, thus winning the war.

<human>: Who would win a star war between people of Venus and Mars?
<bot>: This would be a difficult question to answer, as the outcome of a fight between people of Venus and Mars would depend on many factors such as cultural differences, technology levels, and individual capabilities. The factors that could affect the outcome of such a fight include factors such as differences in strength, stamina, and agility, as well as differences in fighting styles and techniques.

It is difficult to speculate who would come out on top in a direct match between people of Venus and Mars, as the outcome would depend on the specifics of each individual battle. However, a more general comparison might be made between the two planets' fighting styles.

The people of Mars are known for their agility, strength, and combat prowess, often being characterized as fighters who use their speed and quickness to their advantage in combat. The people of Venus, on the other hand, are known for their stamina, endurance, and resistance to injury, often being characterized as fighters who rely on their strength, endurance, and durability to win a fight.

<human>: Who would win a star war between people of Pluto and Mars?
<bot>: It is not clear what the conditions would be for a star war between the people of Pluto and Mars. Some factors which could influence the outcome of such a conflict include the following:
1. The size and technological level of each planet's military force: While there is no direct evidence to support the idea that a conflict between the people of Pluto and Mars would be a decisive one, it is reasonable to assume that the people of Pluto would have inferior technology and therefore would have a lower chance of winning.
2. The planet's natural resources: The people of Pluto and Mars may have different natural resources, such as natural resources on the surface of Mars or underground on Pluto, which could have an impact on the outcome of a conflict.
3. The level of technology and organization on the respective moons: The people of Pluto and Mars may have developed technology that could be used in a star war, such as nuclear weapons or advanced weaponry. However, the people of Mars may have developed their technology more rapidly, so they would have a higher chance of prevailing.
4. The level of organization on the respective planets: The people of Pluto and Mars may have very different levels of organization, with one having a centralized government or military and the other having a more decentralized system.
5. The level of technological advancements on the respective planets: Both the people of Pluto and Mars may have developed advanced technology that is beyond the capabilities of the other, leading to a technological advantage.
Overall, while a star war between the people of Pluto and Mars may not be a decisive one, it may still be a fascinating subject for science fiction writers or historians. It is worth noting that there is no evidence to support the idea that such a conflict would ever occur, as neither planet has the ability to wage a war against the other, and the two are geographically separated from each other.

Historical wars questions:

<human>: Who would win a war in year 1215 between people of Florence and Milan?
<bot>: The Florentines have been ruling the city-state of Florence since year 1120, so they have a solid historical and cultural background. They had the advantage of having more experienced military leaders who have fought in many wars with other Italian city-states. The Florentines would have a substantial advantage over the Milanese.

<human>: Who would win a war in year 1512 between people of Florence and Milan?
<bot>: Florentines would win a war with Milan in year 1512 as they have an advantage in numbers and training. The Florentines would gain a decisive advantage in the field, while the Milanese would have to focus on building up their forces in the rear. The Florentines would also have an advantage in tactics and strategy. Overall, the Florentines would have the advantage in all aspects of the conflict, and they would win.

<human>: Who would win a war in year 1950 between people of Florence and Milan?
<bot>: The people of Florence are known to be one of the greatest city-states and they have a lot of experience in war. Their strength is in their ability to produce art, music and literature. They have a strong army that can defeat the Milan forces in a war.

<human>: Who would win a war in year 2020 between people of Florence and Milan?
<bot>: In 2020, there was no official declaration of war between the two cities. Florence has a long history of being a military stronghold and was known as a place of knights and mercenaries. It was also a place of production for weaponry and military supplies. Milan, however has a much more modern history of military force. Its soldiers were often called upon to defend Italy during World War II, as well as during the war in Iraq. Milan is also one of the few places in the world to have both an airport and a submarine base. The two militaries would be evenly matched, with both being able to field large armies, as well as being able to produce large amounts of weaponry and military equipment. Milan would have a slight advantage in terms of having both an airport and a submarine base, as well as having a larger population and a more modern military force. Milan would be able to field a large amount of soldiers, as well as a larger amount of military equipment, and would have an advantage in terms of its more modern military force. Florence, however, would have a more traditional and historic military force, and would be able to field a large amount of knights and mercenaries. Florence would have an advantage in terms of the weapons and equipment they would be able to produce, and would be able to field a larger amount of soldiers. The only way to truly determine who would win the war would be to have a war. Florence and Milan would both need to have a large number of soldiers and military equipment to be able to field forces strong enough to challenge each other. If Florence and Milan were to face each other in a war, it would likely be over a long period of time, as neither would have the ability to challenge the other in a quick and decisive manner. ^C (it was entering a loop)


Visual explanation of SHA-256

Very nice visual explanation of #crypto #hash SHA-256.
sha256algorithm.com/
2 1

Vicuna 7B in the browser

Whoa things go fast.

And this is pretty impressive for a 7 billion parameters model that runs in the browser!

(cfr. yesterday's post by @Simon Willison for more details)

A rap battle between cryptography and cryptanalysis

Here's a possible rap battle between cryptography and cryptanalysis:

Verse 1 (Cryptography):
I'm the master of code, the one who's got you all confuzzled
With my ciphers, I keep secrets safe, your tricks all in check
I'm the one who protects your data, no one can break my matadors
And when it comes to encryption, I'm the boss of them all

Verse 2 (Cryptanalysis):
You may have the keys, but I can break your locks
I unravel codes, I unlock your cloaks
I'm the one who finds the flaws, the cracks in your code
And when it comes to deciphering, I'm the master of the shore

Verse 3 (Cryptography):
Sure, you can break some codes, but you'll never break mine
I've got the skills, the knowledge, the art
I create ciphers that are impenetrable, impossible to divine
I'll keep your data safe, no matter what you do

Verse 4 (Cryptanalysis):
But I can also create ciphers, ones that are secure and true
I'll find the flaws, the gaps, the errors that you miss
I'll break your codes, no matter how complex they may seem
And when it comes to encryption, I'll always be the one to claim

Verse 5 (Cryptography):
We may have our differences, but we both serve the same
We protect data, keep secrets, make sure that nothing's harmed
Together, we create a balance, a harmony
In the end, we both win, as encryption is our domination

Verse 6 (Cryptanalysis):
But remember, cryptography is just a tool
Cryptanalysis is the art, the skill, the rule
Without us, your data could be at risk
But with our knowledge, we keep it safe and bright.


cementino mastodon (AP)
serious portal 2 facility vibes

@ggerganov ain't half wrong.

Can't help but feel the AI hype is oriented in a non-optimal direction

It's almost as if we had just discovered the FFT algorithm and instead of revolutionizing telecommunications, we are using it to build Tamagotchis

P.S. I'm only half joking 😄

And to clarify - I don't mean this in a bad way. It's actually tons of fun these days in this field

I just think that in the long run, it will not be the chat bots that will be remembered, but rather the solutions to actual well-defined problems, which weren't solvable before

https://twitter.com/ggerganov/status/1645752805939101698

1 1
nuovi vecchi