I don't mean this the wrong way, but since you know one instruction is sufficient, the next smallest number is two. Maybe by RISC, you meant a small orthogonal set? Load/Store/ALU ops separated? So ADD and NAND work on…
x86's version of a single "instruction" is frequently a large class of opcodes. It's kind of crazy considering the assembler chooses one of the following numbers for "mov" based on the operand types, not the mnemonic:…
A few years back, I re-wired the electrics in my guitar using a semi-complicated setup of a 6 way switch for pickups in-phase or out, and parallel or series, tone and volume pots, and distortion. There was also some…
Here's one you can use with (pretty much) any version of C++: __attribute__ ((format (printf, 1, 2))) static inline std::string format(const char* fmt, ...) { va_list args; va_start(args, fmt); size_t bytes =…
> It was about this time that I realized college might not be the thing for me. Frequently, there are higher caliber instructors in colleges than high schools. If your goal is to learn something you don't know, you may…
> they rarely encounter children these days who can have a conversation. I think public schools do a pretty good job teaching kids to not speak openly with adults.
That's interesting. I didn't read the paper closely, but skipping to the pictures, it looks like ReLU, but smoothed out so the derivative is continuous. Intuitively, that seems useful.
> Someone should make one language that transpiles down to Javascript AND Python AND Ruby AND Erlang even! Well, not every language, but Haxe has you pretty well covered:…
Your first line of main is adding -0.0 and -0.0, which is not what I think you intended to show.
> quite slow due to GIL I don't want to defend the GIL, but that's not the reason CPython is slow. PyPy can be 100s of times faster, and it has a GIL too.
I'm not the GP, but here's my take on it. First some good: Python is amazing for how approachable it is. I've tried to teach (non-programmer, but smart) people I know other simpler programming languages, and it doesn't…
I didn't think it worked that way. After that, can I be the Silent/Greatest Generation? Maybe the word "Boomer" will just get redefined to mean "old people with more money than me". Kind of the same way "meme" got…
> Some boomer should have some “OK SLACKER” t-shirts As part of Gen-X, I feel like that's appropriating from my culture. I was proudly on the "slackers" mailing list as an adult in the 90s when the millennials were…
Across the world, what percentage is Portland cement vs the other CO2 absorbing kind? I googled around, but couldn't find the answer.
Thank you for telling me about this - I didn't know they did that... My first thought as I started reading the PEP was, "Why did they bother adding the 'bytes' type if 'str' is just going to be able to hold everything…
Yes, that's very much what the video goes into. For any rational approximation of 2 pi, say 22/7, you won't get lines at multiples of 2 or multiples of 11.
The first time I saw these, I thought it hinted at some deep insight into the nature of primes. However, after watching the following video, I think it just says something about modular arithmetic and rational…
> Your proposal only works well for US ASCII users. No, and I explicitly mentioned UTF-8. My suggestion is that str holds arbitrary immutable binary data and that you have a method which can interrogate whether that…
> There were some intractably difficult, "rip-the-band-aid-off" types of changes that had to happen at some point. I suspect you're referring to Unicode here. In that case, I think they could've just added a flag to…
Thank you for your reply, it does actually change how I see the prior art thing played out. > Often, folks think that they've found prior art if they find one thing in one document and another thing elsewhere. Nope.…
Here is one in Python. Uncomment the if statement if you want it to terminate. def sin(x): def recur(x, n, s, p, f): #if n > 9: return s; return recur(x, n + 2, s + p/f, -p*x*x, f*(n + 1)*(n + 2)) return recur(x, 1, 0,…
Yes, exactly.
The plaintiffs certainly had a larger legal team. We brought our patent attorney and a trial lawyer on our own dime, and we managed to get some time from the chief patent counsel for a very large company because he had…
When you go to court, the presumption is that the patent is valid. The judge is unlikely to be technical, and he must assume the experts at the patent office did their job. Since the patent office basically rubber…
> Is that what it's about? I'm pretty sure most people who strongly like OOP are sure their particular definition is the correct one. I haven't seen many people agree about what that definition is though. I generally…
I don't mean this the wrong way, but since you know one instruction is sufficient, the next smallest number is two. Maybe by RISC, you meant a small orthogonal set? Load/Store/ALU ops separated? So ADD and NAND work on…
x86's version of a single "instruction" is frequently a large class of opcodes. It's kind of crazy considering the assembler chooses one of the following numbers for "mov" based on the operand types, not the mnemonic:…
A few years back, I re-wired the electrics in my guitar using a semi-complicated setup of a 6 way switch for pickups in-phase or out, and parallel or series, tone and volume pots, and distortion. There was also some…
Here's one you can use with (pretty much) any version of C++: __attribute__ ((format (printf, 1, 2))) static inline std::string format(const char* fmt, ...) { va_list args; va_start(args, fmt); size_t bytes =…
> It was about this time that I realized college might not be the thing for me. Frequently, there are higher caliber instructors in colleges than high schools. If your goal is to learn something you don't know, you may…
> they rarely encounter children these days who can have a conversation. I think public schools do a pretty good job teaching kids to not speak openly with adults.
That's interesting. I didn't read the paper closely, but skipping to the pictures, it looks like ReLU, but smoothed out so the derivative is continuous. Intuitively, that seems useful.
> Someone should make one language that transpiles down to Javascript AND Python AND Ruby AND Erlang even! Well, not every language, but Haxe has you pretty well covered:…
Your first line of main is adding -0.0 and -0.0, which is not what I think you intended to show.
> quite slow due to GIL I don't want to defend the GIL, but that's not the reason CPython is slow. PyPy can be 100s of times faster, and it has a GIL too.
I'm not the GP, but here's my take on it. First some good: Python is amazing for how approachable it is. I've tried to teach (non-programmer, but smart) people I know other simpler programming languages, and it doesn't…
I didn't think it worked that way. After that, can I be the Silent/Greatest Generation? Maybe the word "Boomer" will just get redefined to mean "old people with more money than me". Kind of the same way "meme" got…
> Some boomer should have some “OK SLACKER” t-shirts As part of Gen-X, I feel like that's appropriating from my culture. I was proudly on the "slackers" mailing list as an adult in the 90s when the millennials were…
Across the world, what percentage is Portland cement vs the other CO2 absorbing kind? I googled around, but couldn't find the answer.
Thank you for telling me about this - I didn't know they did that... My first thought as I started reading the PEP was, "Why did they bother adding the 'bytes' type if 'str' is just going to be able to hold everything…
Yes, that's very much what the video goes into. For any rational approximation of 2 pi, say 22/7, you won't get lines at multiples of 2 or multiples of 11.
The first time I saw these, I thought it hinted at some deep insight into the nature of primes. However, after watching the following video, I think it just says something about modular arithmetic and rational…
> Your proposal only works well for US ASCII users. No, and I explicitly mentioned UTF-8. My suggestion is that str holds arbitrary immutable binary data and that you have a method which can interrogate whether that…
> There were some intractably difficult, "rip-the-band-aid-off" types of changes that had to happen at some point. I suspect you're referring to Unicode here. In that case, I think they could've just added a flag to…
Thank you for your reply, it does actually change how I see the prior art thing played out. > Often, folks think that they've found prior art if they find one thing in one document and another thing elsewhere. Nope.…
Here is one in Python. Uncomment the if statement if you want it to terminate. def sin(x): def recur(x, n, s, p, f): #if n > 9: return s; return recur(x, n + 2, s + p/f, -p*x*x, f*(n + 1)*(n + 2)) return recur(x, 1, 0,…
Yes, exactly.
The plaintiffs certainly had a larger legal team. We brought our patent attorney and a trial lawyer on our own dime, and we managed to get some time from the chief patent counsel for a very large company because he had…
When you go to court, the presumption is that the patent is valid. The judge is unlikely to be technical, and he must assume the experts at the patent office did their job. Since the patent office basically rubber…
> Is that what it's about? I'm pretty sure most people who strongly like OOP are sure their particular definition is the correct one. I haven't seen many people agree about what that definition is though. I generally…