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 |
|---|---|---|---|---|---|
10 May 2012 10:53 [Source: ICIS news]
TOKYO (ICIS)--?xml:namespace>
Tosoh had shutdown its 550,000 tonne/year No 2 VCM line at Nanyo on 13 November 2011 after an explosion.
Operating profit for the full year to 31 March 2012 decreased 29% to Y23.7bn from Y33.5bn the previous year, while net sales rose 0.4% to Y687.1bn ... | http://www.icis.com/Articles/2012/05/10/9558136/japans-tosoh-full-year-profit-declines-6.3-on-vcm.html | CC-MAIN-2015-18 | refinedweb | 112 | 78.45 |
Samsung has been on an announcement streak with its 3D NAND-infused enterprise SSD products, including a new PCIe SSD and a 15.63 TB SSD. The company has its PM1725 SSD on display here at Dell World in Austin. The PM1725 was previously announced at the Flash Memory Summit, but this is the first time Samsung displayed i... | https://www.tomshardware.com/news/samsung-ssd-pm1725-iops-gbps,30385.html | CC-MAIN-2020-34 | refinedweb | 527 | 74.19 |
WCSRTOMBS(3) Linux Programmer's Manual WCSRTOMBS(3)
NAME
wcsrtombs - convert a wide-character string to a multibyte string
SYNOPSIS
#include <<wchar.h>>
size_t wcsrtombs(char *dest, const wchar_t **src,
size_t len, mbstate_t *ps);
DESCRIPTION-
tomb(dest, *src, ps), as long as this call succeeds, and then incre-
menting... | http://modman.unixdev.net/?sektion=3&page=wcsrtombs&manpath=Debian-5.0 | CC-MAIN-2017-17 | refinedweb | 145 | 58.38 |
#include <TUnicodeTextStorage.h>
#include <TUnicodeTextStorage.h>
List of all members.
totalCount
position
Default constructor;.
[virtual]
Disposes of the text storage buffer.
[protected]
Internal method to allocat or reallocate the buffer.
The number of characters can be less than the current number of characters in t... | http://augui.sourceforge.net/class_t_unicode_text_storage.html | CC-MAIN-2017-22 | refinedweb | 181 | 52.97 |
React onClick event vs JS addEventListener
So adding an
onClick event is easy.
class App extends React.Component { handleClick = () => console.log('Hi there'); render() { return <button onClick={this.handleClick}>Say something</button>; } }
All you need to do is define your event handler function, and attach it to your... | https://linguinecode.com/post/react-onclick-event-vs-js-addeventlistener | CC-MAIN-2022-21 | refinedweb | 831 | 60.41 |
JSON RPC handler and message router
This is part 3 of a series about the Puppet Extension for Visual Studio Code. See the bottom of this post for links to all other posts.
Extension on the VS Code Marketplace
In part.
JSON RPC Handler
The byte stream from the network is formed into messages based on version 2 of the JS... | https://glennsarti.github.io/blog/puppet-extension-deep-dive-part3/ | CC-MAIN-2018-17 | refinedweb | 1,290 | 52.8 |
Everyone knows this historical story!!! The tortoise and the Hare had a race. Sheer determination and dedication made the hare win the race. We, in this post, are going to create that story. No exactly ;). It is just a simulation of the famous race but it doesn’t end with tortoise’s win. While inching towards the winni... | https://csveda.com/the-tortoise-and-the-hare-simulation-with-python-code/ | CC-MAIN-2022-33 | refinedweb | 839 | 53.27 |
Configure and run a http server.
You define a http server by creating a
shelf_serve.yaml file. This file lists the middleware and handlers that should
be used to handle requests. For example:
handlers: /html: type: compound handlers: /web: type: pub package: path: test_web /static: type: static path: test_static /sourc... | https://pub.dartlang.org/packages/shelf_serve | CC-MAIN-2018-26 | refinedweb | 612 | 50.43 |
Christoph Hellwig wrote:> On Mon, Apr 27, 2009 at 10:32:18AM +0200, monstr@monstr.eu wrote:>> +# ifdef __uClinux__>> struct stat64 {>> unsigned long long st_dev;>> unsigned long __unused1;>> @@ -69,5 +69,29 @@ struct stat64 {>> >> unsigned long __unused8;>> };>> +# else /* __uClinux__ */>> +/* FIXME */>> +struct stat64... | http://lkml.org/lkml/2009/4/27/116 | CC-MAIN-2016-30 | refinedweb | 278 | 78.75 |
Opened 3 years ago
Closed 3 years ago
#28387 closed enhancement (fixed)
Implement function that returns the balanced digit representation of an integer
Description
This ticket adds the balanced_digits function, returning the digit representation of an integer where the digits are centered at 0. For example, this enable... | https://trac.sagemath.org/ticket/28387 | CC-MAIN-2022-21 | refinedweb | 1,150 | 59.53 |
Perl makes easy things easy and hard things possible.
-- Official Perl Slogan, coined by Larry Wall
Haskell makes hard things easy and easy things weird.
-- Larry at it again, this time coining an unofficial Haskell slogan :-)
We want Perl 6 to make easy things trivial, hard things easy, and impossible things merely ha... | http://www.perlmonks.org/bare/?node_id=520826 | CC-MAIN-2015-14 | refinedweb | 1,666 | 60.04 |
White Knight Chronicles 2 gets two new gameplay trailers
.
9 Comments
mington
\o/
asdfasdf
wow
Gekidami
Apparently you cant actually access the game unless you have a cleared game save from the first one.
mington
yeah i sort’ve caught wind of that the other day, i didn’t really read it properly
but i think you get imme... | http://www.vg247.com/2010/06/10/white-knight-chronicles-2-gets-two-new-gameplay-trailers/ | CC-MAIN-2014-15 | refinedweb | 298 | 78.28 |
Fun.
Oslo Bikes
You probably know I like to work with bike sharing trip data, but this time I wanted to look at the open data provided by the Oslo City Bike program. I downloaded some of their datasets containing 2.5 million trips taken in Oslo between April 1st, 2017 and September 20th, 2017 (Norwegians love to cycle)... | https://data-adventures.com/2018/03/25/fun-with-keras.html | CC-MAIN-2018-43 | refinedweb | 402 | 55.64 |
Go to the first, previous, next, last section, table of contents..
The.
The following functions initialize a multidimensional solver, either with or without derivatives. The solver itself depends only on the dimension of the problem and the algorithm and can be reused for different problems.
const gsl_multiroot_fsolver... | http://linux.math.tifr.res.in/programming-doc/gsl/gsl-ref_33.html | CC-MAIN-2017-39 | refinedweb | 2,132 | 53.92 |
On 07.03.2009 11:49, Marc Wernecke wrote: > Hi, > > some x-vdr users reported problems with compiling mplayer and some plug-ins like music too. We solved this by adding > > DEFINES += -D__KERNEL_STRICT_NAMES Why would this suddenly be necessary? > to the VDR Makefile and patching the driver header files > > --- ./linux... | http://www.linuxtv.org/pipermail/vdr/2009-March/019780.html | CC-MAIN-2014-42 | refinedweb | 129 | 54.39 |
What it important that tests be independent? If tests are not independent it will lead to a lot of lost time when a test fails when there is nothing wrong with the code and a developer spends a lot of time trying to debug working code. For example if a test uses an environment variable and then a developer runs the tes... | https://blog.knoldus.com/writing-independent-tests/ | CC-MAIN-2019-51 | refinedweb | 547 | 62.17 |
return ( argument.getClass().getName() );makes a mess of your neat subtyping hierarchy above. As it says in ContextSensitiveSubtyping and ConstructiveDeconstructionOfSubtyping? (),
class Circle { double height; Point center; }; class Ellipse : public Circle { double width; };This gives both Circle and Ellipse the appro... | http://c2.com/cgi-bin/wiki?CircleAndEllipseProblem | CC-MAIN-2015-18 | refinedweb | 326 | 52.8 |
NAME
X509_check_host, X509_check_email, X509_check_ip, X509_check_ip_asc - X.509 certificate matching
SYNOPSIS
#include <openssl/x509.h> int X509_check_host(X509 *, const char *name, size_t namelen, unsigned int flags, char **peername); int X509_check_email(X509 *, const char *address, size_t addresslen, unsigned int f... | https://www.openssl.org/docs/manmaster/crypto/X509_check_host.html | CC-MAIN-2016-44 | refinedweb | 706 | 54.83 |
With the popularity of instant messaging platforms and advancements in AI chatbots have experienced explosive growth with as many as 80% of businesses wanting to use chat bots by 2020. This has created great opportunity for freelance Python developers as there is great need for the development of both simple and comple... | https://blog.finxter.com/python-telegram-bot/ | CC-MAIN-2020-10 | refinedweb | 2,786 | 60.95 |
Agenda
See also: IRC log
<laurent_lefort_cs> Previous:
<krzysztof_j> i can do it
<laurent_lefort_cs> Scribenick: kryzystof_j
<krzysztof_j> laurent_lefort_cs: had anybody a look at Raul's slides
<michael>
<krzysztof_j> not so far, will look at them asap
<myriam> could you upload the slides as pdf or ppt instead of pptx?... | http://www.w3.org/2010/09/22-ssn-minutes.html | CC-MAIN-2016-22 | refinedweb | 1,245 | 58.66 |
This articles describes how to configure the API Component to serve as a "proxy" for an existing SOAP service provider and forwarding/returning the requests and responses payloads as-is.
Use Case
In a scenario when, we would like to follow a WSDL first approach, we can use Dell Boomi SOAP services to run as a proxy ser... | https://community.boomi.com/docs/DOC-3445 | CC-MAIN-2018-39 | refinedweb | 1,114 | 59.13 |
WordWrap word boundary, non-breaking <nobr>, special character slash "/", wrap/split issue.
- billouparis
Hello, I would like to display a text composed of several words with wrapMode set to Text.WordWrap enumeration value.
This text contains what I consider being a word which contains a special character (a slash char... | https://forum.qt.io/topic/58764/wordwrap-word-boundary-non-breaking-nobr-special-character-slash-wrap-split-issue | CC-MAIN-2017-47 | refinedweb | 319 | 73.27 |
+++ Jon Dowland [2012-11-16 19:41 +0000]: > and please use usertags > in future to collect together bugs under a single MBF. Usertags are very flexible but rather undiscoverable. I discovered this yesterday which lets you find out what users exist and thus what tags:? and, arguably more useful the 'by users' list: Just... | https://lists.debian.org/debian-devel/2012/11/msg00446.html | CC-MAIN-2014-15 | refinedweb | 112 | 66.67 |
- Help/Advice with XSL / XPath needed
- simple xpath question
- [ANN] Build Java UI using XML
- xsl:variable question
- XML as a stream protocol.
- Schema question regarding some mandatory/some optional values
- DTD design advice: evaluated markup in CDATA sections?
- Child Elements/Nesting
- Newbie : is it possible to... | http://www.velocityreviews.com/forums/archive/f-32-p-29.html | CC-MAIN-2014-10 | refinedweb | 1,412 | 53.21 |
cv::Mat make VS 2017 Freeze when hovered
hey, I'm new to OpenCV, and i encountered with weird bug... somehow, when I hover the mouse to cv::Mat, my visual studio just go freeze. the only way I can fix it is either closed the program, is there any fix regarding this issue?
let me elaborate the problems more,
using names... | https://answers.opencv.org/question/192391/cvmat-make-vs-2017-freeze-when-hovered/ | CC-MAIN-2019-39 | refinedweb | 349 | 72.36 |
Hi guys,
Here is my sample code,
Code Java:
public class EqualsCheck { public static void main(String[] args) { EqualsCheck eq = new EqualsCheck(); eq.checkBytes(); } public void checkBytes() { Byte myByte = new Byte("111"); if (myByte.toString() == myByte.toString()) { System.out.println("== is True"); } else { System... | http://www.javaprogrammingforums.com/%20whats-wrong-my-code/6485-difference-between-%3D%3D-equals-printingthethread.html | CC-MAIN-2015-18 | refinedweb | 140 | 68.87 |
t0mm0 Wrote:cool. the current megavideo code could perhaps be expanded to add login info? the code is from here so we should contribute it back if we add anything (though sadly there is no git or svn available it seems).
i think also that if it is a 'd=' link, you can just change the domain to megaupload and get the or... | http://forum.kodi.tv/printthread.php?tid=105707&page=18 | CC-MAIN-2015-18 | refinedweb | 362 | 54.52 |
to reach a socket server, we will implement our own using Python. You can check in detail how to set a socket server in Python on this previous post.
The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board.
The Python code
To get started, we will import Python’s socket module, w... | https://techtutorialsx.com/2018/05/17/esp32-arduino-sending-data-with-socket-client/ | CC-MAIN-2019-04 | refinedweb | 1,700 | 64 |
Opened 7 years ago
Closed 3 years ago
#15804 closed Bug (fixed)
Query lookup types should be scoped to the last joined field's model
Description (last modified by )
This is kind of obscure and best described by example. I have two models:
from django.db import models from django.contrib.gis.db import models as geo_mode... | https://code.djangoproject.com/ticket/15804 | CC-MAIN-2018-22 | refinedweb | 438 | 65.22 |
import "golang.org/x/exp/io/spi"
Package spi allows users to read from and write to an SPI device.
Example illustrates a program that drives an APA-102 LED strip.
Code:
dev, err := spi.Open(&spi.Devfs{ Dev: "/dev/spidev0.1", Mode: spi.Mode3, MaxSpeed: 500000, }) if err != nil { panic(err) } defer dev.Close() if err := ... | http://godoc.org/golang.org/x/exp/io/spi | CC-MAIN-2017-34 | refinedweb | 486 | 77.43 |
Created attachment 203197 [details]
Untested patch for rejecting "/." and "/.." with EACCES
After loading the mqueuefs module, calling mq_open() with "/.." or "/." as name in a C program run by root crashes the system. I assume it's a panic but it reboots too quickly to read the text. Doing this as non-root does nothin... | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236836 | CC-MAIN-2020-05 | refinedweb | 545 | 77.64 |
Suppliers of Mice
A.1 Major suppliers of common inbred and outbred strainsa
A.2 Other commercial sources of micea
A.1 Major suppliers of common inbred and outbred strainsa
aListed in alphabetical order
A.2 Other commercial sources of micea
aListed in alphabetical order
Appendix B
Computational Tools and Electronic Data... | http://www.princeton.edu/~lsilver/book/MGapp.html | crawl-002 | refinedweb | 16,015 | 60.61 |
I am pretty new to C++ and I am trying to write a BlackJack program to help me learn how to implement classes. So far I only have a Deck class and I am having trouble making it set up the deck and shuffle the cards. I have been able to set up the deck and shuffle the cards by not using classes, so I feel the error is i... | http://cboard.cprogramming.com/cplusplus-programming/45540-simple-class-problem.html | CC-MAIN-2013-48 | refinedweb | 345 | 70.02 |
Hi Philippe, It looks like I commented it out when I was backing out fixes from the SVR4 "fixinc.svr4" file. Below is a proposed diff. I have added a selection clause because the "select" is done internally without forking off another process. I would like you to consider the select clause and propose any improvements.... | https://gcc.gnu.org/pipermail/gcc-patches/1999-June/013004.html | CC-MAIN-2021-21 | refinedweb | 191 | 70.5 |
Feature #8563
Instance variable arguments
Description
=begin.
=end
Related issues
History
#1
Updated by Nobuyoshi Nakada about 2 years ago
- Category set to syntax
- Status changed from Open to Assigned
- Assignee set to Yukihiro Matsumoto
- Target version set to Next Major
#2
Updated by Matthew Kerwin about 2 years ag... | https://bugs.ruby-lang.org/issues/8563 | CC-MAIN-2015-32 | refinedweb | 201 | 58.21 |
A couple of months ago, I had written some articles on the Parallel class found in the System.Threading.Tasks namespace which provides library-based data parallel replacements for common operations such as for loops, for each loops, and execution of a set of statements. You can read the articles here
Parallel Tasks in ... | http://www.dotnetcurry.com/csharp/608/csharp-parallel-for-loop-method | CC-MAIN-2017-34 | refinedweb | 272 | 65.42 |
Subject: [ggl] read_wkt and write_wkt
From: Barend Gehrels (Barend.Gehrels)
Date: 2009-04-28 10:23:46
>
>> The read_wkt function currently returns true/false if it is successfully or
>> not, while inside lexical_cast<> is used which might throw an exception. I
>> would like to change this by returning void and always t... | https://lists.boost.org/geometry/2009/04/0132.php | CC-MAIN-2019-43 | refinedweb | 629 | 65.52 |
UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.90 Safari/537.36
Steps to reproduce the problem:
1. Figure out which major X opcode has to be used to use the XTEST extension:
$ strace -s 1024 xdotool mousemove_relative 100 100 2>&1 | grep -A50 '"XTEST"' | grep recvmsg ... | https://bugs.chromium.org/p/chromium/issues/detail?id=662692 | CC-MAIN-2018-47 | refinedweb | 2,726 | 61.26 |
1,1
A pair of numbers x and y is called amicable if the sum of the proper divisors of either one is equal to the other. The smallest pair is x = 220, y = 284.
The sequence lists the amicable numbers in increasing order. Note that the pairs x, y are not adjacent to each other in the list. See also A002025 for the x's, A... | https://oeis.org/A063990 | CC-MAIN-2018-17 | refinedweb | 871 | 65.12 |
Opened 10 years ago
Closed 6 years ago
#3242 enhancement closed fixed (fixed)
use python 2.5 'spwd' module instead of z3p secret 'shadow' module when available
Description
It might even make sense to get rid of the 'shadow' module and just include a 2.3 backport of spwd within Twisted, but I'll leave it up to you to ma... | http://twistedmatrix.com/trac/ticket/3242 | CC-MAIN-2017-47 | refinedweb | 1,923 | 66.44 |
We’ll start having a look at data binding in WPF. Briefly, data binding is the ability to bind some property of a control (such as the text in a TextBox) to the value of a data field in an object. (More generally, you can bind controls to other data sources such as databases, but that’s more advanced.) The idea, and th... | https://programming-pages.com/tag/property-change-event/ | CC-MAIN-2018-26 | refinedweb | 1,801 | 60.14 |
Traveling Salesman Problem
Solution using Branch and Bound.
By Vamshi Jandhyala in mathematics optimization
November 8, 2021
Branch and bound (BB)
Branch and bound is an algorithm design paradigm for discrete and combinatorial optimization problems, as well as mathematical optimization. A branch-and-bound algorithm con... | https://vamshij.com/blog/linear-optimization/branch-and-bound/ | CC-MAIN-2022-21 | refinedweb | 985 | 61.36 |
elf@florence.buici.com wrote:
On Mon, Nov 19, 2001 at 08:41:41PM +0100, Wichert Akkerman wrote:Previously elf@florence.buici.com wrote:In the 2.95.4 headers, the cstdio is a simple wrapper. What is the motive for using it?It puts things properly in the std namespace.I'm not following you. // The -*- C++ -*- standard I/... | https://lists.debian.org/debian-devel/2001/11/msg01295.html | CC-MAIN-2016-50 | refinedweb | 116 | 80.78 |
In today's modern computing world, there is an ever shrinking emphasis on efficient memory utilization. Because of the fact that it's now possible to store huge amounts of memory on tiny flash cards, most modern programming languages have long since abandoned micromanagement of memory in favor of class wrappers and pre... | http://www.codeproject.com/Articles/22324/The-ELMO-Principle-Part-1-Stack-and-Heap-Usage?fid=948578&df=90&mpp=10&noise=1&prof=True&sort=Position&view=Quick&spc=Relaxed | CC-MAIN-2016-40 | refinedweb | 1,242 | 63.29 |
Allen Holub (threading@holub.com), Freelance author
10 Oct 2000.
$
$task
task.
Toolkit.getImage()
getImage().
run().
Active_object
Runnable.
SwingUtilities.invokeLater():
asynchronous
interface Exception_handler
{ void handle_exception( Throwable e );
}
class File_io_task
{ Active_object dispatcher = new Active_object... | http://www.ibm.com/developerworks/library/j-king.html | crawl-001 | refinedweb | 1,695 | 54.73 |
Complete Roguelike Tutorial, using python+libtcod, part 13
Adventure gear
Simplifying
Now that you can explore a large dungeon, I'm sure you can't help but notice a few things missing. Where are all the swords, armor, enchanted boots and other assorted junk? Sure, we have some cool items, but they can only be used once... | http://roguebasin.com/index.php/Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_13 | CC-MAIN-2022-27 | refinedweb | 1,923 | 67.04 |
A Cute Kids Toy That Speaks With Arduino and Unity :)
Introduction: A Cute Kids Toy That Speaks With Arduino and Unity :)
please watch the video for demonstration.
this project is purely out of boredom, I was experimenting with a flex sensor when the idea came to me, originally it was meant to use a flex sensor but aft... | http://www.instructables.com/id/A-Cute-Kids-Toy-That-Speaks-With-Arduino-and-Unity/ | CC-MAIN-2017-47 | refinedweb | 577 | 56.42 |
Creating a Generator
Creating a Generator
One of the most common types of components to create in Cocoon is to create a Generator. Whether you realize it or not, every time you write an XSP page, you are creating a Generator. XSP pages do a number of things for you, but there is a considerable amount of overhead involv... | http://cocoon.apache.org/2.2/core-modules/core/2.2/688_1_1.html | CC-MAIN-2016-50 | refinedweb | 2,153 | 56.15 |
The following code-sequence showed up in a testcase (isolated from
SPEC2017) for if-conversion and vectorization when searching for the
maximum in an array:
addi a2, zero, 1
blt a1, a2, .LBB0_5
which can be expressed as `bge zero,a1,.LBB0_5`/`blez a1,/LBB0_5`.
More generally, we want to express (a < 1) as (a <= 0).
Thi... | https://reviews.llvm.org/D98449 | CC-MAIN-2021-25 | refinedweb | 394 | 75.91 |
So I started my first Java class last week, and Ia m having problems. The question I have in my assignment is;
"Create an application named TestMethods whose main() methods holds two integer variables. Assign values to the variables. In turn, pass each value to methods named displayIt(), displayItTimesTwo(), and displa... | http://www.javaprogrammingforums.com/whats-wrong-my-code/9070-1st-java-class-assignment-having-some-difficulties-little-help-please.html | CC-MAIN-2014-41 | refinedweb | 169 | 59.9 |
Details
- Type:
Bug
- Status:
Resolved
- Priority:
Major
- Resolution: Fixed
- Affects Version/s: JRuby 1.6.7, JRuby 1.7.0.pre1
- Fix Version/s: JRuby 1.7.0.RC1
- Component/s: None
- Labels:None
- Number of attachments :
Description
Trying my code with -X+C I got this weird error.
It does not seems to be due to String#... | http://jira.codehaus.org/browse/JRUBY-6827 | CC-MAIN-2013-20 | refinedweb | 335 | 58.79 |
view raw
I have a question regarding a school lab assignment and I was hoping someone could clarify this a little for me. I'm not looking for an answer, just an approach. I've been unable to fully understand the books explanations.
Question: In a program, write a function that accepts three arguments: an array, the siz... | https://codedump.io/share/clAREcg6M9cU/1/array-function-would-appreciate-a-little-clarification | CC-MAIN-2017-22 | refinedweb | 619 | 64.41 |
:
Do you have some error in your error log? Pydev should spawn a shell to analyze
the completions or PyQt4... you could try adding 'PyQt4' to the forced builtins.
See
Cheers,
Fabio
The following forum message was posted by dbbh at:
Im having a similar problem with PyDev PyQt4. When i try to run my script (from
PyQt4 im... | https://sourceforge.net/p/pydev/mailman/message/26522684/ | CC-MAIN-2017-30 | refinedweb | 644 | 64 |
Kubernetes StatefulSet — Examples & Best Practices
by Bharathiraja Shanmugam
Are you planning to deploy a database in the Kubernetes cluster? If so, then you’ve come to the right place. Kubernetes is a container orchestration tool that uses many controllers to run applications as containers (Pods). One of these control... | https://loft-sh.medium.com/kubernetes-statefulset-examples-best-practices-902cd50f7fff?es_id=099a1a4986 | CC-MAIN-2022-05 | refinedweb | 2,387 | 52.8 |
For one of my Lucky apps, I'm using Stimulus which is light-weight. I wanted to avoid doing a ton on the client side so that way I can keep all the nice benefits of Crystal and Lucky.
In a recent instance, I had to load some comments on to a page asynchronously. Normally in this case, you might write some javascript to... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/jwoertink/render-component-from-action-in-lucky-4ii2 | CC-MAIN-2020-34 | refinedweb | 458 | 67.55 |
A small point to point out a difference.
A lot of optimisation is done with gradient systems. In this blogpost I’d just like to point out a very simple example to demonstrate that you need to be careful with calling this “optimisation”. Especially when you have a system with a constaint. I’ll pick an example from wikip... | https://koaning.io/posts/optimisation-not-gradients/ | CC-MAIN-2020-16 | refinedweb | 1,641 | 68.81 |
Revel, GORP, and MySQL
Building a classic 3-tier web application controller in Golang.
>>IMAGE.
This setup should reflect a backend that you would use with a Single Page Application framework like AngularJS.
Synopsis:
I'm building a simple auction management system for the wife. One of the model items I have to deal wi... | http://rclayton.silvrback.com/revel-gorp-and-mysql | CC-MAIN-2017-26 | refinedweb | 2,398 | 53.07 |
Have you every tried to take a snapshot of a video and yet you get an image where everyone is looking glum?
Wouldn't it be great if somehow you could find the "smiliest" frame from a video and extract that for the snapshot?
Well, that is what I try to build in this video!
A 1080p version of the video is available on Ci... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/hammertoe/smile-detector-using-opencv-to-detect-smiling-faces-in-a-video-4l80 | CC-MAIN-2022-40 | refinedweb | 807 | 67.59 |
You can subscribe to this list here.
Showing
1
results of 1
On Jan 14, 2005, at 17:14, Bob Ippolito wrote:
> On Jan 14, 2005, at 16:56, Kevin Dangoor wrote:
>
>>.
>>
>> Wow. That was quick!
>>
>> I didn't realize that there was a gotcha with the imports. That was
>> just a premature optimization, so I can easily avoid ... | http://sourceforge.net/p/pyobjc/mailman/pyobjc-dev/?viewmonth=200501&viewday=14 | CC-MAIN-2015-48 | refinedweb | 243 | 73.98 |
I am trying to delete an Impedance tool in python but I can not manage to do it.
in hoc it is very easy
Code: Select all
objref zz create soma zz = new Impedance() Impedance[0]
When I do
Code: Select all
objref zz Impedance[0]
nrniv: Object ID doesn't exist: Impedance[0]
As expected!
-----------------------------------... | https://www.neuron.yale.edu/phpBB/viewtopic.php?p=13098 | CC-MAIN-2020-16 | refinedweb | 146 | 80.51 |
Zero blog post is dedicated to my full analysis of the custom sample given to us in the course. It’s a simple piece of “malware”, but I ended up having a lot of fun reverse engineering it.
This sample contains a combination of techniques that is taught in the course including string obsfuscation, injections, packing, a... | https://chuongdong.com/reverse%20engineering/2020/11/11/zero2auto/ | CC-MAIN-2021-25 | refinedweb | 3,034 | 73.07 |
Writing a Custom Membership Provider for the Login Control in ASP.NET 2.0
By Dina Fleet Berry
In ASP.NET 2.0 with Visual Studio (VS) 2005, you can program custom authenticated pages quickly with the
Membership Login controls provided. These controls can be found in VS 2005 in the toolbox under the Login
section and inc... | http://www.codeguru.com/csharp/.net/net_security/article.php/c19415/Writing-a-Custom-Membership-Provider-for-the-Login-Control-in-ASPNET-20.htm | CC-MAIN-2014-52 | refinedweb | 3,739 | 54.32 |
NAME
perlfaq7 - General Perl Language Issues ($Revision: 10100 $)
DESCRIPTION
This section deals with general Perl language issues that dont clearly fit into any of the other sections.
Can I get a BNF/yacc/RE for the Perl language?
There is no BNF, but you can paw your way through the yacc grammar in perly.y in the sou... | http://linux.fm4dd.com/en/man1/perlfaq7.htm | CC-MAIN-2021-21 | refinedweb | 2,651 | 63.29 |
About Django’s
setup method for generic view classes
Django 2.2 (released in April 2019) introduced a
setup
method to the
django.views.View class, which is available to all generic views.
This is intended to be overridden to assign instance attributes that other methods will need.
For example, you would use this to loa... | https://til.codeinthehole.com/posts/about-djangos-setup-method-for-generic-view-classes/ | CC-MAIN-2022-05 | refinedweb | 124 | 60.72 |
FAFSA DRT changes
• Security measures have been updated information. to address concerns raised by the IRS • While using the tool is optional, it’s earlier this year. The updates will not let still a more streamlined way to provide users see the tax data data needed for the FAFSA application. transferred from the It pu... | https://issuu.com/thecentermagazines/docs/winter_advisor_2018/12 | CC-MAIN-2018-30 | refinedweb | 315 | 61.26 |
Event::File::tail - 'an tail [CB]<-f>' implementation using Event
use Event::File; Event::File->tail( file => '/var/log/messages', cb => \&my_read_callback_function ); Event::loop;
Event::FileTail is an attempt to reproduce the behaviour of the 'tail -f' using Event as the backend.
The main difference between this modu... | http://search.cpan.org/~rsd/Event-File-0.1.1/lib/Event/File/tail.pm | CC-MAIN-2015-40 | refinedweb | 801 | 83.86 |
(2012-03-25 17:10)Gavinny Wrote: Is there any way to automatically launch a plugin when XBMC is started? I mainly only use XBMC for one plugin and it would be great if it just launched the plugin right away - I could then exit out of the plugin as normal if I wanted to use something else.
Any ideas?
(2012-03-25 17:57)m... | http://forum.xbmc.org/showthread.php?tid=126520&pid=1470523 | CC-MAIN-2014-10 | refinedweb | 162 | 65.01 |
Firstly, sorry i posted this twice but i had connection problems and thought it hadnt posted the first time.
Here is my code for a box function.
and here is the output:and here is the output:Code:
#include <iostream>
using namespace std;
void box(int length, int width, int height);
int main()
{
box(7, 20, 4);
box(50, 3... | https://cboard.cprogramming.com/cplusplus-programming/119851-box-function-problem-printable-thread.html | CC-MAIN-2017-09 | refinedweb | 149 | 76.69 |
Contourf and log color scale¶
Demonstrate use of a log color scale in contourf
import matplotlib.pyplot as plt import numpy as np from numpy import ma from matplotlib import ticker, cm N = 100 x = np.linspace(-3.0, 3.0, N) y = np.linspace(-2.0, 2.0, N) X, Y = np.meshgrid(x, y) # A low hump with a spike coming out. #() ... | https://matplotlib.org/3.4.3/gallery/images_contours_and_fields/contourf_log.html | CC-MAIN-2022-27 | refinedweb | 153 | 62.04 |
Hi, I’m using
st.columns on
st.form.
In mine desktop the widgets align. But in the mobile version not.
I did some tests here and discovered that in the mobile version the app don’t create the columns.
Here are the app link and the app repo
Desktop version:
Mobile version:
The code:
import streamlit as st with st.form("... | https://discuss.streamlit.io/t/st-columns-not-working-on-mobile-version/27665 | CC-MAIN-2022-33 | refinedweb | 107 | 71.92 |
I had a lot of time to think about Elliotte Harold's call for XML predictions on the way home from Redmond Wednesday night. We got several inches of snow, which is rare here and the highway folks just can't deal with . There were massive traffic tieups, and lots of time spent staring off into the snowflakes. Most of us... | http://blogs.msdn.com/mikechampion/archive/2007/01/12/convergence-zones.aspx | crawl-002 | refinedweb | 2,894 | 59.74 |
how to understand thread clearly?
how to understand thread clearly? see my comments
I run these code and return such results.
<NSThread: 0x2828f0780>{number = 7, name = (null)}
<NSThread: 0x28285b100>{number = 1, name = main}
<NSThread: 0x2828f0780>{number = 7, name = (null)}
import threading from objc_util import * im... | https://forum.omz-software.com/topic/6258/how-to-understand-thread-clearly | CC-MAIN-2020-29 | refinedweb | 260 | 75.61 |
I'm not sure about "epochs". I think I'd prefer more granular feature opt-ins/opt-outs.
In a corporate world you end up with legacy parts of code that will never be upgraded. It happens for various sad reasons, but often when a feature has lost its business value, there's no budget to even remove it, as it costs develo... | https://internals.rust-lang.org/t/pre-rfc-stable-features-for-breaking-changes/5002?page=2 | CC-MAIN-2017-34 | refinedweb | 4,597 | 70.23 |
In today’s Programming Praxis exercise, our goal is to implement an algorithm to square a number using only addition and subtraction. Let’s get started, shall we?
import Data.Bits import Data.List
First, the trivial O(n) algorithm. n^2 = n * n = sum (n times n)
square :: Integer -> Integer square n = sum $ genericRepli... | https://bonsaicode.wordpress.com/2013/02/26/programming-praxis-an-odd-way-to-square/ | CC-MAIN-2016-50 | refinedweb | 206 | 74.79 |
#include <stdlib.h> #include <fcntl.h>
The
posix_openpt() function
opens an unused pseudoterminal master device, returning a
file descriptor that can be used to refer to that device.
The
flags argument
is a bit mask that ORs together zero or more of the following
flags:
O_RDWR
Open the device for both reading and writi... | http://manpages.courier-mta.org/htmlman3/posix_openpt.3.html | CC-MAIN-2021-17 | refinedweb | 116 | 57.87 |
You can subscribe to this list here.
Showing
11
results of 11)
wow! that's good to hear :-)
On 10/7/05, Lawrence Bruhmuller <lbruhmuller@...> wrote:
>
>?
> >
> >
> >
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, d... | http://sourceforge.net/p/activegrid/mailman/activegrid-users/ | CC-MAIN-2015-06 | refinedweb | 1,215 | 51.95 |
Despite the kind help of the Rojo people I still can't get the service to import my updated feed lists ('An error has occurred...Failed to import: null...We apologize for the inconvenience.'), so I'm still reading my Web feeds on Liferea for now. One nice bonus with Liferea is the ability to add feeds from the command ... | http://copia.posthaven.com/adding-feeds-to-liferea-on-the-command-line | CC-MAIN-2017-13 | refinedweb | 382 | 66.23 |
The pkgsrc guide Documentation on the NetBSD packages system Alistair Crooks <agc@NetBSD.org> Hubert Feyrer <hubertf@NetBSD.org> The pkgsrc Developers Copyright 1994-2007 The NetBSD Foundation, Inc $NetBSD: pkgsrc.xml,v 1.26 2007/09/18 08:17:21 rillig Exp $ Abstract pkgsrc is a centralized package management system for... | http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/doc/pkgsrc.txt?rev=1.136&content-type=text/x-cvsweb-markup&sortby=author&only_with_tag=pkgsrc-2011Q3-base | CC-MAIN-2021-04 | refinedweb | 21,307 | 57.37 |
See also: IRC log
<trackbot> Date: 23 October 2008
<ed>
<anthony> scribe: anthony
<ed>
ISSUE-2085?
<trackbot> ISSUE-2085 -- Spec unclear where focus should initially go when a document is loaded -- OPEN
<trackbot>
ED: Issue raised by Ikivo
... NH has an action to propose new wording
DS: Perhaps we should make a proposa... | http://www.w3.org/2008/10/23-svg-minutes.html | CC-MAIN-2015-22 | refinedweb | 5,623 | 69.31 |
Opened 7 years ago
Closed 7 years ago
Last modified 3 years ago
#8241 closed (fixed)
Primary ForeignKeys don't work with FormSets
Description
Using this UserProfile as an example:
class UserProfile(models.Model): user = models.OneToOneField(primary_key=True) nickname = models.CharField(max_length=30) from django.contri... | https://code.djangoproject.com/ticket/8241 | CC-MAIN-2015-14 | refinedweb | 759 | 53.92 |
Opened 7 years ago
Closed 7 years ago
Last modified 4 years ago
#8020 closed (fixed)
python process crashes when using sitemaps after [8088]
Description (last modified by mtredinnick)
When I go to, python process crashes without any errors or core dumps.
Django-version: trunk after [8088] DB-backends: PostgreSQL or SQL... | https://code.djangoproject.com/ticket/8020 | CC-MAIN-2015-27 | refinedweb | 613 | 62.78 |
NAMEsd_bus_call, sd_bus_call_async - Invoke a D-Bus method call
SYNOPSIS
#include <systemd/sd-bus.h>
typedef int (*sd_bus_message_handler_t)(sd_bus_message *m, void *userdata, sd_bus_error *ret_error);
int sd_bus_call(sd_bus *bus, sd_bus_message *m, uint64_t usec, sd_bus_error *ret_error, sd_bus_message **reply);
int s... | https://man.archlinux.org/man/sd_bus_call_async.3.en | CC-MAIN-2021-04 | refinedweb | 468 | 51.78 |
----------------------------------------------------------------------
diff --git a/docs/guide/misc/migrate-to-0.8.0.md b/docs/guide/misc/migrate-to-0.8.0.md
new file mode 100644
index 0000000..a71d19b
--- /dev/null
+++ b/docs/guide/misc/migrate-to-0.8.0.md
@@ -0,0 +1,32 @@
+---
+layout: website-normal
+title: Migrati... | http://mail-archives.apache.org/mod_mbox/brooklyn-commits/201509.mbox/%3Cf9a4de20a97742fa9a0ec85971e26244@git.apache.org%3E | CC-MAIN-2017-43 | refinedweb | 1,158 | 51.65 |
There is no doubt that AngularJS – the self-proclaimed “superheroic JavaScript framework” – is gaining traction. I’ll refer to it frequently as just “Angular” in this post. I’ve had the privilege on working on an enterprise web application with a large team (almost 10 developers, soon growing to over 20) using Angular ... | https://csharperimage.jeremylikness.com/2013/09/10-reasons-web-developers-should-learn.html | CC-MAIN-2018-30 | refinedweb | 3,567 | 55.88 |
MEMCPY(3) Linux Programmer's Manual MEMCPY(3)
memcpy - copy memory area
#include <string.h> void *memcpy(void *dest, const void *src, size_t n);
The memcpy() function copies n bytes from memory area src to memory area dest. The memory areas must not overlap. Use memmove(3) if the memory areas do overlap.
The memcpy() f... | http://man7.org/linux/man-pages/man3/memcpy.3.html | CC-MAIN-2016-30 | refinedweb | 148 | 68.57 |
Python File object provides various ways to read a text file. The popular way is to use the readlines() method that returns a list of all the lines in the file. However, it’s not suitable to read a large text file because the whole file content will be loaded into the memory.
Reading Large Text Files in Python
We can u... | https://www.journaldev.com/32059/read-large-text-files-in-python | CC-MAIN-2021-17 | refinedweb | 500 | 73.88 |
Closed Bug 568249 Opened 12 years ago Closed 12 years ago
Support geolocation on Android
Categories
(Core Graveyard :: Widget: Android, defect)
Tracking
(Not tracked)
People
(Reporter: mwu, Assigned: mwu)
References
Details
Attachments
(1 file, 1 obsolete file)
No description provided.
Comment on attachment 447561 [det... | https://bugzilla.mozilla.org/show_bug.cgi?id=568249 | CC-MAIN-2022-05 | refinedweb | 159 | 66.94 |
Timeline
11/29/2013:
- 19:13 Ticket #21534 (Admin List Widgets Need To Be Paginated) closed by
- worksforme: Actually, you can browse to select other options (click the magnifying …
- 16:57 Changeset [9af7e18]stable/1.7.xstable/1.8.x by
- Fixed an unescisarily gendered pronoun in a docstring
- 16:00 Ticket #21535 (Pass... | https://code.djangoproject.com/timeline?from=2013-11-29T05%3A25%3A35-08%3A00&precision=second | CC-MAIN-2015-27 | refinedweb | 1,684 | 58.38 |
Opened 10 years ago
Closed 9 years ago
Last modified 7 years ago
#9751 closed (fixed)
project_directory calculated incorrectly when "settings" is a directory (breaks 'startapp')
Description
When a Django project's settings is contained in directory-style module instead of the usual "
settings.py" file-based module,
pro... | https://code.djangoproject.com/ticket/9751 | CC-MAIN-2018-26 | refinedweb | 572 | 55.95 |
Hi all, let me inform you that our support for Symfony2 framework and Twig templates (donated by Sebastian Hörl) are now part of standard NetBeans PHP distributions. More details about these features can be found in our previous blog post.
That's all for today, as always, please test it and report all the issues or enh... | https://blogs.oracle.com/netbeansphp/symfony2-and-twig-part-of-netbeans | CC-MAIN-2020-05 | refinedweb | 151 | 71.55 |
Threads are typically created when you want a program to do two things at once. For example, assume you are calculating pi (3.141592653589...) to the 10 billionth place. The processor will happily begin computing this, but nothing will write to the user interface while it is working. Because computing pi to the 10 bill... | http://etutorials.org/Programming/Programming+C.Sharp/Part+III+The+CLR+and+the+.NET+Framework/Chapter+20.+Threads+and+Synchronization/20.1+Threads/ | CC-MAIN-2018-05 | refinedweb | 2,059 | 75.5 |
Opened 8 years ago
Closed 5 years ago
#14580 closed Cleanup/optimization (fixed)
Clean up duplicate code in admin formset handling
Description
See:
The attached patch still might need some tests, though the current testsuite passes and should already cover all the cases.
Attachments (3)
Change History (20)
Changed 8 ye... | https://code.djangoproject.com/ticket/14580 | CC-MAIN-2018-51 | refinedweb | 731 | 61.7 |
txStatHat 0.2.0
Twisted wrapper for StatHat.com
A Twisted API wrapper for StatHat’s EZ API.
The usage is as simple as:
from twisted.internet import reactor from twisted.internet.defer import inlineCallbacks from txstathat import txStatHat @inlineCallbacks def doSomeStats(): sh = txStatHat('ezKeyOrEmail') yield sh.count... | https://pypi.python.org/pypi/txStatHat/ | CC-MAIN-2014-15 | refinedweb | 365 | 57.47 |
This post is about don'ts. Here are the two most important rules of this post: Don't use std::move thoughtless and don't slice. Let's start.
Here are the don'ts for today.
std::move()
new
delete
delete[]
The first rule is a disguised don't.
Most of the times there is no need to explicitly call std::move.The compiler au... | http://www.modernescpp.com/index.php/c-core-guidelines-do-s-and-don-ts | CC-MAIN-2019-09 | refinedweb | 1,104 | 75.3 |
#include <Pt/Unit/TestProtocol.h>
Protocol for test suites. More...
Inherited by TextProtocol.
This is the base class for protocols that can be used to run a test suite. The default implementation will simply run each registered test of the test suite without passing it any data. Implementors need to override the metho... | http://pt-framework.org/htdocs/classPt_1_1Unit_1_1TestProtocol.html | CC-MAIN-2017-13 | refinedweb | 104 | 60.31 |
In this tutorial though, we'll be using gmail as our email service.
Prerequisites:
- Basic sockets
Guide:
Have you ever wondered how to extend your Java knowledge and do some really awesome programs? In this guide, we'll be creating our own program that reads our emails.
It won't have any fancy GUI as this is not a GUI... | http://forum.codecall.net/topic/62143-how-to-read-your-emails-using-java/ | CC-MAIN-2017-43 | refinedweb | 1,768 | 60.01 |
CS::Physics::iPhysicalBody Struct Reference
A base interface of physical bodies. More...
#include <ivaria/physics.h>
Detailed Description
A base interface of physical bodies.
iRigidBody and iSoftBody will be derived from this one.
Definition at line 136 of file physics.h.
Member Function Documentation
Add a force to th... | http://www.crystalspace3d.org/docs/online/api/structCS_1_1Physics_1_1iPhysicalBody.html | CC-MAIN-2017-04 | refinedweb | 380 | 61.12 |
Im trying to generate a random letter using the letters A-F but have no idea how to input the data.
I know how to use the random generator for numbers, but when it comes to letters Im not sure what to change to make it work.
Ill give a sample of my random number code and see if any suggestions can be made on what to ed... | http://www.dreamincode.net/forums/topic/265658-random-letter-generator/ | CC-MAIN-2017-43 | refinedweb | 163 | 60.41 |
Heiko Wundram <heikowu at ceosg.de> wrote in message news:<mailman.3507.1095603871.5135.python-list at python.org>... > Am Sonntag, 19. September 2004 07:00 schrieben Sie: > > I am sure the solution is O(n) since the list must > > only iterated once and the dictionary is O(1), correct? > > Thanks for the help!! > > In ... | https://mail.python.org/pipermail/python-list/2004-September/262720.html | CC-MAIN-2014-10 | refinedweb | 198 | 74.59 |
Version 2.2 on FreeBSD.
After calling ::rivet::parse, a call to abort_page does not stop the execution of the page, if the included rvt calls abort_page. If the included rvt does *not* call abort_page, the call in the outer rvt functions as expected.
I'm unclear as to what the intended behavior is. Is the intention tha... | https://bz.apache.org/bugzilla/show_bug.cgi?id=57501 | CC-MAIN-2019-13 | refinedweb | 2,307 | 61.77 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.