|
pa href=https://blog.codeship.com/building-a-json-api-with-rails-5/Rails 5/a is coming and ships with the code--api/code option. This will generate a fresh but slimmed down Rails app whose job is to serve as a JSON API. With this option you#39;ll get a href=https://github.com/rails-api/active_model_serializersActive Model Serializers - AMS/a installed by default. This is a great library that is only getting better with all of the work that ....
|
|
Challenge of the day: what will the following code display? [StructLayout(LayoutKind.Explicit)] public struct UInt128 { [FieldOffset(0)] public ulong Value1 ; [FieldOffset(8)] public ulong Value2 ; } [StructLayout(LayoutKind.Sequential)] public struct MyStruct { public UInt128 UInt128 ; public char Char ; } class Prog....
|
|
Launching LiteCLI . Literate SQL . Show HN: SQL Trainer – Learn SQL by doing live data exercises (Hacker News) . SQL Series: From A to Z - DEV Community . SQL tips and tricks . The interesting ideas in Datasette . You Can Do it in SQL, Stop Writing Extra Code for it - DEV Community .
|
|
small) Guide on using mtree (The FreeBSD Forums) . 15 Practical Linux cURL Command Examples . 20 awk examples – Linux Hint . 7 Awesome Open Source Analytics Software For Linux and Unix - nixCraft . A practical proposal for migrating to safe long sessions on the web (Hacker News) . A practical security guide for web developers (Hacker News) . A Unix Utility to Know About: lsof (2009) (Hacker News) . agnoster.bash . An Elegant Way of ....
|
|
Couchbase Mobile discussion group . Couchbase Mobile Native API . Couchbase Mobile . Couchbase sync gateway . Getting Started with React Native Android and Couchbase Lite .
|
|
Stable brew update brew install emacs --HEAD --use-git-head --with-cocoa --with-srgb --with-gnutls brew linkapps emacs Development brew update brew install emacs --devel --with-cocoa --with-srgb --with-gnutls brew linkapps emacs then Had problems loading seq. Removed byte-compiled packages: $ find ~/.emacs.d/elpa -iname *.elc -exec rm '{}' \;
|
|
Challenge of the day: what will the following code display? [StructLayout(LayoutKind.Explicit)] public struct UInt128 { [FieldOffset(0)] public ulong Value1 ; [FieldOffset(8)] public ulong Value2 ; } [StructLayout(LayoutKind.Sequential)] public struct MyStruct { public UInt128 UInt128 ; public char Char ; } class Prog....
|
|
Learn how to integrate Minitest into your Ruby project and reap the benefits of test-driven development.
|
|
So the Chase mobile banking app does not work properly on my new Google Nexus 5X phone. When taking a photo to deposit a check, the on-screen preview is rotated 180 degrees. This makes it really awkward to try to center the check because when you move the phone intuitively to fix alignment, it gets worse not better. I googled this and found it's a known problem due to some technical details about this particular phone and it requires the ....
|
|
What CMS are you using? What WordPress plugin do I use to make a clock like yours? You’re using AppEngine right? I can tell by your blog’s IP address. Brandon, when are you going to nerd out and talk about technical stuff? Right now, as it turns out. First, a little disclaimer: This post is more for the technical types. You’ll likely find this post mind-numbingly boring if you don’t have an interest in programming or..
|
|
What CMS are you using? What WordPress plugin do I use to make a clock like yours? You’re using AppEngine right? I can tell by your blog’s IP address. Brandon, when are you going to nerd out and talk about technical stuff? Right now, as it turns out. First, a little disclaimer: This post is more for the technical types. You’ll likely find this post mind-numbingly boring if you don’t have an interest in programming or..
|
|
A Quick Introduction to Graphviz . Create diagrams with code using Graphviz – ncona.com – Learning about computers . Diagram.Codes . Flowchart Maker & Online Diagram Software . Graphviz it! - fiddle with diagrams . Graphviz node shapes . PlantText UML Editor . Svgbob: Convert your ASCII diagram scribbles into happy little SVG . TeXample.net (TeX examples) . What do you like using for software architecture diagrams? (twitter) .
|
|
in which we explore the power of macros, and macro-writing macros, to DRY out repetitive code. I’ve been writing Clojure code full time for nearly two years now. I have a pretty good feel for the language, its virtues and its faults. Mostly, I appreciate its virtues (though I still wish the REPL started faster). For me one of the language’s attractions has always been that it’s a Lisp — a “homoiconic” language, i.e., one defin....
|
|
in which we explore the power of macros, and macro-writing macros, to DRY out repetitive code. I’ve been writing Clojure code full time for nearly two years now. I have a pretty good feel for the language, its virtues and its faults. Mostly, I appreciate its virtues (though I still wish the REPL started faster). For me one of the language’s attractions has always been that it’s a Lisp — a “homoiconic” language, i.e., one defin....
|
|
in which we explore the power of macros, and macro-writing macros, to DRY out repetitive code. I’ve been writing Clojure code full time for nearly two years now. I have a pretty good feel for the language, its virtues and its faults. Mostly, I appreciate its virtues (though I still wish the REPL started faster). For me one of the language’s attractions has always been that it’s a Lisp — a “homoiconic” language, i.e., one defin....
|
|
I have created a new youtube channel – and have uploaded some videos there already! Bookmark & Subscribe here: https://www.youtube.com/tanelpoder More stuff is coming over the next weeks & months :-)
|
|
I have created a new youtube channel – and have uploaded some videos there already! Bookmark & Subscribe here: https://www.youtube.com/tanelpoder More stuff is coming over the next weeks & months :-)
|
|
choosealicense.com (Choosing an open source license doesn’t need to be scary). choosealicense.com (github) . tldrlegal.com (Software Licenses in Plain English).
|
|
Math and computer science are full of inequalities, but there is one that shows up more often in my work than any other. Of course, I’m talking about $$\displaystyle 1+x \leq e^{x}$$ This is The Inequality. I’ve been told on many occasions that the entire field of machine learning reduces to The Inequality combined with the Chernoff bound (which is proved using The Inequality). Why does it show up so often in machine learning?
|
|
Math and computer science are full of inequalities, but there is one that shows up more often in my work than any other. Of course, I’m talking about $$\displaystyle 1+x \leq e^{x}$$ This is The Inequality. I’ve been told on many occasions that the entire field of machine learning reduces to The Inequality combined with the Chernoff bound (which is proved using The Inequality). Why does it show up so often in machine learning?
|
|
Math and computer science are full of inequalities, but there is one that shows up more often in my work than any other. Of course, I’m talking about $$\displaystyle 1+x \leq e^{x}$$ This is The Inequality. I’ve been told on many occasions that the entire field of machine learning reduces to The Inequality combined with the Chernoff bound (which is proved using The Inequality). Why does it show up so often in machine learning?
|
|
Backup your files to an external drive or a shared file DSM 6.0 – Synoguide . Ext4 vs. Btrfs: Why We're Making The Switch {Linux} . How to make your Synology Disk station (NAS) more secure? – BPMSG . How to use the Files app to connect to a network server from your iPhone . Josh Dick » Configuring SSH and SCP/SFTP on DSM 5.0 for Synology DiskStations . Log in to a Synology DiskStation using SSH keys as a user other than root . Look in..
|
|
Such programs are super annoying. I had this problem on my computer - some program is occasionally stealing window focus, resulting in being switched out of full-screen games at inopportune times etc.. So I made a program to detect such annoying programs - https://github.com/glaretechnologies/focusmonitor . I figured out the offending program is C:\Users\nick\AppData\Local\Akamai\installer_no_upload_silent.exe. Dear Akamai: please f..
|
|
Exactly a year ago today we flew from Berlin to Tenerife to depart on a sailing trip across the Atlantic on the Finnish sail training schooner T/S Helena . The Grid had just reached 10.000 founding members, and it was time to charge batteries before the next big push towards the beta. I had sailed on Helena once before, on a weekend trip in the Turku archipelago . But crossing the Atlantic would be a more interesting adventure. F....
|
|
HGST Deskstar NAS 3.5-Inch 6TB 7200RPM SATA III 128MB Cache Internal Hard Drive (0S03839) . I found the Holy Grail of backups . Kingston Technology 4GB 1600MHz DDR3L PC3-12800 1.35V Non-ECC CL11 SODIMM Intel Laptop Memory KVR16LS11/4 . Show HN: Baxx – Unix-friendly backup service (Hacker News) . Synology Disk Station 8-Bay (Diskless) Network Attached Storage (NAS) (DS1815+) . Tarsnap: online backups for the truly paranoid .
|
|
Made hummus, based on Delicious Istanbul's 5 Secrets to Perfect Hummus ( wayback machine ) post. 160 g dry chickpeas. 4 cloves garlic minced. 1 tsp fine sea salt. 1 1/2 tbsp lemon juice. 1/4 tsp ground cumin. 6 tbsp tahini paste. 2/3 cup cooking water. Extra virgin olive oil, for serving. Red pepper flakes, for serving. Zahter mixture, for serving. Soak chickpeas overnight. Discard water and rinse chickpeas. Cook in low heat (about ..
|
|
Exactly a year ago today we flew from Berlin to Tenerife to depart on a sailing trip across the Atlantic on the Finnish sail training schooner T/S Helena . The Grid had just reached 10.000 founding members, and it was time to charge batteries before the next big push towards the beta. I had sailed on Helena once before, on a weekend trip in the Turku archipelago . But crossing the Atlantic would be a more interesting adventure. F....
|
|
Exactly a year ago today we flew from Berlin to Tenerife to depart on a sailing trip across the Atlantic on the Finnish sail training schooner T/S Helena . The Grid had just reached 10.000 founding members, and it was time to charge batteries before the next big push towards the beta. I had sailed on Helena once before, on a weekend trip in the Turku archipelago . But crossing the Atlantic would be a more interesting adventure. F....
|
|
A Tutorial Introduction to Kubernetes (Hacker News) . Borg, Omega, Kubernetes: Lessons learned from container management over a decade (Hacker News) . Fabric8 is an integrated open source DevOps and Integration Platform (Kubernetes or OpenShift) . hokusai: Artsy's Docker / Kubernetes CLI and Workflow . Kubernetes by Example | Hacker News . Swarm vs. Fleet vs. Kubernetes vs. Mesos (Hacker News) . Swarm vs. Fleet vs. Kubernetes vs. Meso..
|
|
https://news.ycombinator.com/item?id=25619319 ][Dockerfile Best Practices | Hacker News]]. A Beginner’s Guide To Docker Compose – Linux Hint . Basic Docker Commands for Beginners | Hacker News . Docker for Beginners (Hacker News) . Docker for Beginners . How To Remove Docker Images, Containers, and Volumes | DigitalOcean . Simplifying Docker on OS X (Hacker News) . What problems have you run into in practice when using container..
|