|
Gotta check it out.
I am not the one who knocks. I never knock.
In fact, I hate knocking.
|
|
|
|
|
Why don't you add scripting with C#?
JIT compile the 'script' and call it via reflection. Easy as taking the lame compiler interpreter from a script kiddie, but you will have to be careful that your 'scripts' don't get too powerful and dangerous.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Quote: but you will have to be careful that your 'scripts' don't get too powerful and dangerous So we should ban Python, shoundn't we?
|
|
|
|
|
CPallini wrote: So we should ban Python, shoundn't we?
If I had my way, we'd abandon all scripted languages! But then, someone write a scripted language and we'd be back to where we are now.
|
|
|
|
|
We need at least one scripting language. We need Lua.
|
|
|
|
|
CPallini wrote: We need Lua.
I considered Lua, but decided I didn't want to learn another language or force my [potential far in the future but probably never users other than me] to learn something new too. Plus I wanted something that interfaced with .NET relatively painlessly.
As I was writing this, I googled "lua .net" and found MoonSharp An interesting but for the moment curiosity item.
|
|
|
|
|
CodeWraith wrote: Why don't you add scripting with C#?
A few reasons -- the compile-time overhead, and for many things I basically just need expression evaluation as opposed to code compilation, and since this is going to be actually a Javascript app and I'm just prototyping the ideas in C#, I want the scripts to be Javascript. So, one of the things that caught my eye about ClearScript was this:
engine.Execute("var uriQuery = uri.Query;");
var result = engine.Evaluate("Math.sqrt(Math.PI)");
While you can execute Javascript, you can also simply evaluate an expression. And while there are expression evaluators out there, I also needed something that works with native Javascript types, like dictionaries and arrays, so it seemed reasonable to use a language and its syntax that most people would be familiar with, especially if one wants to something more than just evaluation.
That said, GitHub - PetroProtsyk/SSharp: S# is a weakly-typed dynamic language and runtime infrastructure to make your applications extendable, customizable and highly flexible. was also a consideration but the project hasn't been maintained in years, which was a significant deterrent.
|
|
|
|
|
Marc Clifton wrote: this is going to be actually a Javascript app and I'm just prototyping the ideas in C#
Vade retro, Satanas!
(Does anybody have a cross that I can hold in his general direction)
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Sheesh.
I'm working on grabbing some data from firebase and then processing it in application.
I found a very nice library that will handle all the connections and stuff, great thinks Vilmos. Except...
You can't get the raw Json, just objects created from the Json. In fact I only want the simple raw json string, Matlab has the conversioning fine.
So I have a library that does most of what I want but because they overdid the you must see how clever I am I have to do some re-writing. This means as it changes I have to redo things.
And before you say it, we don't know what fields there will be or what data they will contain. Isn't the whole frigging point of a schemaless db that you don't have an elephanting schema!?!
A vat of liquid nitrogen upon them all!
veni bibi saltavi
|
|
|
|
|
You're right, obviously, but we are catering to people who are less knowledgable by the day. The MS-Access idea will continue, simplifying stuff until it can be clicked together in a UI
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Often they are. Have my sympathy (and some ).
|
|
|
|
|
It is also, looking at the code, excessively done.
Everything is implemented as async and every method call await . ..
veni bibi saltavi
|
|
|
|
|
await is required to adhere to no code left behind rule.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
Well, not much to say there JSON behaving badly. I'm amazed you are having to use Matlab...
|
|
|
|
|
Using a C# library to access external resources - such as firebase - and then doing 'maths' on the data in Matlab.
veni bibi saltavi
|
|
|
|
|
While talking about over engineering, Do you need to use matlab?
Most of the stuff you need matlab for can be done using Math.net[^]
|
|
|
|
|
Are yo going to rewrite the entire application?
It's financial modelling and, loathed that I am to admit it, Matlab does it very well. I am slowly trying to take stuff out of Matlab - the UI being a major part - and convert to something a little better.
veni bibi saltavi
|
|
|
|
|
Me?
I'm just wondering why.
|
|
|
|
|
That's also true of containers.
I.e., a solution of alcohol in water. The container should be more easily openable, and there's no reason to make it reclosable if one empties it. I won't even start to discuss wine bottles that still use corks.
Er, um, this is what you were thinking about, right?
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 |
|
|
|
|
|
Not exactly what I was talking about, but I like the way you're thinking. With the sun shining, the gin is pouring...
veni bibi saltavi
|
|
|
|
|
So, I'm at a stage in my life where I'm considering what I've done and where I'm headed, a midlife crisis of sorts. I'm not happy at my current job (which is kinda killing my passion for software development) and I have loads of diy work at home to do. I'm considering taking a few months off just to catch up with things and have a bit of a holiday. I'm not sure what I'll do next, either look for a new job or even possibly start something of my own (I have an idea which i think is feasible). It's a bit of a daunting thing to do, but so far everyone I spoke to has been quite encouraging about it.
Who here has taken a sabbatical? Did you go back to software dev or do something else entirely?
|
|
|
|
|
I made the mistake of not getting out of a bad job quickly enough. Don't wait too long. Get out of there as fast as you can before you get really serious problems.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Yeah, I've done that as well, staying longer than I should have. The salary was good and it was a comfortable environment even with the frustrations. I actually liked the project and working on it, I just didn't like some things that management did, like bad communication. In the end they retrenched some people and basically paid me to leave. At this stage I really feel like I need to take a step back and have a holiday, which I never had between changing jobs 8 months ago. I also have very little interest in the current project I'm working on which does make it difficult to put in the effort that I'd actually like to. Maybe I'll feel different after having some time off.
|
|
|
|
|
Start your own co.
I am not the one who knocks. I never knock.
In fact, I hate knocking.
|
|
|
|
|
It's very tempting!
I've heard that working for yourself is the worst boss you can have
|
|
|
|