Better HN
topnewbestaskshowjobs
Log inSign up

scriptsmith

484 karma · joined May 29, 2016 (10y ago) · 55 submissions

github.com/ScriptSmith
Submissions

comment 2y ago · link · parent

It's crowdstrike: https://www.reddit.com/r/crowdstrike/comments/1e6vmkf/bsod_e...

> 7/18/24 10:20PT - Hello everyone - We have widespread reports of BSODs on windows hosts, occurring on multiple sensor versions. Investigating cause. TA will be published shortly. Pinned thread.

> SCOPE: EU-1, US-1, US-2 and US-GOV-1

> Edit 10:36PT - TA posted: https://supportportal.crowdstrike.com/s/article/Tech-Alert-W...

> Edit 11:27 PM PT:

> Workaround Steps:

> Boot Windows into Safe Mode or the Windows Recovery Environment

> Navigate to the C:\Windows\System32\drivers\CrowdStrike directory

> Locate the file matching “C-00000291*.sys”, and delete it.

> Boot the host normally.

comment 3y ago · link · parent

Seems like he actually disagrees here:

If you train a bigger model on more text, we have a lot of confidence that the next-word prediction task will improve. So algorithmic progress is not necessary, it's a very nice bonus, but we can sort of get more powerful models for free, because we can just get a bigger computer, which we can say with some confidence we're going to get, and just train a bigger model for longer, and we are very confident we are going to get a better result.

https://youtu.be/zjkBMFhNj_g?t=1543 (23:43)

comment 3y ago · link · parent

How are people using these local code models? I would much prefer using these in-context in an editor, but most of them seem to be deployed just in an instruction context. There's a lot of value to not having to context switch, or have a conversation.

I see the GitHub copilot extensions gets a new release one every few days, so is it just that the way they're integrated is more complicated so not worth the effort?

comment 3y ago · link · parent

Is there some trick to doing validation of request data using this process? That's a valuable part of using something like tRPC, JSON Schema + type generation, zod, etc.

comment 3y ago · link · parent

Don't forget Right-To-Left languages, that also affects how UI elements are arranged (position within the page) and rendered (input widgets like sliders get reversed).

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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...

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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...

comment 6y ago · link · parent

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...

comment 6y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

> 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?

48.

Show HN: Instamancer – Scrape Instagram's API with Puppeteer(github.com ↗)

1 points · by scriptsmith · 7y ago · discuss

49.

Puppeteer for Firefox(github.com ↗)

8 points · by scriptsmith · 7y ago · discuss

comment 8y ago · link · parent

His comment appears in the third paragraph of the article

comment 8y ago · link · parent

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

comment 8y ago · link · parent

This is the purpose of containers. They allow you for the same set of websites to interact with 'you' in different contexts

comment 8y ago · link · parent

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

comment 9y ago · link · parent

Fantastic write-up. Scripting with Chrome's debug tools seems to be a promising way to find exploits among minified js.
12