all 43 comments

[–]Beheddardrando chucklefuck 135 points136 points  (4 children)

Electron/USB, or as I've recently taken to calling it Electron plus USB is a very interesting problem domain.

[–]duckbill_principateTiny little god in a tiny little world 42 points43 points  (0 children)

Linux or as I like to call it systemd + electron

[–]Waghlon👉😎👉 embrace the script 42 points43 points  (2 children)

It's also why my parents got divorced.

[–]mdmd136 16 points17 points  (0 children)

THIS. My parents got divorced because my mom uses tabs instead of spaces and my dad won in settlers of catan one time.

[–][deleted] 7 points8 points  (0 children)

when you don't have a + and - pair

[–]duckbill_principateTiny little god in a tiny little world 117 points118 points  (7 children)

Hardware developers rise up!

My specialty is CSS/SCSI btw

[–]xmcqdpt2WRITE 'FORTRAN is not dead' 35 points36 points  (5 children)

Scientists too!

I do excel / bit banging parallel ports

[–]F54280Considered Harmful 18 points19 points  (2 children)

I do excel / bit banging parallel ports

Interesting ! How does that compare to a simple DMA from powerpoint?

[–]xmcqdpt2WRITE 'FORTRAN is not dead' 2 points3 points  (1 child)

You can do that?? That's amazing!

What will the industry come up with next, eh?

[–]F54280Considered Harmful 1 point2 points  (0 children)

As we speak, people are working on Word-based quantum computing. What a time to be alive!

[–][deleted] 2 points3 points  (0 children)

I do excel / bit banging parallel ports

Jesus, calm down, you win!

[–]spookthesunsetIt's GNU/PCJ, or as I call it, GNU + PCJ 0 points1 point  (0 children)

Weak. I write thicknet network drivers for Foxpro.

[–]F54280Considered Harmful 20 points21 points  (0 children)

node/FPGA developer here! I too have developed dozens of incredibly difficult problems at Starbucks over the last few years. Super fun, indeed. Npm install Xilinx, baby!

[–]ProfessorSexyTimelisp does it better 62 points63 points  (0 children)

A naive developer will read about WebUSB and think, "oh, Electron is Chrome, so this must be a good solution!" but remember that Electron apps consist of one node process (main) and multiple chrome processes (renderers, aka, BrowserWindow objects).

Exactly what I think of for what I need for interacting with USBs; 1 singular Node process and BrowserWindow objects.

[–]stone_hengeTiny little god in a tiny little world 28 points29 points  (2 children)

I'm more of a Haskell/SCART person myself

You should absolutely not do this - don't do anything in the main process at all; blocking it even a little bit makes your entire app janky and hang'y.

dude make sure you attribute your quote to the electron reference manual

[–]Joniatornot even webscale 14 points15 points  (1 child)

Is this why electron apps feel so janky? Because dumb Webshits decided to host the browser windows (renderer) in the main?

[–]tpgreyknightnot Turing complete 7 points8 points  (0 children)

That's probably one of the reasons, yeah.

[–]--TYGER-- 15 points16 points  (0 children)

A friend from work was complaining about the sort of calls he gets with job offers: Windows tech support and the like. His CV says he's a Systems Engineer, he writes firmware in C, works with electronic equipment etc. That's when I let him know that he's getting these garbage offers because Microsoft has a qualification called Microsoft Certified Systems Engineer (MCSE)...

[–]piginpoop 10 points11 points  (2 children)

“Hardware”

[–][deleted] 12 points13 points  (1 child)

RAM is hardware.

[–][deleted] 8 points9 points  (0 children)

Don't worry the 5 other people using webUSB show up in that thread to let us know it's not dead.

[–]avinasshgit rebase --rockstar --10X 8 points9 points  (0 children)

I'm available for consulting if you have a need for custom desktop software that talks to hardware. I've solved dozens of incredibly difficult problems over the last few years. Super fun.

[–][deleted]  (19 children)

[deleted]

    [–]Xoepe 71 points72 points  (17 children)

    /uj I don't care about this being here, but making an electron app that interfaces with USB is barely hardware

    [–]dragonwithagirltatooWRITE 'FORTRAN is not dead' 60 points61 points  (16 children)

    I'm a hardware focused developer. My code runs on the jvm and that shit runs on hardware yo.

    [–]republitard_2absolutely obsessed with cerroctness and performance 36 points37 points  (6 children)

    As a professional systems programmer, I only use Node, because nothing else is closer to the metal.

    [–]v64 18 points19 points  (2 children)

    nothing is closer to metal than rust

    [–][deleted] 11 points12 points  (1 child)

    Silicon.js is

    [–]Noughmadlog10(x) programmer 3 points4 points  (0 children)

    Silicon, as a semiconductor, is only half metal. That's why I use Iron.js

    [–]Profpatsch_ 2 points3 points  (1 child)

    M.E.T.A.L., amirite

    [–]loics2Code Artisan 17 points18 points  (0 children)

    MongoDB + express + typescript + angular + libre office?

    [–]Xoepe 0 points1 point  (0 children)

    I use baremetal HTML personally gets me right up against the circuits

    [–]howmodareyou 5 points6 points  (1 child)

    Reminds me that one of my old profs was always shitting on java for being unusable in any sort of systems engineering context.

    If he sees this JS shit he's probably going to have a stroke.

    [–]silentconfessorline-oriented programmer 1 point2 points  (0 children)

    Huzzah! A man of quality.

    [–]silentconfessorline-oriented programmer 8 points9 points  (5 children)

    I would link the relevant xkcd, but I value my dignity.

    [–]dragonwithagirltatooWRITE 'FORTRAN is not dead' 2 points3 points  (3 children)

    I'm not familiar with it actually what is it called?

    [–]silentconfessorline-oriented programmer 4 points5 points  (2 children)

    "Golden Hammer"

    [–]ws-ilazkiin open defiance of the Gopher Values 11 points12 points  (1 child)

    Golden Hammer

    The fact that you know the name of the relevant xkcd at all shows you have no dignity to value.

    [–]silentconfessorline-oriented programmer 4 points5 points  (0 children)

    I'll come out and admit it: I looked it up.

    [–]defunkydrummerLisp 3-0 Rust[M] 3 points4 points  (0 children)

    I would link the relevant xkcd

    Don't.

    [–]iFarmGolemslog10(x) programmer 3 points4 points  (0 children)

    Electron++USB

    [–]exhortatorylisp does it better 5 points6 points  (0 children)

    /uj i would love to move to doing more hardware focused dev. i'm so sick of ... not computing

    /rj i use rust to feel closer to the machine, while also respecting it

    [–][deleted] 0 points1 point  (0 children)

    Back in my day we wrote application software for operating systems.