Email or username:

Password:

Forgot your password?
215 posts total
Nikita

In the past, I’ve really wanted to try out other search engines: Mojeek, Kagi, Ecosia; but there was one thing that made me stay with DuckDuckGo — the Bangs. Well, not any more!

Introducing #interro: codeberg.org/kytta/interro

interro is a shim for your search engine that enables DDG Bangs, but better! Instead of routing your requests via DDG, it loads all Bangs into memory and handles redirects locally. You can use any search engine as fallback.

Nikita

Another useful feature: Custom bangs! You can create bangs for any website you want.

I’ve deployed a test instance, so you can try and see how it works: interro.deno.dev/. On this one, the fallback search is Mojeek, and there is a special bang `!ky` that will search the contents of my website.

The page is very much WIP; interro was built to be used from the browser’s search bar 😅

Ian Wagner 🦀 :freebsd: :osm:

@kytta ha; nice! I also love the bangs. Fortunately Brave copied most of them.

Jon

@kytta Bangs also work in SearXNG as well. But good to know another search engine. We need more alternatives.

Nikita

No. that's a paywall. If I can't see content without giving you something (in this case, personal data,) then it is a paywall.

Show previous comments
Faux nom de plume

@exador23
There is the odd exception where this is done to stop scrapers... but... closes tab anyway.

Bowreality

@exador23 Still a paywall my friends. Payment doesn’t have to be money. I would close the tab.

Nimble Lexicon Pioneer

@exador23

We used to have common passwords for such sites

Nikita

I get sad when I find a cool tech person online and find out they don't use Mastodon

Show previous comments
WhiteCatTamer

@ambrwlsn But that’s your chance to invite them to the clubhouse!

Jon_Alper

@ambrwlsn @lisamelton Then are they *really* a cool tech person? (Unless they’re SO cool they use no social media at all… but uncool people being allowed to make the social rules has cruelly made that untenable.)

Sasha Chudesnov

@ambrwlsn Most cool tech people I know use Mastodon. I myself, however, am not that much of a cool tech person, and neither are most of my friends online, so we're stuck to be using Xitter

Nikita

The voyager stuff is cool, but where are the hard debugging details. How did they isolate the problem to that specific chip?

They're moving the logic somewhere else, cool. Is it replacing/diminishing other functionality? Was voyager created/born with the ability to hotfix software or was that hacked on.

Don't leave me hanging! Turn this into a Netflix drama

Nikita

Haha! Apparently, some people celebrate a new "web day" — JS Naked Day.

It's 4/24 and this is heck smart. 😂 👇

js-naked-day.org

Andreas Steinkellner

@stefan I think it's an awesome idea that urges people to think about creating awesome pages without heavily relying on JavaScript.

If it's not an actual web app, JavaScript should only ever be progressive enhancement for an existing page.

Nikita

My fellow devs, I need your opinion:

Say, you have a software project. To do some operations more quickly, you write helper scripts. Think `build.sh`, `download_dependencies.py`, whatever. You may use them yourself or in CI.

What is your directory name of choice for these scripts?

See next post for clarification.

#BoostsWelcome #FediPoll

Anonymous poll

Poll

./scripts
13
72.2%
./script
1
5.6%
./build
1
5.6%
something else (plz reply)
3
16.7%
18 people voted.
Voting ended 15 April at 9:59.
Show previous comments
Григорий Клюшников

I would put them into the root directory. For additional things that one would run manually, e.g. code generation or validation, I use ./tools.

./build in my mind is where intermediate build artifacts go because that's what Android Studio does.

­

@kytta I prefer putting this kind of stuff in a Makefile 🤷‍♂️
These actions are often interconnected, e.g. package requires build, build requires fetch_deps, etc. Makefile makes it trivial to manage and good for discoverability.

But if not, then I'd go with ./bin probably.

Frank Wiles

@kytta I use “just” instead to build them. Sort of like Makefiles but better.

Nikita

Coming back to a #JavaScript project after 1–2 months of not working on it. `pnpm up` reports ~150 updated dependencies out of 875. And those are just minor/patch updates.

I feel like JS developers get punished if they don’t release daily 🙄

Nikita

“+1101 -841”, it’s only been six weeks 😩

Nikita

A lifehack for @AntennaPod users!

1. Go to the app settings for AntennaPod
2. Go to “Open by default”
3. Make sure opening supported links is enabled and all links are selected

Now you can open Apple and Google #Podcast URLs in AntennaPod, which saves some steps when you want to add a new podcast :blobcatheadphones:

MereCivilian :mastodon:

@kytta @AntennaPod Thank you Nikita 🙏

I can confirm, this also works with Pocket Casts on Android

Nikita

I haven’t talked about the whole #Redis situation when it happened, but I really have to get my thoughts out on this. Better late than never, I guess.

kytta.dev/blog/redis-were-righ

Stick to the end of the post for a special announcement from my side.

Nikita

A few weeks ago, I’ve written a small essay about modern #Python tools (like #Ruff and #uv) and things I dislike about them. I wanted to first redesign my website before posting it, but nah, that would take too long of a time 😂

kytta.dev/blog/why-i-dislike-r

Nikita

You know the spring has come when you finally see grey geese hanging out at parks with cherry blossoms all around them 🪿🌸

Nikita

I love listening to #podcasts, but it's not my number 1 source of entertainment. As such, I only get to listen to them when I can't watch videos or write code, which is usually my job commute. When I started working full-time, I finally got the opportunity to process my listening queue.

Well, 2024 hasn't been that productive, so far. I started working remotely, then I went on a holiday, and then I got sick, so I'm back to 100 episodes, 3+ days of listening 🙃

Show previous comments
Nikita

In a perfect world, this would be my to-do list:

- finish the 10+ open-source side projects I'm actively thinking about
- watch 185 YouTube videos
- listen to 100 podcast episodes
- read 274 blog posts

My days don't have enough hours in them :blobcatdizzy:

Simon Walters

@kytta I feel I'd enjoy getting into listening to podcasts but I've never put the effort in to find how to do it!

CactiChameleon9 (Daniel)

@kytta 94.6 hours for me so far this year... We share this minor addiction 😅

Nikita

Unpopular opinion: The new Google login form looks beautiful and it's the best-looking piece of UI design from Google of the last four years.

... yeah the bar is very low 😂

Yusuf Bouzekri

@kytta I don't get why they're promoting a login page redesign as if it's breaking news though

Nikita

The #JavaScript ecosystem is number 1 when it comes to volatility and fragility. Try building a project made in 2014, and you’ll know what I mean: Gulp doesn’t work, libsass doesn’t compile, etc.

Well, today, it was dethroned by #Android (or, should I say, #Gradle). I have spent *hours* to revive a project from 2018 to just bump the targetSdk version. 90% of the time was spent with Gradle not working, even when presented with the same JARs as years ago!

Nikita

Having said that, #C is probably my favourite language/ecosystem combo. Yes, there is no simple `npm install`, and build systems can be cumbersome, but I love how a complete ecosystem bootstrapping is basically `brew install gcc make cmake autoconf`, compiling is fast, and subsequent builds even faster. And you can compile most code from 30 years ago without much hassle.

Григорий Клюшников

Советую не использовать gradle wrapper, это вот прям зло в чистом виде. И вообще ничего кроме самих пакетов SDK не обновлять без необходимости.

Nikita

A question to my fellow #Web developers and designers: How do you handle checkboxes and labels with #RTL? It’s clear to me that their position should be flipped (see image by @shadeed9), but what are your preferred ways of achieving this (with static HTML)? Is `flex-direction: row` a valid approach, or are there other ways I’m missing?

Michael

@kytta depends on how you implement it:
This particular one could just be an inline checkbox, which wouldn’t need any thinking about to put it to the right.

But otherwise flex-direction row together with semantic margins/paddings (padding/margin-inline-start/end) would usually do the trick for me.

@shadeed9

iliazeus

@kytta inputs and labels are both inline elements, so a browser already has rules for choosing between RTL and LTR. You can just use dir="auto" in HTML, and let the browser figure it out. Or set it explicitly with dir="ltr" and dir="rtl".

jsfiddle.net/04hn1cjw/7/

Nikita

Main takeaways from #FOSDEM:

- the rooms need to be bigger, since I couldn't visit all the talks I wanted to
- the conference should be longer, since I couldn't visit all the talks I wanted to
- the ones I did visit were incredibly fun, and I learned a lot!
- #JohnMastodon exists

Nikita

What began with an 8-hour-long train journey, ended with a wonderful stay in pretty Maastricht. If you ever find yourself travelling from Germany to Brussels (whatever the reason for this may be :blobcatfingerguns:), consider staying here for a day or two. But please, don't be like me, take an ICE and not regional :blobcatdizzy:

#FOSDEM24 #GoingToFosdem

Go Up