In Tim Bray's latest Android blog post he mentions the "dashboard" ui pattern (what is used for the Twitter app, Facebook app, etc. Is this layout as simple as a GridView with Buttons or is it something else?
I have the following JSON text that i need to parse to get pageName, pagePic, post_id, etc.
What is the required code?
{
pageInfo: {
pageName: abc
pagePic: http://profile.ak.fbcdn.net/object2/367/65/q160119538822_4127.jpg
}
posts: [
{
post_id: 160119538822_302076968822
actor_id: 1183856639
picOfPersonWhoPosted: http://profile.ak.fbcdn.net/hprofile-ak-sf2p/hs302.ash1/23104_1183856639_4894_q.jpg
nameOfPersonWhoPosted: Andrea Raquel
message: Sounds cool. Can't wait to see it!
likesCount: 2
comments: [
]
timeOfPost: 1266036226
}
I know there are minimalist forums out there like punBB - but has anyone ever run into a super tiny forum/discussion system that was barely more than posting comments? Are there any microscopic forums hidden on google code or github?
I found a PHP version of ruby's Beast written in CodeIgniter - but it was still pretty large.
I've followed all instructions given on this site with an empty .vim folder, but for some reason, python highlighting is not working on my system. It only highlights the comments and a few variables - nothing like the picture.
http://concisionandconcinnity.blogspot.com/2009/07/vim-part-i-improved-python-syntax.html
Is there some other setting I am forgetting?
Many iPhone apps have the capability to integrate with Twitter, Facebook, and other social networking apps. It is possible yet to integrate with Google Buzz? I've checked the Google API docs for Objective C here
http://code.google.com/p/gdata-objectivec-client/
But I don't see any mention of Google Buzz.
Is there a way to grant a user "Full Mailbox Access" to a users mailbox without using the Exchange Management Shell components?
Wanting to grant the access remotely but without having to deploy powershell and the EMS components. I'm working in C# (.Net 3.5) with Exchange Server 2007 SP1.
Any comments or suggestions are greatly appreciated.
What are some helpful things that ASP.NET MVC developers could suggest that would help us ASP.NET WebForms developers to write better code/web apps?
I'm a WebForms guy but with all the new hype around MVC I'd value some comments on helpful tips, tricks and strategies that might be able to be used in a webforms app.
In GNU Emacs, is there a good way to change the comment-region command in C mode from
/* This is a comment which extends */
/* over more than one line in C. */
to
/* This is a comment which extends
over more than one line in C. */
? I have tried
(setq comment-multi-line t)
but this does not help. There is a section on multi-line comments in the Emacs manual, but it does not mention anything.
Hello.
I've been developing for Visual Studio and C# for a long time. Now, I'm developing with XCode and Objective-C.
On C# I can use /// <summary> to generate documentation. Is there any kind of mechanism like that on XCode to generate documentation? And what kind of comments should I use?
Thank you.
I'm trying to put comments in when compiling a regex but when using the re.VERBOSE flag I get no matchresult anymore.
(using Python 3.3.0)
Before:
regex = re.compile(r"Duke wann", re.IGNORECASE)
print(regex.search("He is called: Duke WAnn.").group())
Output: Duke WAnn
After:
regex = re.compile(r'''
Duke # First name
Wann #Last Name
''', re.VERBOSE | re.IGNORECASE)
print(regex.search("He is called: Duke WAnn.").group())`
Output:
AttributeError: 'NoneType' object has no attribute 'group'
Have you been stuck with the math in a Flash project?
It's a loose design pattern my director formulated. My goal is to keep the project object oriented, and get 'non Flash obstacles' off my plate.
XML values going to AS3, updating a changing acceleration formula. I don't hate math, but it just doesn't seem OOP or good project planning to have the math stuck in Flash. Your comments are welcome.
There has been a lot of talk related to Cassandra lately.
Twitter, Digg, Facebook, etc all use it.
When does it make sense to:
use Cassandra,
not use Cassandra, and
use a RDMS instead of Cassandra.
I need to read binary PGM image files. Its format:
P5
# comments
nrows ncolumns
max-value
binary values start at this line. (totally nrows*ncolumns bytes/unsigned char)
I know how to do it in C or C++ using FILE handler by reading several lines first and read the binary block. But don't know how to do it in .Net.
for big website's CSS what we should use IE condition sheets ( IE6, IE7, IE8 if needed) or CSS hacks in multiple people environment?
and CSS will be handled by multiple people.
I'm thinking to use hacks with proper comments because there are chanceh to forgot for other to make any changes in both css.
For example : #ab { width:200px} in main css and #ab { width:210px} in IE css.
Need your view on this. Thanks in advance.
Hi folks,
I am looking for an open source cross-platform library for working with the serial port in C, something along the lines of the awesome pyserial library (Unfortunately I have to use C for this application)
I have only found this one: http://www.teuniz.net/RS-232/ and that doesn't seem to have mention OSX compatibility.
Any recommendations/comments would be greatly appreciated.
Thanks.
37signals is a web app company. Some of their applications:
basecamp, to manage projects
highrise, to manage contacts
backpack, like a wiki
they use different domains for each application (basecamphq.com, highrisehq.com, etc)
in basecamp, this is the address of a particular comment for a post in a project of my company (acme) https://acme.basecamphq.com/projects/431678/posts/2964581/comments#5854236
if 37signals had chosen to host all the applications under their domain using folders (eg 37signals.com/basecamp/..., how would you design the paths?
I'm working on a side project to build a new web app idea of mine. For the sake of discussion, let's say this app displays a random photograph of a famous work of art. On a scale of 1 to 5, users are asked to rate how well they like each piece of art, and then are shown the next photo. Eventually, the app is able to get an sense of the person's style and is able to recommend artwork that he/she may find pleasing.
The whole concept is similar to Netflix. I understand how to do all the preference matching logic (although not as sophisticated as Netflix). But I'd like to find a way to do this without requiring that users create an account first. This is a novelty website that a typical user might use only a handful of times. Requiring registration is overkill and will likely drastically reduce it's utility. I'd like to allow people to begin rating artwork within five seconds of their initial pageview, yet maintain the integrity of the voting (since recommendations are predicated on how other people have rated the various pieces of artwork).
Can it be done?
Some ideas:
OpenID. The perfect solution except for the fact that it's not wildly used and my target audience isn't the most technically adept demographic.
Text message. User inputs phone number and is texted a four digit code to key into the web app. Quick, easy, and great way to limit abuse. However, privacy concerns abound... people are probably even less likely to give me their phone number than their email address.
Facebook login. I personally don't have a Facebook account due to privacy concerns. And I'd really hate to support such a proprietary platform.
Hash code/Bookmark. Vistor's initial pageview generates a 5 or 6 digit alphanumeric code that is embedded in each subsequent URL. They can bookmark any page to save their state. Good: Very simple system that doesn't require any user action. Bad: Very easy to stuff the ballot box, might be difficult to account for users sharing the link containing their ID code via email or social networking sites.
what is an api, if a make a db and a social site in asp.net and c#, sql host it.
how can i ask others to make applications for it?
i mean how is that possible, i have the code, so API, is it a software?
i want to make a site like facebook social networking site, but its proving to be very very difficult, Ajax java script and all that
please help by providing examples, codes, readable, guidance,
thank you,
i has asked a similar question but deleted it as it was not clear
thank you
mobclix.com has an API for integrating with facebook.com. Is there something similar for twitter.com and other social services? Meaning, these will look like native parts of your app?
Hi,
I need to open a javascript dialog (either window.open or window.showModalDialog will do), from an opensocial gadget.
It's just to make the OAuth flow. The problem is that the window gets blocked by the popup blockers.
I know this is possible because facebook gadget does that.
Any ideas please?
It's possible to define your own custom templates for normal project types, such as templates for C# files, for a Class Library project.
What about a 'Database Project' scenario?
I would like to define a standard template for adding a stored procedure, which uses the company's conventions for all stored procedures, such as standard comments at the top.
Which folder contains Visual Studio templates for Database projects?
I am using few facebook social plugins and I am using the meta header. When validating the page, the W3C validator is throwing the error - "Error: there is no attribute "property".
I am using the XHTML Transitional doctype -
Pls Suggest if I have to change the doctype to something else.
I'm considering getting a Mac. I want to make sure I'll be able to get a good text editor for it. I'm wondering what other folks are using.
Features I need -
Contextual highlighting for PHP, HTML, CSS, and preferably many others
FTP from a hotkey - so I can hit ctrl-s to save, then another combo to FTP it.
Features I'd like -
Code Completion
I'm also interested in any comments in general about coding on a Mac and if it's really worth the extra $$$ to get one.
Thanks
Does anyone know of a .NET API (source-code is preferrable of course) that I can access all the common chat clients thru it (GT, Yahoo, MSN, AIM, FB, ICQ, SKYPE and more)?
I guess I am looking for a .NET library project that performs something like pidjin.
I need it because I hate Pidgin's interface and functionality, and I want to have a Google-Talk desktop like UI.
Any comments and tips will also be very useful.
Thanks.