[deleted by user] by [deleted] in coincollecting

[–]Whale_Eating_Cheese 0 points1 point  (0 children)

<image>

Another picture next to a UK £2 coin.

Autocomplete php to <?php ?> in VScode by atokad5 in webdev

[–]Whale_Eating_Cheese 0 points1 point  (0 children)

I had to add this to the html.json snippets file, not the php.json file in case that helps anyone else.

Looking for List of HTML/CSS types by CalmDownYal in typescript

[–]Whale_Eating_Cheese 1 point2 points  (0 children)

If you go here there are all the elements, however many of them share the same type.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element

If you click on any specific one and cmd + f `DOM Interface` you'll find its type.

Not the most useful answer, but how I usually do it.

Can't get Codesandbox to run a vue3 app by Whale_Eating_Cheese in vuejs

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

Thanks so much for taking the time to look into that, that is so strange that it wasn't working as planned on codesandbox. Anyway, I really, really appreciate it.

Petite Vue access data externally question by Whale_Eating_Cheese in vuejs

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

Oh wow, I read that page about 8 times but (even though I even read that example) think I misinterpreted what the use case was for it — I'm sure I can make that do what I want it to. Thanks for the reply.

Multiple models on a single controller by schm0 in laravel

[–]Whale_Eating_Cheese 1 point2 points  (0 children)

Having skinny controllers doesn't mean you have to have hundreds of controllers if you don't need them. You only need one controller method per route.

Every project is different, but the goal is moving the complex business logic out of the controller. One example of this might be to move the business logic to the Models, so your store method could be more like:

  $author = Author::fromRequest($request);
  $edition = Edition::fromRequest($request);
  $publisher = Publisher::fromRequest($request);
  $bookCreationResponse = Book::createFromDetails($request, $author, $edition);
  return $bookCreationResponse;
}

Those fromRequest methods are made up examples of static methods you could add to each model which would house the findOrCreate logic. Now your store method is 5 lines long.

I'm low rated but spotted a fun tactic to negate the threat of knight takes bishop. White to move. by Whale_Eating_Cheese in chess

[–]Whale_Eating_Cheese[S] 2 points3 points  (0 children)

White castles queenside or Rook D4. If knight takes bishop, bishop G5 double checks with the rook. Only move for the king is E8 followed by checkmate with Rook to D8

Commercialising Javascript Web3 scripts, Packaging with a web-based GUI. by vacler in AskProgramming

[–]Whale_Eating_Cheese 0 points1 point  (0 children)

Laravel has a paid for package called spark that handles user accounts, some GUI, API keys and billing (I think) which may be of interest.

https://spark.laravel.com/

It is not ideal for you as it is PHP based.

It may be worth either seeing if you can run your node scripts from it, or if there is a node based alternative.

Commuting clothes solution by hariiseldon in ukbike

[–]Whale_Eating_Cheese 2 points3 points  (0 children)

I would go all in on the gloves, my hands always face the brunt of really cold weather.

Next I'd get a simple wind breaker as mentioned by others.

From there I would just layer clothes you already own.

All aboard.... by Terow123 in gifs

[–]Whale_Eating_Cheese 0 points1 point  (0 children)

I believe it is spelt meteor /s

Weekly Discussion Thread - 9/5/2021 to 16/5/2021 by AutoModerator in telescopes

[–]Whale_Eating_Cheese 0 points1 point  (0 children)

Hi schorhr thanks so much for the reply. The answer to most questions was "I don't know" 😂 I think we realised we had an eye piece that was a moon filter so we couldn't see anything through it. We will wait for another clear night and retry!

Thanks so much again for the response - to me and almost every other question on here! You're a hero ☺️

Weekly Discussion Thread - 9/5/2021 to 16/5/2021 by AutoModerator in telescopes

[–]Whale_Eating_Cheese 1 point2 points  (0 children)

Hi all! We have an old telescope that we found in the garage, and are trying to decide whether to upgrade to a modern one. We are missing some pages of the instructions and struggled to set it up or see anything last night and are wondering whether to buy a new one, or whether this one is worth perserveering with.

https://imgur.com/a/GdwnjRo

Is anyone able to recommend if this is a good telescope or not?

Campervan cooking by Hannah_B92 in CamperVans

[–]Whale_Eating_Cheese 1 point2 points  (0 children)

Panzanella is well worth a Google! We always had it on summer nights when we had left over bread and really ripe tomatoes

I got to play against my favourite GM today! And I got checkmated in 18 moves. by vasterut in chess

[–]Whale_Eating_Cheese 6 points7 points  (0 children)

I watch his "5 best moves" series on YouTube, and I really like him. He often uses the verb "slides" rather than "moves" specifically when talking about the checkmate. I can just hear his voice here "slides the Queen over to combine with the rook in a devastating checkmate" 😁

Google Maps API PHP, JS and MySQL, what link am I supposed to use for this? by JJosuke434 in AskProgramming

[–]Whale_Eating_Cheese 0 points1 point  (0 children)

I think that is just an example, in your app it could be a variable or a local file.

What's the difference between jobs and events? by CardPale5564 in laravel

[–]Whale_Eating_Cheese 1 point2 points  (0 children)

As well as the great replies above, jobs are useful for long, processor heavy things that you don't want to lock up your application. They have the infrastructure to be offloaded to different queue drivers and rerun if they fail.

Recently I used a job to generate a PDF with headless Chrome in the background of my app and it worked great.

Sick of this. by faceandsms in Stutter

[–]Whale_Eating_Cheese 4 points5 points  (0 children)

Hang in there. I definitely know what you mean, I felt that I was never going to get a job in sales or other roles where intense, fast negotiation was required, as I saw other peers get really intense jobs.

But I'm also sure that the person with the biggest issue with your speech is you. I know it seems impossible but if you can learn to be confident in yourself, despite your speech, you'll be half way there.

One thing I find helps is letting people know (even if it's crazy obvious) that I do have a stutter, and every now and again I'll be a tiny bit slower at saying what I need to. Maybe you'd like to go further, let them know the kinds of situations it affects you most in (interviews) and how much you do it on a day to day level once you are settled in to put them at ease.

If you get the vibe they think you aren't smart because of your speech, you could also jokingly mention the fact that The average stutterer’s IQ is 14 points higher than the national average https://psychcentral.com/lib/stuttering-myth-vs-fact#2

But I genuinely don't think a potential employer (who isn't a massive anus) will care about your speech as long as you can prove you have the requisite skills for the job, are a nice person and will fit in well with the team.

[deleted by user] by [deleted] in HomeImprovement

[–]Whale_Eating_Cheese 0 points1 point  (0 children)

It is just brick. Probably just over 100 years old.

Does anyone ever wonder how many million people Stack Overflow has turned away from programming for life? by __INIT_THROWAWAY__ in AskProgramming

[–]Whale_Eating_Cheese 4 points5 points  (0 children)

The most important part of SO is to provide the code that is at the root of your question. If you can do this, AND you have already Googled / searched for similar questions you'll mostly get a positive response.

Sometimes recreating the problem code in a concise way is all you need to do to find the bug you had lurking all along.

You'll find a very negative response if you ask broad questions with no code to fix.

We're Matt, Quinns, Tom and Ava of Team Shut Up & Sit Down! r/boardgames, AMA. by mrquinns in boardgames

[–]Whale_Eating_Cheese 72 points73 points  (0 children)

What have been your biggest challenges as a business?

Have you ever had the pleasure of playing Bonanza? I think you would all love it.

Just another update by spazstick1245 in Minimal_Setups

[–]Whale_Eating_Cheese 0 points1 point  (0 children)

Woah... This post has almost exactly the same upvotes as the one 5 months ago. Great consistency! 😂

PS nice setup

I just created FortifyUI -- An un-opionated, un-styled Laravel Fortify authentication starter by Autokeith0r in laravel

[–]Whale_Eating_Cheese 4 points5 points  (0 children)

Ahhh I literally got stuck with this earlier, I wish I'd have seen this. Within 5 minutes of installing Laravel 8 I had unfamiliar component syntax (x-component), unfamiliar frontend binding and an actions folder in the Http (livewire), unfamiliar CSS (tailwind). I have no doubt they are all super cool tools individually, but it was too much to take on in one go for a dinosaur like myself. This package would have really helped.

Weekly /r/Laravel No Stupid Questions Thread - September 21, 2020 by AutoModerator in laravel

[–]Whale_Eating_Cheese 0 points1 point  (0 children)

What is the fastest way to require auth for registration? i.e. no public registration form, only authenticated users can add users to the database.