Better HN
topnewbestaskshowjobs
Log inSign up

SimHacker

914 karma · joined Sep 12, 2010 (16y ago) · 607 submissions

Submissions

comment 14y ago · link · parent

From "Brendan Eich, Prop 8 and homophobia" at http://blog.tommorris.org/post/20456932620/brendan-eich-prop... :

Now, I know it’s very difficult for people to understand, but there’s a very simple and easy way to never be called a bigot or a homophobe: don’t do bigoted or homophobic shit, like, for instance, giving money to a campaign to deny people basic human rights on the basis of their sexual orientation.

[...]

A few people expressing their disappointment with Brendan’s actions on Twitter and other sites is absolutely not anything like bigotry. Saying it is means you don’t understand. That’s what makes me most angry: that people don’t fucking listen to people in the LGBT community or seem to understand the reason why we are angry.

And, no, you don’t get to tell me to calm down or that I need to “tolerate” people who are oppressing people in my situation. No, sorry, that’s worse than supporting Prop 8. Homophobia? Sure. Whatever. That sucks and makes you stupid and disappointing. Telling me that I have to keep my trap shut about oppression because the oppressors are actually the oppressed… that’s just grade A bullshit.

This isn’t Fox News with all that “there are two sides and the truth is somewhere in the middle” crap.

Brendan Eich’s actions are homophobic and disappointing.

[...]

Lack of equal rights does material harm to gay people. People are not able to live with their partners due to shitty immigration laws or access health services. Lack of equality in law permits every minor-league bigot from the schoolroom to the boardroom the feeling they have a right to tease and torment. When the suicides stop and the violence stops, maybe we’ll talk about how the homophobes are the victims too. Until then, in order to seem fair and balanced and above-the-fray, people miss the whole reason why this is an issue.

comment 14y ago · link · parent

Brendan refuses to share his side of the story. I asked him on his Facebook page and in a personal message, and he deleted the post and blocked me.

Friends of mine who know him say that Brendan subscribes to a lot of crazy ideas. So no, it's not a big misunderstanding that he supports Proposition 8 and hates gays.

comment 14y ago · link · parent

Oh yeah, you could whip a sweet little Forth system up for this processor.

The first thing to do is to write a DCPU-16 assembler in Forth, and use that to write the primitives. That's pretty simple -- just look at the 6502 assembler: http://www.forth.org/fd/FD-V03N5.pdf

Some Forth systems have metacompilers so they can retarget themselves to different architectures. http://www.ultratechnology.com/meta.html

Using a metacompiler with a Forth DCPU-16 assembler would be the best way to go. Then you could easily experiment with different threading schemes, stack architectures, etc.

comment 14y ago · link · parent

And it will enable countless years of productivity!

comment 14y ago · link · parent

Can't wait to see FORTH running on this CPU!

FORTH ?KNOW IF HONK ELSE FORTH LEARN THEN

comment 14y ago · link · parent

And here is layered game, SliceCity: SimCity inside The Sims 1:

http://www.simslice.com/Slicecity.htm

Description: Slice City - "the other city that never sleeps". This city is awake and alive with hustle and bustle 24/7! Citizens use businesses, homes, parks, etc. for work and play, and these all cost you money to maintain. The happier the little people are in their habitat, the harder they will work, and the more profit you will make from them. Well-maintained cities can encourage more citizens to move in there. This will not only increase your population, but also your city size... and your profit margin. Cities that are neglected or not well-maintained will cease growing, or slowly deteriorate until they are nothing but piles of rubble. Using the various "disasters" (including a tornado option) can do that in much less time. ;) So to maximize your worker's output, keep all structures "refurbished". Your citizens may even help you do that on occasion too. And if you need more help, ask The Gardener. :)

The citizens also need power from the Power Plant to do any expanding. The Power Plant started in the "ON" position, but you can "Power it down" (by clicking on it) to stop your city from growing any further, and to keep your daily profits/costs stabilized (good for those that like the small town feel). "Power it up" again to allow for potential growth to resume (good for those that like the larger city life). City costs, profits and growth (if any) are calculated each midnight (between 11:55pm and 12:05am).

Lastly, click here for a few Slice City Gameplay Tips. If you come up with a good one, let us know and we can add to the list. We also have extra addon objects for you on our Slice City Addons Page. We sincerely hope you enjoy this, and if you have any questions or comments, please contact us :)

It even has its own add-ons:

http://www.simslice.com/Slicecityaddons.htm

comment 14y ago · link · parent

Well, Spore is a multi layer game, but it's "Massively single player", and it didn't manage to couple the layers as well as was originally hoped.

One problem is that the different layers want to run at different time scales, so you have to decouple the flow of time of each layer, and somehow reconcile things when you move up and down between them. And of course a multi player game can't have the same clock for everybody, so players will get out of synch with each other. Spore avoids that problem by not synchronizing player time, just sharing user created content asynchronously.

comment 14y ago · link · parent

Oh, owch. You had to go mention "The Sims: Urbz", didn't you? I was hoping that was long forgotten. But yes that's a very good analogy between SimCity Societies and Urbz. An unfortunate case of brand dilution: Societies was developed by an outside company, and it didn't have much to do with the original game.

comment 14y ago · link · parent

The naming convention from SimCity 2000 => SimCity 3000 was not sustainable. The name SimCity 3000 was an over-promise, and should have been simply SimCity 2001. (See my above comment about Maxis almost running out of money trying to deliver on the promise of a version of SimCity 3000 that was 1000 years more advanced than the previous version of SimCity 2000.)

comment 14y ago · link · parent

Well, SimCity "classic" was 2D top-down square tiles with flat terrain. SimCity 2000 was orthographic with terrain elevation but essentially 2D sprite graphics.

Maxis announced that SimCity 3000 was going to be full 3D, and in fact demonstrated early versions of it to the press, but the project was too ambitious, took far too long, and the technology was not quite there yet. Maxis almost ran out of money before they could ship it.

At that point EA bought Maxis, fired all the people who had been fucking around for years trying to implement the full "VR Cyberspace" experience instead of just the next version of SimCity, reverted to the original design of a sprite based version of SimCity instead of full 3D, invited the reporters who they'd shown the 3D SimCity and explained that now it was going to be 2D like SimCity 2000 but with higher quality graphics, and they finally delivered SimCity 3000.

Going 3D at that time in history meant that the quality of the graphic would take a huge hit, as well as the rendering speed, and fewer people would be able to run it because it would require a high end computer, so it was just not worth it.

Using 2D pre-rendered sprites means that the artists can use as many polygons, rich textures and lighting techniques as they want in 3D Studio Max, and tweak them until the sprites look perfect, and that's exactly what the user sees. You just could not approach anywhere near that quality with 3D graphics at the time. Of course things are a lot different now!

That was during the time that The Sims was also in development. One reason The Sims was successful is that it did not try to be full 3D, and ran well on low-end computers (the old computer that little sister inherits from big brother when he upgrades to a gaming machine). It used a hybrid 2D/3D system of z-buffered sprites, with an orthographic projection constrained to four rotations, three zooms, and only the characters were rendered with polygons into the pre-rendered z-buffered scene, using DirectX's software renderer.

I developed the character animation system and content creation tools for The Sims, and when the EA executives were reviewing the technology to decide if they should buy Maxis, to justify our approach I bought them a copy of Scott McCloud's book Understanding Comics, which explained a concept called "masking" -- http://www.themedianinja.com/glenn/legacy/default_links/anim... ...

Hergé's Tintin comics are a great example of how that works: The idea is that by making the background environment very realistic (i.e. rich pre-rendered sprites from high poly models), and the characters themselves more abstract (i.e. efficient real time 3d texture mapped low poly models), the readers (players) can more easily project themselves into the scene and identify with the characters. Much in the same way an abstract happy face can represent everyone, while a photograph of a person's face only represents that person.

The other fortunate consequence was that it was easy for players to create their own characters and objects by editing the textures and sprites with 2D tools like Photoshop, without requiring difficult 3D modeling tools like 3D Studio Max, so that enabled a lot of user created content by kids instead of professional artists, which was essential to the success of the game.

After looking at the "SimCity Announce Trailer Insider's Look" -- http://www.youtube.com/watch?v=T70evBJE93s -- I have high hopes for the new version of SimCity, and I think it could be better than even the original ambitions of SimCity 3000. The best indication that it will be great is that Ocean Quigley is still the creative director, who's the original art director from Maxis, and he's also the one who came up with the hybrid "holodeck" idea that The Sims used.

He's giving a talk about it at GDC called "Inside the Glass Box": http://schedule.gdconf.com/session/13473480/Inside_the_Glass...

comment 14y ago · link · parent

Our culture would benefit greatly if religious people were immediately locked up and sedated. They ARE crazy and harmful to those around them, and humoring them is bad for society.

comment 14y ago · link · parent

The late Andy Witkin's classic SIGGRAPH paper on reaction diffusion textures: http://www.cs.cmu.edu/~aw/pdf/texture.pdf

We present a method for texture synthesis based on the simulation of a process of local nonlinear interaction, called reaction-diffusion, which has been proposed as a model of biological pattern formation. We extend traditional reaction-diffusion systems by allowing anisotropic and spatially non-uniform diffusion, as well as multiple competing directions of diffusion. We adapt reaction-diffusion systems to the needs of computer graphics by presenting a method to synthesize patterns which compensate for the effects of non-uniform surface parameterization. Finally, we develop efficient algorithms for simulating reactiondiffusion systems and display a collection of resulting textures using standard texture- and displacement-mapping techniques.

comment 14y ago · link · parent

Oooh, enigma, submarine patent, U-110 so funny! http://instantrimshot.com/

comment 14y ago · link · parent

Here's a font that appears to be hand-drawn by a person suffering from megalomania: http://www.fonts101.com/fonts/view/Uncategorized/34398/Dijks...

comment 14y ago · link · parent

Congress will soon pass a law that makes it illegal for consumers to get brain damage from cell phones.

comment 14y ago · link · parent

Check out some of the circular city patterns around Amersfoort, Netherlands -- and of course Amersfoort itself is circular but older and more organic: http://maps.google.com/maps?q=Amersfoort,+Utrecht,+The+Nethe...

comment 14y ago · link · parent

Genshi is a much better replacement for Kid. http://genshi.edgewall.org/

comment 14y ago · link · parent

Are you joking? It requires you to use a bunch of global variables and other auxiliary keys and data structures to keep track of the state that you would have been able to capture in closures.

I ported SimCity to Unix with TCL/Tk around 1993 or so, and this is the typical code for handling an async IRC chat connection -- look at all the globals and spaghetti code: http://code.google.com/p/micropolis/source/browse/trunk/micr...

Without closures, it's even harder to write reusable "components" that you can make more than one instance of. Look over that TCL code and try to figure out how it handles making more than one instance of each kind of window. It supports multi-player mode by making multiple X11 server connections, so it can have more than one instance of each kind of window, one for each X11 server connection, and some windows can have multiple instances on each server (like the edit and map windows).

I had to write a lot of boilerplate infrastructure for creating/destroying windows and handling events, to store all the state for each window in global variables and structures, keyed by the window id, linked together symbolically, so windows on different screens don't clash, and even fix some bugs in Tk itself relating to having multiple windows on different servers: http://code.google.com/p/micropolis/source/browse/trunk/micr...

To create each window it would reload a file like this each time that set up all the globals and window links and bindings like "LinkWindow $head.map $win" and "bind $win <Visibility> {[WindowLink %W.view] Visible [string compare %s FullyObscured]}". Ugly shit man! Give me closures any day: http://code.google.com/p/micropolis/source/browse/trunk/micr...

Multi-head X11 support was not well tested in 1993, it got confused if the X11 servers had different visuals, and the TCL menu handling code had to be rewritten to keep the state in per-window structures instead of globals that made the assumption that only one menu could be popped up across all screens at once. Notice the "set screen [winfo screen $w]" and "set tk_priv(posted@$screen) $w" stuff: http://code.google.com/p/micropolis/source/browse/trunk/micr...

comment 14y ago · link · parent

Well if he's flipping the bozo bit instead of setting it, that means you need only be a bozo an even number of times and he won't consider you a bozo. I set the bozo bit of anyone who flips the bozo bit.

comment 14y ago · link · parent

As I programmer, I have to slog though reading a lot more lines of code that are a lot less interesting than that article.

comment 14y ago · link · parent

It's not that nobody noticed that TCL had async i/o, but that it didn't have closures, which make doing async i/o (or even user interface programming) much more difficult in TCL.

comment 14y ago · link · parent

Path may have not sold your personal data to third party advertisers to target you with, but Path wanted and used your address book for the same reason those third party advertisers would have wanted it: to promote their own product to you and your friends.

comment 14y ago · link · parent

I'd like to keep my contact lust private, thank you.

comment 14y ago · link · parent

The Dymaxion House never really caught on, in spite of its space-age name and modern aluminum exterior.

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

The Dymaxion House was developed by inventor and architect Buckminster Fuller to address several perceived shortcomings with existing homebuilding techniques. Fuller designed several versions of the house at different times, but they were all factory manufactured kits, assembled on site, intended to be suitable for any site or environment and to use resources efficiently. One important design consideration was ease of shipment and assembly.

comment 14y ago · link · parent

Isn't it more "cache friendly" to use urls that address objects by path, instead of addressing them by query parameters? Like http://foo.com/rest/suite/foo/bar is more likely to be cached than http://foo.com/rest/suite?dir=foo&file=bar or http://foo.com/rest/suite?file=bar&dir=foo

comment 14y ago · link · parent

A big dumb mistake this api makes is sending commands and object ids via query parameters, instead of making them part of the url. The url should look like a file path that addresses an object -- the path of the objects shouldn't be in a query parameter. Especially when the object you're addressing is a file that has a logical location specified by a path.

comment 14y ago · link · parent

But you can be 99.994% sure they're writing your plan text user name and password into their logs if you're using get, and if somebody breaks in and gets them, then they have your password, even if those passwords are properly hashed in the user database.

comment 14y ago · link · parent

Pull a "Blow" and get Paul Rubens as Tim Thompson!

comment 14y ago · link · parent

This is awesome because it pretends to be fiction, but it's true.

When does it come out as a movie, and who will you get to play Professor Bonhoeffer?

1
161718
21