← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 148
  1. Yesterday's code...

    Absolutely love this

  2. Intel Graphics Installer on Ubuntu 14.10

    So if you just downloaded the latest Intel Graphics Installer and just found that it doesn’t support Ubuntu 14.10.

  3. Updated power savings settings for Samsung Series 9 (NP900X3C-A05UK) and Ubuntu 14.10

    Here is my updated /etc/rc.localfor Ubuntu 14.10 #!

  4. Getting the generic signature of a Java 8 lambda

    Posted to StackOverflow This is currently possible to solve but only in a pretty hackie way, but let me first explain a few things: When you write a lambda, the compiler inserts a dynamic invoke instruction pointing to the LambdaMetafactory and a private…

  5. Where did I download that file from?

    Assuming you used Chrome and a modern Linux file system… $ attr -g xdg.origin.url Downloads/google-chrome-stable_current_x86_64.rpm Attribute "xdg.origin.url" had a 74 byte value for /home/dan/Downloads/google-chrome-stable_current_x86_64.rpm: https://dl…

  6. Compiling RunIt on Fedora 20

    I had dowloaded RunIt.

  7. Bash function to switch Java versions

    setjava() { if [ "$1" = "-q" ]; then local quiet=true shift fi local jdk=~/Applications/Java/jdk1.$1 if [ !

  8. How to "login to windows for first time" or change password from Linux

    smbpasswd -r YOUR.DOMAIN.COM -U YOUR_USERNAME This will mean you don’t need to find a windows box every time your password expires if you only use say Outlook webmail in a windows environment.

  9. How to list Active Directory controllers from Linux command line

    nslookup -type=srv _ldap.

  10. Error: Invalid or corrupt jarfile

    I was creating a Jar via the Java API’s and I couldn’t get it to run my main class: $ java -jar foo.jar Error: Invalid or corrupt jarfile foo.jar Running it via the class path worked fine: $ java -cp foo.jar Bar Hello world!

  11. Shortcuts to position screens on ultra wide screens

    left (Ctrl+Super+Left): wmctrl -r :ACTIVE: -e 0,0,0,1280,1032 right (Ctrl+Super+Right): wmctrl -r :ACTIVE: -e 0,1280,0,1280,1032

  12. Git Config

    My .gitconfig contains [user] email = dan@bodar.com name = Daniel Bodart [color] ui = true [alias] ci = commit co = checkout st = status -sb nuke = !

  13. Wat? Scala (Infix Operator Precedence and Associativity)

    Nat Pryce pointed out these gems: Scala Reference 6.12.3 Precedence: “The precedence of an infix operator is determined by the operator’s first character.”

  14. Wat? Scala

    As I got quoted recently in “Scala — 1★ Would Not Program Again” I though I finally should write up a little Wat moment we had recently: So does anyone know “wat” the following Scala code returns?

  15. Ubuntu 13.10 - Reset Gnome Panels

    dconf reset -f /org/gnome/gnome-panel/ killall gnome-panel

  16. Excel Integration the old school way: Web Queries (IQY) and Data Queries (DQY)

    An alternative approach to just doing CSV export (which is fast and more cross platform/app) is to use web queries (.iqy files that point to fairly HTML) or data queries (.dqy extension but point to the DB) Pro Supports refreshing data / live data model W…

  17. Ubuntu - Disable System Program Problem Detected

    echo 'enabled=0' | sudo tee /etc/default/apport

  18. Mercurial settings

    [extensions] hgext.bookmarks = rebase = hgext.purge = color = [ui] username = Daniel Worthington-Bodart <***@*****.com> [merge-tools] meld.executable = meld meld.args = $local $base $other -o $output [auth] google.prefix = code.google.com google.usern…

  19. Setting the Default Schema with Oracle JDBC Driver

    If you use C3PO you can make it do it when it checks the connection out.

  20. Why Functional Programming in Java is NOT Dangerous

    This is a quick post in response to Elliotte Rusty Harold article titled Why Functional Programming in Java is Dangerous.

  21. Samsung Series 9 (NP900X3C-A05UK) Ubuntu/Linux: Wake up when I open the lid

    So one of the last things that wasn’t perfectly working was coming out of suspend when I opened the lid.

  22. Samsung Series 9 (NP900X3C-A05UK) Ubuntu/Linux setup for power management and keybindings

    UPDATE: Ubuntu 14.10 settings Ubuntu 12.10 works pretty well out of the box (for me it was just power management and keybindings that needed work), see Ubuntu wiki if you have any other issues .

  23. Gnome 3 / GSettings Sucks: Export/Importing your Keyboard shortcuts

    Previous to Gnome 3 I had a nice simple flat file for my keyboard settings, that I just unzipped into .gconf and all was good.

  24. Blog Memory: Accessing Vigor 120 Modem when bridged with Buffalo WZR-HP-AG300H (DD-WRT)

    I found this article http://ip6.com/projects/?

  25. My Speakerconf 2012 slides

    http://presumptions.bodar.com/

  26. My QCon Video is available here

    http://www.infoq.com/presentations/Crazy-Fast-Build-Times-or-When-10-Seconds-Starts-to-Make-You-Nervous

  27. Meld and Mercurial 3 way Merge is Mental

    By default Meld’s 3 way merge combined with Mercurial merges into the left panel.

  28. My QCon talk...

    Prezi The original blog post / rant

  29. TotallyLazy mentioned in "Functional Programming for Java Developers" book

    In Chapter 6 “Where to go from here” on page 58 Dean references TotallyLazy for those not wanting to take the scala / clojure route.

  30. java.lang.ClassNotFoundException: org.apache.log4j.FileAppender

    Hopefully this will stop someone from wasting a day of their life… If you pass in the following when you start your Java application: java -Dlog4j.configuration=file:///some/path/log4j.properties And that file contains a class that is not on the class pa…

  31. Crazy fast build times (Or when 10 seconds starts to make you nervous)

    Firstly this is not just my effort but my team and organisation.

  32. 99 Bottles of Beer in Totallylazy

    import static com.googlecode.totallylazy.Runnables.printLine; import static com.googlecode.totallylazy.lambda.Lambdas.n; import static com.googlecode.totallylazy.lambda.Lambdas.λ; import static com.googlecode.totallylazy.numbers.Numbers.decrement; import…

  33. Slow TrackPoint on Dell Precision M6500 under Ubuntu 10.10

    If you have a Dell Precision M6500 with a Synaptic TouchPad + TrackPoint) (rather than an ALPS version) and you are running Ubuntu 10.10 you may find the TrackPoint / TrackStick / Nipple is being detected as a standard PS/2 Generic Mouse and this is causi…

  34. Off topic - a very addictive little game for Windows, Mac and Linux...

    http://www.hemispheregames.com/osmos/ Very chilled out…

  35. Crazy Talk - Holistic Web Testing - Some forces...

    So given the above, the forces I am trying to balance are Make it easy for people to do the right thing, hard to do the wrong thing.

  36. Crazy Talk - Holistic Web Testing - Whys and Values...

    Now for some web specific whys/values I do the in-memory acceptance testing… Semantic Html is my golden hammer Progressive enhancement is my swiss army knife I love JavaScript but try to never write any but if i must I make sure it’s generic.

  37. Crazy Talk - Holistic Web Testing - Some values...

    (Previously on TWSDEV) As the “crazy” guy behind the in-memory / out-of-container acceptance testing on a number of java/.net projects, I think it’s important I explain to people the “Why” and the forces / constraints I am trying to balance.

  38. A fan with no blades?

    Wow Dyson have done it again: http://www.dyson.co.uk/technology/airmultiplier.asp Interestingly they talk about the fact they had to do “Hundreds of iterative tests” to get the design right: http://www.dyson.co.uk/insidedyson/default.asp#Air_Mult_Tech_Dev

  39. The Crazy Talk Series - An introduction to an alternative web architecture and construction method

    If you have met me or worked with me in the last 15 years or so, you will know that I am pretty mad about the web as a platform, HTTP as a protocol and HTML as a state engine.

  40. Google Chromium Team rocks!

    So I noticed an issue with Google Chromium and it not updating the cached entry with new headers on a HTTP 304 response.

  41. Using a fullscreen editor to update my blog

    So after rediscovering the distraction free editors to write reports, it seemed mad not to use the same environment to update my blog.

  42. Fullscreen Editors

    So many moons ago I was reading about a fullscreen editor for Mac called WriteRoom.

  43. Html Contracts - How semantic html can help your cross functional team

    One of the pain points we see on web projects is the divide between client side and back end development.

  44. So how about truly private fields in C#?

    UPDATE: Jim pointed out that you can access the field via reflecting over the delegate.

  45. Truly private fields in JavaScript

    So I was chatting with Christian Blunden about JavaScript, and he asked if it was possible to have private fields in JavaScript.

  46. Pairing with Resharper (Switching Keyboard Layouts in Visual Studio)

    So at my current client we have a bunch of Devs that are fairly recent converts to Resharper and a bunch of old hats who know IntelliJ or have used Resharper since Version 1.

  47. Lean and the fishing industry

    This could be just verbal diarrhea, but I was watching Autum Watch last night and it struck me that the issues with over fishing and the fishing industry as a whole have a lot to do with all the waste inherent with manufacturing processes that use economi…

  48. The implicit back link

    A little while back I was chatting to someone about SEO and the power of outgoing links.

  49. Plaxo revisited

    So I got some helpful feedback on my last post from John McCrea who is VP of Marketing for Plaxo.

  50. Early morning rant...

    I’ve been an occasional user of Plaxo (just the address book) for the last 3 years, using it to keep a few important addresses up to date.