Stream

Join this community to post or comment

Toby A

Discussion  - 
 
I've uploaded a two-part video to YouTube in which I learn Dart from scratch and solve a real-world coding problem using the simulated annealing heuristic.

None of it is preplanned.

https://youtu.be/C-vUJCcJrik

https://youtu.be/hQgtZDVG6fk
30
3
Add a comment...
 
8000+ members!
22
Add a comment...

David Morgan

Discussion  - 
 
To people asking technical questions here -- I suggest using a more question-friendly forum. G+ has no way to pin/store posts, so it's very easy to miss questions!

https://groups.google.com/a/dartlang.org/forum/#!forum/misc and https://gitter.im/dart-lang/home are both good bets.
Where communities thrive. Free for communities. Join over 500k people: Join over 50k communities: Create your own community. Explore more communities. Browser, Desktop and Mobile Apps.
6
Katsushi Yako (Cat-sushi)'s profile photo
2 comments
 
BTW, G+ community has some trouble now.
I can't see your post at the community. (´・ω・`)
I'm commenting from the notification.
Add a comment...

David Morgan

Discussion  - 
 
"Why I moved".
I heard some are moving from JavaScript to Dart. Well, my journey was a bit different: I moved from Java to Dart. And, part of adwords…
56
10
Shawn Drape's profile photoDavid Morgan's profile photo
5 comments
 
+Shawn Drape The "move to Dart" the article talks about was in 2014 -- so those weren't really options back then.
Add a comment...
 
I'm confused.

The FAQ says,
Strong Mode ⊂ Sound type system
and at the same time,
Strong Mode = Sound type system ∪ Runtime checks ∪ Type inference
⇒ Strong Mode ⊃ Sound type system

What does it mean?
Questions and answers on how and why to write sound Dart code.
3
1
Katsushi Yako (Cat-sushi)'s profile photo

Filip Hráček
moderator

Discussion  - 
 
What packages do you miss in the Dart ecosystem?

If you've ever thought "damn, I'd sure use a Dart package that would do XYZ if it was available", please put it here:
https://sli.do/dartwishlist

Also, vote for others' ideas.

Please ignore that sli.do is asking for a 'Question'. I'm abusing this app (originally intended for events) to serve for idea voting. It still works better than other such apps I tried. Let's give it a shot and, if useful, I'll make time for a more professional approach.

I've had this on the todo list for about six months. +Frank Pepermans (of rxdart fame) reminded me of it on Friday (thanks!) and I realized that it's better to have something half-baked today than some amazing implementation never.

This thing is intended for the whole community. If you're thinking about creating a Dart package, use the wishlist to guide your decision on what to build. Then let us know here on +Dartisans that you're bulding it.
Join the conversation: ask your questions & vote in live polls.
22
1
Stephan Schröder's profile photo
 
Zdeněk is asking for an Angular2 datepicker. I published my wrapper for pikaday in december: pub.dartlang.org - pikaday_datepicker - A pub package for Dart
So if you need an Angular 2 datepicker give it a try, and if you encounter problems please open an issue on GitHub.
Add a comment...

Filip Hráček
moderator

Discussion  - 
 
firebase-dart in now listed among the officially supported helpers and libraries for Firebase:

https://firebase.google.com/docs/libraries/
https://firebase.google.com/docs/database/rest/start#section-library

Thanks +Jana Moudrá for maintaining this package!

Btw, everyone, let me know when you spot other notable omissions of Dart libraries and helpers in official lists.
34
1
Add a comment...

Adrián Avila

Discussion  - 
 
I just realised that learning Angular 2 is like learning Java EE.
6
Adrián Avila's profile photoLuis Vargas's profile photo
22 comments
 
Not true, remember that you can also create browser addons that works as stand alone applications that doesn't need a server.

Secondly if you decouple your server from your client you can have the capability of changing the server language and framework without changing your client code.

Remember that most of the frameworks are created to increase developer experience instead increasing app performance. For example spring MVC was created to reduce the amount of code you need to create to handle some stuff.

If your application is going to be not greater than 1k to 10k lines, there is no need to use any framework. Once your app begins to increase in size is when you should take in account some framework.
Add a comment...

Monty Rasmussen

Discussion  - 
 
It'd be nice if Dart were better represented in this 5-minute survey. If you've got a second, please respond!
What have you been learning in 2016? Which technologies are you going to learn next? We're writing a report on the state of learning programming and would love your input!
20
1
David Liedle's profile photoTobias Andersson Gidlund's profile photo
4 comments
 
Answered and said nice things about Dart 😀
Add a comment...

Monty Rasmussen

Discussion  - 
 
Dart is on this list...
New programming languages need to be learned to keep skills marketable. Keep your eye out on these 7 languages in 2016 and beyond.
43
4
Add a comment...

Filip Hráček
moderator

Discussion  - 
 
What is everyone using to throttle / debounce streams?

If found https://pub.dartlang.org/packages/stream_transformers and https://pub.dartlang.org/packages/rate_limit but I wonder if there's anything newer / more popular.

(If you're unfamiliar with throttle/debounce, here's a good interactive explanation, originally for JS lodash library: https://css-tricks.com/debouncing-throttling-explained-examples/)
stream_transformers - A Dart package for transforming streams.
7
Adão Junior's profile photo
Add a comment...

Filip Hráček
moderator

Discussion  - 
 
In case you missed this article: Andreas Kirsch made a Dart REPL. I'd be interested to hear from Dartisans here that play around with it. What capabilities are missing the most? Is it already useful to you?
Hacking with Dart
48
3
Mike Mitterer's profile photoÜmit Seren's profile photo
6 comments
 
Looks really good.
As mentioned in the article, adding support for jupyter notebook via a Dart kernel would be pretty awesome ;-)
Add a comment...
 
Hi dartisans,
I'm just curious about a following question.
I understand that there are some intentional holes of static type safety in strong mode.
Downcast is one of the intentional holes without --no-implicit-casts specified.

What else are the intentional or unintentional holes of static type safety in strong mode? 
3
Katsushi Yako (Cat-sushi)'s profile photo
 
For avoidance of doubt, I understand Strong Mode is under development.
Also, I understand the type system as a whole tries to be safe with static and dynamic checking together.
Add a comment...

Filip Hráček
moderator

Discussion  - 
 
Dartisans, we'd love to get your input on the current state of pub (the package ecosystem as a whole, not just the tool).

The survey looks intimidating at first but I promise you that once you get in the flow, it's fast and even fun.
Drive
Pub surveyPlease help us prioritize issues with the Dart package ecosystem.
20
2
George Kormaris's profile photoWilliam DeVore's profile photo
4 comments
 
+Filip Hráček There was another survey asking what we wanted to see added to Dart that was asked just prior to the conf.
Add a comment...

Lunix Watt

Discussion  - 
 
With the new Strong Mode and its advocating around it, I remember the time when Dart advocated for unsoundness.

I must say that in a few years, advocating for one thing and then for the reverse is pretty confusing.

So.
1. Soundness is the way to go?
2. Or unsoundness is?
3. Or, since we've the choice, both are good?
4. Did the experience with Dart told us that we thought unsoundness was the way to go, but it is in the end confusing?
5. Are we loosing optional typing?

This post isn't a poll yet but I rather want some comments. I think that soon I'll make a poll about it, but I first look for written answers.
12
2
Monty Rasmussen's profile photoBrian Slesinsky's profile photo
6 comments
 
There's no need to bring in politics here.

One driver for this is ahead-of-time, separate compilation using the Dart Dev Compiler. The idea is to generate safe, idiomatic JavaScript and that's not really possible if the compiler can't determine the types. This will also be useful in Flutter's ahead-of-time compilers.

It's also true that our users like static analysis.
Add a comment...

Monty Rasmussen

Discussion  - 
 
Hi, everyone. I've been banned from posting in the Webdev subreddit (https://www.reddit.com/r/webdev), apparently because most of my posts there are about Dart in some way. I'm sure my posts would still be welcome if they'd all been about JavaScript instead, but like all human organizations, Webdev is not governed entirely by reason.

I would encourage you all to link blog posts, articles, tutorials, and other legitimate web development content about Dart to that subreddit in my stead. Web developers need to be continuously reminded that Dart is still here, and that it's among the best options for solving problems on the web.
33
1
hypernova blast's profile photoMonty Rasmussen's profile photo
7 comments
 
+hypernova blast -- I wasn't even banned by the system. I was banned by a mod, whom I actually spoke to. Even though my posts weren't particularly frequent, and they were always related directly to web development, he said my account was coming off as "spammy" simply because Dart was usually part of them.
Add a comment...

Yousuf Haque

Discussion  - 
 
Hey Dartisans!

What CI/CD tools do you guys use?

I'm aware of drone.io but I was looking for some other solutions more along the the lines of jenkins/travis/codeship etc.

My main concern is being able to view test results from a pub test as well as failing a build if tests fail.


6
Matias Meno's profile photoRon Gonzalez Lobo's profile photo
3 comments
 
Distelli
Add a comment...

Nur Azhar

Discussion  - 
 
Ok I have completed https://da-bootcamp.firebaseapp.com/?course=start_programming_dart

now... how do I build something? can point me to something free?
6
Monty Rasmussen's profile photo
3 comments
 
Note that there are a number of full-program tutorials on https://dart.academy.
Add a comment...
 
Hey everybody,

I am learning Dart at the moment and I am struggling with debugging unit tests. I'm using WebStorm. From PHP/PHPStorm I'm used to being able to just hit "debug" in a test case and then the debugger stops on debug points in the tests, and in the code under test. This makes debugging unexpected behavior really easy: Write a test that triggers the behavior and than debug until you understand what happens. In WebStorm / Dart the "debug" button is disabled in tests. I found that I can write my own run configuration for the test (circumventing the testrunner) and then I can debug tests but that feels kind of clunky to me. Up until now Dart has presented itself as a pretty convenient language, so I guess I'm just missing something.
Is there an easy way to debug tests with Dart/WebStorm?

Thank you
5
Günter Zöchbauer's profile photoJann Peter van Wershofen's profile photo
2 comments
 
Thanks a lot. I'm happy that it's going to be fixed. Until than I can live with my workaround :-)
Add a comment...
 
Hello Everyone,
I want to learn dart.
But I dont know, from where I should start.
Please help or suggest.

Thank you.
7
1
Raph Alves Sa's profile photoPaul Matencio's profile photo
5 comments
Add a comment...