|
Yeah. I'd been happily rails free for about 2 years when this malodorous lump landed on my plate.
I've gone from:
Why me?
To WTE won't this work, Google says I just need to force bundle to update itself to the latest version and I should be able to download all the gems that were added in the last 2 years.
To, hmmm I guess I need to update RoR to a newer version than it was on; but still not to the latest one.
To, I have WtfLib.dll in my ruby/bin folder, and WtfGem has been deprecated since before the project was started, so never mind why I need to download a stand alone copy of WtfLib, why do I need this stupid gem at all.
To, if I force it to use HTTP instead of HTTPS I can finally sneak the last bits I need to download past the corporate firewall. (Other options include figuring out how to make the downloader use a proxy, figuring out how to make it use NTLM authentication and feed it the https mitm proxy's cert, and accidentally dropping my laptop down a flight of stairs.)
To, ok the rails bit is running, now I need to get the database up. But rake db:lol omg:bbq are all failing with 'unable to fork postgress: unknown reason'.
To, this might actually be the only time that stopping and restarting something (postgress) actually fixed a problem.
To, having to manually set a targeted config setting via an environment variable sorta makes sense; but for all that's unholy why was rake db:create defaulting to test, while :migrate defaulted to localDevelopment.
To, rake's finally able to start building the db up. Emphasis on start, the migration scripts are crashing sometime in 2013.
To, elephant this, time for the long weekend. :cider: :whisky: :scotch: :bourbon:
Yeah it was a fun afternoon.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Ouch.
Ruby and Rails are clusterelephants of complete crappiness written by special little sunshines.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Since my new serializer is now working I am going to put it on github this weekend and start working on a CodeProject article.
But Here comes a very important question: what name to chose?
One the one hand, just like latest nuget package nomenclature, I could name it after the assembly name, that would be something like Galador.Serialization or maybe Galador.Reflection (might as well put some other reflection utilities)
On the other hand, in the spirit of javascript silly pompous name I could call it TRex ?
So many questions!
|
|
|
|
|
Just don't call it Star Trex, or...
It was broke, so I fixed it.
|
|
|
|
|
Wow! Such a good name!
|
|
|
|
|
Ah yes. Cos nothing says 'not pompous at all' like Galador!
I am not a number. I am a ... no, wait!
|
|
|
|
|
Galador is my Wizard name since 1994!!!
It's also my domain name, behold this, cough cough awesome web page[^]!
|
|
|
|
|
How about Quisp[^], the cereal serializer, as an added bonus, it comes with its own alien mascot, who I think is Bobs cousin.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Sadly Quisp is not gluten free.
That just won't do it for me!
|
|
|
|
|
Super Lloyd wrote: Sadly Quisp is not gluten free.
In that case... SpecialKay... to avoid copyright laws.
|
|
|
|
|
AwesomeSauce
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
It seems you did to much advert for this serializer library like an English Soccer reporters while the team exits in the first round. Don't you think to be quiet, heads down and present when you did?
modified 1-Jul-16 14:39pm.
|
|
|
|
|
I've always been in the "Under promise and over deliver" camp. How about:
Super Lloyd's Super Ultimate Serializer and Quantum Reflector Live 365
That's what I do. I drink, and I know things. ~ Tyrion Lannister
|
|
|
|
|
How about "Clever Lloyd's Intelligent Turbo Organised Really Integrated Serializer"?
Now if only there was an acronym...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Ok, I admit that I laughed.
|
|
|
|
|
Will we be able to find it and know how to use it?
|
|
|
|
|
CleveRLlOYd's Intelligent TurBo OrganisED Really InTegrated Serializer
There you go. I found your acronym ROBERTS
I'm sure there others but I can't find them
|
|
|
|
|
Cerealizer is taken.
La Bestia or Chikatilo are both tasteless.
Will you be sued if you call it Alpha-Bits[^]?
|
|
|
|
|
Too bad, Cerealizer seem like a smart move!
|
|
|
|
|
GetSerious
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|
MostExcellentSerializerOfGalador?
|
|
|
|
|
Just call it "Boobies".
Everyone will like it
|
|
|
|
|
Super Lloyd wrote: what name to chose?
SerialKiller
Marc
|
|
|
|
|
I saw both in different time.
The former - too many arguments for every little things. People bother you too much.
The later - quiet and very busy.
I need to change my arguments by getting busy.
Tired!
|
|
|
|
|
As you might have heard... I am working (at home) on a new home made serializer.
I painfully wrote and debug quite an extensive test coverage ...
Then I looked at my work and thought: this just won't do! The type meta data is just too wasteful! I must do a complete rewrite!!!
It took me a whole week!
Not because of the number of lines of code (about one thousands) but because I fumbled in the dark for a while before I manage to find a way to do what I wanted....
It is now much more betterer (more compact, more performant)!
But.. well... all the tests are red now...
I guess more debugging is awaiting me...
[EDIT] [VICTORY] Fixed all the bugs....
Bonus feature, my new format is yet more compact (though strongly typed) and the serialization is now also faster than NewtonSoft.Json!
For fun here is a comparison of NewtonSoft.Json to my serializer with text output (support binary as well) for a list of 10 points:
NewtonSoft.Json
[{"x":0.98958661732710274,"y":0.72857453754571011},{"x":0.59292879821403366,"y":0.060559290023781027},{"x":0.28072819964994128,"y":0.69400526568945742},{"x":0.653773632204986,"y":0.0040844688211029712},{"x":0.35002548915800896,"y":0.14401983802394003},{"x":0.7088265291921918,"y":0.3565747599846566},{"x":0.82151659662905918,"y":0.32049972578906444},{"x":0.33498869106871482,"y":0.41123141274379166},{"x":0.65187721031339707,"y":0.77326123405865455},{"x":0.89198039560205322,"y":0.0075930333731663571}]
My Serializer (Thought I christened it, in honor of silly Javascript library names: TRex, the assembly name might either be Galador.Utils or Galador.Serializer)
1 7 8 805569025 9 806093313 10 "System.Collections.Generic.List`1" 0 2 11 "Capacity" 12 16777227 13 "Count" 12 14 17825792 0 1 15 553648129 16 "Galador.Core.Tests.SerializationTests+Point2D" 17 "Galador.Core.Tests" 2 18 "x" 19 16777232 20 "y" 19 16 10 10 0.98958661732710274 0.72857453754571011 0.59292879821403366 0.060559290023781027 0.28072819964994128 0.69400526568945742 0.653773632204986 0.0040844688211029712 0.35002548915800896 0.14401983802394003 0.7088265291921918 0.3565747599846566 0.82151659662905918 0.32049972578906444 0.33498869106871482 0.41123141274379166 0.65187721031339707 0.77326123405865455 0.89198039560205322 0.0075930333731663571
Well... I guess I just have to work on the CodeProject article now!
modified 1-Jul-16 13:22pm.
|
|
|
|