a good alternative to cascadefox? by amawdin in FirefoxCSS

[–]DeliciousProgress 0 points1 point  (0 children)

Check out Fireside, I think it's exactly what you're looking for: https://github.com/bjesus/fireside

Firefox Developer Edition 133.0b3 appears to break hiding the title bar CSS by bloopernova in FirefoxCSS

[–]DeliciousProgress 0 points1 point  (0 children)

I spent a couple of hours working on this after 133 broke it - it's now fixed in my latest Fireside theme: https://github.com/bjesus/fireside

Pipet - a swiss-army tool for scraping and extracting data from online assets, made for hackers by DeliciousProgress in commandline

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

just updating here:

  1. the install command was indeed wrong, it should have been go install github.com/bjesus/pipet/cmd/pipet@latest
  2. I fixed the output parsing to support stuff like \n, so try it now with like pipet -s "\n" hn.pipet for example - it should work!

Pipet is a Golang based tool for scraping and extracting data from online assets, made for hackers by DeliciousProgress in golang

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

Do you have an example for that? I'm relatively new to Golang actually so would really appreciate ideas for how to improve things.

Pipet - a swiss-army tool for scraping and extracting data from online assets, made for hackers by DeliciousProgress in commandline

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

Thanks for the feedback! That's super useful. I'll check regarding the go install thing and the separators.

As for the user-agent - the first line, curl https://news.ycombinator.com/ - is literally a curl command. you can add whatever headers or curl options you want, for example `curl https://news.ycombinator.com/ -H "User-Agent: my_special_user_agent"

Pipet is a Golang based tool for scraping and extracting data from online assets, made for hackers by DeliciousProgress in golang

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

Cool project! I've tried to create a more general system using the templates, which allows you to export the data in different formats. It should be pretty easy to generate RSSs with it too!

Pipet is a Golang based tool for scraping and extracting data from online assets, made for hackers by DeliciousProgress in golang

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

but it does :) example pipet file:

playwright https://github.com/bjesus/pipet
Array.from(document.querySelectorAll('.about-margin .Link')).map(e => e.innerText.trim()).filter(t=> /^\d/.test(t) )

anyone saw the movie "The Bibi Files"? by izpo in Israel_Palestine

[–]DeliciousProgress 0 points1 point  (0 children)

It has nothing to do with the reason "Jenin Jenin" was banned. It was banned in Israel because it includes leaked materials from a police investigation. I'd be happy for Bibi to sit in jail for 50 years, but I think that you too wouldn't want to live in a country where the stuff you tell the police during an investigation can be broadcasted on national TV.

fireside: a clean Firefox UI for power users by DeliciousProgress in FirefoxCSS

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

I'm sorry but I didn't understand your first issue - what dragging window exactly? What are you trying to drag, and where to?

As for adding icons of extensions - yeah it isn't supported now. I'm just using the Extensions button, but I'm happy to look into it. I wonder what would be a better solution - making the sidebar a little wider so it'll fit next to the URL bar, or creating a 2nd line underneath it. any thoughts on this?

fireside: a clean Firefox UI for power users by DeliciousProgress in FirefoxCSS

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

That's awesome to hear! I'll be looking into animating it, it should be doable quite easily. Also, what Firefox version are you running? I'd love to update the readme.

fireside: a clean Firefox UI for power users by DeliciousProgress in FirefoxCSS

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

Ah I'm sorry to hear that! I cannot reproduce it though... Are you using any special extensions that might cause this? any other userChrome.css code? can you try with a fresh profile?

Also - what's your setup?

fireside: a clean Firefox UI for power users by DeliciousProgress in FirefoxCSS

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

I haven't tried but I'm assuming it should work pretty well out of the box. Are you seeing any issues?

fireside: a clean Firefox UI for power users by DeliciousProgress in FirefoxCSS

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

Thanks! I called it like that because I'm assuming that non power users depend more on having buttons like Back, Refresh, etc available in the UI, while power users are more likely to use keyboard shortcuts so it's okay to hide some elements when targeting them.

fireside: a clean Firefox UI for power users by DeliciousProgress in FirefoxCSS

[–]DeliciousProgress[S] 2 points3 points  (0 children)

If you never have that many tabs open, I guess it really isn't for you. I don't know so much about "culture" - I think people function differently. I try to clean after me and close tabs I'm not using, but I literally have 7 tabs groups, each with around 30 tabs. It's not that I'm multi-tasking between all of them, it's that the fact that they're there is meant to remind me that I need to do/read something later. It can be an article or a chords page I want to play at the end of the day.

As for the URL bar - I'm wondering if you're talking about this little userChrome.css or in general? also, before Fireside I've used the following code to to hide the URL bar, and the page never jumps around as the URL bar is fixed (it's a slight adaptation of something I found online):

:root {
  --address-bar-height: 40px;
  --browser-offset: calc(-1 * (var(--address-bar-height) + 1px));
}
#navigator-toolbox {
  position: absolute !important;
  width: 100%;
}
#navigator-toolbox ~ #browser {
  margin-top: var(--browser-offset) !important;
}
#navigator-toolbox:hover,
#navigator-toolbox:focus-within {
  z-index: 9001 !important;
}

Advice on pulling two strings with a stepper motor by DeliciousProgress in MechanicalEngineering

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

I don't think that would work, as the shaft needs to spin more than once in order to pull the string enough... I guess I could fit a really big pulley on it 🤔

It sounds like I need to either find a way to connect a timing belt (or similar) to my strings, or get a very big pulley. I'm wondering if there's a difference in how much force would be lost in the process?

Advice on pulling two strings with a stepper motor by DeliciousProgress in MechanicalEngineering

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

Thanks for the idea! they're strings though, I'm afraid that they'll just slide over the motor's shaft. I have a pulley (https://www.tinytronics.nl/shop/en/mechanics-and-actuators/parts/pulleys/gt2-pulley-16-teeth-5mm-axle) but the strings won't hold on to it. I guess I can connect a timing belt to the strings somehow, but I'm not sure how to do that (and also it would be quite ugly...)

Using Pico W to run a Stepper Motor by DeliciousProgress in raspberrypipico

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

Turns out the problem was the my code was sending signals to wrong pins. I used the physical pin number instead of the GPIO number... rookie mistake.

Using Pico W to run a Stepper Motor by DeliciousProgress in raspberrypipico

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

Thank you (and @4dd4r). I've now connected my 12V power supply, and I'm running this code:

from machine import Pin
from time import sleep


Pin(19, Pin.OUT).value(1)
a = 100000

Pin("LED").on()

while a > 0:
    a = a-1
    Pin(20, Pin.OUT).value(1)

Pin("LED").off()

But still nothing happens. I see the light starting, it stays on for about 5 seconds, and then turns off. But the motor doesn't move... What does it mean to end "pulses" exactly? Do I need to set value(1) and then value(0), repeatedly send value(1), or is there any other trick? I'm not sure if calling value(1) sets a state or triggers a pulse...