HNHacker News
TopNewBestAskShowJobs

gobookdev

47 karma · joined July 11, 2021

submissionscomments
gobookdev··on Show HN: Go playground powered by WASM that runs in the browser
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··on JupyterLab Desktop App now available
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··on JupyterLab Desktop App now available
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··on JupyterLab Desktop App now available
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··on Taming Go’s memory usage, or how we avoided rewriting our client in Rust
a
gobookdev··on A function decorator that rewrites the bytecode to enable goto in Python
Go has goto
gobookdev··on Windows 11: Just say no
It's cool you don't have to do anything to get it to work now, just install distro and bam!
gobookdev··on Windows 11: Just say no
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··on Norm Macdonald has died
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··on Australian gov to use facial recognition and GPS tracking to enforce quarantine
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··on Australian gov to use facial recognition and GPS tracking to enforce quarantine
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··on Gobang – Cross-platform TUI database management tool written in Rust
Yes because Javascriptbang was taken by a cross-platform TUI db tool written in Java
gobookdev··on Gobang – Cross-platform TUI database management tool written in Rust
Dbeaver is fantastic, Java though
gobookdev··on Windows Subsystem for Linux GUI
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··on Maintain It with Zig
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··on Maintain It with Zig
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··on The web is swallowing the desktop whole (2017)
VS Code is my fav piece of software of all time, it's an Electron app
gobookdev··on In Go, pointers (mostly) don't go with slices in practice
No it's not, it can be even simpler, but it's a great start and evolution
gobookdev··on RG3D (Rust game engine) feature highlights
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··on The Web Is Eating the Desktop (2017)
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.
gobookdev··on The Web Is Eating the Desktop (2017)
VS Code has improved so much in such a short period of time, if people are comparing to a 6 months ago there has been endless improvements. I really like Intellij, think it's great as well, but it makes you do things in certain way depending on what language you're using. After learning how VS Code works you can use it however you want with whatever language you want.
gobookdev··on The Web Is Eating the Desktop (2017)
VS Code is my favourite software of all time, no need to use the menu bar with the command pallete and the excellent custom keybinds. It completely gets out of the way it is still more feature rich than any IDE through extensions. A blinking cursor is a small price to pay, I haven't even noticed that. I know it's not meant to be good being written in mostly TypeScript, but it just is.