HN user

markussss

154 karma
Posts0
Comments45
View on HN
No posts found.

My system is quite similar to your, my GPU is a 6950 XT and CPU a Ryzen 5 2600x, same amount of RAM, and I feel your pain. It sounds very similar to my experience from a few months ago. When it comes to tool calling, there are multiple possible issues; some models have borked templates bundled with the model file, some models are not trained on tool calling, some agent harnesses doesn't support the tool call output from the model very well, some quantizations ruin the models' abilities to call tools.

My suggestions if you want to further experiment with local models are to use llama.cpp instead of ollama [1], learn a little about the parameters that tune how much VRAM is used [2], look online for jinja template fixes for the model you're testing [3], and choose a model that was designed to do the task you want to achieve, with as high quantization as you can fit. The maximum model size you can run is VRAM + RAM, although you want as little of the model to be in system RAM as possible.

I'm running North Mini Code IQ3_XXS with some tuned parameters to fit my current tasks, and while it is not perfect for everything, it has not failed any tool calls I've asked it to make, or that it figured it should make on its own.

[1] https://sleepingrobots.com/dreams/stop-using-ollama/

[2] https://github.com/ggml-org/llama.cpp/blob/master/tools/serv...

[3] https://gist.github.com/jscott3201/e4b155885cc68c038d6ac8909...

Thanks for the link and tl;dr, even though it's a quite short video (3:16). I found your explanation very interesting because I have intuitively felt like this is accurate, but never knew what the underlying process is. I have been following this for years already, first absorbing information about anything where I need to make a decision, and then just leave it to stew in the back of my mind. And after a while the answer just appears in my mind, without me really understanding where it comes from.

You are right, these quirks are not something you struggle with very often. The only one that has been troublesome at some point during my now 8 years as a professional, mainly Javascript with Vue, web developer is the automatic semicolon insertion example.

The simplest fixes for it is to just insert semicolons yourself, always use const, and not start any lines with [ or (.

I recently switched jobs, and as I've become more comfortable in my new job, I realized that my old job completely sucked the creativity and fun out of programming for me. I did not have any energy for any projects in my spare time while working in my previous job, so the 1,5 months I've been focusing on taking small ideas and running with them.

This weekend I got an idea to create a 2D-pattern from a 1D initial pattern. I put it on https://ige.land/, and I find it very fun and satisfying to play around with. It's not so elegant and pretty, but it's fun for me, and that's all I was looking for! Click any cell to change that color in the pattern. Right click or long press to set the length of the 1D pattern. It's also fun to first create a pattern and then resize the browser window to see how it looks like.

So, what I'm working on is not really an interesting project or product. I'm working on my creativity, playing with code, and in general having more fun with programming. Making it magical for myself again.

I'm not sure if it's 100% in line with the spirit of the thread, but it's what I'm most excited to be working on! :-)

I think that that is supposed to prepare web apps for verification in the browser, in order to not allow them to run or connect to a remote server unless they are confirmed to be not tampered with, and that the main goal of this is to disallow usage of websites and related services unless ads are served. An adblock-blocker in the browser, sold as a security feature that protects against no real threats.

I refuse to believe that rouge browser extensions and userscripts are such a big problem that Meta decides to invest in security against those attack vectors.

I use Ripgrep daily, and it helps me a lot when navigating codebases, and I even use it to search through my notes. A while ago, I made a script that looks for file paths in the output from Ripgrep in order to turn the paths into clickable links, as I couldn't get it to work properly back then. I'm so happy to hear that «the headlining feature in this release is hyperlink support»! I'm really looking forward to using the new update.

I felt that it was on point to point out Microsoft, as it was the main area where I first started using emojis (before they were emojis, even though it was functionally the same). MSN Messenger came with a nice set of default smileys, and it was very simple to create your own smileys and use them in conversations with others. When other people sent a smiley to you, you could just right click it and add it to your own private repertoire of smileys.

Almost the whole of Scandinavia speaks English as a second language, and yet English does not highlight any or the four countries. Most Scandinavian people might agree with this general observation that knowing little to no Nordic language can still get you by very comfortably in that region, although knowing the national language is a plus.

Another thing this website miss out on is that, with goodwill on both parts, Scandinavians can usually communicate with other Scandinavians in different languages. I am Norwegian, and if I meet a Swede, we can just talk with each other. I can't talk Swedish fluently, but I can understand Swedish to such a degree that it's no problem to speak with a Swede who is speaking Swedish.

However, this relationship of understanding languages can be asymmetric, and it's not always as easy for a Swede to understand a Norwegian as it is for a Norwegian to understand a Swede.

Check out this video on asymmetric language understanding from NativLang for more about this! https://www.youtube.com/watch?v=E042GHlUgoQ

git reflog (git usage or git cmdlog)

Oh my god, I just realized this is ref-log (a log of references), and not re-flog (I'm not even sure what "to flog" is). No wonder I've never really understood why it's called that, I simply realized that I can look up older references to everything there by using it. Thank you!

I tried to search for a song I found to be quite cool, Rotoscoping by PTRD. I got two matches, one "Discover Weekly Archive" made by Skiley.net on behalf of NomadicDaggy (you, the creator of this post and service). The second one was a "On Repeat"-playlist! Here, I realized that it's possible to look at other people's "On Repeat"-playlists, even though they are styled by the Spotify app to look like it's your own.

It's kind of weird that I only found this song in your playlists, and not in one of my playlists which also contains this song. For example: https://open.spotify.com/playlist/0IntLgAqI2EysEvqwiivXQ?si=...

Anyway, I'm checking out your "On Repeat" playlist, however it might be better if your personally generated playlists are excluded? I'm not sure.

Really cool service!

I absolutely love this, and I do the same. Small programs and scripts to solve problems I encountered in my daily life. When I make them for my own use, and for myself to enjoy making something, I don't care about whether it's the best solution or the most elegant solution, as long as it's a solution! And I really, really enjoy that. I don't care if it's one or one hundred lines, as long as it's enjoyable!

A few of my examples are:

1. A PyQt GUI for redshift. I use this every day, and have been for a few years.

2. Userstyle for horizontally flipping a video. Sometimes a video or stream is mirrored, for some reason, and it's just nice to be able to fix it.

3. Userstyle for scaling videos that originally had an aspect ratio of 4:3, but have been stretched out into 16:9 back to the original 4:3 aspect ratio. It's surprising how often you come across those.

4. Userscript for improving the functionality of the investment portal of my bank.

5. Bookmarklet for opening all videos on the page in new tabs, but there are some problems with iframes yet.

6. Bookmarklet for setting playback speed of videos on the current page. I use this several times per day.

[1] https://github.com/Markussss/redshift-gui

[2,3,4]: https://github.com/Markussss/userscripts

[5,6]: https://markussss.github.io/

GitLab's diff or Code Review has an extremely annoying feature for people who fidget with text, especially when dragging text.

In addition to highlighting and "painting" the text, I often click and drag the highlighted text around. If some text is dragged onto the code view in Firefox, the dropped text seems to be treated like URLs, and opened either in new tabs or in the current tab.

https://gitlab.com/gitlab-org/gitlab/uploads/666d09080e20ea8...

The "typing" of the results are horrible. It just adds a few seconds where you just sit and wait for the answer to be finished for no apparent reason. Doesn't help that the default is the slow typing speed. I could never recommend this to a colleague to explain or help with git because of how frustrating I find the "typing".

Duolingo S-1 IPO 5 years ago

I've been practicing Russian on Duolingo almost every day since February 2020, and before that I had a few 30 to 100 days streaks over a few years (can't remember 100% for sure). Making you force yourself into learning a new language is what makes Duolingo stand out among all the other tools I've tried.

I think that the tool that is the most efficient in teaching you a new language is the tool that makes you force yourself into learning, at least a little, every day. I'm quite sure that consciously practicing 10 minutes every Monday-Saturday for a year [1] is more efficient compared to practicing two hours every day for one week every three months [2], even though it adds up to approximately the same amount of time spent yearly on learning the target language.

[1]: (10 minutes * (365 days - 52 Sundays)) / 60 minutes per hour ≈ 52 hours and 10 minutes [2]: 2 hours * 7 days * 4 quarters = 56 hours per year

I find it incredibly useful to be able to toggle styles on and off in a simple GUI, especially for these two simple global styles:

    video { /* flip video horizontally */
        transform: scaleX(-1) !important;
    }
or
    /** scale videos that were originally 4:3, but 
        were encoded as 16:9 into proper 4:3 again */
    video {
        transform: scaleX(0.75) !important;
    }
It's not extremely useful, but every time I toggle them on, I'm very happy that I added them both.
No More Google 6 years ago

I really want a good alternative to Google Photos. Jottacloud is getting pretty close, but there are problems when using it for photos and backups at the same time.

I love the possibility of chatting, but the chat bubbles are a bad user experience everywhere. The best solutions I've seen just opens a small popup window with the chat inside, and that's it. Native cross-tab-chat, can easily keep an eye on the chat while doing other things, etc.

I use bettertouchtool to get window snapping.

This is not a good point at all. Having to rely on third party applications (without any good way to discover them) to provide something that is taken for granted everywhere else is a horrible user experience!

It's the same if you want to use an external, non-Apple, completely normal HDMI monitor - use a third party application to make it use the default (for the monitor) refresh rate (60 Hz) and resolution (1920x1080).

It's the same if you want to use a completely normal USB computer mouse with a scroll wheel - install a third party application in order to make scroll wheel work like you expect.

And pretty much all those third party tools that are required to turn a Mac into a system that is actually working and allowing the user to be productive costs money as well.

I understand how this works, but it's not better, especially not for multi monitor setups. Switching between three dev-tools, two browser windows, five terminals and an editor or two makes the Mac way a horrible way to work:

First, select the application that you want to use now. All windows from that application, across all monitors are now brought to the front. Then, you switch to the window you want to use. Most of these windows have no clear way of communicating to the user that it is active, so you have to look at each of the available windows to see if it's active or not.

Let's say that I have a monitor with three terminal windows on. I don't want to close them or minimize them, as I will need them again shortly. Now, I want to open a browser window above those three terminal windows, so I open it. Now, I want to move a single one of those terminal windows on top of the browser window, while keeping the other two below the browser window. Nope, not possible. On Mac, I have to use the mouse to pick the right terminal window to achieve this.