RonSijm

joined 2 years ago
[–] RonSijm 1 points 1 year ago (1 children)

https://github.com/awslabs/llrt/raw/main/benchmarks/llrt-ddb-put.png
https://github.com/awslabs/llrt/raw/main/benchmarks/node20-ddb-put.png

Maybe I'm just stupid, but what are these numbers?

"HTTP benchmarks measured in round trip time for a cold start"

Soo, I'm guessing it's round trip time in milliseconds?

What is p0 to p100? Are they putting 0 to a 100 items? Are they putting 1 item into a dataset of size p..?

[–] RonSijm 1 points 1 year ago* (last edited 1 year ago) (1 children)

Well @ @TheGrandNagus and @SSUPII - I think a lot of Firefox users are power users. And a lot of the non-power Firefox users, like my friends and family, they're only using Firefox because I recommended them to use it, and I installed all the appropriate extensions to optimize their browser experience.

So if Firefox alienates the power users - who are left? I'm gonna move on to Waterfox or Librewolf, but they are even more next-level obscure browsers. My non-tech friends know about Chrome, Edge, and Firefox, so I can convince them to use one of those... But I kinda doubt I can get them to use Librewolf. If I tell them Firefox sucks now too, they'll probably default to chrome

[–] RonSijm 16 points 1 year ago (8 children)

If AI integration is to happen [...], then this to me seems to be the best way to do it.

Well, to me the best way to do it would be for Mozilla to focus on being the best bare-bone, extendable browser.

Then - if people want an AI in their browser - people should be able to install an AI extension that does these things. It's a bit annoying they're putting random stuff like Pocket, and now an AI in the core of the browser, instead of just making it an option to install extendable

[–] RonSijm 6 points 1 year ago* (last edited 1 year ago) (1 children)

You can do it though the API.

Create a get request to https://api.getpostman.com/collections/' + collection_id, and then in the Test tab where you usually run scripts from, you can use something like this:

var postman_api_key = pm.environment.get("postman_api_key");

var response = pm.response.json();
var collection = response.collection;
var collection_id = request.url.split('/')[4];

function processItem(item){

    for (let i = 0; i < item.length; i++) {

        if(item[i].request){
            if(item[i].request.auth){
                var t = {};
                t.type = 'inherit';
                item[i].request.auth = t;
            }
        }

        if(item[i].item){
            item[i].item = processItem(item[i].item);
        }        

    } 
    return item;
}


collection.item = processItem(collection.item);

var update_collection = {};
update_collection['collection'] = collection;

const postRequest = {
  url: 'https://api.getpostman.com/collections/' + collection_id,
  method: 'PUT',
  header: 'x-api-key:' + postman_api_key,
  body: {
    mode: 'raw',
    raw: JSON.stringify(update_collection)
  }
};

pm.sendRequest(postRequest, (error, response) => {
  console.log(error ? error : response.json());
});

This probably isn't doing 100% exactly what you want, but it's probably close enough that you get the idea, and can modify it yourself.

Then just execute the dummy request

[–] RonSijm 92 points 1 year ago* (last edited 1 year ago)

Your AI Girlfriend is a Data-Harvesting Horror Show

People use 4 VPNs and more sec-ops than the NSA, but get hacked because their AI girlfriend is like:

Hiiu~~

It's me AI-uuu-Chan!

I'm so sawwd, I don't know weeeuh abwout u!

Wats ur mommies maiden name UwU, and the name of ur kawaiii first pet? UwUUU? * starts twerking * (◠‿◠✿)

[–] RonSijm 3 points 1 year ago

Productivity Enhancements GitHub Copilot Chat

Soo, just this https://marketplace.visualstudio.com/items?itemName=GitHub.copilotvs
And this https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.VSGitHubCopilot

But baked in Visual Studio itself? I preferred these kind of things to be extensions just for the people that actually wanted to install them.

[–] RonSijm 36 points 1 year ago

So the full story would be that Elon stayed up until 5:30 a.m playing Elden Ring in a Vancouver hotel - was very stressed, saw on Twitter that people knew he was raging in Vancouver based on the Jet Tracker - stressing him out even more -
Though "Fuck it, maybe I can't beat Malenia, but at least I can beat this asshat on Twitter tracking me!"

...If only FromSoftware had added some pay-to-win elements... Like "For A Small $1 billion Micro-Transaction you get the uber Malenia slayer sword!" -
We would be living in a totally different timeline

[–] RonSijm 9 points 1 year ago* (last edited 1 year ago) (1 children)

"b. You may not use the Software Products or Derivative Works to enable third parties to use the Software Products or Derivative Works as part of your hosted service or via your APIs"

I suppose it's not allowed them. That kind of sucks, it is pretty convenient to just use a replicate.com machine and use a large image model kinda instantly. Or spin up your own machine for a while if you need lots of images without a potential cold-start or slow usage on shared machines

I wonder why they chose this license, because the common SD license basically lets you do whatever you want

[–] RonSijm 1 points 1 year ago (3 children)

Well I have Copilot Pro, but I was mainly talking about GitHub Copilot. I don't think having the Copilot Pro really affects Copilot performance.

I meanly use AI for programming, and (both for myself to program and inside building an AI-powered product) - So I don't really know what you intend to use AI for, but outside of the context of programming, I don't really know about their performance.

And I think Copilot Pro just gives you Copilot inside office right? And more image generations per day? I can't really say I've used that. For image generation I'm either using the OpenAI API again (DALL-E 3), or I'm using replicate (Mostly SDXL)

[–] RonSijm 10 points 1 year ago (3 children)

This model is being released under a non-commercial license that permits non-commercial use only.

Hmm, I wonder whether this means that the model can't be run under replicate.com or mage.space.

Is it commercial use if you have to pay for credits/monthly for the machines that the models are running on?

Like is "Selling the models as a service" commercial use, or can't the output of the models be used commercially?

[–] RonSijm 4 points 1 year ago

But isn’t that a choice made by AWS (rather than Microsoft).

Well it's both, though my comment wasn't to blame Microsoft on this. But LTS is a relative, non-defined term. AWS has a policy to only support LTS versions because they (understandably) don't want to deal with new versions every couple of months. Within Microsoft terminology STS (Standard TS) is 18 months of patching, LTS is 36 months of patching.

So it's just semantics. dotnet-STS is not some goofy hobby language that gets new versions every couple of months. 18 months from a massive team with a massive userbase is pretty long term compared to some other frameworks.

So either AWS could not be so nitpicky about it not being labeled LTS - or Microsoft could just label one version (dotnet7, dotnet9) as LTS, and the 36 months version as Extra-LTS or whatever lol. And all the dotnet versions would fall within the AWS native-support parameters

[–] RonSijm 5 points 1 year ago* (last edited 1 year ago) (7 children)

I use Copilot, but dislike it for coding. The "place a comment and Copilot will fill it in" barely works, and is mostly annoying. It works for common stuff like "// write a function to invert a string" that you'd see in demos, that are just common functions you'd otherwise copypaste from StackOverflow. But otherwise it doesn't really understand when you want to modify something. I've already turned that feature off

The chat is semi-decent, but the "it understands the entire file you have open" concept also only just works half of time, and so the other half it responds with something irrelevant because it didn't get your question based on the code / method it didn't receive.

I opted to just use the OpenAI API, and I created a slack bot that I can chat with (In a slack thread it works the same as in a "ChatGPT context window", new messages in the main window are new chat contexts) - So far that still works best for me.

You can create specific slash-commands if you like that preface questions, like "/askcsharp" in slack would preface it with something like "You are an assistant that provides C# based answers. Use var for variables, xunit and fluentassertions for tests"

If you want to be really fancy you can even just vectorize your codebase, store it in Pinecone or PGVector, and have an "entire codebase aware AI"

It takes a bit of time to custom build something, but these AIs are basically tools. And a custom build tool for your specific purpose is probably going to outperform a generic version

view more: ‹ prev next ›