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 |
|---|---|---|---|---|---|
Servers/admin log/October 2008
From OpenStreetMap Wiki
Contents
October 30
- 08:45 Firefishy: "resumed" planet export steps after server power outage.
October 29
- 14:10 TomH: Restore systems after power outage.
October 24
- 16:45 Firefishy: Puff, restarted rails after unexpected system reboot
- 20:18 Jburgess: Puff, n... | http://wiki.openstreetmap.org/wiki/Servers/admin_log/October_2008 | CC-MAIN-2016-50 | refinedweb | 289 | 51.95 |
On Thu, 2 Dec 1999, David Woolley wrote: > > 991121 Thomas Burdick asked: > > > Are there any plans to add support for file uploads in forms? > > > > it's not clear just what you are referring to: > > He means multipart/form-data Your are confusing two issues. "multipart/form-data" has been supported for a long time. W... | http://lists.gnu.org/archive/html/lynx-dev/1999-12/msg00030.html | CC-MAIN-2015-48 | refinedweb | 237 | 67.55 |
NAME
acl_cmp — compare two ACLs
LIBRARY
Linux Access Control Lists library (libacl, -lacl).
SYNOPSIS
#include <sys/types.h> #include <acl/libacl.h> int acl_cmp(acl_t acl1, acl_t acl2);
DESCRIPTION
The acl_cmp() function compares the ACLs pointed to by the arguments acl1 and acl2 for equality. The two ACLs are considere... | http://manpages.ubuntu.com/manpages/xenial/en/man3/acl_cmp.3.html | CC-MAIN-2018-30 | refinedweb | 194 | 64.51 |
Source code editor What Is Ajax
↑
Database, table, index, column, and alias names are identifiers. This section describes the allowable syntax for identifiers in MySQL.
The following table describes the maximum length for each type of identifier.
There are some restrictions on the characters that may appear in identifi... | http://www.yaldex.com/mysql_manual/ch09s02.html | CC-MAIN-2016-50 | refinedweb | 2,276 | 51.99 |
Code: Select all
#include "Arduino.h" #include <usb_serial.h> #include <HardwareSerial.h> int ledPin = LED_BUILTIN; void setup() { //initialize the ledPin as an output: pinMode(ledPin, OUTPUT); digitalWrite(ledPin, HIGH); Serial.begin(); //AN3155: stm32 usart boot loader requires even parity Serial1.begin(115200,SERIAL... | http://stm32duino.com/viewtopic.php?f=18&t=2752&sid=9b56c48d412c3a0701613ae17dde831b | CC-MAIN-2018-09 | refinedweb | 311 | 61.36 |
I wrote a program for an assignment that should read data from a file on the computer then display the sum of both the positive integers and negative integers. However, when I run my program it goes into an infinite loop. I need to understand what I am doing wrong. Any help would be greatly appreciated.
Code:#include <... | http://cboard.cprogramming.com/cplusplus-programming/141912-beginner-problem-loop.html | CC-MAIN-2013-48 | refinedweb | 137 | 67.25 |
In this tutorial we will be going over how to use a Wia Dot One with a Grove Servo Motor to make the servo lift a flag on a mailbox whenever you have a new email.
Figure 1
Figure 2
#include <WiFi.h>
#include <Wia.h>
#include <ESP32_Servo.h>
String currentState;
String previousState;
Wia wiaClient = Wia();
Servo myServo... | https://community.wia.io/d/96-you-ve-got-mail-iot-e-mailbox-with-gmail-notification | CC-MAIN-2021-10 | refinedweb | 828 | 77.37 |
Are you sure?
This action might not be possible to undo. Are you sure you want to continue?".
Multithreading Benefits
The reason multithreading is still used in spite of its challenges is that multithreading can have several benefits. Some of these benefits are:
•Better resource utilization. •Simpler program design in ... | https://www.scribd.com/document/141200112/Java-Concurrency | CC-MAIN-2018-17 | refinedweb | 18,732 | 60.41 |
Created on 2020-06-05 09:46 by BTaskaya, last changed 2020-06-06 17:26 by pablogsal. This issue is now closed.
import ast
t = ast.fix_missing_locations(ast.Expression(ast.Name("True", ast.Load())))
compile(t, "<t>", "eval")
compilation of this AST can crash the interpreter for 3.8+
test_constant_as_name (test.test_ast.... | https://bugs.python.org/issue40870 | CC-MAIN-2021-21 | refinedweb | 186 | 52.15 |
Dry Behaviour aka Protocol Pattern in Ruby
Aleksei Matiushkin
Nov 14, 2017
Elixir introduced the concept of behaviours. The quote from the official docs:
Protocols are a mechanism to achieve polymorphism in Elixir.
Dispatching on a protocol is available to any data type as long as it implements the protocol.
What is it... | https://dev.to/mudasobwa/dry-behaviour-aka-protocol-pattern-in-ruby-9km | CC-MAIN-2018-09 | refinedweb | 1,301 | 51.04 |
R: Think Bayes Locomotive Problem, or Posterior Probabilities for Different Priors
R: Think Bayes Locomotive Problem, or Posterior Probabilities for Different Priors
Join the DZone community and get the full member experience.Join For Free
In my continued reading of Think Bayes the next problem to tackle is the Locomot... | https://dzone.com/articles/r-think-bayes-locomotive?fromrel=true | CC-MAIN-2019-35 | refinedweb | 1,009 | 55.74 |
Python – Visualize Google Trends Data in Word Cloud
Christmas is just around the corner, the snowfall, beautiful festive lights and joyful songs from the last year still floating in your mind. But this year, things are getting unusual due to the Covid-19. A lot of celebration events are cancelled or suspended and peopl... | https://www.codeforests.com/2020/12/22/google-trends-data-in-word-cloud/ | CC-MAIN-2022-21 | refinedweb | 1,235 | 56.08 |
Introduction why we can still boot into the DOS. We can do that by downloading the zip file attached to this post and then unzipping the archive and adding a new Floppy Controller to the VirtualBox as seen on the picture below:
When we boot the Windows XP operating system after doing that, the booting process can be se... | http://resources.infosecinstitute.com/the-ia-32-real-mode-and-interrupts/ | CC-MAIN-2015-48 | refinedweb | 2,174 | 55.58 |
In this Python programming class, we’ll cover the Python datetime module and understand its functions. Further, you will learn how to get and set the system date-time with the help of the examples.
Please note that this module and its functions could come quite handy for recording the events and logs with the timestamp... | https://www.techbeamers.com/python-datetime/ | CC-MAIN-2019-04 | refinedweb | 902 | 66.54 |
SerialGateway fails to load avr/eeprom.h to Intel Galileo Gen2
- SparkAndHale last edited by SparkAndHale
Hi all,
I installed Arduino IDE 1.6.3 and copied all the library files over to the Arduino library as shown in this video. (I omited the libs which are already in place).
I can upload and run successfully the Ardui... | https://forum.mysensors.org/topic/1306/serialgateway-fails-to-load-avr-eeprom-h-to-intel-galileo-gen2/1?lang=en-US | CC-MAIN-2020-29 | refinedweb | 321 | 70.09 |
Introduction to ASE databases¶
ASE has its own database format that can be used for storing and retrieving atoms (and associated data) in a compact and convenient way. In this exercise we will see how to create databases and how to interact with them through python scripts and the command line.
Setting up a database¶
T... | https://wiki.fysik.dtu.dk/ase/tutorials/tut06_database/database.html | CC-MAIN-2020-16 | refinedweb | 1,147 | 67.15 |
by Zoran Horvat
May 24, 2013
Given an unsorted array containing N integer numbers, write a function which extracts one page from sorted version of the array. Page is a range of elements occupying positions M, M+1, M+2, ... , M+P-1 in the array, where M marks beginning of the page (0 <= M < N) and P is the page size (M+... | http://codinghelmet.com/exercises/array-pagination | CC-MAIN-2019-04 | refinedweb | 1,721 | 57.81 |
Agenda
See also: IRC log
->
Accepted.
->
Accepted.
Our Last Call period ends tomorrow!
Vojtech gives regrets; Norm at risk, but Henry will chair in his absence.
Revisit after looking at the issues.
->
Mohamed asked us to review the kinds of nodes that can go through select/match patterns on steps
See
Norm's proposed ch... | http://www.w3.org/XML/XProc/2008/09/25-minutes.html | CC-MAIN-2014-41 | refinedweb | 885 | 76.11 |
Multi Conditionals
There have been actually several times as I’m writing servers in things like my JDB project and the TridentSDK project in which the following scenario pops up: there is a single thread that manages incoming and outgoing messages. I need to block on an outgoing queue, as well as block until some bytes... | https://agenttroll.github.io/blog/2017/12/21/multi-conditionals.html | CC-MAIN-2020-29 | refinedweb | 1,749 | 53.92 |
CodePlexProject Hosting for Open Source Software
I'm using the updated Orchard.Disqus module (which you can find
here) to enable Disqus for my Orchard 1.6 site. The module is installed and appears to be functioning properly, but none of the comments are showing up.
The module includes a command ("disqus comments import... | https://orchard.codeplex.com/discussions/405905 | CC-MAIN-2017-17 | refinedweb | 1,927 | 51.85 |
How could I take input like
A=30 B=10
How could I take input like
Your query is not so clear that how output is given.
1). if 30 and 10 have a space between them then
A,B = [int(x) for x in input().split()] or equal to map(int,input().split())
input().split(’ ‘) splita strings with ’ ’ and int(x) for x or map(int, )con... | https://discuss.codechef.com/t/python-input/87054 | CC-MAIN-2021-49 | refinedweb | 637 | 62.38 |
note almut <p> For PDF to JPG (or any other raster image format like PNG or TIFF), you could use GhostScript to do the conversion: </p> <c> $ gs -q -dBATCH -dNOPAUSE -sDEVICE=jpeg -dJPEGQ88 -r150 -sOutputFile=img%d.jpg input.pdf </c> <p> This would create as many images (<c>img1.jpg</c> to <c>imgN.jpg</c>) as there are... | http://www.perlmonks.org/index.pl?displaytype=xml;node_id=794918 | CC-MAIN-2018-09 | refinedweb | 309 | 63.59 |
Stephan T. Lavavej: Core C++, 1 of n
- Posted: May 16, 2012 at 7:21 AM
- 132,763 Views
- 52 Comments
Something went wrong getting user information from Channel 9
Something went wrong getting user information from MSDN
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
In part 1, STL focu... | http://channel9.msdn.com/Series/C9-Lectures-Stephan-T-Lavavej-Core-C-/Stephan-T-Lavavej-Core-C-1-of-n | CC-MAIN-2013-48 | refinedweb | 3,410 | 64.71 |
...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The Attribute parser does not consume any input, for this reason it always matches an empty string and always succeeds. It's purpose is to expose its specified paramete... | http://www.boost.org/doc/libs/1_48_0/libs/spirit/doc/html/spirit/qi/reference/auxiliary/attr.html | CC-MAIN-2013-20 | refinedweb | 225 | 50.94 |
There are many variations of this problem, such as 2D packing, linear packing, packing by weight, packing by cost, and so on. They have many applications, such as filling up containers, loading trucks with weight capacity constraints, creating file backups in media and technology mapping in Field-programmable gate arra... | http://www.sanfoundry.com/cpp-program-implement-bin-packing-algorithm/ | CC-MAIN-2017-04 | refinedweb | 243 | 58.55 |
I often got confused about JSON and JSON string. JSON is the code you write in your javascript script to represent an object, so the code is called JavaScript Object Notation. But we can include the piece of code in a string, and the string is called JSON string. Why we need JSON string considering the fact that we can... | https://myprogrammingnotes.com/json-javascript-python-php.html | CC-MAIN-2019-22 | refinedweb | 328 | 64.41 |
I had not seen a good .NET performance challenge in a while so I figured that I would start one. Obviously the real benefit will come in about two weeks when all of these items are analyzed and discussed (I wager everyone involved will learn something!). If this works out well I will try to run these either bi-weekly o... | http://codebetter.com/blogs/gregyoung/archive/2006/07.aspx | crawl-001 | refinedweb | 1,414 | 62.58 |
CodeGuru Forums
>
Visual C++ & C++ Programming
>
C++ (Non Visual C++ Issues)
> FTP messenger (Windows)
PDA
Click to See Complete Forum and Search -->
:
FTP messenger (Windows)
nie_wiadomo
February 6th, 2008, 02:28 PM
Dear programmers,
I wanted to have a simple messenger for me to talk with my friend. If I wanted to use... | http://forums.codeguru.com/archive/index.php/t-445459.html | crawl-003 | refinedweb | 506 | 66.67 |
Command Line User Guide¶
Rasterio’s command line interface (CLI) is a program named “rio” 1.
The CLI allows you to build workflows using shell commands, either interactively at the command prompt or with a script. Many common cases are covered by CLI sub-commands and it is often more convenient to use a ready-made comm... | https://rasterio.readthedocs.io/en/latest/cli.html | CC-MAIN-2021-21 | refinedweb | 2,565 | 60.31 |
.
Converting strings and numbers using string streams in Open C++
Overview
This code snippet shows how to use string streams to convert strings to numbers and vice versa. The sstream library provides a functionality similar to sscanf() and sprintf() in the standard C library. The three main classes of this library are ... | http://developer.nokia.com/community/wiki/Converting_strings_and_numbers_using_string_streams_in_Open_C%2B%2B | CC-MAIN-2014-52 | refinedweb | 422 | 55.74 |
Count each bit-position separately over many 64-bit bitmasks, with AVX but not AVX2
(Related: How to quickly count bits into separate bins in a series of ints on Sandy Bridge? is an earlier duplicate of this, with some different answers. Editor's note: the answers here are probably better.
Also, an AVX2 version of a si... | http://thetopsites.net/article/55081525.shtml | CC-MAIN-2020-50 | refinedweb | 3,009 | 60.35 |
28 December 2004
to 04 January 2005.
Happy New Year to everyone.
1) Anyone tried to compile Ocaml on .NET?
2) Parser for configuration file
3) recmod
4) OCaml NAE releases Cf-0.5 and Iom-0.1
5) Internships and Post-doctoral Positions at MSR Cambridge
6) MacOS port and file formats
7) Ocaml in String Theory
8) timer
==... | http://lwn.net/Articles/117717/ | crawl-003 | refinedweb | 2,699 | 62.88 |
Really Simple Syndication
By Sam Ruby, September 2, 2002.
From Netscape's RDF Site Summary (RSS) 0.9 official DTD, proposed:
RSS is an XML/RDF vocabulary for describing metadata about websites, and enabling the display of "channels" on the "My Netscape" website.
This document explores the basic concepts behind the vari... | http://www.intertwingly.net/stories/2002/09/02/reallySimpleSyndication.html | CC-MAIN-2017-09 | refinedweb | 1,333 | 67.35 |
A vendor sent us three separate files which need to be merged. 70,000+ records each. They're CSV files, so column position doesn't much matter. The column name (in row 1) is what matters.
I looked at three solutions. Two of which are merely OK. The third was some functional programming that was very cool.
Option 1 -- O... | http://slott-softwarearchitect.blogspot.com/2010/05/functional-programming-goodness-python.html | CC-MAIN-2017-43 | refinedweb | 891 | 70.09 |
How to count unique values in a Python list? There are multiple ways and in this tutorial we will go through them as a way for you to practice several Python constructs.
The simplest way to count unique values in a Python list is to convert the list to a set considering that all the elements of a set are unique. You ca... | https://codefather.tech/blog/python-count-unique-values-in-list/ | CC-MAIN-2021-31 | refinedweb | 1,768 | 60.95 |
Groovy Goodness: Using Builder to Create Fluent API for Other Classes
In a previous post we learned about the new
@Builder AST transformation introduced in Groovy 2.3. We applied to the annotation to our class files and we got a nice fluent API to set property values. But what if we cannot change the class itself, for ... | https://blog.jdriven.com/2014/05/groovy-goodness-using-builder-create-fluent-api-classes/ | CC-MAIN-2021-43 | refinedweb | 364 | 50.53 |
Tag:Add to […]
Add instance code of voice input function for textview (integrated iFLYTEK speech recognition)Thank you very much for using your precious time to read my article. Today we bring you a small demo integrating iFLYTEK speech recognition function, adding a voice input function for textview. I believe that in... | https://developpaper.com/tag/add-to/ | CC-MAIN-2020-50 | refinedweb | 665 | 53.61 |
Adding or subtracting a month to a Python
datetime.date or
datetime.datetime is a little bit of a pain. Here is the code I use for that. These functions return the same datetime type as given. They preserve time of day data (if that is at all important to you).
See also:
- Recipe 476197: First / Last Day of the Month.
... | https://code.activestate.com/recipes/577274-subtract-or-add-a-month-to-a-datetimedate-or-datet/?in=lang-python | CC-MAIN-2022-05 | refinedweb | 553 | 72.46 |
20 January 2011 18:28 [Source: ICIS news]
HOUSTON (ICIS)-- A hefty boost in electricity output helped soak up 243bn cubic feet from ?xml:namespace>
The relatively large delivery in the week of 14 January brought total stocks down to 2,716 bcf. The draw was on the high end of market expectations and spurred an increase ... | http://www.icis.com/Articles/2011/01/20/9428005/strong-electricity-demand-spurs-243-bcf-natural-gas.html | CC-MAIN-2014-10 | refinedweb | 203 | 62.38 |
Abdullah Jassim4,551 Points
I didnt understand this video from 3:50 onwards. The following are my specific questions:
1) How does the .pop() function change the list?
- my understanding of the .pop() function is that it merely returns either the last item or the indexed item. So how does this change the list?
2) I did ... | https://teamtreehouse.com/community/i-didnt-understand-this-video-from-350-onwards-the-following-are-my-specific-questions | CC-MAIN-2019-30 | refinedweb | 675 | 64.71 |
You'll need to use a callback function. Basically, a callback function is a function that runs when a piece of code has finished running. In your case, you'd submit the form via the callback function. Have a look at this article.
I have a char* data that I casted in order to access it like this
I have a char* data that... | http://bighow.org/questions/16886796/Pass-a-variable-size-value-out-of-Filereader-function-for-seperate-manipulation | CC-MAIN-2017-26 | refinedweb | 540 | 65.12 |
Introduction
>>IMAGE alternate source of power , so they can continue to keep track of time while the primary source of power is off. This power source is usually a lithium ion battery. My DS3231 has a CR2032 lithium ion battery. These cells typically produce voltages from 1.5V to about 3.7V.
RaspberryPi and the Beagle... | http://saumitra.co/ds3231/ | CC-MAIN-2019-43 | refinedweb | 569 | 57.57 |
Nothing on serial monitor on MySensor sketches
Hello,
I am trying to setup a sensor network connected by MQTT Gateway to Open Hab.
I started with codebender and was unsuccessful so now I am using the Ardiuno IDE. I have been testing the soil moisture and light level sensors thus far. If I upload the LED Blinking sketch... | https://forum.mysensors.org/topic/615/nothing-on-serial-monitor-on-mysensor-sketches | CC-MAIN-2018-43 | refinedweb | 1,233 | 65.83 |
Interleaved Increasing-Decreasing Sort
May 13, 2016
This must be somebody’s homework:
Given an array of integers, rearrange the elements of the array so that elements in even-indexed positions are in ascending order and elements in odd-indexed positions are in descending order. For instance, given the input 0123456789,... | https://programmingpraxis.com/2016/05/13/interleaved-increasing-decreasing-sort/ | CC-MAIN-2017-43 | refinedweb | 723 | 58.11 |
The best answers to the question “PATH issue with pytest 'ImportError: No module named YadaYadaYada'” in the category Dev.
QUESTION:
I used easy_install to install pytest on a mac and started writing tests for a project with a file structure likes so:
repo/ |--app.py |--settings.py |--models.py |--tests/ |--test_app.py... | https://rotadev.com/path-issue-with-pytest-importerror-no-module-named-yadayadayada-dev/ | CC-MAIN-2022-40 | refinedweb | 607 | 67.96 |
What i want to do is calculate the square root of the variance in a statistical program i am creating. Anyways here is some of the code of my program, i have already sorted the data using a sort and have done all the other calculations with other functions that i havent posted in this extract of code but i am having tr... | http://cboard.cprogramming.com/c-programming/44627-finding-square-root-not-working-printable-thread.html | CC-MAIN-2015-14 | refinedweb | 349 | 58.08 |
Building an Internet Router
Integrating with the Hardware VNS framework. Your router server software will run on the machine physically connected to the NetFPGA board and communicate with the board using a driver. In order to make your router run in “cpu” mode, you will have to recompile it using the -D_CPUMODE_ flag (... | http://www.cl.cam.ac.uk/teaching/1011/P33/sw/integrating-with-the-hardware/ | CC-MAIN-2018-05 | refinedweb | 609 | 66.74 |
This page shows you how to resolve issues with Cloud Run.
Deployment errors
This section lists issues that you might encounter with deployment and provides suggestions for how to fix each of them.
Container failed to start
The following error occurs when you try to deploy:
Container failed to start. Failed to start and... | https://cloud.google.com/run/docs/troubleshooting | CC-MAIN-2022-05 | refinedweb | 2,580 | 51.38 |
Introduction¶
Blessed is a thin, practical wrapper around terminal capabilities in Python.
Coding with Blessed looks like this...
from blessed import Terminal t = Terminal() print(t.bold('Hi there!')) print(t.bold_red_on_bright_green('It hurts my eyes!')) with t.location(0, t.height - 1): print(t.center(t.blink('press ... | http://blessed.readthedocs.io/en/latest/intro.html | CC-MAIN-2017-13 | refinedweb | 464 | 51.44 |
Redirect To Other Page From Pop Up Window With Response.redirect?Feb 13, 2010
how can i redirect to other page from pop up window with response.redirect.View 2 Replies
how can i redirect to other page from pop up window with response.redirect.View 2 Replies ...
I need to open a new window with Response.Redirect, Is it ... | https://asp.net.bigresource.com/redirect-to-other-page-from-pop-up-window-with-response-redirect--8GB1HPH5d.html | CC-MAIN-2021-49 | refinedweb | 1,557 | 67.15 |
Lookup field in a Data Form Part
- Wednesday, December 31, 2008 7:37 PM
iamaracinghorseHey everyone!
I'm having a problem here to which i cannot seem to find the answer. Perhaps you can help.
I have a list - we'll call it 'articles' - and in that list is a lookup column called 'related articles' that allows a user to s... | http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/f5ca14c2-925b-4f8d-b306-f7c3d1696be3/ | crawl-002 | refinedweb | 787 | 71.04 |
Conservapedia talk:What is going on at CP?/Archive124
Contents
- 1 Fool me once ...
- 2 Andy's grading
- 3 "Create account" still locked, right?
- 4 the lull before the lulz
- 5 Is Andy Stupid?
- 6 Rule of law
- 7 Andy as a D&D Character
- 8 Guns prevent AIDS, so saith CP...
- 9 What's Wrong with Andy?
- 10 Breaking Ne... | https://rationalwiki.org/wiki/Conservapedia_talk:What_is_going_on_at_CP%3F/Archive124 | CC-MAIN-2019-13 | refinedweb | 19,077 | 71.24 |
In this we will discuss about the ASP.NET Roles and Membership API from MVC perspective.
We will try to see how the default Roles and Membership provides can be used for
authentication and authorization in an MVC application. We will also see how we can implement custom
forms authentication in an ASP.NET MVC applicatio... | http://www.codeproject.com/Articles/578374/AplusBeginner-27splusTutorialplusonplusCustomplusF?PageFlow=FixedWidth | CC-MAIN-2013-48 | refinedweb | 1,733 | 54.02 |
Stuff at the Top of an SVG
If you’ve ever opened up an SVG file to look at the code, you’ve probably thought to yourself: “What’s all that stuff at the top?
DOCTYPE,
version,
xmlns,
xmlns:xlink… what’s their purpose, and can I get rid of them?” Unlike the majority of SVG code—which is readable and understandable to an ... | https://medium.com/@pnowelldesign/stuff-at-the-top-of-an-svg-f3ad198eb54e?utm_source=frontendfocus&utm_medium=email | CC-MAIN-2017-26 | refinedweb | 1,302 | 62.68 |
Easily use Outpan API to get product info from its barcode
Project description
Python client for the Outpan.com API
Usage
You’ll first need to create an account and get your API key.
Once you have your API key and the package is installed - see below - you are set and ready to go.
Getting ready
To access the Outpan API... | https://pypi.org/project/outpan/ | CC-MAIN-2022-27 | refinedweb | 511 | 63.9 |
A little bit of lunchtime coding.
def closeBracket(openbracket): if openbracket == '{': return '}' elif openbracket == '(': return ')' elif openbracket == '[': return ']' if __name__ == "__main__": testcase = ('{{[{{{{}}{{}}}[]}[][{}][({[(({{[][()()]}}{[{{{}}}]}))][()]{[[{((()))({}(())[][])}][]()]}{()[()]}]})][]]}{{}[]... | https://chrisheydrick.com/2013/01/22/my-solution-to-the-second-colossal-cue-adventure-puzzle/ | CC-MAIN-2019-39 | refinedweb | 477 | 72.87 |
The Microsoft SQL Server JDBC team is proud to announce the availability of our v1.2 CTP2 (beta) release. The driver is downloadable at. The direct link to the download page is
In this CTP release, we added SSL encryption support to the driver on top of the Adaptive response buffering support available in CTP1.
Jimmy W... | https://blogs.msdn.microsoft.com/jdbcteam/2007/09/05/sql-server-2005-jdbc-driver-v1-2-aug-ctp-is-live/?replytocom=183 | CC-MAIN-2017-47 | refinedweb | 1,678 | 58.69 |
The return of Silvio Berlusconi Mamma mia Italians may come to regret electing Silvio Berlusconi once again See article
Readers' comments
Reader comments are listed below. Comments are currently closed and new comments are no longer being accepted.
Sort:
Seems to me that the "Economist" is a little embarassed by its pr... | http://www.economist.com/comment/26425 | CC-MAIN-2014-15 | refinedweb | 3,129 | 63.09 |
3D text shape node. More...
#include <Inventor/nodes/SoText3.h>
3D text shape node.
This node defines one or more strings of 3D text. In contrast with SoText2, 3D text can be rotated, scaled, lighted, and textured like all other 3D shapes.
Optionally (setting the parts field) each character in a 3D text string may be a... | https://developer.openinventor.com/refmans/latest/RefManCpp/class_so_text3.html | CC-MAIN-2021-04 | refinedweb | 984 | 57.16 |
Name: Full name here
Due: September 19, 2016 by 11:00am
In this week's lab, we continue with learning about the fundamentals of using Sage for computational work. Whereas last week we focused on becoming more familiar with the interface of Jupyter notebooks and the basic syntax and features of Sage, in this lab we will... | https://share.cocalc.com/share/08d5fc07a0b2f4b4f393615e58cf4b70851203de/Week%2003%20Lab/CDS-102%20Week%2003%20Lab.ipynb?viewer=share | CC-MAIN-2020-10 | refinedweb | 1,764 | 61.46 |
Built in YAML provider
Since Beta 6, resteasy comes with built in support for YAML using the Jyaml library. To enable YAML support, you need to drop in the jyaml-1.3.jar in RestEASY's classpath.
Mime Types
The Yaml provider recognises three mime types:
text/x-yaml
text/yaml
application/x-yaml
Example
This is an example... | https://developer.jboss.org/wiki/BuiltInYamlProvider | CC-MAIN-2018-43 | refinedweb | 103 | 61.53 |
Using Inheritance
Inheritance in C# gives us the ability to create classes which are derived from existing classes. In new derived classes, we only have to specify the methods that are new or changed. All the others are provided automatically from the base class we inherit from. To see how this works, lets consider wri... | http://www.dotnetspark.com/kb/404-using-inheritance.aspx | CC-MAIN-2018-13 | refinedweb | 152 | 61.26 |
If.
Help me out, since I’m not creative enough to envision non-academic scenarios where such things are needed.. About all I can think of was back to Database class where we mangled a disk simulator to write B-tree database structures to the fake disk, and read them back into arbitrary data records. In that scenario, n... | https://blogs.msdn.microsoft.com/oldnewthing/20071227-00/?p=24013 | CC-MAIN-2017-43 | refinedweb | 2,767 | 66.67 |
.
For a light version of sigslots suitable for firmware projects, see ecl_sigslots_lite.
Anywhere that triggers an event requiring a callback to be executed can be implemented with a signal. These can be placed anywhere in your code and can be connected to one or many slots.
Anywhere that a callback function is require... | https://docs.ros.org/en/jade/api/ecl_sigslots/html/ | CC-MAIN-2021-21 | refinedweb | 289 | 57.67 |
In windows explorer (and linux gnome) shows for each file a thumbnail or icon. Like with EXEs, images, videos, txt-files, ini-files, Word documents and so much other file types. Now is my question: Is there a way to get a (preferably large) icon by file.
Something like:
public static BufferedImage getThumbnail(File fil... | https://codedump.io/share/3w9Fz84F2XkT/1/java-how-to-get-the-thumbnail-from-a-file | CC-MAIN-2016-50 | refinedweb | 161 | 67.96 |
[QBS] How to link project references?
I had put our project dependencies as references. I am able to build them, but at the link time the linker is unable to find builded libraries (added to cpp.staticLibraries property).
I had try to put the path in the cpp.libraryPaths, it doesn't works and as the output folder of re... | https://forum.qt.io/topic/40169/qbs-how-to-link-project-references | CC-MAIN-2018-43 | refinedweb | 150 | 66.74 |
Numpy bool arrays don't work with Pythran backend
It doesn't seem to be possible to pass a bool array to a jit-compiled function with the Pythran backend. I didn't try with other backends. Here's an example:
import numpy as np from transonic import jit, Array, wait_for_all_extensions, typeof @jit def test1(a: Array[boo... | https://foss.heptapod.net/fluiddyn/transonic/-/issues/36 | CC-MAIN-2021-43 | refinedweb | 185 | 51.75 |
------------------------------------------------------------ revno: 106608 committer: Juanma Barranquero <address@hidden> branch nick: trunk timestamp: Sun 2011-12-04 18:13:01 +0100 message: Fix emacsclient bug where "-n -c" does not open a new frame on Windows. * lib-src/emacsclient.c (decode_options) [WINDOWSNT]: Don... | http://lists.gnu.org/archive/html/emacs-diffs/2011-12/msg00043.html | CC-MAIN-2016-30 | refinedweb | 742 | 64.41 |
putc(3) BSD Library Functions Manual putc(3)
NAME
fputc, putc, putc_unlocked, putchar, putchar_unlocked, putw -- output a character or word to a stream
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <stdio.h> int fputc(int c, FILE *stream); int putc(int c, FILE *stream); int putc_unlocked(int c, FILE *stream)... | http://www.manpagez.com/man/3/fputc/ | CC-MAIN-2018-51 | refinedweb | 163 | 67.18 |
We Can map ON_WM_KEYDOWN message to view class, Similarly Can i map ON_WM_KEYDOWN message to my window which is derived from CWnd? I tried it, but i'm not getting message to my window.
I want to map ON_WM_KEYDOWN message to my window. How to achieve it?
-pkalp
Your CView (I'm assuming you are referring to such a class)... | http://forums.codeguru.com/showthread.php?350603-ADO-error-reading-an-empty-field&goto=nextoldest | CC-MAIN-2018-22 | refinedweb | 1,419 | 72.97 |
Hi all!
I have a array problem I can not figure out.
I have an array that I copy in a method and returns the copy,
but I do not get a copy of the array. I just get strange values.
public class AClass { private float[] original = new float[5]; private float[] finalyStore = new float[5]; public AClass() { //init orginal ... | https://www.daniweb.com/programming/software-development/threads/368675/array-copy-problem | CC-MAIN-2017-26 | refinedweb | 138 | 66.84 |
On 9/26/06, MikeyBoy <fjoyuwmc@yahoo.com> wrote:
>
> Hi Rob, forgive my ignorance, I'm just starting out with ActiveMQ. I am
> puzzled where the activemq-dotnet.dll file you mentioned comes from. I built
> my own NMS.dll file using MSVS using just the NMS source, which does not
> contain any ActiveMQ namespace. Do I al... | http://mail-archives.apache.org/mod_mbox/activemq-users/200609.mbox/%3Cec6e67fd0609252355m3fa06a8dlcb8a50941afa3083@mail.gmail.com%3E | CC-MAIN-2016-22 | refinedweb | 110 | 78.65 |
New Year '20 Offer
New Year '20 Offer
Hadoop Training Program (20 Courses, 14+ Projects)
This Hadoop Certification Training includes 20 courses, 14 Projects with 135+ hours of video tutorials and Lifetime access.
You will also get verifiable certificates (unique certification number and your unique URL) when you comple... | https://www.educba.com/data-science/courses/hadoop-certification-training/ | CC-MAIN-2020-16 | refinedweb | 2,269 | 51.58 |
Vassili Maroussov wrote:
> Dear ROOTers,
>
> I cannot compile the file in the attachment, although the <iostream> is
> included:
>
> ----------------------------
> [pcmspur5] ~/TreePlay > g++ -c count_trees.cxx -I`root-config --incdir`
> count_trees.cxx: In function `int count_trees(const char*)':
> count_trees.cxx:20:... | https://root.cern.ch/root/roottalk/roottalk06/0324.html | CC-MAIN-2022-21 | refinedweb | 104 | 68.67 |
One. I tried a few out, then ended up putting a few of them together, but I now have a solution which seems to work quite well and seems to give a method of accessing other programmer defined options in game.
The way I’ve made it accessible is through the Settings charm in Windows 8. In case you don’t use this much (le... | https://adamboyne.wordpress.com/2013/07/03/adding-a-privacy-policy-and-other-settings-to-an-xna-windows-8-game/ | CC-MAIN-2020-50 | refinedweb | 549 | 62.07 |
Subject: Re: [Boost-build] creating timestamped zip-files?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-01-20 14:50:33
AMDG
Michael Medin wrote:
> I posted a few days ago aking how to make a custom command utilize the
> tag feature, but apparently this was impossible so now I post instead
> trying to find ... | https://lists.boost.org/boost-build/2009/01/21141.php | CC-MAIN-2021-21 | refinedweb | 181 | 67.45 |
Oh and for anybody who wants to know how to lose weight, it's dead simple, just follow this formula:
Nc = F - (Bmr + E)
Where Nc = Net Calories, F = food calories consumed, Bmr = Basal Metabolic Rate, E = Calories burned during exercise.
The part you left out is Bmr = f(F, Ft, E) where f is a non-linear function that w... | http://slashdot.org/~Paul+Carver | CC-MAIN-2015-40 | refinedweb | 1,517 | 65.86 |
How to convert map to JSON string in Java
In this tutorial, we will learn how to convert Map to JSON String.
For this, first of all, we will learn
What is the map?
Answer. The map contains the values on the basis of keys ie. key-value pair (as a dictionary in python). Each pair of key and value is known as the entry. T... | https://www.codespeedy.com/convert-map-to-json-string-in-java/ | CC-MAIN-2020-45 | refinedweb | 501 | 69.79 |
Latest Happenings and Future of Groovy: 1.8, 2.0 and Beyond
- |
-
-
-
-
-
-
-
Read later
My Reading List
Performance and productivity improvements have gone into recent editions (1.6, 1.7 and 1.8) of Groovy and more are on tap. Recently InfoQ got a chance to catch up with Guillaume Laforge, the project lead for Groovy.... | https://www.infoq.com/news/2011/11/groovy-updates/ | CC-MAIN-2016-30 | refinedweb | 3,550 | 60.14 |
scalaz-nettyscalaz-netty
Getting StartedGetting Started
First, you'll need to add the RichRelevance Bintray resolver setting to your SBT file:
resolvers += "RichRelevance Bintray" at ""
If you want to be able to use snapshot releases, replace
releases with
snapshots. With the resolver configured, add the following depe... | https://index.scala-lang.org/richrelevance/scalaz-netty/scalaz-netty/0.4?target=_2.11 | CC-MAIN-2021-49 | refinedweb | 530 | 56.42 |
current position:Home>[Python crawler] multithreaded daemon & join() blocking
[Python crawler] multithreaded daemon & join() blocking
2022-01-30 22:31:01 【Dream, killer】
「 This is my participation 11 The fourth of the yuegengwen challenge 2 God , Check out the activity details :2021 One last more challenge 」.
The colle... | https://en.pythonmana.com/2022/01/202201302231000486.html | CC-MAIN-2022-27 | refinedweb | 831 | 53.65 |
#include <qgsfillsymbollayerv2.h>
Reimplemented from QgsFillSymbolLayerV2.
Color for endpoint of gradient, only used if the gradient color type is set to SimpleTwoColor.
Color ramp used for the gradient fill, only used if the gradient color type is set to ColorRamp.
Coordinate mode for gradient.
Controls how the gradie... | https://api.qgis.org/2.6/classQgsGradientFillSymbolLayerV2.html | CC-MAIN-2020-34 | refinedweb | 160 | 53.27 |
Bart De Smet's on-line blog (0x2B | ~0x2B, that's the question)
Note: This post is part of the follow-up for the Developer & IT Pro Days 2007 session entitled "Internet Information Services (IIS) 7.0 - End-to-End Overview of Microsoft's New Web Application Server". Attendees will be able to download the slides and will... | http://community.bartdesmet.net/blogs/bart/archive/2007/04/04/extending-iis-7-0-part-1-a-simple-http-logging-module.aspx | crawl-002 | refinedweb | 747 | 58.18 |
From: Jan Langer (jan_at_[hidden])
Date: 2002-11-12 13:36:11
Edward Diener wrote:
> 1) Are the get(), put() functions somewhere, like in the boost namespace ?
> Is there a doc for the parameters these functions take, or is it the intent
> that if one wants to use them, one looks in the source code to figure them
> out ... | https://lists.boost.org/Archives/boost/2002/11/39404.php | CC-MAIN-2019-22 | refinedweb | 139 | 60.55 |
As HD mentioned, F5 has been inadvertently shipping a static ssh key that can be used to authenticate as root on many of their BigIP devices. Shortly after the advisory, an anonymous contributor hooked us up with the private key.
Getting down to business, here it is in action:
18:42:35 0 exploit(f5_bigip_known_privkey)... | https://www.rapid7.com/blog/post/2012/06/25/press-f5-for-root-shell/ | CC-MAIN-2021-31 | refinedweb | 695 | 58.92 |
X-Posted from my use.perl journal (though this meditation is a bit different).
I know many would rather not see another module in the XML namespace, but I've started putting together a proof of concept called XML::Composer (it was originally called XML::JFDI with apologies to Jesse). It will let you write really, reall... | http://www.perlmonks.org/index.pl?node_id=496522 | CC-MAIN-2016-44 | refinedweb | 1,273 | 73.27 |
table of contents
NAME¶
punycode_decode - API function
SYNOPSIS¶
#include <punycode.h>
int punycode_decode(size_t input_length, const char [] input, size_t * output_length, punycode_uint [] output, unsigned char [] case_flags);
ARGUMENTS¶
- size_t input_length
- The number of ASCII code points in the input array.
- con... | https://manpages.debian.org/bullseye/libidn11-dev/punycode_decode.3.en.html | CC-MAIN-2022-21 | refinedweb | 179 | 53.61 |
Unanswered: Ext.application does not create App object/namespace
Unanswered: Ext.application does not create App object/namespace
Hi All,
I am creating a new project using Ext 4.1 and attempting to use the MVC architecture however I have hit an issue in that the behaviour I am getting does not match the documentation.
... | http://www.sencha.com/forum/showthread.php?244147-Ext.application-does-not-create-App-object-namespace | CC-MAIN-2015-18 | refinedweb | 332 | 58.08 |
Sibling package imports
Tired of sys.path hacks?
There are plenty of
sys.path.append -hacks available, but I found an alternative way of solving the problem in hand.
Summary
- Wrap the code into one folder (e.g.
packaged_stuff)
- Create
setup.pyscript where you use setuptools.setup(). (see minimal
setup.pybelow)
- Pip ... | https://codehunter.cc/a/python/sibling-package-imports | CC-MAIN-2022-21 | refinedweb | 1,077 | 59.19 |
{-# LANGUAGE MultiParamTypeClasses, FunctionalDependencies #-} module with a \"write end\" and a \"read end\". A minimal -- complete instance defines 'readChan' and one of 'writeChan' or -- 'writeList2Chan'. class SplitChan i o | i -> o, o -> i where -- | Read the next value from the 'OutChan'. readChan :: o a -> IO a ... | http://hackage.haskell.org/package/chan-split-0.4.0/docs/src/Control-Concurrent-Chan-Class.html | CC-MAIN-2016-30 | refinedweb | 200 | 85.59 |
Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
You can subscribe to this list here.
Showing
2
results of 2
howdy folks,
Im just posting this to notify those interested that the next jyleo was released a couple of days ago. An address for download is:
jyleo is the ... | http://sourceforge.net/p/jython/mailman/jython-users/?viewmonth=200601&viewday=15 | CC-MAIN-2015-22 | refinedweb | 841 | 64.54 |
Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Introduction to Reflection11:40 with Unsubscribed User
We take one more sidestep during this course, this time to what's called reflection. Reflection is a programming technique that allows us to examine (and even mo... | https://teamtreehouse.com/library/java-annotations/writing-your-own-annotation/introduction-to-reflection | CC-MAIN-2017-30 | refinedweb | 2,527 | 73.37 |
26 U.S. Code § 6039D - Returns and records with respect to certain fringe benefit plans
(a) In general
Every employer maintaining a specified fringe benefit plan during any year beginning after December 31, 1984, for any portion of which the applicable exclusion applies, shall file a return (at such time and in such ma... | http://www.law.cornell.edu/uscode/text/26/6039D?qt-us_code_tabs=0 | CC-MAIN-2014-10 | refinedweb | 894 | 66.13 |
Hi everyone,
I try to use the XML-RPC-API of Bugzilla with Groovy-XMLRPC.
I cannot access the User.login method for some reason. But I cannot
figure out why. Can anyone tell me, what I am doing wrong?
[code]
def username = "mail@mail.com"
def password = "mySecret"
def serverUrl = ""
println("URL: " + serverUrl)
def ser... | http://fixunix.com/mozilla/412484-xml-rpc-user-login-does-not-work-print.html | CC-MAIN-2015-11 | refinedweb | 109 | 63.05 |
What will we cover in this tutorial?
We will learn how to visualization time series data in a DataFrame with Matplotlib.
This tutorial will show you.
- How to use Matplotlib with DataFrames.
- Use Matplotlib with subplots (the object-oriented way).
- How to make multiple plots in one figure.
- How to create bar-plots
W... | https://www.learnpythonwithrune.org/matplotlib-visualization-for-dataframe-time-series-data/ | CC-MAIN-2021-25 | refinedweb | 742 | 68.97 |
Bug #9226closed
Getting method `inspect' called on unexpected T_NODE object (0x000000025ddea8 flags=0x109089c klass=0x0) (NotImplementedError) from Hash#inspect
Description
We're trying to get a green RSpec build against ruby 2.1.0.preview2, and we're getting this very odd failure on travis:
The line where it's failing... | https://bugs.ruby-lang.org/issues/9226 | CC-MAIN-2022-27 | refinedweb | 738 | 56.35 |
SYNOPSIS
awk
[
DESCRIPTION
awk is a file-processing language which is well suited to data manipulation and retrieval of information from text files. This reference page provides a full technical description of awk. If you are unfamiliar with the language, you may find it helpful to read the online AWK Tutorial before r... | http://www.mkssoftware.com/docs/man1/awk.1.asp | crawl-002 | refinedweb | 5,538 | 52.09 |
Create a Card Flip Effect For Flash Player 10 using ActionScript 3
by 11 June, 2008 5:53 pm23.
Requirements
TextMate or Your Choice of text editor
Flash Player 10
Sample files:
Prerequisites
Before you get started you will need a means by which to publish Flash 10 SWF files. This process involves downloading a nightly ... | https://www.thetechlabs.com/tech-tutorials/flash/create-a-card-flip-effect-for-flash-player-10-using-actionscript-3/?replytocom=9856 | CC-MAIN-2020-10 | refinedweb | 3,126 | 65.12 |
How can you add more elements to a given list? Use the
append() method in Python. This tutorial shows you everything you need to know to help you master an essential method of the most fundamental container data type in the Python programming language.].
Related articles:
Syntax
You can call this method on each list ob... | https://blog.finxter.com/python-list-append/ | CC-MAIN-2021-43 | refinedweb | 2,044 | 72.87 |
Filter.
I figure I might as well tell you where the source is first. I decided to use GitHub for this project… so it is hosted on GitHub here. Download it and have at it!
MONADS MONADS MONADS!
If Steve Ballmer were a functional programmer, he’d FOR SURE be screaming MONADS MONADS MONADS! I’ve discussed monads in the pa... | http://weblogs.asp.net/zowens/filter-iqueryable-by-string-for-asp-net-mvc | CC-MAIN-2015-32 | refinedweb | 2,007 | 56.76 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.