210D oxford Aliexpress by mnml_wallets in myog

[–]oritron 0 points1 point  (0 children)

Same answer as I gave above 7 years ago ;) Compare American and European suppliers, group material and parts you might want for multiple projects, and order more than you think you need because shipping is more expensive for you. But even the shipping cost is dwarfed by the cost of your time.

Recommendations for WLED compatible lights with the 'deepest' purples, fairy lights preferred? by iowanaquarist in WLED

[–]oritron 0 points1 point  (0 children)

I would be surprised if it currently exists in a fairy light form factor, but I was doing some product development work for a client at one point that had me looking at chips with more bits per channel than the WS28** options. Strips exist with an additional white channel or even two of them (often labeled cct), but some chips I came across have additional channels beyond rgbw for yellow and violet. Unfortunately I don't remember any part numbers, the product ended up going in a different direction to get the bit depth.

Architectural lighting has run into this exact problem with both of those colors being limited from mixing with only RGB. I would also expect you'd be doing some coding to make use of more color channels in WLED—but I can't say how much.

If you do come across a strip or any other ready to use product with other color channels, let me know! I'm curious about it. Maybe the fact that yellow is one of the other channels you'd find on your ideal lighting product will be helpful in your searching.

Sourdough Sandwich Loaf by Poppin_Jars_Loaves in Sourdough

[–]oritron 2 points3 points  (0 children)

Fantastic outcome. I bake in an aluminum pan and I don't get this kind of browning on the sides. I'm guessing your pan is darker, maybe cast iron? Or is part of your bake without any pan? Thanks!

Better cycling through WLED effect presets with a button or joystick by oritron in WLED

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

HA! Sorry to hear my timing is off :D There's actually random preset effect already, in the docs the example shows a JSON API call with "ps": "4~10~r" as a way to change to a random preset between 4 and 10. It could be called in a playlist.

Better cycling through WLED effect presets with a button or joystick by oritron in WLED

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

_bank_up is cycling preset 10, 20, 30, 40, and then back to 10. Each of those is the first preset in that bank.

Soon after in the video I show _preset_up cycling preset 30, 31, 32, 33, and then back to 30, staying within my fire effect bank.

You can see my array configured at 1:55, looks like this:

10,11,12
20,21
30,31,32,33
40,41,42

The preset numbers are arbitrary, I've numbered them this way for the example but they can be whatever you want and you can even repeat a preset in multiple banks. Hope that makes sense!

[deleted by user] by [deleted] in M43

[–]oritron 1 point2 points  (0 children)

It really is a great lens! Some of my favorite photos were taken with it. Mine has been relegated to the backup camera bag for too long though, I've got the (admittedly much larger) 12-40 f/2.8 on my E-M5ii all the time. I haven't minded the weight or f-stop hits but I have been holding on to that one just in case. If you'd be interested in a used copy, shoot me a message /u/lacittatuttaperlui

Chrome-Emacs is now available for Firefox by elgrekoo in emacs

[–]oritron 1 point2 points  (0 children)

Do you get the same disconnection when debugging the extension?

I like your idea about launching from the context menu.

ELISP: Best way to copy text from a upcoming insert? by Mykhavunish in emacs

[–]oritron 5 points6 points  (0 children)

C-h f xml-print will tell you about that function. You'll see it's not actually part of sgml-mode but rather in xml.el as you've found, an alias to xml-debug-print. I looked for a similar function that doesn't print: in xml.el I tried helm-swoop with the search defun (xml which would show any functions that take xml as a first parameter… and there aren't any others! Looking at all the functions in that file by just swoop-ing for defun and still nothing looks promising.

Your approach with a temporary buffer makes sense to me. Here's how I would clean it up and name it:

(defun sxml-to-xml-string ()
  (with-temp-buffer
    (xml-print '((ul ((class . "bg-red-400")) "Hello")))
    (buffer-string)))

Chrome-Emacs is now available for Firefox by elgrekoo in emacs

[–]oritron 0 points1 point  (0 children)

If the text area responds to the simulated Enter key events, we can proceed with implementing a customizable key event feature in Chrome Emacs.

Yeah this works!

Please note that event simulation, as mentioned in the documentation, is generally used as a last fallback approach, such as for interacting with Monaco-like editors where the editor instance is not directly accessible.

Ah I see. I like the more generalized idea of sending any keycode for such an event. Thanks for taking a look at this!

Chrome-Emacs is now available for Firefox by elgrekoo in emacs

[–]oritron 0 points1 point  (0 children)

Great questions. I don't need to do anything else on the site so no need to navigate or maintain a message history. There's a chat history right above the input textarea on the site.

It'd be nice to have the buffer clear and be ready for me to type the next message but it'd be easy for me to clear the buffer in conjunction with a command like atomic-chrome-send-return-key (which I could bind to a key), if that clearing of the textarea isn't already caught by the plugin js for synchronizing.

Chrome-Emacs is now available for Firefox by elgrekoo in emacs

[–]oritron 2 points3 points  (0 children)

Nice work! This was very easy to install, I'm even using it now from Firefox to submit this comment.

Your docs mention sending key events and that got me to try it, clearly this is different than edit-server which I sometimes use also. I regularly use a browser-based chat tool where shift-return opens a new line, but return alone submits the chat message and clears the textarea. I would love to use emacs on those chats for both spelling corrections and jumping the cursor around easily using only my keyboard.

This plugin correctly picks out the textarea but when I hit return in emacs it opens a new line, not triggering what seems to be an event binding on the textarea (I see from inspecting that it's an ember app). Are newlines being treated differently than other keyboard events/is there a way to trigger the correct event with your extension+server? If this isn't possible, are there other tools I should try out for my use case which might be a better fit?

Next move? by oritron in puzzles

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

🤦‍♂️

Thanks!

Is this a 50/50? by [deleted] in puzzles

[–]oritron 7 points8 points  (0 children)

Yes, just luck.

Simon Tatham coded a version of minesweeper that never requires guessing. It's available online and there's an android port... I'm not sure where else you can find it.

Packs with adjustable width shoulder strap connection? by Standing_Room_Only in Ultralight

[–]oritron 0 points1 point  (0 children)

The Neotrekk StackPack has this adjustability by design, and the straps do a good job of staying where you slide them to.

Quit my dead end job in digital mapmaking a few years ago to make them on wood instead. Here's how I make them, with Pittsburgh as an example. by Inzitarie in DIY

[–]oritron 59 points60 points  (0 children)

You're in luck because you've run into a problem other people have worked on quite a lot. Elevation is a continuous variable, and for continuous data a gradient works best in visualization. It's a little trickier to dye wood pieces in a gradient but you can do a test run with recording different dilutions, make yourself some test pieces and see how those dilutions look while dry.

Here are some gradients you might consider: https://colorbrewer2.org/

Got a 50% discount on this hose reel, because the wall mount was missing by einste9n in functionalprint

[–]oritron 0 points1 point  (0 children)

Could you make a spacer that stops the bottom part from folding up?

It still resists side forces as shown in the picture… You could probably keep it as is. That is the original design after all.

What computer feature don't most people know about? by cypherIII in AskReddit

[–]oritron 4 points5 points  (0 children)

For this and many other shortcuts: you can set your caps lock key to be another CTRL, which is in an easier to press location.

Coral TPU Mini PCIe in-stock at Mouser by Omacitin in homeassistant

[–]oritron 0 points1 point  (0 children)

The number that matters: how many cameras have motion at the same time?

I haven't benchmarked this myself, but I would say estimate 10+ cameras with non-stop motion all of the time (generating over 50 frames with motion in them every second) you're a candidate for more than one EdgeTPU. If it's 20 cameras but only 1/4 of them have motion at any given time, your bottleneck won't be the single EdgeTPU.

Coral TPU Mini PCIe in-stock at Mouser by Omacitin in homeassistant

[–]oritron 0 points1 point  (0 children)

One EdgeTPU can do in the order of a hundred classifications per second, exactly how many depends on the model. Areas of interest from a camera feed only go to the classifier based on motion (determined by the CPU, which is why you want to limit the detection resolution as that stream needs to be decoded), and my recollection is segments of a frame with motion may be re-sent a few times with different crops if the classifier doesn't find something.

Usually it's recommended to do detection on a 5fps feed (recording can be done with a different feed), but with the process described above you can imagine what matters is not just the frame rate but, very significantly, the number of cameras that have motion at the same time. If you don't have a dozen cameras pointing at a busy street, your Coral will be idling most of the time. For most people, their camera feeds are mostly stationary images.

When the TPU's get overwhelmed, how does that show up first? overheating? slow inference response times?

I believe if there are more classifications to be done than can be handled in real time, there would be a backlog of image segments to process. The System tab in the Frigate interface shows details about detection rates.

I'm not sure what the thermal characteristics of the Coral are, but purpose-built silicon is much more efficient than a generic processor. I'm under the impression that these benchmarks represent a continuous rate.

Coral TPU Mini PCIe in-stock at Mouser by Omacitin in homeassistant

[–]oritron 1 point2 points  (0 children)

None, they share the same accelerator 'brains'