HNHacker News
TopNewBestAskShowJobs

scriptsmith

465 karma · joined May 29, 2016

github.com/ScriptSmith
submissionscomments
scriptsmith··on JetBrains IDE update previews “deeply integrated” AI Assistant
Interested in the ergonomics of this, it's more similar to GitHub Copilot Chat in VS Code, than regular Copilot. There's no autocomplete like in regular Copilot, so for new code I may end up using Copilot, and for refactoring I may end up using this.
scriptsmith··on YouTube CEO Susan Wojcicki is stepping down
They're 'better' in tone, but for many videos the comments come across as very sycophantic which is a bit tiresome. That's not always the case though, so probably depends to some extent on the channel's community.
scriptsmith··on The problem with Go’s default HTTP handlers
Thank you! I ran into this branching problem the other day, ended up trying to return a complicated boxed future and gave up.

In retrospect it makes sense to do it the way you mentioned. I think because I’m not as confident with traits and rust’s brand of async I tried to get it to work the same way I would in other languages, which is to mess with the function’s return type myself, rather than let the compiler figure it out.

scriptsmith··on Web scraping via JavaScript runtime heap snapshots
In a similar vein, I have found success using request interception [1] for some websites where the HTML and API authentication scheme is unstable, but the API responses themselves are stable.

If you can drive the browser using simple operations like keyboard commands, you can get the underlying data reliably by listening for matching 'response' events and handling the data as it comes in.

[1] https://github.com/puppeteer/puppeteer/blob/main/docs/api.md...

scriptsmith··on A New AWS SDK for Rust
I believe Jetbrains have stated that there would need to be more value to create a whole new product.

Using the plugin with CLion feels very well integrated, and I’m not sure what else we’d get out of a seperate IDE other than more distinct branding.

scriptsmith··on A New AWS SDK for Rust
Rusoto is awesome, but looked to have an uncertain future. I hope the new SDK can reach the same level of quality and breadth fairly quickly.

Also, rusoto is a great name and I hope we get to keep it.

scriptsmith··on Developing Online with GitHub Codespace
Codespaces allows you to develop in the cloud instead of locally. Developers can contribute from anywhere, on any machine, including tablets or Chromebooks, and there is no need to maintain local copies of intellectual property.

That last part is what concerns me about these products. Eventually we may have to justify using a local dev environment, just as some developers currently have to justify using a laptop, as it's more 'risky' for the employer.

scriptsmith··on Firefox 81.0
I use Auto Tab Discard along with an extension I wrote to 'garbage collect' (close) the all the discarded tabs by clicking a button in the toolbar

https://addons.mozilla.org/en-US/firefox/addon/close-discard...

scriptsmith··on Coming to Chrome: a new way to use tabs
Your situation sounds similar to my own. The following two extensions have helped me solve the '30 tabs' problem:

TabSearch does the same thing you're doing with the search bar, but with fuzzy searching and more customisability which makes finding tabs a bit easier.

Close Discarded Tabs is a very simple extension I wrote for myself that acts as a sort of garbage collector for Auto Tab Discard. You can customize Auto Tab Discard to discard tabs in a way that purges irrelevant tabs to your liking, and then if you notice the list of tabs looks a bit overwhelming, just click the trashcan and all the discarded tabs are closed. If you want to make sure you don't close a tab you wanted, just quickly scan through the list and click any that you want to keep.

TabSearch: https://addons.mozilla.org/en-US/firefox/addon/tab_search/

Close Discarded Tabs: https://addons.mozilla.org/en-US/firefox/addon/close-discard...

scriptsmith··on Mozilla lays off 70
It could be a genuine leak, but it sounds an awful lot like Firefox using 28 GiB of virtual memory.

Firefox often appears to use large amounts of memory in top / htop, but I believe that's just reported address space allocations. The RES column gives a more accurate depiction of memory usage.

scriptsmith··on V Programming Language released
Yes, I was first interested in his stuff when he announced the perpetually "coming soon" Volt last year. Disregard the dates, deadlines, and promises for this project.
scriptsmith··on GitHub Sponsors
> Does this hurt FOSS contributions, because now people start to expect to be paid rather than doing it for inherent motivations? Will this generate toxic politics among project contributors regarding who gets credit + gets paid?

I'd also be concerned about features being implemented because there's money behind it, forgoing more important technical reasons.

Of course there are many projects that already implement this 'quid pro quo' development strategy, and open source projects with big corporate backers. How do these projects currently handle monetary influence in their decision making?

scriptsmith··on WireGuard VPN review: A new type of VPN offers serious advantages
His comment appears in the third paragraph of the article
scriptsmith··on GitLab sees huge spike in project imports
A lot of this traffic is probably due to the opportunistic advertisement on GitLab's home page for non signed-in users: https://i.imgur.com/ZNikKcJ.png
scriptsmith··on Facebook Container for Firefox
This is the purpose of containers. They allow you for the same set of websites to interact with 'you' in different contexts
scriptsmith··on Ten days in Shenzhen
It's explained under the preparation heading

> One of the very first things I did was get my hands on Bunnie Huang's “The Essential Guide to Electronics in Shenzhen” (TEGES from here on forward) off of Adafruit's site

scriptsmith··on Finding a $5,000 Google Maps XSS by fiddling with Protobuf
Fantastic write-up. Scripting with Chrome's debug tools seems to be a promising way to find exploits among minified js.
← PreviousPage 2 of 2