News for hackers. Stuff that matters.

micouay

Re:Show HN: I made a sampler to make beats from YouTube videos on Wednesday December 18, 2024 @06:48AM (#42449745)
thank you!
Re:Show HN: I made a sampler to make beats from YouTube videos on Wednesday December 18, 2024 @06:48AM (#42449744)
thank you! YouTube has a player API for controlling embedded videos with JS
Re:Show HN: I made a sampler to make beats from YouTube videos on Wednesday December 18, 2024 @06:47AM (#42449740)
unfortunately it's not. please try it on your computer!
Re:A smarter CD command. Supports all major shells on Thursday February 15, 2024 @06:32PM (#39390805)
I did something similar but based on matching abbreviations:

https://github.com/micouy/kn

For example

    kn pho/eutri
to enter photos/europe_trip. It doesn't track frecency or anything, just matches strings. My algorithm is also used in nushell's cd command.

kn also supports multiple dots:

    kn ..  # enters parent
    kn ... # enters grandparent
etc.
Re:Sex, Age, and Smartphone Addiction Across 41 Countries on Thursday November 09, 2023 @10:27AM (#38206191)
you gotta agree the age addiction is the worst by far
Re:Ask HN: Tools you have built for yourself? on Monday January 23, 2023 @02:56PM (#34494063)
https://github.com/micouy/kn - Like `cd` but with abbreviations. Or like `z` but based on string similarity, not on location history.
Re:Ask HN: What are your “scratch own itch” projects? on Sunday November 13, 2022 @08:31AM (#33582865)
https://github.com/micouy/kn - `cd` alternative like `z` but based on comparing abbreviations against paths with https://crates.io/crates/powierza-coefficient, not on frecency. I've completely replaced `cd` for over a year. A while ago nushell reimplemented this functionality using my Powierża coefficient.
Re:“You meant to install ripgrep” on Monday October 17, 2022 @11:53AM (#33235317)
`rg` has only one version, and one line of code:

    println!("You meant to install ripgrep: type `cargo uninstall rg` followed by `cargo install ripgrep`");
Re:Ask HN: Can I see your scripts? on Monday August 15, 2022 @08:01AM (#32468589)
What does "--thor" mean?
Note that it was published in June 2021.
Re:The Wason Selection Task on Thursday February 10, 2022 @06:51PM (#30294620)
This supposedly proves that humans are much better tracking social contracts than arbitrary, abstract ones. But I feel like it's actually the wording that makes the puzzle hard. We don't think:

> If somebody is drinking beer, they are 21+.

We think:

> To drink beer, you must be 21+.

And if you formulate the other puzzles in the same way, they are much simpler:

> If a card has a circle on one side, it must have the yellow color on the other side.

Is this your impression too? (Actually, after writing this comment I realised I hadn't checked the red card... But I also hadn't checked the 17 yo lol.)

thorough explanations of FP concepts like algebraic effects, linear programming, dependent types
Re:Understanding Shannon's Entropy metric for Information [pdf] on Thursday October 07, 2021 @04:15PM (#28791514)
It's not mine, I just found it very intuitive and decided to share here.
very thought provoking

Older »