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
For understanding this vulnerability, you first have a thorough understanding of the stack layout. - What is a format string? From my understanding (quite naive), a format string is a string which determines the format of the rest of the arguments passed to a function. In the case of C language, functions such as print...
https://hrishikeshmurali.wordpress.com/2011/09/18/understanding-a-format-string-vulnerability/
CC-MAIN-2018-30
refinedweb
1,141
67.99
TimerInfo(), TimerInfo_r() Get information about a timer Synopsis: #include <sys/neutrino.h> int TimerInfo( pid_t pid, timer_t id, int flags, struct _timer_info* info ); int TimerInfo_r( pid_t pid, timer_t id, int flags, struct _timer_info* info ); Arguments: - pid - The process ID that you're requesting the timer info...
https://developer.blackberry.com/playbook/native/reference/com.qnx.doc.neutrino.lib_ref/topic/t/timerinfo.html
CC-MAIN-2020-34
refinedweb
399
58.69
As I discussed last time, were we to introduce interface and delegate variance in a hypothetical future version of C# we would need a syntax for it. Here are some possibilities that immediately come to mind. Option 1: interface IFoo<+T, -U> { T Foo(U> { … interface IFoo<[Covariant] T, [Contravariant] U> { … Similar to ...
https://blogs.msdn.microsoft.com/ericlippert/2007/10/31/covariance-and-contravariance-in-c-part-eight-syntax-options/
CC-MAIN-2017-30
refinedweb
7,971
60.35
Metal Boar - 1911, 1971, 2051 Followed by a personality description: "A proud, passionate Boar with overpowering sentiments, who values his reputation. Intense and more dominating than others, this type of Boar often has excessive appetites and could lack refinement or tact..." Now, say the user is a Boar. There are fi...
http://python-forum.org/viewtopic.php?p=3309
CC-MAIN-2017-04
refinedweb
213
57.57
#include <segwayrmp.h> #include <segwayrmp.h> Inherits bj::PThread. Inheritance diagram for bj::SegwayRMP: SegwayRMP class provides an interface to Segway RMP robots. A destructor. [inline] Return the latest roll & pitch angles. Return the integrated angular position. Return the latest battery gauge. Return the yaw pos...
http://robotics.usc.edu/~boyoon/bjlib/d2/d78/classbj_1_1SegwayRMP.html
CC-MAIN-2014-41
refinedweb
431
55.1
Socialwg/2016-08-23-minutes Contents - 1 Social Web Working Group Teleconference Social Web Working Group Teleconference 23 Aug 2016 Attendees - Present - ben_thatmustbeme, wilkie, eprodrom, cwebber, rhiaro, csarven, aaronpk, sandro - Regrets Chair - eprodrom - Scribe - wilkie Contents - Topics - Summary of Action Item...
https://www.w3.org/wiki/Socialwg/2016-08-23-minutes
CC-MAIN-2017-13
refinedweb
3,864
67.69
Up to [cvs.netbsd.org] / pkgsrc / devel / boost-build Request diff between arbitrary revisions Default branch: MAIN Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 24 11:05:34 2011 UTC (14 months, 4 weeks: +5 -3 lines Diff to previous 1.4 (colored) Changes 1.46.0: New Libraries * Icl: Interval Contai...
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/boost-build/toolset.mk
crawl-003
refinedweb
956
58.18
Class variables are shared in the class hierarchy. This can result in surprising behavior. class A @@variable = :x def self.variable @@variable end end class B < A @@variable = :y end A.variable # :y Classes are objects, so instance variables can be used to provide state that is specific to each class. class A @variabl...
https://sodocumentation.net/ruby/topic/4094/variable-scope-and-visibility
CC-MAIN-2021-21
refinedweb
946
56.45
{-# LANGUAGE MagicHash, DoRec, RankNTypes, EmptyDataDecls, GADTs, GeneralizedNewtypeDeriving, PatternGuards #-} -- for the exported rank-2 type of runPeg, -- as well as the implementation using GADTs, generalised newtype deriving, -- also a phantom datatype used with unsafeCoerce -- | -- -- <> -- module Text.Parsers.Fr...
http://hackage.haskell.org/package/frisby-0.1/docs/src/Text-Parsers-Frisby.html
CC-MAIN-2015-35
refinedweb
3,422
60.99
12345678910111213141516171819202122232425262728293031323334 #include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv[]) { float inHand, interestRate, loanMonths, loanYears, faceValue, finalFaceValue, monthlyPayment, totalInterest, test; string goAgain; do { cout<<"How much money do you ...
http://www.cplusplus.com/forum/general/108975/
CC-MAIN-2017-13
refinedweb
224
51.99
Bond valuation and bond yields - Octavia Curtis - 2 years ago - Views: Transcription 1 RELEVANT TO ACCA QUALIFICATION PAPER P4 AND PERFORMANCE OBJECTIVES 15 AND 16 Bond valuation and bond yields Bonds and their variants such as loan notes, debentures and loan stock, are IOUs issued by governments and corporations as a ...
http://docplayer.net/4979449-Bond-valuation-and-bond-yields.html
CC-MAIN-2018-13
refinedweb
4,723
58.01
Robert Bosch Interview Experience 2019(On-campus) I attended the placement drive of RBEI on Aug 2019 in our college G.L. Bajaj Institute of Technology & Management, Gr, Noida. Almost 500 students appeared for this drive. The profile offered for CSE students was Associate Software Engineer. Round 1: Online test The test...
https://www.geeksforgeeks.org/robert-bosch-interview-experience-on-campus/
CC-MAIN-2022-40
refinedweb
449
66.74
- Encapsulation - Class Access Modifiers - Other Modifiers - Class Constructors - Class Destructors - this In the previous article, we discussed classes in their basic form. At this point, we've just seen the tip of the iceberg. Here we'll explore what more we can do with them. Encapsulation As mentioned before, encaps...
https://dev.to/aromig/c-oop-class-modifiers-51a
CC-MAIN-2021-39
refinedweb
1,511
62.98
From: Christopher Kohlhoff (chris_at_[hidden]) Date: 2006-06-25 23:23:56 Hi Peter, Peter Petrov <ppetrov_at_[hidden]> wrote: > There is one thing that caught my eye. In the changelog you > have the following comment: > >> * Resolver replaces ipv4::host_resolver. >> >> ... >> >> ip::tcp::resolver resolver(io_service); >...
http://lists.boost.org/Archives/boost/2006/06/106801.php
crawl-001
refinedweb
214
58.28
I recently convert a ASP.NET 1.1 web app to 2.0 and included MasterPages to define a consistent look, menu etc but ran into a problem with the <meta name="DownloadOptions" content="noopen"/> code. Our site allows users to export data to Excel and text files and also upload pictures and some other file types. Problem is...
http://geekswithblogs.net/Ramblings/archive/2009/02/02/meta-namedownloadoptions-contentnoopen.aspx
CC-MAIN-2020-24
refinedweb
394
60.45
Check if a given string is NaN in Python Hi guys, today we will learn about NaN. In addition, we will learn about checking whether a given string is a NaN in Python. You will be wondering what’s this NaN. So let me tell you that Nan stands for Not a Number. It is a member of the numeric data type that represents an unp...
https://www.codespeedy.com/check-if-a-given-string-is-nan-in-python/
CC-MAIN-2022-27
refinedweb
295
73.98
Hi folks, how are we all... i just started to look at python as of yesterday and seems quite powerfull and am slowly learning one thing i hate and have always hated is double for loops ( thats what i think i need here) hoping someone can help me as the code stands at the moment as soon as a program is missing it exits....
http://forums.devshed.com/python-programming-11/loop-help-71156.html
CC-MAIN-2016-44
refinedweb
153
75.84
One. Launch code in new window » Download code as text file » Running this page, the initial output is: But, once I click on the "Find Hotties" link, the output gets changed to:? Download Code Snippet ZIP File Comments (7) | Post Comment | Ask Ben | Permalink | Other Searches | Print Page [ local search ] jquery custom...
http://www.bennadel.com/blog/547-jQuery-Custom-Selectors-Holy-Cow-That-Is-So-Badass-.htm
crawl-001
refinedweb
264
77.06
Microsoft announced Community Technology Preview (CTP) of Roslyn project during BUILD 2011. I am really excited about the Roslyn project (and I will tell you why soon…). Roslyn? Isn’t it name of a city? Well you are right and many of Microsoft product code names are now based on city/town names mainly due to copyright ...
http://adilmughal.com/blog/2012/03/why-am-i-excited-about-roslyn-project/
CC-MAIN-2018-51
refinedweb
739
53.92
- Our goal - Major Steps - Creating a project - Calculator concept - Creating an editor for Calculator - Input Fields - Output fields - Adding expressions support - Extending Expressions concept MPS Home » JetBrains Home » Recording of the Tutorial » The calculator language tutorial Introduction This tutorial will guid...
https://www.jetbrains.com/mps/docs/tutorial.html
CC-MAIN-2015-18
refinedweb
6,708
61.06
Hi and welcome to Just Answer!Yes - that is possible. A Limited Liability Company (LLC) is a business structure allowed by state statute.Depending on elections made by the LLC and the number of members, the IRS will treat an LLC as either a corporation, partnership, or as part of the LLC’s owner’s tax return (a “disreg...
http://www.justanswer.com/tax/7qimo-hi-tax-professional-if-llc-operated-couple-years.html
CC-MAIN-2014-52
refinedweb
571
71.95
Help:Starting a new page There are several ways to start a new page. These can vary based on the type of page started, as well as the wiki and namespace. Contributors who desire to draft new work can do so in their userspace and move new content to articles in the main namespace when finished. Any new article started i...
https://wiki.gentoo.org/wiki/Help:Starting_a_new_page
CC-MAIN-2021-39
refinedweb
252
61.06
Quick access Share your "How To" samples announcement - Sticky1Votes Windows Phone 7 Developer Support ‘Mango’ How-To IndexHello, As promised back in July, here are some Mango FAQs that will hopefully help you in your projects going forward. Check back as we might add a few more ...0 Replies | 3486 Views | Created by J...
http://social.msdn.microsoft.com/Forums/wpapps/en-us/home?forum=wphowto
CC-MAIN-2013-48
refinedweb
1,165
59.23
Here, we are going to see some live actions of the brand new Visual Studio 2017. Please note that this is not the complete series of new functionalities of Visual Studio 2017. Here, I am going to share only few things to get you started with the new Visual Studio 2017. I hope you will like this. Now let’s begin. Backgr...
http://ugurak.net/index.php/2017/03/08/why-visual-studio-2017-let-us-try-it-by-sibeesh-passion/
CC-MAIN-2018-47
refinedweb
728
63.9
How do I make each bar a different color for a top 10 graph in a report? I found this where you can change the color based on the value in the scripting(below) and it works fine for that but I can’t figure out how to make it work for my case. Thanks from org.jfree.chart.renderer.category import BarRenderer from java.aw...
https://forum.inductiveautomation.com/t/reporting-top-10-bar-chart-colors/18550
CC-MAIN-2021-39
refinedweb
105
53.17
Setting up a queue service: Django, RabbitMQ, Celery on AWS In this post, I’ll walk you through the process of setting up a jobs-queueing infrastructure, using Django, Celery, RabbitMQ, and Amazon Web Services. While building this system, I found that there was good documentation for each different component, but relat...
http://kronosapiens.github.io/blog/2015/04/28/rabbitmq-aws.html
CC-MAIN-2017-17
refinedweb
3,873
54.12
A customer used the ReadDirectoryChangesW function to monitor a directory for changes, asking for notifications only for changes directly in the directory being monitored ( bWatchSubtree = false). But they found that the ReadDirectoryChangesW function reported a change even when they created a file in a subdirectory, r...
https://blogs.msdn.microsoft.com/oldnewthing/20180712-00/?p=99225
CC-MAIN-2018-30
refinedweb
551
52.29
The special syntax for updating a map, %{var | field: value} is particularly useful with structs. With a plain map, the following gives a runtime erorr: saiyan = %{name: "goku"} saiyan = %{goku | pwer: 9001} because %{var | ...} can only be used to update an existing field. However, with a struct, you'll get a compile-...
https://www.openmymind.net/Elixir-Tips-And-Tricks/
CC-MAIN-2019-13
refinedweb
2,533
64.71
I have a controller for customer. In the new action, I redirect to another page, which belong to the pages controller class CustomersController < ApplicationController def new redirect_to register_path end class PagesController < ApplicationController def registration @customer = Customer.new end end I believe the setu...
https://codedump.io/share/03c2j1kvVveZ/1/would-it-be-ok-to-create-an-instantiate-an-object-in-another-controller
CC-MAIN-2017-39
refinedweb
495
66.84
2257! That's how many bookmarks I have in my Mozilla browser right now, all of which I upload to my web site every month. Uploading them is not a problem, but displaying them nicely on a web site without server-side support is. That simply rules out SQL, any JSPs, and other fancy stuff. Sure, DHTML is good, but it has ...
http://www.onlamp.com/pub/a/onjava/2003/10/01/searchassist.html
CC-MAIN-2014-42
refinedweb
1,845
62.38
The latest version of the book is P2.0, released almost (22-Sep-11) PDF page: All My ebook reader on android (aldiko) can't import the epub version into my library, because some information seems to be set like in the first edition.--abp - Reported in: P1.0 (16-Jan-16) PDF page: Safri (I'm viewing P1.0 on O'Reilly Safa...
https://pragprog.com/titles/shcloj2/errata/
CC-MAIN-2018-34
refinedweb
6,044
66.84
How to Trigger a Mule Flow From Java Triggering a Mule flow or a sub-flow by sending it a message payload and then using the response payload for your further processing is pretty straightforward. Join the DZone community and get the full member experience.Join For Free While working on an integration project in Mule E...
https://dzone.com/articles/trigger-mule-flow-from-java
CC-MAIN-2022-27
refinedweb
549
53.61
I'm making my way through "Programming in Scala" and wrote a quick implementation of the selection sort algorithm. However, since I'm still a bit green in functional programming, I'm having trouble translating to a more Scala-ish style. For the Scala programmers out there, how can I do this using Lists and vals rather ...
https://codedump.io/share/D5sR32UvbKDg/1/selection-sort-in-functional-scala
CC-MAIN-2016-50
refinedweb
652
61.87
Dependency injection and abstractions Testability is an important feature of any software product – game development is not an exception. To enable testability, all the components should be independent and testable in isolation. When we want to test something in isolation it means that we want to decouple it. Loose cou...
http://blogs.unity3d.com/2014/05/07/dependency-injection-and-abstractions/
CC-MAIN-2014-42
refinedweb
2,641
55.13
C# Corner No unread comment. View All Comments No unread message. View All Messages No unread notification. View All Notifications * * Login using C# Corner TECHNOLOGIES Request a new Category | View All ANSWERS BLOGS VIDEOS INTERVIEWS BOOKS NEWS CHAPTERS CAREER Jobs IDEAS About OOP twitter google + Reddit Topics No to...
http://www.c-sharpcorner.com/topics/oop
CC-MAIN-2017-47
refinedweb
3,330
66.33
My thoughts on some code smells I’ve come across. These three are the ones that tend to turn my stomach the most. Here goes.. I often see a bunch of these duplicated in all templates, often disguised in a “#region Properties”, an obvious hint that I am in for a treat.. I have even seen code snippets in Visual Studio be...
https://world.episerver.com/blogs/Thomas-Krantz-/Dates/2009/9/EPiCodeSmells/
CC-MAIN-2019-30
refinedweb
442
55.03
In this article we go over the Python file types .pyc, .pyo and .pyd, and how they're used to store bytecode that will be imported by other Python programs. You might have worked with .py files writing Python code, but you want to know what these other file types do and where they come into use. To understand these, we...
http://stackabuse.com/differences-between-pyc-pyd-and-pyo-python-files/
CC-MAIN-2018-26
refinedweb
1,617
65.12
Overview The SSH Monitoring ZenPacks include a unit testing framework that is easily extendable with the command output from various hosts. This extensibility can be used to add command output found in the field that triggered bugs in the parsers. The unittest Files that Drive the Tests Each SSH Monitoring ZenPack shou...
http://community.zenoss.org/docs/DOC-2360
CC-MAIN-2014-15
refinedweb
724
55.64
I want to read a file into an array - we will call it myArray1. I want to split the file at a certain point, and make the rest of the file go to myArray2. I have tried using while loop inside a for loop to do this, my attempt is show below. Please do note that I am new to java. Thankyou for your help. Note: There are 3...
http://www.dreamincode.net/forums/topic/145111-splitting-a-file-up-and-putting-into-array/
CC-MAIN-2017-09
refinedweb
219
74.79
Learn how to boost ASP.NET performance and scalability with a distributed .NET Cache. Watch this webinar to learn about the five ways to boost ASP.NET performance for scalability in ASP.NET applications and how to use an In-Memory Distributed Cache to effectively resolve them. Co-delivered by our Senior Solutions Archi...
https://www.alachisoft.com/resources/webinars/ncache/five-asp-net-performance-boosters.html
CC-MAIN-2022-05
refinedweb
9,271
64.85
Routing is one of the most basic things your app must have to do anything meaningful. However, navigating between pages can quickly turn into a mess. It doesn't have to be so! There are multiple options for routing. Some create a lot of clutter, others cannot facilitate passing data between routes, and yet others requi...
https://resocoder.com/2019/04/27/flutter-routes-navigation-parameters-named-routes-ongenerateroute/
CC-MAIN-2020-24
refinedweb
1,086
56.35
Awesome! Thank you so much! Any idea how long it will take before the webIDE will work? I just tried it and I still get the SOS lights. !!! I'll have to test again! Make sure you pull the latest version in your app. i just got my RFID today and tested it with your new version and it definitly works on my photon (0.45)....
https://community.particle.io/t/getting-the-rfid-rc522-to-work-solved/3571?page=11
CC-MAIN-2017-17
refinedweb
857
68.06
Customizing Azure Search fields Eric Dugre — Oct 26, 2018 azure searchkentico 11event handler Kentico 11 introduces native Azure Search integration with a variety of customization options. In this article, we’ll learn how to change the data type of our Azure search fields. Azure Search integration is a powerful way to ...
https://devnet.kentico.com/articles/customizing-azure-search-fields
CC-MAIN-2019-30
refinedweb
1,417
50.23
Welcome to the fourth segment of the Epic PyObjC tutorial series. In the third part of the tutorial we focused on three smaller tasks: handling double clicks, caching to disk, and adding a progress indicator. This time we're going to focus on two slightly tricky, but extremely important patterns in Cocoa application de...
http://lethain.com/entry/2008/aug/26/epic-pyobjc-part-4-drag-drop-multiple-nibs/
crawl-002
refinedweb
4,221
54.12
I'm learning K&R's classic C programming book 2nd edition, here's an example on page 17: #include <stdio.h> /* copy input to output*/ main() { int c; // char c works as well!! while ((c = getchar()) != EOF) putchar(c); } it's stated in the book that int c is used to hold EOF, which turns out to be -1 in my Windows mach...
https://windows-hexerror.linestarve.com/q/so32720934-confusion-about-int-char-and-EOF-in-C
CC-MAIN-2019-47
refinedweb
474
77.77
Checking. Setting everything up As usual, we have some Python modules to import before we get started, and we’re also going to define a main() function and a couple of useful variables. from __future__ import print_function import time import os import subprocess as sub def main(): clear = "\b"*300 keyword = 'AAA?' The...
http://mattcasmith.net/2018/05/13/checking-dns-requests-against-a-domain-blacklist-in-python/
CC-MAIN-2018-34
refinedweb
1,011
69.01
06 April 2011 18:31 [Source: ICIS news] LONDON (ICIS)--A key German raw materials price index rose sharply in March from February because of higher oil prices due to the ongoing conflict in ?xml:namespace> The Hamburgisches Weltwirtschaftsinstitut (HWWI) said its raw materials price index rose 8.1% month on month in US...
http://www.icis.com/Articles/2011/04/06/9450537/germany+march+raw+material+price+index+jumps+on+libya.html
CC-MAIN-2013-20
refinedweb
181
65.42
I'm so sorry, Actually my problem is in another mpi program which is "sudoku game". But because of the fact I got inclusion error whenever I use MPI_Group_incl. For simplicity, I decided to put a simple program with MPI_Group_incl. Please take a look at the following lines of code, and please note that in this program ...
http://www.open-mpi.org/community/lists/users/att-19951/attachment
CC-MAIN-2014-42
refinedweb
704
56.76
Rails in the Country - Home tag:blog.allen.com.au,2009:mephisto/ Mephisto Noh-Varr 2009-03-25T04:28:40Z Matt Allen tag:blog.allen.com.au,2009-03-24:42 2009-03-24T02:58:00Z 2009-03-25T04:28:40Z Prangz.com <p>Yes, another Friday night coding spree.</p> <p>I was itching to write an app that used real-time, location specif...
http://feeds.feedburner.com/RailsInTheCountry
crawl-002
refinedweb
4,188
65.83
16 July 2012 08:21 [Source: ICIS news] SINGAPORE (ICIS)--?xml:namespace> The DES (delivered ex-ship) prices for August LNG into Demand in China National Offshore Oil Corp (CNOOC), China’s biggest LNG importer, had to swap a term contract cargo supplied by France’s Total with South Korea’s KOGAS, as LNG stocks at CNOOC’...
http://www.icis.com/Articles/2012/07/16/9578365/chinas-lng-import-price-falls-for-august-on-high-inventory.html
CC-MAIN-2015-11
refinedweb
152
50.91
1. Charm++ Quickstart¶ This section gives a concise overview of running your first Charm++ application. 1.1. Installing Charm++¶ To download the latest Charm++ release, run: $ wget $ tar xzf charm-latest.tar.gz To download the development version of Charm++, run: $ git clone To build Charm++, use the following commands...
https://charm.readthedocs.io/en/latest/quickstart.html
CC-MAIN-2020-16
refinedweb
841
60.72
Note The N@ classifier cannot be used in compound matches within the CLI or top file, it is only recognized in the nodegroups master config file parameter.. A simple list of minion IDs would traditionally be defined like this: nodegroups: group1: L@host1,host2,host3 They can now also be defined as a YAML list, like th...
https://docs.saltstack.com/en/latest/topics/targeting/nodegroups.html
CC-MAIN-2017-17
refinedweb
268
63.59
What is MultiCollinearity and how to resolve it? Q1: What is MultiCollinearity? If any of our Independent Feature(x1,x2) is internally co-related more than 90%. Q2: How multicollinearity works and how to resolve it? lets say we are solving Regression/classification problem where we have 10–15 features. i.e (n rows, 15 ...
https://niharjamdar.medium.com/what-is-multicollinearity-and-how-to-resolve-it-35bef9b31fc4
CC-MAIN-2022-40
refinedweb
336
61.33
Files/Folders One they’d be in seperate files even though they are very closely related. If they share a base class, or a class they both compose, then that would be in yet another class (presumably). - Multiple classes per file – As an example you might group the Order addition contexts into a file called OrderPlaceme...
http://lostechies.com/colinjack/2008/10/28/context-specification-files-folders-namespaces-bdd/
CC-MAIN-2014-41
refinedweb
901
69.31
Preparing your Python code for Perlmutter's GPUs¶ NERSC's next system is Perlmutter. 1) The Perlmutter GPU partition will have approximately 1500 GPU nodes, each with 4 NVIDIA A100 GPUs and 2) the CPU partition have approximately 3000 CPU nodes, each with 2 AMD Milan CPUs. You can find some general Perlmutter readiness...
https://docs.nersc.gov/development/languages/python/perlmutter-prep/
CC-MAIN-2021-17
refinedweb
1,738
62.98
Bjarne Stroustrup Reveals All On C++ 371 An anonymous reader writes ." Oh... my... god... (Score:3, Funny) C++ is a woman?! I didn't see this coming. Re: (Score:2) Sorry, but we're talking about C++ here. You may have this confused with an earlier slashdot story [slashdot.org]. Re:Oh... my... god... (Score:5, Funny) It...
https://developers.slashdot.org/story/08/06/25/139219/bjarne-stroustrup-reveals-all-on-c
CC-MAIN-2017-39
refinedweb
6,370
71.14
Angular is a mature technology with introduction to new way to build applications. Think of Angular Pipes as modernized version of filters comprising functions or helps used to format the values within the template. Pipes in Angular are basically extension of what filters were in Angular v1. There are many useful built...
https://hub.packtpub.com/angular-pipes-angular-4/
CC-MAIN-2020-05
refinedweb
2,268
51.68
.2: Robots and Options About This Page Questions Answered: How can I use Option more deftly? Let’s keep working on the Robots app of Chapter 8.1, shall we? Topics: Higher-order methods on Options. The robot simulator. What Will I Do? Read and program. There’s a slew of multiple-choice questions to practice on at the en...
https://plus.cs.aalto.fi/o1/2018/w08/ch02/
CC-MAIN-2020-24
refinedweb
2,740
56.55
Discord is now Scala’s main chat platform. Please join us at @prayagupd Well surely I can, and it does what I wanted, I just was expecting some nicer DSL... I think I had a similar problem a few months ago and I solve it that way, so I was thinking it was a repetitive enough requirement to have an especial treatment. A...
https://gitter.im/scala/scala?at=5b99f0c6fcba1254faaa9ae0
CC-MAIN-2022-40
refinedweb
102
60.82
Distribute is a project that tries to think about how distutils can evolve Interesting discussion are happening in distutils-SIG. You can read the threads This page tries to synthetizes these threads and see what could be done to improve package managment in Python. It is not clear right now if a new development will h...
https://wiki.python.org/moin/Distribute?action=fullsearch&context=180&value=linkto%253A%2522Distribute%2522
CC-MAIN-2017-17
refinedweb
1,313
55.95
Okay I've got a homework assignment to write a program that reads integers, finds the TWO (2) largest of them, and counts their occurrences. I've managed to get the largest number but can I get any tips on how to find the second largest? Here is my code so far and thanks in advance! import java.util.Scanner; public cla...
http://www.javaprogrammingforums.com/whats-wrong-my-code/29003-homework-help-using-max-method.html
CC-MAIN-2014-15
refinedweb
125
66.33
Ads Via DevMavens Metification – verb Pick one. Pick one. Service Pack 1 for Visual Studio 2008 has just arrived with new features, including version 1.0 of ADO.NET Data Services (a.k.a Astoria). From the description (highlighting is mine):. Compared to the traditional SOAP approach, the REST-style is a different model...
http://odetocode.com/blogs/scott/archive/2008/08/14/12239.aspx
crawl-002
refinedweb
1,018
55.64
Customizing Tilt Brush Part Two — Custom Tools: Flight Series So Far: Welcome back to my series of tutorials on how to customize Tilt Brush, which is now an open-source VR creativity suite. In this part, we’re going to go beyond simply creating new brushes and add completely new functionality to Tilt Brush with a custo...
https://lachlansleight.medium.com/customizing-tilt-brush-3407f5ceb4ea?source=post_internal_links---------3----------------------------
CC-MAIN-2021-49
refinedweb
1,478
69.62
Exception does not show which line raised it Hi there, I'm new to sage, and made some sage scripts to improve my python scripts' performances. Then I load my script into a sage session, and run a test function. When I get exception, it shows me the traceback with functions names only, without the instruction that trigg...
https://ask.sagemath.org/question/32811/exception-does-not-show-which-line-raised-it/?sort=oldest
CC-MAIN-2021-31
refinedweb
379
59.3
Revision history for Perl extension Plack-Middleware-Debug 0.18 2020-05-03 13:12:56 PDT - Fix the use of global jQuery function to allow loading multiple jQuery.js #43 0.17 2018-02-22 06:11:23 JST - Added support for loading debug middleware outside of the Plack::Middleware::Debug::* namespace, by prefixing the name of...
http://web-stage.metacpan.org/changes/distribution/Plack-Middleware-Debug
CC-MAIN-2021-10
refinedweb
521
58.38
I have extended Sale Order Line with parent / child hierarchy relationship because some lines (children) can be connected to others (parent) in the same Sale Order class SaleOrderLine(models.Model): _inherit = 'sale.order.line' _parent_name = 'my_parent_id' my_parent_id = fields.Many2one('sale.order.line', 'Operation f...
https://www.odoo.com/th_TH/forum/chwyehluue-1/hierarchy-relationship-187438
CC-MAIN-2021-31
refinedweb
926
54.32
Understanding .NET Encryption These days, all you ever seem to see in the news are stories about websites getting hacked, and how many developers don't do enough to protect the applications they write from the bad guys. Although that may be true in some places, there's certainly no shortage of functionality built into ...
https://www.codeguru.com/columns/dotnet/understanding-.net-encryption.html
CC-MAIN-2019-26
refinedweb
1,735
59.84
MALLOC(9) BSD Kernel Manual MALLOC(9) malloc - kernel memory allocator #include <sys/types.h> #include <sys/malloc.h> void * malloc(unsigned long size, int type, int flags); MALLOC(space, cast, unsigned long size, int type, int flags); void free(void *addr, int type); FREE(void *addr, int type); The malloc() function a...
https://www.mirbsd.org/htman/sparc/man9/FREE.htm
CC-MAIN-2016-18
refinedweb
1,111
53.68
C# & ASP.NET Developer BLOG I have seen many versions of these and a lot of the time people are expecting that a bad word would be written complete, I.e. BADWORD. Sometimes they overlook the fact that others get hold of this rule and simply bypass by adding symbols in between, I.e. B*A*D*W*O*R*D. Of course this would n...
http://weblogs.asp.net/andrewrea/archive/2008/05/03/bad-word-filter-with-regular-expressions.aspx
CC-MAIN-2014-15
refinedweb
1,832
62.98
The public static void main() method is the entry point of the Java program. Whenever you execute a program in Java, the JVM searches for the main method and starts executing from it. You can write the main method in your program with return type other than void, the program gets compiled without compilation errors. Bu...
https://www.tutorialspoint.com/can-we-change-return-type-of-main-method-in-java
CC-MAIN-2021-43
refinedweb
205
60.24
in struts i want to validate my form fields but it couldn't work can you fix what mistakes i have done</p>... be added to your projects ApplicationResources.properties file or you can Hi - Struts Hi Hi Friends, I want to installed tomcat5.0 version please help me i already visit ur site then i can't understood that w...
http://www.roseindia.net/tutorialhelp/comment/3635
CC-MAIN-2013-20
refinedweb
1,158
76.11
If you are not familliar with OpenFaas, it's definitely time that you should have a look at it, plus, they are doing some pretty awesome." - openfaas.com Make sure to give them a visit at openfaas.com and while you are there, in the world of serverless, have a look at how Alex outlines architecture and patterns he appl...
https://sysadmins.co.za/building-python-serverless-slack-apps-on-openfaas/
CC-MAIN-2019-22
refinedweb
1,054
53.41
HtmlTextWriter Class Writes markup characters and text to an ASP.NET server control output stream. This class provides formatting capabilities that ASP.NET server controls use when rendering markup to clients. Assembly: System.Web (in System.Web.dll) The HtmlTextWriter class is used to render HTML 4.0 to desktop browse...
https://msdn.microsoft.com/en-us/library/system.web.ui.htmltextwriter(v=vs.108).aspx?cs-save-lang=1&cs-lang=fsharp
CC-MAIN-2017-22
refinedweb
233
59.6
A few weeks back, in "7 programming languages in 7 days," I intended to include Ceylon, but its creator Gavin King insisted it was too soon. Now Ceylon has released Milestone 5 with an HTTP package, making it possible for me to do the inevitable: Port Granny's Addressbook to Ceylon. My assessment? While Ceylon is still...
http://www.infoworld.com/d/application-development/first-look-gavin-kings-ceylon-217197?source=rss_
CC-MAIN-2013-48
refinedweb
368
58.28
john rob Total Post:108 Points:756 Posted by john rob December-27-2013 6:51 AM C# C# 1 Reply(s) 2634 View(s) Ratings: Rate this: I have three windows forms in my project, and I have an object class. How can I make a list of those objects that will be available for all three forms to use? Post:67Points:471 Re: How to ma...
https://www.mindstick.com/forum/1847/how-to-make-a-global-list-in-c-sharp
CC-MAIN-2018-05
refinedweb
120
69.45
A Fast Track to Machine Learning with GPU, on Oracle Cloud How to easily provision an environment with GPU, H2O4GPU, TensorFlow, PyTorch, on Oracle Cloud. Introduction in Oracle Cloud, using Ubuntu 18 LTS. Now, there is an even easier way using an HPC VM template, available in Oracle Cloud Marketplace. In this article,...
https://luigi-saetta.medium.com/a-fast-track-to-machine-learning-and-gpu-on-oracle-cloud-efea2cf77287?source=post_internal_links---------0----------------------------
CC-MAIN-2021-25
refinedweb
1,578
55.74
Messages¶ Sometimes you don’t want to generate actions. sometimes you just want an individual isolated message, the way traditional logging systems work. Here’s how to do that. When you have an action¶ If you already have an action object, you can log a message in that action’s context: from eliot import start_action c...
https://eliot.readthedocs.io/en/1.14.0_a/generating/messages.html
CC-MAIN-2022-40
refinedweb
154
52.73
sub update { my ( $url, $dir ) = @_; my @possible_suffixes = qw( .gz .bz2 ); my $basename = extract_basename( $url, @possible_suffixes ); my $local_file = "$dir/$basename"; [download] return if -e $local_file and not is_newer( $url, $local_file ); [download] my $temp_file = download( $url, TEMP_DIR ) or die "download o...
http://www.perlmonks.org/?node_id=461946
CC-MAIN-2018-13
refinedweb
384
74.08
A ListView is a view (logic) that allows you to see numerous instances of the same table in the database. In List View – Function-based Views Django, one of the core fundamentals is the ListView. Views can be implemented as Python objects instead of functions using class-based views. They do not replace function-based ...
https://www.codeunderscored.com/listview-in-django/
CC-MAIN-2022-21
refinedweb
1,452
51.44
Table of Contents Here are some basic moves you need to play with TurboGears. If you take a look at the code that quickstart created, you’ll see that there isn’t much involved in getting up and running. In particular, you’ll want to check out the files directly involved in displaying this welcome page: start-tutorial.p...
http://www.turbogears.org/1.1/docs/BasicMoves.html
CC-MAIN-2015-40
refinedweb
550
51.34
Control.Lens Description This package provides lens families, setters, getters, traversals, isomorphisms, and folds that can all be composed automatically with each other (and other lenses from other van Laarhoven lens libraries) using (.) from Prelude, while reducing the complexity of the API. For a longer description...
http://hackage.haskell.org/package/lens-1.5/docs/Control-Lens.html
CC-MAIN-2014-52
refinedweb
227
50.73
This python plugin reads names and addresses from a MySQL database and creates golden mailing labels (with optional return label). I created this script out of the desire to have golden text on my wedding invitation and save the date envelopes. I may have taken this too far :-) WARNING: Some understanding of SQL requir...
http://registry.gimp.org/node/1955
CC-MAIN-2018-05
refinedweb
369
62.27
Hard mode: nothing that ends in "ville". Type: Posts; User: Babkockdood Hard mode: nothing that ends in "ville". Think about this. printf, sprintf, and fprintf all work on streams, right? Just like scanf, sscanf, and fscanf work on streams? When I use a function like rewind() or fseek() with SEEK_END, it... Like Jim sa...
https://cboard.cprogramming.com/search.php?s=07001192074783a05e27a44979447d0c&searchid=2963352
CC-MAIN-2020-10
refinedweb
571
77.74
Creating an Angular 7 App With ASP.NET Core: A Step-by-Step Guide Creating an Angular 7 App With ASP.NET Core: A Step-by-Step Guide Angular 7 has just arrived. In this post, a dev gives a step-by-step guide to creating an Angular 7 app using ASP.NET Core SPA templates in Visual Studio 2017. Join the DZone community and...
https://dzone.com/articles/creating-an-angular-7-app-with-aspnet-core-a-step-1
CC-MAIN-2020-29
refinedweb
783
57.47
Learning Resources for Software Engineering Students » Author: Aadyaa Maddi Reviewers: Amrut Prabhu, Marvin Chin The official website describes React as follows: React is a declarative, efficient, and flexible JavaScript library for building user interfaces. It lets you compose complex UIs from small and isolated piece...
https://se-education.org/learningresources/contents/javascript/Javascript-framework-React.html
CC-MAIN-2019-26
refinedweb
1,058
53.81
PHP benchmarking While. <?php<br ?> //Initial memory $memory1 = xdebug_memory_usage( ); $data = array(); for ($i=0; $i\<100; $i++) { for ($j =0; $j\<=1000; $j++) { $data[$i][md5($j)] = microtime(); } } $array = xdebug_memory_usage() -$memory1; $time1 = microtime(TRUE); for ($i=0; $i\<100; $i++) { for ($j =0; $j\<=1000;...
https://rolisz.ro/2011/04/23/php-benchmarking/
CC-MAIN-2019-13
refinedweb
989
59.6
As .NET is penetrating the development environment day by day, we are having unmanaged and managed code running parallel. These days, managed to unmanaged calls have become very popular. But unmanaged to managed calls are still tedious. So my aim was to make such calls as simple as possible. Unmanaged to managed calls ...
https://www.codeproject.com/Articles/12662/Unmanaged-to-Managed-calls-C-to-C-without-Regasm?msg=2876955
CC-MAIN-2017-26
refinedweb
368
65.32
How to obtain elements from the matrix above the main diagonal? Assuming I have a matrix: m = np.arange(16).reshape((4, 4)) m array([[ 0, 1, 2, 3], [ 4, 5, 6, 7], [ 8, 9, 10, 11], [12, 13, 14, 15]]) And I need to get a list of elements which are above the main diagonal (I don't care about the order as long as it is det...
https://ask.sagemath.org/question/25949/how-to-obtain-elements-from-the-matrix-above-the-main-diagonal/
CC-MAIN-2018-30
refinedweb
134
66.1
Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources. When a program is started, the resulting process consists of a single thread, called the initial or main thread. In this section, we look at how to create additional threads. The pthread_create() functio...
http://my.safaribooksonline.com/book/programming/linux/9781593272203/threads-introduction/thread_creation
CC-MAIN-2014-15
refinedweb
135
52.9
- Training Library - Microsoft Azure - Courses - Designing an Azure Network Implementation Connectivity for Hybrid Applications In an earlier lesson, you learned how to make external connections from Azure, especially using ExpressRoute or a VPN. Those solutions are great, but if you only need external connectivity for...
https://cloudacademy.com/course/designing-an-azure-network-implementation/hybrid-applications/?context_resource=lp&context_id=220
CC-MAIN-2022-40
refinedweb
1,521
61.87
Recently my website was hacked, due to my stupidity. I thought I was using a secure password, but clearly I wasn't. This incident made me rethink my password management strategies and I came up with a really simple Arduino based password manager. It's not a complete commercial full proof solution for various reasons. I...
https://www.codeproject.com/Articles/896923/A-Password-safe-built-with-Arduino-Leonardo
CC-MAIN-2018-51
refinedweb
1,241
63.7
, which includes Web caching and bandwidth management, an optimized firewall filtering engine, and comprehensive access controls. Safeguard your information technology environment to reduce security risks and costs, and help eliminate the effects that malicious software and attackers have on your business, by using com...
http://technet.microsoft.com/en-us/library/bb794854.aspx
crawl-002
refinedweb
5,354
53
Back to project page compCellScope. The source code is released under: MIT License If you think the Android project compCellScope listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks. package com.wallerlab.compcellscope; //...
http://www.java2s.com/Open-Source/Android_Free_Code/App/project/com_wallerlab_compcellscopeBluetoothActivity_java.htm
CC-MAIN-2022-27
refinedweb
101
57.27
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 macherius wrote: | I've produced 2 intrinsic versions of the inner loop from listing 1, | one using GCC syntax (listing 4 (C) and 5 (ASM output)) and one using | icc syntax (listing 6 (C) and 7 (ASM output)). Do to time and bug | constraints, I was not able to run the gcc v...
http://lists.gnu.org/archive/html/bug-gnubg/2005-04/msg00018.html
CC-MAIN-2014-41
refinedweb
684
73.17
Wrong installer Flex Builder 2.0.1 Errors With all the blog posts about the arrival of the Flex 2.0.1 update there can be some confusion about where the correct installer is. The main crux of it is that if you have Flex 2 products installed (Flex Builder, Flex Data Services, etc…) you want to get a updater download, an...
http://renaun.com/blog/2007/01/wrong-installer-flex-builder-201-errors/
CC-MAIN-2018-43
refinedweb
230
76.22
Singleton Design patterns is the most simple of all the design patterns in Java. It is also the most frequently asked interview question. So lets go ahead and understand what this design pattern is all about. Understanding Singleton Design pattern Singleton as the name suggests there can be only one instance of the cla...
http://opensourceforgeeks.blogspot.com/2013/03/singleton-design-pattern.html
CC-MAIN-2018-09
refinedweb
1,372
55.24
public static C RotateLeft<C, T>(C list, int count) where C : IEnumerable<T> { return list.Skip (count).Concat(list.Take(count)); } I want to achive something like this, where T is a type paramter to IEnumerable, and C implements IEnumerable. This is the syntax I came up with but it does not pass the compiler. Any way ...
http://databasefaq.com/index.php/answer/29506/c-generics-ienumerable-c-pass-generic-type-as-a-generic-type-parameter
CC-MAIN-2018-39
refinedweb
171
62.07
Many. In this tutorial we will take a deep dive into geospatial analysis in Python, using tools like geopandas, shapely, and pysal to analyze a dataset, provided by Kaggle (and originally from Inside AirBnB), of sample AirBnB locations in Boston, Massachusetts. This tutorial is targeted at folks who know a thing or two...
https://nbviewer.jupyter.org/github/ResidentMario/boston-airbnb-geo/blob/master/notebooks/boston-airbnb-geo.ipynb
CC-MAIN-2019-13
refinedweb
401
56.05
From: Zach Laine (whatwasthataddress_at_[hidden]) Date: 2007-03-23 10:46:26 On 3/22/07, Robert Ramey <ramey_at_[hidden]> wrote: > How about sending me the whole file. I don't have 1.33 on my machine > and export.hpp is ALOT different in the HEAD branch where any changes > would be made. > > Robert Ramey > > Zach Laine ...
https://lists.boost.org/Archives/boost/2007/03/118596.php
CC-MAIN-2020-16
refinedweb
352
73.78
In today’s Programming Praxis exercise our task is to write two functions to convert numbers to and from Excel’s letter-based column names. Let’s get started, shall we? A quick import: import Data.Char The easiest way to covert numbers to Excel notation is recursively. I also wrote a version that uses an unfold to mirr...
https://bonsaicode.wordpress.com/2011/02/04/programming-praxis-excel-columns/
CC-MAIN-2017-30
refinedweb
182
70.73