Thanks fam! I used to live in Wales as well ;-)
DeerBear
Posts
-
Looking for a SVG-stitch-up software -
Looking for a SVG-stitch-up softwareI have updated my post to be clearer but now it's under review for some reason :(
-
Looking for a SVG-stitch-up softwareHello! [UPDATE] I am looking for software, not code! I don't want to do this on my own, in part because I really don't want to waste hours on this that I could spend on more interesting things and in part because it would likely cost a bunch of money to do this in an efficient and effective way. BUT: I am looking for something with limited options(=> limited ways I can make mistakes) and that is way simpler to use than InkScape, for one. To put the problem in perspective, there is no intuitive way to resize multiple selections so that they have the same height and width. I'd rather not put hours upon hours on finding out where everything that, to my mind, is absolute basic stuff is. I want the basic stuff right on my face so that I don't have to learn yet-another-godawful-thing that I will use very rarely and for very specific things. I have also given a brief look at the suggested search but no cigar, merging isn't quite what I want, mostly I want positioning and resizing. I have no problems with doing this in layers (although that really sounds like a complication I don't need... but I digress, some battles aren't worth fighting) as long as what, in my mind, is basic stuff is easily reachable. To my mind I want the Visual Basic of SVG: put the "buttons" on the form where I see fit (the form would be in my case the main SVG), select them all, resize in the object inspector. Done! I think what I have in mind is probably not very sought after! Makes sense? [/UPDATE] [ORIGINAL MESSAGE] This is either weirdly difficult to find or I just don't know what phrases to look for. What I need is, in my mind, quite straight-forward; I need a program that is capable of performing the following tasks: 1) Take N SVG files in 2) Allow me to stitch them together into a new SVG file 3) Allow me to visually arrange the aforementioned SVG files as I see fit. So, say I have an SVG file looking like a notepad and I have 4 SVG files I want to use as overlays: I want to put each "overlay" SVG file in a different corner of the Notepad one and THEN use that as an SVG. This is, of course, a contrived example but depicts my need perfectly. There is, of course, nuance here: for example, this software should make multi-selection easy and I should be able to use that multi-selection to set width and height of every single overlay, so that they look right in context of the other image and uniform compared to each other. Anything for Mac or PC is fine, I don't mind. Do you know of anything? [/ORIGINAL MESSA
-
Clean Code, who missed the p(o)int... ?Readability is actually really important. The reason you can't find studies on it is that it varies by language, norms, code history, etc. I mean, sure, there are *some things* that are simply unreadable no matter what, but most often readability is highly subjective and team-based. Making hard and fast rules about it is very impractical and verging - in my opinion - on impossible.
-
HaHaHaHa! Ha Ha Ha! HaHa!That's because he doesn't need to act to be a convincing villain.
-
The fight against interfacitis must go on!To be fair, ASP.NET MVC 5 basically obliges you to use interfaces.
-
Unlimited online backup solutionsHi! My suggestion is that it is unreasonable to ask for an infinite amount of resource by allocating a finite amount of money. What you could do, however, is rather different: you could set up a service yourself and charge for it. The money to keep your own backup would be funded by the paying customers. It doesn't even really have to be something akin to Dropbox or OneDrive as those do something entirely different. A
-
A Programmers LifeHi! My choice would be Embarcadero Delphi. I know it costs a lot more than C#, so if price is an issue go with that. My preferred combo would be: * Delphi * DevExpress * VCL Skins For the client and * RemObjects For the server. If you only need simple DB access, then ditch RemObjects. My reasons for this choice are: - Polish: DevExpress gives your app an incredibly clean look. As an alternative, VCL skins allow you to skin your apps natively in a number of ways - Cross Platform: most code can be shared between Windows and Mac. Mac requires the use of FireMonkey for the GUI, but if you are smart that is not very painful - App tethering: your apps can communicate very simply across a network or using BlueTooth - Android/iOS package: the Pro version allows you to buy an optional pack to do mobile apps. App tethering works with this as well, so you could use your phone and update your app automatically - No runtimes: you deploy a single exe that works across the board, even if .NET isn't installed - Wealth of high quality 3rd party components - Modern language: generics, anonymous functions, etc. Yeah, it's still catching up a bit, but it all works. - DB engines that you can embed: a number of companies make RDBMS systems that you can embed in your program. An example of this would be NexusDB, whose DCU only version is completely free. Keep in mind that NexusDB is also capable of having a whole DB in memory and - if you buy the C/S version - you can even have it in memory on a remote server. The flexibility, raw power and freedom is just a sight to behold. A free starter version exists but I don't think it lets you do databases. Worth playing with though.
-
Keeping the Grades & Compensation transparent to employeesHonestly, I don't get the brouhaha about knowing other people's salaries. Especially in tech, I think sharing this information should be mandatory. It would remove lots of bias, especially towards women. Also, it's interesting to note that if a company thinks that this will create discontent among the employees maybe they're not paying those employees right. Sure, there will be the odd ones who think that they're being underpaid and really aren't, but if the salaries were shown then those outliers would quite quickly be identified as such. And then, there's another thing: maybe you have a lower starting salary but you have better benefits. So... I think salaries should be made transparent :)
-
Mass Voice/Text Messaging ServiceBecause people forget. When I was working for Ocuco Ltd. one of the most requested modules was Recall, because opticians could remind patients of the appointments. It happens all the bloody time.
-
Dilemma of a modern day developerOnly good developers struggle with this question. Bad developers don't.
-
Do you really use C++?Classes do not exist. Good design does.
-
Who would you hire and why?That largely depends on how complex the algorithms will be. If we are talking about relatively complex stuff (R/B trees, etc.) then hire the data/algo guy. Otherwise, hire the SOLID code one.
-
password policyKeep a count of chars and hash those. When you input the new password, count the chars and then compare the hashes. Example: god_123 = 1g1o1_111213 . Obviously it's a terrible idea to keep it in plain text, thus you hash it. Once you type the new password, match hash against hash. Done.
-
What laptop do you use?How do I report a user for racist remarks? Thanks.
-
Server software - Need to find a non-intrusive way to identify different machines having the same configurationHello! Suppose you purchase a piece of server software and install it on a machine. Now, ideally I would like to tie it to the underlying machine, but it may not be a machine at all, it may be a VM. Now, if you want to start up a second instance, I want to ensure that you are paying for that second instance. Because of this, I need to find a way to distinguish them even though the underlying hardware may be the same. I thought of using the PC name, but even that may be problematic because I can't be totally sure that *ALL* cloud vendors (hence, not just the VM vendors, but also their customers who, in turn, become sellers to my customers) will allow to change it. Suggestions? Thanks! A
-
Student Paper: Need Insight on why you Program?Programming isn't something you are attracted to, it's something that sucks you in. It's like addiction, you start out of curiosity and get your first fix. Then the second. Then you're done. The main problem I see isn't in the "programming subculture" but in the fact the ones you asked are still considered questions worth asking. A
-
Starbucks coffee is an affront to all things good about coffeeNow, now, now. I am an absolutely qualified authority on matters of coffee because I am Italian and, specifically, from Naples. Many things go into the "perfect cup of coffee", so to say. Here, we say it must have the three "C": Cumm Cazz Coce (=Jesus this is hot). So, that's the very first thing: if it doesn't burn your lips, you're doing it wrong. After that, coffee quality is obviously essential, and here come the first pitfalls: normally, you will go for industrial coffee because it's cheaper, but some of us DO buy custom coffee, meaning bags of coffee that cost A LOT more but also have completely different organoleptic properties. These bags are only sold by specialised dealers. Because of the difficulty of packaging them properly (these are not industries...), however, it is uncommon to see someone being shipped them from outside where he/she lives. It does happen if you find a good one, but they're rare. Surprisingly, water is important in more ways than one: water's molecular composition is important, but so is the temperature at which it boils (I don't have to remind you that different altitudes have different boiling points, right?) because if it's too low the coffee is ruined and if it's too high you end up having it rise too early. Another really important factor is what brewer you use: normally, you would use what we call a "Moka", but some of us do use the ancient neapolitan brewer (which is far more difficult to handle, but the results can taste markedly different). A
-
Load XML string in to TTreeViewHi!
procedure LoadDocument( ADocument : IXMLDocument;ATreeview : TTreeView );
procedure AddXMLNode( AXmlNode : IXMLNode;AParent : TTreeNode );
var tvNode : TTreViewNode;
ChildIndex : Integer;
begin
tvNode := ATreeView.Items.Add( AParent,'' );
// your tvNode stuff goes here
if AXMLNode.ChildrenCount > 0 Then
begin
for ChildIndex := 0 to AXMLNode.ChildrenCount - 1 do
begin
AddXMLNode( AXMLNode.Children [ ChildIndex ],tvNode );
end;
end;
end;
begin
AddXMLNode( AXMLDocument.RootNode, nil );
end;Adjust and fix compiler errors. A
-
VS2015 - MVC - Getting a list of users for Admin PanelHello! I have created a project intended to get a better understanding of how to create an admin panel for users and seed data. It seems to me that seeding is now working as intended, but the admin panel for users is a bit more complicated than I thought it would be. Let's start by saying I have already looked at this tutorial on the topic but I find it's geared to such a different workflow than mine that trying to adapt it without having a firm grasp on the topic would be a lot more work than having something basic working for my own. The main issues I have with that article is that it is entirely based on the idea that users cannot register from the outside(which I instead want) and it is a preparation for another article to manage user groups (that I do not need at the moment). From Googling, I realised that I need a couple of ViewModels, so I created them:
public class UserViewModel
{
[Required]
[Display(Name = "Email")]
[EmailAddress]
public string Email { get; set; }\[Required\] \[Display(Name = "Enabled")\] public Boolean Enabled {get; set; } \[Required\] \[Display(Name ="Active")\] public Boolean Active { get; set; } \[Required\] \[Display(Name = "Lockout date and time")\] public DateTime? LockoutEndDateUtc { get; set; } \[Required\] \[Display(Name ="Lockout enabled")\] public Boolean LockoutEnabled { get; set; } } public class UserListViewModel { private ICollection<UserViewModel> \_UserList = new List<UserViewModel>(); public UserListViewModel( ApplicationDbContext ctx) { UserViewModel User; foreach (var user in ctx.Users) { User = new UserViewModel(); User.Email = user.Email; User.Active = user.Active; User.Enabled = user.Enabled; User.LockoutEnabled = user.LockoutEnabled; User.LockoutEndDateUtc = user.LockoutEndDateUtc; } }
Trying to create a controller, however, resulted in VS kicking and screaming that there is no key. Googling again, it appears that VS thinks I am creating new database entities(something that I am not trying to do, promise!!!). My understanding