Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
H

harsimranb

@harsimranb
About
Posts
35
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Major security alert as 40,000 MongoDB databases left unsecured on the internet
    H harsimranb

    Geez...Wouldn't that be common sense for any db admin??!!

    H.B.

    The Insider News mongodb database com security sales

  • asp.net mvc 4 razor, time to learn something new this year.
    H harsimranb

    Sure thing! If you have any question, feel free to ask, me and many other members are willing to help. Google also has an abundance of questions and answers. Just to give you a little perception on the view: Your controller will pass in a "model" to the View. The model can be your domain object, or a view model. I don't want to go into too many details and make it more confusing. You will learn these things as you get more into Asp.Net Mvc. The view is a template with all the html and razor code. A sample template will be like this:

    @Model.Name

    The razor templating engine then parses the HTML, fills in the model properties from the controller, and renders the raw HTML in the browser. Asp.MVC does all that automatically on the backend. This produces clean and concise HTML, and lets you make it as semantic as you like. It is all very beautiful.

    H.B.

    ASP.NET asp-net csharp mobile database beta-testing

  • Do you ever get that feeling that somebody read an article you wrote, and then decided to make a Pluralsight course pointing our all of your mistakes?
    H harsimranb

    Haha! Wicked!! BTW, nice article! I was looking for something on that topic.

    H.B.

    The Lounge com security question learning

  • asp.net mvc 4 razor, time to learn something new this year.
    H harsimranb

    Asp.Net MVC is very neat. Initially it is hard to get around if you're from Asp.Net WebForms, but once you get a hang, you will never look back. In fact, you will hate WebForms. :) For responsive design, you can use Twitter BootStrap[^] It is basically the ground framework for a good looking site, with built-in responsive design support. It will save you a lot of time and effort. There are many CSS frameworks on the web that support responsive design, a simple Google search should reveal them. All in all, Asp.Net MVC is a great framework to invest in, and it is here to stay.

    --- H.B.

    ASP.NET asp-net csharp mobile database beta-testing

  • Writing Reliable .NET Code
    H harsimranb

    I think these books might be more what you're looking for: Writing High-Performance .NET Code[^] Effective C# (Covers C# 4.0): 50 Specific Ways to Improve Your C# (2nd Edition) (Effective Software Development Series)[^] You can find lots of goodies on Amazon.

    --- H.B.

    .NET (Core and Framework) csharp com question

  • Learning for intermediate learner
    H harsimranb

    I've known programmers you get stuck reading books and articles. It's like reading techniques on painting. You will not get any better at painting until you keep painting. Same applies to programming. Enough with the reading! :) Start build apps, a TODO list, with a SQL Backend; or maybe an application that connects to Facebook. Once you build the apps, reflect on the apps from a OOP perspective and performance algorithm. How can you improve the app? Then on the next project apply what you learned. Be flexible, don't be afraid to try something new. But don't get too much into reading. Just pick it up, and start coding! Something very crucial is to do short projects. Don't try to do to many things. Limit yourself to one project a week, and then move on. Before you know it, you will have learned so much from building those apps!

    H.B.

    C# csharp database linq xml help

  • Learning from Apple
    H harsimranb

    I'm 100% with you on the open source. In the very recent year, a lot of open source projects have dominated and major companies like Microsoft, Google are open sourcing many of their technologies as well.

    Running a Business ios mobile hardware sales tutorial

  • Users Get Multiple Login Prompts on Sharepoint 2010
    H harsimranb

    I've noticed that too. Sometimes you tell the browser (IE) to remember the credentials, and the browser asks you for the credentials again.

    SharePoint question sharepoint security help

  • application to update itself...
    H harsimranb

    The application needs the DLLs refreshed and therefore, it needs to restarted. However, you can try ClickOnce. You can also have a separate application that gets run before your app, checks for updates, installs them, and then runs the main application. I haven't done Win App development for over 3 years, so my knowledge isn't up-to-date. Still, these are two ways you can do it. Google Chrome, I believe, uses ClickOnce.

    C# announcement csharp com question

  • How Search Algorithms Work
    H harsimranb

    Hi. I want to know how the Google Search Algorithm calculates the information necessary to rank a website. Like, how does it measure inbound/outbound links links, how many times it has been shared on Facebook/Twitter, etc. The only way I see it is to search every website on the internet, and then write all the outbound links, and then do bunch of math to go through all websites and rank the inbound links. But that would be toooo inefficient. I'm not sure how it is done, I had a cool project in mind, but I am looking for a more efficient approach than the one I wrote above. Could please guide me in the right direction? Thanks!

    "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson "Why is it drug addicts and computer afficionados are both called users?" - Clifford Stoll

    C# algorithms tutorial question announcement

  • Where to invest time?
    H harsimranb

    Thanks for your advice. I see my problem now. I have to sit down and just learn one language, like Simon said. (Pun not intended) I have only learned the fundamentals of my favorite language (C#), but now I'll have to do more, and gain experience. Thanks for the inpiration. Hopefully C# will stick around in this fast-paced technology world.

    "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson "Why is it drug addicts and computer afficionados are both called users?" - Clifford Stoll

    Work Issues csharp java javascript html asp-net

  • Where to invest time?
    H harsimranb

    You are 100% correct. Now I see why I haven't been able to progres. I never spent enough time on a single platform. All I did was learn it and move on. Now I will try to keep my focus only on C#, and try go get more than just fundementals. Thanks for your advice; I really appreciate it.

    "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson "Why is it drug addicts and computer afficionados are both called users?" - Clifford Stoll

    Work Issues csharp java javascript html asp-net

  • Where to invest time?
    H harsimranb

    Nice man! I started when I was 11. I can do all the easy things with probably any language now, but I can't do complex things. Looks like I should stick to one language (C#) and try to improve on it, like Simon said. (Unintended pun :P) I've also done a few jobs, mostly on freelancer. But what I want is to work with innovation, like do cool stuff with technology. I have good ideas, but I can't implement them because of my lack of experience.

    "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson "Why is it drug addicts and computer afficionados are both called users?" - Clifford Stoll

    Work Issues csharp java javascript html asp-net

  • Where to invest time?
    H harsimranb

    Hi! I'm a 16 yr programmer, and I am looking for some advice for my future. I basically want to know: what industry is going to prosper in the future and will be worth investing my time in right now. Meaning, what things should I start learning know and start gaining experience in, so I can be more prepared for a job, as well as know that my time isn't going in vain. I'm really passionate about making games (Worked with Unity3D and XNA with C#) and (My #1 Choice)I am extremely passionate about C/Linux/Embedded Programming. And I'm not so fond of web programming. These are my preferences, but you guys know much more than me, so please advice. Also, please tell me the technologies/languages I should start learning that will prosper with the industry you recommend. I am really looking forward to your advice. Thanks! PS: If you are interested in knowing what I've worked with before, here it goes: C#, VB, Unity3D, XNA, ASP.NET, HTML, JAVA, JavaScript, Android, WP7, Desktop, Graphic Design, and what not. I've tried a lot of things but have moved on to try out new things. For instance, I gave up Unity3D because I didn't know how to make 3D models. I gave XNA because it was too complex to just load a 3D texture, never mind interacting with it. I never worked with Embedded programming because the starter kit's were too expensive. :(

    "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson "Why is it drug addicts and computer afficionados are both called users?" - Clifford Stoll

    Work Issues csharp java javascript html asp-net

  • Android: Stream to Wowza Server
    H harsimranb

    I have a Wowza server setup, and I need to stream from my android application to Wowza. I've done quite a lot of research on this. The closest solution I found was this: http://code.google.com/p/spydroid-ipcamera/issues/detail?id=2[^] But that doesn't work. I have everything setup for my app, all I need to is to do the streaming, which I'm not at all familiar with. Thank you!

    "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson "Why is it drug addicts and computer afficionados are both called users?" - Clifford Stoll

    Mobile android com sysadmin question announcement

  • Learning from Apple
    H harsimranb

    I think Apple is a great example for a successful company, that had its' struggles. Apple never gave up. Since the beginning, Apple produced expensive computers and didn't have great sales. Microsoft always dominated the market. Despite this, Apple continued to produce quality over quantity; whereas, Microsoft and its hardware vendors produced quantity over quality. *My HP broke down in 3 years, I bought it for $900. My friend bought an Apple for $1000-something, and it broke down after 7 years. To understand quality over quantity, think about this: Apple, IBM, and Microsoft started the computer revolution. Where is Apple now? Where is IBM now? Where is Microsoft now? Apple is dominating; IBM, except of big companies, no one has a clue about what they do, including me; Microsoft is just struggling with Windows, Office, WP7, tablet PC, etc. Although no company has fallen, Apple came up, while Microsoft and IBM went a bit down. Apple's production of great quality products earned it an image of a respectable company. And when Apple launched the iPhone-family, everything changed. Apple dominated the market, because now Apple has quality and quantity. Whereas, companies like Microsoft, Nokia, and RIM are just starting to understand quality. iPad is another innovation. Now there is huge chaos in table market; HP, Sony, RIM, Microsoft, Motorola, etc., are trying to meet the standards of the iPad. But it easn't easy to meet the standards of a company that has had higher standards since the start of the computer ear. Lessons learned: 1. Despite good/bad sales, keep confidence, keep innovating, keep moving forward. 2. Quality over quantity. Produce high quality software/hardware, that will earn reputation and fans. 3. Look at the long run, not the short run. If you want to live in the market, you might want to consider making an image of yourself that everyone likes. Please feel free to add other things. Harsimran Singh

    "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson "Why is it drug addicts and computer afficionados are both called users?" - Clifford Stoll

    Running a Business ios mobile hardware sales tutorial

  • A Question on Processor and Memmory
    H harsimranb

    I am reading Programming Embedded Systems In this book, I came across this claim: The amount of memory required can also affect the processor selection. In general, the register width of a processor establishes the upper limit of the amount of memory it can access (e.g., a 16-bit address register can address only 64 KB (216 ) memory locations). [*] [*] The narrower the register width, the more likely it is that the processor employs tricks such as multiple address spaces to support more memory. There are still embedded systems that do the job with a few hundred bytes. However, several thousand bytes is a more likely minimum, even on an 8-bit processor. THis really didn't make any sense to me. Can anyone shed some light on this?

    "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson "Why is it drug addicts and computer afficionados are both called users?" - Clifford Stoll

    Hardware & Devices question com hardware tools performance

  • Buying Cheap Hardware
    H harsimranb

    You're right. I got my HTC Inspire for $45 at Sams Club, but probably took over $500 to make it.

    "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson "Why is it drug addicts and computer afficionados are both called users?" - Clifford Stoll

    Hardware & Devices hardware question com tutorial

  • Buying Cheap Hardware
    H harsimranb

    You have a point, but the device I am planning to make would require a Bluetooth adapter, video adapter, etc. That would probably go over $200. Still, I hope to learn something from it. :) Thanks!

    "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson "Why is it drug addicts and computer afficionados are both called users?" - Clifford Stoll

    Hardware & Devices hardware question com tutorial

  • Buying Cheap Hardware
    H harsimranb

    I wasn't aware of how mass production can substantially reduce prices! Thanks for looking into my question and helping me out. I'll definitely look into digikey.com. Thanks!

    "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson "Why is it drug addicts and computer afficionados are both called users?" - Clifford Stoll

    Hardware & Devices hardware question com tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups