News for hackers. Stuff that matters.
Re:Telegram Desktop reaches version 1.0 by Philipp__ on Thursday January 12, 2017 @06:19AM (#13381406)
Native all the way! Opening github page of app and seeing that pink line instead of yellow (line that represents languages used in project) made me smile! I am really surprised they did native app, plus it looks really nice, I tought "sigh, another electron app", but to my surprise I was wrong! Good job for guys at Telegram, respect.
Re:Telegram Desktop reaches version 1.0 by Hamcha on Thursday January 12, 2017 @06:31AM (#13381448)
Even the previous layout (which I personally preferred, but tastes…) still looked like a webapp more than native.. in a good way, never had any glitches and I really wonder how much it must have took them to make all the animations work so nicely. I loved toggling between chats and settings to see if it broke.. but never did!
Re:Telegram Desktop reaches version 1.0 by baldfat on Thursday January 12, 2017 @09:29AM (#13382413)
> "sigh, another electron app"

Awesome Electron Apps

+ VS Code (Which was light years ahead of Atom but that gap has narrowed)

+ RStudio

+ Discord

Re:Telegram Desktop reaches version 1.0 by Philipp__ on Thursday January 12, 2017 @09:39AM (#13382499)
Your point is? Emacs/Vim/Sublime are faster, more extensible and native compared to VS Code. RStudio I didn't use, nor I programmed in R, and I didn't know it was Electron app anyway.
Re:Telegram Desktop reaches version 1.0 by baldfat on Thursday January 12, 2017 @10:14AM (#13382780)
I used VIM on my Amiga. Today I am mostly using VS Code on my 8 year old Dell at work. For coding there is no performance issues.

My Point: VS Code is a great electron application. Works great.

Re:Telegram Desktop reaches version 1.0 by Philipp__ on Thursday January 12, 2017 @11:43AM (#13383717)
It is but it's slower than Vim. I've tried it. It is fast, for Electron app. Try opening huge text or log file in it.
Re:Telegram Desktop reaches version 1.0 by baldfat on Thursday January 12, 2017 @03:54PM (#13386014)
> It is but it's slower than Vim.

VS Code < Vim < Vi < ed

I don't get the text editor speed as an issue ever. I used Vim (I use Vim mode in all my editors) not because it was faster on the CPU it was because it made my work faster. Today VS Code makes me work fast. I seriously have a 8 year old Dell crappy corporate computer for work and there is no noticeable slow down on either RStudio or VS Code.

Re:Telegram Desktop reaches version 1.0 by lqdc13 on Thursday January 12, 2017 @07:02AM (#13381588)
No secret chats in Telegram Desktop means its primary selling point is lost.
Re:Telegram Desktop reaches version 1.0 by Al-Khwarizmi on Thursday January 12, 2017 @08:25AM (#13381971)
The encryption is often cited as its primary selling point here, but I don't think that's too representative. Certainly it isn't for me and most other Telegram users I know. I don't care much about that as I don't really trust any messaging app enough to send really confidential information through them.

For me, for example, he selling point is having an interface as slick as Whatsapp's, but not being tied to the phone, not having to necessarily give your phone number, sending whatever attachments you want, and getting a searchable log in the cloud.

Bots are also a popular feature with many users.

Re:Telegram Desktop reaches version 1.0 by mverwijs on Thursday January 12, 2017 @10:43AM (#13383064)
Telegram most certainly required me to enter mobile phone number. (Wouldn't even take a landline!)
Re:Telegram Desktop reaches version 1.0 by Al-Khwarizmi on Thursday January 12, 2017 @04:50PM (#13386446)
Sorry, I didn't express myself too clearly. I meant that you can add contacts without giving them your phone number. You do have to give Telegram your number.
Re:Telegram Desktop reaches version 1.0 by ParadoxOryx on Thursday January 12, 2017 @10:55AM (#13383184)
I think they are referring to the username functionality that Telegram has — https://telegram.org/faq#q-what-are-usernames-how-do-i-get-o...
Re:Telegram Desktop reaches version 1.0 by reitanqild on Thursday January 12, 2017 @08:25AM (#13381968)
?

I - and I guess many with me - don't trust the encryption at all.

I assume the crypto might be broken, NSA and FSB and aliens might be listening but I don't care.

My reasons to use it:

Desktop support is way better than Whatsapp.

More possibilities (bots, channels mostly).

And because I don't want to support Whatsapp by being part of the network effect that keeps people on that platform.

The reasons I use private chats sometimes is just to use autodelete to protect my conversations with my wife against my kids.

Re:Telegram Desktop reaches version 1.0 by newscracker on Thursday January 12, 2017 @08:58AM (#13382185)
You should try Wire [1] for multi-device sync and multi-OS use that has all chats encrypted end-to-end (like secret chats). It's not yet on par with the Telegram speed and UX, but it's quite good.

[1]: https://wire.com

Re:Telegram Desktop reaches version 1.0 by notheguyouthink on Thursday January 12, 2017 @09:09AM (#13382261)
I'm confused, how are there no secret chats? I use them all the time from Desktop.. but maybe you mean Windows? I don't recall trying them from Windows - i use the OSX version.

Secret chats on OSX has the same UX as secret chats on my Android client, fwiw.

Re:Telegram Desktop reaches version 1.0 by Kipters on Thursday January 12, 2017 @10:53AM (#13383161)
You're probably using the Mac app. The post is about the Telegram Desktop cross-platform app, that doesn't support secret chats.
Re:Telegram Desktop reaches version 1.0 by notheguyouthink on Thursday January 12, 2017 @12:21PM (#13384126)
Weird, so i guess for OSX they have two desktop clients. Such ambiguous wording. Thanks
Re:Telegram Desktop reaches version 1.0 by ekiara on Thursday January 12, 2017 @07:18AM (#13381658)
Whats wrong with Electron Apps?
Re:Telegram Desktop reaches version 1.0 by discreditable on Thursday January 12, 2017 @07:43AM (#13381757)
I'm not a fan because if I have 50 electron apps I have 50 builds of chromium/nodejs. This is bad because:

* Lot of wasted disk space.

* Each app loads a whole chromium/nodejs: lots of wasted RAM.

* The chromiums may not all be the latest. This could be bad if those have network exposure: https://sobersecurity.blogspot.mx/2017/01/looks-like-you-hav...

Re:Telegram Desktop reaches version 1.0 by izacus on Thursday January 12, 2017 @08:20AM (#13381953)
They're also bad platform citizens. Even in minor details - e.g. they don't exclude their browser cache dirs (which of course aren't in the OS cache dir!) from TimeMachine backups, so the incremental backups get clogged by random image caches. Accessibility is limited. Right click doesn't work. And more and more.
Re:Telegram Desktop reaches version 1.0 by baldfat on Thursday January 12, 2017 @09:23AM (#13382373)
> Right click doesn't work. And more and more.

MacOS? I fail to see that this is the way it works in RStudio, VS Code and Atom???

Re:Telegram Desktop reaches version 1.0 by izacus on Thursday January 12, 2017 @10:16AM (#13382800)
It doesn't in Slack and some other Electron apps. You just get generic "copy" popup and bunch of functionality is awkwardly bunched into hidden click menus which make me think there's an issue with creating these menus.
Re:Telegram Desktop reaches version 1.0 by baldfat on Thursday January 12, 2017 @11:40AM (#13383673)
https://github.com/electron/electron/pull/2232

Looks like it was addressed in 2015 but I don't think the other applications used the fix.

Re:Telegram Desktop reaches version 1.0 by kasparsklavins on Thursday January 12, 2017 @07:47AM (#13381774)
Have you ever taken a look at how much resources it consumes by comparison?

We would not have charge our phones every day and laptops would last for longer if anyone cared about how much their application consumes. It's ridiculous.

Good engineering isn't just about features.

Re:Telegram Desktop reaches version 1.0 by pjmlp on Thursday January 12, 2017 @07:41AM (#13381745)
Bloated, take too much RAM and don't use the OS features that I paid for.
Re:Telegram Desktop reaches version 1.0 by weberc2 on Thursday January 12, 2017 @12:13PM (#13384024)
Unfortunately, the cross platform UI alternatives are all terrible.
Re:Telegram Desktop reaches version 1.0 by pjmlp on Thursday January 12, 2017 @12:46PM (#13384357)
I don't consider Qt, wxWidgets, Swing, JavaFX, FireMonkey, <build your own layer> terrible.

For me it looks like web devs that don't want to learn native APIs.

Re:Telegram Desktop reaches version 1.0 by weberc2 on Thursday January 12, 2017 @10:06PM (#13388096)
In my experience building Qt apps for a major automotive manufacturer (and more recently, building a web app), the latter is much easier, even if you know C++ and Qt and have mediocre knowledge of web tech. If you don't know C++, then add 6-24 months to the Qt estimate, and expect it to have more bugs than an Appalachian motel.
Re:Telegram Desktop reaches version 1.0 by pjmlp on Thursday January 12, 2017 @11:56PM (#13388497)
How much QML in total application size did you use?
Re:Telegram Desktop reaches version 1.0 by weberc2 on Friday January 13, 2017 @02:10PM (#13393716)
Our application largely predated QML, so none.
Re:Telegram Desktop reaches version 1.0 by Karrot_Kream on Thursday January 12, 2017 @06:34AM (#13381460)
I really wish they would port the amazing thin Mac UI to other platforms. It's everything I want in a minimal, yet modern and clean looking IM UX.
Re:Telegram Desktop reaches version 1.0 by Philipp__ on Thursday January 12, 2017 @07:53AM (#13381796)
You mean Cocoa? It won't happen.
Re:Telegram Desktop reaches version 1.0 by akjainaj on Thursday January 12, 2017 @06:36AM (#13381467)
It's Qt by the way, and it's good on the three platforms.

This is the GitHub repo. https://github.com/telegramdesktop/tdesktop

Development has always looked a bit fishy to me, though. The main developer is anonymous (using the name/pic of a TV character), maybe it's even several people using the same profile.

Re:Telegram Desktop reaches version 1.0 by ivm on Thursday January 12, 2017 @10:59AM (#13383231)
> It's Qt by the way, and it's good on the three platforms.

I can't call "good" no accessibility support on macOS. But anyway Telegram Desktop is not the primary client for Macs, they have Cocoa-based alternative: https://macos.telegram.org/

Re:Telegram Desktop reaches version 1.0 by bushin on Thursday January 12, 2017 @08:09AM (#13381888)
That's probably Nikolai Durov.
Re:Telegram Desktop reaches version 1.0 by runn1ng on Thursday January 12, 2017 @07:36AM (#13381725)
I don't get it.

Why is native better than browser application? Browser application is by definition better sandboxed and can do much less damage to the system.

Normal application can do mayhem. And Telegram needs root access for installation... do I want to give it root access? When I can just open another tab?

Re:Telegram Desktop reaches version 1.0 by Mithaldu on Thursday January 12, 2017 @08:01AM (#13381847)
Performance considerations.

Telegram at idle sits at 80mb ram and <0.01% cpu. Wire for example sits at 250mb idle and waffles between 0.05% and 2% cpu. Discord sits at 200mb idle and waffles between 0.01% and 0.10%, leaning towards the latter, jumping above it every few seconds at least.

Re:Telegram Desktop reaches version 1.0 by pjmlp on Thursday January 12, 2017 @07:41AM (#13381743)
Some users enjoy that software developers take advantage of the features of the OS they bought for a better UI/UX and performance.
Re:Telegram Desktop reaches version 1.0 by Philipp__ on Thursday January 12, 2017 @07:57AM (#13381817)
Normal app can do mayhem just as any app can, even Electron one. I do not use Telegram, and do not know about root access, and it should be investigated. But root access is not always needed for native apps.

Why is it better? Hundreds of reason, you can see down below. I will try to sum it up why I like native over electron in 3 words: responsiveness, robustness, cleanliness. Electron on desktop is resource hog for me. It is good for people that don't mind that, and that are deep into JS ecosystem. I am not, and I always prefer native app, partly because I am on macOS and Cocoa looks beautiful.

Re:Telegram Desktop reaches version 1.0 by matthewmacleod on Thursday January 12, 2017 @08:03AM (#13381861)
Electron apps are still native apps and have the same security story. They just include a browser.
Re:Telegram Desktop reaches version 1.0 by runn1ng on Friday January 13, 2017 @05:18PM (#13395264)
Oooh, people are comparing native and Electron apps. Then yeah, in that case native makes sense.

I thought they are talking about the chrome app version of telegram, which I am using right now.

Re:Telegram Desktop reaches version 1.0 by jhasse on Thursday January 12, 2017 @09:18AM (#13382333)
Telegram Desktop doesn't need root access for installation. It's just a tar.xz file you can extract anywhere.
Re:Telegram Desktop reaches version 1.0 by stiGGG on Thursday January 12, 2017 @08:50AM (#13382135)
And i don't get it, why kids today want only a browser. All that flame wars about the best window manager we fought and now we end up with one window only and a fucking tab bar?
Re:Telegram Desktop reaches version 1.0 by nicoulaj on Thursday January 12, 2017 @01:57PM (#13385033)
Don't worry, they will invent tiling window managers inside a browser tab next.
Re:Telegram Desktop reaches version 1.0 by runn1ng on Friday January 13, 2017 @06:45PM (#13395797)
Isn't Opera experimenting on that now? :)