Warning: file(milov_entryform.tmpl.php) [function.file]: failed to open stream: No such file or directory in /home/milo/domains/milov.nl/public_html/class.template.inc.php(282) : regexp code on line 1

Warning: implode() [function.implode]: Invalid arguments passed in /home/milo/domains/milov.nl/public_html/class.template.inc.php(282) : regexp code on line 1
milov.nl: by date: 2004/12/

favourite own photos of 2004 

read more »

1. posted by Jan! at 11:00 on January 06, 2005

Here's a nice thing to do: open any category overview with lots of pictures, e.g. http://milov.nl/cat/bw , and execute this JavaScript:

javascript:var maxWidth = maxHeight = 150, html = '<body bgcolor="black">', img = document.getElementsByTagName('div')[1].getElementsByTagName('img'); for (var i = 0; i < img.length; i++) { html += '<img style="max-width: ' + maxWidth + 'px; max-height: ' + maxHeight + 'px;" src="' + img[i].src + '" alt="' + img[i].alt + '" />'; } html += ' </body>'; var d = window.open('', '').document; d.write(html); void d.close();

Yessir, that's me being ever so productive again.

2. posted by Jan! at 11:05 on January 06, 2005

Ooh, I like the effect with the monkey on http://milov.nl/cat/animals *if* the browser is maximized at 1024x768. The wall his legs are dangling over seems to crush the picture below.

3. posted by Milo at 11:13 on January 06, 2005

Jan!, that's awesome! I've been planning to generate a view like that with php for ages, never got round to it. Now I see that it would look very cool indeed. For convenience I've added your bookmarklet as a draggable link to the entrytext above.
add a comment

station groningen bw 

1. posted by Grunnie at 18:48 on December 30, 2004

Wat blijft ons station toch een mooie uitstraling hebben he

2. posted by parob at 10:20 on December 31, 2004

Hoi Milo,
Kun je het contrast, resp. de gamma-factor van de foto nog wat aanpassen? Ik zie nu alleen een silhouet van het station, en zie niet goed de interessante fietsen-samenscholing. Of is dit contrast de artistieke opzet?

3. posted by Milo at 10:51 on December 31, 2004

Het ging me inderdaad vooral om het silhouet :)
add a comment

geese bw 

1. posted by 990000 at 13:49 on December 28, 2004

nice one

2. posted by Jan! at 23:28 on December 28, 2004

Did you have to B/W this? As in: did the flash ruin the colour picture?

3. posted by Milo at 23:36 on December 28, 2004

Don't know why, but some photos just work so much better when black-and-white. This is one of them. I just "see" more in this than in the colour version.
add a comment

1. posted by spence at 18:04 on December 25, 2004

rawrr merry christmas

2. posted by Mathieu 'P01' HENRI at 15:28 on December 28, 2004

where's the DOCTYPE ? damnit ^__^
add a comment

1. posted by hershey at 02:49 on March 19, 2007

nice

2. posted by tt at 20:46 on June 28, 2007

Yes, this is quite good. I appreciate the work that went into it.
add a comment

1. posted by Kethinov at 04:56 on December 23, 2004

Thanks for the link up. It's slow going. I do plan to include more than just TNG reviews. I'll be going by release date omitting the movies (until Generations) and TOS.

Once I hit TNG season 6, I'll begin DS9 reviews as well, as DS9 started season 1 in TNG's season 6.
add a comment

1. posted by Milo at 12:02 on December 22, 2004

I like these tracks (see 'Favourite Songs' at bottom of each page for mp3 download link):
xttp://projectj.net/tmge.htm
xttp://projectj.net/chara.htm
xttp://projectj.net/shena.htm
xttp://projectj.net/pillows.htm

2. posted by Bigougit at 05:15 on January 03, 2007

Projectj.net is now an add website that uses jrock bands to hide the fact that its nothing but adds.
You should take down your link so noone gets roped into massive popups or something.

3. posted by Milo at 08:33 on January 03, 2007

Thanks for the warning, Bigougit!

4. posted by Benoit Dugal at 18:20 on February 21, 2007

http://project-j.org is the new address for Project J. Someone grabed my domain when it expired and replaced it with these seemingly relevant ads. Everything is available again at project-j.org
add a comment

blurry trainstation lights 

1. posted by palla at 07:28 on December 21, 2004

like a architectural concept model...interesting.

2. posted by Martijn at 11:24 on December 21, 2004

He, da's 4a! :)

3. posted by Low at 12:02 on December 21, 2004

Ah, been taking pictures when you were drunk, eh? ;)

4. posted by Milo at 12:04 on December 21, 2004

Unlikely :P

5. posted by steven streight aka vaspers the grate at 08:56 on December 24, 2004

If this is drunken photography, let's all start sipping Jagermeister and Fosters Lager.

The white portions on top look very cool. Orchestrated. Yes. Niceties on fire.
add a comment

1. posted by steven streight aka vaspers the grate at 09:01 on December 24, 2004

This is so strange and bulky. Like something falling from the sky. I love images that make me wonder, where I almost seem to know what it might be, but the recognition fails and misfires, leaving me in mystery and consternation.
add a comment
read more »

1. posted by AKIRA MORI KRIDA at 08:47 on February 13, 2007

ilike won bin,coz he's so cute n i adore korean film like the hotelier, love story in harvard, full house, winter sonata...bae yong jun is cool....i ..love kim tae he n kim rae won

2. posted by AKIRA MORI KRIDA at 08:54 on February 13, 2007

i want to know information about scholarship to school in south korea...coz korea is one of stronger country in Asia n in the world about the nuclear in north korea...it's so dangerous n if u want to know maybe can make the radiation so watch out.........
add a comment

1. posted by Mathieu '¨P01' HENRI at 13:35 on December 16, 2004

^__^ the world is small. Glad to be in your quicklinks.

2. posted by Jan! at 16:10 on December 16, 2004

Nice one, Mathieu!

3. posted by Milo at 17:32 on December 16, 2004

Glad to quicklink you, anytime :)
I just tried the Zoom bookmarklets at http://milov.nl/703 on it, it even works when zoomed in!

4. posted by Mathieu 'P01' HENRI at 18:03 on December 16, 2004

Thanks.

Afair there's a little ( and certainly ridiculouslty easy to fix ) bug then you die in IE.

Milo: no need to use your bookmarklet there's an alternate stylesheet to zoom it by 2 ;)

5. posted by Milo at 18:14 on December 16, 2004

Cool. Why not set that one as the default?

6. posted by nowak at 21:49 on December 16, 2004

full circle.

As an aside, there needs to be a 2005 256b compo. I miss those.

7. posted by Mathieu 'P01' HENRI at 22:18 on December 16, 2004

nowak: yep! at the time Mados asked me if I were ok to organize a 256b.htm contest but I declined as I would forbid myself to submit a prod :p

Milo: indeed the zoom x2 stylesheet is more playable :p
add a comment

1. posted by Calm_Pear at 07:52 on December 16, 2004

lightschlong?

2. posted by Maarten at 13:05 on December 16, 2004

Een echo van je ruggewervel? :)

3. posted by Milo at 15:43 on December 16, 2004

Lijkt er op he? Toevallige projectie bij het tegen de muur houden van de lichtslang.

4. posted by absolut at 01:56 on December 20, 2004

It's a tail of alien!
add a comment
Here's a nice, compact, easily clickable view of all 236 quicklinks I ever posted (well, all those since May 2004 anyway, which is when I first started grouping them in their own category).

1. posted by steven streight aka vaspers the grate at 08:59 on December 24, 2004

Darn. I was sure this was where I lost my contact lens.
add a comment

1. posted by cool_youkai at 04:55 on August 05, 2005

wow

2. posted by Lolo at 14:18 on November 28, 2005

Good french

3. posted by Ashley at 18:21 on December 02, 2005

cool!!!!....

4. posted by hotmail.com,joshuyin,kadashi at 19:30 on December 30, 2005

no hago nada

5. posted by hotmail.com,yorievil,iori_ at 20:58 on April 06, 2006

hi

6. posted by zoran_paloris at 06:05 on March 11, 2007

suuuu,el ser una persona , es ser un humano (que cursi sono)

7. posted by sandro at 21:59 on November 28, 2008

sandro
add a comment

1. posted by steven streight aka vaspers the grate at 08:58 on December 24, 2004

I call this in my mind "Polluted Mirror".
add a comment
read more »

1. posted by Calm_Pear at 23:22 on December 08, 2004

SET? thats odd... thats a syntax for an UPDATE... It looks like the guys that are working on MYSQL are becoming more like the microsoft people... any idiot should be able to get some data in the database... not good if you'd ask me

2. posted by Milo at 00:26 on December 09, 2004

I do like the syntax though... Less work to add or remove fields to or from a query.

But using it might be tricky, since it's only "supported in MySQL 3.22.10 or later".

3. posted by Low at 10:07 on December 09, 2004

I repeat: wha-hey!

4. posted by Ruben at 21:24 on December 09, 2004

"Any idiot" indeed. I tried that once in SQL, years ago.

5. posted by Kethinov at 22:40 on December 09, 2004

You're welcome, Milo. ;)

6. posted by Milo at 22:48 on December 09, 2004

Aint it great how when one person looks at someone else's code, both can learn something new :)

7. posted by digi at 15:35 on August 11, 2006

why would you think there is anything wrong with that syntax? This makes it much easier than INSERT INTO VALUES, you don't have to count through each of the values fields to find the value that corresponds to the column, this is a great syntax addon.

8. posted by the hatter at 12:36 on October 28, 2006

We think there's something wrong with this syntax because it is not part of the SQL specifications, as far as I can see. Not that language extensions by themself are a bad thing, but one that replicates an extraordinarily well known method seems silly. Most people use DBs through a language API, if you want to write nicer queries, there's nothing to stop someone adding this sort of extension to their API.

9. posted by Plague at 05:52 on April 30, 2007

this is in the 'INSERT' doc on mysql offical pages...

this makes it easyer to do loops on the values and their names... ie. php's foreach(), instead of having 2, the names and values seperate, you can now just do 1 loop seeing that the names and values are right next to each other.

this also makes reading and matching the things a hell lot easyer...

you can now tell if you have 6 names but only 5 values, without counting them all :P

10. posted by Takashi.pl at 14:21 on July 25, 2007

well, this syntax sure makes thigs easier to code in php etc., and that's a big plus...
but I think you can only use this syntax if you are sure that your code won't be used under diffrent db engine

11. posted by JVirus at 16:54 on March 31, 2008

This is a nice way and works well. 1 word of caution though, if you want your code to be more universal I would stick to the INSERT INTO and VALUES since this will work both in access and SQL. Obviously most of you will be like, WHAT! ACCESS?!?!?!? But for my company our development is in access then we port that to SQL, I know... I dont have the power to make them change, but for any visitors that might be in the same boat, just a good thing to remember.

12. posted by Liam at 07:57 on May 05, 2008

I have to second JVirus on that. I've just been working on porting some MySQL code to use PostgreSQL, which uses the standard syntax. Using syntax specific to one vendor, when there's a standard that achieves the same thing, is not the smartest move.

13. posted by Liam at 07:59 on May 05, 2008

Also worth noting while I'm dealing with the pain of porting from one DB to another - don't use MySQL's double quotes for strings - not standard, not portable, not good :(

14. posted by gmail.com,tushar.iuselinux,Tushar Mahajan at 08:14 on September 17, 2009

Using first option we can insert multiple values LIKE

INSERT INTO sometable
( field1, field2, field3 )
VALUES
( 'value1', 'value2', 'value3' ),
( 'value1', 'value2', 'value3' ),
( 'value1', 'value2', 'value3' );

15. posted by ME at 17:20 on October 26, 2009

I just started a new job and ran across this in some code today. I've worked with various dbs over the year but never knew of this syntax. It disgusts me since it's not the standard. However, I will say it seems more logical and nicer looking. I'm still not going to adopt it though.

16. posted by Nilesh Gupta at 05:33 on November 22, 2009

this patern is very good for using OOps
i like this patertn to using this commands insert into table_name set fieldname=value it is a very good type of this

17. posted by superdude at 10:05 on May 25, 2010

While I agree about standards, I think that if the query will only be used on MySQL, it is perfectly valid. If you are working on a larger project that might be used with various DBs, you should probably be using some kind of DB abstraction layer that takes care of the details for you.

18. posted by sousgarden at 14:06 on October 12, 2010

This function is crap.
I have code now (not my) which have to work on mysql 5.1, previous DB was 5.0.
If I try now to insert with an auto-increment primary I get an error. Cause the coder was sooo an idiot and make following insert:
INSERT INTO table SET COL_PRIMARY="", COL_TEXT1="blabla";
And the primary column now try to insert NULL what not work and have NOT to WORK!!!!!
That this shit work before was not good.

19. posted by justDroppingBy at 05:38 on November 22, 2010

@sousgarden: this code is a good way of inserting values in a table; faster and easier.

My question is, why would you insert a value to an AI column? AND whether you use the old code or this to insert a NULL value in an AI column it'll still give you errors.

20. posted by erdincgc at 14:14 on March 15, 2011

sousgarden:
The first thing you need to learn ; be polite!
The second ; In both syntax you'd better stop setting any Autoincrement field. Your table's index field's auto increment parameters might be wrong i guess. And about the insert into thing; useful for small queries if it's not slower (is it?).

21. posted by ferdly at 17:28 on April 01, 2011

Calm_Pear says, "any idiot should be able to get some data in the database... not good if you'd ask me"

Well, this is the quintessence of the 'feature enhancements are a threat to my job' mentality.

How about you imagine how much easier it will be to dynamically construct and validate INSERT statements within a Database Abstraction Layer that makes your skills even *more* valuable?

22. posted by ferdly at 17:54 on April 01, 2011

Furthermore... I think this syntax *should* be added to standard SQL, along with "INSERT... ON DUPLICATE KEY UPDATE" these are natural and intrinsic *database* tasks, not API tasks... why the 1992 folks didn't see that clarity and elegance of making the UPDATE syntax and INSERT syntax as parallel as possible, *then* adding the standard syntax as a 'power load' alternative is beyond me.

I respect those that refuse to use any proprietary SQL constructs for portability -- and those that choose to use proprietary constructs have an added documentation obligation to identify where those constructs were used for eventual portablity. But for me I would rather endure one-time, upfront documentation task and leverage the power of the proprietary construct continually.

I also believe that *using* the best alternative sql constructs make it *more* likely that there will be a 'critical mass' behind eventally including them in the standard.

Further, 'disgust' with MySQL? MySQL is not the only vendor deploying alternative SQL constructs -- I think Oracle has an equivalent to "INSERT... ON DUPLICATE KEY UPDATE" that is proprietary, and MS SQL has a great number of these -- this is further muddied by the fact that by co-opting in the popular consciousness that "SQL" is not a Language, but a product of Microsoft Corporation. (Admittely, it would seem Microsoft has done the best job with Cross-Tabs, but I dunno much there?...)

Not a Flame against MS SQL or any other, so don't scorch me back :-) -- just pointing out that whatever tool you use, you need to be aware of what code will be universally portable and what will not.

Happy coding...

23. posted by mctsoft.net,matt,Matt at 10:06 on July 20, 2011

I must be an idiot, I like it, I like anything that makes life easier, I guess if I was smart I would write all my code in assembly instead of PHP and MySQL

24. posted by Ivan Ivkovich at 14:09 on September 15, 2011

The reason this was implemented :

After altering the table, you have to edit every single webpage containing query with 'INSERT INTO table VALUES' because you have to add '' if there is a new collumn in every query.
If you have SET to a specific column, you don't have to worry about the columns you won't fill with data.
add a comment

1. posted by Calm_Pear at 23:17 on December 08, 2004

hmm... nice shot there milo!

2. posted by Milo at 00:34 on December 09, 2004

Almost exactly a year since http://milov.nl/2361 , shot at the same location.

3. posted by prodigo.com.br,lbranco,Luciana from Brasil at 13:42 on December 09, 2004

very nice

4. posted by steven streight aka vaspers the grate at 07:46 on December 10, 2004

Ghostly, impressionistic haze is slushily poignant.

5. posted by swanz at 00:17 on December 12, 2004

mooi!

6. posted by palla at 02:18 on December 13, 2004

nice milo. beautiful..

7. posted by palla at 02:20 on December 13, 2004

Ummm...displayed favicon of my site. I found it now... great idea^_^
add a comment

1. posted by Milo at 21:21 on December 07, 2004

Looks a lot better than my own hacked together code.

2. posted by Milo at 22:08 on December 07, 2004

...but I'll stick with it anyway since I can't get this one to work for some reason.

3. posted by jpk at 22:10 on December 07, 2004

Hehe, funny. I made my own version last friday and just put it up on my site, and now he posts his code and i can't get it to work!

4. posted by Milo at 22:24 on December 07, 2004

One difference: I'm using http://php.net/fsockopen instead of fopen. Also, I don't do a second request to see if the favicon url returns a valid response.

5. posted by Low at 22:43 on December 07, 2004

Wha-hey! :)

6. posted by Arthur at 12:10 on December 08, 2004

Made a quick 'n' dirty testing page with this code, and it seems to work:
http://arthur.kamst.com/test.php?url=http://milov.nl/

7. posted by Milo at 12:18 on December 08, 2004

The problem is it seems to randomly work/not work on each refresh... I noticed the same thing when I tested the function locally.

8. posted by Arthur at 13:43 on December 08, 2004

Yep... weird. Unfortunately, my knowledge of PHP is just beginning, so I don't expect to solve this soon...

9. posted by jpk at 15:12 on December 08, 2004

hmm, I tried it again and now it works. Woohoo, I'm hip!
add a comment

1. posted by steven streight aka vaspers the grate at 01:02 on December 07, 2004

hooyah hoooo00yah. I love this colorful ambiguous, right on the verge of recognition, but escaping sensicality type stuff.

I don't dare care what it is...I just like it. Cosmetic? Industrial? Hmm...

2. posted by Jan! at 09:25 on December 07, 2004

Well, I'm guessing it's a "perforator and desklight, inverted". But I may be way off. ;-)

3. posted by Milo at 10:51 on December 07, 2004

How'd you know? ;)
IE users can Alt-click the image to see the original...

4. posted by huphtur at 17:42 on December 07, 2004

people that visit milov.nl still use IE?

5. posted by Milo at 17:54 on December 07, 2004

Oh yes, about half I'd say.

6. posted by huphtur at 17:58 on December 07, 2004

whats wrong with them?

7. posted by Milo at 18:03 on December 07, 2004

Nothing, any browser is welcome here. And I'd rather they visit this site with IE than some other site with Firefox :)

8. posted by elout at 22:10 on December 07, 2004

nice milo. now checking if my ico will show as well..

9. posted by Milo at 22:32 on December 07, 2004

It didn't, but I fixed it so it will from now on (one more little bug in my code gone ^_^)

10. posted by steven streight aka vaspers the grate at 09:36 on December 08, 2004

I added this photoblog to my list of More High Fidelity Home Page Examples which will be given to readers of Usability Interface online newsletter out of Brussels, when they request it in response to my recently published article.

Hope this gives you a little added exposure and increased traffic.

My 2005 date on art specimen at my site is a work around to make that piece appear at top of pile no matter what else I add to my blog.

color me orange

11. posted by Arjen at 21:21 on December 09, 2004

Beautiful, looks like natural colors to me. After a days work...
add a comment

1. posted by N&I at 09:52 on December 03, 2004

groetjes uit S'pore

2. posted by Milo at 19:35 on December 03, 2004

hee! leuk!

3. posted by N&I at 15:35 on December 08, 2004

groetjes uit KL

4. posted by N&I at 11:37 on December 10, 2004

groetjes uit C.H'lands

5. posted by Milo at 11:46 on December 10, 2004

hmm, even op de kaart kijken.

6. posted by Milo at 11:49 on December 10, 2004

7. posted by N&I at 15:16 on December 17, 2004

groetjes uit Kho P.P.

8. posted by Milo at 15:26 on December 17, 2004

9. posted by N&I at 06:33 on December 22, 2004

groetjes uit Phuket Town.

10. posted by N&I at 12:42 on December 24, 2004

groetjes uit Bangkok
add a comment

navigation

Older entries (November 2004) » « Newer entries (January 2005)