1,477 karma · joined Apr 9, 2008 (18y ago) · 342 submissions
comment 6y ago · link · parent
Add this to any diagram to get the effect you want,
skinparam handwritten true
skinparam monochrome true
Demo: https://tinyurl.com/ycdu7owacomment 9y ago · link · parent
comment 10y ago · link · parent
(I don't know anything about the rethinkdb situation, I'm just speaking generally here)
comment 10y ago · link · parent
I also do a lot of work in Angular and React (this year) and all the tooling, build, best practices change every couple of months.
A lot of people complain about Ember's learning curve, but the things you learn _stay relevant_. Personally I'd rather invest in that kind of knowledge than learning yet another arbitrary build system.
comment 12y ago · link · parent
[edit add refs] Joel's Bill interview - http://www.joelonsoftware.com/items/2006/06/16.html
Pancake problem - http://archive.today/20120916031916/http://www.npr.org/templ...
comment 13y ago · link · parent
Getting started with plugins enabled makes it hard to understand where vim stops and plugins begin and make switching to a different (someone else's) vim setup confusing at best.
It also tends to feed the 'make it work like the last editor I used' syndrome, which is completely counter-productive.
Otherwise, nice work and good job open-sourcing it!
comment 13y ago · link · parent
comment 14y ago · link · parent
[Edit - didn't notice this was a 2004 article]
comment 15y ago · link · parent
The domain is owned by ICANN and has no MX record. Where the mail goes depends on your site-local MTA configuration. On the public internet it goes (or should go) nowhere and bounce back immediately with an appropriate status code from your provider's MTA.
comment 15y ago · link · parent
I think you both imagine that transfusions are 1 on 1. (1 donor, 1 recipient). In this case, the numbers you present kind-of work out. And sure, a risk of HIV (or whatever) infection versus certain death is worth it in any scenario. (Especially now that HIV/AIDS is chronic and treatable rather than terminal).
Many scenarios involve heavy blood loss and require more than what is normally given by a donor in a single donation. This means drawing on the pool of available blood, so multiple donations will be used of the same type, but they won't be from the same donor.
This raises the risk of transfusing infected blood significantly which is one of the reasons that the screening for blood donation harshly excludes anyone who fits in one or more higher risk groups.
I'm a donor and where I live you can't donate blood if you've received blood (inter-species tissue exchange), lived in UK in the 90s (mad cow disease risk), were born in sub-Saharan Africa (HIV risk) and a couple of others. This includes ever having had male/male sex (very high risk group). Ever been paid for sex? Out. Ever exchanged drugs for sex? Out. The list goes on and on.
The 'in the last 12 months' items are again a form of risk management (they include new partners, tattoos, piercings, infections, illness, surgery, travel to risk countries, etc).
All blood gets tested and though false negatives are still possible, most infections are statistically close enough to 100% detectable after 6 months.
Where I live it's also illegal to sell parts of your body (which includes your blood). The idea behind that is that legalizing this would create a predatory market between people with money and those on the bottom rung of the ladder (poor, addicted, high-risk, all of the above). That's not a hard sell, but it also acts as a filter in the blood donation system. People who are most likely to sell blood are the people you don't want giving blood in the first place.
A detail in my country is that the donation forms don't ask about your sexual orientation, which is irrelevant. If you identify as homosexual (male/male or female/female) but have never had male/male sex, you're good to go.
Blood donation is a region where you're just harshly subjected to selection based on statistics which place you in one risk group or another. Discrimination doesn't factor into it.
comment 15y ago · link · parent
My main gripe is that some of the extensions (NoScript, Firebug and friends) sometimes break things, hog the CPU in one way or another or just plain eat up the heap.
I am fine with this. These are extensions, after all and it's for dev stuff, which I judge by a slightly different standard than 'normal user' stuff.
The latest FF releases especially make me happy because they're adding modern web features and working on UX and performance. And it shows and feels.
I don't care about bookmarks because I don't bother storing those in the browser anymore. Was the choice for storing 'stuff' in SQLite a good one? Yes of course it was. It's the best cross-platform way to store structured data on disk, which is why everybody and his/her dog has made the same choice. Are there inefficient ways in which it is being used? Maybe. Probably? I haven't looked into this, but this is hardly an insurmountable problem.
Sure it felt like FF was lagging behind once the WebKit browsers started coming out (with better JS engines) but the Mozilla Team is back in the game with its new release cycles and updates.
And this makes me very happy.
comment 15y ago · link · parent
XCode feels like a GUI for GCC, which it is. It's a whole pile of flags that you can set, tweak, etc. If you don't have some GCC experience, this is a bit of a hurdle. Project settings sometimes break (especially around code-signing), so keep your text editor handy. When things break the error messages can be cryptic and there's usually no 'double-click to get to the error in the IDE'. Obj-C is obviously C, but it's also obviously not and also not syntactically similar to, say, C# or Java (or Ruby, JavaScript, Python, etc). I found the step to Obj-C to be fairly trivial, but I thank time spent with C, GCC and Makefiles for that.
After this it's mostly the same as anything else - which is diving into massive amounts of APIs and best-practices.
iphoneos-simulator is brilliant. Much, much better to work with than Android simulators (mostly because of the insanely faster startup time and the ability to change hardware on the fly). Another brilliant piece to find was Instruments, which is an Apple GUI for DTrace. Profiling and tracing execution on simulators and devices is a breeze.
I think memory management is a bit of a non-issue and I'm surprised that's even being brought up. That many programmers only know one language / IDE and judge everything else as inferior/bad/etc is a reasonable observation (if not a totally obvious one), but that's not going to change anytime soon.
TL;DR
- XCode has warts
- Obj-C is different than Java/C#
- Errors can be a pain
- iphoneos-simulator is brilliant
- Instruments is fantastic
- Easy to pick up if you're familiar with GCCcomment 15y ago · link · parent
If you read a bit deeper into their announcements you'll notice that this is not just 'the government taking over'. The breach post-mortem was handled by a private sector security company (Fox IT) and the SSL cert management was moved to another private sector firm (Getronics). Judging by the announcements this was overseen by the Ministry of Security and Justice, which has its own well-funded divisions of security specialists.
The Dutch government sees digital infrastructure as crucial and invests a lot of time and money into it. Components such as PKI government, etc are initiated by the government but then sourced to the private sector (a fairly common practice). This allows the government to revoke contracts or otherwise intervene if the contractor is in breach of something (bad management, bad governance, failure to comply with security standards, failing audits, etc). I'm guessing that this is also the legal basis for taking over operations from DigiNotar at such short notice.
Also, the Dutch government is a world-class player in the eavesdropping, interception, wiretapping and traffic monitoring game. That implies at least a basic in-house competency in network and crypto matters.
comment 15y ago · link · parent
Just a random observation, but having philosophers with an educational background teaching kindergarten is probably not such a bad thing.
comment 15y ago · link · parent
There are any number of indications for making such an observation.
- Multiple different 'Rails best practices'
Rails has changed a lot since version 1.0, but most of the 1.0 stuff still works. People usually learn Rails by reading blog posts and then trying out what they read. As they write code, read more, etc their perception of what the 'best practice' is changes and so does the new code that they write. This makes a mess of things. Experienced programmers will set a 'best practice' for the entire codebase and if that changes for whatever reason will refactor the entire codebase to match the new standard. This is pretty trivial in Rails simply because the codebase of even huge Rails apps is still pretty small.
- Lack of tests
A lack of tests is considered a sin in the Ruby world, but it happens all the time. Embracing testing, I think, is something that comes with time because if you're new you simply don't see the value of it. Lack of testing is bad, but there are also variations on this rampant in the Rails world. Different test frameworks in a single project (I call this the 'follow-the-shiny-new-trend' problem) or simply boilerplate tests that don't really tell you anything other than, yes, this ActiveRecord object without callbacks can be committed to the DB.
- Breaking MVC
This drives me nuts. Doing Model work in the Model except for over here where I do it in the View for whatever reason. This is a clear sign that the programmer doesn't have a good mental model of what's going on and why this is a really bad idea.
- AJAX
Rails embraced JavaScript very early on and is a very fine framework for doing AJAX in. However, doing AJAX is a completely different skillset and most programmers don't have it. Most projects just seem to have various widgets floating around that don't share a common coding or state system. That makes them hard to unify and also means there's a lot of arbitrary XHR calls going into the Rails app (for which there are often 'special case' Controller methods, which don't share a lot of logic with anything else)
- Inconsistent use of the Rails API
This ties into the 'best practices' point, the Rails API is by now pretty big and you have to take the time to study it. New programmers don't usually do this because they don't have a background in programming in frameworks and resort to trial-and-error programming ('hey this works here, let's move on'). Which, BTW, is something that Rails makes very easy.
There are plenty of other things (terrible SQL, custom Ruby code with magic, arbitrary plugins, etc) but those are usually pretty easy to isolate and fix.
The good news is that Rails codebases are generally pretty easy to fix incrementally. Write up a coding standard, start writing useful tests and pick a test framework (really, RSpec is fine) and work from there.
Hard points to manage (which should be obvious and not Rails-specific),
- If you're fixing an app that is under active development you have a lot of coordination to do
- This is easier if you can work on-site
- It's a lot easier if the dev team is small
Rails is a really nice framework and a lot of people are getting a lot of productivity out of it. It's easy to look down on shoddy code and say that from your years of coding experience on the front lines you could do a better job, but that's not how experience is built. If you're reading this you've probably written some pretty horrendous code earlier on. Look at it this way : if a startup can hire an outside consultant to clean up their code and teach them some lessons, then what they had before you came in was apparently enough to get them off the ground and their programmers learned a lot in the process.That's a good thing, right?
comment 15y ago · link · parent
> [...] they accidentally infringe on a patent
I hate to break it to you, but chances are that you infringe on hundreds, if not more, patents in the US. Nobody can tell you what or even how many patents you infringe on, though. Nobody has read all the patents and every single one is subject to interpretation. An interpretation, I might add, that has to be validated by a legal system that really doesn't care about correctness, technical validation or even fairness.Patents in the software industry were historically held for defensive purposes. If you get large enough you start building a patent portfolio so other companies can't sue you because you'll sue them back. Everybody infringes on everybody else's absurd patents so suing is a Mutually Assured Destruction scenario (neither party wins and the lawyers take all the money that you could have invested in something worthwhile).
Companies like Lodsys and Intellectual Ventures are different. They only have patents and they have no product. So if they sue you for patent infringement you can't sue back even if you have patents because they don't have a product and by definition can't infringe on your patents (if you have them).
Patent fights between corporations are ugly enough, but are generally on a more-or-less level playing field. They happen in the courts between very well funded armies of lawyers.
Suits between, say, Lodsys (money + patents + lawyers + no product) and independent developers (no money + no patents + no lawyers + product) are so vastly uneven and unfair that most developers will just give up before this ever comes before a court. Even if you want to do it on principle it'll bankrupt your life. Just giving up and finding safer markets with (maybe) lower profit margins seems like the obvious way to go for anybody.
comment 15y ago · link · parent