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 |
|---|---|---|---|---|---|
Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers
Watch→
Kernel.org
Mirrors
Full
Changelog
Trying to be a bit more timely about releases, especially since some
people couldn't use 2.5.37 due to the X lockup that should hopefully
be fixed (no idea _why_ that old bug only started to matter recentl... | https://www.linuxtoday.com/developer/2002092200126NWKNDV | CC-MAIN-2018-47 | refinedweb | 856 | 65.01 |
WSDL 2.0 support for Axis2
Interested in knowing how I spend my time working on my Google Summer of Code project?
Well, here I present some snapshots of my journey. Hope you will enjoy reading about the road map, milestones, scenery, pot-holes and road blocks I encounter!
You can find my original proposal
here, and the... | http://wiki.apache.org/general/OshaniSeneviratne/GSoC/progress | crawl-002 | refinedweb | 2,182 | 64.91 |
Can someone kindly provide me with the URL that explains how I can enhance
my program below to
1. Turn on and off various levels of logging (eg: turn on info logging
but turn off debug logging)
2. Display the logs somewhere besides standard output?
I have read and it appears
this can be done on tomcat using a log4jconf... | http://mail-archives.apache.org/mod_mbox/logging-log4j-user/200908.mbox/%3CAFDC556040E148A2BEC7FDC19BBE10F7@kingmark%3E | CC-MAIN-2019-39 | refinedweb | 258 | 61.73 |
Combo boxes - dynamic font color change
Hello,
I'm new to Qt, but I know C++ pretty well. I was searching about my problem and know that there is a couple ways of doing that (custom model, custom delegate, stylesheets).
Details about my goal:
- several combo boxes (up to 4) with the same items (serial ports names)
- no... | https://forum.qt.io/topic/43941/combo-boxes-dynamic-font-color-change | CC-MAIN-2018-51 | refinedweb | 292 | 62.48 |
And much harder to maintain. Actually I do use switch statements andAnd much harder to maintain. Actually I do use switch statements andQuote:>Using a switch (or, equivalently, a series of if (blah == foo)
>statements) ties the meaning of the enumerator (i.e. what code path
>will be executed) directly to the name of th... | http://www.verycomputer.com/41_81f037f2967e6e55_2.htm | CC-MAIN-2019-13 | refinedweb | 131 | 55.84 |
DESIGN GUIDELINE
Prepared By: Dr. Robert Hammon Building Industry Institute Sacramento, CA Contract No. 400-00-037
Prepared For:
Martha Brook, Contract Manager Ann Peterson, PIER Buildings Program Manager Nancy Jenkins Office Manager ENERGY EFFICIENCY RESEARCH OFFICE Martha Krebs, Ph.D. Deputy Director ENERGY RESEARCH ... | https://www.scribd.com/document/194250186/Hvac-Design | CC-MAIN-2019-35 | refinedweb | 14,597 | 53 |
Odoo Help
This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.
why is boolean field not answering the onchange function?
Hello friends!!!
I am using an onchange function to modify a boolean field.
here ... | https://www.odoo.com/forum/help-1/question/why-is-boolean-field-not-answering-the-onchange-function-93928 | CC-MAIN-2016-50 | refinedweb | 230 | 57.47 |
.
Although somewhat unrelated, this reminds me of a VS feature I wish existed. It would be nice if VS had an option to generate a using statement when tab-completing a namespace via Intellisense. At least I don't think this functionality exists...
I'd like a way to automatically remove all unused usings throughout a pr... | http://blogs.msdn.com/b/ericlippert/archive/2010/01/25/why-are-unused-using-directives-not-a-warning.aspx | CC-MAIN-2015-14 | refinedweb | 1,174 | 61.46 |
Pelican theme, first used for Minchin.ca.
Project description
Minchin dot CA is a theme for Pelican, a static site generator written in Python.
The Minchin dot CA theme is based on Bootstrap 3, and was first used at Minchin.ca.
Installation
The easiest way to install the Minchin dot CA theme is through the use of pip. ... | https://pypi.org/project/minchin.pelican.themes.minchindotca/ | CC-MAIN-2018-26 | refinedweb | 233 | 59.09 |
Hello!
I am looking for a function that would automatically compute location coordinates for X items (X being an argument of the function) presented at X iso-eccentric locations equally spaced around the central fixation point (or equally spaced around a point Y that would also be an argument fo the function). Ideally,... | https://discourse.psychopy.org/t/is-there-a-psychopy-function-to-generate-coordinates-for-iso-eccentric-locations-in-visual-search-displays/4294 | CC-MAIN-2021-43 | refinedweb | 576 | 54.52 |
Messaging with RabbitMQ and .NET C# part 1: foundations and setup
April 28, 2014 6 Comments
Introduction
Messaging is a technique to solve communication between disparate systems in a reliable and maintainable manner. You can have various platforms that need to communicate with each other: a Windows service, a Java ser... | https://dotnetcodr.com/2014/04/28/messaging-with-rabbitmq-and-net-c-part-1-foundations-and-setup/ | CC-MAIN-2018-47 | refinedweb | 1,556 | 65.73 |
Top Apps
- Audio & Video
- Business & Enterprise
- Communications
- Development
- Home & Education
- Games
- Graphics
- Science & Engineering
- Security & Utilities
- System Administration
Showing page 1 of 68.
.0 Ident Service
Real Windows Ident Service written in C#.1 weekly downloads
.Net MCI Wrapper Class
.Net MCI ... | http://sourceforge.net/directory/language%3Avb_net/os%3Awindows/license%3Agpl/?sort=name | CC-MAIN-2014-15 | refinedweb | 249 | 50.94 |
If I run the following program:
I get as output:I get as output:Code:#include <stdio.h> #include <stdlib.h> int main() { unsigned char c = -1; unsigned i = -1; printf("c: %d\n", c); printf("i: %d\n", i); return 0; }
c: 255
i: -1
I am assuming that on my machine (Pentium 4) a twos complement representation is used.
An i... | http://cboard.cprogramming.com/c-programming/110848-internal-representation-signed-unsigned-chars-ints.html | CC-MAIN-2015-35 | refinedweb | 289 | 73.71 |
ZFS was first publicly released in the 6/2006 distribution of
Solaris 10. Previous versions of Solaris 10 did not include ZFS.
ZFS is flexible, scalable and reliable. It is a POSIX-compliant
filesystem with several important features:
No separate filesystem creation step is required. The mount of the
filesystem is auto... | http://www.princeton.edu/~unix/Solaris/troubleshoot/zfs.html | crawl-002 | refinedweb | 2,157 | 52.39 |
Programming Questions & Answers -
You should practice these quizzes to improve your C programming skills needed for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive exams.
a) int my_num = 100,000;
b) int my_num = 100000;
c) int my num = 100... | http://www.crazyforcode.com/c-programming-quiz-set-1/ | CC-MAIN-2017-26 | refinedweb | 805 | 60.58 |
Robot Operating System (ROS) is an open source robotics platform that helps your robot visualize the world, map and navigate it, and perform physical interactions using state-of-the-art algorithms. If you want to build a complex robot, chances are there is some ROS code already available to help you. You can use as lit... | http://makezine.com/2017/01/20/smooth-servo-control-with-ros/ | CC-MAIN-2017-09 | refinedweb | 1,404 | 72.87 |
sqlite3_exec: the 3rd argument
(1) By anonymous on 2021-01-17 09:01:45 [link]
The 3rd argument of this API is the callback function. 1. The callback function is executed as many times as there are rowsin the result. Correct? 2. The callback function returns the column names <b>every</b> time it is called? Correct? If a... | https://sqlite.org/forum/forumpost/12932135cd9f72a4?t=h&unf | CC-MAIN-2022-40 | refinedweb | 5,085 | 63.9 |
1, Title or a paragraph of lyrics or poetry.
2, SPI introduction
SPI (Serial Peripheral interface) is a Serial Peripheral interface. SPI interface is mainly used between EEPROM, FLASH, real-time clock, AD converter, digital signal processor and digital signal decoder.
SPI is a high-speed, full duplex and synchronous co... | https://programmer.help/blogs/embedded-16-stm32-oled-screen-display-application-example.html | CC-MAIN-2022-21 | refinedweb | 1,724 | 54.42 |
53118/query-regarding-arraybuffer
Hi,
Why we cant use new keyword for creating ArrayBuffer object?
import scala.collection.mutable.ArrayBuffer
val MyArray = new ArrayBuffer(1,2,3,4) ==>> Showing me error
val MyArray = ArrayBuffer(1,2,3,4) ==>> Working Fine
It's because that is the syntax. This is the syntax for creatin... | https://www.edureka.co/community/53118/query-regarding-arraybuffer?show=53119 | CC-MAIN-2020-10 | refinedweb | 195 | 56.96 |
I'm trying to play around with hbase in python and I am using the cloudera repository to install the hadoop/hbase packages. It seems to work as I can access and work on the database using the shell but its not fully working within python.
I know to communicate with hbase I need thrift so I downloaded and complied it fr... | https://codedump.io/share/dWhZ1Ak3IFd0/1/how-can-i-import-hbase-in-python | CC-MAIN-2016-44 | refinedweb | 150 | 75.84 |
Shader renders completely black?Posted Wednesday, 28 November, 2012 - 23:51 by Evinyl in
Hello, i'm trying to make a rather basic shader that colors a fragment relative to it's position in the window.
So far, i've come up with this
uniform vec3 LowColor; uniform vec3 HighColor; uniform float windowHeight; float GetAver... | http://www.opentk.com/node/3224 | CC-MAIN-2014-42 | refinedweb | 660 | 66.03 |
I discovered this pattern (or anti-pattern) and I am very happy with it.
I feel it is very agile:
def example(): age = ... name = ... print "hello %(name)s you are %(age)s years old" % locals()
Sometimes I use its cousin:
def example2(obj): print "The file at %(path)s has %(length)s bytes" % obj.__dict__
I don't need t... | https://pythonpedia.com/en/knowledge-base/1550479/python--is-using------var-s------locals---a-good-practice- | CC-MAIN-2020-29 | refinedweb | 1,262 | 59.94 |
From Devoxx: JavaFX on show, JDK 7 News !Filed under: devoxx javafx javase jdk7 on Friday Dec 12, 2008
Closing out a busy week here at Devoxx, the release of JavaFX and JDK 7 news have been the talk of the town !
Meanwhile, Devoxx attendees have been busily expressing their wants and needs on the whiteboards between se... | http://blogs.sun.com/theplanetarium/entry/from_devoxx_javafx_on_show | crawl-002 | refinedweb | 980 | 71.85 |
There.
This?
A little break from my "LINQ to SQL tips" series of posts. A recent vote of no confidence on a related component orchestrated by community activists reminded me of many questions I have fielded and how the design team approached the design of LINQ to SQL (and also core LINQ APIs and C# language changes fo... | http://blogs.msdn.com/dinesh.kulkarni/ | crawl-002 | refinedweb | 632 | 58.18 |
Current Role Using BLCLISteven Scarborough Jun 9, 2008 2:14 PM
How do you get your current role using BLCLI?
1. Re: Current Role Using BLCLIGreg Kullberg Jun 10, 2008 7:31 AM (in response to Steven Scarborough)
That's a good question. Are you using a user_info.dat file?
You can specify a Role either by using the -r swi... | https://communities.bmc.com/message/235961?tstart=0 | CC-MAIN-2016-07 | refinedweb | 867 | 59.7 |
In the part one up to six of this weblog series I discussed mostly simple transformations. Now it is time to write about the most powerful XML tranformation techniques in ABAP: XSLT that is integrated into ABAP by the CALL TRANSFORMATION command.
XSLT 2.0 – What’s new?
There are problems which are very difficult to sol... | https://blogs.sap.com/2006/07/26/xml-processing-in-abap-part-7-the-power-of-xslt-20/ | CC-MAIN-2017-47 | refinedweb | 1,499 | 75.4 |
I was never really into games, but here's a blackjack game that I wrote today for practice. It's not meant to be really high tech or fully featured, just a little game for fun. What do you guys think and where can I improve it?
BebopBebopCode:// // BLACKJACK! // by Dr.Bebop // // Rules: Each player gets at most 5 cards... | http://cboard.cprogramming.com/game-programming/24490-blackjack.html | CC-MAIN-2014-52 | refinedweb | 662 | 79.77 |
Below is the test program, including a Chinese character:
# -*- coding: utf-8 -*-
import json
j = {"d":"中", "e":"a"}
json = json.dumps(j, encoding="utf-8")
print json
{"e": "a", "d": "\u4e2d"}
You should read json.org. The complete JSON specification is in the white box on the right.
There is nothing wrong with the gen... | https://codedump.io/share/Gn6XV4Ye8R9J/1/python-jsondumps-can39t-handle-utf-8 | CC-MAIN-2017-26 | refinedweb | 115 | 64.61 |
Let’s take another look at the Kolakoski sequence (part 1, part 2) which, by definition, is the sequence of 1s and 2s in which the nth term is equal to the length of the nth run of consecutive equal numbers in the same sequence. When a sequence has only two distinct entries, it can be visualized with the help of a turt... | https://calculus7.org/tag/turtle/ | CC-MAIN-2018-05 | refinedweb | 408 | 68.5 |
Passing Data From QT To C++
- physicsguy
I was working through one of the examples on signals and slots and ive found that there is one line of code that is causing compilation issues. Here is my code
@#include <iostream>
#include <QObject>
using namespace std;
class Counter : public QObject{
Q_OBJECT
signals:
void val... | https://forum.qt.io/topic/36950/passing-data-from-qt-to-c | CC-MAIN-2017-39 | refinedweb | 266 | 55.44 |
Closed Bug 689924 Opened 10 years ago Closed 10 years ago
Change "Inspect" shortcut to Cmd+Opt+I, Web Console to Cmd+Opt+K (Mac Only)
Categories
(DevTools :: General, defect)
Tracking
(firefox10+ verified)
Firefox 11
People
(Reporter: rik, Unassigned)
Details
(Keywords: verified-beta, Whiteboard: [fixed-in-fx-team][qa!... | https://bugzilla.mozilla.org/show_bug.cgi?id=689924 | CC-MAIN-2021-49 | refinedweb | 810 | 58.18 |
Welcome to the Parallax Discussion Forums, sign-up to participate.
0018(0000) 0C 16 BC 04 | doNEXT rdword instr,IP 'read word code instruction 001C(0001) 02 18 FC 81 | add IP,#2 wc 'advance IP to next wordcode (clears the carry too!) 0020(0002) 09 16 7C 2A | shr instr,#9 nr,wz ' cog or hub? 0024(0003) 0B 00 28 5C | if_... | https://forums.parallax.com/discussion/165490/tachyon-v4-dawn-exploring-new-worlds | CC-MAIN-2021-04 | refinedweb | 3,344 | 78.69 |
What is currying?
Currying is the fine art of transforming a function with arity
n into
n functions with arity 1.
This means: Given a function that takes X parameters, generate X functions that take only 1 parameter.
Using the wikipedia example:
- Given
x = ƒ(a, b, c)it becomes:
h = g(a)
i = h(b)
x = i(c)
- Or in a sin... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/sierisimo/the-beauty-of-currying-2poh | CC-MAIN-2022-40 | refinedweb | 1,243 | 50.57 |
On Chromium, we have to transcode a web font before handing it over to rendering libraries such as FreeType2 and t2embed.dll, for security reasons.
Chromium bug:
Created attachment 42480 [details]
transcode_webfonts_by_ots_v1
[+cc: levin@chromium.org, agl@chromium.org, jshin@chromium.org]
David, Adam,
Could you please ... | https://bugs.webkit.org/show_bug.cgi?id=31106 | CC-MAIN-2019-39 | refinedweb | 3,103 | 58.48 |
Section 8.1
Exceptions, try, and catch
GETTING A PROGRAM TO WORK UNDER IDEAL circumstances is usually a lot easier than making the program robust. A robust program is one that can survive unusual or "exceptional" circumstances without crashing. For example, a program that does a calculation that involves taking a squar... | http://math.hws.edu/eck/cs124/javanotes1/c8/s1.html | crawl-002 | refinedweb | 2,605 | 61.77 |
We were unable to locate this content in ja-jp.
Here is the same content in en-us.
You can create a series of Web pages, called a code comment Web report, that allow you to browse the code structure within files in your current project or solution, such as objects and interfaces defined in a project, and members. Using... | http://msdn.microsoft.com/ja-jp/library/aa292987(en-us,VS.71).aspx | crawl-002 | refinedweb | 249 | 62.07 |
AS3, Dictionary & Weak Method Closures
This is going to be a technical post so those of you not of the code persuasion look away now..
Okay great, now those guys have gone I can get down to it.
Some of my recent work on the SWFt project has revolved around the use of Robert Penners AS3Signals. If you dont know what Sig... | https://mikecann.co.uk/actionscript/flex/programming/swft/as3-dictionary-weak-method-closures/ | CC-MAIN-2018-34 | refinedweb | 1,469 | 52.29 |
FilMember
Content count118
Joined
Last visited
Community Reputation168 Neutral
About Fil
- RankMember
rename variables in release mode (like C++ #define)
Fil replied to Fil's topic in General and Gameplay Programming@jbadams: Thank you: your words are very encouraging @Bacterius: I haven't proprietary algorithms but it... | https://www.gamedev.net/profile/39238-fil/?tab=blog | CC-MAIN-2018-05 | refinedweb | 1,688 | 58.52 |
Yes, I also learned programming using BASIC when I was 11 years old or something around that age.
It's really made for beginners, nothing beats
PRINT "hello world"
and I learned my girlfriend basic programming before she learned a bit of C++.
The great thing about FreeBASIC is that it can do simple things, run QuickBas... | http://www.osnews.com/comments/23464 | CC-MAIN-2017-26 | refinedweb | 11,053 | 70.53 |
Adding.
Choosing a script language
I had many choices of languages I could support. The Search API runs on the JVM, so I could simply load additional jars. But that requires compilation, and I wanted something users can simply edit, save and reload to test. Some kind of script language would work better. The Java ecosy... | http://source.coveo.com/2014/09/23/adding-server-side-scripting/ | CC-MAIN-2017-13 | refinedweb | 1,836 | 64.91 |
As everyone knows, unit testing is a great way of ensuring
that code actually does what it claims it does, and that over time, as
the system changes, it carries on doing the same thing. Formal processes
like Extreme Programming (XP) depend heavily on consistent unit testing.
When used together, object-oriented design a... | http://archive.oreilly.com/pub/a/onjava/2003/11/12/reflection.html | CC-MAIN-2017-09 | refinedweb | 1,031 | 58.28 |
-
htotal = 0
ototal = 0
ctotal = 0
stotal = 0
ftotal = 0
ltotal = 0
while choice.upper() != "A" and choice.upper() != "R":
choice = raw_input("\nEnter a letter that corresponds to what you would like to order: ")
if choice.upper() == "H":
print "Hamburger\t$1.29"
subtotal = subtotal + 1.29
htotal = htotal + 1
elif cho... | http://www.python-forum.org/viewtopic.php?f=6&t=3431 | CC-MAIN-2015-22 | refinedweb | 406 | 53.07 |
Slashback: Palace, Perl, Coastalism 114
007 would prefer not to be required to go reinstall Linux. You may recall that in addition to various other pieces of head-adornment, the members of Britain's Royal Family rely on Red Hat, by way of their webmaster, Mick Morgan.
Brian writes: "Looks to me as if the Queen's webmas... | https://news.slashdot.org/story/01/02/08/0150232/slashback-palace-perl-coastalism | CC-MAIN-2017-04 | refinedweb | 6,424 | 71.24 |
If you haven't done so already read the installation instructions. This
document gives you a quick overview of the basic tasks many people will be interested
in doing.
Table of Contents
Pylons uses Paste to create and deploy projects as well as create new controllers and their tests.
Create a new project named hellowor... | http://wiki.pylonshq.com/display/pylonsdocs/Getting+Started | crawl-001 | refinedweb | 2,654 | 57.37 |
To merge two files in Java Programming, You have to ask to the user to enter the name of both the files with extension to merge its content and store the merged content in the third file so also ask to the user to enter the third file name with extension to perform this action as shown in the following program.
Followi... | https://codescracker.com/java/program/java-program-merge-two-files.htm | CC-MAIN-2019-13 | refinedweb | 251 | 51.48 |
Whatever your programs are doing, they often have to deal with vast amounts of data. This data is usually represented and manipulated in the form of strings. However, handling such a large quantity of input in strings can be very ineffective once you start manipulating them by copying, slicing, and modifying. Why?
Let'... | https://julien.danjou.info/high-performance-in-python-with-zero-copy-and-the-buffer-protocol/ | CC-MAIN-2019-30 | refinedweb | 1,319 | 58.48 |
i’ve got the basics of my code working but I can’t for the life of me figure out how to turn the lights into an array so the user can drag in whatever lights they want in the inspector.
I gather I need to turn the whole thing into a gameobject or something along those lines but im really not a coder and am working most... | https://proxieslive.com/making-a-user-configurable-light-array-to-change-functions/ | CC-MAIN-2020-40 | refinedweb | 140 | 54.15 |
Read pixels from screen into the saved texture data.
This will copy a rectangular pixel area from the currently active RenderTexture or the view (specified by the
source parameter) into the position defined
by
destX and
destY. Both coordinates use pixel space - (0,0) is lower left.
If
recalculateMipMaps is set to true,... | https://docs.unity3d.com/ru/2020.2/ScriptReference/Texture2D.ReadPixels.html | CC-MAIN-2021-43 | refinedweb | 322 | 64.71 |
ps2io – Support for PS/2 protocol¶
The
ps2io module contains classes to provide PS/2 communication.
ps2io.
Ps2(data_pin: microcontroller.Pin, clock_pin: microcontroller.Pin)¶
Communicate with a PS/2 keyboard or mouse
Ps2 implements the PS/2 keyboard/mouse serial protocol, used in legacy devices. It is similar to UART b... | https://circuitpython.readthedocs.io/en/6.0.x/shared-bindings/ps2io/index.html | CC-MAIN-2020-50 | refinedweb | 327 | 56.76 |
Ok, I was studying my examination and I was directed to watch this video to understand how Diffie Hellman (DH) key exchange works mathematically, the video was really good, concise and easy to understand, so to add spice to my study (study for examination is the world’s most boring thing to do) I wrote a simple python ... | https://cyruslab.net/2019/12/01/python-diffie-hellman-key-exchange-demo/ | CC-MAIN-2022-27 | refinedweb | 378 | 62.58 |
It's like upvotes, except they don't count for anything.
Here's the idea...
I send this app out to the community. The users will click the button. They will get hooked. They will continue to hit the button. We all work together to reach the goal of 1M (1,000,000) votes!
But I'm bored of clicker games!
Well, this isn't ... | https://repl.it/talk/share/Vote/28181?order=votes | CC-MAIN-2020-34 | refinedweb | 494 | 66.94 |
Networking in Unity is a large and probably confusing topic, so this lesson is designed to help introduce some of the basic requirements that will be needed to complete our muliplayer game. We will create a few specialized assets and scripts and make use of new classes and tags you may not have seen before. By the time... | http://theliquidfire.com/2016/05/05/turn-based-multiplayer-part-4/ | CC-MAIN-2020-45 | refinedweb | 4,828 | 61.56 |
Things used in this project
Story
Introduction
This topic will teach you how to control a RGB LED on an Arduino 101 board with an Android device. We used App Inventor to make Android app because it is graphical (just like Scratch) and can easily build .apk installation file for almost any Android device. For who have n... | https://www.hackster.io/45349/control-rgb-led-by-dragging-arduino-101-app-inventor-98ab0b | CC-MAIN-2017-34 | refinedweb | 1,220 | 56.55 |
Generating typed business foundation classes
This topic describes how to generate a typed Business Foundation (BF) class. It also describes code generation and templates to facilitate access to and modification of business foundation data.
BF is an Object Relation Modeling tool built into Optimizely Commerce that lets ... | https://docs.developers.optimizely.com/commerce/v14.0.0-commerce-cloud/docs/generating-typed-business-foundation-classes | CC-MAIN-2022-27 | refinedweb | 831 | 55.03 |
Maslakh: a look at Afghanistan's humanitarian disaster
It means "slaughterhouse," an apt enough term as it reflects and links the subjects of food and death. Maslakh is the largest refugee camp in Afghanistan. The largest refugee camp in the world. It's named after a nearby slaughterhouse that has not functioned in qui... | https://everything2.com/user/sid/writeups/Maslakh | CC-MAIN-2018-30 | refinedweb | 4,963 | 67.99 |
Hey, Scripting Guy! How can I retrieve a list of the System DSNs on a computer?-- RT
Hey, RT. You know, there’s an old Hollywood superstition that suggests that famous movie stars always die in threes: if a famous star dies today, then according to legend two more famous stars are doomed to die in the next week as well... | http://blogs.technet.com/b/heyscriptingguy/archive/2005/07/25/how-can-i-retrieve-a-list-of-the-system-dsns-on-a-computer.aspx | CC-MAIN-2015-22 | refinedweb | 1,169 | 61.97 |
!
4 Replies to ““Unable to load one or more of the requested types.” when using EntityDataSource with Entity Framework in ASP.NET”
Thanks for this post. I am not sure yet it fixes the issue will know soon… but your post makes it easy to understand why this error occurs and that is always some comfort (not knowing and j... | http://www.brianseekford.com/2011/08/01/unable-to-load-one-or-more-of-the-requested-types-when-using-entitydatasource-with-entity-framework-in-asp-net/ | CC-MAIN-2018-51 | refinedweb | 154 | 83.86 |
Follow the steps below to get things up and running.
This example assumes you have ASP.NET Ajax and de Web Applications already installed.
1. Create a new project of type "ASP.NET AJAX-Enabled Web Application"
This will create a new Web Application with a Default.aspx that already has a script manager on in, and a prec... | https://dotnetbyexample.blogspot.com/2007/10/calling-asmx-web-services-directly-from.html | CC-MAIN-2017-51 | refinedweb | 1,049 | 67.15 |
Feb 11, 2020 learning C++ Makefile ROOT
main() { int a = 2; int b = 3; int c = a*b; }
Let’s start with this short and not-quit-correct program. Save it to a file called
test.cc.
test.C or
test.cpp works just as well.
Your computer does not understand this at all. You need to convert it to a format that the machine can ... | http://physino.xyz/learning/2020/02/11/automate-compilation-of-root-based-c++-program-with-makefile/ | CC-MAIN-2020-16 | refinedweb | 2,113 | 77.94 |
Python doesn’t have any specific data type as an array. We can use List that has all the characteristics of an array.
Python array module can be used to create an array of integers and floating-point numbers.
If you want to do some mathematical operations on an array, you should use the NumPy module.
Table of Contents
... | https://www.journaldev.com/33185/python-add-to-array | CC-MAIN-2021-25 | refinedweb | 429 | 65.93 |
Discover and use UARTs and serial ports in Elixir
Available items
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Circuits.UARTallows you to use UARTs, serial ports, Bluetooth virtual serial port connections an... | https://xscode.com/elixir-circuits/circuits_uart | CC-MAIN-2020-45 | refinedweb | 1,732 | 57.47 |
Basic window source codeEdit
Here is the smallest FLTK application, it shows an empty window:
#include <fltk/run.h> #include <fltk/Window.h> int main (int argc, char** argv) { // build a square window (with a side of 300 pixels) fltk::Window window (300, 300, "FLTK test"); // show it window.show (argc, argv); // enter ... | http://en.m.wikibooks.org/wiki/FLTK/Basic_applications | CC-MAIN-2014-10 | refinedweb | 198 | 73.98 |
lp:~tracker-team/tracker/tracker-0.8.karmic
- Get this branch:
- bzr branch lp:~tracker-team/tracker/tracker-0.8.karmic
Branch merges
Related bugs
Related blueprints
Branch information
- Owner:
- Tracker Team
- Status:
- Mature
Recent revisions
- 36. By Chris Coulson on 2010-05-20
releasing version 0.8.7-0ubuntu0.
9.10... | https://code.launchpad.net/~tracker-team/tracker/tracker-0.8.karmic | CC-MAIN-2019-35 | refinedweb | 2,003 | 52.66 |
A stream-like object for creating an entry in a log file. More...
#include <Wt/WLogger.h>
A stream-like object for creating an entry in a log file.
This class is returned by WLogger::entry() and creates a log entry using a stream-like interface.
Move constructor.
This is mostly for returning a (newly constructed) WLogE... | https://webtoolkit.eu/wt/doc/reference/html/classWt_1_1WLogEntry.html | CC-MAIN-2020-10 | refinedweb | 105 | 60.51 |
Introducing Donald Trump...software?
Could this be considered a Business Lesson? It could.
For those who are interested in learning more about Real Estate through Donald Trump, his university web site and personal blog are incredible resources of information.
In addition to the courses he has available, he is now offer... | https://www.danylkoweb.com/Blog/introducing-donald-trumpsoftware-FY | CC-MAIN-2017-04 | refinedweb | 176 | 75.2 |
Hi all, Im new to the site and to Java. Im having some trouble with my current assignment. I was suposed to make an isosceles triangle with asterisks based on a number entered by user. I got the first half correct but I can not figure out my loops for the second half. Do I have to start a new main to get it to descend?... | https://www.daniweb.com/programming/software-development/threads/28009/cant-figure-out-second-half-of-piramid | CC-MAIN-2018-39 | refinedweb | 227 | 60.61 |
build: backport the --skip-unused-stages flag.
run: add container gid to additional groups.
build: support filtering cache by duration using `--cache-ttl`. build: support building from commit when using git repo as build context. build: clean up git repos correctly when using subdirs. build: add support for distributin... | https://fossies.org/linux/buildah/CHANGELOG.md | CC-MAIN-2022-40 | refinedweb | 17,095 | 50.33 |
Note: This post was originally going to go up on the 30th of March but PicoCTF requested writeups to be held on to until winners were verified.
As stated in my last post, a group of friends and I participated in the 2021 PicoCTF challenge. Having just come to an end, this year’s contest was certainly the most enjoyable... | https://fluix.one/blog/picoctf-2021-ddes/ | CC-MAIN-2021-25 | refinedweb | 848 | 56.05 |
To create the simple Web Form that will be used in the next example, start up Visual Studio .NET and open a New Project named ProgrammingCSharpWeb. Select the Visual C# Projects folder (because C# is your language of choice), select ASP.NET Web Application as the project type, and type in its name, ProgrammingCSharpWeb... | https://etutorials.org/Programming/Programming+C.Sharp/Part+II+Programming+with+C/Chapter+15.+Programming+Web+Forms+and+Web+Services/15.2+Creating+a+Web+Form/ | CC-MAIN-2022-21 | refinedweb | 405 | 67.65 |
Best Practices for Testing Vue 3 Components (Part 2)
This article is available as a screencast!
In this article, we continue developing the TodoApp from the previous post.
Find it here if you have not read it for the context. We will start by by moving the new todo form to a separate component, and seeing what a test m... | https://vuejs-course.com/blog/best-practices-for-testing-vue-3-components-part-2 | CC-MAIN-2021-04 | refinedweb | 1,070 | 64.71 |
import "github.com/golang/go/src/cmd/internal/src"
const ( // It is expected that the front end or a phase in SSA will usually generate positions tagged with // PosDefaultStmt, but note statement boundaries with PosIsStmt. Simple statements will have a single // boundary; for loops with initialization may have one for ... | https://godoc.org/github.com/golang/go/src/cmd/internal/src | CC-MAIN-2019-35 | refinedweb | 1,244 | 56.96 |
When editing long/wide YAML files, you can use this to see the YAML namespace that you are currently in. It only works when the grammar is YAML and refreshes every 100ms.
Activate with CTRL+ALT+Y
Disclaimer: I had no idea what I was doing when I was writing this, it's the first time I ever saw CoffeeScript/JavaScript. ... | https://api.atom.io/packages/yaml-path | CC-MAIN-2021-39 | refinedweb | 106 | 74.29 |
I don't think that's a good idea, since as soon as the '*pair' is deleted IMO the ~string() will be called anew for 'pair->second'. This might be ok for strings, but for other objects maybe not.
Why don't you simply empty the string?
ZOPPO
#include <iostream> #include <utility> class Test { public : Test() { std::cout ... | https://www.experts-exchange.com/questions/23832642/Deleting-one-member-of-std-pair.html | CC-MAIN-2017-04 | refinedweb | 171 | 64.91 |
It is possible to use the LLVM IR generator API to programmatically build the IR for
sum.ll (created at the
-O0 optimization level, that is, without optimizations). In this section, you will see how to do it step by step. First, take a look at which header files are needed:
#include <llvm/ADT/SmallVector.h>: This is us... | https://www.safaribooksonline.com/library/view/getting-started-with/9781782166924/ch05s04.html | CC-MAIN-2018-17 | refinedweb | 122 | 56.96 |
22 February 2010 14:37 [Source: ICIS news]
Correction: In the ICIS news story headlined "Total declares force majeure on propylene from French refineries" dated 22 February 2010, please read in the 10th paragraph … Workers at INEOS' Lavera refinery in southern France have not voted to strike, according a statement by R... | http://www.icis.com/Articles/2010/02/22/9336765/corrected-total-declares-force-majeure-on-propylene-from-french-refineries.html | CC-MAIN-2014-42 | refinedweb | 366 | 53.95 |
str
html:select in struts - Struts
html select in struts What is the HTML select in struts default value
ls: cannot access >: No such file or directory
ls: cannot access >: No such file or directory import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Example...: cannot access >: No such file o... | http://roseindia.net/tutorialhelp/comment/94299 | CC-MAIN-2014-15 | refinedweb | 1,807 | 58.28 |
Is there any efficient way to check and report in a log file or on the console may be... when ever the VPN is disconnected?
import time
print time.asctime( time.localtime(time.time()) )
This solution is system dependent, I know it works on Linux becaus I've done something similar, but don0't know if it wiorks on Window... | https://codedump.io/share/E2ft8ZMlSRhw/1/continuous-check-for-vpn-connectivity---python | CC-MAIN-2017-34 | refinedweb | 147 | 67.96 |
Page 1 of 2
1
2
>
Show 40 post(s) from this thread on one page
CFD Online Discussion Forums
(
)
-
OpenFOAM Installation
(
)
- -
OpenFOAM Cygwin port updated to 13
(
)
brooksmoses
April 10, 2006 22:51
I've now updated Petr Vita's p
I've now updated Petr Vita's patch to work with OpenFOAM-1.3, and have produced source an... | https://www.cfd-online.com/Forums/openfoam-installation/57590-openfoam-cygwin-port-updated-13-a-print.html | CC-MAIN-2017-47 | refinedweb | 2,451 | 72.26 |
On Wed, 2011-11-30 at 02:22 +0000, Al Viro wrote:> On Tue, Nov 29, 2011 at 06:14:14PM -0800, Joe Perches wrote:> > Fix a few style things.> > $ ./scripts/checkpatch.pl -f --terse --nosummary fs/namespace.c | \> > cut -f3- -d":" | sort | uniq -c> > 1 ERROR: do not initialise statics to 0 or NULL> > 2 ERROR: do not use a... | http://lkml.org/lkml/2011/11/29/572 | CC-MAIN-2016-22 | refinedweb | 177 | 52.19 |
#include <stdio.h>
void swap(void *v[], int i, int j)
{
void *tmp;
tmp = v[i];
v[i] = v[j];
v[j] = tmp;
}
int main(void)
{
char *s[] = {"one", "two"};
printf("%s, %s\n", s[0], s[1]);
swap(s, 0, 1);
printf("%s, %s\n", s[0], s[1]);
return 0;
}
one, two
two, one
no compatible pointer casting, need void**, but char
void po... | https://codedump.io/share/bkDiiCH6wKHM/1/is-casting-to-pointers-to-pointers-to-void-always-safe | CC-MAIN-2018-09 | refinedweb | 321 | 63.43 |
Rop, all the included examples run fine.
I found that the problem is that Button::_hidden is uninitialized. I will open an issue.
Now I can easily add hit and miss sounds to my button testing app. Will update soon.
I love all computers. Always have.
I'm a retired computer programmer. My first product was a keyboard mac... | https://forum.m5stack.com/user/vkichline | CC-MAIN-2020-45 | refinedweb | 1,089 | 80.38 |
James shows how to add a simple WMI provider to a service so that you can monitor it, and make changes to it, remotely across the network
If you are writing an application, such as a service, that you want to be able to monitor and configure remotely then you'll want to ensure that your application integrates smoothly ... | http://www.simple-talk.com/dotnet/.net-framework/integrating-with-wmi/ | crawl-002 | refinedweb | 1,500 | 56.86 |
On Thursday 16 July 2009, Gregory Haskins wrote:> Arnd Bergmann wrote: > > Your approach allows passing the vmid from a process that does> > not own the kvm context. This looks like an intentional feature,> > but I can't see what this gains us.> > This work is towards the implementation of lockless-shared-memory> subsy... | https://lkml.org/lkml/2009/7/16/335 | CC-MAIN-2015-35 | refinedweb | 586 | 61.36 |
I'm trying to serialize and deserialize JSON data using
DataContractJsonSerializer. Everything works perfectly until .NET/Mono decide to add
__type field when it writes the object to JSON string. Now when it tries to read the JSON string, it gives
system.typeinitializationexception. I would assume that since Mono is th... | https://forums.xamarin.com/discussion/comment/144886 | CC-MAIN-2020-40 | refinedweb | 213 | 59.4 |
Hi! I’m new to Gradle and so far liking what I’m seeing.
I’m attempting to port an ANT build over to Gradle. Right now I’m trying to get the flow of the build correct, then I’m going to tackle getting the build to actually do something (this is a pretty complex build that requires interaction with an IBM iSeries system... | https://discuss.gradle.org/t/conditional-compile-steps-properties-issues/21124 | CC-MAIN-2018-51 | refinedweb | 317 | 81.12 |
.
When Windows 10 IoT was first announced, there was great hope for a Windows RT-like experience. Being able to run real Windows applications on a Raspberry Pi would be a killer feature, and putting Skype on a Pi would mean real Jetsons-style video phones appearing in short order.
Windows 10 IoT core isn’t so much an o... | https://hackaday.com/2015/08/13/raspberry-pi-and-windows-10-iot-core-a-huge-letdown/?replytocom=2677519 | CC-MAIN-2019-43 | refinedweb | 13,113 | 70.53 |
Computer vision imparts human intelligence and instincts to a computer. This field of computer science works on enabling computers to see, identify and process images the same way the human eye does. OpenCV is a great tool to accelerate computer vision in commercial products.
Let us say you and your family went on a va... | https://www.opensourceforu.com/2020/10/opencv-an-excellent-tool-for-computer-vision/ | CC-MAIN-2021-49 | refinedweb | 1,069 | 59.5 |
Back to: ASP.NET MVC Tutorial For Beginners and Professionals
Role-Based Authentication in ASP.NET MVC
In this article, I am going to discuss how to implement Role-Based Authentication in the ASP.NET MVC application. I strongly recommended reading our previous article before proceeding to this article as it is a contin... | https://dotnettutorials.net/lesson/role-based-authentication-in-mvc/ | CC-MAIN-2022-27 | refinedweb | 834 | 50.23 |
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); nb-NO; rv:1.9.2.12) Gecko/20101027 Fedora/3.6.12-1.fc14 Firefox/3.6.12 Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b7) Gecko/20100101 Firefox/4.0b7 On a Mac OS X machines connected to networks with IPv6 router advertisements that have no aut... | https://bugzilla.mozilla.org/show_bug.cgi?id=614526 | CC-MAIN-2017-26 | refinedweb | 6,133 | 66.64 |
tag:blogger.com,1999:blog-4119367461890632622015-09-17T01:25:11.170-04:00hello treesa move to the country ...!!!hyd, finally! Though it's still cold (burning fires and wearing sweaters), the snow is slowly melting and the sun seems warmer and happier.<br /><br /.<br /><br /.<br /><br />2013 is shaping up to be a wild r... | http://feeds.feedburner.com/hellotrees | CC-MAIN-2017-22 | refinedweb | 4,628 | 73.37 |
04 September 2012 09:29 [Source: ICIS news]
SINGAPORE (ICIS)--Saudi Kayan Petrochemical began its start-up activity at its new 300,000 tonne/year low density polyethylene (LDPE) unit at Al Jubail in ?xml:namespace>
The company was feeding ethylene into the plant as part of the start up process, the source explained.
Pr... | http://www.icis.com/Articles/2012/09/04/9592386/saudi-kayan-begins-start-up-activity-at-new-ldpe-unit.html | CC-MAIN-2014-52 | refinedweb | 143 | 60.55 |
23 May 2012 07:12 [Source: ICIS news]
By: Ong Sheau Ling
?xml:namespace>
Indian importers have no interest to procure fresh cargoes this week, as the Indian rupee (Rs) exchange rate crossed the psychological mark of Rs55 against $1 to stand at Rs55.4 to $1 on 23 May.
The rupee-US dollar exchange rate has depreciated by... | http://www.icis.com/Articles/2012/05/23/9562528/import-activity-for-pe-and-pp-halts-in-india-on-record-low-rupee.html | CC-MAIN-2014-35 | refinedweb | 680 | 59.53 |
Created on 2015-04-18 09:00 by neologix, last changed 2016-02-12 22:56 by neologix. This issue is now closed.
hanger.py
"""
from time import sleep
def hang(i):
sleep(i)
raise ValueError("x" * 1024**2)
"""
The following code will deadlock on pool.close():
"""
from multiprocessing import Pool
from time import sleep
from ... | https://bugs.python.org/issue23992 | CC-MAIN-2021-39 | refinedweb | 763 | 59.43 |
How to: View Existing Key Bindings
Visual Studio add-ins are deprecated in Visual Studio 2013. You should upgrade your add-ins to VSPackage extensions. For more information about upgrading, see How to: Convert an Add-in to a VSPackage. Keyboard Shortcuts.
Viewing existing key bindings
Create an add-in.
For more informa... | http://msdn.microsoft.com/en-us/library/ms228756.aspx | CC-MAIN-2013-48 | refinedweb | 138 | 67.15 |
CodePlexProject Hosting for Open Source Software
Is it possible to use the _orchardServices.ContentManager.Query
function including a where statement where the where statement is generated in to the sql query? So i don't retrieve a big array in memory and filter it afterwards?
Sure. Do a join.
How do you mean a join? B... | http://orchard.codeplex.com/discussions/270489 | CC-MAIN-2017-43 | refinedweb | 234 | 59.7 |
I came across the below function,
def some_name = {a, b, c -> a==c?bumpUp(b):b}
bumpUp(b)
:b
bumpUp(b):b
The Ternary operator which involves both a ? and a : , is a short and clean way to use an equivalent to an if statement. Reduction of the code verbosity hence makes it more readable.
For example:
String result = (1=... | https://codedump.io/share/5LboPMdTbuUk/1/groovy-syntax-explaination | CC-MAIN-2018-13 | refinedweb | 131 | 71.44 |
The DFS-N test team has completed some extensive Performance and Scalability testing and we wanted to share some of the results.
To start, here is a comparison of the performance of adding links to a standalone namespace. It includes data for Windows Server 2003, Windows Server 2008 and Windows Server 2008 R2:
As you c... | https://techcommunity.microsoft.com/t5/storage-at-microsoft/windows-server-dfs-namespaces-performance-and-scalability/ba-p/423976 | CC-MAIN-2020-50 | refinedweb | 393 | 59.53 |
The Samba-Bugzilla – Bug 13246
backport Samba VirusFilter
Last modified: 2018-02-07 09:57:45 UTC
This ticket will be used to track the inclusion of Samba VirusFilter in Samba 4.8.0.
Created attachment 13924 [details]
backport for 4.8-test
backport was a straight cherry-pick . I've only compile-tested this patchset.
Rea... | https://bugzilla.samba.org/show_bug.cgi?id=13246 | CC-MAIN-2019-51 | refinedweb | 1,831 | 60.72 |
Heya.. I located a book called "Hacking - The art of Exploitation" and somewhere into chapter 2 he flips me off because I just can't seem to understand his technique.. Here's his example code:
vuln.c
exploit.cexploit.cCode:
int main(int argc, char *argv[])
{
char buffer[500];
strcpy(buffer, argv[1]);
return 0;
}
One ne... | http://www.antionline.com/printthread.php?t=273363&pp=10&page=1 | CC-MAIN-2016-50 | refinedweb | 527 | 56.18 |
I recently received a request to incorporate a gauge component in my Design Studio dashboards. The higher-ups had seen an Xcelsius dashboard utilizing gauges, and wanted the same functionality in the dashboards I was building. As we all know, a gauge component is not included out-of-the-box with Design Studio, and sear... | https://blogs.sap.com/2014/06/19/design-studio-13-sdk-creating-a-custom-gauge-component/ | CC-MAIN-2021-04 | refinedweb | 2,728 | 63.39 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.