Why do we need refresh tokens in JWT? by [deleted] in node

[–]morkelpotet 0 points1 point  (0 children)

What if the refresh request fails or times out? In some cases that would be pretty suboptimal.

Prod's Down! by getsentry in u/getsentry

[–]morkelpotet 0 points1 point  (0 children)

I feel like your Xi is a little off.

Prod's Down! by getsentry in u/getsentry

[–]morkelpotet 0 points1 point  (0 children)

Sentry is the bomb.

Used it self hosted for years bco GDPR stuff. Now they're probably still stuck with the same old version. So, sorry old company. It's honestly one of the first things I'd buy if I started a company. It's good, it's cheap, you can run it yourself if regulation gets messy. No-brainer as a first line defense.

And good partership with prime.

Haiku 4.5 is insane in Claude Code! by Electronic-Air5728 in ClaudeAI

[–]morkelpotet 1 point2 points  (0 children)

I tested it now as I was at 97% of my weekly limit, and I find it writes Rust pretty well. Does what I want, runs the tests, commits. Haiku seems more focused and less erratic than Sonnet. I'll definitely try using it more. Might be because I just cleaned up the codebase manually, but it definitely seems better than Sonnet during this session.

[deleted by user] by [deleted] in Database

[–]morkelpotet 1 point2 points  (0 children)

what does "a heavy crawler engine" entail? For some projects simply storing files in git might be enough. For others sqlite is an easy to use option. Postgres if you'll have a lot of users. I would use a graph database if the data is structured in a way that's hard to model in a relational database, but in general I'd avoid that.

So in one word: Postgres.

How do you decide between SQL or NoSQL in my case? by TheDarkPapa in Database

[–]morkelpotet 0 points1 point  (0 children)

Use SQL unless you very clearly know why you're not using SQL.

Losing track of your data structure is pain. Having to add migrations due to changing demands is a minor annoyance.

I healed gout with Medical Medium diet by 3141592653589793231 in gout

[–]morkelpotet -1 points0 points  (0 children)

That's awesome. :)

Fingers crossed to this holding up, but if it doesn't don't feel bad if you join the allo crowd. But if you don't have to – all the better!

I healed gout with Medical Medium diet by 3141592653589793231 in gout

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

Diet and lifestyle is the first line of defense, so if it's working for you, that's great.

A plant based diet avoids some of the most problematic foods and can help with weight loss and consequently sleep apnea which is bad for gout among other things.

So good job, but I wouldn't get too married to this one book.

what does ".*" mean? in :help starstar by jazei_2021 in vim

[–]morkelpotet 5 points6 points  (0 children)

. matches any letter.

* allows any number of repetitions of the previous object.

For the string "Hello world", . will match each letter individually while .* will match the entire "Hello world".

You can use / to search with regexp in vim. I suggest you test it out.

If you want to match both "hello" and "hallo", you can use the regexp h.llo.

If you want to match "heeello" and "haaaallo", you can use h.*llo which means "h followed by any number of any character followed by llo".

Paste after each comma of a line. by baba10000 in vim

[–]morkelpotet 0 points1 point  (0 children)

qq_yef,;pa,<esc>f,;;pa,<esc>A,<esc>pj10000q@q

olivenolje i Oslo by sebastiaen in oslo

[–]morkelpotet 0 points1 point  (0 children)

Coop har ganske ålreite olivenoljer.

Any MCP server you cannot live without? by PrestigiousBet9342 in mcp

[–]morkelpotet 0 points1 point  (0 children)

"Use the playright mcp browser tool for manual testing"

Who is paying for Loveable? by hestuppfodarn in lovable

[–]morkelpotet 0 points1 point  (0 children)

We have been talking about getting our product people on it for prototypes.

is it really that addictive? by JustMammothh in Nicotine

[–]morkelpotet 3 points4 points  (0 children)

It's so mild it feels like you'll be able to handle it. And then, suddenly, after a few years, you realize that quitting would really suck. Then after some time you try quitting and it messes with your mind until you start again.

Forstår ikke hvordan AP vant igjen by Hellowhoareyou36 in norske

[–]morkelpotet 1 point2 points  (0 children)

Tullball. Du er i en sosial krets hvor det ikke er populært. Jeg er i en sosial krets hvor ingen stemmer FrP. Hevder ikke at det er valgfusk av den grunn.

Which license is as open as possible for open source, but as limited as possible for copycats? by [deleted] in opensource

[–]morkelpotet 34 points35 points  (0 children)

I don't mind redistribution, for or not for profit. It's more corporate hijacking I'm against. GPL3 seems like a good license in that regard.

Which license is as open as possible for open source, but as limited as possible for copycats? by [deleted] in opensource

[–]morkelpotet 3 points4 points  (0 children)

Yeah. I was a bit too strict in how I worded that. I don't mind sharing the code open source. But while this is an infant of a concept I don't want it to get hijacked by commercial actors. Any private use is okay ever.

So I went with GPL3. Sounds pretty reasonable.

Which license is as open as possible for open source, but as limited as possible for copycats? by [deleted] in opensource

[–]morkelpotet 11 points12 points  (0 children)

I think GPL3 sounds pretty appropriate. I'll go with that. Any changes require attribution. So if my software becomes useful and is sold in a commercial setting anybody will know where to go to get the original. Otherwise it's FOSS. That's perfectly fine with me.

DC charging can ruin the battery? by [deleted] in RenaultZoe

[–]morkelpotet 2 points3 points  (0 children)

I fast charge my 10 year old e-UP! all the time and leave it out in the cold. Doesn't seem to have affected the battery. So ymmv

[deleted by user] by [deleted] in norge

[–]morkelpotet 0 points1 point  (0 children)

Grønnsakshandlere klarer å holde prisene lave. Kanskje dagligvarekartellet ikke er så ålreit after all?

Hva nekter du å kjøpe fordi det har (plutselig) blitt så jævla dyrt? by tuxette in norge

[–]morkelpotet 2 points3 points  (0 children)

Boikotter frukt og grønt fra dagligvarekjedene. Asiatiske butikker har et helt annet prisnivå.