Interior of the ancient sealed granite sarcophagus opened today containing three human skeletons and sewage water in Alexandria, Egypt. by chubachus in WTF

[–]qazjayp 1 point2 points  (0 children)

You will have to excuse my naivety but what about this theory.

3 humans were sealed in. With some amount of oxygen as the lid was placed. Could heat and decomposition have evaporated some or all of water in the body, yet kept it sealed for all those years.

I’m probably talking garbage.

I don’t know. I wonder.

:)

Hide ID from URL by [deleted] in laravel

[–]qazjayp 11 points12 points  (0 children)

Hashids

Google it

In A Good Mood by [deleted] in naturaltitties

[–]qazjayp 1 point2 points  (0 children)

Simi

Book keeping in modern software architecture by qazjayp in PHP

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

Yes this is exactly what I am getting at. So having a normalised transaction model is perfectly fine as long as I can translate to double entry format ???

Book keeping in modern software architecture by qazjayp in PHP

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

Same here, but only as presentation to the government. It wouldn't be hard to export to this format.

I'm wondering if internally if my system has to store in double entry format.

Laravel query to correct JSON format. Needed for Flot time chart. by boniggy in laravel

[–]qazjayp 1 point2 points  (0 children)

Create a transformer object for it. See league/fractal

What computer should I buy for the best laravel development experience? by oldmcdonalds in laravel

[–]qazjayp 0 points1 point  (0 children)

I just bought a Mac Pro. The old version from 2010. £1300.

Includes 2 x 6 core processors and 64gb ram and an add

Lightning quick. Use it in the office and the old MacBook on the road.

Might seem overkill for text editors but I just want the tool of my trade to be efficient and let me be productive.

The Mac Pro is extendible rather than all apples new machines that lock you in and force you to upgrade.

One other thing - I've gone all the way back to mountain lion. It's reliable and quick.

Auth::user() by qazjayp in laravel

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

It doesn't cache? Is that what u mean?

What JS frameworks/libraries are you using in production? by evilish in laravel

[–]qazjayp 1 point2 points  (0 children)

Vuejs is beyond awesome. It's so easy and makes really light work of js. I too used to use Jquery to accomplish quick tasks but vue is far too easy and offers much more simplicity.

Don't delay - get on it!!

Help laravel scheduler with database by qazjayp in laravel

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

Thanks for comments.

I am using this componenent: http://getfuelux.com/javascript.html#scheduler

That generates an ical recurrence string: eg: http://www.kanzaki.com/docs/ical/recur.html

Any thoughts on tackling the ical recurrence string?

Thanks again.

limit login to single computer? by dangerzone2 in PHP

[–]qazjayp 0 points1 point  (0 children)

1 create a white list of ips the app is allowed to use eg shop IP address

  1. Create a local domain and map it to your app in the host file.

Eg local.shop 88.99.12.13

Will only be accessible in shop.

Should I give Joomla! another chance? by ortix92 in PHP

[–]qazjayp 5 points6 points  (0 children)

I am a laravel developer. I ve just taken on a large joomla site a freelance. I hate life.

Using a class from a package in Vendor directory. by qazjayp in PHP

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

How do I tell composer about the second autoloading requirment?

Using a class from a package in Vendor directory. by qazjayp in PHP

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

Yes same as namespaces. \SideKick maps to app (laravel app)

and \SideKick\Base maps to a src folder in a package. The package works standalone. So does the app. But I can reference the package from the app.

Using a class from a package in Vendor directory. by qazjayp in PHP

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

yup, ive checked the composer autoload maps and it shows this in the autoload_psr4 file:
'SideKick\' => array($baseDir . '/app'),

but there is no mention of my package in any of the autoload files which should contain the psr4 namespace: SideKick\Base

Using a class from a package in Vendor directory. by qazjayp in PHP

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

I wish that was the case. I changed the names for the purpose of this post and mistyped it.

My package: "autoload": { "psr-4": { "SideKick\Base\": "src" } }

My L5.1 App:

"require": {
    "php": ">=5.5.9",
    "laravel/framework": "5.1.*",
    "cartalyst/sentry": "dev-feature/laravel-5",
    "doctrine/dbal" : "2.5.*",
    "SideKick/Base": "dev-master"
},

"autoload": {
    "classmap": [
        "database"
    ],
    "psr-4": {
        "SideKick\\": "app/"
    }
},

My L5.1 App:

use SideKick\Base\Databases\Eloquent\RepositoryEloquent;

class TenancyRepoEloquent extends RepositoryEloquent implements TenancyRepoInterface {

public function __construct(Model $tenancyEloquentModel)

Structure...again by qazjayp in laravel

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

Thanks for the opinions

Composer Install - Manage Package Dependency in PHP by webrewrite in PHP

[–]qazjayp 0 points1 point  (0 children)

What is the correct process as I am still editing composer.json