text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
My series of blog posts regarding Android notifications, and make it like a cheat sheet for all of us. Anyway, here are some screenshots of today’s code output:
Download Code
AndroidNotificationBar.zip
Hide Notification
How to hide the notification? There are two ways:
1. First, you can click the “Cancel Notification” ... | http://www.javacodegeeks.com/2013/08/android-notification-with-sound-and-icon-tutorial.html | CC-MAIN-2015-27 | en | refinedweb |
In the previous post, we looked at loading in texture data from a PNG file and uploading it to an OpenGL texture, and then displaying that on the screen in Android. To do that, we used libpng and loaded in the data from our platform-independent C code.
In this post, we’ll add supporting files to our iOS project so we c... | http://www.learnopengles.com/loading-a-png-into-memory-and-displaying-it-as-a-texture-with-opengl-es-2-adding-support-for-ios/ | CC-MAIN-2015-27 | en | refinedweb |
New Firefox Standard Aims to Combat Cross-Site Scripting 160 160
Posted by ScuttleMonkey
from the fight-the-good-fight dept.
from the fight-the-good-fight dept.
Al writes "The Mozilla foundation is to adopt a new standard to help web sites prevent cross site scripting attacks (XSS). The standard, called Content Securit... | http://it.slashdot.org/story/09/06/29/2048207/new-firefox-standard-aims-to-combat-cross-site-scripting | CC-MAIN-2015-27 | en | refinedweb |
[
]
Mark Hindess commented on HARMONY-5446:
---------------------------------------
Please don't apply this patch. See my previous comment.
It is identical to the patch for HARMONY-5443 that is already committed in the java5 trunk
and will in due course be merged. Since the patch contains the same error as the patch fo... | http://mail-archives.apache.org/mod_mbox/harmony-commits/200801.mbox/%3C26144744.1201771896048.JavaMail.jira@brutus%3E | CC-MAIN-2015-27 | en | refinedweb |
iSequenceTimedOperation Struct ReferenceA timed operation for the engine sequence manager. More...
#include <ivaria/engseq.h>
Inheritance diagram for iSequenceTimedOperation:
Detailed DescriptionA timed operation for the engine sequence manager.
This is basically something that needs to run over some period of time. Th... | http://www.crystalspace3d.org/docs/online/api-1.2/structiSequenceTimedOperation.html | CC-MAIN-2015-27 | en | refinedweb |
MultiSheet Excel Output
By Tim Dexter-Oracle on Mar 03, 2010
As many of you know BIP can generate Excel output from RTF template. However, being able to generate a multi-sheet Excel output is a bit more tricky.
For those of you using the standalone release the Excel Analyzer button can help you out. You can build Excel... | https://blogs.oracle.com/xmlpublisher/category/Oracle/Templates/XSL | CC-MAIN-2015-27 | en | refinedweb |
In XScreensaver unlock screen it is not possible to insert "€" sign
Bug Description
Binary package hint: xscreensaver
When trying to unlock the screen (locked by pressing Ctrl+Alt+Del or coming from suspend/hibernate) XScreensaver asks for user password. But in password field it is not possible to insert "€" sign (any ... | https://bugs.launchpad.net/ubuntu/+source/xscreensaver/+bug/671923 | CC-MAIN-2015-27 | en | refinedweb |
need some help with recursion (Connect 4 program)
Jason Robers
Greenhorn
Joined: Nov 07, 2004
Posts: 6
posted
Nov 07, 2004 13:38:00
0
Hello all-
In my programming class at school, I'm in a group and our assignment is to create a Connect 4 program. I'm in charge of handling computer AI. I did some research and found ou... | http://www.coderanch.com/t/375052/java/java/recursion-Connect-program | CC-MAIN-2015-27 | en | refinedweb |
Appendix A Accessing Data Using DSMLv2 Over HTTP/SOAP
Sun ONE Directory Server 5.2 supports DSMLv2, which maps the majority of the query/update functionality of LDAP version 3 to XML, SOAP and HTTP. Being able to perform directory operations in DSMLv2 extends the reach of your directory data directly into the worlds of... | http://docs.oracle.com/cd/E19850-01/816-6700-10/DSML.html | CC-MAIN-2015-27 | en | refinedweb |
I have seen the light.
As part of a new project for work I have finally broken
down and learned Struts and JSPs. Struts is tremendously useful. I wish it had been around five years ago when I was up to my ears
in webbased applications. But JSPs I've never been impressed with. They are
good for templating but the combin... | https://weblogs.java.net/blog/joshy/archive/2003/10/i_have_seen_the.html | CC-MAIN-2015-27 | en | refinedweb |
Simple, Organized Queueing with Resque
After having used many different queueing systems, from the venerable BackgrounDRb, to DelayedJob, to roll-your-own solutions, I’ve settled on the excellent Resque.
The now-famous blog post from GitHub’s Chris Wanstrath says it all, and the README has everything you could ever hop... | http://www.sitepoint.com/simple-organized-queueing-with-resque/ | CC-MAIN-2015-27 | en | refinedweb |
Programming Basics Namespaces in Visual Studio
Visual Studio .NET 2003
The fundamental programming namespaces in the .NET Framework include:
- System.Collections - contains interfaces and classes that define various collections of objects, such as lists, queues, arrays, hashtables, and dictionaries.
- System.IO - conta... | https://msdn.microsoft.com/en-us/library/0x7xksef(v=vs.71).aspx | CC-MAIN-2015-27 | en | refinedweb |
> > I thoroughly dislike using scattering ifdefs through the module like this.
> > May I ask... what is keeping us from correcting the ap_os_path_is_absolute
> > function to distinguish between SYS:/path and?
Folks,
This is the crux of the netware problem. I'm considering the following
solution that eliminates the whol... | http://mail-archives.apache.org/mod_mbox/httpd-dev/200101.mbox/%3C005b01c086dd$f0c9df30$93c0b0d0@wroweviao%3E | CC-MAIN-2015-27 | en | refinedweb |
Pod::Template - Building pod documentation from templates.
### As a module ### use Pod::Template; my $parser = new Pod::Template; $parser->parse( template => 'documentation.ptmpl' ); print $parser->as_string ### As a script ### $ podtmpl -I dir1 -I dir2 documentation.ptmpl ### A simple module prepared to use Pod::Templ... | http://search.cpan.org/~kane/Pod-Template-0.02/lib/Pod/Template.pm | CC-MAIN-2015-27 | en | refinedweb |
Computer Science Archive: Questions from February 13, 2013
- Boss8966 askedUsing for loop operations calculate the product c*d of a matrix and a vector c=[3,2,1;-6,-3,-4] d=... More »2 answers
- Komalkaur510 askedThe blue screen is a output where i have to show last name , first name , id, total hours, regular... Show ... | http://www.chegg.com/homework-help/questions-and-answers/computer-science-archive-2013-february-13 | CC-MAIN-2015-27 | en | refinedweb |
This is the fifth post of the series were we buildOLOV5 ( This Post )
6. Building you road pothole detector using Tensorflow object detection API
7. Building your video analytics application for detecting potholes
8. Deploying your video analytics application for detection of potholes
In this post we will build our pot... | https://bayesianquest.com/category/deployment/ | CC-MAIN-2022-40 | en | refinedweb |
@sarfarajsayyad - Did the answer provided by bsriramineni help provide a working solution to your question? If yes, please don't forget to resolve this post by clicking "Accept". If no, please leave a comment with more feedback. Thanks!
Root cause:
In pdfgen_chart.py we have a hard-coded value (600) for the width of ch... | https://community.splunk.com/t5/Dashboards-Visualizations/Why-does-my-dashboard-shows-labels-in-column-chart-for-X-axis/m-p/291654 | CC-MAIN-2022-40 | en | refinedweb |
Forum:Add UnNetHack source code in Source namespace
This would allow providing references in articles. Bulwersator (talk) 20:56, 25 January 2013 (UTC)
- Doing this might be slightly problematic as keeping all versions might be a lot of data ("all versions" as in "all revisions", which might be necessary to reference th... | https://nethackwiki.com/wiki/Forum:Add_UnNetHack_source_code_in_Source_namespace | CC-MAIN-2022-40 | en | refinedweb |
How to Execute Test Cases parallel
There is over 100 Test case in the Testsuite, how can it execute all in one go/parallel
Solved! Go to Solution.
Hi,
According to my knowledge, SoapUI does not support parallel tests execution.
The possible option is to use complimentary LoadUI tool () and create a load test for 100 vi... | https://community.smartbear.com/t5/ReadyAPI-Questions/How-to-Execute-Test-Cases-parallel/m-p/178487 | CC-MAIN-2022-40 | en | refinedweb |
String List Model Example¶
A model may be a simple ‘list’, which provides the contents of the list via the modelData role.
from pathlib import Path import sys from PySide6.QtCore import QUrl from PySide6.QtGui import QGuiApplication from PySide6.QtQuick import QQuickView # This example illustrates exposing a QStringLis... | https://doc.qt.io/qtforpython-6.2/examples/example_declarative__stringlistmodel.html | CC-MAIN-2022-40 | en | refinedweb |
put(9F) Kernel Functions for Drivers put(9F)
NAME
put - call a STREAMS put procedure
SYNOPSIS
#include <sys/stream.h>
#include <sys/ddi.h>
void put(queue_t *q, mblk_t *mp);
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
PARAMETERS
q Pointer to a STREAMS queue.
mp Pointer to message block being passed into ... | https://www.unix.com/tags/put.html?s=59d7edefc367ec72158150980a8b1eb7 | CC-MAIN-2022-40 | en | refinedweb |
1. Introduction¶
1.1. What you need to know¶
The reader of this document is required to have some knowledge in the area of digital video broadcasting (Digital TV) Digital TV standards documents are available for download at:
- European standards (DVB): and/or.
- American standards (ATSC):
- Japanese standards (ISDB):
I... | https://01.org/linuxgraphics/gfx-docs/drm/media/uapi/dvb/intro.html | CC-MAIN-2022-40 | en | refinedweb |
Notes on Optimizing Clojure Code: Reflection
Clojure is a dynamic language. That's great for (some notion of) expressivity, but sometimes it can get in the way of performance.
To get the best performance out of JVM Clojure, we have to understand how Clojure's brand of dynamic typing meshes with the JVM's. This is what ... | https://cuddly-octo-palm-tree.com/posts/2022-02-20-opt-clj-6/ | CC-MAIN-2022-40 | en | refinedweb |
I’m not familiar enough with NFS and don’t know why these temporary files are raising this error using multiple processes.
Thanks for reply.
I am not sure if this error will affect the result since it is still training. Now I am trying different versions of python/pytorch and looking for other ways.
Assuming you are tr... | https://discuss.pytorch.org/t/guidelines-for-assigning-num-workers-to-dataloader/813?page=4 | CC-MAIN-2022-40 | en | refinedweb |
C++ Tutorial
C++ Flow Control
Math functions in C++
Math functions are some established library functions related to mathematical calculations. All the C++ math functions are defined under math.h header file. C++ provides a strong library function and math functions are some of them.
We need to include math.h header fi... | https://worldtechjournal.com/cpp-tutorial/all-math-functions-in-cpp/ | CC-MAIN-2022-40 | en | refinedweb |
11457/can-a-hyperledger-composer-work-without-fabric-installed
The peers communicate among them through the ...READ MORE
Yes, it is possible. Peers from different ...READ MORE
You can use Composer with the Bluemix ...READ MORE
New nodes doesn't depend on a single ...READ MORE
Summary: Both should provide similar reliab... | https://www.edureka.co/community/11457/can-a-hyperledger-composer-work-without-fabric-installed | CC-MAIN-2022-40 | en | refinedweb |
Some table features are lost when a .doc template is rendered. Table borders do not render as they have been layed out in the template.
In the attached ERFC 5-2.doc, notice that when it is converted to PDF it is showing vertical lines between some of the cells. There should be 3 separate boxes down the right hand side,... | https://forum.aspose.com/t/word-to-pdf-conversion-not-rendering-tables-correctly/124767 | CC-MAIN-2022-40 | en | refinedweb |
Retail Modern Point of.
Learn
Retail Modern POS clients can communicate with databases in your store, or Retail Servers that are deployed in your store or in a data center. Retail Modern POS clients can also communicate with peripheral devices such as cash drawers, credit card readers, and printers either directly, or ... | https://learn.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/retail-modern-point-of-sale?redirectedfrom=MSDN | CC-MAIN-2022-40 | en | refinedweb |
There are some built-in higher-order functions in python, such as
map(),
filter(),
reduce(); they are called higher-order functions because one of the parameters accepted by such functions is a function object.
map() function syntax:
map(func,seq1[,seq2,……])
The first parameter received by the map function is a functio... | https://stdworkflow.com/146/what-is-the-advantage-of-the-map-function-in-python | CC-MAIN-2022-40 | en | refinedweb |
Setting State in a Functional Component
An introduction to React Hooks
While learning to write components in React the decision that seemed to always come up was whether that component should be a Functional or a Class component. As a new React developer i always leaned towards making my components for the most part Cl... | https://daniel-c-reyes30.medium.com/setting-state-in-a-functional-component-9e478dc08e44 | CC-MAIN-2022-40 | en | refinedweb |
Opened 9 years ago
Closed 6 years ago
Last modified 5 years ago
#15985 closed enhancement (fixed)
Python 3 preparation: Fix implicit relative imports (from sibling modules)
Description
Python 3 accepts only absolute imports and explicit relative imports.
To be Python 2 compatible all affected modules need
from __future... | https://trac.sagemath.org/ticket/15985 | CC-MAIN-2022-40 | en | refinedweb |
Investors in Sun Life Financial Inc (Symbol: SLF) saw new options begin trading this week, for the May 2020 SLF options chain for the new May 2020 SLF, that could represent an attractive alternative to paying $43.20/share today.
Because the $35 0.43% return on the cash commitment, or 0.70% annualized — at Stock Options... | https://www.nasdaq.com/articles/interesting-slf-put-and-call-options-for-may-2020-2019-10-04 | CC-MAIN-2021-10 | en | refinedweb |
Pipeline is a package to build multi-staged concurrent workflows with a centralized logging output..
It's tiny by design and is valuable when used as a glue rather than a container.
$ go get gopkg.in/myntra/pipeline.v1
The package has three building blocks to create workflows : Pipeline, Stage and Step . A pipeline is ... | https://xscode.com/myntra/pipeline | CC-MAIN-2021-10 | en | refinedweb |
Selftime-based FLOPS computing (Vectorization Advisor)
Published:06/24/2016 Last Updated:06/24/2016
Let's talk about important specifics of computing FLOPS that can significantly affect FLOPS data interpretation especially in the Roofline chart.
At the moment, we are computing FLOPS using self-time (noninclusive). This... | https://software.intel.com/content/www/us/en/develop/articles/selftime-based-flops-computing-vectorization-advisor.html | CC-MAIN-2021-10 | en | refinedweb |
Create a Permission Set and Add It to Your Package
In this step, you create an unlocked package and put the new permission set in the package.
- To create a new unlocked package named salesApps, run this command:
sfdx force:package:create --name salesApps --description "My Package" --packagetype Unlocked --path force-a... | https://trailhead.salesforce.com/ja/content/learn/projects/perm-set-unlocked/perm-set-unlocked-create?trail_id=sfdx_get_started | CC-MAIN-2021-10 | en | refinedweb |
Restoring Window Position With Multiple Monitors
This code allows a window to remember its last position and status. It takes into account the possibility of multiple monitors being attached to the system as avaliable in Windows 98 and Windows 2000. This code is based on code by Yonat Sharon. His code worked fine on sy... | https://www.developer.com/net/cplus/article.php/632501/Restoring-Window-Position-With-Multiple-Monitors.htm | CC-MAIN-2021-10 | en | refinedweb |
In Windows Phone 8, the developers generally use the NavigationService.Navigate method to navigate from one page to another. By default, this does not include any kind of animation or transition when navigating.
How to animate page navigation in Windows Phone 8?
To animate page navigation in windows phone 8, you should... | https://abundantcode.com/how-to-animate-page-navigation-in-windows-phone-8/ | CC-MAIN-2021-10 | en | refinedweb |
From: SeongJae Park <sjpark@amazon.de>Concurrent Idle Page Tracking users can interfere each other because theinterface doesn't provide a central rule for synchronization between theusers. Users could implement their own synchronization rule, but evenin that case, applications developed by different users would not kno... | https://lkml.org/lkml/2020/9/28/445 | CC-MAIN-2021-10 | en | refinedweb |
Creating Directionally Lit 3D Buttons with CSS
Free JavaScript Book!
Write powerful, clean and maintainable JavaScript.
RRP $11.95.
The Markup
My first-take approach for creating something like this is to scaffold the markup. Upon first inspection, we’ll need to duplicate the social icon used. And a neat way to do this... | https://www.sitepoint.com/creating-directionally-lit-3d-buttons-with-css/ | CC-MAIN-2021-10 | en | refinedweb |
ISO/IEC JTC1 SC22 WG21 N2425 = 07-0295 - 2007-10-21
Lawrence Crowl, crowl@google.com, Lawrence@Crowl.org
This paper is a revision of N2407 = 07-0267 - 2007-09-10.
NOTE: The committee has decided to defer work on dynamic libraries until after the C++0x standard. This paper represents a snapshot of that work, and hence i... | http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2425.html | CC-MAIN-2020-45 | en | refinedweb |
This the first part in a four part series about how to analyse a continuous heart rate signal, extract those measures often used in scientific publications, and filter the signal and detect error.
- contains a lot of information about you. Apart from the obvious number of beats per minute there is information about you... | http://www.paulvangent.com/2016/03/15/analyzing-a-discrete-heart-rate-signal-using-python-part-1/?replytocom=1843 | CC-MAIN-2020-45 | en | refinedweb |
The Web UI can be a powerful companion when monitoring and debugging jobs running in Nomad. The Web UI will list all jobs, link jobs to allocations, allocations to client nodes, client nodes to driver health, and much more.
»List jobs
The first page you will arrive at in the Web UI is the Jobs List page. Here you will ... | https://learn.hashicorp.com/tutorials/nomad/web-ui-workload-info?in=nomad/web-ui | CC-MAIN-2020-45 | en | refinedweb |
Recently I have been working on recoding some of our Continuous tests, changing from using Fest to using Jemmy in conjunction with JUnit. This has led to me creating easily extendible tests so that creating new tests becomes quick and simple allowing us to easily introduce new tests should we find an area not covered b... | https://blog.idrsolutions.com/2014/10/creating-easily-extendible-tests/ | CC-MAIN-2020-45 | en | refinedweb |
To use Disnix effectively, two requirements must be met:
- A system must be decomposed into independently deployable services, and these services must be packaged with Nix.
- Services may require other services that provide environments with essential facilities to run them. In Disnix terminology, these environments ar... | https://sandervanderburg.blogspot.com/2020/04/deploying-container-and-application.html | CC-MAIN-2020-45 | en | refinedweb |
spawnv()
Spawn a child process, given a vector of arguments
Synopsis:
#include <process.h> int spawnv( int mode, const char * path, char * const argv
- A pointer to an argument vector; this argument can't be NULL. The value in argv[0] can't be NULL, and should represent the filename of the program being loaded. The las... | https://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/s/spawnv.html | CC-MAIN-2020-45 | en | refinedweb |
I have 2 objects. Object 2 is mirrored of object 1.
How can compare different of them?
I have 2 objects. Object 2 is mirrored of object 1.
Hello,
Do you know exactly how they are mirrored? If so then can you mirror one of them and take the Boolean difference?
Hello - what do you want to compare, exactly - 3d shape? How... | https://discourse.mcneel.com/t/how-can-compare-different-of-objects/86992 | CC-MAIN-2020-45 | en | refinedweb |
Upgrade guide
The purpose of this guide is to detail changes made by successive versions of the Java driver.
3.
3.5.0
The
DowngradingConsistencyRetryPolicyis now deprecated, see JAVA-1752. It will also be removed in the next major release of the driver (4.0.0), see JAVA-1376.
The main motivation is the agreement that t... | https://docs.datastax.com/en/developer/java-driver/3.9/upgrade_guide/ | CC-MAIN-2020-45 | en | refinedweb |
Writing Text Files in C# .NET
By Xav
Hello, Xav here. There are many amazing things you can do with an application, but one of the most useful is to interact with the user's files. Most programs store data in files, and this can be used for numerous reasons.
Here we are using the .NET Framework (I use v3.5). First, add... | http://forum.codecall.net/topic/40878-c-tutorial-writing-text-files/ | CC-MAIN-2020-45 | en | refinedweb |
Creating an Atom feed in PHP
Easy syndication with PHP and MySQL
What is Atom?
Atom, as it is used here, refers to an XML language that enables Web publishers to syndicate the content of their Web sites to various consumers. Using Atom, publishers are able to create a Web feed in a standardized format. This feed enable... | https://www.ibm.com/developerworks/library/x-phpatomfeed/ | CC-MAIN-2020-45 | en | refinedweb |
Use a .pyui file in another .pyui file
If I have a bunch of views defined in .pyui files is it possible for me to reuse these to build more complex views?
I see that in the interface designer I can add a custom view and set a custom subclass, but that doesn't pull in the associated .pyui file.
You have to create custom... | https://forum.omz-software.com/topic/3176/use-a-pyui-file-in-another-pyui-file/1 | CC-MAIN-2020-45 | en | refinedweb |
Hello Friends, In this tutorial we are going to discuss Static Vs Non Static Keyword in C#. Both Static and Non-Static have their own purpose. We are going to discuss them here.
After completing this tutorial we would be able to understand:
- What is Static Class, Static Methods?
- Static vs Non-Static in C#.
Static vs... | http://debugonweb.com/2017/10/15/static-vs-non-static-keyword-c/ | CC-MAIN-2018-26 | en | refinedweb |
value initialization(since C++03)
This is the initialization performed when a variable is constructed with an empty initializer.
[edit] Syntax
[edit] Explanation
Value initialization is performed in these situations:
In all cases, if the empty pair of braces
{} is used and
T is an aggregate type, aggregate-initializati... | http://en.cppreference.com/w/cpp/language/value_initialization | CC-MAIN-2018-26 | en | refinedweb |
SIGACTION(2) Linux Programmer's Manual SIGACTION(2)
sigaction, rt_sigaction - examine and change a signal action
#include <signal.h> int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): sigaction(): _POSIX_C_SOURCE sigi... | http://man7.org/linux/man-pages/man2/sigaction.2.html | CC-MAIN-2018-26 | en | refinedweb |
Introduction the stored one. While this is essentially what should happen during authentication, there is actually a lot more to it.
Throughout this article I'll be explaining how you should be doing authentication, and the reasons behind it. You can go pretty nuts with some of this stuff (like the password requirement... | http://stackabuse.com/implementing-user-authentication-the-right-way/ | CC-MAIN-2018-26 | en | refinedweb |
branch coverage of with statement in 2.7
With Python 2.7, branch detection doesn't get a with statement right with an inner return right. Coverage show the line "with open("test", "w") as f" as a branch, that never reaches "exit". Under Python 2.6 the with statement is shown as fully covered.
{{{
!python
def example():... | https://bitbucket.org/ned/coveragepy/issues/128/branch-coverage-of-with-statement-in-27 | CC-MAIN-2018-26 | en | refinedweb |
The right way to manage secrets with AWS
The way companies manage application secrets is critical. Even today, improper secrets management has resulted in an astonishing number of high profile breaches.
Having internet-facing credentials is like leaving your house key under a doormat that millions of people walk over d... | https://segment.com/blog/the-right-way-to-manage-secrets/ | CC-MAIN-2018-26 | en | refinedweb |
Before:Before:
UPDATE: Over the years I learnt that the solution provided below is not really an example of domain-driven design. It's more like an active record implementation on top of Spring. But the technical part of the article is still relevant, so I keep it intact.
- domain objects, which are simple POJOs mapped... | https://www.nurkiewicz.com/2009/10/ddd-in-spring-made-easy-with-aspectj.html | CC-MAIN-2018-26 | en | refinedweb |
Opened 10 years ago
#2515 new Bugs
[MSVC] ambiguous symbol type_info in boost/python tests
Description
The most of the boost/python tests are failed to compile on MSVC with Apache stdcxx library.
The reason is that <eh.h> header contains declaration of the:
int _is_exception_typeof(const type_info &, _EXCEPTION_POINTER... | https://svn.boost.org/trac10/ticket/2515 | CC-MAIN-2018-26 | en | refinedweb |
I was trying to write a simple html template engine (for fun), and wanna parse a structure like this
A. normal lines are HTML
B. if a line starts with
$ then view it as a java code line
$ if (isSuper) { <span>Are you wearing red underwear?</span> $ }
C. if
${} wraps multiple lines, all code in it should be java code.
D... | https://www.dowemo.com/article/70290/how-scala-uses-the-parser-linker-for-conditional-checking | CC-MAIN-2018-26 | en | refinedweb |
Using Sphinx for PHP Project Documentation.
RTD is widely used in the industry. It hosts powerful docs such as Guzzle’s, PhpSpec’s and many more. It supports reST alongside MD (or, to be more accurate, MD alongside reST), which is a huge plus as RST files are more suitable for highly technical documents. It can be run ... | https://www.sitepoint.com/using-sphinx-for-php-project-documentation/ | CC-MAIN-2018-26 | en | refinedweb |
If you are in a controller context, you can access the current authenticated User. Take an article such as Get the current user, within an ApiController action, without passing the userID as a parameter .
However, if my controller calls a service (same assembly), but here I don't have the controller context.
What is th... | https://codedump.io/share/GeKqnaeUrAxC/1/how-to-access-user-in-a-service-context-in-web-api | CC-MAIN-2018-26 | en | refinedweb |
You can configure Shield to communicate with Active Directory to authenticate users. To integrate with Active Directory, you configure an Active Directory realm and assign Active Directory users Encrypting Communications Between Shield and Active Directory with SSL/TLS.
Shield.
Shield only supports Active Directory sec... | https://www.elastic.co/guide/en/shield/current/active-directory-realm.html | CC-MAIN-2018-26 | en | refinedweb |
Marc Hoffman wrote: > I. Names starting with __ or _[A-Z] are reserved for any use. Names starting with _[a-z] are reserved in the global scope. Unless you are writing libc or the kernel, you must stay out of the reserved namespaces. -- M?ns Rullg?rd mans at mansr.com | http://ffmpeg.org/pipermail/ffmpeg-devel/2007-June/030632.html | CC-MAIN-2016-44 | en | refinedweb |
Opened 11 years ago
Closed 11 years ago
#322 closed enhancement (fixed)
[patch] Admin unavailable in development server after [503]
Description
Just updated from 494 to 503, and now the admin area is unavailable; going to /admin/ gets the following:
There's been an error: Traceback (most recent call last): File "/var/w... | https://code.djangoproject.com/ticket/322 | CC-MAIN-2016-44 | en | refinedweb |
Currently, all of my JUnit tests extend from a common base class that provides methods tagged with
@BeforeClass
@AfterClass
@BeforeClass
@AfterClass
A solution to the first issue is to move the logic into an extension of
org.junit.rules.ExternalResource hooked up to the test via a
@ClassRule, introduced in JUnit 4.9:
p... | https://codedump.io/share/mLlBLWoNwJxK/1/how-to-share-junit-beforeclass-logic-among-multiple-test-classes | CC-MAIN-2016-44 | en | refinedweb |
I'm having an issue running code between two consoles and I've gotten it down to a difference between the versions of python installed on these computers (2.7.3 and 2.7.6 respectively).
Here is the input file found on github ().
when in python 2.7.3 and numpy version 1.11.1 the following code works as expected:
import ... | https://codedump.io/share/r3VZ4rqrKscL/1/numpyfromfile-differences-between-python-273-and-276 | CC-MAIN-2016-44 | en | refinedweb |
Big Data Analytics on Modern Hardware Architectures
- Brian Clifford French
- 1 years ago
- Views:
Transcription
1 Big Data Analytics on Modern Hardware Architectures Volker Markl Michael Saecker With material from: S. Ewen, M. Heimel, F. Hüske, C. Kim, N. Leischner, K. Sattler Database Systems and Information Manageme... | http://docplayer.net/901423-Big-data-analytics-on-modern-hardware-architectures.html | CC-MAIN-2016-44 | en | refinedweb |
Extensible Markup Language (XML) is a simplified version of SGML and is getting a lot of attention in the IT world. XML is a markup language, meaning it uses symbols to describe its own content—in this case, tags consisting of specially defined text enclosed in angle brackets. It is extensible because it allows for fre... | http://etutorials.org/Programming/mastering+delphi+7/Part+IV+Delphi+the+Internet+and+a+.NET+Preview/Chapter+22+Using+XML+Technologies/Introducing+XML/ | CC-MAIN-2016-44 | en | refinedweb |
Acad. 55). For example, U. Washington, the primary measure of sexual harassment in the United States, as well as in some other countries, is the Revised Sexual Experiences Questionnaire (SEQ-R), an 18-item self-report measure developed by Fitzgerald and colleagues in 1995.
With regard to www regulatedbinaryoptionsbroke... | http://newtimepromo.ru/binary-options-with-no-limtis-6.html | CC-MAIN-2016-44 | en | refinedweb |
In web development, config files play a very important role.
Reading config file entries in a code-behind file is a very common thing in web
development.
Config entries are stored in web.config file in the <appSettings>
tag and can be accessed using
There might be a case when we may have to access the impersonated
user... | http://www.c-sharpcorner.com/blogs/accessing-impersonated-users-details-from-code-behind-in-c-sharp1 | CC-MAIN-2016-44 | en | refinedweb |
21 July 2010 16:57 [Source: ICIS news]
TORONTO (ICIS news)--Air Products has signed a contract to build a large on-site air separation unit for China’s Pucheng Clean Energy in Shaanxi province, the US-based industrial gases major said on Wednesday.
Pucheng, a Chinese state-owned firm, would use the industrial gases fro... | http://www.icis.com/Articles/2010/07/21/9378248/air-products-to-build-gas-plant-for-coal-chem-production-in.html | CC-MAIN-2013-48 | en | refinedweb |
Geometry Class Hierarchy
There are additional geometry libraries which may be of use for more specialized uses:
Geometry Structure
This diagram shows the geometry structure for a simple mesh of triangle primitives.
The Detail (GU_Detail) container contains a list of points (GEO_Point) and a list of primitives (GEO_Prim... | http://www.sidefx.com/docs/hdk11.0/hdk_geometry_intro.html | CC-MAIN-2013-48 | en | refinedweb |
Dear forum members,
I'm working on an accounting software, which I was planing to do using C#. Now that I see there is WPF that I can use instead of WinForms, I would like to ask you a couple of questions.
For an account software, which I would like to have it looking good, with dynamic graphs and "easy on eyes" with l... | http://forums.devx.com/showthread.php?173423-C-and-WPF-a-good-choice | CC-MAIN-2013-48 | en | refinedweb |
03 June 2009 19:27 [Source: ICIS news]
LONDON (ICIS news)--Brazilian petrochemicals major Braskem is considering establishing a resins production platform in the US through an alliance with a global player, president Bernardo Gradin said on Wednesday.
Establishing a joint venture in the ?xml:namespace>
“It would probab... | http://www.icis.com/Articles/2009/06/03/9222077/Brazils-Braskem-eyes-resins-production-in-US.html | CC-MAIN-2013-48 | en | refinedweb |
...
CodingForums.com
>
:: Server side development
>
Perl/ CGI
> Is this a Perl problem or an Apache problem?
PDA
Is this a Perl problem or an Apache problem?
Sscotties
08-14-2002, 11:40 AM
Calling Applet to server. Make my Applet work.
Somebody help me please! I'm a student and I know that Applets aren't
really meant t... | http://www.codingforums.com/archive/index.php/t-4020.html | CC-MAIN-2013-48 | en | refinedweb |
Recently I needed a multicast delegate (an event, in other words) that was smart enough to stop calling the delegates in the invocation list when one of the delegates handled the event. In other words, I needed an event chain that stopped once a delegate in the chain indicated that it handled the event. I did some brie... | http://www.codeproject.com/Articles/27406/Event-Chain?msg=2623302 | CC-MAIN-2013-48 | en | refinedweb |
20 November 2009 21:28 [Source: ICIS news]
By Ben DuBose
HOUSTON (ICIS news)--Russia’s proximity to cheaper feedstocks and the growing end-market of China should increase petrochemical investment in the area within the next five years, executives with US engineering and construction firm Fluor said on Friday.
In partic... | http://www.icis.com/Articles/2009/11/20/9266148/russia-petchems-to-grow-on-proximity-to-china.html | CC-MAIN-2013-48 | en | refinedweb |
Professional Plone 4 Development — Save 50%
Build robust, content-centric web applications with Plone 4.
Security should never be an afterthought when building web applications. Zope and Plone provide a robust and flexible security model that lets us worry about our application logic instead of thinking too much about ... | http://www.packtpub.com/article/plone4-development-understanding-zope-security | CC-MAIN-2013-48 | en | refinedweb |
Welcome to the official Java SDK documentation. The first section, Getting Started, covers the basic functionality, laying the foundation for the later sections. If you want to see how to build a full-blown application on top of Couchbase, look for the Tutorial section next.
The Using the APIs section holds self-contai... | http://docs.couchbase.com/couchbase-sdk-java-1.2/ | CC-MAIN-2013-48 | en | refinedweb |
10-06-2010 08:13 AM
I use the BB JDE 5.0 to build my app with the library. I simply add the .jar file to the project and reproduce the code segment of the provided sample. The app compile without error but I have two problems.
1- I noticed the fact that signature Tool Give me a not registered status with two lines of r... | http://supportforums.blackberry.com/t5/BlackBerry-Advertising-Service/Linking-the-jar-with-BB-JDE/m-p/608364 | CC-MAIN-2013-48 | en | refinedweb |
Python API¶
The API is quite large and can be a little daunting at first. Here is a simple example, showing how to download a feed and import it into the cache (including downloading any missing GPG keys and confirming them with the user):
from zeroinstall.injector.config import load_config from zeroinstall.support imp... | https://docs.0install.net/developers/python-api/ | CC-MAIN-2021-31 | en | refinedweb |
Bron: AWS News Blog –
As the volume and complexity of your data processing pipelines increase, you can simplify the overall process by decomposing it into a series of smaller tasks and coordinate the execution of these tasks as part of a workflow. To do so, many developers and data engineers use Apache Airflow, a platf... | https://dutchcloudcommunity.nl/nieuws/wire/aws-news-blog-introducing-amazon-managed-workflows-for-apache-airflow-mwaa/ | CC-MAIN-2021-31 | en | refinedweb |
@GolamMostafa, Serial.read() returns an int, not a byte. So you should store it in an int and rerun your tests.
Serial.read() returns an int, not a byte.
Does it mean that the serial FIFO buffer is word oriented? If so, it agrees with our good old days’ knowledge of UART Port of IBMPC. The upper 8-bit of the return val... | https://forum.arduino.cc/t/understanding-serial-available/524713?page=2 | CC-MAIN-2021-31 | en | refinedweb |
Livewire UI Spotlight is a Livewire component that provides Spotlight/Alfred-like launcher to your Laravel applications:
Laravel Spotlight is now available 🎉— Philo Hermans (@Philo01) April 22, 2021
Spotlight is a @LaravelLivewire component that provides Spotlight/Alfred-like functionality to your @laravelphp applicat... | https://laravel-news.com/livewire-ui-spotlight | CC-MAIN-2021-31 | en | refinedweb |
Hot questions for Using Neural networks in quantization
Question:
Recently, I've started creating neural networks with Tensorflow + Keras and I would like to try the quantization feature available in Tensorflow. So far, experimenting with examples from TF tutorials worked just fine and I have this basic working example... | https://thetopsites.net/projects/neural-network/quantization.shtml | CC-MAIN-2021-31 | en | refinedweb |
WatcherWatcher
The file system watcher that strives for perfection, with no native dependencies and optional rename detection support.
FeaturesFeatures
- Reliable: This library aims to handle all issues that may possibly arise when dealing with the file system, including some the most popular alternatives don't handle,... | https://preview.npmjs.com/package/watcher | CC-MAIN-2021-31 | en | refinedweb |
With the successful implementation of deep learning models in a variety of applications, now it is the time to get results not only accurate but with a faster speed. To get much accurate results, the size of data definitely matters, but when this size impacts the training time of machine learning models, it is always a... | https://analyticsindiamag.com/how-to-implement-cnn-model-using-pytorch-with-tpu/ | CC-MAIN-2021-31 | en | refinedweb |
Java 14 Java Flight Recorder and JFR Event Streaming in Java 14 Get a stream of high-volume data points about your running app. by Ben Evans February 27, 2020 Download a PDF of this article In this article, I discuss a new feature arriving with Java 14. This feature, referred to as JFR Event Streaming (JEP 349), is the... | https://blogs.oracle.com/javamagazine/java-flight-recorder-and-jfr-event-streaming-in-java-14?source=:em:nw:mt::RC_WWMK190726P00001:NSL400036067&elq_mid=156196&sh=2419091808192613082213293109241520&cmid=WWMK190726P00001C0006 | CC-MAIN-2021-31 | en | refinedweb |
snck 0.0.2
progress display
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
snck
snck is a port of tdqm in D.
snck is an acronym of "Shi-N-Cho-Ku" that means "progress" in Japanese.
usage
import snck : sn... | https://code.dlang.org/packages/snck/0.0.2 | CC-MAIN-2021-04 | en | refinedweb |
In Part 1 we did the simple version which can be found here:
Let kick it up a notch by trying it using aws-amplify authentication in this same app.
Plenty of stuff material around on setting up AWS. is good place to start.
Once you have the
aws-cli configured, run
amplify init in the root of the project from part 1.
It... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/idkjs/reason-tutorial-mashup-using-context-1622 | CC-MAIN-2021-04 | en | refinedweb |
#include <nng/nng.h> #include <nng/supplemental/http/http.h> typedef struct nng_http_handler nng_http_handler; int nng_http_handler_alloc(nng_http_handler **hp, const char *path, void (*func)(nng_aio *); int nng_http_handler_alloc_directory(nng_http_handler **hp, const char *path, const char *dirname); int nng_http_han... | https://nng.nanomsg.org/man/v1.3.2/nng_http_handler_alloc.3http.html | CC-MAIN-2021-04 | en | refinedweb |
Laying A Foundation
I've recently had some conversations with other developers about setting up and configuring projects.
I work 👷♂️ for a web development and marketing agency, WiredViews. Working for an agency involves a constant stream of greenfield projects, which means I've had lots of experience "starting" things... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/seangwright/kentico-12-design-patterns-part-22-improving-our-projects-for-developer-experience-1jjk | CC-MAIN-2021-04 | en | refinedweb |
Prom.
In order to get the Prometheus Operator up and running, kube-prometheus provides a collection of manifests for monitoring Kubernetes itself and applications running on top of it. How to set up kube-prometheus differs slightly depending on the Kubernetes environment. This blog post focuses on Kubernetes clusters s... | https://labs.consol.de/kubernetes/2018/06/08/prometheus-operator-kubeadm-ansible.html | CC-MAIN-2021-04 | en | refinedweb |
PMDELPROFILE(3) Library Functions Manual PMDELPROFILE(3)
pmDelProfile - delete instance(s) from the current PMAPI instance profile
#include <pcp/pmapi.h> int pmDelProfile(pmInDom indom, int numinst, int *instlist); cc ... -lpcp
The.
pmAddProfile(3), PMAPI(3), pmFetch(3), pmGetInDom(3), pmLookupDesc(3), pmLookupInDom(3)... | https://www.man7.org/linux/man-pages/man3/pmDelProfile.3.html | CC-MAIN-2021-04 | en | refinedweb |
#include <vtkCompressCompositer.h>
Inheritance diagram for vtkCompressCompositer:
vtkCompressCompositer operates in multiple processes. Each compositer has a render window. They use vtkMultiProcessController to communicate the color and depth buffer to process 0's render window. It will not handle transparency. Composi... | https://vtk.org/doc/release/5.0/html/a01259.html | CC-MAIN-2021-04 | en | refinedweb |
Bitwise operators: definition and manipulation in Ruby
We all familiar with calculation operators like
* / % . But when we are facing operators like
^ | & ~ , what do they mean? In fact, these operators are doing the binary calculation on numbers. In ruby, it’s simple to translate a number between its binary representa... | https://wangyy395.medium.com/bitwise-operators-definition-and-manipulation-in-ruby-fefbc4478028?source=post_internal_links---------5---------------------------- | CC-MAIN-2021-04 | en | refinedweb |
Managing Workforce projects¶
ArcGIS Workforce is a mobile solution that uses the power of location-based decision making for better field workforce coordination and teamwork. It is composed of a web app used by project administrators and dispatchers in the office, and a mobile app used by mobile workers on their device... | https://developers.arcgis.com/python/guide/managing-workforce-projects/ | CC-MAIN-2021-04 | en | refinedweb |
From: Stefan Slapeta (stefan_at_[hidden])
Date: 2005-02-08 07:32:52
Hi all,
there are a few cases where I didn't touch the code when replacing
BOOST_TEST. One of them is the subgraph test, as there occurs a slightly
different problem:
It seems to me that this code worked so far:
// ...cpp file
#include <boost/test/mini... | https://lists.boost.org/Archives/boost/2005/02/80021.php | CC-MAIN-2021-04 | en | refinedweb |
So, here is the story. I have a GridView which contains the ASP.NET CheckBox control. Each row also have the primary key of the database table. Now, I need to get the ID of the selected checkbox using JavaScript. I used a hidden field to store the ID of the row (The row is hidden and the user cannot see it on the displ... | http://geekswithblogs.net/AzamSharp/archive/2006/08/29/89697.aspx | CC-MAIN-2021-04 | en | refinedweb |
Perfect Shuffle
March 13, 2020
This is easy if we use our Standard Prelude:
(define (faro xs) (let-values (((f r) (split (/ (length xs) 2) xs))) (flatten (zip f r))))
(define (perf n) (let ((ds (range n))) (do ((xs (faro ds) (faro xs)) (k 1 (+ k 1))) ((equal? xs ds) k))))
> (faro (range 1 8)) (1 5 2 6 3 7 4 8) > (faro ... | https://programmingpraxis.com/2020/03/13/perfect-shuffle/2/ | CC-MAIN-2021-04 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.