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
or view source First, let's create a authentication token and pass that to the getFile function, together with the file key we want to retrieve. import Http import Figma as F F.getFile ( F.personalToken "your-token" ) "your-file-key" |> Http.send. import Http import Figma as F F.exportNodesAsPng ( F.personalToken "you...
https://package.frelm.org/repo/1373/2.0.0
CC-MAIN-2019-09
refinedweb
111
52.26
Hi! I need to run some code through my school's Cyber GIS Jupyter portal to analyze a raster dataset over time. I'm hoping to use the tools from the space-time pattern mining toolset I used in ArcPro to analyze changes across multiple years of raster data. (Moving to Python because the Pro interface is ridiculously slo...
https://community.esri.com/t5/python-questions/is-it-possible-to-use-the-space-time-pattern/m-p/1082868
CC-MAIN-2021-39
refinedweb
358
61.87
Re: Performance counters and logs - inadvertent wipeout? From: Almali del Benian (adbenian_at_islandnet.com) Date: 03/08/04 - Next message: Michael W. Ryder: "Re: self connect" - Previous message: anonymous_at_discussions.microsoft.com: "computer not responding" - In reply to: Carey Frisch [MVP]: "Re: Performance count...
http://www.tech-archive.net/Archive/WinXP/microsoft.public.windowsxp.perform_maintain/2004-03/1153.html
crawl-002
refinedweb
1,151
72.16
:Matt, I think this one should fix your NFS problem, can you test this change? : :Best Regards, :sephe Hmm. I would have thought it would have, but it doesn't. My UDP mount still locks up with rxcsum turned on. I experimented a bit with the code around line 887. With rxcsum and txcsum both turned on: * With both the IP...
https://www.dragonflybsd.org/mailarchive/commits/2007-08/msg00135.html
CC-MAIN-2017-43
refinedweb
226
79.36
$ cnpm install @liberdevelopers/sucrase Sucrase is an alternative to Babel that allows super-fast development builds.. Because of this smaller scope, Sucrase can get away with an architecture that is much more performant but less extensible and maintainable. Sucrase's parser is forked from Babel's parser (so Sucrase is...
https://developer.aliyun.com/mirror/npm/package/@liberdevelopers/sucrase
CC-MAIN-2020-24
refinedweb
833
57.27
Preface Tip: Here you can add a general description of what this article will record: For example: With the continuous development of artificial intelligence, machine learning is becoming more and more important. Many people have started learning machine learning. This paper introduces the basic content of machine lear...
https://programmer.ink/think/c-getting-started-beginning.html
CC-MAIN-2022-21
refinedweb
1,262
58.21
[ ] Darryl L. Pierce closed QPID-4954. ---------------------------------- Resolution: Invalid The bindings generated by Swig don't require a special layer on top of them. > Create a layer on top of the Swig bindings that more closely matches the C++ APIs > ---------------------------------------------------------------...
http://mail-archives.us.apache.org/mod_mbox/qpid-dev/201309.mbox/%3CJIRA.12654957.1372261967321.157059.1379534753011@arcas%3E
CC-MAIN-2019-30
refinedweb
101
63.39
README vue-snipvue-snip Vue.js directive that clamps the content of a text element if it exceeds the specified number of lines. Key features:Key features: - two snipping approaches (CSS / JavaScript) picked on a per-element basis - no need to specify line heights - re-snipping on element resize and reactive data change...
https://www.skypack.dev/view/vue-snip
CC-MAIN-2022-27
refinedweb
499
54.02
Transparency problemPosted Thursday, 20 February, 2014 - 01:24 by virabhadra in Hallo together! I expect the problem is known and solution is known too. May be someone can give me a link or quick solution of the problem. I'm coding in the enveronment using OpenTK.Graphics.OpenGL4; just to not use deprecated functions. ...
http://www.opentk.com/node/3567
CC-MAIN-2015-32
refinedweb
344
50.43
I had written a source code of C++ and complied it with the same name using the following command line. For example: c++ source-code.cpp -o source-code.cpp Now my source code has been replaced by the executable program.Is there any way to retrieve my source-code. I'm new to Linux so I'm not sure if there is any way to ...
http://superuser.com/questions/195569/how-can-i-recover-source-overwritten-by-a-bad-compile-command/195572
CC-MAIN-2016-07
refinedweb
680
76.01
Patrick Decat wrote: The problem, apparently, raises it's head in the 3rd line of the traceback. The code there reads:The problem, apparently, raises it's head in the 3rd line of the traceback. The code there reads:Traceback (innermost last): Module ZPublisher.Publish, line 101, in publish Module ZPublisher.mapply, lin...
https://www.mail-archive.com/zope@zope.org/msg24918.html
CC-MAIN-2016-44
refinedweb
373
58.28
Django OAuth Toolkit OAuth2 goodies for the Djangonauts! .. image:: :target: .. image:: :alt: Build Status :target: .. image:: :alt: Coverage Status :target: If you are facing one or more of the following: *, 3.4 - Django 1.4, 1.5, 1.6, 1.7, 1.8 Installation Install with pip:: pip install django-oauth-toolkit Add oauth...
https://devhub.io/repos/davidfischer-ch-django-oauth-toolkit
CC-MAIN-2020-24
refinedweb
159
51.24
This is an updated release of Don Kackman's excellent UxTheme control, ported to VC 8.0. The theme explorer has been updated to add theme color detail to the explorer interface. The code has been scrubbed to remove old syntax. Class names have been modified slightly to fit my naming conventions. (Class names begin with...
http://www.codeproject.com/Articles/25132/A-Managed-C-Wrapper-Around-the-Windows-XP-Theme-AP?fid=1203279&df=10000&mpp=10&sort=Position&spc=Relaxed&tid=2553541
CC-MAIN-2015-32
refinedweb
696
68.16
I am working on very simple slender man game. The problem is my location change code works really weird. Here is the code: #pragma strict var Spawn1 : Transform; var Spawn2 : Transform; var Spawn3 : Transform; var Spawn4 : Transform; function Update () { spawn(); } function spawn () { yield WaitForSeconds (3); this.tra...
https://answers.unity.com/questions/774299/changing-object-location-everry-3-second.html
CC-MAIN-2020-29
refinedweb
490
66.33
CVSROOT: /sources/emacs Module name: emacs Changes by: Stefan Monnier <monnier> 08/10/28 01:02:48 Index: emacs.c =================================================================== RCS file: /sources/emacs/emacs/src/emacs.c,v retrieving revision 1.451 retrieving revision 1.452 diff -u -b -r1.451 -r1.452 --- emacs.c 27 ...
http://lists.gnu.org/archive/html/emacs-diffs/2008-10/msg00991.html
CC-MAIN-2015-22
refinedweb
540
64.81
We pay for user submitted tutorials and articles that we publish. Anyone can send in a contributionLearn More The fourteenth post of the series of programming job interview challenge is out, 83 readers provided an answer: Those are other blog entries where you can find answers to the brackets question: Those are the re...
http://www.dev102.com/2008/08/05/a-programming-job-interview-challenge-14-2d-geometry/
CC-MAIN-2015-40
refinedweb
4,450
71.04
Working Incrementally Now let’s address our real problem, which is that our design only allows for one global list. In this chapter I’ll demonstrate a critical TDD technique: how to adapt existing code using an incremental, step-by-step process which takes you from working state to working state. Testing Goat, not Refa...
https://www.obeythetestinggoat.com/book/chapter_working_incrementally.html
CC-MAIN-2021-17
refinedweb
7,814
66.54
On 07/06/07, Jan Engelhardt <jengelh@computergmbh.de> wrote:>> On Jun 6 2007 11:05, Jesper Juhl wrote:> >> > - Source files should be 7bit ASCII>> Nah. Think of....>> MODULE_AUTHOR("J. Ørsted <jorsted@foobar.com>");>That's true. I wrote that comment shortly after reading , but you are right, 7bit ASCII canbe too limiti...
http://lkml.org/lkml/2007/6/7/194
CC-MAIN-2016-07
refinedweb
262
68.5
#include <deal.II/base/patterns.h> Test for the string being an integer. integer is allowed. Giving bounds may be useful if for example a value can only be positive and less than a reasonable upper bound (for example the number of refinement steps to be performed), or in many other cases. Definition at line 189 integer...
https://dealii.org/developer/doxygen/deal.II/classPatterns_1_1Integer.html
CC-MAIN-2020-45
refinedweb
417
58.38
Spring Dependencies - Opposite Direction, Please? Here we'll see how to manage dependencies between beans in Spring framework context using "opposite direction" of such dependencies. Spring is great in providing inversion of control container, instantiating beans, wiring them as well as managing their lifecycle. But ca...
http://java.dzone.com/news/spring-dependencies-opposite-d
CC-MAIN-2013-20
refinedweb
1,847
62.27
(X,Y) coordinate using python openCV Dear all, It is my first time to work on openCV; in fact, I just heard of it two months ago.I need to get the position point value using (x,y) coordinate system so I can program motors to pick the dices. My question, can you please help to find the location of each dice and return (...
https://answers.opencv.org/question/199275/xy-coordinate-using-python-opencv/
CC-MAIN-2019-35
refinedweb
163
74.53
Hello All, Reporting in avamar always in my nightmares. I usually use avamar cli mccli and some other tools on avamar. But an automated emaling always has been problem for me . Today i tried somtehing else and wolla it worked perfectly .Now i want to share this with you. First we need some tools for this . I belive tha...
https://www.dell.com/community/Avamar/A-different-way-to-create-and-email-avamar-reports/td-p/7022643
CC-MAIN-2019-26
refinedweb
1,089
60.61
This is a discussion on Format text(ifstream, ofstream) within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by R.Stiltskin Why are you writing the entire buffer? If you read a 5 letter word into a ... Code:#include <iostream> #include <fstream> #include <cstring> using ...
http://cboard.cprogramming.com/cplusplus-programming/114194-format-text-ifstream-ofstream-3.html
CC-MAIN-2014-10
refinedweb
1,021
67.18
NAME ulimit - get and set user limits SYNOPSIS #include <ulimit.h> long ulimit(int cmd, long newlimit); DESCRIPTION Warning: This routine is obsolete. Use getrlimit(2), setrlimit(2), and sysconf(3) instead. For the shell command ulimit(), see bash(1). The ulimit() call will get or set some limit for the calling-negativ...
http://manpages.ubuntu.com/manpages/intrepid/man3/ulimit.3.html
CC-MAIN-2015-06
refinedweb
120
61.83
XML has become one of the major technologies used today for business integration software evolution. Lots of object models are being used today to manipulate XML in various ways. AXIOM will improve XML manipulation by providing a new lightweight object model built around pull parsing, enabling efficient and easy manipu...
http://today.java.net/pub/a/today/2005/05/10/axiom.html
crawl-002
refinedweb
2,121
55.84
Macros are dangerous because their use resembles that of real functions, but they have different semantics. The inline function-specifier was introduced to the C programming language in the C99 standard. Inline functions should be preferred over macros when they can be used interchangeably. Making a function an inline ...
https://wiki.sei.cmu.edu/confluence/display/c/PRE00-C.+Prefer+inline+or+static+functions+to+function-like+macros?focusedCommentId=88035505
CC-MAIN-2020-10
refinedweb
2,154
50.46
A question I’ve seen come up from time to time is “Why doesn’t Lazy<T> support asynchronous initialization?” It’s a fair question. After all, if you’re using Lazy<T> because you have an expensive resource you want to delay the creation of until it’s absolutely needed, it’s fair to reason that the creation of that resou...
https://blogs.msdn.microsoft.com/pfxteam/2011/01/15/asynclazyt/
CC-MAIN-2016-40
refinedweb
2,011
61.56
Introduction: Pi - the News Reader This is a project based on Raspberry Pi. It is a 'bot' which goes to the internet to fetch news headlines and reads them for you. It also uses a voice recognition system to interact with you. Step 1: See the Project in Action Step 2: Complete Tutorial News Site - Voicecommand Tutorial...
http://www.instructables.com/id/Pi-The-news-reader/
CC-MAIN-2018-09
refinedweb
142
60.82
note jimt <p>I'm coming in a bit late to the party, but I think I've come up with an elegant and fast solution. I was tinkering around with the w() function from [id://580083] to see about different approaches. (that function, in case you all are curious will determine for a set of natural numbers N and a sum S, is the...
http://www.perlmonks.org/?displaytype=xml;node_id=580599
CC-MAIN-2016-30
refinedweb
1,293
70.23
Closed Bug 783958 Opened 7 years ago Closed 6 years ago b2g email client needs its HTML security implementation reviewed Categories (Firefox OS Graveyard :: General, defect) Tracking (Not tracked) People (Reporter: asuth, Assigned: freddyb) References Details Attachments (1 file) The e-mail client may receive HTML e-ma...
https://bugzilla.mozilla.org/show_bug.cgi?id=783958
CC-MAIN-2019-39
refinedweb
2,951
59.23
I am going to tell you a story about an issue that brought me a rather painful debugging session, and the lessons that can be learned from it. A few years back I was restructuring the libraries of a larger project. Restructuring means I shoved around some compilation units that were in different libs before and put the...
https://arne-mertz.de/2015/01/helper-classes-deserve-some-care-too/
CC-MAIN-2022-05
refinedweb
1,648
63.19
! We. In our static assets directory, we have the following directories: public/images public/javascripts public/stylesheets We want to namespace our application (my_app). We could type the following: mkdir public/images/my_app mkdir public/javascripts/my_app mkdir public/stylesheets/my_app Or to save time, we could ty...
http://pivotallabs.com/users/jnoble/blog
crawl-003
refinedweb
133
51.38
Adjust Numbers in an expression by a set amount Re: Replacing number with another Incrementing # I am trying to adjust some subtitle files, so I have about 60 files that all need the same adjustments. The problem is that it’s not all the same numbers. For example, 00:00:36.250 line:77% 00:00:36.250 line:84% 00:00:42.33...
https://community.notepad-plus-plus.org/topic/21252/adjust-numbers-in-an-expression-by-a-set-amount/2?lang=en-US
CC-MAIN-2021-39
refinedweb
1,181
71.44
This article is based on documentation from and The reason I started to use Pexepect was because I was looking for a module that can take care of some of the automation needs I have (mostly with ssh and ftp). You can use other modules such as subprocess, but I find this module easier to use. Note, this post is not for ...
https://www.pythonforbeginners.com/systems-programming/how-to-use-the-pexpect-module-in-python
CC-MAIN-2021-31
refinedweb
676
67.86
in reply to This could have DWIM better If you're worried about polluting other's namespaces, why don't you just override the function locally? I started with japhy's modification and produced this: BEGIN { use subs 'length'; sub length(;$) { my $arg = @_ ? $_[0] : $_; defined($arg) ? CORE::length($arg) : undef; } } [d...
http://www.perlmonks.org/index.pl?node_id=533766
CC-MAIN-2015-06
refinedweb
105
64.91
04 June 2009 11:01 [Source: ICIS news] SINGAPORE (ICIS news)--India’s Reliance Industries (RIL) expects to achieve full production at its newly started polypropylene (PP) line at Jamnagar, in Gujarat state, by mid-June, a source close to the project said on Thursday. “The newly started PP line is operating at 80% capac...
http://www.icis.com/Articles/2009/06/04/9222134/reliance-to-achieve-full-output-at-new-pp-line-by-mid-june.html
CC-MAIN-2015-06
refinedweb
305
59.13
Join the Nasdaq Community today and get free, instant access to portfolios, stock ratings, real-time alerts, and more! (San Francisco) With all the news of Amazon's 20th anniversary return ($100 of shares at IPO would be worth almost $64,000 now), many might be looking for the next big IPO to buy. However, caution is d...
https://www.nasdaq.com/article/how-to-pick-the-next-amazon-cm792383?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+nasdaq%2Fcategories+%28Articles+by+Category%29
CC-MAIN-2018-39
refinedweb
164
70.43
Second/last screenshot. Sorry, but I should offer the following version which prevents anything happening if you are not in a View; that is, if you are in the Find dialog, or anywhere else. import sublime, sublime_plugin def adjustEdits(view): edited = view.get_regions("edited_rgns") or ] edited_last = view.get_regions...
https://forum.sublimetext.com/t/split-iterate-regions/7509/36
CC-MAIN-2017-22
refinedweb
1,939
60.01
On Tue, Jul 21, 2015 at 12:12:03PM -0400, Cole Robinson wrote: > On 07/17/2015 10:15 AM, Daniel P. Berrange wrote: > > On Tue, Jul 14, 2015 at 02:44:59PM -0400, Cole Robinson wrote: > >> As of fedora polkit-0.113-2, polkit-devel only pulls in polkit-libs, not > >> full polkit, but we need the latter for pkcheck otherwi...
https://listman.redhat.com/archives/libvir-list/2015-July/msg00826.html
CC-MAIN-2022-21
refinedweb
260
68.06
How to Test If a Class Is Thread-Safe in Java How to Test If a Class Is Thread-Safe in Java Learn how to test if a class is thread-safe in Java. Join the DZone community and get the full member experience.Join For Free Tests for thread safety differ from typical single-threaded tests. To test if a method is thread-safe...
https://dzone.com/articles/how-to-test-if-a-class-is-thread-safe-in-java
CC-MAIN-2020-05
refinedweb
1,169
55.84
3. Library calls (functions within program libraries) TTYNAMESection: Linux Programmer's Manual (3) Updated: 2017-05-03 Index | Return to Main Contents NAMEttyname, ttyname_r - return name of a terminal SYNOPSIS #include <unistd.h> char *ttyname(int fd); int ttyname_r(int fd, char *buf, size_t buflen); DESCRIPTIONThe f...
https://eandata.com/linux/?chap=3&cmd=ttyname
CC-MAIN-2020-34
refinedweb
312
51.89
Last week I ran a poll (that maxed out at 400 responses on twtpoll) asking how developers recommend using regions in C# (or not). You can see the results here: About 15% of the respondents chose Other and/or chose to leave a comment. The comments are useful because they often highlight answer categories that I overlook...
http://ardalis.com/regional-differences
CC-MAIN-2015-14
refinedweb
1,418
58.62
3000 miles on a triplet By user12625760 on Nov 09, 2007 On a whim I asked if my daughter if she wanted a lift to school today so that we could have an extra 45 minutes in the morning rather than have to rush out to get the bus. She accepted and then just after the point of no return (ie she had missed her bus) someone ...
https://blogs.oracle.com/chrisg/entry/3000_miles_on_a_triplet
CC-MAIN-2016-22
refinedweb
348
83.39
Tell us what you think of the site. It seems that “Mirroring” a layer completely destroys the base level geometry’s UVs on one side. This puzzled me for 3 days until i realized what was happening. This breaks the whole import layer geometry work flow. If u have mirrored a layer then export the base geo and high geo… th...
http://area.autodesk.com/forum/autodesk-mudbox/community-help/mudbox-2011-symmetry-bug/
crawl-003
refinedweb
1,358
80.11
You want to authenticate users but you’re unsure how. The documentation isn’t the most helpful thing in the world. You think, “wow… this documentation assumes I know all this other stuff…” What are the things you need to authenticate users? There are 3 things you need and I’m going to show you what each looks like. Fir...
https://chrisbartos.com/articles/3-things-you-need-to-authenticate-users-in-django/
CC-MAIN-2018-13
refinedweb
582
57.87
Do a dynamic graph with ui and pyplot Hello! I am new to pythonista but found very interesting this approach of turning an ipad into a programmable device... I would love to be able to use it for some teaching activities, but I would need to be able to plot a curve that is changed dynamically by moving sliders. I can p...
https://forum.omz-software.com/topic/4518/do-a-dynamic-graph-with-ui-and-pyplot
CC-MAIN-2021-39
refinedweb
1,575
68.26
Following logic is used in the solution:- Traverse through every element of the left side of the root. If both p and q are found, move left. If none are found, move right. If only one of them is found, root is the answer. Assuming that tree is sufficiently balanced, traversing takes n/2 time and we repeat this logn tim...
https://discuss.leetcode.com/topic/18955/java-solution-o-nlgn
CC-MAIN-2017-43
refinedweb
408
74.59
Groovy 1.5.7 contains mainly bug fixes (61 bug fixes), but also some minor API improvements (20 improvements) backported from the1.6 branch, whereas Groovy 1.6-beta-2 brings a wealth of novelty (68 bug fixes and 38 improvements and new features). Here, we'll mainly cover the new features of beta-2. Following up on our ...
http://groovy.dzone.com/news/groovy-157-and-16-beta2-releas
CC-MAIN-2014-41
refinedweb
1,172
60.24
It's not the same without you Join the community to find out what other Atlassian users are discussing, debating and creating. Hi. i want to build something equal like the SEN field in support.atlassian.com my goal is.. if a user enters a number in a field...some queries should be done on an external server using this ...
https://community.atlassian.com/t5/Questions/how-can-i-run-background-queries-using-customfield-values/qaq-p/245511
CC-MAIN-2018-13
refinedweb
327
69.79
On Thursday, September 7, 2017 3:54:15 AM EDT Greg Ewing wrote: > This problem would also not arise if context vars > simply had names instead of being magic key objects: > > def foo(): > contextvars.set("mymodule.myvar", 1) > > That's another thing I think would be an improvement, > but it's orthogonal to what we're t...
https://mail.python.org/pipermail/python-dev/2017-September/149291.html
CC-MAIN-2017-47
refinedweb
128
63.09
§Play 2.5 Migration Guide This is a guide for migrating from Play 2.4 to Play 2.5. If you need to migrate from an earlier version of Play then you must first follow the Play 2.4 Migration Guide. As well as the information contained on this page, there is more detailed migration information for some topics: - Streams Mi...
https://www.playframework.com/documentation/2.7.0-M1/Migration25
CC-MAIN-2019-47
refinedweb
2,544
50.43
2.10. Statements and Expressions¶ A statement is an instruction that the Python interpreter can execute. You have only seen the assignment statement so far. Some other kinds of statements that you’ll see in future chapters are while statements, for statements, if statements, and import statements. (There are other kind...
https://runestone.academy/runestone/books/published/fopp/SimplePythonData/StatementsandExpressions.html
CC-MAIN-2021-43
refinedweb
751
63.19
#include <FXToolBar.h> #include <FXToolBar.h> Inheritance diagram for FX::FXToolBar: LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X 0 3 2 DEFAULT_SPACING Construct a floatable toolbar Normally, the toolbar is docked under window p. When floated, the toolbar can be docked under window q, which is typically an FXToolBarShell windo...
http://fox-toolkit.org/ref12/classFX_1_1FXToolBar.html
CC-MAIN-2021-17
refinedweb
216
63.36
Hi, In DSS recipe, is it possible to add a column to a dataframe with an ID indicating the row number ? I am using R at the moment with the command data <- tibble::rowid_to_column(data, "ID") but it would be great to have this function build in in DSS prepare recipe. Thanks Hi, In a prepare recipe, you could do that wi...
https://community.dataiku.com/t5/Using-Dataiku-DSS/Add-ID-for-row-number-in-DSS-dataframe/td-p/2133
CC-MAIN-2021-31
refinedweb
157
62.72
Hi. I am wondering if someone knows a way to get the Plugin~/Plugout~ data from one track into a M4L device on another track. this is not possible. it is a crippling made by ableton and threading issues. it is still crippled in Live9 and it is infuriating. global send~ / receive~ do not work. workaround is to use a buf...
https://cycling74.com/forums/topic/getting-plugin-data-on-a-different-track/
CC-MAIN-2016-44
refinedweb
172
82.44
Do you know how to check if two strings are anagrams of each other in Python? It’s a common problem and there are multiple ways to solve it. Two strings are anagrams of each other if they both contain the same characters and each character is present in each string the same number of times. Two ways to check if two str...
https://codefather.tech/blog/anagrams-python/
CC-MAIN-2021-31
refinedweb
1,735
68.5
#include "C:\Programs\arduino-1.5.1r2\hardware\arduino\sam\libraries\Pwm01\pwm01.h"void setup() { uint32_t pwm_duty = 32767; uint32_t pwm_freq1 = 2; uint32_t pwm_freq2 = 5000; // Set PWM Resolution pwm_set_resolution(16); // Setup PWM Once (Up to two unique frequencies allowed //----------------------------------------...
http://forum.arduino.cc/index.php?topic=144446.msg1190733
CC-MAIN-2017-13
refinedweb
260
53.14
Java Exercises: Convert a given string into lowercase Java Basic: Exercise-59 with Solution Write a Java program to convert a given string into lowercase. Pictorial Presentation: String to Lowercase Sample Solution: Java Code: import java.util.*; public class Exercise59 { public static void main(String[] args){ Scanner...
https://www.w3resource.com/java-exercises/basic/java-basic-exercise-59.php
CC-MAIN-2019-18
refinedweb
152
51.24
Automating the world one-liner at a time… The\FileSystem::C:\Temp\testMode LastWriteTime Length Name---- ------------- ------ ----d---- 6/19/2007 6:12 AM subdir-a--- 6/19/2007 6:12 AM 47 Invoke-Test.ps1-a--- 6/19/2007 6:12 AM 47 LibraryTest.ps1PS> Get-Content Invoke-Test.ps1. .\LibraryTest.ps1echo "I Love PowerShell"PS...
http://blogs.msdn.com/b/powershell/archive/2007/06/19/get-scriptdirectory.aspx?PageIndex=1
CC-MAIN-2015-06
refinedweb
1,222
51.44
52058/what-is-a-resource-quota-in-kubernetes: Different teams work in different namespaces. Currently this is voluntary, but support for making this mandatory via ACLs is planned. The administrator creates one or more ResourceQuotas with a message explaining the constraint that would have been violated. If quota is ena...
https://www.edureka.co/community/52058/what-is-a-resource-quota-in-kubernetes
CC-MAIN-2020-16
refinedweb
154
57.87
Managing COM Object Lifetime in a Garbage-Collected Environment COM objects are responsible for managing their own lifetimes using a standard reference counting scheme. .NET objects, on the other hand, don't need to perform this mundane and error-prone task. The same is true for COM components written or used in Visual...
http://www.informit.com/articles/article.aspx?p=26993
CC-MAIN-2017-13
refinedweb
695
53.1
Pemi - Python Extract Modify Integrate Project description Welcome to Pemi’s documentation! Pemi is a framework for building testable ETL processes and workflows. Users define pipes that define how to collect, transform, and deliver data. Pipes can be combined with other pipes to build out complex and modular data pipe...
https://pypi.org/project/pemi/
CC-MAIN-2018-26
refinedweb
1,429
56.35
Dan Foreman-Mackey Python modules in C August 03, 2012 Writing your own C extensions to Python can seem like a pretty daunting task when you first get started. If you take a look at the Python/C API docs the details of reference counting and compilation are enough to make you go crazy. This is the main reason why so ma...
http://dan.iel.fm/posts/python-c-extensions/
CC-MAIN-2017-39
refinedweb
2,825
56.89
Advanced blurring techniques Today we will try to dig a bit deeper into blurring techniques available for Android developers. I read couple of articles and SO posts describing different ways to do this, so I want to summarize what I learned. Why? More and more developers now try to add different kinds of blurry backgro...
https://trickyandroid.com/advanced-blurring-techniques/
CC-MAIN-2018-30
refinedweb
1,551
57.77
The client will be making an array and adding numbers to it. Its my job/objective to make sure that when the client passes it into the array - it is sorted in non-decreasing order. Note - i just finally learned about binary search and still trying to toy around with it. Have to utilize it - can't use sequential search ...
http://www.javaprogrammingforums.com/collections-generics/1066-having-trouble-insert-sorting-array-values-w-binary-searching.html
CC-MAIN-2014-10
refinedweb
349
58.99
Writing tests for your app is necessary, but it is not productive to spend much time on trivial tests. An often underestimated Dart keyword is assert, which can be used to test conditions in your code. Look at the code file microtest.dart, where microtest is an internal package as seen in the previous recipe: import 'p...
https://www.oreilly.com/library/view/dart-scalable-application/9781787288027/ch24s06.html
CC-MAIN-2019-43
refinedweb
120
69.28
A small Django package allowing a dictionary to be passed to contrib.messages. The dictionary is then pre-rendered and passed to the real contrib.message function. A recent version of Django is required, but there are no third-party dependencies for this package. Use your favorite Python installer to install it from Py...
https://pypi.org/project/django-dictmessages/
CC-MAIN-2016-50
refinedweb
182
51.04
Earlier. Hey Scott, Don't let Bill see this, you put him second!!! LOL. Great stuff! Thanks! .NET 3.5 extension methods Wouldn't the .NET Framework Design Guidelines suggest .ToJson() as the correct capitalisation of the extension method's name? (And for that matter, .Json for the namespace?) ;) Good stuff though Scott...
http://weblogs.asp.net/scottgu/archive/2007/10/01/tip-trick-building-a-tojson-extension-method-using-net-3-5.aspx
crawl-001
refinedweb
3,091
58.08
I). The directory looks like this: Eggs\ \archetypes.kss-1.2.3-py2.4.egg \five.customerize-0.2-py2.4.egg \plone.app.content-1.0.1-py2.4.egg \plone.app.contentmenu-1.0.3-py2.4.egg \plone.app.contentrules-1.0.2-py2.4.egg \and so on... Now, if I add the "eggs\plone.app.content-1.0.1-py2.4.egg" dir to my PYTHONPATH, Source...
http://wingware.com/pipermail/wingide-users/2007-December/004922.html
CC-MAIN-2018-05
refinedweb
310
68.57
- Ian Gillespie - Sep 14, 2016 - Tested on Splunk Version: N/A In a previous blog series, I covered how to create and CRUD a KV Store using Splunk’s SPL (Search Processing Language). In this blog post I am going to cover how to do the same thing using Python. In a previous blog series, I covered how to create and CRUD ...
https://www.hurricanelabs.com/splunk-tutorials/splunk-tutorial-cruding-a-kv-store-in-splunk-using-python
CC-MAIN-2019-18
refinedweb
1,158
64.71
how to shuffle a word's letters randomly in python? for example, we have the word "cat". change that randomly to, act, tac or tca and ex.. to be exact,The scrambling process must be implemented manually. Built-in functions or string methods that “automate” this process are prohibited from use. thanks views:222 answers:...
http://ansaurus.com/question/3182964-shuffling-a-word
CC-MAIN-2017-34
refinedweb
360
58.38
9.3. Transformer¶ The Transformer model is also based on the encoder-decoder architecture. It, however, differs to the seq2seq model that the transformer replaces the recurrent layers in seq2seq with attention layers. To deal with sequential inputs, each item in the sequential is copied as the query, the key and the va...
http://classic.d2l.ai/chapter_attention-mechanism/transformer.html
CC-MAIN-2020-16
refinedweb
2,327
52.05
The shmem_alloc function allocates a region of shared memory of the given size, using the given name to avoid conflicts between multiple regions in the program. The size of the region will not be automatically increased if its boundaries are overrun. Use the shmem_realloc function for that automatic increases. This fun...
http://docs.oracle.com/cd/E19575-01/821-0049/aecil/index.html
CC-MAIN-2014-15
refinedweb
197
53.61
How I got a residency appointment thanks to Python, Selenium and Telegram Hello everyone! As some of you might know, I’m a Venezuelan 🇻🇪 living in Montevideo, Uruguay 🇺🇾. I’ve been living here for almost a year, but because of the pandemic my residency appointments have slowed down to a crawl, and in the middle of ...
https://rogs.me/2020/08/how-i-got-a-residency-appointment-thanks-to-python-selenium-and-telegram/
CC-MAIN-2021-21
refinedweb
1,185
63.9
In part one, we also performed a review of the Internet Explorer history and cached files on the system used by Joe Schmo, the primary suspect of the intrusion. Analysis of the web browsing history revealed Internet searches for license cracks and hacking books; however, all this malicious activity appeared to have bee...
http://www.securityfocus.com/print/infocus/1832
crawl-002
refinedweb
1,624
53.71
# Locks in PostgreSQL: 4. Locks in memory To remind you, we've already talked about [relation-level locks](https://habr.com/en/company/postgrespro/blog/500714/), [row-level locks](https://habr.com/en/company/postgrespro/blog/503008/), [locks on other objects](https://habr.com/en/company/postgrespro/blog/504498/) (incl...
https://habr.com/ru/post/507036/
null
null
2,820
54.32
One :-). Outline This article describes how to enable a bare-metal (no RTOS) in RAW/native (no sockets, TCP only) lwip application running the MQTT protocol with TLS. The project used in this article is available on GitHub: The project runs a MQTT client application which initiates TLS handshaking and then communicates...
https://mcuoneclipse.com/2017/04/17/tutorial-secure-tls-communication-with-mqtt-using-mbedtls-on-top-of-lwip/?like_comment=90039&_wpnonce=fd4bb3e0f4
CC-MAIN-2020-29
refinedweb
4,526
50.57
| ++ > STL STL 1-20 of 87 Using the Standard Library Algorithms with Arrays by Kevin Spiteri Pointers may be used as iterators when using the standard library algorithms found in <algorithm> .. Returning from main() by Mohan Bisht This tip describes the exceptions and their workarounds for returning from main() . Gener...
http://www.devx.com/tips/cpp/stl
CC-MAIN-2016-40
refinedweb
459
51.99
Development Team/Almanac Contents - 1 How do I get additional help beyond this almanac? - 2 Where can I see the components of Sugar and their relationships? - 3 Where can I see API changes? - 4 Getting Started - 5 Package: sugar - 6 Package: sugar.activity - 7 Package: sugar.datastore - 8 Package: sugar.graphics - 9 Pa...
http://wiki.sugarlabs.org/go/Development_Team/Almanac
CC-MAIN-2016-40
refinedweb
806
52.87
I am tired of all those "upload to S3" examples and tutorial that does not seem to work , can you just show me something that simply work the super easy way ? well here are the instruction that you have to follow to get a fully working demo program ,at the end of my answer you will find the demo program to download... ...
https://codedump.io/share/4Sd77Mh7jw7G/1/how-to-upload-a-file-to-amazon-s3-super-easy-using-c
CC-MAIN-2018-09
refinedweb
430
50.02
>From ubuedel@gmx.de Wed Jan 7 23:39:56 2004 > > This allows to use cdrtools on NT without the need to install ASPI in > > case you are administrator when yu run a program. >I'm using NT4preSP7. Adaptec Aspi 4.60 is running. Normally I use >Adaptec ASPI layer without administator rights to burn a CD. If you call the la...
https://lists.debian.org/cdwrite/2004/01/msg00074.html
CC-MAIN-2014-15
refinedweb
540
68.47
[solved] Manage ISI in fixed duration edited October 2015 in OpenSesame Hi I want to present picture stimuli with different ISI. I used an inline script to have the stimuli presented exactly at 1000, 1500, 2000, and 2500 ms. Yet it seems not working correctly. The used script is as follows and the Sequence contents is ...
https://forum.cogsci.nl/discussion/comment/5998
CC-MAIN-2022-33
refinedweb
775
66.13
Difference between revisions of "ECE597 Lab 1 Wiring and Running the Beagle" Latest revision as of 20:48, 27 October 2011 Here's what you need to do to get your Beagle running for the first time. - Wire your Beagle as shown - Insert the SD card - Plug in the 5V power - Login and look around. Left-click on the backgroun...
http://elinux.org/index.php?title=ECE597_Lab_1_Wiring_and_Running_the_Beagle&diff=71497&oldid=18360
CC-MAIN-2014-10
refinedweb
417
61.77
Realtime Testing Best Practices Contents - 1 Introduction - 2 Test programs - 3 Test Hardware - 4 Issues and Techniques - 5 Tests results taxonomy - 6 Test presentations and documents - 7 Uncategorized stuff Introduction This page is intended to serve as a collecting point for presentations, documents, results, links a...
http://elinux.org/index.php?title=Realtime_Testing_Best_Practices&oldid=4832
CC-MAIN-2015-35
refinedweb
2,560
57.2
Optimize Namespace Polling Published: October 22, 2009 Updated: October 16, 2013 Applies To: Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2 To maintain a consistent domain-based namespace across namespace servers, it is necessary for namespace servers to periodically poll Active Directory Domain Se...
https://technet.microsoft.com/en-us/library/cc732193.aspx
CC-MAIN-2015-11
refinedweb
187
50.77
I came accross something strange when trying to create friendly URLs. I have an item model which has: def to_param "#{id}-#{name}".parameterize end This makes my item URLs contain the "ID" and "name" just fine: I also have a category model (item belongs to category and user models) where I have the same def to_param as...
http://www.howtobuildsoftware.com/index.php/how-do/4ft/ruby-on-rails-url-ruby-on-rails-4-url-rewriting-rails-4-def-to-param-with-2-models
CC-MAIN-2018-39
refinedweb
113
57.98
We've made basic examples that show you how to use the PDFmyURL API in all major programming languages. These examples are specifically intended to get you coding in a few minutes without the need to install anything. If you would rather install a library to code with, we offer a professional PHP library and a .NET com...
http://staging.pdfmyurl.com/html-to-pdf-api-examples
CC-MAIN-2020-10
refinedweb
830
59.8
#include <rte_compat.h> #include <rte_ethdev.h> #include <rte_ether.h> Go to the source code of this file. i40e PMD specific functions. EXPERIMENTAL: this API may change, or be removed, without prior notice Definition in file rte_pmd_i40e.h. ptype mapping table only accept RTE_PTYPE_XXX or "user defined" ptype. A ptype...
https://doc.dpdk.org/api-20.11/rte__pmd__i40e_8h.html
CC-MAIN-2021-39
refinedweb
619
68.87
Ever wondered what computer algorithm gets employed when using Ctrl-F to search for specific words in a page of text? A number of potential string searching techniques exist. One possible candidate implementation is Nigel Horspool’s Boyer-Moore-Horspol algorithm – an exceptionally fast technique for finding a ‘needle’ ...
http://www.technical-recipes.com/2012/finding-substrings-within-strings-using-the-boyer-moore-horspol-algorithm-in-c/
CC-MAIN-2017-47
refinedweb
494
67.79
This blog post is effectively a log of my experience with the preview of the C# 8 nullable reference types feature. There are lots of caveats here: it’s mostly “as I go along” so there may well be backtracking. I’m not advising the right thing to do, as I’m still investigating that myself. And of course the feature is ...
https://codeblog.jonskeet.uk/2018/04/21/first-steps-with-nullable-reference-types/?like_comment=31178&_wpnonce=f73a39822c
CC-MAIN-2022-40
refinedweb
1,984
64.71
ASP.NET MVC Routing: Play Traffic Cop with Your Routes As an ASP.NET MVC request is received, the routing sends the request to the proper controller. Today, we talk about how to use routing, some tips on using them effectively, and how to debug them easily. Routing in ASP.NET MVC is one of the basic steps in the MVC Ap...
https://www.danylkoweb.com/Blog/aspnet-mvc-routing-play-traffic-cop-with-your-routes-90
CC-MAIN-2021-49
refinedweb
1,402
73.47
This article is part of a series of blog posts. We recommend that you start at the beginning. Alternatively, scroll to the bottom of this article to navigate through the whole series. This article is meant to provide a summary of some key functionality for dlmalloc-2.8.x and introduce a debugging plugin called libdlmal...
https://research.nccgroup.com/2017/10/09/cisco-asa-series-part-four-dlmalloc-2-8-x-libdlmalloc-dlmalloc-on-cisco-asa/
CC-MAIN-2022-05
refinedweb
10,468
51.48
Hello, I'm running a LPC4357 on a OEM board from embeddedartists.com I have a LWIP implementation based on LPCOpen where I receive commands from a client computer (LPC is server) and response some data to the client. My Problem is now, that if my client send one command to the server, the server send the response two o...
https://community.nxp.com/t5/LPC-Microcontrollers/LWIP-receive-incomming-packages-multiple-times/m-p/865028/highlight/true
CC-MAIN-2020-45
refinedweb
532
63.59
Board to PC communication over USB The Arm Mbed microcontroller on your board can communicate with a host PC over the same USB cable that you use for programming. If you're working on Windows earlier than Windows 10, you might need to install a serial driver. This allows you to: - Print out messages to a host PC termin...
https://os.mbed.com/docs/mbed-os/v5.9/tutorials/serial-comm.html
CC-MAIN-2019-30
refinedweb
510
66.33
Leverage a JavaFX Application with Nashorn Script Java-JavaScript interoperability incepted in Java SE 6 and rode Mozilla Rhino until Java SE 7. Oracle Nashorn is the script engine shipped with the latest version of Java SE 8. Observe how the bin folder of your Java SDK getts fatter with each new introduction of tools....
https://www.developer.com/java/data/leverage-a-javafx-application-with-nashorn-script.html
CC-MAIN-2018-39
refinedweb
941
58.28
I'm doing an assignment that's a separate class for a program called "MadChoosers" and THIS class creates an array of four MadChoosers called chooserList and the four chooserList arrays are chooserList[0]-to hold proper names; chooserList[1]-to hold adjectives; chooserList[2]-for nouns; and chooserList[3]- for verbs. I...
http://www.javaprogrammingforums.com/%20whats-wrong-my-code/27333-class-arrays-printingthethread.html
CC-MAIN-2018-09
refinedweb
591
72.09
. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. The. Tcl is built up from commands which a...
http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Scripting-GUI-TclTk.html
CC-MAIN-2015-14
refinedweb
949
60.14
Wow, awesome! Regards, Michael Alex Hornung <ahornung@gmail.com> schrieb: >Hi all, > >heads down if you use master: problems (maybe) and new features are >coming your way! > >Over the past few weeks I've been preparing a major series of commits. >A >few weeks ago I updated opencrypto and also added support for twofish ...
https://www.dragonflybsd.org/mailarchive/kernel/2011-07/msg00031.html
CC-MAIN-2018-13
refinedweb
710
61.56
Alter your tracker's nosyreaction.py detectors script to change the nosyreaction function to be: def nosyreaction(db, cl, nodeid, oldvalues): '''. ''' # send a copy of all new messages to the nosy list msgs = determineNewMessages(cl, nodeid, oldvalues) for msgid in msgs: try: cl.nosymessage(nodeid, msgid, oldvalues) ex...
http://www.mechanicalcat.net/tech/roundup/wiki/NosyMessagesAllTheTime
crawl-001
refinedweb
143
51.95
0 Hi everybody, I've got a code which returns to a given text an inverse index. From a list of tokens, the function produces a list sorted by the frequency. Example: inverted_index(['the', 'house', ',', 'the', 'beer']) [('the', [0, 3]), ('beer', [4]), ('house', [1]), (',', [2])] Code: def outp(txt): ind = {} for word i...
https://www.daniweb.com/programming/software-development/threads/424254/performance
CC-MAIN-2018-43
refinedweb
128
70.29