Better HN
topnewbestaskshowjobs
Log inSign up

pnp

239 karma · joined Sep 15, 2010 (16y ago) · 37 submissions

Submissions

comment 1y ago · link · parent

Correct, I recall the stock ticker symbol was renamed to JAVA, but not the company.

2.

Distributed Latency Profiling Through Critical Path Tracing(queue.acm.org ↗)

1 points · by pnp · 4y ago · discuss

3.

Reed-Solomon Bug in Queqiao(destevez.net ↗)

3 points · by pnp · 4y ago · discuss

4.

Ask the Pilot Blacklisted from AdSense(askthepilot.com ↗)

3 points · by pnp · 7y ago · 1 comment

5.

The end of kindness: Weev and the cult of the angry young man(theverge.com ↗)

3 points · by pnp · 8y ago · discuss

6.

Spectrum and NexOptic launch Blade Optics ‘flat lens’ technology(laserfocusworld.com ↗)

1 points · by pnp · 9y ago · discuss

7.

Student given $4.6m in Westpac overdraft error may not have broken law(smh.com.au ↗)

2 points · by pnp · 10y ago · discuss

comment 10y ago · link · parent

I haven't seen that. I have seen a rotating camera of a castle spire with the Z buffer culling backwards. It looked strange as the castle seemed to be rotating the wrong way. I recall the skybox was rendered properly adding to the illusion.

Edit: I realize what I saw is a textured version of what you are describing.

comment 11y ago · link · parent

I can explain why this hits a nerve for me. When I was first learning about 3D rendering (in OpenGL/DirectX) I intuitively thought about the screen space being 2D. I was wrong, and it made me confused about a lot of issues, in particular, I couldn't understand why there must be a near and far clip plane.

The 3D perspective page http://webglfundamentals.org/webgl/lessons/webgl-3d-perspect... clearly describes the rasterization phase as having 3D: the automatic perspective divide and the triangle clipping to a 3D space. Clip space being 3D seems very strange if WebGL is only a 2D API.

My suggested patch would be to rephrase it for the beginner. "WebGL is largely a 3D rasterizing API and not a fire-and-forget scene rendering solution."

If WebGL were only 2D it would be trivial to implement 3D without shaders in <canvas> -- and that is not true, canvas cannot rasterize 3D triangles.

10.

Zork I for the Kindle e-Reader (almost)(codemystics.com ↗)

2 points · by pnp · 12y ago · discuss

11.

The Most Terrifying Thought Experiment of All Time(slate.com ↗)

36 points · by pnp · 12y ago · 82 comments

comment 12y ago · link · parent

I've experimented with adding sound to my TRS-80 emulator. It seems like the only workable solution is to use the ScriptProcessorNode callback as the sole source to timing and run the emulator from there. This will still jitter if Javascript is too slow. But if the emulator is too slow, then, there is nothing you can do except report it to the user.

The graphics are done on an ordinary timer which redraws based on the cached video state from the audio callback. JSMESS could probably do the same.

You'll always have a serious problem when there is more than one timer. If I could change the APIs, I'd add a requestAudioVideoFrame() timer callback where you would supply both the video (rendering) and the audio buffer for a given segment of time. That would also give the browser more control over the situation.

13.

Automated QA Testing at EA: Driven by Events(queue.acm.org ↗)

2 points · by pnp · 12y ago · discuss

comment 13y ago · link · parent

There was a browser written in Java in the past:

http://en.wikipedia.org/wiki/HotJava

comment 13y ago · link · parent

This is great news. I've been playing around with audio streams generated by script (DAC emulation) on Chrome/Safari and now I can try Firefox.

A key problem (and measure of quality) for me is reducing the latency. I've had trouble getting continuous sound with less than a quarter second of buffer. (Ideally, I'd like to achieve smooth sound with only 17ms of buffer/lag). Another browser to work with will help, and, maybe the IE team will take notice.

16.

Google Leak Hints at Game Center for Android(thenextweb.com ↗)

3 points · by pnp · 13y ago · discuss

17.

Client + Server - Passwords(tbray.org ↗)

1 points · by pnp · 13y ago · discuss

18.

Verifying Back-End Calls from Android Apps(android-developers.blogspot.ca ↗)

3 points · by pnp · 13y ago · discuss

19.

The App Developers Alliance(joelonsoftware.com ↗)

1 points · by pnp · 14y ago · discuss

comment 14y ago · link · parent

Certainly not legions but it is worthwhile to step into an Apple store and give your sites a try. I was surprised to find my canvas-based code breaking on the Retina MacBook Pro.

FWIW, the cause was getImageData(0, 0, w, h) returning 4wh pixels and not w*h as I naively expected.

comment 14y ago · link · parent

You are definitely thinking a step ahead. Being able to compile existing programs directly would be great. If someone is successfully using those translators I'd like to see it.

Porting or re-implementing these kinds of oddball programs is a way to explore the possibilities. How fast can Javascript really run? Are the graphics APIs sufficient? Should browsers support USB joysticks? Cameras? In other words, helping to see where the straightjacket is loose. And, ideally, encouraging the browser developers to cut some of the straps.

comment 15y ago · link · parent

Looks like two reasons. First to differentiate Lowe's from Home Depot which is using Motorola devices (Android?).

Second, I imagine they will use the devices as actual phones to contact the employees. No need to PA a clerk to pick up a phone. Just forward the call.

comment 15y ago · link · parent

Looks like Ford may have thought that way, but didn't say it: http://news.ycombinator.com/item?id=2938254

comment 15y ago · link · parent

The article goes on to point out how Ford successfully disrupted the market but then lost a lot of market share later by sticking too closely to his original plan.

comment 15y ago · link · parent

I found it on my iPhone by searching for "google social huddle" as that seems to hit the description.

comment 15y ago · link · parent

That's a good warning. My wife always did a quick spoon-to-her-lips check on the food temperature as precaution. Similar idea to squirting the milk on your wrist.

As always, pay attention to how the child reacts, too.

comment 15y ago · link · parent

Raymond Chen recently posted about 386 B1 problems. In the end Microsoft decided not to support it. I imagine most early 386 chips just ran 16-bit MS-DOS code.

Raymond's article:

http://blogs.msdn.com/b/oldnewthing/archive/2011/01/12/10114...

comment 15y ago · link · parent

I see a lot of interesting techniques here. I couldn't figure out is how writes are prevented to code areas in the sandbox. I'd guess they mark pages with code-bundles as read-only but I don't see any specific mention of it.

(The article does mention that the guard pages are set to no read/write/execute)

comment 15y ago · link · parent

I updated the page with a graph from FF4.0b9 which is a bit improved over b8. The Javascript is now respectively similar.

You're right about the 80/10 split. FF4's rendering speed is an outlier compared to Safari/Chrome/Opera on the same hardware. To better compare the faster browsers I'd need to run multiple emulators per page.

EDIT: b9 improved over 8, not itself.

comment 15y ago · link · parent

I'll update after I get my iPad upgraded. My guess is there will be little difference.

I didn't mention in the article, but I have run the emulator on the Wii's Opera browser and the PS3--both slow but the Wii is much faster. The XBOX360 hasn't heard about the WWW yet.

12