Category: Computer

  • The Math That Predates Pythagoras — and Still Outperforms Your Calculator

    Somewhere in Columbia University’s rare book library, a clay tablet has been sitting largely misunderstood for nearly a century. It is small enough to hold in one hand. Its edges are chipped, one corner missing entirely. It was made in Babylon around 1800 BCE — roughly 3,800 years ago. And according to a 2017 paper published in Historia Mathematica, it contains a trigonometric system that is, in at least one specific way, more mathematically accurate than the one we use today.

    Its name is Plimpton 322. And it is only one of approximately 500,000 cuneiform tablets still waiting to be read.


    Writing in Wedges: What Cuneiform Actually Is

    Before we get to the mathematics, it is worth understanding why these tablets took so long to decode. Cuneiform — from the Latin cuneus, meaning wedge — is not a language. It is a writing system. Over 1,000 distinct characters, each pressed into soft clay with a sharpened reed, each changing appearance across centuries, across cities, and across individual scribes. The same symbol in Nippur looks different from the one written in Babylon five hundred years later.

    Today, fewer people can read cuneiform than can fly a commercial aircraft. A writing system spoken by millions for thousands of years, readable now by a few hundred specialists worldwide.

    In March 2025, a team from Cornell University announced an AI system — ProtoSnap — capable of reading them all. It uses a diffusion model (the same architecture behind modern AI image generation) to overlay character prototypes onto damaged clay, aligning pixel-by-pixel, then performing optical character recognition on the result. Tested on rare, damaged, previously unidentifiable characters, it outperformed every prior method. The goal stated publicly: increase accessible ancient knowledge by a factor of ten.

    There are 500,000 tablets. The machine is running. (See the Spacialize video that prompted this article.)


    Plimpton 322: The Trigonometry That Shouldn’t Exist

    The tablet was acquired by New York publisher George Arthur Plimpton in the 1920s and donated to Columbia upon his death. For decades, researchers knew it contained Pythagorean triples — sets of whole numbers satisfying a² + b² = c². Interesting, but not earthshaking.

    Then in 2017, Dr. Daniel Mansfield and Professor Norman Wildberger of the University of New South Wales ran the full analysis. What they found changed the framing entirely.

    Plimpton 322 is not simply a list of Pythagorean triples. It is a systematic trigonometric table — 15 rows covering a range of angles in roughly 1-degree increments, each row describing the shape of a right-angle triangle using exact ratios of its sides. It predates Hipparchus, long credited as the father of trigonometry, by over a millennium. And it predates Pythagoras — whose theorem it implies — by 1,200 years.

    Mansfield’s conclusion, stated without hedging: Plimpton 322 is “the only completely accurate trigonometric table in existence.”

    Not accurate for its time. Completely accurate.

    It is worth noting that Mansfield’s interpretation is not universally accepted — a sceptical analysis in Scientific American argues the claim is overstated. But even critics acknowledge the tablet contains real and sophisticated mathematics. The argument is about degree, not kind.


    Why Base-60 Beats Base-10: The Arithmetic Behind the Claim

    To understand why, you need to understand what the Babylonians were doing differently at the number system level.

    We use base-10 (decimal): digits 0–9, each column worth ten times the one to its right. The Babylonians used base-60 (sexagesimal): each positional column worth sixty times the one to its right. Same positional principle — but with a crucial consequence.

    A number system can only represent fractions exactly when the denominator’s prime factors are all present in the base.

    • Base-10’s prime factors: 2 and 5. So 1/2 = 0.5 ✓, 1/4 = 0.25 ✓ — but 1/3 = 0.3333… (infinite), 1/6 = 0.1666… (infinite), 1/7 = 0.142857… (infinite).
    • Base-60’s prime factors: 2, 3, and 5. Its divisors include 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, and 60.

    In sexagesimal notation (using semicolons to separate the integer from fractional parts, commas between fractional digits):

    • 1/3 = 0;20   (20/60 = exactly 1/3) ✓
    • 1/4 = 0;15 ✓
    • 1/6 = 0;10 ✓
    • 1/9 = 0;6,40 ✓
    • 1/12 = 0;5 ✓

    Every calculation our modern trigonometry makes in base-10 carries a small inherited rounding error. Ratios that should be clean fractions become infinite decimal expansions, which computers truncate at some precision boundary. The Babylonian system avoided this entire class of error — not by being more sophisticated, but by choosing a base with more divisors.

    We preserved their system without realising it. Every time you divide an hour into 60 minutes and 3,600 seconds — every time you measure an angle in degrees, arcminutes, and arcseconds — you are using sexagesimal arithmetic. The Babylonians are still in your GPS.


    Implementing Sexagesimal: Exact Arithmetic in Practice

    The Babylonian approach was also conceptually different from ours. Rather than working with angles and circular functions (sine, cosine, tangent), they worked directly with ratios of triangle side lengths, expressed as exact sexagesimal fractions. Ratio-based trigonometry: no π, no infinite series, no irrational approximations needed.

    The key insight is elegant: when a right triangle has integer side lengths (a Pythagorean triple), all its trigonometric ratios are rational numbers. Rational numbers can always be expressed exactly — and base-60, with its divisor-rich structure, handles the most common ones with no fractional remainder at all.

    Here is a minimal Python implementation that reproduces the Babylonian logic using exact rational arithmetic:

    from fractions import Fraction
    
    def to_sexagesimal(f, places=4):
        """Convert a Fraction to sexagesimal notation list."""
        result = []
        integer_part = int(f)
        result.append(integer_part)
        remainder = f - integer_part
        for _ in range(places):
            remainder *= 60
            digit = int(remainder)
            result.append(digit)
            remainder -= digit
            if remainder == 0:
                break
        return result
    
    def babylonian_trig(a, b, c):
        """
        Compute exact trig ratios for a right triangle with sides a, b, c.
        c is the hypotenuse. Returns exact Fractions — no rounding, ever.
        """
        a, b, c = Fraction(a), Fraction(b), Fraction(c)
        return {
            'sin': a / c,
            'cos': b / c,
            'tan': a / b,
            'sin_sex': to_sexagesimal(a / c),
            'cos_sex': to_sexagesimal(b / c),
        }
    
    # The classic 3-4-5 triple
    print(babylonian_trig(3, 4, 5))
    # sin = 3/5 exactly. cos = 4/5 exactly.
    # In sexagesimal: sin = [0, 36] — i.e. 36/60. Terminates perfectly.
    
    # A Plimpton 322 entry (first row, scaled)
    print(babylonian_trig(120, 119, 169))
    # sin = 120/169 — exact, with no floating-point error whatsoever.
    

    Python’s Fraction class does exactly what base-60 did in clay: it maintains exact rational arithmetic throughout. The modern float expression 0.1 + 0.2 famously returns 0.30000000000000004. A Fraction-based equivalent returns exactly 3/10. For trigonometric ratios derived from integer triples — the Plimpton 322 approach — results are always exact.

    Mansfield explicitly noted this has direct relevance for computer graphics, engineering, and surveying — any domain where rounding errors compound across thousands of sequential calculations. For certain geometric problem classes, the Babylonian approach is not a historical curiosity. It is simply the right tool.


    The Astronomer With a Reed and Wet Clay

    The mathematics is striking, but perhaps the most viscerally impressive demonstration of Babylonian precision is not numerical. It is observational.

    British Museum artifact K8538 — the Planosphere — records a Sumerian astronomer describing an object approaching Earth before dawn. He notes its angle against the background stars. The observation is dated to June 29, 3123 BCE. Bristol University astrophysicists fed those angular measurements into modern computer simulation. The trajectory matched a confirmed geological impact event in the Austrian Alps — at a precision of less than one degree of error.

    The Very Large Telescope in Chile achieves comparable angular precision using adaptive optics, laser guide stars, and real-time atmospheric correction. This Sumerian astronomer had a reed and wet clay. The Bristol team, in peer-reviewed astrophysics, concluded that the observation represents a level of precision their models of ancient technological capability cannot account for.


    The Archive Nobody Is Talking About

    Five hundred thousand tablets. One AI system that can now read them all. From the institutions sitting on these collections — Yale’s Babylonian collection, the Oriental Institute in Chicago, the Istanbul Archaeological Museums, the British Museum — no coordinated statement, no public timeline.

    When the James Webb telescope captures a new image, there is a coordinated press conference within hours. When AI cracks a protein structure, the global scientific community responds within weeks. The silence around cuneiform is of a different quality.

    What is already established, from tablets decoded long before any AI was involved, is remarkable enough. A trigonometric system 1,200 years older than Pythagoras. An asteroid observation precise to under one degree, made with the naked eye. A mythological language that encoded meaning structurally into its alphabet — the cuneiform sign for fox is identical to the words for lie, treacherous, and falsehood. You cannot write the animal without simultaneously writing the concept.

    The oldest known trickster character in human literature — 4,400 years old, predating Loki, Coyote, and Hermes — decoded in 2025 from a tablet that had sat unread in Istanbul since the 19th century.

    There are 499,999 tablets remaining.


    Sources & Further Reading

  • MCP WordPress Server: Manage WordPress with Natural Language Commands

    Managing WordPress through natural language is now a reality. MCP WordPress Server brings 59 powerful tools directly into Claude Desktop, transforming how we interact with WordPress.

    Two-Minute Setup

    npx -y mcp-wordpress

    That’s it. Run the setup wizard, connect your WordPress site, and you’re ready. No installation, no complexity.

    What You Get

    59 tools covering everything you need:

    • Complete content management (posts, pages, media)
    • User and comment control
    • Categories and tags
    • Site settings and configuration
    • Performance monitoring with real-time metrics
    • Intelligent caching (50-70% performance boost)

    Just tell Claude what you want. It handles the rest.

    Built for Production

    • 95%+ test coverage
    • 100% TypeScript
    • Security-first design
    • Multi-site support
    • Zero breaking changes

    Beyond NPX

    Want even easier setup? DTX (Claude Desktop Extension) support is coming. Check out the GitHub repository for the latest updates and installation methods.

    Join the Movement

    This is open source at its best. If MCP WordPress Server saves you time (and it will), show your support:

    Let’s make WordPress management as simple as having a conversation.

    GitHub: github.com/docdyhr/mcp-wordpress

    ]]>

  • Claude Code and the Evolution of Agentic Coding: AI-Powered Development

    Meta Description: Explore how Claude Code and AI-assisted programming are revolutionizing developer experience. From punch cards to intelligent code completion, discover the evolution of programming interfaces and best practices for the future of software development.

    Claude Code & the Evolution of Agentic Coding

    The Evolution of Programming UX: How Claude Code Is Reshaping Developer Experience

    The world of programming has undergone a dramatic transformation, evolving from the era of physical punch cards to today’s sophisticated AI-assisted development environments. As programming languages begin to plateau, the user experience (UX) of programming is evolving exponentially, creating new opportunities and challenges for developers. This article explores the historical journey of programming interfaces, highlights the impact of AI tools like Claude Code, and provides insights into the future of software development.

    This guide is designed for developers, engineering teams, and anyone interested in the future of software development. We’ll delve into how AI is reshaping developer experience and what best practices can help you stay ahead.

    The Historical Journey of Programming Interfaces

    The evolution of programming interfaces is a story of continuous abstraction and increasing user-friendliness. From the earliest days of computing to the advent of modern IDEs, each step has aimed to make programming more accessible and efficient.

    From Hardware to Software (1930s-1970s)

    In the early days of computing, programming was a physical endeavor. Switchboards and punch cards were the primary means of interacting with computers. As Boris Cherny, the creator of Claude Code, notes, his grandfather was one of the first programmers in the Soviet Union, bringing stacks of punch cards home. These physical constraints shaped early programming paradigms, requiring a deep understanding of hardware.

    The emergence of assembly language and higher-level languages like COBOL marked a significant shift from hardware to software. This abstraction allowed programmers to focus on logic rather than the intricacies of machine code.

    The Text Editor Revolution (1970s-1990s)

    The introduction of text editors revolutionized the programming workflow. Ed, the first text editor, was a simple yet transformative tool. As Cherny points out, Ed lacked many features we take for granted today, such as a cursor or scrollback. Yet, it represented a significant step forward from punch cards.

    Vim and Emacs, which came later, brought more advanced features and customization options. These text editors transformed programming workflows, allowing developers to write and edit code more efficiently.

    The Graphical Revolution in Programming

    The advent of graphical user interfaces (GUIs) marked a turning point in the history of programming. GUIs made computing more accessible and intuitive, paving the way for modern development environments.

    Smalltalk-80: A Pioneering Achievement

    Smalltalk-80 was a pioneering object-oriented programming environment that introduced the first graphical interface for programming. Developed in the late 1970s, Smalltalk-80 featured overlapping windows, integrated development tools, and live coding capabilities.

    One of Smalltalk-80’s most remarkable features was its live reload capability, which allowed developers to see changes in real-time. This innovation was ahead of its time, as modern development environments still struggle to achieve the same level of seamlessness.

    The IDE Evolution (1991-2020)

    The introduction of Visual Basic in 1991 brought a graphical paradigm to mainstream programming. Visual Basic made it easier for developers to create applications with visual interfaces, opening up new possibilities for software development.

    Eclipse introduced type-ahead functionality, using static analysis to index symbols and provide intelligent code completion. This feature, along with Eclipse’s third-party ecosystem, transformed developer productivity. Modern IDEs provide features like syntax highlighting, code navigation, version control integration, and real-time error checking, all within a visually rich environment.

    The AI-Assisted Programming Era

    The rise of AI has ushered in a new era of programming, where AI tools augment and enhance developer capabilities. AI-assisted programming promises to make software development more efficient, accessible, and innovative.

    The GitHub Copilot Breakthrough

    GitHub Copilot marked a significant breakthrough in AI-assisted programming. By providing single-line and multi-line code completion, Copilot demonstrated the potential of AI to automate repetitive tasks and accelerate development workflows.

    Copilot’s impact lies in its ability to augment rather than replace developers. It assists with code generation, allowing developers to focus on higher-level tasks such as architecture and design.

    Claude Code’s Approach to AI Programming

    Claude Code takes a unique approach to AI programming, emphasizing simplicity, flexibility, and integration with existing developer tools. Its terminal-first, unopinionated design philosophy aims to provide developers with low-level access to AI models without imposing rigid workflows.

    Claude Code offers multiple interaction modes, including terminal, IDE, and GitHub integration. This flexibility allows developers to use Claude Code in a way that suits their individual preferences and workflows. As Cherny states, the goal is to get out of the way and let developers experience the power of AI models directly.

    Best Practices for AI-Assisted Development

    To maximize the benefits of AI-assisted development, it’s essential to adopt best practices for using tools like Claude Code. These practices focus on teaching the AI, leveraging plan mode, and using memory features effectively.

    Effective Use of Claude Code

    To effectively use Claude Code, consider the following tips:

    • Teach tools to the AI: Provide Claude Code with access to your existing tools and libraries. This allows the AI to leverage your existing infrastructure and workflows.
    • Leverage plan mode: Use plan mode to have Claude Code generate a plan before executing code. This allows you to review the AI’s proposed actions and provide feedback.
    • Use memory features effectively: Claude Code’s memory features allow you to store and recall information, enabling the AI to learn from past interactions.

    Test-Driven Development with AI

    AI can transform traditional test-driven development (TDD) practices. By writing tests before implementation and using AI assistance for iterative development, you can improve code quality and reduce bugs.

    • Write tests before implementation: Use Claude Code to generate unit tests based on your requirements.
    • Iterative development with AI assistance: Use Claude Code to generate code that passes your tests.
    • Verification and validation strategies: Use AI to verify and validate your code, ensuring that it meets your requirements.

    Future Trends and Implications

    The future of programming is intertwined with the exponential growth of AI capabilities. As AI models become more powerful, the challenge lies in building products that can leverage their full potential.

    The Exponential Growth of AI Capabilities

    AI models are improving at an exponential rate, outpacing the ability of product development to keep up. This creates a gap between what AI can do and what developers can achieve with existing tools.

    To prepare for future developments in AI-assisted programming, developers should focus on:

    • Multi-agent workflows: As AI becomes more capable, developers will need to manage multiple AI agents working in parallel.
    • Memory and context management: AI models will need to remember and understand context over long periods of time.
    • Integration with existing tools and practices: AI tools will need to integrate seamlessly with existing developer workflows.

    Conclusion

    The evolution of programming UX is a continuous journey, driven by technological innovation and a desire to make software development more accessible and efficient. AI-assisted programming represents the latest chapter in this evolution, promising to transform the way developers work.

    By embracing AI tools like Claude Code and adopting best practices for AI-assisted development, developers can unlock new levels of productivity and innovation. The future of programming is here, and it’s powered by AI.

    Keywords: Claude Code, AI Programming, Developer Experience, Programming UX, GitHub Copilot, IDE Evolution, Agentic Coding, Test-Driven Development, Software Development, Programming History, Boris Cherny, AI Tools, Code Automation, Developer Productivity, Programming Interfaces, AI-Assisted Development, Future of Programming

  • Simplenote MCP Server: Add Memory to Claude AI Assistant

    Simplenote MCP Server Logo
    Your AI Assistant Just Got Smarter!

    Ever wished Claude could remember that brilliant idea you discussed last Tuesday? Or access your project notes without copy-pasting walls of text? Well, grab your coffee ☕ because I’ve got something for you!

    The Problem: Claude’s Goldfish Memory 🐠

    We’ve all been there. You’re deep in conversation with Claude about your project architecture, close the chat, come back later, and… poof. Starting from scratch. Again. It’s like explaining your entire codebase to a new developer every. single. time.

    The Solution: Simplenote + MCP = 🚀

    The Simplenote MCP Server bridges Claude Desktop with your Simplenote account, turning your notes into Claude’s personal knowledge base. Think of it as giving Claude access to your second brain (without the embarrassing diary entries).

    Why You’ll Love It

    🔥 Hot Features:

    • Full CRUD operations – Create, read, update, and delete notes directly through Claude
    • Advanced search – Boolean operators, tag filters, date ranges (because grep is so last century)
    • Lightning fast – In-memory caching with background sync
    • Docker-ready – Because who has time for dependency hell?
    • Security first – Token auth, non-root containers, the works

    💡 Real Use Cases:

    "Claude, check my project-alpha notes for the API endpoints"
    "Add this function to my code-snippets note with tag:python"
    "Find all meeting notes from last week about the database migration"

    Get Started in 30 Seconds

    Option 1: Docker (The “I’ve Got Things To Do” Way)

    docker run -d \
      -e SIMPLENOTE_EMAIL=you@example.com \
      -e SIMPLENOTE_PASSWORD=your-password \
      -p 8000:8000 \
      docdyhr/simplenote-mcp-server:latest

    Option 2: Smithery (The “One-Click Wonder”)

    npx -y @smithery/cli install @docdyhr/simplenote-mcp-server --client claude

    Option 3: Traditional (The “I Like Control” Method)

    git clone https://github.com/docdyhr/simplenote-mcp-server.git
    cd simplenote-mcp-server
    pip install -e .

    The Tech Behind the Magic

    Built with the MCP Python SDK, this server implements the Model Context Protocol to give Claude superpowers. It’s production-ready with:

    • Multi-platform Docker images (ARM64 + AMD64)
    • Kubernetes Helm charts for the cloud natives
    • CI/CD pipelines that would make your DevOps team weep with joy
    • Security scanning, container signing, and all the enterprise goodies

    Join the Revolution

    Stop treating Claude like a goldfish. Give it the memory it deserves!

    Star the repo: github.com/docdyhr/simplenote-mcp-server
    Report issues: We fix bugs faster than you can say “memory leak”
    🤝 Contribute: PRs welcome! We have cookies (virtual ones)

    Ready to upgrade your Claude experience? Your future self will thank you when Claude remembers that obscure bash command you figured out three months ago.

    Happy coding! 🎉


    P.S. – Yes, it works with your 10,000 unorganized notes. I’ve tested it. Don’t ask how I know.

  • The Future of Freedom

    A Feature Interview with NSA Whistleblower William Binney

    Here you will find insights to the emergence of the global surveillance state!

    William E. Binney was a highly placed intelligence official with the United States National Security Agency (NSA) for more than 30 years.

    In this feature interview William Binney blows the whistle on NSA’s blatant wrong doings and disregard of US laws, the US constitution and international law. NSA apparently consistently lies to US congress about its doings. Absurdly NSA has their own secret interpretation of US data protection laws. NSA is according to William Binney in the process of building an empire based on curruption and secrecy.

    People forget about history. Freedom is an enemy of a totalitarian state. Surveillance of everbody is a prime feature of a totalitarian state. It is the PR of totalitarian state that surveillance of everybody is for the public good, but in fact is about control of the general public. People living in East Germany under the Stasi regime remembers the surveillance state. According to William Binney they know because they are now living in a post-fascist state, but importantly they are talking about the US as a pre-fascist state.

    Facts: NSA haven’t stopped a single terror attack on US soil with their collection of data. NSA have tap points on more or less all internet connections world wide. NSA capture daily meta and content data on hundred of millions of people in the US and Globally without any prof or indication of malice or wrong doings! Basicly no digital device, network or OS is secure now.

    If you blow the whistle on NSA, they will come after you with everything the have. And this includes framing people wrongly if needed!

    Nothing could be more wrong than the naive world view: “I have nothing to hide, so I have nothing to fear!”

    The idea of the surveillance state is grotesque and goes against the very foundation of a democracy. People everywhere should be informed and they should be marching in the streets to protest this. This is about the future of freedom!

  • Fight for Freedom on the Internet 2015

    For the People it is all about freedom. For the people in power it is all about control.

    Campaign #Fight4Internet2015 #ContraSurveillanceState #FreeInternet with #Tor and #OTR

    United Nations Declaration of Human Rights

    Article 12.
    • No one shall be subjected to arbitrary interference with his privacy, family, home or correspondence, nor to attacks upon his honour and reputation. Everyone has the right to the protection of the law against such interference or attacks.

    Article 19.
    • Everyone has the right to freedom of opinion and expression; this right includes freedom to hold opinions without interference and to seek, receive and impart information and ideas through any media and regardless of frontiers.

    Freedom online is not something you can take for granted – it is something you have to fight for in 2015!

    The current state of PRIVACY AND HUMAN RIGHTS on the Internet.

    You can reclaim your privacy, anonymity, and freedom of speech online with apps like:

    TorBrowser – browse anonymously everywhere on the web
    pidgin – chat anonymously
    Adium – chat anonymously (Mac)
    Anomos – download torrents anonymously

    Links:
    Tips, Tools and How-tos for Safer Online Communications eff.org
    The Guardian view on the freedom of the internet: it’s under attack around the world The Guardian, Thursday 11 December 2014
    Hubertus Knabe: The dark secrets of a surveillance state youtube.com ( about Stasi in DDR )
    Inside the NSA’s War on Internet Security Der Spiegel

    Reconstructing narratives – transparency in the service of justice 30. December 2014 by Jacob Appelbaum & Luara Poitras  Chaos Computer Club

     

  • Advanced Bash-Scripting Guide

    An in-depth exploration of the art of shell scripting

    Mendel Cooper

    This tutorial assumes no previous knowledge of scripting or programming, but progresses rapidly toward an intermediate/advanced level of instruction . . . all the while sneaking in little nuggets of UNIX® wisdom and lore. It serves as a textbook, a manual for self-study, and as a reference and source of knowledge on shell scripting techniques. The exercises and heavily-commented examples invite active reader participation, under the premise that the only way to really learn scripting is to write scripts.

    This book is suitable for classroom use as a general introduction to programming concepts.

    Advanced Bash-Scripting Guide dyhr.com
    Advanced Bash-Scripting Guide freecode.org (original)

  • My Mac OS X Desktop icon’s Disappeared

    Today suddenly all icon’s on my Mac OS X Desktop disappeared or went missing and showed only the default icons. When I opened the Console app and searched for the icon process I saw messages like this:

    24/11/13 13.36.30,122 com.apple.IconServicesAgent[262]: main Failed to composit image for binding VariantBinding [0x34b] flags: 0x8 binding: FileInfoBinding [0x253] - extension: jpg, UTI: public.jpeg, fileType: ????.

    Ahh…. it’s the  “com.apple.IconServicesAgent” who is the culprit.

    Well, I just removed the “Finder” preference file in my home folder and restarted Finder.

    $ rm ~/Library/Preferences/com.apple.finder.plist; sudo killall -v Finder

     

  • How to install Lubuntu Server on Cubietruck from Mac OS X

    This is how to install and set-up the latest Lubuntu software pack on to the NAND Flash on the Cubietruck  from a Mac OS X computer.

    mac_cubietruck

    Cubietruck

    The Cubietruck is a 5V 2A single-board computer “SBC” / PC on Board “PCB” – much like the Raspberry Pi that has taken the World with a craze – but the Cubietruck is just faster, better and stronger..  In realty Cubietruck is more like a real Mini PC.

    The Cubietruck is based on the dual core Cortex-A7 (912MHz each) ARM  Allwinner  CPU with 2 GB Ram. Cubietruck has 8 GB onboard bootable NAND flash memory and it is expandable with a micro sdcard up to 32GB. You can connect a monitor/TV via the VGA or HDMI interface. The Cubietruck comes equipped with both Wifi and Bluetooth, Gigabit Ethernet, 2 USB 2.0, 1 Micro USB, OTG, SPDIF, IR, and Headphone. You can easily add a and fit a 2.5 inch Hard Disk Drive to the Cubietruck out the box. Power:DC5V @ 2.5A with HDD and support Li-battery & Real Time Clock “RTC”.

    The Cubitruck was released for sale on the 31th. of October 2013 from cubieboard.org.

    Supported Operative Systems  “OS”:

    • Android
    • Fedora
    • Lubuntu
    • Lbuntu Server

    BTW: I look forward to an Arch Linux distro for Cubietruck ( you can check here: )!

    The Cubietruck comes with Android preinstalled on the NAND – and it works out the box. Cubietruck looks after a bootable OS on the Micro SDcard before it boots from the NAND flash memory.

    There are 3 different ways to install and run Lubuntu on the Cubietruck:

    1. NAND flash
    2. Micro SD card
    3. 2.5 HHD / SSD ( or a 3.5 HHD with an external power supply )

    1. NAND Installation of the Lubuntu Server

    You need this in advance:

    • A Mac running a newer version of OS X with access to the Internet. I am doing this from a MacBook Pro Retina running OS X version 10.9 Mavericks.
    • An assembled Cubietruck with incl. cables with 2.5 HHD
    • USB Power supply 5v 2/2.5A.
    • An ethernet Internet connection.

    Get the software

    Download and install the LiveSuit NAND installer in your app folder: LiveSuit_ForMac.zip

    Download the latest Lubuntu NAND image for Cubietruck: Cubietruck Lubuntu Desktop Releases or A20-Cubietruck Lubuntu Server Releases

    Connect the mini USB to your mac (mac only).

    Open LiveSuit and Select the downloaded Lubuntu NAND image (.img)

    Cubietruck_FEL_buttonEnter FEL Mode

    1. Press FEL key and hold it in
    2. Plug in mini usb cable to the Cubietruck and wait for the prompt
    3. Release FEL key

    Flash to Board

    When you see the prompt, you have entered FEL mode. Select Yes to continue.

    That’s it!

    2. Customizing

    Changing Boot Parameters

    # mount /dev/nanda /mnt
    # vi /mnt/uEnv.txt

    Change it as you want!

    # umount /mnt
    # sync
    # reboot

    Update Lubuntu Sever

    Normally its good practice to update and upgrade your system to the latest version.

    # apt-get update; apt-get upgrade
    # apt-get install python-apt

    NB! You need to install the python-apt package to use do-release-upgrade.

    # do-release-upgrade

    Modify System Files

    To change your local timezone, you need to edit the file /etc/timezone.

    # ls /usr/share/zoneinfo

    Ex.:  “Europe/Copenhagen”

    Remove your old timezone link and make a new one.

    # rm /etc/localtime

    You can now create a symlink to the appropriate timezone information.

    # ln -s /usr/share/zoneinfo/Europe/Copenhagen /etc/localtime

    Change timezone ex. “Europe/Copenhagen”.

    # nano /etc/timezone

    ( Use CTRL-x to exit, hit Y to save the file in nano. )

    Change hostname /etc/hostname and the hosts file /etc/hosts .

    # nano /etc/hostname
    cubietruck

    Change “Cubietruck” to the name you have in mind. I like cubietruck, so I keep it! 🙂

    Edit the /etc/hosts file to reflect the hostname.

    # nano /etc/hosts

    Modify the line of the file to read:

    127.0.0.1 localhost
    127.0.1.1 yourhostname

    If not already so replacing your hostname with the name you put in /etc/hostname.

    Mac OS X specific linux software & daemons

    In order for your Mac’s to automatically see and discover services on your Cubietruck it is convenient to install Apple’s zero conf network service “Bonjour” or “Rendezvous” and Netatalk AFP

    #apt-get install avahi-daemon

    You can verify the install of Bonjour on Cubietruck in your with ping on your Terminal App on your Mac OS X computer.

    # ping cubietruck.local

    If you want to connect you Cubietruck with Apple’s file service AFP “AppleTalk” so your Cubietruck automatically shows up in Finder, you need to install the open source version Netatalk.

    #apt-get install netatalk

    You will find the Netatalk config files in /etc/netatalk.

    Security

    Its good practice to change the root password straight away.

    NB! You should also remove the default user linaro and and disable ssh for root.

    # passwd

    Create a new regular user :

    # adduser

    Follow the prompts; use whatever username you’d like to log in. The next available UID is fine. Use the default users as the initial group.

    Add the user to the Super User Do list.

    Logout, and relogin as the regular user:

    # logout
    login: newuser
    password: yourpassword

    3. Moving Rootfs From Nandflash To Hard Drive

    Installation

    Prepeare the drive for rootfs

    Th drive must have a primary partition formated with filesystem “ext4”. You can use the Linaro user interface DISK app, gparted or use the following shell commands to partition your HDD.

    List all available drives:

    # fdisk -l

    Choose the drive you want to make changes to (e.g. sda):

    # fdisk /dev/sda

    Use “p” (print partition of a drive), “d” deletea partition or “n” (create new partition). The partition should be of type “83”.

    Format the partition for rootfs with EXT4 filesystem:

    # mkfs.ext4 /dev/sda1

    Copying Rootfs

    Assuming that /dev/sda is the hard drive we want to install.

    $ sudo su - root
    # dd if=/dev/nandb of=/dev/sda1 bs=1M

    Changing Boot Parameters

    $ sudo su - root
    # mount /dev/nanda /mnt
    # nano /mnt/uEnv.txt
    root@cubietruck:~
    console=tty0
    
    extraargs=console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1280x720p50 rootwait panic=10 rootfstype=ext4 rootflags=discard
    
    nand_root=/dev/nandb

    Change the contents of uEnv.txt  from “nand_root=/dev/nandb” to “nand_root=/dev/sda1“. And check the changes with cat command.

    # cat /mnt/uEnv.txt

    Unmount the partition.

    # umount /mnt

    Flush the file system buffers with sync.

    # sync
    # reboot

    That’s it!

    References:

    Cubieboard3: Cubietruck is all ready with links software etc. cubieboard.org
    LiveSuit Guide cubieboard.org
    Moving Rootfs From Nandflash To Hard Drive cubieboard.org
    Tutorials for Cubietruck cubieboard.org
    FAQ specs and faq’s cubieboard.org
    A20-Cubietruck specs from SUNXI
    Cubieforum for Q&A’s

    Linux:

    The Debian Administrator’s Handbook by Raphaël Hertzog and Roland Mas
    www.lubuntu.net
    www.ubuntu.com
    manpages.ubuntu.com
    How to use Logical Volume Manager (LVM) to grow etx4 file systems online techrepublic.com

    InstallingANewHardDrive – Installing a new HHD, help.ubuntu.com

  • The right to Privacy for All

    Open letter to the Police State and its supporters,

    The right to privacy is a basic human need – as is the right to mingle with others freely. This is at the very foundation of human life – and maybe life it self. I believe we call it it freedom in the human world.

    Imagine a world where privacy is no longer possible. Whatever you do, whatever you say, where ever you go, with whom you are together is recorded and stored centrally by a National Security Agency in a Police State.

    It is no longer possible to have a private conversation with a friend without the Police State listens in, record and store your conversation. And you even have to worry about friends backgrounds because your very association with them is on public record. Its no longer possible to help a friend, talk to your neighbor, do business in privacy because all is on public record.

    Your hobbies, interests, readings, private life and political views is recorded, analyzed and stored. Your eating habits, your consumption of unhealthy foods, alcohol and drugs are recorded. Your childhood, adolescence, adult life and family history now also belongs to the Police State. Even your sexual preference is on public record for safety reasons. Your medical record, health history and genetic make up belongs to the archives in the Police State. And all your private property and significant belongings is under constant surveillance by the National Security Agency.

    For public safety reasons in the Police State the National Security Agency pieces every imaginable sort of information it can collect about you together and fits it into a complete and auto updated profile on you. The Police State will hold such records for themselves on all citizens of the world.

    Just imagine this!

    Now realize that this scenario is very close to the reality we currently live in or at least realize that is a near likely future of the world.

    To be able to spy on all citizens in the world in all aspects without limitation of any kind is the aspiration, hopes and dreams of almost every National Security Agency all over the world!

    How can this kind of surveillance power only exist for the safety of the public when it belongs to the few in power?

    This is ‘not something I’m willing to live under’!

    I will rather live with uncertainty, insecurity and fear in a fragile democracy, than live in a certain, secure and peaceful surveillance Police State. I object to the idea of a Police State. And I will work against the realization of a world wide Police State.

    Reference:Edward Snowden: US surveillance ‘not something I’m willing to live under’ Interview by Glenn Greenwald in theguardian, 8th. of July 2013

    The Universal Declaration of Human Rights United Nations ( UN )

    Articles:
    Snowden made the right call when he fled the U.S. washingtonpost.com 8th. of July 2013 by Daniel Ellsberg
    2011: A Brave New Dystopia by Chris Hedges truthdig.com 27. December 2010

    Online Privacy:
    Internet Privacy wikipedia.org
    The Tor Project – Web Online Anonymity
    DuckDuckGo – Anonymous Searching of the Internet
    Pretty Good Privacy – Protect your files and email with open source encryption

    Support Online Privacy Organizations:
    Electronic Frontier Foundation eff.org
    epic.org – Electronic Privacy Information Center
    Internet Defense League internetdefenseleague.org

    Litterature:
    Nineteen Eighty-Four by George Orwell
    Brave New World by Aldous Huxley

  • I support a free Internet

    I support freedom of speech.

    I support the right of privacy.

    I support a free Internet.

    Supoort Electronic Frontier Foundation in its effort to make the US Government and the like aware of the digital rights of the people in this world!

    And do join the Internet Defense League with the rest of us and defend the free internet!

    Share this 4th. of July message with others!

    Reference: The NSA Files guardian.co.uk

  • No need for more hot air in the cloud

    Is Amazon’s new music cloud the real deal? This is what Amazon CEO and Founder, Jeff Bezos, is offering you:

    “Dear Customers,

    Managing a digital music collection can be a bit messy. You can buy music from your phone, but how do you transfer it to your home or work computer? Also, if you’re not regularly backing up your music collection, you can lose it with a disk drive crash.

    Today, we’re introducing an important new service to give you a simple way to keep your music safe and have it with you, everywhere. It’s called Amazon Cloud Player. MP3 songs and albums you purchase from Amazon.co.uk, even those you purchased in the past, will be available in Cloud Player, which means you’ll have a secure backup copy of the MP3s you buy at Amazon, free of charge. We’ve also made it easy to get the rest of the music that’s on your computer to Cloud Player, even music purchased from iTunes or uploaded from CDs. We’ll match the songs on your computer to Amazon.co.uk’s catalogue of over 20 million songs. All songs we match are instantly made available in Cloud Player and upgraded to high-quality 256 kbps audio. Music we can’t match will be uploaded to Cloud Player, so your entire digital music collection will be available.”

    Yes, managing a digital music collection can be a bit messy at times. So it might be sensible and practical with the security that amazon offers your precious music collection. Just remember its only a backup solution for the music you purchased at Amazon. For Amazon there  is no need for more hot air in the cloud. All Jeff Bezos is offering you is a link to a music file in the Amazon music archive.

    Reference:  Amazon Cloud Player