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 |
|---|---|---|---|---|---|
sump up of setting up amp-jekyll in my project
I am working on a jekyll project and already asked some questions on stackoverflow and jekyll talks site. This post is a sump up for the issue I have about setting up amp-jekyll. amp-Jekyll is a jekyll plugin. The full documentation is at this adress :
The tree of my proje... | http://codegur.com/48215672/sump-up-of-setting-up-amp-jekyll-in-my-project | CC-MAIN-2018-05 | refinedweb | 369 | 84.88 |
Walkthrough: Creating a Windows Service Application in the Component Designer
This article demonstrates how to create a simple Windows Service application in Visual Studio that writes messages to an event log. Here are the basic steps that you perform to create and use your service:
Create a project by using the Window... | http://msdn.microsoft.com/en-us/library/zt39148a.aspx | CC-MAIN-2014-42 | refinedweb | 1,857 | 57.47 |
Em does not rollbackVijay Phagura Aug 3, 2007 3:38 PM
Folks,
I have the following code;
@Enitity public class Cruise { private Collection<Reservation> reservations; ... @OneToMany(cascade = CascadeType.ALL, mappedBy="cartridge") public Collection<Reservation> getReservations() { return reservations; } public void setRe... | https://developer.jboss.org/thread/109634 | CC-MAIN-2018-17 | refinedweb | 532 | 58.28 |
roadhouse 0.
Within roadhouse, a config can be applied to a VPC. This allows the same configuration to be used across multiple VPCs. It’s useful in cases where you want to run multiple VPCs with the same configuration. For instance, this is useful when running across multiple datacenters for fault tolerance.
Config Fil... | https://pypi.python.org/pypi/roadhouse | CC-MAIN-2015-40 | refinedweb | 329 | 57.98 |
.NET Framework: Task Parallel Library Dataflow
Introduction
Coupled to the new C# Async Community Technology Preview released during PDC 2010; is a library called Task Parallel Library Dataflow (TDF). TDF is part of a growing list of technologies built on top of the Task Parallel Library (TPL) that are part of Microsof... | http://www.codeguru.com/csharp/article.php/c18601/NET-Framework-Task-Parallel-Library-Dataflow.htm | CC-MAIN-2014-41 | refinedweb | 524 | 51.34 |
I have a template which displays a lot of values which are passed from a server, my question is how to i pass these values to the template file.
My Handler code is as follows:
class AdminHandler(tornado.web.RequestHandler):
def get(self, *args, **kwargs):
#respond to a get method
#self.write("AdminHandler:: Inside GET ... | https://codedump.io/share/38FcwiE5X4js/1/how-to-pass-values-to-templates-in-tornado | CC-MAIN-2017-34 | refinedweb | 219 | 53.41 |
The Article is about the use of Java while loop.
The Java while loop has two components, a condition and a statements. The statement may.
The while loop has a similar counterpart called the do while loop.
Syntax
Below is the general code for creating a while loop. The while loop first checks the condition, and then dec... | https://coderslegacy.com/java/java-while-loop/ | CC-MAIN-2021-21 | refinedweb | 526 | 72.26 |
A Simple Image Viewer
Fredrik Lundh | May 2003 | Originally posted to online.effbot.org
Here’s a simple image viewer widget, designed for use with the Tkinter version of the Widget Construction Kit.
from PIL import ImageTk from WCK import Widget class ImageView(Widget): ui_option_width = 512 ui_option_height = 512 def ... | http://www.effbot.org/zone/simple-image-viewer.htm | CC-MAIN-2018-17 | refinedweb | 360 | 50.53 |
I'm writing a function that returns the number of times appeared of a word that appeared the most in the list of words.
def max_frequency(words):
"""Returns the number of times appeared of the word that
appeared the most in a list of words."""
words_set = set(words)
words_list = words
word_dict = {}
for i in words_set:... | https://codedump.io/share/4AUxfwUIaBp9/1/python---my-frequency-function-is-inefficient | CC-MAIN-2017-09 | refinedweb | 168 | 62.98 |
The ones who are crazy enough to think they can change the world are the ones who do.- Steve Jobs
In general terms, a function is also called a subroutine in some other languages like php, python and so on. Function is a self contained block of code that performs a specific task. A programmer define a function using it... | https://www.2braces.com/c-programming/c-functions | CC-MAIN-2017-51 | refinedweb | 389 | 63.59 |
Re: Resource in a dll
From: Fireangel (Fireangel_at_discussions.microsoft.com)
Date: 07/02/04
- Next message: Fireangel: "Re: Resource in a dll"
- Previous message: sorpor: "Lnk2019 error"
- In reply to: mphanke: "Re: Resource in a dll"
- Next in thread: Fireangel: "Re: Resource in a dll"
- Messages sorted by: [ date ]... | http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.languages.vc/2004-07/0051.html | crawl-002 | refinedweb | 461 | 72.87 |
Perl 6 Summary for 2004-10-01 through 2004-10-17
All~
Welcome to my first summary. Since I am relatively new at this game, I will just steal Piers' approach and start with Perl6 internals. But before that let me warn you that my ability to make strange characters with accents is not great, thus please do not be offende... | http://www.perl.com/pub/2004/10/ | CC-MAIN-2014-52 | refinedweb | 2,291 | 68.47 |
[This post was written by Dave Bartolomeo and the Clang/C2 feature crew]. This compiler uses the open-source Clang parser for C and C++, along with the code generator and optimizer from the Visual C++ compiler. This lets you compile your cross-platform code for Windows using the same Clang parser that you use for other... | https://blogs.msdn.microsoft.com/vcblog/2015/12/04/clang-with-microsoft-codegen-in-vs-2015-update-1/ | CC-MAIN-2019-39 | refinedweb | 5,589 | 64.91 |
Type: Posts; User: lch2
yes, i am using SetScrollSizes. Also, I like to maximize the dialog with the frame box and with that stretch the display area to cover the maximized dialog. right now only the dialog expands but the...
How can I enlarge the filed of view to show more lines without scrolling or with less scrollin... | http://forums.codeguru.com/search.php?s=041c03700bc90331a88a97c765ad8ed3&searchid=6123335 | CC-MAIN-2015-06 | refinedweb | 631 | 78.14 |
Galaxy User Guide¶ collections
- Finding roles on Galaxy
- Installing roles from Galaxy
Finding collections on Galaxy¶
To find collections on Galaxy:
- Click the Search icon in the left-hand navigation.
- Set the filter to collection.
- Set other filters and press enter.
Galaxy presents a list of collections that match... | https://docs.ansible.com/ansible/devel/galaxy/user_guide.html | CC-MAIN-2020-05 | refinedweb | 644 | 51.65 |
On Sat, Jun 02, 2001 at 10:35:17AM -0400, Greg Hudson wrote:
> Two more notes:
>
> >> Why doesn't apr's configure script avoid touching apr.h when there
> >> is no actual change?
>
> > AC_OUTPUT() doesn't do that, AFAIK.
>
> AC_CONFIG_HEADER does. From experience, I believe it would be
> possible to use AC_CONFIG_HEADE... | http://svn.haxx.se/dev/archive-2001-06/0025.shtml | CC-MAIN-2016-18 | refinedweb | 223 | 76.62 |
Import Sage Worksheets
Hello, I'm looking to be able to modulate my code in the Sage Math cloud. I've done some research on the topic and it seems that one could use the
attach syntax to bring in the methods from another worksheet. Unfortunately I get the following error when I try to attach the sagews 'test' which is ... | https://ask.sagemath.org/question/41924/import-sage-worksheets/ | CC-MAIN-2020-29 | refinedweb | 140 | 55.98 |
<<
Step 1: Go get stuff
Step 2: Remove the movement
Step 3: Hack the movement
The clock movement has a single coil stepper motor inside. The basic theory here is that we want to disconnect the coil from the clock's timing circuit and then attach wires to the coil so that we can control it ourselves.
So, knowing this, ... | http://www.instructables.com/id/Lunchtime-Clock/?ALLSTEPS | CC-MAIN-2014-10 | refinedweb | 765 | 80.31 |
Applications. It is difficult to understand how to use the consumer API without understanding these concepts first. We’ll start by explaining some of the important concepts, and then we’ll go through some examples that show the different ways consumer APIs can be used to implement applications with varying requirements... | https://www.safaribooksonline.com/library/view/kafka-the-definitive/9781491936153/ch04.html | CC-MAIN-2018-17 | refinedweb | 7,986 | 53.1 |
Write Once, Communicate… Nowhere?
Back in August I made the off-hand comment "thank goodness for RXTX" when talking about communicating with serial ports using Java. I've been meaning to revisit that topic in a bit more detail, and now is as good a time as any.
More Insights
White Papers
- Transforming Change into a Co... | http://www.drdobbs.com/embedded-systems/write-once-communicate-nowhere/240149018?cid=SBX_ddj_related_mostpopular_default_testing&itc=SBX_ddj_related_mostpopular_default_testing | CC-MAIN-2013-20 | refinedweb | 795 | 63.59 |
Asked by:
Why ilmerge doesn't work if a dll file contains a xaml user control?
- To reproduce the error, follows the step below.1) Create a WPF User Control Library.2) Create a default user control as follow<UserControl x:<Grid><Label Content="UserControl2.xaml"/></Grid></UserControl>3) use ilmerge to create a test lib... | https://social.msdn.microsoft.com/Forums/vstudio/en-US/013811c2-63a8-474d-9bdf-f2ab79f28099/why-ilmerge-doesnt-work-if-a-dll-file-contains-a-xaml-user-control?forum=netfxbcl | CC-MAIN-2016-36 | refinedweb | 593 | 59.9 |
1. Introduction¶
First thing first. Definitely this is not the only book on data structures and algorithms. There are many great books on the subject. I will mention few of those. No links to any online shop will be given as it will show my bias towards that store. The first book is the most authoritative book on the s... | https://www.ashtavakra.org/data-structure-algorithms/introduction/ | CC-MAIN-2022-05 | refinedweb | 5,227 | 53.71 |
not without a bit of manual work..
since the 96 introduced a change to the fs layout for the namespace
you have to add the extra namespace folder that is missing.
assuming that all snapshots are exported under /my-backup-dir
you have to do something like:
$ mv /my-backup-dir/.archive /my-backup-dir/archive
$ mkdir /my-... | http://mail-archives.us.apache.org/mod_mbox/hbase-user/201407.mbox/%3CCAFb6Hi+FStV0UWuhoTtBOiMT_BcYvysP8iRidXzCfppE4E9QzA@mail.gmail.com%3E | CC-MAIN-2021-10 | refinedweb | 156 | 66.03 |
2006
Everett Moore
In designing our cars we must, first, con- Olds continued this design into produc-
sider the purpose and exactly where they will tion, while Ford’s Quadricycle was only used
be driven. Unless you are designing a street to prove that a gasoline engine and four
legal, licensed vehicle, your prime purpo... | https://id.scribd.com/document/374625505/Horseless-Carriage-Builders-Handbook | CC-MAIN-2019-43 | refinedweb | 7,042 | 78.99 |
In particular, Python is a slightly higher level language than its main competitor, Perl, and is completely Object-Oriented rather than the object and scoping infrastructures being added as an afterthought to the original language design.
Perl hackers will rant about how their language's quirkiness and flexibility make... | http://everything2.com/title/Python?author_id=4236 | CC-MAIN-2015-06 | refinedweb | 2,613 | 65.86 |
> go north
You are facing the north side of a white house. There is no door here, and all the windows are boarded up. A narrow path winds north through the trees.
> go north
Let’s start with some housekeeping details before we get into coding.
I’m going to start each of these episodes – and there will be a LOT of them ... | https://ericlippert.com/2016/02/03/north-of-house/?replytocom=59167 | CC-MAIN-2022-33 | refinedweb | 2,278 | 73.07 |
>
>
>
>> In my experience, the mx_internal namespace was used often for the
>> purposes such as to cover the weak points in design. I think that the
>> problem of not documenting things could've been solved by @private
At Adobe, every single Flex public property, method and class had to be
approved by the architectual ... | http://mail-archives.apache.org/mod_mbox/incubator-flex-dev/201202.mbox/%3CCB6A86F9.A194%25cframpto@adobe.com%3E | CC-MAIN-2015-14 | refinedweb | 172 | 58.62 |
I feel like this can be easily accomplished. I have the following code:
my_array = np.zeros(6) min = 0 max = 1 my_array = np.random.uniform(min,max, my_array.shape) print(my_array)
I might be wrong, but I think np.random.uniform() generates a whole new array, and then the my_array variable simply points to the new arra... | https://www.tutorialguruji.com/python/can-i-use-numpy-to-replace-values-in-an-array-rather-than-generating-a-new-array/ | CC-MAIN-2021-21 | refinedweb | 370 | 68.36 |
Using Jini to Build a Catastrophe-Resistant System, Part 2by Dave Sag
05/15/2002
In the first part of this series, I discussed the technologies underlying an application that could resist the impact of a 767. I called this system Corporate Operating System, or COS. The need for such systems has forced the emergence of ... | http://www.onjava.com/pub/a/onjava/2002/05/15/911proof.html | crawl-001 | refinedweb | 960 | 51.58 |
Threaded View
Answered: Why should not work on the mobile devices?
Answered: Why should not work on the mobile devices?
Currently, we are progressing Mobile App project by the sencha touch 2.0.
However, some problems occurred it app does work no the mobile devices.
But the browser(safari, chrome) is on the works very w... | http://www.sencha.com/forum/showthread.php?155297-Why-should-not-work-on-the-mobile-devices&p=674121&mode=threaded | CC-MAIN-2014-15 | refinedweb | 166 | 63.46 |
version bump.
Serious testing. Our class is heavily unit-tested and covers 100% of the code, including all exceptional behavior. Furthermore, we checked with Valgrind that there are no memory leaks..
The single required source, file
json.hpp is in the
src directory or released here. All you need to do is add
#include "... | https://fuchsia.googlesource.com/third_party/json/+/4444ef93965e462119857dc8e7527456fd37a914 | CC-MAIN-2021-10 | refinedweb | 395 | 67.04 |
.NET Compact Framework Team
Some known issues
Check out some of the known issues in MIX drop posted here.
Author: mahathi Date: 03/24/2010
Transparency in CF
Check out the blog posts by Yash here, on transparency in CF.
Author: mahathi Date: 03/21/2010
MIX helpful links
Here are a bunch of early links to get you folks ... | https://docs.microsoft.com/en-us/archive/blogs/netcfteam/ | CC-MAIN-2021-39 | refinedweb | 1,599 | 66.94 |
Tutorial
An Introduction to Redux's Core.
Redux is a predictable state container for JavaScript apps, and a very valuable tool for organizing application state. It’s a popular library to manage state in React apps, but it can be used just as well with Angular, Vue.js or just plain old vanilla JavaScript.
One thing most... | https://www.digitalocean.com/community/tutorials/redux-redux-intro | CC-MAIN-2020-34 | refinedweb | 1,200 | 62.17 |
WMIC - Take Command-line Control over WMI
This article is from the March 2002 issue of Windows & .NET Magazine.
Microsoft is creating a lot of good reasons to make the command prompt in Windows XP and the Windows Server 2003.
On This Page
What Is WMIC?
How to Run WMIC
WMIC Command-Line Components
Putting WMIC to Work—a... | http://technet.microsoft.com/en-us/library/bb742610.aspx | CC-MAIN-2014-35 | refinedweb | 1,213 | 61.46 |
Now don;t yell at me for rehashing my question from an earlier post, but what does the #ind00 output of this program mean? I instructed it to display a long double.
Now don;t yell at me for rehashing my question from an earlier post, but what does the #ind00 output of this program mean? I instructed it to display a lon... | https://cboard.cprogramming.com/cplusplus-programming/38024-whats-output.html | CC-MAIN-2017-13 | refinedweb | 693 | 58.11 |
Dino Esposito
March 2000
Summary: This article provides an in-depth discussion on NTFS 2000, a new file system in Microsoft Windows 2000. (19 printed pages)
Download NTFSext.exe.
Introduction
Overview of NTFS 2000
Multiple File Streams
Fundamentals of Streams
Streams Backup and Enumeration
Hard Links
Enjoy NTFS Feature... | http://msdn.microsoft.com/en-us/library/ms810604.aspx | crawl-002 | refinedweb | 4,198 | 62.68 |
If you’re wondering how to create a Twitter bot with Python and Raspberry Pi, this tutorial is perfect for you. Today, we will make a Raspberry Pi post temperature tweets every hour using IFTTT., then below:
Our sample project will get the readings from a DHT temperature, and humidity sensor then tweets it using the Py... | https://www.circuitbasics.com/how-to-send-a-tweet-with-ifttt-and-raspberry-pi/ | CC-MAIN-2021-39 | refinedweb | 873 | 75.81 |
26 July 2012 14:01 [Source: ICIS news]
HOUSTON (ICIS)--ExxonMobil's second-quarter chemical earnings rose 9.7% year on year, mainly because of a gain from restructuring the company's business in ?xml:namespace>
Excluding that gain, the chemical segment's underlying performance weakened because of lower margins and volu... | http://www.icis.com/Articles/2012/07/26/9581400/exxonmobil-q2-chem-earnings-rises-9.7-on-revamp-of-japan.html | CC-MAIN-2014-41 | refinedweb | 112 | 52.26 |
Popular Google Pages:
◕ Earn money by writing story to RiyaButu.com. More..
◕ Bengali Story writing competition. More..
This article is regarding What is Casting and Explicit Cast in Java?
Last updated on: 20th March 2017.
◕ What is Casting and Explicit Cast in Java?
Let have an example of a complete program first:
pub... | http://riyabutu.com/java-articles/casting-and-explicit-casting.php | CC-MAIN-2019-22 | refinedweb | 317 | 64.81 |
News Brief by Kip Hansen – 14 October 2020
In an article in the New York Times, “Why ‘Biodegradable’ Isn’t What You Think”, the NY Times’ journalist, John Schwartz , makes several very good points about new products – new packaging options – being labelled “biodegradable” and “compostable”.
Primarily, as many of you al... | https://wattsupwiththat.com/2020/10/14/where-do-the-plastic-bottles-go/ | CC-MAIN-2020-45 | refinedweb | 9,154 | 71.44 |
.
It appears that combining this command and the unit test runner, we can indeed do code coverage (Andrew also told me about a way to map "back" routine lines to original lines in the source code).
So, according to the information above and this page, a sequence of possible command would be (provided we are in the corr... | https://community.intersystems.com/post/followup-unconference-session-about-unit-test-and-code-coverage-it-may-be-doable-after-all-i | CC-MAIN-2019-39 | refinedweb | 179 | 61.26 |
Sorry I cannot help any further; I've never used embedding myself. I hope someone else will step in. For the archives: I believe you're just getting lucky if Py_Finalize() doesn't crash the process. ----- Original Message ---- From: Igor Karpov <ikarpov at gmail.com> To: Ralf W. Grosse-Kunstleve <rwgk at yahoo.com> Cc:... | https://mail.python.org/pipermail/cplusplus-sig/2009-March/014305.html | CC-MAIN-2014-15 | refinedweb | 217 | 62.85 |
On Mon, Apr 20, 2009 at 8:45 PM, Ville Skyttä <ville skytta iki fi> wrote: > What rpmdevtools does for *Emacs users is that it makes opening a new > $foo.spec automatically use the corresponding rpmdevtools spec template for > $foo as emitted by rpmdev-newspec, and adjusts a few more or less cosmetic > variables. If th... | http://www.redhat.com/archives/fedora-devel-list/2009-April/msg01495.html | CC-MAIN-2013-20 | refinedweb | 235 | 58.48 |
NFS/RDMAOur OSU intern Lei Chai has produced a screen cast for the openSolaris work she completed for NFS/RDMA; Check it out here
Technorati Tags: nfs, opensolaris, NFS/RDMA
Posted by macrbg [NFS] ( March 05, 2008 04:48 PM ) Permalink
Draft-21 Layout and devices picture.The current draft for NFSv4.1 (21) is out, and on... | http://blogs.sun.com/macrbg/ | crawl-002 | refinedweb | 1,670 | 59.94 |
; }
I wrote some code for testing the impact of try-catch, but seeing some surprising results.
static void Main(string[] args) { Thread.CurrentThread.Priority = ThreadPriority.Highest; Process.GetCurrentProcess().PriorityClass = ProcessPriorityClass.RealTime; long start = 0, stop = 0, elapsed = 0; double avg = 0.0; lon... | http://boso.herokuapp.com/.net | CC-MAIN-2017-26 | refinedweb | 1,563 | 66.47 |
07 May 2010 19:18 [Source: ICIS news]
HOUSTON (ICIS news)--Second-half results for LyondellBasell will likely decline from first-half levels as once-surging olefins prices put early profitability at unsustainable levels, the company said on Friday.
Lyondell’s earnings before interest, tax, depreciation and amortisation... | http://www.icis.com/Articles/2010/05/07/9357601/second-half-earnings-to-slip-on-us-olefins-price-decline-lyondell.html | CC-MAIN-2015-22 | refinedweb | 389 | 50.4 |
Maintenance
This backport is maintained on BitBucket by Łukasz Langa, the current vanilla configparser2 maintainer for CPython:
configparser2 is derived from Lukasz Langa’s configparser mercurial repo. The only difference is a name is not conflicting with the default python3 configparser.
A quick pip install configpars... | https://pypi.org/project/configparser2/ | CC-MAIN-2017-22 | refinedweb | 286 | 52.9 |
Domain Driven Design with Web API revisited Part 9: the overall database context
September 3, 2015 2 Comments
Introduction
In the previous post we looked at the repository pattern and abstract repositories in general. We discussed the role of repositories and saw how they can be useful in hiding the implementation deta... | https://dotnetcodr.com/2015/09/03/domain-driven-design-with-web-api-revisited-part-9-the-overall-database-context/ | CC-MAIN-2019-47 | refinedweb | 1,239 | 61.46 |
In this tutorial we will see how to interface NodeMCU with 16x2 LCD without using I2C communication. Here we will interface 16x2 LCD using shift register SN74HC595. We can also interface it even without using any shift register. We will see both kinds of interfacings in this tutorial. Main difference between both inter... | https://circuitdigest.com/microcontroller-projects/interfacing-lcd-with-nodemcu | CC-MAIN-2019-04 | refinedweb | 834 | 69.82 |
1. Opening & Introductions
Welcome to the 2nd Joint PASC/TOG/WG15 Revision Group meeting. Andrew Josey called the meeting to order at 9.20am Tuesday March 2, at Sun's facility in Menlo Park, CA.
1.1 Introductions
1.1.1 Attendance list
Note: Andrew Gollan, Josee Auber from XNET attended only part-time on Day 1 to discus... | http://www.opengroup.org/austin/docs/austin_21.html | CC-MAIN-2016-07 | refinedweb | 3,733 | 65.93 |
Opened 4 years ago
Closed 4 years ago
#5478 closed bug (fixed)
GHC panics when asked to derive Show for ByteArray#
Description
The following Haskell
{-# LANGUAGE MagicHash #-} import GHC.Exts data Foo = Foo0 ByteArray# deriving Show main = return ()
caused GHC to panic with
[1 of 1] Compiling Main ( ticket_5478.hs, tic... | https://ghc.haskell.org/trac/ghc/ticket/5478 | CC-MAIN-2016-07 | refinedweb | 173 | 57.61 |
Jono's Pythonista Scripts (Fast Image Sharing, Intuitive File Downloading and more)
Hey everyone, ever since I bought Pythonista I've been getting more and more into learning Python, generally by creating scripts to fix any little problems or inconveniences I come across in my day-to-day digital life. So far I've made ... | https://forum.omz-software.com/topic/1297/jono-s-pythonista-scripts-fast-image-sharing-intuitive-file-downloading-and-more/7 | CC-MAIN-2021-39 | refinedweb | 649 | 64.61 |
Created on 2011-10-19 18:59 by Cameron.Hayne, last changed 2014-06-21 09:08 by neologix. This issue is now closed.
If the docstring for a method has example code that uses 'self',
the 'self' will not appear in the HTML generated by pydoc.writedoc
Example:
#---------------------------------
def getAnswer(self):
"""
Retu... | https://bugs.python.org/issue13223 | CC-MAIN-2019-43 | refinedweb | 437 | 68.26 |
Why Visual Studio 2017? Let us try it – Part Two
Table of contents
- Introduction
- Download Source Code
- Background
- Let's start then
- What is there for JavaScript developer in VS2017
- References
- See also
- Conclusion
- Your turn. What do you think?
Introduction
In this article we are going to see some features ... | https://sibeeshpassion.com/why-visual-studio-2017-let-us-try-it-part-two/ | CC-MAIN-2019-09 | refinedweb | 1,398 | 67.15 |
Idea. Read several files line by line, concatenate them, process the list of lines in all files.
Implementation. This can be implemented this way:
import qualified Data.ByteString.Char8 as B
readFiles :: [FilePath] -> IO B.ByteString
readFiles = fmap B.concat . mapM B.readFile
...
main = do
files <- getArgs
allLines <-... | http://m.dlxedu.com/m/askdetail/3/d682477e8163e241531a04671e6d5dd3.html | CC-MAIN-2018-22 | refinedweb | 434 | 79.56 |
module mymod implicit none type my_t integer :: a = 3 end type my_t contains subroutine by_value(i,m) bind(c,name='BY_VAL') use iso_c_binding integer(c_int), intent(in), value :: i type(my_t), intent(out) :: m m%a = i end subroutine by_value end module mymod program test use mymod implicit none integer :: i type(my_t) ... | https://community.intel.com/t5/Intel-Fortran-Compiler/Using-the-value-attribute/td-p/1097251 | CC-MAIN-2020-29 | refinedweb | 2,150 | 58.01 |
binoyp
12-09-2020
Hi All,
Is there any way to make use of non english words like "español" as fulltext in Querybuilder API?
ChitraMadan
Hi @binoyp,
Full text search will be able to find español in the content irrespective of language. Please see below OOTB groovy script which is able to find all the references of españ... | https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/query-regarding-full-text-search/qaq-p/378783/comment-id/80189 | CC-MAIN-2020-45 | refinedweb | 112 | 50.73 |
We will train a model for matching these question pairs. Let's start by importing the relevant libraries, as follows:
import sysimport osimport pandas as pdimport numpy as npimport stringimport tensorflow as tf
Following is a function that takes a pandas series of text as input. Then, the series is converted to a list.... | https://www.oreilly.com/library/view/hands-on-natural-language/9781789139495/05d12c31-dd1a-494d-ac7d-19f056e763aa.xhtml | CC-MAIN-2019-35 | refinedweb | 132 | 62.27 |
Part 6: Working With DPDK
Table of contents
- Introduction
- Set up DPDK Devices
- DPDK Worker Threads
- Start Worker Threads
- Management And Statistics Collection
- Running the example
Introduction
One of the key advantages of PcapPlusPlus over similar libraries is its extensive support for the Data Plane Development... | https://pcapplusplus.github.io/docs/tutorials/dpdk | CC-MAIN-2021-25 | refinedweb | 3,059 | 50.77 |
Introduction
One hundred years ago there were about 100 000 domesticated elephants in Thailand, almost all of them employed in the logging industry. In 1965, the Department of Livestock Development (DLD) reported a figure of 11 192. This number had decreased to 3 381 in 1985 and to 2 257 in 1998. Thus, the population a... | http://www.fao.org/docrep/005/ad031e/ad031e0i.htm | CC-MAIN-2014-15 | refinedweb | 3,708 | 51.38 |
Simple MVVM in WPF
The WPF scene has exploded as the now-dominant desktop application scene for Windows desktop applications. Couple that with the new Windows 8-style store apps and XAML, it looks like it has a very rosy future indeed.
The problem is, WPF is hard, very hard. You have Prism, MVVM Light, MVVM Cross, Cate... | http://www.codeguru.com/columns/dotnet/simple-mvvm-in-wpf.html | CC-MAIN-2017-17 | refinedweb | 2,809 | 62.17 |
Provided by: libgrib-api-tools_1.28.0-2_amd64
NAME
grib_ls
DESCRIPTION
List content of grib files printing values of some keys. It does not fail when a key is not found.
USAGE
grib_ls [options] grib_file grib_file ...
OPTIONS
-p key[:{s/d/l}],key[:{s/d/l}],... Declaration of keys to print. For each key a string (key:s)... | http://manpages.ubuntu.com/manpages/eoan/man1/grib_ls.1.html | CC-MAIN-2020-34 | refinedweb | 314 | 71.31 |
# Lossless ElasticSearch data migration

Academic data warehouse design recommends keeping everything in a normalized form, with links between. Then the roll forward of changes in relational math will provide a reliable repository wi... | https://habr.com/ru/post/513610/ | null | null | 1,460 | 64.2 |
Virtual Methods
Virtual methods are methods of a base class that can be overridden by a method in a derived class to provide a different implementation of that method. For example, you have method A from Class A and Class B inherits from Class A, then method A will be available from Class B. But method A is the exact m... | https://compitionpoint.com/virtual-methods/ | CC-MAIN-2021-21 | refinedweb | 541 | 58.28 |
The actual gcc version is
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
When compiled and run with this gcc version, using the command line
gcc -O xxx.c && a.out
the attached program outputs -1, whereas the correct output is 0. If
I use gcc 3.3.6 or leave away the -O flag, the program produces
correct outpu... | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31152 | CC-MAIN-2018-05 | refinedweb | 318 | 69.58 |
This section provides general guidelines and recommendations for designing the final NIS+ namespace for your site:
When designing the namespace, do not worry about limitations imposed by the transition from NIS. You can modify your NIS+ domain later, once you know what your final NIS+ configuration will look like.
Sele... | http://ps-2.kev009.com/wisclibrary/aix51/usr/share/man/info/en_US/a_doc_lib/aixbman/nisplus/trans_design.htm | CC-MAIN-2022-21 | refinedweb | 2,743 | 54.73 |
I!
A:
So, you might have heard that Beta2 has shipped. I wanted to give a brief overview of the changes that have been made to the designer since beta1.
So, without further ado, here are my top 10 new designer features in Beta 2
We made a decision in Beta2 to do a bit of an overhaul on the designers general theme and f... | https://blogs.msdn.com/b/mwinkle/default.aspx?Redirected=true&PostSortBy=MostViewed&PageIndex=2 | CC-MAIN-2015-18 | refinedweb | 2,444 | 52.29 |
updated copyright years
1: \ image dump 15nov94py 2: 3: \ Copyright (C) 1995,1997,2003,2006,2007: : delete-prefix ( c-addr1 u1 c-addr2 u2 -- c-addr3 u3 ) 21: \ if c-addr2 u2 is a prefix of c-addr1 u1, delete it 22: 2over 2over string-prefix? if 23: nip /string 24: else 25: 2drop 26: endif ; 27: 28: : update-image-inclu... | http://www.complang.tuwien.ac.at/cvsweb/cgi-bin/cvsweb/gforth/savesys.fs?f=h;only_with_tag=MAIN;content-type=text%2Fx-cvsweb-markup;ln=1;rev=1.16 | CC-MAIN-2019-35 | refinedweb | 212 | 63.93 |
Contact Me!
Episode 648
Julie Lerman on Entity Framework Core 5
Julie Lerman describes some of the new features included in EF Core 5.
GCast 98:
Using the Azure Storage Explorer
The Azure Storage Explorer provides a simple way to access objects in an Azure Storage Account. This video walks you through how to install an... | https://www.davidgiard.com/CategoryView,category,Database.aspx | CC-MAIN-2021-21 | refinedweb | 1,096 | 69.92 |
Monitor CloudWatch metrics for your Auto Scaling groups and instances
Metrics are the fundamental concept in Amazon CloudWatch. A metric represents a time-ordered set of data points that are published to CloudWatch. Think of a metric as a variable to monitor, and the data points as representing the values of that varia... | https://docs.amazonaws.cn/en_us/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html | CC-MAIN-2022-40 | refinedweb | 758 | 53.71 |
unnamed object creation
Discussion in 'Java' started by Mattia Bellett
Unnamed "Formal Parameter"Mysooru, Jul 24, 2003, in forum: C++
- Replies:
- 3
- Views:
- 449
- Mike Wahler
- Jul 24, 2003
C++ programmers! How do you use unnamed 'namespace's ?Razmig K, Sep 4, 2003, in forum: C++
- Replies:
- 3
- Views:
- 678
- John... | http://www.thecodingforums.com/threads/unnamed-object-creation.127830/ | CC-MAIN-2014-35 | refinedweb | 112 | 51.55 |
Finding number of pairs with a certain XOR value
Sign up for FREE 1 month of Kindle and read all our books for free.
Get FREE domain for 1st year and build your brand new site
Reading time: 25 minutes | Coding time: 5 minutes.
The key to solve this problem is that A xor B = K => A xor K = B.
For example:
array = {3, 6,... | https://iq.opengenus.org/finding-pairs-with-a-certain-xor/ | CC-MAIN-2021-17 | refinedweb | 769 | 66.98 |
Wikibooks:Request for enabling special:import
From Wikibooks, open books for an open world
Contents
What Special:Import does[edit]
This tool is used for transwiki, available to administrators. I have used it on wikiversity to import pages from wikibooks and meta to wikiversity. In contrast to the copy-and-paste transwi... | http://en.wikibooks.org/wiki/Wikibooks:Request_for_enabling_special:import | CC-MAIN-2015-18 | refinedweb | 1,097 | 61.77 |
Category: PHP it. We are sincerely grateful to all of our users and contributors. We have been constantly collecting your feedback and ideas, and continually watching the evolution of PHP, AWS, and the Guzzle library.
Earlier this year, we felt we could make significant improvements to the SDK, but only if we could bre... | https://aws.amazon.com/blogs/developer/category/php/page/3/ | CC-MAIN-2018-09 | refinedweb | 2,702 | 63.8 |
27 June 2008 16:21 [Source: ICIS news]
By Aaron Rodrigues
MUMBAI (ICIS news)--India’s Rashtriya Chemicals and Fertilizers (RCF) along with the Department of Fertilizers (DoF) plan to revive mothballed plants due to rising demand and shortages of fertilizers, a source from the company said on Friday.
“We have been asked... | http://www.icis.com/Articles/2008/06/27/9136132/rcf-dof-plan-to-revive-two-india-plants-for-urea.html | CC-MAIN-2014-49 | refinedweb | 281 | 65.76 |
I am very new to Python... If I were to give a list, my function should return the number of times "5" appears times 50. For example, if I were to call fivePoints([1,3,5,5]) it should return 100 since the number 5 appears twice (2*50). Is creating an empty list necessary? Do I use the count function? This is what I hav... | https://codedump.io/share/HRuLHqdSxlOi/1/how-to-multiply-a-certain-integer-in-list | CC-MAIN-2018-09 | refinedweb | 115 | 83.86 |
8375/a-java-collection-of-value-pairs-tuples
What I'm looking for is a type of collection where each element in the collection is a pair of values. Each value in the pair can have its own type (like the String and Integer example above), which is defined at declaration time.
The collection will maintain its given order... | https://www.edureka.co/community/8375/a-java-collection-of-value-pairs-tuples?show=8378 | CC-MAIN-2019-26 | refinedweb | 372 | 75.4 |
Coffeehouse Thread11 posts
Forum Read Only
This forum has been made read only by the site admins. No new threads or comments can be added.
Restricting access to a file using web.config in FlexWiki
Back to Forum: Coffeehouse
Conversation locked
This conversation has been locked by the site admins. No new comments can be... | https://channel9.msdn.com/Forums/Coffeehouse/159170-Restricting-access-to-a-file-using-webconfig-in-FlexWiki | CC-MAIN-2018-09 | refinedweb | 523 | 69.89 |
D. CGI Lite
Contents:
Multipart Forms
CGI Lite is a Perl 5 library that will decode both URL-encoded and multipart form data produced by the file upload feature present in Netscape 2.0. This module does not have all of the features of the CGI::* modules, but is lightweight and slightly easier to use. Here is a simple e... | http://oreilly.com/openbook/cgi/appd_01.html | crawl-002 | refinedweb | 629 | 62.27 |
Advertisement
The nice program for the beginners
Thanks for the Example program .. which is so nice for the beginners
Hi
if the more additons examples are provided means. it so useful. can i have more additonal examples
Example Should be explanatory
Hello,
I think that the example for JUnit is not sufficent.Bec when I ... | http://www.roseindia.net/tutorialhelp/allcomments/4747 | CC-MAIN-2015-40 | refinedweb | 357 | 58.18 |
Building a web application with Google App Engine is quick and easy, and you have the power of the google distributed content delivery network and the ‘BigTable’ database at your disposal. So what’s it good for?
When I was 14 my Dad bought a Commodore 64. I poured over the manuals, taught myself C64 BASIC, bought C64 p... | http://www.sitepoint.com/blogs/2008/06/11/rollin-with-google-appengine-80s-style/ | crawl-002 | refinedweb | 2,289 | 64.1 |
The following is a step-by-step guide for beginners interested in learning Python using Windows 10.
Set up your development environment
For beginners who are new to Python, we recommend you install Python from the Microsoft Store. Installing via the Microsoft Store uses the basic Python3 interpreter, but handles set up... | https://docs.microsoft.com/en-us/windows/python/beginners | CC-MAIN-2021-04 | refinedweb | 1,905 | 62.68 |
At 2002-06-14 14:04 +0000, Arjun Ray wrote:
> John Cowan <jcowan@[...].com> wrote:
> |> What are the requirements for DTDs in DSDL?
> |
> | The title of Part 9 is all we have to go on, and it talks about
> | namespace-aware and datatype-aware DTDs.
>
> Insanity.
That is what we are trying to learn ... it was identified... | http://aspn.activestate.com/ASPN/Mail/Message/1244161 | crawl-002 | refinedweb | 242 | 74.59 |
hi guys,
i just need clarification on some things, for report writing.
i know that "public void" defines method, so what do the following do/mean.
public class
public Insets
public boolean
final string
final int
int
Point
float
Thread
char
boolean
class classname
parent
sorry to sound so stupid, i just dont know what t... | http://forums.devx.com/showthread.php?139546-quick-help-needed&p=412639 | CC-MAIN-2016-18 | refinedweb | 293 | 76.72 |
Friday afternoon, I finally got tired of a bug in "Open Terminal Here", a Bash script I was using so far. I made a Python replacement...
Open Terminal Here ?
"Open Terminal Here" just a simple Bash script meant to be launched from a right-click within a directory opened in Nautilus, the Gnome file manager. As the name ... | https://pierreh.eu/tag/bash/ | CC-MAIN-2021-04 | refinedweb | 660 | 63.59 |
On 9/18/06, Antoine Pitrou <solipsis at pitrou.net> wrote: > > Le lundi 18 septembre 2006 à 09:48 -0600, Adam Olsen a écrit : > > * Bolt-on tracing GC such as Boehm-Demers-Weiser. Totally unsupported > > by the C standards and changes cache characteristics that CPython has > > been designed with for years, likely with ... | https://mail.python.org/pipermail/python-3000/2006-September/003739.html | CC-MAIN-2021-25 | refinedweb | 174 | 61.46 |
#include "ntw.h"
#include "ntw.h"
Go to the source code of this file.
This widget is a combination of a combo_box and an entry widget. An example would be the URL field in a browser bar, which might include a drop down menu of recently visited sites.
Get combo_box_entry editability.
Get the status of the entry editable... | http://ntw.sourceforge.net/Docs/CServer/combo__box__entry_8h.html | CC-MAIN-2018-05 | refinedweb | 216 | 71.71 |
A while ago, a feature was added to the cxf-codegen-plugin to automatically
scan the directory and run wsdl2java on all the wsdl's there instead of
explicitly having to configure wsdlOptions for every wsdl . This was a
feature request and certainly helped us. The pom for our testutils shrunk a
LOT as we were able to au... | http://mail-archives.apache.org/mod_mbox/cxf-dev/200911.mbox/%3C200911021038.57697.dkulp@apache.org%3E | CC-MAIN-2014-10 | refinedweb | 325 | 62.48 |
7:44 PM, Tobias Olausson <tobsan at gmail.com> wrote: > Hello all. > I am currently implementing an emulation of a CPU, in which the CPU's > RAM is part of the internal state > that is passed around in the program using a state monad. However, the > program performs > unexpectingly bad, and some profiling information ... | http://www.haskell.org/pipermail/haskell-cafe/2009-March/057041.html | CC-MAIN-2014-35 | refinedweb | 379 | 68.16 |
Return a column's name
#include <qdb/qdb.h> const char *qdb_column_name( qdb_result_t *res, int col );
qdb
This function returns the name of a specified column index col, as defined in a database schema when the table was created.
A pointer to the specified column's name, or NULL if an error occurred (errno is set). Th... | http://www.qnx.com/developers/docs/6.6.0.update/com.qnx.doc.qdb_en.dev_guide/topic/api/qdb_column_name.html | CC-MAIN-2018-43 | refinedweb | 110 | 67.08 |
Ownership and User-Schema Separation in SQL Server
A core concept of SQL Server security is that owners of objects have irrevocable permissions to administer them. You cannot remove privileges from an object owner, and you cannot drop users from a database if they own objects in it.
User-Schema Separation
User-schema s... | https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/sql/ownership-and-user-schema-separation-in-sql-server | CC-MAIN-2019-35 | refinedweb | 521 | 62.78 |
hu_ECPVSRecoverDecrypt()
Decrypts a message using ECPVS.
Synopsis:
#include "huecpvs.h"
int hu_ECPVSRecoverDecrypt(sb_Context ecpvsContext, size_t rLen, const unsigned char *rValue, size_t *recoverableMessageLen, unsigned char *recoverableMessage, sb_GlobalCtx sbCtx)
Arguments:
- ecpvsContext
ECPVS context object point... | https://developer.blackberry.com/native/reference/core/com.qnx.doc.crypto.lib_ref/topic/hu_ECPVSRecoverDecrypt.html | CC-MAIN-2019-35 | refinedweb | 362 | 51.44 |
Provided by: libgetdata-doc_0.10.0-5build2_all
NAME
gd_native_type — returns the native data type of a field in a Dirfile
SYNOPSIS
#include <getdata.h> gd_type_t gd_native_type(DIRFILE *dirfile, const char *field_code);
DESCRIPTION
The gd_native_type() function queries a dirfile(5) database specified by dirfile and det... | http://manpages.ubuntu.com/manpages/disco/man3/gd_native_type.3.html | CC-MAIN-2019-30 | refinedweb | 448 | 51.18 |
Lab Exercise 10: Classes and Inheritance
The purpose of this lab is to give you practice in creating a base class and many child classes that inherit methods and fields from the base class. In addition, we'll be modifying the L-system class to enable it to use rules that include multiple possible replacement strings an... | http://cs.colby.edu/courses/S09/cs151-labs/labs/lab10/ | CC-MAIN-2017-51 | refinedweb | 866 | 66.78 |
14 January 2010 17:42 [Source: ICIS news]
TORONTO (ICIS news)--Sulzer does not expect to see a quick recovery in its key markets this year, the diversified Swiss chemicals engineering firm said on Thursday.
Order intake, down 24% to Swiss francs (Swfr) 3bn ($2.9bn) in 2009 after a very strong 2008, was expected to fall... | http://www.icis.com/Articles/2010/01/14/9325964/swiss-chem-engineer-sees-no-quick-recovery-in-2010.html | CC-MAIN-2015-22 | refinedweb | 158 | 52.19 |
For example suppose that there is an App where you wanted a Panel control to resize on click of button, then u would probably use setting the width and height of the panel.Which will resize the Layout, but the resize is not smooth [i.e immediate movement in resize] ,so we have to slow down the resize so that it looks f... | http://flexonblog.wordpress.com/2008/01/25/smoothing-the-resizing-of-layouts-in-flex-with-effects/ | crawl-003 | refinedweb | 507 | 74.9 |
.
What are Z-Boxes?
If you have heard of Z-Boxes in a lecture or read about them in a book, you probably encountered\begin{array}{ll}(1)&\;\text{Let }s:=s_0\cdots s_{n-1}\in\Sigma^n\\(2)&\;\forall i\in\{1\cdots n-1\}:\;Z_i:=max\{j\in[0\cdots n]: s_i\cdots s_{i+j-1}=s_0\cdots s_{j-1}\}\\(3)&\;\text{Z-Box starting at pos... | https://techoverflow.net/2017/02/23/an-introduction-to-z-boxes/ | CC-MAIN-2018-05 | refinedweb | 783 | 67.28 |
IntroductionIn this article I will explain how to connect to an Oracle Database 11g Express Edition database from a Windows Forms application using C# and display data from the Oracle Database to a DataGridView control. DescriptionStep 1Download and install Oracle Database 11g Express Edition.Go to and download the exp... | https://www.c-sharpcorner.com/UploadFile/deepak.sharma00/connecting-to-oracle-database-from-windows-forms-application/ | CC-MAIN-2018-13 | refinedweb | 568 | 51.65 |
This article describes the procedure to update SignalR applications to version 2.0.
Introduction
As you know SignalR is a library that adds real-time web functionality to the development of ASP.NET applications and apart from that the current version of SignalR 2.0 offers a consistent development experience across serv... | https://www.c-sharpcorner.com/UploadFile/4b0136/updating-the-signalr-application-to-2-0/ | CC-MAIN-2022-05 | refinedweb | 345 | 50.33 |
Today's pattern is the Prototype pattern which is utilized when creating an instance of a class is expensive or complicated.
Prototype in the Real World
While the prototype that you first think of is a first draft of a new product, the prototype pattern is slightly different. The prototype pattern involves copying some... | http://java.dzone.com/articles/design-patterns-prototype | CC-MAIN-2014-42 | refinedweb | 752 | 52.19 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.