On an unrelated note. Assuming I had a budget of £1,000 per computer. And I was looking to maximise ease-of-use (minimal freezing, crashing, loading etc.). What are the key considerations?
Thanks for sharing this wonderful blogs with us.ivr solution we are thankful to you because you always provides us very useful and wonderful information. you can find us on:
@Zak Let's put it this way, I have an i7-4770, 16GB DDR3 RAM and SSD here and everything runs smooth, I don't see any issues with lowering the Ghz a bit and perhaps less cores/threads
One thing to keep in mind is what brand of SSD you are going for, personally I think Samsung EVO series are worth it, but cheaper brands may offer worse experiences
@Zak Yea, but upgrading the server may not solve your bottleneck. It depends on how many connections it's handling, what the speed of the connection is, etc.
actually you may want to consider something more interesting like a redundant network card or even (if you want to blow it heavy) two redundant network cards
that usually makes the router and your network architecture the bottleneck
and at that point you'd have to consider optical fibre backbones inside your network
One of the responses to the question about the mass of football spam said:
The proper course of action is to flag the post as spam. Three spam flags will remove it from the front page, six will delete it. Don't edit it, don't downvote it, don't use another flag. Flag as spam and move on.
As...
@JeroenVannevel We didn't build this office. We might not be here permanently. Before me, nobody had the time or expertise to look into these things and it hasn't been business-critical up to this point.
@Mast Does it matter? The lowest these days is 100mb connections right?
@Zak do note that the 50 people number is completely arbitrary. It depends on your network needs. but at that point your company should have a dedicated IT department already
I currently have a method that checks if the store is open. It's working nicely, however on the main page I have quite a few stores. Whom again have different locations. Each of these locations again have opening hours.
Now I'm not particularly good with SQL and DB querying and Skylight is compl...
what performance advantage do stored procedures give? they are basically just storing the SQL code to execute on the server so you don't have to transfer it every time and for a CRUD site, that's pretty useless
@Dex'ter You can use string.translate in Python2 it's nice, Python3 not so much. string.translate({ord(','): ')', ord('\''): '', ord(' '): ''}), I don't know of a nice way you can do the other bit. Unless you think ''.join(string.rsplit(')', 1)) is nicer, ;P The joys of no rreplace.
- You're using an ORM to generate it - Loading SQL from files and executing it (please don't do this) - Having long, arbitrary strings of SQL in your code
If you're using an ORM, you can of course test the ORM but then SQL developers cannot test it
The 2nd option is stupid
the third option is also stupid, and requires SQL developers to understand the code around it
Using sprocs is great in a team where you have developers AND sql developers, not just full stack developers
Source: This is the scenario we have in my current place
I have a form processing that I am sure can be done more efficiently and there is an error in the result set although not "life threatening" just not correct.
The purpose of the page is to associate an item with a program and at the same time associate a designation within the program -- B and F...
if you have target='docs' and someone clicks the link twice, the browser could determine that target='docs' has the same url as the one being clicked and not reload it
`==` - performs type coercion. don't `===` - performs exactly equality, treats `Number.NaN != Number.NaN`, `+0` === `-0` `Object.is` - same as `===` but without the exceptions.
Only JS could make 0 === 0 even harder than it needs to be
I've created a REST API Endpoint for my website's Dashboard.
'use strict';
let express = require('express');
let Router = express.Router();
let debug = require('debug')('HAYUM: Dashboard API');
let db = require('../../db');
let mongodb = require('mongodb');
// REST API Endpoints for Dashboard
...
@DanPantry Personal analysis: Bitcoin may or may not be a good long-term investment. Etherium is finished long-term (regardless of how the current crisis shakes out).
Etherium is based on a legal system where whatever the code does is legal. Which means if (like the recent hacker), you can find an edge case in a smart contract that gets the contract to send you money, then that is perfectly legal, just like exploiting a loophole in a legal contract.
It is, in essence, a monetary system based on the assumption that smart-contract code is completely bug-free, because any bug allows people to legally steal all your money.
And I just can't imagine a future where code is bug-free. When whole companies full of million-dollar lawyers can still screw up billion-dollar contracts, what hope does mass-market computer-code have?
@Jamal Good joke! People do notice the higher quality of the posts here over other Stack Exchange sites. You are the one that makes that happen! :) — syb0rgApr 11 '14 at 2:54
> I feel more appreciated here compared to Stack Overflow. Maybe because of the smaller volume, it's more likely that good contributions don't get overlooked. This is a good place for programmers who pay attention to details.
CR is like a small quirky village. SO is like a bustling city. It's nice to go to the city sometimes because it has everything there and it can be convenient, but there are a lot more a-holes. In contrast, in a small village, everyone knows each other and there's a real sense of family :)
That's my annual dose of soppiness. You're welcome.