What I did today

Makes me happy, found this :slight_smile:

Creating a 4D World: The Technology behind

vZp0ETdD37E

so similar to my old article
http://www.java-gaming.org/index.php?topic=29604.0

p.s and no he not use my idea, he have working prototype in 2009, we simple try some same crazy idea ^^

Hi guys! I’m looking for best testers for my android game.
I would like to know your opinions / suggestions.

Link: https://play.google.com/apps/testing/com.sortandsequence.android

Today, I discovered an ancient manuscript titled ā€œOn Shadowsā€.

Haha, just kidding :slight_smile: This (https://people.eecs.berkeley.edu/~ravir/6160/papers/p270-williams.pdf), unless I am very much mistaken, is the original research paper on shadow mapping. I just skimmed through it. It’s just so weird to read a research paper that’s more than a decade old on a technique that’s STILL widely used today. I was actually reading a paper on screen-space directional occlusion and this ol’ paper was cited, lol. And this paper was written, like, 24 years before I was even born!

The guy who wrote this paper (Lance Williams) is the same guy who invented mipmapping. A true genius!

Have fun reading :smiley:

Interesting video:

In case 60 min video is long for you:
Guy works for Microsoft 15 years was fired in 2014 with thousand other ppls
And now have own popular youtube channel
[spoiler](Because Microsoft dismiss ā€œTest departmentā€ so all testing do End Users XD)[/spoiler]

up:
IMHO: [spoiler]
So as you understand after dismiss Test department in 2014
all Microsoft product have Unstable patch’s and release’s ^^

It so strange that it happen in same time,
as some ppl decide that: ā€œtrow away $2.5 billion in a windowā€ is smart decision,

I can’t say that these events are interconnected,
but $2.5 billion did not appear out of thin air,
And 18000 people has been fired :frowning:
(ppl’s that work many years for company)[/spoiler]

Just listened to an iteresting discussion on zeno paradoxes. http://www.bbc.co.uk/programmes/b07vs3v1

Starts after 2 mins.

Edit: should work now

The link seems to be broken?

Just replace [icode]bbcradio4%20http[/icode] with [icode]http:[/icode] in the url and it works :slight_smile: In case you’re too lazy: here

Today I set up Amazon SES and Sendy on Puppygames as we prepare to move our mailing list from YMLP over to our own Sendy based solution. We’ve got 100k double-opt-in subscribers on our mailing list. It’ll now cost a couple of bucks to do a mail shot instead of a few hundred with YMLP.

Sendy is… difficult to set up. Amazon stuff is… also difficult.

Cas :slight_smile:

What I did today (and yesterday!): Played around with Physically Based Rendering (PBR) in Blender.
All within a ā€˜masterfile’ that has all the shaders I ever made (or will make).

@Longor1996 this looks really cool!

On another note, I’ve been spending the day trying to create an abstract way of detecting and handling 2D collisions between moving convex polygons… The way shapes are defined in the [icode]java.awt[/icode] package really isn’t helping, either. I feel like I’m constantly juggling between [icode]java.awt.Shape[/icode], [icode]java.awt.geom.PathIterator[/icode] and [icode]java.awt.geom.Area[/icode]… In the end, I may very well delete everything and start again from scratch, this time using my own definition of a polygon instead of relying on these classes, but this seems a little complicated. Would anyone know of a good paper on the subject? Most of what I found either concerns rectangles only, or deals with collision detection but not collision handling, which is, imo, the difficult part.

J0 :slight_smile:

Today at work I wrote a util to translate HTML entities into XML entities. The fun just keeps on keeping on!

Today IBM announced open sourcing their JDK.

me vs. unsigned long long int - 1:0

\o/

unsigned long long?

Did you know that an [icode]unsigned long long triple double short char[/icode] can be between 1 and 573.5 bytes depending on the hardware?

I prefer my [icode]unsigned long long triple double short char[/icode] 572 bytes only thankyouverymuch.

Browsing the source code of [icode]java.awt.Polygon[/icode]…


public Rectangle getBounds() {
    return getBoundingBox();
}

@Deprecated
public Rectangle getBoundingBox() {
    // snipped, irrelevant
}

Now I get that the second method is probably deprecated in order to change the name but… I wonder if the entire source code is full of examples like this? :persecutioncomplex:

Sometimes you can’t change name because of legacy)
and [icode]getBounds();[/icode] is part of [icode]Shape interface[/icode]

What I meant is the fact that the new methods just points to the deprecated one, and that just sounds plain cheap.

=)
java.awt.Polygon was created in 1.0
in 1.2 it Implementing Interface Shape
Shape have getBounds
getBoundingBox can’t be removed or rename by legacy support ^^

https://docs.oracle.com/javase/7/docs/api/java/awt/Polygon.html
https://docs.oracle.com/javase/7/docs/api/java/awt/Shape.html

getBounds and getBoundingBox
have same code, do you really want duplicate it?

Yes this looks better


public Rectangle getBounds() {
    // snipped, irrelevant
}

@Deprecated
public Rectangle getBoundingBox() {
    return getBounds();
}

but in any case it devs decision how separate code

p.s and even Open source Java have many bugs (not this small code style mistakes)
same as other big companys products - its natural