HNHacker News
TopNewBestAskShowJobs

rough-sea

225 karma · joined June 11, 2015

submissionscomments
rough-sea··on Fresh 1.1 – Automatic JSX, plugins, DevTools, and more
It’s a server-side framework that delivers static content - but the static content is rendered just in time rather than ahead of time.

For ahead of time static sites in Deno, check out Packup https://packup.deno.dev/

rough-sea··on Fresh 1.1 – Automatic JSX, plugins, DevTools, and more
https://deno.com/blog/fresh-1.1#experimental-denoserve-suppo...

Just use --unstable to enable it.

rough-sea··on Fresh is a new full stack web framework for Deno
You can use Node modules in Deno using https://esm.sh/

You can use Deno modules in Node using https://github.com/denoland/dnt

rough-sea··on Eigen: A C++ template library for linear algebra
This library is used heavily inside Tensorflow. It is “production ready”.
rough-sea··on Tolkien's Paintings
There are many more paintings than are featured on this site.

https://www.themorgan.org/exhibitions/tolkien https://www.nytimes.com/2019/02/14/arts/design/tolkien-exhib...

rough-sea··on Server-Sent Events: an alternative to WebSockets
A complete SSE example in 25 lines on Deno Deploy: https://dash.deno.com/playground/server-sent-events
rough-sea··on Rethinking Errors, Warnings, and Lints
"informing without blocking can be useful to allow rapid progress, but if any phase ever decides to inform, some later phase must block on the same thing to ensure the problem doesn't stick around"

In Rust, #![deny(warnings)] is consider bad practice for the reasons explained in this article - it blocks progress too early.

Rather setting RUSTFLAGS="-D warnings" in CI will easily prevent warnings from being committed.

rough-sea··on Rust should have larger stdlib
https://deno.land/manual@v1.17.2/standard_library
rough-sea··on Bugs are evolving to eat plastic
https://journals.asm.org/doi/10.1128/mBio.02155-21

Link to paper

rough-sea··on WebGPU computations performance in comparison to WebGL
It's a little known fact that Deno has WebGPU built-in already: https://doc.deno.land/builtin/stable#GPU
rough-sea··on Annotated code for a demo of WebSocket chat in Deno Deploy
previous discussion https://news.ycombinator.com/item?id=29131751
rough-sea··on AWS Lambda Cold Start Times
> just

As if everything else is the same. It is a completely independent code base.

rough-sea··on Using WebAssembly threads from C, C++ and Rust
Deno 1.12 supports wasm threads https://deno.com/blog/v1.12#atomics-and-sharedarraybuffer-sh...
rough-sea··on Babel is used by millions, so why are we running out of money?
Deno is a full server-side JavaScript VM - it doesn't even solve the same problem as Babel...
rough-sea··on Blogging vs. Blog Setups
where are the livejournal users?
rough-sea··on Beware of Async/Await
The mistake is not getting the body of the response. Is it even meaningful to concat two response objects.

It's amazing what gets upvoted on HN.

rough-sea··on Ron Graham has died
In 2002, I was an undergraduate in mathematics at UCSD. I had taken Fan Chung's graph theory class and was captivated. I asked her if I could help with any projects, said I knew perl and python. She handed me off to a graduate student who ask me to build a web crawler. They wanted to analyze the www graph. I was introduced to Ron in the hallway by Fan. I knew of him - he was one of the most famous professors in the department. I was honored to shake his hand. I never made much progress on the www crawler. I regretted my laziness later in my subpar grad school.

That's all. Just a small memory from a random person.

rough-sea··on What the Hell Is a Deno?
https://deno.land/manual/linking_to_external_code/integrity_...
rough-sea··on TSMC Announces Intention to Build and Operate Advanced Semiconductor Fab in U.S.
Why are fabs being built in az?
rough-sea··on Analog-Cartpole: A hybrid analog/digital reinforcement learning experiment
Neural networks are largely operating on 32 or 64 bit floating point numbers. Many millions of them. If you think how this works at the hardware level there are many little cores in a GPU for operating on matrices of these numbers. To feed a 32 bit float into one of these, it requires 32 wires - deep in the silicon.

Also note that neural networks are inherently noisy. We often insert a bit of noise into various parts of the computation graph.

In analog circuity only a single wire (or maybe two if you’re using a differential pair) would be needed to represent a noisy float.

If we had some sort of IC that could dynamically configure large analog computations, it may allow NN compute-graph computations to be improved by orders of magnitude. 1 wire instead of 32. Real noise instead of artificial.

Have people ever tried to something like an analog FPGA?

rough-sea··on Dawn, a WebGPU Implementation in C++
are there rust bindings?
rough-sea··on Three of Apple and Google’s former star chip designers launch NUVIA
I wonder if they are considering RISC-V. Probably not - they don’t sound like risk-taking people. But given the timelines of chip production, I would think a couple years from now a solid RISC-V server might be very much in demand.
rough-sea··on Developing open-source FPGA tools
I wish there was an open source FPGA silicon design.
rough-sea··on RLSL: a Rust to SPIR-V Compiler
Just to be clear, SPIR-V has no relation to RISC-V?
rough-sea··on FPGA Design for Software Engineers
Sounds like a fun project.

You might find this video helpful: https://www.youtube.com/watch?v=us2F8wAncw8

I think his design is very interesting, showing how to mix custom peripherals with picosoc so you can get very good response but also be able to program in C.

rough-sea··on Making the Tokio scheduler 10x faster
https://github.com/denoland/deno/blob/4221b90c3febbe03a4b47e...
rough-sea··on Sunsetting Python 2
This issue is marked as wont-fix https://bugs.chromium.org/p/chromium/issues/detail?id=61357

Here is another issue which looks more recent and hopeful https://bugs.chromium.org/p/chromium/issues/detail?id=942720

rough-sea··on Sunsetting Python 2
Is there even a plan to transition the chromium code base to python3?
rough-sea··on Async-std: an async port of the Rust standard library
Absolutely. The whole std::future interface has been borne out of years of careful attempts to actually make these abstractions work in real life. async-std didn’t come from a vacuum. It’s a incremental improvement on tokio that benefits from being able to greenfield on top of the newly changed and standardized future trait.

Carl Lerche and the rest of the Tokio contributors deserve a citation.

rough-sea··on A New Clue to How Life Originated
I highly recommend this related podcast discussing the project to build a synthetic cell https://www.preposterousuniverse.com/podcast/2019/07/22/56-k...
← PreviousPage 2 of 3Next →