Better HN
topnewbestaskshowjobs
Log inSign up

program

998 karma · joined Oct 22, 2010 (16y ago) · 236 submissions

Submissions

comment 14y ago · link · parent

Addendum:

1) Don't ask me why/when/where/how I will use my brand-new software

2) Don't force me to "try" other software just because I bought one

3) Don't force me to give you informations that are not strictly correlated with the purchase

comment 14y ago · link · parent

> Calling the above “ugly” isn’t fair. It’s not ugly. It’s what happens when Ugly and Stupid get drunk and make a baby inside the Fukushima safety zone

It seems to me that the article is full of hate. The author really miss the Start Menu.

comment 14y ago · link · parent

Objective-C is a proper superset of C89, C99 and K&R C. You can specify it at compile time --std.

comment 14y ago · link · parent

I bet that it's the Android@home home automation introduced one year ago. Or a console which will bring Android Apps to your TV.

comment 14y ago · link · parent

I've seen tons of different Mandelbrot implementations in Javascript and Processing.js (it's a pretty popular example of the ImageData object) and I can say that this particular one is indeed fast considering that is using 128 iterations on a relatively big canvas.

comment 14y ago · link · parent

Here is a bunch of cosmetic changes:

1) Include the second level domain on link preview next to title (e.g. plus.google.com)

2) Include some sort of graphics that link a comment response to original comment. It's very difficult to follow a conversation with a lot of comments. The Slashdot vertical lines are an elegant example.

3) Use CSS media queries. I find HN very difficult to navigate using embedded devices. The font, the vote arrow and the margins aree too small.

comment 14y ago · link · parent

I'm very happy to see this new version. I have followed the 2.0-wip branch since the very beginning. At my company we use Bootstrap for a lot of different project as a barebone WordPress template with few additions in order to handle the semantic classes (and id) generated by WordPress.

comment 14y ago · link · parent

It will be interesting to see how id (or Carmack himself) will react to eventual pull requests. As far as I know the code has been frozen once released as Free Software on id FTP server.

159.

Morning Star: Audio Synth in JavaScript(bitterspring.net ↗)

1 points · by program · 14y ago · discuss

comment 14y ago · link · parent

   $ php -r '::'
   Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM
Wat

comment 14y ago · link · parent

Put on bigger controls for embedded devices that have no keyboard.

comment 14y ago · link · parent

  "a serious documentation flaw"
The all-zeroes IV is documented in the official CCCrypt(3cc) man page at:

http://developer.apple.com/library/ios/#documentation/System...

this does not exonerate Apple having made a wrong choice of design.

comment 14y ago · link · parent

"So to judge importance, I looked at projects that are influential, gaining in popularity, and/or technical standouts in new areas"

So put WebKit on the list. If the growth continues, total usage of WebKit based browsers will surpass 50% by the end of 2012.

comment 15y ago · link · parent

I don't think that there is the need for a new character. The problem here is that JS has automatic semicolon insertion. This:

  var a = "abc
   def";
generate a "unterminated string literal" syntax error cause a semicolon is inserted after abc. Why not using C/C++/ObjC syntax?

  var a = "a very "
   "very long string";

comment 15y ago · link · parent

Using the ` (backquote) character for multiline strings isn't a wise choice (probably inherited from Go) cause it's difficult to reach that character on non-english keyboard layout. In the italian layout it's alt+\ or alt+9 on the Mac but you can't reach it using Windows; you need to press alt+96.

comment 15y ago · link · parent

This is a little bookmarklet for you. Select some text in a page then run it. It will open a new window {selected text}.jpg.to.

   javascript:(function(){var A='';if(window.getSelection) A=window.getSelection().toString();else if(document.getSelection) A=document.getSelection().toString();else if(document.selection) A=document.selection.createRange().text;A=A.replace(/\s+/,'-');if(A===''||!/^[a-z0-9_\-]+$/i.test(A))A='try-again';window.open('http://'+encodeURIComponent(A.toLowerCase())+'.jpg.to');}());
not tested at all.

comment 15y ago · link · parent

In the original COBOL specification there is the infamous "ALTER X TO PROCEED TO Y" statement which modify a GOTO X in a GOTO Y.

comment 15y ago · link · parent

"Of course, you stop worrying about that and wonder how the cable has managed to fray on this barely used drive:"

This is because Apple cables miss the so called "strain relief".

http://www.reddit.com/r/pics/comments/hvuhg/apple_why/c1yuah...

it is a design choice.

comment 15y ago · link · parent

It's been a very long time and I'm very glad to see a new IOCCC. I clearly remember the day I read about (and successfully booted) the 2004 "best of the show" entry.

http://www.ioccc.org/years.html#2004_gavin

comment 15y ago · link · parent

I am italian, I have a full-time job in an IT private company, I own an house and I know why you can't create a startup in Italy: money, burocracy and taxes.

In Italy banks or companies will never invest money in your startup if you can't cover at least all the money you need in 4/5 years. If you dare to found a new company and you fail then your life is destroyed. You are tagged as "cattivo pagatore" (bad payer) and you will never obtain money in form of loans.

Italy is a very bad place if you want to make something innovative.

comment 15y ago · link · parent

In the movie saga "Back to the future" the DeLorean time machine needs to travel at 88 mph and the flux capacitor needs 1.21 gigawatts of power in order to activate the time circuits.

comment 15y ago · link · parent

I've read this story back in May:

http://www.lessentiel.lu/fr/news/luxembourg/story/La-pomme-d...

comment 15y ago · link · parent

You can send SMS and email directly from the Siri panel, also Siri has been added to the system-wide keyboard and you can use dictation even in third-party apps.

comment 15y ago · link · parent

It seems that Chrome is indulgent with the font-family declaration. There is an error in the CSS.

  font-family: 'Istok Web' sans-serif;
should be:

  font-family: 'Istok Web', sans-serif;
Firefox 7 ignore the above declaration showing the page in the default font. I have forced 'Istok Web' with firebug and yes it looks ugly.

comment 15y ago · link · parent

What browser are you using? I can see all the characters. They have specified 'sans-serif' (which most of the times means Helvetica).

comment 15y ago · link · parent

The standard display resolution of the NES is 256 horizontal pixels by 240 vertical pixels. Upscaling on a canvas context can be a very slow operation even if you use the nearest-neighbor approach.

comment 15y ago · link · parent

> To be honest – CSS3 animations have terrible syntax

I think that this guy has never heard of the canvas element. Using CSS3 animations for making games is pure madness.

comment 15y ago · link · parent

Neither

  1111111..11111111111111111111111
  11111111..1111111111111111111111
  111111..111111 // minimum case
or any other integer combination. 6 digits is the minimum amount that spawn the bizarre error.

comment 15y ago · link · parent

I like the fact that this library has no dependencies. I suggest that the _MAP variable in keymaster.js should be equal to the specialKeys variable defined in jquery.hotkeys.js.

https://github.com/jeresig/jquery.hotkeys/blob/master/jquery...

in order to cover all special keys.

comment 15y ago · link · parent

In iOS all UI measures are expressed in points and not in pixels. Saying 44 pixels is simply wrong. In the iPhone 4 the screen has the exact same size of the 3G but a scale factor of two so every point is two pixel.
1
45678