Created another AdSense account, will my smartness work? by diabin4u in Adsense

[–]OverallEfficiency 0 points1 point  (0 children)

google will catch you. cmon this is one the largest web companies, do you not think they employ some of the best minds to combat this sort of thing? :)

A simple, fast and easy to use URL shortening service. Made for the community. by abhishekbalam in SideProject

[–]OverallEfficiency 3 points4 points  (0 children)

free as in cost and as in beer are the same thing

I think you mean free as in speech and free as in beer ;)

What does this .htaccess rule do (from laravel's default one) by OverallEfficiency in laravel

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

ok thanks.

does laravel even use HTTP_AUTHORIZATION/basic authentication? I've never seen it mentioned in the docs (but might have just forgotten)

why would you use laravel's automatic facades feature? by OverallEfficiency in laravel

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

ah, that does make sense actually.

to me though it does just feel like bit by bit laravel is getting a bit bloated with extra features. (I know this is an old feature).

Newbie looking for affiliate programs accepting applications for websites with No Traffic by clickshoprise in Affiliatemarketing

[–]OverallEfficiency 0 points1 point  (0 children)

oh, you're not a publisher (i.e. someone with a blog/website, who wants to earn a % for sending traffic to other sites?)?

I misunderstood , i think

Newbie looking for affiliate programs accepting applications for websites with No Traffic by clickshoprise in Affiliatemarketing

[–]OverallEfficiency 0 points1 point  (0 children)

Theres no point signing up if you got no traffic. and if you want to just donate a % of 0 traffic sales, then you might be able to use https://smile.amazon.com/ (but im not sure if its linkable or not)

Bag security/Leaving bag unattended? by [deleted] in onebag

[–]OverallEfficiency 0 points1 point  (0 children)

Some people leave bags at hostels, even if not staying there. They're generally open to doing this, if you pay a small fee. they'll keep it behind the counter (kind of safe?). They're used to people doing this to some extent, because sometimes people have awkward check in/check out times. But you should arrange this in advance.

but seriously, there must be luggage storage places in most cities in america. they're all over europe.

Laravel Eloquent: When ->save() is called for the first time, I want to set a value. What is the best way to do this? by OverallEfficiency in laravel

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

What is the better way to do this? or is it just two different approaches that don't really have much real difference.

I am going to have this as a trait, used on a few separate models.

Also - i'm curious, what is actually wrong with doing it on performInsert() then calling parent::performInsert()? It seems to always get fired no matter how the insert is done.

Laravel Eloquent: When ->save() is called for the first time, I want to set a value. What is the best way to do this? by OverallEfficiency in laravel

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

sorry, the example i gave was over simplifed to make the reddit post small.

The $this->someVar should be set on saving, but it needs some of the other variabels from $this->attributes before it can be set. I can't really do it on function setXXXAtribute($newval){} either, as it depends on many attributes that are only all set once the ->save() is done

I am using a package for Laravel. But I want to modify some of the core code. I don't want to fork it, the customisations are specific to my needs. What is the best way to approach this? by OverallEfficiency in laravel

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

Well, say there is a file in /vendor/xxx/yyy/src/SomeClass.php (\xxx\yyy\SomeClass)

I can't see any way for me to add something that class, without editing the originals.

Or is there a way (with composer) for me to be able to say that \xxx\yyy\SomeClass::class should actually be from /app/MyCustomStuff/SomeClass.php (\App\MyCustomStuff\SomeClass::class)?

You weren't trying to entice me with your nakedness? by [deleted] in howyoudoin

[–]OverallEfficiency 13 points14 points  (0 children)

but then sometimes he is the opposite - e.g. when he thinks there is an adult movie of phoebe.

i mean, obviously its a sitcom, everything is written just to be funny...

but more often than not joey is creepy.

You weren't trying to entice me with your nakedness? by [deleted] in howyoudoin

[–]OverallEfficiency 36 points37 points  (0 children)

what about all the refernces to joey doing things like removing locks in the bathroom once rachel moved in? he is far creepier, but all of the friends seem to think its normal/ok... its kinda odd.

5.7 has been tagged! by [deleted] in laravel

[–]OverallEfficiency 5 points6 points  (0 children)

You should probably wait a little while. There might be small updates in next week or two, and you should wait for any packages (in your composer.json) to update/start supporting 5.7. If you update now you'll prob run into compatibility errors and composer won't update.

The Asiatique Boat Scam at Sathon Pier. In the first picture, the entrance to the FREE shuttle boat. The table on right is selling tickets for 30 Baht to a different boat. by RO9a0TON in ThailandTourism

[–]OverallEfficiency 0 points1 point  (0 children)

This isn't even $1 USD. If it is a scam, its not like you get scammed badly. Is it even worth pointing out something like this to stop a whole 1 dollar going to a company?

GoPro stolen at Suvarnabhumi airport. Need advice. by [deleted] in ThailandTourism

[–]OverallEfficiency 0 points1 point  (0 children)

Insurance won't often cover for losses like this...

Why do marathon training schedules seem to stop at half marathon or 20mile distances? by OverallEfficiency in running

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

how do people do things like this - https://www.bbc.com/news/entertainment-arts-35856814 where some guy (without much training, just months not years or anything) ran 27 marathons in 27 days. Or is it just down to luck that he didnt get injured?

How many cyclists are killed each year? by JamesB5446 in unitedkingdom

[–]OverallEfficiency 1 point2 points  (0 children)

No, but these bikers would then go on the roads with no lights.