The big dispatcher switch in Flux is eerily reminiscent of how we used to program AWT widgets back in Java 1.0 days. This architecture was improved greatly in Java 1.1 with a delegation model. If the history is to repeat itself, as the OP so eloquent argues for, then, if you want to see where flux will be going in the next couple of years, start using knockout.js now and for once stay ahead of the curve.
That's why this was such an interesting story, battling prejudice and ancient folk wisdom is no simple task. Here's a typical Norwegian salmon farm http://i0.wp.com/blogg.seafood.no/wp-content/uploads/2013/02.... This is a sea-water farm and the fish is vaccinated early on and live a healthy antibiotics free life until they end up on your sushi (sour-tasting rice).
Open-net pen farmed salmon is done in the same water sources that wild salmon swim through. Farmed salmon have no natural predators so viruses are more readily transmitted to their wild counterparts. For more information: http://www.salmonconfidential.ca/
Amen. I'm originally from the west of Ireland and we used to sometimes get fresh wild salmon from a local river off a fisherman friend of the family. The taste difference was just amazing. The farmed stuff is liking eating plastic in comparison. The other thing that makes a huge difference in my experience is to have fish that's never been frozen (someone once told me the reason has to do with the crystallization process killing the taste, although I've no idea how that works).
> (someone once told me the reason has to do with the crystallization process killing the taste, although I've no idea how that works)
The crystallization process in this case means that the solid crystal formed by water freezing into ice ruptures all of the cell walls, releasing their contents. Once that happens the chemistry of the food can change drastically as enzymes and proteins that were once only active inside cells are now floating everywhere.
In the case of frozen salmon, the taste appears to come from some sort of enzymatic process involving fatty acids .
I know and the money is not the issue, it is the wasted time and trust. It is like getting a new iPhone with a broken glass. So, for one guy to feel good, 100K others (customers) now feel bad. And you know as well as me that only a small percentage will do the refund thing. So, yeah there is both harm and foul here.
Fraudulent chargebacks is bad, both economical and psychological. As an online seller it is part of life, but you want to keep it to a minimum, say < 1% of all transactions. I wholeheartedly support the sentiment of the OP, do not use Stripe nor do this in-house. Instead, use a payment provider with a proven fraud protection system, such as PayPal.
Ouch, I know that when you see someone has already created a product that you are working on you should take it as a validation of your idea and not become discouraged. However, seeing this I can't help feeling bad for the OP. The OP has a prototype, while this (seems) like a fully fledged and very slick product with all bases covered and it is even cheap.
On virtual memory systems, it is a safe bet that malloc will "never" fail to return a value. It is just good form to check the return value of system calls. If you program for embedded systems (e.g. Arduino) and bring over the bad habit of never checking malloc, you are going to be in for a surprise. I'm not sure, but I believe on iOS, malloc could fail on the device.
This so called "investigation" of the Facebook app can be done much simpler. Locate the app in iTunes, rename the .ipa file to .zip, unzip and run otool and nm on the binary. The author list 18,000 header files which is not much of an investigation nor much interesting. Though the staggering number of classes does admittingly somewhat explain the enormous size of the FB app. I do not use the FB app, but generally it can be equally illuminating to look in the Resources/ folder of an app if you wonder where the size came from.
The concentration technique (attention deconcentration) mentioned in the article sounds very interesting. Anyone know more or have tried it? Edit: Could be a useful technique when free-diving into a code base. Apropos diving, another concept that comes from the diving world which I have found useful in Software Development is "incident pit" which can be useful as a perspective to post mortem failed projects and conversely for a PM to know about the danger signs.
I do this, but it forces me to drive slower, which isn't such a bad thing in the end. Feels like playing music a bit. You have to 'observe' the surroundings through a mental abstraction of many moving things and try to maintain an overall consistency between them all. We are ACID databases.
There are simple exercises to improve deconcentrations skills:
1) [Vision] Look at some point (try to avoid thinking about the point itself), then think about what you observe at top left corner, then (moving slowly, after 15-30 seconds) at top edge, top right corner, etc. When 360˚ are finished, start again but think about several parts of viewport at the same time. Then just try to relax and think about the WHOLE picture. It takes some time to achieve good results, but if you do this training several days you will see changes in your attention level – it's like you see nothing and everything at the same time and once something special (like mushroom or what you're looking for) arrives in your viewport – in this state of mind, you find it VERY fast, even if it's semi-hidden and is located on very periphery.
2) [Sounds] The same: relax and try to distinguish only one noise that is happening around you (like bird singing or smth). Then, after some time spent, proceed to the next noice (cars or wind or anything else). Then next and next. After several minutes you will wonder how many different sounds is around. Then try to relax more and combine all of them.
3) ["Internals", your body]. Try to concentrate only on one part of your body -- say, fingers on your left leg. Then on the right one. The upper, part of leg. Step by step, spending a dozen of seconds or so on one small part of your body, proceed upper. Dont forget to concentrate on inner body part, organs. Once all parts are done, relax more and observe entire body.
4) ["Externals", space]. Concentrate on what you have in front of you. Then behind you. On the left, on the right. Upper and lower. Imaging the building (or park or field or smth) where are you now. There is no need to see it, just imagine. Just reflect in your mind how it looks, feels. Then a block where your house is located (forest or county or smth), then your town/distrinct/city, then state/country and then - the Earth. Step by step imagine object with bigger volume. And don't stop -- Solar system and then Galaxy. Then relax and try to combine feeling ALL the objects surrounding you.
5) [Super-deconcentration] So, when you did all 4 exercises many times, spent many days practicing it – combine them. You have 4 dimensions: vision, sounds, your body and space around it (somebody would add smelling as well) – so you can do deconcentration in ALL of them achieving very special state of mind and body. It's interesting.
And this very thing helps you achieve better results in freediving. Or searching objects in wide areas.
That's what I've learned from Natalia Molchanova during her training courses.
The interesting part of it: once you achieve good results doing such techniques (first of all, #1 & #2 combined), you will be able to drive not slower as usually, but with better ability to notice any dangerous object.
I am adding this on to spark a simpler explnation from someone who is experienced with this.
An excerpt from her website talks about this, link found from wikipedia, http://molchanova.ru/en/article/attention-deconcentration-fr...
- "States close to AD can be achieved if person distributes attention on the field of vision periphery, i.e. focuses attention simultaneously on the regions above, below, on the left and on the right. Distribution of attention on the periphery requires voluntary efforts, since human visual apparatus is designed to detect objects in the central part of the vision field. There is useful deconcentration method when one imagines all objects are pictured on a transparent screen in front of him and concentrates attention only on the surface of the screen. This suspends spontaneous eye movements and focuses attention not on objects, but on fragments of vision field. If person performs the exercise correctly, his eyes do not “cling” to objects when he turns his head, but remain motionless relative to the head. This deconcentration type is called “planar deconcentration”. Further explanations can be found in Bakhtiyarov’s works."
> when one imagines all objects are pictured on a
> transparent screen in front of him and concentrates
> attention only on the surface of the screen
As they say it on the C2 wiki, IHaveThisAntiPattern.
I'm more distractible by peripheral visual stimulus than by noise. This is why I'm okay with working on small bullpens as long they give me three chest-height walls, but can't do any work on open plan offices where everything is on my line of sight when sitting down.
Awesome would be something outside the box or rather, outside the function scope. Of course, using longjmp is not much more novel today than using this approach which is tried and ugly. I find that a mix of classic return tests and longjmp in exceptional cases makes for the easiest error handling in C. David Hanson, among many others, has a much better set of awesome macros for exactly this; https://github.com/drh/cii/blob/master/include/except.h