text
stringlengths
454
608k
url
stringlengths
17
896
dump
stringclasses
91 values
source
stringclasses
1 value
word_count
int64
101
114k
flesch_reading_ease
float64
50
104
In Nagios it is easy to check that a log message happened in the last 48 hours and sound alarm. But how can I configure Nagios that it should sound alarm when a message did not occur in the last 48 hours? Why is this so hard? I'm using the "Check WMI Plus" plugin (no agent required) to check the event log on a windows ...
http://serverfault.com/questions/511034/notify-when-a-message-did-not-occur
CC-MAIN-2016-22
refinedweb
605
70.33
Hello and welcome back for part 3 of our journey into React. By now, you’ve set up your windows based work environment, and have created your first hello world app. If you’ve missed these, I’d highly recommend going back and reviewing them: part 1 is here, and part 2 is here. Our goal today will be really digging into ...
https://www.davidmeents.com/blog/journey-into-react-part-3-navigating-between-webpages-with-react-router/
CC-MAIN-2017-26
refinedweb
1,342
62.17
ioctl(), ioctl_socket() Control a device Synopsis: #include <sys/ioctl.h> int ioctl( int fd, int request, ... ); int ioctl_socket( int fd, int request, ... ); Arguments: - fd - An open file descriptor for the file or device that you want to manipulate. - request - What you want to do to the file or device; see below fo...
https://developer.blackberry.com/playbook/native/reference/com.qnx.doc.neutrino.lib_ref/topic/i/ioctl.html
CC-MAIN-2021-21
refinedweb
451
50.33
Dreamcast architecture specific options. More... #include <kos/cdefs.h> #include <dc/video.h> Go to the source code of this file. Dreamcast architecture specific options. This file has various architecture specific options defined in it. Also, any functions that start with arch_ are in here. Pass in a frame pointer val...
http://cadcdev.sourceforge.net/docs/kos-current/arch_8h.html
CC-MAIN-2013-20
refinedweb
442
72.12
SQL Server Integration Services File Name Usage By: Scott Murray | Updated: 2015-06-19 | Comments (3) | Related: More > Integration Services Development Problem How can I use file names and properties when loading files in SQL Server Integration Services (SSIS)? Is the only option writing VB or C# code? Are there any o...
https://www.mssqltips.com/sqlservertip/3653/sql-server-integration-services-file-name-usage/
CC-MAIN-2020-10
refinedweb
1,083
70.33
DtSaverGetWindows(library call) DtSaverGetWindows(library call) NAME [Toc] [Back] DtSaverGetWindows - get the list of windows for drawing by a screen saver application SYNOPSIS [Toc] [Back] #include <Dt/Saver.h> Boolean DtSaverGetWindows( Display *display, Window **window, int *count); DESCRIPTION [Toc] [Back] The DtSa...
http://nixdoc.net/man-pages/HP-UX/man3/DtSaverGetWindows.3.html
CC-MAIN-2020-10
refinedweb
183
55.44
I tried something out for the first time today that really caught my interest and so I thought I’d share. I first heard reference to ‘Project Rome’ back at //build/ 2016 but I must admit that I hadn’t found time to watch the session about it properly until recently and that’s partly just due to ‘never having time’ and ...
https://mtaulty.com/2016/08/17/windows-10-anniversary-update-1607-and-uwp-apps-connected-apps-and-devices-via-rome/
CC-MAIN-2020-45
refinedweb
2,043
51.48
Created on 2016-09-29 15:28 by qubodup, last changed 2016-09-29 21:59 by qubodup. This issue is now closed. The following code will result in a small label and a big button: from tkinter import * from tkinter.ttk import * root = Tk() root.option_add("*Font", "sans-serif 12") s = Style() s.configure('TButton', font=('co...
https://bugs.python.org/issue28313
CC-MAIN-2021-31
refinedweb
144
72.02
Technical Support On-Line Manuals RL-ARM User's Guide (MDK v4) #include <net_config.h> void dhcp_cbfunc ( U8 opt, /* DHCP Option code. */ U8* val, /* DHCP Option value. */ U16 len); /* DHCP Option length.*/ The dhcp_cbfunc function is what DHCP client calls, when the extended DHCP options are enabled in system configur...
http://www.keil.com/support/man/docs/rlarm/rlarm_dhcp_cbfunc.htm
CC-MAIN-2019-43
refinedweb
201
69.07
The QStringListModel class provides a model that supplies strings to views. More... #include <QStringListModel> Inherits: QAbstractListModel. Inherited by: QHelpIndexModel. The QStringListModel class provides a model that supplies strings to views. QStringListModel is an editable model that can be used for simple cases...
http://doc.qt.nokia.com/main-snapshot/qstringlistmodel.html#data
crawl-003
refinedweb
528
51.95
match In the following, we say things like This means that the full string t.j. should not match. t.j. wil not appear in the set of answers returned by finditer. Sub-parts of it might (e.g., t.j may match), but t.j. won’t. Write a python file called regexs.py that defines several variables containing compiled regular e...
http://cs1110.cs.virginia.edu/w10-re1.html
CC-MAIN-2017-43
refinedweb
671
77.74
Hi everyone- After spending a couple of bucks on AWS, i decided to build my own DL Machine rather earlier. I have a desktop machine containing: I am new to Ubuntu and DL so am trying to optimize the system under Ubuntu. The particular issues i have- I think there is somewhere problem as the notebook should be using the...
http://forums.fast.ai/t/optimization-of-local-setup/8577
CC-MAIN-2017-51
refinedweb
607
70.73
Red Hat Bugzilla – Bug 246385 UTF-8 with ncurses Last modified: 2007-11-30 17:12:09 EST Description of problem: It seems that the Python 2.5 in F7 is linked with ncurses so that the display of UTF-8 characters seems messed up. Version-Release number of selected component (if applicable): 2.5-12.fc7 How reproducible: Al...
https://bugzilla.redhat.com/show_bug.cgi?id=246385
CC-MAIN-2018-09
refinedweb
193
69.18
New Help System What is the problem? Having help pages provided as wiki pages has some disadvantages: - They clutter the project wiki with pages unrelated to the actual project. trac-admin wiki upgradeby system admin is needed to update the pages, but very often they are not updated leaving the help pages out of sync w...
https://trac.edgewall.org/wiki/TracDev/Proposals/NewHelp
CC-MAIN-2018-17
refinedweb
1,990
59.03
Close file when done We love openpyxl where I work, particularly when using petl with it. However, it seems there is no way to close an openpyxl workbook and destroy it. This means that if later I want to move a file that I've read and dealt with, I can't - the file is in use. I have to kill an excel process to do it. ...
https://bitbucket.org/openpyxl/openpyxl/issues/673
CC-MAIN-2020-24
refinedweb
852
72.16
I've been working to update my app to use Air 33 - replaced all ANEs with the new versions - all looks good running in the simulator, but when I try to build for iOS to test on my phone I get the error "framework not found AppTrackingTransparency" and it fails. I'm using the Distriqt Ads ANE and have updated my project...
https://forum.starling-framework.org/d/22799-framework-not-found-apptrackingtransparency
CC-MAIN-2021-21
refinedweb
669
78.69
Hi all, I'm trying to add the Unity Button Script to a 3d gameObject. When I tried this by adding it onto a cube, I can't get the desired behaviours. How can I get the 3d object to work like a button? In particular the highlighting colors, the click events. I was speculating that perhaps it uses the wrong raycaster, an...
https://answers.unity.com/questions/1502836/add-button-script-to-3d-gameobject.html
CC-MAIN-2021-17
refinedweb
582
71.24
If you know some C++ but you're not sure what a virtual function is, please read that one first. If you don't know C++ at all, read Halspal's stuff instead. He's really good. In the C++ programming language, a "pure virtual" function is a class member function which is declared but not implemented. It is, of course, de...
https://everything2.com/title/pure+virtual
CC-MAIN-2021-10
refinedweb
1,553
70.53
Oracle Application Express JavaScript API Reference This section describes the JavaScript APIs available to Oracle Application Express applications. You can use these functions to provide client-side functionality, such as showing and hiding page elements, or making Ajax (Asynchronous JavaScript and XML) requests. Most...
https://docs.oracle.com/en/database/oracle/application-express/18.2/aexjs/toc.html
CC-MAIN-2020-10
refinedweb
1,472
64.1
I had to compile a 32-bit application using GNU gcc on the 64-bit version of Linux. Luckily, gcc man page directed me to the ‘-m32’ and ‘-m64’ options. These options generate code for 32-bit or 64-bit environments, respectively. - The 32-bit environment sets int, long and pointer to 32 bits and generates code that runs...
https://www.cyberciti.biz/tips/compile-32bit-application-using-gcc-64-bit-linux.html
CC-MAIN-2018-34
refinedweb
1,300
67.55
nghttp2_session_set_local_window_size¶ Synopsis¶ #include <nghttp2/nghttp2.h> - int nghttp2_session_set_local_window_size(nghttp2_session *session, uint8_t flags, int32_t stream_id, int32_t window_size)¶ Set local window size (local endpoints's window size) to the given window_size for the given stream denoted by strea...
https://nghttp2.org/documentation/nghttp2_session_set_local_window_size.html
CC-MAIN-2021-25
refinedweb
219
57.16
Lin,In arch/x86/include/asm/smp.h, you added:static inline bool cpu_has_ht_siblings(void){ bool has_siblings = false;#ifdef CONFIG_SMP has_siblings = cpu_has_ht && smp_num_siblings > 1;#endif return has_siblings;}I am wondering about the goal of this function.Is it supposed to return whether or not HT is enabled?Ht ena...
https://lkml.org/lkml/2011/4/22/114
CC-MAIN-2017-51
refinedweb
300
57.06
Keeping code compatible with Pythons 2 and 3¶ DIPY supports Python versions from 2.6 to 3.5. In order to maintain code that supports both Python 2 and Python 3 versions, please follow these instructions. There is useful advice here: - - - Future imports¶ For any modules with print statements, and for any modules where ...
http://nipy.org/dipy/devel/python3.html
CC-MAIN-2019-26
refinedweb
492
73.78
I'm experimenting with using dictionaries in Python as an alternative to switch cases. I'd like to use a range of values as a key in my dictionary. I have something similar to the code below: dispatcher = { 0 < col_value <= .5: "avg", .5 < col_value <= .9: "value", } for col in self.missing_ratios_dict: self.to_do_list...
https://codedump.io/share/lHmY2SqqjATz/1/using-ranges-as-keys-in-dictionaries
CC-MAIN-2017-39
refinedweb
157
66.84
🏃♀️ pgsql-ast-parser is a Postgres SQL syntax parser. It produces a typed AST (Abstract Syntax Tree), covering the most common syntaxes of pgsql. 📐 Installation With NodeJSWith NodeJS npm i pgsql-ast-parser With DenoWith Deno Just reference it like that: import { /* imports here */ } from ''; 📖 Parsing SQL Parse sql...
https://www.npmjs.com/package/pgsql-ast-parser
CC-MAIN-2021-43
refinedweb
852
54.63
. If you’ve used the Lync client at all, you’ve probably made use of the context menus that let you click on a contact (either in Lync itself, or in another application, such as Outlook, that has the Lync presence controls), and choose one of the options for initiating a conversation. Depending on how you initiate the ...
http://blog.greenl.ee/2011/11/06/adding-custom-menu-items-lync-client/
CC-MAIN-2017-17
refinedweb
1,973
63.09
ABI safe library theory of operation The idea with the ABI safe library (currently the version_1 namespace types) is to provide a set of types that have a defined binary representation regardless of compiler settings, version, or options. And so these types can be passed freely across a DLL boundary. The template types...
http://stlab.adobe.com/wiki/index.php?title=ABI_safe_library_theory_of_operation&oldid=2423
CC-MAIN-2014-35
refinedweb
303
54.97
pep257 0.3.0 Python docstring style checker pep257 is a static analysis tool for checking compliance with Python PEP 257. The framework for checking docstring style is flexible, and custom checks can be easily added, for example to cover NumPy docstring conventions. Installation pip install pep257 Alternatively, you ca...
https://pypi.python.org/pypi/pep257/0.3.0
CC-MAIN-2016-50
refinedweb
288
58.69
This article is the second of a three-part series and describes how we optimized our data processing and reached performance improvements tweaking our code. Make sure you covered the first article about how we tweaked PHPExcel to run faster while reading Excel and CSV files. Google Chrome 43, which was released in mid-...
https://blog.bitexpert.de/blog/archive/2015?start=30
CC-MAIN-2019-13
refinedweb
369
64.41
circe-fs2circe-fs2 This project provides support for using fs2 for streaming JSON parsing and decoding with circe, a Scala library for encoding and decoding JSON to Scala types. ParsingParsing Circe-fs2 provides different pipes to parse your streams of JSONs depending on whether your stream is: - a \n-separated stream ...
https://index.scala-lang.org/circe/circe-fs2/circe-fs2/0.9.0-M4?target=_2.11
CC-MAIN-2019-30
refinedweb
243
50.67
DAIA::Object - Abstract base class of all DAIA classes version 0.421 This package implements just another Perl meta-class framework. Just ignore it unless you have a clue what "meta-class framework" could mean. Some concepts are borrowed from the mighty Moose object system but this framework is much smaller. Maybe you ...
http://search.cpan.org/~voj/DAIA-0.421/lib/DAIA/Object.pm
CC-MAIN-2017-13
refinedweb
574
57.87
In our today’s blog, we are going to discuss a type of iterator called foldable that is used to iterate over collections. Foldable is an abstraction for the foldLeft & foldRight. We will now look in the Foldable. Foldable Foldable type class contains the foldLeft & foldRight are instances of foldable which we are used ...
https://blog.knoldus.com/scalafp-lets-discuss-about-foldable/
CC-MAIN-2021-25
refinedweb
461
71.75
Popularity 2.3 Growing Activity 0.0 Stable 13 1 2 Monthly Downloads: 692 Programming language: Elixir License: MIT License mnemonic_slugs alternatives and similar packages Based on the "HTTP" category. Alternatively, view mnemonic_slugs alternatives based on common mentions on social networks and blogs. mint9.6 6.5 mne...
https://elixir.libhunt.com/mnemonic_slugs-alternatives
CC-MAIN-2021-43
refinedweb
630
51.24
Not sure if anyone lives here, hopefully there is someone watching. I created the following tuple. How do I use indexing to get, example: All the months that starts with the letter J? Here is what I have. monthsOfYear = ("January", "February", "March", "April", "May", "June",\\ "July", "August", "September", "October",...
http://community.sitepoint.com/t/using-loop-and-indexing-to-get-specific-letters-in-a-string/96287
CC-MAIN-2014-52
refinedweb
174
64.81
Before. In the following, I will show, how to create an analysis like the previous post: “Sell in May and Go Away – Really?“. Step 1: Obtain the data First, we need to get the data for the analysis. We turn to Yahoo to fetch the Dow-Jones Index (See List of Market Data Sources for other sources). Somehow, Yahoo Finance...
https://computeraidedfinance.com/2012/05/21/the-easiest-back-testing-of-trading-strategies-ms-excel-pivot-table/
CC-MAIN-2019-22
refinedweb
360
54.66
Hello again, this is Peter Gurevich, Performance PM for IE. We have gotten a lot of good feedback from our first posts on IE + JavaScript Performance Recommendations Part 1 and Part 2, so I am eager to hear what you think of our third installment. JScript Code Inefficiencies – Chapter 2 Here we’ll be concentrating on s...
https://blogs.msdn.microsoft.com/ie/2007/01/04/iejscript-performance-recommendations-part-3-javascript-code-inefficiencies/
CC-MAIN-2018-43
refinedweb
7,444
64.1
14 February 2011 18:12 [Source: ICIS news] LONDON (ICIS)--INEOS' 2010 fourth-quarter earnings before interest, tax, depreciation and amortisation (EBITDA) fell 8.2% to €270m ($365m) on squeezed European cracker margins, a port strike in France and a lightning strike in the US, INEOS said on Monday. The Switzerland-head...
http://www.icis.com/Articles/2011/02/14/9435277/ineos-q4-2010-earnings-fall-8.2-to-270m-on-strike-weather.html
CC-MAIN-2014-10
refinedweb
331
62.98
Introduction Heap Sort is another example of an efficient sorting algorithm. Its main advantage is that it has a great worst-case runtime of O(n*logn) regardless of the input data. As the name suggests, Heap Sort relies heavily on the heap data structure - a common implementation of a Priority Queue. Without a doubt, H...
https://stackabuse.com/heap-sort-in-python/
CC-MAIN-2021-17
refinedweb
1,616
58.01
SIMD machine using cube connected cycles network architecture for vector processingDownload PDF Info - Publication number - US4621339AUS4621339A US06503654 US50365483A US4621339A US 4621339 A US4621339 A US 4621339A US 06503654 US06503654 US 06503654 US 50365483 A US50365483 A US 50365483A US 4621339 A US4621339 A US 4...
https://patents.google.com/patent/US4621339A/en
CC-MAIN-2018-13
refinedweb
15,288
59.94
This is the mail archive of the newlib@sourceware.org mailing list for the newlib project. On 17 Dec 2013, at 4:58 PM, Corinna Vinschen wrote: > On Dec 17 15:53, Craig Howland wrote: >> >> On 12/17/2013 04:42 AM, Corinna Vinschen wrote: >>> On Dec 16 16:54, JF Bastien wrote: >>>> +#ifndef WCHAR_MAX >>>> #ifdef __WCHAR_...
https://sourceware.org/ml/newlib/2013/msg01102.html
CC-MAIN-2018-43
refinedweb
345
70.94
SAML Attributes DiscussionAnil Saldhana Mar 10, 2011 4:50 PM Matt in says =============== Not. ================================== This discussion thread is for the SAML Attributes functionality in PicketLink. 1. SAML Attributes DiscussionMatthew Hayes Mar 11, 2011 11:00 AM (in response to Anil Saldhana) Created For the...
https://community.jboss.org/message/592820
CC-MAIN-2014-10
refinedweb
1,371
63.09
With only that code in place the board locked up after about 3 minutes. If I called any functions from within the ISR it would lockup in about 50 or 60 seconds. Code: Select all uint32_t sensorISR(uint32_t currentTime) { return (currentTime + CORE_TICK_RATE*10) } The project is fairly complex so there is a lot of stuff...
http://chipkit.net/forum/viewtopic.php?f=7&t=3758
CC-MAIN-2017-47
refinedweb
185
76.76
Print / Save / Email In the Print/Save/Email box that appears at the bottom of each results list or single CLIO record, there are options for downloading your records in various ways. You can: print records save records as a text file import records into EndNote bibliographic software save records to your Bookbag for ...
http://www.columbia.edu/cu/lweb/help/clio/print_save_email.html
crawl-003
refinedweb
139
74.02
Wing Tips: Remote Python Development on AWS with Wing Pro In this Wing Tip we'll start looking at how to use Wing Pro to remotely develop Python code running on an AWS instance. With minimal configuration, Wing Pro can edit, debug, test, inspect, and navigate Python code residing on an AWS instance, as if it were on th...
https://wingware.com/blog/aws-1
CC-MAIN-2022-33
refinedweb
1,164
66.98
table of contents NAME¶ rdma_post_recvv - post a work request to receive incoming messages. SYNOPSIS¶ #include <rdma/rdma_verbs.h> int rdma_post_recvv (struct rdma_cm_id *id, void *context, struct ibv_sge *sgl, int nsge); ARGUMENTS¶ DESCRIPTION¶ Posts a single work request to the receive queue of the queue pair associa...
https://manpages.debian.org/bullseye/librdmacm-dev/rdma_post_recvv.3.en.html
CC-MAIN-2022-40
refinedweb
144
53.61
Ali Al DairawiPro Student 877 Points Can any one please assist, i'm close but not close enough. Thanks. Any one please. def loopy(items): items = [] for loo in items: if loo[0]=="a": continue print (loo) # Code goes here 1 Answer Stuart Wright41,074 Points There are three things to fix here: - you need to delete your "...
https://teamtreehouse.com/community/can-any-one-please-assist-im-close-but-not-close-enough-thanks
CC-MAIN-2020-24
refinedweb
136
86.44
6.1.Method Structure Methods are extremely useful because they allow you to separate your logic into different units. You can pass information to methods, have it perform one or more statements, and retrieve a return value. The capability to pass parameters and return values is optional and depends on what you want the...
https://www.onlinetrainingzone.org/c-2/?section=method-structure
CC-MAIN-2020-29
refinedweb
1,862
67.96
What is safe control in SharePoint 2010? - Get link - Other Apps In SharePoint Environment a developer can add ASPX file very easily. An ASPX file contains code which may affect the SharePoint environment. In simple words, there might be a security risk of security injection.> To mark controls as safe or unsafe in the ...
https://www.sharepointcafe.net/2014/03/what-is-safe-control-in-sharepoint-2010.html
CC-MAIN-2019-43
refinedweb
329
68.06
0 :mrgreen: I've just started learning and doing examples out of the book but I wanted to see if I could actually make something besides just copying stuff out of a book. So I tried to make an addition calculator. This isnt the entire source code but just a few snippets to make sure that im getting the procedure right....
https://www.daniweb.com/programming/software-development/threads/32658/trying-to-create
CC-MAIN-2016-50
refinedweb
164
73.21
Consider the following problem Will has been feeling pretty lonely lately. In order to help himself he creates a dating website. Being a computer scientist, he comes up with an interesting way of computing how well one person would match with another. Based on the information entered, Will creates a 32 bit unsigned int...
https://codedump.io/share/jQGMggoCaL0e/1/matching-names-with-corresponding-32-bit-unsigned-integers
CC-MAIN-2017-34
refinedweb
1,102
67.49
This post is about a common question How can we populate af:table programmatically? It means that data in af:table is not populated through the model layer (Using ViewObject) using the binding layer. let’s say I have some values in our managed bean and have to show records in tabular format on page So what we have to d...
http://www.awasthiashish.com/2014/11/populate-aftable-programmatically-from-managead-bean-using-pojo.html
CC-MAIN-2021-39
refinedweb
1,064
51.31
Copy, load, redirect and tee using C++ streambufs Contents out << std::setw(3) << place << ". " << "Name " << name << ", Score " << std::fixed << std::setprecision(2) << score << '\n'; fprintf(out, "%3d. Name %s, Score %.2f\n", place, name, score); Cout or printf? Towards the end of an interview I was asked: “Cout or p...
http://wordaligned.org/articles/cpp-streambufs
CC-MAIN-2018-05
refinedweb
1,827
57.47
Library Interfaces and Headers - message queue structures #include <sys/msg.h> The <sys/msg.h> header defines the following data types through typedef: used for the number of messages in the message queue used for the number of bytes allowed in the message queue These types are unsigned integer types that are able to s...
http://docs.oracle.com/cd/E23823_01/html/816-5173/msg-3head.html
CC-MAIN-2014-52
refinedweb
161
67.15
SYNOPSIS#include <gspool.h> #include <stdio.h> FILE *gspool_jobadd(const int fd, struct apispq *jobd, const char *delim, const unsigned deliml, const unsigned delimnum) int gspool_jobres(const int fd, jobno_t *jobno) int gspool_jobadd(const int fd, const int infile, int (*func)(int,void*,unsigned) struct apispq *jobd, ...
http://manpages.org/gspool_jobadd/3
CC-MAIN-2020-05
refinedweb
999
61.67
22 August 2005 By clicking Submit, you accept the Adobe Terms of Use. Intermediate You have read my previous article: XML. Fortunately, Dreamweaver 8 takes a visual approach to XSL transformations, helping you process XML-based data with no hand-coding at all. In order to understand how XML and XSL can be used together...
http://www.adobe.com/devnet/dreamweaver/articles/xsl_overview.html
CC-MAIN-2014-52
refinedweb
3,071
60.35
iMessageChannel Struct ReferenceThis is an message channel. More... #include <physicallayer/messaging.h> Detailed DescriptionThis is an message channel. Objects interested in receiving messages from this channel can implement iMessageReceiver and register themselves to this channel. Objects interested in sending messag...
http://crystalspace3d.org/cel/docs/online/api-1.4/structiMessageChannel.html
CC-MAIN-2015-40
refinedweb
307
52.15
I think your first thought about this article would be that: "oh, another tool to parse XML like MSXML". In fact, this article is based on MSXML. What I will present for you is not a general XML parser, but a generator to create a specific XML parser. The purpose of my article is not to teach you some knowledge about a...
https://www.codeproject.com/Articles/7258/Generate-an-XML-parser-automatically
CC-MAIN-2021-43
refinedweb
672
69.11
How to: Use the HardwareButton Component You can configure the hardware buttons on a Pocket PC to activate a Form. This example activates an application with the first and fourth hardware buttons, and indicates in the status bar which button was pressed. To set a hardware button to activate a form Create a Pocket PC Wi...
http://msdn.microsoft.com/en-us/library/ms172536(v=vs.90).aspx
CC-MAIN-2014-23
refinedweb
183
59.09
Handle coroutines from synchronous functions or methods (like special methods) Handle coroutines from synchronous functions or methods (like special methods) Goal This package helps handling such cases when there is a side effect that is coded as a coroutine and the code block that needs it cannot be run as a coroutine...
https://pypi.org/project/metapensiero.asyncio.transaction/
CC-MAIN-2017-39
refinedweb
557
59.9
63 -- N0 Devil Rays - win first - exhibition - game - against maj( league squad. PAGE 1 = o H C~ $:~N. U.~ DCF bSuiCo-pyrighted Material pIIC **--- *MOSyndicated Content' Available from Commercial News Providers" ding better bovines DAVE SIGLER/Chronicle Greg Baker works with FFA and 4-H students recently at his Foggy ...
https://ufdc.ufl.edu/UF00028315/00063
CC-MAIN-2020-50
refinedweb
81,132
79.06
TimerWipy Hi , can someone explain how the method ''''timerchannel.irq(*, trigger, priority=1, handler=None)''' works? I have to use TimerWiPy.PERIODIC. I don't undestand also handler function. @robert-hh Hi, sorry for my insistence on this topic. I 'm not able to use thread but I read about it and I think that it's be...
https://forum.pycom.io/topic/3738/timerwipy/15?lang=en-US
CC-MAIN-2021-17
refinedweb
1,862
69.07
Regardless of what language you use, Bcrypt provides a secure way to store encrypted passwords for just about any online system today. Bcrypt was first presented in 1999 and uses Blowfish as the cipher. You can also specify an iteration count to make it slower, but even more resistant to brute-force and dictionary atta...
https://damianhodgkiss.com/articles/how-to-encrypt-passwords-in-php-node-js-python/
CC-MAIN-2020-29
refinedweb
593
56.96
Is this a bug? Greetings The event is not getting fire because Button class is marking the event as Handle but you should be able to use Click event. Thanks Eduardo OK, I have read this following in the help document: Certain control classes (for example Button) provide control-specific handling for mouse events such a...
http://silverlight.net/forums/p/17446/64923.aspx
crawl-002
refinedweb
2,818
66.84
Wednesday, May 27, 2009 There. posted @ Wednesday, May 27, 2009 1:12 AM | Feedback (0) | Filed Under [ ASP.NET ] Tuesday, May 26, 2009 .NET's SqlDataReader class is based on an active connection to the database. This means that while the SqlDataReader is in use, the SqlConnection that is serving the SqlDataReader is op...
http://geekswithblogs.net/bullpit/Default.aspx
crawl-002
refinedweb
673
53.51
AlphaSBase is an abstract base class used by the StandardModelBase to implement the QCD coupling, . More... #include <AlphaSBase.h> . AlphaSBase is an abstract base class used by the StandardModelBase to implement the QCD coupling, . The AlphaSBase also encodes the number of active flavours at a given scale and the for...
https://thepeg.hepforge.org/doxygen/classThePEG_1_1AlphaSBase.html
CC-MAIN-2018-39
refinedweb
136
52.05
's' might be null. } static void AcceptNonNullString(string! s) { // Here we have the garantee that the reference 's': public class Foo { string! m_String; public Foo(string! s) { // Here the compiler must understand that m_String // hasn't been assigned yet and is null. int length = m_String.Length; m_String = s; } }...
http://codebetter.com/blogs/patricksmacchia/archive/2007/07/25/i-want-non-nullable-types-in-c-4.aspx
crawl-002
refinedweb
110
70.29
. Try to stop execution of multiple threads if found a result from one of the thread. Susan Smith Ranch Hand Joined: Oct 13, 2007 Posts: 223 posted Mar 26, 2009 11:21:25 0 I have a class below, where I try to run several process simultaneously from a thread. If one of the thread found a result, I want to stop all the p...
http://www.coderanch.com/t/437945/java/java/stop-execution-multiple-threads-result
CC-MAIN-2013-20
refinedweb
807
71.34
Open the visual studio 2012 and add empty SharePoint project. Then create the project as farm solution by giving the testing SharePoint server URL (you can give sandbox solution as per your requirement) Then I'm going to add a feature ; which is going to create a SharePoint list in feature activation. (adding a feature...
http://www.codeproject.com/Articles/547313/HowplustoplususeplusSharePointplusEmulatorplustopl
CC-MAIN-2014-52
refinedweb
327
51.04
Why leave magical runes exposed? It also takes around 20 seconds to run, which is probably way to long. Windows Task Manager calculate the CPU use with an interval of one second. However, observing the Task Manager while the script is running shows that that process never reaches 99%, while other processes are definite...
http://juicecoms.com/cpu-usage/powershell-cpu-percentage.html
CC-MAIN-2017-51
refinedweb
1,220
53.65
You can subscribe to this list here. Showing 2 results of 2 Bugs item #910023, was opened at 2004-03-04 13:25 Message generated for change (Comment added) made by jdhildeb You can respond by visiting: Category: WebKit Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Josh Minor (joshminor) Assign...
http://sourceforge.net/p/webware/mailman/webware-devel/?viewmonth=200403&viewday=26
CC-MAIN-2014-15
refinedweb
346
67.04
Hi, I am trying to generate service classes by de-marshalling wsdl published by Amazon. I am using JAX-WS for the same. Running the following command.... wsimport I get the following error.... [WARNING] src-resolve.4.2: Error resolving component 'soapenc:Array'. It was det ected that 'soapenc:Array' is in namespace ' d...
http://www.theserverside.com/discussions/thread.tss?thread_id=61453
CC-MAIN-2016-36
refinedweb
147
66.03
nouvelordre 0.1 A tool for reordering import statements inside Python code blocks. A tool for reordering import statements inside Python code blocks. This project lives on github: github html page: github classic page: repository: $ git clone git://github.com/feth/nouvelordre.git It also lives on pypi: * Getting starte...
http://pypi.python.org/pypi/nouvelordre/0.1
crawl-003
refinedweb
551
56.45
- Interface Controllers and Storyboard - Navigating between Interface Controllers - Summary - It’s really hard to design products by focus groups. A lot of times, people don’t know what they want until you show it to them. - Steve Jobs In Chapter 1, “Getting Started with WatchKit Programming,” you learned about the var...
http://www.informit.com/articles/article.aspx?p=2421568&amp;seqNum=3
CC-MAIN-2019-09
refinedweb
816
52.09
#include <stdio.h> int main (void) { printf ("Hello, world!\n"); return 0; } We will save the above 'C' code in a file named 'hello.c'. Inorder to compile a C file with gcc, use the following command: [bash]$ gcc -Wall hello.c -o hello This compiles the source code in ‘hello.c’ to machine code and stores it in an execu...
http://codingfreak.blogspot.com/2008/02/compiling-simple-c-program-using-gcc.html
CC-MAIN-2017-47
refinedweb
294
66.74
ArsTechnica Compares the P4 and G4e: Part II 192 Deffexor writes "It looks like Hannibal of ArsTechnica fame has put Part 2 of his original comparison article between Intel's P4 and the Apple/Motorola G4e. In a nutshell, this second article covers the execution core, the AltiVec unit and SSE2, as well as a myriad of ot...
https://hardware.slashdot.org/story/01/11/07/1420200/arstechnica-compares-the-p4-and-g4e-part-ii?sdsrc=prevbtmprev
CC-MAIN-2018-13
refinedweb
6,302
62.38
KEYCTL_UPDATE(3) Linux Key Management Calls KEYCTL_UPDATE(3) keyctl_update - update a key #include <keyutils.h> long keyctl_update(key_serial_t key, const void *payload, size_t plen); keyctl_update() updates the payload of a key if the key type permits it. The caller must have write permission on a key to be able updat...
http://man7.org/linux/man-pages/man3/keyctl_update.3.html
CC-MAIN-2019-22
refinedweb
211
76.32
Hey folks! This paper will show you how to rotate the tick labels in Matplotlib plots in Python. Ticks are the values that represent data points on axes. Matplotlib automatically marks the data points on the axes, but it also allows us to create our own axes with ticks and tick labels of our own. Rotate Tick Labels in ...
https://www.askpython.com/python-modules/matplotlib/rotate-tick-labels
CC-MAIN-2022-21
refinedweb
367
66.94
Use definesAt the abstraction layer, everything is the same, at least we hope so. At the low level you will have to re-write it. You should NEVER include anything from the avr libraries i.e. #include <avr/io.h> for any project that does not use an AVR chip. From now on, you should be doing this: /* For AVR */ #if defin...
http://chipkit.net/page/21/
CC-MAIN-2017-22
refinedweb
4,033
59.74
Load and show image using Matplotlib Python library Matplotlib is a 2D plotting Python library that can produce figures, graphs, and charts. In this tutorial, I am going to show you how to show a simple RGB image using the Matplotlib Python library. It is going to be so interesting to use Matplotlib to display an image...
https://www.codespeedy.com/show-image-using-matplotlib-python-library/
CC-MAIN-2019-43
refinedweb
383
72.46
To support NFS activities, several daemons are started when a system goes into run level 3 or multiuser mode. The mountd and nfsd daemons are run on systems that are servers. The automatic startup of the server daemons depends on the existence of entries that are labeled with the NFS file-system type in /etc/dfs/sharet...
http://docs.oracle.com/cd/E19253-01/816-4555/rfsrefer-8/index.html
CC-MAIN-2014-42
refinedweb
2,173
62.48
Several months ago, I wrote a stock quote lens using Michael Hall‘s Singlet. After installing Quantal in September, I started playing with the preview feature in lenses and I really liked it, so I got motivated to add it to my lens. Turns out, it’s super easy. During the process, I also added real charts for the previe...
http://voices.canonical.com/user/171/tag/unity/
CC-MAIN-2016-26
refinedweb
422
73.37
NAMEmodules.conf - configuration file for loading kernel modules DESCRIPTIONThe behavior of modprobe(8) (and depmod(8) ) can be modified by the (optional) configuration file /etc/modules.conf. The. SEMANTICSA_PATH is the fully qualified path to the target. It is possible to use shell meta-characters in A_PATH including...
http://linux.about.com/od/commands/l/blcmdl5_modules.htm
crawl-003
refinedweb
2,159
55.13
I agree that we should leverage open mbeans for this as much as we can. Also, I was wondering if we should consider creating namespace handler that could directly expose individual beans within the blueprint container as mbeans. But maybe exposing a bean as a service (and therefore as a mbean) is good enough. Jarek On ...
http://mail-archives.apache.org/mod_mbox/geronimo-dev/200910.mbox/%3C5eb405c70910300750k6e550369o734427015cafd8d7@mail.gmail.com%3E
CC-MAIN-2016-44
refinedweb
420
69.41
# Solving coding problems with Kotlin: Collection functions ![](https://habrastorage.org/r/w780q1/getpro/habr/upload_files/70f/164/46e/70f16446e19e28bef57a52bd022e455c.jpg)(originally published on [Medium](https://proandroiddev.com/solving-coding-problems-with-kotlin-collection-functions-3d2b1ef7fe2c)) I have talked ...
https://habr.com/ru/post/526384/
null
null
1,874
67.45
While JavaScript’s popularity grows daily, it’s not obvious if enterprise developers spoiled by predictable languages like Java or C# will fill comfortable with it. If they won’t – the cost of the JavaScript-based projects will remain high. Just take a look at this code snippet on the right – I’ve been using Firebug,th...
https://yakovfain.com/2012/07/09/javascript-is-a-sharp-knife/
CC-MAIN-2021-43
refinedweb
457
71.14
Using the .NET Framework SDK Interoperability Tools Sam Gentile February 2004 Applies to: COM Interop Microsoft® .NET Framework C# language Microsoft Visual Studio® .NET Summary: Sam Gentile dives deeply into the .NET Framework SDK interoperability tools, including TLBIMP, SN, TLBEXP, and REGASM. To go beyond (COM) Add...
https://msdn.microsoft.com/en-us/library/aa302324.aspx
CC-MAIN-2018-51
refinedweb
5,268
55.74
import random number = random.randint(0,10) counter = 1 guess = input ("Guess a number between zero and ten. ") if guess == 0: print number if guess == 11: guess = number if number == guess: print "Good guess!" quit() else: while counter <= 5: counter = counter + 1 print "Guess no.", str(counter) + ":" guess = input ("...
http://www.dreamincode.net/forums/topic/242047-number-guessing-with-random-module-integer-comparison-problem/
CC-MAIN-2017-34
refinedweb
203
80.51
Your first Java program Posted on March 1st, 2001 Finally, here’s the program. [15] It prints out information about the system that it’s running on using various methods of the System object from the Java standard library. Note that an additional style of comment is introduced here: the ‘ //’, which is a comment until ...
http://www.codeguru.com/java/tij/tij0038.shtml
CC-MAIN-2014-41
refinedweb
916
65.52
5002/multiple-tabs-in-selenium-webdriver I am using Selenium WebDriver, and I wanted to know whether it is possible to use multiple tabs at the same time or not, because I don't want to use multiple browser instances. If it is not possible to do so then how can I switch between individual tabs, that is running parallel...
https://www.edureka.co/community/5002/multiple-tabs-in-selenium-webdriver
CC-MAIN-2020-16
refinedweb
124
51.85
On Fri, Oct 15, 2010 at 1:00 PM, Raymond Hettinger <raymond.hettinger at gmail.com> wrote: >. +1 from me. Here's a normal cdf and chi squared cdf approximation I use for randomness testing. They may need to refined for inclusion, but you're welcome to use them if you'd like. from math import sqrt, erf def normal_cdf(x,...
https://mail.python.org/pipermail/python-dev/2010-October/104725.html
CC-MAIN-2016-30
refinedweb
148
58.08
Not long ago, I found myself among the ranks of the unemployed and looking for a new job. In my five months on the hunt, I applied for hundreds of positions and went through anywhere from one to five interviews every single week. Apparently, IT jobs are out there. However, so are the applicants – and the recruiters. St...
https://www.infoworld.com/article/2868395/survivors-guide-it-job-search.html
CC-MAIN-2021-49
refinedweb
774
72.97
NAME gd_putdata -- write data to a dirfile database SYNOPSIS #include <getdata.h> size_t gd_putdata(DIRFILE *dirfile, const char *field_code, off_t first_frame, off_t first_sample, size_t num_frames, size_t num_samples, gd_type_t data_type, const void *data_in); DESCRIPTION The gd_putdata() function writes data to a di...
http://manpages.ubuntu.com/manpages/precise/man3/gd_putdata.3.html
CC-MAIN-2014-42
refinedweb
533
50.77
{-# LANGUAGE RecordWildCards #-} -- | The module implements /directed acyclic word graphs/ (DAWGs) internaly -- represented as /minimal acyclic deterministic finite-state automata/. -- -- In comparison to "Data.DAWG.Dynamic" module the automaton implemented here: -- -- * Keeps all nodes in one array and therefore uses ...
http://hackage.haskell.org/package/dawg-0.10/docs/src/Data-DAWG-Static.html
CC-MAIN-2015-35
refinedweb
1,576
74.79
Hi.. First thanks for ReSharper, it's a great product I use every day! At my workplace we are supposed to use the "Cleanup code" feature before every commit. However this is quite easy to forget. What I want to accomplish is to create a svn pre-commit hook that can check whether a code cleanup has been done or not, and...
https://resharper-support.jetbrains.com/hc/en-us/community/posts/206629675-Postprocessing-of-file-after-cleanup-is-complete-
CC-MAIN-2020-16
refinedweb
390
80.21
Here is a listing of C interview questions on “Typedefs” along with answers, explanations and/or solutions: 1. The correct syntax to use typedef for struct is. a) typedef struct temp { int a; }TEMP; b) typedef struct { int a; }TEMP; c) struct temp { int a; }; typedef struct temp TEMP; d) All of the mentioned View Answe...
http://www.sanfoundry.com/c-interview-questions-answers-freshers-typedefs/
CC-MAIN-2017-39
refinedweb
360
71.34
. To write data in a file, and to read data from a file, the Python programming language offers the standard methods write() and read() for dealing with a single line, as well as writelines() and readlines() for dealing with multiple lines. Furthermore, both the pickle and the json module allow clever ways of dealing w...
https://stackabuse.com/reading-and-writing-lists-to-a-file-in-python/
CC-MAIN-2021-17
refinedweb
992
64.1
Fast, cross-platform, standalone ClojureScript environment Lumo is a standalone ClojureScript environment that runs on Node.js and the V8 JavaScript engine. It starts up instantaneously and provides out-of-the-box access to the entire Node.js ecosystem, including a ClojureScript REPL. Lumo also provides a ClojureScript...
https://xscode.com/anmonteiro/lumo
CC-MAIN-2021-17
refinedweb
469
52.26
Hello, I have a little question, but cannot poste the whole code here. Hope, my description is enough.. If I include my own class named “FileIO” in my .qml-files, I can use them properly. But if I start debugging on android, it doesn’t work anymore (red underlined and doesn’t read the txt file, like it’s supposed to). ...
https://felgo.com/developers/forums/t/how-to-include-cpp-files-into-code-on-android
CC-MAIN-2019-22
refinedweb
108
85.59
pfil, pfil_head_register, pfil_head_unregister, pfil_head_get, pfil_hook_get, pfil_add_hook, pfil_remove_hook, pfil_run_hooks - packet filter interface #include <sys/param.h> #include <sys/mbuf.h> #include <net/if.h> #include <net/pfil.h> int pfil_head_register(struct pfil_head *head); int pfil_head_unregister(struct p...
http://nixdoc.net/man-pages/NetBSD/man9/pfil_add_hook.9.html
CC-MAIN-2013-20
refinedweb
198
51.44
Smoke Art Cubes to Smoke ? MattysFlicks ? (CC BY 2.0) Note: This is part of the ?Composing Software? series (now a book!) on learning functional programming and compositional software techniques in JavaScript ES6+ from the ground up. Stay tuned. There?s a lot more of this to come!Buy the Book | Index | < Previous | Nex...
https://911weknow.com/javascript-factory-functions-with-es6
CC-MAIN-2021-31
refinedweb
2,072
58.08