It never ceases to amaze me that so much code on the web does not work. It number of coders who persistently post unworkable code also continues to surprise me. We even find this on Stackoverflow. Links to code, working or otherwise, also have a tendency to become broken; or it becomes unusable when newer versions of libraries become available. There is a lot of unworking and potted code on the web.
Or…sometimes I find the solution inspired by those comments under the unselected answer. I intend to think that it’s just hard to find this one particular missing puzzle piece without seeing the whole picture.
wprl:
RequireJS is the best loader because:
- It manages dependencies.
- It loads text into strings.
- It has an awesome compiler capable of minifying and concatenating your JS and text dependencies (templates).
- It works great with non-AMD modules via the
shimconfig option.- It works in node.js too
- It can be subbed out with another, optimized AMD loader for deployment e.g. Almond.
Managing dependencies…..I think you’ve just given me another notion of having some experiments!
What are some of the most ridiculous startup ideas that eventually became successful?
Github - software engineers will pay monthly fees for the rest of their lives in order to create free software out of other free software!
LinkedIn - how about a professional social network, aimed at busy 30- and 40-somethings. They will use it once every 5 years when they go job searching.
Instagram - filters! That’s right, we got filters!
Facebook - the world needs yet another Myspace or Friendster except several years late. We’ll only open it up to a few thousand overworked, anti-social, Ivy Leaguers. Everyone else will then join since Harvard students are so cool.
Dropbox - we are going to build a file sharing and syncing solution when the market has a dozen of them that no one uses, supported by big companies like Microsoft. It will only do one thing well, and you’ll have to move all of your content to use it.
PayPal - people will use their insecure AOL and Yahoo email addresses to pay each other real money, backed by a non-bank with a cute name run by 20-somethings.
“Wealthfront Engineering: Reactive.js: Functional Reactive Programming in Javascript” http://feedly.com/k/10KfZk5
When you look at the sample codes, imagine what you’d do without the reactive.js. Global variables? A simple class, prototype in this case perhaps? Or you want some more permanent handy tools, so you start thinking about building your own library? Boom! There you see the reactive.js
Err…. just couldn’t help wondering what would happen if I put all of those things hanging around in my head awhile ago together, so I made a small experiment. One of those things were causing certain trouble to the project I was working on, the others were just suspects or included for the sake of chaos…
FLASHBACK: This Was The Internet In 1995
Computer Chronicles - The Internet (1995) (by TheCanadianToast)
He uses this program, called “An Archie.” It shows computers around the world that have software archives.
This is what a search result page looks like. Look! Files from Germany, Virginia and California!
“famous Pizza Hut homepage on the Web.”
General patterns, jQuery patterns, jQuery plugin patterns, Literals and constructor patterns, Function patterns, Object creation patterns, Code reuse patterns, Design patterns.
I’ve already used some of them, but some others are just simply ignored because I’m eager to move on while coding. I also find some patterns refreshing or controversial. Either way, reading through the list is like communicating with people through codes and exchanging the logic. It’s something enjoyable for me.
carnotaurus:
decodering:
LayerVault sends DMCA takedown letter to github over Flat UI
This isn’t usually the kind of post I make here, but as Flat UI proved popular, I thought this would be of interest.
I can see the similarities to LayerVault, but it’s hard to imagine that this takedown has any real merit, unless there’s more to the story.
(via HN)
Excellent! A fightback!
ha, now I get how popular the Flat UI is!
(via carnotaurus)
Upon this first, and in one sense this sole, rule of reason, that in order to learn you must desire to learn, and in so desiring not be satisfied with what you already incline to think, there follows one corollary which itself deserves to be inscribed upon every wall of the city of philosophy: Do not block the way of inquiry.
- Charles Sanders Peirce, “First Rule of Logic”
Eerily I came across an interesting presentation, “Faith, Evolution, and Programming languages” by Philip Wadler, I didn’t understand all the the issues he brought up in the beginning, though that reminded me of one thing never changed in programming world was the passion for logic. It sounded weird to put “passion” and “logic” these two words side by side, but that made perfect sense when you thought about it was the people who had the passion to connect with or contribute to the world though logic built and participated in this programming world. In programming, there was no law but there had the logical dynamic. There was no one true entity or false entity, only the logical relations. The charm wasn’t to seek the final correct answer but to prove and create the new logic.
we have to stop advocating localStorage as a great opportunity for storing data as it performs badly. Sadly enough the alternatives are not nearly as supported or simple to implement.
Curious…does this kind of information belong to technology gossip? To be honest, I never give too much thoughts about the existence of technology gossip until now. I’m not completely convinced by the claim, and I can’t dig up much information to back the claim up either. I’d assume just like the nature of gossip, this claim also has some truths in it but not enough to be used for any fair judgement.
LocalStorage’s synchronous character is real, though I don’t see whether we really need to kill it. Before seeing it occur in real world application myself, I also doubt this issue will apply to most of the scenarios, not when using it for storing key and value pairs. Go an try the IndexdDB? Sure. For now, for the actual project, I’m heading toward LocalStorage.