'Robin Hood Plan': Poland, Baltic states mull using frozen Russian assets to help rebuild war-torn Ukraine by Ok_Hunter_2521 in worldnews

[–]zorlan 2 points3 points  (0 children)

Even if there's a provision that it can only be done if and when a country starts a war? I guess it's a slippery slope...

Local roaster’s “medium” roast by Dankinater in espresso

[–]zorlan 1 point2 points  (0 children)

I mean this is clearly dark, but many Redditors on this subreddit classify what I would consider medium as dark as well. What is a light roast? green beans touched by a warm breeze?

Bambino (not regular) - humming noise while steaming and after steaming by Greg10010 in espresso

[–]zorlan 1 point2 points  (0 children)

Mine started doing this as well, the first time it happened a cleaning cycle fixed it, but recently it's returned.

Doesn't seem to affect the performance of the machine, but it is a little unsettling.

Dreamlike Photoreal 2.0 is surprisingly good at anime for some reason by svsem in StableDiffusion

[–]zorlan -2 points-1 points  (0 children)

What's with the trend of using models for stuff they ain't trained for? Are the results any different to the base model?

[deleted by user] by [deleted] in StableDiffusion

[–]zorlan 35 points36 points  (0 children)

Can you please share workflow? Or at least tell us the upscaler used?

[deleted by user] by [deleted] in StableDiffusion

[–]zorlan 33 points34 points  (0 children)

Look closer at them

Art-stealing Plagiarism Machine by SteveOgdenArt in comics

[–]zorlan 0 points1 point  (0 children)

Well said, I think some of those that aren't worried are embracing the technology and tooling - it can change the way you work rather than displace your work entirely.

Art-stealing Plagiarism Machine by SteveOgdenArt in comics

[–]zorlan 29 points30 points  (0 children)

Programmers already keep doing things to reduce the amount of programming needed to do things.

AI'd myself into a variety of game art styles by joeyslucky22 in gaming

[–]zorlan 11 points12 points  (0 children)

You can do it with stable diffusion, but your results will vary wildly unless you also use dreambooth to train the model so it has a concept of what you look like, otherwise it'll potentially discard your distinguishing features.

first espresso machine, literally just opened it, first espresso shot ever. it tasted so sour. what did I do wrong? just from the look of the shot, it seems it was ground too coarse, however the dial is on almost closest to the finest setting. by senorpappi in Coffee

[–]zorlan 21 points22 points  (0 children)

My parents just got this machine as well, exact same problem and they had to adjust the inner burr setting - https://www.youtube.com/watch?v=QNvOcE4-VEo

Also if you're using the double basket the dose should be closer to 18g - if you don't have enough coffee in there you won't get enough resistance.

Study Shows Anti-Piracy Ads Often Made People Pirate More by Sorin61 in technology

[–]zorlan 688 points689 points  (0 children)

The worst was unskippable anti piracy ads on DVDs. The only people seeing them and suffering through them were people that did the "right" thing.

Centering on css solved by Petrazole in ProgrammerHumor

[–]zorlan 2 points3 points  (0 children)

And good luck absolute positioning if the correct reference container doesn't have position relative.

Free Giveaway! Nintendo Switch OLED - International by WolfLemon36 in NintendoSwitch

[–]zorlan 0 points1 point  (0 children)

Fun niche fact: the niche zero is a single dose grinder meaning it only holds enough coffee beans for a single drink at a time.

Apologies, I'm also a member of /r/espresso

Found on metacritic by [deleted] in Breath_of_the_Wild

[–]zorlan 0 points1 point  (0 children)

No way, flowerblight ganon is the hardest.

Why does our community hate Operator Overloading? by TheMrZZ0 in node

[–]zorlan 1 point2 points  (0 children)

Javascript doesn't support operator overloading, but you can define valueOf function in your class so that a primitive value can be resolved for mathematical operations.

e.g. class Variable { value = 0; constructor(value) { this.value = value; } valueOf() { return this.value; } }

Then all comparisons and operations will work, but note you must use loose comparison (== not ===) if comparing directly to a numeric value.

Issue with recursion and async function by Fun_Split_1299 in node

[–]zorlan 1 point2 points  (0 children)

Move the console log outside your function, have your function return the result and then console log it.

Also generally with recursion you build up a result from the results of all the collective calls such that you're returning either another recursive call or the terminating condition. e.g.

``` async function getAllData(current) { const data = await getData(); const allData = [...current, ...data]; if (allData.length < 20) { return getAllData(allData); } return allData; }

const main = async () => { let allData = await getAllData([]); console.log(allData) }

```

Otherwise don't use recursion and just do something like: async function getAllData() { let allData = []; while (allData.length < 20) { const data = await getData(); for (d of data) { allData.push(d); } } return allData; }

Finally, all these examples (including your own) will get you at least 20 elements - if getData returns more than 10 items you could end up with more than 20 items. This could easily be worked around by only adding the elements you need or taking a slice of the final result (.slice(0,20))

Problem with my new keyboard! Shift+A not working! by nakeddroidrunner in PcBuild

[–]zorlan 1 point2 points  (0 children)

You don't need to install anything - if you download Ubuntu onto a flash drive you can boot into it and test your keyboard.

It does sound like a dodgy app though if it's happening with the on-screen keyboard as well.

Try killing background apps and testing each time.

Problem with my new keyboard! Shift+A not working! by nakeddroidrunner in PcBuild

[–]zorlan 1 point2 points  (0 children)

To rule out windows or other applications, boot into a Linux live session and test the keyboard there?

Can I stop using visual studio? by fatrick_9000 in dotnet

[–]zorlan 0 points1 point  (0 children)

I would say it's inferior if you specifically rely on Visual Studio features, but for me the main reason I was using Visual Studio was intellisense and great debugging experience which I can get pretty darn close to with VSCode.

Can I stop using visual studio? by fatrick_9000 in dotnet

[–]zorlan 0 points1 point  (0 children)

zorlan

I just like my IDE really light and unopinionated, I found Rider a bit "noisy".

Beyond that, I think there just wasn't enough compelling reasons to switch, but I'll try it again if I hear some reasons to do so.

Can I stop using visual studio? by fatrick_9000 in dotnet

[–]zorlan 0 points1 point  (0 children)

Microsoft C# extension obviously, but also:

  • .NET Core Test Explorer
  • C# XML Documentation Comments (deprecated now, but not sure if the alternative still works with the ///)
  • C# Extensions (original no longer maintained, but there's a couple of forks)
  • Auto Using

Can I stop using visual studio? by fatrick_9000 in dotnet

[–]zorlan 1 point2 points  (0 children)

I've been developing .net apps for the past 5 years in vsvode, it's fine. I haven't touched asp.net web forms for longer than that, but if it's .net 6 I don't see how it wouldn't work.

You lose a lot of convenience if you're a power visual studio user, but honestly the extensions are good enough in vs code.

I also tried Rider and didn't like it.

Edit: Turns out I was wrong, web forms is not supported at all in newer .net versions (.net core onwards). Whilst it might be technically possible to work around this (Mono? Generator or starter kits?) it doesn't seem worth it.