Profile

Cover photo
Christopher Mancini
179 followers|107,140 views
AboutPostsPhotosVideos+1's

Stream

Christopher Mancini

Feedback and Ideas  - 
 
Strange issue. I have a plugin that has its own element type. This element type has its own sub type which has the corresponding FieldLayout for the element type.

Problem:
I can create a new element with this element type within my plugin's interface, but it always ends up generating a task in craft_tasks that fails to complete stating that the session directory is not writable, failing on session_write_close().

Side Effects:
After this event is triggered once, we get logged out of the CP immediately on the next page request. We can log back in only to be logged out again on the next page request.

Work around:
Only way for me to resolve this issue, is to delete the record created for the element in craft_tasks manually. Then everything works properly again.

Notes:
- We encounter no other permissions issues on craft/storage/* except when this event occurs.
- This occurs even in if I have memcached (pecl-memcache) setup as the cache method.

I appreciate any thoughts.
1
Brad Bell's profile photoChristopher Mancini's profile photoLindsey DiLoreto's profile photo
7 comments
 
+Brad Bell Hey Brad, I wanted to report back, that the issue persisted even with MySql 5.6 so it is not a mariadb / mysql compatibility issue. I still don't have a fix for the issue. Did I mention before that I am using memcache?
Add a comment...

Christopher Mancini

commented on a video on YouTube.
Shared publicly  - 
 
This was so awesome!
1

Christopher Mancini

Shared publicly  - 
 
Woot, got zf2 doctrine2 and memcached all playing nice together. Wasn't that hard.
1

Christopher Mancini

Shared publicly  - 
 
I am not sure I like this smell...
1

Christopher Mancini

Shared publicly  - 
 
This is one of those cases where the free market system sucks...
 
Discussions about DRM often land on the fundamental problem with DRM: that it doesn't work, or worse, that it is in fact mathematically impossible to make it work. The argument goes as follows:

1. The purpose of DRM is to prevent people from copying content while allowing people to view that content,

2. You can't hide something from someone while showing it to them,

3. And in any case widespread copyright violations (e.g. movies on file sharing sites) often come from sources that aren't encrypted in the first place, e.g. leaks from studios.

It turns out that this argument is fundamentally flawed. Usually the arguments from pro-DRM people are that #2 and #3 are false. But no, those are true. The problem is #1 is false.

The purpose of DRM is not to prevent copyright violations.

The purpose of DRM is to give content providers leverage against creators of playback devices.

Content providers have leverage against content distributors, because distributors can't legally distribute copyrighted content without the permission of the content's creators. But if that was the only leverage content producers had, what would happen is that users would obtain their content from those content distributors, and then use third-party content playback systems to read it, letting them do so in whatever manner they wanted.

Here are some examples:

A. Paramount make a movie. A DVD store buys the rights to distribute this movie from Paramount, and sells DVDs. You buy the DVD, and want to play it. Paramount want you to sit through some ads, so they tell the DVD store to put some ads on the DVD labeled as "unskippable".

Without DRM, you take the DVD and stick it into a DVD player that ignores "unskippable" labels, and jump straight to the movie.

With DRM, there is no licensed player that can do this, because to create the player you need to get permission from Paramount -- or rather, a licensing agent created and supported by content companies, DVD-CCA -- otherwise, you are violating some set of patents, anti-circumvention laws, or both.

B. Columbia make a movie. Netflix buys the rights to distribute this movie from Columbia, and sells access to the bits of the movie to users online. You get a Netflix subscription. Columbia want you to pay more if you want to watch it simultaneously on your TV and your phone, so they require that Netflix prevent you from doing this.

Now. You are watching the movie upstairs with your family, and you hear your cat meowing at the door downstairs.

Without DRM, you don't have to use Netflix's software, so maybe just pass the feed to some multiplexing software, which means that you can just pick up your phone, tell it to stream the same movie, continue watching it while you walk downstairs to open the door for the cat, come back upstairs, and turn your phone off, and nobody else has been inconvenienced and you haven't missed anything.

With DRM, you have to use Netflix's software, so you have to play by their rules. There is no licensed software that will let you multiplex the stream. You could watch it on your phone, but then your family misses out. They could keep watching, but then you miss out. Nobody is allowed to write software that does anything Columbia don't want you to do. Columbia want the option to charge you more when you go to let your cat in, even if they don't actually make it possible yet.

C. Fox make a movie. Apple buys the rights to sell it on iTunes. You buy it from iTunes. You want to watch it on your phone. Fox want you to buy the movie again if you use anything not made by Apple.

Without DRM, you just transfer it to your phone and watch it, since the player on any phone, whether made by Apple or anyone else, can read the video file.

With DRM, only Apple can provide a licensed player for the file. If you're using any phone other than an iPhone, you cannot watch it, because nobody else has been allowed to write software that decrypts the media files sold by Apple.

In all three cases, nobody has been stopped from violating a copyright. All three movies are probably available on file sharing sites. The only people who are stopped from doing anything are the player providers -- they are forced to provide a user experience that, rather than being optimised for the users, puts potential future revenues first (forcing people to play ads, keeping the door open to charging more for more features later, building artificial obsolescence into content so that if you change ecosystem, you have to purchase the content again).

Arguing that DRM doesn't work is, it turns out, missing the point. DRM is working really well in the video and book space. Sure, the DRM systems have all been broken, but that doesn't matter to the DRM proponents. Licensed DVD players still enforce the restrictions. Mass market providers can't create unlicensed DVD players, so they remain a black or gray market curiosity. DRM failed in the music space not because DRM is doomed, but because the content providers sold their digital content without DRM, and thus enabled all kinds of players they didn't expect (such as "MP3" players). Had CDs been encrypted, iPods would not have been able to read their content, because the content providers would have been able to use their DRM contracts as leverage to prevent it.

DRM's purpose is to give content providers control over software and hardware providers, and it is satisfying that purpose well.

As a corollary to this, look at the companies who are pushing for DRM. Of the ones who would have to implement the DRM, they are all companies over which the content providers already, without DRM, have leverage: the companies that both license content from the content providers and create software or hardware players. Because they license content, the content providers already have leverage against them: they can essentially require them to be pro-DRM if they want the content. The people against the DRM are the users, and the player creators who don't license content. In other words, the people over whom the content producers have no leverage. 
1
Have him in circles
179 people
Jason Simon's profile photo
Russ LeJeune's profile photo
Jason Hunter's profile photo
Melissa Gilkey's profile photo
Julie Kuhns's profile photo
Karetha Strand's profile photo
 
Question. We have a multi-locale configured instance we are trying to work with.

In our repo and local dev, we have /craft, /locale1, /locale2. For local development, we control CRAFT_SITE_URL via vhost environment variables and each locale has a separate vhost. When we deploy it to staging server, I have a phing build script that sends a copy of the craft directory to each webroot and each locale folder as public.

Staging works fine. For some reason local dev, the site loads fine, the admin login loads fine. When I try to login, it works. As soon as I click anything within admin dashboard I am redirected back to the login screen.

I am pretty new to craft, any suggestions on where to look first?
1
Christopher Mancini's profile photoEirik Leirgulen's profile photo
4 comments
 
For local dev, we do. For deploying to production, we deploy that single craft directory to each webroot for simplicity of managing it on a shared webhost for the client.

I will tinker with the localization setup to see if I cannot figure it out. If you think of anything else, please let me know.
Add a comment...

Christopher Mancini

Shared publicly  - 
 
Well said.
 
This is the big story in tech today: 

http://www.washingtonpost.com/world/national-security/nsa-infiltrates-links-to-yahoo-google-data-centers-worldwide-snowden-documents-say/2013/10/30/e51d661e-4166-11e3-8b74-d89d714ca4dd_story.html 

*

I'm just going to post my thoughts on this. Standard disclaimer: They are my own thoughts, and not those of my employer.

*
Fuck these guys. 

I've spent the last ten years of my life trying to keep Google's users safe and secure from the many diverse threats Google faces.

I've seen armies of machines DOS-ing Google. I've seen worms DOS'ing Google to find vulnerabilities in other people's software. I've seen criminal gangs figure out malware. I've seen spyware masquerading as toolbars so thick it breaks computers because it interferes with the other spyware.

I've even seen oppressive governments use state sponsored hacking to target dissidents.

But even though we suspected this was happening, it still makes me terribly sad. It makes me sad because I believe in America. 

Not in that flag-waving bullshit we've-got-our-big-trucks-and-bigger-tanks sort of way, but in the way that you can looked a good friend who has a lot of flaws, but every time you meet him, you think, "That guy still has some good ideas going on".

But after spending all that time helping in my tiny way to protect Google -- one of the greatest things to arise from the internet -- seeing this, well, it's just a little like coming home from War with Sauron, destroying the One Ring, only to discover the NSA is on the front porch of the Shire chopping down the Party Tree and outsourcing all the hobbit farmers with half-orcs and whips. 

The US has to be better than this; but I guess in the interim, that security job is looking a lot more like a Sisyphus thing than ever. 

*

Also of note, this article from September may call some recent technical decisions into relief: 

http://articles.washingtonpost.com/2013-09-06/business/41831756_1_encryption-data-centers-intelligence-agencies

#nsa   #surveillancestate  
1
 
Hi, I am attempting to pull activity data for a public page, yet it returns zero items despite there being many public posts on the profile. Any idea what might be wrong?

Profile Link:
https://plus.google.com/107276257619752352564/posts

API Explorer Link:
https://developers.google.com/apis-explorer/#p/plus/v1/plus.activities.list?userId=114637566932717330174&collection=public&_h=2&
6
Abraham Williams's profile photoChristopher Mancini's profile photo
3 comments
 
I think your right. Thanks for your help.
Add a comment...

Christopher Mancini

Shared publicly  - 
 
My kids play this all the time, $3.99 is a good price.
 
Agents,

I am in the process of working on a screencast or two on Ingress related topics, when they are ready, I will also be giving away a few invites to Ingress. So, lookout for an announcement in the next week or two.

In the meantime, I noticed Minecraft for Android is on sale at Amazon for $3.99, normally it is $6.99.

http://www.amazon.com/gp/product/B00992CF6W/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=B00992CF6W&linkCode=as2&tag=ingfiegui-20

#ingress   #minecraft   #android  
1

Christopher Mancini

Shared publicly  - 
 
Great resource. #ingress  
 
As I promised, here is a recommendation guide for #ingress  gear. Please don't hesitate to provide feedback and suggest additions.

http://ingressfieldguide.com/ingress-bootcamp/recommended-gear
1
People
Have him in circles
179 people
Jason Simon's profile photo
Russ LeJeune's profile photo
Jason Hunter's profile photo
Melissa Gilkey's profile photo
Julie Kuhns's profile photo
Karetha Strand's profile photo
Work
Occupation
Software Engineer
Links
Contributor to
Story
Introduction
I am an energetic and extraverted person. I love meeting new people and building strong relationships.

I am an entrepreneur in heart and have great communication skills. I see myself as a self starter and someone who can be a company visionary.
Basic Information
Gender
Male
Relationship
Married
Apps with Google+ Sign-in
Christopher Mancini's +1's are the things they like, agree with, or want to recommend.
Bitcoin, Litecoin, Namecoin, Terracoin, Peercoin, Novacoin, Freicoin, Fe...
bitinfocharts.com

Bitcoin, Litecoin, Namecoin, Terracoin, Peercoin, Novacoin, Freicoin, Feathercoin - price, reward, difficulty, hashrate, market capitalizati

OMG CAT GIFS
plus.google.com

#GIFs of cute, funny, weird cats doing cat things.

AwesomeGIFs
plus.google.com

Many #funny. So #GIFS. Much #LOLs. #Wow

Happy GIFs
plus.google.com

Better living through #gifs

Xbox One Nation
plus.google.com

Xbox One Nation is a fan site for the Xbox One entertainment console from Microsoft.

In Google's Ingress augmented reality game, a ceasefire at MIT and a mem...
www.boston.com

Most people haven't yet heard of Ingress, an augmented reality game currently being beta-tested by Google. But think of it as a digital vers

Music
market.android.com

Official Android player for Music Beta by Google. The Music application features a redesigned UI and now supports Music Beta by Google. Mu

Glassdoor – an inside look at jobs & companies
www.glassdoor.com

Search jobs then look inside. Company salaries, reviews, interview questions, and more - all posted anonymously by employees and job seekers

Google Drive
chrome.google.com

Google Drive: create, share and keep all your stuff in one place.

Google TV - Apps
www.google.com

Google TV is a new experience that combines TV, the entire web, and apps -- as well as a way to search across them all. Take a tour, learn h

+1 Your Website - Google
www.google.com

Add +1 to your pages to help your site stand out. Let visitors recommend your content on Google Search and share it on Google+. Customize yo

Google Politics & Elections
www.google.com

Google Politics & Elections. Your elections hub to study, watch, discuss, participate in and make your impact on the digital campaign trail.

Portals & Linking | Ingress Field Guide
ingressfieldguide.com

Portals are all around us and can generally be found at monuments, memorials, historic buildings and sites, exterior works of art, significa

Google Voice
market.android.com

Make cheap international calls with your Google number. Send free text messages. Place calls and send text messages showing your Google numb

Google AdSense
plus.google.com

Enabling publishers to earn revenue from their online content

Battlelog / Sign in
battlelog.battlefield.com

The site is currently full and you've been placed in the queue. Expected waiting time is -. Buy Battlefield 3 to get access. “Playing wi

Clear Internet | Call 1-800-462-1810 for Wireless Internet Service
internet.clear.com

Call 1-800-462-1810 today for Clear Internet. Find out if Clear 4G Internet Service is available in your area and enjoy fast internet servic

DIRECT TV | 1-800-597-3306
www.direct.tv

DIRECT TV is offering FREE HD & 5 Months FREE of their best package! Hurry, and get all these deals plus many more. You can also get the