Anyone know of a gem that will allow you to obscure/sanitize data?
Usecase: Download a production database, run some sanitation so that real customers won't get emails, cards charged etc.
I have some customers who want to use our speech therapy software in Hebrew.
The programs are in VB6. The best option I'm aware of are:
use the Forms 2.0 controls from MS Office, but you can't distribute them.
http://www.hexagora.com/en_dw_unictrl.asp $899
http://www.iconico.com/UniToolbox/ $499
Any other options?
I am pulling in all the records from my customer database(mysql) for the last ten days
$offset1 =strtotime("-10 day");
$date3=date("Y-m-d",$offset1);
SELECT * FROM customers WHERE date between '$date3' and '$date' AND customer.custid = '$custid' ORDER by date DESC
I would like to leave out the dates falling on a saturday or sunday and would like to put this in my query rather than the php
If you can help thanks
Need a way of capturing signatures using a SmartPhone. Preferably usable on Verizon networks. This will be used to sign off receipt of medical supply deliveries to customers. Thanks!
It seems to me that I have to retrieve an object before I delete it with entity framework like below
var customer = context.Customers.First(c => c.Id = 1);
context.DeleteObject(customer);
context.Savechanges();
So I need to hit database twice. Is there a easier way?
Thanks
consider the following class:
class Order {
int OrderId {get; set;}
int CustomerId {get; set;}
string CustomerName {get; set;}
//other fields go here
}
which is mapped to Orders table. Is it possible to map the property CustomerName to the Customers table through the foreign key relation?
We are a small team of two web developers and want to know which programming technique (XP, Agile, Scrum, Kanban) and tools (CVS, Git, Issue tracking) are the right for us.
We are developing a product for ourselves, so we are our own customers.
I am using godaddy hosting account with windows hosting. Using PHP I am sending email to customers, how do I use my own email address instead of [email protected]
I would like to use [email protected] for all my out going mails and reply to as well. I did by setting a from header in the PHP headers, but its not working.
Any help is appreciated...
Thanks
Vasu
i have a client who wants a his music artists to upload their music through the website. does itunes have an api that will alow these customers to upload their music to itunes through the website then have the music sold through the website, so that they dont have to go through itunes?
Hi,
I've an enterprise database store used by some rich applications and a website with it own database store.
Enterprise application work with local data and some of these data (like orders,prices ...) have to be "synchronized" to the web site datastore.
On the other side, internet customers are able to edit their profile which have to be "synchronized" to the enterprise datastore too.
Basically i need this architecture :
WebSite = WebSite Database <= || Internet || <= Enterprise Database <= Rich Applications
I am looking for the best way to keep track of the business rules for both developers and everybody else (support staff / management) in a startup enviroment. The challenge is that our business model requires quite a lot of different business rules, which are created pretty much on the fly and evolving organically after that. After running this project for 3+ years, we have so many of such rules that often the only way to be sure about what the application is supposed to do in a certain situation is to go find the module responsible for that process and analyze its code and comments. That is all fine as long as you have one single developer who created the entire application from the scratch, but every new developer needs to go over pretty much entire codebase in order to understand how the application works. Even bigger problem is that non technical employees don't even have that option and therefore are forced to ask me pretty much every day how some certain case would be handled by the application.
Quick example - we only start charging for our customer campaigns once they have been active for at least 72 hours, but at the same time we stop creating invoices for campaigns that belong to insolvent accounts and close such accounts within a month of the first failed charge. That does not apply to accounts that are set to "non-chargeable" which most commonly belongs to us since we are using the service ourselves. The invoices are created on the 1st of each month and include charges from the previous month + any current balance that the account might have. However, some customers are charged only 4 days after their invoice has been generated due to issues with their billing department. In addition to that, invoices are also created when customer deactivates his campaign, but that can only be done once the campaign is not longer under mandatory 6 month contract, unless account manager approves early deactivation.
I know, that's quite a lot of rules that need to be taken into account when answering a question "when do we bill our customers", but actually I could still append an asterisk at the end of each sentence in order to disclose some rare exceptions. Of course, it would be easiest just to keep the business rules to the minimum, but we need to adapt to changing marketplace - i.e. less than a year ago we had no contracts whatsoever.
One idea that I had so far was a simplistic wiki with categories corresponding to areas such as "Account activation", "Invoicing", "Collection procedures" and so on. Another idea would be to have giant interactive flowchart showing the entire customer "life cycle" from prospecting to account deactivation.
What are your experiences / suggestions?
I am developing a web application to be run in iPad safari. The iPads will be provided to the customers and the question is - I want to allow access only to the safari browser and not other applications that can be found in the iPad, especially the iPad settings. Is there anyway I can do that in iPad?
Hi,
Programming is fun: I learned that by trying out simple challenges, reading up some books and following some tutorials. I am able to grasp the concepts of writing with OO (I do so in Ruby), and write a bit of code myself. What bugs me though is that I feel re-inventing the wheel: I haven't followed an education or found a book (a free one that is) that explains me the why's instead of the how's, and I've learned from the A-team that it is the plan that makes it come together. So, armed with my nuby Ruby skills, I decided I wanted to program a virtual store. I figured out the following:
My virtual Store will have:
Products and Services
Inventories
Orders and Shipping
Customers
Now this isn't complex at all. With the help of some cool tools (CMapTools), I drew out some concepts, but quickly enough (thanks to my inferior experience in designing), my design started to bite me. My very first product-line were virtual "laptops". So, I created a class (Ruby):
class Product
attr_accessor :name, :price
def initialize(name, price)
@name = name
@price = price
end
end
which can be instantiated by doing (IRb)
x = Product.new("Banana Pro", 250)
Since I want my virtual customers to be able to purchase more than one product, or various types, I figured out I needed some kind of "Order" mechanism.
class Order
def initialize(order_no)
@order_no = order_no
@line_items = []
end
def add_product(myproduct)
@line_items << myproduct
end
def show_order()
puts @order_no
@line_items.each do |x|
puts x.name.to_s + "\t" + x.price.to_s
end
end
end
that can be instantiated by doing (IRb)
z = Order.new(1234)
z.add_product(x)
z.show_order
Splendid, I have now a very simple ordering system that allows me to add products to an order. But, here comes my real question.
What if I have three models of my product (economy, business, showoff)? Or have my products be composed out of separate units (bigger screen, nicer keyboard, different OS)? Surely I could make them three separate products, or add complexity to my product class, but I am looking for are best practices to design a flexible product object that can be used in the real world, to facilitate a complex system.
My apologies if my grammar and my spelling are with error, as english is not my first language and I took the time to check as far I could understand and translate properly!
Thank you for your answers, comments and feedback!
linq to sql visual studio Object-Relational designer generates C# entity class names same as the table names (except pluralizing it).
so if the table name is authors it generates entity class with name "author". If the table name is Customers it generates class with name "Customer". Is there any option that can be set to
make the designer generate entity class names as pascal cased.
I am using VS 2010 if that makes any difference. Thanks.
what is the difference between loadwith and associatewith. From the articles i read it seems that loadwith is used to load addition data (eg all orders for the customers). While AssociateWith is used to filter data.
Is that a correct understanding? Also it will be nice if someone can explain this with an example based explanation.
I need a simple to use / good docs / good support java lib to read and write word documents, namely word 2007 support (and word 2010 support planned).
As the project I'm in has budget and time-constraints I don't mind buying a commercial lib :) I know they are XML files in a somewhat open format but I really don't want to waste time understanding the XML specification.
Any good recommendations from happy customers?
(Right now my choice is going to Aspose.Words for Java)
Can anyone recommend code or components (open source or commercial) that can be integrated with an existing e-commerce website to do the following:
Allow customers to edit custom text on an image (such as a birthday card)
See a preview of the image with the custom text added
Generate a proof of the image with the customizations
I have been using search engines to try and find this, but am not having much luck. Any help appreciated!
Is there a way to either disable Internet Explorer 8 Developer Tools, or at least change the shortcut key mapping?
I'm working on an ASP.NET AJAX app that has used the F12 key for a function for years (it's actually a hold over from the original DOS app). Customers have used this key for the sam function for nearly 15 years and we'd really like to avoid having to move that function.
Cheers
A while ago I was given the task of updating and extending the functionality of a software project. I was given a year to make the needed changes working solo.
A month into development I came to the conclusion that it would take longer to change the existing product than to rewrite it from the ground up. I'd never attempted a complete rewrite so I talked with my boss about it and he was thrilled with the idea.
I'm a fan of agile development but had never had the opportunity to take advantage of all of the prescribed practices so when I set to work I tried to incorporate as many as I could. I didn't have direct access to the customer and my coworkers (non-programmers) knew the business domain but were already so busy they didn't really have time to participate in design meetings so I resigned to working in the dark and occasionally calling one of them over to my desk to get feedback on my progress. I used TDD and refactored mercilessly and even tried taking a domain driven design approach. Things went well for a while.
As the deadline came closer and the complexity of the project grew my productivity start slipping. I found myself cutting corners and ignoring the practices I had established as the pressure increased to meet the deadline. I also started working late nights and weekends to keep up with the load.
In the end it made little difference how hard I worked. The project missed its deadline and what was completed wasn't enough to give to the customer. I had failed. Not only had I not finished on time but the previous version had sat untouched for almost a year so it wouldn't be of any help. Luckily we had another product that offered some of the same functionality. My boss decided to cancel the project entirely and moved all our orphaned customers to the other product. I spent weeks (along with everyone else at the company) manning the phones providing technical support for those customers. After it was all over, my boss was gracious enough not to fire me for nearly ruining the company. I was moved to the other product and have been trying to redeem myself ever since.
Where did I go wrong? Has anyone else had to deal with this kind of defeat? How did you recover?
I'm setting up an online ordering system but I'm in Australia and for international customers I'd like to show prices in US dollars or Euros so they don't have to make the mental effort to convert from Australian dollars.
Does anyone know if I can pull up to date exchange rates off the net somewhere in an easy-to-parse format I can access from my PHP script ?
UPDATE: I have now written a PHP class which implements this. You can get the code from my website.
Hi all. I have an ecommerce website and I am currently accepting payments from visa, master card and all the other major cards. However, one issue I am having is accepting payment from customers using local debit cards. Say someone from China doesn't have a major credit and he wants to use his local debit card, I want be able to accept payment from him as long as its legal. How do I go about this? Thanks.
We have a Business Listings directory hosted on IIS 6 Windows 2003. Our competitors crawl and steal our content and customers.
We have tried IP blocking using honeypot URLs and log parsing without much success. Is anyone aware of a network device or a proxy server that I can run in front of my web server to minimize this issue?
All suggestions are highly appreciated.
Hi, Could someone help me with the following RegEx query: based on the following rules:
1) 1 letter followed by 4 letters or numbers, then
2) 5 letters or numbers, then
3) 3 letters or numbers followed by a number and one of the following signs: ! & @ ?
You will have to allow customers to input the fidelity card code as a 15-character string, or as 3 groups of 5 chars, separated by one space.
What is a good tool for PDF report generation in Python? I've checked out ReportLab, but it seems to be awfully low-level for what I want to do. My current hunch is to call TeX on the command-line and let it produce the PDF, but if there is something that is easier to work with (and looks professional - We'll send this to customers) I'd very much like a prod in the right direction.