Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 10:20
    a2800276 commented #566
  • 10:17
    a2800276 commented #566
  • 09:13
    bartlomieju synchronize #2809
  • 09:13
    bartlomieju edited #2809
  • 09:03
    bartlomieju commented #2804
  • 08:48
    bartlomieju opened #2809
  • 08:04
    bartlomieju synchronize #2804
  • 07:35
    romainPrignon synchronize #2805
  • 07:27
    bartlomieju synchronize #2804
  • 07:17
    bartlomieju synchronize #2804
  • 05:46

    denobot on gh-pages

    Deploy denoland/deno to github.… (compare)

  • 05:30

    ry on master

    introduce JSON serialization fo… (compare)

  • 05:30
    ry closed #2799
  • 05:27

    denobot on gh-pages

    Deploy denoland/deno to github.… (compare)

  • 05:10
    piscisaureus closed #2808
  • 05:10

    piscisaureus on master

    build: enable 'derive' feature … (compare)

  • 02:42
    ry synchronize #2799
  • 02:40
    ry synchronize #2799
  • 02:37
    ry commented #2801
  • 02:30
    s-panferov commented #2801
Qwerasd
@qwerasd205
There's a bug in error handling for Workers created from blobs.
new Worker(URL.createObjectURL(new Blob(['throw 0'])));
Bartek Iwańczuk
@bartlomieju
@crabmusket looks very elegant :+1: how do you compare Actions with say Travis/Azure Pipelines in case of speed?
Daniel Buckmaster
@crabmusket
I haven't used Travis for ages. We use gitlab CI at work with a self-hosted runner, and this seems more responsive but it's also doing much less...
Being able to "import" actions from elsewhere on github seems interesting. I might try creating a deno action to reuse...
Ryan Dahl
@ry
Is anyone going to rust-conf this friday?
Kevin (Kun) "Kassimo" Qian
@kevinkassimo
So far I only know a friend of mine who works on AssemblyScript is going...
Tomasz Gałkowski
@galkowskit
Completely out of context and with no expectations whatsoever, purely academic question. :D
Have you ever considered allowing 3rd party compilers to work with Deno? ie. getting ReasonML working (ReasonML->BuckleScript->JS?) and being available to access common Deno API? It could actually be fun to get "JVM for JSes" type of thing going.
Kitson Kelly
@kitsonk
@galkowskit denoland/deno#1739
Bartek Iwańczuk
@bartlomieju
@galkowskit that should be possible, check out this issue: denoland/deno#1739
:sweat_smile:
Tomasz Gałkowski
@galkowskit
Huh. One step ahead of me, I was expecting the obvious "just use OCaml, dude". :D
Looks dope.
Kitson Kelly
@kitsonk
I doubt it will make 1.0 though... maybe. We have more of the foundations and the work Bartek did on the deno cache enabled some of the logic to be able to align media types to particular compilers. I think though we gotta work through the issues around requesting modules and serialising modules to ensure we have a hardened compiler API we can make public
and I wouldn't want to really do that until the restructuring of the ops and the build reengineering settles down
Tomasz Gałkowski
@galkowskit
Still, I wasn't really expecting any work or thought to be given to this. That's really nice to hear even if it's not something we might see anytime soon. :thumbsup:
Kevin (Kun) "Kassimo" Qian
@kevinkassimo
Curious about the plan with flatbuffers removal. Also what was the intention behind porting some of the ops to use just JSON?
Ryan Dahl
@ry
@kevinkassimo basically we don't care about the speed of most ops
we have a way to optimize read/write (the super hot ops) already
so we can just use json instead of flatbuffers for every day situations
potentially add a better serde-compatible serialization later
Kitson Kelly
@kitsonk
Oooh... the TypeScript team have been working on a new handbook and in particular, they are properly explaining the compiler options: https://microsoft.github.io/TypeScript-New-Handbook/reference/compiler-options/. Some of it I intrinsically understood, some of it is really good new information.
I think @orta has had a huge hand in it... Thank you! This is really good stuff.
Ryan Dahl
@ry
@kitsonk oh nice!
Kurt Mackey
@mrkurt
is mod.ts a reasonable default for a program's entry point?
Ryan Dahl
@ry
main.ts ?
Kurt Mackey
@mrkurt
works for me
if there's no real convention, I'll just invent my own ;)
(I've been using server.ts)
Andy Hayden
@hayd
Is there a way to generate the .d.ts for aws sdk? https://github.com/aws/aws-sdk-js
I've tried a few permutations without any joy.
Kitson Kelly
@kitsonk
Assuming the media types get served up right, denoland/deno#2746 should work for it and it is in master and should be in 0.16
Andy Hayden
@hayd
I'd tried with your branch, if that's expected to work I'll give it another go. Or perhaps the aws-sdk isn't exporting?
Yordis Prieto
@yordis
Hey folks, is import statement aligned with ES6 spec or is something especial as Node Require?
Jed Fox
@j-f1
It should be aligned to the spec.
Nayeem Rahman
@nayeemrmn
Is libdeno_test.js actually being run by anything? It seems to be incorrect.
Yordis Prieto
@yordis
@j-f1 ty!
Kitson Kelly
@kitsonk
@hayd the modules are CommonJS modules... there is the global, one, but that also won't import under Deno too
Kitson Kelly
@kitsonk
@yordis the important thing is the spec only suggest the syntax... the actual resolution logic/format of the module specifier is technically not part of a spec and is simply left up to convention
Kitson Kelly
@kitsonk
@nayeemrmn it gets built into a special binary, that is part of the test suite... the special minimal binary is just so we can test the libdeno APIs (bindings to V8/C++) in isolation which we have to obfuscate in the full runtime, it isn't used or part of deno
Kurt Mackey
@mrkurt
if anyone has a Deno server app they want to host somewhere, we have a cool thing for you: https://fly.io/docs/getting-started/deno/
Daniel Buckmaster
@crabmusket
is it intended that deno fmt requires no permissions but deno test needs the network flag? I assume the former is because fmt is a "built in" command so permission is implied, but I'd have thought the same with the latter

@mrkurt that's cool! though what does this mean do you think?

Deno is a delightfully sane TypeScript runtime built around the browser fetch api.

is that a reference to importing from URLs?

Kitson Kelly
@kitsonk
I think the logic is more "if it is a controlled activity where trusted code is run, don't require permissions" . It is the privileged side that occurs in deno fmt that is requesting remote modules and accessing the file system. Just like deno bundle, it is privileged side writing out the bundle, though remote modules might be requested. With deno test it is essentially just like deno run except it goes about it a slightly different way, so it is unprivileged code driving the access, therefore it needs permissions.
Nayeem Rahman
@nayeemrmn
@kitsonk Well it uses this to refer to the global object, but this is undefined in a module. Try running it with Deno. Not sure if it's being built some special way?
Bartek Iwańczuk
@bartlomieju
@nayeemrmn it's not a module. You can see build config in core/libdeno/BUILD.gn
it's raw "js source" that is dumped directly into V8 isolate
Nayeem Rahman
@nayeemrmn
Thanks 👍
Bartek Iwańczuk
@bartlomieju
np :)
kitsonk @kitsonk agrees with @bartlomieju
Jed Fox
@j-f1
Whoa how did you do that @kitsonk?