Stream

Join this community to post or comment

Faisal Abid

Discussion  - 
 
Hi gang, curious if anyone has used SecureSocket? Basically I was given a public key, host, ip and told to connect to the database with the public key.

However I can see that one of the arguments in SecureSocket is certificateName, but I'm unsure on where to pass in a public key.

If i just don't pass in anything as the arguments, just ip/host, it calls "onBadCertificate" and in that callback I can just return true and everything connects fine. but obviously bad practice.

Any help would be great! 
2
William Hesse's profile photoFaisal Abid's profile photo
6 comments
 
Thanks +William Hesse 1.13 BoringSSL is awesome. Really simplified a lot of things.
Add a comment...

Nino Porcino

Discussion  - 
 
I was wondering, since Emscripten (https://github.com/kripken/emscripten) allows you to compiler C++ code to JavaScript, what if we compile the DartVM to JavaScript? That could be a nice way to include the VM in the browser without using plugins or other non-standard technologies. We could even drop Dartium and just use plain Chrome. 

Has anyone ever tried it?
emscripten - Emscripten: An LLVM-to-JavaScript Compiler
2
Günter Zöchbauer's profile photoNino Porcino's profile photo
10 comments
 
+Vyacheslav Egorov got it, it makes a lot of sense, a VM is an edge case because it emits code, so no hope :-(. 
Add a comment...

Jonas Kello

Discussion  - 
 
I'm using the new .packages file without symlinks which is great. One thing I don't understand is how the HTML imports for polymer work now. I'm talking about code like this:

<link rel="import" href="../../../../../../packages/polymer/polymer.html">

I cannot find a symlink for "../../../../../../packages" anymore but still it works. But I don't know how :-)
6
Mike Mitterer's profile photoSeth Ladd's profile photo
5 comments
 
+Mike Mitterer we hear you. That's one of the reasons we don't ship with --no-package-symlinks visible. Most Dart developers should not run with that flag, as we clearly have more work to do there.
Add a comment...

Gero Nimo

Discussion  - 
 
Is there some kind of web framework such as Django(python), Spring(java) in dart too?
5
Emil Persson's profile photoGero Nimo's profile photo
9 comments
 
Someone has to make the first step and ask other ppl if they would like to create together a web-framework. Google SHOULD support this!
Add a comment...

Tommi Enenkel

Discussion  - 
 
Boys and Girls: A few days ago, http://gaming.youtube.com came into my awareness. Thousands of people watching other people play games. My question: Couldn't there also be potential for other people watch a game dev develop his game?

I am on/off-developing a real-time multiplayer (fullscreen) browser game in +Dart for about 1 1/2 years now and it may soon be time to go public. While this will continue to be a side project, it may be a good idea to ramp up my marketing.

The idea: Have a (manageable) closed beta while maintaining an open development process via livestreaming of the game dev or testing sessions via gaming.youtube.com and Google+ Hangouts.

What do you think?

If you want to join the Beta or become a co-developer, get in contact with me: tommi.enenkel@gmail.com

I would also welcome you on the new page that i created on Google+.

Cheers,
Tommi
Real-Time Multiplayer Asteroid Racing
5
Gero Nimo's profile photoDennis Kaselow's profile photo

Seth Ladd
owner

Discussion  - 
 
If you use the legacy debug protocol with the Dart VM, we would like to know.

It's not supported, and before we delete it, we need to determine the impact.

If you are using IntelliJ/WebStorm + debugging apps running on the stand-alone Dart VM, that counts as using the legacy protocol. We'd like to know this, too.

The VM has a new, supported, full-featured, working Service Protocol that should be used if you are connecting into the internals of the VM. https://github.com/dart-lang/sdk/blob/master/runtime/vm/service/service.md

Thanks for the feedback!
15
1
Jack Murphy's profile photoSeth Ladd's profile photoGuillaume Girou's profile photo
11 comments
 
+Jack Murphy I'm pretty sure the new Service Protocol helps make async debugging easier (if you are using async/await). Another reason to help JetBrains move over to the new protocol :)
Add a comment...

Lunix Watt

Discussion  - 
 
Polymer performance
Hi!
My question is quick and simple: what's the performance impact of Polymer, compared to vanilla Dart & HTML/CSS? Big, little?
I am thinking about using it but I don't want to make every of my apps around 60M of memory usage or a 20% CPU usage just because of it.
3
Lunix Watt's profile photoValery Shchepashchenko's profile photo
16 comments
 
Main flaws in polymer that eliminates the async call, is doing recalculate property tree, for dirty checking... Also object.observe, drafted as native in es6, polyfilled isn't performant, but considered for data binding, one of the heavily used feature today. Also, there is no significant archivements after 2 years of development...
https://github.com/Polymer/polymer/issues/864

Add a comment...

Frank Pepermans

Discussion  - 
 
Frank Pepermans originally shared:
 
Some fun I'm having with Dart and my own component set.

This is a spreadsheet app work-in-progress.

The grid is infinitly large, and you can use JavaScript to create cell formulas, in this case, I'm using a Fibonacci looper in column B, which takes the value on its left from column A.

Just like in any spreadsheet, if you multi-select cells, the formula will adjust itself to the relative content.
29
1
Hemant Shah's profile photoKao peter's profile photoCharles Kevin's profile photo
4 comments
 
cool!!!
Add a comment...

Kevin Segaud

Discussion  - 
 
If someone has an idea
Kevin Segaud originally shared:
 
Hey guys,

Is it possible, in a chrome app, to keep the background page active ?
I have set in the permission the background key but my app go inactive after an amount of time (~15s)

thanks
3
Kevin Segaud's profile photoSungguk Lim's profile photo
8 comments
 
happy to hear that.

FYI. service worker for chrome app is not ready yet.(developing now)
Add a comment...

Adrián Avila

Discussion  - 
 
Dart 1.12 has been released and the lack of announcement in the web like hacker news, slashdot, etc. even the lack of effervescent in its own community social media is kinda sad, still, that doesn't mean Dart is not a good language and the best alternative to javascript in the web, maybe we also failled as a community to spread the message.
9
Adrián Avila's profile photoMike Mitterer's profile photo
12 comments
 
+Gero Nimo​ I know what you mean - was the reason for me to start with MDL/Dart. But from Googles perspective I think it's hard to know what the community needs. Look where they started and in which direction Dart goes. Over-all If you don't like JS then there is in my opinion only one alternative - Dart. Since yesterday noon I'm messing around with IJ because it's it fails with autocompletion after I ungraded to 1.12 (not a general problem) and the whole thing drives me nuts but as said - JS is no option so I stick with Dart...
Add a comment...

Seth Ladd
owner

Discussion  - 
 
What's the best Getting Started guide for Dart on EC2/Amazon?

#lazyplus   #askingforthedocs  
7
Dennis Khvostionov's profile photoSeth Ladd's profile photo
2 comments
 
+Dennis Khvostionov good to hear :) I wanted to link to a getting started guide from our server-side docs.
Add a comment...

熊鑫

Discussion  - 
 
i can't find resource class in 1.13. It has been removed yet?
1
Günter Zöchbauer's profile photo
 
There were some comments in related SDK issues that the current approach might not be the best and needs reconsideration.
Add a comment...

Zdeněk Mlčoch

Discussion  - 
The Dart standards committee (ECMA TC52) met on January 14th, 2015. The committee discussed several areas where the language could be improved and agreed that these should be investigated in more detail, likely leading to det...
11
Add a comment...

Faisal Abid

Discussion  - 
 
Hi gang, I'm using a few transformers in my web project, so when I run the app, I typically call pub serve, let it run/recompile my changes as I develop and test in the browser.

However is there a way to debug using pub serve along with webstorm? Or even launch observatory with pub serve?

Spending too much time in server world! 
1
Jonas Kello's profile photoAlan Knight's profile photo
7 comments
 
You could perhaps get access to the observatory on the running pub serve instance. What I have done with transformers is write all of the logic so that it can be run without a transformer, and then I can have the transformer be a thin shell. When I need to debug it I can use a different thin shell to feed in the data. And as long as the problem isn't in the part connecting the transformer you can get reasonable debugging.
Add a comment...

Mike Mitterer

Discussion  - 
 
Docker + Dart
 
If you need to build a dart project without Dart installed you can use docker :

cd $myProject
docker run --rm -v $PWD:/app -it google/dart sh -c "cd app/ && pub build"

This helped me today to workaround an issue where it was not possible to build a project on a Mac due to https://github.com/dart-lang/sdk/issues/22099 .

This can also provide a way to compile with an other dart version. Thus you can have the latest stable version installed and build with the latest dev version. 
10
Michael McGuire's profile photo
 
OT but .. Note to self, do not define an 'rm' command line argument
;-}
Add a comment...

Kasper Peulen

Discussion  - 
 
Should Dart get rid of the 'new' keyword ?

Related to the discussion at dart-misc: 
https://groups.google.com/a/dartlang.org/forum/#!msg/misc/pmDHuwLDfRU/DwkenaRFDQAJ
148 votes  -  votes visible to Public
Yes, please :)
32%
Hell no !
42%
Just make it optional...
26%
7
1
Rudy Reeves's profile photoAdam Stark's profile photoEason Pai's profile photo
10 comments
 
I never miss the new in python, and it's just really a syntactic holdover from C++ / Java, but any change like this will inevitably break things.
Add a comment...
 
After the zeroth test show I have made some changes after some community feedback.

First of a name change its now just Dart Live.

The second is that to enable a more global audience we have to do this more async.
So for shows that don't need a big live audience. I will scheduled a normal hangout at lest 24 hours in advanced. At a date and time that works for the speaker. And we will let the part of the community that is available at the time join the live show. Then a later time i will edit one or more together to make show that i put on YouTube and other platforms. For now i will only announce these smaller live events on my own g+ page. Later we will have a Dart Live page.

For episodes that need a bigger live audience I will use services like crowdcast.io and schedule them at least a week in advanced and market them more aggressively. 

For now new episode will come online as they are ready. But you can expect more regular scheduled in the future when this R&D phase is over.
9
Kévin Platel's profile photo
 
I think that is a good change, and a good thing in general for Dart. more the Dart community will produce tutorial, video, ... more some great package could be saw by others and maybe good pratice and tips ^^.
Add a comment...

Peter StJ

Discussion  - 
 
Just pushed a change to my closure based library to allow stub generator that consumes the RPC package generated discovery document and produces closure compiler and library compatible JavaScript code for consuming the API similar to the stub generators for dart.

Posting it here for anyone who uses Dart in the back-end but is restricted to closure in the front-end - hoping it might be useful.
2
Add a comment...
 
The alpha episode is now streaming.
2
Add a comment...
 
Hi Dartisans.

Does anyone know if it is possible somehow to retrieve the implicit receiver from a closure?

class C {
m() { ... }
}

var c = new C();
var f = c.m;
// some way to retrieve c from f using mirrors?

Looking forward to your input!


2
Emil Persson's profile photo
6 comments
 
And then do aMirror.reflectedType to get A, I think
Add a comment...