HackerTrans
TopNewTrendsCommentsPastAskShowJobs

gobookdev

no profile record

comments

gobookdev
·5 lat temu·discuss
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.
gobookdev
·5 lat temu·discuss
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.
gobookdev
·5 lat temu·discuss
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.
gobookdev
·5 lat temu·discuss
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.
gobookdev
·5 lat temu·discuss
a
gobookdev
·5 lat temu·discuss
Go has goto
gobookdev
·5 lat temu·discuss
It's cool you don't have to do anything to get it to work now, just install distro and bam!
gobookdev
·5 lat temu·discuss
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.
gobookdev
·5 lat temu·discuss
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.
gobookdev
·5 lat temu·discuss
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.
gobookdev
·5 lat temu·discuss
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.
gobookdev
·5 lat temu·discuss
Yes because Javascriptbang was taken by a cross-platform TUI db tool written in Java
gobookdev
·5 lat temu·discuss
Dbeaver is fantastic, Java though
gobookdev
·5 lat temu·discuss
Anyone could already do it with a few lines of code.

Edit: Seems people don't believe me, here's an article how to do it: https://techcommunity.microsoft.com/t5/windows-dev-appconsul...
gobookdev
·5 lat temu·discuss
Nah another one, don't want to bad mouth it because I still hope the language does well. There's actually a bunch that could fit into the category.
gobookdev
·5 lat temu·discuss
Yeah I watched a couple of his talks, enjoyed every word. There is another interesting language (won't mention the name) but the creator won't let the public in and has a superiority complex, turned me off instantly. I believe Zig will blow up just because of the strong vision but without being a dick about it. It's next on my list for sure.
gobookdev
·5 lat temu·discuss
VS Code is my fav piece of software of all time, it's an Electron app
gobookdev
·5 lat temu·discuss
No it's not, it can be even simpler, but it's a great start and evolution
gobookdev
·5 lat temu·discuss
Very nice, have any large gaming companies been contacting you yet? I would think they'd have a pretty large interest in Rust after seeing buggy games like Cyberpunk on the increase.
gobookdev
·5 lat temu·discuss
I program mainly in Go, Python, TypeScript and some C/C++. A year ago I would have agreed with you, but one extension for each language now gives you almost everything you need. I bounce back to Goland, Webstorm, CLion and PyCharm occasionally as they have much more reliable refactoring, and have some really nice features missing from VS Code, but being a Polyglot VS Code makes it so much easier to use similar keybindings and processes across languages, I don't have to fight the IDE to get it to do what I want. Both great tools but my daily driver became VS Code a few months ago, it's pulled ahead in my opinion despite being free.