@mykhaylo@fosstodon.org avatar

mykhaylo

@mykhaylo@fosstodon.org

Reader and sometimes writer. Ukrainian. Also a programmer, among other things.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

chrisg, to random
@chrisg@fosstodon.org avatar

As a DBMS implementor, I have always assumed that a DB transaction should not be bound to a server side construct (a thread or a client connection, but instead should be an identifier that is transparent and transferrable between clients (subject to auth, of course).

So client thread A can start a tx, get a txId, that can be moved to client thread B which can use it to continue the tx.

Is that something useful for users of DBMSs? It's not hard to do, and I don't see many systems doing it.

mykhaylo,
@mykhaylo@fosstodon.org avatar

@chrisg reified transactions in Datomic are amazing. Don’t know about transferring them though.

mykhaylo,
@mykhaylo@fosstodon.org avatar

@chrisg i think the most important part is for the database to be immutable. Datomic shows that it’s absolutely invaluable, when the database doesn’t forget things it knew in the past. Here’s a great talk:

https://youtu.be/Pz_NvY1kw6I?si=wdplkpeBAyMmZn9J

mykhaylo,
@mykhaylo@fosstodon.org avatar

@chrisg any design of new dbms should focus on the fact that memory and cpu are now cheap, a commodity basically and let go of practices invented in the times when they were scarce and expensive.

matricardo, to random

When gazillionaire jerry seinfeld says you cant do comedy now because of cancel culture, he doesnt mean that all opinions are less acceptable nowdays. He means that HIS opinions are less acceptable nowdays. Because his opinions are trash.

mykhaylo,
@mykhaylo@fosstodon.org avatar

@matricardo it is true that you can get canceled for a joke though.

e11bits, to rust
@e11bits@fosstodon.org avatar

Want to change a file with structured data from json, yaml or toml to any of those formats? E.g. a config file from toml to yaml?

I think one of the easiest way to do this is using the tool convfmt.

If you have installed, installing convfmt is just as quick as:

cargo install convfmt

After that the transformation from toml to yaml is just this:

convfmt -f toml -t yaml < hugo.toml > hugo.yaml

Helps if you start from an example project with an hugo.toml config.

mykhaylo,
@mykhaylo@fosstodon.org avatar

@e11bits no rust required between json, yaml and edn:

https://github.com/borkdude/jet

mykhaylo, to telegram
@mykhaylo@fosstodon.org avatar

So, today blocked all Ukrainian bots that were used to gather information about the movement of russian forces and also the sightings of drones. All of that because seemingly they breach the terms.

At the same time all the similar russian bots keep working as usual.

I'm afraid it's official — telegram is under . See the post where Durov announced this few days ago.

The world needs something as good as telegram, but independent, like mastodon.

mykhaylo, (edited )
@mykhaylo@fosstodon.org avatar

Unexpectedly, today Telegram unblocked officially Ukrainian bots. It might have been a result of pressure through diplomatic channels, but I’m glad they did.

Update: thinking about it a little more, it’s not that unexpected. This already happened when Durov wanted to ban Ukrainian news channels at the start of the war, but changed his mind from the public backlash.

Durov is a Kremlin asset for sure, but not 100% controllable.

marcioaleks, to random
@marcioaleks@fosstodon.org avatar

Born yesterday in 1971, Samuel Morse was an American inventor and painter, best known for his invention of the single-wire telegraph system and the co-development of Morse code.

His major contribution, the Morse telegraph, was the first device to effectively exploit electromagnetism for long-distance communication. It revolutionized the way people communicated over long distances by allowing almost instantaneous transmission of messages across continents and oceans.

mykhaylo,
@mykhaylo@fosstodon.org avatar

@marcioaleks so he invented telegraph about the same time MTV got really popular?

randahl, to random
@randahl@mastodon.social avatar

It is on baby! 🇺🇸

The US just announced a new USD 6 billion aid package to Ukraine inluding

— Patriot missiles
— Equipment for integration of Western air defense
— Anti drone equipment
— Munitions for laser-guided rocket systems
— Radars
— Counter-artillery radars
— Additional ammunition for HIMARS
— 155mm and 152mm artillery rounds
— Precision aerial munitions
— Switchblade and Puma drones
— Tactical vehicles
— Demolition munitions
— Components for drone production
— Small arms and ammunition

Jimmy Fallon Yes GIF by The Tonight Show Starring Jimmy Fallon

mykhaylo,
@mykhaylo@fosstodon.org avatar

@randahl @Dodo_sipping also they only publish it when it arrived already :)

mykhaylo,
@mykhaylo@fosstodon.org avatar

@Dodo_sipping @randahl it’s a way to create strategic uncertainty. If russians know we are getting long range missles it affects the effectiveness of their air defense as they need to spread it thinner.

al3x, to emacs
@al3x@hachyderm.io avatar

In other news, Newsticker seems to forget the status of some of the feeds between restarts.

It might not be its issue. I haven't seen this with RSS reader apps though.

After two days of excitement, I'm entering the trough of disappointment with RSS in .

mykhaylo,
@mykhaylo@fosstodon.org avatar

@al3x are you using elfeed?

mykhaylo, to emacs
@mykhaylo@fosstodon.org avatar

This is new version of the previous package. Context specific transient menus. This must be super-convenient.

https://github.com/licht1stein/context-transient.el

mykhaylo,
@mykhaylo@fosstodon.org avatar
mykhaylo, to Portugal
@mykhaylo@fosstodon.org avatar

50 years ago #portugal had an anti-fascist #revolution. That started a complex and turbulent period. This #interview will be about it. Hopefully we will finish editing on time to release it today.

#25abril

https://www.youtube.com/shorts/xp4JCz68_8Q

janrosenow, to random
@janrosenow@mastodon.energy avatar

7 countries now generate nearly all of their electricity from renewable energy sources. A further 40 countries generate >50% of the electricity they consume from renewables – including 11 European countries.

Data from Mark Jacobson at Stanford University.

mykhaylo,
@mykhaylo@fosstodon.org avatar

@janrosenow great news, awful infographics. Who can easily distinguish 4 shades of green on a map?

mykhaylo,
@mykhaylo@fosstodon.org avatar

@leKnecht @janrosenow so how many percent does new zealand have? :)

mykhaylo,
@mykhaylo@fosstodon.org avatar
mykhaylo, (edited ) to emacs
@mykhaylo@fosstodon.org avatar

Made an library to easily define git repo specific menus:

https://github.com/licht1stein/context-transient.el

I use it a lot for projects

mykhaylo,
@mykhaylo@fosstodon.org avatar

@dziban transient is awesome, this is just a minor convenience. But thank you :)

mykhaylo,
@mykhaylo@fosstodon.org avatar

@dziban check out the new package. Now this is awesome :)

janrosenow, to random
@janrosenow@mastodon.energy avatar

Reading some of the media coverage you get the impression that EV sales are down.

See the pattern?

Source IEA https://www.iea.org/reports/global-ev-outlook-2024/trends-in-electric-cars

mykhaylo,
@mykhaylo@fosstodon.org avatar

@janrosenow never trust anybody who does a stacked bar chart.

birv2, to emacs
@birv2@pkm.social avatar

Update on moving .md file into .org on for . Several suggested pandoc, but for some reason I couldn't get that going. Googled how to install, etc., but no joy. So I opened my big old .md file in a buffer, selected All, copied it, and pasted into my big everything in one file org file in the section where I wanted it.

That part worked, but then had to clean up headings. Did it all manually and took about 30 minutes. Oh well. At least now I've got my daily note in orgmode.

mykhaylo,
@mykhaylo@fosstodon.org avatar

@birv2 shit, it’s a shame I didn’t see it earlier. The way was to copy it into org like you did, and the run a bunch of replace-regexp commands or to use keyboard macros for complex cases.

alanz, to random
@alanz@social.coop avatar

Unpopular opinion: I really dislike the UI style of the magit pane, which is taking over for everything. It gives no feedback on location, the evil bindings don't work well, and it uses a different paradigm from the rest of emacs.

mykhaylo,
@mykhaylo@fosstodon.org avatar
alfvaen, to random

Wtf of the day so far: I finished reading a book, went to open the Goodreads app on my Kindle Fire. And all I get is a screen that says "We no longer support the Goodreads app on Fire tablet." and tells me to go to the website.

So...like...Amazon's own tablet is no longer using the app that they bought? But the website still exists, and my (old) iOS version still works...why just their very own platform? The Google Play store just says that the app is not available for this device.

Kind of pissed off because I liked having it on a portable tablet-sized device. But mostly bewildered because it makes no sense.

(And Bookwyrm has no Android app or I'd switch to that...)

mykhaylo,
@mykhaylo@fosstodon.org avatar

@alfvaen since you’re posting this on mastodon: https://bookwyrm.social/

mykhaylo,
@mykhaylo@fosstodon.org avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • khanakhh
  • mdbf
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • thenastyranch
  • Youngstown
  • InstantRegret
  • slotface
  • osvaldo12
  • kavyap
  • DreamBathrooms
  • JUstTest
  • Durango
  • everett
  • cisconetworking
  • normalnudes
  • tester
  • ngwrru68w68
  • cubers
  • modclub
  • tacticalgear
  • provamag3
  • Leos
  • anitta
  • lostlight
  • All magazines