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
Hey I'm trying to teach myself java OO programming using BlueJ and some material from my university, so far it's gone smoothly but I've stumbled on a couple of questions I need help with. For question 12.1, I have a solution and it work but I'm not sure it's the most efficient or it does entireley what the question is ...
http://www.javaprogrammingforums.com/loops-control-statements/18502-help-summing-numbers-without-input.html
CC-MAIN-2014-10
refinedweb
509
73.37
NAME BUF_ISLOCKED - returns the state of the lock linked to the buffer SYNOPSIS #include <sys/param.h> #include <sys/systm.h> #include <sys/uio.h> #include <sys/bio.h> #include <sys/buf.h> int BUF_ISLOCKED(struct buf *bp); DESCRIPTION The BUF_ISLOCKED() function returns the status of the lock linked to the buffer in re...
http://manpages.ubuntu.com/manpages/lucid/man9/BUF_ISLOCKED.9freebsd.html
CC-MAIN-2015-18
refinedweb
116
69.99
Re: Migration to mod_perl 2.0: Problems with CGI.pm Expand Messages - Hi solved it by updating CGI from version 3.01 to version 3.10 (from cpan.org). Foo Ji-Haw schrieb: > What do you mean by manipulating the core perl modules? There was anYou're right - I didn't wanted to use 'use Apache::Response;' anymore. > earlier...
https://groups.yahoo.com/neo/groups/modperl/conversations/topics/65378?o=1&d=-1
CC-MAIN-2015-48
refinedweb
140
68.77
On 2010/11/18 19:59:23, Neil Puttock wrote: Hi Valentin, Hi Carl, hi Neil, thank for stopping by! :-) Graham: that's the reason why I uploaded a new patch set, but it didn't succeed either. I'm having some kind of a WTF situation here. I'm afraid I share Carl's concerns here I think he's right too. I wanted to take thi...
http://lists.gnu.org/archive/html/lilypond-devel/2010-11/msg00426.html
CC-MAIN-2014-49
refinedweb
426
71.65
If youʼve heard good things about Puppet but donʼt know where to start, this is the best place tobegin. To help with this, we provide a free virtual machine with Puppet already installed. Experimentfearlessly! While it downloads, move on to the first chapter of Learning Puppet. If you have problems withgetting the VM ru...
https://de.scribd.com/document/193582420/Learning-Puppet
CC-MAIN-2019-43
refinedweb
13,085
61.87
Without the name, it runs fine. I read up that adding const before new could solve my problem, but it doesn't. Any ideas? include <iostream> include <string.h> using namespace std; class Player { int Health, *Strength, *Speed, *Accuracy, *Defense; char *Name[80]; public: Player (char, int, int, int, int, int); ~Player ...
https://www.daniweb.com/programming/software-development/threads/420263/constructor-with-char-calling-an-error
CC-MAIN-2017-43
refinedweb
220
51.11
Webhooks¶ pretix can send webhook calls to notify your application of any changes that happen inside pretix. This is especially useful for everything triggered by an actual user, such as a new ticket sale or the arrival of a payment. You can register any number of webhook URLs that pretix will notify any time one of th...
https://docs.pretix.eu/en/latest/api/webhooks.html
CC-MAIN-2020-50
refinedweb
769
59.84
Hausdorff Distance¶ This example shows how to calculate the Hausdorff distance between two sets of points. The Hausdorff distance is the maximum distance between any point on the first set and its nearest point on the second set, and vice-versa. import matplotlib.pyplot as plt import numpy as np from skimage import met...
https://scikit-image.org/docs/dev/auto_examples/segmentation/plot_hausdorff_distance.html
CC-MAIN-2020-45
refinedweb
350
64.61
Opened 4 years ago Last modified 4 years ago #23501 new Bug remove/add fields programatically in modelform fails in admin Description (last modified by ) model: class Thickness(models.Model): value = models.DecimalField(primary_key=True, max_digits=7, decimal_places=2) is_active = models.BooleanField() model form: clas...
https://code.djangoproject.com/ticket/23501
CC-MAIN-2018-34
refinedweb
532
57.27
Windows Phone 8 Unit Testing - The Basics Unit testing in Windows Phone has never been really supported by Microsoft: the only semi-official way to do unit tests in Windows Phone 7 is using an adaptation of the Silverlight Unit Test Framework made by Jeff Wilcox. This library is able to render a Windows Phone applicati...
http://mobile.dzone.com/articles/windows-phone-8-unity-testing
CC-MAIN-2014-35
refinedweb
1,169
62.01
I need to take the following two files as input and replace the words in input 2 with its corresponding tag (some words have multiple tags,which need to be accounted for as seen in "api . ani"). input1 - Code: Select all last-n nmod+j+n year-n 9492 last-n nmod+j+n night-n 8075 first-n nmod+j+n-the time-n 7749 same-n nm...
http://python-forum.org/viewtopic.php?f=6&t=8286&p=10946
CC-MAIN-2015-11
refinedweb
372
54.22
On Sun, Jun 5, 2011 at 5:49 AM, Geert Uytterhoeven <geert@linux-m68k.org> wrote:> On Sun, Jun 5, 2011 at 09:54, Baruch Siach <baruch@tkos.co.il> wrote:>> On Sun, Jun 05, 2011 at 01:13:28PM +0530, Jassi Brar wrote:>>> On Sun, Jun 5, 2011 at 12:48 PM, Grant Likely <grant.likely@secretlab.ca> wrote:>>> > [repost: I had a ...
http://lkml.org/lkml/2011/6/5/183
CC-MAIN-2014-42
refinedweb
373
69.28
What is the fast power of a matrix? - Fast power is a fast method to solve the power of a number by using binary. The principle of fast power will be briefly explained later. If you still don't understand it, please Baidu yourself. I believe that many young friends are new to college and may not have studied linear alg...
https://programmer.group/6199627f85700.html
CC-MAIN-2021-49
refinedweb
4,457
58.52
Have you ever viewed the page source for a web page while loading components asynchronously? If you have, there’s a possibility you may have noticed the actual content is not being rendered. This is because the components are being loaded asynchronously and on the client side, which can be bad for SEO because crawlers ...
http://blog.logrocket.com/seo-approach-async-loadable-components/
CC-MAIN-2020-40
refinedweb
1,242
54.12
SessionId obtained when running FacesRequest test is nullAndy Torble Apr 3, 2009 8:24 PM Hi All, I have a test that exercises some code in a session scoped bean that does some manipulation based on the logged in user's sessionId. The snippet of code being tested looks like this: ExternalContext externalContext = facesC...
https://developer.jboss.org/thread/187136
CC-MAIN-2018-17
refinedweb
438
54.73
Closed Bug 982797 Opened 9 years ago Closed 8 years ago Robocop: Switch tests from using wait For Test to wait For Condition Categories (Firefox for Android Graveyard :: Testing, defect) Tracking (firefox38 fixed) Firefox 38 People (Reporter: liuche, Assigned: AndyP, Mentored) Details (Whiteboard: [lang=java][good firs...
https://bugzilla.mozilla.org/show_bug.cgi?id=982797
CC-MAIN-2022-40
refinedweb
1,680
63.59
How to do real Server Side Rendering with Vue 2 I have an semi-finished boilerplate using the techniques taught in this article you are welcome to use. Server side rendering in Vue is a little unclear for larger projects. Most of the examples I’ve seen require heavy use of webpack. I’m going to show a more Node driven ...
https://medium.com/@codingfriend/how-to-do-real-server-side-rendering-with-vue-2-5ec6f0efd041
CC-MAIN-2018-09
refinedweb
1,457
58.89
A brief introduction to the Simpson’s 1/3rd rule and a uniform interval Composite Simpson’s 1/3rd Rule implementation. Simpson’s 1/3rd Rule The Simpson’s 1/3 rule is a numerical method to find the integral within some finite limits and . Simpson’s 1/3rd rule approximates with a polynomial of degree two , ie. a parabola...
https://phoxis.org/2011/03/11/simpson-13-rd-rule/?replytocom=23624
CC-MAIN-2020-10
refinedweb
1,119
58.05
Mixing ActiveX with Java Al Williams, a longtime Dobb's contributor and our resident tinkerer, has been making waves recently with his one-instruction CPU (you can click here to watch a video demo). Back in 2004, he was busy playing with robots and servos, and in this article from DDJ, he shows you how to use JACOB (a ...
http://www.drdobbs.com/jvm/mixing-activex-with-java/228700132
CC-MAIN-2015-27
refinedweb
2,724
55.44
News from the Trenches Last week's XML-Deviant introduced a debate at the W3C concerning issues with the Namespaces Recommendation and URIs. Since then, the discussion on the newly created xml-uri mailing list has exploded, with well over 400 messages being posted in the first week! (And this from many who were spendin...
http://www.xml.com/pub/a/2000/05/24/deviant/index.html
crawl-003
refinedweb
1,551
53.71
Question : I’d like to find out the arity of a method in Python (the number of parameters that it receives). Right now I’m doing this: def arity(obj, method): return getattr(obj.__class__, method).func_code.co_argcount - 1 # remove self class Foo: def bar(self, bla): pass arity(Foo(), "bar") # => 1 I’d like to be able ...
https://discuss.dizzycoding.com/how-to-find-out-the-arity-of-a-method-in-python/
CC-MAIN-2022-33
refinedweb
719
54.12
Details Description Check that the private and public keys belong to the same pair (via, e.g. or by en/decrypting a dummy message). Issue Links Activity - All - Work Log - History - Activity - Transitions I've just committed this. Thanks Andrei! (I manually tested the patch with a valid keypair and then with an invalid...
https://issues.apache.org/jira/browse/WHIRR-161
CC-MAIN-2017-43
refinedweb
700
69.28
Daily return (P&L) of total broker value Dear Backtrader community, I replicated the quickstart example with the SMA indicator (chapter: "adding an indicator"), and it works perfectly. Backtrader is awesome, so thanks to everybody who contributed to this project and the great documentation! I would now like to better u...
https://community.backtrader.com/topic/1077/daily-return-p-l-of-total-broker-value
CC-MAIN-2020-40
refinedweb
195
52.39
:: - The gc compilers generate better code in many cases, most noticeably for floating point on the 32-bit Intel architecture. - The gc compilers do more in-lining, including for some operations in the run-time such as append and interface conversions. - There is a new implementation of Go maps with significant reducti...
http://arstechnica.com/information-technology/2013/05/googles-programming-language-go-gets-a-big-speed-boost/?comments=1&start=40
CC-MAIN-2016-44
refinedweb
2,652
61.26
. lHHere is the dlll content in c#:I don't see any dll definition - just some C# code. If you're turning that into a native dll then you need to post the result definition, i.e. the exported function prototype. I have no idea why you'd want a dll though - at a quick glance all the current C# code is doing could be done...
https://www.experts-exchange.com/questions/28138670/a-simple-JNA-example-that-invokes-a-simple-C-4-5-dll-having-a-one-function.html
CC-MAIN-2017-43
refinedweb
340
61.12
import license Function The import license command is used to import license files. If you want to use value-added features or update license files, run this command. Format import license ip=? user=? password=? license_path=? [ port=? ] [ protocol=? ] Parameters Level Super administrator Usage Guidelines - A license f...
https://support.huawei.com/enterprise/en/doc/EDOC1000138382/3f3079ff
CC-MAIN-2019-39
refinedweb
330
58.48
Despite more complex and less intuitive syntax compared to Java, Scala actually drops several features of Java, sometimes for good, other times providing replacements on the standard library level. As you will see soon, Scala isn't a superset of Java (like Groovy) and actually removes a lot of noise. Below is a catalog...
https://www.nurkiewicz.com/2011/08/what-features-of-java-have-been-dropped.html
CC-MAIN-2020-29
refinedweb
3,146
53.31
Opened 8 years ago Last modified 5 years ago #5527 assigned enhancement Include RPC handler to retrieve timed events managed by Timeline module Description :( ). It returns all timed events offered by instances of ITimelineEventProvider. Please see below a code snippet illustrating public methods : class TimelineRPC(Co...
https://trac-hacks.org/ticket/5527
CC-MAIN-2017-22
refinedweb
273
52.76
Overloading Operators in C++! Hey guys! It’s the end of the week. Which means, another tutorial! Last couple weeks, we explored the Monte Carlos method, but this time, let’s change it up a little bit. Instead, we’ll be looking at some C++ operators, and more specifically, overloading them. Prequisites: - OOP - 'this' p...
https://repl.it/talk/learn/Overloading-Operators-in-C/35455
CC-MAIN-2021-10
refinedweb
1,444
56.76
Electric XMLTM is a Java toolkit for parsing and manipulating XML documents. Here are the main features that distinguish Electric XML from other XML toolkits: - It is simple, with an intuitive API. - It is small, packaged as a standalone 64K JAR file. - It is fast. - It is comprehensive, with support for namespaces, XP...
http://www.coderanch.com/t/125368/XML/beginning-xml
CC-MAIN-2015-40
refinedweb
151
50.73
Many Body Physics (Part 1) This is the first article in a series about at least one way to encode many-body quantum mechanics in python (and eventually Haskell too maybe). Why even do this? I think that understanding in principle how to encode the problem concretely into a computer let’s you have a deeper understanding...
http://www.philipzucker.com/many-body-physics-part-1/
CC-MAIN-2021-10
refinedweb
1,981
57.37
Opened 23 months ago Closed 23 months ago #3628 closed Bug (Fixed) _WinAPI_GetCaretPos() does not work Description _WinAPI_GetCaretPos() is supposed to return an array. It only returns 0. #include <Debug.au3> #include <WinAPIRes.au3> _DebugSetup('Test', True) $aCaret = _WinAPI_GetCaretPos() _WinAPI_ShowLastError() _Deb...
https://www.autoitscript.com/trac/autoit/ticket/3628
CC-MAIN-2020-16
refinedweb
139
61.97
Question: I just want to set a node to sleep in "ns-2" and i have searched in protocols and i found a lot of objects and functions about sleep but i couldn't use them in other protocols to set a node to sleep. When i use them i get Segmentation fault or Floating point and i know what these errors mean but i can't find ...
http://www.toontricks.com/2017/09/ubuntu-how-to-set-node-to-sleep-in-ns2.html
CC-MAIN-2017-43
refinedweb
945
73.68
What's the difference between SOAP and RESTful APIs? Unless you're a programmer, the distinction between SOAP and RESTful APIs can be confusing Application Programming Interfaces (APIs) allow you to access information (data, measurements, etc.) or use third-party services (e.g. sending emails or text-messages) via the ...
https://www.my.freelancer.com/articles/web-development/soap-vs-rest-apis
CC-MAIN-2022-27
refinedweb
1,097
56.35
22 April 2009 08:40 [Source: ICIS news] By John Richardson SINGAPORE (ICIS news)--More than 52m tonnes of linear low density polyethylene (LLDPE) film grade have been traded on the Chinese futures market so far this month – in excess of double the global annual demand for the polyolefin. The volume traded on the Dalian...
http://www.icis.com/Articles/2009/04/22/9209934/Heavy-trading-and-high-prices-for-Chinese-polyolefins.html
CC-MAIN-2014-23
refinedweb
543
57.61
Node.js vs Deno: What You Need to Know Free JavaScript Book! Write powerful, clean and maintainable JavaScript. RRP $11.95 Since its announcement, Deno has generated quite a lot of interest within the JavaScript community. As a JavaScript runtime designed by the creator of Node, you might expect there to be be a lot of...
https://www.sitepoint.com/node-vs-deno/
CC-MAIN-2021-21
refinedweb
1,625
51.28
Apache Spark's meteoric rise has been incredible. It is one of the fastest growing open source projects and is a perfect fit for the graphing tools that Plotly provides. Plotly's ability to graph and share images from Spark DataFrames quickly and easily make it a great tool for any data scientist and Plotly Enterprise ...
https://plot.ly/python/apache-spark/
CC-MAIN-2017-17
refinedweb
1,950
64.2
Create new WebApplication Create new tag library Create new tag handler and add the taglibrary import taglibrary into JSP page and use the library tag set breakpoint at the line of usage of the library tag invoke debug JSP, project is deployed, debugger attached, IDE stops on breakpoint invoke "Step Into" once -> nothi...
https://netbeans.org/bugzilla/show_bug.cgi?id=162293
CC-MAIN-2015-22
refinedweb
555
64
Timer Class Provides a mechanism for executing a method at specified intervals. This class cannot be inherited. using the Change method.. example demonstrates the features of the Timer class. This example creates a timer, uses the Change method to change its interval, and then uses the Dispose method to destroy; // The...
http://technet.microsoft.com/en-us/library/system.threading.timer(v=vs.95).aspx
CC-MAIN-2014-23
refinedweb
576
60.92
Clang 2.9 fails to link the executable. For example: fads@extensa /tmp $ cat main.c #include <stdio.h> int main (){ printf("Hello, bugzilla!\n"); return 0; } fads@extensa /tmp $ clang main.c -o main -v clang version 2.9 (tags/RELEASE_29/final) Target: x86_64-pc-linux-gnu Thread model: posix "/usr/bin/clang" -cc1 -tripl...
https://bugs.gentoo.org/show_bug.cgi?id=377949
CC-MAIN-2022-05
refinedweb
645
63.05
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. Can´t write file on Linux server Hello! A freelancer build a module to write information on a FTP server. He generate the file lo...
https://www.odoo.com/forum/help-1/question/cant-write-file-on-linux-server-88221
CC-MAIN-2017-09
refinedweb
419
52.76
. L. OpenID Mini-rant/follow-up: It has almost been two years since I wrote about my issues interfacing with OpenID, and since I have recently been getting deprecation warnings from Google, I finally put in the work to optionally support password authentication. That will teach me to try to do the right thing. Similar ...
https://www.unprompted.com/projects/blog/category/code
CC-MAIN-2020-29
refinedweb
6,556
73.58
Chapter 7 Chapter 7 Expressions An expression tells JavaScript what to do with the data you provide. For example, an expression can be used in an if statement to test for a certain condition -- if the user's name is Fred, for instance, the script displays a personalized message just for him. Everyone else gets a standa...
http://www.webreference.com/content/jssource/chap7.html
CC-MAIN-2017-17
refinedweb
3,867
62.88
1.4 Beta -); - marceltrapman Mod last edited by ")); - marceltrapman Mod last edited by. I think we agree. Only problem is that I haven't split up the structure in mysensors-transportation/mysensors-header/mysensors-payload yet but if you look from the sniffer side this would not matter. Please post you suggested struc...
https://forum.mysensors.org/topic/168/1-4-beta/100
CC-MAIN-2019-09
refinedweb
1,496
59.19
yeah I'm searching on the Internet to see if I find anything. What about saving a word that the user inputs to the dictionary file? How can I do this? yeah I'm searching on the Internet to see if I find anything. What about saving a word that the user inputs to the dictionary file? How can I do this? This part of the c...
http://www.javaprogrammingforums.com/search.php?s=4acbb94b779904a5425db9c0775c44da&searchid=1461148
CC-MAIN-2015-14
refinedweb
483
83.25
This tutorial will teach you the fundamentals of building Android interface layouts with XML. Read on! When you’re getting started with developing Android apps using Eclipse and the ADT plugin, Eclipse’s powerful graphical layout editor is a great place to start visually designing your user interface. However, this "wh...
https://code.tutsplus.com/tutorials/getting-started-with-xml-layouts--mobile-12749
CC-MAIN-2018-22
refinedweb
1,367
58.21
Microsoft.SqlServer.Management.Smo.Wmi Namespace Updated text: 17 July 2006 The Microsoft.SqlServer.Management.Smo.Wmi namespace contains all the classes that represent the SQL Server Windows Management Instrumentation. The classes in this namespace do not require a connection to an instance of SQL Server. The classes ...
http://technet.microsoft.com/en-US/library/microsoft.sqlserver.management.smo.wmi(v=sql.90).aspx
CC-MAIN-2013-48
refinedweb
199
51.34
1.) Willingness to learn 2.) Know the basics of a computer Instructions: Before we begin your going to need a program to start programming with go to you will be presented with a bunch of downloads, but should download you one that is presented in this picture and you will know which is the right one to download. Assum...
http://www.dreamincode.net/forums/topic/158905-introduction-to-java-with-eclipse/
CC-MAIN-2017-30
refinedweb
464
63.59
The interviewer asked me how to find the entrance in the linked list. I thought it was simple but I wanted to be silly on the spot The question of whether there is a link in the linked list seems simple, but there are a lot of things to pay attention to in actual handling. This question is a very high-frequency written...
https://ideras.com/the-interviewer-asked-me-how-to-find-the-entrance-in-the-linked-list-i-thought-it-was-simple-but-i-wanted-to-be-silly-on-the-spot/
CC-MAIN-2021-25
refinedweb
1,486
67.89
16.02.2012 19:13, Myklebust, Trond пишет:> On Thu, 2012-02-16 at 19:06 +0400, Stanislav Kinsbursky wrote:>> Local tranports uses UNIX sockets and connecting of these sockets is done in>> context of file system namespace (i.e. task file system root).>> Currenly, all sockets connect operations are performed by rpciod wor...
https://lkml.org/lkml/2012/2/17/42
CC-MAIN-2015-22
refinedweb
301
74.9
Slingshot Yourself Into Hibernate 3.5 and JPA 2.0 with this Tutorial By Andrew Tee TheServerSide.com Do you want to learn Hibernate 3.5, and work with the first release of Hibernate that fully supports JPA 2.0, but you don't want to be led by the nose through any lengthy or long winded tutorials. Well, here it is - the...
http://www.theserverside.com/tutorial/Slingshot-Yourself-Into-Hibernate-35-and-JPA-20-with-this-Tutorial
CC-MAIN-2013-20
refinedweb
1,567
56.66
- . You will see that SAX Is an event-based API. Operates at a lower level than DOM. Gives you more control than DOM. Is almost always more efficient than DOM. But, unfortunately, requires more work than DOM. Why Another API? Don't be fooled by the name. SAX may be the Simple API for XML but it requires more work than ...
http://www.informit.com/articles/article.aspx?p=26332&amp;seqNum=3
CC-MAIN-2018-17
refinedweb
720
65.62
Trying to find the centroid of Polygon with Shapely but I do not understand how to tell the library that the vertices are (lon, lat). Perhaps I need to set a projection? Here is my code: from shapely.geometry import Polygon, Point # LON, LAT vertices = [ Point(-79.8726944444444, 8.68505555555556), Point(-79.87338888888...
https://devsolus.com/2022/06/24/find-polygon-centroid-with-shapely-given-vertices-with-lat-lon/
CC-MAIN-2022-27
refinedweb
105
71.71
Microsoft. It is not a question of if, but a question of when. When will async let me down and give me a headache? The headaches usually fall into one of these categories. Last fall I was working on a project where I needed to execute code during a DocumentProcessed event. Inside the event, I could only use async APIs ...
https://odetocode.com/blogs/all?page=5
CC-MAIN-2019-51
refinedweb
4,575
63.59
by Jeffrey Kantor (jeff at nd.edu). The latest version of this notebook is available at. This Jupyter notebook describes the modeling of vapor-liquid equilibrium with Antoine's equation, including the calculation of saturation pressure, saturation temperature, relative humidity, and normal boiling points. The Gibb's ph...
http://nbviewer.jupyter.org/github/jckantor/CBE20255/blob/master/notebooks/Vapor-Liquid%20Equilibrium%20for%20a%20Pure%20Component.ipynb
CC-MAIN-2017-43
refinedweb
1,503
52.97
constrather than #define. There's plenty of utilities I see used in C++ that came from C though. I could be wrong, but it seems that those who start in C++ eventually get better at coding and are more ready to use C in their code. If people like to accuse C++ of being dangerous though, well C is just as ( and to some m...
http://www.cplusplus.com/forum/beginner/103362/
CC-MAIN-2017-26
refinedweb
180
78.99
How to import a web font into your React App with styled components 4 Sibylle Sehl ・3 min read Tired of being limited to requesting fonts over a CDN? Look no further. You might be required to import a font for a number of reasons - ranging from buying corporate licenses for certain fonts, to availability concerns or ev...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/alaskaa/how-to-import-a-web-font-into-your-react-app-with-styled-components-4-1dni
CC-MAIN-2020-16
refinedweb
752
64.2
Overview Some of the steps needed to setup a development environment includes: Operating system - e.g Linux / Mac Project structure - project structure Virtualenv - isolated installation of the project Pip - a tool for installing and managing Python packages Git - source control Webserver - where we can manage our appl...
https://www.pythonforbeginners.com/development/development-environment-in-python
CC-MAIN-2021-31
refinedweb
980
52.49
Hi, is that possible to test to what exactly code a scala.meta static annotation was expanded? Say, for data classes "a la carte" () investigate pieces as follows? scala.meta Good question @alexander.myltsev ! One way to test the expansion would be to implement it in static function on an object, which you can unit tes...
https://contributors.scala-lang.org/t/scala-meta-expansion-testing-harness/691
CC-MAIN-2017-43
refinedweb
202
58.89
Xbox Live integration coming to Windows 8 Join the DZone community and get the full member experience.Join For Free It is well know that there will be a new Xbox Live dashboard update coming for Xbox 360 consoles, bringing the Metro design outside Windows. Today, at Microsoft Build in Anaheim, CA, the new Xbox Live das...
https://dzone.com/articles/new-xbox-live-dashboard-also-0
CC-MAIN-2021-17
refinedweb
381
51.48
This module provides direct access to all `built-in' identifiers of Python; for example, __builtin__.open is the full name for the built-in function open(). See chapter 2, ``Built-in Objects.'' This module is not normally accessed explicitly by most applications, but can be useful in modules that provide objects with t...
http://www.python.org/doc/2.5/lib/module-builtin.html
crawl-001
refinedweb
193
55.64
I've started a new fresh repository on my system here, and to make sure I won't make the same mistake, I've set up a github repository. The new name for the framework is gunge, but the only part that is currently available is the event handling part. I have, however, come across an interesting design challenge that rea...
http://goingamerica.blogspot.com/2009/02/pyton-everything-is-object.html
CC-MAIN-2017-39
refinedweb
616
61.46
Python Multiline Comment/String Folding I seem to be having a problem with the python language and folding when there are multiline comments or strings present. For instance: def func(): str = ''' ''' Folding this method will fold up the line defining str = ’ ’ ', but the two lines below it are left unfolded. If I put ...
https://notepad-plus-plus.org/community/topic/13306/python-multiline-comment-string-folding
CC-MAIN-2018-39
refinedweb
288
58.92
>>.'" Re:Agreed. (Score:5, Informative) Python is strongly typed. Maybe you mean statically typed. Personally (Score:5, Informative) As someone simulating fluid-structure interaction with a number of constituent models and a lot of finite element (i.e. big matrix problems; using FEniCS - fenicsproject.org), using Pytho...
http://developers.slashdot.org/story/12/03/16/1947252/van-rossum-python-not-too-slow/informative-comments
CC-MAIN-2015-35
refinedweb
1,309
70.13
pyConditions 0.4 Want some class invariant shenanigans? from pyconditions.invariant import Invariant, FieldsNotNone @FieldsNotNone( [ "test" ] ) class Test: def __init__( self ): self.test = 1 def add( self ): return self.test + 1 def set( self, v ): self.test = v t = Test() print t.add() t.set( None ) That last call t...
https://pypi.python.org/pypi/pyConditions/0.4.1
CC-MAIN-2016-50
refinedweb
280
61.53
Iteration and s:linkGreg Zoller Aug 10, 2008 6:17 AM I'm trying, unsuccessfully, to have an editable list of strings (email addresses). Each string is an s:link which when clicked will call an action method. I can render the list as desired and when the s:link is clicked my action method is called, but... no value is p...
https://developer.jboss.org/thread/183437
CC-MAIN-2018-17
refinedweb
815
63.7
) Note By default, the Huey consumer runs in UTC-mode. The effect of this on scheduled tasks is that when using naive datetimes, they must be with respect to datetime.utcnow(). The reason we aren’t using utcnow() in the example above is because the schedule() method takes a 3rd parameter, convert_utc, which defaults to...
https://huey.readthedocs.io/en/latest/getting-started.html
CC-MAIN-2018-47
refinedweb
783
57.98
Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo You can subscribe to this list here. Showing 1 results of 1 Hi all, I'm using swig 2.0.3 together w/ python 2.6.6 (we are currently bound to this python version but probably switch to python 3.0 in the near future). I...
http://sourceforge.net/p/swig/mailman/swig-user/?viewmonth=201105&viewday=4
CC-MAIN-2015-18
refinedweb
265
67.04
//************************************** // Name: A Simple Calculator // Description:A simple Calculator ; Well Commented easy to follow, for beginers. It also shows some basics of C++ programs. If you find this article helpful to you please send me a message. // By: Saifudheen A A (from psc cd) // // Side Effects:As t...
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=2819&lngWId=3
CC-MAIN-2019-04
refinedweb
356
58.52
Bugs item #832236, was opened at 2003-10-29 04:05 Message generated for change (Comment added) made by gward You can respond by visiting: Category: Build Group: Platform-specific Status: Open Resolution: None Priority: 5 Submitted By: Daniel Parks (danielparks) Assigned to: Greg Ward (gward) Summary: Build fails in oss...
https://mail.python.org/pipermail/python-bugs-list/2004-May/022885.html
CC-MAIN-2016-36
refinedweb
255
64.81
Hardware Intrinsics in .NET Core Tanner (when available). They also provide a software fallback for when the hardware does not provide the appropriate instructions. This enabled a number of common algorithms to be vectorized, often with only minor refactorings. However, the generality of this approach made it difficult...
https://devblogs.microsoft.com/dotnet/hardware-intrinsics-in-net-core/
CC-MAIN-2020-16
refinedweb
4,845
52.09
WSDL Tales From the Trenches, Part 3 August 5, 2003 Defining Data.. Importing data definitions. Schema Design Styles. Namespaces. Elements, types and attributes that belong to a namespace are said to be qualified. The declaration of a target namespace is a necessary, but not sufficient condition for elements, types and...
https://www.xml.com/pub/a/ws/2003/08/05/wsdl.html
CC-MAIN-2022-05
refinedweb
1,549
55.64
collected the results of the VXL Compiler Survey. A tabulation of the results and a copy of the messages received has been posted at: In summary, people are using MS Visual Studio 6.0 and above and GCC 3.3 and above. No one reponded with compilers such as Borland, ICC, etc., although Fred Wheeler does keep some of the...
https://sourceforge.net/p/vxl/mailman/vxl-maintainers/thread/43E6CC25.6050106@msu.edu/
CC-MAIN-2017-04
refinedweb
598
71.95
Django OutboxDjango Outbox Capture all mails sent and show it in a simple web interface. Quick StartQuick Start Install the package in your environment: $ pip install django-outbox Configure your django development settings file to use file based email backend: from os import path EMAIL_BACKEND = 'django.core.mail.back...
https://libraries.io/pypi/django-outbox
CC-MAIN-2019-35
refinedweb
143
52.46
_lwp_cond_reltimedwait(2) - get or set supplementary group access list IDs #include <unistd.h> int getgroups(int gidsetsize, gid_t *grouplist); int setgroups(int ngroups, const gid_t *grouplist); The getgroups() function gets the current supplemental group access list of the calling process and stores the result in the...
http://docs.oracle.com/cd/E26505_01/html/816-5167/getgroups-2.html
CC-MAIN-2017-17
refinedweb
232
60.75
Al is DDJ's senior contributing editor. He can be contacted at astevens@ddj.com. There really isn't a platform named YAPP (that I know of). I made it up because it seems that I spend a lot of time evaluating C++ application framework class libraries for Linux GUI programming in search of the perfect one, and all I seem...
http://www.drdobbs.com/cpp/yapp-yet-another-programming-platform/184404813
CC-MAIN-2014-35
refinedweb
2,647
64.71
NAME fdm.conf - fdm configuration file DESCRIPTION This manual page describes the fdm(1) configuration file. It defines accounts from which to fetch mail, a number of possible actions to take, and rules connecting a regexp with an action. The file is parsed once from top to bottom, so action and account definitions mus...
http://manpages.ubuntu.com/manpages/hardy/man5/fdm.conf.5.html
CC-MAIN-2014-42
refinedweb
3,529
64.81
Interfacing HC-SR04 Ultrasonic Distance Sensor with ATmega32 Microcontroller Contents - 1 Introduction - 2 Required Components - 3 Hardware - 4 Tools - 5 Source Code - 6 Practical Implementation - 7 Working - 8 Video Introduction This project uses an ultrasonic sensor to indicate the distance of any object from it. Her...
https://electrosome.com/ultrasonic-distance-sensor-atmega32/
CC-MAIN-2021-43
refinedweb
1,950
63.9
mKatz on 13 November 2014 - 12:51 PM here are two screenshots to hopefully help greaten the ability to understand what OP is asking for. Posted by mKatz on 27 September 2012 - 01:58 PM Posted by mKatz on 28 August 2012 - 08:49 AM #define STRICT #define _AFXDLL #include "stdafx.h" #include <tchar.h> #include <AFXWIN.H>...
http://www.gamedev.net/user/200011-mkatz/?tab=reputation&app_tab=forums&type=received
CC-MAIN-2016-36
refinedweb
883
63.9
Hello at all, I want to implement a custom PluginFeature for ICN 202 and 203: public class TasklistViewFeature extends PluginFeature and this Feature will be implemented by TasklistViewFeature.js. In this TasklistViewFeature.js, I need to know the userId of the currently logged in user. I tried it with var userId = ecm...
https://developer.ibm.com/answers/questions/279145/get-logged-in-user-id-in-pluginfeature.html
CC-MAIN-2019-39
refinedweb
158
59.19
hsearch() Search the hash search table Synopsis: #include <search.h> ENTRY* hsearch ( ENTRY item, ACTION action ); Since: BlackBerry 10.0.0 Arguments: - item - A structure of type ENTRY, defined in <search.h>, that contains: - char * key — a pointer to the comparison key. - void * data — a pointer to any other data to ...
http://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/h/hsearch.html
CC-MAIN-2017-04
refinedweb
297
66.84
Question: I have a GWT App where I need to call a webservice to check whether the user signed in is an administrator - and then set the admin Div to visible (hidden by default) if the web service returns true. The problem is the program passes the check before the web service can return the result. It's looking somethi...
http://www.toontricks.com/2019/06/tutorial-gwt-hiding-or-showing-div-at.html
CC-MAIN-2020-05
refinedweb
330
50.87
You can subscribe to this list here. Showing 7 results of 7 Is this only broken for PSP files? Or does it also break if you try it in a regular servlet? Also, you might want to try self.forward() and self.callMethodOfServlet() and see if those are also broken for you too. Their internal implementation is very similar t...
http://sourceforge.net/p/webware/mailman/webware-discuss/?viewmonth=200204&viewday=12
CC-MAIN-2014-23
refinedweb
883
53.37
An email on one of our internal aliases made me realise that I hadn’t included the namespaces I’d included in the code for accessing for these entries. Someone referenced my blog entry and gave me credit for writing my own JavaScript serialiser – fortunately the Silverlight team put one in there for me which I suspect ...
https://blogs.msdn.microsoft.com/mikeormond/2007/07/20/accessing-asp-net-application-services-from-silverlight-namespaces/
CC-MAIN-2016-30
refinedweb
129
53.58
This is the third Jupyter Notebook of the series on the phugoid model of glider flight, our first learning module of the course "Practical Numerical Methods with Python". In the first notebook, we described the physics of the trajectories known as phugoids obtained from an exchange of potential and kinetic energy in an...
http://nbviewer.jupyter.org/github/numerical-mooc/numerical-mooc/blob/master/lessons/01_phugoid/01_03_PhugoidFullModel.ipynb
CC-MAIN-2018-51
refinedweb
3,385
63.59
What is Linear Search? Suppose you are given a list or an array of items. You are searching for a particular item. How do you do that? Find the number 13 in the given list. You just look at the list and there it is! Now, how do you tell a computer to find it? A computer cannot look at more than the value at a given ins...
https://www.freecodecamp.org/news/linear-search/
CC-MAIN-2020-45
refinedweb
657
80.21
aw awt - Swing AWT , For solving the problem visit to : Thanks... market chart this code made using "AWT" . in this chart one textbox when user Package Example Java AWT Package Example In this section you will learn about the AWT package of the Java. Many running examples are provided that will help you master AWT pack...
http://www.roseindia.net/tutorialhelp/comment/85221
CC-MAIN-2015-27
refinedweb
630
63.49
How to crop the central region of image using python PIL There is a crop function in PIL to crop the image if you know the crop area coordinates. How would you crop the central region of Image if you want certain fraction of Image shape to be cropped In this post we would use PIL, tensorflow, numpy in a Google colab no...
https://kanoki.org/2022/02/14/how-to-crop-central-region-of-image-using-python-pil/
CC-MAIN-2022-33
refinedweb
824
66.64
Previously, we looked at how to log events from our very simple Python “Rock, Paper, Scissors” app. While there are many types of logs (error logs, sensor logs, event logs, payment, and CRM logs, to name a few), the principle is effectively the same for any sort of log, regardless of how the log is invoked or what purp...
https://dzone.com/articles/tableau-and-treasure-data
CC-MAIN-2017-30
refinedweb
999
61.36
KILLSection: Linux Programmer's Manual (2) Updated: 2004-06-24 Index Return to Main Contents NAMEkill - send signal to a process SYNOPSIS #include <sys/types.h> #include <signal.h> int kill(pid_t pid, int sig); DESCRIPTIONThe for which the calling process has permission to send signals, except for process 1 (init), but...
http://www.thelinuxblog.com/linux-man-pages/2/kill
CC-MAIN-2016-40
refinedweb
223
63.59
13 November 2007 20:53 [Source: ICIS news] HOUSTON (ICIS news)--US West Texas Intermediate (WTI) crude oil for December delivery closed at $91.17/bbl on Tuesday, down $3.45 after the International Energy Agency (IEA) trimmed its forecast for world demand growth. An IEA report predicted lower energy demand for 2007 and ...
http://www.icis.com/Articles/2007/11/13/9078429/us-crude-plunges-3.45-on-foreseen-lower-demand.html
CC-MAIN-2014-52
refinedweb
211
61.02
I am trying to read the output of a shell command into a string buffer, the reading and adding the values is ok except for the fact that the added values are every second line in the shell output. for example, I have 10 rows od shell output and this code only stores the 1, 3, 5, 7, 9, row . Can anyone point out why i a...
http://media4u.ir/?t=1344&e=1539119296&ref=back40gens&z=Storing+Shell+Output
CC-MAIN-2017-17
refinedweb
391
65.42
So much thanks :) Have a good day! PermissionEx where? Hi: I want to disable a command which I dont want to be used in a world (which I created with Multiverse). Do you know about a plugin that do... I fixed the plugin reading in forums. And I saw that you can name the package with your email package com.gmail.deudlyma...
https://dl.bukkit.org/members/deudlyyt.91130035/recent-content
CC-MAIN-2020-24
refinedweb
211
77.84
10.8.. If the return value is a dict, jsonify() is called to produce a response. it’s a dict, a response object is created using jsonify. If a tuple is returned the items in the tuple can provide extra information. Such tuples have to be in the form (response, status), (response, headers), or (response, status, headers...
https://runestone.academy/runestone/books/published/webfundamentals/Flask/responses.html
CC-MAIN-2020-24
refinedweb
139
53.88
Answered by: string.h - strange new ways of declaring strings in 2008 Studio C++ forms I am an old fashioned "C" programmer. I am having trouble with understanding how to do simple string manipulations with the new tools in Studio 2008 C++ forms. When I use Studio 2005 C++, I can use the following declaration: String *...
https://social.msdn.microsoft.com/Forums/en-us/9486f176-c7e7-4e33-b9ce-72d896ed03ff/stringh-strange-new-ways-of-declaring-strings-in-2008-studio-c-forms?forum=Vsexpressvc
CC-MAIN-2017-22
refinedweb
1,568
73.07
Golden master testing aka Characterization test: a powerful tool to win your fight against legacy code In this post I will talk about golden master test aka characterization test: what it is and how to use it. In the last few months the focus during my daily job was not only on mobile. I had the chance to work on some ...
https://chicio.medium.com/golden-master-testing-aka-characterization-test-a-powerful-tool-to-win-your-fight-against-legacy-1ca590f219a1?source=post_internal_links---------6----------------------------
CC-MAIN-2021-43
refinedweb
1,306
53.31
HirbodShockinglyGreen Posts14 Joined Last visited Content Type Profiles Forums Store Showcase Product ScrollTrigger Demos Downloads Posts posted by Hirbod Dear GSAP Team, As promised, I finally get to present my work to you. Without GSAP this would never have been possible. THIS IS NO AD. I just wanted to show what I'v...
https://greensock.com/profile/96744-hirbod/content/?type=forums_topic_post&change_section=1
CC-MAIN-2022-33
refinedweb
952
65.12
In the first installment of this tutorial we took a look at some simple examples that make use of the python programming language for interacting with the FFmpeg leading multimedia open source framework. Now it is time to advance the skills to the next level! Before getting some nice output from the ffprobe utility by ...
https://www.unixmen.com/hack-ffmpeg-python-part-two/
CC-MAIN-2017-17
refinedweb
1,232
61.26
Ævar Arnfjörð Bjarmason 2017-05-08 10:38:03 UTC intprops.h, which depends on verify.h, which is GPLv3, not LGPL like the rest of the regex module. I'm using the equivalent of the patch at the end of this E-Mail to import the engine into a GPLv2 only project, but this seems like a general bug in gnulib. $ git diff -U2 d...
http://bug-gnulib.gnu.narkive.com/f9kvorgs/the-regex-module-brings-in-gplv3-code-even-with-lgpl
CC-MAIN-2018-13
refinedweb
172
68.87
Our source tree is similar to the following formatsrcsrc/mainsrc/main/subdir1src/main/subdir1/supportsrc/main/subdir1/thirdpartysrc/particlesrc/particle/v1src/particle/v2 With header and source files in every directory except in the main /src directory which only contains makefiles.We are unable to use relative paths t...
https://community.particle.io/t/problems-with-include-paths-with-the-cloud-particle/30722
CC-MAIN-2017-22
refinedweb
761
51.04