lambdaroyal
lambdaroyal
28 posts
hack out loud in clojure and javascript
Don't wanna be here? Send us removal request.
lambdaroyal · 5 years ago
Photo
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
Do’s and Don'ts of Designing for Accessibility
Anxiety
Autistic Spectrum
Dyslexia
Physical or Motor Disabilities
Low Vision
Screen Readers
Deaf or Hard of Hearing
Find the PDFs for Do’s and Don’ts of Designing for Accessibility here.
154K notes · View notes
lambdaroyal · 5 years ago
Photo
Tumblr media
nice history, progress view with additional geo and domain dimension, want to have that for vlic/rocklog
0 notes
lambdaroyal · 7 years ago
Text
PLANET-ROCKLOG: Introducing XML/XSLT Support for Export Interfaces
Plug-in to your ERP System with XML-based interfaces. Use XSLT transformation to address any data structure your ERP is expecting. All this with ease, out-of-the-box, and most important for free.
0 notes
lambdaroyal · 7 years ago
Text
Introducing Stock Inventory in PLANET-ROCKLOG Webshops
Say hello to seamless and easy-to-use stock inventory from your PLANET-ROCKLOG webshops.
TL;DR
1. Create a new snapin for stock cards with ui-control
Tumblr media
2. Attach this snapin to your webshop, that is represented by some publicdata card
Tumblr media
We allow the user both to count the stock amount and enter the entire amount (ui-control SnapinAddStockToInventoryOrderDelta), but also to enter just the amount change (ui-control SnapinAddStockToInventoryOrder)
Just contact [email protected]
0 notes
lambdaroyal · 7 years ago
Photo
Tumblr media
Say Hello to strategic supply chain management using http://www.planet-rocklog.com and https://www.log-hub.com/
Combine your daily business in PLANET-ROCKLOG, our blazing fast and easy-to-use warehouse management system with the top-notch strategic supply chain optimization toolchain of Log-hub.
Get into touch [email protected]
0 notes
lambdaroyal · 7 years ago
Photo
Tumblr media
Create beautiful Dashboards from your data with charts, combine-in other data from arbitrary REST endpoints. Run custom code that comes up with the information that boosts you up http://www.planet-rocklog.com
0 notes
lambdaroyal · 7 years ago
Text
AOP to the rescue: Function application statistics using technomancy/robert-hooke and some simple macros
Although adding some non-functional aspect (here runtime statistics) to purely functional code is a no brainer with function wrapping I will show how to add an aspect just for testing purposes without intervening your domain code by using aspect oriented programming in Clojure using robert-hooke
https://github.com/technomancy/robert-hooke allows you to extend functions after they were created.
Let’s imaging you got a bunch of function (compositions)
(defn uups [x]  (do    (Thread/sleep (rand-int 10))    (inc x)))
(defn gaga [x m]  (uups (+ x m)))
... and you wanna checkout which function is called how often and consumes how much runtime. You can end up
writing wrapper functions for each :(
writing a macro wrapper for each :(
or weave in a aspect using a simple macro and robert-hooke :)
First, we need to add the respective dependency to our project.clj file
[robert/hooke "1.3.0"]
Second we write a macro taking into account the functions to trace as well as the body to execute.
(ns ^{:doc "Performance Unittests Helper"      :author "[email protected]"}    lambdaroyal.vlic.crosscutting.timing  (:require [robert.hooke :require :all])  (:gen-class))
(defn timing [stats f-name f & args]  (let [start (System/currentTimeMillis)]    (try      (apply f args)      (finally        (let [delay (- (System/currentTimeMillis) start)]          (if-let [existing (get @stats f-name)]            (swap! stats assoc f-name (assoc existing :count (inc (:count existing)) :cum (+ (:cum existing) delay)))            (swap! stats assoc f-name {:count 1 :cum delay})))))))
(defmacro with-timing [lambdas & body]  (let [stats (gensym)        timing (gensym)        lambda (gensym)        k (gensym)        v (gensym)]    `(let [~stats (atom {})]       (try         (doseq [~lambda ~lambdas]           (robert.hooke/add-hook ~lambda (partial timing ~stats (str ~lambda))))         ~@body         (finally           (doseq [~v (reverse                       (sort-by :cum (map                                      (fn [[~k ~v]] (assoc ~v :fn ~k))                                      (deref ~stats))))]             (println ~v)))))))
Using the all new shiny with-timing we can obtain number of function calls as well as the cummulated runtime in order to get our hands dirty speeding up our domain code.
(with-timing [#'gaga #'uups]  (doall (repeatedly 1000 #(gaga (rand-int 100) (rand-int 100)))))
yields
{:count 1000, :cum 4597, :fn #'lambdaroyal.vlic.crosscutting.timing/gaga} {:count 1000, :cum 4577, :fn #'lambdaroyal.vlic.crosscutting.timing/uups}
0 notes
lambdaroyal · 7 years ago
Link
29 notes · View notes
lambdaroyal · 7 years ago
Quote
Der Boden stellt eine gigantische Umverteilungsmaschinerie dar
https://www.heise.de/tp/features/Der-Boden-stellt-eine-gigantische-Umverteilungsmaschinerie-dar-3778718.html
0 notes
lambdaroyal · 8 years ago
Link
yammi cute
0 notes
lambdaroyal · 8 years ago
Text
Diese Schnutenputzlappen ...
Tumblr media
… entstehen durch Reinkarnation alter Handtücher.
Preis: 22 CHF
3 notes · View notes
lambdaroyal · 8 years ago
Photo
Tumblr media
Happy Lunar New Year, Tumblr.
9K notes · View notes
lambdaroyal · 8 years ago
Link
This is supercool
0 notes
lambdaroyal · 8 years ago
Photo
I know this guy, he’s sitting behing my keyboard :)
Tumblr media
Den “Fair Erzl” gibt es für Herren in den Größen M und L.
Material: 100% fine merino made in Italy
Preis: 290 CHF
3 notes · View notes
lambdaroyal · 8 years ago
Photo
so great, so hippie, so cool
Tumblr media
Das Modell “Bergmannschaft” gibt es für Damen in den Größen S oder M.
Material: 100% fine merino made in Italy
Preis: 290 CHF
2 notes · View notes
lambdaroyal · 8 years ago
Video
youtube
fxxxing awesome
0 notes
lambdaroyal · 8 years ago
Photo
like this
Tumblr media
79 notes · View notes