But one unintentional (or perhaps intentional - I don't know) is that it emphasizes that you need to insure that your own code isn't written in a way that blocks. Because you can write code that basically blocks everything. So maybe it just acts as a reminder to make sure people figure out the correct way to do it.
Exactly, I was truly puzzled how can you "always" ensure non-blocking code.
(edited* - supposed to mean CPU bound tasks. Not I/O bound)
But even with this limitation, How Node.js managed to steal such a huge spot-light? If there's real substance to it, then I would really feel, Microsoft should have done it first , with all the expertise they already have in their hand. Instead of doing a follow-up product.
I've seen Microsoft do this a lot of times. A particular trend gets popular, and they introduce their version of it. You'd call this Innovation? Windows Phone was a typical example.
In recent days, we can really see they are getting closer to being cool
The strength I see at the moment with Node is their NPM, but this is all evolved after the initial hype.
And Microservices architecture really had a good take-off with Node.js. The basic nature of Node solution architecture feels micro. Before Node arrived, "Server" development was an epic. People talk about J2E, .Net N-tier server arch. It did feel like you have a decent learning curve to start doing something on the server. & Deployment , config on the IIS , had it's own learning curve.
Honestly, I feel Node + NoSQL feel bare-bones stuff & anybody can just jump in and start doing things even for a decent requirement, it works. And you'd pay just for the hosting. That's the reason Node became Startups favorite.
Even if so that isn't generally a concern. Everyone likes to think they are writing the next facebook but most are not. And at the point where a company gets big enough that connection concerns are a problem they, probably have so many other architecture problems already that it becomes a non-issue.
Honestly, I feel Node + NoSQL feel bare-bones stuff & anybody can just jump in and start doing things even for a decent requirement,
Can you say 'Visual Basic'?
Back in its day Visual Basic contain a vast (for then) array of built in functionality that if one needed to use some other technology one would need to find or more often buy/create to get. So relative programming newcomers could just "jump in" and create their own business application.
People attempted to hoist that into the more complex enterprise spaces and keep it going as more business functionality emerged but it just didn't work.
And Microsoft at point wasn't in the technology business. They were in the application and OS business. They probably only added technology to scare off/kill what they though as competition. (I don't denigrate that process just note that during that time it was not well thought out and definitely was haphazardly marketed.)
Node gives the same feeling for server what VB did for desktop applications.
You see something getting done with least possible learning curve.
But I cannot say this makes you an expert with technology. It just works.
Might want to make sure your needs are appropriate to that though.
For example some times (maybe always now) networks can suppress those.
And it isn't all that efficient nor necessarily even that reliable because it is hard to figure out if it failed because you are using it wrong or because it just didn't get there.
Since it is easier to throw up servers these days that is what people do.
We are students from Germany and we are currently studying „Media-Design“.
We were assigned to create an artistic media-installation for the “Ars Electronica” as an entry in their competition. Our Idea is to visualize the process of an A.I. in an experimental way. This means, that we don’t know yet, what the final result is going to be.
However for that, we need some sort of input for our “generative art” project.
What we need is a simple all-purpose A.I., ideally one with neuro-evolution
(I found NEAT to be looking quite promising).
I want to emphasize, that we don’t require anyone to build or program a new A.I. If someone already built one, even a simple or small one, it would be sufficient. From what I understood from our research, the simplest and most basic form of A.I. is the one “recognizing hand-written digits”. But please no CNN. A simple multilayer-perceptron feedforward or NEAT is enough. We thought that a text-file, ideally some sort of exchange format (like XML or JSON) would be a great start, to understand the data we get out of the process.
- For a Project we need a neuronal network
- We want to visualize the learning process
- We need an API to get weights and neurons from an A.I. System that is learning.
- We just need a finished built A.I. (please no C.N.N.) ; No additional Programming needed
If anyone has interest helping us with our problem, feel free to send me a P.M.
Thanks in advance,
The “Sound of Synapse” Group!
I am currently doing an EPQ on architecture which is basically a project worth half an a level that goes along side the rest of my subjects where you conduct independent research into an area that interests you. The question I have chosen is "Does a high focus on environmental sustainability restrict the progression of architecture?" because I hope to study architecture at university.
This is the main title for my projects however I would also appreciate any comments/ opinions anyone has on:
Is sustainability of a buildings or its aesthetics more important?
what are your opinions on carbon neutral buildings and do you think its a reliable long term solution to buildings being bad for the environment?
do you have any examples of eco-friendly buildings that look unattractive or attractive?
Does a high focus on how eco friendly a building is push architecture into the future by making architects think in different ways ?
Can beautiful architecture and sustainability always have to "compete" or can they work together?
Any opinions you have on any of these subjects would be very useful in my research into my EPQ project. I will full reference anyone's comment that is used in my project and appreciate any thoughts you have weather you have a career in architecture or sustainability or not. THANKYOU!
Wrong kind of architecture - this is a software development site and has nothing to do with buildings or sustainability.
Th "architecture" this forum is concerned with refers to the high level structures of a software system and the discipline of creating such structures and systems. Each structure comprises software elements, relations among them, and properties of both elements and relations. No bricks, no steel beams, no concrete, no straw bales, no recycled wood.
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!
"Does a high focus on environmental sustainability restrict the progression of architecture?"
Just noting that there are many restrictions on architecture.
In terms of your specific comment one notes that right now one can only build to the best science that is known right now and that which meets codes. So even if you knew of a study that proved that a certain type of wood was bad and yet the codes required it you would be required to use it.
And what really restricts architecture is money.
...or its aesthetics more important?
Look at the engineering problems with Frank Lloyd Wright's Fallingwater house as an example of aesthetics that went wrong.
I have a column in an SQL table, whose values might be updated by multiple clients at the same time.
All clients access DAL through Asp.net WebAPIs + Win Form application.
How do we ensure , only one client updates the value at a time consistently?
If it's a client side code, I would just use locks/Mutex . How do we do this in server?
I guess "static" methods are a poor option.
Should I go for any Queuing mechanism?
Please suggest what's the right method to handle this simple concurrency requirement.
My own experience is all about putting Critical sections & mutex to use to handle similar scenario's without involving DB.
I was all thinking to control just with plain client code. Just like ensuring the entry gate is atomically protected or ensuring the calls reaches sequentially there through a proper queue.
But Linq/SQL providing features out of the box, is awesome.
So you're going to edit a record. You first do a SELECT on the recordId you want, getting the data for the record and it's rowversion value. When you go to UPDATE the record, you include the recordId and the rowversion values in the WHERE clause for the update.
If the rowversion matches, the update will proceed and you'll get back a 1 for 1 record updated. If the rowversion doesn't match, you'll get back 0 for no records updated. That means the record has been updated between the time you did the SELECT and the UPDATE.