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
Webapps on App Engine, part 4: Templating Posted by Nick Johnson | Filed under python, coding, app-engine, tech, framework This is part of a series on writing a webapp framework for App Engine Python. For details, see the introductory post here. In the first three posts of this series, we covered all the components of ...
http://blog.notdot.net/2010/02/Webapps-on-App-Engine-part-4-Templating
CC-MAIN-2017-39
refinedweb
1,562
52.19
Scala.Rx is an experimental change propagation library for Scala. Scala.Rx gives you Reactive variables (Rxs), which are smart variables who auto-update themselves when the values they depend on change. The underlying implementation is push-based FRP based on the ideas in Deprecating the Observer Pattern. A simple exam...
https://index.scala-lang.org/lihaoyi/scala.rx/scalarx/0.4.3?target=_2.13
CC-MAIN-2020-34
refinedweb
7,319
56.45
" Will LSB 4 Standardize Linux? (InternetNews) Posted Jul 31, 2008 16:55 UTC (Thu) by JoeBuck (subscriber, #2330) [Link] Posted Jul 31, 2008 17:35 UTC (Thu) by elanthis (subscriber, #6227) [Link] That makes little sense. Distros can be certified LSB4 compliant, and they can offer meta-packages to pull in any libraries ...
http://lwn.net/Articles/292298/
crawl-002
refinedweb
3,779
67.28
Basic question about Ruby's class hierarchy Discussion in 'Ruby' started by Patrick Li, Aug 11, 2008. Want to reply to this thread or ask your own question?It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum. - Simi...
http://www.thecodingforums.com/threads/basic-question-about-rubys-class-hierarchy.852131/
CC-MAIN-2014-35
refinedweb
190
67.89
Powerful Web Scraping/Crawling||Scrapy and BS4 - 5.5 hours on-demand video - 1 article - 2 downloadable resources - Full lifetime access - Access on mobile and TV - Certificate of Completion Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business - Web Scraping using Scrapy Frame work ...
https://www.udemy.com/course/web-scraping-python-scrapy-bs4-hindi-urdu/?couponCode=D2BE5D6383CF3B6CDF26
CC-MAIN-2020-29
refinedweb
517
55.64
#include <math.h> double ceil(double x); float ceilf(float x); long double ceill(long double x); These functions shall compute the smallest integral value not less, ceil(), ceilf(), and ceill() shall return the smallest integral value not less than x, expressed as a type double, float, or long double, respectively. If ...
http://www.makelinux.net/man/3posix/C/ceill
CC-MAIN-2015-22
refinedweb
146
62.38
Servlet Session Tracking - JSP-Servlet Servlet Session Tracking Hi I have made a main page called... == null_ { pw.println("No Session found"); } else... to a new Servlet of name: SessionNew by URL Redirecting method, but instead fo giving Session javax.servlet not found error javax.servlet not found error why iam gett...
http://www.roseindia.net/tutorialhelp/comment/93052
CC-MAIN-2015-22
refinedweb
2,030
58.28
line number of error in .sage file When sage reports an error, it reports the line number of the .py file where the error occured. I am wondering if there is a way to configure sage so that it instead reports the line number of the code in the .sage file that ultimately generated that problematic line in the .py file. ...
https://ask.sagemath.org/question/40891/line-number-of-error-in-sage-file/
CC-MAIN-2018-17
refinedweb
175
71.41
React componentDidMount Not Called in Server Render You have access to some great component lifecycle hooks in React. componentDidMount is one of the most useful, but it’s not going to be available when rendering on the server. You may have been stumped when you wrote a React component and were trying to get some code ...
https://jaketrent.com/post/react-componentdidmount-not-called-server-render/
CC-MAIN-2017-43
refinedweb
285
52.97
" is a C++ persistence library or framework that allows programmers to easily save and load objects using keys. Objects are associated with a user configurable type of key that can be used to name objects specifically and save them or load them by that name. This feature is the primary distinguishing difference between...
http://www.codeproject.com/Articles/9529/Persistence-is-the-Key?fid=151484&df=90&mpp=10&sort=Position&spc=None&select=1039294&tid=3090715
CC-MAIN-2013-20
refinedweb
2,800
64.81
Python Programming/Extending with ctypes ctypes[1] is a foreign function interface module for Python (included with Python 2.5 and above), which allows you to load in dynamic libraries and call C functions. This is not technically extending Python, but it serves one of the primary reasons for extending Python: to inter...
https://en.wikibooks.org/wiki/Python_Programming/Extending_with_ctypes
CC-MAIN-2018-34
refinedweb
241
63.8
Hey people, I'm a newbie at C++ and am taking things nice and slowly for the moment. I've created my first C++ program "Hello World". It compiles correctly but when i run the program all it does is pop up and disappear in less than a second. The code is as follows: /**************************************************/ #...
https://cboard.cprogramming.com/cplusplus-programming/57486-console-problems.html
CC-MAIN-2017-51
refinedweb
107
75.71
If you have heard or used DotNetNuke and built some modules to it, you might be aware of the fact that as in web development, usually, building small and quick functionalities into a website usually requires a ton of coding with quirky (and usually pricy) IDEs. Just came up with an idea while thinking of building anoth...
http://www.codeproject.com/Articles/13959/Running-IronPython-in-DotNetNuke?msg=2593561
CC-MAIN-2014-41
refinedweb
873
63.9
exit, _exit - terminate process #include <stdlib.h> void exit(int status); #include <unistd.h> void _exit(int status); The exit() function first calls all functions registered by atexit(3C), in the reverse order of their registration. Each function is called as many times as it was registered.(3C). The _exit() and exit...
http://man.eitan.ac.il/cgi-bin/man.cgi?section=2&topic=_exit
CC-MAIN-2020-24
refinedweb
603
58.72
Class for synchronization of transactions within multiple documents. Each transaction of this class involvess one transaction in each modified document. More... #include <TDocStd_MultiTransactionManager.hxx> Class for synchronization of transactions within multiple documents. Each transaction of this class involvess on...
https://dev.opencascade.org/doc/refman/html/class_t_doc_std___multi_transaction_manager.html
CC-MAIN-2022-27
refinedweb
494
50.43
/socket/websocket"); // equivalent to passing connectionProvider: PhoenixIoConnection.provider // you can also pass params on connection if you for example want to authenticate using a user token like final socket = PhoenixSocket("ws://localhost:4000/socket/websocket", socketOptions: PhoenixSocketOptions(params: {"user...
https://pub.dev/documentation/phoenix_wings/latest/
CC-MAIN-2021-39
refinedweb
376
51.14
STL enjoys speaking in the third person and also enjoys bringing you this exclusive news: Visual Studio 2008 Service Pack 1 (VC9 SP1) contains the TR1 and MFC library extensions that were originally released in the Visual C++ 2008 Feature Pack Refresh. But wait! VC9 SP1 also contains many delicious fixes for TR1 and MF...
http://blogs.msdn.com/vcblog/archive/2008/08/11/tr1-fixes-in-vc9-sp1.aspx
crawl-002
refinedweb
1,913
56.96
React Hook useState() React Hooks is actually a collection of functions by React. We can use functional components therefore we can convert the component to functional component. You can use React hooks feature Because React 16.8 or higher projects now are able to use hooks. Let’s have a closer look at the following ex...
https://mezgitci9.medium.com/react-hook-usestate-5b0699ac3a?responsesOpen=true&source=user_profile---------4----------------------------
CC-MAIN-2021-49
refinedweb
938
54.02
Warning: this page refers to an old version of SFML. Click here to switch to the latest version. File transfers with FTP FTP for dummies If you know what FTP is, and just want to know how to use the FTP class that SFML provides, you can skip this section. FTP (File Transfer Protocol) is a simple protocol that allows ma...
https://en.sfml-dev.org/tutorials/2.0/network-ftp.php
CC-MAIN-2021-49
refinedweb
925
54.63
- 26 Jan 2021 07:56:30 UTC - Distribution: Language-FormulaEngine - Module version: 0.06 - Source (raw) - Browse (raw) - Changes - How to Contribute - Repository - Issues (0) - Testers (134 / 0 / 0) - KwaliteeBus factor: 1 - 80.84% Coverage - License: perl_5 - Activity24 month - Tools - Download (39.73KB) - MetaCPAN Ex...
https://web-stage.metacpan.org/release/NERDVANA/Language-FormulaEngine-0.06/view/lib/Language/FormulaEngine/Namespace/Default.pm
CC-MAIN-2022-40
refinedweb
1,237
51.04
Hi, I have followed online tutorials on how to implement lejos using Eclipse. I'm close to getting lejos up and running but have some errors which I cannot fix. I am just trying to run this simple code: import lejos.nxt.*; public class HelloWorld { public static void main (String[] args) { System.out.println("Hello Wor...
http://www.lejos.org/forum/viewtopic.php?f=7&t=3006
CC-MAIN-2014-35
refinedweb
189
74.69
It commonly acknowledged here that current decision theories have deficiencies that show up in the form of various paradoxes. Since there seems to be little hope that Eliezer will publish his Timeless Decision Theory any time soon, I decided to try to synthesize some of the ideas discussed in this forum, along with a f...
https://www.lesswrong.com/posts/de3xjFaACCAk6imzv/towards-a-new-decision-theory
CC-MAIN-2021-10
refinedweb
3,088
50.67
BlackBerryProfileDeleteDataFlag #include <bb/platform/identity/BlackBerryProfileDeleteDataFlag> To link against this class, add the following line to your .pro file: LIBS += -lbbplatform The flags for deleting profile entries. Multiple flags can be combined using bitwise 'OR' unless stated otherwise. deleteData() flags...
https://developer.blackberry.com/native/reference/cascades/bb__platform__identity__blackberryprofiledeletedataflag.html
CC-MAIN-2015-18
refinedweb
172
59.3
Cursor Class Represents the image used to paint the mouse pointer. Assembly: System.Windows.Forms (in System.Windows.Forms.dll) System.Windows.Forms.Cursor A cursor is a small picture whose location on the screen is controlled by a pointing device, such as a mouse, pen, or trackball. When the user moves the pointing de...
https://msdn.microsoft.com/en-us/library/windows/apps/system.windows.forms.cursor
CC-MAIN-2017-17
refinedweb
623
50.33
1. Administering the Oracle Solaris Desktop 2. Managing User Preferences With GConf 6. Working With MIME Types Refreshing the MIME Database XML files provide all the information regarding MIME types that are installed into the MIME database by the update-mime-database application. The MIME XML files are located in the ...
http://docs.oracle.com/cd/E26502_01/html/E28056/gmcas.html
CC-MAIN-2014-52
refinedweb
343
58.28
C++ is a common programming language. It is really simple and fun to make your own games, but without the knowledge to do basic tasks, it can get really frustrating. One of the most vital and basic tasks is displaying text on the screen. Steps - 1Open or create a C++ file. Feel free to name it anything you want. Save i...
https://m.wikihow.com/Display-Text-on-the-Screen-in-C%2B
CC-MAIN-2020-10
refinedweb
307
78.04
! I'm also very interested in this as it'd allow for more user friendly completions for most languages. You can create descriptions for completions by placing a \t tab chracater in the "trigger" key. Everything after that will be displayed on the right like with snippets. What do you mean with CaseSensitive? Do you wan...
https://forum.sublimetext.com/t/snippet-word-seperator-and-other-please-help/10209/1
CC-MAIN-2016-30
refinedweb
477
50.84
This article was originally published over at the Codurance blog to grow in directions that it needs to. Boundaries designed at the start will stunt that growth at certain axis when direction of growth is at its most unpredictable. Also testing the system as a whole is very cumbersome. One can argue that the services s...
https://www.voxxed.com/2016/02/premature-microservices/
CC-MAIN-2019-13
refinedweb
677
61.77
...one of the most highly regarded and expertly designed C++ library projects in the world. — Herb Sutter and Andrei Alexandrescu, C++ Coding Standards The <boost/format.hpp> format class provides printf-like formatting, in a type-safe manner which allows output of user-defined types. A format object is constructed fro...
http://www.boost.org/doc/libs/1_42_0/libs/format/doc/format.html
CC-MAIN-2016-36
refinedweb
2,266
50.87
There are a handful of good resources on implementing syntax highlighting and MarkDown support for content in Django, when I was starting out work on my blog I based my code off of the example I found here. It is a well done article, and it ends up with a usable system (the core of which I reuse here). But this article...
http://lethain.com/syntax-highlighting-markdown-and-pinch-automagick/
CC-MAIN-2014-10
refinedweb
1,058
64.71
There has been some discussion about this off-list. Most of the discussion has centered around what appropriate tab completion should be in different cases (what should be offered in the completion namespace and when). pydb has been dealt with a number of these issues already (thanks Rocky Bernstein). I would like to c...
https://mail.python.org/pipermail/python-ideas/2007-February/000202.html
CC-MAIN-2016-44
refinedweb
263
63.09
At some point I want to write more about Scala type aliases and type members, but for today I just want to put a little reminder here for myself. Until I take the time to write more, here are two images from stackoverflow that provide Scala type examples. Using Scala type aliases This first image is from this link, and...
https://alvinalexander.com/scala/scala-type-examples-type-aliases-members/
CC-MAIN-2021-49
refinedweb
291
57.88
Upgrading to Angular v6: Step by Step Angular v6 was released on May 3rd and now we can focus on upgrading our projects to the new version. In this post I documented my experience and steps upgrading some projects from v5 to v6. Some tips and key differences between projects created with v5 and v6 are also included. Wh...
http://loiane.com/2018/05/upgrading-to-angular-v6/
CC-MAIN-2020-29
refinedweb
1,381
53.61
Prim’s MST for Adjacency List Representation in C++ In this tutorial, we will learn about the implementation of Prim’s MST for Adjacency List Representation in C++. MST stands for a minimum spanning tree. We need to calculate the minimum cost of traversing the graph given that we need to visit each node exactly once. W...
https://www.codespeedy.com/prims-mst-for-adjacency-list-representation-in-cpp/
CC-MAIN-2020-50
refinedweb
1,096
60.65
Background: physical server, about two years old, 7200-RPM SATA drives connected to a 3Ware RAID card, ext3 FS mounted noatime and data=ordered, not under crazy load, kernel 2.6.18-92.1.22.el5, uptime 545 days. Directory doesn't contain any subdirectories, just millions of small (~100 byte) files, with some larger (a f...
http://serverfault.com/questions/183821/rm-on-a-directory-with-millions-of-files/185070
CC-MAIN-2014-23
refinedweb
2,911
64.3
Testing. I’m going to cover the most popular and widely used types of tests in this article. This might be nothing new to some of you, but it can at least serve as a refresher. Either way, my goal is that you’re able to walk away with a good idea of the different types of tests out there. Unit. Integration. Accessibili...
https://css-tricks.com/front-end-testing-is-for-everyone/?utm_campaign=Web-Crunch%20Digest&utm_medium=email&utm_source=Revue%20newsletter
CC-MAIN-2022-05
refinedweb
3,316
55.84
for connected embedded systems mq_setattr() Set a queue's attributes Synopsis: #include <mqueue.h> int mq_setattr( mqd_t mqdes, const struct mq_attr* mqstat, struct mq_attr* omqstat ); Arguments: - mqdes - The message-queue descriptor, returned by mq_open(), of the message queue that you want to set the attributes of. ...
http://www.qnx.com/developers/docs/6.3.2/neutrino/lib_ref/m/mq_setattr.html
crawl-003
refinedweb
182
55.13
(For more resources related to this topic, see here.) Introducing the Sunspot data Sunspots are dark spots visible on the Sun's surface. This phenomenon has been studied for many centuries by astronomers. Evidence has been found for periodic sunspot cycles. We can download up-to-date annual sunspot data from. This is p...
https://www.packtpub.com/books/content/signal-processing-techniques
CC-MAIN-2016-30
refinedweb
1,041
59.19
Am Dienstag 05 Januar 2010 02:31:20 schrieb Dale Jordan: > Kind Rand g is basically State g (or, rather StateT g Identity). Looking at the definition of (>>=) for that: instance (Monad m) => Monad (StateT s m) where return a = StateT $ \s -> return (a, s) m >>= k = StateT $ \s -> do ~(a, s') <- runStateT m s runStateT ...
http://www.haskell.org/pipermail/haskell-cafe/2010-January/071654.html
CC-MAIN-2013-48
refinedweb
154
63.53
Browser-Based Integration Tests¶ Integration and acceptance tests that use real browsers or simulated browsers are great for really exercising your app. The power they provide comes with some complexity. We’ve collected information on common problems with Capybara, Selenium, and other related tools. Capybara: Subdomain...
http://docs.solanolabs.com/HandlingFailures/browser-based-integration-tests/
CC-MAIN-2017-26
refinedweb
760
50.63
nlcst-is-literal nlcst utility to check if a node is meant literally. Useful if a tool wants to exclude values that are possibly void of meaning. For example, a spell-checker could exclude these literal words, thus not warning about “monsieur”. Install This package is ESM only: Node 12+ is needed to use it and it must ...
https://unifiedjs.com/explore/package/nlcst-is-literal/
CC-MAIN-2022-05
refinedweb
323
52.15
Cheap dirty way to send a raw-mysensors message? Hello, is it possible to "inject" a sensor-value into the gateway by hand-crafting a data packet? I recently got some of these little guys () Now my idea was to slap a NRF24 on the ISP header (+2 extra pins for CE and CSN). So far so good .. now I want to craft a simple ...
https://forum.mysensors.org/topic/7123/cheap-dirty-way-to-send-a-raw-mysensors-message/1
CC-MAIN-2019-09
refinedweb
1,860
54.63
Semaphores are a programming construct designed by E. W. Dijkstra in the late 1960s. Dijkstra's model was the operation of railroads:. In the computer version, a semaphore appears to be a simple integer. A thread waits for permission to proceed and then signals unclear to most of the world, as Dijkstra is Dutch. Howeve...
http://docs.oracle.com/cd/E19683-01/806-6867/6jfpgdcnj/index.html
CC-MAIN-2017-43
refinedweb
520
58.89
Get the highlights in your inbox every week. How to install Python on Windows | Opensource.com How to install Python on Windows Install Python, run an IDE, and start coding right from your Microsoft Windows desktop. Subscribe now. Just because Python is easy to learn doesn't mean you should underestimate its potential ...
https://opensource.com/article/19/8/how-install-python-windows
CC-MAIN-2020-05
refinedweb
1,357
73.47
This is a pretty rough start on my code, and my output is producing 0 for every single count. public class VoteCount { public static void main(String[] args) { Scanner input = new Scanner(System.in); final int FLAG = -999; int votes; System.out.print("Enter votes for candidates 0-9. End with " + FLAG); votes = input.ne...
http://www.dreamincode.net/forums/topic/237382-java-election-arrays-keep-tally-of-votes/
CC-MAIN-2017-09
refinedweb
114
60.41
oo::object - NAME - oo::object — root class of the class hierarchy - SYNOPSIS - CLASS HIERARCHY - DESCRIPTION - CONSTRUCTOR - DESTRUCTOR - EXPORTED METHODS - NON-EXPORTED METHODS - obj eval ?arg ...? - obj unknown ?methodName? ?arg ...? - obj variable ?varName ...? - obj varname varName - obj <cloned> sourceObjectName ...
https://core.tcl-lang.org/tcloo/wiki?name=Doc:+oo::object
CC-MAIN-2021-31
refinedweb
687
52.39
The basic three steps for using variables in the C language: These steps must be completed in that order. The declaration is a statement ending with a semicolon: type name; type is the variable type: char, int, float, double, and other specific types. name is the variable's name. A variable's name must not be the name ...
http://www.java2s.com/example/c-book/variables-declaration.html
CC-MAIN-2018-39
refinedweb
220
75.71
Class names in Ruby are Constants, so the first letter should be a capital. class Cat # correct end class dog # wrong, throws an error end You can define a new class using the class keyword. class MyClass end Once defined, you can create a new instance using the .new method somevar = MyClass.new # => #<MyClass:0x007fe2...
https://sodocumentation.net/ruby/topic/264/classes
CC-MAIN-2021-21
refinedweb
1,635
67.55
I was going through and commenting c++ source code to gain a better understanding of it, when I came across this range checking code. I would like to know what the maximum call to LargeAllocate would be and how or why range checking might be done in this way. Also if you see errors in my comments please let me know. Th...
https://cboard.cprogramming.com/cplusplus-programming/144307-help-complicated-strange-magic.html
CC-MAIN-2017-26
refinedweb
553
64.34
platformio and mysensors for atmega328p on breadboard? Hi all, I am new to MySensors, and I have only limited experience with platformio and Arduino programming in general. I was able to get the temperature sensor built with a Nano and an NRF24L01+ I had laying around -- worked great! As usual, I used platformio to man...
https://forum.mysensors.org/topic/8029/platformio-and-mysensors-for-atmega328p-on-breadboard
CC-MAIN-2022-33
refinedweb
574
50.63
Ravel How to flatten the elements of a NumPy array into a 1D NumPy array. as py from plotly.tools import FigureFactory as FF import numpy as np In [2]: import plotly.plotly as py from plotly.tools import FigureFactory as FF pi_array = np.array([[3, 1, 4, 1], [5, 9, 2, 6], [5, 3, 5, 8], [9, 7, 9, 3]]) ravel_array = np.r...
https://plot.ly/numpy/ravel/
CC-MAIN-2019-26
refinedweb
363
58.99
(This is kind of a bonus, but it shows how minor the change is to bootbzImages)Skipping over the "cli" and segment loading is enough to allow lguestto boot bzImages. There are some "out" insns in the unpacking code,but lguest already has to emulate/skip-over them because of random x86probes during boot.We can no longer...
https://lkml.org/lkml/2007/5/4/205
CC-MAIN-2016-26
refinedweb
858
62.38
>>>>> On Fri, 26 Nov 2004 09:24:58 -0500, Stefan Monnier <address@hidden> said: >> To benefit from this on Mac OS X, we need to define POSIX_SIGNALS >> in src/s/darwin.h. In src/s/freebsd.h, there is a comment as: > Hmm... shouldn't this be defined automatically by the configure > script? I agree with you. For using SY...
https://lists.gnu.org/archive/html/emacs-devel/2004-11/msg01230.html
CC-MAIN-2019-35
refinedweb
158
60.92
Mercurial > dropbear view libtommath/bn_mp_grow.c @ 457:e430a26064ee DROPBEAR_0.50 Make dropbearkey only generate 1024 bit keys line source #include <tommath.h> #ifdef BN_MP], */ /* grow as required */ int mp_grow (mp_int * a, int size) { int i; mp_digit *tmp; /* if the alloc size is smaller alloc more ram */ if (a->al...
https://hg.ucc.asn.au/dropbear/file/e430a26064ee/libtommath/bn_mp_grow.c
CC-MAIN-2022-40
refinedweb
166
59.74
java.lang.Object java.lang.Throwablejava.lang.Throwable java.lang.Exceptionjava.lang.Exception PIRL.Database.Database_ExceptionPIRL.Database.Database_Exception public class Database_Exception The excpetion thrown from the PIRL.Database package. public static final String ID public static final String DISCONNECTED_STATE...
https://pirlwww.lpl.arizona.edu/software/PIRL_Java_Packages/PIRL/Database/Database_Exception.html
CC-MAIN-2018-51
refinedweb
554
56.25
Your Account by Simon St. Laurent Related link: XSLT has long been a tool I've used, but as little as possible. After two days of training, I'm both remembering why that is and learning ways to work around the aspects of the language that have bothered me for years. Getting a more complete understanding of XSLT's conte...
http://archive.oreilly.com/pub/post/xslt_training_day_2.html
CC-MAIN-2015-06
refinedweb
726
72.26
Michael Albinus <address@hidden> writes: > address@hidden (Phillip Lord) writes: > >> Michael > > Hi Philip, > >> I think that there is a problem with this commit, in that the default >> selector is only used for "make check". By default "make check-maybe" >> runs all tests (including the expensive ones). So, you have ...
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00868.html
CC-MAIN-2019-13
refinedweb
469
51.44
Final Report Issues & Challenges From Decision XG, I have built a set of very small and simple ontologies that illustrate the idea, see below. - First you have an ontology about people. It is very simple, just the class Person and a few datatype properties (name and age). - Then you have an ontology about animals. It i...
https://www.w3.org/2005/Incubator/decision/wiki/Final_Report_Issues_%26_Challenges
CC-MAIN-2018-51
refinedweb
433
66.78
Have you ever thought about jamming the Wi-Fi connection network? Now days Wi-Fi password hacking is very common, so by jamming the Wi-Fi network you can block or jam any Wi-Fi connection, and no one is able to connect to that Wi-Fi network even after knowing the password. This can be done with a tiny Microcontroller E...
https://circuitdigest.com/microcontroller-projects/diy-wifi-jammer-using-nodemcu-esp12
CC-MAIN-2020-50
refinedweb
1,249
82.34
BBC micro:bit Feline Detection System Introduction This project is a simple prototype for a Feline Detection System (FDS). The FDS is meant to detect the presence of a cat. Project Requirements - You will need a micro:bit. - You can do this from USB power but it will be easier to set up with an optional battery pack. -...
http://multiwingspan.co.uk/micro.php?page=feline
CC-MAIN-2017-22
refinedweb
351
76.42
Each source file can contain one public class. The source file's name has to be the name of that class. By convention, the source file uses a .java filename extension (a tail end of a file name that marks the file as being of a particular type of file.) So, for a class declared as such: public class HelloWorld{ ... The...
https://beginwithjava.blogspot.com/2011/01/
CC-MAIN-2022-40
refinedweb
760
78.45
Given two strings s1 and s2, write a function that will convert s1 to s2(if possible) by using only one opeartion. The operation is to pick any character from s1 and insert it at front of s1. Print the number of operations that took to convert. Example INPUT s1 = “abcd” s2 = “cbad” OUTPUT 2 The number of opeartions too...
https://www.tutorialcup.com/interview/string/transform-one-string-number-operations.htm
CC-MAIN-2020-10
refinedweb
446
68.81
On 29 November 2016 at 15:13, Simon Riggs <si...@2ndquadrant.com> wrote: > On 14 November 2016 at 15:50, Robert Haas <robertmh...@gmail.com> wrote: >> On Sat, Nov 12, 2016 at 11:09 AM, Andres Freund <and...@anarazel.de> wrote: >>> I'm very tempted to rename this during the move to GUCs >> ... >>> Slightly less so, but ...
https://www.mail-archive.com/pgsql-hackers@postgresql.org/msg299030.html
CC-MAIN-2018-47
refinedweb
380
57.98
Convention over configuration has became a buzz word these days. It is a software design paradigm which seeks to decrease the number of decisions that developers need to make, gaining simplicity, but not necessarily losing flexibility. More and more web frameworks are using this approach and making web development simp...
https://dzone.com/articles/your-first-play-%e2%80%93-gae-%e2%80%93-siena
CC-MAIN-2016-50
refinedweb
3,032
60.21
I'm trying to remove all outer elements of a list that are contained in a second list, while keeping ones that may be 'sandwiched' inside. I know how to take the complement of the intersection of two sets, but here I just want to remove all beginning and trailing elements. So far I've come up with the following, but it...
https://codedump.io/share/k8h6s8F3v5aJ/1/strip-outer-elements-from-list-that-are-contained-in-another-list
CC-MAIN-2018-05
refinedweb
131
73.71
Wade Wright's whimsical rants and dumping ground for things he doesn't want to forget.. >What happens if we run out of GUIDs? Right on! Don't believe the people who claim that GUIDs are unique until you see their test plan! We want *proof* with reproducible results, not statistical theory! Show us every GUID that's bee...
http://weblogs.asp.net/wwright/archive/2007/11/11/gospel-of-the-guid-answers-to-your-burning-questions-comments-and-insults.aspx
crawl-002
refinedweb
582
65.32
There is a heap overflow in the `ioctl` handler for `geom`, which is non-critical since it is only triggerable as `root`. Essentially, there are no checks on the user supplied `req.narg` value. The code uses this value to calculate a size by multiplying by `sizeof(struct gctl_req_arg)`, and then calls `g_malloc` and `c...
https://bugs.freebsd.org/bugzilla/show_bug.cgi?format=multiple&id=209113
CC-MAIN-2022-05
refinedweb
411
68.77
This action might not be possible to undo. Are you sure you want to continue? by Wassim Boustani English I, Section VI Professor Martin 11 March 2002 Boustani 2 Outline Thesis statement: Starting a home-based business can be a monumental undertaking; however, it has provided freedom and financial independence to millio...
https://www.scribd.com/document/3574935/Starting-a-Home-Based-Business
CC-MAIN-2016-50
refinedweb
1,681
55.84
> Minutes I spend on the phone, on a typical day: The same survey was conducted for teenagers. The results, which initially baffled researchers, are below: 1-30 0% 30-60 0% 60-90 0% 90-120 0% More than 120 0% It turns out nobody actually talks on the phone anymore or is even aware the phone supports such a feature. Eve...
http://beta.slashdot.org/~Jorgandar
CC-MAIN-2014-35
refinedweb
932
84.07
This post covers how to send push notification using Android Firebase. In the past, we were used to send push notification in Android using Google Cloud messaging service. Recently, it was introduced a new way to send push data using Android Firebase. Even if the basic principles remain the same Firebase introduced som...
https://www.survivingwithandroid.com/2016/09/android-firebase-push-notification.html
CC-MAIN-2017-26
refinedweb
711
56.05
Brad Frost Web Design, Workshops, Consulting, Music, and Art 2016-11-28T13:30:26Z WordPress Brad Frost <![CDATA[Atomic Design Out Now]]> 2016-11-28T13:30:26Z 2016-11-28T13:23:38Z <![CDATA […]]]> <p>I have great news: <strong><em>Atomic Design</em> is complete and is on sale now! </strong></p> <div id="attachment_10033"...
http://feeds.feedburner.com/brad-frosts-blog
CC-MAIN-2016-50
refinedweb
18,020
55.64
Re: Good practice when writing modules... - From: r0g <aioe.org@xxxxxxxxxxxxxxxxxx> - Date: Sat, 15 Nov 2008 06:45:27 -0500 bearophileHUGS@xxxxxxxxx wrote: r0g: a) Import all the other modules these functions depend on into the modules global namespace by putting them at the top of the module or should I... b) Include ...
http://coding.derkeiler.com/Archive/Python/comp.lang.python/2008-11/msg01771.html
CC-MAIN-2013-20
refinedweb
636
67.89
Hello, We are facing a parsing issue with WebProxy DSM (q1labs_sem_dsm_squid_webproxy.jar). Some squid logs are not well parsed because the source IP is set to the syslog server. My question is how can I submit a BUG to IBM ? After investigation, these logs are those with an HTTP return code to 0 : Aug 30 10:02:58 prox...
https://developer.ibm.com/answers/questions/397321/issue-dsm-webproxy.html?sort=votes
CC-MAIN-2019-22
refinedweb
725
67.15
Utilizing SIMD/SSE in Unity3D (.NET 2.0) Motivation First of all, what does SIMD actually mean? I certainly haven’t heard of it until some years into my computer science studies. It is an acronym for Single instruction, multiple data (SIMD) and is related to the architecture of CPU’s and GPU’s. Another acronym often ap...
https://medium.com/@bromanz/simd-sse-unity3d-net-2-0-70f6c911713f
CC-MAIN-2019-22
refinedweb
983
57.27
Symbolic math in python Posted March 01, 2013 at 07:07 PM | categories: symbolic, math | tags: | View Comments Updated March 03, 2013 at 12:21 PM Matlab post Python has capability to do symbolic math through the sympy package. 1 Solve the quadratic equation from sympy import solve, symbols, pprint a,b,c,x = symbols('a,...
http://kitchingroup.cheme.cmu.edu/blog/2013/03/01/Symbolic-math-in-python/
CC-MAIN-2017-39
refinedweb
354
70.23
.: bazel build tensorflow/tools/quantization:quantize_graph bazel-bin/tensorflow/tools/quantization/quantize_graph \ --input=/tf_files/optimized_graph.pb \ --output=/tf_files/rounded_graph.pb \ --output_node_names=final_result \ --mode=weights! Great post peter, One question: will this run on swift, using bridging or a...
https://petewarden.com/2016/09/27/tensorflow-for-mobile-poets/
CC-MAIN-2020-16
refinedweb
2,670
57.57
Operating systems, development tools, and professional services for connected embedded systems for connected embedded systems asyncmsg_put(), asyncmsg_putv() Send an asynchronous message to a connection Synopsis: #include <sys/asyncmsg.h> int asyncmsg_put( int coid, const void *buff, size_t size, unsigned handle), int ...
http://www.qnx.com/developers/docs/6.4.1/neutrino/lib_ref/a/asyncmsg_put.html
crawl-003
refinedweb
317
54.02
Dependency Injection or Inversion? The hardest thing about being a software developer, for me, is coming up with names for things. I’ve worked out a system with which I’m sort of comfortable where, when coding, I pay attention to every namespace, type, method and variable name that I create, but in a time-box (subject ...
https://daedtech.com/dependency-injection-or-inversion/
CC-MAIN-2022-40
refinedweb
2,147
62.98
- ChatterFeed - 86Best Answers - 0Likes Received - 2Likes Given - 1Questions - 334Repl System.QueryException: Record Currently Unavailable Here is the exact exception: 'System.QueryException: Record Currently Unavailable: The record you are attempting to edit, or one of its related records, is currently being modified ...
https://developer.salesforce.com/forums/ForumsProfile?userId=005F0000005wTn2IAE&communityId=09aF00000004HMGIA2
CC-MAIN-2021-21
refinedweb
2,558
56.05
Dear all, I am trying to put some data in a list control, but I cannot make my list accept duplicate entries. It actually accepts duplicates, but then I cannot select them anymore. Here is an example: <mx:Application xmlns: <mx:Script> <![CDATA[ import mx.collections.ArrayCollection; private var ac:ArrayCollection = ne...
https://forums.adobe.com/thread/556669
CC-MAIN-2018-30
refinedweb
362
66.13
by Raman Sah How to build a simple, extensible blog with Elixir and Phoenix In this post, we’ll discuss how to build a boilerplate Phoenix web app with user authentication and an admin panel, along with image upload in Elixir. TodoMVC has become a de facto tool to compare various JavaScript-based MV* frameworks. Along ...
https://www.freecodecamp.org/news/simple-extensible-blog-built-with-elixir-and-phoenix-61d4dfafabb1/
CC-MAIN-2019-26
refinedweb
739
65.83
#include <SPI.h>#include <WiFi.h>// the IP address for the shield:IPAddress ip(192, 168, 0, 177); char ssid[] = "yourNetwork"; // your network SSID (name)char pass[] = "secretPassword"; // your network password (use for WPA, or use as key for WEP)int status = WL_IDLE_STATUS;void setup(){ // Initialize serial and wait f...
http://forum.arduino.cc/index.php?topic=173510.0
CC-MAIN-2015-40
refinedweb
191
60.92
The documentation of the standard classes/methods never mention of what type/class an argument must be. For example let’s look at the subscript of an Array. There is the form “array[index]”. But of what Type must the index object be? The ruby book tells me that programming ruby, types doesn’t matter so much, what matte...
https://www.ruby-forum.com/t/argument-types/165507
CC-MAIN-2018-47
refinedweb
142
75.61
How to make a GUI slider to control a variable Creating a GUI slider is very simple. You simply generate a project with the GUI add on, initialize an ofxFloatSlider and gui, draw the gui, and link the slider to a specific variable. When you generate your project, include the ofxGui addon. When you open your app in xCod...
https://openframeworks.cc/learning/01_basics/how_to_create_slider/
CC-MAIN-2019-13
refinedweb
222
74.29
do you plan to create a CNI version your natcJavaBridge.c? do you think it is worth? .. right now I dont have much time to work on that right now, but I may help if you think that it would be worth to do.. or even do it myself entirely.. then would just need some help from you.. > Hi, > [please excuse the delay] > > I...
https://sourceforge.net/p/php-java-bridge/mailman/php-java-bridge-users/?viewmonth=200409&viewday=27
CC-MAIN-2017-43
refinedweb
591
72.63
Received this in our mailbox last week. Thought it might amuse a few GZers... Maybe I should start a business building Faraday Cages around these people's homes! ;-) First, the double space after periods in the paragraphs. Whoever wrote this learnt to type when typewriters were a thing. Seriously, though, "radiation th...
https://www.geekzone.co.nz/forums.asp?forumid=42&topicid=257243
CC-MAIN-2020-16
refinedweb
568
62.78
strcmp - compare two strings #include <string.h> int strcmp(const char *s1, const char *s2); The strcmp() function compares the string pointed to by s1 to the string pointed to by s2. The sign of a non-zero return value is determined by the sign of the difference between the values of the first pair of bytes (both inte...
http://pubs.opengroup.org/onlinepubs/007908775/xsh/strcmp.html
CC-MAIN-2014-42
refinedweb
123
68.3
Provided by: manpages-dev_3.35-0.1ubuntu1_all NAME aio_write - asynchronous write SYNOPSIS #include <aio.h> int aio_write(struct aiocb *aiocbp); Link with -lrt. DESCRIPTION The aio_write() function queues the I/O request described by the buffer pointed to by aiocb. file offset aiocbp->aio_offset, regardless of the curr...
https://manpages.ubuntu.com/manpages/precise/en/man3/aio_write.3.html
CC-MAIN-2021-39
refinedweb
198
76.72
In this tutorial we will learn about the CharArrayWriter in Java. java.io.CharArrayWriter extends the java.io.Writer. The CharArrayWriter class writes a character buffer to the output stream. This class is acted as a Writer to write the stream. toCharArray() and toString() methods can be used to get the data. close() m...
http://roseindia.net/java/example/java/io/chararraywriter.shtml
CC-MAIN-2016-18
refinedweb
312
51.95
On Mon, Jun 13, 2011 at 8:30 AM, Greg Ewing greg.ewing@canterbury.ac.nz, IMO. Yikes, now *there's* a radical proposal. -lots on any idea that would make: def f(): i = 0 def g1(): return i i = 1 def g2(): return i return [g1, g2] differ in external behaviour from: def f(): result = [] for i in range(2): def g(): return ...
https://mail.python.org/archives/list/python-ideas@python.org/message/O5WWPOPX7GOLJ6LNGEV7BANLM3BYBGYO/
CC-MAIN-2022-27
refinedweb
102
65.56
Using the Gravatar API: Announcing Your Presence WEBINAR: On-Demand How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 Grava What? Gravatar is a social presence site that specializes in storing a profile and associated avatar for you. Unlike sites such as Face...
https://www.codeguru.com/columns/dotnet/using-the-gravatar-api-announcing-your-presence.html
CC-MAIN-2018-05
refinedweb
1,660
54.22
Subject: Re: [OMPI devel] problem in the ORTE notifier framework From: Nadia Derbey (Nadia.Derbey_at_[hidden]) Date: 2009-05-28 08:12:03 On Thu, 2009-05-28 at 05:57 -0600, Ralph Castain wrote: > I agree with Terry here about being careful in pursuing this path. > What I wouldn't want to have happen is to force anyone w...
http://www.open-mpi.org/community/lists/devel/2009/05/6145.php
CC-MAIN-2015-11
refinedweb
492
67.18
I'm fairly new to JAVA and OOP and I'm currently following an academic course where I'm learning data structures and algorithms in java. As I was learning about implementation of linked lists I've ran into a small problem of not understanding the code how to create a node when implementing a linked list(I'm familiar wi...
https://codedump.io/share/1wVw43VAqsn0/1/how-a-java-class-works-with-it39s-own-reference-type
CC-MAIN-2017-09
refinedweb
382
60.79
THis is what I need to do...I need help with the third point 1. Write a class OrderedList. The implementation of OrderedList must be as a linked list of Comparable elements. The list items are maintained in ascending order at all times. On this assignment, no indexing methods are allowed. The following methods are requ...
https://www.daniweb.com/programming/software-development/threads/274777/need-help-urgent-with-java-project
CC-MAIN-2017-34
refinedweb
522
61.83
requestFocusand requestFocusInWindowmethods. They draw a distinction between giving the focus to a component even if that requires changing the currently focused window ( requestFocus) and giving the focus to a component only if its window has the focus ( requestFocusInWindow). So if you've got a Java application that'...
http://elliotth.blogspot.com/2005/09/requestfocus-requestfocusinwindow.html
CC-MAIN-2017-22
refinedweb
758
58.72
Double Nickels on the Dime: An Oral History of the Foundation Grants Program This is a long-ish post summarizing my perspective on the implementation and effects (so far) of CIHR’s Foundation Grant program. I know this program is defensible from some points of view. I’m not trying to speak for anyone but myself. My mai...
https://medium.com/@MHendr1cks/double-nickels-on-the-dime-an-oral-history-of-the-foundation-grants-program-626549adb2da
CC-MAIN-2017-34
refinedweb
2,050
63.29
The script runs perfectly as my unprivileged user, but when i try to launch it from a cron job it never connects to the broker. I can see that it is running by grep'ing for python, but: 1. nothing appears when i try to redirect STDOUT into a log file. 2. the broker never responds with a client connection message My cro...
https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=235460&p=1731306&sid=e9685121a4d8560568f748270930e606
CC-MAIN-2021-25
refinedweb
130
62.04
I have a model to write blogs. In that I'm using a wysiwyg editor for the Blog's descritpion, through which I can insert an image within the description. class Blog(models.Model): title = models.CharField(max_length=150, blank=True) description = models.TextField() pubdate = models.DateTimeField(default=timezone.now) p...
https://databasefaq.com/index.php/answer/3421/django-django-templates-django-views-get-the-first-image-src-from-a-post-in-django
CC-MAIN-2019-51
refinedweb
372
58.89
Hi, I’ve got a CUDA C/C++ code that launch a kernel with 512threads per blocks and 72498037 blocks. But there is a problem… When I launche my code, it run for approximately 15min and… Then blackscreen + driver problem and the program stop. I set de Watchdog timer to an hour (3600s) So I think the problem does not come ...
https://forums.developer.nvidia.com/t/kernel-problem-execution-stop-after-15min/45885
CC-MAIN-2022-27
refinedweb
253
51.58
ULiege - Aerospace & Mechanical Engineering Metafor has a few integrated meshers, quite simple but usually capable of meshing parts that are not too complicated. However, 2D meshers require that the wire delimiting the domain has the right orientation. The wire must be defined with its “area to the left”, which means t...
http://metafor.ltas.ulg.ac.be/dokuwiki/doc/user/geometry/mesh/2d
CC-MAIN-2021-43
refinedweb
545
51.14