Twitter announces lots of new tools including Twitter Polls

Yesterday, at the Twitter Flight developer’s conference, the company’s CEO Jack Dorsey announced numerous features and updates that will arrive in the near future on the social networking service. Probably one of the most anticipated announcement was the addition of Twitter Polls. This function will allow users to embed polls in their tweets and easily find out what the world thinks about the respective subject. Those who participate can vote anonymously and once the poll is completed, all those who voted will be announced to check out the results.

Another interesting thing that the future will bring is a revamped version of the Twitter for Mac application. This redesigned version’s dark look will integrate perfectly with El Capitan’s overall aspect and will allow its users to play videos or vines, send direct messages to groups, view Twitter Highlights in the Notifications Center, etc. Furthermore, the way embedded tweets look on the web will also be enhanced with a grid view, in-build videos, vines and photos, etc. There were also numerous smaller features announced such as a larger number of tweets to be included in the real world (tweets showing on the screens from train stations, stadiums, etc.) or the possibility to login on Digits using your email.

Since this was a developer’s conference after all, everyone expected some awesome news about the Twitter Fabric platform, and the company did not disappoint. The biggest announcement was the fact that developers who use Twitter’s platform will be able to tap into the Fastlane deployment tool and submit their application to the App Store much faster. The other important topic was Crashlytics, a tool which allows app creators to receive crash reports from the new Apple TVs and tvOS.

These are just the latest in the series of changes that Twitter has made in the last few months, which include Project Lightning or the News tabs.

Source

FTP Uploaded With Delphi

https://winscp.net/eng/images/og_logo_240x240.jpg

via https://winscp.net

Teman, Kita telah banyak kita ketahui program-program FTP Upload seperti Filezila, WinSCP2 dll. Tapi apa salahnya kalau kita membuat sendiri program Upload file ke FTP server. Jika kita akan membuat program aplikasi misalnya video Streaming dimana file image akan dikirim ke server secara terus menerus berdasarkan periode waktu tertentu. Tentunya kita memerlukan program yang dapat mengupload file tersebut secara otomatis. Baiklah tanpa panjang lebar lagi, dimulai dengan mempersiapkan komponen Delphi untuk upload file. Komponen tersebut adalah FTP2ActiveX yang dapat di download di https://www.chilkatsoft.com/. Baiklah setelah mendapatkan file tersebut install file ke sistem windows kemudian install ke delphi.

Adapun cara menginstall ke delphi adalah sebagai berikut:

  1. klik Componen → Import ActiveX Control
  2. Pada window activeX pilih chilkat Ftp2 → klik install
  3. Pada window Install klik OK → rebuild klik yes → OK Seteleh terinstall, maka pada ActiveX akan muncul componen ChilkatFTP2

Setelah semuanya siap. Kita tinggal menyiapkan Form yang dari Delphi7. Rancangan formnya sederhana.

Berikut ini program yang digunakan untuk upload file.

procedure TForm1.BitBtn1Click(Sender: TObject);
var
ftp: TChilkatFtp2;
success: Integer;
localFilename: String;
remoteFilename: String;
begin
ftp := TChilkatFtp2.Create(Self);
success := ftp.UnlockComponent(‘Anything for 30-day trial’);
if (success <> 1) then
begin
ShowMessage(ftp.LastErrorText);
end;
ftp.Hostname := ‘aegis’; //Server Yang digunakan
ftp.Username := ‘dayat’;
ftp.Password := ‘daysdk63’;
success := ftp.Connect();
if (success <> 1) then
begin
ShowMessage(ftp.LastErrorText);
end;
success := ftp.ChangeRemoteDir(‘/public_html’); //derectori upload
if (success <> 1) then
begin
ShowMessage(ftp.LastErrorText);
end;
localFilename := ‘F:\project\WebcamDelphi\foto.gif’; //direktori file yang akan diupload
remoteFilename := ‘foto.gif’;
success := ftp.PutFile(localFilename,remoteFilename);
if (success <> 1) then
begin
ShowMessage(ftp.LastErrorText);
end;
ftp.Disconnect();
ShowMessage(‘File Uploaded!’);
end;

Jalankan progam. Jika proses upload sukses akan muncul pesan “File Uploaded”

Nah itulah program upload ke FTP server.

Source : https://www.example-code.com

https://www.chilkatsoft.com/

https://www.ilmukomputer.com/