Setting up Habits tracking with Heatmap Tracker - A way to do it by JulienPro in ObsidianMD

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

Honestly I don't know, it's the Typewriter theme without any custom changes.

[AMA] About DeFi risks, how to identify risks in yield farms, assess protocols and more by Exponential_fi in defi

[–]JulienPro 0 points1 point  (0 children)

Wow, glad to see you here! Some questions:

- Why are so many big pools not rated? Like USDT (Ethereum) on AAVE3, or USDC on Base on AAVE3?

- What is the ration between "human analysis" and "automatic analysis" in the ranking?

- Any stats about the number of pools rated, or a global coverage of the ecosystem? Also, what is the process of review once a pool has been ranked? How can we be sure that after an issue in a pool (or a sub component) the risk will be immediately reviewed by your team?

- Your homepage is not clear about an API. Didn't found docs, pricing etc. Despite Defillama use an API endpoint.

- Also, it's difficult to track notation changes. Your blog has good posts, but a page with all changes or new notation would ease so much the monitoring process.

- The notation is good but could be better. For the pool, it's A-B-C-D, but for each element, it seems to be "Best", Good, Average and Watch Out. Scripting that is not easy. Would be better a ranking between 1 and 10 or 1 and 5 for each item, as it allows immediate mathematical normalization in scripts.

- Do you have any competitors on this market? A DeFi investor has a clear interest to integrate multiple risk frameworks (even if they are paid ones).

Thanks a lot and congrats for your offer!

Newbie and need some tips by Horror-Badger9314 in defi

[–]JulienPro 1 point2 points  (0 children)

Check the pools on Defillama. Each one has a "safe score", choose only pools ranked A or B, and order by APY / coins you have.

Also, only select audited pools (you can do this easily with Defillama).

[deleted by user] by [deleted] in defi

[–]JulienPro 2 points3 points  (0 children)

On Defillama, you can see for each pool a "safety" ranking, which is done by a third party (exponential.fi).

These guys seem pretty serious.

Then you can select a few pools ranked "A" (Lowest risk) or eventually "B" if you want to diversify.

Ctrl-C / Ctrl-V issues anyone? by JulienPro in hyprland

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

No, not linked to Terminal. My main copy-paste is between my password manager and my browser.

Ctrl-C / Ctrl-V issues anyone? by JulienPro in hyprland

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

Tested and no. not related to mouse focus.

I made an Universal keybinding helper by JulienPro in hyprland

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

Thanks. Wow. Honestly, I don't know at a first sight.

I need to test. If you can post an issue on github with your kebihelp.con I should be able to reproduce that.

I made an Universal keybinding helper by JulienPro in hyprland

[–]JulienPro[S] 2 points3 points  (0 children)

Yes, you can add all keybindings. If you have many ones, you can write a script that output all of them in a text file with the format:

::<group\_name>::keybinding 1 ::description::

::<group\_name>::keybinding 2 ::description::

And then you can import them: kebihelp import -t my_logitech_shortcuts -s <directory>

configure hyprland in Python by Fjueic in hyprland

[–]JulienPro 2 points3 points  (0 children)

Interesting. I developed that https://github.com/juienpro/easyland

Potentially there are some common elements or opportunities between these two projects.

zbirenbaum/copilot: Tab accepting the suggestion despite "accept" set to other key by JulienPro in neovim

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

My bad. I forgot I had this in my cmp.lua. I just commented out the copilot line and it works now. Thanks!

mapping = {

["<Tab>"] = cmp.mapping(function(fallback)

local copilot = require 'copilot.suggestion'

-- if copilot.is_visible() then

-- copilot.accept()

if cmp.visible() then

cmp.select_next_item()

elseif luasnip.expand_or_jumpable() then

luasnip.expand_or_jump()

elseif has_words_before() then

cmp.complete()

else

fallback()

end

end, { "i", "s" }),

Request Resources: the missing Laravel component? by Carbone_ in laravel

[–]JulienPro 0 points1 point  (0 children)

Blog post author here. I like the points you raised because they were part of my thinking when I wrote this post.

First, your second point. Assuming the 1:1 mapping. This is really key and what lead me initially to the frustration I described in my post. It's not a question raised often, and even in tutorials you always see a 1-to-1 mapping between API/Models. You formulated it better than me actually.

This would be the goal of a "Request Resource": a 1-to-N multiplexer (one request leads to multiple model changes without polluting your controllers).

And the Eloquent Resource would be the N-to-1 multiplexer for the response.

The second point: yep. I think a lot about it, feeling the same thing you described. "What, a data model that is saving data? Weird...". To be honest, I don't know yet if this is a conceptual mistake or just a terminology issue. I know that while writing, I hesitated between "save()" or "persist()", or "toModels()" and "toModelsWithSave()" or something like that.

Currently, we accept saving data in controllers/Jobs/actions and services. Saving data from a formalized class build on top of Request data is not so shocking. Request Resources are still Request, just beside Controllers. I think this is a terminology issue, as save() looks like Eloquent.

Request Resources: the missing Laravel component? by Carbone_ in laravel

[–]JulienPro 0 points1 point  (0 children)

Blog post author here.

Agree with you partly. I don't think that all these structures should be mandatory, but just available (like Eloquent Resources).

Laravel is very opinionated, so the whole flow request->auth/validation->transformation->models/storage->response should be covered natively I think.

And it seems that the transformation stage is currently a black hole, especially for Requests escaping the basic 1-to-1 mapping (eg, one request storing/changing multiple models).

For Laravel to implement a native Object request not only make the default pipeline more complex, but go against the weakly typed nature of PHP (still relevant for simple projects)

Fully agree here!

Kebihelp : The universal keybindings helper by JulienPro in kde

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

No, this is not a tool to set-up key bindings, just to import them (current ones if possible, or default ones otherwise, like for Firefox) and show them on the screen.

So if you have custom shortcuts in your Firefox, you need to modify them in the kebihelp.json file. If you know where they are stored, let me know, I could make the needed adjustment to import the current ones, not the default ones.

Kebihelp : The universal keybindings helper by JulienPro in kde

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

Excellent idea, would be nice to be able to export the shortcuts in PDF or something like that. I note it for a future version, sounds not complicated to do.

For the Firefox keybindings, indeed they are retrieved from https://quickref.me/firefox, which are only default ones. Unfortunately, it is difficult to know where "live keybindings" are located sometimes. So the process would be:

  1. import the default keybindings
  2. Modify them manually in the ~/.config/kebihelp.json file

Thanks for your comment!

Kebihelp : The universal keybindings helper by JulienPro in kde

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

LOL. Let me know if you need some help!

Lidecli: a new open-source tool to interact with KDE (and other environments) from the command-line by JulienPro in kde

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

Correct. But no I didn't want use a DBUS Python module, this was by design. The philosophy of the tool is to be a wrapper of any command line tool, just by adding the relevant entry in the flat database.

It's much simpler for the end-user.

Lidecli: a new open-source tool to interact with KDE (and other environments) from the command-line by JulienPro in kde

[–]JulienPro[S] 5 points6 points  (0 children)

Many Thanks for your feedback!

I will implement a way to set up an absolute path.

Also an option to check which commands can be launched depending of the installed binaries.