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
In Scala, you can nest just about anything inside anything. You can define functions inside other functions, and classes inside other classes. Here is a simple example of the latter. (I follow this explanation in a hopefully more intuitive context.) import collection.mutable._ class Network { class Member(val name: Str...
https://community.oracle.com/blogs/cayhorstmann/2011/08/05/inner-classes-scala-and-java
CC-MAIN-2017-39
refinedweb
546
60.61
Hi~~~ I'm new to the forums (and C++), and hope someone can help me with a very basic program. I apologize if any etiquette has been violated. The following is a very basic money sorting programs that works*, in which a given amount is broken up to its maximum amount of dollars, quarters, etc. (I left out nickels and p...
http://cboard.cprogramming.com/cplusplus-programming/137943-weird-double-int-question-very-short-code.html
CC-MAIN-2014-52
refinedweb
222
71.65
Introductory C Sharp and .Net Card Set Information Author: iranye ID: 97343 Filename: Introductory C Sharp and .Net Updated: 2015-10-01 18:58:28 Sharp Net Access Modifiers Delegates OOP Folders: Description: C Sharp .Net Access Modifiers and other basic info Show Answers: > Flashcards > Print Preview The flashcards bel...
https://www.freezingblue.com/flashcards/print_preview.cgi?cardsetID=97343
CC-MAIN-2017-04
refinedweb
1,055
64.81
#include <WaveletNoise.hpp> Wavelet Noise is a coherent gradient noise generation algorithm developed by Pixar. Compared to Perlin and Simplex noise it suffers less from aliasing and detail loss, especially at extreme angles. Whereas with Perlin and Simplex noise, the generated output could be customized by setting oct...
http://ocularengine.com/docs/api/class_ocular_1_1_math_1_1_noise_1_1_wavelet_noise.html
CC-MAIN-2018-39
refinedweb
151
52.15
Hi I have a little problem when I am using "HOLLOW_BRUSH" as a background (?) I create a editbox and sets the readonly-flag, but the background goes grey and I want it white. To prevent that I use this in WM_CTLCOLORSTATIC: Its working fine, but now I want to make the editbox background transparent, to do that I use th...
http://cboard.cprogramming.com/windows-programming/107086-transparent-editbox-hollow_brush-marking-text.html
CC-MAIN-2016-07
refinedweb
261
59.94
Components and supplies Necessary tools and machines About this project This project is a practical robotic arm that is stable, consistent and easy to use without motor shield or sensor shield. It has a low cost and a large area of use. It can be used easily with basic practice. Code Robotic_arm_code_screenArduino #inc...
https://create.arduino.cc/projecthub/150218091fsc/practical-robotic-grip-arm-ea9e57
CC-MAIN-2020-34
refinedweb
200
56.76
nclosure-d Based on nclosure server-side Google Closure with Node.js Want to see pretty graphs? Log in now!Want to see pretty graphs? Log in now! npm install nclosure-d nclosure: Server Side Google Closure Tools in Node.js Введение Первоначально проект был форкнут из репы для добавления совместимости с Windows и nodejs...
https://www.npmjs.org/package/nclosure-d
CC-MAIN-2014-15
refinedweb
384
58.18
Re: [PBML] basic questoin Expand Messages - On Oct 27, nt557 said: > What this code do ?There's still no $tag. ;) When a variable name has a "::" in it, > > $tag::entry = 0; > > there was NO $tag before inthis code, this is the first usage. everything before the LAST "::" is the variable's package -- the namespace it r...
https://groups.yahoo.com/neo/groups/perl-beginner/conversations/topics/22113?o=1&d=-1
CC-MAIN-2016-07
refinedweb
116
84.98
In the last four days I’ve walked through the bubble search example in ECMAScript 6 with all the latest stuff. The only thing I left out was testing, which takes a considerable setup right now. I started wondering two things: - Could I write the Javascript Class in pure ECMAScript 6 with no jQuery? - Could I load that ...
https://shellmonger.com/2015/03/21/a-pure-ecmascript-6-search-box-class/
CC-MAIN-2017-51
refinedweb
1,318
60.61
Hey, I was wondering is there a way using C# to check wether a new window pops up ? Basically what i want to achieve is something like controlling an LCD ( which i already know how to do). Its just so that when im playing games or whatsoever that is in fullscreen mode ill get a flash on the lcd when a new window pops u...
http://cboard.cprogramming.com/csharp-programming/67322-checking-new-tasks-running-printable-thread.html
CC-MAIN-2014-52
refinedweb
194
69.21
Opened 5 years ago Closed 5 years ago Last modified 4 years ago #13967 closed (fixed) GeoDjango always creates SPATIAL INDEXES when using MySQL Description If you are using MySQL, with the following model, GeoDjango will always create a spatial index for the point field: from django.contrib.gis.db import models class P...
https://code.djangoproject.com/ticket/13967
CC-MAIN-2015-35
refinedweb
199
64.51
OpenCV tutorial—train your custom cascade/classifier/detector . If you want to have a higher accuracy of your object detection model you’ve come to the right place! This tutorial is a step-by-step instruction on how to train your own cascade for object detection. Let’s start! Note: here is the official tutorial on trai...
https://maciejzalwert.medium.com/opencv-tutorial-train-your-custom-classifier-e6f12b274296?responsesOpen=true&source=---------2----------------------------
CC-MAIN-2021-25
refinedweb
860
64.41
Introduction This machine has been built almost entirely from the construction toy K'Nex. The only non-K'Nex components are the column labels and the signs. None of the K'Nex pieces has been modified in any way. This Instructable covers various issues concerning the design and build rather than being a step-by-step gui...
http://www.instructables.com/id/KNex-Bonanza-Amusement-Machine/
CC-MAIN-2017-13
refinedweb
2,305
72.09
The IDL That Isn't January 16, 2002 Martin Gudgin and Timothy Ewald When you listen to someone explaining Web Services, it's not unusual to hear WSDL compared to the Interface Definition Languages (IDLs) used by classic RPC mechanisms like DCE, ONC, CORBA, and COM. All of these technologies use IDL of one form or anoth...
https://www.xml.com/pub/a/2002/01/16/endpoints.html
CC-MAIN-2022-05
refinedweb
1,182
51.07
Introduction to Python 3.9 This article explains the new features in python 3.9, as compared to 3.8. Python 3.9 is the last version providing those Python 2 backward compatibility layers, to give more time to Python projects maintainers to organize the removal of the Python 2 support and add support for Python 3.9. Wha...
https://www.fireblazeaischool.in/blogs/python-3-9/
CC-MAIN-2021-04
refinedweb
578
66.64
Back to: Dot Net Interview Questions and Answers View Engine and HTML Helpers Interview Questions and Answers In this article, I am going to discuss the most frequently asked View Engine and HTML Helpers Interview Questions and Answers in ASP.NET MVC Application. Please read our previous article where we discussed the ...
https://dotnettutorials.net/lesson/mvc-views-and-html-helpers-interview-questions/
CC-MAIN-2020-05
refinedweb
1,636
68.57
Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office. You can subscribe to this list here. Showing 2 results of 2 On Wed, 20 Dec 2006 08:34:57 +0100, w-reiser@... said: > To append my tags path works fine but when i do the > glo...
http://sourceforge.net/p/spyce/mailman/spyce-users/?viewmonth=200612&viewday=20
CC-MAIN-2014-35
refinedweb
254
77.23
We decided to publish a further Spring 3.0 release candidate before going GA: Get it from the download page, do a round of thorough testing, and let us know how it works for you. Spring 3.0 is now waiting for your integration test feedback and will eventually go GA in mid December. This release candidate comes with sev...
http://spring.io/blog/2009/12/01/spring-framework-3-0-rc3-released/
CC-MAIN-2014-10
refinedweb
428
69.28
Speed Up Your Vue.js Single-Page App Speed Up Your Vue.js Single-Page App Increase the performance of Vue.js applications by focusing on lazy-load components and routes and functional components. Join the DZone community and get the full member experience.Join For Free One of my projects included building a Single Page...
https://dzone.com/articles/speed-up-your-vuejs-single-page-app
CC-MAIN-2020-29
refinedweb
1,117
57.77
I have a class which has a conversion operator for type std::string marked as explicit. Here is the class class MyClass { public: // methods ... explicit operator std::string() const { // convert to string ... } } Problem is when I use static_cast on a variable of type MyClass I get the error "No matching conversion fo...
http://ebanshi.cc/questions/4378117/why-explicit-operator-stdstring-does-not-work
CC-MAIN-2017-51
refinedweb
150
51.07
Interface BMP180 with STM32 Description The BMP180 is a very ‘simple to use’ Pressure sensor, which senses the atmospheric Pressure. This Pressure can be used to calculate the Altitude from the sea level. BMP180 also have an integrated Temperature Sensor. It uses the I2C for the communication, and delivers the uncompen...
https://controllerstech.com/interface-bmp180-with-stm32/
CC-MAIN-2021-21
refinedweb
1,039
55.07
Getting Started with WebSocket¶ WebSocket (vapor/websocket) is a non-blocking, event-driven WebSocket library built on SwiftNIO. It makes working with SwiftNIO's WebSocket handlers easy and provides integration with HTTP clients and servers. Creating a WebSocket echo server takes just a few lines of code. Tip If you us...
https://docs.vapor.codes/3.0/websocket/getting-started/
CC-MAIN-2018-22
refinedweb
198
59.19
Back to: Dot Net Interview Questions and Answers ASP.NET MVC Caching Interview Questions and Answers In this article, I am going to discuss the Most Frequently asked ASP.NET MVC Caching Interview Questions and Answers. Please read our previous article where we discussed the most frequently asked Filters Interview Quest...
https://dotnettutorials.net/lesson/mvc-caching-interview-questions/
CC-MAIN-2020-05
refinedweb
1,044
59.09
Here's what I would like to do: I'm taking pictures with a webcam at regular intervals. Sort of like a time lapse thing. However, if nothing has really changed, that is, the picture pretty much looks the same, I don't want to store the latest snapshot. I imagine there's some way of quantifying the difference, and I wou...
https://codedump.io/share/XnT5Iht0isuZ/1/how-can-i-quantify-difference-between-two-images
CC-MAIN-2017-13
refinedweb
1,161
66.74
Opened 9 years ago Closed 6 years ago #5203 enhancement closed fixed (fixed) FilePath.children() should return FilePath objects with unicodes in them instead of strs Description This is an epic tale of a ticket. I'm sorry for that, but I didn't have time to make it shorter. During the middle chapter (where I'm arguing ...
https://twistedmatrix.com/trac/ticket/5203
CC-MAIN-2021-04
refinedweb
1,886
61.87
Projection in LINQ C# with the SelectMany operator The SelectMany operator creates a one-to-many output projection sequence over an input sequence. SelectMany will return 0 or more output elements for every input element. Let’s see an example. Data source:"}; Consider the following code: IEnumerable<char> characters = ...
https://dotnetcodr.com/2016/02/09/projection-in-linq-c-with-the-selectmany-operator-2/
CC-MAIN-2022-40
refinedweb
554
50.23
Type inference and type annotations¶ Type inference¶ The initial assignment defines a variable. If you do not explicitly specify the type of the variable, mypy infers the type based on the static type of the value expression: i = 1 # Infer type int for i l = [1, 2] # Infer type List[int] for l Type inference is bidirec...
http://mypy.readthedocs.io/en/stable/type_inference_and_annotations.html
CC-MAIN-2017-26
refinedweb
835
63.12
Easiest way to show my IP address? After I've booted up, what's the easiest way to obtain and display the IP address that the device is currently using? I'm using Raspbian, and ifconfigdoesn't appear to be installed. Are there any widgets that display this information in LXDE? I'm realizing that now. I think I got spoi...
https://libstdc.com/us/q/raspberrypi/1409
CC-MAIN-2021-10
refinedweb
1,052
71.44
Taras Bobrovytsky has posted comments on this change. Change subject: IMPALA-5036: Parquet count star optimization ...................................................................... Patch Set 1: (38 comments) Commit Message: PS1, Line 10: statistic > Works for me. Done Line 13: > Mention the new rewrite rule Done F...
http://mail-archives.apache.org/mod_mbox/impala-reviews/201706.mbox/%3C201706072118.v57LIGFe025190@ip-10-146-233-104.ec2.internal%3E
CC-MAIN-2017-39
refinedweb
1,062
51.55
Data Structures for Drivers no-involuntary-power-cycles(9P) usb_completion_reason(9S) usb_other_speed_cfg_descr(9S) usb_request_attributes(9S) - STREAMS data structure sent to multiplexor drivers to indicate a link #include <sys/stream.h> Architecture independent level 1 (DDI/DKI) The linkblk structure is used to conne...
https://docs.oracle.com/cd/E23824_01/html/821-1478/linkblk-9s.html
CC-MAIN-2019-22
refinedweb
137
53.21
Hallo. I’ve got a bit of code that creates a dot-image from a monochrome picture. I have the image file saved in .raw format (hex, 1 byte per pixel), and thusly, the file is simply hex FF’s and 00’s. I’ve tried importing it anyway, and got about 10 null chars in return (file contains hundreds). The way I’ve done it pre...
https://forum.kirupa.com/t/loading-non-ascii-data-possible/59651
CC-MAIN-2020-40
refinedweb
184
77.87
danielk <danielkleinad at gmail.com> writes: > Ian's solution gives me what I need (thanks Ian!). But I notice a > difference between '__str__' and '__repr__'. > > class Pytest(str): > def __init__(self, data = None): > if data == None: self.data = data > > def __repr__(self): > return (self.data).encode('cp437') > The...
https://mail.python.org/pipermail/python-list/2012-November/634905.html
CC-MAIN-2016-40
refinedweb
228
83.76
Holy cow, I wrote a book! I observed a spill suspiciously close to a three-year-old's play table. I asked, "How did the floor get wet?" She replied, "Water." It's not lying, but it's definitely not telling the whole story. She'll probably grow up to become a lawyer. While developing tests, a developer observed erratic ...
http://blogs.msdn.com/b/oldnewthing/archive/2013/04.aspx?PageIndex=2
CC-MAIN-2014-35
refinedweb
1,291
55.03
Hi, I am running Kali Linux and I am having trouble install the third party module pywin32: root@computer:~# cd Desktop root@computer:~/Desktop# cd pywin32-216 root@computer:~/Desktop/pywin32-216# ls adodbapi MANIFEST.in pywin32postinstall.py setup3.py AutoDuck PKG-INFO pywin32.pth setup.py com pythonwin pywin32testall...
https://null-byte.wonderhowto.com/forum/third-party-python-modules-complications-0169407/
CC-MAIN-2020-45
refinedweb
353
62.78
Red Hat Bugzilla – Bug 186410 infinite recursion in btowc() function (libstdc++.so.5) Last modified: 2014-07-12 05:55:44 EDT Description of problem: Function btowc() in library libstdc++.so.5 contains an infinite recursion. See disassembly, address 0x001b00da: [Switching to Thread -1292805216 (LWP 6559)] 0x001b00cc in ...
https://bugzilla.redhat.com/show_bug.cgi?id=186410
CC-MAIN-2017-13
refinedweb
845
59.8
Jeff Garzik wrote: > > People from time to time point out a wart in ethernet initialization: > They sure do. You were away at the time, but I had a 94 file, 140k patch late last year which fixed all this. It's at and the design doc is at >From a quick look, I think the only substantive difference here is that my `prepa...
http://oss.sgi.com/projects/netdev/archive/2001-03/msg00275.html
CC-MAIN-2015-27
refinedweb
312
82.44
Salt should remain backwards compatible, though sometimes, this backwards compatibility needs to be broken because a specific feature and/or solution is no longer necessary or required. At first one might think, let me change this code, it seems that it's not used anywhere else so it should be safe to remove. Then, onc...
https://docs.saltstack.com/en/latest/topics/development/deprecations.html
CC-MAIN-2017-22
refinedweb
413
53.92
CodeGuru Forums > Visual Basic Programming > Visual Basic 6.0 Programming > Accessing VB COM object from Vicual C++ PDA Click to See Complete Forum and Search --> : Accessing VB COM object from Vicual C++ KCP April 12th, 2001, 06:52 AM Hi, I wonder if anyone can help. I have created a COM object in the form of a dll us...
http://forums.codeguru.com/archive/index.php/t-18875.html
crawl-003
refinedweb
247
74.08
Let’s compare the evaluation steps of the application of two recursive methods. First, consider gcd, a method that computes the greatest common divisor of two numbers. Here's an implementation of gcd using Euclid's algorithm. def gcd(a: Int, b: Int): Int = if (b == 0) a else gcd(b, a % b) gcd(14, 21) is evaluated as fo...
https://www.scala-exercises.org/scala_tutorial/tail_recursion
CC-MAIN-2017-39
refinedweb
713
52.63
Opened 3 years ago Last modified 2 years ago Although Django itself has unit tests, there is no integrated framework that end-users can use to test their Django applications. This has been raised a few times on the mailing list, most recently in the Site Testing how-to thread on the users mailing list. As an added ince...
http://code.djangoproject.com/ticket/2333
crawl-002
refinedweb
2,383
65.22
Suppose we have a value h and a list of numbers called blacklist. We are currently at height h, and are playing a game to move a small ball down to height 0. Now, in even rounds (starting from 0) we can move the ball 1, 2, or 4 stairs down. And in odd rounds, we can move the ball 1, 3, or 4 stairs down. Some levels are...
https://www.tutorialspoint.com/program-to-count-number-of-ways-ball-can-drop-to-lowest-level-by-avoiding-blacklisted-steps-in-python
CC-MAIN-2022-21
refinedweb
290
84.41
tree Struts2 - Struts Struts2 S:select tag is being used in my jsp, to create a drop down... weird, meaning that the drop down wen clicked it just jumps out from the first row... in Mozilla displays very well. Im trying to figure out from a long time, not succesful Struts2 - Struts Struts2 Hi, I am using doubleselect t...
http://www.roseindia.net/tutorialhelp/comment/50031
CC-MAIN-2014-35
refinedweb
2,059
67.35
The Python Imaging Library or PIL allowed you to do image processing in Python. The original author, Fredrik Lundh, wrote one of my favorite Python blogs when I first started learning. Install Pillow You can install Pillow using pip or easy_install. Here’s an example using pip: pip install Pillow Note that if you are o...
https://www.blog.pythonlibrary.org/2016/10/07/an-intro-to-the-python-imaging-library-pillow/
CC-MAIN-2020-10
refinedweb
963
65.22
- Cookie policy - Advertise with us © Future Publishing Limited, Quay House, The Ambury, Bath BA1 1UA. All rights reserved. England and Wales company registration number 2008885. How hard is it to get a quick game working? Not hard at all, as you'll soon find. In this project you're going to learn how to create a quick...
http://www.tuxradar.com/content/hudzilla-coding-academy-project-four
CC-MAIN-2016-26
refinedweb
7,969
70.94
i tried writing a guess the number game using functions but i ran into some problems Code:8 C:\Documents and Settings\wmorrish\Desktop\New Folder\main.cpp ` guesscount' undeclared (first use this function)would i have to redeclare guess and guesscount inside the function? or is there any other way around this?would i h...
http://cboard.cprogramming.com/cplusplus-programming/58161-guessing-number-game-problem.html
CC-MAIN-2014-52
refinedweb
205
63.29
10 Scala Programming Pitfalls Scala is great for highly scalable, component-based applications that support concurrency and distribution. It leverages aspects of object-oriented and functional programming. This JVM-based language gained most of its clout when it was announced that Twitter was using it. If used correctl...
http://java.dzone.com/articles/watch-out-these-scala
CC-MAIN-2013-48
refinedweb
1,726
64.41
- Tutorials - Tanks tutorial - Firing Shells Firing Shells Checked with version: 5.2 - Difficulty: Intermediate Phase 6 teaches you how to fire projectiles, and make a UI & Sound fx to accompany the mechanic. Firing Shells Intermediate Tanks tutorial Transcripts - 00:07 - 00:10 Okay, so in this phase we're going to add...
https://unity3d.com/learn/tutorials/projects/tanks-tutorial/firing-shells?playlist=20081
CC-MAIN-2018-43
refinedweb
9,291
82.17
In my last post I was talking about my idea to use the jqGrid to create a grid based on the data model. In this post I want to take the existing jqTGrid and go one step further. – What if we want to hide a column? What about the column header text? The first step what I did for that was to change Linq2Sql to the Entity...
https://blog.lieberlieber.com/2010/07/08/asp-net-mvc-and-a-generic-jqquery-grid-jqtgrid-part-2/
CC-MAIN-2019-30
refinedweb
534
55.84
Syntax check not catching error Discussion in 'VHDL' started by marc rei, Oct 17, 2006. Want to reply to this thread or ask your own question?It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum. - Similar Threads ca...
http://www.thecodingforums.com/threads/syntax-check-not-catching-error.374737/
CC-MAIN-2015-32
refinedweb
202
80.72
It is widely agreed that technical interviews for product-based companies, such as Microsoft and Amazon, can be difficult to pass. You require lots of practice with competitive problems and technical knowledge to get into your dream company. To help you with the same, here we present one such competitive problem that i...
https://favtutor.com/blogs/largest-reactangle-in-histogram
CC-MAIN-2022-33
refinedweb
1,339
62.88
Although Gutenberg is put together with React, the code we’re writing to make custom blocks isn’t. It certainly resembles a React component though, so I think it’s useful to have a little play to get familiar with this sort of approach. There’s been a lot of reading in this series so far, so let’s roll-up our sleeves a...
https://css-tricks.com/learning-gutenberg-5-react-101/
CC-MAIN-2022-27
refinedweb
2,676
63.7
Unable to get ldap attribute Hi everyone, ! I'm currently trying to store in a Hashmap object the value and key of the ldapAttributeList returned by my ldap connector using the the output operation window. Here is a piece of code doing this thing : def temp_list = [:] ldapAttributeList[0].each { temp_list.put((it.getNa...
https://community.bonitasoft.com/questions-and-answers/unable-get-ldap-attribute
CC-MAIN-2021-04
refinedweb
310
62.27
Fried. Data Quality Since v2 of the NYT Article Search API was unfamiliar to me (they changed enough from v1 that my old code no longer ran), I used a bare-bones search query: “Thomas L. Friedman” –— without filtering. This was a mistake. As I should have caught beforehand, I actually retrieved all articles mentioning ...
http://bdewilde.github.io/blog/blogger/2013/10/20/friedman-corpus-2-data-quality-and-corpus-stats/
CC-MAIN-2017-43
refinedweb
1,278
52.7
Creating a DFS folder is similar to creating the DFS namespace. A folder can be created to target existing shares, folders beneath existing shares, or a new share can be created on the desired server or servers. As recommended previously, pre-create the file share on an NTFS folder and properly configure the share and ...
https://www.oreilly.com/library/view/windows-server-2012/9780133116007/ch28lev2sec37.html
CC-MAIN-2019-51
refinedweb
126
53.51
With the release of Qt 5.5 the Qt WebKit API was deprecated and replaced with the new QtWebEngine API, based on Chromium. The WebKit API was subsequently removed from Qt entirely with the release of Qt 5.6 in mid-2016. The change to use Chromium for web widgets within Qt was motivated by improved cross-platform support...
https://www.twobitarcade.net/article/qtwebenginewidgets-pyqt5/
CC-MAIN-2019-09
refinedweb
959
63.19
- A Useful Instance of A Big Topic - Installing The XMingwin Environment - Where To Go Next Suppose you're a Linux-based developer. You wrote a complex library that calculates weather statistics, or creates sound effects, or de-blurs photographic images. You successfully deliver programs to an extensive list of custome...
http://www.informit.com/articles/article.aspx?p=32075&amp;seqNum=2
CC-MAIN-2017-04
refinedweb
529
58.79
jaded 0.3.1 Port of node.js popular Jade view engine for Dart. Checkout the PugJS site for documentation and usage jaded # Port of the excellent Pug, formerly Jade view engine in Dart. Now feature complete with the original jade view engine, begin by taking the comprehensive tour on learnjade.com and refer to jade's de...
https://pub.dev/packages/jaded
CC-MAIN-2020-34
refinedweb
687
50.33
A Static File Server with options. Project description A Static File Server with options. Table of Contents - Features - Options - Installation - Preparing your Files - Use as a Command Line Tool - Use as a Python Library - Infrequently Asked Questions - License - Change Log Features Options Rheostatic currently suppor...
https://pypi.org/project/Rheostatic/
CC-MAIN-2019-47
refinedweb
1,248
57.98
Today, an interesting question was raised at Stackoverflow regarding if it were possible to define Dev/Prod mode specific routes in the Routes file. The simple answer, was that I didn’t know, but I had an theory that this could be possible, so I threw together a quick prototype to see if it would work. The premise of t...
http://java.dzone.com/articles/hidden-features-play-framework
CC-MAIN-2014-42
refinedweb
588
62.88
Creating transaction-protected applications using the Berkeley DB library is quite easy. Applications first use DB_ENV->open() to initialize the database environment. Transaction-protected applications normally require all four Berkeley DB subsystems, so the DB_INIT_MPOOL, DB_INIT_LOCK, DB_INIT_LOG, and DB_INIT_TXN fla...
http://docs.oracle.com/cd/E17276_01/html/programmer_reference/transapp_env_open.html
CC-MAIN-2017-39
refinedweb
502
54.39
With SAP HANA SP5*, we introduce an exciting new capability called SAP HANA Extended Application Services (sometimes referred to unofficially as XS or XS Engine). The core concept of SAP HANA Extended Application Services is to embed a full featured application server, web server, and development environment within the...
https://blogs.sap.com/2012/11/29/sap-hana-extended-application-services/
CC-MAIN-2017-47
refinedweb
5,843
56.25
How to use notebooks in Azure Data Studio This article describes how to launch the Notebook experience in Azure Data Studio and how to start authoring your own notebooks. It also shows how to write Notebooks using different kernels. Connect to SQL Server You can connect to the Microsoft SQL Server connection type in Az...
https://docs.microsoft.com/en-us/sql/azure-data-studio/sql-notebooks?view=sql-server-2017
CC-MAIN-2019-39
refinedweb
1,014
68.81
A. As you mentioned, your algorithm runs in O(n^2) time, but it is possible to reduce it to O(log n * n). This is done by first sorting the array, if the array has an element that is equal to (k / 2) then that can be summed with itself to become k, otherwise we go to the position in the list where the ith element is le...
http://scrollingtext.org/programming-praxis-sum-two-integers
CC-MAIN-2014-52
refinedweb
411
70.77
OK, back to the topic! It's time to describe the 3rd task of SD6 QR. I'll be very brief on the 3rd task, because was a standard SQL injection (not even a blind one) on MySQL 5.X, with INFORMATION_SCHEMA available for usage. In a variable dzial= ("dzial" stands for "section") there was an SQLI, which you exploited in th...
https://gynvael.coldwind.pl/?id=76
CC-MAIN-2019-26
refinedweb
936
72.36
Compatibility - 0.2.0 and master5.35.25.15.04.2 - 0.2.0 and masteriOSmacOS(Intel)macOS(ARM)LinuxtvOSwatchOS This is a native SDK for interacting with OpenWhisk. OpenWhisk is a serverless platform that operates on the basis of creating "actions" and invoking them. To learn more about how to use OpenWhisk, please go here...
https://swiftpackageindex.com/dokun1/openwhisk-swift-sdk
CC-MAIN-2021-10
refinedweb
624
54.73
CodeGuru Forums > Visual C++ & C++ Programming > C++ (Non Visual C++ Issues) > Help:: Cross Platform Struct Member Alignment PDA Click to See Complete Forum and Search --> : Help:: Cross Platform Struct Member Alignment DaDB1 September 11th, 2002, 05:42 AM I am building a windows gui app to manage a database. The datab...
http://forums.codeguru.com/archive/index.php/t-209156.html
crawl-003
refinedweb
1,689
53.14
26 November 2010 15:33 [Source: ICIS news] LONDON (ICIS)--Both Arkema and Rhodia have completed their initial phase Reach registrations, the companies said in separate statements on Friday. Arkema said it had met EU requirements by registering 140 substances produced or imported in annual quantities of 1,000 tonnes or ...
http://www.icis.com/Articles/2010/11/26/9414443/Arkema-and-Rhodia-complete-Reach-first-phase-registrations.html
CC-MAIN-2014-52
refinedweb
298
53.55
Real Time GraphQL Mutations — Using Apollo Client, React and Optimistic UI Taking your app UX to the next level isn’t an easy task, however choosing the right tools can help you deliver a brilliant experience to your users. A long short story — I’ve always been interested in learning new technologies to improve the web...
https://medium.com/@franciscovarisco/real-time-graphql-mutations-using-apollo-client-react-and-optimistic-ui-10e35ec3553e?utm_campaign=Fullstack%2BReact&utm_medium=web&utm_source=Fullstack_React_104
CC-MAIN-2019-30
refinedweb
1,167
59.23
PyPlot: Graphs In Python Notes Get the manual. A brief look at the architecture. Page Contents Newer APIs Useful Links & References - Matplotlib: plotting scipy-lectures.org. Oh man, now that I've found this page, it makes my notes page rather redundant for me LOL. Basics Import the library into your Python script: imp...
https://jehtech.com/python/pyplot.html
CC-MAIN-2021-25
refinedweb
2,448
67.76
Creating a TODO application using Stencil Stencil arrived some months ago as the web revolution. Even for Ionic experts, the transition to this technology can seem quite complicated. At the moment and until Ionic 4 is out, Stencil's full potential is not yet known. It's fast and it works everywhere, that's all we know....
https://www.javascripttuts.com/creating-a-todo-application-using-stencil/
CC-MAIN-2020-50
refinedweb
1,979
57.47
tag:blogger.com,1999:blog-41819395659769033822019-07-15T04:35:59.186-04:00Hack-A-VisionBlog for netsec, linux, windows, and hacking! New readers: If you want a list of my posts, check out my "hackive" or "popular posts" on the sidebar! If you want to support my blog there is a donate option, but do not feel obliged as ...
http://feeds.feedburner.com/Hack-a-vision
CC-MAIN-2019-30
refinedweb
28,295
59.84
Hello RoR Folks, I’m working on document submission web app hosted at site5.com. I’ve run into an issue that I can’t seem to solve. I’m using ActionMailer to send an email any time a document is submitted. My code is bombing out when processing the template for the mailer. Here is an excerpt from the product log file: ...
https://www.ruby-forum.com/t/actionview-templateerror-in-production-mode/86640
CC-MAIN-2021-43
refinedweb
215
52.56
I> <p>.....</p> </articulo> </seccion> </capitulo> I think that the pattern "//articulo[2]" is the correct but the XSLT proccesor doesn=B4t found it. =BFwhat is the correct pattern to select the second element of the type "articulo"? Thanks. On Tue, 5 Mar 2002 19:08:03 +0100, Sandra wrote: > I> ^ There seems to be a ty...
http://sourceforge.net/p/saxon/mailman/message/5485769/
CC-MAIN-2015-27
refinedweb
300
57.81
['s recent decision to demote PageMaker in favour of the next generation InDesign has had major repercussions. One of the less spectacular but more personally alarming consequences is that it led Derek Cohen to decide that the PC Pro DTP benchmark needed to be redone from scratch. From my less-than-happy experience wit...
http://designer-info.com/DTP/database_publishing.htm
CC-MAIN-2018-05
refinedweb
2,667
57.2
Ive got this text file Im trying to read from. Its located in my resources folder in microsoft visual studio. Im trying to access that text file so I can parse the text from that file to an integer and store it in my integer array called Armor[,] .The contents of the text file is a 12x11 chart of numbers which I would ...
http://www.gamedev.net/topic/638718-accessing-a-text-file-from-resource-folder-in-ms-visual-studio/?forceDownload=1&_k=880ea6a14ea49e853634fbdc5015a024
CC-MAIN-2016-36
refinedweb
278
54.12
Summary Compares two files and returns the comparison results.. Usage This tool returns messages showing the comparison result. By default, it will stop executing after encountering the first miscompare. To report all differences, check on the Continue Comparison parameter. File Compare can report differences between t...
https://pro.arcgis.com/en/pro-app/tool-reference/data-management/file-compare.htm
CC-MAIN-2019-18
refinedweb
589
51.65
Version: (using KDE KDE 3.5.7) Installed from: Mandrake RPMs OS: Linux Some possible additions to make Digikam more useful to photographers who workflow lots of pictures: 1: Color coding images: allow user to color code images so that he/she can organize images according to workflow. So, for example, an image colored a...
https://bugs.kde.org/show_bug.cgi?id=152424
CC-MAIN-2022-33
refinedweb
7,478
51.44
1 /* 2 * Copyright (c).java; 27 28 /** 29 * Information about the occurrence of an identifier. 30 * The parser produces these to represent name which cannot yet be 31 * bound to field definitions. 32 * 33 * WARNING: The contents of this source file are not part of any 34 * supported API. Code that depends on them does ...
http://checkstyle.sourceforge.net/reports/javadoc/openjdk8/xref/openjdk/jdk/src/share/classes/sun/tools/java/IdentifierToken.html
CC-MAIN-2018-13
refinedweb
262
60.61
How to create an Adapter #Introduction Adapters are well defined, tested and extensible smart contracts that are created with a unique purpose. One Adapter is responsible for performing one or a set of tasks in a given context. With this approach we can develop adapters targeting specific use-cases, and update the DAO ...
https://tributedao.com/docs/tutorial/adapters/creating-an-adapter/
CC-MAIN-2021-43
refinedweb
1,716
55.84
CHAPTER 4 The Java programming language is a strongly typed language, which means that every variable and every expression has a type that is known at compile time. Types limit the values that a variable (§4.5) types. The numeric types are the integral types byte, short, int, long, and char, and the floating-point type...
http://java.sun.com/docs/books/jls/second_edition/html/typesValues.doc.html
crawl-002
refinedweb
2,038
55.34
What happens if one builds up on the Spectre vulnerability to implement a convoluted version of memcpy? From an obfuscator point-of-view, it unleashes a wide range of opportunities, which turn a definite bug into a fun[nk]y feature. Context Basically, the Spectre [0] vulnerability makes it possible to read a memory loc...
https://blog.quarkslab.com/spectre-is-not-a-bug-it-is-a-feature.html
CC-MAIN-2021-39
refinedweb
957
50.26
Opened 7 years ago Closed 13 months ago Last modified 13 months ago #1631 closed enhancement (wontfix) Options request: redirection page, anonymous permissions Description Request that redirection page can be specified - for example, if anonymous is allowed to view wiki but not submit tickets, then it would be nice to ...
http://trac-hacks.org/ticket/1631
CC-MAIN-2013-48
refinedweb
261
58.08
I thought so once. I had created a simulation where creatures live in my artifisial enviorment as is they, move around, eat, reproduce, and die. Now, I used RAND() to detirmain the random locations of the food, creatures and sex of the creatures. And I noticed that most of the creatures where female. In my code 1 ment ...
http://cboard.cprogramming.com/cplusplus-programming/77987-rand-does-favor-lower-number-printable-thread.html
CC-MAIN-2014-52
refinedweb
242
57.16
From Wikipedia, the free encyclopedia Portfolio analysis redirects here. For theorems about the meanvariance efficient frontier, see Mutual fund separation theorem. For non-mean-variance portfolio analysis, see Marginal conditional stochastic dominance. Modern portfolio theory (MPT) is a theory of investment[1] for the...
https://www.scribd.com/document/57752192/New-Microsoft-Office-Word-Document-2
CC-MAIN-2018-43
refinedweb
5,027
66.03
Due: Tuesday, April 11, 2017, 11:59 pm. Most of the exercises in lab will involve building up an L-system class. This week it will be important for you to use the method names provided. The next several labs will expect the Lsystem and TurtleInterpreter classes to have certain methods with particular names. Begin a cla...
http://cs.colby.edu/courses/S17/cs151-labs/labs/l8.html
CC-MAIN-2017-47
refinedweb
484
67.15
Plotting on the Bloch Sphere¶ Important Updated in QuTiP version 3.0. Introduction¶ When studying the dynamics of a two-level system, it is often convent to visualize the state of the system by plotting the state-vector or density matrix on the Bloch sphere. In QuTiP, we have created two different classes to allow for ...
http://qutip.org/docs/4.1/guide/guide-bloch.html
CC-MAIN-2017-43
refinedweb
2,032
66.64
add this settings to your $HOME/.vimrc file set smartindent set tabstop=4 set shiftwidth=4 set expandtab add this settings to your $HOME/.vimrc file set smartindent set tabstop=4 set shiftwidth=4 set expandtab. Very recently my friend Hari wrote an article about operator overloading in ruby, and he asked me to implemen...
https://jineshpaloor.wordpress.com/author/jineshpaloor/
CC-MAIN-2017-51
refinedweb
804
64.2
Re: WS::Client package fails to load wsdl - From: Bruce <doNOTmailMe@xxxxxxxxxxx> - Date: Thu, 18 Sep 2008 09:13:25 -0500 yahalom wrote: On Sep 18, 7:20 am, "Gerald W. Lester" <Gerald.Les...@xxxxxxx> wrote:yahalom wrote:I try to work with a web service using WS package. the command:The import command in a WSDL states t...
http://coding.derkeiler.com/Archive/Tcl/comp.lang.tcl/2008-09/msg00667.html
CC-MAIN-2013-48
refinedweb
476
75.95
How to serve static files with Python 3 + Flask Python Flask is a good microframework for building a minimal viable product to validate our ideas on the Internet. A modern web application encompasses documents that tell the web browser how to build the visuals of our web application and communicate with our server back...
https://www.techcoil.com/blog/serve-static-files-python-3-flask/
CC-MAIN-2019-22
refinedweb
595
55.54
Control.Concurrent.MState Contents Description MState: A consistent state monad for concurrent applications. Synopsis - data MState t m a - module Control.Monad.State.Class - runMState :: Forkable m => MState t m a -> t -> m (a, t) - evalMState :: Forkable m => Bool -> MState t m a -> t -> m a - execMState :: Forkable ...
http://hackage.haskell.org/package/mstate-0.2.1/docs/Control-Concurrent-MState.html
CC-MAIN-2015-35
refinedweb
358
60.75
A summary explanation of London’s labour market in the recent recession. Analysis by Melisa Wickham Presented by Jonathan Hoffman. What the summary covers:. Looking forward : How might the factors that have supported the labour market thus far change summary explanation of London’s labour market in the recent recession...
http://www.slideserve.com/yair/a-summary-explanation-of-london-s-labour-market-in-the-recent-recession
CC-MAIN-2017-13
refinedweb
805
61.67
Hurricane Matthew was upgraded to a Category four hurricane, with windspeeds up to 140 miles per hour. Source: NOAA/NASA Goddard MODIS Rapid Response Team?xml:namespace> HOUSTON (ICIS)--Hurricane Matthew strengthened once again on Friday, increasing from a Category 3 to a Category 4 storm, according to the US National ...
http://www.icis.com/resources/news/2016/10/01/10039702/matthew-upgraded-to-category-4-hurricane/
CC-MAIN-2016-44
refinedweb
117
52.9
On Fri, Jun 15, 2001 at 04:51:35PM +0200, Heinz J. Mauelshagen wrote: > On Fri, Jun 15, 2001 at 04:11:51PM +0200, Hugo Lombard wrote: > > > > If you're using LVM primarily as a way to make it possible for you to > > expand your storage space on-line (and on-mount-point) wouldn't it be > > "easier" to _just_ use the RAI...
https://www.redhat.com/archives/linux-lvm/2001-June/msg00137.html
CC-MAIN-2014-15
refinedweb
328
61.97
A client for the tinder api This is a python client for the Tinder API. Please see the examples for more information on how to use. You start by instantiating a pynder.Session object with a Facebook ID and Facebook access token. Once your session is initialized you have the following methods / attributes: import pynder...
https://pypi.org/project/pynder/
CC-MAIN-2017-26
refinedweb
377
62.34
In this tutorial we will discuss in java constructor and its type with example. Constructors : A constructor is a special kind of method that has the same name as the class itself. It enables an object to initialize itself when it is created. There are two points to remember during creation of constructors- Types of Co...
http://www.roseindia.net/tutorial/java/core/ConstructorExample.html
CC-MAIN-2015-32
refinedweb
324
50.06
Specialization of PsiStream to output streams. More... #include <PsiOutStream.h> Specialization of PsiStream to output streams. Makes an OutStreamBase that defaults to std::cout. Creates this by copying other, via base copy constructor. No memory to free up (we don't delete cout or cerr) Dumps Buffer to Stream_. Flushe...
http://psicode.org/psi4manual/doxymaster/classpsi_1_1PsiOutStream.html
CC-MAIN-2017-22
refinedweb
418
55.95
Original issue: - - Our app gets called in two separate ways: 1. Like a normal web page through Google chrome 2. Through our native iOS app with WkWebView So our approach was to build only a native app for iOS to fill the gaps of the ServiceWorker (like to enable push notifications, offline support, etc.). Which Safari...
https://bugs.webkit.org/show_bug.cgi?format=multiple&id=174629
CC-MAIN-2022-05
refinedweb
1,249
58.79
C++ Friend Function Example | Friend Function In C++ is today’s topic. A friend function is used to access the private and protected members of the class. Private and Protected data members of the class can only be accessed through member functions of that particular class, but through the friend function, we can acces...
https://appdividend.com/2019/07/05/c-friend-function-example-friend-function-in-c/
CC-MAIN-2019-47
refinedweb
1,151
66.47
Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode. Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript). Hi, I'm trying to export object an animated hierarchy of objects from ...
https://plugincafe.maxon.net/topic/12663/left-hand-local-coordinates-to-right-hand-local-coordinates
CC-MAIN-2021-31
refinedweb
544
51.14
So, I was working with Clojure and… well… it seemed to be the worst combination of slow start-up and slow compilation… and it's supposed to be a dynamic language. So, I pinged the very nice people in the Clojure community and they pointed me in the right direction. Basically, everything you do in Clojure, you do in the...
https://dzone.com/articles/my-first-clojure-workflow
CC-MAIN-2017-17
refinedweb
427
69.58