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 |
|---|---|---|---|---|---|
Feedback
Getting Started
Discussions
Site operation discussions
Recent Posts
(new topic)
Departments
Courses
Research Papers
Design Docs
Quotations
Genealogical Diagrams
Archives
I posted this as a comment on Hacker News yesterday, but didn't receive any responses. I hope I might get some comments here, in the more PL ... | http://lambda-the-ultimate.org/node/4328 | CC-MAIN-2018-39 | refinedweb | 4,755 | 62.07 |
When you use Breadcrumbs extension is expected to link all the previous page tree, but you only get a link to the main page.
Reproducible: Always
Steps to Reproduce:
1.Create a new page (ej.Wiki)
2.Create a subpage for the previous one (ej.Wiki:Help)
3.Add the Breadcrumbs extension in both pages
4.Save your changes
Ac... | https://bugzilla.mozilla.org/show_bug.cgi?id=339653 | CC-MAIN-2016-22 | refinedweb | 497 | 71.34 |
Greatest Common Divisor
Let a and b be integers, not both zero. The largest integer d such that d exactly divides both a and b is called the greatest common divisor of a and b . The GCD of the two integers a and b is denoted as gcd(a, b)
The Process
This implementation would follow the Euclid’s Algorithm. The gcd funct... | https://phoxis.org/2011/02/27/gcd-of-n-integers/ | CC-MAIN-2019-18 | refinedweb | 638 | 63.02 |
Connecting the dots. Spanning trees have a wide variety of applications in GIS... or did. I have been finishing writings on distance and geometry and I almost forgot this one. The principle is simple. Connect the dots, so that no line (edge) overlaps, but only connects at a point. In practice, you want the tree to prod... | https://geonet.esri.com/blogs/dan_patterson/2017/01 | CC-MAIN-2017-30 | refinedweb | 721 | 69.38 |
Hello,This is the second version of the patch previously posted.v1-->v2 : Extended the guard code to cover the byte exchange case as wellfollowing opinion of Will Deacon. Checkpatch has been run and issueswere taken care of.From: Sarbojit Ganguly <ganguly.s@samsung.com>Date: Thu, 3 Sep 2015 13:00:27 +0530Subject: [PATC... | http://lkml.org/lkml/2015/9/3/649 | CC-MAIN-2018-30 | refinedweb | 662 | 63.49 |
Join the community to find out what other Atlassian users are discussing, debating and creating.
Hi All,
I am trying to return a count of all of the words in a multi-line text field using a "Calculated Text Field". Is there an in-built function to do this? The ".length" function returns the character count for the cont... | https://community.atlassian.com/t5/Jira-questions/Count-Words-in-a-multi-line-Custom-Text-Field/qaq-p/1004001 | CC-MAIN-2020-24 | refinedweb | 208 | 51.04 |
Bindstorming and JavaFX Performance
It is within our nature, even in the most infinitesimal way, to leave our mark on this world before we exit it. I'd like to coin the following term, heretofore unseen in the JavaFX space, and submit it as my humble contribution to the human collective:
bindstorm \'bïndstorm\ (noun): ... | http://www.informit.com/articles/article.aspx?p=1353604 | CC-MAIN-2017-13 | refinedweb | 710 | 65.83 |
Simon Richter schrieb:
Robert,Ok, here it is. This patch changes AC_LIBTOOL_PROG_COMPILER_PIC so that it only appends -DPIC to the default "C" tag and the CXX tag for C++. I would also like to deprecate -DPIC in the 1.5 release to make it clear we intend to do away with it. I would also like to ask anyone who does depe... | http://lists.gnu.org/archive/html/libtool/2003-01/msg00054.html | CC-MAIN-2014-41 | refinedweb | 458 | 57.71 |
Due Wednesday Jan 29, 11pm
Worth: 13% of your final grade
In the first part of this lab you’ll assemble the mobility subsystems on your robot: the front drive wheels, the rear omni wheel, the bottom body plate, the battery, and the org (LLP). For now, the robot will receive remote commands by a USB tether to a PC.
In t... | http://www.ccs.neu.edu/course/cs4610/LAB1/LAB1.html | CC-MAIN-2014-42 | refinedweb | 1,894 | 63.7 |
1. Under which component must I open a message if I have problems with BW with MaxDB?
Open a message under the BW-SYS-DB-SDB component.
2. When are versions of BW taken out of maintenance?
You can find out the maintenance durations for BW versions in the SAP Support Portal under:
Maintenance & Services
- > Maintenance ... | https://www.stechies.com/faq-business-information-warehouse-system-with-maxdb/ | CC-MAIN-2017-26 | refinedweb | 3,295 | 55.84 |
This patch implements the analysis state classes needed for sparse data-flow analysis and implements a dead-code analysis using those states to determine liveness of blocks, control-flow edges, region predecessors, and function callsites.
Depends on D126751
Thanks for adding these comment blocks, can you merge these in... | https://reviews.llvm.org/D127064?id=436580 | CC-MAIN-2022-40 | refinedweb | 505 | 55.95 |
OK, I just have one more question. So i decided to not try to confuse myself by making all of these complicated scripts (for my level understanding of the C++ languge anyway) so i decided to make a simpler script, here it is:
#include <iostream>
using namespace std;
int main () {
int x;
cout << "what is x?" << endl;
ci... | http://www.hackthissite.org/forums/viewtopic.php?f=102&t=3565&p=51506 | CC-MAIN-2017-17 | refinedweb | 153 | 70.73 |
Introduction
This post follows on from the previous post on Gibbs sampling in various languages. In that post a simple Gibbs sampler was implemented in various languages, and speeds were compared. It was seen that R is very slow for iterative simulation algorithms characteristic of MCMC methods such as the Gibbs sample... | https://darrenjw.wordpress.com/2011/07/31/faster-gibbs-sampling-mcmc-from-within-r/ | CC-MAIN-2015-14 | refinedweb | 1,562 | 63.09 |
Testing with PHPUnit
This feature is supported in the Ultimate edition only.
IntelliJ IDEA supports unit testing of PHP applications through integration with the PHPUnit tool.
Before you start
- Make sure the PHP plugin is installed and enabled. The plugin is not bundled with IntelliJ IDEA, but it can be installed from... | https://www.jetbrains.com/help/idea/2017.2/testing-with-phpunit.html | CC-MAIN-2019-43 | refinedweb | 1,281 | 54.02 |
Introduction
NumPy (Numerical Python) is an open-source library for the Python programming language. It is used for scientific computing and working with arrays.
Apart from its multidimensional array object, it also provides high-level functioning tools for working with arrays.
In this tutorial, you will learn how to i... | https://phoenixnap.es/kb/install-numpy | CC-MAIN-2022-33 | refinedweb | 781 | 63.83 |
Hacking on CloudStack with Flask
Hacking on CloudStack with Flask
Join the DZone community and get the full member experience.Join For Free
Discover a centralized approach to monitor your virtual infrastructure, on-premise IT environment, and cloud infrastructure – all on a single platform.
Curator's Note: The content ... | https://dzone.com/articles/hacking-cloudstack-flask | CC-MAIN-2019-04 | refinedweb | 484 | 55.03 |
Macro processing in C/C++
The following code fragment produces the correct result sometimes and sometimes it does not. Explain what is happening and why.
#include <stdio.h>
#define max(a,b) ((a) > (b) ? (a): (b))
void main(void)
{
int i = 0;
int j = 0;
int a = 3;
int b = 4;
int c = 6;
int d = 5;
i = max(a,b);
j = max(c... | https://brainmass.com/computer-science/c/macro-processing-in-c-c-468303 | CC-MAIN-2017-17 | refinedweb | 199 | 71.24 |
Here into two parts: those that target .Net 4 and those that target .Net 4.5. The latter use the async/await keywords introduced in Visual Studio 2012 which makes programming with asynchronous tasks much simpler.
Many of the samples use self host for starting ASP.NET Web API (that is, they run outside ASP.NET). These s... | https://blogs.msdn.microsoft.com/henrikn/2012/08/15/asp-net-web-api-samples-on-codeplex/?replytocom=1653 | CC-MAIN-2018-17 | refinedweb | 796 | 65.22 |
How to retrieve the process start time (or uptime) in python in Linux?
I only know, I can call "ps -p my_process_id -f" and then parse the output. But it is not cool.
If you are doing it from within the python program you're trying to measure, you could do something like this:
import time # at the beginning of the scri... | https://codedump.io/share/t2F7P9areSMw/1/how-to-retrieve-the-process-start-time-or-uptime-in-python | CC-MAIN-2017-30 | refinedweb | 477 | 72.97 |
httpsclient-particle-xguan (community library)
Summary
A library that helps photon boards talk https to web servers
Example Build Testing
Device OS Version:
This table is generated from an automated build. Success only indicates that the code compiled successfully.
Library Read Me
This content is provided by the librar... | https://docs.particle.io/reference/device-os/libraries/h/httpsclient-particle-xguan/ | CC-MAIN-2022-27 | refinedweb | 736 | 56.96 |
Mastering phpMyAdmin 3.1 for Effective MySQL Management — Save 50%
Increase your MySQL productivity and control by discovering the real power of phpMyAdmin 3.1.
Magic methods
For starters, let's take a look at the magic methods PHP provides. We will first go over the non-overloading methods.
__construct and __destruct
... | http://www.packtpub.com/article/php-magic-features | CC-MAIN-2014-10 | refinedweb | 2,338 | 57.81 |
As promised, we’re publishing a general ReSharper 5.0 overview, elaborating on its feature set.
Please keep in mind that this is a preliminary document. The general picture will stay unchanged, but local amendments cannot be ruled out at this point, and many user interface items will probably change.
Features
- Externa... | http://blog.jetbrains.com/dotnet/2009/10/12/resharper-50-overview/ | CC-MAIN-2015-35 | refinedweb | 3,991 | 64.1 |
span8
span4
span8
span4
I have written a Python code to retrieve a list of unique values from several rows with several attributes (in the example below, there are 5 attributes).
The problem with this code is that the output field has only the result for the first row. It copies it to the rest of the fields. Here is th... | https://knowledge.safe.com/questions/89440/failed-to-create-unique-list-python.html | CC-MAIN-2019-30 | refinedweb | 452 | 55.44 |
Hi guys, I've been studying type conversions and have some problems when running a simple display program. It prints out what I think might be some garbage and I do not get why. Can you take a look and tell me where I should look for an error? Thanks.
The results I am getting are:The results I am getting are:Code:
#inc... | http://cboard.cprogramming.com/c-programming/57568-type-conversions-printable-thread.html | CC-MAIN-2015-32 | refinedweb | 158 | 88.97 |
Before we finish up with testing, we're going to make two more changes to make our tests more useful and less likely to fall over in the future.
First, just testing that the
rendered.state.forks.length property is equal to 30 is a good start, but it would be nice to make sure that all 30 of those got rendered correctly... | http://www.hackingwithreact.com/read/1/38/cleaning-up-our-tests-last-tweaks | CC-MAIN-2019-04 | refinedweb | 898 | 65.73 |
New Tool Reveals Internet Passwords 140
wiredmikey writes "A new password cracking tool released today instantly reveals cached passwords to websites in Microsoft Internet Explorer, and mailbox and identity passwords in all versions of Microsoft Outlook Express, Outlook, Windows Mail, and Windows Live Mail."
Prettier T... | https://it.slashdot.org/story/10/07/01/1239234/new-tool-reveals-internet-passwords | CC-MAIN-2016-30 | refinedweb | 3,146 | 62.27 |
Filtering means preserving certain favored signal frequencies while simultaneously suppressing others. At first, this may seem as easy as simply removing all the offending frequencies of interest in the Fourier transform and keeping the rest, but, as we will see, practical considerations prohibit this. There are many, ... | https://nbviewer.jupyter.org/github/unpingco/Python-for-Signal-Processing/blob/master/Filtering.ipynb | CC-MAIN-2018-39 | refinedweb | 3,455 | 56.55 |
A programmer I respect said that in C code,
#if
#ifdef
#ifdef
Hard to maintain. Better use interfaces to abstract platform specific code than abusing conditional compilation by scattering
#ifdefs all over your implementation.
E.g.
void foo() { #ifdef WIN32 // do Windows stuff #else // do Posix stuff #endif // do genera... | https://codedump.io/share/1pEW75ao0mke/1/why-should-ifdef-be-avoided-in-c-files | CC-MAIN-2017-30 | refinedweb | 227 | 53.07 |
My program is supposed to replace all sets of 4 spaces with a tab but it only seems to be editing the first line then skipping the rest of the lines. "work_string" is defined via another function which takes and saves an entire files input into one string. I just can't get my replacing function to act on multiple lines... | https://www.daniweb.com/programming/software-development/threads/487126/python-program-only-acts-on-the-first-line-of-string | CC-MAIN-2018-30 | refinedweb | 116 | 76.52 |
On Sat, Mar 24, 2007 at 06:00:24PM +0800, Wei Shen wrote:
> 2) Let the root fs server judge which server port to return on a
> specific name qurry.
> 3) Modify hurd_file_name_lookup function in the C lib. If necessary,
> replace the default sever name to the name of an overiding server
> before qurring the root fs.
Not... | http://lists.gnu.org/archive/html/bug-hurd/2007-03/msg00128.html | CC-MAIN-2015-06 | refinedweb | 277 | 53.71 |
İ want to add some editable grid tables with a button called “new table” in Vue. I haven’t found any example or something else.
And then the User get or post datas into/from my mysql database. How I can do this. What I have to prepare?
thankful for any reply
data: new DataManager({ url: "Home/DataSource", updateUrl: "H... | https://www.syncfusion.com/forums/144416/get-post-data-into-mysql-database | CC-MAIN-2021-04 | refinedweb | 194 | 51.55 |
Build Portable Mp3 Player 117
Greenpiece/Toasty writes: "Build your own portable MP3 player around 8000-9000 Yen. Uses 32 Megabyte flash media cards its the ultimate in geek. The link can be found here with circuit diagrams and pictures of the finished product. The kit can also be bought, but not from that page; anothe... | https://slashdot.org/story/00/04/28/0852256/build-portable-mp3-player | CC-MAIN-2017-47 | refinedweb | 5,191 | 73.78 |
Here are my files I have so far and here is my intent w/them. I am currently taking a c programming course at a university. I am trying to create a header file and a .c file that will make a function usable in the main function. We have been instructed to do it in this format. I am trying to just get it to work and am ... | http://cboard.cprogramming.com/c-programming/112013-simple-question-creating-fucntions.html | CC-MAIN-2016-07 | refinedweb | 258 | 76.52 |
Hi, guys, I have been working on this short program, it is a simple conversion program from feet/inches to metric system. Everything seems fine, apart from one if statement. There are two, the same if blocks, the only difference is the values in the condition and the sign. Why the first if skips the whole 1-11 inches a... | http://cboard.cprogramming.com/c-programming/58522-why-if-break-skips-false-vals-here.html | CC-MAIN-2015-32 | refinedweb | 154 | 79.19 |
Hi everyone,
Nice to meet you guys. I am a newcomer here:)
Recently I encountered a strange problem while developing a piece of software using SAMD21G18A + Atmel Studio 7 + ASF3, for my company. I was trying to send data to PC (let's say inside the infinite while loop we send 64 bytes each time then delay 20 ms then re... | https://www.avrfreaks.net/forum/atmel-asf-cdc-transmission-speed-not-stable | CC-MAIN-2022-33 | refinedweb | 368 | 57.71 |
This article appears in the Third Party Products and Tools section. Articles in this section are for the members only and must not be used to promote or advertise products in any way, shape or form. Please report any spam or advertising.
This article is intended to introduce IBM Worklight and its integration with WCF.
... | http://www.codeproject.com/Articles/480888/Mobile-Development-using-IBM-Worklight-and-WCF?fid=1804496&df=90&mpp=25&noise=3&prof=False&sort=Position&view=Normal&spc=Relaxed | CC-MAIN-2014-42 | refinedweb | 2,040 | 51.24 |
Clear and Simple (and fast too!) solution in Clear category for Hypercube by BrianMcleod
from collections import defaultdict
def hypercube(grid):
"""
Detect wgether there is a path that spells Hypercube in the grid
Since True or false is the output, only the tails of successful paths need to be retained between
iterati... | https://py.checkio.org/mission/hypercube/publications/BrianMcleod/python-3/clear-and-simple-and-fast-too/share/bc8e90516bacbab57248f9c7bd67c2ff/ | CC-MAIN-2022-21 | refinedweb | 221 | 57.91 |
Implementation status: to be implemented
Synopsis
#include <sys/stat.h>
int chmod(const char *path, mode_t mode);
#include <fcntl.h>
int fchmodat(int fd, const char *path, mode_t mode, int flag);
Description
The
chmod() function modifies file mode bits according to the the mode parameter.
fchmodat function is equivalen... | http://phoenix-rtos.com/documentation/libphoenix/posix/chmod | CC-MAIN-2020-34 | refinedweb | 358 | 53.61 |
In my previous articles we discuss about advantage of Kotlin and create first application in Kotlin using Reddit API. But today we discuss about disadvantage of Kotlin and Please treat it as personal opinion & comment if you have solutions for problems listed below.
Although Kotlin is great, it’s not perfect. Here are ... | http://www.tellmehow.co/disadvantage-of-kotlin/ | CC-MAIN-2020-24 | refinedweb | 1,493 | 61.56 |
Printing a document programmatically can be quite involved. Using the ReportPrinting library presented here, you'll be able to print reports with multiple sections with very little code.
ReportPrinting
The reports are comprised of plain text sections (such as the title "Birthdays", and the other paragraphs) and grids o... | http://www.codeproject.com/Articles/4934/Printing-Reports-in-NET?msg=2912730 | CC-MAIN-2016-44 | refinedweb | 2,824 | 50.84 |
I'm trying to make a deck of cards to use in a blackjack game but I'm having problems.
#include <stdio.h> #include <math.h> #include <string.h> main(){ int i; typedef struct { int rank, suit; } cardtype; cardtype deck[52]; cardtype hand[5]; char *rank[13] = {"ace", "Duece", "3", "4", "5", "6", "7", "8", "10", "Jack", "... | https://www.daniweb.com/programming/software-development/threads/357092/help-with-structures-building-a-deck-of-cards | CC-MAIN-2017-47 | refinedweb | 140 | 72.87 |
Basic Theory
Complexity.
- Place the starting node s on the top of the stack.
- If the stack is empty, return failure and stop.
- If the element on the stack is goal node g, return success and stop. Otherwise,
- Remove and expand the first element , and place the children at the top of the stack.
- Return to step 2.
Ex... | https://www.programming-techniques.com/2012/07/depth-first-search-in-c-algorithm-and.html | CC-MAIN-2018-43 | refinedweb | 796 | 77.03 |
GlassFish v3 Gem Updated
By arungupta on Jan 04, 2008
Pramod published an updated JRuby Gem for GlassFish v3. Download the gem here.
Here are the updates from last time:
Ad of course, you can BYOG
(Build Your Own Gem :)
Either way, once the Gem is installed then go ahead and use it as described below:
That's it! The fo... | https://blogs.oracle.com/arungupta/entry/glassfish_v3_gem_updated | CC-MAIN-2014-10 | refinedweb | 500 | 62.88 |
/* * mem.c - memory management * *. * */ #include "zsh.mdh" #include "mem. To be sure that they are freed at appropriate times one should call pushheap() before one starts using heaps and popheap() after that (when the memory allocated on the heaps since the last pushheap() isn't needed anymore). pushheap() saves the s... | http://opensource.apple.com/source/zsh/zsh-55/zsh/Src/mem.c | CC-MAIN-2016-30 | refinedweb | 5,461 | 54.9 |
Data items
Intro
Data items is a way to document all OSM metadata like keys and tags in every language on this wiki in a structured way, useful to both humans and tools.
- Tools, such as iD editor and Taginfo are now able to get tag information without complex and error-prone parsing of the wiki markup. Eventually the ... | https://wiki.openstreetmap.org/wiki/OpenStreetMap:Wikibase | CC-MAIN-2019-22 | refinedweb | 1,643 | 54.73 |
appindicator ignores menu entries after having sent the menu to the indicator
Bug Description
Impact: some indicator menus are incomplete
Test Case: see comment #8
Regression potential:
Check that your menus still work correctly, the change is only impacting gtk2 and renaming from a signal that was dropped to an exista... | https://bugs.launchpad.net/glipper/+bug/1203888 | CC-MAIN-2019-47 | refinedweb | 1,481 | 55.64 |
Model binding JSON POSTs in ASP.NET Core
I, which you could previously do in ASP.NET 4/MVC 5.
In this post, I am going to show what to do if you are converting a project to ASP.NET Core and you discover your JSON
POSTs aren't working. I'll demonstrate the differences between MVC 5 model binding and MVC Core model bindi... | http://andrewlock.net/model-binding-json-posts-in-asp-net-core/ | CC-MAIN-2016-50 | refinedweb | 1,740 | 53.1 |
Why Avoid Exception
Posted by codingsense on March 16, 2010
Hi,
Last week I was optimizing a module, as I was working I found that if exceptions are avoided then we can save lot of fruitful time. So made the below sample to see how much time we can save by avoiding an exception.
In below sample a method just iterates a... | https://codingsense.wordpress.com/2010/03/16/why-avoid-exception/ | CC-MAIN-2018-26 | refinedweb | 264 | 55.95 |
I want to create 2 csv files.
I have 2 array in one function then i am looping through it and calling another function to write into an csv file so it will create 2 csv files
import time
import datetime
import csv
time_value = time.time()
def csv_write(s):
print s
f3 = open("import_"+str(int(time_value))+".csv", 'wt')
... | https://codedump.io/share/w5fdELwR3ohd/1/how-to-create-2-csv-files-when-using-recursion | CC-MAIN-2017-39 | refinedweb | 227 | 64.64 |
Chen,
Kernel: 2.4.26 (I observe the same with 2.4.25)
Distribution: Debian (straight SARGE, and pymol was acquired with apt-get, so
no
funny compiling business here)
Python: 2.3 (2.4 is also there, but only for testing purposes)
I've noticed on other mailing lists, that people have reported similar error
messages with ... | http://sourceforge.net/p/pymol/mailman/pymol-users/thread/416F20DD.8010001@pasteur.fr/ | CC-MAIN-2015-06 | refinedweb | 891 | 76.72 |
You can schedule inspection scans of your content using Cloud Data Loss Prevention (DLP)'s job trigger feature. Job triggers are events that automate running Cloud DLP jobs to scan Google Cloud storage repositories (Cloud Storage, BigQuery, and Datastore).
Before you begin
This quickstart assumes that you already have ... | https://cloud.google.com/dlp/docs/quickstart-create-job-trigger?hl=ca&skip_cache=true | CC-MAIN-2021-43 | refinedweb | 1,018 | 69.62 |
For context, I am trying to move the flap on an airplane wing using a GUI Slider in Unity 2017.3.0f3. Ideally I'm going to have the slider start in the middle, and you can drag the dot left for "down" a certain amount of degrees, and right for "up" a certain amount of degrees. So far I have hit walls in all of my attem... | https://answers.unity.com/questions/1477968/rotate-gameobject-with-gui-slider.html?sort=oldest | CC-MAIN-2020-34 | refinedweb | 1,063 | 61.87 |
- NAME
- SYNOPSIS
- DESCRIPTION
- ROLE COMPOSITION
- IMPORTED SUBROUTINES
- SUBROUTINES
- METHODS
- CAVEATS
- SEE ALSO
- AUTHOR
- CONTRIBUTORS
- LICENSE
NAME
Role::Tiny - Roles: a nouvelle cuisine portion size slice of Moose
SYNOPSIS
package Some::Role; use Role::Tiny; sub foo { ... } sub bar { ... } around baz => sub ... | https://web-stage.metacpan.org/pod/Role::Tiny | CC-MAIN-2021-21 | refinedweb | 647 | 56.86 |
don't understand is why infix is so important. The only advantage of it I can think of is familiarity; in all other respects it's inferior to prefix and suffix notations. IMVHO, of course, but I think this opinion has a solid basis in reality ;)
It's a mistake to ignore the customer
Posted Dec 6, 2012 16:10 UTC (Thu) ... | http://lwn.net/Articles/528212/ | CC-MAIN-2013-20 | refinedweb | 2,315 | 58.01 |
by Radu Raicea
How — and why — you should use Python Generators
Generators have been an important part of Python ever since they were introduced with PEP 255.
Generator functions allow you to declare a function that behaves like an iterator.
They allow programmers to make an iterator in a fast, easy, and clean way.
Wha... | https://www.freecodecamp.org/news/how-and-why-you-should-use-python-generators-f6fb56650888/ | CC-MAIN-2019-43 | refinedweb | 555 | 59.5 |
Re: event/delegate question - newbie
- From: Adityanand Pasumarthi <AdityanandPasumarthi@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 24 Oct 2006 23:01:02 -0700
Hi Dev,
I meant that .Net do not have direct communication classes for named pipe
based IPC. Like for instance it has Socket classes.
I _did not_ mean that IPC chan... | http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.languages.csharp/2006-10/msg04034.html | crawl-002 | refinedweb | 439 | 66.74 |
How to dynamically change security role without logging outrickkw May 6, 2005 6:47 PM
Hi,
I have a custom LoginModule derived from some sample code. There, I create a SimpleGroup, "Roles", to store security roles used by my web applications. This "Roles" is then set into the Subject's principal.
I also have a group of ... | https://developer.jboss.org/message/135815 | CC-MAIN-2019-09 | refinedweb | 650 | 55.13 |
Python alternatives for PHP functions
Do you know a Python replacement for PHP's
Strings
?
Write it!.
Note:
Unlike the two other syntaxes,
variables and escape sequences
for special characters will not be expanded when they
occur in single quoted strings.
< } was members. Since PHP 5.3,
this limitation is valid only fo... | http://www.php2python.com/wiki/language.types.string/ | crawl-003 | refinedweb | 644 | 59.5 |
I got a moral question from an author of programming language textbooks the other day requesting my opinions on whether or not beginner programmers should be taught how to use arrays.
Rather than actually answer that question, I gave him a long list of my opinions about arrays, how I use arrays, how we expect arrays to... | http://blogs.msdn.com/ericlippert/archive/2008/09/22/arrays-considered-somewhat-harmful.aspx | crawl-002 | refinedweb | 7,225 | 61.46 |
A value class that defines the style for filling a path. More...
#include <Wt/WBrush>
A value class that defines the style for filling a path.
A brush defines the properties of how areas (the interior of shapes) are filled. A brush is defined either as a solid color or a gradient.
A WBrush is JavaScript exposable. If a... | https://webtoolkit.eu/wt/wt3/doc/reference/html/classWt_1_1WBrush.html | CC-MAIN-2021-31 | refinedweb | 202 | 61.12 |
WRITE(2) Linux Programmer's Manual WRITE(2)
write - write to a file descriptor
#include <unistd.h> ssize_t write(int fd, const void *buf, size_t count);
write() writes up to count bytes from the buffer starting at.
On success, the number of bytes written is returned. On error, -1 is returned, and errno is set to indica... | https://man7.org/linux/man-pages/man2/write.2.html | CC-MAIN-2021-04 | refinedweb | 468 | 61.56 |
Some context: I’m working on a Grails web application that integrates with our internal business administration systems. It runs on a Tomcat web server and it connects to a DB2 UDB database.
Now, like any proper enterprise development effort, we’ve set up multiple environments to facilitate development and testing sepa... | https://geekcredential.wordpress.com/tag/best-practices/ | CC-MAIN-2018-17 | refinedweb | 915 | 54.12 |
Jul 02, 2014 11:09 AM|zielony|LINK
I have project DAL, BLL and Web. Where should I execute query using ToList()?
Right now I execute query using ToList() in controller - is it ok? For example - from the beginning:
DAL - my method in NotesRepository class:
public IQueryable<Notes> GetAllNotes() { return context.Notes.In... | https://forums.asp.net/t/1994772.aspx?Where+should+I+execute+query+using+ToList+in+DAL+BLL+or+in+controller+ | CC-MAIN-2019-26 | refinedweb | 2,830 | 54.15 |
Bit by bit, I’m going to build a Python tool to scrape a Windows system disk image for common forensic artefacts and build a CSV timeline from the evidence gathered. In this first post, I’ll parse and add the data stored in Windows Prefetch files.
On my recent SANS course on Windows forensics I learnt about all kinds o... | https://mattcasmith.net/2018/11/23/python-forensics-tools-windows-prefetch/ | CC-MAIN-2019-35 | refinedweb | 1,065 | 62.48 |
We welcome back Aaron Elder, one of our favorite CRM MVP guest bloggers with some helpful tips from the field.
A month or so back, I was having lunch with the SDK documentation team and they asked me “does anyone really use the helpers?” to which, I responded “absolutely”, I then proceeded to agree to writing a blog po... | http://blogs.msdn.com/b/crm/archive/2008/09/15/anything-you-can-do-to-help-would-be-helpful.aspx | CC-MAIN-2015-18 | refinedweb | 1,165 | 61.56 |
Is there a built-in that removes duplicates from list in Python, whilst preserving order? I know that I can use a set to remove duplicates, but that destroys the original order. I also know that I can roll my own like this:
def uniq(input): output = [] for x in input: if x not in output: output.append(x) return output
... | https://pythonpedia.com/en/knowledge-base/480214/how-do-you-remove-duplicates-from-a-list-whilst-preserving-order- | CC-MAIN-2020-29 | refinedweb | 521 | 72.56 |
5 Things to know about Images in React Native
The more I work with React Native images, the more I find it tricky. I wrote about Image Caching without Expo, and with Expo. In React Native Sketch Elements and React Native Fiber, I’m using react-native-expo-image-cache. You can see it in action below.
react-native-expo-i... | https://hackernoon.com/5-things-to-know-about-images-react-native-69be41d2a9ee?gi=fe58ef9b2900 | CC-MAIN-2018-13 | refinedweb | 878 | 57.37 |
java.lang.Object
javax.ide.net.VirtualFileSystemHelper
public class VirtualFileSystemHelper
The
VirtualFileSystemHelper class specifies the
VirtualFileSystem operations that may have scheme-specific handling. By default, the
VirtualFileSystem delegates its operations to
VirtualFileSystemHelper. However, a subclass of
V... | http://docs.oracle.com/cd/E35521_01/apirefs.111230/e17493/javax/ide/net/VirtualFileSystemHelper.html | CC-MAIN-2015-35 | refinedweb | 3,694 | 51.65 |
I want to have a list of the items inside a folder created by my user in AGOL, I want to use the ArcGIS API for Python.
so far I have found this:
import sysfrom arcgis import gisimport os sourceURL=""sourceAdmin="adminUser"sourcePassword="thisIsNotMyPassword" clientAcronym = "Sales"source = gis.GIS(sourceURL, sourceAdm... | https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-search-the-folder-s-items-in-arcgis-on-line/td-p/825809 | CC-MAIN-2022-27 | refinedweb | 158 | 54.63 |
I have use macro to locate some function in to SPIFlash like this
__TEXT_EXT(Flash3,systick_delay) unsigned int systick_delay() {
return (unsigned)spifi_func;
}
I call this function in main(), and boot from internal flash bank A.
The first time i download software, LPC Expesso auto reset after download completion, soft... | https://community.nxp.com/thread/436407 | CC-MAIN-2018-22 | refinedweb | 167 | 56.18 |
It is over 5 weeks since I submitted this report and nearly 3 weeks since I asked for an update. Please provide an update as to the status of this issue?
Have you confirmed the issue?
Do you intend to fix it in this release of Visual Studio (2010)?
I wish to use codecvt_utf8 to write UTF-8 data to a std::wofstream file... | https://connect.microsoft.com/VisualStudio/feedback/details/683483 | CC-MAIN-2017-39 | refinedweb | 225 | 66.13 |
Edge computing describes the movement of computation away from cloud data centers so that it can be closer to instruments, sensors and actuators where it will be run on “small” embedded computers or nearby “micro-datacenters”. The primary reason to do this is to avoid the network latency in cases where responding to a ... | https://esciencegroup.com/2017/12/11/ | CC-MAIN-2022-27 | refinedweb | 3,045 | 62.07 |
If you're developing any type of IoT product, inevitably you'll need some type of mobile app. While there are easy ways, they're not for production use.
In this tutorial, we'll talk about the basics of Particle app development. You'll learn about some of the many app frameworks you can take advantage of. Plus there's l... | https://www.freecodecamp.org/news/how-to-develop-particle-iot-apps-using-nativescript/ | CC-MAIN-2020-45 | refinedweb | 2,143 | 68.36 |
To define a new type or class, first declare it, and then define its methods and fields. Declare a class using the class keyword. The complete syntax is as follows:
[attributes] [access-modifiers] class identifier [:base-class] {class-body}
Attributes are covered in Chapter 8; access modifiers are discussed in the next... | http://etutorials.org/Programming/Programming+C.Sharp/Part+I+The+C+Language/Chapter+4.+Classes+and+Objects/4.1+Defining+Classes/ | CC-MAIN-2018-05 | refinedweb | 1,079 | 61.97 |
The algorithms presented are intended for use with large maps, and where computation time of some appreciable fraction of a second is tolerable. There are faster algorithms, but they involve solving the intersection and union of arbitrary polygons; the reasons for rejecting this approach are discussed below.
Consider a... | http://www.gamedev.net/page/resources/_/technical/graphics-programming-and-theory/walls-and-shadows-in-2d-r2711?st=30 | CC-MAIN-2016-40 | refinedweb | 10,441 | 59.74 |
in reply to
Re^4: Install Math::GSL fail
in thread Install Math::GSL fail
I get the same errors on Mac OSx 10.8.2 and gcc 4.6.3 :
xs/Roots_wrap.1.15.c:3283:7: error: void function '_wrap_gsl_root_fdfs
+olver_fdf_set' should not return a value [-Wreturn-type]
return (gsl_nan());
^ ~~~~~~~~~~~
...
xs/Roots_wrap.1.15.c:38... | http://www.perlmonks.org/?node_id=1015116 | CC-MAIN-2014-52 | refinedweb | 160 | 77.84 |
I have just started learning Java and I need a random number generator. Can anyone help.
Sophie
Printable View
I have just started learning Java and I need a random number generator. Can anyone help.
Sophie
Another great java forum:
No offense meant, but last time I checked, this is a C, C++, C# board. Use the sun foru... | https://cboard.cprogramming.com/brief-history-cprogramming-com/23591-java-question-printable-thread.html | CC-MAIN-2018-05 | refinedweb | 246 | 76.93 |
Create PCR primers with optimal lengths, tms, gc%s and free energies
Project description
primers
This is a tool for creating PCR primers. It has an emphasis on DNA assembly and makes it easy to add sequences to the end of PCR fragments. This is part of overlap extension polymerase chain reaction and preparing unstandar... | https://pypi.org/project/primers/ | CC-MAIN-2020-10 | refinedweb | 804 | 57.47 |
.xa;25 26 /**27 * The XAException is thrown by the Resource Manager (RM) to inform the 28 * Transaction Manager of an error encountered by the involved 29 * transaction.30 */31 public class XAException extends java.lang.Exception {32 33 /**34 * The error code with which to create the SystemException.35 *36 * @serial Th... | http://kickjava.com/src/javax/transaction/xa/XAException.java.htm | CC-MAIN-2013-48 | refinedweb | 644 | 55.44 |
@fork decorator with try/except on different platforms, not executing except clause
I am having problems using the @fork decorator with a try & except clause. On SageMathCell the piece of code runs fine, whereas on both Jupyter and CoCalc it doesn't throw the exception clause properly. On CoCalc it didn't recognise the... | https://ask.sagemath.org/question/50912/fork-decorator-with-tryexcept-on-different-platforms-not-executing-except-clause/ | CC-MAIN-2021-17 | refinedweb | 365 | 53.51 |
Strongly typed HTML templates with FSharp without a framework
Or do the mundane tasks quickly, and move on to more interesting stuff!
Have you ever had to generate HTML without a web framework?
In most cases HTML generation is tied to web frameworks. Usually you have tooling, examples, tutorials, and all the bells&whis... | https://medium.com/@akoslukacs42/strongly-typed-html-templates-with-fsharp-without-a-framework-9971575d7fb4 | CC-MAIN-2018-51 | refinedweb | 697 | 67.25 |
Automatic transformation of XML namespaces/Future directions
Specifying a transformer with source/target being several namespaces treated as if it would be one NS. (Example: Dublin Core and dcterms: namespaces.)
Ability to restrict to certain elements/attributes of a namespace instead specifying the whole namespace.
No... | https://en.wikiversity.org/wiki/Automatic_transformation_of_XML_namespaces/Future_directions | CC-MAIN-2017-17 | refinedweb | 352 | 59.8 |
Data.CSS
Contents
Description
This library implements a domain-specific language for cascading style sheets as used in web pages. It allows you to specify your style sheets in regular Haskell syntax and gives you all the additional power of server-side document generation.
Synopsis
- module Data.CSS.Build
- module Data... | https://hackage.haskell.org/package/cascading-0.1.0/docs/Data-CSS.html | CC-MAIN-2016-26 | refinedweb | 1,354 | 55.95 |
ASP.
Before we start coding I want to make some notes about my solution:
- this solution is pretty new and it is sure that one can improve the code provided here,
- using this solution I’m trying to generalize in-place reporting for MVC applications,
- also I’m trying to keep my views as clean as possible – chart defin... | https://gunnarpeipman.com/asp-net-mvc-creating-reports-using-chart-control/ | CC-MAIN-2022-40 | refinedweb | 1,780 | 58.08 |
This is the mail archive of the cygwin-announce mailing list for the Cygwin project.
Hi Cygwin friends and users, I just released Cygwin 1.7.32-1. This release comes with a few bug fixes in header files and a slightly improved /proc/cpuinfo output, but otherwise it concentrates on a new feature which isn't readily user... | https://cygwin.com/ml/cygwin-announce/2014-08/msg00020.html | CC-MAIN-2017-39 | refinedweb | 177 | 66.44 |
HOWTO: M5Stack with GPS, GSM and LoRa, all at the same time
I have gotten all three radio boards to work with the M5Stack at the same time. This was a little more involved than it needs to be because documentation is either missing, not all in the same place or (in one case) apparently wrong. I'll use this post to docu... | http://forum.m5stack.com/topic/239/howto-m5stack-with-gps-gsm-and-lora-all-at-the-same-time/5 | CC-MAIN-2018-34 | refinedweb | 2,155 | 69.21 |
Beginner here so keep that in mind!
We have a data source that can provide me with SQL output in tab delimited form that contains fields + attributes, one of which being the vector info stored as an WKT string.
I am able to bring the vector info through into a new feature class easily enough with fromWKT but I also nee... | https://community.esri.com/thread/194417-utilize-fromwkt-but-add-fields-also | CC-MAIN-2020-40 | refinedweb | 200 | 60.31 |
A wildcard type is denoted by a question mark, as in <?>.
For a generic type, a wildcard type is what an Object type is for a raw type.
We can assign any generic of known type to a generic of wildcard type.
Here is the sample code:
// MyBag of String type MyBag<String> stringMyBag = new MyBag<String>("Hi"); // You can ... | http://www.java2s.com/Tutorials/Java/Java_Object_Oriented_Design/0360__Java_Generic_Constraints.htm | CC-MAIN-2018-09 | refinedweb | 399 | 68.36 |
for connected embedded systems
QNX® Software Development Platform 6.4.1: Release Notes
Date of this edition: May 25, 2009
Target OS: This development platform produces software that's compatible with targets that are running QNX® Neutrino® 6.4.1.
Host OS: You can install this package as a self-hosted QNX Neutrino® deve... | http://www.qnx.com/developers/docs/6.4.1/momentics/release_notes/rel_6.4.1.html#New_Momentics | crawl-003 | refinedweb | 14,108 | 55.44 |
I'd like to summarize a few known issues with VS/VWD intellisense and respective solutions or workarounds.
Symptom: No markup validation and no code intellisense. When you type invalid element or attribute, red squiggly line does not appear. No C#/VB code intellisense or when you add server control, such as asp:button,... | http://blogs.msdn.com/b/mikhailarkhipov/archive/2006/12/25/repairing-visual-web-developer-intellisense-issues.aspx | CC-MAIN-2014-41 | refinedweb | 350 | 67.96 |
Ketil Malde wrote: > On Sun, 2007-07-01 at 12:45 +0200, apfelmus wrote: > >> Here's an (admittedly crazy) approach > > Why is it so crazy? The orthogonality issues with the different ways of > breaking up lists (split/break/span/take/drop), and the multitude of > possible predicates (either too complicated, or too spec... | http://www.haskell.org/pipermail/libraries/2007-July/007714.html | CC-MAIN-2014-35 | refinedweb | 595 | 60.89 |
I think that we may need a thread local variable to
handle parallel.
This would mean some deep messing with the Property handling.
Peter
On Friday 17 October 2003 17:57, Jose Alberto Fernandez wrote:
> > From: peter reilly [mailto:peter.reilly@corvil.com]
> >
> > I would rather have Jose's idea of a <local-property/>
>... | http://mail-archives.eu.apache.org/mod_mbox/ant-dev/200310.mbox/%3C200310172018.50918.peter.reilly@corvil.com%3E | CC-MAIN-2021-17 | refinedweb | 472 | 53.81 |
src/test/couette-gotm.c
Turbulent Couette flow
See the GOTM web site and section 12.1.1 of the GOTM manual.
“The Couette scenario is the most basic of all GOTM scenarios. It represents a shallow (10 m deep), unstratified layer of fluid above a flat bottom that is driven by a constant surface stress in the x-direction. ... | http://basilisk.fr/src/test/couette-gotm.c | CC-MAIN-2020-24 | refinedweb | 274 | 59.3 |
trace_vnlogf()
Insert a user string trace event, using a variable argument list
Synopsis:
#include <sys/neutrino.h> #include <sys/trace.h> int trace_vnlogf( int code, int max, const char *fmt, va_list arglist );
Arguments:
- code
- The event code, which must be in the range from _NTO_TRACE_USERFIRST through _NTO_TRACE_... | https://developer.blackberry.com/playbook/native/reference/com.qnx.doc.neutrino.lib_ref/topic/t/trace_vnlogf.html | CC-MAIN-2020-34 | refinedweb | 108 | 68.16 |
Resource File Generator (Resgen.exe) files.
Resgen.exe converts files by wrapping the methods implemented by the following four classes:
ResourceReader Class Reads a .resources file.
ResourceWriter Class Creates a .resources file from specified resources.
ResXResourceReader Class Reads a .resx file.
ResXResourceWriter ... | http://msdn.microsoft.com/en-us/library/8ef159de-b660-4bec-9213-c3fbc4d1c6f4(v=vs.90) | CC-MAIN-2014-10 | refinedweb | 763 | 61.12 |
I have a csv file ready to load into my python code, however, I want to load it into the following format:
data = [[A,B,C,D],
[A,B,C,D],
[A,B,C,D],
]
data = np.array(data)
The simplest solution is just:
import numpy as np data = np.loadtxt("myfile.csv")
As long as the data is convertible into
float and has an equal num... | https://codedump.io/share/LShrIkHgOPOG/1/how-to-load-a-csv-into-ipython-notebook | CC-MAIN-2017-04 | refinedweb | 104 | 64.91 |
Security Hardening
Hi,
Looking for tips and references in order to collect a set of good practices to secure our LoPy devices and code (our devices will end up being installed in the public domain)
Whilst we are aware there is only so much we can do to protect them when the attacker has physical access, it seems there ... | https://forum.pycom.io/topic/2284/security-hardening | CC-MAIN-2018-22 | refinedweb | 313 | 64.95 |
Good day to whoever reads this
OS: Linux Mint 10 Julia
IDE: Codeblocks 10.05 with GNU GCC as compiler
The program is working when in one single file but an error surfaces when it is divided into separate files namely: program.c, mylib.h and create.c
I removed other functions so I could experiment with only one but stil... | http://cboard.cprogramming.com/c-programming/147868-linked-list-function-struct-ptr-parameter-header-file-error-printable-thread.html | CC-MAIN-2015-06 | refinedweb | 265 | 67.04 |
- Original author: brain in new VAT
- Article link: from=weixin&utm_ campaign=client_ share&wxshare_ count=1×tamp=1638613017&app=news_ article&utm_ source=weixin&utm_ medium=toutiao_ ios&use_ new_ style=1&req_ id=2021120418165701015015608914163D60&share_ token=01C2E436-7124-40A6-B871-E04C0656CE78&group_ id=702849831639... | https://programmer.group/python-based-example-of-monte-carlo-simulation.html | CC-MAIN-2022-27 | refinedweb | 2,043 | 56.96 |
Main
This server works with the same clients as seen for the synchronous server, here we deal just with the server. All the job is delegated to the Server class, whose constructor gets a reference to the application ASIO I/O context.
namespace ba = boost::asio; // ... Server server(io); io.run();Server
The server ctor ... | http://thisthread.blogspot.com/2018/03/boost-asio-echo-tcp-asynchronous-server.html | CC-MAIN-2018-43 | refinedweb | 644 | 64.41 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.