Please create an account to participate in the Slashdot moderation system


Forgot your password?

Comment: Specifically indie PC games (Score 1) 157

by tepples (#49758717) Attached to: Video Games: Gateway To a Programming Career?

That said, what Zuckerberg is saying may be right if kids are encouraged to play *indie* games?

And not just that but specifically indie PC games. Major video game consoles tend not to come with interfaces through which an end user can load homemade programs. (The reasons for this date back to a 1983-1984 recession in the North American video game market.) Debug consoles do, but console makers sell those only to financially stable companies that either A. have already published a few PC or Android games or B. are staffed by veterans of the traditional video game industry.

Comment: Re:Games (Doom) helped me into an IT career (Score 1) 157

by tepples (#49758645) Attached to: Video Games: Gateway To a Programming Career?

It isn't even possible to mod most games out there these days.

There are a couple reasons for that. One is that consoles' ease of use outweighs desire to play mods for a lot of users. Another is that publishers may have realized that people squeezing the last bit of replay value out of a years-old game by playing mods is competing with sales of the same publisher's newer games.

Comment: JavaScript (Score 1) 404

by tepples (#49753451) Attached to: The Reason For Java's Staying Power: It's Easy To Read

#2. Scheme is a Lisp, so if Java were a heavy weight one, we would have a widely adopted Lisp.

We do have a widely adopted Lisp. But it's not Java; it's JavaScript. JavaScript implements Lisp-like semantics, and its syntax is a C-colored fulfillment of the "M-expression" syntax concept originally envisioned for Lisp.

Comment: Java is dysfunctional (Score 1) 404

by tepples (#49753419) Attached to: The Reason For Java's Staying Power: It's Easy To Read

Java is not functional

Only because Oracle keeps breaking it. The Java virtual machine's security has proven to be Swiss-cheese enough that Oracle is falling back on the traditional video game console security paradigm (reliance on commercial code signing certificate authorities) rather than actually restricting what a program module can do.

Comment: Variable type, name, and constructor should differ (Score 1) 404

by tepples (#49753391) Attached to: The Reason For Java's Staying Power: It's Easy To Read

Foo foo = new Foo()

Which isn't necessarily good style.

First, the type name in a declaration can and often should be more generic than the constructor. It could be an interface that the constructed class implements or an abstract class that the constructed class extends. For example, you can do Map map = new TreeMap() if you're not going to call any tree-specific methods later on.

Second, why name the variable similarly to the class? Map enemies = new TreeMap() makes the variable's purpose easier to understand.

Comment: New mediums hereinafter created (Score 1) 219

Personally, it seems extremely unlikely to me that any person or organization would think it worthwhile to do something based on any reward requiring a monopoly more than thirty years down the road.

The amicus brief by Dr. Seuss Enterprises in Eldred v. Ashcroft implied that one key objective of a long copyright term is to cover adaptations into new mediums created decades after first publication of a work.

Comment: Re:It's not that great (Score 1) 404

by tepples (#49753269) Attached to: The Reason For Java's Staying Power: It's Easy To Read

typing them on many keyboard layouts that are not en-US is quite uncomfortable.

Doctor, when I do this with my arm, it hurts.

Rapidly switching back and forth between en-US and the keyboard layout for your native language can be uncomfortable as well. "Doctor, the contortions that I have to make between doing this with my arm and doing that with my arm hurt. I am required to do both for my job."

Comment: Re:Why no high motion LD/ED? (Score 1) 54

by tepples (#49751063) Attached to: YouTube Live Streams Now Support HTML5 Playback and 60fps Video

NES for example is 256x224

I have programmed games for the NES, and I can assure you that the NTSC NES picture is 256x240. The Super NES is most commonly 256x224 with the black borders you mentioned, and the Sega Genesis is 256x224 or 320x224. On these systems, the size in pixels of the part of the signal that fills the 4:3 frame is 280x240 (or 350x240 in the case of 320px mode on the Genesis), including some borders at the sides that most TVs cut off. The borders would be included in the video uploaded to YouTube, and these borders would still be smaller than the top and bottom borders on letterboxed videos that I see so often on the service.

480p is so-so, at least you have a full video pixel for each original, but the edges doesn't align so it's a bit jittery/blurry.

The nominal bandwidth of a composite signal is 4.2 MHz. The Nyquist rate for a 640-pixel-wide sampling of a 480i component signal is 135/22 = 6.136 MHz. So ideally, one would sample the NTSC signal at 640x240, line-double it to 480p, and let the encoder sort it out. But YouTube punted on this and allowed 60 fps only for high definition, causing flicker transparency effects in these classic games to be rendered incorrectly: either fully opaque or fully invisible.

Where there's a will, there's an Inheritance Tax.