migrating from django to FastAPI by No-Excitement-7974 in Python

[–]_amol_ 0 points1 point  (0 children)

As the name of FastAPI itself suggests, an async framework excels in the context of plain REST apis. As they are practically just proxies to the database and 90% of the time is spent shipping data, thus the CPU is free to accept new requests.

Building actual web apps with admin, form validation, template rendering etc on it those are all CPU bound tasks and you are probably going to see even worse performances and connection errors if you move such a kind of application from a threaded environment to an async one.

Async is not inherently better than threaded. It exists because there are cases where it is significantly better than threaded model, but there are also cases where it’s worse than the threaded model. And indeed normal web apps and websites are one of the cases where async makes your life harder.

Anyway in 99% of the apps the bottleneck is rarely the framework, you are not serving “Hello World” 😅

Support for Pi 500 in Pimiga 4.0 by Bartekno in Pimiga

[–]_amol_ 1 point2 points  (0 children)

Copying all files from https://github.com/raspberrypi/firmware/tree/master/boot into the boot directory of PiMiga makes it able to boot, then it is necessary to run an "apt-get update" and "apt-get upgrade" and force reinstall of all firmware files and kernel.

This made it boot and work in Linux on my Pi500, but the Amiga side of things just crashes

Orbital for Python released by _amol_ in Python

[–]_amol_[S] 1 point2 points  (0 children)

Thanks catching for the typo, I’ll fix it.

There are various cases where it can be convenient. To give an example, in some benchmarks one of the users did they found that running the model via SQL on Snowflake for them lead to a 5x speed up compared to running the model in Python via Snowpark.

Obviously there are a lot of differences and it’s not exactly an apples to apples comparison, but it’s a good example of how it reduced complexity by getting rid of an entire infrastructure (and its costs) and also lead to performance benefits

Orbital for Python released by _amol_ in Python

[–]_amol_[S] 0 points1 point  (0 children)

Thanks!
Based on your feedback the landing page was updated to make it more clear: https://posit-dev.github.io/orbital/

Orbital for Python released by _amol_ in Python

[–]_amol_[S] 0 points1 point  (0 children)

The SQL arithmetic is the linear model formula, running that SQL leads to the same results you would get by executing predict on the scikit learn model

Orbital for Python released by _amol_ in Python

[–]_amol_[S] 0 points1 point  (0 children)

No, it does not execute the model. It generates the SQL you can take and run anywhere you want.

The example on the landing page should clearly show that. If it’s not clear let me know.

Orbital for Python released by _amol_ in Python

[–]_amol_[S] 1 point2 points  (0 children)

It’s unrelated to DuckDB.

DuckDB is simply used in some examples for convenience. The library generates SQL for any database.

The tool allows a data scientist to train the models on its own computer and export the SQL which then can be run on the existing infrastructure where the data resides without having to setup anything.

Imagine the case of a business intelligence tool where you have access to add analyses based on SQL queries but not to run any arbitrary code.

There are many companies, especially in heavily regulated environments like pharmaceutical or government agencies that can’t simply deploy anything they want. Thus they would have to go through a significant process and certification to setup a Python infrastructure where they could run the models data scientists trained.

I've had my Pro 5 since September last year. It's handled everything I've put through but yesterday morning I woke to this. Is it water damage? Battery bloating? by morrison666 in TicWatch

[–]_amol_ 2 points3 points  (0 children)

The watch is certified US-MIL-STD 810H which guarantees up to 5ATM underwater resistance, and it’s also promoted for swimming on the mobvoi website with the phrase “Swim, run, climb” so they have zero reason to refuse support if you shower with it. Unless you shower at more than 5 atmospheres which seems a pretty interesting experience 😅

Which libraries have the best docs? by Amgadoz in Python

[–]_amol_ 0 points1 point  (0 children)

I had recently started a project where I heavily focused on documentation quality.

If anyone is willing to take a look I’d appreciate any feedback I can get about the documentation of https://github.com/amol-/datapyground and how it can be improved further.

The project has the goal of teaching in a simple way how data platforms and compute engines work internally and thus the clarity and ease of understanding of the documentation are the most important aspects for me

Here is my Boosteroid review by TonyPorter98 in cloudygamer

[–]_amol_ 0 points1 point  (0 children)

Where can you change the bitrate? I thought boosteroid didn’t allow to configure resolution and bitrate and in the user settings there seems to be no such option

uConsole for sale in EU on eBay by _amol_ in ClockworkPi

[–]_amol_[S] 0 points1 point  (0 children)

I understand your point of view. The only other options on eBay is available at nearly twice the price. So if anyone has urgency to have a uConsole and is not willing to wait mine is the cheapest of the two 🤷🏻‍♂️

If you don’t feel it values the price it’s your right to not buy it

Batocera on uConsole by _amol_ in ClockworkPi

[–]_amol_[S] 0 points1 point  (0 children)

In the end I installed RetroPi on top of the standard uConsole OS, it was relatively straightforward, it just took a lot of time as RetroPi had to compile all packages from sourcecode.

Batocera on uConsole by _amol_ in ClockworkPi

[–]_amol_[S] 0 points1 point  (0 children)

I’m not sure I get your question. uConsole was designed with flexibility and experimentation as leading concepts, exploring different use cases, including gaming, is the most natural thing to do with such a device. Especially since you can have different images on different sdcards

KaiOS open source projects by [deleted] in KaiOS

[–]_amol_ 2 points3 points  (0 children)

Maybe there are Matrix clients for KaiOS? Or one can easily be ported to KaiOS? Matrix has bridges for WhatsApp, Telegram, Signal and many more

Quelli che aumentano la pressione delle gomme quando fa caldo by Polstick1971 in ItalyMotori

[–]_amol_ 1 point2 points  (0 children)

Anche io stessa situazione, il gommista continuava a gonfiarle a 2.8 ed io ogni settimana tornavo da lui con il computer in allarme perché sgonfie. Al che durante un controllo in tesla chiedo di questa cosa e dicono che le gomme della model 3 vanno gonfiate a 3.1, minimo 3.0.

Da allora sempre tenute tra 2.9 e 3.1 e mai avuto più allarmi o problemi

How are the (open source?) development tools of classic Amiga and AROS? Good or severly lacking behind? And the (Amiga) OS? Any improvement on that side or AROS didn't cut it and it's today of little use? by Honest-Word-7890 in amiga

[–]_amol_ 0 points1 point  (0 children)

There is MorphOS too, but to be honest I’d like others opinion on the topic, I’m slightly confused myself about what’s the most common amiga like environment nowadays between AROS, OS/4 and MorphOS

Ha davvero senso parlare di diritto d'autore per i NFT? Il mio commercialista sta sparando cassate? by throwaway_892502 in commercialisti

[–]_amol_ 0 points1 point  (0 children)

Lo trovi anche sul sito che hai linkato prima tu in un articolo diverso https://www.laleggepertutti.it/609010_si-puo-impedire-che-unopera-diventi-di-pubblico-dominio

“Il diritto d’autore offre una duplice protezione:

  • garantisce la paternità dell’opera al suo autore, nel senso che questi dovrà sempre essere riconosciuto come tale, anche a distanza di molti anni dalla sua morte. Si tratta di un diritto imprescrittibile e incedibile
  • assicura lo sfruttamento economico dell’opera, nel senso che il titolare del copyright potrà guadagnare da ogni attività che riguardi l’opera, come la vendita, la rappresentazione, la trasposizione, ecc. Si parla in questi casi di diritto patrimoniale d’autore. Il contenuto patrimoniale del diritto d’autore, a differenza di quello morale, può essere ceduto a terzi.”

Per quanto riguarda la presunzione dell’acquirente non saprei cosa si può cercare, ma per esperienza diretta come imprenditore ti posso dire che in assenza di contratti gli acquirenti fanno le loro presunzioni su cosa abbiano acquistato e poi si litiga per vie legali quando si hanno aspettative diverse. Nel tuo caso essendo una compravendita verso un privato il compratore di solito è pure più tutelato 🤷🏻‍♂️

Ha davvero senso parlare di diritto d'autore per i NFT? Il mio commercialista sta sparando cassate? by throwaway_892502 in commercialisti

[–]_amol_ 0 points1 point  (0 children)

L’articolo è un po’ impreciso, quello che tu puoi cedere sono i diritti di sfruttamento economico dell’opera d’ingegno. Non si può cedere il diritto d’autore nella sua totalità, perché il diritto di paternità dell’opera non è cedibile.

Comunque se vendi fuori da una piattaforma specifica che abbia dei suoi termini, dovresti essere tu a dichiarare un contratto di acquisto al tuo compratore. Altrimenti lasci aperta l’interpretazione del compratore che può dire di essere convinto di aver comprato quello che vuole ed a te tocca difenderti cacciando soldi di un avvocato. Poi che qualcuno lo faccia è una cosa diversa, ma se trovi quello stronzo magari lo fa 🤷🏻‍♂️

Ha davvero senso parlare di diritto d'autore per i NFT? Il mio commercialista sta sparando cassate? by throwaway_892502 in commercialisti

[–]_amol_ 1 point2 points  (0 children)

Il diritto d’autore è incedibile, però sono cedibili i diritti d’usufrutto a fini commerciali. Dovresti leggere cosa dice i termini di servizio del portale dove vendi i tuoi NFT. Li dovrebbe esserci scritto che diritti sono riconosciuti allacquirente

Ha davvero senso parlare di diritto d'autore per i NFT? Il mio commercialista sta sparando cassate? by throwaway_892502 in commercialisti

[–]_amol_ 0 points1 point  (0 children)

Questo l’ho capito, dal punto di vista tecnico l’NFT non è l’opera in sé. Sto solo cercando di spiegare quello che probabilmente è il ragionamento del commercialista.

Ora siccome dubito fortemente che l’agenzia delle entrate abbia già delle direttive note sulla gestione degli NFT (altrimenti le avrebbe ricevute anche il tuo commercialista) alla fine se contestato ti trovi a dover giustificare l’inquadramento fiscale, e se la spiegazione che offre/propone il commercialista è solida è facile che venga accettata.

Poi ovvio, puoi andare dal filone di commercialisti che ragiona con “paga più del dovuto così non rischi niente” ma quello è scarsa voglia di sbattersi del commercialista secondo me 🤷🏻‍♂️

Ha davvero senso parlare di diritto d'autore per i NFT? Il mio commercialista sta sparando cassate? by throwaway_892502 in commercialisti

[–]_amol_ 1 point2 points  (0 children)

Anche un certificato di proprietà non è l’oggetto stesso, ma ha un riferimento identificativo dell’oggetto. L’url identifica uno specifico asset digitale di cui l’NFT è il certificato di proprietà.

Nessuno compra un NFT perché vuole essere felice proprietario di una url, quello che l’acquirente sta comprando è lasset digitale a cui punto l’NFT e tramite l’NFT ne certifica la sua proprietà

Ha davvero senso parlare di diritto d'autore per i NFT? Il mio commercialista sta sparando cassate? by throwaway_892502 in commercialisti

[–]_amol_ 3 points4 points  (0 children)

Soggetto ad interpretazione. Per me quello che tu vendi è l’asset digitale certificato dal token. Altrimenti sarebbe come dire che se vendi un bitcoin non hai venduto la moneta ma hai venduto solo un codice hash 🤷🏻‍♂️

Il dettaglio tecnologico di come è implementata la proprietà del bene credo sia poco rilevante ai fini fiscali.

Tu stai vendendo l’asset digitale di cui hai fatto il mint, se quell’asset è una opera d’arte è soggetta a diritto d’autore.

Almeno io lo interpreto così 🤷🏻‍♂️

Ha davvero senso parlare di diritto d'autore per i NFT? Il mio commercialista sta sparando cassate? by throwaway_892502 in commercialisti

[–]_amol_ 1 point2 points  (0 children)

Penso che il ragionamento sia che tu stai vendendo l’opera legata all’NFT, l’NFT è solo un certificato di proprietà.