propensive / nettlesome Goto Github PK
View Code? Open in Web Editor NEWTypesafe representations of network concepts in Scala
License: Apache License 2.0
Typesafe representations of network concepts in Scala
License: Apache License 2.0
The way that a URL is processed may differ greatly, depending on whether it's an http
/https
URL, an ftp
URL or a file
URL. This should be encoded in its type, either as a singleton literal type, e.g. Url["http"]
or as an erased type corresponding to the protocol, e.g. Url[Http]
.
There is a comprehensive test suite of URLs here which could be read as part of the tests.
Ipv4
, Ipv6
and DomainName
don't currently have a common interface.
This should be an opaque type.
A url"http://..."
should be identified as a Url["http"]
, but currently it's not.
We should just be able to refer to Localhost
.
IANA provides a list of services assigned to different ports. This list could be used (at compiletime) to look up a port number from its service name.
A hostname should consist of a sequence of DNS labels, rather than Text
instances, and which have additional constraints on them.
Several kinds of errors have zero parameters, and do not provide any details.
This is available in the Java standard library.
This should support the a.b.c.d
and a.b.c.d/e
formats.
These should be two separate types, TcpPort
and UdpPort
.
These protocols also have port numbers and are registered in the IANA list of services.
The URL https:/foo/bar
is considered valid, and I don't believe it should be.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.