Better HN
topnewbestaskshowjobs
Log inSign up

Flow

1,321 karma · joined Jul 11, 2009 (17y ago) · 690 submissions

Submissions

comment 10y ago · link · parent

Something like this?

https://youtube.com/watch?v=CqhL-BDT8lg

comment 10y ago · link · parent

FYI: It still doesn't work in Safari(9.1.1)

comment 10y ago · link · parent

There are plenty more warnings to turn on than what -Wall uses.

http://stackoverflow.com/questions/11714827/how-to-turn-on-l...

comment 10y ago · link · parent

Scrolling works fine in Safari unless you override the native functionality with a buggy/insufficiently tested script.

comment 10y ago · link · parent

Many news sites insist on Flash still. The shitty thing is that if you use the Developer menu in Safari and change user agent to iPad Safari they often play the video using html5.

comment 10y ago · link · parent

You comment is excellent. Thank you! It made me realize that I've actually been regarding games like Sudoku and Reversi like this for decades already. Having written programs to play both I find the games "solved".

What games do you find interesting to either just think of or to play?

comment 10y ago · link · parent

Ah, the Julia talk ( https://www.youtube.com/watch?v=dK3zRXhrFZY ) was just great. Showing the generated machine code is so hackerish yet so rare these days. :-/

comment 10y ago · link · parent

You forgot fixed stack location and size. :)

Basically every code on it it super-hardcoded for one thing.

Sure, you can use the zero page(the first 256 bytes of the memory) to act like 128 16-bit registers, but you know, it feels like a cycle waste most of the time. Self-modificating code is easier most of the time, but not reentrant.

comment 10y ago · link · parent

But you can use WIPR to get rid of ads, at least if you are on a 64-bit iOS device.

http://giorgiocalderolla.com/index.html

comment 10y ago · link · parent

Stick with Scheme for SICP.

As for the other Lisps, I think you should give them all a lengthy and serious try. It's worth it.

For Common Lisp, when you have learnt it a bit, get the book Let over Lambda. It's a great bus-ride read and, IMHO, is one of the best Lisp books I've read.

When you get to Clojure, don't be put off by the JVM and the harsh stack traces and unhelpful error messages. Look at the Rich Hickey video presentations and realize Clojure is its own thing. There are lots of smart and practical choices made in Clojure.

I've not had time to give Racket a try yet. But it seems a very nice language with good implementation, docs and community.

comment 10y ago · link · parent

I always fancied the EGA text mode of 80x43x16 colors. Much prettier than 80x50.

comment 10y ago · link · parent

It's a fine compiler for sure, but have you seen the generated C output? It's based on Henry Baker's Cheney-on-the-MTA compilation strategy.

https://wiki.call-cc.org/chicken-compilation-process

comment 10y ago · link · parent

Has any map provider, like Google Maps, changed Crimea to be part of Russia?

comment 10y ago · link · parent

If you have a pair of good headphones, try the dolby surround processed versions on this YouTube account. https://www.youtube.com/user/Kuokka77/playlists

Some are just great, some sound so spacious that I once thought I forgot to connect my headphones and the sound came from somewhere outside.

comment 10y ago · link · parent

Yes I have. It works ok most of the time.

comment 10y ago · link · parent

I have a very similar story. Have you tried any medicines against anxiety? It could be something as simple as magnesium and water. Or Atarax or Buspirone. I've discovered these reduce the chance of a headache breaking out by quite a bit.

But if there's a real tension/migraine headache, ibuprofen is the only medicine that I've tried that helps.

But these days I'm very careful about taking ibuprofen, it hurts my stomach and I've already suffered vitamin B9/12 deficiency once. Not fun at all.

comment 10y ago · link · parent

I still have one. It does 1024x1024 in 50Hz or 1024x800 in 60Hz. 4 greyscale tones.

Very good monitor for the time.

comment 10y ago · link · parent

ECS chipset Amigas could output VGA too.

comment 10y ago · link · parent

And to get performance good enough we need support from the browser vendors. I think Web Components and related tech might be it. It also offers isolation for both CSS and frameworks. With it you could mix-and-match existing user components easier than now. Many of todays framworks are "this is how the whole app should work", impossible or at least hard and fragile to mix and nest two frameworks with that attitude.

What do you think?

comment 10y ago · link · parent

How many mg magnesium do you take and when do you take it?

comment 10y ago · link · parent

Here's one of the pics in high resolution: https://i.imgur.com/9dfK0pK.jpg

comment 10y ago · link · parent

I know very little of how the ad business work, but everything on that blog seemed like "after the fact". Don't they look at the ad first then and approve it?

They make it sound like they maybe run the ad through some automated tests and then just send it out.

A decent human approver of ads would never approve an ad that looks like a big green button that says "Download now".

comment 10y ago · link · parent

The Mac App Store version of OneNote doesn't have the drawing tools. I could see things I written and drawn at work, using a Windows computer, but at home they were more like pictures than drawings.

comment 10y ago · link · parent

The file extension was .anim, It's probably a standard IFF ANIM file. It's a format that contains RLE encoded diff-XOR-data(so you can play the video backwards).

https://en.wikipedia.org/wiki/ANIM

comment 10y ago · link · parent

C64 version of Bad Apple. https://www.youtube.com/watch?v=fu7rRYkWsyk

comment 10y ago · link · parent

Is the hardware of the Raspberry Pi really fully documented? The GPU too? How about WIFI chips?

I've tried several times to make a tiny kernel for x86, but always feel it's either too old interfaces like the PIC, TIMER, VGA, IDE etc, or chip specific. I can't give my friend a bootable USB because he/she might have a different hardware setup.

comment 10y ago · link · parent

exec.library is a great design. The way programs know nothing except for AbsExecBase, and it points to a table of function pointers of which you have the offsets of.

In a sense it was a Component Object Model(COM) like the one in Windows. You call exec->OpenLibrary("name of lib", version_of_lib) and it returns a pointer to a table of function pointers of which you know the offsets of. It could even handle multiple versions of a library in principle. In reality makers of libraries just made sure the function table was the same, and added new stuff at the end.

You have to call CloseLibrary(libptr) to release the instance. Pretty similar to Objective-C's and COM's release().

OpenLibrary was allowed to return a different pointer for each call, but the early exec.library did not do this AFAIK.

Great design really. And how signals and message system works is just beautiful as well. I really get why Matt Dillon(of FreeBSD and DragonflyBSD) wanted something similar in the BSD kernel.

I still have the Amiga Kernel Reference Manual for exec in my shelf.

comment 10y ago · link · parent

I'd love to read an article about the various high-performance JS engines. Something like http://fabiensanglard.net/doom3/ but for Nashorn, V8, JavascriptCore and Firefox covering approach, policies, code quality and bug stats.

comment 10y ago · link · parent

> no need to actually run it, and it can't do any damage without being run

How sure about this are you?

Some common apps like Hangout and Facebook misuse iOS features to run in the background despite Background App Refresh is turned off, AFAIK.

comment 10y ago · link · parent

TypeScript(and even C#) is a huge step backwards compared to Clojure and ClojureScript. Immutability is a clumsy thing in TypeScript whereas it's concise and natural in Clojure and ClojureScript.

I doubt a bright person such as David Nolen would like to work with TypeScript as it is right now.

IMHO of course.

1
91011
23