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 |
|---|---|---|---|---|---|
Also, the “fake covariance” trick.
Sometimes, Scala programmers notice a nice optimization they can use
in the case of a class that has an invariant type parameter, but in
which that type parameter
appears in variant or phantom position in the actual data involved.
=:=
is an
example of the phantom case.
sealed abstract... | https://typelevel.org/blog/2014/07/06/singleton_instance_trick_unsafe.html | CC-MAIN-2019-13 | refinedweb | 1,294 | 65.32 |
Host Platform: Windows
Version: vtune_amplifier_2019.4.0.597835
Analysis: HPC Performance Characterisation [Remote Linux (SSH)]
Target Platform: Ubuntu 16.04
Kernel: 4.4.0-135-generic
Problem: We have a program that uses mmap to read large dataset files (tens-of-GB). However, it seems that VTunes recognize everything m... | https://community.intel.com/t5/Analyzers/VTunes-remote-analysis-with-programs-using-mmap-extremely-slow/td-p/1173130 | CC-MAIN-2021-39 | refinedweb | 254 | 61.43 |
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'm working with pyside2.
How to invoke clean-up methods in c4d ... | https://plugincafe.maxon.net/topic/12647/make-clean-up-after-script/1 | CC-MAIN-2022-27 | refinedweb | 323 | 64.51 |
Xaml Meets ASP.NET MVC – Create databound visualizations with Xaml + ASP.NET MVC using XamlAsyncController
For some time, I was thinking about leveraging the power of Xaml to create databound images/visualizations in web applications, and did a quick POC implementation of the same. Here is the demonstration. We’ll star... | http://www.amazedsaint.com/2010/07/xaml-meets-aspnet-mvc-create-databound.html | CC-MAIN-2018-17 | refinedweb | 1,091 | 55.95 |
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.
Getting field value from Wizard?
Hello Odoo community,
I created a wizard which has 2 fields start date and end date, with in the... | https://www.odoo.com/forum/help-1/question/getting-field-value-from-wizard-92646 | CC-MAIN-2017-47 | refinedweb | 207 | 60.11 |
Over-21 Game Shell and eTCL Slot Calculator Demo Example , numerical analysis converting a slot calculator into the Over-21 game shell.Odds for successive draws in a 52 card deck can be found for Blackjack as follows. Probability of drawing successive aces would be set probability_2_aces {(4 /52)* ( 3/ 51)}, 0.004524. ... | http://wiki.tcl.tk/40829 | CC-MAIN-2017-26 | refinedweb | 3,329 | 70.73 |
Designing an RPG character class where they have certain attributes.
import java.util.Random; public class Character { private String name; private int strength; private int dexterity; private int intelligence; private int hp; private Random randomiser; private int stat = 16; public Character(String name) { this.name =... | http://www.dreamincode.net/forums/topic/107598-class-method-problems/ | CC-MAIN-2016-44 | refinedweb | 215 | 56.66 |
Best way to strip punctuation from a string
From an efficiency perspective, you're not going to beat
s.translate(None, string.punctuation)
For higher versions of Python use the following code:
s.translate(str.maketrans('', '', string.punctuation))
It's performing raw string operations in C with a lookup table - there's... | https://codehunter.cc/a/python/best-way-to-strip-punctuation-from-a-string | CC-MAIN-2022-21 | refinedweb | 396 | 53.37 |
Hi,
- EtherNEC hangs with interrupts from stopped card - ethernec needs to bebuilt.NP, I will try a few more things to make ethernec behave better (right now you have to use module arguments to set the base address, unnecessarily.NP, I will try a few more things to make ethernec behave better (right now you have to use... | https://lists.debian.org/debian-68k/2008/09/msg00111.html | CC-MAIN-2015-14 | refinedweb | 496 | 64.1 |
Inspecting application state with the SOS debugging tools
dustin.🤔
Updated on
・4 min read
This post originally appeared on Faithlife.Codes.
In this post, we'll cover how to use the SOS debugging tools to inspect variables from a process dump of a .NET Framework / .NET Core application.
Required:
Obtaining a memory dum... | https://dev.to/dustinsoftware/inspecting-application-state-with-the-sos-debugging-tools-i3a | CC-MAIN-2020-16 | refinedweb | 870 | 66.44 |
Opened 9 months ago
Last modified 9 months ago
#28999 new Cleanup/optimization
Document how to use class-based views if you want to reverse by them by instance
Description
This is primarily an issue with CBV
get_view() method.
However this affects basically all url reverse resolution as urls.base
reverse() -> urls.reso... | https://code.djangoproject.com/ticket/28999 | CC-MAIN-2018-43 | refinedweb | 1,241 | 64 |
I purchased an red, blue, and green LOL shield and received Wed. The directions were unclear how to populate the board. I soldered all the leds with the positive lead to the right and all oriented in the same direction. The board seems to be working but i am unclear as to how to load the arduino examples or whether to ... | https://forums.adafruit.com/viewtopic.php?f=31&t=30132&p=188197 | CC-MAIN-2016-30 | refinedweb | 229 | 59.4 |
There's this code in App/Management.py:
def manage_workspace(self, REQUEST): """Dispatch to first interface in manage_options """ options=self.filtered_manage_options(REQUEST) try: m=options[0]['action'] if m=='manage_workspace': raise TypeError except: raise Unauthorized, ( 'You are not authorized to view this object.... | https://www.mail-archive.com/zope-dev@zope.org/msg13282.html | CC-MAIN-2016-44 | refinedweb | 145 | 56.15 |
Look who's BizTalk'in - Notes from a consultant in the field on all things integration
I have been having fun working on the middle tier of an application which is using BizTalk, Windows Workflow, MSMQ and the Windows Communication Framework.
One of the requirements is to processes messages we receive from a legacy sys... | http://blogs.msdn.com/skaufman/archive/2007/09/16/processing-fifo-msmq-messages-using-wcf.aspx | crawl-002 | refinedweb | 307 | 52.9 |
Struts2 under JBoss ?rop Mar 31, 2011 12:05 PM
Hi,
Anyone here using Struts2 with Jboss6?
What versions should I use?
I am just trying to get the simplest "HelloWorld"-type webapp to execute, but keep running into different problems.
I first tried Struts version 2.1.8.1.
I build with maven3 and the application runs OK ... | https://community.jboss.org/message/597016 | CC-MAIN-2015-27 | refinedweb | 973 | 68.97 |
A Programming Language with Extended Static Checking
Recently, I’ve been working on improving the core framework that underpins the Whiley compiler. This provides a platform for reading/writing files of specified content in a structured fashion. Like Java, Whiley provides a hierarchical namespace in which names live an... | http://whiley.org/2012/02/29/a-problem-of-decoupling/ | CC-MAIN-2014-52 | refinedweb | 978 | 59.7 |
Back to index
The arguments for a query. More...
import "nsIAbDirectoryQuery.idl";
The arguments for a query.
Contains an expression for perform matches and an array of properties which should be returned if a match is found from the expression
Definition at line 54 of file nsIAbDirectoryQuery.idl.
The list of properti... | https://sourcecodebrowser.com/lightning-sunbird/0.9plus-pnobinonly/interfacens_i_ab_directory_query_arguments.html | CC-MAIN-2017-51 | refinedweb | 120 | 51.34 |
Latest version is always in Github [Open.NAT]
If you've developed some kind of server like a media server, file storage server, instant messages server or any other then surely you already know what is all this about NAT traversal and about the different techniques to make your computer reachable from outside and their... | http://www.codeproject.com/Articles/807861/Open-NAT-A-NAT-Traversal-library-for-NET-and-Mono | CC-MAIN-2015-40 | refinedweb | 2,781 | 56.96 |
The Functional Style Part 8: Persistent data structures.
We have discussed immutability at length by now. In particular, we have covered how loops can be replaced with recursive function calls to do iteration while avoiding reassignment of any variables. While it might seem on the face of it that this technique would b... | https://functional.works-hub.com/learn/the-functional-style-part-8-persistent-data-structures-88253 | CC-MAIN-2019-51 | refinedweb | 2,753 | 53.95 |
There are two managed providers currently available with ADO.NET: the SQL Server Managed Provider and OLE DB Managed Provider. The previous example used the SQL Server Managed Provider, which is optimized for SQL Server and is restricted to working with SQL Server databases. The more general solution is the OLE DB Mana... | http://etutorials.org/Programming/Programming+C.Sharp/Part+II+Programming+with+C/Chapter+14.+Accessing+Data+with+ADO.NET/14.4+Using+OLE+DB+Managed+Providers/ | CC-MAIN-2018-05 | refinedweb | 377 | 50.23 |
Try this one (just added #d+ after the IP address saving group):
"(.*?) queries.*client (.*?)#d+: query: (.*?) IN"
DEMO:
>>> s = '09-Sep-2013 10:22:42.540 queries: info: client
10.12.12.66#39177: query: google.com IN AXFR -T (10.10.10.11)
'
>>> re.search("(.*?) queries.*client (.*?)#d+: query: (.*?) IN",
s).groups()
('... | http://www.w3hello.com/questions/freebsd-postfix-python-policyd-spf-ip-addres-validation-error | CC-MAIN-2018-17 | refinedweb | 2,600 | 65.93 |
Python styleguide¶: E501`` to the offending line to skip it in syntax checks.
Note
Configuring your editor to display a line at 79th column helps a lot here and saves time.
Note
The line length rule also applies to non-Python source files, such as
.zcml files, but is a bit more relaxed there.
Note
The rule explicitly d... | https://docs.plone.org/develop/styleguide/python.html | CC-MAIN-2020-16 | refinedweb | 830 | 60.01 |
Tools to create simple and consistent interfaces to complicated and varied data sources.
Project description
- py2store
- Quick peek
- Use cases
- Remove data access entropy
- Get a key-value view of files
- Other key-value views and tools
- Graze
- Grub
- More examples
- How it works
- A few persisters you can use
- P... | https://pypi.org/project/py2store/ | CC-MAIN-2022-40 | refinedweb | 7,903 | 63.19 |
On 8/25/06, Martijn Faassen <[EMAIL PROTECTED]> wrote:
I actually think it would be *nice*, if not at all essential, to have a common namespace for community work. For such a common namespace "z3c" is a bit unwieldier than something like "zorg". We could consider establishing a more coherent pattern in the future, perh... | https://www.mail-archive.com/zope3-dev@zope.org/msg06018.html | CC-MAIN-2017-30 | refinedweb | 155 | 63.59 |
Date: Feb 15, 2013 1:16 PM Author: Michael Stemper Subject: Re: infinity can't exist In article <511D0025.FD5B3D49@btinternet.com>, Frederick Williams <freddywilliams@btinternet.com> writes:
>Craig Feinstein wrote:
>> Let's say I have a drawer of an infinite number of [...]
>>
>> How does modern mathematics resolve thi... | http://mathforum.org/kb/plaintext.jspa?messageID=8339124 | CC-MAIN-2015-27 | refinedweb | 225 | 53.61 |
Simple and modern Node.js wrapper implementation for Tesseract OCR CLI.
import recognize from 'tesseractocr' const text = await recognize('/path/to/image.png') console.log('Yay! Text recognized:', text)
Note: Despite that it's encouraged to use the more modern promise-based API, the good old callbacks are still support... | https://openbase.com/js/tesseractocr | CC-MAIN-2022-21 | refinedweb | 129 | 59.5 |
Last updated on MARCH 02, 2017
Applies to:Siebel Tools - Version 8.2.2.4.17 [IP2013] and later
Information in this document applies to any platform.
Symptoms
Validation is not firing when field value is removed and tabbed out or while reforming a refine query.
On Sample Tools/Client IP2013, PatchSet 17 on PUB HLS Incid... | https://support.oracle.com/knowledge/Siebel/2114399_1.html | CC-MAIN-2017-39 | refinedweb | 293 | 57.06 |
This is the fourth in a series of blog posts on the Windows Subsystem for Linux (WSL). For background information you may want to read the architectural overview, introduction to pico processes and WSL system calls blog posts.
Posted on behalf of Sven Groot.
Introduction
One, and this post looks into how WSL bridges th... | https://blogs.msdn.microsoft.com/wsl/2016/06/15/wsl-file-system-support/ | CC-MAIN-2017-34 | refinedweb | 4,469 | 60.95 |
Hello
I was messing around with Microsoft Visual C++ 2008 Express.
I am new to programming and am trying to learn C++
So here is a simple program I made:
At first, I had the 14th line say: while(HottestGirl=1||2||3||4)At first, I had the 14th line say: while(HottestGirl=1||2||3||4)Code:#include <iostream> using namespa... | http://cboard.cprogramming.com/cplusplus-programming/117470-simple-program-i-made-question-about-code.html | CC-MAIN-2015-11 | refinedweb | 365 | 80.41 |
mt(7) mt(7)
NAME
mt - magnetic tape interface and controls for stape and tape2
DESCRIPTION
This entry describes the behavior of HP magnetic tape interfaces and
controls, including reel-to-reel, DDS, QIC, 8mm, and 3480 tape drives.
The files /dev/rmt/* refer to specific raw tape drives, and the
behavior of each given un... | http://modman.unixdev.net/?sektion=7&page=mt&manpath=HP-UX-11.11 | CC-MAIN-2017-13 | refinedweb | 4,660 | 53.92 |
I've created a app in asp.net core and create a dockerfile to generate a local image and run it.
FROM microsoft/dotnet:latest
COPY . /app
WORKDIR /app
RUN ["dotnet", "restore"]
RUN ["dotnet", "build"]
EXPOSE 5000/tcp
ENTRYPOINT ["dotnet", "run", "--server.urls", ""]
docker build -t jedidocker/first .
docker run -t -d -... | https://codedump.io/share/JvqPuBQpnG6w/1/cannot-acces-aspnet-core-on-local-docker-container | CC-MAIN-2017-34 | refinedweb | 243 | 57.47 |
From the Journals of Tarn Barford
Mar 13, 2009
I decided I'd have a look at Django to get a feel for a different web framework and to learn more about Python itself. Its no secret that I've been really interested in IronPython recently and I'm excited to give Python a go without the backing of the .NET framework (but w... | http://tarnbarford.net/journal/will-you-django-with-me | CC-MAIN-2014-52 | refinedweb | 1,660 | 55.95 |
CodePlexProject Hosting for Open Source Software
Is there a way to change to placement position of a list? I have a list that is currently rendered at the end of a container content item, I would like to have it rendered before other content. I have tried to use the placement file to change
its position but can't seem ... | http://orchard.codeplex.com/discussions/275502 | CC-MAIN-2017-26 | refinedweb | 559 | 57.67 |
I looked for a brass sputnik forever. I would have paid real money, maybe even more than $20, had the right one shown itself. But only the dented, cheapy faux brass, overpriced variety surfaced. Lots of "these sell for $5000 and I am only asking $1500 cash no haggling no dealers firm don't even try to talk me down!" Cr... | http://modernhaus.blogspot.com/2011/10/watch-someone-else-make-diy-lindsey.html | CC-MAIN-2018-30 | refinedweb | 1,252 | 84.27 |
In this blog post you’re going to learn how to decode (parse a JSON string) and encode (generate a JSON string) with the ArduinoJson library using the Arduino with the Ethernet shield. This guide also works with the ESP8266 and ESP32 Wi-Fi modules with small changes.
Important: this tutorial is only compatible with the... | https://randomnerdtutorials.com/decoding-and-encoding-json-with-arduino-or-esp8266/?replytocom=731532 | CC-MAIN-2022-27 | refinedweb | 4,219 | 54.63 |
#include <mpi.h> int MPI_Init(int *pargc, char ***pargv)
MPI specifies no command-line arguments but does allow an MPI implementation to make use of them. LAM/MPI neither uses nor adds any values to the argc and argv parameters. As such, it is legal to pass NULL for both argc and argv in LAM/MPI.
Instead, LAM/MPI relie... | http://www.linuxmanpages.com/man3/MPI_Init.3.php | crawl-003 | refinedweb | 1,003 | 53.92 |
Context is the implicit owner of objects created when it's active and their properties. More...
Context is the implicit owner of objects created when it's active and their properties.
This is a top-level class that manages the lifetime and properties of all other API objects. Specifically, it has the following properti... | https://docs.nvidia.com/vpi/group__VPI__Context.html | CC-MAIN-2021-21 | refinedweb | 490 | 56.05 |
DIFFTIME(3P) POSIX Programmer's Manual DIFFTIME(3P)
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
difftime — compute the diffe... | http://man7.org/linux/man-pages/man3/difftime.3p.html | CC-MAIN-2017-43 | refinedweb | 181 | 50.53 |
>>.
35 Reader Comments
(PS. I'm loving the running gag in the browser tabs every time Ars takes a browser screenshot)
There are still things that need to be improved. It's just a question of time before we have hundreds of applications with megabytes of code and gigabytes of data. Caching will need to get way more sofi... | http://arstechnica.com/information-technology/2009/09/webgl-in-firefox-nightly-builds-demoed-with-3d-spore-model/?comments=1 | CC-MAIN-2016-26 | refinedweb | 1,918 | 69.11 |
Basic Image Manipulation in Java
Basic Image Manipulation in Java
This tutorial illustrates basic image manipulation in Java. We construct a simple Java class that will load a jpeg image from a web site and display it in a frame on the local computer. The code is written as a Java Desktop Application and should scale t... | https://hubpages.com/technology/Basic-Image-Manipulation-in-Java | CC-MAIN-2017-17 | refinedweb | 1,110 | 66.44 |
Post your Comment
Hibernate min() Function
Hibernate min() Function
This section contains an example of the HQL min() function.
min() function in HQL returns the smallest value from the
selected... keywords as the SQL to be written with the min()
function.
for example : min
JPA Min Function
JPA Min Function
In this sec... | http://roseindia.net/discussion/17861-JPA-Min-Function.html | CC-MAIN-2015-40 | refinedweb | 510 | 50.33 |
Using libsvm
Experiment 1
We'll use NumPy and matplotlib for plotting, so import both:
import numpy as np import matplotlib.pyplot as plt
The data we want to classify comes from two circles, so first define a function to generate some points on a circle (plus some noise):
def circle(radius, sigma=0, num_points=50): t =... | https://www.bytefish.de/blog/using_libsvm.html | CC-MAIN-2020-40 | refinedweb | 1,271 | 58.69 |
Super quick intro to monads
February 28, 2014
Monads tend to come up a lot in functional programming. All you need to know about functional programming for now is that it’s a paradigm in which mutable data is generally discouraged, or even forbidden. Computation generally happens by composing pure functions together. A... | https://www.stephanboyer.com/post/83/super-quick-intro-to-monads | CC-MAIN-2017-30 | refinedweb | 1,044 | 65.32 |
- Part 1: Introduction
- Part 2: Effects
Let's imagine you want to write a function which writes to a file in Node. Here's a simple example:
import * as fs from "fs"; function writeHelloWorld(path: string) { fs.writeFileSync(path, "Hello world!"); } writeHelloWorld("my-file.md");
What's the type of our function
writeHe... | https://dev.to/edbentley/mind-bending-functional-programming-with-typescript-part-2-40c9 | CC-MAIN-2021-10 | refinedweb | 1,297 | 64.81 |
I’m struggling with a particular script, I’ve tried googling the problem but I’ve become stuck…
I was wondering if anyone could possibly help me out with the SQL formulas. I’ve posted this to Reddits r/python as well, and post any answer found there, here for those who may need it in the future!
The current script is h... | http://w3cgeek.com/python-excel-and-sqllite3.html | CC-MAIN-2019-04 | refinedweb | 311 | 58.58 |
I have this little tool that I hacked together:
/**
* Write out the public API of all the Java classes of a Jar file.
* <p>
* To be called as <code>java -jar jardump.jar jarfile</code> when this
* program is compiled and packaged (using GenJar) using the associated
* Ant build.xml file. It's behavior can be controlled ... | http://mail-archives.apache.org/mod_mbox/ant-user/200304.mbox/%3CD44A54C298394F4E967EC8538B1E00F1D2BEA8@lgchexch002.lgc.com%3E | CC-MAIN-2015-22 | refinedweb | 301 | 66.33 |
By Tim Landgrave
Applying the principle of the least (PTL) in your architectural plans requires that you ask yourself a simple question whenever you approach any element of the design. That question always starts with "What’s the least amount of ...." Although this principle can be applied throughout the design process... | https://www.techrepublic.com/article/apply-the-architectural-principle-of-the-least-to-your-development-projects/ | CC-MAIN-2017-51 | refinedweb | 832 | 51.28 |
adeeb alexander wrote:I have even done what Garrett has said, i used the split() method to split with comma. Just like this str.split(",") but the problem here is after i split i get two string the first is: ferrari car and the second is: apple fruit. Now when i use trim() method, because i need the spaces between ferr... | http://www.coderanch.com/t/451947/java/java/remove-spaces | crawl-003 | refinedweb | 344 | 74.19 |
PyDocX 0.3.8
docx (OOXML) to html converter
pydocx
======
.. image::
:align: left
:target:
pydocx is a parser that breaks down the elements of a docxfile and converts them
into different markup languages. Right now, HTML is supported. Markdown and LaTex
will be available soon. You can extend any of the available parser... | https://pypi.python.org/pypi/PyDocX/0.3.8 | CC-MAIN-2015-11 | refinedweb | 1,167 | 54.93 |
A format string vulnerability in tool used to help build SQLite's TCL extension on Windows
(1.1) By salmonx on 2021-06-15 11:30:34 edited from 1.0 [link] [source]
The 'printf' in SubstituteFile accepts a format string as an argument, but the format string originates from the argv[3] which is controlled by user.
static ... | https://sqlite.org/forum/info/40a5b329843ec3ba | CC-MAIN-2022-27 | refinedweb | 428 | 73.78 |
The Listbox widget is a standard Tkinter widget used to display a list of alternatives. The listbox can only contain text items, and all items must have the same font and color. Depending on the widget configuration, the user can choose one or more alternatives from the list.
When to use the Listbox Widget
Listboxes ar... | http://sandbox.effbot.org/tkinterbook/listbox.htm | crawl-003 | refinedweb | 1,273 | 57.87 |
address@hidden (Tomas Ebenlendr) writes: > Okay, here is the patch without dependency symbol. (I hope it is GCS > compliant now.) Great. I have still some questions about the patch. How do both loaders (that is both in normal mode and rescue mode) find the generic chainloader? If I understand it correctly, the chain.mo... | https://lists.gnu.org/archive/html/grub-devel/2004-06/msg00095.html | CC-MAIN-2022-27 | refinedweb | 215 | 77.23 |
Ganymede is now at 1.04, with some nice improvements to the GUI, a fix to an exception thrown if a user gives a bad username/password pair to the xml client and, most importantly, a fix to the schema editor to make it check for the effect on the namespace constraint indices during schema editing.
I've been thinking som... | http://www.advogato.org/person/jonabbey/diary/13.html | CC-MAIN-2014-15 | refinedweb | 265 | 59.26 |
Hello.
Does anyone knows how i can adjust the output console's result a little bit more to the right side?Is there any file which i can edit? I don't know maybe there's a margin or something like that...
This is how it is currently:
And this is i'd like to get:
Thanks in advance!
I don't know in general. If you just wa... | https://forum.sublimetext.com/t/is-there-a-way-to-adjust-output-consoles-result/32370 | CC-MAIN-2018-13 | refinedweb | 1,029 | 65.52 |
I used a raspbian pisces R2 wheezy image () apt-get updated and upgraded. I installed the packages required following the installation instructions for Ubuntu at. I installed the development version (1.3.0) from github. Then I modified the setup.py file so that it would find the Broadcom files in /opt/vc before looking... | http://www.raspberrypi.org/phpBB3/viewtopic.php?f=68&p=102469 | CC-MAIN-2013-20 | refinedweb | 184 | 58.89 |
24752/how-to-access-hive-via-python appears to be outdated.
When I add this to /etc/profile:
export PYTHONPATH=$PYTHONPATH:/usr/lib/hive/lib/py
I can then do the imports as listed in the link, with the exception of from hive import ThriftHivewhich actually need to be:
from hive_service import ThriftHive
Next the port i... | https://www.edureka.co/community/24752/how-to-access-hive-via-python?show=72943 | CC-MAIN-2022-27 | refinedweb | 483 | 61.53 |
Get the highlights in your inbox every week.
How 2018 learned to do the cloud right
How 2018 learned to do the cloud right
Forecast: Cloudy with a chance of more clouds.
Subscribe now
Over the last five years, I've worked in various roles bringing high-performance computing (HPC) into the public cloud. It's been fascin... | https://opensource.com/article/19/1/best-of-cloud | CC-MAIN-2019-39 | refinedweb | 1,132 | 60.85 |
Its all of the functions I know so far.
Printable View
Its all of the functions I know so far.
Well, after fixing the syntax errors...
The program itself is okay I suppose, I'd recommend psychiatric help, but otherwise it's okay ;)
Keep in mind that any use of conio is nonstandard and may not work on all systems. Your ... | https://cboard.cprogramming.com/cplusplus-programming/9349-who-likes-my-program-printable-thread.html | CC-MAIN-2017-30 | refinedweb | 323 | 71.75 |
With C++20, the chrono library from C++11 receives important additions. The most prominent ones are a calendar and time-zones support. But this is by far not all. C++20 gets new clocks, powerful formatting functionality for time durations, and a time of day type.
Before I dive into the extended chrono library and, in p... | https://modernescpp.com/index.php/calendar-and-time-zone-in-c-20 | CC-MAIN-2022-27 | refinedweb | 1,009 | 57.87 |
Episode 51 · April 17, 2015
Learn how to add PDF receipts to your application so users can easily download receipts of their purchases
Tax season just wrapped up and a lot of us have been building PDF receipts into our rails application I'm sure. The thing that I had to do this tax season was to set up receipts for GoR... | https://gorails.com/episodes/pdf-receipts | CC-MAIN-2018-43 | refinedweb | 3,008 | 70.47 |
This document introduces Deferreds, Twisted’s preferred mechanism for controlling the flow of asynchronous code. Don’t worry if you don’t know what that means yet – that’s why you are here!
It is intended for newcomers to Twisted, and was written particularly to help people read and understand code that already uses De... | http://twistedmatrix.com/documents/current/core/howto/defer-intro.html | CC-MAIN-2015-18 | refinedweb | 2,004 | 56.35 |
Dimitri Papadopoulos
2007-10-09
Hi,
If at all possible, I'm considering patching rpc.rquotad to support IBM's GPFS filesystem:
GPFS has its own set of commands such as mmedquota, mmlsquota, and mmrepquota but lacks a port of the rpc.quotad service.
I believe it shouldn't be too difficult since:
Implemented as the Virtu... | http://sourceforge.net/p/linuxquota/discussion/57476/thread/38bb0bfe/ | CC-MAIN-2015-40 | refinedweb | 1,246 | 62.17 |
This content has been marked as final. Show 30 replies
-
16. Re: force the repaint of a JPanel843853 Mar 25, 2006 6:12 PM (in response to 843853)Nice. You're my hero. That one works, nothing else I found worked. Awesome. Props. You have my gratitude. A+. I'd offer you a job, but I don't own a company.
17. Re: force the... | https://community.oracle.com/thread/1663771?start=15&tstart=15 | CC-MAIN-2017-22 | refinedweb | 1,455 | 64.71 |
On Wed, Mar 31, 2010 at 12:24 PM, David Leimbach <leimy2k at gmail.com> wrote: > > > On Wed, Mar 31, 2010 at 12:02 PM, Gregory Collins <greg at gregorycollins.net > > wrote: > >> David Leimbach <leimy2k at gmail.com> writes: >> >> >...) >> >> See IterGV from the iteratee lib: >> >> >> >> >> The second argument to the "... | http://www.haskell.org/pipermail/haskell-cafe/2010-March/075526.html | CC-MAIN-2014-15 | refinedweb | 427 | 60.01 |
Table of Contents
Introduction
This section contains information about the most central concept of an EPiServer CMS project, namely that of pages, properties, page types and page templates.
It works in the following way:
- A page type defines a set of properties.
- A page is an instance of the .NET class that defined t... | https://world.episerver.com/documentation/Items/Developers-Guide/Episerver-CMS/7/Content/Pages-and-Blocks/Pages-Page-Types-and-Page-Templates/ | CC-MAIN-2018-22 | refinedweb | 809 | 62.58 |
Hi guys!
I hope you can help me with my problem.
How can i randomize two questions in bgt?
Here is my code:
void main()
{
string input;
input=input_box("input_box", "what is bgt?", "");
if(input=="a programming language")
{
alert("yes!", "The answer was indeed a programming language!");
}
else
{
alert("Sorry!", "The an... | http://forum.audiogames.net/viewtopic.php?id=23325 | CC-MAIN-2017-47 | refinedweb | 1,157 | 77.84 |
Investors in CRISPR Therapeutics AG (Symbol: CRSP) saw new options become available today, for the July 31st expiration. At Stock Options Channel, our YieldBoost formula has looked up and down the CRSP options chain for the new July 31st contracts and identified one put and one call contract of particular interest.
The... | https://www.breathinglabs.com/monitoring-feed/genetics/july-31st-options-now-available-for-crispr-therapeutics-crsp/ | CC-MAIN-2020-40 | refinedweb | 347 | 65.73 |
On Sat, 03 Jan 2009 14:53:12 -0800, Bryan Olson wrote about testing whether or not an index is in a slice: > I'm leaning towards mmanns' idea that this should be built in. What's the use-case for it? > Handling > all the cases is remarkably tricky. Here's a verbose version, with a > little test: [snip code] Here's a le... | http://mail.python.org/pipermail/python-list/2009-January/518361.html | CC-MAIN-2013-20 | refinedweb | 130 | 77.06 |
Currently, when asked to sum a tensor, the library naively adds the numbers from left-to-right but this approach can lead to loss of precision in certain cases (example shown below). To prevent this loss of precision, I would like to propose the implementation of summation methods like Kahan or pairwise summation.
#inc... | https://eigen.tuxfamily.org/bz/show_bug.cgi?id=1438 | CC-MAIN-2020-16 | refinedweb | 658 | 61.43 |
marko29 0 Posted January 1, 2011 Share Posted January 1, 2011 (edited) It is a great thing to handle already awesome winapi dll files like some of tutorials show you already but what about using your own dll files?To spice up your imagination, if you could handle your own dll code and incorporate it to AutoIt, there ar... | https://www.autoitscript.com/forum/topic/123827-create-basic-dll-file-and-use-it-with-autoit/ | CC-MAIN-2022-33 | refinedweb | 963 | 60.58 |
The stat module defines constants and functions for interpreting the results of os.stat(), os.fstat() and os.lstat() (if they exist). For complete details about the stat(), fstat() and lstat() calls, consult the documentation for your system.
Changed in version 3.4: The stat module is backed by a C implementation.
The ... | http://www.wingware.com/psupport/python-manual/3.4/library/stat.html | CC-MAIN-2014-42 | refinedweb | 502 | 77.84 |
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.
Unreadable attached filename recieved by mail
Hello, when i try to test Supplier vs Client (OpenERP) collaboration by mail i get ... | https://www.odoo.com/forum/help-1/question/unreadable-attached-filename-recieved-by-mail-31612 | CC-MAIN-2018-39 | refinedweb | 396 | 59.6 |
If you remember, I finished my tour of Mac OS options for finding all processes using a particular tty with the following:
The only bummer is that Linux's sysctl.h doesn't include KERN_PROC_TTY, so I guess we'll have to grub around in /proc or call lsof(1) there.The easier option for Linux, it seemed, was to use lsof(1... | http://elliotth.blogspot.com/2006/01/how-does-terminator-know-what.html | CC-MAIN-2017-04 | refinedweb | 629 | 74.19 |
say ExternalMultiply(2, 3, 4, 5, 6)
29 December 2015
Regina Rexx is a very complete and well-documented implementation of the Rexx programming language. Unfortunately its documentation is very much reference documentation, a problem that makes using rarer facilities more difficult.
One such facility is the whole foreig... | http://chiselapp.com/user/ttmrichter/repository/gng/doc/trunk/output/blog/2015/02-rexx-external.html | CC-MAIN-2017-04 | refinedweb | 2,226 | 54.93 |
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps.
Hi Agnes,=20
Your problem is the same as the previous couple of posts. In the
example the pre-saxon.7 names... | http://sourceforge.net/p/saxon/mailman/saxon-help/thread/63C4AD0365821F4291ACF76C0672FA3506EFA6@piper6.piper-group.int/ | CC-MAIN-2014-10 | refinedweb | 411 | 68.06 |
Thread pool in Java
In Java, a thread pool is a group of threads that we can reuse for various tasks in a multithreading environment. The thread pool may be of a fixed size where each thread performs a task and once it completes it again goes back to the pool. In this way, each thread can execute more than 1 task. This... | https://www.tutorialcup.com/java/thread-pool-in-java.htm | CC-MAIN-2021-49 | refinedweb | 842 | 53.92 |
suppose I have the
pd.Series
import pandas as pd
import numpy as np
s = pd.Series(np.arange(10), list('abcdefghij'))
a 0
f 5
b 1
g 6
c 2
h 7
d 3
i 8
e 4
j 9
dtype: int32
One way would be to reshape and then use
ravel(order='F') to read the items off in Fortran order:
In [12]: pd.Series(s.values.reshape(2,-1).ravel(orde... | https://codedump.io/share/b25WDlA7wGBc/1/how-do-i-card-shuffle-a-pandas-series-quickly | CC-MAIN-2017-04 | refinedweb | 179 | 71.34 |
I use :
- Code: Select all
import sys
sys.path.append("c:\users\me\documents\pythondev")
or
- Code: Select all
import sys
sys.path.append("")
(as I have my module in my current working directory)
But when I import it via :
- Code: Select all
import myMod
it just seems to run then entire code.( I also sometimes get auto... | http://www.python-forum.org/viewtopic.php?p=13153 | CC-MAIN-2015-35 | refinedweb | 156 | 65.01 |
Chapter 4: Glass Breaking
Chapter 4 begins laying out the case against Java:
."
In this chapter, Tate looks at what he considers Java's worst problems today: over-complexity and its many sources:
* Frameworks that make life easier for experienced developers, at the expense of approachability for new developers
* Over-r... | https://www.java.net/node/645314 | CC-MAIN-2014-15 | refinedweb | 13,815 | 70.13 |
SYNOPSIS
#include <unistd.h>
int lockf(int fildes, int cmd, off_t size);
int lockf64(int fildes, int cmd, off64_t size);
DESCRIPTION
The
The following lock commands are available:
- F_ULOCK
Unlock a previously locked section of the file.
- F_LOCK
Lock a section for exclusive use. If the section is already locked by ano... | https://www.mkssoftware.com/docs/man3/lockf.3.asp | CC-MAIN-2021-39 | refinedweb | 714 | 60.24 |
We always welcome contributions!
If you have already registered, you can log in and submit your articles.
Current authors ∞
Join the current authors to write systems tutorials on SysTutorials.
- Eric Z Ma (338)
- Weiwei Jia (8)
- David Yang (4)
- jameswarner (4)
- Joseph Macwan (2)
- Aaron Jacobson (1)
- Colin Cieloha ... | https://www.systutorials.com/contribute/ | CC-MAIN-2017-17 | refinedweb | 589 | 75 |
Strings
Note
The API reference links in this article will take you to MSDN. The docs.microsoft.com API reference is not complete.
The
string type represents immutable text as a sequence of Unicode characters.
string is an alias for
System.String in the .NET Framework.
Remarks.
Important
The
\DDD escape sequence is deci... | https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/strings | CC-MAIN-2019-47 | refinedweb | 460 | 67.65 |
Chapter 3 - Natural Gas
Worldwide, total natural gas consumption increases by an average of 1.6
percent per year in the IEO2009 reference case, from 104 trillion cubic
feet in 2006 to 153 trillion cubic feet in 2030 (Figure 33). With world
oil prices assumed to return to previous high levels after 2012 and remain
high ... | http://www.eia.doe.gov/oiaf/ieo/nat_gas.html | crawl-002 | refinedweb | 6,532 | 51.07 |
Windows has been tested against all versions of Python from 2.4 to 3.2. It should work with any recent version of pywin32.
When all’s said and done, it’s just a module. But for those who like setup programs:
python setup.py install
Or download the Windows installer and double-click.
Have a look at the wmi Tutorial or t... | http://svn.timgolden.me.uk/wmi/trunk/docs/_build/index.html | crawl-003 | refinedweb | 287 | 67.35 |
Those keep ports closed against outside attempts to connect unless a set of connections attempts are made to a predetermined list of ports in a specific order — or, at least, they provide the means of implementing port knocking through some additional utility.
In other words, port knocking is like a secret knock, where... | http://www.techrepublic.com/blog/it-security/use-the-firerb-library-to-write-port-knocking-scripts-in-ruby/ | CC-MAIN-2017-39 | refinedweb | 557 | 55.27 |
This tutorial will guide you through building the example present in the
examples/AsyncProgressBar directory. The nature of this example is to
demonstrate one way to handle a longer task within Quart, along with an
example of how to show the progress of that task, without blocking or
slowing down user interaction.
exam... | https://pgjones.gitlab.io/quart/tutorials/AsyncProgressBar_tutorial.html | CC-MAIN-2020-40 | refinedweb | 1,206 | 50.53 |
Polygon rasterization description. More...
#include <polygon_rasterizer.h>
Polygon rasterization description.
Constructs a polygon rasterizer description.
Returns the polygon cull clipping mode.
Returns the filling mode for polygons.
Returns the side considered the front of a face.
Returns the offsetting factor.
Return... | http://gyan.fragnel.ac.in/docs/clanlib/classCL__PolygonRasterizer.html | CC-MAIN-2019-09 | refinedweb | 128 | 57.43 |
Say for example in this program I intend to get the sum of the elements in an array. I know it's possible with only one method but for learning's sake, lets say I'd use another method. So far I've got this:
import java.util.Random; public class Main { public static void main(String args[]){ Random Rand = new Random(); ... | http://www.dreamincode.net/forums/topic/313740-simple-question-about-arrays-in-methods/ | CC-MAIN-2017-13 | refinedweb | 126 | 55.44 |
A online interactive color wheel with CIELab or HSV color space
Here's a working implementation of a color wheel for OSWeb (>= 1.3.5). It shows a color circle in either CIELab or HSV color space, and the participant can select up to four colors. This can be useful for visual-working-memory experiments.
Update June 18, ... | https://forum.cogsci.nl/discussion/5931/a-online-interactive-color-wheel-with-cielab-or-hsv-color-space | CC-MAIN-2022-27 | refinedweb | 363 | 56.15 |
On Wednesday, August 13, 2003, at 03:19 pm, David Jencks wrote:
> On Wednesday, August 13, 2003, at 08:06 AM, James Strachan wrote:
>> On Wednesday, August 13, 2003, at 05:15 am, David Jencks wrote:
>>> On Tuesday, August 12, 2003, at 03:13 PM,) ?
>>>
>>> -- you can deploy a pojo as an mbean with __no__ modification or... | http://mail-archives.apache.org/mod_mbox/geronimo-dev/200308.mbox/%3C8B09F9AC-CD9B-11D7-A504-000A959D0312@yahoo.co.uk%3E | CC-MAIN-2016-22 | refinedweb | 825 | 64.51 |
Learning the basics of a Svelte component
Creating a component in Svelte is extremely simple.
I thought creating a functional component in React couldn’t get any simpler.
import React from 'react'; const GreetMessage = () => ( <h1>Hello John, Ruben here!</h1> ); export default GreetMessage;
Oh boy, was I wrong. Svelte ... | https://linguinecode.com/post/learning-the-basics-of-a-svelte-component | CC-MAIN-2022-21 | refinedweb | 641 | 76.62 |
Provided by: manpages_3.54-1ubuntu1_all: $ strings /proc/1/environ epoll_create(2), eventfd(2), inotify_init(2), signalfd(2), and timerfd(2)), the entry will be a symbolic link with contents of the form anon_inode:<file-type> In some cases,. /proc/[pid]/limits (since kernel. /proc/[pid]/maps A file containing the curr... | http://manpages.ubuntu.com/manpages/trusty/man5/proc.5.html | CC-MAIN-2019-30 | refinedweb | 737 | 53.58 |
It's probably something extremely obvious, but I can't seem to find why the first to columns in the grid are the same.
grid = [[1]*8 for n in range(8)]
cellWidth = 70
def is_odd(x):
return bool(x - ((x>>1)<<1))
def setup():
size(561, 561)
def draw():
x,y = 0,0
for xrow, row in enumerate(grid):
for xcol, col in enumerat... | https://codedump.io/share/wm5NJSqWw7zE/1/why-is-this-grid-not-even | CC-MAIN-2021-21 | refinedweb | 242 | 62.21 |
Tk_HandleEvent - invoke event handlers for window system events
#include <tk.h>
Tk_HandleEvent(eventPtr)
Pointer to X event to dispatch to relevant handler(s).
Tk_HandleEvent is a lower-level procedure that deals with window events. It is called by Tk_ServiceEvent (and indirectly by Tk_DoOneEvent), and in a few other c... | http://search.cpan.org/~ni-s/Tk-804.027/pod/pTk/HandleEvent.pod | CC-MAIN-2017-47 | refinedweb | 102 | 57.27 |
> With devfsd, I have a very nice way of implementing persistence. Ican >oh come on....a devmgr without kernel interaction would be a complicated, gross hack.How would you handle dynamic devices with your devmgr? poll every secondfor new devices? and what do you poll? Your devmgr has to get theinformation about new/exp... | http://lkml.org/lkml/1999/6/18/36 | CC-MAIN-2015-06 | refinedweb | 210 | 52.26 |
Problem
You need to quickly create an application to manage Contacts. You want both win form and web form applications.
Solution
Use XAF to create the win form and web form solutions and sub class the built in Person class to create the Contact class.
Discussion
By default XAF creates both a win form and web form appli... | http://community.devexpress.com/blogs/garyshort/archive/2008/08/29/xaf-cookbook-1-quickly-create-a-contact-management-application.aspx | crawl-002 | refinedweb | 252 | 50.23 |
On Sat, Mar 02, 2002 at 10:05:58PM +0000, Patrick Kirk wrote: | > other than removing and reinstalling some packages or trying a | > different libc version. Binary-only software distribution really | > sucks! | | What ? Does this mean I need to reboot into Windows to run Java apps? It's probably an issue with the brows... | https://lists.debian.org/debian-user/2002/03/msg00430.html | CC-MAIN-2016-40 | refinedweb | 366 | 75.2 |
Note that I build with -with-wide-int in my ./configure, which is likely relevant here. The recent changes to generate limits.h on the master branch run because my platform (MacOS Sierra) does not define things like ULLONG_WIDTH). Most of the C source compiles, but unexmacosx.c fails with: In file included from unexmac... | https://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00427.html | CC-MAIN-2018-26 | refinedweb | 256 | 56.01 |
Lately I was surprised to see how outdated nearly all Struts2 books and tutorials have become. So, here we go! A tutorial based on Struts 2.3.x and Eclipse.
Downloading Struts 2 Library
Go to Struts download page.
Download the Struts library distribution as shown above. Unzip it somewhere. You will see all the JAR file... | https://mobiarch.wordpress.com/2014/08/11/basic-struts2-tutorial/ | CC-MAIN-2018-13 | refinedweb | 560 | 61.33 |
14 September 2011 10:31 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
The rupee has depreciated by about 9% against the US dollar since the middle of July, local players said.
As a result, imported goods are no longer as competitively priced compared to domestic material, the players added.
The buying interest ... | http://www.icis.com/Articles/2011/09/14/9492166/india-pe-pp-import-interest-weak-on-volatile-currency-slow.html | CC-MAIN-2014-49 | refinedweb | 265 | 60.65 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.