News for hackers. Stuff that matters.

gobookdev

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.

Re:JupyterLab Desktop App now available on Wednesday September 22, 2021 @11:29PM (#28624933)
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.
Re:JupyterLab Desktop App now available on Wednesday September 22, 2021 @08:24PM (#28623812)
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.
Re:JupyterLab Desktop App now available on Wednesday September 22, 2021 @07:56PM (#28623592)
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.
Go has goto
Re:Windows 11: Just say no on Friday September 17, 2021 @07:33AM (#28564168)
It's cool you don't have to do anything to get it to work now, just install distro and bam!
Re:Windows 11: Just say no on Friday September 17, 2021 @07:26AM (#28564097)
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.
Re:Norm Macdonald has died on Tuesday September 14, 2021 @08:26PM (#28533461)
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.
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.
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.
Yes because Javascriptbang was taken by a cross-platform TUI db tool written in Java
Dbeaver is fantastic, Java though
Re:Windows Subsystem for Linux GUI on Friday September 10, 2021 @08:38PM (#28488409)
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...

Re:Maintain It with Zig on Thursday September 09, 2021 @03:24AM (#28467189)
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.
Re:Maintain It with Zig on Thursday September 09, 2021 @01:42AM (#28466658)
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.
Re:The web is swallowing the desktop whole (2017) on Thursday September 09, 2021 @01:08AM (#28466456)
VS Code is my fav piece of software of all time, it's an Electron app
No it's not, it can be even simpler, but it's a great start and evolution
Re:RG3D (Rust game engine) feature highlights on Sunday August 22, 2021 @07:54PM (#28270880)
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.
Re:The Web Is Eating the Desktop (2017) on Sunday July 11, 2021 @11:45PM (#27806772)
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.
Re:The Web Is Eating the Desktop (2017) on Sunday July 11, 2021 @11:36PM (#27806703)
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.
Re:The Web Is Eating the Desktop (2017) on Sunday July 11, 2021 @07:52PM (#27805515)
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.