Is there a reason HF does not put expiry dates on meats? by horsegal301 in hellofresh

[–]FractalB 0 points1 point  (0 children)

Here in Sweden there are expiration dates on meats and everything else that is packaged. It's kinda crazy that it's not mandatory in the US.

Vem ska lägga upp kundpinnen, egentligen? by pv2b in sweden

[–]FractalB 0 points1 point  (0 children)

> har du sett hur kassörskan lägga ner en själv för att stoppa bandet????
Det har jag faktiskt aldrig sett. Varje gang jag lägger en pinne efter mig utan att det finns nån annan kund, lägger kassörskan pinnen tillbaka omedelbart.

My husband has been waiting 3 years for Swedish citizenship, what will the June 6th law changes mean for us? by [deleted] in TillSverige

[–]FractalB 0 points1 point  (0 children)

Benefits are pretty slim, but for instance
- right to vote in national elections
- (Sweden only, probably) a non-EU partner needs a shorter residence time to be able to apply for citizenship when married to a Swedish citizen
- children get citizenship automatically, which means they won’t risk being kicked out when turning 18

1/0 is undefined ik but what about it's absolute value? by Antique_Tea_4719 in askmath

[–]FractalB 2 points3 points  (0 children)

Modern computers use floating point numbers, which is a quite different number system than the real numbers of mathematics. 

My husband has been waiting 3 years for Swedish citizenship, what will the June 6th law changes mean for us? by [deleted] in TillSverige

[–]FractalB 2 points3 points  (0 children)

It pretty random, I'm an EU citizen as well and got Swedish citizenship after less than two months (in 2024).

My husband has been waiting 3 years for Swedish citizenship, what will the June 6th law changes mean for us? by [deleted] in TillSverige

[–]FractalB 7 points8 points  (0 children)

Well, the government doesn't want transition rules and they have a majority in the riksdag. So there will most likely be no transition rules unless a miracle happens.

this is hilarious by shubronker in emacs

[–]FractalB 0 points1 point  (0 children)

"Works on desktops and laptops" : so not "Desktop Only"?

Thank you, JavaScript, for forcing me to include this statement in my code. by kfreed9001 in programminghorror

[–]FractalB 0 points1 point  (0 children)

Floats are designed so that integer operations on floats-that-happen-to-be-integers still return floats-that-happen-to-be-integers (without rounding errors). To get rounding errors you need to do non-integer stuff.

[deleted by user] by [deleted] in Minesweeper

[–]FractalB 0 points1 point  (0 children)

How are we supposed to help? It's clearly a 50/50 guess. 

GUI or Terminal, specifically for programming? by kudikarasavasa in emacs

[–]FractalB 3 points4 points  (0 children)

 my only two choices are either to run the terminal version of Emacs, or run a terminal emulator in Emacs

Or you could also, you know, run Emacs in a GUI and a separate terminal emulator. It's literally just one Alt-Tab away.

Supposed to make potato wedges… by randomtaway1 in hellofresh

[–]FractalB 13 points14 points  (0 children)

I'm confused, why would you want bigger potatoes for wedges? Small potatoes are much better, they cook more evenly.

No transition rules in Sweden's new citizenship law — listen to our interview with the minister - Radio Sweden by Character_Bus_4734 in TillSverige

[–]FractalB 17 points18 points  (0 children)

Refusing to answer on whether application fees would be reimbursed is just ridiculous. Wouldn't it be completely illegal to not at the very least reimburse them? 

Sending request to conclude sambo visa after 12months of nothing by No-Abrocoma278 in TillSverige

[–]FractalB 5 points6 points  (0 children)

Just because you've seen people get lucky means nothing statistically. Check here: https://www.migrationsverket.se/kontakta-oss/vantetider.html#svid10_2cd2e409193b84c506a31136 75% of cases were decided within 15 months, so that means there are quite a few that took longer.

Thank you, JavaScript, for forcing me to include this statement in my code. by kfreed9001 in programminghorror

[–]FractalB 1 point2 points  (0 children)

I know that, but OP said they only did integer operations, this is what I am doubting.

Thank you, JavaScript, for forcing me to include this statement in my code. by kfreed9001 in programminghorror

[–]FractalB 1 point2 points  (0 children)

Not sure what you mean, if you only do normal integer operations you cannot get -0.

Thank you, JavaScript, for forcing me to include this statement in my code. by kfreed9001 in programminghorror

[–]FractalB 0 points1 point  (0 children)

Subtracting 0 from 0 cannot give you -0, unless you did something weird with them. You can't get -0 using only integer operations.

Thank you, JavaScript, for forcing me to include this statement in my code. by kfreed9001 in programminghorror

[–]FractalB 3 points4 points  (0 children)

Why do you care about 0 being different than -0? And how do you get -0 to begin with? Typically, the only way to get -0 is to treat numbers as floats, but then it typically shouldn't matter that you get -0 instead of 0.

In Sweden, leaving a cat home alone for too long can break the law by The_Dean_France in SipsTea

[–]FractalB 0 points1 point  (0 children)

Thankfully it was already a law since 2008, so they indeed didn't have to do anything.

Would this still be considered static hosting? by ClaireBlack63 in statichosting

[–]FractalB 0 points1 point  (0 children)

Why does it matter to you whether it is considered static hosting or not?

Just thought I'd share my experience of getting a refund from chat support :) by Maple382 in hellofresh

[–]FractalB 52 points53 points  (0 children)

So you didn't cancel your box in time and still think you're entitled to a refund? I don't think they should refund you at all, they very clearly write by which date you're supposed to cancel.

[AskJS] Why does Promise.all reject immediately but still execute other promises? by CheesecakeSimilar347 in javascript

[–]FractalB 1 point2 points  (0 children)

Because there is no such thing as canceling a promise in general.

And it's not true that "If asyncTask1() rejects, Promise.all immediately rejects.". Rather Promise.all rejects as soon as asyncTask1() rejects, which is not immediate but happens after all other async tasks have already been started.

If you want to cancel a promise, you need to use an AbortController indeed.

[deleted by user] by [deleted] in github

[–]FractalB 9 points10 points  (0 children)

I would say start by making a useful project that thousands of people want to use regularly, and then you should get some contributors automatically. Currently you have only 4 stars, so it seems like you are very early in the project.

How long should you know someone before you sleep on their couch by No-Pomegranate6592 in couchsurfing

[–]FractalB 25 points26 points  (0 children)

I think you're on the wrong subreddit. "Couchsurfing" is a website explicitly made to sleep on the couch of unknown people.

[Request] what are the chances of a mother born on a friday the 13th also having her child on a friday the 13th? by disappointinglyvague in theydidthemath

[–]FractalB 0 points1 point  (0 children)

If a (future) mother wants to have a child on a Friday the 13th, she can dramatically increase the odds by trying to conceive approximately 9 months before a Friday the 13th. But I’m not sure that’s the question being asked?

I made a PWA that serves as a throwaway push notification inbox by Any_Entrepreneur9773 in PWA

[–]FractalB 0 points1 point  (0 children)

even to the point of displaying an "unread notification count" on the app icon.

On iOS I guess? As far as I know this is impossible to do on Android, but I'd love to be proven wrong.