move posts in directory by year

This commit is contained in:
Torsten Rüger 2019-12-07 11:30:52 +02:00
parent 5ce2d1b625
commit 285c6531e4
38 changed files with 8 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -8,7 +8,7 @@
(2 Megs). Since it provides a defined api (posix) and large functionality on a plethora of systems (oss) and cpus. Even for different ABIs (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 thats 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)

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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.