Better HN
topnewbestaskshowjobs
Log inSign up

rtf

189 karma · joined Feb 2, 2008 (18y ago) · 81 submissions

Submissions

comment 18y ago · link · parent

The JVM should be acceptable for client apps, but its implementation footprint is bulky in most respects(download, memory consumption and startup times) and it has never attained the kind of first-class browser integration and bundling that Flash has.

OTOH Flash performance is quite good now, and I wouldn't dismiss it out of hand. The bottleneck for most apps is in software rendering, not code performance.

comment 18y ago · link · parent

I'm still waiting on the type system.

comment 18y ago · link · parent

Yesterday I was riding my kick scooter home and the front wheel caught on a crack and I fell and got one stitch in my left knee and some minor cuts and bruises on the face and hand.

My lesson: one can't be overprepared for an accident. Also: having huge crowds of people come to your aid is awesome.

comment 18y ago · link · parent

I use Mint. It's Ubuntu plus a better initial configuration and some custom desktop tools. My first impression of it, some years ago, was that it was the first distro I had used that correctly played back all my movies out of the box.

comment 18y ago · link · parent

It's something in our society that makes us feel obligated to save the world. But it's not as if our lives can be played like a video game where whoever does the most for others gets a high score. We just live in the world, and pursue our goals as best we can.

Put another way: In general, you are probably effecting a positive change if you are making money and are not in trouble for doing so.

comment 18y ago · link · parent

This is good advice. Founding a business takes skills, desire, and vision. Knowing what people actually need(rather than guessing) is part of the vision.

comment 18y ago · link · parent

Things that have worked for me:

-Stop using a mouse. Use a trackball or a trackpad or anything else. I have a death grip on mice and I bet others do too.

-If you have to use a mouse switch your mousing hand. Deal with the fumbling and inaccuracy. You'll figure it out.

-Lean farr back in your chair(legs propped up) and rest your keyboard in your lap. Shift position occasionally.

-Move your monitor so that you look in different directions. Laptops are great for this and that compensates for their other ergonomic problems. You can usually find a way to move them higher or lower and correspondingly shift the strain.

comment 18y ago · link · parent

I've studied the ideas around Subtext for a while. It's worth reiterating(if the videos and papers don't make it clear enough) that Subtext is really focused on exploiting the benefits of decision tables by expanding upon them and adding the complete set of constructs in addition to logic.

Decision tables, by the way, _work_. If you haven't tried them, it will only take a brief perusal of Wikipedia to get the concept. Their benefit is that all logic is represented in a single table: if every entry in the table has been filled, all cases are covered. Much easier to read than linear code, much less prone to error.

You can write your own decision table by hand in a spreadsheet program. But above a certain level of complexity(the point where you really, really want correct logic the first time) a complete decision table becomes very time-consuming to write by hand. By design it will still give more correct results than just hacking away, but automated approaches become very appealing. Decision tables were researched for a while in the 60s and early 70s, but were abandoned presumably as the field moved on to more prestigious topics.

Subtext's so-called "schematic table" does much to add the necessary automation - the next step in making it production-worthy would be to port such a system to output code in existing languages.

comment 18y ago · link · parent

The internet is built on free-or-nearly-free operation. That's the beauty of it and I don't think Web 2.0 is likely to fall apart any time soon because of it. As the author says, the VC-funded "get big fast" sites will face some major challenges going forward, since the market has proven itself transient and eager to move on when things take a wrong turn(the growth of news.yc is attributable mostly to refugees of other sites moving in), but those companies are really a sideshow to the main event, which is happening in little fits and starts and niches.

I feel that the real stars are usually operating fairly quietly, building on a primarily-open model rather than a walled garden, and creating strong businesses in a highly traditional fashion: by being the best around. (cue the Joe Esposio song)

You can still build a stable foundation on an open model if your company holds the expertise in the technology; your immediate competition is likely to be arrogant and compete in the sprint for the walled garden, rather than the marathon for the open model. (other companies working towards an open model are collaborators toward a standard, but competitors in services. Hardly an unusual situation.)

If the competition gets a lot of momentum in an inelastic product(for example, operating systems or instant messaging), that can kill you early on, but over the long term the most-open player usually becomes disruptive and causes the marketplace to expand with a new set of services. That is my observation of most such situations in technology.

comment 18y ago · link · parent

My diet principles:

1. Eat a variety, particularly with respect to fruits, nuts, and vegetables. If you can't get them in natural forms then at least go for processed combinations. Uniformity of diet is a symptom of agricultural society and should be avoided.

2. Make eating a priority after you wake up. Eat a few hours before bed so that you wake up when you're hungry.

3. Rely on protein to make a meal filling - in whatever form it takes, milk, soy, whey, meat, fish...

comment 18y ago · link · parent

There is an interesting catch in the C/C++ part of that comment.

Why is the game industry using C/C++?

"Because they need the highest possible performance."

Why do they need that performance?

"To look better than the competition."

Why is looking better than the competition important?

"It sells better."

Why not do other things to sell better and get a better time-to-market with a slower language?

"Too risky."

And the entirety of console gaming has bought into ideologies of low risk, top-to-bottom. The systems are either underpowered or just plain difficult to develop for, the publishers impose boneheaded ideas, and the additional manufacturer requirements increase the costs, but the perceived benefits of a system with low piracy and high retail impact make everyone buy in, again and again. The burden always falls on the developer to suck up the worst excesses and ship something workable. And this in turn encourages a dogmatic developer ideology where one accepts "nobody ever got fired for buying IBM" type stuff because of perceived risk. C/C++ is just one of those things.

I'm inside this system now... and while I like the company and am satisfied with the job, I would love to see it all break apart. It's a nasty system and we get the short end of it.

comment 18y ago · link · parent

I don't really see a need for this; I can use haXe to get the additional interoperability Yegge refers to with Rhino/Javascript, and I won't have to use the JVM to get it.

That he pooh-poohs all static languages by pointing to some excess of Scala and using a slippery-slope argument from there doesn't really help.

Plus the verbosity.

comment 18y ago · link · parent

I integrated Lua once for a project of my own. But on this project the choice wasn't mine - we ported over existing technology to a new console to meet a five-month ship deadline.

Also, Lua is imperfect for games: Squirrel is considerably more attractive because it is designed to work in real-time situations(no GC interference). I also had issues with Lua's error-handling.

comment 18y ago · link · parent

Forcing a market to commodify by being the first to offer a commodity product is a reasonable goal for a business... I've been toying with this as a source of startup ideas and in the last week or so I've gotten seriously interested in a strategy to commodify virtual worlds. The tech required is pretty big, though, so I'm going to keep it in a pre-commercial, research stage until I have something to show.

comment 18y ago · link · parent

On the game project I'm working on(as a designer) we use an internally developed scripting language that was originally meant for simple timelined cinematics. It was, according to the author, made in one day.

Each line gets a time in seconds followed by a call on some entity: hello world is "0.0 Script:Print("hello world")". The syntax quickly gets verbose from there - and no multi-line statements allowed!

Some of the flaws of this language:

-Miserable computational abilities. Until just this morning we were unable to add two numbers together. The main limitation is poor access to information - getting things like the x position of an entity requires a language extension - an easy one, but when it's not there....

-A vague notion of types. Variables attached on entities are typically enclosed in quotes: "true", "100", etc. But in arbitrary instances you can also use space-delimited vectors, for example: Script:Goto(100) or Entity.SimpleMovableInst:SetPosition(0 0 0). If you use the wrong thing, you will be lucky to get an error message. Usually it just silently fails.

-Lexical macros. These were added in order to cut down on the number of custom scripts we were using: instead of cut-and-pasting "switch1...door2....etc." variables we could say "$[target]" and it would be replaced at runtime with the contents of variable "target" on that entity instance. But they have the effect of giving a lot of false errors in the cases where we don't need to use those variables on a rich, multi-purpose entity. Worse, if I forget to add a variable necessary for the script, that instance will fail and I may not realize why.

-The parser doesn't recognize delimitation of strings, among other things. Putting a colon inside a print statement causes an error message.

It is no surprise that endless grief has resulted from these various flaws. I fixed bugs resulting from all of the above just today.

It works fine for timelines, but I'm hoping to get Scheme(or something with similar potency) for the next project.

comment 18y ago · link · parent

Not a whole lot, but compiling to the machine is a more difficult task than writing an interpreter. "Just-In-Time" VMs (Java and Flash 9 both do this) do some amount of this compilation as the program starts and executes. That lets them strike a balance between startup time(running a full compile can be quite slow) and execution speed.

comment 18y ago · link · parent

Some notes:

-It's built in tandem with a OS, Isaac, that is using the OO features as a central part of the design.

-It's not complete yet. It's a few years into the project, but the specification may still change. So it's more interesting toy than production-ready right now.

-It compiles to C code and can directly inline C statements with a simple backquote syntax so it has good compatibility with existing systems, even though it's meant for a research OS.

48.

Lisaac - prototype OO for systems programming. C-like performance.(isaacproject.u-strasbg.fr ↗)

1 points · by rtf · 18y ago · 1 comment

comment 18y ago · link · parent

pngout does slightly more aggressive compression.

comment 18y ago · link · parent

If you meant Blender then your offhand remark of "was it ever improved" kind of missed the mark: http://www.bigbuckbunny.org/ is the second open movie project based around Blender - this one and the first, Elephant's Dream, have pushed major improvements into Blender. They're doing a game project next. The commercial packages can still claim a lot of additional features, but Blender is clearly catching up.

comment 18y ago · link · parent

I don't know, how about every subject?

Multiplication. Long division. Algebra. Geometry. Trig. Calc.

I was never very motivated to study math. The problem was, my older brother was very into it(and now is a math grad student, ever-so-slowly getting his thesis together). This set a model that I could not hope to emulate, but it only meant my mom pushed me more, talked to the school to get me into the advanced/accelerated classes I didn't really want to take. She probably would have done some of that without my brother around, but not as much.

This led me down the "please the parents" line of study, which naturally meant some surreptitious, embarrassed attempts at cheating. This only made me feel worse, of course.

In college I started into computer science, thinking that I at least liked the programming. But integral calc sunk me for good, and in a particularly bad quarter that was my low point, I tried taking linear algebra as well as a repeat of calculus, thinking that perhaps the extra pressure would do something good.

Of course not. I dropped linear algebra and failed calc again. After that, I decided to declare in economics, restarted calculus with the "ez-for-econ-majors" series and sailed through those courses with a solid B average. I struggled through, but passed on the first try, the two intermediate econ courses which started introducing serious mathematical modelling. The remainder of the major was electives, and not difficult ones.

I never knew, until after that whole period of my life was over with, exactly what was holding me back. Now I'm pretty sure that it's about motivation and dedication. My brother is fairly normal but can get interested enough in math problems to sacrifice his well-being. The genius researchers of the field sacrifice well-being regularly, without really knowing it, and are typically slightly unhinged socially.

As for myself, I tend to run away from a challenging math problem. So, even if I'm forced to tackle it, it will probably take me 10 times as long to solve as it would my brother(not even factoring in his years of experience now). Once I overcome those hurdles particular to a new category of problem I am fine, but I have to take considerable effort to do so.

Summing that difference up over a long-term period like that of a college course, the best students can zoom far ahead because of this motivation factor, even if they aren't necessarily the _smartest_. Indeed, many math students reach the upper-division levels on memorization alone and get stuck from there, as proofs take on more and more importance. That's a major failing of current math education in the United States - overdependence on rote techniques. (The former Soviet educational system, OTOH, had probably some of the strongest math education, and much of it has been translated to English - pick up a book from that period and you will probably see a small and dense text that introduces high-level concepts in great, if unforgiving, detail. Very different from the thick drill+practice textbooks I'm used to.)

My conclusion: many academic fields can accommodate a half-hearted practice. Math is not one of them. And our society doesn't respect that difference, shoving it under the rug as "I'm just not good at math."

comment 18y ago · link · parent

Another vote for Flash. FlashIDE and Flex aren't the only options too, haXe (http://haxe.org) is quite viable as well and has a lot of features and flexibility that make it my first choice. With swfmill the graphics can be made as svgs.

comment 18y ago · link · parent

There are two extremes, neither one better than the other:

The proposed extreme is to encourage community via personalization. I personally disagree with this: web sites are typically too big to be communities in a natural sense. What you will get is increased visibility for a small elite of spam-heavy commentators.

The other extreme is 2ch-style anonymity. This is open to mob abuse, but it also discourages powergaming.

The core issue is how to continue scaling the system to match interests when they reach hundreds or thousands for every front-page story. news.yc is getting there already....

comment 18y ago · link · parent

My experience as a native resident of San Francisco(22 years, but the last few mostly spent out of town for college/work) is that most of the people residing there are _tourists_.

That is, people who come there(and many different people do, the turnover is high) also tote along some baggage of what they think the city is about. Vision meets and gradually becomes reality as the newcomers act out their desires, to varying degrees of success. So there is a sort of flow at work. Realization of all the various lifestyles present is a multi-decade process. Plus it changes quickly and incrementally, so as to become nearly unrecognizable. I'm still nowhere near a full comprehension of my hometown.

The broad strokes pg paints in this essay seem more reminiscent of college lifestyle than the character of entire cities. A four-year college is able to concentrate those kinds of ambitions precisely: everyone is at roughly the same few stages of life and so can quickly find common ground.

But in a city, things quickly collide.

comment 18y ago · link · parent

I've been using a model n200 from Lenovo's 3000 series(the consumer ones, a grade below Thinkpads) and am relatively pleased. Build quality is lower than a Thinkpad, but I've had no trouble using it daily since last summer, toting it around, scratching it up....it's taken one fall, and the only thing that happened was the battery came loose.

Main caveat: have to baby its airflow so that it doesn't overheat. Vista will throttle on overheating, Linux won't, at least not the kernel I'm using.

comment 18y ago · link · parent

Last Sunday I walked through San Jose, about five or six miles.

I got sunburned.

comment 18y ago · link · parent

Ads are uploader-controllable. Almost every feature in blip.tv is optional and that's what I love about it. Far more featureful than Vimeo or anything else I've seen.

comment 18y ago · link · parent

This is a somewhat blunt way to put it, but it has to do with "you weren't paying attention to the Adobe Open Screen announcement on May 1st." SWF, FLV, and AMF were all freed then and, apart from developers already working with Flash, it didn't seem to make great waves because of the sudden, low-hype nature of the announcement. A lot of the comments that day - here and elsewhere - were confused, cynical remarks along the lines of "I'll believe it when I see it," when they had _already_ put everything up.

The direction of Flash has been towards greater openness since around the time Adobe acquired Macromedia in 2005: One year later they released a new major version(9) with a new VM and a completely refactored API, and along with that they released an open source Flex 2 compiler.

Adobe would probably open source their own player and ensure it becomes the "de-facto standard implementation," if it were not licensing-encumbered.

comment 18y ago · link · parent

I habitually put my feet on the edge of the desk at work. I find that I just can't stand the stress of other positions. I already have scoliosis; why should I make my suffering worse?

comment 18y ago · link · parent

The endgame for any "platform" software technology is an open, freely available, ubiquitous spec. Flash is, within its current domain, ubiquitous and free-as-in-beer. Only the open part is missing...

And that means that it could be dethroned on mobile devices: unique Flash builds everywhere will increase the cost of the platform over time, become a support nightmare, and eventually make users switch to a more open alternative. As it stands platforms other than Windows and Mac are second-class citizens, either having buggy/lowered performance(Linux), or supporting only older versions of SWF. (Wii Opera, mobiles) This is not a good track record.

So Adobe should be applauded for this move. They aren't stupid, and they still will have some control over the spec into the near future, since they possess the premier dev tools. (I love MTASC/haXe/SWFMill, but must admit that they have shortcomings.)

123