Readit News logoReadit News
silvajoao commented on Gemini 2.0 is now available to everyone   blog.google/technology/go... · Posted by u/meetpateltech
silvajoao · a year ago
Try out the new models at https://aistudio.google.com.

It's a great way to experiment with all the Gemini models that are also available via the API.

If you haven't yet, try also Live mode at https://aistudio.google.com/live.

You can have a live conversation with Gemini and have the model see the world via your phone camera (or see your desktop via screenshare on the web), and talk about it. It's quite a cool experience! It made me feel the joy of programming and using computers that I had had so many times before.

silvajoao commented on Gemini 2.0 is now available to everyone   blog.google/technology/go... · Posted by u/meetpateltech
gallerdude · a year ago
Is there really no standalone app, like ChatGPT/Claude/DeepSeek, available yet for Gemini?
silvajoao · a year ago
The standalone app is at https://gemini.google.com/app, and is similar to ChatGPT.

You can also use https://aistudio.google.com to use base models directly.

silvajoao commented on Skia Canvas: Browserless implementation of the HTML Canvas drawing API for node   skia-canvas.org/... · Posted by u/DaniAkash
njtransit · a year ago
That’s pretty cool! But v8 alone kind of sucks unless you specifically want isolation. Sometimes you just want to make a network request, you know?
silvajoao · a year ago
That makes total sense in many applications, including games.

The idea was to have TCP sockets and Websockets to enable that.

Basically, have the same APIs you're familiar with in a Browser, but in a much smaller package that you can ship independently of the Browser.

(this is very similar to Electron)

silvajoao commented on Skia Canvas: Browserless implementation of the HTML Canvas drawing API for node   skia-canvas.org/... · Posted by u/DaniAkash
wis · a year ago
Amazing project!

> but also embeds v8 for a very small runtime instead of using Node.

By how much does embedding just V8 instead of using Node.js decrease the binary size? Node.js uses V8, does most of Node's binary size come from its runtime and not V8?

I tried browsing the website and GitHub repo to find how many kBs or MBs typically is a Window.js binary, but didn't find an answer.

silvajoao · a year ago
See the binary sizes in the (obsolete) releases page:

https://github.com/windowjs/windowjs/releases

About 8 MiB in the end. Note that these builds have a binary trimmed by UPX.

silvajoao commented on Skia Canvas: Browserless implementation of the HTML Canvas drawing API for node   skia-canvas.org/... · Posted by u/DaniAkash
silvajoao · a year ago
https://windowjs.org is a very similar concept -- it wraps Skia and exposes it as the Canvas API, but also embeds v8 for a very small runtime instead of using Node.

It was my first open-source project, released about 3 years ago.

I had plans to also expose WebGL, audio, etc and make it a viable platform for Javascript-based games on desktop.

Life and other projects happened instead, and development was discontinued. Happy to see this project also making Canvas accessible outside the browser!

silvajoao commented on The Best Science Fiction Books (According to Reddit)   blamcast.net/articles/bes... · Posted by u/chaosmachine
dlikhten · 15 years ago
Some others I'd recommend:

Have Spacesuit, Will Travel. Loved it.

Flatland. o.O

Isacc Asimov short stories collection (specially "Jokester" "The Golden Man" and "The Last Question")

silvajoao · 15 years ago
The Last Question is perhaps the short story with the most mind-bending finale. Highly recommended.

http://www.multivax.com/last_question.html

silvajoao commented on Stack Overflow: Printing 1 to 1000 in C   stackoverflow.com/questio... · Posted by u/numeromancer
silvajoao · 15 years ago

  #include <stdio.h>
  #define print printf("%d\n", n++);
  #define times2(x) x x
  #define times5(x) x x x x x
  #define pow3(x,f) x(x(x(f)))
  
  int main() {
    int n = 1;
  
    pow3(times2, pow3(times5, print));
    
    return 0;
  }

u/silvajoao

KarmaCake day216January 18, 2009
About
Programmer based out of Zurich.

Past work in Chrome, Google Search, Assistant, Google Lens, and now Google AI Studio.

Open sourced https://windowjs.org/

View Original