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 |
|---|---|---|---|---|---|
Hello everyone.
I’m trying to download files using the fileTrasnfer plugin, it usually downloads but only works when the app is active, I wonder if there is any way to make the download start as if it were native.
Does anyone have any ideas?
How to download file natively?
Hello everyone.
write your own plugin for that ... | https://forum.ionicframework.com/t/how-to-download-file-natively/114329 | CC-MAIN-2019-39 | refinedweb | 615 | 55.74 |
Regular Expressions
by Dmitry Olshansky, the author of std.regex
Introduction
String processing is a daily routine that most applications have to deal with in a one way or another. It should come as no surprise.
This is where regular expressions, often succinctly called regexes, come in handy. Regexes are simple yet po... | https://dlang.org/articles/regular-expression.html | CC-MAIN-2018-43 | refinedweb | 1,830 | 64.71 |
debugging with eclipse
hi, i struggle a lot with using ros with eclipse
first of all, i did all that is standing on the ros with IDE page. i can import the project to eclipse and build it. the indexer is absolutely not working (it recognizes rosnode etc, but i get errors like "namespace std is amgiguous" - i use eclips... | https://answers.ros.org/question/128186/debugging-with-eclipse/ | CC-MAIN-2019-43 | refinedweb | 176 | 74.69 |
A very common use for any loop structure is to process data arrays. Create a new project and call it PhoneNumbers. Add control objects to the form as shown in Figure 12.4.
There are two labels, three text boxes, and three buttons . These objects should all be pretty familiar to you now. Note that txtResult has the Mult... | https://flylib.com/books/en/4.350.1.105/1/ | CC-MAIN-2021-04 | refinedweb | 2,027 | 74.19 |
Suppose you’re new to data science or programming. You probably often hear people recommending Python as the first programming language to learn because it has a simple-to-understand syntax and better code readability. Together, these features make Python much easier to learn for people with no prior programming experi... | https://builtin.com/data-science/python-code-snippets | CC-MAIN-2022-40 | refinedweb | 1,753 | 68.4 |
In today’s Programming Praxis exercise, our goal is to determine all the numbers that are not McNugget numbers, i.e. numbers that cannot be created by summing multiples of 6, 9 and 20. Let’s get started, shall we?
A quick import:
import Data.List
The code is pretty straightforward: just take all the numbers up to 180 t... | https://bonsaicode.wordpress.com/2011/12/09/programming-praxis-mcnugget-numbers/ | CC-MAIN-2015-18 | refinedweb | 218 | 70.29 |
OpenBSD::Intro - Introduction to the pkg tools internals
use OpenBSD::PackingList; ...
Note that the "OpenBSD::" namespace of perl modules is not limited to package tools, but also includes pkg-config(1) support modules. This document only covers package tools material.
The design of the package tools revolves around a... | https://man.openbsd.org/OpenBSD::Intro.3p | CC-MAIN-2020-05 | refinedweb | 1,511 | 51.48 |
#include <vtkImageDataLIC2D.h>
GPU implementation of a Line Integral Convolution, a technique for imaging vector fields.
The input on port 0 is an vtkImageData with extents of a 2D image. It needs a vector field on point data. This filter only works on point vectors. One can use a vtkCellDataToPointData filter to conve... | https://vtk.org/doc/nightly/html/classvtkImageDataLIC2D.html | CC-MAIN-2019-47 | refinedweb | 401 | 62.75 |
I am using a
DataTemplateSelector inside a
ContentControl. I have 3 different
DataTemplates based on 3 different
object types. When I set the
content of my
ContentControl to data of the mentioned types, the
DataTemplateSelector swaps to the specific
DataTemplate AND the selector futhermore seems to rollback/reset the v... | http://www.dlxedu.com/askdetail/3/414c584ba8d8868b2064deed0aa4ce49.html | CC-MAIN-2019-04 | refinedweb | 820 | 50.84 |
Hi, I'm reading "Jumping into C++" and I am having trouble completing a practice problem at the end of the chapter on loops.
Here is the problem:
"write a program that provides the option of tallying up the results of a poll with 3 possible values. The first input to the program is the poll question; the next 3 inputs ... | http://cboard.cprogramming.com/cplusplus-programming/158920-new-cplusplus-need-help-creating-very-simple-poll-using-loops.html | CC-MAIN-2016-40 | refinedweb | 393 | 69.25 |
PROBLEM LINK:
Practice
Div-3 Contest
Div-2 Contest
Div-1 Contest
Author & Editorialist: Arayi Khalatyan
Tester: Radoslav Dimitrov
DIFFICULTY:
EASY-MEDIUM
PREREQUISITES:
Greedy, Implementation, Observation
PROBLEM:
There are N lines each of which is passing through a point O. There are M_i ants on the i th line and init... | https://discuss.codechef.com/t/antschef-editorial/83327 | CC-MAIN-2021-04 | refinedweb | 894 | 72.56 |
#include <iostream>
using namespace std;
struct date
{
int month[2];
int day[2];
int year[4];
char dummy[1];
};
int main()
{
date birthday;
cout << "\nPlease enter your birthdate (mm/dd/yyyy): ";
cin >> birthday.month >> birthday.dummy << birthday.day >> birthday.dummy << birthday.year;
cout << "\n\nYour birthday is on... | http://cboard.cprogramming.com/cplusplus-programming/34485-multiple-inputs-cin.html | CC-MAIN-2014-10 | refinedweb | 121 | 64.81 |
MCS compiler is confused by matching parameter / variable name and
type name, but MS CSC is not.
With "D:\Applications\Mono-2.11.4\bin" and
"C:\Windows\Microsoft.NET\Framework\v4.0.30319" in the path on my Windows 7
machine:
===== TypeHiding.cs =====
using System;
public class Outer {
public enum Inner { ONE, TWO }
pu... | https://bugzilla.xamarin.com/83/8383/bug.html | CC-MAIN-2021-39 | refinedweb | 147 | 53.07 |
import "golang.org/x/build/maintner/reclog"
Package reclog contains readers and writers for a record wrapper format used by maintner.
AppendRecordToFile opens the named filename for append (creating it if necessary) and adds the provided data record to the end. The caller is responsible for file locking.
func ForeachFi... | https://godoc.org/golang.org/x/build/maintner/reclog | CC-MAIN-2019-39 | refinedweb | 258 | 59.6 |
Need help with map_saver
Hey, I'm a beginner to ros so I apologize if this is a dumb question, but I have been wanting to use the map_server package to save an OccupancyGrid. I found a tutorial for using map_saver but it was related to gmapping, which I am not using. In order to test it out, I created the following nod... | https://answers.ros.org/question/221677/need-help-with-map_saver/ | CC-MAIN-2019-51 | refinedweb | 221 | 53.27 |
I'm following the instructions on the page below to automate the login into the blue mix container registry.
But I keep getting the message back: Error response from daemon: Get: unsupported: The requested authentication method is not supported. Run the
bx cr login command. To use registry tokens, use
docker login -u t... | https://developer.ibm.com/answers/questions/409788/logging-into-container-registry-using-tokenss-not.html | CC-MAIN-2019-35 | refinedweb | 331 | 50.53 |
Things You'll Need:
- Computer
- Internet connection
- W-2 Forms from employers
- Previous year's tax return (optional)
- Bank account information (optional)
- All receipts and statements for income and deductions
- Step 1
Gather all required documentation. Your individual situation determines what documents you need t... | http://www.ehow.com/how_2283094_file-taxes-online.html | crawl-002 | refinedweb | 373 | 69.82 |
I don’t know if this was “the” official use case, but the following produces a warning in Java (that can further produce compile errors if mixed with
return statements, leading to unreachable code):
while (1 == 2) { // Note that "if" is treated differently System.out.println("Unreachable code"); }
However, this is lega... | https://programming-articles.com/what-are-the-proper-use-cases-for-android-usermanager-isuseragoat/ | CC-MAIN-2022-40 | refinedweb | 507 | 57.37 |
In multimedia, we often write vector assembly (SIMD) implementations of computationally expensive functions to make our software faster. At a high level, there are three basic approaches to write assembly optimizations (for any architecture):
- intrinsics;
- inline assembly;
- hand-written assembly.
Inline assembly is ... | https://blogs.gnome.org/rbultje/ | CC-MAIN-2018-30 | refinedweb | 2,714 | 57.91 |
Go Import
One of the main use cases of the Go language with Elements is to use functionality from one of the countless existing Go libraries in your own project. Of course, it is always possible to just add the
.go source files to your project directly, but for using complete libraries there's an easier way: Go Imports... | https://docs.elementscompiler.com/Tools/GoImport/ | CC-MAIN-2019-39 | refinedweb | 602 | 64.61 |
Adding Google ReCaptcha to forms in Laravel
Add a captcha to your forms to protect your site from automated bots in just a few minutes
Google’s ReCaptcha is a system designed to check whether a user on a website is human or not and therefore prevent bots from engaging in unwanted behaviour on the site.
Following on fro... | https://medium.com/@welcm/adding-google-recaptcha-to-forms-in-laravel-4be8a4b0e0e9 | CC-MAIN-2019-35 | refinedweb | 751 | 50.77 |
Hello folks, Ned here again. Previously I explained how swapping out existing storage can be a method to migrate an existing DFSR environment to new hardware or operating system. Now in this final article I will discuss how reinstallation or an in-place upgrade can be used to deploy a later version of DFSR. Naturally t... | https://blogs.technet.microsoft.com/askds/2010/09/10/replacing-dfsr-member-hardware-or-os-part-5-reinstall-and-upgrade/ | CC-MAIN-2016-50 | refinedweb | 1,451 | 53 |
The inexorable march of progress continues in the Mozilla Framework Based on Templates with the addition of
MOZ_FINAL, through which you can limit various forms of inheritance in C++.
Traditional C++ inheritance mostly can’t be controlled
In C++98 any class can be inherited. (An extremely obscure pattern will prevent t... | https://whereswalden.com/tag/final/ | CC-MAIN-2020-34 | refinedweb | 873 | 52.49 |
What is wrong with --> total += rates[i][n];What is wrong with --> total += rates[i][n];Code:
#include <iostream>
#include <iomanip>
using namespace std;
//chose to use #define since columns/rows are a constant in the program
#define x 5
#define y 3
int main()
{
//declare variables
double i, n, total = 0.0;
float avera... | http://forums.codeguru.com/printthread.php?t=535609&pp=15&page=1 | CC-MAIN-2017-04 | refinedweb | 162 | 55.41 |
There).
For (b) to work, I want to get to the point where I don’t use the @FXML annotation at all. Right now we have to use it for binding things up, but when RT-14880 is fixed and we have some implicit reference to the controller, then I’ll be able to have very powerful bindings defined in the FXML document back to st... | http://fxexperience.com/2011/10/fxml-guice/ | CC-MAIN-2014-42 | refinedweb | 3,052 | 61.67 |
Today I started my learning on Angular Framework.
I am writing this blog to share my experience, understanding about the topics I covered today and also to have a good discussion if I have some wrong understanding.
What is Angular
Angular is a web framework which uses Typescript lead by the Angular team at Google.
Crea... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/rohithv07/angular-learning-2koi | CC-MAIN-2021-21 | refinedweb | 821 | 57.06 |
Hello! I have been thinking about containers at work. I’m going to talk about running containers in production! I’ve talked before about how using Docker for development is great, but that’s not what this post is about. Using docker in development seems really great and fine and I have no problems with it.
However I ha... | https://jvns.ca/blog/2016/09/15/whats-up-with-containers-docker-and-rkt/ | CC-MAIN-2016-44 | refinedweb | 1,061 | 75.81 |
This is the gr-vocoder package. It contains all available vocoders in GNU Radio. The Python namespaces is in gnuradio.vocoder, which would be normally imported as:
See the Doxygen documentation for details about the blocks available in this package.
A quick listing of the details can be found in Python after importing ... | https://www.gnuradio.org/doc/doxygen/page_vocoder.html | CC-MAIN-2018-22 | refinedweb | 125 | 67.55 |
Oracle Database }
Importance")) }
Connecting Go Lang to Oracle Database
It seems like more and more people are using Go. With that comes the need to access a database or databases. This blog will show you how to get connected to an Oracle Database and to perform some basic operations using Go.
The first thing you need ... | https://oralytics.com/category/oracle-database/ | CC-MAIN-2020-40 | refinedweb | 1,001 | 61.12 |
Python: Square the elements of a list using map()
Python map: Exercise-5 with Solution
Write a Python program to square the elements of a list using map() function.
Sample Solution:
Python Code :
def square_num(n): return n * n nums = [4, 5, 2, 9] print("Original List: ",nums) result = map(square_num, nums) print("Squa... | https://www.w3resource.com/python-exercises/map/python-map-exercise-5.php | CC-MAIN-2021-21 | refinedweb | 153 | 50.3 |
Simulate a Media Player
This example shows how to create an interface between a Stateflow® chart that uses C as the action language and a MATLAB® app created in App Designer. For more information on connecting a Stateflow chart that uses MATLAB as the action language to a MATLAB app, see Model a Power Window Controller... | https://se.mathworks.com/help/stateflow/ug/model-media-player-using-strings.html | CC-MAIN-2022-33 | refinedweb | 1,492 | 55.34 |
Tisserand plots and applications in gravity assisted maneuvers¶
Spacecraft fuel is limited and thus becomes a constrain when developing interplanetary maneuvers. In order to save propellant, mission analysis team usually benefits from so called gravity assisted maneuvers. Although they are usually applied for increasin... | https://docs.poliastro.space/en/latest/examples/Tisserand.html | CC-MAIN-2021-17 | refinedweb | 895 | 52.15 |
Wheel¶?¶.
Usage¶
The current version of wheel can be used to speed up repeated installations by reducing the number of times you have to compile your software. When you are creating a virtualenv for each revision of your software the savings can be dramatic. This example packages pyramid and all its dependencies as whe... | https://wheel.readthedocs.org/en/latest/ | CC-MAIN-2015-32 | refinedweb | 592 | 53.51 |
IRC log of webont on 2002-10-17
Timestamps are in UTC.
15:02:14 [RRSAgent]
RRSAgent has joined #webont
15:53:54 [jjc]
jjc has joined #webont
15:54:07 [jjc]
Zakim, what's the number?
15:54:08 [Zakim]
I don't understand your question, jjc.
15:54:14 [jjc]
Zakim, help?
15:54:15 [Zakim]
Please refer to
for more detailed hel... | http://www.w3.org/2002/10/17-webont-irc | CC-MAIN-2016-40 | refinedweb | 2,300 | 76.22 |
On Tue, 26'.> > Just to be clear, then: this idea is fundamentally different from the > mkdir/cd analogy the thread starts with above.NACK, it's very similar to the cd "$HOME" (or ulimit calls) done by thelogin mechanism, except for the fact that no shell does implement asetnamespace command and therefore can't leave t... | https://lkml.org/lkml/2005/4/26/275 | CC-MAIN-2015-14 | refinedweb | 249 | 55.64 |
Over the past couple weeks, Nong Li and I added a streaming binary format to Apache Arrow, accompanying the existing random access / IPC file format. We have implementations in Java and C++, plus Python bindings. In this post, I explain how the format works and show how you can achieve very high data throughput to pand... | https://wesmckinney.com/blog/arrow-streaming-columnar/ | CC-MAIN-2021-31 | refinedweb | 922 | 57.16 |
view raw
I am following along with a PluralSight course and practicing writing a basic service in Angular2. I have the following service file:
customer.service.ts
import { Injectable } from '@angular/core';
@Injectable()
export class CustomerService {
constructor() {}
getCustomers() {
return
[
{id: 1, name: 'Ward'},
{i... | https://codedump.io/share/mwIDO7VcV8aj/1/error-ts7027-unreachable-code-detected-in-angular2-typescript-service-class | CC-MAIN-2017-22 | refinedweb | 180 | 61.67 |
Ok I am getting an error with my cout statement for my vector problem. This problem doesn't look any different that any other problem that I have done- so maybe I am just loosing it =)
The error is
binary '<<' : no operator defined which takes a right-hand operand of type 'class std::vector<int,class std::allocator<int... | https://cboard.cprogramming.com/cplusplus-programming/32697-vector-error.html | CC-MAIN-2017-09 | refinedweb | 125 | 53.61 |
tmux recently updated to version 1.8, and with the update came a new command that greatly simplifies integrating with the OS X clipboard.
With prior versions of tmux, there wasn’t a straightforward method for getting text copied in tmux to the OS X clipboard. In How to Copy and Paste with tmux on Mac OS X we shared the... | https://robots.thoughtbot.com/tmux-copy-paste-on-os-x-a-better-future | CC-MAIN-2016-50 | refinedweb | 381 | 56.89 |
SCALBLN(3) Linux Programmer's Manual SCALBLN(3)
scalbn, scalbnf, scalbnl, scalbln, scalblnf, scalblnl - multiply floating-point number by integral power of radix
#include <math.h> double scalbln(double x, long exp); float scalblnf(float x, long exp); long double scalblnl(long double x, long: Range error, overflow An ov... | https://man7.org/linux/man-pages/man3/scalbln.3.html | CC-MAIN-2021-17 | refinedweb | 134 | 58.48 |
Made
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Kerberos digest..."
Today's Topics:
3. AIX 5.2 and Kerberos 1.4.1 Patches (Milton Turley)
Date: Thu, 05 May 2005 15:08:15 -0600
From: Milton Turley <mturley@lanl.gov>
To: [email]kerberos@mit.edu[/email]
Subject: AIX 5.2 and K... | http://fixunix.com/kerberos/59533-re-kerberos-digest-vol-29-issue-7-a-print.html | CC-MAIN-2015-35 | refinedweb | 416 | 60.61 |
Agenda
See also: IRC log
<ericP> adding ":x1 :z :p .
<scribe> Scribe: LeeF
<ericP> " made it more sensitive
->]
<iv_an_ru> ??P6 is me
<scribe> ACTION: AndyS or LeeF to mark non-SELECT tests using :QueryForm classes, and to move those URIs to the qt: namespace [DONE] [recorded in]
<iv_an_ru> Zakim ??P6 is: <>
scribe:
ex... | http://www.w3.org/2007/08/14-dawg-minutes.html | crawl-002 | refinedweb | 216 | 66.84 |
This project shows how to extract email addresses from a document or string.
I was listening to the most recent .NET Rocks where Carl Franklin mentioned an exercise he had in a class that asked the attendees to extract email addresses from a string. He said that the exercise took some people a couple hours to complete ... | http://www.codeproject.com/Articles/4583/Extracting-EMail-Addresses-From-a-Document-or-Stri?PageFlow=FixedWidth | CC-MAIN-2015-40 | refinedweb | 345 | 57.98 |
This page is a brief discussion of a potential solution to one of the Best Practice Recipe Issues: Serving the latest of multiple snapshots of a vocabulary.
Currently the Recipes discuss a possible naming convention for multiple snapshots of a vocabulary:
"Conventions in common use for distinguishing successive descrip... | https://www.w3.org/2006/07/SWD/wiki/BestPracticeRecipesIssues/ServingSnapshots | CC-MAIN-2016-44 | refinedweb | 272 | 54.63 |
KNSCore::EntryWrapper
#include <entrywrapper.h>
Detailed Description
TODO KF6 see above (in short, make this class irrelevant so it can be removed)
Wraps a KNSCore::EntryInternal in a QObject for passing through Qt Quick
For those places where we need to pass a KNSCore::EntryInternal through Qt Quick, this class wraps ... | https://api.kde.org/frameworks/knewstuff/html/classKNSCore_1_1EntryWrapper.html | CC-MAIN-2021-43 | refinedweb | 131 | 50.67 |
The.
The goal was simple: replace my USB drives with a secure way of storing my files in the cloud. I wanted a web app so I could access my files anywhere. Furthermore, if I use a service like S3, then I could feel safe knowing my files were going to be there tomorrow (99.999999999% durability). Amazon S3 also provides... | http://charlesleifer.com/blog/web-based-encrypted-file-storage-using-flask-and-aws/ | CC-MAIN-2015-48 | refinedweb | 1,713 | 57.77 |
Created on 2017-04-11 20:41 by tlotze, last changed 2017-04-19 07:11 by corona10.
A csv.writer with quoting=csv.QUOTE_NONNUMERIC does not quote boolean values, which makes a csv.reader with the same quoting behaviour fail on that value:
-------- csv.py ----------
import csv
import io
f = io.StringIO()
writer = csv.writ... | http://bugs.python.org/issue30046 | CC-MAIN-2017-34 | refinedweb | 309 | 68.67 |
Details
Description
Since class UTF8 is deprecated, all references of UTF8 in hadoop should be replaced with class Text if the change does not break the system.
Issue Links
- is duplicated by
-
- is related to
HADOOP-5823 Handling javac "deprecated" warning for using UTF8
- Closed
Activity
My vote also on this issue. F... | https://issues.apache.org/jira/browse/HADOOP-414?focusedCommentId=12432673&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel | CC-MAIN-2015-18 | refinedweb | 975 | 72.56 |
Customers often ask about how DFS Namespaces interacts with Offline Files. I asked our new DFS Namespaces PM, Sanjoy Chatterjee, to introduce himself and explain the interaction.
I am Sanjoy Chatterjee, the new PM for the DFS group. My goal for posting on this blog is to clear up common customer questions and/or highli... | https://blogs.technet.microsoft.com/filecab/2006/01/19/using-dfs-namespaces-and-offline-files/ | CC-MAIN-2018-13 | refinedweb | 492 | 61.67 |
Introduction: Talking IBreathe Breathalyzer With Bluetooth IOS App and IoT
This is a tale of boozy thoughts..
Drinking beer, wondering how much alcohol i have actually drunk, wouldn't it be nice to be able to check? and then ping the result to my smartphone? then to the cloud? and the document it as a lovely table to s... | https://www.instructables.com/id/Talking-IBreathe-Breathalyzer-With-Bluetooth-IOS-A/ | CC-MAIN-2018-34 | refinedweb | 2,053 | 78.38 |
#include <stdlib.h> long a64l(const char *s);
char *l64a(long l);
These functions maintain numbers stored in base-64 ASCII characters that define a notation by which long integers can be represented by up to six characters. Each character represents a “digit” in a radix-64 notation.
The characters used to represent “di... | http://docs.oracle.com/cd/E36784_01/html/E36874/a64l-3c.html | CC-MAIN-2017-22 | refinedweb | 202 | 52.29 |
, Cerbero Suite Cerbero Suite is to allow users to do things in the simplest way possible. Thus, showing a practical sample is the best way to demonstrate how it all works.
You’ll notice that the upcoming version of Cerbero Suite:
[KeyProvider Test] file = key_provider.py callback = keyProvider ; this is an optional fi... | https://cerbero-blog.com/?p=970 | CC-MAIN-2022-40 | refinedweb | 188 | 67.35 |
Mapping A Hibernate Query to a Custom Class
Last modified: October 28, 2018
1. Overview
When we use Hibernate to retrieve data from the database, by default, it uses the retrieved data to construct the whole object graph for the object requested. But sometimes we might want to retrieve only part of the data, preferably... | https://www.baeldung.com/hibernate-query-to-custom-class | CC-MAIN-2019-26 | refinedweb | 869 | 50.12 |
Subject: Re: [boost] [odeint] Iterator semantics
From: Karsten Ahnert (karsten.ahnert_at_[hidden])
Date: 2012-07-31 10:30:45
On 07/31/2012 03:07 PM, Mario Mulansky wrote:
> On Tuesday, July 31, 2012 11:47:55 am Sergey Mitsyn wrote:
>> On 29.07.2012 6:31, Dave Abrahams wrote:
>>> on Thu Jul 12 2012, Karsten Ahnert <kars... | https://lists.boost.org/Archives/boost/2012/07/195407.php | CC-MAIN-2020-40 | refinedweb | 424 | 65.52 |
Import on "." needed?
- theoriginalgri
I.
- anselmolsm
There is a section in the docs explaining how "QML Modules": import works and the two types of modules: location modules and installed modules.
This doc section worth reading, summing up what happens is:
- The current directory is by default part of the QML import ... | https://forum.qt.io/topic/1208/import-on-needed | CC-MAIN-2018-26 | refinedweb | 407 | 65.22 |
Agenda
See also: IRC log, previous 2006-05-01 record
<Ralph> ? I'm getting 404 on information-resource-debate-and-rda.html
Mark: it doesn't always seem easy to tell when the subject is a car or a Web page. Current usage infers implicitly that a document that has both a dc.author and a geo.location property is likely ta... | http://www.w3.org/2006/05/08-htmltf-minutes.html | CC-MAIN-2016-40 | refinedweb | 669 | 53.24 |
Julian schrieb: > I have two questions though... Is there any reason why Python is defining > them to 1? No particular reason, except that it's C tradition to give macros a value of 1 when you define them. > And then later on in the same file: > /* Turn off warnings about deprecated C runtime functions in > VisualStudi... | https://mail.python.org/pipermail/python-dev/2006-November/070004.html | CC-MAIN-2018-26 | refinedweb | 181 | 60.92 |
Sound in XNA Game Studio / .NET
By Adok/Hugi
Introduction
As a follow-up to my XNA Game Studio Tutorial from Hugi #34, I'm now going to talk about how to include sound and music in your game with XNA Game Studio 2.0.
But first I must give you some information that was missing in the previous article. In Hugi #34, I wro... | http://hugi.scene.org/online/hugi35/hugi%2035%20-%20coding%20corner%20adok%20sound%20in%20xna%20game%20studio.htm | CC-MAIN-2018-47 | refinedweb | 1,328 | 75.71 |
Non-Compete Agreement Beyond Term of Employment?
kdawson posted more than 6 years ago | from the long-arm-of-the-contract dept.
.
Yes, I Signed One (3, Funny)
Skeetskeetskeet (906997) | more than 6 years ago | (#21319693)
Re:Yes, I Signed One (2, Funny)
ozmanjusri (601766) | more than 6 years ago | (#21319903)
Understa... | http://beta.slashdot.org/story/93107 | CC-MAIN-2014-42 | refinedweb | 5,517 | 77.06 |
Hi,
I am very frustrated right now. Sometimes my functions work and sometimes they dont. This is how I have implemented certain double link list functions.
For example, the destroy function doesnt work, the print doesnt work, EVEN THE LIST SIZE doesnt work.
Eg., if I do int a = list_length(L), then do printf(%i,a), the... | http://cboard.cprogramming.com/c-programming/127178-problem-fundamental-understanding-double-link-list.html | CC-MAIN-2013-20 | refinedweb | 360 | 61.46 |
i did. i don't know what happened to it.
what i basically stated was that the operating agreement generally determines the percentage of profit and distribution. if it is silent, you would likely do a distribution in amounts that match up with percentage ownership. also, if the 2 of you are the sole members, you can ma... | http://www.justanswer.com/business-law/42lpy-just-formed-llc-wife-business.html | CC-MAIN-2014-52 | refinedweb | 249 | 59.13 |
I created a program for for my 11th grade computer science project where I made a java password cracker that brute-forces the password. However, I would like to get some advice on how to multi-thread my java program (code provided below) to speed up the brute-force process. If it helps at all I am running a i7-3770 pro... | http://www.howtobuildsoftware.com/index.php/how-do/btt7/java-multithreading-passwords-processor-how-to-multi-thread-a-brute-force-java-password-program | CC-MAIN-2018-09 | refinedweb | 237 | 69.89 |
68
Joined
Last visited
Community Reputation101 Neutral
About zabo
- RankMember
zabo posted a topic in Your AnnouncementsHey guys, I have an almost finished game here. I need some people to try it out!. The premise of the game is simple, try and get to the exit! BTW, if presented the option, try it at the highest resolu... | https://www.gamedev.net/profile/129936-reaganm/?tab=idm | CC-MAIN-2017-30 | refinedweb | 986 | 63.63 |
dirfd man page
Prolog
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
dirfd — extract the file descriptor used by a DIR stream
S... | https://www.mankier.com/3p/dirfd | CC-MAIN-2019-04 | refinedweb | 354 | 54.12 |
Entry Points are a part of the setuptools module that is included with TurboGears. They make creating extensible applications very simple. TurboGears uses them to provide extension behavior for a number of its components. You can find a list of the entry point names used by TurboGears at TurboGears Entry Point list.
Si... | http://www.turbogears.org/1.0/docs/UsingEntryPoints.html | CC-MAIN-2016-26 | refinedweb | 489 | 65.12 |
I spent last week in Okinawa, attending the first face-to-face meeting of SC 34 Working Group 4. This is the group responsible for the maintenance of IS29500, with Murata Makoto as the convenor and Rex Jaeschke as the project editor. I haven't seen the official list of attendees yet, but there were representatives pres... | http://blogs.msdn.com/b/dmahugh/archive/2009/02/03/okinawa-wg4-wg5-meetings.aspx | CC-MAIN-2014-23 | refinedweb | 548 | 63.73 |
Topic: How to use JWT authentication with MDB Angular?
Damian Gemza
posted 1 months ago
While reading this article you will create a very simple Angular application using backend in Node and Express and Json Web Tokens.
The aim of this article is to introduce you to what JWT is and how to use it.
Introduction
Json Web ... | https://mdbootstrap.com/articles/angular/how-to-use-jwt-authentication-with-mdb-angular/ | CC-MAIN-2019-30 | refinedweb | 1,764 | 57.16 |
Hello again, this is Peter Gurevich, Performance PM (among other things) for IE7.. You should see noticeable improvements on AJAX sites in the Release Candidate we shipped last week. I want you also to know that performance of the object model and JavaScript engine will be an area that we focus on strongly in future re... | http://blogs.msdn.com/b/ie/archive/2006/08/28/728654.aspx?Redirected=true&title=IE%20+%20JavaScript%20Performance%20Recommendations%20-%20Part%201&summary=&source=Microsoft&armin=armin | CC-MAIN-2014-23 | refinedweb | 1,621 | 53.51 |
REST Project
- Basic UI for a Responsive REST Client App
- Weather Services
- REST Request & JSON Parsing with Qt / QML
- Parse the REST Response
- JSON Data Model for REST Requests
- Data Persistence
- Deploy the App to Android, iOS and Desktop
- More Posts Like This
Spoiler: Basic REST Example with Felgo
Before we ju... | https://felgo.com/cross-platform-app-development/access-rest-services-qt-felgo-weather-service-example-app-open-source | CC-MAIN-2019-39 | refinedweb | 3,677 | 60.11 |
I started this article with the objective of providing a more up to date discussion of thread priorities. I thought first that I should cover a little about threads just in case. If you are already conversant in threads, jump ahead to the Thread Priorities section.
Threads are a valuable part of the .NET MF programming... | http://blogs.msdn.com/b/netmfteam/archive/2011/01/17/threads-and-thread-priorities-in-netmf.aspx | CC-MAIN-2015-35 | refinedweb | 1,541 | 63.39 |
Contents
- Introduction
- Working with namespaces
- Improper use of node test text()
- Don't lose the context node
- Avoid broken links in non-Microsoft browsers
- Simplify stylesheets by changing the context node
- Processing mixed content
- Ineffectiveness in your stylesheets
- XSLT 1.0 or 2.0?
- Conclusion
- Downloa... | https://www.ibm.com/developerworks/library/x-xsltmistakes/ | CC-MAIN-2018-39 | refinedweb | 2,934 | 51.68 |
Written By Neil
A. Dummy Platform Mapping
Initial platform bring-up
As a first step to bring up the platform, we will stick to the bare minimum in order to compile and install the Null application on our nios2 mote.
All platform-specific code goes in tos/platforms/. For example, we have tos/platforms/micaz or tos/platf... | https://yidonghan.wordpress.com/2008/01/ | CC-MAIN-2017-17 | refinedweb | 443 | 51.65 |
Spring is one of the most popular and reliable frameworks available for Java developers. Upon its core, many modules were implemented, like Spring MVC, Spring Security, Spring Data, and so on. In this article we will see how to use Spring Session (one of these Spring modules) to scale JavaServer Faces (JSF) application... | https://auth0.com/blog/horizontal-scaling-jsf-applications-with-spring-session/ | CC-MAIN-2019-47 | refinedweb | 2,520 | 53.92 |
Haskell/Building vocabulary
This chapter will be somewhat different from the surrounding ones. Think of it as an interlude, where the main goal is not to introduce new features, but to present advice for studying (and using!) Haskell. Here, we will discuss the importance of acquiring a vocabulary of functions and how t... | http://en.wikibooks.org/wiki/Haskell/Building_vocabulary | CC-MAIN-2014-42 | refinedweb | 1,206 | 59.74 |
Returning local variable pointers from a function is something you should never do. Because the returned address will exist, but the data inside it will have lost it’s scope.
Nevertheless, whether or not you should do it, is something people often disregard, and thus GCC 5.x and above have tried to ensure you don’t.
St... | http://blog.codingblocks.com/2016/local-variable-pointer-returning-changes-in-gcc-5 | CC-MAIN-2018-43 | refinedweb | 160 | 69.52 |
In the last post I introduced a very simple “Hello World!” IronRuby application working with AutoCAD, just as I’d previously done with IronPython. My idea for this post was to take the code from my second IronPython post – which showed how to jig an AutoCAD solid from IronPython – and get it working with IronRuby, forc... | http://through-the-interface.typepad.com/through_the_interface/2009/04/jigging-an-autocad-solid-using-ironruby-and-net-well-almost.html | CC-MAIN-2018-09 | refinedweb | 895 | 55.24 |
MongoDB server stub setup
Project description
This package provides a mongodb server stub setup for python doctests.
README
This package provides a mongo database server testing stub. You can simply setup such a mongodb stub server in a doctest like:
import doctest import unittest from m01.stub import testing def test_... | https://pypi.org/project/m01.stub/ | CC-MAIN-2019-47 | refinedweb | 842 | 60.01 |
)
Without going too deep in the functional programming realm, in Scala, there is a handy concept for error handling (well, I’m oversimplifying, but just to give you the idea): the
Either class.
Either is a way to express either a value or an error in the same type. A function returning an
Either is capable of returning... | https://www.maxpagani.org/2020/11/30/comprehensive-for-in-c/ | CC-MAIN-2022-21 | refinedweb | 2,025 | 56.69 |
colored boxes and a text component in a row with padding.
class ViewColoredBoxesWithText extends Component { render() { return ( <View style={{ flexDirection: 'row', height: 100, padding: 20, }}> <View style={{backgroundColor: 'blue', flex: 0.3}} /> <View style={{backgroundColor: 'red', flex: 0.5}} /> <Text>Hello Worl... | http://facebook.github.io/react-native/docs/0.20/view.html | CC-MAIN-2018-47 | refinedweb | 182 | 69.48 |
The following example shows how you can customize the appearance of a ToolTip in Flex 4 by overriding the ToolTip selector in an <fx:Style/> block, or using the StyleManager in ActionS]
Or you can set the ToolTip CSS declaration “Styling tooltips in Flex 4”
why do we need this line?
creationComplete=”btn.toolTip = mx_i... | http://blog.flexexamples.com/2009/08/30/styling-tooltips-in-flex-4/ | CC-MAIN-2017-22 | refinedweb | 290 | 52.76 |
Previously in Experiments, part 7,…
I switched from Compojure to Pedestal in order to take advantage of its support for Server-sent Events. I want to use that to send background updates to the client on completion of a task.
This took a while
I expected this feature to be done very quickly. Up to now, every library I h... | http://batasrki.github.io/blog/2016/01/09/experiments-part-8/ | CC-MAIN-2017-04 | refinedweb | 1,219 | 82.24 |
The State of XML Parsing in Ruby (Circa 2009)
It's almost the end of 2009, and I have to ask: are we through dealing with XML yet?
Although many of us wish we could consume the web through a magic programmer portal that shields us and our code from all the pointy angle brackets, the reality that is the legacy of HTML, ... | https://blog.engineyard.com/2009/xml-parsing-in-ruby | CC-MAIN-2016-26 | refinedweb | 1,919 | 58.28 |
How Flink’s Application Powers Up eBay’s Monitoring System
Status Quo of Flink’s Application in the Monitoring System
Sherlock.IO, eBay’s monitoring platform, processes tens of billions of logs, events, and metrics every day. The Flink Streaming job real-time processing system empowers Sherlock.IO to process logs and e... | https://alibaba-cloud.medium.com/how-flinks-application-powers-up-ebay-s-monitoring-system-c04d761e100b | CC-MAIN-2022-27 | refinedweb | 2,826 | 53.21 |
Queries
Learn how to fetch data with Query components
Fetching data in a simple, predictable way is one of the core features of Apollo Client. In this guide, you'll learn how to build Query components in order to fetch GraphQL data and attach the result to your UI. You'll also learn how Apollo Client simplifies your da... | https://www.apollographql.com/docs/react/v2.5/essentials/queries/ | CC-MAIN-2020-10 | refinedweb | 2,438 | 64.51 |
This guide gets you started programming in TensorFlow. Before using this guide, install TensorFlow. To get the most out of this guide, you should know the following:
- How to program in Python.
- At least a little bit about arrays.
- Ideally, something about machine learning. However, if you know little or nothing abou... | https://www.tensorflow.org/versions/r1.2/get_started/get_started | CC-MAIN-2018-34 | refinedweb | 2,124 | 50.94 |
Actively working on it as we speak, should be ready by Tuesday. Up to you :)
On Sat, Aug 18, 2012 at 10:43 PM, Prescott Nasser <geobmx540@hotmail.com>wrote:
>
>
>
> Itamar - can you provide a status update on what work you've done on the
> Geometry stuff? If it's something that you're close on, could we commit it
> to ... | https://mail-archives.eu.apache.org/mod_mbox/lucenenet-dev/201208.mbox/%3CCAHTr4ZsDyUKjjE47zNUnAD+L81oureXm5T2gp1Un5iYrrjGxzg@mail.gmail.com%3E | CC-MAIN-2021-39 | refinedweb | 362 | 77.33 |
Background
Two important principle of Object Oriented programming are -
- For each class design aim for low coupling and high cohesion.
- Classes should be open for extension but closed for modification.
We will see how we can use these to design any classes.
Class Design
Lets design a simple Employee class which has i... | http://opensourceforgeeks.blogspot.com/2015_02_22_archive.html | CC-MAIN-2019-43 | refinedweb | 574 | 60.82 |
.
Activity
- All
- Work Log
- History
- Activity
- Transitions
We need to let the user define a "flow-graph" of how the supersteps should be executed.
According to this, we need an engine which will execute this.
Also we need a mapping between the input and a specific superstep.
This isn't hacked in a few hours, this i... | https://issues.apache.org/jira/browse/HAMA-511 | CC-MAIN-2015-27 | refinedweb | 1,303 | 55.13 |
February 25, 2020
By Madelyn Eriksen
Static site generators like Gatsby are a massive win for developers. They provide us with automated deployments, faster development cycles, and reduced security burden.
Despite the technical gains, static sites can have a hampered content editing story. Those comfortable with Git an... | https://tinacms.org/blog/gatsby-tina-101 | CC-MAIN-2020-34 | refinedweb | 2,777 | 50.43 |
To date, Microsoft has released a total of six major
versions of the Internet
Explorer browser. But lesser known, is the fact that there
are altogether thirty-six different minor versions of
Internet Explorer out
there in the field. Identifying them programmatically can
be a real headache, and
especially so for the ear... | http://www.codeproject.com/Articles/1583/Determine-the-version-of-Internet-Explorer-install?fid=2925&df=90&mpp=10&noise=1&prof=True&sort=Position&view=Expanded&spc=None&select=1036039&fr=1 | CC-MAIN-2014-35 | refinedweb | 1,003 | 50.33 |
Episode #81: Making your C library callable from Python by wrapping it with Cython
Published Tues, Jun 5, 2018, recorded Fri, May 25, 2018.
Sponsored by digitalocean: pythonbytes.fm/digitalocean
Brian #1: Learning about Machine Learning
- hello tensorflow
- one pager site with a demo of machine learning in action.
- “M... | https://pythonbytes.fm/episodes/show/81/making-your-c-library-callable-from-python-by-wrapping-it-with-cython | CC-MAIN-2019-04 | refinedweb | 810 | 55.44 |
I was writing a program to convert numbers after the decimal point to binary numbers, and I wanted to handle the numbers added to the list other than the extended for statement.
Eclipse Neon 4.6.3 Java8
String variable name= String.join(Characters you want to concatenate,Array name);
public class forPractice { public s... | https://linuxtut.com/en/833e2639f024279b1e5e/ | CC-MAIN-2022-40 | refinedweb | 140 | 67.55 |
i'm studying in code-school right now and mentor give us a home work, but i don't really get it. Can you help me?
So, we were asked to create a geometric shapes via classes:
class Point
attr_accessor :x, :y
def initialize
@x = 10
@y = 10
end
def x=(value)
@x = value
end
def x()
@x
end
def y=(value)
@y = value
end
def y... | https://codedump.io/share/wZnZ6dbnhq9E/1/creating-classes-for-geometric-shapes-points-lines-square-triangle-etc-ruby | CC-MAIN-2016-44 | refinedweb | 452 | 76.96 |
Radiofield does not allow for boolean fields
Radiofield does not allow for boolean fields
Bug:
Radio buttons cannot have the value false; because they check for a falsy value instead of an undefined value, they never return the correct value when queried (eg with #getGroupValue.)
That is, if the declared value of a rad... | http://www.sencha.com/forum/showthread.php?266476-Radiofield-does-not-allow-for-boolean-fields | CC-MAIN-2014-42 | refinedweb | 368 | 72.16 |
If you are writing the very much IO intensive application which needs to write huge amount of data to the files, then you have to do some kind of buffering to improve the performance. Here BufferedOutputStream will be helpful for writing the stream of characters into a file which internally manages a buffer for improvi... | http://www.javabeat.net/java-bufferedoutputstream/ | CC-MAIN-2015-14 | refinedweb | 310 | 51.04 |
Cost allocation, master budgeting, capital decisions
1. Why is cost allocation imprecise?? Pick one of the different methods we can use, describe it and the pluses and minuses of that method?
2. The master budget contains three types of budgets. What do you think is the cornerstone (or most critical element) of the mas... | https://brainmass.com/business/management-accounting/cost-allocation-master-budgeting-capital-decisions-556323 | CC-MAIN-2017-17 | refinedweb | 421 | 53.21 |
This document is intended to note some of the important changes
for Zope 2.4 and to answer some common questions of Zope users
and developers.
The focus of the Zope 2.4 release has been the move to using
Python 2.1 as the basic platform, so many of the issues addressed
here are related to the effects of that change.
As... | http://old.zope.org/Products/Zope/2.4.0/Zope24MigrationGuide.html.1 | crawl-003 | refinedweb | 1,035 | 64.81 |
I have a Netduino+ hooked up on the Internet with data logging via Google docs.
Before.
Teacher Notes
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Filling a Spreadsheet
Filling a spreadsheet in google docs goes always via a form... | https://www.instructables.com/id/How-to-use-Google-docs-for-data-logging/ | CC-MAIN-2019-39 | refinedweb | 1,645 | 58.28 |
Another VS 2010 feature : Pin-Up
Hello,
I have been using VS 2010 Beta 2 for sometime and today I came across another beautiful feature.Now , I don't know in technical terms what to call this feature, so its that I rather explain it with few pictures.
Following is a very small piece of code I wrote as reply to one of t... | http://weblogs.asp.net/pawanmishra/another-vs-2010-feature-pin-up | CC-MAIN-2015-48 | refinedweb | 422 | 65.62 |
I'm trying to load a SWF into a simple app for test purposes. The SWF has been compiled using swftools-0.9.1 using the following command:
/usr/bin/pdf2swf 10993.PDF -o 10993.SWF -f -T 9
The SWF loads fine in a browser.
Using the following Flex code together with Flex SDK 4.6:
<?xml version="1.0" encoding="utf-8"?>
<s:W... | http://forums.adobe.com/thread/1167142 | CC-MAIN-2014-15 | refinedweb | 516 | 66.84 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.