What I did today

There are 502 zeros.

The question is asking for the consecutive zeros at the end of 2016! <-- notice the factorial

Heh, that’s pretty funny actually lol

The trick is to count how many multiples of 5 there are in the series of numbers + how many multiple of 25 + multiples of 125 + …

2016! has 403 multiples of 5 + 80 multiples of 25 + 16 multiples of 125 + 3 multiples of 625 = 502 zeroes.

The reason for this is you can pair up any multiple of 5 with an even number to get a zero. 25 is 55 so there’s an extra 5. 125 is 55*5 so it’s a multiple of 5 and 25 and has an extra 5.

Hi, i think almost half year since my last activity here? :open_mouth:

Productive part: researching gossip and consensus protocol (work thingy)

Unproductive part: Halo 3 ODST

I used noctarius’ :point: borabora library to write a simple & easy to use archive (.pak file) format.

The CBOR graph basically just mirrors a folder structure. Files are zip-compressed and stored as byte sequences. They are also XXH64 hashed (via LWJGL3 bindings) on the fly during (de-)compression for easy file validation.

First tests with a game asset archive of ~120 MB (raw data: 280 MB, zipped data: 70 MB) look promising. The reader memory-maps the archive, and borabora’s queries seem nice&fast enough for pretty well performing lookups. I’ll see how well it performs when I get to put all of that into use with Pathway.

That’s the reader’s full public API so far:

try (PakFileArchive archive = new PakFileArchive(Paths.get("archive.pak"))) {
		ByteArrayOutputStream bytes = new ByteArrayOutputStream();
		archive.read(Paths.get("path/to/asset/inside/archive.txt"), bytes);
		System.out.println(bytes.toString());
}

Oh! Never saw this flaw. https://t.co/jgra2x0dZX

Interesting. Also interesting that Eclipse’s compiler does flag the Unsound class on page 3 as an error:

[quote]The method upcast(Unsound.Constrain<U,B>, B) in the type Unsound.Bind is not applicable for the arguments (Unsound.Constrain<U,capture#1-of ? super T>, T)
[/quote]
EDIT: About javac. Yeah, javac of 1.8.0_112-b15 SDK says everything is okay with the Unsound class.

I hadn’t tried it yet. You try javac?

Interesting…that probably mean this isn’t new to everyone. (I get the same error BTW…but no surprise I’ve the latest eclipse).

EDIT: Figure 3 does compile, but not Figure 4.

IntelliJ gives me an error at the bind.upcast call saying parameter B is not within its bounds, should extend U.
Javac compiles without a problem though, and I get the ClassCastException.

Wrote a cheap real time 60FPS smoke generator (kinda like cigarettes or candles)
Jitter and bad framerate in the following gifs are not my fault ::slight_smile:

https://s11.postimg.org/ezqijilkj/output1.gif

https://s11.postimg.org/41f91bwz7/output2.gif

I put in the buttons on my arcade cabinet. It’s coming along nicely! The buttons all worked right away, so that was cool. Here’s a pic of them:

And here’s a pic of it put together playing my Arc game:

Next up-putting the t-molding on and putting in the speakers.

Yesterday and today I’ve worked on my rendering pipeline, and especially the lightning part:

ZMa758SgYm4

In this test scene I placed 256 spheres which represent lights, which are either point lights or spot lights. For the spot lights, I add every update cycle a random fraction to the x, y, and z axis of the direction and renormalize them to get some random displacement (some may be facing upwards in the video :persecutioncomplex:).
I’m using deferred rendering with (currently) one pass per light source. I’m going to optimize this a bit, but it’s a good start. The lightning itself is based on the phong model.

Nice cabinet, but are you sure, that you put in the panel in the right orientation? From the curve of the buttons, I would guess, they need to be the other way around… :persecutioncomplex:

I made a Chrome Extension version of RFLEX

And almost instantly got issued a DMCA by the almighty wessles

Maybe you should throw in some ambient occlusion. SSAO is almost a must-have for any game engine these days. Of course, you should probably optimise your lighting first, before implementing any performance-intensive techniques like SSAO or anything.

Fidel Castro is dead at the age of 90.

http://puu.sh/suUBh/08f6701b77.jpg

Completed my first map for my VR FPS :slight_smile:

That’s what you did today?

Hmm… Are you using Unity editor or other tool for that? :slight_smile: