@mykhaylo@fosstodon.org avatar

mykhaylo

@mykhaylo@fosstodon.org

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

Long form: https://keepthinking.blog

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

olav, to random
@olav@emacs.ch avatar

if only

mykhaylo,
@mykhaylo@fosstodon.org avatar

@olav sure. Clojure.

mykhaylo,
@mykhaylo@fosstodon.org avatar

@holgerschurig @olav i like the ? In predicate functions, like odd? :)

samwho, to random
@samwho@hachyderm.io avatar
mykhaylo,
@mykhaylo@fosstodon.org avatar

@samwho this is very well made!

ezpy, to random
@ezpy@fosstodon.org avatar

git blame should be renamed to something that sounds less accusatory maybe?

mykhaylo,
@mykhaylo@fosstodon.org avatar

@ezpy git achievement

brejoc, to random
@brejoc@fosstodon.org avatar

It's nice that Scarlett Johansson can hire a legal team for that. Meanwhile the rest of us just has to live with all of the things they've created being used to train those AIs without seeing a cent.

https://fosstodon.org/@osnews@mstdn.social/112479678873043170

mykhaylo,
@mykhaylo@fosstodon.org avatar

@brejoc so she’s creating precedent for all of us?

digitalstefan, to random
@digitalstefan@fosstodon.org avatar

Now that my unRAID server has 64GB, I could set up a couple of VMs.

Already got an Ubuntu desktop VM purely so I can run an instance of the server for my accounting software, but that's hardly exciting.

What to do

mykhaylo,
@mykhaylo@fosstodon.org avatar
extenebris, to emacs

Trying out Gnus is a humbling experience that also provides a perspective on why people might not want to deal with Emacs, preferring alternative editors: it is not immediately obvious that overcoming a steep learning curve would bring benefits compared to an easier solution (like using a different news client). I just want to read my RSS feed, presented in a concise, elegant fashion, I don't want to battle with an UI that might've made sense back in the modem era

mykhaylo,
@mykhaylo@fosstodon.org avatar

@extenebris elfeed is zero effort

hajovonta, to emacs
@hajovonta@mastodon.online avatar

I'm trying to create an user interface where the user should be able to edit a list, including the adding, removing and ordering of items.

Unfortunately, with the ordering requirement, I'm a bit stuck - how is it usually solved in Emacs?

mykhaylo,
@mykhaylo@fosstodon.org avatar

@hajovonta @screwtape you can add commands to add/remove/move up/move down

mykhaylo,
@mykhaylo@fosstodon.org avatar

@hajovonta @screwtape there’s a very advanced interface here: https://kubernetes-el.github.io/kubernetes-el/

mykhaylo,
@mykhaylo@fosstodon.org avatar

@hajovonta @screwtape in terms of reordering, always think about searching/filtering first. It’s more natural in Emacs.

mykhaylo,
@mykhaylo@fosstodon.org avatar

@hajovonta @screwtape also check out prior work to be within the same paradigms: https://www.emacswiki.org/emacs/DiredSorting

mykhaylo,
@mykhaylo@fosstodon.org avatar

@hajovonta @screwtape I understood that. But order is not that important when you have search+filter. Anyway, you just need to implement commands and let user run them easily.

mykhaylo,
@mykhaylo@fosstodon.org avatar

@hajovonta @screwtape ah, ok. If you want this to be totally zero-elisp, you can use the customize interface and set some columns variable there.

mykhaylo,
@mykhaylo@fosstodon.org avatar

@hajovonta @screwtape you can also make a myapp-reorder-columns command, which opens a separate interface for that.

mykhaylo,
@mykhaylo@fosstodon.org avatar

@hajovonta @screwtape or select a column, and there have moved-right, move-left and hide-column commands.

mykhaylo,
@mykhaylo@fosstodon.org avatar

@hajovonta @screwtape that’s easy, just use completing-read

nikitonsky, to random
@nikitonsky@mastodon.online avatar

New blogpost: Going to the cinema is a data visualization problem

https://tonsky.me/blog/allekinos/

mykhaylo,
@mykhaylo@fosstodon.org avatar

@nikitonsky that's exactly what heroku used to feel like

worldsendless, to emacs
@worldsendless@qoto.org avatar

One of the issues with the #REPL (and #emacs which is just a great big text-oriented repl) is that it is additive in nature; it usually takes major effort or a restart to REMOVE things once they've been added (thinking on plugins which modify app state). #Clojure

mykhaylo,
@mykhaylo@fosstodon.org avatar

@worldsendless something like this will work: https://github.com/tonsky/clj-reload

ctietze, to Notmuch
@ctietze@mastodon.social avatar

Any users on the frontend?

I sometimes notice that Emacs freezes up when I press a key like d to delete (adding the tag:trashing) for a couple of seconds. It's hard to track down, but I believe that I run into a conflict with a cron job updating the notmuch database, and Emacs waits for the notmuch tag change command to finish, which waits for the cron job to finish.

Does that sound likely? How do y'all debug and improve this?

mykhaylo,
@mykhaylo@fosstodon.org avatar

@ctietze M-x profiler-start RET, choose mem+cpu. Do the thing that freezes. Then M-x profiler-report RET

kickingvegas, to emacs
@kickingvegas@sfba.social avatar

Okay here's another Transient I've made a while back, in this case for Avy. A bit esoteric, but this has enabled me to get a lot more out of Avy than just using avy-goto-word-1 or avy-goto-char-timer. Wondering out loud if I should publish this on MELPA.

Also yes, I've read Karthik's post on using Avy wrong. I readily admit I'm not sophisticated enough to put filter-select-act into practice.

mykhaylo,
@mykhaylo@fosstodon.org avatar

@kickingvegas frankly I don’t think that putting transients on MELPA is a good idea. It’s not really a library, rather a use case of a library.

mykhaylo,
@mykhaylo@fosstodon.org avatar

@hajovonta @kickingvegas sure they are a great idea. I just don’t think they should be on MELPA, but admins will figure it out.

smiergahttu, to random
@smiergahttu@fosstodon.org avatar

Which is the best comprehensible way of representing land use in different models, knowing that the most optimistic (dark grey, "Bekels 2") is around 9% of the patch and least-optimistic (light gray, "Piggott") is ca. 40%?

I like the simplicity of the v.1 pie chart, but I don't know if the adding pieces is as obvious to the reader as to me. And I want to use this kind of representations throughout the thesis, so I want to choose good one.

version 2. a donut chart representing the same data as version 1 (with different pattern for not used land).
version 3. a donut chart representing the same data as version 1. the first model is multiplied to avoid the apparent differences between most- and least-optimistic models. light green area represents land not used.

mykhaylo,
@mykhaylo@fosstodon.org avatar

@smiergahttu pie charts are never a good idea. Try bar chart instead.

jhx, to random
@jhx@fosstodon.org avatar

Rant:

I love retro games, especially SNES/NES/N64 and GB games.
Modern games, except for some titles, do not fascinate me at all anymore.
This lead to being able to run machines that are in the "older" realm. Not having a dedicated graphics card can be a blessing for sure. Energy costs drastically go down and one can run quiet systems.
Besides, playing retro games is not taxing at all to the system - any system will do fine.
I miss the great stories older games told... nostalgia hits again.

mykhaylo,
@mykhaylo@fosstodon.org avatar

@gpunktschmitz @jhx that was a nervous game

jgomo3, to emacs
@jgomo3@mastodon.social avatar

What other reason do you need to use ?

could be the just enough reason. It is too powerful.

Don't edit text, that is too 21 century. Edit Abstract Syntax Trees 😘

https://www.youtube.com/watch?v=D6h5dFyyUX0&lc=UgxpTA3yt-xea2L3XFl4AaABAg.A2nIxXNhy9pA3GBwFeBS6_

mykhaylo,
@mykhaylo@fosstodon.org avatar

@jgomo3 try lispy and puni too

greenorchids, to random
@greenorchids@mastodon.social avatar

Holy sh*t, Europeans are right. Americans are too loud and incredibly entitled. On a tour of Norway and I’m so ready to escape my fellow countrymen…

This morning we caught a group of them actually putting their hands to their face so they could peer into a private home. When did we go batsh*t crazy? Were we all raised in a barn?

mykhaylo,
@mykhaylo@fosstodon.org avatar

@greenorchids there’s no such thing as Europeans. And even though it’s true that American tourists are quite loud, with all due respect you wouldn’t even notice them when the Spanish are around 😂

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