|
So maybe next year we'll see you introduced on Strictly as "YouTube influencer ... ".
|
|
|
|
|
If I did, I'd wear a false moustache* so you wouldn't recognise me.
* Over my beard and real moustache, obviously
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
The cat!
|
|
|
|
|
Congratulations
I managed to break through the 100 mark the other day on my astro channel. I didn't think I would get anywhere near that this year, let alone next year considering I only started it at the end of September.
I don't know what happened a couple if days ago, but had a massive spike in watch time and views after a steady increase the last week.
|
|
|
|
|
I'll tune you in as soon as I can afford a pornograph.
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
|
|
|
|
|
|
OK - now, with that in mind and realizing it's extraordinarily unlikely it is the only time such genius influenced EU legislation, if you were the UK, wouldn't you BREXIT, and, for that matter, if you were the EU, wouldn't you BREXIT ???
Then my mind wanders towards their legal decision (towards software giants) and wonders what sort of studies and information the used to reach their decisions (aside from there's $Billions in fines to be made).
I'm starting to get a bit cynical about the whole thing.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
W∴ Balboos, GHB wrote: legal decision (towards software giants) and wonders what sort of studies and information the used to reach their decisions (aside from there's $Billions in fines to be made).
Nailed it!
|
|
|
|
|
The silly thing takes forever to load code onto the mega where the Arduino IDE is near instant
Worse, the VS Code plugin itself really hates code that runs both on the arduino and elsewhere, because of conditional compilation flags you can't really control, so if you
#ifdef ARDUINO
...
#endif
Anywhere in your code your IDE will hard set the ARDUINO define and you can't turn it off, even if you add build tasks for standard gcc C++ builds.
Also VS Code freaks the heck out because it can't find certain include files when PlatformIO is connected to a project - said include files have features that are not available on Arduino platforms, so it's understandable but again, I can't change a setting where i'm building for a workstation PC and let it use my standard include paths.
I wish it would just set both and let me work out what goes where instead of being so heavy handed.
It makes my files have "errors" all over them even though they compile with no warnings even.
Real programmers use butterflies
modified 29-Dec-20 23:04pm.
|
|
|
|
|
Since you'are already 'on the metal', write your own superfast Arduino flasher...
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
honey the codewitch wrote: It makes my files have "errors" all over them even though they compile with no warnings even.
It happened to me with simple C++ code too, and found it to be a problem with the intellisense part of the C++ plugin...
Don't remember how but disabled a feature there and I have no 'fake' errors anymore...
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
Skip to season/episode by index - JSONPath equivelent $.seasons[7].episodes[0].name
Found "cillum"
Memory: 695.979207MB/s
Found "cillum"
Memory Mapped: 652.534646MB/s
Found "cillum"
File: 108.012938MB/s
I'm in spitting distance of searching through JSON @ 700MB/s on my machine
I just made it even faster
Skip to season/episode by index - JSONPath equivelent $.seasons[7].episodes[0].name
Found "cillum"
Memory: 743.182245MB/s
Found "cillum"
Memory Mapped: 666.378996MB/s
Found "cillum"
File: 99.085924MB/s
holy cow batman. I can tell my hardware is starting to struggle with it.
It won't run anywhere near this fast on an 8-bit arduino though
If I didn't have to keep track of an object depth I could probably get it over 800
Real programmers use butterflies
modified 29-Dec-20 16:22pm.
|
|
|
|
|
Be interesting on an UNO @16MHz
I'm not sure how many cookies it makes to be happy, but so far it's not 27.
JaxCoder.com
|
|
|
|
|
I'm about to compile it for the 8-bit ATmega2560 (on an Arduino 2560 mega board)
Here's the result on a little ESP32 wired to an SD card using the junk built in SD library (SDFat is faster)
Extract episodes - JSONPath equivelent: $..episodes[*].season_number,episode_number,name
Extracted 112 episodes using 23 bytes of the pool
File: 77.549124kB/s
Episode count - JSONPath equivelent: $..episodes[*].length()
Found 112 episodes
File: 78.140425kB/s
Read id fields - JSONPath equivelent: $..id
Read 433 id fields
File: 77.093699kB/s
Skip to season/episode by index - JSONPath equivelent $.seasons[7].episodes[0].name
Found "New Deal"
File: 78.314719kB/s
Read the entire document
Read 10905 nodes
File: 71.661763kB/s
Structured skip of entire document
File: 78.352448kB/s
Episode parsing - JSONPath equivelent: $..episodes[*]
Parsed 112 episodes using 4131 bytes of the pool
File: 72.595106kB/s
Read status - JSONPath equivelent: $.status
status: Canceled
File: 78.384612kB/s
Real programmers use butterflies
|
|
|
|
|
Here it is on an Arduino Mega 2560 w/ an ATmega2560 CPU @ 16MHz, 8kB SRAM
I want to get out and push.... but it works!
Extract episodes - JSONPath equivelent: $..episodes[*].season_number,episode_number,name
Extracted 112 episodes using 23 bytes of the pool
File: 22.345446kB/s
Episode count - JSONPath equivelent: $..episodes[*].length()
Found 112 episodes
File: 22.884773kB/s
Read id fields - JSONPath equivelent: $..id
Read 433 id fields
File: 22.004370kB/s
Skip to season/episode by index - JSONPath equivelent $.seasons[7].episodes[0].name
Found "New Deal"
File: 22.934196kB/s
Read the entire document
Read 10905 nodes
File: 17.259264kB/s
Structured skip of entire document
File: 22.920527kB/s
Episode parsing - JSONPath equivelent: $..episodes[*]
Parsed 112 episodes using 2981 bytes of the pool
File: 16.879354kB/s
Read status - JSONPath equivelent: $.status
status: Canceled
File: 22.893579kB/s
Real programmers use butterflies
modified 29-Dec-20 20:18pm.
|
|
|
|
|
Impressive
I'm not sure how many cookies it makes to be happy, but so far it's not 27.
JaxCoder.com
|
|
|
|
|
And they say Java runs anywhere.
Real programmers use butterflies
|
|
|
|
|
"Slows down every piece of hardware..."
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
What just blew you away ? - the formatting is a bit screwed - I take it you have achieved a performace increase - that is what drives you ?
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
I got 50-100MB increase in throughput depending on what I'm doing, with one optimization.
Real programmers use butterflies
|
|
|
|
|
You need to get your hands on that server that LTT was showing on their video yesterday. It was a 128 core, 2TB ram with raided nvme pushing through 30GB/s under Windows and knocking on the door if 100GB/s on Linux.
https://youtu.be/9MXhGABtuCA
|
|
|
|
|
Well now I know what I want for my birthday.
Real programmers use butterflies
|
|
|
|
|
Meanwhile, somewhere in Europe, an unkown noob implemented succesfully a JCombo Box in Java Swing lol
Haha you're making me depressed
modified 3-Jun-21 21:01pm.
|
|
|
|
|
Take heart. We all have to start somewhere.
What I'm doing to make it fast isn't even all that complicated. It's just combining two of the right things - in this case, memory mapped files w/ strpbrk()
Sometimes coding isn't about how "good" you are. As often as not it's about being in the right place at the right time. Half of the "good" code I write practically falls into my lap. The rest of the time I'm writing buggy garbage.
Real programmers use butterflies
|
|
|
|
|