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 |
|---|---|---|---|---|---|
Network programing and unified communications.
If you are using .Net frameworks 1.0 or 1.1, certificate must be installed on either User store or Machine Store. This posting is only valid for v2.0.
In version 2.0 (Currently released Whidbey Beta1) user have option to use the certificate which contain the private key wi... | http://blogs.msdn.com/adarshk/archive/2004/09/01/224214.aspx | crawl-002 | refinedweb | 306 | 56.66 |
How to make a custom input component for Sanity Studio
Thomas Drevon
・9 min read
The Sanity Studio grants a developer the power to create pretty much any editing experience. The schema types which are built into Sanity (string, boolean, image etc) all come with their own input components and will help you build UIs for... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/sanity-io/how-to-make-a-custom-input-component-for-sanity-studio-3ao3 | CC-MAIN-2020-05 | refinedweb | 2,174 | 56.15 |
Use below link to know in detail about activity life cycle and manifest
file.
Android Activity Life Cycle - What are all these methods for?
It looks like its a spring encounters some error during the war startup.
Usually spring gets triggered as a context listener and it starts to
initialize your beans and resolve depe... | http://www.w3hello.com/questions/-dll-problems-in-an-ASP-NET-application- | CC-MAIN-2018-17 | refinedweb | 2,229 | 57.67 |
Alright, and now we begin part three of this tutorial. You should have [wandered in from part two][parttwo]. If you can't be bothered with working through the previous segments, you can [grab a copy of our current setup][polling2] we put together in the first and second parts of the tutorial.
This segment we are adding... | http://lethain.com/two-faced-django-part-3-newforms/ | CC-MAIN-2014-41 | refinedweb | 679 | 76.01 |
Automating your Facebook page post is extremely easy. All you need is Graph API token and Python code.
Create a facebook app on developer.facebook.com
Change the app status to live to make it public.
Go to tools -> Graph Api explorer.
Select your application.
Select page access token and then select the page name on wh... | https://www.pythoncircle.com/post/666/automating-facebook-page-posts-using-python-script/ | CC-MAIN-2020-05 | refinedweb | 236 | 61.93 |
Once again I left the desert and the climbing in Red Rock and entered the air conditioned world of conference land. This year I was pretty leisurely about climbing, although I did at least a few climbs every day. I slept well and long, hiked in to Red Rock from the highway, read a book in the desert sunshine, and final... | http://thebuildingcoder.typepad.com/blog/2012/page/2/ | CC-MAIN-2013-20 | refinedweb | 1,513 | 55.54 |
tty,
cua —
general terminal interface
#include
<sys/ioctl.h>
This section describes the interface to the terminal drivers in the system.
Each hardware terminal port (such as a serial network , or with another system over a serial link.. For more information on dial-out, see cu(1).
When an interactive user logs in, the ... | https://man.openbsd.org/cua.4 | CC-MAIN-2022-27 | refinedweb | 246 | 51.48 |
The code in this tutorial illustrates the technique described in the text. A complete code sample for this tutorial is available for you to download, including full source code and any additional supporting files required by the sample.
Download GoingBeyond4_Tutorial_Sample.zip.
Understanding the basics of game coding ... | http://msdn.microsoft.com/en-us/library/bb975644.aspx | crawl-002 | refinedweb | 7,733 | 56.15 |
The crashkernel command line parameter accepts a size and base address for the memory region that is reserved to be used as the memory space for a crash kernel. At this time, on some architectures, notably i386 and x86_64, the base address of the crash kernel needs to be modified at compile time to match the base addre... | http://www.gelato.unsw.edu.au/archives/linux-ia64/0606/18612.html | CC-MAIN-2020-24 | refinedweb | 490 | 62.07 |
home english |
home deutsch |
Sascha |
Kontakt |
Pro |
Weblog |
Wiki
It has been quite some time that I announced that I'd be working
as a freelancer. Lots of stuff had to be done in that time, but finally
things are ready. I've founded my own little company and set up
a small website: Welcome to Betabug Sirius!
For on... | https://betabug.ch/blogs/ch-athens/monthlist_html?year=2011&month=11 | CC-MAIN-2021-31 | refinedweb | 921 | 80.82 |
I've only used DBIx::Class for one project, but I was completely sold on it once I was done. Unwriten SQL is the best SQL imo. Having every object map directly to a table row (whether a real table or a view) will definitely make your life easier. Doing common joins in a SQL client or in Perl is not very reusable in the... | http://www.perlmonks.org/?parent=922644;node_id=3333 | CC-MAIN-2016-50 | refinedweb | 296 | 59.74 |
When you are building a complex system, barely testing components in isolation is not enough. It's crucial, but not enough. Imagine a car factory that manufactures and imports highest quality parts, but after assembling the vehicle never starts the engine. If your test case suite consists barely of unit tests, you can ... | https://www.nurkiewicz.com/2013/02/dont-rely-on-unit-tests-alone.html | CC-MAIN-2019-39 | refinedweb | 314 | 54.22 |
3628/result-of-character-addition-in-java
The result of adding Java chars, shorts, or bytes is an int:
Java Language Specification on Binary Numeric Promotion:.
But note what it says about compound assignment operators (like +=):
The result of the binary operation is converted to the type of the left-hand variable ... ... | https://www.edureka.co/community/3628/result-of-character-addition-in-java | CC-MAIN-2020-05 | refinedweb | 235 | 67.15 |
rand, rand_r - pseudo-random number generator
#include <stdlib.h> int rand (void); void srand(unsigned int seed); int rand_r(unsigned int *seed);
The rand() function computes a sequence of pseudo-random integers in the range 0 to {RAND_MAX} with a period of at least 232.
The srand() function uses the argument as a seed... | http://pubs.opengroup.org/onlinepubs/7908799/xsh/rand_r.html | CC-MAIN-2015-06 | refinedweb | 327 | 63.39 |
#include <OSDataStructures.h>
List of all members.
Definition at line 41 of file OSDataStructures.h.
Default constructor.
Constructor.
Default destructor.
This method displays data structure in the matrix format.
bDeleteArrays is true if we delete the arrays in garbage collection set to true by default
Definition at li... | http://www.coin-or.org/Doxygen/CoinAll/class_sparse_matrix.html | crawl-003 | refinedweb | 210 | 50.23 |
I have been following the Angular 2 and ASP.NET Core stories pretty close over the past year, and of course not ignoring Docker. I wanted to take some time and see what it would be like to take all of these different technologies, put each of them in a Docker container, start up the entire application with
docker-compo... | http://tattoocoder.com/legion-of-heroes-haproxy-nginx-angular2-aspnetcore-redis-docker/ | CC-MAIN-2018-43 | refinedweb | 2,181 | 56.35 |
Introduction: Simple Arduino Photocell Circuit and Data Logging
For a while now I've been attempting to get data from my Arduino + Linksprite WiFi shield into my Adafruit IO dashboard. My first few attempts were admittedly way more advanced than what I should have started with (a weather station, I'm still working on i... | https://www.instructables.com/Simple-Arduino-Photocell-Circuit-and-Data-Logging/ | CC-MAIN-2020-45 | refinedweb | 1,690 | 64.61 |
Using Non-Standard Encodings in cElementTree
Updated December 15 | December 1, 2005 | Fredrik Lundh
Update 2005-12-04: Changed to use codecs.open instead of plain open, to avoid problems with variable-width encodings. Thanks to “mark_m”.
Update 2005-12-15: This has been fixed in cElementTree 1.0.5, which supports all 8... | http://www.effbot.org/zone/celementtree-encoding.htm | CC-MAIN-2014-52 | refinedweb | 193 | 60.41 |
Concepts Used
Linked lists,hash table
Difficulty Level
Hard.
Problem Statement :
Given a sorted singly linked list and a value K, the task is to find pair whose sum is equal to K. We are not allowed to use any extra space and expected time complexity is O
(n
).
Print the number of pairs whose sum equals to
K.
See origi... | https://www.prepbytes.com/blog/linked-list/find-pair-sum/ | CC-MAIN-2021-39 | refinedweb | 878 | 67.99 |
Contributed and maintained by
Vladimir Kvashin
and Vladimir Voskresensky
December 2007 [Revision number: V6.0-2]
If your project has a question mark in the Projects window, or a
#include
directive is underlined in red, then your project has unresolved include directives. The IDE uses internal parser
that is used by Co... | http://www.netbeans.org/kb/60/cnd/HowTos.html | crawl-001 | refinedweb | 395 | 55.84 |
import "golang.org/x/tools/go/types/typeutil"
Package typeutil defines various utilities for types, such as Map, a mapping from types.Type to interface{} values.
imports.go map.go methodsetcache.go ui.go
Dependencies returns all dependencies of the specified packages.
Dependent packages appear in topological order: if ... | https://godoc.org/golang.org/x/tools/go/types/typeutil | CC-MAIN-2018-26 | refinedweb | 904 | 68.57 |
Flag 09: will come back later
Flag 10:Try LD_DEBUG exploit race conditon
Exploit symbolic link and race condition
fill pipe and redirect to standard output().
615a2ce1-b2b5-4c76-8eed-8aa5c4015c27
References->
flag11:
There are definitely other paths but this is the path i followedShould basically poison LD_PRELOAD
expo... | http://www.shellsec.com/news/10200.html | CC-MAIN-2016-50 | refinedweb | 562 | 52.19 |
anki crashed with ModuleNotFoundError in /usr/share/anki/anki/mpv.py: No module named 'distutils.spawn'
Bug Description
I suspect that a dependency is missing.
Here is the error when starting from the command line
$ anki
Traceback (most recent call last):
File "/usr/bin/anki", line 6, in <module>
import aqt
File "/usr/... | https://bugs.launchpad.net/ubuntu/bionic/+source/anki/+bug/1762593 | CC-MAIN-2019-39 | refinedweb | 813 | 58.18 |
...
Activity
being an error or not is not the most important part here I think. If the method should be removed, then it should be made deprecated first, so it can be removed in later major versions. The documentation of the method should state what is wrong with that method and how it should be done instead. So simply... | http://jira.codehaus.org/browse/GROOVY-3177?focusedCommentId=156292&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel | CC-MAIN-2014-52 | refinedweb | 1,713 | 62.78 |
I wrote this fragment a few years ago and have talked about it to folks individually, but it came up again in discussion on the
#haskell channel, so I figured it was worth posting about in a central location.
Evaluating to Normal Form
The
deepseq package's
Control.DeepSeq provides the incredibly useful
NFData class.
cl... | https://www.schoolofhaskell.com/user/edwardk/snippets/once | CC-MAIN-2016-50 | refinedweb | 340 | 67.28 |
MooseX::Declare::Context - Per-keyword.
A part of code represented by either a
Str or a }']
A required
Str containing the file the keyword was encountered in.
An
ArrayRef of "CodePart"s that will be used as preamble. A preamble in this context means the beginning of the generated code.
These parts will come before the... | http://search.cpan.org/~flora/MooseX-Declare-0.32/lib/MooseX/Declare/Context.pm | CC-MAIN-2015-06 | refinedweb | 301 | 56.45 |
Last Updated on October 2, 2020.
In this blog post, let’s see how to do API calls using Axios, Redux, and Hooks in react native. As the importance of hooks and proper state management increases, making API calls with hooks and redux is a better way and can be helpful for large react native applications.
Before starting... | https://reactnativeforyou.com/react-native-api-call-example-with-axios-redux-and-hooks/ | CC-MAIN-2021-31 | refinedweb | 789 | 51.65 |
Arm Rig Setup For Seamless FK/IK Switching
This tutorial assumes that you have the following simple skeleton:
- A joint named L_shoulder_JNT
- A joint named L_elbow_JNT
- An arm IK control object called L_armIk_CON (to which the IK handle is going to be point-constrained)
- A pole-vector control object called L_armPole... | https://seithcg.com/wordpress/?page_id=30 | CC-MAIN-2022-40 | refinedweb | 1,419 | 72.87 |
<stdarg.h>
Include the standard header
<stdarg.h>
to access the unnamed additional arguments
(arguments with no corresponding parameter declarations)
in a function that accepts a
varying number
of arguments. To access the additional arguments:
va_startwithin the body of the function to initialize an object with context... | http://www.qnx.com/developers/docs/6.5.0/topic/com.qnx.doc.dinkum_en_c99/stdarg.html | crawl-003 | refinedweb | 574 | 53 |
On Nov 26, 12:30 am, "Gabriel Genellina" <gagsl-... at yahoo.com.ar> wrote: > En Wed, 25 Nov 2009 23:35:06 -0300, The Music Guy > <FearsomeDragon... at gmail.com> escribió: > > > I just posted to my blog about a feature that I'd like to see added to > > Python. Before I go through the trouble of learning how to write a... | https://mail.python.org/pipermail/python-list/2009-November/559534.html | CC-MAIN-2016-50 | refinedweb | 572 | 70.63 |
coverage broken by peak.util.addons
say we have test1.py such as: {{{
!python
from peak.util.addons import AddOn
def foo(): print "bar"
foo() }}} Now, if I run coverage on this {{{
!shell
coverage -e -x test.py coverage -r test.py Name Stmts Exec Cover
test 3 3 100% }}} it works fine. However, with the first "include" ... | https://bitbucket.org/ned/coveragepy/issue/13 | CC-MAIN-2015-22 | refinedweb | 156 | 70.9 |
I am aware that this questions has been asked before, but I still face the same issue after trying to resolve it. Here's the code and an image:
import java.util.Scanner;
class Testing {
public static void main(String[] args){
Greeting();
AgeVerification();
Calculator();
}
static void Greeting(){
System.out.println("Hey... | https://codedump.io/share/KiNkwzg2UpM1/1/illegal-start-of-expression-in-java-after-attempted-solutions | CC-MAIN-2017-43 | refinedweb | 287 | 55 |
Hey there :) :) :)
I'm doing a "simulation" project for the first-come, first-served (FCFS) CPU scheduling algorithm.
To give u an idea of what this is:
CPU Scheduling is all about having a Scheduler determine which process should be allocated to the CPU next. It has many various algorithms such as priority sched, shor... | https://www.daniweb.com/programming/software-development/threads/350576/java-simulation-of-cpu-scheduling | CC-MAIN-2017-17 | refinedweb | 776 | 64.61 |
C Pointer Basics
What is the output of following program?C Pointer Basics
# include <stdio.h> void fun(int x) { x = 30; } int main() { int y = 20; fun(y); printf("%d", y); return 0; }
Discuss it
Question 1 Explanation:
Parameters are always passed by value in C. Therefore, in the above code, value of y is not modified ... | https://www.geeksforgeeks.org/c-language-2-gq/pointers-gq/ | CC-MAIN-2021-39 | refinedweb | 1,114 | 69.72 |
HDBSCAN is a clustering algorithm developed by Campello, Moulavi, and Sander. It extends DBSCAN by converting it into a hierarchical clustering algorithm, and then using a technique to extract a flat clustering based in the stability of clusters. The goal of this notebook is to give you an overview of how the algorithm... | https://nbviewer.jupyter.org/github/lmcinnes/hdbscan/blob/master/notebooks/How%20HDBSCAN%20Works.ipynb | CC-MAIN-2019-18 | refinedweb | 2,842 | 57.91 |
Hello I want to start to learn Java, so I took some books and internet Web sites.
I installed the new jdk.1.6.0_20 in my computer its is in C:\Program Files\Java\jdk1.6.0-20
I created a file called HelloWorld.java as you can see below I saved the at the folder
C:\Program Files\Java\jdk1.6.0-20\bin
public class HelloWor... | https://www.java.net/node/704141/atom/feed | CC-MAIN-2015-22 | refinedweb | 260 | 68.87 |
The latest version of the book is P4.0, released over-13)
- Fixed: 20-Dec-13, awaiting book release
PDF page: 75
The order of expected output for Frank and Bob is reversed from what it should be based on the order of the output statements.--Peter AlfvinPaolo Perrotta says: Thank you. Fixed.
- Reported in: P4.0 (18-Dec-... | https://pragprog.com/titles/ppmetr/errata | CC-MAIN-2019-13 | refinedweb | 2,859 | 65.62 |
News aggregator
FP Complete: Status of School of Haskell 2.0
Earlier this year, I wrote a blogpost about our plans for the next version of the School of Haskell. SoH is a community service and project to make it possible to use interactive snippets of Haskell on any website, in particular on schoolofhaskell.com. Today,... | http://sequence.complete.org/aggregator?page=17 | CC-MAIN-2016-07 | refinedweb | 2,461 | 63.19 |
I to use particles to display an image in 3D.
Turns out that it was fairly straightforward to accomplish what I wanted. First I dragged an image into the Assets panel in Unity, and named it “test”. I need access to the image/pixel data, so I checked “Read/Write Enabled” in the “Import Settings” for the texture. Then I ... | http://www.markjasmith.com/?p=876 | CC-MAIN-2018-47 | refinedweb | 408 | 60.51 |
Python Print() Function's also true that Python or, for that matter, any programming language, the Print function is the most basic and the baby step that you take while learning a particular language. However, while learning a programming language, you sometimes tend to focus on more advanced topics and many times for... | https://www.datacamp.com/community/tutorials/python-print-function | CC-MAIN-2022-05 | refinedweb | 1,840 | 61.46 |
Will Microsoft Open Windows Source Code? (No!) 571.
Re:Yes, but what is the OS? (Score:2)
Anyway, COM is spec'd and so is DCOM. There are lots of 3rd party implementations, for example, there is the Haskell and Oberon COM support.
For specs, see. if it's tr (Score:2)
The Win32 API is the definition of Windows. It's wha... | https://slashdot.org/story/00/02/17/2136252/will-microsoft-open-windows-source-code-no | CC-MAIN-2016-40 | refinedweb | 7,509 | 72.66 |
In Mac OS X 10.4, GCC 4.0 is the default compiler for all new projects. If you are creating new projects on the platform, you should naturally be using GCC 4.0 to compile those projects. However, if you are building existing projects using the GCC 3.3 compiler (the default compiler in Mac OS X 10.3), there are also man... | http://developer.apple.com/releasenotes/DeveloperTools/GCC40PortingReleaseNotes/Articles/PortingToGCC.html | crawl-002 | refinedweb | 5,532 | 64.71 |
24 days of Hackage, 2015: day 15: IOSpec: testing IO; and some QuickCheck tricksDec 15, 2015 · 7 minute read · Comments
HaskellHackageIOSpecIOtestingQuickCheckquickcheck-unicodecoercion
Table of contents for the whole series
A table of contents is at the top of the article for day 1.
Day 15
On
day 11,
I tangentially me... | https://conscientiousprogrammer.com/blog/2015/12/15/24-days-of-hackage-2015-day-15-iospec-testing-io-and-some-quickcheck-tricks/ | CC-MAIN-2022-33 | refinedweb | 1,344 | 53 |
Created
04-01-2016
01:33 AM
Hello!
I am not able to read Parquet files which were generated using Java API of Spark SQL in HUE. I am using CDH 5.5.1. All I am getting is "Failed to read Parquet file." It is the same when it is uncompressed or zipped.
If I am using MapReduce Parquet Java libraries and not Spark SQL, I a... | https://community.cloudera.com/t5/Support-Questions/Cannot-read-Parquet-file-generated-by-Spark-SQL-in-HUE/m-p/39259 | CC-MAIN-2019-35 | refinedweb | 154 | 61.63 |
Migrating a Legacy App to Cloud Native — Part 7
This is part 7 in a series documenting my journey migrating my progressive web app, called SqAC, to AWS cloud native. If you haven’t been following it before now, here are the previous posts:
- Part 1: Background
- Part 2: Requirements & Architecture
- Part 3: Authenticat... | https://medium.com/codex/migrating-a-legacy-app-to-cloud-native-part-7-ec359519e04a | CC-MAIN-2022-40 | refinedweb | 2,156 | 65.22 |
Wildfly Umlaut (UTF-8) issueJens Rauch Oct 11, 2018 6:11 AM
Hello,
I'm currently having a lot of issues (after upgrading Wildfly > 10) with special characters, such as the German "Umlaut" using AJP. I already created a Stackoverflow issues a while ago, but I simply wanted to ask here in the forums one more time before ... | https://developer.jboss.org/thread/278892 | CC-MAIN-2018-51 | refinedweb | 1,082 | 54.83 |
Previously we discussed how to download and install java compiler. As a beginner, you need to practice a lot of programs to learn java programming language. The minimum requirement is a text editor program and Java SDK.
Learn how to install a java compiler before you begin writing your programs.
To practice writing Jav... | https://notesformsc.org/write-compile-first-java-program/ | CC-MAIN-2021-04 | refinedweb | 545 | 66.13 |
In High Energy Physics a lot of Machine Learning is done. Mostly with the TMVA package which is part of the ROOT framework which is used by almost every experiment. In this post I will compare how to use
TMVA and
scikit-learn to solve the same problem.
TMVA implements many of the popular Machine Learning algorithms, is... | http://betatim.github.io/posts/matching-machine-learning/ | CC-MAIN-2018-30 | refinedweb | 1,530 | 60.41 |
Build a Secure API with Spring Boot and GraphQL
GraphQL is a data query language developed by Facebook in 2012 to solve a shortcoming of REST APIs and traditional database models. All too often, when programmers write REST API data queries, they default to retrieving entire data structures when they need only a part of... | https://developer.okta.com/blog/2018/08/16/secure-api-spring-boot-graphql | CC-MAIN-2018-51 | refinedweb | 2,826 | 54.93 |
I spend much of my time knee deep in Microsoft technologies, and I often find it difficult to keep up with the new products and versions. Fortunately, I usually have some time to get up to speed because most organizations are slow to adopt new technologies and upgrade to new versions. In addition, there is always a wea... | http://www.techrepublic.com/blog/software-engineer/read-about-microsofts-development-offerings-for-2008/?count=100&view=expanded | CC-MAIN-2014-35 | refinedweb | 976 | 65.62 |
CGTalk
>
Software Specific Forums
>
Autodesk 3ds max
>
3dsMax SDK and MaxScript
> 10 things every max plugin developor should do
PDA
View Full Version :
10 things every max plugin developor should do
AlpineMan
03-25-2009, 01:21 PM
Here are some tips that I feel may help the overall quality of software written for 3dsma... | http://forums.cgsociety.org/archive/index.php/t-746014.html | CC-MAIN-2014-15 | refinedweb | 1,001 | 73.98 |
While there are quite some good documents about the setup of the ABAP Test Cockpit (ATC) on SDN (cf. and) I haven’t seen any experience reports about a roll out of ATC yet. Therefore I decided to blog about my current experiences in rolling out the ATC in our development organization.
Step 0: Some Background
Before sta... | https://blogs.sap.com/2013/11/19/rolling-out-the-abap-test-cockpit-a-first-experience-report/ | CC-MAIN-2017-51 | refinedweb | 2,924 | 62.98 |
At 10:21 PM 10/9/2001 +0200, Thomas Kumlehn wrote:
>If I Launch.py ThreadedAppServer, ALL requests end up
>with invalid marshal data.
I'm CCing the discussion list because this one comes up a lot. You are
likely trying to hit the app server directly, like so:
But that sends an HTTP request from your web browser direct... | https://sourceforge.net/p/webware/mailman/webware-discuss/?viewmonth=200110&viewday=9 | CC-MAIN-2016-30 | refinedweb | 937 | 76.42 |
Hi, I have such a simple method in my model
def get_normal(self, std):
if <here I need to know which device is used> :
eps = torch.cuda.FloatTensor(std.size()).normal_()
else:
eps = torch.FloatTensor(std.size()).normal_()
return Variable(eps).mul(std)
To work efficiently, it needs to know which device is currently used... | https://discuss.pytorch.org/t/which-device-is-model-tensor-stored-on/4908 | CC-MAIN-2017-39 | refinedweb | 356 | 67.76 |
JNI is my favourite programming framework in Java; it gives you freedom to use natively created code. For example, if you want to use any Windows API (i.e. dll) from your Java code, you can use JNI.
The most popular advantage of Java is platform independence. However, sometimes this feature makes it very difficult to i... | http://www.codeproject.com/Articles/15552/Using-VC-components-from-Java-program?fid=340153&df=10000&mpp=25&sort=Position&spc=Relaxed&tid=1832973 | CC-MAIN-2015-14 | refinedweb | 629 | 63.29 |
Now that we know how to swap items in an array, we need to set up the loops which check whether a swap is necessary.
Recall that Bubble Sort compares neighboring items and if they are out of order, they are swapped.
What does it mean to be “out of order”? Since bubble sort is a comparison sort, we’ll use a comparison o... | https://www.codecademy.com/courses/sorting-algorithms/lessons/bubble-sort-python/exercises/bubble-sort-python-compare | CC-MAIN-2022-05 | refinedweb | 277 | 73.17 |
Session:The Kernel Report ELC 2012:. and. we now have a just in time built into the kernel for the Berkeley packet filter subsystem for filtering packets that you are trying to inspect coming off the net sort of thing. send multiple message system call. scalability for applications that are sending lots and lots of lit... | http://elinux.org/index.php?title=Session:The_Kernel_Report_ELC_2012&oldid=227054 | CC-MAIN-2016-40 | refinedweb | 3,282 | 68.81 |
Apr 22, 2016 by Emmanuel Vadot.
I’ve capture the result with pulseview (a sigrok frontend) and my ikalogic scanlogic 2.
For C, I’ve made a simple program that just configure the pin to gpio output and toggle it indefinitly :
#include <sys/types.h> #include <stdlib.h> #include <limits.h> #include <libgpio.h> int main(in... | http://www.shellsec.com/news/13495.html | CC-MAIN-2016-50 | refinedweb | 240 | 68.57 |
I am trying to start using angular 2 cli.
I want to use momentjs in my project so here is what I have done:
1. created project using cli.
2. run
npm install --save momen
typings init
typings install --save moment
System.config({
packages: {
app: {
format: 'register',
defaultExtension: 'js'
},
moment: {
map: 'node_modul... | https://codedump.io/share/OPGgl89sE1JO/1/angular-2---adding-3rd-party-libs | CC-MAIN-2017-34 | refinedweb | 396 | 66.54 |
I am working with a team in Brazil trying to set up a Cognos BI report to SPSS modeler. However, I keep on getting a BI server error when I try to connect report on SPSS. I was wondering if I am setting up the wrong information on SPSS. I got the information from the Cognos Reporting Portal for my Team's report. I ente... | https://developer.ibm.com/answers/questions/280732/$%7Buser.profileUrl%7D/ | CC-MAIN-2019-22 | refinedweb | 429 | 60.35 |
NAME
mincore - determine whether pages are resident in memory
SYNOPSIS
#include <unistd.h> #include <sys/mman.h> int mincore(void *addr, size_t length, unsigned char *vec); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): mincore(): _BSD_SOURCE || _SVID_SOURCE
DESCRIPTION
mincore() returns a vect... | http://manpages.ubuntu.com/manpages/lucid/man2/mincore.2.html | CC-MAIN-2015-48 | refinedweb | 272 | 60.41 |
public class MessageBox
{
private static Hashtable m_executingPages = new Hashtable();
private MessageBox(){}
public static void Show( string sMessage )
{
// If this is the first time a page has called this method then
if( !m_executingPages.Contains( HttpContext.Current.Handler ) )
{
// Attempt to cast HttpHandler as ... | http://www.codeproject.com/Articles/7525/Simple-MessageBox-functionality-in-ASP-NET?fid=68369&df=10000&mpp=10&sort=Position&spc=None&tid=4249159 | CC-MAIN-2015-18 | refinedweb | 292 | 60.41 |
This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
> -----Original Message----- > From: newlib-owner@sourceware.org [mailto:newlib- > owner@sourceware.org] On Behalf Of Jeff Johnston > Sent: 2014å8æ20æ 1:24 > To: newlib@sourceware.org > Subject: Re: Update newlib to support effic... | https://sourceware.org/legacy-ml/newlib/2014/msg00339.html | CC-MAIN-2021-31 | refinedweb | 713 | 60.51 |
D3 Plugins: Truly Interactive Matplotlib In Your Browser
Update, March 2014: there are some major changes and refactorings in mpld3 version 0.1. Because of this, some of the code below will not work with the current release: please see the mpld3 documentation for more information.
It's been a few weeks since I introduc... | http://jakevdp.github.io/blog/2014/01/10/d3-plugins-truly-interactive/ | CC-MAIN-2017-47 | refinedweb | 1,801 | 64.1 |
Nearby: Call for participation · Workshop Program · Chairs' summary report · Minutes Day 2
See also: IRC log
Michael Sperberg-McQueen: goes over process document introducing concept of w3c workshops function of workshop to advise membership and staff as to what the w3c should be doing purpose - gather user experience e... | http://www.w3.org/2005/06/21-xsd-user-minutes.html | crawl-002 | refinedweb | 7,687 | 66.03 |
Introduction: MapReduce
MapReduce is a programming paradigm developed by Google, which allows a programmer to process large ammouts of data in parallel on many computers.
A computation in MapReduce consists two components: mapper and reducer.
- mapper takes an input file, and prints out a series of key-value pairs:
In ... | http://gaotx.com/blogs/2015/06/20/cs61a-lab14/ | CC-MAIN-2018-43 | refinedweb | 711 | 65.12 |
Integrating with file picker contracts (Windows Runtime apps)
[This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation]
Apps can use the file picker to provide other apps with files, a save location, and even file u... | https://docs.microsoft.com/en-us/previous-versions/windows/apps/hh465174(v=win.10) | CC-MAIN-2021-39 | refinedweb | 1,297 | 63.73 |
. For more information on the51 * Apache Software Foundation, please see <>.52 */53 54 package org.apache.taglibs.bsf;55 56 import javax.servlet.jsp.tagext.*;57 58 import org.apache.bsf.*;59 60 public class bsftag extends BodyTagSupport implements BodyTag61 {62 protected static String language;63 protected static int l... | http://kickjava.com/src/org/apache/taglibs/bsf/bsftag.java.htm | CC-MAIN-2016-50 | refinedweb | 122 | 50.53 |
Created on 2013-05-22.15:52:08 by rjkimble, last changed 2015-03-02.01:15:39 by zyasoft.
When parsing the command line args, exclamation points/bangs/!'s are ignored.
What platform? Works as expected on Ubuntu with Jython 2.7b1 for me:
$ cat /tmp/bang.py
#!/usr/bin/env python
import sys
def main(args):
print repr(args)... | http://bugs.jython.org/issue2056 | CC-MAIN-2015-14 | refinedweb | 238 | 63.96 |
0
Hi,
can anyone please help me on this.
I dont understand as to why am getting this error..
Please, please help on this!
fortesting purpose I have commented certain lines..
"Pre_s2a_leadtime.sh" 55 lines, 1233 characters #!/bin/csh # Check if program is already running and echo a time stamp for the log file #log_start... | https://www.daniweb.com/programming/software-development/threads/228764/this-is-the-error-i-get-when-i-run-my-script-unmatched | CC-MAIN-2017-34 | refinedweb | 167 | 56.55 |
Introduction
This topic shows how the General Purpose Input/Output (GPIO) Interrupt Request (IRQ) functionality of the SAMA5D2 Series ARM® Cortex®-A5 Microprocessor Unit (MPU) is enabled in the Linux® kernel and how to access the GPIO IRQ in User Space.
In general, the GPIO IRQ functionality has been introduced into th... | https://microchip.wikidot.com/32mpu:apps-gpio-irq | CC-MAIN-2021-04 | refinedweb | 1,012 | 58.79 |
Timers and time management in the Linux kernel. Part 2.
Introduction to the
clocksource framework
The previous part was the first part in the current chapter that describes timers and time management related stuff in the Linux kernel. We got acquainted with two concepts in the previous part:
jiffies
clocksource
The fir... | https://0xax.gitbooks.io/linux-insides/content/Timers/linux-timers-2.html | CC-MAIN-2019-43 | refinedweb | 3,709 | 51.58 |
Feedback
Getting Started
Discussions
Site operation discussions
Recent Posts
(new topic)
Departments
Courses
Research Papers
Design Docs
Quotations
Genealogical Diagrams
Archives
This is an amazing paper that I've been anticipating ever since I read the abstract about half a year ago..
Basically, it unifies module and ... | http://lambda-the-ultimate.org/node/5121 | CC-MAIN-2018-05 | refinedweb | 18,105 | 61.46 |
How to crop an image in Java
Hi guys, today we will learn how to crop an image in Java.
First of all, we should know what is cropping an image means? So cropping of an image means getting a sub-image from the original image.
There can be multiple ways to solve this issue as per one understanding.
In this tutorial, to c... | https://www.codespeedy.com/how-to-crop-an-image-in-java/ | CC-MAIN-2020-45 | refinedweb | 370 | 58.48 |
I'm writing a ptk application to visualize some genomic data we are working with. I read in a file and store a variety of information in a HoA about strains of bacteria etc. However, the file is rather large and it takes a minute or so to parse, so I would like to only do that once.
Currently the HoA and a couple other... | http://www.perlmonks.org/index.pl?node_id=759043 | CC-MAIN-2016-40 | refinedweb | 1,972 | 72.05 |
Kotlin is being officially used in Android development, and every Android developers are probably busy picking up Kotlin. That includes me.
I stumble upon these few magical methods during my Kotlin journey:
.also() .let() .apply() .run()
They are magical because they can perform some Kotlin magics and at the same time ... | https://learningactors.com/how-to-use-kotlins-it-also-let-apply-run/ | CC-MAIN-2018-51 | refinedweb | 1,121 | 68.26 |
Wow, some reviewing! Thanks Dave.On Wed, Jun 30, 2010 at 04:28:58PM +1000, Dave Chinner wrote:> On Thu, Jun 24, 2010 at 01:03:02PM +1000, npiggin@suse.de wrote:> > 9 files changed, 47 insertions(+), 106 deletions(-)> > The diffstat doesn't match the patch ;)Bah, sorry.> > Index: linux-2.6/include/linux/mm.h> > ========... | https://lkml.org/lkml/2010/6/30/221 | CC-MAIN-2018-47 | refinedweb | 1,205 | 53.41 |
Welcome to the Kubernetes deep dive blog post series. We, that is, Stefan Schimanski (Engineering) and Michael Hausenblas (Advocacy), will dive into specific aspects of Kubernetes and how they’re utilized within OpenShift. If you’re interested in the inner workings of Kubernetes and how to debug it, this blog post seri... | https://blog.openshift.com/kubernetes-deep-dive-api-server-part-1/ | CC-MAIN-2017-43 | refinedweb | 1,573 | 53.51 |
For example, we set pin mode using pinMode(pin, DIRECTION). The docs say, "returns nothing" - I was hoping we or anyone created a getter like: getPinMode(pin), returns null if not set?
#include <Streaming.h> // setup(void){ Serial.begin(115200); //set a few pins as output pinMode(2, OUTPUT); pinMode(13, OUTPUT); pinMod... | http://forum.arduino.cc/index.php?topic=118153.msg889715 | CC-MAIN-2017-09 | refinedweb | 222 | 51.48 |
Riverace Corporation
February 25, 2004
This document describes the additions, changes, and fixes which were made to ADAPTIVE Communication Environment (ACE) for version 5.4.
ACE is Open Source software, and the source kit is freely available from the following locations:
Prebuilt, natively installable kits are availabl... | http://docs.huihoo.com/ace_tao/ace54.html | CC-MAIN-2017-22 | refinedweb | 1,052 | 54.22 |
Benefits of Mocking
Some of the benefits of mocking include:
- Avoiding Too Many Dependencies. Mocking reduces the dependence of functions. For instance, if you have a function A class that depends on a function B, you will need to write a few unit tests covering the features provided by function B. Let's say the code... | https://code.tutsplus.com/tutorials/introduction-to-mocking-in-python--cms-30370 | CC-MAIN-2019-51 | refinedweb | 919 | 55.95 |
-- | The abstract representation of a Tree and useful abstract utilities to -- handle those. module Storage.Hashed.Tree ( Tree, Blob(..), TreeItem(..), ItemType(..), Hash(..) , makeTree, makeTreeWithHash, emptyTree, emptyBlob -- * Unfolding stubbed (lazy) Trees. -- -- | By default, Tree obtained by a read function is s... | http://hackage.haskell.org/package/hashed-storage-0.3.9/docs/src/Storage-Hashed-Tree.html | CC-MAIN-2014-52 | refinedweb | 1,341 | 67.38 |
Customers of 65 years and over are entitled to discount of 20% on all purchases from an online shopping site. Write compile and test a program which will read in a customer’s age, and inform them whether or not they are entitled to discount on purchases.
I have this so far
namespace Practise1d { class Program { static ... | https://www.daniweb.com/programming/software-development/threads/412099/c | CC-MAIN-2017-09 | refinedweb | 110 | 68.77 |
Hey there. Googled a bit to see if it was a common mistake / error but I found nothing.
Basically I just want to open a file and check its contents. Everything compiles without error but when the program runs it outputs nothing and throws the FileNotFound exception. Ironically it tells me it does not exist and gives me... | http://cboard.cprogramming.com/csharp-programming/141618-file-not-found-exception.html | CC-MAIN-2015-22 | refinedweb | 319 | 58.99 |
#include <vdgl_fit_lines.h>
Definition at line 29 of file vdgl_fit_lines.h.
constructor from a parameter block (the only way).
Definition at line 37 of file vdgl_fit_lines.h.
Definition at line 40 of file vdgl_fit_lines.h.
default constructor cannot be used.
Clear the internal storage.
Definition at line 47 of file vdg... | http://public.kitware.com/vxl/doc/development/contrib/gel/vdgl/html/classvdgl__fit__lines.html | crawl-003 | refinedweb | 223 | 54.29 |
Microsoft Corporation
October 2003
Applies to
Microsoft® ASP.NET
Microsoft ADO.NET
Microsoft Internet Information Services
Microsoft Visual Basic® .NET
Microsoft Visual Studio® .NET
Java
Summary: Learn how to integrate Web services that use different technologies, including Java and .NET. (14 printed pages)
Introductio... | http://msdn.microsoft.com/en-us/library/aa478995.aspx | crawl-002 | refinedweb | 4,227 | 56.86 |
#include <nanomsg/nn.h>
#include <nanomsg/pubsub.h>
Broadcasts messages to multiple destinations.
Messages are sent from NN_PUB sockets and will only be received by NN_SUB sockets that have subscribed to the matching topic. Topic is an arbitrary sequence of bytes at the beginning of the message body. The NN_SUB socket ... | https://man.linuxreviews.org/man7/nn_pubsub.7.html | CC-MAIN-2021-39 | refinedweb | 265 | 53.51 |
Hi!
I have been working around an issue I have with Panda3D task manager. In my App I’m using Panda3D and wxPython. I want Panda3D own the main task so I call Showbase.run() and I add a task to execute my code.
This works good! But I have realized that if I click with the mouse on a wxPython Menu, the windows frame or ... | https://discourse.panda3d.org/t/panda3d-stops-calling-task/13748 | CC-MAIN-2022-33 | refinedweb | 258 | 62.44 |
the basic idea is, keep a hashmap which stores the characters in string as keys and their positions as values, and keep two pointers which define the max substring. move the right pointer to scan through the string , and meanwhile update the hashmap. If the character is already in the hashmap, then move the left pointe... | https://discuss.leetcode.com/topic/8232/11-line-simple-java-solution-o-n-with-explanation | CC-MAIN-2017-39 | refinedweb | 825 | 73.07 |
audio_engine_channels(9E)
audio_engine_playahead(9E)
- return the sample format for an audio engine
#include <sys/audio/audio_driver.h> int prefix_format(void *state);
pointer to driver supplied soft state
Solaris DDI specific (Solaris DDI)
The audio_engine_format() function is called by the framework to determine the ... | http://docs.oracle.com/cd/E23824_01/html/821-1476/audio-engine-format-9e.html | CC-MAIN-2015-27 | refinedweb | 164 | 50.46 |
In this tutorial, you create the business services for an
application. Business services are the parts of the application that are responsible
for persisting the data in your application and implementing business rules
in the middle tier. There are several different technology options that you
could use. In this tutori... | http://www.oracle.com/technology/obe/obe1013jdev/10131/bslayer/bslayer.htm | crawl-002 | refinedweb | 3,702 | 54.12 |
icontheme 1.2.2
Icon Theme Specification implementation
To use this package, run the following command in your project's root directory:
Icontheme
D library for dealing with icon themes in freedesktop environments.
The most of desktop environments on GNU/Linux and BSD flavors follow Icon Theme Specification when search... | https://code.dlang.org/packages/icontheme | CC-MAIN-2020-16 | refinedweb | 767 | 53.88 |
Java is a new object-oriented programming language developed at Sun Microsystems to solve a number of problems in modern programming practice -- java@java.sun.com
HotJava Home Page
The Web is becoming complex distributed information system. To address the current market demand, we need to deploy security mechanism, cac... | http://www.w3.org/People/Connolly/technologies/web-programming.html | CC-MAIN-2017-09 | refinedweb | 1,292 | 55.34 |
Contents
Today I’ll continue the little CMake tutorial series. We’ll add a few options and a bit of fine-tuning to the compilation of our example project.
This post is part of a series about CMake:
- Hello CMake!
- Another Target and the Project
- CMake Project Structure
- Properties and Options
Specify required compil... | https://arne-mertz.de/2018/07/cmake-properties-options/ | CC-MAIN-2022-05 | refinedweb | 1,212 | 53.41 |
This short post will highlight the basics of using the Kendo UI for Vue components with the Vuex library.
The Vuex library is the suggested (by Vue) utility to implement the Flux pattern in your Vue app. It enables you to manage states and have a clean data layer, separated from the presentation layer of your app. If y... | https://www.telerik.com/blogs/get-more-out-of-vue-kendo-ui-using-vuex | CC-MAIN-2020-24 | refinedweb | 891 | 65.52 |
Hi
I've recently tried to install a new Firewall for my organization.
I've launched into the upgrade as the existing Firewall has had some corruptions and can no longer be managed. Existing Firewall is Checkpoint FW-1 NG on Win2K and the new Firewall is Checkpoint NGX R65 running on Win2003sp2.
After days hacking the o... | https://www.daniweb.com/hardware-and-software/networking/threads/81249/help-route-issues-with-fw-1-r65-on-2003-server-firewall | CC-MAIN-2019-04 | refinedweb | 399 | 65.83 |
Hi,
I've found a frustrating type inference issue when writing code which
uses Jesse Eichar's Scala IO library.
Here's a really short example:
import scalax.file.ramfs.RamFileSystem
object Test extends App {
val fs = new RamFileSystem()
val root = fs.root / "somedir" createDirectory()
val indexDir = root / "_index" cre... | https://intellij-support.jetbrains.com/hc/en-us/community/posts/206639445-Type-inference-issue-when-using-Scala-IO-0-4?sort_by=votes | CC-MAIN-2020-24 | refinedweb | 404 | 66.84 |
Consider the below snippet.
import java.util.Map;
import java.util.WeakHashMap;
public class TestWeakHeakHashMap
{
private String name = new String("java");
private Map cache = new WeakHashMap<String, ComplexDO>();
public void testMethod()
{
cache.put(name, new ComplexDO("1", name));
//Discard the strong reference to t... | http://thoughts.bharathganesh.com/2008/06/some-more-play-with-weakhashmap.html | CC-MAIN-2014-15 | refinedweb | 391 | 64 |
This was a question for a large university in Arizona moving faculty, staff and students to Office 365.
Here are the ports from the deployment guide (note: these are subject to change so refer here to the latest Port and IP list):
*SMTP Relay with Exchange Online requires TCP port 587 and requires TLS. See TechNet for ... | http://blogs.technet.com/b/educloud/archive/2011/11/30/what-firewall-ports-do-i-need-open-to-connect-to-office-365-for-education.aspx | CC-MAIN-2015-18 | refinedweb | 1,022 | 64.81 |
MongooseIM 2.1.1 - More than a patch!
by Piotr Nosek
About 3 months have passed since the final MongooseIM 2.1.0 release.
Over that time we’ve gathered feedback from community and picked out improvements we really wanted to include in 2.1.0 (but the schedule is merciless!). The outcome is a release that closes the 2.x ... | https://www.erlang-solutions.com/blog/mongooseim-2-1-1-more-than-a-patch.html | CC-MAIN-2018-17 | refinedweb | 1,683 | 57.57 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.