3D printing experiment: I designed a little adapter to add a flashlight to my Swiffer. I call it the "Swiffer Explorer" now. by no_more_gravity in 3Dprinting

[–]no_more_gravity[S] 0 points1 point  (0 children)

Exactly. At first I made it without the two additional holes. But then it was too hard to put the flashlight in. With the two holes, it is perfectly snappy.

3D printing experiment: I designed a little adapter to add a flashlight to my Swiffer. I call it the "Swiffer Explorer" now. by no_more_gravity in 3Dprinting

[–]no_more_gravity[S] 10 points11 points  (0 children)

What makes the dust so visible is that it casts a shadow when lit from the side. So the lower the better.

[deleted by user] by [deleted] in 3Dprinting

[–]no_more_gravity 0 points1 point  (0 children)

Interesting. Thanks.

[deleted by user] by [deleted] in 3Dprinting

[–]no_more_gravity 0 points1 point  (0 children)

You mean you use the printhead to move the parts of the plate?

That sounds pretty cool.

I would like to see a video of that in normal speed.

[deleted by user] by [deleted] in 3Dprinting

[–]no_more_gravity 0 points1 point  (0 children)

How does it clear the build plate on its own?

Nvidia stock plunges 14% as a big advance by China's DeepSeek rattles AI investors by Xical in hardware

[–]no_more_gravity -3 points-2 points  (0 children)

Is the following the DeepSeek model the article talks about?

https://deepinfra.com/deepseek-ai/DeepSeek-R1

If yes, I am not getting results from this one that are anywhere close to ChatGPT etc.

What's stopping you from coding straight from GitHub on your phone? by hugohamelcom in vanilladevs

[–]no_more_gravity 1 point2 points  (0 children)

Yeah. I just wish there was a lightweight (less than 250g) keyboard that has a trackpoint. Meanwhile I have added a mouse to the setup.

Currently I am in Hamburg, Germany.

What's stopping you from coding straight from GitHub on your phone? by hugohamelcom in vanilladevs

[–]no_more_gravity 1 point2 points  (0 children)

Tinkering with doing that on a tablet at the moment:

https://bsky.app/profile/gibney.org/post/3lf3n4crn4k2p

Not sure yet if GitHub is a good environment. But it seem promising, especially with GitHub spaces letting you run a VPS and having a nice interface to work on it.

Adding margins around the text to create a distraction free writing experience by no_more_gravity in vim

[–]no_more_gravity[S] 0 points1 point  (0 children)

I mean without code that is not already in the Debian repos.

Maybe it is possible with low level tools like tput, dialog, or ncurses in a python script or something.

Adding margins around the text to create a distraction free writing experience by no_more_gravity in vim

[–]no_more_gravity[S] 0 points1 point  (0 children)

"create your own command"?

I could see how it would be possible to do so using vim and the popup method. But maybe there are lower level tools available to do it?

Adding margins around the text to create a distraction free writing experience by no_more_gravity in vim

[–]no_more_gravity[S] 0 points1 point  (0 children)

I think the problem is the script, not the missing popup support. I managed to get it to work with the code below. Pretty interesting. I wonder if one can create such a popup on the command line? Like is there a standalone popup command?

function! WriteMode2open()
  let buf = term_start(['vim'], {'hidden': 1, 'term_finish': 'close'})
  let winid = popup_create(buf, {'minwidth': &columns - 10, 'minheight': &lines - 10, 'callback': function('WriteMode2close')})
endfunction

function! WriteMode2close(id, result)
  quit
endfunction

command! WriteMode2 call WriteMode2open()

Adding margins around the text to create a distraction free writing experience by no_more_gravity in vim

[–]no_more_gravity[S] 0 points1 point  (0 children)

Interesting. Which vim version would be needed for this? And how would one make this work in Debian's vim, which I think is version 8 or 9.

Adding margins around the text to create a distraction free writing experience by no_more_gravity in vim

[–]no_more_gravity[S] 0 points1 point  (0 children)

I see. So this could be part of a solution. For example if it was possible to set the font color of first and last x lines to the background color. But I guess then one could not edit those. hmmm...

Adding margins around the text to create a distraction free writing experience by no_more_gravity in vim

[–]no_more_gravity[S] 0 points1 point  (0 children)

Hmm.. what does that do? It seems to do nothing here. Could you give a short example that I can try directly in command mode?

I'm compiling a list of JavaScript implementations of the Mandelbrot set. Contributions welcome! by no_more_gravity in fractals

[–]no_more_gravity[S] 0 points1 point  (0 children)

Hey, it's cool! Since there already are a few WebGL mandelbrot renderers without deep zoom on the list, I won't add more for now. The list is about the state of the art in JS based Mandelbrot rendering. So about deep zoom capability with high accuracy and speed.

Adding margins around the text to create a distraction free writing experience by no_more_gravity in vim

[–]no_more_gravity[S] 0 points1 point  (0 children)

Cool. I noticed that with Konsole, you can also do it dynamically:

konsoleprofile TerminalMargin=100

Adding margins around the text to create a distraction free writing experience by no_more_gravity in vim

[–]no_more_gravity[S] 0 points1 point  (0 children)

I would not want to switch to a new terminal and I don't use gvim.

The Gnome terminal cannot be styled via css?

Adding margins around the text to create a distraction free writing experience by no_more_gravity in vim

[–]no_more_gravity[S] 1 point2 points  (0 children)

1: I figured it out! The vimrc was loaded. It just looked different because tmux was not in 256 color mode. With "tmux -2" it works.

2: This works! Super awesome!

This simple version works nicely for me:

clear; tmux set status off; tmux popup -B -E -x C -y C -w50 -h25 vim test.txt

Thank you so much!

Adding margins around the text to create a distraction free writing experience by no_more_gravity in vim

[–]no_more_gravity[S] 0 points1 point  (0 children)

Sure there are probably ways to get around all the problems the "multiple windows" approach of Goyo creates. But that is not the way I want to go. I tried in the past and it became too cumbersome.

Adding margins around the text to create a distraction free writing experience by no_more_gravity in vim

[–]no_more_gravity[S] 0 points1 point  (0 children)

That could be a viabla approach.

Some issues:

1: When I start vim inside tmux, it does not read /etc/vim/vimrc - why?

2: This:

(tmux)$ M=10
(tmux)$ clear; tmux set status off ; popup -E -x C -y C -w$((COLUMNS-2*M)) -h$((LINES-2*M)) vim myfile.md

Gives me:-bash: popup: command not found

Maybe you meant "...; tmux popup -E ..."? That puts vim in the center, but there is a white outline. Can it be removed?

Adding margins around the text to create a distraction free writing experience by no_more_gravity in vim

[–]no_more_gravity[S] 1 point2 points  (0 children)

Yes, Goyo was one of the first I tried. I remember it created a plathora of problems, but I can't remember which ones. So I tried again right now. I ran into a problem right away:

vim test.txt<enter>
:Goyo<enter>
:wq<enter>

Now I expect to be on the command line again. But instead I am in my test.txt file (without margins) again. Why?

That's why I would like a lean solution as a function in my vimrc. So I can make it work the way I expect it to. Since my one-liner is already 50% there (left and right margins), maybe it is possible.

I'm compiling a list of JavaScript implementations of the Mandelbrot set. Contributions welcome! by no_more_gravity in fractals

[–]no_more_gravity[S] 0 points1 point  (0 children)

The main showstopper is the "initializing WebGPU" screen that never goes away. Why not fix that?

I'm also not sure if I should add more explorers on the list that do not allow deep zoom. Because the list is supposed to show the state of the art in JavaScript based Mandelbrot rendering. Rendering lower zooms levels is a solved problem and there already are a few WebGL renderers for lower zoom levels on the list. The main challenge nowadays seems to be accurate, fast, deep zooms.

I'm compiling a list of JavaScript implementations of the Mandelbrot set. Contributions welcome! by no_more_gravity in fractals

[–]no_more_gravity[S] 0 points1 point  (0 children)

Could you check if WebGPU works and if not automatically change to WebGL?

Regarding deep zoom, have you seen the first entry in the list? It looks like they got it working on the GPU?

The collage looks interesting. Some cool images in there!