diff --git a/app/views/pages/rubyx/debugger.html.haml b/app/views/pages/rubyx/debugger.html.haml index 0708982..a9d93b2 100644 --- a/app/views/pages/rubyx/debugger.html.haml +++ b/app/views/pages/rubyx/debugger.html.haml @@ -11,7 +11,7 @@ Risc has only 12 registers and almost as little instructions. Mostly moving data around, jumping and testing. %p - But since it is so simple, it it a little challenging to understand what is happening + But since it is so simple, it is a little challenging to understand what is happening in terms of ruby language constructs, or even the SlotMachine abstraction. %p diff --git a/app/views/posts/_2014-04-10-official-start.haml b/app/views/posts/2014/_04-10-official-start.haml similarity index 98% rename from app/views/posts/_2014-04-10-official-start.haml rename to app/views/posts/2014/_04-10-official-start.haml index fea7056..bed0791 100644 --- a/app/views/posts/_2014-04-10-official-start.haml +++ b/app/views/posts/2014/_04-10-official-start.haml @@ -3,7 +3,7 @@ clarity, and so i have to start a daunting task. %p When i learned programming at University, they were still teaching Pascal. So when I got to choose - c++ in my first bigger project that was a real step up. But even i wrestled templates, it was + c++ in my first bigger project that was a real step up. But even as i wrestled templates, it was Smalltalk that took my heart immediately when i read about it. And I read quite a bit, including the Blue Book about the implementation of it. %p The next distinct step up was Java, in 1996, and then ruby in 2001. Until i mostly stopped coding diff --git a/app/views/posts/_2014-04-22-to-see-or-not-to_c.haml b/app/views/posts/2014/_04-22-to-see-or-not-to_c.haml similarity index 98% rename from app/views/posts/_2014-04-22-to-see-or-not-to_c.haml rename to app/views/posts/2014/_04-22-to-see-or-not-to_c.haml index 95e3e17..3b955af 100644 --- a/app/views/posts/_2014-04-22-to-see-or-not-to_c.haml +++ b/app/views/posts/2014/_04-22-to-see-or-not-to_c.haml @@ -8,7 +8,7 @@ (2 Megs). Since it provides a defined api (posix) and large functionality on a plethora of systems (os’s) and cpu’s. Even for different ABI’s (application binary interfaces) and compilers/linkers it is no wonder. %p ucLibc or dietLibc get the size down, especially diet quite a bit (130k). So that’s ok then. Or is it? %p Then i noticed that the real issue is not the size. Even my pi has 512 Mb, and of course even libc gets paged. -%p The real issue is the step into the C world. So, extern functions, call marshelling, and the question is for what. +%p The real issue is the step into the C world. So, extern functions, call marshalling, and the question is for what. %p Afer all the c library was created to make it easier for c programs to use the kernel. And i have no intention of coding any more c. %h2#ruby-corestd-lib ruby core/std-lib %p Off course the ruby-core and std libs were designed to do for ruby what libc does for c. Unfortunately they are badly designed and suffer from above brainwash (designed around c calls) diff --git a/app/views/posts/_2014-04-24-asm-out.haml b/app/views/posts/2014/_04-24-asm-out.haml similarity index 100% rename from app/views/posts/_2014-04-24-asm-out.haml rename to app/views/posts/2014/_04-24-asm-out.haml diff --git a/app/views/posts/_2014-05-06-first-parses.haml b/app/views/posts/2014/_05-06-first-parses.haml similarity index 100% rename from app/views/posts/_2014-05-06-first-parses.haml rename to app/views/posts/2014/_05-06-first-parses.haml diff --git a/app/views/posts/_2014-05-20-first-fibo.haml b/app/views/posts/2014/_05-20-first-fibo.haml similarity index 96% rename from app/views/posts/_2014-05-20-first-fibo.haml rename to app/views/posts/2014/_05-20-first-fibo.haml index 11b4f1e..f9cd53a 100644 --- a/app/views/posts/_2014-05-20-first-fibo.haml +++ b/app/views/posts/2014/_05-20-first-fibo.haml @@ -1,5 +1,5 @@ %p Both “ends”, parsing and machine code, were relatively clear cut. Now it is into unknown territory. -%p I had ported the Kaleidoscope llvm tutorial language to ruby-llvm last year, so thee were some ideas floating. +%p I had ported the Kaleidoscope llvm tutorial language to ruby-llvm last year, so there were some ideas floating. %p The idea of basic blocks, as the smallest unit of code without branches was pretty clear. Using those as jump targets was also straight forward. But how to get from the AST to arm Intructions was not, and took some trying out. diff --git a/app/views/posts/_2014-06-10-more-clarity.haml b/app/views/posts/2014/_06-10-more-clarity.haml similarity index 100% rename from app/views/posts/_2014-06-10-more-clarity.haml rename to app/views/posts/2014/_06-10-more-clarity.haml diff --git a/app/views/posts/_2014-06-27-an-exceptional-thought.haml b/app/views/posts/2014/_06-27-an-exceptional-thought.haml similarity index 100% rename from app/views/posts/_2014-06-27-an-exceptional-thought.haml rename to app/views/posts/2014/_06-27-an-exceptional-thought.haml diff --git a/app/views/posts/_2014-07-05-layers-vs-passes.haml b/app/views/posts/2014/_07-05-layers-vs-passes.haml similarity index 100% rename from app/views/posts/_2014-07-05-layers-vs-passes.haml rename to app/views/posts/2014/_07-05-layers-vs-passes.haml diff --git a/app/views/posts/_2014-07-17-framing.haml b/app/views/posts/2014/_07-17-framing.haml similarity index 100% rename from app/views/posts/_2014-07-17-framing.haml rename to app/views/posts/2014/_07-17-framing.haml diff --git a/app/views/posts/_2014-08-01-name-has-been-found.haml b/app/views/posts/2014/_08-01-name-has-been-found.haml similarity index 97% rename from app/views/posts/_2014-08-01-name-has-been-found.haml rename to app/views/posts/2014/_08-01-name-has-been-found.haml index 89930a3..175d1eb 100644 --- a/app/views/posts/_2014-08-01-name-has-been-found.haml +++ b/app/views/posts/2014/_08-01-name-has-been-found.haml @@ -2,12 +2,12 @@ %h3#salama Salama %p Salama is a - = succeed "," do + = succeed "." do %strong real word %p It is a word of my %strong home-country - Finland, a finnish word (double plus) + Finland, a finnish word (double plus). %p Salama means %strong lightning diff --git a/app/views/posts/_2014-08-19-object-storage.haml b/app/views/posts/2014/_08-19-object-storage.haml similarity index 100% rename from app/views/posts/_2014-08-19-object-storage.haml rename to app/views/posts/2014/_08-19-object-storage.haml diff --git a/app/views/posts/_2014-09-12-register-allocation-reviewed.haml b/app/views/posts/2014/_09-12-register-allocation-reviewed.haml similarity index 100% rename from app/views/posts/_2014-09-12-register-allocation-reviewed.haml rename to app/views/posts/2014/_09-12-register-allocation-reviewed.haml diff --git a/app/views/posts/_2014-09-30-a-better-register-machine.haml b/app/views/posts/2014/_09-30-a-better-register-machine.haml similarity index 100% rename from app/views/posts/_2014-09-30-a-better-register-machine.haml rename to app/views/posts/2014/_09-30-a-better-register-machine.haml diff --git a/app/views/posts/_2015-03-21-review-_2015.haml b/app/views/posts/2015/_03-21-review-_2015.haml similarity index 100% rename from app/views/posts/_2015-03-21-review-_2015.haml rename to app/views/posts/2015/_03-21-review-_2015.haml diff --git a/app/views/posts/_2015-05-20-expression-is-slot.haml b/app/views/posts/2015/_05-20-expression-is-slot.haml similarity index 100% rename from app/views/posts/_2015-05-20-expression-is-slot.haml rename to app/views/posts/2015/_05-20-expression-is-slot.haml diff --git a/app/views/posts/_2015-06-20-the-static-call-chain.haml b/app/views/posts/2015/_06-20-the-static-call-chain.haml similarity index 100% rename from app/views/posts/_2015-06-20-the-static-call-chain.haml rename to app/views/posts/2015/_06-20-the-static-call-chain.haml diff --git a/app/views/posts/_2015-07-01-hello-world-again.haml b/app/views/posts/2015/_07-01-hello-world-again.haml similarity index 100% rename from app/views/posts/_2015-07-01-hello-world-again.haml rename to app/views/posts/2015/_07-01-hello-world-again.haml diff --git a/app/views/posts/_2015-07-25-i-like-not-playing-computer.haml b/app/views/posts/2015/_07-25-i-like-not-playing-computer.haml similarity index 100% rename from app/views/posts/_2015-07-25-i-like-not-playing-computer.haml rename to app/views/posts/2015/_07-25-i-like-not-playing-computer.haml diff --git a/app/views/posts/_2015-09-03-a-new-language.haml b/app/views/posts/2015/_09-03-a-new-language.haml similarity index 100% rename from app/views/posts/_2015-09-03-a-new-language.haml rename to app/views/posts/2015/_09-03-a-new-language.haml diff --git a/app/views/posts/_2015-11-28-one-compiler-down-one-to-go.haml b/app/views/posts/2015/_11-28-one-compiler-down-one-to-go.haml similarity index 100% rename from app/views/posts/_2015-11-28-one-compiler-down-one-to-go.haml rename to app/views/posts/2015/_11-28-one-compiler-down-one-to-go.haml diff --git a/app/views/posts/_2016-03-07-mixup-of-levels.haml b/app/views/posts/2016/_03-07-mixup-of-levels.haml similarity index 100% rename from app/views/posts/_2016-03-07-mixup-of-levels.haml rename to app/views/posts/2016/_03-07-mixup-of-levels.haml diff --git a/app/views/posts/_2016-07-26-the-road-ahead.haml b/app/views/posts/2016/_07-26-the-road-ahead.haml similarity index 100% rename from app/views/posts/_2016-07-26-the-road-ahead.haml rename to app/views/posts/2016/_07-26-the-road-ahead.haml diff --git a/app/views/posts/_2017-01-02-a-new-year-a-new-name.haml b/app/views/posts/2017/_01-02-a-new-year-a-new-name.haml similarity index 100% rename from app/views/posts/_2017-01-02-a-new-year-a-new-name.haml rename to app/views/posts/2017/_01-02-a-new-year-a-new-name.haml diff --git a/app/views/posts/_2017-01-10-integer-unification.haml b/app/views/posts/2017/_01-10-integer-unification.haml similarity index 100% rename from app/views/posts/_2017-01-10-integer-unification.haml rename to app/views/posts/2017/_01-10-integer-unification.haml diff --git a/app/views/posts/_2017-02-03-of-slopes-and-chains-and-changes-in-the-air.haml b/app/views/posts/2017/_02-03-of-slopes-and-chains-and-changes-in-the-air.haml similarity index 100% rename from app/views/posts/_2017-02-03-of-slopes-and-chains-and-changes-in-the-air.haml rename to app/views/posts/2017/_02-03-of-slopes-and-chains-and-changes-in-the-air.haml diff --git a/app/views/posts/_2017-03-03-layer-summary.haml b/app/views/posts/2017/_03-03-layer-summary.haml similarity index 100% rename from app/views/posts/_2017-03-03-layer-summary.haml rename to app/views/posts/2017/_03-03-layer-summary.haml diff --git a/app/views/posts/_2017-04-07-how-not-to-interpret.haml b/app/views/posts/2017/_04-07-how-not-to-interpret.haml similarity index 100% rename from app/views/posts/_2017-04-07-how-not-to-interpret.haml rename to app/views/posts/2017/_04-07-how-not-to-interpret.haml diff --git a/app/views/posts/_2017-09-05-more-types-will-come-but-later.haml b/app/views/posts/2017/_09-05-more-types-will-come-but-later.haml similarity index 100% rename from app/views/posts/_2017-09-05-more-types-will-come-but-later.haml rename to app/views/posts/2017/_09-05-more-types-will-come-but-later.haml diff --git a/app/views/posts/_2017-11-11-its-about-self-control.haml b/app/views/posts/2017/_11-11-its-about-self-control.haml similarity index 100% rename from app/views/posts/_2017-11-11-its-about-self-control.haml rename to app/views/posts/2017/_11-11-its-about-self-control.haml diff --git a/app/views/posts/_2018-04-09-a-dynamic-hello-world.haml b/app/views/posts/2018/_04-09-a-dynamic-hello-world.haml similarity index 100% rename from app/views/posts/_2018-04-09-a-dynamic-hello-world.haml rename to app/views/posts/2018/_04-09-a-dynamic-hello-world.haml diff --git a/app/views/posts/_2018-04-22-four-years-and-going-strong.haml b/app/views/posts/2018/_04-22-four-years-and-going-strong.haml similarity index 100% rename from app/views/posts/_2018-04-22-four-years-and-going-strong.haml rename to app/views/posts/2018/_04-22-four-years-and-going-strong.haml diff --git a/app/views/posts/_2018-06-22-1000-tests-and-working-binaries.haml b/app/views/posts/2018/_06-22-1000-tests-and-working-binaries.haml similarity index 97% rename from app/views/posts/_2018-06-22-1000-tests-and-working-binaries.haml rename to app/views/posts/2018/_06-22-1000-tests-and-working-binaries.haml index 4911d84..b41d66c 100644 --- a/app/views/posts/_2018-06-22-1000-tests-and-working-binaries.haml +++ b/app/views/posts/2018/_06-22-1000-tests-and-working-binaries.haml @@ -25,7 +25,7 @@ %b working binaries. This is after all the first time that i compile real ruby into real binary. The compiler does off course have many limitations, but what it does, it does - right. Even it it was just Hello World for starters. + right. Even it was just Hello World for starters. %br =image_tag "hello.jpg" Off course i tried the next one straight after, "2+2" and .... it worked too. @@ -60,7 +60,7 @@ %h3 Event approach %p Off course this is not new, and this is in fact the third time i have coded this, - finally getting it right. The problem gets hary with the 16 words limit, + finally getting it right. The problem gets hairy with the 16 words limit, when the code overlaps the originally assigned length and a new object has to be inserted. %p diff --git a/app/views/posts/_2018-07-25-understanding-rubyx-through-historic-decisions.haml b/app/views/posts/2018/_07-25-understanding-rubyx-through-historic-decisions.haml similarity index 100% rename from app/views/posts/_2018-07-25-understanding-rubyx-through-historic-decisions.haml rename to app/views/posts/2018/_07-25-understanding-rubyx-through-historic-decisions.haml diff --git a/app/views/posts/_2018-08-20-implicit-blocks-are-working.haml b/app/views/posts/2018/_08-20-implicit-blocks-are-working.haml similarity index 100% rename from app/views/posts/_2018-08-20-implicit-blocks-are-working.haml rename to app/views/posts/2018/_08-20-implicit-blocks-are-working.haml diff --git a/app/views/posts/_2019-02-28-class-methods-and-a-conference.haml b/app/views/posts/2019/_02-28-class-methods-and-a-conference.haml similarity index 100% rename from app/views/posts/_2019-02-28-class-methods-and-a-conference.haml rename to app/views/posts/2019/_02-28-class-methods-and-a-conference.haml diff --git a/app/views/posts/_2019-08-20-parsing-parfait-and-other-goodies.haml b/app/views/posts/2019/_08-20-parsing-parfait-and-other-goodies.haml similarity index 100% rename from app/views/posts/_2019-08-20-parsing-parfait-and-other-goodies.haml rename to app/views/posts/2019/_08-20-parsing-parfait-and-other-goodies.haml diff --git a/config/environments/test.rb b/config/environments/test.rb index 0a38fd3..b08fc84 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -28,9 +28,6 @@ Rails.application.configure do # Disable request forgery protection in test environment. config.action_controller.allow_forgery_protection = false - # Store uploaded files on the local file system in a temporary directory - config.active_storage.service = :test - config.action_mailer.perform_caching = false # Tell Action Mailer not to deliver emails to the real world.