What I did today

Update on the rc radio :smiley:

Added a LCD display (the cheapo nokia 5110 type) and a not yet wired up joystick to my radio…
On the left is a 6 pin programming interface and to the right the on off switch, everything professionally glued in with hot glue ::slight_smile:

The display will show telemetry data once i have a non-dummy version of the counterpart.


The insides before adding the display, wires are all over the place, repairing this will be a pain :-X

Now i need to move the transceiver (middle left in the picture) to the top and add a proper antenna to get some range boost and hope the spi interface will not act up once i have the transceiver and the display connected at once…

Thanks, I’ll put it on the TODO list :wink:

Have you ever tried cramming values for different elements into just one variable?
Whilst coding for the Arduino, I managed to represent 11 objects, each with a type (0-3), an x-pos (0-127) and a y-pos (0-63)… into 21 bytes. I even had 4 bits left to also add a timer in there :slight_smile:

(doing that with 16-bit ints and booleans would’ve taken up to 68 bytes)

Yeah, i use bitpacking for the radio data packets, never had any problems with memory/flash usage or execution speed though.

Had fun porting my little toy expression evaluator from HotSpot/Desktop with objectweb’s ASM library as code generator backend to Android with Dexmaker.
It’s ~40 times faster than exp4j on an Android ART device.
Tested with Apo’s expression: [icode]2^((14-x+t)/6)-sin(x+t)2^(x/2)(1-1/(1+20))[/icode]

EDIT:
When not using sin(), the following expression: [icode]2^((14-x+t)/6)2^(x/2)(1-1/(1+20))[/icode]
is even 100 times! faster than exp4j on Android. On a device with the Exynos 8 Octa (8890) ten-thousand invocations take ~3.5 ms. vs. exp4j with 359.8 ms.

Friend sent me this great java error.

Ha that’s awesome!

Arrived on this page; read orange451’s message; gave him a medal; scrolled down; scrolled back up before closing tab; re-read orange451’s message; tried to give him a medal again.

I’m tired.

Terrain shenanigans.

Simple linear texture blending. Looks blurry as hell.

Advanced heightmap blending. Note how the grass fills in the cracks as it fades in instead of being blended in.

Automatic PN-triangle tessellation. Notice how nice and round the edges look instead of the obvious sharp edges from before.

Found a bug in OSX El Capitan lol

The Invisible Finder Window! (Proceeded to crash Finder)

These errors are my favorite. Especially when it’s 3 AM and you just want to feel the sweet release of sleep.

Nice job, works well. 8)
I was looking for a maths expression parser years ago and no free ones existed until some smart JGO people made some interesting alternatives including woogley, Riven and pjt33:


However their versions didn’t include more advanced functions such as sin and cos, unlike yours.
Using some of the strange corner cases that people dreamed up in that thread, I see that your version outputs:
2^3^4 = 4096 rather than 2.4178516e+24
-2^2 = 4 rather than -4. But MS Excel also has this bug and it has never been fixed.
Cheers,
Keith

I used JSmooth for the first time to build a launcher. Impressed! Worked perfectly. (Disclaimer: I use embedded JVMs so I don’t know how effective all the fancy system JVM finding / downloading fares)

Cas :slight_smile:

Nice catch! Fixed both.

EDIT: Also quickly added support for implicit multiplication.

More texturing.

Impressive!

Uploaded a Jam I had with my buddies 3 weeks ago:
5MhOYv-ymYU

I am the guy in the back on the right abusing the Novation Curcuit 8)

Had a mock interview for oxford today , here is a fun little question how many consecutive zeros are there at the end of 2016!?

I’m going to risk looking like an idiot in front of everyone because I want to know what the answer was.

My guess is an infinite amount of zeros because 2016 is technically 2016.000000… so on.

gib answer pl0x

That would be 6. ::slight_smile: