Hacker Newsnew | past | comments | ask | show | jobs | submit | gobookdev's commentslogin

I made this extension for VS Code that also saves the outputs to markdown, so you can save it straight to blog posts: https://marketplace.visualstudio.com/items?itemName=gobookde...

Each cell runs in a 0.3 secs on Linux, but 3 seconds + on Windows.

If you want just straight terminal check out Gomacro, that's a interpreter that runs really fast, didn't find any differences to compiled Go.


The API microsoft provides allow you to make outputs that do anything that JavaScript can do, when making an extension. One of their engineers made a something called REST Book that's a really good example.


I use VS Code notebooks a lot, I like the workflow so much that I made an extension for Go called gobook using the API. I bind everything notebook related to shift+alt, so shift+alt+enter to run cell, shift+alt+r to run all etc. I'm learning Rust and working on a VS Code notebook for it now.


A notebook for Rust? How does that work? I thought notebooks can only be used for interpreted language and not for compiled ones...


Theres a repl for rust that can be used in a Jupyter notebook. I am also curious about how it works under the hood but here it is for anyone to check out: https://github.com/google/evcxr


The way I did it for Go was by having a API start up on the local machine that executes the code and returns the result to VS Code, going to do the same for Rust.


a


TFA doesn’t argue that one is better than the other? Maybe you’re commenting on unrelated “click bait shit”?


Go has goto


It's cool you don't have to do anything to get it to work now, just install distro and bam!


Exact same for me, gave Windows 11 a try, really liked all the new features, only downgrade is not being able to put the taskbar on the side of the screen. Arch Linux will always be my daily, but I think they've done a good iteration, other comments probably haven't actually tried it.


He said that one of his fav quotes was from Letterman, something along the lines of "People hate you if they think you're smarter than them". He always played the idiot which made him more likeable, but he was always the sharpest cat in the room. RIP to a true legend.


We just had hundreds of thousands of people go to the beach yesterday ignoring lockdown orders, I was worried about my country having read things like Gulag Archipelago, but the general population have shown where their line is. Still we're now a police state and the general population doesn't seem to give a shit about that.


Rally your people and take it to the politicians’ offices until they throw out these policies entirely. Wear masks and go in big numbers.


Dude that organised the last protest got 8 months prison. 75% of the population agrees with some of the totalitarian laws. Still a great country, but I'm looking at other places to live, Senior Engineer so it won't be hard to get sponsorship. Thinking about USA where people really understand the importance of their constitution, and the tech sector is the strongest in the world.


Appreciate the kind words about America, friend. Even with our constitution it's still be a fight. Unconstitutional laws are passed regularly here, until they're challenged in court. Sometimes they fall, sometimes they stay.


Better throw out the politicians together with the policies. Now that they've shown their true colours it would be foolhardy to expect them to restrain their authoritarian instincts come the next emergency - and if there is one thing easily come by these days it seems to be emergencies.

Kick 'm out, elect a new batch and keep their feet to the fire.


Both major parties are authoritarian. Australia has a good electoral system but people have to stop believing in major parties, or that it doesn't matter, and vote in droves for independents and minor parties (who, if unelected, give their votes to the party they prefer).


Yes because Javascriptbang was taken by a cross-platform TUI db tool written in Java


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: