Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
drderidder
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
211.
▲
by
drderidder
13y ago
It's not simply a code culture problem; there are tools like Programming Mess Detector, PHP Mess Detector, Findbugs etc that can quantifiably show just how crappy a lot of code is. See http://pmd.sourceforge.net/
212.
▲
by
drderidder
13y ago
When a programmer says "this code is crap" its not simply because all programmers think everyone else's code sucks. Tools like PMD, PHP Mess Detector, and Findbugs can measure code quality (against a number of useful metrics)
213.
▲
Programming Mess Detector
(pmd.sourceforge.net)
1 points
by
drderidder
13y ago
|
1 comments
214.
▲
by
drderidder
13y ago
As 1stamour suggested the whole function was pointless. Not a big deal by itself but if you have layers upon layers of this stuff, code quickly becomes a buggy, unmaintainable mess. There are some awesome static code analysis tools like PMD
215.
▲
by
drderidder
13y ago
There's a time and place for everything. Firefox and Mac OS X are examples of successful rewrites. I've had some positive experiences with re-writing certain things from scratch. Not to downplay the issues Joel raised back in 2000
216.
▲
by
drderidder
13y ago
Came across this one yesterday, slightly paraphrased: boolean updateMsg(boolean pPassed) { if (pPassed) { incrMsgCounter(); logger.info("Message sent"); } else { logger.info("Failed to send"
217.
▲
by
drderidder
13y ago
Dang, that programmer sure gets around! They did a stint on my team, too.
218.
▲
by
drderidder
13y ago
The US has outlawed encryption in the past, and tools they once touted as promoting democratic freedom in oppressive regimes are suddenly seen as evil, so you'd probably need to remove all signs of TrueCrypt on your laptop as well.
219.
▲
by
drderidder
13y ago
Not so much anymore. Scaling strategies are quickly becoming part of the required skill set for developers. And companies are expecting as much. Simplifying scalability through elegant abstractions, allowing developers to structure their da
220.
▲
by
drderidder
13y ago
I tend to agree the W3C is a bit pointy headed. Still, some kind of referee is needed to keep the browser-makers playing fair. Firefox's switch from RDF to JSON for bookmarks was anecdotal evidence that the RDF format was just too obtu
221.
▲
by
drderidder
13y ago
If Microsoft really believed they had a "clear right under the US Constitution to share more data" they would step up and do it. Suing for the right to exercise constitutional rights looks more like a cheap dog and pony show to ma
222.
▲
by
drderidder
13y ago
There's a lot of good software on SourceForge still. How long before SF starts holding it ransom? Sounds like a good time to fork your favourite SF-hosted code to another service as a backup.
223.
▲
by
drderidder
13y ago
How many Americans died fighting to protect their country's ideals of freedom? When I hear about the "War on Terror", the TSA, the NSA, police militarization, etc. I wonder... "Is this the freedom they died to save?"
224.
▲
by
drderidder
13y ago
Not the original point perhaps, but its come around to that. A couple years ago they settled on callbacks after a fairly active debate, as the least ambiguous option for continuation passing. As more people explore Node, callbacks are one l
225.
▲
by
drderidder
13y ago
Nobody is really under the illusion that Russia granted Snowden asylum because they're a shining example of democratic rights and freedom. Russia's poor record doesn't justify the US riding rough-shod over their own Constitut
226.
▲
IPhone hacked in 60 seconds
(zdnet.com)
2 points
by
drderidder
13y ago
|
0 comments
227.
▲
by
drderidder
13y ago
Unethical companies are doing a similar thing with temporary foreign workers in Canada. I want an app with an ethical rating system for companies so I can research easily and buy from companies that aren't jerks. Something based on env
228.
▲
by
drderidder
13y ago
This was written a few years ago but seemed relevant to recent events and the whole privacy / freedom / security conversation.
229.
▲
Your privacy is your freedom (2008)
(51elliot.blogspot.ca)
2 points
by
drderidder
13y ago
|
1 comments
230.
▲
by
drderidder
13y ago
The article was about the How more than the Why (ie. "How We Built eBay's First Node.JS Application). It would be interesting to know more about the pro/con debates, but it did a pretty good job of providing high level detail on their devel
231.
▲
by
drderidder
13y ago
Yeah, its tongue-in-cheek ... not to be taken seriously. More of a statement that people who're really unhappy about Opera could take action to promote an alternative.
232.
▲
BoycottOpera.JS
(github.com)
3 points
by
drderidder
13y ago
|
2 comments
233.
▲
by
drderidder
13y ago
BoycottOpera.JS :-) <script type="text/javascript"> if (navigator.userAgent.indexOf('Opera') !== -1) { alert("Hello Opera User! I encourage you to uninstall Opera and use Mozilla Firefox instead. Click OK to learn why.");
234.
▲
by
drderidder
14y ago
If you think hummingbird is strange, check out the notation system my former engineering prof came up with http://www.pianotheoryman.com - based on real-time systems engineering experience! I'm a classically trained pianist and an enginee
235.
▲
Testing REST with Selenium IDE
(51elliot.blogspot.com)
1 points
by
drderidder
14y ago
|
0 comments
236.
▲
by
drderidder
14y ago
I only skimmed the intro, but why bring back the problem that REST was trying to solve? It may not be strictly RESTful, but partial updates to JSON resources is simpler... properties specified get updated, properties not specified remain as
237.
▲
by
drderidder
14y ago
That's another way of phrasing the "if you have nothing to hide" argument. A simpler example of the link between privacy and democracy is that voting is private. There's a reason for that.
238.
▲
by
drderidder
14y ago
Privacy and democracy are inseparable. http://51elliot.blogspot.ca/2008/07/your-privacy-is-your-fre... "If your private thoughts were broadcast on a television screen above your head for everyone to see, its fair to say we'd all be more c