tal

joined 2 years ago
[–] tal@lemmy.today 7 points 11 hours ago* (last edited 11 hours ago)

It doesn't sound like they have the EVs or charging infrastructure to do much with EVs:

https://en.wikipedia.org/wiki/Plug-in_electric_vehicles_in_Russia

As of July 2022, there were around 18,700 electric vehicles in Russia, equivalent to 0.04% of all cars in the country.

Sounds like a year ago, there were about three times that, so maybe up to 0.12%.

https://en.iz.ru/en/1940076/2025-08-20/number-electric-vehicles-russia-has-been-calculated

As of the beginning of July, there were 65.2 thousand electric vehicles in Russia. Sergey Tselikov, director of the Autostat analytical agency, told about this in his Telegram channel.

So in addition to the financial losses, I assume that's going to cause logistical problems.

EDIT: It also doesn't sound like there are a whole lot of diesel vehicles, though more than EVs. I understand that diesel is presently less constrained than gasoline.

https://m.eng.autostat.ru/news/24768/

The share of petrol cars increased slightly over the year, from 93.1% to 95.4%. Concurrently, the share of diesel cars declined almost fourfold, from 3.9% in May 2023 to the current 1%. This is attributed to the decline in car sales in the traditional premium segment, which are mostly powered by diesel.

[–] tal@lemmy.today 14 points 11 hours ago* (last edited 11 hours ago) (1 children)

https://www.reuters.com/business/energy/russia-import-gasoline-by-sea-shortage-looms-sources-say-2026-06-17/

Russia to import gasoline by sea as shortage looms, sources say

June 17, 2026 6:08 AM PDT

In a rare move for one of the world's largest exporters of oil and refined products, Russia is expected to receive a cargo of gasoline via one of ​its western ports in June, the sources said.

Russia considered importing ⁠fuel by sea last year, another source said, but ultimately domestic supply was sufficient.

But ​supplies this year have been constrained by months of Ukrainian drone attacks on Russian refineries, ​pipelines and fuel storage facilities as it has sought to curb Moscow’s ability to finance its war effort.

One of them said seaborne ​imports could ⁠also be only a temporary measure and were unlikely to provide significant volumes because of logistical issues and high prices.

According to industry sources, the country exported nearly 5 million metric tons of ​gasoline last year, or about 117,000 barrels per day.

[–] tal@lemmy.today 8 points 11 hours ago (1 children)

https://en.wikipedia.org/wiki/List_of_automobiles_manufactured_in_the_United_States

Also, less of, say, the Ford F-150 is done in the US than are Honda's or Toyota's models, so at some point, the question of what exactly one means by "US auto manufacturer" does arise.

[–] tal@lemmy.today 2 points 12 hours ago* (last edited 12 hours ago) (1 children)

So, are you going to require matching the framerate between the user's camera and the played video? Because if not, there won't be a 1:1 correspondence between the two, and even if they're at the same framerate, additionally you're going to need to identify the start frame.

I didn't poke around too deeply, but if it assigns a frame number to each QR code and encodes it in the code, maybe you can scan each frame of user video and discard duplicates.

If this is going to work reliably, you're going to need many QR reads to work without failure or it'll fail. Like, aggregate failure rate is going to be higher than failure rate for a single QR code. I think that I'd again probably look into some kind of FEC


I don't know if PAR2 can generate chunks small enough to be individually stored for a QR code, but if it can, maybe use one of those chunks for each QR code instead of the output of split. That way, you only need N% of the QR frames to be successfully read.

searches

Hmm. Setting aside minimum chunk size, PAR2 may not support enough chunks for your use case


only 32k. I don't know how large the files are that you're trying to encode.

[–] tal@lemmy.today 3 points 14 hours ago* (last edited 13 hours ago) (5 children)

The project is supposed to convert files to QR code videos and back.

I don't really understand what you're trying to do.

I don't think that you're trying to just encode an URL, from a glance.

If you want to encode a video file as a QR code, you're going to face the pretty fundamental limitation of information content.

A QR code can store a maximum of (checks) under 3 KiB. Virtually any video file cannot fit in those space constraints.

I am not a coder. I have been staring at a screen the past two weeks trying to "vibe code" for the first time with unpaid chat bots, for a seemingly simple project. But I still haven't even gotten a single version to the real-world testing stage, keep getting failures on more basic self-tests.

So, chatbots in 2026 are not really a drop-in replacement for a computer programmer. My guess is that while we'll probably get there, it's probably going to require something more elaborate than just an plain old LLM. Like, it's not going to be a minor refinement of what's currently there, but a pretty fundamentally different system (though that system might potentially incorporate an LLM).

EDIT: Ah, it's a series of QR codes. I mean, that's going to be a pretty huge number for any real-world video.

EDIT2: Oh, you want a video of QR codes from a file. I think that a problem that you're gonna hit there is the transport, because your video is gonna be playing at a constant rate and real-time QR code recognition isn't perfectly reliable, and you're probably not going to reliably capture every frame. Maybe someone could make something with FEC so that dropping a certain percentage of frames is viable, like, use PAR2 or something.

Also, assuming that you're trying to make something that runs automatically, the generated code has stuff that will bail out if used other than if run interactively.

EDIT3: Also, it sounds like you want something portable. The script itself may (or may not be) portable, but it is trying to run external tools that are not going to be guaranteed to be present wherever.

EDIT4: I don't know why you'd be running dash on denuvan, as it sounds like its default shell is bash, but if /bin/sh is a symlink to dash on that system, what you could try doing is generating a bash-specific version. It...might work if you just switch the shebang line to bash at the top of the file, but bash in sh compatibility mode is not identical to bash in bash mode.

If you want some sort of generic portability debugging tool, I'd add set -x as the second line of the file. That will enable trace mode. Every line that runs will be printed to stderr. Then run it like so:

$ yourscript.sh 2>debug1.log

That'll output every line being run. Run it on both systems, and you'll get a log on each. Then you can run:

$ diff -u debug1.log debug2.log|less

That'll show you where the behavior starts to differ on the two systems.

But...I'm going to be blunt. I think that you're asking more of current AI chatbots than is reasonable given their current state, and that it's going to wind up being pretty frustrating if you're aiming to do it with zero programming.

[–] tal@lemmy.today 21 points 14 hours ago (3 children)

After months of insisting that the purpose of the war was to get rid of any nuclear capability, demanding “zero enrichment,” Trump is now saying that the country can use nuclear power for electricity.

Nuclear power generation, not nuclear weapons.

[–] tal@lemmy.today 7 points 17 hours ago* (last edited 17 hours ago)

from what little I've seen - canids seem to be pretty common preferences

https://furscience.com/research-findings/fursonas/3-1-species-popularity/

In an online study, we collected information on more than 6,000 distinct fursonas, which were categorized into 852 unique species (which were subsequently organized for ease of presentation.)2 Many of the species listed were unique and, as such, cannot be presented in order to preserve the anonymity of our participants. In the figures that follow, such species are aggregated in the “other” categories for the most relevant group.

First, we present the data for all species. We then proceed with a group-by-group breakdown of popular categories. Within each category, “unspecified” means that the species was simply identified as the category (e.g., within the “wolf” category analysis, “unspecified” refers to people who just put “wolf” rather than any specific breed/type of wolf).

Please note that this category breakdown is not meant to reflect biological taxonomy or cladistics, but is instead meant to be a close approximation of how groups of similar species “clustered” together (e.g., the authors know that a wolverine and a badger are not “rodents,” but included them in with “small furry mammals” for ease of analysis).

Hybrid is #1, at over 14%. Then Wolf, also a bit over 14%. Then Fox, a bit over 10%. Then Dog, at 9%. The only other non-other canid category is "canine", at about half a percent.

So say on the order of half of the fandom at most, if you assume Hybrid and Other are mostly canine. Maybe as low as a third.

[–] tal@lemmy.today 2 points 18 hours ago

The voters of this long-neglected corner of Greater Manchester will on Thursday decide whether Labour’s love-bombing has paid off in the most consequential UK byelection in decades.

While the “Burnham bounce” is real, the result may be decided by another party entirely: the rightwing Restore Britain.

Rupert Lowe’s hardline party, which calls for the death penalty and mass deportations, is predicted to win about 7% of the vote in what would be an astonishing result for an outfit that launched only four months ago. It would also be enough to stand in the way of Reform.

A Guardian analysis shows Restore has bought more Facebook and Instagram advertising on Makerfield than any other party – and more than double the number of Reform.

https://www.express.co.uk/news/politics/2209256/elon-musk-nigel-farage-restore-britain

Now Nigel Farage, the Reform UK leader, has accused the world's richest man, the billionaire Elon Musk, of trying to divide the right in the UK by supporting Mr Lowe.

Restore Britain has fielded a candidate in the knives-edge Makerfield by election, and is standing on a series of policies including mass remigration and increasing the availability of energy.

The tech-tycoon shared a post by Mr Lowe on his social media platform X, on the subject of the by-election, accompanied by the comment: "Restore Britain."

It prompted furious backlash from Mr Farage, who was once supported by Mr Musk before a spat between Mr Lowe - then one of his MPs - led to his ejection from Reform UK.

The SpaceX and social media platform owner then disavowed ReformUK and threw his support behind Mr Lowe's outfit.

Speaking to The Telegraph, Mr Farage said Andy Burnham - the Labour candidate for the seat - would be "delighted".

He said: "Elon Musk has decided he will try to split the Right of British politics as best he can. This is supporting a party that’s one man with a social media account. Quite what he’s trying to achieve, I have no idea."

If Restore does act as a spoiler vote and if Burnham does actually become PM and performs better in the next general election than Starmer would have, then Elon Musk will have arguably managed to, within a few years, tip the US presidential election to the populist right (he provided a massive chunk of Trump's campaign funds) and the UK government away from the populist right. He's quite a busy little beaver.

[–] tal@lemmy.today 12 points 18 hours ago

How odd. To date, Trump had exhibited such forthrightness and transparency.

[–] tal@lemmy.today 9 points 18 hours ago* (last edited 18 hours ago)

The Israeli government’s absence in the negotiations leading up to the MOU has become a perilous hindrance for Prime Minister Benjamin Netanyahu, who faces career-defining elections before the end of October.

Trump's facing elections three days after the end of October. They are probably going to do a lot to determine what the latter half of his term looks like.

[–] tal@lemmy.today 1 points 22 hours ago (1 children)

Weirdly enough, I got a long blocklist of communities in languages I don’t understand, mostly German, those often showed up while I browsed [all].

You can exclude German in your language preferences.

32
Cranberry glass (en.wikipedia.org)
submitted 2 weeks ago* (last edited 2 weeks ago) by tal@lemmy.today to c/wikipedia@lemmy.world
 

Cranberry glass or 'Gold Ruby' glass is a red glass made by adding gold salts or colloidal gold to molten glass.

367
submitted 10 months ago* (last edited 10 months ago) by tal@lemmy.today to c/world@lemmy.world
 

Japan recorded the highest ever temperature of 41.2 degrees Celsius on Wednesday, beating the previous high of 41.1 C marked in 2018 and 2020. Authorities are strongly urging people to take precautions to avoid risks of heatstroke.

The mercury hit the above-human temperature of 41.2 C in the city of Tanba, Hyogo Prefecture, at 14:39, while two cities — Fukuchiyama in Kyoto and Nishiwaki in Hyogo — also recorded extremely high temperatures of 40.6 C and 40 C, respectively.

view more: next ›