Stream

Join this community to post or comment

Kasper Lund

Contracts/Jobs/Gigs  - 
 
Are you the Dartisan we are looking for -- or do you know someone else who could be a great advocate for Dart? We are hiring!
24
1
Georg Curnutt's profile photoOscar Wang's profile photo
5 comments
 
You should have an intern level position for this :D
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.
9
Adão Junior's profile photo
Add a comment...
 
8000+ members!
23
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.
8
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...
 
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...

Jochen Breuer

Server-side  - 
 
Hey Dartisans, perhaps you can help me. Is there currently a practical way to interface with ZeroMQ on the server side? Thanks!
2
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
Josef Ježek's profile photoSlava Pankov's profile photo
7 comments
 
Why not TypeScript? And GWT 2.8 is Java8 and has new JS interop, works really great.
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...

Mike Mitterer

Client-side  - 
 
I can't find Dart and Chromium for Raspberry anymore... Does anyone have a current version? Thanks in advance.
2
seb mitchell's profile photoMike Mitterer's profile photo
3 comments
 
+seb mitchell Thanks man! Could not find it yesterday. What I'm still missing is Dartium for ARMv7 +William DeVore - If I have to compile such things myself, I take a different route. If it's a problem for Google to provide e.g. Dartium for ARM the chances are high that this causes troubles for me too.
Add a comment...

Jan Mlčoch

Client-side  - 
 
Hi guys, i work on single page app with angular 2 and I have problem with multiple routes. I have root component with <router-outlet> where is inserted next component with its own <router-outlet>. This works with ts but when i use DART child component <router-outlet> got component from root component route definition. Have anyone any experiences with this problem?

I use "/childComponent/..." in parent route definition. 
4
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...

Created by

About this community

This is a place to talk informally with other Dart developers. We welcome all Dartisans, be they curious, experimenting, or experts. Use g.co/dartisans to find us! You can also find us on Gitter: https://gitter.im/dart-lang

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
33
3
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
49
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...

이성철

Server-side  - 
 
One newbie question. Sorry. Is there any Dart based web framework that supports hot source code reloading?
I think that debug and re-run a server is a tedious process.
2
Hadrien Lejard's profile photoTobe Osakwe's profile photo
6 comments
 
The Angel CLI's 'start' command will auto-restart your server on file changes. If you're wondering about hot reloading on the client-side, it's not there yet, and probably would be difficult to implement. However, if you use 'angel_proxy', you can run pub serve through your server when in development mode. Check it out: github.com - angel-dart/proxy

Hope this helps!
Add a comment...

Luis Vargas

Announcements  - 
 
serializable - generates a serializable class from classes
14
Add a comment...

Tobe Osakwe

Server-side  - 
 
Angel is currently in alpha, and will move to beta within coming months. By 1.0.0, expect the ability to run your existing shelf applications within an Angel stack.

In the meantime, here's a brief a look at how to authenticate users with the framework.

Note that this tutorial only covers authentication, and not authorization.

Feedback is welcome. :)
Almost every real-world Web application interacts with users, whether storing their data, managing their subscriptions, or sending messages…
10
1
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
Katsushi Yako (Cat-sushi)'s profile photo

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...

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...

Monty Rasmussen

Announcements  - 
 
Every so often, I like to remind the community that CodinGame supports Dart. Let's make sure we let them know their effort is not in vain, and that other sites should follow suit. The best way to give them the message is to use it, which is easy to do, because it's fun!
CodinGame is a challenge-based training platform for programmers where you can improve your coding skills with fun exercises (25+ languages supported)
28
2
Add a comment...