Click here to Skip to main content

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
NewsPUT vs POST in RESTstaffTerrence Dorsey8hrs 38mins ago 
I have seen many programmers having confusion between PUT vs POST while making REST API. Before starting my article let me put the following statements you have already encountered with: PUT should be used to create and POST should be used to update. POST should be used to create and PUT should be used to update. If you are following these statements sctrictly, both of them are not correct!. It is not mandatory that you have to use both PUT and POST in our application, it depends on what is the requirement.
This should PUT any questions about POST to REST.
NewsIntroduction To Computational ComplexitystaffTerrence Dorsey8hrs 38mins ago 
This tutorial will cover basic algorithm analysis, specifically the time complexity of algorithms. The tools used include Big-O, Big-Omega, and Big-Theta. This tutorial will also discuss some of the mathematical properties of Big-O, Big-Omega, and Big-Theta.
How complex? I don't understand a word of it.
NewsThe CORRECT Way to Code a Custom Exception ClassstaffTerrence Dorsey8hrs 39mins ago 
There is a lot of advice out there on how to go about building your own custom exception classes. A lot of these sources are at least partially correct. Some are totally wrong. Some even advocate abandoning the base System.Exception class altogether, but that’s throwing the baby out with the bathwater, in my opinion. None that I've seen show how to serialize/deserialize your custom exception class should it have additional data in it's subclass. It’s enough to make one despair of ever finding the “right” way to build an exception class.
throw new boilerplate exception;
NewsFunctors, Applicatives, And Monads In PicturesstaffTerrence Dorsey8hrs 39mins ago 
Like Morpheus in the Matrix, fmap knows just what to do; you start with Nothing, and you end up with Nothing! fmap is zen. Now it makes sense why the Maybe data type exists.
It's a picture book for nerds. Some Haskell required.
NewsNative equivalents of jQuery functionsstaffTerrence Dorsey8hrs 40mins ago 
This post is not meant at all to be anti-jQuery. But if you are able to target modern browsers in your work, using the native C++ methods provided by your browser will not-surprisingly give you a tremendous performance boost in most areas. I think there are many developers who don’t realize that most of the jQuery methods they use have native equivalents that require the same or only a slighter larger amount of code to use. Below are a series of code samples showing some popular jQuery functions along with their native counterparts.
Even if you keep using jQuery, it's always good to know how it works under the hood.
NewsStatistical Formulas For ProgrammersstaffTerrence Dorsey9hrs 58mins ago 
Being able to apply statistics is like having a secret superpower. Where most people see averages, you see confidence intervals. When someone says “7 is greater than 5,” you declare that they're really the same. In a cacophony of noise, you hear a cry for help. Unfortunately, not enough programmers have this superpower. That's a shame, because the application of statistics can almost always enhance the display and interpretation of data.
That's no mean feat for the average coder.
NewsFirst Glimpse into the Soul of a TamagotchistaffTerrence Dorsey9hrs 58mins ago 
I dumped the ROM of a Tamagotchi using the code execution ability I posted previously. I wrote 6502 code that dumped each byte of the memory space of the Tamagotchi, and output it over port A (which is usually the Tamagotchi button input) via SPI.... I started by dumping the entire memory space, from 0×0000 to 0xffff, which included all mapped memory, such as ROM, RAM and ports. This only dumped some of the ROM, though, as the GPLB52x microcontroller supports paging outside of 6502 paging. The first 16 kilobytes of the ROM are always mapped to 0xc000-0xffff, and then the rest of the ROM is split into 19 pages that can be mapped to 0×4000-0xbfff as needed. To dump the entire ROM, I needed to figure out how to page.
There's nothing sadder than a puppet without a ghost...
NewsThe Perils and Triumphs of using Cassandra at a .NET/Microsoft ShopstaffTerrence Dorsey9hrs 59mins ago 
We recently transitioned a large portion of our backend infrastructure from Microsoft SQL Server to Apache Cassandra. Today, this Cassandra cluster backs our mobile advertising network, supporting over 10 million daily active users that produce over 10,000 transactions per second, with an average database request latency of under 2 milliseconds! The journey to get there is one of struggle and perseverance, where everyone lives happily ever after.
The thing's hollow — it goes on forever — and — oh my God — it's full of data!
NewsWhat I wish systems researchers would work onstaffTerrence Dorsey9hrs 59mins ago 
I just got back from HotOS 2013 and, frankly, it was a little depressing.... I could not help being left with the feeling that the operating systems community is somewhat stuck in a rut. It did not help that the first session was about how to make network and disk I/O faster, a topic that has been a recurring theme for as long as "systems" has existed as a field. HotOS is supposed to represent the "hot topics" in the area, but when we're still arguing about problems that are 25 years old, it starts to feel not-so-hot.
What do you wish OS developers would break new ground on?
NewsMaking Linux and Android Get Along (It's Not as Hard as It Sounds)staffTerrence Dorsey10hrs ago 
Like many great consumer Linux products... manufacturers assume in nearly every case that your "other" computer will run Windows.... The good news is, with the installation or configuration of a few programs, it's pretty easy to get your Android device (all the steps in this article are equally applicable to phones and tablets unless stated otherwise) to play nice with your Linux boxen.
Check the comments for neckbeard-compatible alternative tools.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 21 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid