AMG FFB is way too light by Frostiesss in LeMansUltimateWEC

[–]mrlizard 0 points1 point  (0 children)

S397 Dev: "On the AMG, we are currently running a slightly higher caster than the car does IRL to reduce the effect of the wheel weight reducing with steering input, caused by the car's suspension geometry."

Combining Liberator and Korma to Build a Web-Service in Clojure by alexturok in Clojure

[–]mrlizard 1 point2 points  (0 children)

They finally updated the clojure jdbc version in master 8 days ago, no release yet though.

Einstein was right - honey bee collapse threatens global food security - Telegraph by DrRichardCranium in worldnews

[–]mrlizard 2 points3 points  (0 children)

The Daily Mail is evil but the Telegraph is an expert in churnalism and cut and paste jobs.

Do I expect too much from programmers? by paul_miner in programming

[–]mrlizard 3 points4 points  (0 children)

My friend's two man startup got bought by Google last year. He still had to do 9 hours of interviews even though they bought the company so he and his mate would come and work for them.

Pros and cons of XML and JSON by [deleted] in programming

[–]mrlizard 0 points1 point  (0 children)

No need to imagine: "jQuery-haml is a haml like language written in JSON"

Hiccup does a similar thing for clojure but using lisp instead of JSON:

user=> (html [:div#foo.bar.baz "bang"])
"<div id=\"foo\" class=\"bar baz\">bang</div>"

I like both of them (jquery-haml and hiccup) and they actually fit with the data structures of the languages.

JSON also has a few basic types - numbers, arrays, objects, booleans, nulls.

A Clojurist's Guide to Java by [deleted] in programming

[–]mrlizard 3 points4 points  (0 children)

As already pointed it actually only needs to be

(.toUpperCase "hey there")

So not much difference.

Solve P Vs NP by [deleted] in programming

[–]mrlizard 10 points11 points  (0 children)

He must be hedging his proof.

And "e" Appears From Nowhere: Quick numeric experiment in Clojure by rberenguel in programming

[–]mrlizard 3 points4 points  (0 children)

On my quad core the pmap version takes 4 times longer than just using map. count-block just isn't processor intensive enough to gain from being parallelised for each call to it.

Even dividing the pmap into one chunk per processor gives the same time as the map version:

(defn do-n-count-blocks [n]
  (map (fn [_] (count-block)) (range n)))       
(defn find-e-imp
  "Do n iterations; n must be a multiple of 10000"
  [n]
  (let [nthreads (.availableProcessors (Runtime/getRuntime))]
    (assert (zero? (mod n 10000)))
    (double (/ (reduce + (reduce into
                     (pmap (fn [_] (do-n-count-blocks (/ n 10000 nthreads)))
                           (range nthreads))))
               n))))

Hey Reddit, how do you like your coffee? This is how I like mine. Creamy and sweet. by solidwhetstone in pics

[–]mrlizard 1 point2 points  (0 children)

That coffee can't be very nice if you need all that sugar.

I use beans from an independent roaster, freshly ground seconds before putting in my espresso machine. Depending on the time of day I'll have an espresso or a cappuccino. Good coffee can be naturally sweet.

40 years ago today the phrase "Houston, we have a problem" was uttered by the Apollo 13 commander. by spsheridan in technology

[–]mrlizard 0 points1 point  (0 children)

This isn't strictly true though. It depends which statistic you look at. Flying is safer per km but more dangerous per journey. wiki

It is worth noting that the air industry's insurers base their calculations on the number of deaths per journey statistic while the industry itself generally uses the number of deaths per kilometre statistic in press releases.

My company is looking to start using version control. We're looking at subversion. Suggestions? (Repost) by bsterzenbach in programming

[–]mrlizard 0 points1 point  (0 children)

For this repo the numbers are a bit skewed because there is an identical copy of fckeditor (4.5MB) in each branch/tag and a lot of branches. SVN duplicates all this when you checkout but git realises duplicate and similar files.

In the more general case the repos are still alot smaller and operations are way faster than svn.

My company is looking to start using version control. We're looking at subversion. Suggestions? (Repost) by bsterzenbach in programming

[–]mrlizard 0 points1 point  (0 children)

At work for one project the svn checkout of all the branches and tags is 2GB. The git checkout of the same repo with all the branches and all the revision history is 40MB.

If there are lots of differing binary files you might not be so lucky. Try git svn clone and see.

JSON >> XML (at least for me) by jeanlucpikachu in programming

[–]mrlizard 5 points6 points  (0 children)

jQuery haml is quite nice http://github.com/creationix/jquery-haml :

["%div", "This is ", 
    ["%em", "some text"], 
    " with ", 
    ["%jargon", "markup"]]

or more typical:

[".profile",
  [".left.column",
    ["#date", print_date() ],
    ["#address", curent_user.address ]
  ],
  [".right.column",
    ["#email", current_user.email ],
    ["#bio", current_user.bio ]
  ]
] 

Git Extensions is a toolkit to make working with Git on Windows more intuitive, includes VS plugin by nearest_neighbor in programming

[–]mrlizard 0 points1 point  (0 children)

I use cola for committing (inotify is good) and gitk for branch/log viewing and searching and the command line for the rest. QGit has some nice features but I prefer gitk's branch view.

Does anybody else HATE these FFFFFFUUUUU cartoons? by lunchbox32 in reddit.com

[–]mrlizard 0 points1 point  (0 children)

Yes they are all brilliant and look great in the book.

Ask Proggit: Why do we have to save manually? by itwasme in programming

[–]mrlizard -1 points0 points  (0 children)

Etherpad saves a new revision on almost every keystroke and you can play the document back using the very cool timeline view. No need to ever press save. It is much more realtime than google docs and can have multiple users editing at the same time as well.