|
and a masochist is someone who likes to get screwed over a lot!
I may not be that good looking, or athletic, or funny, or talented, or smart
I forgot where I was going with this but I do know I love bacon!
|
|
|
|
|
Hell gods exepedition[^] - most likely Norway's most photographed sign.
Hell is a small village i Mid Norway (location of the airport for Trondheim). "Hell" is derived from "helle", which is a flat, disk like stone.
Gods is goods, cargo. Expedition like in English - receiving and collection point. The spelling is ancient, modern spelling is "ekspedisjon", but they have kept the old sign for the amusement of turists.
There is also a small village near Bergen named Paradis. The train no longer stops in Paradis, but when it did, you could buy tickets from Hell to Paradis, or from Paradis to Hell. I suspect some people just bought the ticket and had it framed to put on the wall - there is not much to do in either place, so very few people had a need to travel that distance by train. (And it would probably take you a full day!)
|
|
|
|
|
I guess, with eleven and a half months of winter each year, one takes their laughs where they can get them.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Is also a depressing book by Cormac McCarty
|
|
|
|
|
Take away the word "good", and it becomes more accurate.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Is anyone here using Asp.Net Core Razor Pages in production code yet?
If so, do you have any tales of woe or wild advocacy?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I am using Razor in a current project. It's a bit weird at first but, once you get used to it, it's not bad. We are using it with MVC of course for which I can say the same, "it's a bit weird at first...".
Once you get going it can save a lot of time and effort - you need to avoid the temptation to "work around it". There is usually a way to do what you need to without bypassing it. I had to fight my impulses to do that at first.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
There's talk about bringing our app out of the asp.net/javascript dark ages to a newer technology. We won't be using Entity Framework (if my vote counts for something).
I've done MVC, and as a site grows, scrolling in the Solution Explorer pane becomes a royal PITA. It appears as if Razor Pages mitigates that issue to a large degree.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Yeah, with the MVC thing we keep breaking things down into smaller and smaller sections to keep it under control. However, with that, the Razor makes things fairly easy.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
|
John Simmons / outlaw programmer wrote: We won't be using Entity Framework (if my vote counts for something).
Your vote counts!!
We do not use EF either. It might be nice for prototypes, but otherwise you can easily code yourself into a corner with its magic. I'm sure there are people using it effectively, but it seems like a dream that may turn into a nightmare.
|
|
|
|
|
I've got an app with a user fornt end in Angular and an admin front end in Razor, and I much prefer the Angular front end, it feels slicker and more maintanable.
Also, we're using EF Core in production now and it's really working well, yes it's a bit of a PITA because you can lost relationships if your not careful but once you've worked out its nuances it's a great tool.
|
|
|
|
|
A few things I noticed at some point, but because I don't use Razor, take this with a grain of salt:
1. Razor compiles the HTML in C# that is the run to generate the actual string that gets sent to the client. At one point, I had hundreds of temp DLL's lying around, probably because Razor wasn't compiling in-memory.
2. Because Razor does this compile thing, first time page loading is slow.
3. Because Razor does this compile thing and subsequent page loads are fast because it "knows" nothing has changed (caching the HTML, I guess) I noticed that sometimes changes to the page HTML/JS (or maybe even the backend) weren't reflected until I forced IIS to restart so it reloaded / recompiled the pages. Something like that.
While it's convenient, I loathe, and I mean really loathe, mixing back-end code with front-end layout in one file. Like I said, convenient but I really disliked it.
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
Marc Clifton wrote: I loathe, and I mean really loathe, mixing back-end code with front-end layout in one file.
But from what I've read, it's not one file - the html is still separate from "code-behind". The only thing they appear to have done (with regards to old MVC file structure) is removed the need for controllers because each page "handles" events.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
A large cup of strong rich coffee.*
Trader Joe's "Dunkers"**
So much going on with each bite. With each sip.
And it can be done over and over again.
* Dark roasted - but not espresso dark.
** Chocolate Chip with Plain backs
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Currently sipping a cup of Taylors Of Harrogate "Cacao Superior" coffee: Dark, velvety, hints of chocolate and blackberry. Black, naturally, with one sugar to "lift" the bitterness.
And the only biscuits in the house are for cheese ...
This is while on hold to my energy supplier - who wants to raise my monthly direct debit by 40% - to tell them "put it back or I go elsewhere" given they owe me money, not the other way around...
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: direct debit I pay essentially all of my bills on-line. And none of my bills ever direct-debits my account.
I find it easier and more productive to argue over a bill if I'm holding the money, and also, by never allowing anyone to directly debit my account, I have an historical record that any such debit is fraudulent. Bill payment is always a push from my end. A bit more effort. Also, a bit more awareness.
I do allow direct deposits. Anyone who cares to deposit money in my account is welcome to do so.* They are also welcome to pay my bills. Anonymously if they like.
Coffee: "Black Velvet" - black, no sugar.
* I hope not too many Nigerians are reading this
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Direct debit (in the UK at least) gets you better "unit" rates than "manual payment" or "prepay" methods, and allows you to "average the bill out" over the whole year so it's the same payment each month. Lets me plan how much I need in the current account and keep the rest in a separate account that isn't as vulnerable, pays me (pathetic) interest, but allows instant transfers between them.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: "average the bill out" Interesting - in that my Natural gas and electric bills are both averaged, an option offered to anyone without having to pick any particular payment method. A few times a year it gets revised (up or down) and annually a balance due (one of us) is managed.
No difference in rates. I do only pay from one particular account, and the interest rate on that account is 0.05% which means they spend more on the ink to tell me about it than they actually give me. A bunch of online accounts, and similar things, exist. All of them push and pull to this account and it never reaches out to them. A degree of isolation.
Best interest I earn, now, is from NY State Municipal Bond funds. It's a bit over 3% (far better than any bank) and because it's municipal bonds there's no Federal or NY State taxes. Deposited to my bank account monthly. Taxable bonds offer notably higher interest. Another place that's nice and quite safe (well in normal times, anyway) is buying US Treasury notes directly from the Treasury (online account). They time your money up for 4, 8, 13, or 26 weeks, and are currently yielding about 2.4%. Exempt only from state taxes, so basically fully taxable. As good as any "CD" but only ties your money up for 4 weeks and can be set up staggered so that every week money becomes available for removal or reinvestment. Not sure how this plays out in UK economy. Actually, not even sure what interest rates are over in your end of the world.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Official bank interest rates are 0.75% which makes them effectively negative given that inflation is higher than that!
The rates banks etc. pay are generally close to that (the rates they charge are not!) but there are longer term investments (ISAs and so forth) which offer similar rates and conditions to yours.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
Both, of course.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
And I have yet to blow the world or myself up
Director of Transmogrification Services
Shinobi of Query Language
Master of Yoda Conditional
|
|
|
|
|
C-
Must try harder
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Happy birthday!
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|