|
Leandro Pereira
@
lafp
Seattle, WA
|
|
Wrote the Lwan web server and the HardInfo system profiler. .NET Core team at Microsoft. Personal account. He/him.
|
|
|
10.069
Tweetovi
|
662
Pratim
|
1.036
Osobe koje vas prate
|
| Tweetovi |
|
Leandro Pereira
@lafp
|
23 h |
|
Decided to rewrite it completely last night. Much saner now without XML-RPC: cornputer.org/lpereira/hardi…
Still need to tweak some things, and then change HardInfo.
|
||
|
|
||
|
Leandro Pereira
@lafp
|
4. velj |
|
Is there a reStore nearby? Sometimes they have good doors. Might need some elbow grease and paint, though.
|
||
|
|
||
|
Leandro Pereira
@lafp
|
4. velj |
|
I'm pretty sure it started as a glitch and was refined until it is what it is right now.
|
||
|
|
||
|
Leandro Pereira
@lafp
|
4. velj |
|
It's *very* trivial, really. There's a gist with the preliminary code somewhere in the replies here. It'll probably change a lot as the API is not set in stone yet.
But, yes, it'll live in the @hardinfo repo, probably in a different branch.
|
||
|
|
||
|
Leandro Pereira
@lafp
|
4. velj |
|
(It's XML-RPC because HardInfo uses libsoup to talk with the server and it already has a XML-RPC implementation. I might change this to something else now that I'm changing the API too. Will probably make this work first.)
|
||
|
|
||
|
Leandro Pereira
@lafp
|
4. velj |
|
Because. It's a trivial service, so the implementation looks pretty slick in Go; WIP: gist.github.com/lpereira/a7592…
The older version was written in PHP, and I don't feel like programming in PHP anymore, or set up a web server capable of running PHP in the VPS that will run this.
|
||
|
|
||
|
Leandro Pereira
@lafp
|
4. velj |
|
Older versions of @hardinfo used to have a server where benchmarks could be published and retrieved, among other things.
It died because I had no backup and the provider ceased to host FOSS projects. Lost data&code.
Almost 10 years ago, I'm rewriting it, but this time in Go.
|
||
|
|
||
|
Leandro Pereira
@lafp
|
4. velj |
|
What was the issue, BTW? Video signal level?
|
||
|
|
||
|
Leandro Pereira
@lafp
|
4. velj |
|
There usually are trimpots in the board to control how much the beam will deflect both horizontally and vertically. Might want to tune those
|
||
|
|
||
|
Leandro Pereira
@lafp
|
4. velj |
|
Deer pairs very well with wine, indeed.
|
||
|
|
||
|
Leandro Pereira
@lafp
|
3. velj |
|
If all the shelves are the same size, you can probably use copper tape underneath the shelves. No need to mess around with drilling and fishing a wire.
|
||
|
|
||
|
Leandro Pereira
@lafp
|
3. velj |
|
That would probably be even easier. It can look even nicer if you route a slot in the back for the strip and some material to diffuse the light.
|
||
|
|
||
|
Leandro Pereira
@lafp
|
3. velj |
|
Yes. Last time I did this, I drilled and tapped a hole in the bottom for the ground wire, and in each shelf I tapped a hole in the shelf support and added a tiny screw with two eye connectors (one for the wire coming from the rail, the other for the LED strip).
|
||
|
|
||
|
Leandro Pereira
@lafp
|
3. velj |
|
One thing I like about them is that you can use the rail as ground and pass a low voltage wire inside them to power LED strips underneath each shelf.
|
||
|
|
||
|
Leandro Pereira
@lafp
|
3. velj |
|
Been using it for a month, both at home and at work. It's the best of both worlds, and it's currently my favorite thing.
|
||
|
|
||
|
Leandro Pereira
@lafp
|
3. velj |
|
Cool. If the machine running Octoprint is connected to a webcam, and Cura is printing directly to it, it'll show the webcam feed in the print status window. No need to open Octoprint in the browser. pic.twitter.com/FJaE9Cj31F
|
||
|
|
||
|
Leandro Pereira
@lafp
|
3. velj |
|
Something like this maybe pic.twitter.com/NecnTxtONk
|
||
|
|
||
|
Leandro Pereira
@lafp
|
3. velj |
|
LED anode to 3.3v, catode to Drain, source to Ground, microcontroller pin doing PWM to Gate, Gate to Ground through a 100k resistor.
|
||
|
|
||
|
Leandro Pereira
@lafp
|
3. velj |
|
This is as awesome as it is cursed: github.com/georgek42/inli…
It allows writing C code in Python by using a custom codec.
|
||
|
|
||
|
Leandro Pereira
@lafp
|
2. velj |
|
But, seriously, do you need to loop through the whole string? Can't you use a "meet in the middle" approach?
|
||
|
|
||