Screenshots. Print screen. Wayland famously doesn't have a way to do this very basic task (all of the desktop environments had to add custom extensions).
Seems like they finally did it though really recently. And it only took 12 years!
Screenshots. Print screen. Wayland famously doesn't have a way to do this very basic task (all of the desktop environments had to add custom extensions).
Seems like they finally did it though really recently. And it only took 12 years!
On Arduino it's 16 bits. (At least the original ATMEL ones; I dunno if they've finally moved to ARM yet.)
This lost me quite a lot of time when I tried to use their SD card library on a 32-bit Arduino and it hung due to some code assuming int
was 16 bits.
I dunno it looks well designed but I dunno why I would use it instead of Rust.
Unlikely to be of any use to anyone in practice because you can fit a 12k gate chip into a grain of sand and then it doesn't really matter if it's not flexible.
Interesting tech though.
I've never done it but apparently you can actually gradually transition to Typescript one file at a time by renaming them from .js
to .ts
. Might help a bit. Good luck anyway!
Yeah IntelliJ does amazingly without type annotations but even it can't do everything. E.g. if you're using libraries without type annotations, or if you don't call functions with every possible type (is your testing that good? No.)
Static types have other benefits anyway so you should use them even if everyone in your team uses IntelliJ.
Honestly I would take a look through a good standard library that provides a lot of algorithms (e.g. C++ or Rust). That has the basics, especially for data structures.
Also have a go at some hacker rank tests. Especially if you want to learn dynamic programming (abysmal name), they absolutely love that.
Very cool. To be honest most of these languages (except maybe Lisp and BASIC) are pretty awful. I can't imagine writing anything in them. Especially K. That's got to result from some form of brain damage...
It’s only 7 bytes of code. !10 returns a list of numbers 0 to 9. 1+!10 adds 1 to each of them resulting in a list [1, 2, …, 10]. Finally /1+!10 applies * verb with scan adverb and returns 123...*10 which is a factorial of 10.
But it processes arrays of numbers in such an elegant way what no other language can compete with it (well, maybe numpy).
Uhm yeah or maybe MATLAB? I mean I mainly like MATLAB because of its unbeatable plotting abilities, but even MATLAB can do prod(1:10)
. I am very happy to spend 3 extra bytes on that readability improvement!
What are you talking about?
You can't win an argument by saying "you can argue about this enormous counterpoint all you want but I'm still right".
Luckily I didn't have to - I found a Github issue where someone else had. Don't ask me how they figured it out!
There's also CPC/Farnell but none of those are in the same league as McMaster Carr. Much smaller ranges, worse prices, worse websites, missing CAD models, etc.
Another option is Misumi but they have even worse prices and don't even sell to individuals.
I'd recommend going to McMaster Carr just to see what we are missing out on.