News for hackers. Stuff that matters.

mb720

Re:Firenvim – Turn the browser into a Neovim client on Thursday December 19, 2024 @06:25AM (#42460429)
The extension withExEditor[1] can open the editor of your choice in its own window, optionally with a different editor config file. Your editor writes to a file in /tmp and on each write, the text in the input field or area in your browser is updated with the contents of the file. This is an advantage over Tridactyl, by the way, since in Tridactyl you have to close the editor in order to update the text inside the browser.

[1]: https://github.com/asamuzaK/withExEditor

Show HN: File carver in the browser (Rust and WebAssembly)

https://mb.sb/tech/ana_carve/index.html

An experimental file carver [1], currently extracting only JPGs, written in Rust and compiled to WebAssembly.Files that the user provides are searched inside the browser, there's no server upload.The extraction of JPGs works using their magic numbers. I'd love to get ideas on possibly more sophisticated extraction methods and the Rust code in general.[1]: https://en.wikipedia.org/wiki/File_carving

( Read More... | no comments | on HN )
I used to like Windows 7 when it came out and Windows was the only OS I'd used.

It's hard for me now to love an OS that

* blatantly spies on its users[0]

* has an update mechanism that takes way too much time and CPU

* and an antivirus software that scans those updates, making the machine even slower

* shows ads, even though users paid for the OS[1]

* in its "professional" edition comes preinstalled with all kinds of cruft like Candy Crush[2][3]

* in its home edition blocking users to install a different browser, patronizingly claiming that Edge is the best[4]

Switching to Linux made me feel like I actually own my machine again.

[0]https://www.privacytools.io/operating-systems/#win10

[1]https://www.pcmag.com/how-to/how-to-remove-the-most-annoying...

[2]https://i.imgur.com/qhoV17Q.png

[3]https://www.pcmag.com/news/windows-10-will-come-with-candy-c...

[4]https://i.imgur.com/CBOqNmE.jpg

>scars from the 90s/00s hegemony

Honestly curious, are you referring to Microsoft's illegal[0] tactics to destroy Netscape?

[0]https://www.washingtonpost.com/archive/politics/2000/04/04/j...

Re:“I will slaughter you” on Friday February 19, 2021 @07:16AM (#26192304)
cURL is one of the greatest pieces of software I ever used.

Thank you, Daniel, for creating it and all the volunteers who maintain and improve it.

I donated some time ago to the project here: https://curl.haxx.se/donation.html

I encourage everyone who used it to do the same.

Don't let the crazies get to you.

Re:I Know What You Download on BitTorrent on Monday July 13, 2020 @12:47PM (#23822812)
Funny it categorizes Big Buck Bunny as XXX.
Similar to 'gf' there's 'gx' that opens a URL in your browser. I use this every day.

https://github.com/tyru/open-browser.vim

Here's my config from the vimrc:

" Disable netrw's gx mapping

let g:netrw_nogx = 1

" If the current word is a URL, open it in the browser. Else, pass it to a search engine

nmap gx <Plug>(openbrowser-smart-search)

vmap gx <Plug>(openbrowser-smart-search)

let g:openbrowser_default_search="duckduckgo"

Re:Why Continuations Are Coming to Java on Tuesday July 02, 2019 @04:06AM (#20333141)
There's an error in the presentation's slides: The type of returnIO is "a → IO a" and not "IO a → IO a".
Re:How We Found a Missing Scala Class on Thursday September 13, 2018 @04:18AM (#17976917)
The title is misleading. The class was there all along, the NoClassDefFoundError was thrown because the class loader was closed when trying to load a class.
The comment you refer to was about how programmers getting yelled at on the mailing list of the Linux kernel and how that's not OK.

The comment you refer to wasn't at all about Qt and the article about accessibility.

When I provide code for free I want to be treated with respect. There's evidence that this is not always the case when working on the Linux Kernel.

Of course, when somebody introduces bugs, that's a problem and should be talked about. But you can do that respectfully without sugarcoating the affair.

I get that the author is frustrated with false claims about Qt, but calling people working on open source software "hippie coders" is just an insulting misrepresentation harming any rational debate.
Re:Why we should learn German on Friday July 28, 2017 @03:42AM (#14872657)
> Germany is today a country where foreign journalists are chased through the street by communist activists

Source?

You can use Scala.js[1] to transpile your Scala code to JavaScript and have type safety between client and server. You don't need to use any frameworks if you use Scala's features on the client well.

[1] https://www.scala-js.org/

Re:The Antidesktop (2002) on Monday March 20, 2017 @06:51PM (#13918338)
Because of that I moved from Vimperator to VimFx[1] which is a great plugin.

Additionally, I use It's All Text[2] to write comments like these using Vim.

[1] https://addons.mozilla.org/de/firefox/addon/vimfx/

[2] https://addons.mozilla.org/de/firefox/addon/its-all-text/