Email or username:

Password:

Forgot your password?
352 posts total
Nikita

New blog post!

I was considering naming it ‘My Static Site Workflow’, but then I decided to make it a separate post later :P

Here, I talk about Zola and my first experience with it as my static site generator of choice!

kytta.dev/blog/one-week-with-z

This is post 004 of #100DaysToOffload.

Nikita

This is one of the funniest things I've seen in a while.

Source: github.com/mTvare6/hello-world (check out the whole repo, it's incredible)

A conversation under a GitHub issue.

Comment 1: ‘can we make the readme.md be rewritten in rust??????’
Comment 2, replying to comment 1: ‘how????????????’
Comment 3, replying to comment 2: ‘README.rst????’
Nikita

I have enabled ‘Block remote fonts’ for every website in uBlock Origin. I have also forbidden to make requests to fonts[dot]googleapis[dot]com and fonts[dot]gstatic[dot]com.

**Pros:**
— every website rocks beautiful Helvetica Neue
— I am not being tracked by Google and others

**Cons:**
— every second website uses icon fonts which don't load any more :(

Screenshot of a PyPI statistics block. It displays GitHub statistics (number of stars, forks, issues, and pull requests) as well as provides links to Libraries.io and Google BigQuery. Instead of icons, missing glyphs are shown, which are represented as rectangles with codepoints written inside.
Nikita

To solve this, use plain SVGs! A good article that showcases using SVGs on the web: svgontheweb.com/

TL;DR: Use `<object>` or inline `<svg>` elements for max customizability. The browser support has got very good in the meantime.

Another tip: Use iconify.design/ by @cyberalien. It's a 10 kB script that loads icons from dozens of icon frameworks as inline SVGs inside Web Components. Can be SSR’ed for maximum speed!

Nikita

My blog now has comments! See them in action:

kytta.dev/blog/yes-my-email-ex

I took @joel's code [1] and made it run server-side. Every six hours (or every time I push), the site gets rebuilt and new comments get fetched.

Right now, I just dump every single comment there. Should I filter them in some way? Please vote!

[1]: joelchrono12.xyz/blog/how-to-a

Anonymous poll

Poll

Keep all comments
6
75%
Keep only direct replies
1
12.5%
Keep only self-favourited replies
2
25%
Keep N most favourited replies
0
0%
8 people voted.
Voting ended 2 Mar 2023 at 20:24.
Nikita

Another question: How should I order the comments?

Nikita

There are still websites that don't believe that my email address is real. Let's find a way to fix this.

kytta.dev/blog/yes-my-email-ex

This is post 002 of #100DaysToOffload

Show previous comments
Roni Laukkarinen

@kytta It's even funnier that my email roni@dude.fi causes "Did you mean roni@dude.fr". No, I'm Finnish, not French. Finland is a real country, no matter what they say.

Andrew Ross

@kytta @bazbt3 This reminds me of a friend who couldn't get a package delivered to his address, because he lived on Broadway. The software couldn't believe that it was just “Broadway” and not “Broadway St" or "Broadway Ave”.

smorks

@kytta i have a .tech domain and run into this more often than i'd like too. ugh.

Nikita

Lots of changes since this post!

I styled the page to my liking, and it looks way better than what I’ve started with! :D I have also started to ‘rescue’ my posts I had published on #Medium some time ago: Luckily, they allow setting canonical links, so I hope my posts will show up in the search results with links leading to my blog.

Next on my to-do list: subset the fonts so I don't get disqualified from #512KBClub :blobcatcool:

Nikita

I'm gonna start a f**king blog today

Show previous comments
Dani Sancas :python: :ferris:

@kytta I've started a f**king blog some weeks ago, and now I'm adding it to the f**king 512kb club! 🤘 @kev

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

You're on the internet. You can write that word uncensored here.

Nikita

I was looking for some cool #fonts, wanted to know what font @kev uses and discovered fontshare.com/ — this website is so beautifully made, the fonts are incredible, and they're all free (and a good portion are even open-source) 🔥

Nikita

I am especially pleased to have found Gambarino, a good-looking reiteration of ITC Garamond (known to others by its derivative, Apple Garamond)

fontshare.com/fonts/gambarino

Gotta love the huge x-height 😍

birnim

@kytta ok, I opened the link in browser, waited for the page to fully load, hit the search hotkey and tried to search for "down". 0 results.

What did I do wrong?

Nikita

What's a good data source for how widely used various Linux distros are, similar to StatCounter? It isn't DistroWatch, is it; I mean, it only shows how often a certain distro page is visited

Nikita

Whenever anyone says "Look at #ChatGPT now and imagine what #AI will do in three years", I only smirk. It reminds me of my teenage years, where people said the same things about #Crypto, #VR, and #AR. And yet, I still fail to see this technology become a meaningful, if at all, part of my and others' lifes. Yes, the AI models of today are impressive beyond belief, but the stuff they generate is still too imperfect for me to use them.

Show previous comments
Ghost Letters

@kytta

It is hard to predict what it can do in 3 years. 10 years ago, we were just 2 years away from full self driving cars. Turned out the last bits are quiet hard.

However, grounding an argument in "I do not use it so I doubt it is/will be useful in general" is hard to defend. The question could be "can you imagine use cases where it is useful today?" and how many cases could you make?

Volpit :ac_thought:

@kytta I agree with you in that, the problem is that, even if those thing didn't become part of our lives, they made rich people richer (and maybe even poor people poorer) without them paying anything.

Take crypto for example, millionaires invested in it without paying taxes for a long time (and they are still doing it maybe)

The same goes for AI, with monsters like OpenAI not even giving credit to works they stole to train this tools

Jan-Peter Lambeck

@kytta I‘m teaching statistics and tried to get ChatGPT to create a useful exercise cheet for my students. No chance. It‘s just creates stuff that is mathematically wrong. It can‘t even for once create a correct solution without breaking basic rules. In the end, it might not be wise to train an AI on random information that might or might not be correct. It‘s like the old saying: garbage in, garbage out.

Nikita

Things happening with #Go match Google's reputation of killing very good products for absolutely no reason :( Such a shame

masukomi

@kytta wait. What? Who? Where? What did I miss? Links?

Nikita

I feel like I visit #StackOverflow daily, even on holidays. But I still haven't managed to even get close to this badge! I think 10 days is my maximal streak.

Progress for Stack Overflow silver badge ‘Enthusiast’:  8 out of 30.
Badge description: ‘Visit the site each day for 30 consecutive days. (Days are counted in UTC.)’
Nikita

Why is there always a link from the project site to their forum, but never from the forum to the site? 🙄

Not Evil

@kytta Or site to docs/code but not vice versa

masukomi

@kytta 🤔 i can think of some ways to track that, but I'm wondering how you're doing it, and what you shoved it into that gave you that graph.

Nikita

I've spent hours debugging unreadable #OpenCL #C code that just didn't work right. As it was running on a GPU, debugging is non-existent. Then I gave it to #ChatGPT, and it responded with a fix in, like, 2 seconds.

So, this is now in my Git log :P

ChatGPT prompt.

Q: Come up with a commit description that wittily promotes ChatGPT Pro. The first line (i.e. the commit message) is &quot;This commit is sponsored by OpenAI&quot;, you need to write the rest.

A: This commit is sponsored by OpenAI. Introducing ChatGPT Pro, the AI that&#39;s not just good at committing code, but also good at committing to giving you the best possible answer. Upgrade now and see the difference for yourself!
Nikita

Working on a C++ project.

Expectations: Writing header files, implementing functions, perhaps adding optimizations :cpp_language:

Reality: Spent 4 hours on CMakeLists.txt :blobcatgoogly:

#CPP #CMake

Nikita

On the flip side: I am having a lot of fun with various #Boost libraries. While adding some weight to the end executable, they're such a pleasure to work with!

Maaaanu

@kytta and after all this you just get a segmentation fault

Nikita

For an assignment at the uni, I need to write quite a lot of C++ code using not particularly well documented and complex libraries I've never used before. I thought it was a great opportunity to try out #GitHub #Copilot (pls don't sue me).

Well, the tech is very impressive, but it is both a blessing and a curse. It's basically a very quick learner, who has no idea of syntax and types whatsoever. It can follow patterns, but it can't always write good code from scratch.

Nikita

It does save time on mundane tasks, though. If I set `width` in one line, it will set `height` in the next one. If I call an array "triangle", it does generate three plausible vertices.

But my primary use is the reverse of the normal one. #Copilot is great at writing comments to the existing code. I always struggle with wording in docs, and that's where #GPT models shine.

Having said that, I will not use it for my projects, unless I need an assistance in writing lots of confusing code fast.

Nikita

I hate how my university switched their groupware to #Exchange, which basically means no way for me to use the university-hosted calendars on Android (unless I want to install #Outlook which I, of course, don't).

There seems to be a #CalDAV bridge I could self-host... But I don't have too much time for this :(

Nikita

My filter list for sports has grown 5 entries today, yet I still get news about that one football match between you-know-which British teams I don't care about. I wish more people would CW it :(

schnittchen 🏳️‍🌈🐆

@kytta a general #sports tag for "sports being watched" (otherwise: #excercise I guess) would be helpful

James C :python:

@kytta I’ve managed to not see any updates for the main ice hockey game I care about while scrolling on here today 🙏🏻

I guess that’s one worry I have as this fediverse gets more busy - it gets harder and harder for us inhabitants to see / avoid “news” we want / don’t want.

Go Up