Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 09:17
    Liamolucko closed #169
  • 09:17
    Liamolucko commented #169
  • 09:14
    crowlKats commented #169
  • 08:44
    Liamolucko opened #169
  • Nov 25 17:06

    bartlomieju on upgrade_dprint

    (compare)

  • Nov 25 17:06

    bartlomieju on master

    upgrade: dprint 0.10.0 upgrade: dprint 0.10.0 (#83) (compare)

  • Nov 25 17:06
    bartlomieju closed #83
  • Nov 25 15:04
    bartlomieju opened #83
  • Nov 25 15:04

    bartlomieju on upgrade_dprint

    upgrade: dprint 0.10.0 (compare)

  • Nov 25 13:29
    Nircek commented #161
  • Nov 22 23:28
    fr33roam3r opened #168
  • Nov 15 14:55

    ry on master

    feat: use direct mirror for lat… (compare)

  • Nov 15 14:55
    ry closed #167
  • Nov 15 14:55
    ry closed #115
  • Nov 14 21:49
    dbrn commented #166
  • Nov 14 18:56

    bartlomieju on update_dlint

    (compare)

  • Nov 14 18:56

    bartlomieju on master

    update dlint to 0.2.10 update dlint to 0.2.10 (compare)

  • Nov 14 18:56
    bartlomieju closed #82
  • Nov 14 18:46
    bartlomieju opened #82
  • Nov 14 18:46

    bartlomieju on update_dlint

    update dlint to 0.2.10 (compare)

Ryan Dahl
@ry
dang - there's a lot of settings
Luca Casonato
@lucacasonato
I wasn't kicked out, I just can't load the server. Stuck on an Infinite loading screen.
Ah works now.
Joe Pea
@trusktr

@nayeemrmn

Deno's only principle is the use of URLs. If you want versions, use a host that lets you select versions in the URL. If you want semver, use a library that complies with semver.

That equates to letting the community do it however they want. It may cause different ways to have versioning in the community (f.e. the dem lib is one way to manage versioned code), making some fragmentation that could be avoided.

deno.land just accepts github tags. I guess your suggestion is to only accept tags of the form vX.X.X, to set an example for people to use semver?

That could be a possibility, and the deno.land/x server could resolve version ranges like ^X.X.X by calling the GitHub API to get repo tags, filter to only the ones matching the major number (or minor number for version with major 0), then choose the latest match. Or something. That's almost similar to the idea of having lib authors publish a manifest JSON file with a list of version numbers, or an object mapping versions to URLs, which should be permanently cached by deno.land/x so as not to allow breaking changes by arbitrary change of a version URL).

@kevinkassimo

an election or at least verification process [for libs in /x]

That may work initially, but also as libs are continually updated we'd want them to continue following a standard.

@kitsonk

Identifying packages that self assert they are following semver solves what problem?

@iAmNathanJ wasn't suggesting that that particular action solves a problem. He was suggesting that the fact that there's thousands of dependencies in his project and it all works all of the time is amazing, and hinting that semver is in part responsible for it.

I don't believe anything needs to be centralized in order to have semver.

deno.land/x strictly supporting semver as a CDN does not make things any more centralized than deno.land/x already is.

Anyone desiring not to follow semver could publish on any other server in any way they want. This isn't a feature that is built into Deno runtime. I'm just talking about deno.land/x supporting it, as a way to tell to people that "if you want to be featured on deno.land/x then your lib should follow the standard we've set, but feel free to publish your code in any way on any other server as Deno runtime cares only about URLs."

In web browsers, yes, we can import any script from anywhere. We can also choose to import scripts from unpkg with version numbers. The same could apply to deno.land/x, it can be a web server that people trust for versioned Deno libs, while people would be aware they can run any code from anywhere without the same guarantee.

People are arguing here for Yahoo!, a centralised directory of web sites, categorised all nicely for them. Who goes looking for a website on Yahoo! these days?

I never knew the difference. I thought Google and Yahoo did the same thing: I search, they provide websites. I presume they both categorize websites. But anywho,

If anything, we need the Deno equivalent of Google that can go out, search and categorise code, determine if it is strict or not, if it works with a particular version of Deno or not.

You forgot one thing! It could be this:

If anything, we need the Deno equivalent of Google that can go out, search and categorise code, determine if it is strict or not, determine if it uses semver or not (perhaps looks for a default json manifest file, if it works with a particular version of Deno or not.

And in particular, guarantee that the json manifest file for libs hosted on deno.land/x never ever changes, otherwise that defeats the purpose. This way, if a lib author changes what a version points to, it will break everyone's code instead of silently introducing a backdoor trojan virus cryptominer worm. Still, someone's domain can get hijacked, but at least some malware surface area is reduced.

Google Chrome browser searches websites for manifest.json files, by the way.

Maybe, as a rule of thumb, a manifest file can not point to anything outside of the domain where it comes from. Then we're limited only to domain hijacking as a problem.
But still, NPM is open source, and NPM registries are open source, so techincally anyone can host code anywhere. People just find it easy not to do that if they don't need to. It isn't strictly centralized by force.
Opliko
@oplik0
@kitsonk that's what I meant by that Deno doesn't have to implement something like semver within itself - as long as there is some way to select a version (which there is in case of git repos), someone can build a "better" versioning on top of that, so users can choose if they want somethink like it, or just want to fetch the newest version under some url.
Now that I think about it, it's kinda like a web browser
Someone just has to build a web archive now :)
Ryan Dahl
@ry
Hello everyone. Gitter kinda sucks. I hate to cause a lot of disruption, but we're going to move the chat room to Discord
https://discord.gg/TGMHGv6
Eren Yagdiran
@m00dy
Hey guys, for those haven't moved to discord yet, I gotta tell you something. I'm about to launch my new project deno services. Check it out at https://deno.services
Philip Denys
@philipdenys
@ry thumbs up
Clemens Tolboom
@ClemensTolboom_twitter
@ry thanks :)
Joe Pea
@trusktr
What does it do?
Neat concept though, that any library's code can be published as simply URLs on a domain.
David Stone
@davidjamesstone
@nmay231 @kevinkassimo there was a similar idea on twitter about using Blockchain tech for a deno pkgmgr that could create a revenue stream for package authors. https://twitter.com/balupton/status/1085963107531247616?s=20
I don't know much about Blockchain but I thought it sounded like a good idea
Kevin (Kun) "Kassimo" Qian
@kevinkassimo
Interesting. I’ve heard of Steem before for digital publishing. But yeah such an experiment might need a separate team to work on (and more people who is working in the crypto field)
(Personally took a class on cryptocurrency and have written Ethereum contracts before, so I have some understanding to how blockchain could work and related principles, but definitely not to the level of creating new protocols or design myself... If we were to do this we need more people in that field)
Also the chatroom has moved to Discord: https://discord.gg/TGMHGv6
Joe Pea
@trusktr

@davidjamesstone

Blockchain tech for a deno pkgmgr that could create a revenue stream for package authors.

Interesting idea for any sort of package/module/code manager.

Does it mean to use a module you'd have to pay some small amount for it every time? Or how would that work?

Garrone Joseph
@garronej
@m00dy lol BOLD move considering there is almost nothing to check out yet... I subscribed though
Saddam M
@undefinedbuddy
Hi! Would like to know if there are any examples of Deno plugins in action, with Rust source code included. Seems to me that it is still premature and so far, deno-plugin-prepare doesn't work. Are there at least any descriptive documentations for Deno plugins?
Qwerasd
@qwerasd205
In this file
// The following code is based off:
// https://github.com/inexorabletash/text-encoding
is wrong.
The previous TextEncoder implementation was, not this one.
This one is based off of http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ (as clearly evidenced by the inclusion of the applicable license in the following lines)
Also, not sure the copyright line at the top can really apply, since because it's a port of already copyrighted code no one else can really claim copyright.
Qwerasd
@qwerasd205
Also, maybe a good idea to include the link to that original C function for people interested in details (kinda like I did in my original gist of the function)
// This function is based on Bjoern Hoehrmann's DFA UTF-8 decoder.
// See http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ for details.
Anyway, I was just awake at 4am and wondering if Deno was still using my function and saw that when I checked, so felt I had to say something. Gonna check the chat later to see any responses.
Nayeem Rahman
@nayeemrmn
The chatroom has moved to Discord: https://discord.gg/TGMHGv6
Doron Tsur
@qballer
@ry any way deno and bit.dev can collab ?
Joe Pea
@trusktr
Doesn't seem likely. bit.dev is a build-full system relying on NPM, deno is a build-less system which explicitly does not rely on NPM but only on native modules.
Andrew Kaiser
@andykais

The chatroom has moved to Discord: https://discord.gg/TGMHGv6

seeing "Invite Invalid" when attempting to join the discord.
edit: disregard, the invite works when manually joining a server

matrixbot
@matrixbot
donpdonp discord--
donpdonp can someone bridge the discord room(s) into Matrix?
Radonirina Maminiaina
@radonirinamaminiaina
Hello Team, congratulation for the v1
lin
@chenxyzl
hope tensorflow.js translate to typescript。and run on deno
Mike Carifio
@mcarifio
@ry et al, congrats on https://deno.land/v1
pita238
@pita238
I have some errors when I try to connect deno to mysql.
INFO connecting 127.0.0.1:3308
error: Uncaught InvalidData: data did not match any variant of untagged enum ArgsEnum
can you elp me
I tried with mysql 5.5, 5.7, 8.0, the same errors
Gabriel
@gabrielgrover
Hello all! Just started messing around with Deno. While working on a toy project the need to create mock Request and Response objects has come up. Anyone know of a package that does this?
Donald Wu
@yeukfei02
@gabrielgrover oak
matrixbot
@matrixbot
tc98765 Gabriel (Gitter): is this for testing?
Uniminin
@Uniminin
hi