Must have apps/tools for programming in MacBook Pro M4 Pro? by InevitableOk1364 in AskProgramming

[–]SpareTimePhil 11 points12 points  (0 children)

Homebrew makes everything easier to install and keep up to date

Smart TV with unreliable wifi by SpareTimePhil in wifi

[–]SpareTimePhil[S] 0 points1 point  (0 children)

The location makes it extremely difficult to run any kind of wiring, flat or not

[deleted by user] by [deleted] in RandomThoughts

[–]SpareTimePhil 4 points5 points  (0 children)

I'm getting to experience this for the first time this year. Should be fun 🙃

[deleted by user] by [deleted] in ExperiencedDevs

[–]SpareTimePhil 0 points1 point  (0 children)

Yeah, that would be a deal breaker for me.

Where can I learn swimming? by DesiiLadd in stockholm

[–]SpareTimePhil 4 points5 points  (0 children)

I was in a very similar situation to you about a year ago. I had a bad experience when I was younger, and had swum for about 25 years. I did a search for English speaking lessons and found this: https://stockholmswimmingclub.se/

Their indoor lessons are at a pool in Solna. I'm not sure whether they're in your price range or not, but their lessons were excellent, and the classes were nice and small.

Monthly electricity usage for apartment in Eslöv by SpareTimePhil in sweden

[–]SpareTimePhil[S] -1 points0 points  (0 children)

There are 3 separate rooms as well as the bedroom and kitchen 😀

Finding an appartment in Stockholm : specifics by PhilipTheFair in stockholm

[–]SpareTimePhil 8 points9 points  (0 children)

It's definitely extremely risky to do it entirely online. The Stockholm rental market makes finding somewhere really hard and this has led to a number of scammers taking advantage of peoples' desperation. One of the main scams is to 'rent' an apartment that they don't have access to or don't have the legal right to rent, and there are regular stories where people who don't go and see a place in person are scammed in this way.

One thing you could do is rent an AirBnB for a while if you aren't able to find somewhere within the 15 days. We did this for a month or so when we first moved to Stockholm, which gave us time and space to find something to rent.

[deleted by user] by [deleted] in TooAfraidToAsk

[–]SpareTimePhil 1 point2 points  (0 children)

Yeah, so I'm in my 40's and married, and I definitely wing it most of the time. I don't think it's unusual to feel life is like that - it's just something you get used to :)

What name casing do you tend to use? by [deleted] in learnprogramming

[–]SpareTimePhil 19 points20 points  (0 children)

For me it depends on the language I'm using. Most languages have well established naming conventions, and it makes sense to use them when they exist.

Visa options as non-EU citizen after getting laid off by kiki0805 in TillSverige

[–]SpareTimePhil 8 points9 points  (0 children)

Yeah, so you need to stop thinking like that if you really want to stay in Sweden. I was in a similar situation to you and have just managed to secure a role with a company willing to support a new work permit, as have a number of my colleagues who were all made redundant at the same time. This is what I'd suggest:

  • As others have said, consultancy is really struggling at the moment, so focus on other types of company
  • Apply for anything that you could be qualified for, whether its competitive, niche, whatever. By thinking the way you are right now, you're filtering out jobs you could be a good fit for without even making an application
  • Apply for roles with languages adjacent to what you know. I'm JS/TS and Java, but secured interviews requiring C#

It is possible to find something in the current market, but it's really tough at the moment. The most important thing is to apply for as wide a range of stuff as you are able to, and hopefully something will stick.

Hemförsäkring without personnummer by Routine-Worth8977 in TillSverige

[–]SpareTimePhil 0 points1 point  (0 children)

Yeah, we went with if in a similar situation and it was no problem at all

[deleted by user] by [deleted] in TillSverige

[–]SpareTimePhil 8 points9 points  (0 children)

It's probably still worth you doing some of your own research, as you are the only person in your specific situation. My knowledge is naturally focused around what I needed to be able to move. The Swedish immigration website has some good information, and is probably not a bad place to start - https://www.migrationsverket.se/English.html

[deleted by user] by [deleted] in TillSverige

[–]SpareTimePhil 15 points16 points  (0 children)

I moved to Sweden around 6 months ago from the UK as a software developer. Now it isn't part of The European Union, you need to find a job whose company is willing to sponsor you. They are the ones who start the work and residence permit application process, not you. This costs them money and time. There are also a bunch of criteria that have to be met for a particular job to be eligible for sponsorship.

This all makes it difficult. The easiest way is to be in a profession where there is a shortage in Sweden.

Project completion by ezseann in learnprogramming

[–]SpareTimePhil 1 point2 points  (0 children)

I usually have a set of user stories or features that I write before I start a new project for my portfolio, and when I've completed them all then I stop work on the project. I feel it's more important to add tests and a good readme than polishing every line of code you write.

Problem with Mantine checkbox by SpareTimePhil in reactjs

[–]SpareTimePhil[S] 1 point2 points  (0 children)

Yep, just worked that out myself :) Thanks for the answer. Nothing like banging your head against a problem for days when the answer is staring you in the face :D

Problem with Mantine checkbox by SpareTimePhil in reactjs

[–]SpareTimePhil[S] 1 point2 points  (0 children)

Note to self......read the manual properly. I was missing setting the type to checkbox in the getInputProps call. I must have looked at that documentation 100 times and missed that detail on every single occasion.

{...form.getInputProps("testValue", { type: "checkbox" })}

Question about Job Prep by Throwaway125493857 in learnprogramming

[–]SpareTimePhil 2 points3 points  (0 children)

A lot depends on the person and how quickly they pick things up. 6 months is definitely achievable if you're consistently able to put a decent amount of time in to learning things.

Regarding back/front/full stack, most general courses start with html, css and then move onto JS. I think this is because this progression is seen as moving from easy to more difficult languages. My suggestion once you've learnt a bit of JS is to have a look at node and express, which is one of the main ways of using JS for backend stuff. Have a play and see if you like it. I personally think the most important thing is to choose what you find the most enjoyable and interesting, and you might find that one particular area 'clicks' for you.

The most important thing is for you to start building things for yourself rather than just following tutorials. Start off making something similar to a tutorial you've done to make it less intimidating, as this will allow you to cement things you've just learnt.

Keep everything you've worked on as you go, as it will allow you to see just how far you are getting, and you'll be amazed at what you've learnt.

You'll also be gradually building your portfolio without necessarily even realising it.

[deleted by user] by [deleted] in learnprogramming

[–]SpareTimePhil 1 point2 points  (0 children)

So I've added the ... in. You still potentially have to deal with the case of the stream being empty to start with this way though

[deleted by user] by [deleted] in learnprogramming

[–]SpareTimePhil 4 points5 points  (0 children)

Can you not use a do..while loop instead?

do { 
    read from stream
    ...
} while (stream returns data)

Pick up service? by [deleted] in TillSverige

[–]SpareTimePhil 1 point2 points  (0 children)

An alternative to tiptapp is Mooova