![](https://lemmy.world/pictrs/image/b8925e78-47ce-4604-ab52-ec3fd8040077.png)
![](https://lemmy.ml/pictrs/image/d3d059e3-fa3d-45af-ac93-ac894beba378.png)
Whichever you prefer. There is no correct way.
Whichever you prefer. There is no correct way.
If the only tool you have is a hammer, everything looks like a nail.
That’s the only thing I can think to answer your question. There are some problems that are best solved with other tools, like text parsing for example you might want to call out to some code written in a functional language.
This is true, but compared to the prevailing alternative I’ll take it. Unless there’s a viable FOSS alternative for whatever software we’re talking about at the time, of course. :P
The best part is, unless that function name is misleading, it doesn’t matter how the data is passed; a copy is being sent out over TCP/IP to another device regardless.
This happened to me, except it was primary school bully. I asked them if they remembered why, they said they think they thought I was weird, and I nodded while they pumped petrol into my car. Then I paid and left, and I have not seen them since.
This is extra important if you’re eating eggs you got from A Guy instead of like a supermarket.
The problem with blazor as I understand it, is that no, it does not compile your C# into WASM. Instead, it compiles into a standard .net module – with as much excising of unused code as possible – and distributes it with a CLR that is compiled to WASM. So effectively you’re running the .net VM inside the WASM VM. If you do client-side blazor, which is not even MS’s push anymore because they stand to make more money if you write server-side blazor and deploy it to Azure.
Do look it up yourself tho. I could have a totally wrong understanding. I haven’t looked into it in some time because I’ve not been in a position to start a new frontend project from scratch. I would love to do my frontend stuff in C# though, don’t get me wrong.
Honestly unshocking. Eldritch horrors and fey are basically the same thing anyway; a powerful entity with alien intentions and motivations, not good or evil particularly, just unknowable.
It’s annoying when it is not a duplicate tho
It was clearer when the skill was called Knowledge (Religion), IMO. Same logic applies tho, it’s about knowing stuff so int makes sense.
I just noticed lemmy didn’t like the #include statement because it uses angle brackets. I tried to update it but it doesn’t look right, so I’m going to change it to quotes which should work the same, I believe. I’m not a C expert, I usually code in C#.
Discord push-to-talk. :P
Here’s the code I wrote:
#include "Keyboard.h"
const char FUNCTION_F14 = 0xF1;
int down = 0;
void setup() {
// make pin 2 an input and turn on the
// pullup resistor so it goes high unless
// connected to ground:
pinMode(2, INPUT_PULLUP);
// initialize control over the keyboard:
Keyboard.begin();
}
void loop() {
int nowDown = digitalRead(2) == LOW;
if (down != nowDown) {
down = nowDown;
if (down) {
Keyboard.press(FUNCTION_F14);
} else {
Keyboard.release(FUNCTION_F14);
}
}
}
Note that the #include was meant to use angle brackets, but Lemmy ate them. If this doesn’t work, change it back to angle brackets around the Keyboard.h instead of quotes.
Also, the parts I used:
I wired it up like in the photo, and just laid it on a bed of hot glue so the USB port sticks out the hole. I had intended to get a mini USB extension cable inside the pedal, but the one I ordered turned up defective, and this worked out just fine.
I bought an existing foot pedal off aliexpress. It came with a little dangling wire, supposedly meant to be hooked up to a piece of industrial equipment. Opened it up, removed the existing wire, soldered a wire to a suitable arduino dev board and hot glued it inside. If you want I can dig up the exact parts I used and even the code. But I also suspect maybe you want to figure it out yourself?
I built myself a foot pedal that presses F14. It’s super useful as a global hotkey 'cause nothing else uses it. :P
Good, web3 was a bunch of wank anyway.
We talking about web4 when web3 isn’t even real yet?
Thanks :)
I believe I saw a youtube clip of him saying his name and Linux that way, yes.
I would like to use IPv6 but google and MS are having a dick waving contest with competing implementations, as I understand it. So fuck it.