w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML Categories
Software hanging at B.N instruction in disassembler -- No idea what it means
In Cortex-M3, the lowest addresses are not code, but the vector table. For example, entry at 0 is the reset value of SP, at 4 is the reset PC, and the following entries are various exceptions. If we reinterptet the dump as data, we get the following: 00 DCD 0x10089FF0 04 DCD 0x10402BAD 08 DCD 0x10400041 0C DCD 0x10400043 10 DCD 0x10400045 14 DCD 0x10400047 18 DCD 0x10400049 1C DCD 0 20 DCD 0 24 DCD 0 28 DCD 0 2C DCD 0x1040004B 30 DCD 0x1040004D 34 DCD 0 38 DCD 0x1040004F 3C DCD 0x10401645 It becomes obvious that the code has been linked to run from 10400000. If we take that into account, and convert integers to offsets, we get: 00 DCD 0x10089FF0 ; Initial SP 04 DCD 0x10402BAD ; reset PC 08 DCD loc_10400040+1 ; NMI handler 0C DCD loc_10400042+1 ; Hard Fau

Categories : Assembly

is there software for jar file copy protection, or licensing software
Copy protection can't prevent your file to be copied but you can make it fail when it is run on unlicensed machines. Selection of a copy protection mechanism is a matter of budget and time. There are many companies with many products. You can go with not yet cracked technologies like iLok etc. This is applicable for very high revenue cases. But if your target audience is less than 1000 people then a simple in-house solution might work. Consequence of a complex method is typically many calls to support line and unhappy customers. Things got a lot easier after clients are all connected to internet. You can make some simple parts to run on server which a cracker would never dive into for a replacement. Or the app might download the contents from server after installation. Latter is what I d

Categories : Misc

PHP 5.0 ... Want affiliate ID to transfer to all pages
If I understood you right, than you want to track from which affiliate ID a user comes from. I would simply save that information to a cookie or a session variable (which would also use cookies normally). So you can track the user even days later if your new user has decided to register or to use your service. setcookie("AffiliateID", $affiliateID, time()+3600*24*$days);

Categories : PHP

How to get reports from Amazon Affiliate
I use this library, but I don't use the credentials.ini because I've all the credentials in a database. So I changed the example/generic.php to add the credentials programmatically: $email = ...; $password = ...; $network = ...; $networkName = "Amazon"; $networkType = "Publisher"; $credentials = array(); //Path for the cookie located inside the Oara/data/curl folder $credentials["cookiesDir"] = "example"; $credentials["cookiesSubDir"] = $networkName; $credentials["cookieName"] = "test"; $credentials["user"] = $email; $credentials["password"] = $password; $credentials["network"] = $network; $credentials['networkName'] = $networkName; $credentials['type'] = $networkType; //The Factory creates the object $network = Oara_Factory::createInstance($credentials); Oara_Test::testNetwork($net

Categories : PHP

How to embed affiliate link in a frame?
The affilate web page has some javascript which detects when it's embedded in a frame and displays the error you see: var w=window.location; var s=window.self.location; var t=window.top.location; var p=window.parent.location; if(s!==w||s!==t||s!==p){window.document.write("This action is not supported."); I don't think there's anything you can easily do to workaround this.

Categories : HTML

Magento success.phtml adding tracking code for affiliate
try this $order = Mage::getModel('sales/order')->loadByIncrementId($this->getOrderId()); echo "<pre>"; print_r($order->getData()); From the above generated list get all the necessary information. for debugging purpose you should //comment below line $session->clear(); //from successAction of OnepageController this will prevent you from placeing the order again and again,

Categories : Magento

Why do people recommend against using Amazon RDS?
The only thing that you would give up by using RDS, are the logs, unfortunately RDS doesn't provide a full set of logs which sometimes are vital for debugging. If you can live without them and you have a strong testing before going to production then RDS is the way to go.

Categories : Mysql

Myrrix recommend vs recommendToAnonymous
They are nearly identical in speed. The 'anonymous' method has to form a temporary user vector, which takes time proportional to the # of items passed, but this is quite fast. Neither uses any significant memory. The problem with always using the anonymous method is that you would have no data actually in your model then!

Categories : Misc

Easeljs, is it a recommend way to fix the size of container?
Consider a container as a group of objects, not a physical container. Containers give you the ability to transform, translate, cache, and otherwise control multiple items as a single item. They do not really have a physical size, except that of their collective children. There is no width or height mainly due to the cost of calculating the size, especially considering transformations, sub-containers, etc. There may be support added in the future for width/height, but for now its not available.

Categories : HTML

Does setting "idea.jars.nocopy" in idea.properites have any negative impact?
This will reduce the disk usage, but the locking can occur (you will not be able to replace the jar files in the project when the application or IntelliJ IDEA is running). If you don't plan replacing the jars and locking doesn't break your workflow, feel free to set this option to true. Mac/Linux users do not have the locking issue, it's Windows specific.

Categories : Maven

Recommend ways for passing configuration to modules
One solution could be using something like nconf and rely on it to load the right files at the right time. Particularly in your case, I'd go by creating a conf folder in the root of your project with a default.json configuration file. You can then create a global configuration.js that leverages nconf and the newly created file: var nconf = require("nconf") , path = require("path") , environment; nconf.argv().env("_"); environment = nconf.get("NODE:ENV") || "development"; nconf.file("default", path.resolve("config/default.json")); module.exports = nconf.get From the other modules that require the some configuration, you can simply use: var conf = require('configuration.js') conf('NODE_ENV') // print NODE_ENV But it sounds like it's very similar to what you DON't want. The othe

Categories : Node Js

Why does sinatra nginx recipe recommend only 1 worker?
It probably doesn't have anything to do with the relationship between the two, just the fact that whoever wrote the tutorial was using a single processor machine (usually you assign one worker process per core with Nginx).

Categories : Nginx

Stepper to Modify A Date. Bad Idea or Good Idea?
A better approach would be to use a standard UIDatePicker and then configure it with minimumDate, maximumDate, minuteInterval if you need time, datePickerMode of UIDatePickerModeDate if you don't need a time.

Categories : IOS

using PHP to recommend products based on the current view item
Assuming you have your data set up as such. items: +----+-------------+------+ | id | category_id | name | +----+-------------+------+ categories: +----+------+ | id | name | +----+------+ You could use select * from items left join categories on categories.id = items.id where item.category_id = $category_id limit 4 this will pull 4 items from the same category as whatever $category_id is set to. thats as good an answer as i can give with the data you've given.

Categories : PHP

would you recommend using assembly to access arguments in this exceptional case?
No, I would not. Calling conventions may vary (between x86 and x86_64); Parameters could be pushed to the stack or put into register, and I'm not sure you can know for sure where they'll be. Writing this in assembly, unless you really know what you're doing is likely to lead to undefined behavior code.

Categories : C++

Recommend an approach for 'modeling' localized strings for the view?
Using auto-generated resource accessor class (Running PublicResXFileCodeGenerator at compile time) and simply rendering strings in a view using whatever rending engine you prefer is simple and straightforward version. Razor sample below: @* assuming CurrentUICulture is set correctly for whole request *@ <span>@Resource.DirectionsTitle</span> If you need to pass localized strings to JavaScript - rendering in a view in script tag is possible option (don't forget proper encoding).

Categories : C#

Get software's information in WiX from software
The WiX.chm documents all the standard binder variables at the bottom of the topic titled Linker (light). It does not appear the those pieces of information are available. However, it might be something you could work with the WiX toolset community with to get the code added.

Categories : Wix

how to recommend other contents that created by a node author to a visitor in drupal 7?
Contextual filters in View is the easiest / most correct way to accomplish this task. You can create a view that defines a block and shows content of the type you are after. Then by adding a Contextual filter of "Author uid" and selecting the 'provide default value' bullet and choosing User ID from URL, then that block will display content created by that same user. I can offer you some screenshots if that would help. Views is most excellent at performing this task IMO

Categories : Drupal

Recommend data structure for snapshoted data
First question -- sure, at least in Perl you can use any string as a hash key. No limits. Next: evaluate the snapshots sequentially. At snapshot 1, just read everything into memory and assign a counter 0 to each item. Proceed to snapshot 2. At snapshot N, proceed as follows: Anything new is stored in the memory and assigned a count of 0. Anything that was already in memory is kept in the memory with an increased counter. Anything that is in the memory, but is no longer in the current snapshot gets filed to the output file. If you are worried about the size of the log files, instead of Perl's hash use an SQL database, for example SQLite via DBI.

Categories : Python

Best software installation kit for Mac OS X?
It might be rich, but it is not the OS X "style" - I have not seen any installer do that in ages. If you would like to do a tutorial or orientation, I would launch that after the installation business has been completed. BTW, full screen etc are also discouraged on Windows.

Categories : Osx

How can I get all the software link?
Because you only download the first page of content. Just use a loop to donwload all pages: import urllib import urlparse from bs4 import BeautifulSoup for i in xrange(3): url = "http://www.downloadcrew.com/?act=search&page=%d&cat=51" % i pageHtml = urllib.urlopen(url) soup = BeautifulSoup(pageHtml) for a in soup.select("div.productListingTitle a[href]"): try: print (a["href"]).encode("utf-8","replace") except: print "no link" if you do'nt know the count of pages, you can import urllib import urlparse from bs4 import BeautifulSoup i = 0 while 1: url = "http://www.downloadcrew.com/?act=search&page=%d&cat=51" % i pageHtml = urllib.urlopen(url) soup = BeautifulSoup(pageHtml) has_more = 0 for a

Categories : Python

The relationship between SAS software and SID
Both are possible. If your deployment package includes those products, then you might have them installed, even if they are not available per your license (SID file). That depends on what was selected at installation, and when the original deployment package was created. You (or whomever manages installations) could look at the deployment package in SAS Deployment Manager to find out. To answer the question I think you're asking, you could certainly have one deployment package that includes the modules, and use the appropriate SID file to only activate the desired products on the desired machine(s) while still using the same deployment package. You could also install with a SID file that does not contain them and then run a new SID that does contain them later, so long as your deploym

Categories : Sas

Blogging software using Bootstrap on .NET?
Have you had a look at Orchard? It's a great .NET CMS, written in ASP.NET MVC 4. The development is active and the community is growing. It's also very pleasant to work with as far as theming goes. I authored a basic blog theme based on Bootstrap myself which you can download for free in the Orchard Gallery. There is also a plain Bootstrap Theme, which got updated just 12 days ago. I have never worked with BlogEngine.NET, but having worked with SharePoint for quite a while, I try to avoid WebForms at all cost.

Categories : Dotnet

Implementing SSE 4.2's CRC32C in software
Here are both software and hardware versions of CRC-32C. The software version is optimized to process eight bytes at a time. The hardware version is optimized to run three crc32q instructions effectively in parallel on a single core, since the throughput of that instruction is one cycle, but the latency is three cycles. /* crc32c.c -- compute CRC-32C using the Intel crc32 instruction * Copyright (C) 2013 Mark Adler * Version 1.1 1 Aug 2013 Mark Adler */ /* This software is provided 'as-is', without any express or implied warranty. In no event will the author be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it f

Categories : C++

PLC Program Reference Software
I was wondering, because ages ago I developed PLC software and even then (end of the 80s) our programming software had a pretty decent cross reference generator on board, so with access to whatever programming console your PLC vendor uses you can probably generate cross reference listings and annotated versions of the software. But especially with older machines the quest for a programming console can be nearly impossible. As a plan B option, but one that still beats " unstructured" digitizing, and if the code is really basic ladder, without too much " function blocks" as our PLC vendor calls them, the Soapbox Snap open source ladder editor might be a tool you could use to document your code? As it's open source written in a popular up to date language (C#) it can probably even be exten

Categories : Misc

Is This a Software Design Pattern?
This is a good thing because you can filter the inputs and outputs in a standard way. You can do validation and additional processing. You can also validate inputs so that the inner/virtual method can rely on certain conditions to be true. I usually use the suffix "Core" (GetBarCore).

Categories : C#

Can I tell which software generated a PDF file?
You can try opening the file in Adobe Read and look at the properties. You can find this in: File -> Properties in Adobe Reader after you open the pdf file.

Categories : Pdf

PhpBB's automod like software for php
The reason that a system doesn't exist outside of phpBB is because it's an incredibly poor way to manage modifications. Your question does not make it clear what you want to gain from this, but since it is your own code, you should definitely not look to copy something so awful. For “patching” code If you want the ability to apply updates to your code, then you should look at handling it through version control. For instance, you could develop and test in a local git repository, and once you are happy, push the changes to the server. You have many options here from a basic update script to a fully-fledged Continuous Integration solution. phpBB have implemented a solution for patching code on your live site via a Web interface, which has many issues with security, verifiability and m

Categories : PHP

Card emulation via software NFC
2) Card emulation by software should definitely be possible, but not exposed in current Android APIs. You will have to dig deeper into the libnfc-nxp (and possibly below). This might be a difficult one though. This feature is offered on Inside Secure's chips, as shown in their OpenNFC reference implementation. The only question is whether it requires a CLF firmware change. If not, then you can hack it into a software image. The caveats are, however, that you will lack the following features : - security (an Android app is not as secure as a smartcard) - fast and predictable response times (well, depends how you code it probably) - card emulation running when phone is off I believe SEOS is based on ISO14443-4 and not Mifare. This means you would need a secure element to run it. 1) Not

Categories : Android

Testing software on windows 8
Use non-OEM version. As a person that is actively involved with development of paravirtualized drivers for Windows VMs and their certification with MS I think your IT department is not doing a good job.

Categories : Testing

Internationalizing java software
Have a read of this trail as it should answer most of your questions. For web applications we use the standard facilities offered by JavaEE. That essentially means passing a message bundle into a JSF page and then using mark up that looks like this #{msg.hello} in the page. "msg" is the name of the message bundle and "hello" is the key that will be used to look up the translated string. The translations are all held in properties files which have a standardized format and naming convention. The process works in much the same way for client applications although I don't feel it's quite as smooth As I understand it professional translators have software that will load properties files and assist them in producing the translations. Adding comments to your properties files is useful so th

Categories : Java

tfs preview and software licenses
I'm going to assume you're using the hosted build controller. If so, you can't install software on those machines as they use standard base images and are reset after each build. Any builds where you want/need custom software installed are best done using your own build server, either with an on premise machine or an IAAS VM in Azure. For reference the software included on the hosted build servers is listed here.

Categories : Tfs

UDK Learning Help For A Software Engineer‏
In Unreal Development Kit as a Software Engineer you should know C++ , UnrealScript and Kismet. UDK Videos: Intro: UDK.com 3D Buzz Video Tutorials. UDK Kismet : 3dbuzz.com/training/view/unreal-development-kit/kismet. UnrealScript: 3dbuzz.com (unreal-tournament-2003-2004 unrealscript ). Books in Order of Importance 2013 : UnrealScript: Unreal Development Kit Programming with UnrealScript (Must Read Books)(Reading Order 4° ). UnrealScript: Unreal Development Kit Programming Cookbook (Reading Order 3° ). UDK Kismet : Mastering UDK Game Development (Reading Order 2° ). UDK Kismet : Unreal Development Kit Programming Game Design Cookbook (Reading Order 1° ). Documentation : UDK.com General programming with native code and UnrealScript. Total time 1 or 2 Year.

Categories : Misc

WPF 4+ software rendering still an issue?
This list is still accurate. This is covered on MSDN's page regarding Graphics Rendering Tiers. The second labeled as "The following features and capabilities are not hardware accelerated:" lists the specific criteria that can cause non-accellerated rendering in WPF. This includes: TileBrush Content rendered via RenderTargetBitmap Any printed output Surfaces exceeding the graphics hardware's maximum texture size Layered windows on Windows XP.

Categories : Wpf

Making a software setup for Mac OS
OS X applications are usually distributed as self contained app bundles that don't require an installer. It seems that Mono provides a package maker that help to create .app bundles from Mono projects: http://www.mono-project.com/MonoMacPackager

Categories : Osx

Software sales errors
You need to declare the variable Sales. For example: int Sales = 99; The loss-of-precision errors are because you are assigning float values to int variables. While this is sometimes treated as a warning, it usually indicates an error and requires either declaring the proper variable types or using an explicit cast. Possibly you should declare the variables to be float. Alternatively, do all the calculations in integer cent values and avoid potential round-off errors. Not that you asked about this, but Java naming conventions are for variables to be camel case and start with a lower-case letter: sales instead of Sales (and totalSales instead of TotalSales, if you had such a variable name).

Categories : Java

C++ software architecture and design
The inner class in C++ is not like it is in Pascal. It's just paled in the "namespace" of the outer class, but no other thing is changed. It sees only its own members, and the instance is unrelated to the outer one. If you want the relation, you must pass an instance of the outer somehow, say in the constructor. Then you can access members through that pointer or reference.

Categories : C++

Installing a software using Makefile
You need to compile to an object file using the -c switch for gcc. This performs compilation but does not link your program, meaning that you can have a reference (such as the someFunctionDefinedInX) which is not yet resolved. Later, when you need to perform final compilation and link in that reference, use gcc myFirstUnlinkedObj.o mySecondUnlinkedObj.o. This will look at all of the object files, find all of the undefined references, and look them up in the other object (or source, if any) files. It then links them all together in your final executable. You can find a good explanation of what an object file is in this question. A makefile which could perform these steps for you could look like this (minus your install target): x-as-func.o: gcc -c x-as-func.c my-exe-file: x-as-fu

Categories : C

Pyglet: Unstable fps when using Vsync... and no other software
Ok, I think I understand what is happening. In order to understand the behavior, I wrote to a file the time and frame rate everytime I drew a frame. I also used a "GPU task manager" to get information on the GPU load at a specific time (GPU-Z). When I have a lot of applications running in the back ground, my application runs fine and the GPU load is around 25%. When I do not have a lot of applications running in the back ground, my application is constantly out of sync, the CPU load is higher and the GPU load is around not steady. I made the observations on 2 different implementations of my code, and monitored GPU + CPU activity for 15 minutes each time. At first, I assumed that the CPU was taking all of the load... but it seems I was wrong.

Categories : Opengl

Multi language software to run on two platforms
That may refer to Font. make sure you have fonts available in windows. This is a link to a unicode to un-unicode converter. it may be useful

Categories : Java

© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.