154 karma · joined Sep 27, 2017 (9y ago) · 46 submissions
comment 5mo ago · link · parent
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...
comment 7mo ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
comment 1y ago · link · parent
The simplest fixes for it is to just insert semicolons yourself, always use const, and not start any lines with [ or (.
comment 2y ago · link · parent
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! :-)
comment 2y ago · link · parent
comment 2y ago · link · parent
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.
comment 2y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
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
comment 3y ago · link · parent
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!
comment 4y ago · link · parent
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!
comment 4y ago · link · parent
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/
comment 4y ago · link · parent
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...
comment 5y ago · link · parent
comment 5y ago · link · parent
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
comment 5y ago · link · parent
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.comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
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.
comment 6y ago · link · parent
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.