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
vubon + 31 comments // For loop public static void main(String[] args) { Scanner scan = new Scanner(System.in); for(int i = 1; scan.hasNext()== true; i++){ System.out.println(i + " " + scan.nextLine()); } } // While loop System public static void main(String[] args) { Scanner scan = new Scanner(System.in); int i = 0; w...
https://www.hackerrank.com/challenges/java-end-of-file/forum
CC-MAIN-2019-43
refinedweb
2,096
69.58
Technical Support On-Line Manuals Cx51 User's Guide #include <intrins.h> bit _testbit_ ( bit b); /* bit to test and clear */ The _testbit_ routine produces a JBC instruction in the generated program code to simultaneously test the bit b and clear it to 0. This routine may be used only on directly-addressable bit variab...
http://www.keil.com/support/man/docs/c51/c51__testbit_.htm
CC-MAIN-2020-29
refinedweb
105
65.73
Odoo Help Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps: CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc. onchange output show previous value def onchange_resvalue(self, cr, uid, ids, iscopy, description, context=None): context = conte...
https://www.odoo.com/forum/help-1/question/onchange-output-show-previous-value-34010
CC-MAIN-2017-43
refinedweb
241
51.62
09-29-2012 12:51 PM I keep recieving this message as I submit my app for the App World. No matter what i do, I can't even get the icon and app name correct in the simulator, but the app works fine. Any help from anyone? i'm getting extrmemly frustrated - I am testing your app on the BlackBerry PlayBook. Please fix the ...
http://supportforums.blackberry.com/t5/Adobe-AIR-Development/icon-issue-continually-leading-to-rejection/td-p/1925889
CC-MAIN-2013-48
refinedweb
653
66.74
Opened 11 years ago Closed 11 years ago #2060 closed Bug (Fixed) UDFs Documentation issues Description While translating AutoIt help file by the Russian community, we found few issues: 1. In _GUICtrlListView_SetItemSelected: -1 to set selected state of all items There should be a remark about the fact that it will not ...
https://www.autoitscript.com/trac/autoit/ticket/2060
CC-MAIN-2022-33
refinedweb
309
54.63
Hi Chris, Thanks a bunch for the new angle. Question & comments: * I like the simplicity of using a single TVar whose state reflects the not-computed/computed state of the IVal. * I also like the public interface of taking an STM argument (newTIVal(IO)) over returning a sink (newEmptyTIVal(IO)), which came from some no...
http://www.haskell.org/pipermail/haskell-cafe/2008-April/042258.html
CC-MAIN-2014-15
refinedweb
523
53.31
Code Java: can you tell me what is the out put and which interface will call when you want display () Code Java: can you tell me what is the out put and which interface will call when you want display () No. Can you tell us? What happened when you wrote a test program to test this?: Code java: public class DiamondProbl...
http://www.javaprogrammingforums.com/%20member-introductions/8625-interface-printingthethread.html
CC-MAIN-2016-26
refinedweb
116
72.05
STL (Standard Template Library) is a good skill for anyone programming C++ in the modern day. I must say that it takes some getting used to, i.e. there is a fairly steep learning curve, and some of the names that are used are not very intuitive (perhaps because all of the good names had been used up). The upside is onc...
https://www.codeproject.com/articles/6513/practical-guide-to-stl?msg=801053
CC-MAIN-2017-13
refinedweb
3,209
58.92
I installed the ncsdk 1.12 version on a fresh RPi model 3 with Raspbian stretch. I could run /ncappzoo/apps/hello_ncs_py with no issue.I could run /ncappzoo/apps/hello_ncs_py with no issue. When I am running the following script: from mvnc import mvncapi as mvnc # grab a list of all NCS devices plugged in to USB print(...
https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Having-issues-with-loading-a-graph-onto-the-NCS/td-p/659534
CC-MAIN-2021-21
refinedweb
743
68.16
Total newbie - is QML compiled I'm completely a newbie with QT (I have programmed in Python in the past). I know QT is normally C++ and compiled. I watched a video on the new QT 5.1 that showed QT QUICK 2.0. The interesting thing is no C++ code was written - only QT QUICK code. The question - if I create a QT QUICK onl...
https://forum.qt.io/topic/29313/total-newbie-is-qml-compiled
CC-MAIN-2018-09
refinedweb
238
76.22
Details - Type: Bug - Status: Resolved - Priority: Major - Resolution: Fixed - Affects Version/s: 2.0.0Release - Fix Version/s: 2.0.1Release - Component/s: None - Labels:None - Environment:Ubuntu Linux, Java 6, Eclipse 3.5, XML-RPC module 0.7 from mvn repo - Number of attachments : Description The XMLRPCServerProxy see...
http://jira.codehaus.org/browse/GRECLIPSE-664?focusedCommentId=213110&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel
CC-MAIN-2015-14
refinedweb
474
58.69
See the current Perl documentation for lib:Benchmark. Here is our local, out-dated (pre-5.6) version: Benchmark - benchmark running times of code timethis - run a chunk of code several times timethese - run several chunks of code several times timeit - run a chunk of code and see how long it goes timethis ($count, "cod...
http://www.perlmonks.org/index.pl?node=perlman%3Alib%3ABenchmark
CC-MAIN-2018-22
refinedweb
321
59.13
Hi i got an problem i need to read from an text file that i got from an excel file at start. so i want each block in the excel file to have one space at the array i saved it so it got seperated by ; example: 4 ; 0,0 42 ; 0,0 15 ; 3,2 73 ; 5,4 61 ; 5,6 7 ; 4,6 so i've been trying to get some information in these threads...
https://www.daniweb.com/programming/software-development/threads/170038/how-to-read-text-file-into-array-and-skip-the-delimeters
CC-MAIN-2016-50
refinedweb
313
66.51
#include <windows_message_handler.hpp> List of all members. Class that manages a message handling function attched to a win32 HWND. Definition at line 30 of file windows_message_handler.hpp. Function prototype for the message handling function. Definition at line 43 of file windows_message_handler.hpp. callback_t() Att...
http://stlab.adobe.com/classadobe_1_1message__handler__t.html
CC-MAIN-2016-07
refinedweb
217
50.53
Hi, I am using a grouped ListView and want to show information of the group header displayed in the item. Here is my xaml code: <ListView ItemsSource="{Binding ParentList}" IsGroupingEnabled="true"> <ListView.GroupHeaderTemplate> <DataTemplate> <ViewCell> <StackLayout> <Label Text="{Binding ParentTitle}"/> </StackLayou...
https://forums.xamarin.com/discussion/comment/355654
CC-MAIN-2019-13
refinedweb
334
62.98
28 August 2009 17:05 [Source: ICIS news] TORONTO (ICIS news)--German biofuels firm Verbio plans to soon start producing biomethane at two of its bioethanol plants to help reduce environmental impacts, it said on Friday. The company would convert a by-product - called slop (Schlempe), also known as distillers dried grai...
http://www.icis.com/Articles/2009/08/28/9243769/germanys-biofuels-firm-verbio-to-start-producing-biomethane.html
CC-MAIN-2015-18
refinedweb
183
58.32
Dynamic Types in C#. All of these basic concepts come together to form the concept of a C# dynamic type. The dynamic type in C# is a strange, new concept that has some interesting use cases. Those use cases usually apply to interacting with other languages or documents. Let’s say I build a simple class that describes a...
https://urda.com/blog/2010/09/23/dynamic-types-in-csharp
CC-MAIN-2022-21
refinedweb
402
61.26
An easy, no-dependencies package for writing IPE files from Python. Project description Mini-Ipe This is a source-only, no-dependencies Python package to write Ipe files. The proper way to work with Ipe files from Python would probably be to use ipepython from ipe-tools, but this requires building a number of things fr...
https://pypi.org/project/miniipe/
CC-MAIN-2020-45
refinedweb
922
65.93
Identifying Tweets on Twitter in Python Using Machine Learning We deploy a model that identifies whether a tweet is positive or negative. This is a generalized model and thus can be used for any similar purposes in natural language processing. Predictions based on the nature of texts come under ‘Natural Language Proces...
https://www.codespeedy.com/identifying-tweets-on-twitter-in-python-using-machine-learning/
CC-MAIN-2021-43
refinedweb
1,276
67.45
Place-Plus Please see attached file for full problem description. 13. five years. The various development projects and their five-year financial return ($ millions) given that interest rates will decline, remain stable, or increase are shown in the following payoff table. Interest Rates Project Decline Stable Increase ...
https://brainmass.com/statistics/probability/place-plus-149478
CC-MAIN-2017-04
refinedweb
480
57.98
HTML::Mason::Utils - Publicly available functions useful outside of Mason version 1.52 The functions in this module are useful when you need to interface code you have written with Mason. Given a component id, this method returns its default Cache::Cache namespace. This can be useful if you want to access the cached da...
http://search.cpan.org/~jswartz/HTML-Mason-1.52/lib/HTML/Mason/Utils.pm
CC-MAIN-2017-17
refinedweb
190
74.08
Official retail release of Vista was January 30, 2007Official retail release of Vista was January 30, 2007 18 hours ago, PopeDai wrote *snip* 2006. 18 hours ago, PopeDai wrote No, because 16-bit programming hurts my brain. I still don't understand how memory addressing worked with near and far pointers. What's the prob...
http://channel9.msdn.com/Forums/Coffeehouse/VC11-Firefox-Metro-Win8-SDK-and-XP?page=2
CC-MAIN-2014-42
refinedweb
174
73.37
Odoo Help Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps: CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc. Unable to install module I am trying to install OCA/Comptocamp's Analytic Timesheet In Task (timesheet_task) module, but I keep g...
https://www.odoo.com/forum/help-1/question/unable-to-install-module-84180
CC-MAIN-2017-51
refinedweb
137
61.43
Simple shooting game in AS3 In this tutorial you will learn how to create a simple shooting game in Actionscript 3. The objective of the game is to shoot the moving target on the screen. You have three tries to shoot the targets. If you manage to shot three targets without missing them, you win the game. Otherwise you ...
http://www.ilike2flash.com/2011/03/simple-shooting-game-in-as3.html
CC-MAIN-2017-04
refinedweb
1,141
68.36
Figure 1 - The property grid in action Are you familiar with that window in Visual Studio .NET that lets you edit all your forms? You know, the one that you wish you could add to all your programs because it has such a cool interface? You know, the Property Window! Well guess what? You can add it to your windows form a...
http://www.c-sharpcorner.com/article/using-property-grid-in-C-Sharp/
CC-MAIN-2017-43
refinedweb
901
61.06
23 September 2011 07:46 [Source: ICIS news] Correction: In the ICIS story headlined "Dushanzi Petchem to restart crackers, polyolefins in late Sep, Oct" dated 23 September 2011, please read in the first paragraph ... "plants in Dushanzi" ... instead of ... "plants at Urumqi"... and in the fourth paragraph ... "100,000 ...
http://www.icis.com/Articles/2011/09/23/9494566/corrected-dushanzi-petchem-to-restart-crackers-polyolefin-units.html
CC-MAIN-2014-42
refinedweb
220
64.71
Does HCP automatically purge/remove documents based on some retention policy? I was going through REST Developer Guide and saw that HCP has a system metadata called 'retention' which can be set. However it looks like this is different from what i need, since what this does (as per the doc) is that 'HCP will reject atte...
https://community.hitachivantara.com/thread/9788
CC-MAIN-2019-26
refinedweb
126
61.77
SSL_CLEAR(3) OpenSSL SSL_CLEAR(3) SSL_clear - reset SSL object to allow another connection #include <openssl/ssl.h> int SSL_clear(SSL *ssl); Reset ssl to allow another connection. All settings (method, ciphers, BIOs) are kept. SSL_clear is used to prepare an SSL object for a new connec- tion. While all settings are kep...
http://mirbsd.mirsolutions.de/htman/sparc/man3/SSL_clear.htm
crawl-003
refinedweb
164
65.93
The following form allows you to view linux man pages. #include <sys/statvfs.h> int statvfs(const char *path, struct statvfs *buf); int fstatvfs(int fd, struct statvfs *buf); The filesystem. ST_NOSUID Set-user-ID/set-group-ID bits are ignored by exec(3). It is unspecified whether all members of the returned struct have...
http://www.linuxguruz.com/man-pages/fstatvfs/
CC-MAIN-2017-43
refinedweb
133
60.61
0 I have put some xml data in a file the python code below and have been trying to figure out how to get the data from the file add another "person" and then save to the same file again. from lxml import etree from lxml.builder import ElementMaker E = ElementMaker() DOC = E.doc PERSON = E.activity TITLE = E.title DESC ...
https://www.daniweb.com/programming/software-development/threads/290953/lxml-file-i-o
CC-MAIN-2018-30
refinedweb
153
63.25
Introduction: Arduino Audio Output Instructable I've written about sending audio into an Arduino, find that here) SomeList: Amazon Additional Materials: (1x) usb cable Amazon (1x) breadboard (this one comes with jumper wires) Amazon (1x) jumper wires Amazon The purpose of a low pass filter is to smooth out the output ...
https://www.instructables.com/Arduino-Audio-Output/
CC-MAIN-2022-21
refinedweb
1,731
70.84
[:call, [:lit, 1], :+, [:array, [:lit, 1]]] A literal looks like this: [:lit, 42] To traverse the AST, ParseTree comes with the SexpProcessor library, which facilitates the creation of visitors. To analyze all node types of a Ruby AST, a subclass of SexpProcessor with process_XXX methods is created, where XXX is the na...
https://www.infoq.com/news/2007/10/rubinius-compiler-ffi/
CC-MAIN-2021-43
refinedweb
309
52.29
- Versioning in SOAP One interesting note about SOAP is that the Envelope element doesn't expose any explicit protocol version in the style of other protocols such as HTTP (HTTP/1.0 versus HTTP/1.1) or even XML (?xml version="1.0"?). The designers of SOAP explicitly made this choice because experience had shown simple...
http://www.informit.com/articles/article.aspx?p=328640&seqNum=9
CC-MAIN-2019-51
refinedweb
349
50.26
Asynchronous Programming What happens if you have a lot of sockets that are waiting to read or write data? Asynchronous programming lets you write code that basically says, "Call my callback when you actually have something for me." Although this approach is used all the time in C, it's even nicer in Python because Pyt...
http://www.drdobbs.com/tools/concurrency-and-python/206103078?pgno=3
CC-MAIN-2014-23
refinedweb
658
65.42
Game Window IconPosted Wednesday, 18 December, 2013 - 12:11 by jagarciauceda in Hello everyone!! I have a problem. I want change the icon that appears in my game window and put my own icon. but I don't know how do it. I have searched during a lot of hours in google, but I haven't found anything, anybody knows how do th...
http://www.opentk.com/node/3483
CC-MAIN-2015-22
refinedweb
302
84.07
GatewayESP8266MQTTClient in Development Branch Hi, I am starting to do some testing with the GatewayESP8266MQTTClient in the Dev branch. How do we define our own nodeid's. In the past I would do it via begin() in void setup{}. Do we now put begin() in the presentation function? Mike I'm trying the ENC28J60 branch and a...
https://forum.mysensors.org/topic/2193/gatewayesp8266mqttclient-in-development-branch/11
CC-MAIN-2019-22
refinedweb
1,219
63.59
-- | Perform an IO action, and place its result in a 'TMVar'. See -- also "Control.Concurrent.MVarIO" for an 'MVar' version. module Control.Concurrent.STM.TMVarIO (run) where import Control.Concurrent import Control.Concurrent.STM -- | @'run' action@ returns a 'TMVar' immediately. The result of -- @action@ will be plac...
http://hackage.haskell.org/package/stm-orelse-io-0.1/docs/src/Control-Concurrent-STM-TMVarIO.html
CC-MAIN-2014-41
refinedweb
105
61.73
Supreme Court Judgments Subscribe 12/02/1965 SIKRI, S.M. SIKRI, S.M. GAJENDRAGADKAR, P.B. (CJ) HIDAYATULLAH, M. SHAH, J.C. CITATION: 1966 AIR 142 1965 SCR (3) 71 CITATOR INFO : RF 1975 SC1652 (12) ACT: Constitution of India. Arts. 226 and 286(1)(b)--Questions of fact to determine whether sale in the course of import--T...
http://www.advocatekhoj.com/library/judgments/index.php?go=1965/february/17.php
CC-MAIN-2018-17
refinedweb
3,161
66.57
I have tried that with no joy. My current code is: [EPiServer.PlugIn.ScheduledPlugIn(DisplayName = "Reel Content Service")] public class ReelContentTask { static ReelContentTask() { if (PrincipalInfo.CurrentPrincipal.Identity.Name == string.Empty) { PrincipalInfo.CurrentPrincipal = PrincipalInfo.CreatePrincipal("Admin"...
https://world.optimizely.com/forum/legacy-forums/Episerver-CMS-5-R2/Thread-Container/2009/10/Scheduled-task-errors-when-run-automaticaly/
CC-MAIN-2022-21
refinedweb
214
65.32
All opinions expressed here constitute my (Jeremy D. Miller's) personal opinion, and do not necessarily represent the opinion of any other organization or person, including (but not limited to) my fellow employees, my employer, its clients or their agents. A couple of weeks ago I wrote about using the Inversion of Cont...
http://codebetter.com/blogs/jeremy.miller/archive/2005/10/06/132825.aspx
crawl-002
refinedweb
1,015
53.81
In-Depth String functions, integer functions ... booorrring! Tuples in C# 7.0 -- let's explore what makes them infinitely more exciting. String functions return a string. Integer functions return an integer. Ugh, so boring. Fortunately, Microsoft knows all about boring, and it decided to do something about it: tuples. ...
https://visualstudiomagazine.com/articles/2017/01/01/tuples-csharp-7.aspx?admgarea=features
CC-MAIN-2019-47
refinedweb
1,441
53.21
Agenda See also: IRC log <Gregory> GJR: notes that PF has invited simon pieters to join to expedite the process "Discuss with PFWG role attribute vs aria attribute", on Michael Cooper <DanC> I updated actions/8 keeping Action 8 open pending more talk with Michael Cooper "Talk to WebAPI and WAF WGs about their role in o...
http://www.w3.org/2007/11/29-html-wg-minutes
CC-MAIN-2016-30
refinedweb
1,126
55.47
In this section, you will learn how to read a file in memory. Description of code: The class FileInputStream get a channel for the file, and then call map( ) to produce a MappedByteBuffer, which is a particular kind of direct buffer and specify the starting point and the length of the region that you want to map in the...
http://www.roseindia.net/tutorial/java/io/readfileinmemory.html
CC-MAIN-2017-34
refinedweb
162
66.94
This is part 20 of Categories for Programmers. Previously: Free/Forgetful Adjunctions. See the Table of Contents. Programmers have developed a whole mythology around monads. It’s supposed to be one of the most abstract and difficult concepts in programming. There are people who “get it” and those who don’t. For many, t...
https://bartoszmilewski.com/2016/11/21/monads-programmers-definition/
CC-MAIN-2017-09
refinedweb
2,859
59.33
When solving real-world coding problems, employers and recruiters are looking for both runtime and resource efficiency. Knowing which data structure best fits the current solution will increase program performance and reduce time required to make it. For this reason, most top companies require a strong understanding of...
https://www.educative.io/blog/8-python-data-structures
CC-MAIN-2021-31
refinedweb
2,091
53.92
On 10/31/2012 06:29 AM, Leonardo Arena wrote: > Hi, > > I was invited to show up here regarding BZ 871756. I'm the maintainer of > libvirt on Alpine Linux [1], an uclibc-based distro. > > If you need more info, testing, etc. just let me know. > --- a/src/util/logging.c > +++ b/src/util/logging.c > @@ -58,6 +58,11 @@ > ...
https://www.redhat.com/archives/libvir-list/2012-October/msg01741.html
CC-MAIN-2015-14
refinedweb
135
59.19
For the past couple years, .net developers have been embracing various content preprocessors as they become more accessible. For the same couple of years, we’ve been trying to keep up. The dotLess port of the popular .less CSS extension has been getting better by leaps and bounds. It has become almost trivial to embed ...
http://blogs.lessthandot.com/index.php/webdev/serverprogramming/preprocessor-extensibility-in-squishit-0-9/
CC-MAIN-2017-13
refinedweb
1,157
54.52
Problem building OCI plugin for Qt 5.9.1 Hello! I am trying to connect to an Oracle database using OCI but when I try to build the OCI plugin it is giving me some problems... Windows 64 bits Qt version installed is 5.9.1 MinGW 5.3.0 32 bits that I installed along with Qt Instant Client SDK 12.2 for an Oracle Database 1...
https://forum.qt.io/topic/80928/problem-building-oci-plugin-for-qt-5-9-1/1
CC-MAIN-2019-26
refinedweb
993
52.97
So you have a console program. This console program could be run by typing its name at the command prompt, or it could be run by the user double-clicking it from Explorer. And you want to know which case you're in. This is another case of digging into the question to find the problem. In this case, the problem is "Well...
https://blogs.msdn.microsoft.com/oldnewthing/20160125-00/?p=92922
CC-MAIN-2017-30
refinedweb
1,222
71.04
The Samba-Bugzilla – Bug 13008 smbd does not use the Intel AES instruction set for signing and encryption. Last modified: 2017-09-21 16:06:46 UTC This means we are much slower than we should be on traffic using signing or sealing. Created attachment 13524 [details] Original patch from Justin. I've modified this, but fo...
https://bugzilla.samba.org/show_bug.cgi?id=13008
CC-MAIN-2019-35
refinedweb
490
51.04
right now things can include conf.h or httpd.h, but things break if they do both. I was going to make a patch to add: #ifdef HAVE_BSTRING_H #include <bstring.h> /* for IRIX, FD_SET calls bzero() */ #endif to proxy_connect.c, but can't include conf.h or httpd.h in proxy_connect.c because they are included by mod_proxy.h...
http://mail-archives.apache.org/mod_mbox/httpd-dev/199704.mbox/%3CPine.BSF.3.95q.970407223431.19780C-100000@valis.worldgate.com%3E
CC-MAIN-2013-48
refinedweb
102
89.75
I want to create a button and upon clicking, it should open desired webpage. Not sure how I can about it 2 Likes May be use button to show up a hyperlink using markdown ? Hey, Would the following do the trick ? import streamlit as st import webbrowser url = '' if st.button('Open browser'): webbrowser.open_new_tab(url) ...
https://discuss.streamlit.io/t/how-to-link-a-button-to-a-webpage/1661
CC-MAIN-2020-34
refinedweb
140
77.84
I have to setup a small windows network inside my bigger linux/mac infrastructure. In order to get the windows clients logging onto the domain, I have had to make the DC their primary DNS server, which seems to have worked. I would much prefer to have one DNS server running on my network, or at least one authoritative ...
http://serverfault.com/questions/401966/windows-server-2008-active-directory-dns-setup
CC-MAIN-2015-48
refinedweb
367
61.87
to random functions in-memory! This is normally a good way to crash the program, but who knows? You might find a gem! This technique is useful for finding hidden functionality, but it's somewhat limited: it'll only work for applications that you're capable of debugging. With few exceptions (I've used a technique like ...
https://pen-testing.sans.org/blog/2018/12/11/using-gdb-to-call-random-functions/?reply-to-comment=91042
CC-MAIN-2019-18
refinedweb
1,852
63.59
Earlier I mentioned how my computer science and programming class using Python had a problem set asking me to develop a recursive function to detect Palindromes. Here is the function I mentioned in the previous post. def is_palindrome(phrase): # base case if len(phrase) < 2: return True # divide into easier calculation...
http://www.koderdojo.com/blog/python-algorithms-revisiting-recursive-functions-and-palindromes
CC-MAIN-2017-17
refinedweb
450
53.92
How come the following code Gives me the following error:Gives me the following error:Code:#include <iostream> using namespace std; class A { int Num; char Word[12]; public: A(int num, char* word) : Num(num) { strncpy(Word, word, 12); cout << "Building A!\n"; } void Print() { cout << "Num = " << Num << " Word = " << Wo...
http://cboard.cprogramming.com/cplusplus-programming/112815-derived-classes-please-help.html
CC-MAIN-2014-42
refinedweb
256
76.35
There was some talk in the mailing list a couple years ago about supporting XCB in EGL, but I'm going to guess it never amounted to anything. #include <stdlib.h> #include <stdio.h> #include <xcb/xcb.h> #include <EGL/egl.h> void fatal(char *); int main(void) { xcb_connection_t *xdisplay; EGLDisplay edisplay; xdisplay = ...
https://bbs.archlinux.org/extern.php?action=feed&tid=153674&type=atom
CC-MAIN-2016-26
refinedweb
222
50.53
Red Hat Bugzilla – Full Text Bug Listing Created attachment 491687 [details] Code to check for memcpy overlaps Thanks to recent optimizations in glibc where the memcpy happens backwards, it suddenly becomes more important that memcpy is used properly (without overlaps). For reference, see bug #638477 and: So, we need t...
https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=696096
CC-MAIN-2016-44
refinedweb
1,147
77.03
ASP: if (Session["FirstName"] == null) { LabelFirstName.Text = "FirstName"; } else { LabelFirstName.Text = (string)Session["FirstName"]; } if (Session["LastName"] == null) { LabelLastName.Text = "LastName"; } else { LabelLastName.Text = (string)Session["LastName"]; } This method has several drawbacks: So Lets see the w...
http://www.dev102.com/2008/05/07/why-should-you-wrap-your-aspnet-session-object/
crawl-002
refinedweb
1,316
54.63
Quickstart: Creating a connected app with mobile services By starting with the sample that this topic describes, you can create any turn-based game that users play over a network. The TicTacToe sample is a simple Windows Store app that multiple users can play on various devices that are running Windows 8.1. The app sto...
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn481211.aspx
CC-MAIN-2016-44
refinedweb
1,688
55.95
This question is about interval comparison of nested integer intervals. Assume three ranges of integers, which I call target ranges for sake of simplicity. These target ranges never overlap, but may be of different length. > target1 = range(1,10000) > target2 = range(10001,20000) > target3 = range(20001,25000) > test1 ...
https://codedump.io/share/7CFI6m7bUrIl/1/evaluation-of-nested-integer-intervals-in-python
CC-MAIN-2017-43
refinedweb
250
53.55
Hide Forgot Created attachment 878140 [details] server.log I'm meeting error when jts transaction is used in scenario when connection to database is halted during commit phase. When connection is down then jdbc driver throws XAException. In case that it's XAException.XAER_RMERR then HeuristicMixedException is returned ...
https://bugzilla.redhat.com/show_bug.cgi?id=1080140
CC-MAIN-2019-35
refinedweb
1,216
57.77
ABORT(3) Library Functions Manual ABORT(3) abort - cause abnormal program termination #include <stdlib.h> void abort(void); The abort() function causes abnormal program termination to occur, unless the signal SIGABRT is being caught and the signal handler does not return. Some implementations may flush output streams b...
http://resin.csoft.net/cgi-bin/man.cgi?section=3&topic=abort
CC-MAIN-2016-18
refinedweb
125
60.01
Applet - Applet the applet concept and HTML? what is mean by swing? Hi friend, Applet Applet is java program that can be embedded into HTML pages. Java applets... in details to visit.... Applet is then compiled into java class file and we specify the name of class in the applet tag of html page. The java enabled browse...
http://www.roseindia.net/tutorialhelp/comment/87706
CC-MAIN-2014-10
refinedweb
2,529
66.33
Python persistence management Use serialization to store Python objects What is persistence? The basic idea of persistence is fairly simple. Let's say you've got a Python program, perhaps to manage your daily to-do list, and you want to save your application objects (your to-do items) between uses of the program. In ot...
https://www.ibm.com/developerworks/library/l-pypers/index.html
CC-MAIN-2019-13
refinedweb
4,055
56.15
I. Mike Volodarsky from the IIS team wrote a great article for the March 2007 MSDN Magazine that summarizes some of the key IIS 7.0 improvements. I highly recommend reading his excellent article here for a quick summary of some of them. I. The web farm support in particular is really cool, and will allow you to deploy ...
http://weblogs.asp.net/scottgu/archive/2007/04/02/iis-7-0.aspx
crawl-002
refinedweb
2,518
65.93
Looking over recent additions to Google’s Guava Libraries Release 10 I noticed the addition of EventBus. This is a lightweight implementation of a publish-subscribe style messaging system. This is similar to the publish-subscribe model provided by JMS, however the messages remain within the application rather than bein...
http://www.javacodegeeks.com/2013/06/guavas-eventbus-simple-publishersubscriber.html
CC-MAIN-2014-52
refinedweb
713
57.27
Building game show buzzers with a Raspberry Pi The showWinner Function – Lines 12 to 18 The showWinner function is called once a winner is determined. It draws the winner on the public (graphics) screen: def showWinner ( winner ): def is Python's keyword to define a function. Like most other languages, the arguments co...
http://www.raspberry-pi-geek.com/Archive/2013/02/Building-game-show-buzzers-with-a-Raspberry-Pi/(offset)/10
CC-MAIN-2018-34
refinedweb
594
69.41
Title: Tokio, Source: own resources, Authors: Agnieszka and Michał Komorowscy In C# it's simple, we use destructors a.k.a. finalizers almost never. The only one case when they are inevitable is the implementation of Disposable pattern. In C++ the situation is different because we don't have the automatic garbage collec...
https://www.michalkomorowski.com/2017/02/c-for-c-developers-virtual-destructors.html
CC-MAIN-2019-13
refinedweb
547
71.24
Red Hat Bugzilla – Bug 190475 error when two nodes rename two files to same new name Last modified: 2010-01-11 22:11:01 EST Description of problem: processes on two nodes loop doing this in one dir: 1. create a new file foo.pid.count 2. rename foo.pid.count bar We'll regularly get ENOENT returned from the rename(2). Ve...
https://bugzilla.redhat.com/show_bug.cgi?id=190475
CC-MAIN-2017-04
refinedweb
2,066
70.84
Putting an Object in a Safe State Class Attributes As mentioned earlier, it is possible for two or more objects to share attributes. In Java and C++ you do this by making the attribute static: public class Count { static int count; public method1() { }} By declaring count as static, this attribute is allocated a single...
https://www.developer.com/java/ent/article.php/10933_3464311_5/Putting-an-Object-in-a-Safe-State.htm
CC-MAIN-2018-34
refinedweb
564
56.96
One of the many good things in BeOS Release 3 was the addition of system-wide translation services through the Translation Kit. While translation between different data formats was previously available in the form of a third-party library named Datatypes, having a Kit in the BeOS makes it easier to use and install, bec...
https://www.haiku-os.org/legacy-docs/benewsletter/Issue3-26.html
CC-MAIN-2017-04
refinedweb
5,571
60.45
Bug Description When I do a search on totem's youtube plugin it gets stuck "Fetching results ...". The reason for that: ** (totem:2670): DEBUG: Init of Python module ** (totem:2670): DEBUG: Registering Python plugin instance: BBCViewer+ ** (totem:2670): DEBUG: Creating object of type BBCViewer+ ** (totem:2670): DEBUG: ...
https://bugs.launchpad.net/ubuntu/+source/totem/+bug/288494
CC-MAIN-2017-17
refinedweb
1,383
73.68
In this tutorial, you will learn how to add months to date. Here, we are going to add few months to current date and return the date of that day. For this, we have created a calendar instance and get a date to represent the current date. Then using the method add() of Calendar class, we have added 4 months to the calen...
http://www.roseindia.net/tutorial/java/core/addMonthsToDate.html
CC-MAIN-2015-18
refinedweb
149
58.38
In the earlier versions of .NET framework, writing code to perform asynchronous IO operations was not possible and hence the IO operations had to be synchronous. The problems that the developers were encountering with the synchronous approach were: 1. Unresponsiveness of UI - if the application is a thick client and ha...
https://mobile.codeguru.com/csharp/.net/net_framework/supporting-asynchronous-io-operations-with-.net-framework-4.5.htm
CC-MAIN-2021-31
refinedweb
635
58.18
[Here’s a shortcut to the results. But it would be best to read the post first.] Following my previous superoptimizer post, my student Jubi and I were getting up to speed on the prerequisites — SMT solvers, LLVM internals, etc. — when Googler Peter Collingbourne contacted me saying that he had recently gotten a superop...
https://blog.regehr.org/archives/1146
CC-MAIN-2019-18
refinedweb
2,432
67.99
The Javascript world has moved insanely fast the past few years. There is so much innovation, but it has come at a cost: developer convenience. It's just harder to get up and running now, but once you are up and running, your life is amazing. AngularJS was built in a time where web technologies (Javascript, HTML, etc) ...
https://thinkster.io/tutorials/differences-between-angular-1-and-2
CC-MAIN-2019-13
refinedweb
803
61.36
Introduction Previously we created an RSS Feed reading application in Adobe AIR using Flash Builder 4. Our previous application had a simple UI which allowed us to enter a URL for the feed, and has two panes one below another. One to list the items in the feed, and the other to display the summary of the selected item....
http://www.digit.in/general/extending-our-air-feed-reader-application-with-flash-builder-4-5553.html
CC-MAIN-2017-30
refinedweb
1,687
64
I have spent more than six hours trying to get this program to work, but I cannot get it to work. This is a skeleton and description about it. Lesson 10-5 Hierarchical Records This lesson works with program Carsdefined in the Prelab assignment. Exercise 1:Augment Carin program Carswith the following two members: sold A...
http://www.chegg.com/homework-help/questions-and-answers/spent-six-hours-trying-get-program-work-cannot-get-work-skeleton-description--lesson-10-5--q3253400
CC-MAIN-2015-11
refinedweb
391
74.9
Hide Forgot Dearest, we managed to get a fresh RHEL 6.4 box to a state, when any attempt to localinstall fails with: ValueError: your.rpm has no attribute basepath For instance, yum localinstall ~/rpm/* --disablerepo=beaker-* results in: The events preceding this state consisted purely of registering to RHN channels, d...
https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=1016148
CC-MAIN-2020-16
refinedweb
701
67.45
NSI Botches Domain Transfer, Says 'Not Our Problem' 262 Rolan writes "Wired is carrying a story about a botched domain trasfer that cost a customer "a large wad of money". In the end they say it's not their problem, even though they botched it, and Lawyers say he probably can't do anything about it. " Its an interestin...
https://slashdot.org/story/99/12/11/1155244/nsi-botches-domain-transfer-says-not-our-problem
CC-MAIN-2017-26
refinedweb
8,134
73.68
Arrays are objects in Java (see Section 4.1, p. 100). A review of arrays is recommended before continuing with this section. The discussion on passing object reference values in the previous section is equally valid for arrays. Method invocation conversions for array types are discussed along with those for other refer...
https://etutorials.org/cert/java+certification/Chapter+3.+Operators+and+Assignments/3.20+Passing+Array+References/
CC-MAIN-2022-05
refinedweb
384
56.76
. Please note, this tutorial will focus for developing under Windows. Basically 99% of the information will be the same for Linux and Mac too. In case of difference will put a short note. Get the development tools It' very probably you'll already have all the necessary tools but in case, at first, you need to get the G...
https://falsinsoft.blogspot.com/2014/07/using-eclipse-for-develop-android-app.html
CC-MAIN-2018-51
refinedweb
2,389
55.24
I have a function which reads in a file, compares a record in that file to a record in another file and depending on a rule, appends a record from the file to one of two lists. I have an empty list for adding matched results to: match = [] restrictions match def link_match(file): links = json.load(file) for link in lin...
https://codedump.io/share/XEJa22Xq9tVD/1/multiprocessing---calling-function-with-different-input-files
CC-MAIN-2017-17
refinedweb
342
55.64
As I was expecting, some assholes started throwing around snide remarks about my inquiries yesterday. I actually embarked on a farily large rant concerning the way people are simply not mature enough to accept that I am just trying to help out a few friends (and keep trying to figure out whether myself or my company we...
http://taoofmac.com/space/blog/2003/05/17
CC-MAIN-2017-13
refinedweb
736
62.72
In the last tutorial I taught you how to add color to triangles and quads. In this tutorial I will teach you how to rotate these colored objects around an axis. Using the code from the last tutorial, we will be adding to a few places in the code. I will rewrite the entire section of code below so it's easy for you to f...
http://nehe.gamedev.net/tutorial/rotation/14001/
CC-MAIN-2017-26
refinedweb
1,737
75
Using the Request Directly¶ Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing. documented (with OpenAPI, for the automatic API user interface). from fastapi import FastAPI, Request app = FastAPI() @app.get("/items/{item_id}") def read_root(item_id...
https://fastapi.tiangolo.com/zh/advanced/using-request-directly/
CC-MAIN-2021-17
refinedweb
124
52.36
intersystems python client Hello, We are connecting to our client's Intersys database with python3.8 on our Ubuntu 20.04.2 LTS, we are having trouble gettin the intersys.pythonbind module to work. We are able to install the intersystems_irispython-3.2.0-py3-none-any.whl but, when we try to run the code we always get: T...
https://community.intersystems.com/post/intersystems-python-client
CC-MAIN-2022-05
refinedweb
102
71
On 4.2.2017 16:40, Ben Lipton wrote: On 01/12/2017 04:35 AM, Jan Cholasta wrote:On 11.1.2017 00:38, Ben Lipton wrote: AdvertisingOn 01/10/2017 01:58 AM, Jan Cholasta wrote:On 19.12.2016 21:59, Ben Lipton wrote:On 12/15/2016 11:11 PM, Ben Lipton wrote:On 12/12/2016 03:52 AM, Jan Cholasta wrote:On 5.12.2016 16:48, Ben Li...
https://www.mail-archive.com/freeipa-devel@redhat.com/msg39652.html
CC-MAIN-2018-09
refinedweb
2,607
62.07
Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode. Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript). Hello, I was really delighted to hear that svg import is now supported...
https://plugincafe.maxon.net/topic/13617/how-to-import-svg-in-s25-from-path/2?lang=en-US
CC-MAIN-2021-43
refinedweb
334
58.38
ZoomableUIView is a protocol that any UIView can conform to in order to be able to zoom and pan views without using UIScroll View. Particularly handy for views within UIScrollViews ZoomableUIView is using swift3. Usage The simple code to get ZoomableUIView running in your own app. - In case you installed ZoomableUIView...
https://tryexcept.com/articles/cocoapod/zoomableuiview
CC-MAIN-2018-13
refinedweb
312
65.01
Compressed data is a great thing, especially when the GPU hardware is able to decompress it for free while rendering. But what exactly does vertex data compression mean, and how do we enable it? XNA defaults to 32 bit floating point for most vertex data. For instance the VertexPositionNormalTexture struct is 32 bytes i...
https://blogs.msdn.microsoft.com/shawnhar/2010/11/19/compressed-vertex-data/
CC-MAIN-2016-44
refinedweb
1,019
55.37
Here we are going to use the math module as a an introduction to using modules. The math module contains a range of useful mathematical functions that are not built into Python directly. So let’s go ahead and start by importing the module. Module imports are usually performed at the start of a programme. import math Wh...
https://pythonhealthcare.org/2018/03/16/7-python-basics-math-module/
CC-MAIN-2020-29
refinedweb
467
76.32
You can subscribe to this list here. Showing 1 results of 1 Just a ping to bring up the subject again. Attached is a patch to add support for the abstract namespace for Unix Domain Sockets, along with tests for the sb-bsd-sockets test suite, and a client server example using a C-based server and a Lisp based client. Th...
http://sourceforge.net/p/sbcl/mailman/sbcl-devel/?viewmonth=200807&viewday=15
CC-MAIN-2014-52
refinedweb
139
63.09
In this tutorial, we’ll be looking at how to build a SMS-to-Slack bridge using Python and Twilio. The bridge will work in such a way that every time your Twilio phone number receives an SMS message, we’ll forward the content of the SMS message to a channel in Slack. Furthermore, any threaded replies in Slack to the mes...
https://www.twilio.com/blog/build-sms-slack-bridge-python-twilio
CC-MAIN-2020-45
refinedweb
2,100
61.67
Congrats for the great work you guys did on this plugin. I'm a huge fan already! I have a simple form with xtype grid to test this plugin. However, I can't manage to drop the data onto the grid. Code: /*! * Ext JS Library 3.1.1 * Copyright(c) 2006-2010 Ext JS, LLC * licensing@extjs.com * */ Ext.onReady(function(){ Ext....
https://www.sencha.com/forum/showthread.php?79511-Ext.ux.grid.DataDrop/page4
CC-MAIN-2015-22
refinedweb
729
68.87
split¶ - paddle.fluid.layers.nn. split ( input, num_or_sections, dim=- 1, name=None ) [source] Split the input tensor into multiple sub-Tensors. - Parameters input (Tensor) – A N-D Tensor. The data type is bool, float16, float32, float64, int32 or int64. num_or_sections (int|list|tuple) – If num_or_sectionsis int, then...
https://www.paddlepaddle.org.cn/documentation/docs/en/api/paddle/fluid/layers/nn/split_en.html
CC-MAIN-2021-31
refinedweb
336
62.85
During my coverage, I scratched my head on the following case (python 3.4) def simple_gen_function(str_in, sep=""): if sep == "": yield str_in[0] for c in str_in[1:]: yield c else: return str_in # yield from str_in str_in = "je teste " t = "".join(simple_gen_function(str_in)) p = "".join(simple_gen_function(str_in, "\n...
https://codedump.io/share/0SFfGMJsRMrH/1/generator-with-return-statement
CC-MAIN-2017-09
refinedweb
287
54.32
I love the type hinting from Python 3, but I'm really tired of writing from typing import * You could hijack the builtins module and put what you need there. That would make the code harder to maintain, as it would be harder to figure where these globals are coming from, or if they are accidentally clobbered. To be cle...
https://codedump.io/share/d8wzmL3Z5c7P/1/is-it-possible-to-make-all-modules-import-a-module-implicitly
CC-MAIN-2017-04
refinedweb
168
70.73
... It’s a difficult time for many – our hats off to the brave men and women helping heal those affected by the virus. We’ll get through this together. We are working hard to get our next major release out the door in the next 45 days. We expect to share more information on the release and what we expect to include sho...
https://community.devexpress.com/blogs/xaf/archive/2020/04/01/expressapp-framework-tips-and-tricks-march-2020.aspx
CC-MAIN-2020-24
refinedweb
761
55.24