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
How to reset selected file with input tag file type in Angular 9? To reset the selected file with input tag file type, we can implement a method which on invocation will clear the selected file. Approach: - Set the id of your input using ‘#’ to make it readable inside the component. - Now in the component we can use Vi...
https://www.geeksforgeeks.org/how-to-reset-selected-file-with-input-tag-file-type-in-angular-9/?ref=lbp
CC-MAIN-2022-40
refinedweb
163
61.77
Somewhat delayed from the rest of the Defold Engine tutorial series, I realized there was a major gap in subjects we covered... GUI programming. Defold actually has some really solid UI functionality built in, and in this tutorial we are going to look at the basics of handling a UI in Defold. Well very conventional in...
http://www.gamefromscratch.com/?tag=/Lua
CC-MAIN-2018-43
refinedweb
1,235
71.95
Intermediate Tutorial 2 From Ogre Wiki Intermediate Tutorial 2: RaySceneQueries and Basic Mouse Usage Any problems you encounter while working with this tutorial should be posted to the Help Forum. Introduction In this tutorial we will create the beginnings of a basic Scene Editor. During this process, we will cover: -...
http://www.ogre3d.org/wiki/index.php/Intermediate_Tutorial_2
crawl-002
refinedweb
3,191
54.83
optional 0.7.1 An optional/maybe type with safe dispatchingrange semantics To use this package, put the following dependency into your project's dependencies section: Optional type for D with safe dispatching and NotNull type Full API docs available here - Summary - What about std.typecons.Nullable std.range.only? - Mo...
http://code.dlang.org/packages/optional
CC-MAIN-2018-43
refinedweb
783
57.67
As title says, my random essays about microcontrollers, all in one package This isn't probably the most exciting post in here, but since I'm author of firmware for #Badge for Hackaday Conference 2018 in Belgrade , I'm often asked how to update firmware in the badge, so I decided to write it down to single place to have...
https://hackaday.io/project/27250-mcu-how-tos-reviews-rants
CC-MAIN-2020-29
refinedweb
2,360
61.26
Provided by: libdpm-dev_1.13.0-1_amd64 NAME dpns_getreplica - get the replica entries associated with a DPNS file in the name server SYNOPSIS #include <sys/types.h> #include "dpns_api.h" int dpns_getreplica (const char *path, const char *guid, const char *se, int *nbentries, struct dpns_filereplica **rep_entries) DESCR...
http://manpages.ubuntu.com/manpages/eoan/man3/dpns_getreplica.3.html
CC-MAIN-2020-29
refinedweb
138
51.04
reposurgeon − surgical operations on repositories reposurgeon [command...] The purpose of reposurgeon is to enable risky operations that VCSes (version−control systems) don't want to let you do, such as (a) editing past comments and metadata, (b) excising commits, (c) coalescing and splitting commits, (d) removing file...
http://man.sourcentral.org/f23/1+reposurgeon
CC-MAIN-2018-39
refinedweb
17,168
53.61
<target name="deployments" depends="..."> <assert isref="deployments.d"/> <foreach i="deployment.d" dirs="${deployments.d}" mode="local"> <overlay file="${deployment.d}/deploy.properties"> ... </overlay> </foreach> </target> 3. Value URIs <target name="workspace" depends="..."> <echo message="Started: ${$time:}" level...
http://mail-archives.apache.org/mod_mbox/ant-dev/200707.mbox/%3C4687D447.3020605@earthling.net%3E
CC-MAIN-2016-26
refinedweb
798
53.21
example code to access some C++ classes in a DLL Discussion in 'Python' started by Torsten Moh,149 - Ham - Oct 28, 2004 Base Classes in .exe, derived classes in .dllColin Goudie, Jan 21, 2004, in forum: C++ - Replies: - 6 - Views: - 541 - Victor Bazarov - Jan 26, 2004 ctypes: Problems using Windows-DLL from VB example ...
http://www.thecodingforums.com/threads/example-code-to-access-some-c-classes-in-a-dll.328961/
CC-MAIN-2015-11
refinedweb
136
73.98
What? Sometimes we need to “compress” our data to speed up algorithms or to visualize data. One way is to use dimensionality reduction which is the process of reducing the number of random variables under consideration by obtaining a set of principal variables. We can think of 2 approaches: - Feature selection: find a ...
https://dinhanhthi.com/principal-component-analysis
CC-MAIN-2020-29
refinedweb
812
52.26
Spawning and Controlling Vehicles in CARLA This is a short tutorial on using agents and traffic tools in CARLA. This wiki contains details about: - Spawning Vehicles in CARLA - Controlling these spawned Vehicles using CARLA’s PID controllers. Pre-requisites We assume that you have installed CARLA according to instructi...
https://roboticsknowledgebase.com/wiki/simulation/Spawning-and-Controlling-Vehicles-in-CARLA/
CC-MAIN-2021-10
refinedweb
637
51.75
In today’s Programming Praxis our task is to neatly display Pascal’s triangle. Let’s get started, shall we? A quick import to making printing slightly more convenient: import Text.Printf Calculating Pascal’s triangle is trivial: pascal :: [[Integer]] pascal = iterate (\prev -> 1 : zipWith (+) prev (tail prev) ++ [1]) [...
https://bonsaicode.wordpress.com/2011/12/06/programming-praxis-pascals-triangle/
CC-MAIN-2017-30
refinedweb
158
61.06
I am trying to write a program that keeps track of social security numbers (SSN) of customers of a bank. I have to assume that SSN is a four-digit number (e.g., 1234. 0123 is not allowed.). When the program runs,it has to prompt that the user should enter a 4-digit SSN number to record, or 0 (zero) to exit. The program...
http://forums.codeguru.com/showthread.php?538091-please-help-with-c-program-question-over-arrays!&mode=hybrid
CC-MAIN-2017-17
refinedweb
600
70.94
NAME BN_generate_prime_ex2, BN_generate_prime_ex, BN_is_prime_ex, BN_check_prime, - generate primes and test for primality SYNOPSIS #include <openssl/bn.h> int BN_generate_prime_ex2, since OpenSSL 0.9.8,); Deprecated since OpenSSL 3. If ret is not NULL, it will be used to store the number. If cb is not NULL, it is used...
https://www.openssl.org/docs/manmaster/man3/BN_generate_prime.html
CC-MAIN-2019-47
refinedweb
190
59.4
Here is the winners archive. Some of photos aren't too crazy or offer a landmark that is recognizable if you'd seen it before. But most of them offer very little in terms of knowing where to start unless you've got a huge body of contextual knowledge you can draw on. A couple ones that I had absolutely no idea where to...
http://hackerbra.in/best/1408979461
CC-MAIN-2018-26
refinedweb
17,713
62.48
] Sonia Bhadouria Vishvkarma(9) Mahesh Chand(8) Sagar Pardeshi(3) Mahak Gupta(3) Arun Choudhary(3) Delpin Susai Raj(2) Sachin Bhardwaj(2) Rizwan Ali(2) Vipin Kumar(2) Gaurav Gupta(2) Dipendra Singh Shekhawat(1) Sumit Deshmukh(1) Vaikesh K P(1) Abhishek Kumar(1) Veena Sarda(1) Emiliano Musso(1) Devesh Omar(1) Sunny Shar...
http://www.c-sharpcorner.com/tags/Icon
CC-MAIN-2017-17
refinedweb
2,378
74.49
! 296: \G Line comment: if @code{BLK} contains 0, parse and discard the remainder ! 297: \G of the parse area. Otherwise, parse and discard all subsequent characters in the ! 298: \G parse area corresponding to the current line. ! 299: immediate ! 300: ! 301: ' ( alias ( ( compilation 'ccc<close-paren>' -- ; run-time ...
https://www.complang.tuwien.ac.at/cvsweb/cgi-bin/cvsweb/gforth/glocals.fs?annotate=1.39;sortby=rev;f=h;only_with_tag=MAIN;ln=1
CC-MAIN-2021-25
refinedweb
2,567
67.96
wifi_get_scan_results() Get the Wi-Fi scan results. Synopsis: #include <wifi/wifi_service.h> WIFI_API wifi_result_t wifi_get_scan_results(wifi_scan_results_t **scan_results, wifi_scan_report_t *report_type, int *num_scan_entries) Since: BlackBerry 10.2.0 Arguments: - scan_results Pointer that will be set to the scan re...
https://developer.blackberry.com/native/reference/core/com.qnx.doc.wifi_service.lib_ref/topic/wifi_get_scan_results.html
CC-MAIN-2019-35
refinedweb
178
59.3
Please login Prepinsta Prime Video courses for company/skill based Preparation Prepinsta Prime Purchase mock tests for company/skill building Cognizant GenC Elevate Sample Coding Question 5 Question 5 In this article, we will discuss about Coding Question with their solution in java. In this Question , we have to find ...
https://prepinsta.com/cognizant-genc-elevate/coding-questions/question-5/
CC-MAIN-2021-39
refinedweb
336
66.44
In addition to delivering content to Looker’s built-in destinations, you can use actions — also called integrations — to deliver content to third-party services integrated with Looker through an action hub server. Actions served through an action hub server differ from data actions, which are defined by the actionLookM...
https://docs.looker.com/sharing-and-publishing/action-hub
CC-MAIN-2022-21
refinedweb
4,688
50.36
By Robert L. Bogue For most developers, XML is a storage mechanism for data. You use the Web.config file to store configuration information about your Web-based applications. Other XML files are used to persist data that an application needs. The same application creates and consumes the XML file. However, as Web servi...
http://www.techrepublic.com/article/validate-xml-files-efficiently-via-cached-schemas-in-net/
CC-MAIN-2017-22
refinedweb
1,368
60.14
Timeline 04/05/08: - 23:03 Changeset [35776] by - yelp: * Remove the ugly workaround: the shared libraries of the latest … - 21:52 Ticket #14934 (Patch to eclipse-ecj to give the caller more flexibility) created by - The current wrapper script tries to figure out what java runtime to use. … - 20:16 Ticket #14933 (ssh (...
https://trac.macports.org/timeline?from=2008-04-05T05%3A22%3A55-0700&precision=second
CC-MAIN-2016-18
refinedweb
4,500
65.12
Making Time-Dependent Features Testable (c#) >>IMAGE here is the straight-forward test code: var token = new Token(); Assert.IsTrue(token.IsValid()); Thread.Sleep(21 * 60 * 1000); // wait 21 minutes Assert.IsFalse(token.IsValid()); Making test run hang for 20 minutes just literally wasting time? That’s hardly feasible....
https://rivantsov.medium.com/making-time-dependent-features-testable-c-d5feff606ece?source=post_internal_links---------0----------------------------
CC-MAIN-2021-31
refinedweb
530
57.77
We’ll learn how to use the 2SLS technique to estimate linear models containing Instrumental Variables In this article, we’ll learn about two different ways to estimate a linear model using the Instrumental Variables technique. In the previous article, we learnt about Instrumental Variables, what they are, and when and ...
https://bizbuildermike.com/introduction-to-two-stage-least-squares-estimation/
CC-MAIN-2022-40
refinedweb
3,112
54.52
Supports creating and interacting with email messages, recipients, and attachments. Represents an email attachment. Represents an email conversation. Represents a group of EmailConversation objects for batch processing. Reads a batch of email conversations. Represents an email folder. Represents email information right...
https://docs.microsoft.com/en-us/uwp/api/Windows.ApplicationModel.Email
CC-MAIN-2018-22
refinedweb
610
62.64
I'm fortunate enough to work with some pretty sophisticated developers. We have a .NET team with a diverse background; some, like myself, come from the VB6.0 / Windows DNA school and have been going through the OOP .NET learning curve and have become proficient in C# as their preferred .NET language of choice. Others c...
http://www.nullskull.com/articles/20021025.asp
CC-MAIN-2014-49
refinedweb
1,852
51.89
15 April 2008 00:38 [Source: ICIS news] ORLANDO, Florida (ICIS news)--Alternative feedstocks such as recycled cooking oil, animal fats and recovered corn oil from the manufacture of ethanol can be costly for biodiesel production because of their higher levels of contaminants, an executive with engineering and technolog...
http://www.icis.com/Articles/2008/04/15/9116011/waste-fats-based-biodiesel-no-cure-all-desmet.html
CC-MAIN-2015-11
refinedweb
332
57.71
Problem with signal and slot I'm totally new to QT but I have studied lots of its' documents. However, when I come to code, lots of problem show up. But I just can't figure it out what happened to these code: @ #include "mainwindow.h" #include "ui_mainwindow.h" #include "model.h" MainWindow::MainWindow(QWidget *parent)...
https://forum.qt.io/topic/38922/problem-with-signal-and-slot
CC-MAIN-2018-39
refinedweb
613
55.13
This tutorial series is now also available as an online video course. You can watch the first hour on YouTube or get the complete course on Udemy. Or you just keep on reading. Enjoy! :) Authentication (continued) Token Authentication with JSON Web Tokens The idea behind token authentication is simple. At this stage of ...
https://dev.to/_patrickgod/authentication-with-json-web-tokens-in-net-core-3-1-29bd
CC-MAIN-2022-21
refinedweb
3,398
59.09
Leaderboard Popular Content Showing content with the highest reputation since 09/14/2019 in Posts - 2 pointsIt depends on the collation setting for the column. - 1 point'. - 1 pointUser doesn't care. They don't look at URLs when they're just browsing around, and if they want to share the page they'll either use a share...
https://forums.phpfreaks.com/leaderboard/?in=forums-pid
CC-MAIN-2019-43
refinedweb
3,440
71.95
How to Check file size in Python In this article, we will learn to check the size of a file in Python. We will use some built-in functions and some custom codes as well. Let's first have a quick look over why we need file size and how can we calculate the file size in Python. Check the File Size in Python It is importa...
https://www.studytonight.com/python-howtos/how-to-check-file-size-in-python
CC-MAIN-2022-21
refinedweb
805
75.91
SPACE rasterio Overview rasterio is a Python package which aims to provide a friendlier API to GDAL than GDAL’s own Python API (which feels very C-like). It is an open source project on GitHub that is created and maintained by mapbox. Most of the code examples below assume you have imported rasterio into the current mo...
https://blog.mbedded.ninja/space/rasterio/
CC-MAIN-2021-17
refinedweb
473
58.38
Add <http:serverpost/> widget for extensions/xmlextras RESOLVED WONTFIX Status () People (Reporter: WeirdAl, Assigned: WeirdAl) Tracking Firefox Tracking Flags (Not tracked) Attachments (1 obsolete attachment) I've created a demo widget for an XUL application to post information to a server. The demo is located at . I ...
https://bugzilla.mozilla.org/show_bug.cgi?id=231833
CC-MAIN-2019-26
refinedweb
1,955
63.49
In this article you will learn how to isolate yourself from change by taking advantage of the Provider Model. Designing your applications using the Provider Model will allow you to swap components out at runtime, thus allowing you to upgrade them easily. Developers face the problem of constantly changing technology. Wh...
https://www.codemag.com/Article/0711081/The-Provider-Model
CC-MAIN-2020-10
refinedweb
2,596
53.81
C# allows using pointer variables in a function of code block when it is marked by the unsafe modifier. The unsafe code or the unmanaged code is a code block that uses a pointer variable. Pointers A pointer is a variable whose value is the address of another variable i.e., the direct address of the memory location. sim...
http://blogs.binarytitans.com/2017/04/c-unsafe-codes.html
CC-MAIN-2018-13
refinedweb
653
50.97
I had the same problem which cminus. Problem was with this two lines: RUBYLIBVER ?= $(shell $(RUBY) -e 'print RUBY_VERSION.split(".")[0..1].join(".")') RUBYINC ?= $(shell $(PKG_CONFIG) --exists ruby-$(RUBYLIBVER) && $(PKG_CONFIG) --cflags ruby-$(RUBYLIBVER) || $(PKG_CONFIG) --cflags ruby) First one return wrong version...
https://aur.archlinux.org/packages/libselinux/
CC-MAIN-2018-26
refinedweb
1,026
50.33
This is a translation of my article 抓取網頁的最佳語言 : Python written in chinese At first At first, I used C/C++ to write programs for grabbing data from websites. I tried to write a library for these tasks, but I realized that it’s not easy to implement a HTTP client library. Then, I used cUrl library for downloading pages, ...
https://blog.ez2learn.com/2009/09/26/the-best-choice-to-grab-data-from-websites-python-twisted-lxml/
CC-MAIN-2021-10
refinedweb
3,110
75.61
Adventures in web scraping and data analysis Not a member? You should Already have an account? To make the experience fit your profile, pick a username and tell us what interests you. We found and based on your interests. Choose more interests. x-gzip - 1.05 MB - 06/09/2016 at 18:15 I'll continue to put up interesting ...
https://hackaday.io/project/12158-hackaday-statistics
CC-MAIN-2021-43
refinedweb
982
57.98
Greetings, This, I hope, is a simply answered question. Based on Agile Web D. with Rails (depot application), I’m developing a single table application for contact info. There is only an admin side to this, so there’s always authentication. Part of the info record (member) is changed_by and changed_at which I automatic...
https://www.ruby-forum.com/t/access-to-session-data/55833
CC-MAIN-2020-50
refinedweb
185
62.14
Cerebral uses a single state tree to store all the state of your application. Even though you split up your state into modules, at the end of the day it will look like one big tree: { title: 'My Project', someOtherModule: { foo: 'bar' } } You will normally store other objects, arrays, strings, booleans and numbers in i...
https://cerebraljs.com/docs/introduction/state.html
CC-MAIN-2019-26
refinedweb
344
81.22
When it is said that in Linux everything is file then it really stands true. Most of the operations that we can do on files can be done on other entities like socket, pipe, directories etc. There are certain situations where a software utility might have to travel across directories in the Linux system to find or match...
http://www.thegeekstuff.com/2012/06/c-directory/
CC-MAIN-2014-42
refinedweb
852
55.74
NAME | DESCRIPTION | EXAMPLES | SEE ALSO FNS defines policies for naming objects in the federated namespace. The goal of these policies is to allow easy and uniform composition of names. The policies use the basic rule that objects with narrower scopes are named relative to objects with wider scopes. FNS policies are d...
http://docs.oracle.com/cd/E19683-01/817-0684/6mgfg0ppv/index.html
CC-MAIN-2014-35
refinedweb
671
50.53
I have installed python 2 after installing python 3.And now when I executing my python file by clicking on file (not by cmd) its run python 2 ,but I want python 3. I have tried script: import sys print (sys.version) 2.7.11 If the current default windows application for .py files is currently python2 (i.e. C:\python27\p...
https://codedump.io/share/U7FG4jTsnDt2/1/execute-python-3-not-python-2
CC-MAIN-2017-34
refinedweb
161
84.47
Hello everyone. I am in a programming fundamentals class which we are using python. I am working on a Lab problem and really am not 100% sure how to do it. The Problem: A shipping company (Fast Freight Shipping Company) wants a program that asks the user to enter the weight of a package and then display the shipping ch...
https://www.daniweb.com/programming/software-development/threads/436830/python-typeerror-unorderable-types
CC-MAIN-2018-05
refinedweb
526
67.76
How To Use the Django One-Click Install Image for Ubuntu 16.04 Introduction Django is a high-level Python framework for developing web applications rapidly. DigitalOcean's Django One-Click Application quickly deploys a preconfigured development environment to your VPS with Django, Nginx, Gunicorn, and Postgres. Creatin...
https://www.digitalocean.com/community/tutorials/how-to-use-the-django-one-click-install-image-for-ubuntu-16-04
CC-MAIN-2017-30
refinedweb
984
59.7
Hi folks, I previously wrote to this list about a performance problem I was having with Twisted, Quixote, and (I thought) HTTP/1.1, which I erroneously thought was a problem in Twisted's ability to deal with HTTP/1.1... I've since spent lots of time digging, and first figured out that the problem wasn't really in Twist...
https://twistedmatrix.com/pipermail/twisted-web/2004-April/000311.html
CC-MAIN-2018-26
refinedweb
1,571
53.98
Warnings and ErrorsBy Hugo Giraudel Warnings and errors are the way a program has to communicate with a developer or user. For instance, when you inadvertently introduce a syntax error in your code, the program/language (whatever it is) is likely to throw an error explaining your mistake and how you should fix it. Sass...
https://www.sitepoint.com/sass-reference/warnings-and-errors/
CC-MAIN-2017-04
refinedweb
705
60.35
BeakerX's table and plot widgets both support the scroll wheel. For tables, the scroll wheel scrolls vertically. For plots, the scroll wheel zooms. However, for the notebook as a whole, the scroll wheel also has a meaning, to scroll the notebook. So there's an ambiguity, and the UI needs a way to resolve it and decide ...
https://nbviewer.jupyter.org/github/twosigma/beakerx/blob/0.21.0/doc/python/ScrollZoom.ipynb
CC-MAIN-2021-39
refinedweb
254
76.52
Introduction and Base Project . Before starting here if you are familiar with creating Django project feel free to skip this tutorial and start the next. If not just make sure you have installed python and Django in your system by follow command, if you want more detail follow Django Website pip install django above co...
https://dev.to/epampythonpractice/django-internationalization-tutorial-1-introduction-and-base-project-3e8o
CC-MAIN-2022-33
refinedweb
563
58.99
What the approach below, I’ve used Python and SQLAlchemy to build up “big SQL” from small, unit-testable expressions. This keeps the codebase manageable without sacrificing the – often quite impressive – analytics performance obtainable with ordinary databases. “Big SQL” resists being teased apart into independent, man...
https://tech.labs.oliverwyman.com/blog/2016/08/23/analytics-with-sqlalchemy/
CC-MAIN-2020-05
refinedweb
1,595
51.38
Image: 1 <o:p> Introduction I still remember it was a neatly done report that got me my first pay raise (every one likes pay raise right?). Ever since, I am very passionate about report writing. In this article, I will guide you through step by step how to create a simple report using MS Reporting Services 2005; and ho...
https://www.codeproject.com/articles/15318/applied-ms-reporting-services-using-smart-clie
CC-MAIN-2016-50
refinedweb
3,058
63.9
Hi On Fri, Jun 22, 2007 at 10:08:58PM -0400, Ronald S. Bultje wrote: > Hi, > > On 6/22/07, Ramiro Ribeiro Polla <ramiro at lisha.ufsc.br> wrote: > > > >It no longer applies. Could you send an updated patch? > >And please svn diff it from the source folder. > > > I think it's common to use a source-folder patch (i.e. on...
http://ffmpeg.org/pipermail/ffmpeg-devel/2007-June/031191.html
CC-MAIN-2015-06
refinedweb
182
83.86
A), is the standard comparative measure for capital costs used in energy industries. The specific Overnight Capital Costs used include: - Civil and structural costs - Mechanical equipment supply and installation - Electrical and instrumentation and control - Project indirect costs - Other owners costs: design studies, ...
https://wattsupwiththat.com/2014/11/21/renewable-energy-solar-and-wind-power-capital-costs-and-effectiveness-compared/
CC-MAIN-2020-50
refinedweb
12,348
62.78
#include <line.h> Inheritance diagram for line:: The wavelet Lifting Scheme "line" wavelet approximates the data set using a line with with slope (in contrast to the Haar wavelet where a line has zero slope is used to approximate the data). The predict stage of the line wavelet "predicts" that an odd point will lie mid...
http://www.bearcave.com/misl/misl_tech/wavelets/forecast/doc/classline.html
CC-MAIN-2017-47
refinedweb
126
67.38
view raw Could you guys please explain to me how to set main class in SBT project ? I'm trying to use version 0.13. My directory structure is very simple (unlike SBT's documentation). In the root folder I have build.sbt name := "sbt_test" version := "1.0" scalaVersion := "2.10.1-local" autoScalaLibrary := false scalaHo...
https://codedump.io/share/6pjfjsigWTQ5/1/how-to-set-main-class-in-sbt-013-project
CC-MAIN-2017-22
refinedweb
195
53.78
Setting up Sapper with Netlify CMS What are Sapper and Netlify CMS? Sapper Sapper is Svelte's answer to Next.js/Nuxt.js. It's a way of rendering Svelte code on the server so your site is compatible with JavaScript-free devices, and so it renders immediately instead of waiting for a JS blob to download, parse, and run. ...
https://spiffy.tech/blog/setting-up-sapper-with-netlify-cms/
CC-MAIN-2019-47
refinedweb
1,732
61.97
Forum Index I'm trying to use the node_dlang pakckage but the code example from this repo isn't working the command dub build is fine but node example.js retuns an error saying the module.node is not a valid win32 application. How do I fix this? dub build node example.js On Sunday, 6 June 2021 at 04:25:39 UTC, Jack wro...
https://forum.dlang.org/thread/vmpldzrbccasfoiwdngx@forum.dlang.org
CC-MAIN-2021-25
refinedweb
1,293
68.36
On Sun, 27 Jun 1999 allbery@ece.cmu.edu wrote:> On 27 Jun, Jason Thorpe wrote:> +-----> | Alexander Viro <viro@math.psu.edu> wrote:> | > doesn't unmap the stuff. Oh, shit, there is such thing as pending> | > unlink... Does vgone() force it?> | > | Regarding unlink()... those aren't operations on vnodes. Those are> | op...
http://lkml.org/lkml/1999/6/27/165
CC-MAIN-2013-48
refinedweb
144
60.72
Several comments on the Versioning discussion: -- New suggestion: has anyone looked at "Open Software Description Format" or OSD? This is a pre-existing XML format for describing software releases - just about what we want. I'm not sure I like all the fields they use in their format, but you can always extend it with n...
http://mail-archives.apache.org/mod_mbox/xml-general/199911.mbox/%3COF388A7B8D.C941B0FA-ON05256832.004927D1@LocalDomain%3E
CC-MAIN-2019-26
refinedweb
563
73.88
On Thu, 25 Apr 2002 12:48, Peter Donald wrote: > Currently there can not be multiple roles with same classname but different > classdata Yes, I know. Doing away with that restriction is the whole point. > and I can't honestly see where it would be viable. We are awful close to being able to drop in two different versio...
http://mail-archives.apache.org/mod_mbox/ant-dev/200204.mbox/%3C200204251446.22372.adammurdoch@apache.org%3E
CC-MAIN-2016-36
refinedweb
516
71.44
In today’s Programming Praxis exercise, our goal is to provide two different solutions for the well known SEND + MORE = MONEY sum, in which each letter must be replaced by a valid digit to yield a correct sum. Let’s get started, shall we? A quick import: import Data.List I’ll be honest, the only reason I wrote this fir...
http://bonsaicode.wordpress.com/2012/07/31/programming-praxis-send-more-money-part-1/
CC-MAIN-2014-10
refinedweb
488
62.58
In this tutorial, we will learn to use FreeRTOS software timers with Arduino. Unlike, hardware timers of Arduino, Software timers are provided by the FreeRTOS kernel and they do not use Arduino timers hardware resources. Because they are implemented by FreeRTOS and under the control of RTOS kernel. Most, importantly, t...
https://microcontrollerslab.com/freertos-create-software-timers-with-arduino/
CC-MAIN-2021-39
refinedweb
1,495
56.66
Are. Contents - Contents - Morgan's question - The really short answer - What is multi-threading? - Multi-threading gets complicated - Using threads in Unity - ThreadPool - Coroutines vs Threads - Managing a thread with a promise - Example Unity project - Conclusion - Resources Morgan's question I have recently started...
https://codecapers.com.au/threads-promises-and-unity/
CC-MAIN-2021-49
refinedweb
1,890
62.68
React Hooks While I was learning React while in The Flatiron School’s Software Engineering bootcamp I learned about creating components by using class components only. We learned about some lifecycle methods in general and state was to be managed with a constructor. Once we were encouraged to check out functional compo...
https://adamadolfo8.medium.com/react-hooks-b259ee985b5d
CC-MAIN-2021-43
refinedweb
1,026
55.54
0 #ifndef HYS_MAIN_HEADER_H #define HYS_MAIN_HEADER_H #include <windows.h> #include <windowsx.h> #ifndef HYS_GLOBAL_VARIABLES #define HYS_GLOBAL_VARIABLES namespace hys { const short Null = 0; const bool True = 1; const bool False = 0; }; #endif // HYS_GLOBAL_VARIABLES #endif // HYS_MAIN_HEADER_H I want to avoid using ...
https://www.daniweb.com/programming/software-development/threads/329491/use-ifndef-to-check-global-variables
CC-MAIN-2017-39
refinedweb
137
54.83
(writing the first program) If you are tired of talking and want some action – let’s not waste anymore time. In this part you will learn how to set up a project using MPLab, write a simple program and run it on your microcontorller. Before we start I must mention that there are 2 IDEs that Microchip has made. MPLab and...
https://www.microlab.info/beginners/138-first-step-with-microcontrollers-part-2.html
CC-MAIN-2021-25
refinedweb
778
80.21
an action result } You can easily post a comic book to that action method using JSON. Under the hood, ASP.NET MVC uses the DefaultModelBinder in combination with the JsonValueProviderFactory to bind that value. DefaultModelBinder JsonValueProviderFactory A question on an internal mailing list recently asked the questi...
http://haacked.com/archive/2011/06/30/whatrsquos-the-difference-between-a-value-provider-and-model-binder.aspx
CC-MAIN-2013-20
refinedweb
1,157
51.78
A process is nothing but a running instance of a program. It is also defined as a program in action. The concept of a process is fundamental concept of a Linux system. Processes can spawn other processes, kill other processes, communicate with other processes and much more. In this tutorial, we will discuss life cycle ...
http://www.thegeekstuff.com/2013/07/linux-process-life-cycle/
CC-MAIN-2017-04
refinedweb
1,820
73.17
." Maybe... (Score:5, Funny) Re:Maybe... (Score:5, Funny) Re: (Score:3, Insightful) Re: (Score:3, Interesting) Re:Maybe... (Score:5, Funny) Re: (Score:2) Re:Maybe... (Score:5, Funny) T,FTFY. HAND. Re:Maybe... (Score:5, Funny) That joke was old when I was in school (Score:4, Insightful) Re: (Score:3) Re: (Score:3, Funny...
http://developers.slashdot.org/story/08/02/23/1313229/rms-steps-down-as-emacs-maintainer?sdsrc=next
CC-MAIN-2015-14
refinedweb
3,166
70.33
On Tue, Jul 08, 2003 at 03:21:04PM +0200, Nardy Pillards wrote > > > > > >libwsock32.a, libmswsock.a and mswsock.h are within MinGW. > > > (example > makefile) > > > > > >so are winsock.h and winsock2.h > > > > > > > > Yes, I know. I've done applications with winsock earlier with the mingw > > compiler. > > .c sources,...
http://lists.gnu.org/archive/html/bug-gnubg/2003-07/msg00133.html
CC-MAIN-2015-22
refinedweb
137
74.15
How to deploy NFT tokens on TomoChain Create your unique ERC721 tokens (ie: CryptoKitties) on TomoChain! This article will explain: - What is a Non-Fungible Token (NFT) - Use-cases of NFT - How-to step-by-step deploy a NFT token on TomoChain What is a Non-Fungible Token (NFT)? Fungible tokens are all equal and intercha...
https://medium.com/tomochain/how-to-deploy-nft-tokens-on-tomochain-fe476a68594d?source=collection_home---4------2-----------------------
CC-MAIN-2019-30
refinedweb
3,047
55.84
- ! Thank you for posting code again! Admin As long as this is Java, then _inputStream.read() will return -1 when it reaches the end of the stream, so it will be possible for _char == -1 to be true. Also, catching an OutOfMemoryError is extremely bad practice, as is catching anything derived from Error... JDK5.0 API - ...
https://thedailywtf.com/articles/comments/Please_Supply_a_Test_Case
CC-MAIN-2018-39
refinedweb
3,166
71.04
Hello all, I'd like to revive this sig. I know I've been quiet of late, but hey, so has everyone else. In the interest of restarting the discussion, I guess I'll try to restate what I think we need to accomplish here. But I represent it only as my opinion. I hope others will comment, or suggest wholly different agendas...
https://mail.python.org/pipermail/cplusplus-sig/1999-April/000104.html
CC-MAIN-2016-30
refinedweb
1,562
68.7
Key:shoulder Indicates the presence of a shoulder on highways. A shoulder, often serving as an emergency stopping lane, is a reserved lane by the verge of a road or motorway - on the right in countries which drive on the right, or on the left side in those which drive on the left (Japan, the UK, Australia, etc.). Usage...
http://wiki.openstreetmap.org/wiki/Shoulder
CC-MAIN-2017-26
refinedweb
362
53.85
For some reason I assumed for a long time that NetBSD didn't support any kind of socket credentials. However, I recently discovered that it indeed supports them through the LOCAL_CREDS socket option. Unfortunately it behaves quite differently from other methods. This poses some annoying portability problems in applicat...
https://jmmv.dev/2006/08/localcreds-socket-credentials.html
CC-MAIN-2020-16
refinedweb
565
53.37
The Tkinter framework provides some standard GUI widgets for use in building Graphical User Interfaces in Python. If you need more freedom you can use the Canvas widget included in Tkinter, which gives you an area where you can draw custom shapes. The Tkinter framework provides some standard GUI widgets for use in buil...
https://www.techrepublic.com/article/tkinter-canvas-freeform-guis-in-python/
CC-MAIN-2021-10
refinedweb
646
61.56
In March 2021, Arm introduced the next-generation Armv9 architecture with increasingly capable security and artificial intelligence (AI). This was followed by the launch of the new Arm Total Compute solutions in May, which include the first ever Armv9 CPUs. The biggest new feature that developers will see immediately i...
https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/sve2
CC-MAIN-2021-49
refinedweb
1,596
57.37
Components and supplies Apps and online services About this project You can also read this project on ElectroPeak's official website. It would be fun to see how your Instagram posts perform in action! We are going to build a gauge that shows your likes per minute speed. In this article, you will learn how to get data f...
https://create.arduino.cc/projecthub/electropeak/instagram-likes-speedometer-with-arduino-and-esp8266-8957b7
CC-MAIN-2019-13
refinedweb
1,133
64.3
Twisted. Twisted is an asynchronous framework. This means standard database modules cannot be used directly, as they typically work something like: #. adbapi will do blocking database operations in separate threads, which trigger callbacks in the originating thread when they complete. In the meantime, the original thre...
http://twistedmatrix.com/documents/current/core/howto/rdbms.html
CC-MAIN-2016-26
refinedweb
112
50.94
Functions in the Kernel namespace control RTOS kernel information. More... Attach a function to be called by the RTOS idle task. Attach a function to be called when a thread terminates. Read the current RTOS kernel millisecond tick count. The tick count corresponds to the tick count the RTOS uses for timing purposes. I...
https://os.mbed.com/docs/mbed-os/v6.0/mbed-os-api-doxy/namespacertos_1_1_kernel.html
CC-MAIN-2021-04
refinedweb
113
60.82
Is it normal for "new VideoCapture()" to take AGES? I've built an inventory robot for a warehouse. It has two IP cameras (Vivotek CC8130). Its onboard computer is a FitPC, the operator console is a random Lenovo notebook. Both computers run OpenCV 2.4.9 on Debian GNU/Linux Jessie/sid. The onboard program and the operat...
https://answers.opencv.org/question/43161/is-it-normal-for-new-videocapture-to-take-ages/
CC-MAIN-2019-51
refinedweb
438
61.22
In this tutorial, you will learn how you can extract tables in PDF using camelot library in Python. Camelot is a Python library and a command-line tool that makes it easy for anyone to extract data tables trapped inside PDF files, check their official documentation and Github repository. Let's dive in ! Related tutoria...
https://www.thepythoncode.com/article/extract-pdf-tables-in-python-camelot
CC-MAIN-2020-16
refinedweb
571
69.41
Learning Java/Applets Contents See also[edit] Introduction Applets are Java programs that are used in Internet computing. They can be viewed using an applet viewer or any browser. An applet can perform functions like displaying graphics, animation, accept user input, etc. Applet is derived either from Applet or the new...
https://en.wikiversity.org/wiki/Learning_Java/Applets
CC-MAIN-2019-43
refinedweb
1,040
58.99
We're a place where coders share, stay up-to-date and grow their careers. I have come up with this sumPair :: Num a => (a, a) -> a sumPair (x, y) = x + y isMoreThanOnce :: Eq a => a -> [a] -> Bool isMoreThanOnce x xs = (>1).length.(filter (==x)) $ xs createPairs :: (Num a, Eq a) => [a] -> a -> [(a, a)] createPairs xs x...
https://dev.to/juancuiule/comment/758e
CC-MAIN-2022-21
refinedweb
178
74.9
I want to compile a custom c++ extension that uses functionality from libpng. This is what my current jit.py file looks like: from torch.utils.cpp_extension import load from glob import glob import os os.environ["CC"] = "gcc-11" os.environ["CXX"] = "g++-11" sources = glob("src/*.cpp") font_renderer = load(name="font_re...
https://discuss.pytorch.org/t/how-to-jit-compile-c-extension-with-libpng/156794
CC-MAIN-2022-33
refinedweb
110
60.01
Clear the confusion and add tags and tag clouds to your Oracle+Rails application. Published June 2007 Social computing has taken the Internet by storm in the last few years and one of the signatures of the trend has been the notion of "tagging." While tagging is certainly not new, its latest incarnation is novel in its...
http://www.oracle.com/technetwork/articles/kern-rails-tagging-082955.html
CC-MAIN-2015-18
refinedweb
3,051
57.98
Join us in Chat. Click link in menu bar to join. Unofficial chat day is every Friday night (US time). 0 Members and 1 Guest are viewing this topic. #include "sys/ATMega8.h" Timer.h: 198: undefined reference to 'pgm_Timers' timer.c: 782: undefined reference to ' NUMBER_OF_TIMERS' core.c: (.text+0x8c): undefined referenc...
http://www.societyofrobots.com/robotforum/index.php?topic=9561.0
CC-MAIN-2014-49
refinedweb
129
68.87
Bio::Graphics::FeatureFile -- A set of Bio::Graphics features, stored in a file use Bio::Graphics::FeatureFile; my $data = Bio::Graphics::FeatureFile->new(-file => 'features.txt'); # create a new panel and render contents of the file onto it my $panel = $data->new_panel; my $tracks_rendered = $data->render($panel); # o...
http://search.cpan.org/~lds/Bio-Graphics/lib/Bio/Graphics/FeatureFile.pm
CC-MAIN-2014-23
refinedweb
2,409
55.03
CodePlexProject Hosting for Open Source Software I was trying to use NivoSlider () plugin with BlogEngine.Net, but geting all sort of javascript errors all the time. I've tryied $j = jQuery.noconflict()... Can someone help to integrate this plugin into my blog? :] I would try not using 'noconflict'. BE 1.6, and even BE...
https://blogengine.codeplex.com/discussions/207697
CC-MAIN-2017-34
refinedweb
540
76.93
leon de boer wrote:Lets list the ones I know that don't have a c++ compiler Quote:$ mpicc gaussian.c gaussian.c: In function ‘main’: gaussian.c:73:8: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] data = (double *) malloc(num_cols * sizeof(double *)); ^ $ data = (double **) malloc(num...
https://www.codeproject.com/Messages/5622285/processing-Multithread-in-MFC
CC-MAIN-2022-05
refinedweb
501
53.81
In the introduction to the TestNG tutorial, we highlighted TestNG briefly and focussed on how TestNG fetches its power from its annotations. Tests annotate to decide the sequence of the tests that run. Annotations are taken from the Java language and are an excellent tool for the testers using TestNG. This tutorial inc...
https://www.toolsqa.com/testng/testng-annotations/
CC-MAIN-2022-27
refinedweb
1,552
50.23
: 10-20-2014 Record Information Rights Management: All applicable rights reserved by the source institution and holding location. Resource Identifier: aleph - 366622 oclc - 15802799 System ID: UF00028315:03636 This item is only available as the following downloads: ( PDF ) Full Text PAGE 1 POLL OCTOBER 20, 2014Floridas...
http://ufdc.ufl.edu/UF00028315/03636
CC-MAIN-2018-39
refinedweb
32,312
74.08
On Monday 19 September 2005 04:30 pm, Rich Apodaca wrote: > On Mon, 19 Sep 2005 09:12:15 +0200, Egon Willighagen wrote > > From what I've seen, I think CDKTools and Octet use a builder as stand in > > for the data classes, correct? > > Yes - and no. My take on the AtomContainer class (the main "data class") is > that i...
http://sourceforge.net/p/cdk/mailman/message/9934449/
CC-MAIN-2016-07
refinedweb
948
65.01
08 April 2011 16:00 [Source: ICIS news] TORONTO (ICIS)--EMS Group's first-quarter sales rose by 8.4% year on year to Swiss francs (Swfr) 438m ($476m, €334m), partially due to the successful launch of new products, the Switzerland-based specialty chemicals firm said on Friday. In local currency terms, sales for the thre...
http://www.icis.com/Articles/2011/04/08/9451227/swiss-ems-q1-sales-rise-8.4-warns-of-rising-raw-material-costs.html
CC-MAIN-2015-06
refinedweb
170
51.18
Sigh. Why is everything so easy in Groovy? I had a small request from a client to change a lot of database records. Now, I am no SQL guy, but I know Java and Groovy. So I wrote a little script to access the database and change the value of some records: import groovy.sql.Sql // Just copy mysql-connector.jar in $GROOVY_...
http://mrhaki.blogspot.com/2009/04/groovy-even-makes-database-access-easy.html
CC-MAIN-2018-39
refinedweb
127
53.78
#include <graph_lock.hpp> The locking implementation is basically two families of continuations. The first family is called the scopelock_continuation This family completes the lock of a scope. It iterates over the owners of the replicas of the vertex, and issue remote calls to acquire locks on them. The second family ...
http://select.cs.cmu.edu/code/graphlab/doxygen/html/classgraphlab_1_1graph__lock.html
CC-MAIN-2014-10
refinedweb
156
58.58
When I want to make a value type read-only outside of my class I do this: public class myClassInt { private int m_i; public int i { get { return m_i; } } public myClassInt(int i) { m_i = i; } } What can I do to make a List<T> type readonly (so they can't add/remove elements to/from it) outside of my class? Now I just d...
https://www.dowemo.com/article/70377/how-uses-properties-when-processing-list-lt;membe-amp;
CC-MAIN-2018-26
refinedweb
551
63.39
Message box widget. More... #include <TGUI/Widgets/MessageBox.hpp> Message box widget. Signals: Copy constructor. Add a button to the message box. When receiving a callback with the ButtonClicked trigger then callback.text will contain this caption to identify the clicked button.::ChildWindow. Makes a copy of another m...
https://tgui.eu/documentation/v0.7/classtgui_1_1MessageBox.html
CC-MAIN-2022-21
refinedweb
143
72.42
I'm doing some C++ homework, it's for an online class, and my ****ing teacher never answers me back about questions I have. Ultimately I'm having to do it all on my own basically. I feel like I'm close with this one (or maybe not), but a little mixed up. I'm getting an "in function int main" error but don't know where,...
http://forums.codeguru.com/showthread.php?518706-Void-functions&p=2044239&mode=threaded
CC-MAIN-2017-22
refinedweb
221
51.24
Some Popular Object-Oriented Design Patterns - Builder - Object Pool - Singleton (a special type of Object Pool) - Decorator Some Popular Functional Design Patterns - Event - Recursion - Pipes and Filters - Bridge Many of these design patterns are simply more popular in one paradigm over another. For example Pipes and ...
http://www.hackthissite.org/forums/viewtopic.php?f=36&t=6334
CC-MAIN-2014-15
refinedweb
946
50.16