Io Programmo
In questo numero il secondo articolo sulla programmazione iPhone e due pagine dedicate alle novità introdotte con il nuovo firmware 3.0; c’è una precisazione riguardo il componente per inviare le email, il quale è stato spostato da Apple , dopo la redazione di questo articolo, da semplice figlio di UIViewController (come descritto nell’articolo) a figlio di UINavigationController, comunque resta sempre in tale catena di ereditarietà.

Belkin ADSL Modem Router N+

The quite perfect modem/router? Hard to say.

Problem: Connected, turned on…no network connection.
Solution: after some tries (hours of tries), using the same settings of the old modem i managed to let i connect.

Problem: Turned on wifi, surfed without problems using my ipod touch, turned of the wifi…a wifi led (that with the laptop and the wifi icon) remains on , i tried to turn it off from the user interface without success…

Temporary Solution: reboot; updated: the problem happens when i turn off the wifi connection without disconnecting the client.

Problem: no client dhcp shown; solution: wait wait wait…some client appears, but not all.

Problem: firmware update not available
Solution: go to www.belkin.co.uk and search to download the 1.00.23 (the modem searches into belkin.com which has an older version)

UPDATE: http://en-uk-support.belkin.com/app/answers/detail/a_id/2785/p/4703 FIRMWARE 1.0.25 pre release version available. It fixes:

  • an updated ADSL driver that improves ADSL sync speed on certain lines
  • a problem with having more than 4 MAC addresses in the MAC address filter is solved
  • a problem with very long pre-shared keys for WPA security is solved
  • a problem with forwarding port 80 and using Remote Management at the same time has been solved

IMPORTANT: REBOOT YOUR MODEM AND DO A RESET OF THE CONFIGURATION

Problem: unable to mount external usb device on Mac OS Leopard/Snow Leopard using STORAGE MANAGER APPLICATION;
Solution: call center anwered: “”we know, and the eng. are working on it.
FIX I FOUND: connect using GO->CONNECT TO SERVER->smb://192.168.2.1/public

Problem: disable firewall: no internet connection,

Solution: re-confirm the pppoe/other wan connection settings.

SERIOUS Problem (for who use FTPs): ftp clients when browsing folders with MANY FILES on some servers gives timeout.

UPDATE: i spent about over an hour with someone of Belkin trying to fix this problem, when testing i discovered that ftp works when using play Firefox calls (ftp:// in the address bar) but using Filezilla, Dreamweaver, and other applications fails.

Sniffing using Wireshark i detected that some packages when they request the current folder list use the same command (PWD) while another, CYBERDUCK for Mac, which works, uses another . The problem is due to which mode , binary or ACII, is used when requesting the folder list, so only in the Open Source software you will be able to change this behaviour and fix, in Dreamweaver this isn’t allowed.

Solution: use another FTP client, i tried disabling the firewall, tried putting the pc on the DMZ. The help-desk suggest changing MTU from 14XX to 1500 (it causes packets segmentation but they didn’t know when i told them).

UPDATE: sniffing again and again with wireshark I discovered that the problems are due to the PASV command, when connecting in pasv mode (this command is called by LIST, PWD and other commands) the router doesn’t manage properly (timeout) the second connection (the first one is on port 21  for default) when using LIST AND OTHER COMMANDS.

The connection works properly when the client sends a EPSV or a STAT (that doesn’t use PASV) .

UPDATE (16/09/2010)

I’ve spent quite a day (over 30 calls in a year) calling Belkin support, they let me talk with many of their support workers without any solution (i’ve talked with english support, italian support, endian/china support).

The 1.0.25 pre release firmware doesn’t fix the problem.

I’ve tried any solution (also the 1500 mtu change), also sniffing using wireshark to understand why there is this problem. Sometimes it works randomly, sometimes it works withe dreamweaver, sometimes with cyberduck, the mac client:  RANDOM.

They replaced the modem a time with the same firmware (i signaled that it was a firmware bug but they didn’t listen).

After quite a year of ping-pong they propose me to change again with a LOWER MODEL (a router-modem without USB storage) so i refused.

Yesterday they called to propose a change with the new SHARE router-modem version which has the same specs (USB port included, except it doesn’t have the external wifi antennas) the only request was that the 8635 has a lifetime warranty while the new SHARE has a 2year warranty.

The italian support and the english support told me three times in different moments that this issue is WELL KNOW but they don’t know how fix it.

I gave them some ftp i can’t connect to and they tried from out of Italy (where i live) and it worked so they replied that the modem works.

After a year i decided to stop telling that it’s a problem and do a SCREEN RECORDING of all the clients that don’t work, i’ve sent all the recordings using the ticket area of support, and when they have seen this they decided to replace finally with the SHARE.

I suggest all of you to contact the support, tell them that you have the ftp problem, that you know that is a KNOW ISSUE (tell them you googled about it) and request a replacement.

If you can better to change the modem in warranty with another model instead of fighting like me against their support “rubber-wall”.

Otherwise ask to belkin to replace with a equal modem, and after you will receive the new one (same 8635) test it, if it doesn’t work again, request a replacement with a new model (like the SHARE which has the same specs USB port INCLUDED).

http://en-uk-support.belkin.com/app/answers/detail/a_id/2785/p/4703

X64_CLOCK_WATCHDOG_TIMEOUT_2_PROC_ANALYSIS_INCONCLUSIVE BUCKET_ID

Nice BSOD: but what’s the cause?

CPU problem? AMD customer care: never heard this error.

Memory problem? probably not, checked with many applications.

OS problem? Vista 64, maybe…

Do you know you can have two instances of skype opened with the same account in different computers?

I discoverd it using the ipod touch client and at the same time my laptop was running another instance…nice feature…or not?

Both the skype instances will show your chats: if someone is in front of the other pc he/she well be able to read your chats.

So? better to add a password on the pc (both, screensaver and login) to avoid risks.

Microsoft messenger behaviour: it closes the connection on the pc with the older session.

I needed a wifi usb dongle for my Leopard (updated to 10.5.7), so i went to a big shop and searched for something with the “Mac-OS Compatible”, i found the D-Link DWL-G122, about 20€, 802.11 b and g not draft n; installed the 10.5 declared drivers and rebooted…KERNEL Panic…tried many times, no luck; it works when you plug but if you disconnect and reconnect you get kernel panic; so checked the hardware inside (RALINK, RT257X family model), searched for the manufacturer, installed his drivers (http://www.ralinktech.com/ralink/Home/Support/Macintosh.html) …works like a charm, or almost…the only drawback is that if you disconnect and reconnect the pen doesn’t works, so using the provided USBWirelessUtility i found an escape : there is a button, Wireless ON/OFF, which powers on and off the dongle, so no need to disconnect 🙂

I contacted the Italian Dlink support: ME: hi i have a problem with your drivers, they cause Kernel Panic on Leopard. Dlink: download these drivers ME: those drivers are for non Intel Mac. DLink: from your informations you are using a firmware that we don’t own, where did you take it? ME: it’s the firmware i found installed in the dongle, i never touched the dongle firmware… They are answering a time a week, this is what a BRAND SHOULDN’T DO WITH HIS CUSTOMERS…

Essendo sviluppatore Iphone mi ero registrato per questo evento sperando che la fortuna mi baciasse visti i “posti limitati”…oggi ho ricevuto conferma : sono tra quei fortunati a poter partecipare a tale evento che si terrà a Roma. I posti sono ormai esauriti; spero di imparare molto da tale presentazione.

Happy coding…

I have a problem with a 2.5” Samsung HD, the hd led flashes with a cilce of 5 times and 10 times, no way to access it’s contents.

ME to customer care (email): hi i have a problem with an hd i get this flashes 5 times, 10 times;

Samsung (email): hi thanx for your question, please contact your seller or our replacement partner

ME (thinking): i need only to know what kind of problem is, if i can save the data or i can throw it away.

Samung replacemente partner (telephone call): we replace the hd, we don’t know anything about hd problems.

Me: this is how a BRAND SHOULDN’T WORK, noone knows how to aswer to this simple question……

D-Link DWL-G122

I needed a wifi usb dongle for my Leopard (updated to 10.5.7), so i went to a big shop and searched for something with the “Mac-OS Compatible”, i found the D-Link DWL-G122, about 20€, 802.11  b and g not draft n; installed the 10.5 declared drivers and rebooted…KERNEL Panic…tried many times, no luck; it works when you plug but if you disconnect and reconnect you get kernel panic; so checked the hardware inside (RALINK, RT257X family model), searched for the manufacturer, installed his drivers (http://www.ralinktech.com/ralink/Home/Support/Macintosh.html) …works like a charm, or almost…the only drawback is that if you disconnect and reconnect the pen doesn’t works, so using the provided USBWirelessUtility i found an escape : there is a button, Wireless ON/OFF, which powers on and off the dongle, so no need to disconnect 🙂

I contacted the Italian Dlink support:

ME: hi i have a problem with your drivers, they cause Kernel Panic on Leopard.
Dlink: download these drivers
ME: those drivers are for non Intel Mac.
DLink: from your informations you are using a firmware that we don’t own, where did you take it?
ME: it’s the firmware i found installed in the dongle, i never touched the dongle firmware…

They are answering a time a week, this is what a BRAND SHOULDN’T DO WITH HIS CUSTOMERS…

Io Programmo - Cuda

CUDA, ecco la tecnologia, creata da Nvidia, di cui mi stavo interessando per il nuovo articolo.

Questa tecnologia permette di spostare tutti i calcoli onerosi nella scheda video, lasciando scarico il processore.

Update: dopo l’uscita dell’articolo ho notificato Nvidia
a riguardo, hanno risposto e hanno richiesto la copertina della rivista per utilizzarla nelle presentazioni in giro per l’Europa: bella soddisfazione.

Questi sono alcuni dei tanti comportamenti che ho riscontrato come comuni nel nostro paese …

  1. Non siete i migliori, ci sarà sempre qualcuno più formato, esperto, sveglio di voi: ogni tanto ricordatevelo.
  2. Non credere (e pretendere) che i propri figli siano i migliori (da olimpiadi) in ogni attività sportiva e studio (da nobel);
  3. Lasciate che i vostri figli si facciano le ossa e non opprimeteli: mandateli a campi estivi, fategli fare gli scout, attività che gli permettano di svezzarsi, crescere prima (e meglio) insieme ad altri ragazzi senza che gli siate sempre con il fiato sul collo;
  4. Per un bambino anche farsi male è un insegnamento: non insaccateli e proteggeteli come se fossero di cristallo;
  5. Se vostro figlio gioca durante un’attività sportiva invece di seguirla non vi è mai venuto in mente che potrebbe essere troppo piccolo oppure disinteressato?
  6. Non credere (e pretendere) che i propri figli NON diventino Mr. Jeckil quando sono a scuola, mentre a casa sono pacati Dr. Hyde;
  7. Non alterarsi e imprecare contro  un docente se gli ha messo una nota INGIUSTA: vostro figlio non è Gandhi (o è troppo giovane per esserlo);
  8. Non fate fare i bisogni dei vostri figli per strada, quando c’è un bar davanti: chiedere il bagno è motivo di umiliazione?
  9. Non saltare decine di macchine al casello autostradale evitando di incrociare gli sguardi dei poveri esseri FESSI che rispettano la fila e per giunta pretendere di infilarsi
    con prepotenza vantando qualche diritto appena acquisito;
  10. Non saltare qualunque fila agli uffici affiancando silenziosamente qualche persona, e negarlo poi se si è stati scoperti;
  11. Non lamentarsi ad alta voce perchè c’è fila alla posta: il numero dei dipendenti è quello, la loro velocità/lentezza è quella: sono una costante, quindi cambiate ufficio oppure portatevi un giornale;
  12. Non suonare 10millisecondi dopo che è scattato il verde perchè nessun essere umano ha una tale prontezza di riflessi (ipotizzo che alcuni abbiamo dei cronometri impostati per i singoli semafori);
  13. Le frecce di camion e automobili: accessori che dovrebbero essere ABOLITI, vengono usati solo quando si è in doppia o tripla fila per segnalare che si è andati al bar o ad un negozio.
  14. La corsia di emergenza è per EMERGENZA quindi se avete fretta cercate percorsi alternativi e non questa “soluzione”;
  15. Fermarsi alle strisce? Ma stiamo scherzando? Abitudini obsolete: se il pedone prova a passare molti cercano di passargli il più vicino possibile quasi fosse una sfida;
  16. Aiutare un anziano ogni tanto?
  17. Aiutare qualcuno in difficoltà ogni tanto?
  18. Se succede un incidente fermarsi a dare una mano ogni tanto?
  19. Non prelevare gli oggetti presenti nel bagno delgi alberghi (anche in altri paesi lo fanno, ma non come molti del nostro paese che se potessero si porterebbero via anche i sanitari);
  20. Non uscire dall’albergo, villaggio, stanza, in abiti talmente sciatti da sembrare un barbone, oppure succinti da sembrare (con rispetto per tali persone) una prostituta;
  21. Non urlare per la gioia quando si è davanti al tavolo della colazione se è abbondante (Come se non aveste mai mangiato in vita vostra);
  22. Non andate al mare come se foste le locuste pronte a distruggere tutto, occupando km di spazio spargendo di tutto lungo la spiaggia;
  23. Non urlate a vostro figlio che è distante 30 metri da voi: i gesti spesso funzionano se vostro figlio vi rispetta/teme;
  24. Non è necessario rendere partecipe il mondo circostante di come educate i vostri figli, non ricevere un premio;
  25. Non svegliare i vicini di camera con urla perchè i vostri figli non dormono più e fanno confusione (se li avete messi a letto alle 10 e voi siete andati a dormire alle 4 di mattina non è colpa loro, non possono dormire 10 ore e passa per vostra comodità);
  26. Non pensare che qualunque persona nel globo terraqueo voglia fregarvi: un poco di fiducia ogni tanto non guasta:
  27. Non chiedere il domopack per contenere gli avanzi di un pranzo molto abbondante (mi è capitato di vederlo abbastanza frequentemente);
  28. Chiedere è lecito, rispondere è cortesia, concedere anche: se vi viene negato qualcosa non iniziate ad inveire contro la persona;
  29. Se chi vi abita sotto si lamenta forse qualche motivo ci sarà no? Scendere e valutate insieme: si chiama convivenza civile;
  30. Non chiamare al cellulare in luoghi affollati ed urlare per l’intera conversazione , e non chiamare alcune persone a telefono solo per passare il tempo di attesa: è di una tristezza infinita;
  31. Allattare in mezzo a piazze e vie mostrando più seno agli altri che al proprio figlio: è normale secondo voi?
  32. Comprare un cellulare che costa 400 euro solo per fare chiamate e mandare sms? Forse la vera crisi è nei collegamenti neurali di molti cervelli.