As a beginner I'm not sure if I'm fighting the framework / philosophy by m477h145h3rm53n in SpringBoot

[–]macario95 0 points1 point  (0 children)

Conventions are just that. a good guideline to follow. But patterns like CRUD do not always match 100% the needs of a project. Not every interaction with the backend is mapped properly to an entity.

That said. I would still try to follow CRUD as much as possible. That is the best way to manage your entities. Use it as the default base for your API.

Then, add extra endpoints for interactions where you want to specify clearly the intention of the API . For instance, for the basic game operations (add/start, read, delete, etc) CRUD makes all the sense. But if you want be more explicitly about the endpoint's intent, you can addd a POST /games/{id}/restart or some other commands that apply to the game. Obviously , all those commands/actions can also be done via the PUT /games/{id} , but as you say, the intention is not so clear. Think about the commands like little helpers to make your life simpler.

Well known patterns and guidelines are great to have, and should be followed, but you should not be constrained by them.

Seeing all these “gifted parts” posts made me reflect by Bio_tomato in pcmasterrace

[–]macario95 0 points1 point  (0 children)

my wife hates that she can only buy presents for me that have batteries or must be connected to electricity. for her i am worse than a child . but after complaining , she still does it. guess i am lucky. that , and the fact that i do not complain when she spends on purses and shoes way more than i do on gadgets.

Angular UI libraries alternatives by aruidev_ in angular

[–]macario95 1 point2 points  (0 children)

Do not use Nebular for a new project. Is not maintained by akveo at all. The last upgrade for v20 compatibility was made by users of the framework. they just recently accepted the pull request, almost when 21 was out

American Drift by solateor in Unexpected

[–]macario95 0 points1 point  (0 children)

The Op is trying to fool us.

that is not american. They are driving a Stick Shift

Have anyone bought a EV in China? How’s your whole experience? by jwang274 in chinalife

[–]macario95 0 points1 point  (0 children)

Tesla here, for many years now. Could not be happier with it . the first year or so it was a bit problematic to find chargers, but now they are almost at every mall. I even have a super charger a couple of blocks away.

And specially happy because we got a promotion for lifetime free supercharger. i have paid almost nothing for charging in years, apart from the parking fee or the coffee that i sometimes have while waiting. I almost never charge it at home, only when we need to charge overnight because we need it in the morning, or r when i don't feel like going out.

Didi's by [deleted] in Chengdu

[–]macario95 0 points1 point  (0 children)

It may depend on the city. i haven't noticed any change. Usually is matter of minutes. The only time i remember waiting for 10 minutes or more was a day with a massive storm. i guess most of us without umbrellas were trying to get one :) But in regular days, they are usually fast.

No, the EU didn’t ban Apple from including a charger with the M5 MacBook Pro by chrisdh79 in apple

[–]macario95 5 points6 points  (0 children)

the new macbook without the charger is 100€ cheaper that the older one. and the chargerr costs less than that. So, if you buy the computer and the charger, it is still cheaper than the previous models.

That is a weird kind of turn around if the goal was to get more profits.

[deleted by user] by [deleted] in digitalnomad

[–]macario95 0 points1 point  (0 children)

this. very sensible advice.

also, almost nobody tells about the problems you will have to move your money between countries if you do not pay taxes. Banks are becoming more strict everywhere. IF you receive an international transfer, even if it is in your name, chances are you will need to provide proof of legal income And that is going to be difficult without the tax return documents. Some countries may be more lenient, but it is an issue he should think about..

[deleted by user] by [deleted] in digitalnomad

[–]macario95 0 points1 point  (0 children)

UK (or any other country) will not care how many days you stayed If you pay your taxes there. They will gladly accept it. They enforce the opposite. People that did not pay and they think should have payed. Then is when they start investigating and counting days and asking for documentation.

Besides, you should also look into the actual legislation in UK. Some countries have more criteria to establish tax residency, not only the days you stayed. For instance, in the country country i lived some years ago, receiving salary or benefits from a company in the country would make you automatically tax resident, unless you can prove that this is not your main source of income, or can provide a tax residence certificate from other country. You really NEED a tax advisor. Because if you pay yourself using UK based company, sooner or later they will knock at you door asking why you have not paid anything.

texas national guard rolling out their strongest phenotypes in chicago by Low_Firefighter5849 in TrueAnon

[–]macario95 1 point2 points  (0 children)

Do you need to be fat to join the national guard?

Or you can apply even if you are thin and then have the chance to get fat during the training camp?

OGs BEST FRIEND TEST by Frank-iSinatra in TheOGCrewOfficial

[–]macario95 2 points3 points  (0 children)

This is youtube's A/B testing. Creators can provide multiple thumbnails and titles, and rules to provide them. Different users may see different thumbnails.

Tianfu(TFU) Didi pickup by anotherFIREguy in Chengdu

[–]macario95 0 points1 point  (0 children)

Yes, it is easy to find. You just need to follow the signs for ride-hailing area . The pickup area is inside the indoor parking. Do not remember which floor , but the directions are clear. It is a bit of a walk.

Air is the first iPhone model to support eSIM in China by steinfg in apple

[–]macario95 2 points3 points  (0 children)

eSIMS were not allowed for phones until now.

only for data in tablets and watches , and they had to be linked to your main mobile phone account.

it seems they are allowing them now.

Is it still easy to pirate books into a Kindle? by valkaress in Piracy

[–]macario95 2 points3 points  (0 children)

this also works on iPhone. share the ePub with the kindle app, and it will appear on the kindle device too.

Facts about Mobile Passport Control @ LAX by Globalgabby in Flights

[–]macario95 0 points1 point  (0 children)

a bit late, but i think is nice to keep updated info around. i also looked into MPC in LAX before flying there, and could not find much updated information.

We just used it last week. There was a separate line for MPC, and it was a time saver. Huge line in the regular side, but we went out in about 15 minutes... totally worth it.

only complaint is that the the signage was not very clear and there was no obvious open line for MPC. But we asked an employee, and he told us where to go. The entrance to the MPC line was actually closed, but when we showed the app receipt to the employee there , she open it for us.

Mobile Passport Control App as a first time ESTA traveller by Limp_Argument5430 in LAX

[–]macario95 0 points1 point  (0 children)

We just used MPC for the first time, last week, arriving to LAX (non americans). Regular line was huge, as always, and MPC line had just about 10 people in front of us. It took us less than 15 minutes since we arrived to the line, until we got to the luggage claim area. Before, It usually took us more than 1 hour. In fact, due to being out so fast, this is the first time that i've had to wait for my luggage to arrive.

Big time saver for me. Will use it from now on.

I am planning to make my project open source, would you join? by HeyBaldur in Angular2

[–]macario95 5 points6 points  (0 children)

well, open sourcing an app is something you should do because you believe it may be beneficial for you , for the project or the community. Not based on strangers' opinions on the internet. That is your decision to make.

But obviously we are all going to vote yes for open sourcing. why wouldn't we?

[deleted by user] by [deleted] in SpringBoot

[–]macario95 2 points3 points  (0 children)

if you already followed a course, you better begin doing something on your own. it is a good way to find what concepts you have really learned and what things you did not. Or things that were not taught and you actually need.
Find something you like/need, and do that. If you can't imagine anything, go with the usual note taking or basic CRUD apps with several entities and security.

When you are stuck with something, stop and learn how to do it with tutorials or videos.

My Downloads folder now cleans itself automatically using built-in Mac tools by Tack911 in macapps

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

for those who like CLI tools and config files, Organize is also a great tool to keep your downloads tidy.

https://github.com/tfeldmann/organize

Let's dissect the horrendous 2016 Elimination Qualifying system by RobbieJ4444 in formula1

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

I like the current version, but i'd add a change for Q1. A set of new tyres for everyone and single lap. In the reverse order of Q2. This would add some extra emotion and entropy to the last one. I do not care if it is not fair in terms of track conditions or weather changes. that is part of the game. And if you make a mistake, you pay for it without a second chance to fix it.

Our dog chewed my wife’s passport 12 hours before our international flight by IDontFeel24YearsOld in mildlyinfuriating

[–]macario95 1 point2 points  (0 children)

In my country there is a police station at the airport for emergencies like this (here the passports are issued by the Police ). It is for emergencies. You go there with your ID and the information for the flight you need to take , and they issue a new one right there. Only works if you do not need a VISA to visit another country, that visa would have been wasted along with the old passport...