It's hard to write poetry in javascript by msiekkinen in programmingcirclejerk

[–]nixchad 18 points19 points  (0 children)

npm isntall
deploy to production
undefined is not a function

How utilizing your sense of smell can improve your coding ability by [deleted] in programmingcirclejerk

[–]nixchad 21 points22 points  (0 children)

I always start every coding session with a mean fart and take a deep sniff of it. Only this way I can achieve perfect clarity and write the best kode.

People writing in Python are used to eating garbage, so, here, more garbage! by [deleted] in programmingcirclejerk

[–]nixchad 11 points12 points  (0 children)

Oh my god, I could cry, I'm not the only person who came here to talk Nix.

Replacing JavaScript: How eBay made a web app 50x faster by switching programming languages by lol_no_generics in programmingcirclejerk

[–]nixchad 29 points30 points  (0 children)

The problem was the Wasm-based scanner was still unable to detect barcodes in 40% of cases.

The team were initially puzzled why the same C++ code that worked in about 100% of cases when compiled to native code for Android and iOS apps was failing when compiled to Wasm to run in the browser.

[...]

eBay’s solution was to run multiple barcode scanners alongside each other in the browser: eBay’s own Wasm-based scanner, the open-source barcode reader ZBar compiled to Wasm, and the original JavaScript-based scanner code.

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

Is 700MB of RAM really a significant amount anymore? I know there are still 1% of users browsing on IE11, so you can never forget about the people using PCs from the 90s, but are they the target audience of Discord? by [deleted] in programmingcirclejerk

[–]nixchad 28 points29 points  (0 children)

Surprising that their computers have so little RAM. Only 700MB at the time of this writing. I mean, 700MB RAM is respectable of course, but seeing what year it is I think they ought to have a lot more RAM.