9
I Use This!
Activity Not Available

News

Posted almost 8 years ago by Davy Mitchell ([email protected])
Chocolatey is a package manager for Windows similar to Linux's apt-get, based on Microsoft's Nuget tool and Powershell scripting language. It works from the command-line and from a WPF GUI interface. Good news - Chocolatey has cleared the moderation ... [More] backlog! Dart versions are far more up to date. You can install unmoderated versions by specifiying the install version during installation. Chocolatey has also been updated with versions 1.16.1 Command line installation: choco uninstall dart-sdkchoco install -y dart-sdk -version 1.16.1 To verify you... [Less]
Posted almost 8 years ago by Natalie Weizenbaum ([email protected])
Three weeks ago, I wrote about the stream_channel package. Two weeks ago, I wrote about the json_rpc_2 package which is built on top of stream_channel. This week I’ll complete the trifecta by writing about the vm_service_client package, which uses ... [More] json_rpc_2 in turn—and is a really cool package in its own right! One of the lesser-known corners of the Dart VM is its service protocol, but it’s one of its most powerful components. It uses JSON-RPC 2.0 over WebSockets to allow clients to connect to the VM, inspect its internal state, set breakpoints, and all... [Less]
Posted almost 8 years ago by Davy Mitchell ([email protected])
You know that feeling when you dust down an old project and you remember how much fun it was to work on? That! I started a shoot-em-up late last year. Needed a bit of a tidy up as did my simplegamelib package but the first level of the game is ... [More] playable right here! So take a coffee break a blast some aliens old-school style complete with programmer pixel art. For more serious game development in Dart, check out the impressive StageXL package. [Less]
Posted almost 8 years ago by Davy Mitchell ([email protected])
This little example was written over 3 years ago and needs a little fix (1 line) to run on more modern versions of Dart. The content type headers are now available as enums and ContentType.HTML prevents the page being served as plain text. Although ... [More] it is 'Minecraft' you could easily adapt this for any sort of custom web server. For the full code see GitHub. [Less]
Posted almost 8 years ago by Natalie Weizenbaum ([email protected])
Last week I wrote about the stream_channel package for two-way communication, so this week it seemed natural to move to a package that uses it: json_rpc_2. This is an implementation of the JSON-RPC 2.0 specification, which is a popular protocol for ... [More] providing structure and standardization to WebSocket APIs. Although it’s most commonly used with WebSockets, the protocol itself is explicitly independent of the underlying transport mechanism. This makes it a great fit for stream channels, which can be used to represent a two-way stream of JSON objects in a way that works with any underlying mechanism.... [Less]
Posted almost 8 years ago by Davy Mitchell ([email protected])
In part one of this series, the status panel on details exposed via the dart:io package. To get more useful information we will look at running external commands and feeding them back to the web status panel. This version of the panel will be Linux ... [More] (may work on a Mac!) only though could be easily modified for other platforms. The dart:io package has a useful command to execute a process with arguments and collect the results. This is unsurprisingly asychronous. I chose to wrap the command into a little helper: runCommand(String command, List args) async { ProcessResult... [Less]
Posted almost 8 years ago by Filip Hráček ([email protected])
Nane Kratzke is a professor of Computer Science at the Lübeck University of Applied Sciences in North Germany. He conducts cloud computing research at the university’s Center of Excellence for Communications, Systems, and Applications (CoSA). He ... [More] also gives Computer Science courses — one of which uses Dart as a vehicle to teach web programming. We asked Nane about this.   [Off-topic] Is it true you were researching network warfare at some point in your past?Yes, that is true. I... [Less]
Posted almost 8 years ago by Davy Mitchell ([email protected])
Chocolatey is a package manager for Windows similar to Linux's apt-get, based on Microsoft's Nuget tool and Powershell scripting language. It works from the command-line and from a WPF GUI interface. Good news - Chocolatey has cleared the moderation ... [More] backlog! Dart versions are far more up to date. You can install unmoderated versions by specifiying the install version during installation. Chocolatey has also been updated with versions 1.16.0 and 1.16.0 Command line installation: choco uninstall dart-sdkchoco install -y dart-sdk -version 1.16.0... [Less]
Posted almost 8 years ago by Natalie Weizenbaum ([email protected])
The stream_channel package is the youngest I’ve written about so far—the first version was published on 28 January 2016, only three months ago as I write this! But despite its youth, it fills a very important role in the Dart ecosystem by providing a ... [More] common abstraction for two-way communication. In my article on source_span, I wrote about how important it is for a package ecosystem to provide common conventions that can be used throughout the language. stream_channel is another great example of that. The core API it provides is extremely simple, just two getters and a set... [Less]
Posted almost 8 years ago by Kevin Moore ([email protected])
Dart 1.16 is now available. This release includes important updates to our tools.Faster developer toolsIn this release, we've been working closely with our users at Google to make sure Dart is even more productive for developers. We've optimized how ... [More] Dartium loads applications, improving the time it takes to open an application up to 40%. We also continue to invest in faster code analysis and quicker JavaScript compile times. You should see improved performance in this and future releases.Updated HTML APIsIn Dart 1.15 we updated Dartium to Chrome 45 from Chrome 39. In... [Less]