Namespace AzureFromTheTrenches.Commanding.Abstractions
Classes
CommandFrameworkConfigurationException
Exception raised when the commanding system configuraiton is invalid
CommandHandlerOrder
Suggested orders for command handler pipelines
CommandingDependencyResolver
CommandingDependencyResolverAdapter
An adapter that enables the commanding framework to be used with any IoC container
SecurityPropertyAttribute
Used to mark command properties as a security risk and for extensions to behave appropriately. For example UserId, if normally obtained from a claim, would be dangerous to serialize through a REST API and the Asp.Net extensions will interpret this and ensure that it is excluded from binding
Interfaces
IAuditItemEnricher
Implementations of this interface can add additional properties to audit items
ICancellableCommandHandler
A command handler that takes a cancellation token
ICancellableCommandHandler<TCommand>
Can be implemented to provide basic command handling capabilites where no result is required and cancellation token support is required
ICancellableCommandHandler<TCommand, TResult>
Can be implemented to provide basic command handling capabilites where a result and cancellation token support is required
ICancellablePipelineAwareCommandHandler
A pipeline aware command handler that can cancel pipeline execution and takes a cancellation token
ICancellablePipelineAwareCommandHandler<TCommand, TResult>
Can be implemented to provide basic command handling capabilites where a result and cancellation token support is required and the handler wishes to be able to halt the command handler execution pipeline
ICommand
Represents a command
ICommand<TResult>
Represents a command that returns a result
ICommandAuditor
Interface that auditors must implement
ICommandAuditorFactory
Implementations of this interface create auditors for given types of command
ICommandAuditPipeline
Represents an audit pipeline
ICommandAuditSerializer
Serializer used by the audit pipeline
ICommandCorrelationIdProvider
Implementations of this interface will generate correlation IDs for use across the command system - used to group commands together including nested commands (a command is fired that invokes a handler that fires another command etc.)
ICommandDispatchContext
Context information used during command dispatch and execution to track and correlate commands
ICommandDispatchContextEnricher
Allows the command dispatch context to be enriched
ICommandDispatcher
This is the primary interface for applications to dispatch commands through.
ICommandExecuter
ICommandExecutionExceptionHandler
This interface can be implemented to catch and handle errors that occur in execution
ICommandHandler
A basic command handler
ICommandHandler<TCommand>
Can be implemented to provide basic command handling capabilites where no result is required
ICommandHandler<TCommand, TResult>
Can be implemented to provide basic command handling capabilites where a result is required
ICommandHandlerBase
Base interface for all command handlers
ICommandHandlerFactory
Creates command handlers given their type
ICommandingDependencyResolver
ICommandingDependencyResolverAdapter
An adapter that enables the commanding framework to be used with any IoC container
ICommandingRuntime
Represents a runtime for the commanding system. Manages some shared configuration.
ICommandRegistry
Allows command handlers to be registered
IDirectCommandExecuter
The direct command executer should be used in scenarios where dispatch has not occurred in the same process (for example during remote execution)
IFrameworkCommandDispatcher
Base interface for command dispatch. Most people should use the derived ICommandDispatcher interface. This interface is primarily intended to allow decorators to be built with IoC containers that require a build step.
If a deferred dispatcher is not registered then the command will also be run at the point of dispatch.
This allows for configuration based behaviour modification.
IFrameworkCommandExecuter
Implementations of this interface execute commands immediately using the registered set of actors
IIdentifiableCommand
An interface that can be implemented on a command to provide a unique ID the auditor can use. This can be useful if you need to correlate the audit with external events that naturally form part of your command model.
IOptions
Interface that represents the options that can be specified when configuring the commanding runtime
IPipelineAwareCommandHandler
A pipeline aware command handler that can cancel pipeline execution
IPipelineAwareCommandHandler<TCommand, TResult>
Can be implemented to provide basic command handling capabilites where a result is required and the handler wishes to be able to halt the command handler execution pipeline
IPrioritisedCommandHandler
Associates a command handler (type) with it's priority / order in the pipeline.
IQueueableCommand
Represents a command that can be queued.


Register
Login
Home
Atiku Abubakar
Online
Activities
Create Parties
Manage Parties
Create Offices
Create Party
Create Office
Office Type
Federal
Legislative
State
LGA
Party
Action
PDP
Edit
Delete
APC
Edit
Delete
LP
Edit
Delete
YPP
Edit
Delete


GOP Sen. Kennedy on Impeachment Inquiry: 'It's Not Only Dumb' -- 'It's Dangerous' | Breitbart
by Trent BakerIn a Friday interview with Fox News Channel’s “America’s Newsroom,” Sen. John Kennedy (R-LA) issued a stark warning for the House Democrats’ impeachment process over the alleged quid pro quo demand during a phone call between President Donald Trump and Ukraine President Volodymyr Zelensky.
Kennedy said the process is “not only dumb,” but it is also “dangerous” because it could lead to future “partisan impeachment” pushes.
“This whole process is not only dumb, but it’s dangerous,” Kennedy cautioned. “This is going to be the first partisan impeachment in the history of our country, and I’m worried that it’s going to establish a new normal. Some day we’ll have a Democratic president and then half of the country will be pushing us to impeach him or her. They’ll say, ‘Well, you did it to Trump, now do it to the new president.’ And I think that’s dangerous.”
Follow Trent Baker on Twitter @MagnifiTrent


| Id | Title | Body |
|---|---|---|
| 773 | How do I use Python's itertools.groupby()? | I haven't been able to find an understandable explanation of how to actually use Python's
I've reviewed the documentation, and the examples, but I've had trouble trying to apply them beyond a simple list of numbers. So, how do I use of |
| 783 | NaN | Can you show us your code? The example on the Python docs is quite straightforward:
So in your case, data is a list of nodes, keyfunc is where the logic of your criteria function goes and then You must be careful to sort the data by the criteria before you call |
| 7286 | NaN | As Sebastjan said, you first have to sort your data. This is important. The part I didn't get is that in the example construction
Here's an example of that, using clearer variable names:
This will give you the output:
In this example, The Here, In the above Here's a slightly different example with the same data, using a list comprehension:
This will give you the output:
|
| 2311 | File size differences after copying a file to a server vÃa FTP | I have created a PHP-script to update a webserver that is live inside a local directory. I'm migrating the script into Python. It works fine for the most part, but after a PUT command the size of the file appears to change. Thus, the size of the file is different from that of the file on the server. Once I download again the file from the FTP server, the only difference is the CR/LF mark. This annoys me because the same script is comparing the size of the files to update. Also, in case it means anything, the script works perfectly in PHP vÃa ftp_put.
Any suggestions? |
| 2316 | NaN | Do you need to open the locfile in binary using
|
| 2317 | NaN | Well if you go under the properties of your file in Windows or a *nix environment, you will notice two sizes. One is the sector size, and one is the actual size. The sector size is the number of sectors in bytes that are used up on your hard disk. That is because two files cannot be in the same sector with most modern file systems, so if your file fills up half of the sector the whole sector is marked as filled. So you might be comparing the sector file size to the actual file size on the FTP server or vice versa. |
| 2510 | NaN | Small files take up a whole node on the filesystem whatever size that is. My host tends to report all small files as 4kb in ftp but in a shell gives an accurate size so it might be a 'feature' common to ftp clients. |
| 10123 | How do I treat an integer as an array of bytes in Python? | I'm trying to decode the result of the Python os.wait() function. This returns, according to the Python docs:
How do I decode the exit status indication (which is an integer) to obtain the high and low byte? To be specific, how do I implement the decode function used in the following code snippet:
|
| 10129 | NaN | This will do what you want:
|
| 10132 | NaN | You can unpack the status using bit-shifting and masking operators.
I'm not a Python programmer, so I hope got the syntax correct. |
| 10148 | NaN | The folks before me've nailed it, but if you really want it on one line, you can do this:
EDIT: Had it backwards. |
| 10213 | NaN | To answer your general question, you can use bit manipulation techniques:
However, there are also built-in functions for interpreting exit status values:
See also:
|
| 535 | Continuous Integration System for a Python Codebase | I'm starting work on a hobby project with a python codebase and would like to set up some form of continuous integration (i.e. running a battery of test-cases each time a check-in is made and sending nag e-mails to responsible persons when the tests fail) similar to CruiseControl or TeamCity. I realize I could do this with hooks in most VCSes, but that requires that the tests run on the same machine as the version control server, which isn't as elegant as I would like. Does anyone have any suggestions for a small, user-friendly, open-source continuous integration system suitable for a Python codebase? |
| 538 | NaN | One possibility is Hudson. It's written in Java, but there's integration with Python projects: I've never tried it myself, however. (Update, Sept. 2011: After a trademark dispute Hudson has been renamed to Jenkins.) |
| 541 | NaN | We run Buildbot - Trac at work, I haven't used it too much since my code base isn't part of the release cycle yet. But we run the tests on different environments (OSX/Linux/Win) and it sends emails --and it's written in python. |
| 660 | NaN | Second the Buildbot - Trac integration. You can find more information about the integration on the Buildbot website. At my previous job, we wrote and used the plugin they mention (tracbb). What the plugin does is rewriting all of the Buildbot urls so you can use Buildbot from within Trac. (http://example.com/tracbb). The really nice thing about Buildbot is that the configuration is written in Python. You can integrate your own Python code directly to the configuration. It's also very easy to write your own BuildSteps to execute specific tasks. We used BuildSteps to get the source from SVN, pull the dependencies, publish test results to WebDAV, etcetera. I wrote an X10 interface so we could send signals with build results. When the build failed, we switched on a red lava lamp. When the build succeeded, a green lava lamp switched on. Good times :-) |
| 1829 | How do I make a menu that does not require the user to press [enter] to make a selection? | I've got a menu in Python. That part was easy. I'm using The problem is that
It would be great to have something like
|
| 1840 | NaN | On Linux:
import sys import select import termios import tty def getkey(): old_settings = termios.tcgetattr(sys.stdin) tty.setraw(sys.stdin.fileno()) select.select([sys.stdin], [], [], 0) answer = sys.stdin.read(1) termios.tcsetattr(sys.stdin, termios.TCSADRAIN, old_settings) return answer print """Menu 1) Say Foo 2) Say Bar""" answer=getkey() if "1" in answer: print "foo" elif "2" in answer: print "bar" |
| 1852 | NaN | On Windows:
|
| 1870 | NaN | Wow, that took forever. Ok, here's what I've ended up with
It fails hard using IDLE, the python...thing...that comes with python. But once I tried it in DOS (er, CMD.exe), as a real program, then it ran fine. No one try it in IDLE, unless you have Task Manager handy. I've already forgotten how I lived with menus that arn't super-instant responsive. |
| 1885 | NaN | The reason msvcrt fails in IDLE is because IDLE is not accessing the library that runs msvcrt. Whereas when you run the program natively in cmd.exe it works nicely. For the same reason that your program blows up on Mac and Linux terminals. But I guess if you're going to be using this specifically for windows, more power to ya. |
| 5419 | Python, Unicode, and the Windows console | When I try to print a Unicode string in a Windows console, I get a Edit: I'm using Python 2.5. Note: @LasseV.Karlsen answer with the checkmark is sort of outdated (from 2008). Please use the solutions/answers/suggestions below with care!! @JFSebastian answer is more relevant as of today (6 Jan 2016). |
| 5430 | NaN | Note: This answer is sort of outdated (from 2008). Please use the solution below with care!! Here is a page that details the problem and a solution (search the page for the text Wrapping sys.stdout into an instance): Here's a code excerpt from that page:
There's some more information on that page, well worth a read. |
| 8020 | NaN | The cause of your problem is NOT the Win console not willing to accept Unicode (as it does this since I guess Win2k by default). It is the default system encoding. Try this code and see what it gives you:
if it says ascii, there's your cause ;-) You have to create a file called sitecustomize.py and put it under python path (I put it under /usr/lib/python2.5/site-packages, but that is differen on Win - it is c:\python\lib\site-packages or something), with the following contents:
and perhaps you might want to specify the encoding in your files as well:
Edit: more info can be found in excellent the Dive into Python book |
| 12592 | Can you check that an exception is thrown with doctest in Python? | Is it possible to write a doctest unit test that will check that an exception is raised? |
| 12609 | NaN | Yes. You can do it. The doctest module documentation and Wikipedia has an example of it.
|
| 11060 | How should I unit test a code-generator? | This is a difficult and open-ended question I know, but I thought I'd throw it to the floor and see if anyone had any interesting suggestions. I have developed a code-generator that takes our python interface to our C++ code (generated via SWIG) and generates code needed to expose this as WebServices. When I developed this code I did it using TDD, but I've found my tests to be brittle as hell. Because each test essentially wanted to verify that for a given bit of input code (which happens to be a C++ header) I'd get a given bit of outputted code I wrote a small engine that reads test definitions from XML input files and generates test cases from these expectations. The problem is I dread going in to modify the code at all. That and the fact that the unit tests themselves are a: complex, and b: brittle. So I'm trying to think of alternative approaches to this problem, and it strikes me I'm perhaps tackling it the wrong way. Maybe I need to focus more on the outcome, IE: does the code I generate actually run and do what I want it to, rather than, does the code look the way I want it to. Has anyone got any experiences of something similar to this they would care to share? |
| 11074 | NaN | I started writing up a summary of my experience with my own code generator, then went back and re-read your question and found you had already touched upon the same issues yourself, focus on the execution results instead of the code layout/look. Problem is, this is hard to test, the generated code might not be suited to actually run in the environment of the unit test system, and how do you encode the expected results? I've found that you need to break down the code generator into smaller pieces and unit test those. Unit testing a full code generator is more like integration testing than unit testing if you ask me. |
| 11128 | NaN | Yes, results are the ONLY thing that matters. The real chore is writing a framework that allows your generated code to run independently... spend your time there. |
| 11235 | NaN | If you are running on *nux you might consider dumping the unittest framework in favor of a bash script or makefile. on windows you might consider building a shell app/function that runs the generator and then uses the code (as another process) and unittest that. A third option would be to generate the code and then build an app from it that includes nothing but a unittest. Again you would need a shell script or whatnot to run this for each input. As to how to encode the expected behavior, it occurs to me that it could be done in much the same way as you would for the C++ code just using the generated interface rather than the C++ one. |
| 11443 | NaN | Recall that "unit testing" is only one kind of testing. You should be able to unit test the internal pieces of your code generator. What you're really looking at here is system level testing (a.k.a. regression testing). It's not just semantics... there are different mindsets, approaches, expectations, etc. It's certainly more work, but you probably need to bite the bullet and set up an end-to-end regression test suite: fixed C++ files -> SWIG interfaces -> python modules -> known output. You really want to check the known input (fixed C++ code) against expected output (what comes out of the final Python program). Checking the code generator results directly would be like diffing object files... |
| 1854 | How to check what OS am I running on in Python? | What do I need to look at to see if I'm on Windows, Unix, etc? |
| 1857 | NaN |
See: platform â Access to underlying platformâs identifying data |
| 1871 | NaN | Dang -- lbrandy beat me to the punch, but that doesn't mean I can't provide you with the system results for Vista!
|
| 1879 | NaN | For the record here's the results on Mac:
|
| 1983 | Python: what is the difference between (1,2,3) and [1,2,3], and when should I use each? | In many places, When should I use one or the other, and why? |
| 1987 | NaN | The list [1,2,3] is dynamic and flexible but that flexibility comes at a speed cost. The tuple (1,2,3) is fixed (immutable) and therefore faster. |
| 2277 | NaN | From the Python FAQ:
Generally by convention you wouldn't choose a list or a tuple just based on its (im)mutability. You would choose a tuple for small collections of completely different pieces of data in which a full-blown class would be too heavyweight, and a list for collections of any reasonable size where you have a homogeneous set of data. |
| 4595 | NaN | Tuples are a quick\flexible way to create composite data-types. Lists are containers for, well, lists of objects. For example, you would use a List to store a list of student details in a class. Each student detail in that list may be a 3-tuple containing their roll number, name and test score.
Also, because tuples are immutable they can be used as keys in dictionaries. |
| 5719 | NaN | As others have mentioned, Lists and tuples are both containers which can be used to store python objects. Lists are extensible and their contents can change by assignment, on the other hand tuples are immutable. Also, lists cannot be used as keys in a dictionary whereas tuples can. |
| 5746 | NaN | If you can find a solution that works with tuples, use them, as it forces immutability which kind of drives you down a more functional path. You almost never regret going down the functional/immutable path. |
| 12454 | NaN | Whenever I need to pass in a collection of items to a function, if I want the function to not change the values passed in - I use tuples. Else if I want to have the function to alter the values, I use list. Always if you are using external libraries and need to pass in a list of values to a function and are unsure about the integrity of the data, use a tuple. |
| 12557 | NaN | The notion of tuples are highly expressive:
|
| 5313 | Cross Platform, Language Agnostic GUI Markup Language? | I learned Swing back in the day but now I've moved to Python and want to make some apps with GUIs. I haven't had the time to learn a new GUI API so I've been using Jython, but I would prefer to use CPython. It would be great if I can have one simple markup that allows me to switch GUI libraries. It would be even better if I can use the same markup language across languages so I can quickly make GUIs for any language I'm using. Does anyone know of such a markup/library? I've seen markups like Glade and wxWidget's markup (I forget the name). They're partly what I'm looking for (making a GUI without coding it in a language) but they're intertwined with a specific library. And neither are really nice looking or friendly to human editting. |
| 5319 | NaN | erm.. HTML? (trying to be funny here... while we wait for real answers..) |
| 5320 | NaN | The wxWidgets (formerly known as wxWindows) library might be what you're looking for. There's a particularly good port for Python, wxPython, as well as versions for different languages -- C#, C++, Perl and Ruby come to mind -- and for various GUIs: Win32, Mac OS X, GTK+, X11, Motif, WinCE. The library's been around for a while and is pretty solid. |
| 5340 | NaN | Not sure if this is what you're looking for, but there's Glade (or Windows download) which is a designer for GTK+. It generates an XML file which can then be used to build the GUI in a number of different languages. |
| 5343 | NaN | Qt (pronounced "cute" by its creators[1]) is a cross-platform application development framework, widely used for the development of GUI programs. Qt uses C++ with several non-standard extensions implemented by an additional pre-processor that generates standard C++ code before compilation. Qt can also be used in several other programming languages; bindings exist for Ada (QtAda)[4], C# (Qyoto/Kimono)[5], Java (Qt Jambi)[6], Pascal, Perl, PHP (PHP-Qt), Ruby (RubyQt), and Python (PyQt). It runs on all major platforms, and has extensive internationalization support. Non-GUI features include SQL database access, XML parsing, thread management, network support and a unified cross-platform API for file handling. |
| 6616 | NaN | XML User Interface Language. Don't know much about it so not sure if it meets your desires. Post back with your experience if you play with it. |
| 7496 | NaN | I read a little on XML User Interface Language (XUL) and it looks really robust and well supported. The main problem for me is it's tied to the Gecko rendering engine so it's cross platform the way wxWidgets, QT and GTK+ are cross platform. Also, there Python bindings don't seem as good as those other libraries. GladeXML and XRC seem like better markups |
| 8109 | NaN | @Cristian and Antony Cramp: while XUL is a nice choice for UI development (cross-platform, open-source licensed, used in Firefox and other major software), it's certainly not language agnostic. You're tied to Gecko, with JS for scripting. There is experimental support for Python scripting, but it's only experimental, AFAIK. You can define the UI in XUL+JS and use back-end components written in C++ though (there are Python and Java bridges available too). |
| 8114 | NaN | I seriously doubt you're going to find a markup language for GIU's that's not tied to a specific library. For such a thing to exist, there would need to be a standardized GUI markup language, with several implementations. |
| 1476 | How do you express binary literals in Python? | How do you express an integer as a binary number with Python literals? I was easily able to find the answer for hex:
and octal:
How do you use literals to express binary in Python? Summary of Answers
|
| 1478 | NaN | As far as I can tell Python, up through 2.5, only supports hexadecimal & octal literals. I did find some discussions about adding binary to future versions but nothing definite. |
| 1479 | NaN | I am pretty sure this is one of the things due to change in Python 3.0 with perhaps bin() to go with hex() and oct(). EDIT: lbrandy's answer is correct in all cases. |
| 1484 | NaN |
Another way. |
| 972 | Adding a Method to an Existing Object Instance | I've read that it is possible to add a method to an existing object (e.g. not in the class definition) in Python, I think this is called Monkey Patching (or in some cases Duck Punching). I understand that it's not always a good decision to do so. But, how might one do this? UPDATE 8/04/2008 00:21:01 EST: That looks like a good answer John Downey, I tried it but it appears that it ends up being not a true method. Your example defines the new patch function with an argument of It looks like Python isn't really treating it as a method, but more just as a variable which happens to be a function (and as such is callable). Is there any way to attach an actual method to a class? Oh, and Ryan, that isn't exactly what I was looking for (it isn't a builtin functionality), but it is quite cool nonetheless. |
| 982 | NaN | In Python monkey patching generally works by overwriting a class or functions signature with your own. Below is an example from the Zope Wiki:
That code will overwrite/create a method called speak on the class. In Jeff Atwood's recent post on monkey patching. He shows an example in C# 3.0 which is the current language I use for work. |
| 984 | NaN | I don't know Python syntax, but I know Ruby can do it, and it is rather trivial. Let's say you want to add a method to Array that prints the length to standard out:
If you don't want to modify the whole class, you can just add the method to a single instance of the array, and no other arrays will have the method:
Just be aware of the issues involved in using this feature. Jeff Atwood actually wrote about it not too long ago. |
| 2982 | NaN | In Python, there is a difference between functions and bound methods.
Bound methods have been "bound" (how descriptive) to an instance, and that instance will be passed as the first argument whenever the method is called. Callables that are attributes of a class (as opposed to an instance) are still unbound, though, so you can modify the class definition whenever you want:
Previously defined instances are updated as well (as long as they haven't overridden the attribute themselves):
The problem comes when you want to attach a method to a single instance:
The function is not automatically bound when it's attached directly to an instance:
To bind it, we can use the MethodType function in the types module:
This time other instances of the class have not been affected:
More information can be found by reading about descriptors and metaclass programming. |
| 4600 | NaN | What you're looking for is
|
| 4942 | How to sell Python to a client/boss/person with lots of cash | When asked to create system XYZ and you ask to do it in Python over PHP or Ruby, what are the main features you can mention when they require you to explain it? |
| 4958 | NaN | Focus on the shorter time needed for development/prototype and possibly easier maintenance (none of this may apply against Ruby). |
| 4978 | NaN | This is one of those cases that really boil down to personal preference or situational details. If you're more comfortable and experienced with Python, then say so. Are they asking you to justify it because they're more comfortable with one of the other environments? After you're done, will the system be passed off to someone else for long-term maintenance? If they ask you to use a technology or language that you're not as familiar with, then make sure they know up-front that it's going to take you longer. |
| 5014 | NaN | I would consider that using python on a new project is completely dependent on what problem you are trying to solve with python. If you want someone to agree with you that you should use python, then show them how python's features apply specifically to that problem. In the case of web development with python, talk about WSGI and other web libraries and frameworks you could use that would make your life easier. One note for python is that most of the frameworks for python web development can be plugged right into any current project. With ruby on rails, you're practically working in a DSL that anyone who uses your project will have to learn. If they know python, then they can figure out what you are doing with django, etc in a day. I'm only talking about web development because it appears that's what you are going to be working on seeing ruby, python and PHP in the same list. The real message that's important is applying to whatever it is you like about python directly to some problem you are trying to solve. |
| 594 | cx_Oracle: How do I iterate over a result set? | There are several ways to iterate over a result set. What are the tradeoff of each? |
| 595 | NaN | The canonical way is to use the built-in cursor iterator.
You can use
It can be convenient to use this to create a Python list containing the values returned:
This can be useful for smaller result sets, but can have bad side effects if the result set is large.
If you know there's a single row being returned in the result set you can call
Finally, you can loop over the result set fetching one row at a time. In general, there's no particular advantage in doing this over using the iterator.
|
| 469 | How can I find the full path to a font from its display name on a Mac? | I am using the Photoshop's javascript API to find the fonts in a given PSD. Given a font name returned by the API, I want to find the actual physical font file that that font name corresponds to on the disc. This is all happening in a python program running on OSX so I guess I'm looking for one of:
|
| 497 | NaN | open up a terminal (Applications->Utilities->Terminal) and type this in:
This will spit out every file that has the name you want. Warning: there may be alot to wade through. |
| 518 | NaN | I haven't been able to find anything that does this directly. I think you'll have to iterate through the various font folders on the system: |
| 3040 | NaN | Unfortunately the only API that isn't deprecated is located in the ApplicationServices framework, which doesn't have a bridge support file, and thus isn't available in the bridge. If you're wanting to use ctypes, you can use ATSFontGetFileReference after looking up the ATSFontRef. Cocoa doesn't have any native support, at least as of 10.5, for getting the location of a font. |
| 5102 | How do you set up Python scripts to work in Apache 2.0? | I tried to follow a couple of googled up tutorials on setting up mod_python, but failed every time. Do you have a good, step-by step, rock-solid howto? My dev box is OS X, production - Centos. |
| 5129 | NaN | There are two main ways of running Python on Apache. The simplest would be to use CGI and write normal Python scripts while the second is using a web framework like Django or Pylons. Using CGI is straightforward. Make sure your Apache config file has a cgi-bin set up. If not, follow their documentation (http://httpd.apache.org/docs/2.0/howto/cgi.html). At that point all you need to do is place your Python scripts in the cgi-bin directory and the standard output will become the HTTP response. Refer to Python's documentation for further info (https://docs.python.org/library/cgi.html). If you want to use a web framework you'll need to setup mod_python or FastCGI. These steps are dependent on which framework you want to use. Django provides clear instructions on how to setup mod_python and Django with Apache (http://www.djangoproject.com/documentation/modpython/) |
| 5165 | NaN | Yes, mod_python is pretty confusing to set up. Here's how I did it. In httpd.conf:
and in your application directory:
Repeat the configuration for each python program you wish to have running under mod_python. |
| 5168 | NaN | Are you running Python on UNIX or Windows? An alternative to mod_python and FastCGI is mod_wsgi. You can find out more at modwsgi I have built and installed this on Solaris without problems. I had previously tried mod_python but ran into problems with shared libraries as part of the build. There are good install docs available. |
| 8948 | Accessing mp3 Meta-Data with Python | What is the best way to retrieve mp3 metadata in python? I've seen a couple frameworks out there, but I'm unsure as to which would be the best to use.... Any ideas? |
| 8972 | NaN | This toolkit may do what you need. I can't say if it's the "best", but really, if it does what you need, that's all that matters, right? HTH |
| 8974 | NaN | A simple example from the book Dive Into Python works ok for me, this is the download link, the example is fileinfo.py. Don't know if it's the best, but it can do the basic job. The entire book is available online here. |
| 8976 | NaN | It can depend on exactly what you want to do in addition to reading the metadata. If it is just simply the bitrate / name etc. that you need, and nothing else, something lightweight is probably best. If you're manipulating the mp3 past that PyMedia may be suitable. There are quite a few, whatever you do get, make sure and test it out on plenty of sample media. There are a few different versions of ID3 tags in particular, so make sure it's not too out of date. Personally I've used this small MP3Info class with luck. It is quite old though. |
| 9358 | NaN | What you're after is the ID3 module. It's very simple and will give you exactly what you need. Just copy the ID3.py file into your site-packages directory and you'll be able to do something like the following:
|
| 10845 | NaN | I've used mutagen to edit tags in media files before. The nice thing about mutagen is that it can handle other formats, such as mp4, FLAC etc. I've written several scripts with a lot of success using this API. |
| 8692 | How to use Xpath in Python? | What is the library? Is there a full implementation? How is the library used? Where is its website? |
| 8699 | NaN | The lxml package supports xpath. It seems to work pretty well, although I've had some trouble with the self:: axis. There's also Amara, but I haven't used it personally. |
| 9171 | NaN | PyXML works well.  You can set
In the worst case you may have to build it yourself. This package is no longer maintained but still builds fine and works with modern 2.x Pythons. Basic docs are here. |
| 10846 | NaN | The latest version of elementtree supports XPath pretty well. Not being an XPath expert I can't say for sure if the implementation is full but it has satisfied most of my needs when working in Python. I've also use lxml and PyXML and I find etree nice because it's a standard module. NOTE: I've since found lxml and for me it's definitely the best XML lib out there for Python. It does XPath nicely as well (though again perhaps not a full implementation). |
| 502 | Get a preview JPEG of a PDF on Windows? | I have a cross-platform (Python) application which needs to generate a JPEG preview of the first page of a PDF. On the Mac I am spawning sips. Is there something similarly simple I can do on Windows? |
| 536 | NaN | You can use ImageMagick's convert utility for this, see some examples in http://studio.imagemagick.org/pipermail/magick-users/2002-May/002636.html :
|
| 7073 | NaN | Is the PC likely to have Acrobat installed? I think Acrobat installs a shell extension so previews of the first page of a PDF document appear in Windows Explorer's thumbnail view. You can get thumbnails yourself via the IExtractImage COM API, which you'll need to wrap. VBAccelerator has an example in C# that you could port to Python. |
| 7090 | NaN | ImageMagick delegates the PDF->bitmap conversion to GhostScript anyway, so here's a command you can use (it's based on the actual command listed by the
where This is good for two reasons:
Other things to consider: with the files I've tested, PNG compresses better than JPEG. If you want to use PNG, change the |
| 3061 | Calling a function of a module from a string with the function's name in Python | What is the best way to go about calling a function given a string with the function's name in a Python program. For example, let's say that I have a module I need to get the return value of the function, which is why I don't just use |
| 3071 | NaN | Assuming module
As far as that goes, lines 2 and 3 can be compressed to:
if that makes more sense for your use case. You can use |
| 4605 | NaN | Patrick's solution is probably the cleanest. If you need to dynamically pick up the module as well, you can import it like:
|
| 2933 | How can I create a directly-executable cross-platform GUI app using Python? | Python works on multiple platforms and can be used for desktop and web applications, thus I conclude that there is some way to compile it into an executable for Mac, Windows and Linux. The problem being I have no idea where to start or how to write a GUI with it, can anybody shed some light on this and point me in the right direction please? |
| 2937 | NaN | First you will need some GUI library with Python bindings and then (if you want) some program that will convert your python scripts into standalone executables. Cross-platform GUI libraries with Python bindings (Windows, Linux, Mac) Of course, there are many, but the most popular that I've seen in wild are:
Complete list is at http://wiki.python.org/moin/GuiProgramming Single executable (Windows)
Single executable (Linux)
Single executable (Mac)
|
| 2941 | NaN | You don't need to compile python for Mac/Windows/Linux. It is an interpreted language, so you simply need to have the Python interpreter installed on the system of your choice (it is available for all three platforms). As for a GUI library that works cross platform, Python's Tk/Tcl widget library works very well, and I believe is sufficiently cross platform. Tkinter is the python interface to Tk/Tcl From the python project webpage:
|
| 2980 | NaN | Since python is installed on nearly every non-Windows OS by default now, the only thing you really need to make sure of is that all of the non-standard libraries you use are installed. Having said that, it is possible to build executables that include the python interpreter, and any libraries you use. This is likely to create a large executable, however. MacOS X even includes support in the Xcode IDE for creating full standalone GUI apps. These can be run by any user running OS X. |
| 12166 | NaN | An alternative tool to py2exe is bbfreeze which generates executables for windows and linux. It's newer than py2exe and handles eggs quite well. I've found it magically works better without configuration for a wide variety of applications. |
| 12167 | NaN | I'm not sure that this is the best way to do it, but when I'm deploying Ruby GUI apps (not Python, but has the same "problem" as far as .exe's are concerned) on Windows, I just write a short launcher in C# that calls on my main script. It compiles to an executable, and I then have an application executable. |


I have a strong knowledge on Java , HTML, CSS, Bootstrap javaScript, nodejs ,react and Data Structures. I have Created several versatile projects from scratch.
I am a quick learner and can adapt to the requirements. I spend my leisure time participating in coding competitions on different platforms. Apart from the technical stuff I play chess, basketball and I love to do graffiti.
View ResumeVisit the website to meet the fun robots, where user can search, filter and browse the robots gallery.Website is build using react, javaScript, html .Do checkout the awesome website.
Find the best upcoming Startup events in your town. Get ready to explore startups.Visit for all the biggest events.
Beautifully designed virtual piano where the user can learn to use piano with the wide range of provided library. Also a live piano embedded to website.


First Post
Hello Hugo world! No more excuses for having no blog or documentation now!
The remaining content of your post.
A Hugo theme for creative and technical writing
Hello Hugo world! No more excuses for having no blog or documentation now!
The remaining content of your post.


A tale written in blood. A mystery to uncover. A journey of self discovery and retribution. Freja and the False Prophecy is a dark 2d action-adventure game set in the world of norse mythology.
A conflict at sea leaves Freja with nothing but her Axe. She washes up on shore, barely alive, to find a great malady has gripped the land. With all her comrades lost, Freja must set off alone to uncover a tale of greed and corruption.
You'll play as our fallible heroine as you travel through the nine realms of Yggdrasil in search of answers and revenge. From Muspelheim, the land of fire to Helheim, the land of the dishonoured dead.
Venture through unique worlds that are crafted with attention to detail and populated with nefarious creatures out to cut you down in your tracks.
Wage war with the gods.
Brought to you by Unsigned Double, a small development studio based in Cape Town, South Africa.
Sign up to our newsletter to keep abreast of our progress.
Connect with us!


{{error}}
×
Host
User
Password
Name
Configurate
Execute
Query
Configurate
Execute
#
{{col}}
{{index+1}}
{{row[col]}}


git ch ipc-step0
(before)
Points :
IQuotationService
in Contracts
Points:
public class Quotation
{
public DateTime Timestamp { get; set; }
public decimal BidPrice { get; set; }
public decimal AskPrice { get; set; }
public string SecurityCode { get; set; }
}
git ch ipc-step1
(after)
QuotationService
in QuotationModule
class QuotationService : IQuotationService
{
private readonly Quotation[] array =
{
new Quotation {AskPrice = 10.50m, BidPrice = 10.55m, SecurityCode = "ING.S.NYSE"},
new Quotation {AskPrice = 12.50m, BidPrice = 12.55m, SecurityCode = "ING.B.NYSE"},
new Quotation {AskPrice = 10.70m, BidPrice = 10.75m, SecurityCode = "AAPL.B.NASDAQ"},
new Quotation {AskPrice = 11.50m, BidPrice = 11.55m, SecurityCode = "AAPL.S.NASDAQ"},
new Quotation {AskPrice = 16.50m, BidPrice = 16.55m, SecurityCode = "MSFT.B.NASDAQ"},
new Quotation {AskPrice = 17.50m, BidPrice = 17.55m, SecurityCode = "ING.B.AEX"},
new Quotation {AskPrice = 10.51m, BidPrice = 10.59m, SecurityCode = "ING.S.AEX"},
};
public Quotation[] GetQuotations(string exchange, string instrument, DateTime @from, DateTime to)
{
var result = array.Where(q => q.SecurityCode.Contains(exchange));
if (!string.IsNullOrWhiteSpace(instrument))
result = result.Where(q => q.SecurityCode.Contains(instrument));
return result.ToArray();
}
public Quotation[] GetQuotations(string securityCode, DateTime @from, DateTime to)
{
return array.Where(q => q.SecurityCode == securityCode).ToArray();
}
}
git ch ipc-step2
(after)
OrderingService
in SalesModule
IQuotationService
Points:
public interface IOrdersService
{
void PlaceSellLimitOrder(string securityCode, decimal sellingPrice, DateTime validUntil);
void PlaceBuyLimitOrder(string securityCode, decimal buyingPrice, DateTime validUntil);
LimitOrder[] GetLimitOrders();
}
public class LimitOrder
{
public string SecurityCode { get; set; }
public DateTime PlacedAt { get; set; }
public OrderType Type { get; set; }
public decimal Price { get; set; }
public DateTime ValidUntil { get; set; }
}
public enum OrderType
{
Sell,
Buy
}
git ch ipc-step3
(after)
PortfolioService
in PortfolioModule
Points:
Contracts
assembly because it will be called from the UI, which will be hosted in a different process.(the point of this demo is not necessarely the communication between BE and FE, which might be done differently from the communication between BE components.However in most cases it is done in the same way, therefore it makes sense to add it in contracts.)
git ch ipc-step4
(after)
Show that at this point the modules and services are not linked
A lightweight library that handles the startup of an app. We benefit for two main aspects
Install iQuarc.AppBoot
for the projects in \Modules\
iQuarc.AppBoot.Unity
is installed only in the host (the rest do not need to depend on Unity)The ConsoleHost
be the process that will host the BE services
git ch ipc-step5
(adds ConsoleUi withIPortfolioService
)
IPortfolioService
as example and explain how it should be resolved through DI / ServiceLocator
git ch ipc-step6
(before)
bin
folder, so they can be loaded in Debug envServiceAttribute
git ch ipc-step6a
(ConsoleUi completed)
Points
Install-Package Microsoft.AspNet.WebApi.OwinSelfHost
Install-Package iQuarc.AppBoot.WebApi
git ch ipc-step7
(basic Web API self host)
IQuotationService
it publishes it
git ch ipc-step7a
(to show below: QuotationService published)
git ch ipc-step7b
(to show below)
Points:
References only to Contracts
Look at the Project Dependency Diagram
ConsoleUi and ConsoleHost load the QuotationServices (and all of the other services) in their process.
When someone calls the /api/Portfolio/
the PortfolioService impl calls (in process) the IQuotationsService
They do Type Discovery: the implementation is loaded only if its dll
is deployed
The QuotationsController
could be generalized to have a generic host for all services it finds
OrdersController
, PortfolioController
)PublicServiceAttribute : ServiceAttribute
to find themAppBoot
could be extended to know about the PublicServiceAttribute
and make the registration based on it too
git ch ipc-step8
(to show below)
Infrastructure
)Microsoft.AspNet.WebApi.Client
git ch ipc-step8a
(to show below)
PortfolioServiceProxy
as being the simplest
Portfolio.csproj
but on the proxy
git ch ipc-step8b
(before points, to show below)
Points:
ConsoleUi
loads service implementations AND / OR proxies
ConsoleUi
may act like a FE app if does not load service implementations.
ConsoleUi
may call services in-process or inter-process
PortfolioService
and w/ QuotationService
PortfolioServiceProxy
othewise the non-deterministic behavior may make this tricky to demo)
ConsoleUi
loads the QuotationServices.dll
and PortfolioService.dll
we would expect a in-process communicationPortfolioService
may get a proxy to call the QuotationService
this result in a inter-process communitcation between PortfolioSerivce
and QuotationService
ConsoleUi
loads only proxies, the communication between PortfolioSerivce
and QuotationService
happens on the ConsoleHost
only, in process!ServicePoxyAttribute
and ServiceProxyRegistrationBehavior
git ch ipc-step9
(below points. Start coding, thench
)
AppBootEx
csprojServicePoxyAttribute
from scrachServiceProxyRegistrationBehavior
:public sealed class ServiceProxyRegistrationBehavior : IRegistrationBehavior
{
public IEnumerable<ServiceInfo> GetServicesFrom(Type type)
{
IEnumerable<ServiceProxyAttribute> attributes = type.GetAttributes<ServiceProxyAttribute>false);
return attributes.Select(a => new ServiceInfo(a.ExportType, type, string.Empty, ifetime.AlwaysNew));
}
}
git ch ipc-step9a
(below points)
ServiceProxyRegistrationBehavior
in the Program.cs
at AppBoot.Bootstrapp()
ServiceProxyAttribute
Points:
ConsoleUi
\bin\
then we have inter-process communication with the Console Host!ServiceProxyRegistrationBehavior
to ConsoleHost
and host each service in its own process
git ch ipc-step10
(below points. Start coding, thench
)
Register the service behavior and load the Proxies dll:
AppBootBootstrapper.cs
add:
.AddRegistrationBehavior(new ServiceProxyRegistrationBehavior());
|| filename.StartsWith("Proxies.")
To have more instnaces of the ConsoleHost, and allow distributed system for the BE we need to:
app.config
different ports for each service
git ch ipc-step10a
Points:
Inter-process / In-process communication ONLY throug deployment
st-10
, and build the entire solution and run startAll.bat
)Quotation.Services.dll
into the bin of the Sales server and repeat the callsProxies
Look at the Project Dependency Diagram
ConsoleUi
and ConsoleHost
) do NOT referens the modules. They don't know what they will host. They can host anythingContracts
and are linked by the Infrastructure
Open Points / Questions:
When 'ConsoleHost' loads Sales and Quotation modules it publishes all their services. This means that even if Quotation services are publised by another host, someone could call it from the Sales host
Local services should also be wrapeed in Proxies for in-process calls.


Hello Beautiful, please provide us some details to let us get back to you
Please tick the boxes that you think is applicable to your skin


Here are some of the film festivals we will be attending this year.
Please contact us if you would like more information.
Sundance Film Festival
Park City, Utah, Usa
20 - 30 January 2011
Tropfest
Sydney, Australia
20 February 2011
South by Southwest
Austin, Texas, USA
11 - 20 March 2011
London Independent Film Festival
London, UK
15 - 24 April 2011
Cannes International Film Festival
Cannes, France
11 - 22 May 2011


Dominic Raab summons Chinese ambassador over Hong Kong consulate employee’s ‘torture’
The Foreign Secretary has summoned the Chinese ambassador after a former employee of the UK’s Hong Kong consulate alleged he was tortured in China.
Dominic Raab asked to meet China’s UK representative, after Simon Cheng, a Hong Kong citizen who worked for the UK government for two years, was held in China for 15 days in August.
Mr Cheng, 29, told the BBC he was “shackled, blindfolded, and hooded” and claims he was beaten and forced to sign confessions.
He was accused of inciting political unrest in Hong Kong.
- Hong Kong police increase pressure on students in campus siege
- Hong Kong police storm university campus after all-night standoff
- Hong Kong police officer hit by arrow amid continuing protests
Sorry, this content isn't available on your device.
Mr Cheng said his captors “said they work for the secret service and that there are no human rights.
“They would beat the bony parts, like my ankles… or any vulnerable part.”
Mr Cheng said the Chinese authorities accused Britain of supporting demonstrations in Hong Kong.
He recalled: “They said I’m a state enemy and I’m a traitor, and also they asked whether the consulate instructed me to mingle with the protest.”
He added: “They wanted to know what role the UK had in the Hong Kong protests – they asked what support, money, and equipment we were giving to the protesters.
“I told them I want to make it 100% clear, the UK didn’t assign resources or help with the protests.”
Unrest in the city state began in the summer with calls to scrap a now-suspended extradition bill, but have now widened to protest against the way Hong Kong is administered by Beijing.
Dominic Raab has said the Government was “shocked and appalled” by Mr Cheng’s treatment which he believes “amounts to torture”.
He said: “Simon Cheng was a valued member of our team.
“I summoned the Chinese Ambassador to express our outrage at the brutal and disgraceful treatment of Simon, in violation of China’s international obligations.
“I have made clear we expect the Chinese authorities to investigate and hold those responsible to account.”


ReSmith Blog
home
Credit
Photos
Photos by
Hifdzul Muhammad Siregar
on
Unsplash
Chandelier in Medan Indonesia
Icons
Icons by
Google


This is just and example "Desktop/we experience" site you can delete the entire example folder. This site is only to show that the site is running and was built in less than 10 minutes.
The example data and styles on this site are just quick css classes for rendering content out
in a way that looks half way decent and while you can use them for your own stuff keep in mind
that they are super quick and dirty just so you have something to see when you load up the newly
created site.


MICHAEL A film review by Scott Renshaw Copyright 1996 Scott Renshaw
(New Line) Starring: John Travolta, Andie MacDowell, William Hurt, Bob Hoskins, Robert Pastorelli. Screenplay: Pete Dexter & Jim Quinlan and Nora Ephron and Delia Ephron. Producers: Sean Daniel, James Jacks. Director: Nora Ephron. MPAA Rating: PG (profanity, adult themes) Running Time: 100 minutes. Reviewed by Scott Renshaw.
Nora Ephron still has a lot to learn about making movies. Yes, she has shown that she has her finger on what audiences want to see in a romantic comedy, both as a writer (WHEN HARRY MET SALLY...) and as a director (SLEEPLESS IN SEATTLE), but when it comes to her sense of narrative as a film-maker, she has proven to be on a downward learning curve. SLEEPLESS coasted on the charm of its stars and a painstakingly manufactured sense of whimsy; MIXED NUTS collapsed into a chaotic holiday mess. In MICHAEL, Ephron attempts to meld genial romantic comedy with irreverent fantasy, and the result is one of the most mis-guided high-concept films to come out of Hollywood in years.
William Hurt stars as Frank Quinlan, a former investigative reporter now writing for a Chicago-based supermarket tabloid. Frank has had trouble proving to his editor (Bob Hoskins) that he understands what the tabloid audience wants, but a letter arrives for Frank which may save his job. A woman in Iowa named Pansy Milbank (Jean Stapleton) claims that an angel is living with her, and Frank heads out to investigate with his colleague Huey (Robert Pastorelli) and an "angel expert" named Dorothy Winters (Andie MacDowell). What they find is no ordinary, halo-wearing angel, however: it is the archangel Michael (John Travolta), an overweight chain-smoker with a very real set of wings. Michael agrees to be photographed for the paper, but only if they drive back to Chicago, and thus begins a very odd road trip with one of the heavenly host.
The story for MICHAEL is co-credited to Pete Dexter (PARIS TROUT, RUSH), which leads me to believe that it was a very different story in an earlier incarnation. An eccentric angel enjoying a final go-around on earth is an interesting concept, and John Travolta certainly appears to be having a great time with it. His early scenes are a riot -- a slovenly descent of the stairs, dragging wings behind his bloated bare chest, followed by a breakfast of alarmingly over-sugared Frosted Flakes -- but then he becomes strangely sedate, even when he gets into a barroom brawl. As an over-eager celestial rascal, Michael could have been an entertaining character to follow, but Ephron appears worried that a lusty angel might be too offensive. Even when he has a one-night stand with a waitress, Travolta maintains a smiling serenity rather than a bit of the devil.
Ephron and her sister Delia probably contributed the romantic plot to the mix, a plot which eventually subsumes Michael's story entirely. Hurt, playing yet another variation on his emotionally wounded ACCIDENTAL TOURIST persona, is the lost soul in need of redemption; MacDowell does a predictable turn as a sketchy dog trainer-cum-aspiring country singer. Michael's mission seems to be to bring these two uncertain people together, and the story ultimately is about their development. They are never nearly as interesting as Michael, though, and this budding romance usually acts as a distraction between the angel's unpredictable pranks. It is difficult to get wrapped up in the subtleties of a relationship while you're watching John Travolta lead a seductive dance to "Chain of Fools" or head-butt a bull into animatronic submission.
MICHAEL is unfocused and disappointing for nearly all of its running time, but it is in the final twenty minutes that it becomes absolutely insufferable. A sub-plot finds Pastorelli's Huey the owner of a dog with a popular column in the tabloid, and little Sparky ends up playing a depressingly significant role in the proceedings. When the dog's fate after a run-in with a truck becomes MICHAEL's major plot point, you know Ephron is willing to do absolutely anything to crank up the audience's sympathy. She stages a drawn-out death scene which is a complete cheat; she violates her own rules of angelic interaction with humanity to provide the happy ending. She doesn't give a single character a consistent personality (except Hoskins as the grouchy editor), and she makes indefensible choices in editing and shot selection which break up momentum and make two-thirds of the frame useless. In short, nearly every decision Nora Ephron makes leads you to the conclusion that she had no idea how to make MICHAEL a cohesive, coherent film. I think MICHAEL was supposed to be about someone who needed guidance. I'm fairly sure it was made _by_ someone who needed guidance.
On the Renshaw scale of 0 to 10 angels with dirty faces: 3.
Visit Scott Renshaw's MoviePage http://www-leland.stanford.edu/~srenshaw Subscribe to receive reviews directly via email See details on the MoviePage
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Sinatra and HTTP
Today we were given a challenge to solve deaf grandma via Sinatra and HTTP. I've come to see Sinatra as just a DSL gem, with HTTP routes as its specific language. Let's walk through the process of using HTTP routes considering the user side MVC accordingly.
Step 1: Bundle
The very first thing we start off with is bundle command to load all required gems for this application that are stored in the Gemfile. We aslo have a environment.rb in our config folder to set up links so that we don't have to require/require_relative the most often used gems.
Step 2: Controllers.
As there are no databases in this challenge, we don't have to deal with ORM and setting up migrations. By running the shotgun gem on a sinatra app, you continuously update your local web server.
The user inputs a request into the URL and you need to create the HTTP routes on the server side.(These routes are solely located inside the controller.)
As a user calls the most basic root route '/', he is redirected to a particular view(line 4 sets up an index.erb in the view folder). Line 2 sets up a query string where users can type ?grandma=(whatever) in the URL to use the params[:grandma] (params pass in objects from the URL)
Step 3: Views
The index.erb called on line 4 in controller will take you to a html file that allows ruby within certain symbols (<% %>).
Lines 3-5 in the view allow for Grandma to puts the result of @grandma (or specifically what ?grandma= returns in the URL for the query string.) Line 4 where (Grandma says:) is HTML, the string "" on line 4 is embedded ruby (@grandma)
Line 11 is setting a form to a post route "/grandma". Line 14 is setting a text box to a paraams[:user_input]. Because of line 11 you need to go back to the controller and create a post route '/grandma' to output the params[:user_input]. Back on the controllers file, line 9 where you put redirect to will run your query string.


{% extends "layout_task-list.html" %} {% block page_title %} Money Claims Prototype {% endblock %} {% block home_link %} ../../task-list {% endblock %} {% block proposition_header %} {% set my_account="2" %} {% include "includes/propositional_navigation.html" %} {% endblock %} {% block content %} {% include "includes/phase_banner_beta.html" %} Back Tell us what you think Warning You won't get a reply to feedback left here. Contact us if you need a response. {% include 'prototypes/prototype-apr-2019/includes/contact.html' %} {% endblock %}
Contact us if you need a response.


Founders
President and CFO
Chief Executive Officer
Chief in Operations
Core Team
Arunit KumarBhagalpur
Backend Team lead
PrashantGuwahati
Web Development Executive
Vibhanshu JainRaichur
Frontend Team lead
Bhopal
Lucknow
Dharwad
Nagpur
Pune
Sonepat
Kurnool
Una
Kota
Allahabad
Kalyani
Raichur
Ranchi
Divyansh Tripathi Dharwad
Team Lead
Satya SakethTirchy
Guwahati
Surat
Achalesh LakhotiyaKota
Anant MehraKota
Editor in Chief
VirajithaKurnool
Gwalior
Nikhil RatnakarJabalpur
Shashwat GuptaGwalior
Jabalpur
Vadodara
Piyush GuptaPune
Prashant KatiyarGuwahati
Kottayam
Tiruchirapalli
Nishant MouryaKota
Abhishek KumarRanchi


The Algorithmist::Arrow Shape Demo
This demo illustrates interactive creation of vertical or horizontal arrows. Many shapes can be defined by a bounding rectangle and a small number of parameters. This process is illustrated with the arrow by dragging a bounding rectangle and supplying two additional parameters. The polygon vertex coordinates are queried from the Arrow class and the arrow is drawn using EaselJS.
Enter Arrow length as fraction of total (not arrowhead length)
Enter Arrow width as fraction of total (not arrowhead width)
Select the orientation, then arrow (not arrowhead) length as a fraction of the total length. then click and drag a rectangle in the drawing area to create the arrow.


{% extends "pagebase.html" %} {% block header %} Thank You {% endblock %} {% block body %}
Expect a response within 24 hours, and dont be afriad to send another!


In this article we will have a look at Trend Micro Scanmail (SMEX) 10. This is the latest version of Trend Micro’s antivirus/antispam solution for Microsoft Exchange Server.
The product can be used with Exchange 2003, 2007 and the most current version of 2010. Let’s start with having a look at the new features of SMEX 10.
New features
Just like Exchange 2010 Trend Micro has also introduced the Role Based access. Using this method of assigning permissions it will let you create templates and assign those templates to users.
Another nice addition to the product is the ability to use AD objects in the policies you configure. This will give you the ability to create policy for a specific AD group. For example, you have got a group of developers in your company. These developers must have the ability to receive specific file types which are blocked by the default policy. In this scenario you can exclude the developers group from the default policy and apply the custom created policy.
SMEX 10 contains two types of reputation services:
- Web reputation (WRS), which will check all url’s in a message
- E-mail reputation (ERS), which checks the IP-address of the sending mail server
Especially the last option can decrease the amount of spam/viruses messages which will have to be processed by the policy or arriving at the end users mailbox.
The Web Reputation Services (WRS) feature included in SMEX will check every e-mail for malicious URL’s. By enabling WRS you will add an extra detection layer on top of the Anti-spam/Anti-virus technology which is already used by the product. WRS can detect “0-Day” attack, as well as recently new type of spam and phishing attack like “Here you are “ spam and spear phishing.
If you are having a Trend Micro SmartScan server deployed you can configure SMEX 10 to use it. The advantage of using the smartScan method compared to the conventional scanning method is that the footprint on the server is smaller. This is caused by the fact that the pattern files are a lot smaller. Another advantage is better detection. Cloud side (Trend file reputation service) always deploys latest anti-malware knowledge which is ahead of conventional anti-malware pattern.
In the picture below you see how the process works:
As last major change, besides the optimization of the product, is integration of Data Leakage Prevention (DLP) Policies. Using these default DLP policies you can prevent data being leaked via e-mail from your company to the outside world.
The installation of SMEX 10 is pretty easy. But before starting the installation add the CGI component to the IIS server. Once this is done the setup can be launched. One of the first steps in the setup will ask you which Exchange version you have deployed. If deploying it on an Exchange 2007 or 2010 Server you must specify if you are installing it on an Edge or on a Hub Transport/Mailbox Server.Depending on the roles installed on your server a set of scan methods are available. For example on a mailbox server a mail store scan can be performed. While on a Hub Transport server scanning can be done during transport.
In the next step you will need to add one or multiple servers. This can either be done by adding a server manually or via the browse option. In this last scenario make sure you enable the Computer Browser service which might be disabled by default depending on your OS.
Next step is to provide the credentials of an account which is a member of the Organization Management Exchange security group. If you are planning to use the End User Quarantine option this account also needs to have domain admin permissions.
By default the installation will be performed on the C drive of the server. Scanmail will need to install a web application for management purposes. By default an additional website will be created in IIS for this purpose. Another option is to place it in the default website. My recommendation is to install it in a separate site. The reason for this is that Exchange uses the default website by default for all Exchange Web Services.
Optionally you can select the option to enable SSL. When enabling this option a self-signed certificate will be installed for the website.
The next step will verify if all prerequisites have been met. If this is not the case you will be warned and you will need to solve these issues before you can continue.
Because Scanmail will retrieve its updates from the internet you may need to provide a proxy server. If this is not the case leave the option unselected. After providing the activation key you get the option to participate in the World Virus Tracking Program. This program will gather real time data for the Virus Map of Trend Micro.
As already mentioned Scanmail will have the option to place spam messages in a specific folder. Scanmail will give you to options:
- Integrate with Outlook Junk Mail
- Integrate with EUQ which is a separate folder created by Scanmail
Personally I prefer the Outlook Junk Mail as this will provide users with one location where they can find they’re quarantined messages.
If you are having multiple Trend Micro solutions you might have implemented Trend Micro Control Manager. This program will give you the ability to manage all Trend Micro products via one interface.
Because of the Active Directory integration the setup will give you the option to select an Active Directory group which has access permissions to the Access Console.
Before starting the installation you will get a short summary. If you are satisfied with the settings then continue and start the installation.


Undo states are visualized as red/black bars in the timeline. Grey bars are events. Yellow bars are undone events. Red bar's length represents the undo state's relative regeneration cost.


Tanmya1449.github.io
2018 FIFA World Cup - Wikipedia. Konig Dvr 404 V.2 Bedienungsanleitung. The 2018 FIFA World Cup was the 21st FIFA World Cup, an international football tournament contested by the men's national teams of the member associations of FIFA once every four years.


Please be courteous to other users of the testbed and make sure your lease represents a responsible
use of Chameleon resources and complies with our
best practices.
Chameleon operators reserve the right to terminate leases judged to be abusive.
For leases shorter than 24 hours, use a lease length of zero days.


Request a Free Quote
Brook presents your services with flexible, convenient and cdpose layouts. You can select your favorite layouts & elements for.
Brook presents your services with flexible, convenient and cdpose layouts. You can select your favorite layouts & elements for.


If this option is checked, the assertions are added at runtime to all the methods and parameters, annotated with @NotNull annotations. The lists of annotations is configurable (click the button Configure annotations... to the right).
@NotNull


DroneNav
Dashboard
(current)
Book
(current)
Locations
(current)
Information
(current)
Help
(current)
My Account
Settings
Logout
{% block content %} {% endblock %}


| DOSE: |
repeated |
smoked |
Opium |
(tar / resin) |
| |
repeated |
smoked |
Cannabis |
(plant material) |
Tremendous high last night at HD - took a while to get me there, but after about 5-6 bongs of opium and 2-3 strong joints, and 90 minutes, I was gloriously spannered. My very favourite part of these experiences is the visual element, especially the clever and hugely entertaining ways I find to alter my perceptions of my surroundings. This begins with mild to heavy 'visuals', by which I think people mean hallucinatory effects which render flexible the visual apprehension of objects and patterns. Most, or almost all of my visuals, are animal-based: a pattern on the glass door of the hi-fi unit became, in turn, a peacock, a boy riding the peacock while playing the bongo, a cutlery set, a large fish passing in front of the legs of the peacock, etc.
The best thing about these visuals, apart from the quality whereby they mutate so imaginatively and effortlessly, is the totally *convincing* nature of each individual perception - 'Of course it's a monkey playing the dulcimer, and I'm just stunned that I've never noticed that before, because it can't possibly be anything else!' As if the entire universe had become a particularly fertile Rorschatt blott.
This fun and games I always enjoy unreservedly, as there are rarely negative or paranoid patterns in my visions, but they have a big brother, only accessible under a much stronger high. I got there last night. I became quite recklessly forgetful of where I was, focussing and fantasising freely upon the moment.
Walking around is great - I only agreed to go home because that's where my Minidisc was - because I was able to convince myself that any visual/fantasy experience I had could be made *real*. For a few seconds, if I really let this take over, I can convince myself pretty absolutely that I'm not just walking into my resort, but that this is a hillside residence I've been invited to on the coast of Tunisia [though I was in Thailand at the time] - everything, for a moment, then combined to make this alternative reality come alive. I *feel* like I'm in Tunisia. Or, about to walk into a Columbian drug lord's hacienda for the final showdown - and then the sounds, sensations and visual aspects all click seemlessly together and I'm really *there*.
I could trick my brain, for a few sentences, to believe that the Thai being spoken on TV was actually English. It worked, after a fashion. But there was a barrier to this, a face and voice which appeared and strongly intoned 'Do NOT try to extend the vision'. If I tried to, this face would return. So, I just rode along for the brief moments of each experience, always wishing to extend it, to create more visual alterations so that the drug lord's hacienda would be recreated in full, but it never worked.
Music, however, is unfailing. I had made my choice before going out to dinner - Adams. I'd had a number of tremendously involved, very stoned, musical experiences over the last week or two, with Bach's B Minor Mass and Rautavarra's staggering 'Cantus Arcticus'. As my composing skills develop, I love these fine, highly-concentrated listenings for the clear insight they provide into compositional methods, orchestration, harmony and, somewhat, structure.
Never was this more true than when listening to Adams 'El Dorado' and his Violin Concerto. I was able to answer an important question - Yes, Adams does know what he's doing. He's not just scribbling down any old partially-tonal idea that he can think of. The almost complete lack of melody, which is the linchpin of my own music, instead affords him an opportunity to organise his sounds in new ways, namely harmonically.
It became true that I could to the same, because I felt like I'd watched Adams do it. Marvellous. No wonder getting high promotes artistic experiment and changes in musical direction - you get a sneak peak of how to do it, and of how satisfying and fun it's going to be, before you even think about sitting down to write. I adore all of this and it likes me straight back.
I described pot, years ago, as having done something 'identifiably negative to the inside of my head'. I hereby assert the reverse - even the paradise of [place name] is made more heavenly when high, and I feel creatively boosted, as if I could turn my hand, now, to any art or pursuit I can name. I think I'll stick with music, though, and lots of it.
(The Following Night)
At the tail end of a pretty massive opium and pot high. Describing this is useful in several ways: it is curious to see how pot and opium affect the way I write; it was a super evening, worthy of being adequately recorded,; and tonight's high was very different to last night's, in interesting ways.
We smoked almost all of the remainder of our second gram, 15-20 chillums' worth, and I had 3-4 strong joints of my own. Firstly, one of the biggest differences from last night was my level of concentration an lucidity, created in part by drinking two cans of iced coffee, which was excellent for stopping me from spacing out as totally as I had last night. This felt very high, but alert and able to carry out tasks (skinning up, and even walking home smoothly and successfully) and hold down relatively elaborate conversations (about 'Fahrenheit 911', which we found on DVD today).
This was pleasing. I hated the exhausted, monged-out state I was in last night, but that kind of high might be necessary to achieve the more convincing visuals I had yesterday. Tonight's were gentler, still persuasive and still entertaining, especially two roses on a mattress which became tomato-headed guards on patrol, or two ornate dragons which became bisons, a depiction of hell and other odd creatures but there was not the immersion in inventive fantasies I so relished, and tried to extend, yesterday.
I *was* able, quite briefly, to persuade myself that we were in Mexico, not Thailand, but having explained this relocation to J, in an attempt to stimulate her own hallucinations, it vanished.
[There is a lot more about the film]. I ramble, and I tire. A superb night. A little music now, and a long, deep sleep.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


"""distutils.msvccompiler Contains MSVCCompiler, an implementation of the abstract CCompiler class for the Microsoft Visual Studio. """ # Written by Perry Stoll # hacked by Robin Becker and Thomas Heller to do a better job of # finding DevStudio (through the registry) import sys, os from distutils.errors import \ DistutilsExecError, DistutilsPlatformError, \ CompileError, LibError, LinkError from distutils.ccompiler import \ CCompiler, gen_lib_options from distutils import log _can_read_reg = False try: import winreg _can_read_reg = True hkey_mod = winreg RegOpenKeyEx = winreg.OpenKeyEx RegEnumKey = winreg.EnumKey RegEnumValue = winreg.EnumValue RegError = winreg.error except ImportError: try: import win32api import win32con _can_read_reg = True hkey_mod = win32con RegOpenKeyEx = win32api.RegOpenKeyEx RegEnumKey = win32api.RegEnumKey RegEnumValue = win32api.RegEnumValue RegError = win32api.error except ImportError: log.info("Warning: Can't read registry to find the " "necessary compiler setting\n" "Make sure that Python modules winreg, " "win32api or win32con are installed.") pass if _can_read_reg: HKEYS = (hkey_mod.HKEY_USERS, hkey_mod.HKEY_CURRENT_USER, hkey_mod.HKEY_LOCAL_MACHINE, hkey_mod.HKEY_CLASSES_ROOT) def read_keys(base, key): """Return list of registry keys.""" try: handle = RegOpenKeyEx(base, key) except RegError: return None L = [] i = 0 while True: try: k = RegEnumKey(handle, i) except RegError: break L.append(k) i += 1 return L def read_values(base, key): """Return dict of registry keys and values. All names are converted to lowercase. """ try: handle = RegOpenKeyEx(base, key) except RegError: return None d = {} i = 0 while True: try: name, value, type = RegEnumValue(handle, i) except RegError: break name = name.lower() d[convert_mbcs(name)] = convert_mbcs(value) i += 1 return d def convert_mbcs(s): dec = getattr(s, "decode", None) if dec is not None: try: s = dec("mbcs") except UnicodeError: pass return s class MacroExpander: def __init__(self, version): self.macros = {} self.load_macros(version) def set_macro(self, macro, path, key): for base in HKEYS: d = read_values(base, path) if d: self.macros["$(%s)" % macro] = d[key] break def load_macros(self, version): vsbase = r"Software\Microsoft\VisualStudio\%0.1f" % version self.set_macro("VCInstallDir", vsbase + r"\Setup\VC", "productdir") self.set_macro("VSInstallDir", vsbase + r"\Setup\VS", "productdir") net = r"Software\Microsoft\.NETFramework" self.set_macro("FrameworkDir", net, "installroot") try: if version > 7.0: self.set_macro("FrameworkSDKDir", net, "sdkinstallrootv1.1") else: self.set_macro("FrameworkSDKDir", net, "sdkinstallroot") except KeyError as exc: # raise DistutilsPlatformError( """Python was built with Visual Studio 2003; extensions must be built with a compiler than can generate compatible binaries. Visual Studio 2003 was not found on this system. If you have Cygwin installed, you can try compiling with MingW32, by passing "-c mingw32" to setup.py.""") p = r"Software\Microsoft\NET Framework Setup\Product" for base in HKEYS: try: h = RegOpenKeyEx(base, p) except RegError: continue key = RegEnumKey(h, 0) d = read_values(base, r"%s\%s" % (p, key)) self.macros["$(FrameworkVersion)"] = d["version"] def sub(self, s): for k, v in self.macros.items(): s = s.replace(k, v) return s def get_build_version(): """Return the version of MSVC that was used to build Python. For Python 2.3 and up, the version number is included in sys.version. For earlier versions, assume the compiler is MSVC 6. """ prefix = "MSC v." i = sys.version.find(prefix) if i == -1: return 6 i = i + len(prefix) s, rest = sys.version[i:].split(" ", 1) majorVersion = int(s[:-2]) - 6 if majorVersion >= 13: # v13 was skipped and should be v14 majorVersion += 1 minorVersion = int(s[2:3]) / 10.0 # I don't think paths are affected by minor version in version 6 if majorVersion == 6: minorVersion = 0 if majorVersion >= 6: return majorVersion + minorVersion # else we don't know what version of the compiler this is return None def get_build_architecture(): """Return the processor architecture. Possible results are "Intel" or "AMD64". """ prefix = " bit (" i = sys.version.find(prefix) if i == -1: return "Intel" j = sys.version.find(")", i) return sys.version[i+len(prefix):j] def normalize_and_reduce_paths(paths): """Return a list of normalized paths with duplicates removed. The current order of paths is maintained. """ # Paths are normalized so things like: /a and /a/ aren't both preserved. reduced_paths = [] for p in paths: np = os.path.normpath(p) # XXX(nnorwitz): O(n**2), if reduced_paths gets long perhaps use a set. if np not in reduced_paths: reduced_paths.append(np) return reduced_paths class MSVCCompiler(CCompiler) : """Concrete class that implements an interface to Microsoft Visual C++, as defined by the CCompiler abstract class.""" compiler_type = 'msvc' # Just set this so CCompiler's constructor doesn't barf. We currently # don't use the 'set_executables()' bureaucracy provided by CCompiler, # as it really isn't necessary for this sort of single-compiler class. # Would be nice to have a consistent interface with UnixCCompiler, # though, so it's worth thinking about. executables = {} # Private class data (need to distinguish C from C++ source for compiler) _c_extensions = ['.c'] _cpp_extensions = ['.cc', '.cpp', '.cxx'] _rc_extensions = ['.rc'] _mc_extensions = ['.mc'] # Needed for the filename generation methods provided by the # base class, CCompiler. src_extensions = (_c_extensions + _cpp_extensions + _rc_extensions + _mc_extensions) res_extension = '.res' obj_extension = '.obj' static_lib_extension = '.lib' shared_lib_extension = '.dll' static_lib_format = shared_lib_format = '%s%s' exe_extension = '.exe' def __init__(self, verbose=0, dry_run=0, force=0): CCompiler.__init__ (self, verbose, dry_run, force) self.__version = get_build_version() self.__arch = get_build_architecture() if self.__arch == "Intel": # x86 if self.__version >= 7: self.__root = r"Software\Microsoft\VisualStudio" self.__macros = MacroExpander(self.__version) else: self.__root = r"Software\Microsoft\Devstudio" self.__product = "Visual Studio version %s" % self.__version else: # Win64. Assume this was built with the platform SDK self.__product = "Microsoft SDK compiler %s" % (self.__version + 6) self.initialized = False def initialize(self): self.__paths = [] if "DISTUTILS_USE_SDK" in os.environ and "MSSdk" in os.environ and self.find_exe("cl.exe"): # Assume that the SDK set up everything alright; don't try to be # smarter self.cc = "cl.exe" self.linker = "link.exe" self.lib = "lib.exe" self.rc = "rc.exe" self.mc = "mc.exe" else: self.__paths = self.get_msvc_paths("path") if len(self.__paths) == 0: raise DistutilsPlatformError("Python was built with %s, " "and extensions need to be built with the same " "version of the compiler, but it isn't installed." % self.__product) self.cc = self.find_exe("cl.exe") self.linker = self.find_exe("link.exe") self.lib = self.find_exe("lib.exe") self.rc = self.find_exe("rc.exe") # resource compiler self.mc = self.find_exe("mc.exe") # message compiler self.set_path_env_var('lib') self.set_path_env_var('include') # extend the MSVC path with the current path try: for p in os.environ['path'].split(';'): self.__paths.append(p) except KeyError: pass self.__paths = normalize_and_reduce_paths(self.__paths) os.environ['path'] = ";".join(self.__paths) self.preprocess_options = None if self.__arch == "Intel": self.compile_options = [ '/nologo', '/Ox', '/MD', '/W3', '/GX' , '/DNDEBUG'] self.compile_options_debug = ['/nologo', '/Od', '/MDd', '/W3', '/GX', '/Z7', '/D_DEBUG'] else: # Win64 self.compile_options = [ '/nologo', '/Ox', '/MD', '/W3', '/GS-' , '/DNDEBUG'] self.compile_options_debug = ['/nologo', '/Od', '/MDd', '/W3', '/GS-', '/Z7', '/D_DEBUG'] self.ldflags_shared = ['/DLL', '/nologo', '/INCREMENTAL:NO'] if self.__version >= 7: self.ldflags_shared_debug = [ '/DLL', '/nologo', '/INCREMENTAL:no', '/DEBUG' ] else: self.ldflags_shared_debug = [ '/DLL', '/nologo', '/INCREMENTAL:no', '/pdb:None', '/DEBUG' ] self.ldflags_static = [ '/nologo'] self.initialized = True # -- Worker methods ------------------------------------------------ def object_filenames(self, source_filenames, strip_dir=0, output_dir=''): # Copied from ccompiler.py, extended to return .res as 'object'-file # for .rc input file if output_dir is None: output_dir = '' obj_names = [] for src_name in source_filenames: (base, ext) = os.path.splitext (src_name) base = os.path.splitdrive(base)[1] # Chop off the drive base = base[os.path.isabs(base):] # If abs, chop off leading / if ext not in self.src_extensions: # Better to raise an exception instead of silently continuing # and later complain about sources and targets having # different lengths raise CompileError ("Don't know how to compile %s" % src_name) if strip_dir: base = os.path.basename (base) if ext in self._rc_extensions: obj_names.append (os.path.join (output_dir, base + self.res_extension)) elif ext in self._mc_extensions: obj_names.append (os.path.join (output_dir, base + self.res_extension)) else: obj_names.append (os.path.join (output_dir, base + self.obj_extension)) return obj_names def compile(self, sources, output_dir=None, macros=None, include_dirs=None, debug=0, extra_preargs=None, extra_postargs=None, depends=None): if not self.initialized: self.initialize() compile_info = self._setup_compile(output_dir, macros, include_dirs, sources, depends, extra_postargs) macros, objects, extra_postargs, pp_opts, build = compile_info compile_opts = extra_preargs or [] compile_opts.append ('/c') if debug: compile_opts.extend(self.compile_options_debug) else: compile_opts.extend(self.compile_options) for obj in objects: try: src, ext = build[obj] except KeyError: continue if debug: # pass the full pathname to MSVC in debug mode, # this allows the debugger to find the source file # without asking the user to browse for it src = os.path.abspath(src) if ext in self._c_extensions: input_opt = "/Tc" + src elif ext in self._cpp_extensions: input_opt = "/Tp" + src elif ext in self._rc_extensions: # compile .RC to .RES file input_opt = src output_opt = "/fo" + obj try: self.spawn([self.rc] + pp_opts + [output_opt] + [input_opt]) except DistutilsExecError as msg: raise CompileError(msg) continue elif ext in self._mc_extensions: # Compile .MC to .RC file to .RES file. # * '-h dir' specifies the directory for the # generated include file # * '-r dir' specifies the target directory of the # generated RC file and the binary message resource # it includes # # For now (since there are no options to change this), # we use the source-directory for the include file and # the build directory for the RC file and message # resources. This works at least for win32all. h_dir = os.path.dirname(src) rc_dir = os.path.dirname(obj) try: # first compile .MC to .RC and .H file self.spawn([self.mc] + ['-h', h_dir, '-r', rc_dir] + [src]) base, _ = os.path.splitext (os.path.basename (src)) rc_file = os.path.join (rc_dir, base + '.rc') # then compile .RC to .RES file self.spawn([self.rc] + ["/fo" + obj] + [rc_file]) except DistutilsExecError as msg: raise CompileError(msg) continue else: # how to handle this file? raise CompileError("Don't know how to compile %s to %s" % (src, obj)) output_opt = "/Fo" + obj try: self.spawn([self.cc] + compile_opts + pp_opts + [input_opt, output_opt] + extra_postargs) except DistutilsExecError as msg: raise CompileError(msg) return objects def create_static_lib(self, objects, output_libname, output_dir=None, debug=0, target_lang=None): if not self.initialized: self.initialize() (objects, output_dir) = self._fix_object_args(objects, output_dir) output_filename = self.library_filename(output_libname, output_dir=output_dir) if self._need_link(objects, output_filename): lib_args = objects + ['/OUT:' + output_filename] if debug: pass # XXX what goes here? try: self.spawn([self.lib] + lib_args) except DistutilsExecError as msg: raise LibError(msg) else: log.debug("skipping %s (up-to-date)", output_filename) def link(self, target_desc, objects, output_filename, output_dir=None, libraries=None, library_dirs=None, runtime_library_dirs=None, export_symbols=None, debug=0, extra_preargs=None, extra_postargs=None, build_temp=None, target_lang=None): if not self.initialized: self.initialize() (objects, output_dir) = self._fix_object_args(objects, output_dir) fixed_args = self._fix_lib_args(libraries, library_dirs, runtime_library_dirs) (libraries, library_dirs, runtime_library_dirs) = fixed_args if runtime_library_dirs: self.warn ("I don't know what to do with 'runtime_library_dirs': " + str (runtime_library_dirs)) lib_opts = gen_lib_options(self, library_dirs, runtime_library_dirs, libraries) if output_dir is not None: output_filename = os.path.join(output_dir, output_filename) if self._need_link(objects, output_filename): if target_desc == CCompiler.EXECUTABLE: if debug: ldflags = self.ldflags_shared_debug[1:] else: ldflags = self.ldflags_shared[1:] else: if debug: ldflags = self.ldflags_shared_debug else: ldflags = self.ldflags_shared export_opts = [] for sym in (export_symbols or []): export_opts.append("/EXPORT:" + sym) ld_args = (ldflags + lib_opts + export_opts + objects + ['/OUT:' + output_filename]) # The MSVC linker generates .lib and .exp files, which cannot be # suppressed by any linker switches. The .lib files may even be # needed! Make sure they are generated in the temporary build # directory. Since they have different names for debug and release # builds, they can go into the same directory. if export_symbols is not None: (dll_name, dll_ext) = os.path.splitext( os.path.basename(output_filename)) implib_file = os.path.join( os.path.dirname(objects[0]), self.library_filename(dll_name)) ld_args.append ('/IMPLIB:' + implib_file) if extra_preargs: ld_args[:0] = extra_preargs if extra_postargs: ld_args.extend(extra_postargs) self.mkpath(os.path.dirname(output_filename)) try: self.spawn([self.linker] + ld_args) except DistutilsExecError as msg: raise LinkError(msg) else: log.debug("skipping %s (up-to-date)", output_filename) # -- Miscellaneous methods ----------------------------------------- # These are all used by the 'gen_lib_options() function, in # ccompiler.py. def library_dir_option(self, dir): return "/LIBPATH:" + dir def runtime_library_dir_option(self, dir): raise DistutilsPlatformError( "don't know how to set runtime library search path for MSVC++") def library_option(self, lib): return self.library_filename(lib) def find_library_file(self, dirs, lib, debug=0): # Prefer a debugging library if found (and requested), but deal # with it if we don't have one. if debug: try_names = [lib + "_d", lib] else: try_names = [lib] for dir in dirs: for name in try_names: libfile = os.path.join(dir, self.library_filename (name)) if os.path.exists(libfile): return libfile else: # Oops, didn't find it in *any* of 'dirs' return None # Helper methods for using the MSVC registry settings def find_exe(self, exe): """Return path to an MSVC executable program. Tries to find the program in several places: first, one of the MSVC program search paths from the registry; next, the directories in the PATH environment variable. If any of those work, return an absolute path that is known to exist. If none of them work, just return the original program name, 'exe'. """ for p in self.__paths: fn = os.path.join(os.path.abspath(p), exe) if os.path.isfile(fn): return fn # didn't find it; try existing path for p in os.environ['Path'].split(';'): fn = os.path.join(os.path.abspath(p),exe) if os.path.isfile(fn): return fn return exe def get_msvc_paths(self, path, platform='x86'): """Get a list of devstudio directories (include, lib or path). Return a list of strings. The list will be empty if unable to access the registry or appropriate registry keys not found. """ if not _can_read_reg: return [] path = path + " dirs" if self.__version >= 7: key = (r"%s\%0.1f\VC\VC_OBJECTS_PLATFORM_INFO\Win32\Directories" % (self.__root, self.__version)) else: key = (r"%s\6.0\Build System\Components\Platforms" r"\Win32 (%s)\Directories" % (self.__root, platform)) for base in HKEYS: d = read_values(base, key) if d: if self.__version >= 7: return self.__macros.sub(d[path]).split(";") else: return d[path].split(";") # MSVC 6 seems to create the registry entries we need only when # the GUI is run. if self.__version == 6: for base in HKEYS: if read_values(base, r"%s\6.0" % self.__root) is not None: self.warn("It seems you have Visual Studio 6 installed, " "but the expected registry settings are not present.\n" "You must at least run the Visual Studio GUI once " "so that these entries are created.") break return [] def set_path_env_var(self, name): """Set environment variable 'name' to an MSVC path type value. This is equivalent to a SET command prior to execution of spawned commands. """ if name == "lib": p = self.get_msvc_paths("library") else: p = self.get_msvc_paths(name) if p: os.environ[name] = ';'.join(p) if get_build_version() >= 8.0: log.debug("Importing new compiler from distutils.msvc9compiler") OldMSVCCompiler = MSVCCompiler from distutils.msvc9compiler import MSVCCompiler # get_build_architecture not really relevant now we support cross-compile from distutils.msvc9compiler import MacroExpander


.About
Country
India
City
Hajipur
Age
23
.About:before
Content
I love to work on the backend side of things. My usual days comprise of writing and fixing features / APIs. My language of choice is Golang (Go). It took me a full month to learn Kubernets!
.Work-experience
Experience-process
2.5 Year
Work-Anneversary
3rd July
.Work-experience .first
Company-name
GS Lab
My-position
Software Engineer (Dev)
Working-process
7 Months
.Work-experience .second
Company-name
Appbase Inc
My-position
Platform Engineer
Working-process
1st Feb 2018 - Ongoing
.Skills
Golang
90%
Kubernetes
80%
SQL
75%
NO-SQL
65%
.Skills .Language
Golang
90%
.Skills .Database
MSSQL
80%
PostgreSQL
75%
Elasticsearch
75%
Redis
75%
.Education-information
Computer Science
Yeah
.Education-information .first
School-name
College Of Engineering Bhubaneswar
Year-of-study
2013 - 2017
Department-of-education
Computer Science & Engineering


Register yourself to continue
Enter a Username :
Enter a Password :
Enter your mobile number :
Register Now


1.0.0
This method is responsible for confirming a deliveryman is logged. Creation Date: 08/14/2020
Danny Rios<EMAIL_ADDRESS>deliveryman id decrypt.
This method is responsible for searching a delivryman id encrypted in storage system. Creation Date: 08/14/2020
This method is responsible for searching an user with credentials in the database. Creation Date: 08/14/2020
JSON with the data obtained from the query.
This method is responsible for deleting refreshToken in api. Creation Date: 08/14/2020
This method is responsible for deleting delivryman id encrypted in storage system. Creation Date: 08/14/2020
This method is responsible for saving delivryman id encrypted in storage system. Creation Date: 08/14/2020
Generated using TypeDoc
1.0.0
This method is responsible for confirming a deliveryman is logged.
Creation Date: 08/14/2020
Danny Rios dprios@espol.edu.ec


Cellulut
Class Index
A
|
B
|
C
|
D
|
G
|
I
|
L
|
M
|
N
|
O
|
S
|
T
|
V
A
ArbitraryNeighborhood
Automata
AutomataManager
AutomatasBrowser
AutomatasCreator
AutomatonCreationException
B
BBTransition
BSlider
BufferException
C
Cell
CellState
CellWidget
ConfigsBrowser
ControlPanel
Create_State
D
DBException
DBManager
DGTransition
G
GOLTransition
Grid
GridFactory
I
Simulator::Iterator
L
LATransition
LLTransition
M
MainWindow
MenuBar
MooreNeighborhood
MooreNeighborhoodGeneralized
N
NeighborCreator
NeighborhoodFactory
NeighborhoodStrategy
NeighborsBrowser
NeighborsBrowseWindow
O
OuterTotalisticTransition
S
Simulator
SimulatorWidget
StateBrowseWindow
StatesBrowser
StochasticTransition
T
TotalisticTransition
TransitionBrowseWindow
TransitionException
TransitionFactory
TransitionsBrowser
TransitionStrategy
V
VonNeumannNeighborhood
VonNeumannNeighborhoodGeneralized
Generated by
1.9.1


About
Contact
Blog
Login
Sign up
Home
About
Contact
Blog
Login
Sign up
Hello, I'm
MUSIRIKARE Jean Fidele
I write code and I am software developer from Andela


bagbiter
`Prev `__
B
`Next `__
--------------
**bagbiter**: /bag´bi:t·@r/, n.
1. Something, such as a program or a computer, that fails to work, or
works in a remarkably clumsy manner. “This text editor won't let me make
a file with a line longer than 80 characters! What a bagbiter!”
2. A person who has caused you some trouble, inadvertently or otherwise,
typically by failing to program the computer properly. Synonyms:
`*loser* <../L/loser.html>`__, `*cretin* <../C/cretin.html>`__,
`*chomper* <../C/chomper.html>`__.
3. bite the bag vi. To fail in some manner. “The computer keeps crashing
every five minutes.” “Yes, the disk controller is really biting the
bag.”
The original loading of these terms was almost undoubtedly obscene,
possibly referring to a douche bag or the scrotum (we have reports of
“Bite the douche bag!” being used as a taunt at MIT 1970-1976, and we
have another report that “Bite the bag!” was in common use at least as
early as 1965), but in their current usage they have become almost
completely sanitized.
--------------
+------------------------------------+----------------------------+------------------------------+
| `Prev `__ | `Up <../B.html>`__ | `Next `__ |
+------------------------------------+----------------------------+------------------------------+
| bag on the side | `Home <../index.html>`__ | bagbiting |
+------------------------------------+----------------------------+------------------------------+


Frequently Asked Questions
Crypto Portolio calculates the aggregate value and the structure of a portolio consisting a number of different cryptocurrency addresses, based on blockchain data and latest exchange rates.
Exchange rates in the current version are provided by coinmarketcap.com.
Cryptocurrencies currently supported are:
Bitcoin, Dogecoin, Ethereum, Litecoin, Ethereum, Ripple, Counterparty, Dash, Peercoin, Reddcoin.
We are working to add all major cryptocurrencies to the portfolio. Check for app updates.
Go to Addresses tab then click on the Add button at the top of the address list. Complete the form with the address informations and then click the Add button at the bottom.
The easiest way to insert addresses is to copy them with a QR code scanner like this one.
Go to Addresses tab then click on the Delete button at the top of the address list. Delete buttons will appear on the left of every address entry in the list. Click the Delete button left to the address you want to delete.
Fixed items meaning fixed value assets that are part of a portfolio. You can add them with a unique label and the value in USD at the Addresses tab.
Right now online exchange wallets are not supported by this app, but we are working to change this. However, it is recommended not to use an online exchange wallet to keep significant parts of your portfolio because of security vulnerabilities. The best way to use online exchange platforms is to use them only at exchange operations and then transfer all the resulting cryptocurrencies into your self-managed wallet or a trusted online wallet platform.
Please note that it may take up to 10 seconds to get all the balances of your addresses, especially if you have more than 3-4 addresses in your portfolio.
Send us a mail to sigmagfx50[at]gmail.com or use the contact form.