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
On 5/27/2013 9:30 AM, Chris Angelico wrote: On Mon, May 27, 2013 at 9:01 PM, Joao S. O. Bueno jsbueno@python.org.br wrote: I have a blog post with such a toy - nevertheless, it is just a toy. (If ther ewas soem small problem that could be elegantly approached in this fashion but not interactively, it could be used in p...
https://mail.python.org/archives/list/python-ideas@python.org/message/JFKPBVIWCS7DMJTJFCHKQJDSCEIHPME3/
CC-MAIN-2021-21
refinedweb
173
62.38
This Technial Note covers different aspects of accessing bits, when using IAR Embedded Workbench for AVR. Many Special Function Registers (SFRs) contain single bits that one want to set, clear or test. This technical note gives some examples how it can be done. If you are used to compilers for the 8051 for example, you...
https://www.iar.com/support/tech-notes/compiler/bit-access/
CC-MAIN-2017-04
refinedweb
396
67.49
The Om Programming Language :) The Om Programming Language :) Rather a long journal entry today. I hope that someone sticks with it as I'm really getting quite excited about how my scripting langauge is starting to develop now. I started trying to write a general overview of Om last night as I've been posting about my ...
https://www.gamedev.net/blogs/entry/2262517-the-om-programming-language/
CC-MAIN-2018-47
refinedweb
3,377
54.63
The Console object has a readPassword() method that disables echoing and allows a user to enter a password blindly. The password is returned as a character array. Here is an example of how to use the Console class to request a password from the user. import java.io.Console fun main(args : Array<String>){ //Best to decl...
https://stonesoupprogramming.com/2017/11/20/kotlin-console-password/
CC-MAIN-2022-05
refinedweb
482
65.12
perlquestion bobf <p> Is there a way to fully qualify a subroutine with the package name in a variable but <i>without</i> using [doc://eval]? </p> <p> This is possible with OO programming, where a long class name can be replaced with a variable: <code> my $class = 'Very::Long::Class::Name'; $class->method; </code> </p>...
http://www.perlmonks.org/index.pl?displaytype=xml;node_id=527987
CC-MAIN-2016-40
refinedweb
392
55.17
Apr 12, 2012 4:11 PM by 801926 Java Card convert the class file into an .exp.file - one problem 923272 Apr 12, 2012 2:52 PM Hi, I have a problem concerning the conversion of my class files into an .exp file. Indeed, I have created a project (project A) containing some classes and among them an abstract class, an share...
https://community.oracle.com/thread/2376756?tstart=255
CC-MAIN-2017-22
refinedweb
341
72.26
If. One thing Rails users are sure to be familiar with is using rake for various project automation tasks. However, if you haven't written your own custom tasks before, you might not be familiar with how to create a Rakefile from scratch. You can learn a whole lot by taking a peek at the Rakefile that is generated by R...
http://archive.oreilly.com/lpt/a/7051
CC-MAIN-2016-40
refinedweb
771
73.27
(For more resources on MySQL, see here.) An idea of the HTML engine Ever thought about what your tables might look like? Why not represent a table as a <TABLE>? You would be able to see it, visually, in any browser. Sounds cool. But how could we make it work? We want a simple engine, not an all-purpose Swiss Army Knife...
https://www.packtpub.com/books/content/mysql-51-plugin-html-storage-engine%E2%80%94reads-and-writes
CC-MAIN-2015-35
refinedweb
3,024
57.91
Integration with Game Engines¶ Unity¶ Integration with Unity can be done only using C# binding. We tested it only on Windows, but it may work on Linux and MacOS too. Android and IOS are not supported. You can build C# binding from source or download compiled package directly from Nuget. Here we will use Nuget to downlo...
https://brainflow.readthedocs.io/en/stable/GameEngines.html
CC-MAIN-2021-39
refinedweb
407
52.15
About The Author Clayton Anderson is a partner at The BHW Group in Austin, TX. Outside of work, he is a total music nerd, and enjoys reading, Belgian beers, and playing board … More about Clayton… Why. Further Reading on SmashingMag - How To Scale React Applications - Test Automation For Apps, Games And The Mobile Web ...
https://www.smashingmagazine.com/2016/04/consider-react-native-mobile-app/?utm_source=javascriptweekly&utm_medium=email
CC-MAIN-2019-22
refinedweb
2,045
60.24
Haskell/Control structures Haskell offers several ways of expressing a choice between different values. We explored some of them through the Haskell Basics chapter. This section will bring together what we have seen thus far, discuss some finer points and introduce a new control structure. if and guards revisited [edit...
http://en.wikibooks.org/wiki/Haskell/Control_structures
CC-MAIN-2013-20
refinedweb
548
59.03
Proposed features/building entrance Rationale A place to enter a building. This is an important amenity when planning a route that includes the interrior and exterrior of buildings. For example, the fastest way to get from one location to another could be through another building, but in order to go through a building ...
http://wiki.openstreetmap.org/wiki/Proposed_features/building_entrance
crawl-003
refinedweb
1,092
57.4
Simple C# Threading and Thread Safety A few days ago I compared and contrasted Asynchronous and Parallel Programming. Today I would like to walk you through a very simple threading example in C#, and why the concept of “thread safety” is important to know before you start writing parallel applications. Since we already...
https://urda.com/blog/2010/10/06/simple-c-threading-thread-safety
CC-MAIN-2022-21
refinedweb
491
71.24
Hi. I would like to learn Ruby on Rails to build my next dynamic website. Firs tof all, tell me please will I regret my choice for any reason? Is there anything related to Ruby on Rails that make it not good choice? I want to know what should I learn first? My background is only HTML and CSS. Should I learn Ruby langua...
http://community.sitepoint.com/t/how-can-i-learn-ruby-on-rails/22250
CC-MAIN-2015-27
refinedweb
1,391
70.53
How Haptik generates images on the fly with Python - Part 2 Vinay Jain Updated on ・5 min read (How Haptik generates images on the fly with Python), I recommend you take a glance at it first, to get a better understanding of this post. For now, we know how to draw text, change the font, and position the text on the imag...
https://dev.to/vinayjn/how-haptik-generates-images-on-the-fly-with-python---part-2-2fo9
CC-MAIN-2020-16
refinedweb
584
69.52
Class::Refresh - refresh your classes during runtime version 0.07 use Class::Refresh; use Foo; Class::Refresh->refresh; # edit Foo.pm Class::Refresh->refresh; # changes in Foo.pm are applied During development, it is fairly common to cycle between writing code and testing that code. Generally the testing happens within...
http://search.cpan.org/~doy/Class-Refresh-0.07/lib/Class/Refresh.pm
CC-MAIN-2016-26
refinedweb
885
57
This article was originally published on my website. In this article we will go over the basics of Keras. We will discuss what Keras is, why we should use it as well as the steps we can take to build an simple image classifier. What is Keras? Keras is an open-source high-level neural network library written in Python. ...
http://mc.ai/keras-introduction/
CC-MAIN-2019-09
refinedweb
829
58.18
Im a newbie to the c, c++ enviroment, but im actually coming along pretty well. I d/led borland 5.5 free compiler, and i also have djgpp! I was able to make a simple prog using this code: #include <stdio.h> int main(void) { printf("Hello World!\n"); return 0; } 'and it works. Now i went to a lot of websites with beginn...
http://cboard.cprogramming.com/cplusplus-programming/9770-iostream-h-help.html
CC-MAIN-2015-18
refinedweb
135
77.74
Agenda See also: IRC log NM: Regrets from TBL ... F2F in a bit over a month ... Local arrangements page is up ... JAR has published the Call for Change proposals: ... Traffic has started to build NM: Approving minutes of 2012-02-16. . . RESOLUTION: approved as minutes for 2012-02-16 NM: this is a minor procedural chang...
http://www.w3.org/2001/tag/2012/03/01-minutes.html
CC-MAIN-2015-48
refinedweb
4,335
62.61
Odoo Help Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps: CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc. how can set permission for a button in a form of a module? I want set a permission for a button in a form of a module. this butto...
https://www.odoo.com/forum/help-1/question/how-can-set-permission-for-a-button-in-a-form-of-a-module-104867
CC-MAIN-2018-17
refinedweb
440
59.4
Introduction. It assumes a beginner skill level and that you are running the Raspberry Pi without a screen (referred to as a headless setup). It is broken into three main parts, with an optional fourth: - Part 1: Setting up the Raspberry Pi 2 - Part 2: Configuring the Adafruit DHT22 Sensor - Part 3: Getting Started wit...
https://www.hackster.io/adamgarbo/raspberry-pi-2-iot-thingspeak-dht22-sensor-b208f4
CC-MAIN-2019-13
refinedweb
2,530
60.35
public class BSTIterator { Stack<TreeNode> stack; public BSTIterator(TreeNode root) { stack = new Stack<TreeNode>(); addLeftNodes(root); } void addLeftNodes(TreeNode node) { while (node != null) { stack.push(node); node = node.left; } } /** @return whether we have a next smallest number */ public boolean hasNext() { re...
https://discuss.leetcode.com/topic/12034/can-anyone-verify-if-this-is-o-1-time-o-h-space-solution
CC-MAIN-2017-51
refinedweb
195
75.5
There are some open questions remaining. db_timeout_t lease_timeout;NOTE: By sending the lease refresh during DB operations, we are forcing/assuming that the operation's process has a replication transport function set. That is obviously the case for write operations, but would it be a burden for read processes (on a m...
https://opensource.apple.com/source/BerkeleyDB/BerkeleyDB-18/db/rep/mlease.html
CC-MAIN-2017-30
refinedweb
1,499
51.68
#include <wx/dcsvg.h> Abstract base class for handling bitmaps inside a wxSVGFileDC. To use it you need to derive a new class from it and override ProcessBitmap() to generate a properly a formed SVG image element (see). Two example bitmap handlers are provided in wx/dcsvg.h. The first (default) handler will create PNG ...
https://docs.wxwidgets.org/3.1.0/classwx_s_v_g_bitmap_handler.html
CC-MAIN-2019-09
refinedweb
146
55.54
Introduction to JOGL OpenGL is a cross-platform, language-independent, industrial standard API for producing 3D (and 2D) computer graphics. Graphics cards that claim OpenGL-compliance make use of the hardware acceleration when possible to speed up the graphics rendering process. OpenGL competes with Direct3D on Microso...
http://www3.ntu.edu.sg/home/ehchua/programming/opengl/JOGL2.0.html
CC-MAIN-2015-22
refinedweb
4,746
52.05
Lab 8: Object Oriented Programming Due at 11:59pm on Friday, 7/26/2019. Starter Files Download lab-3 and submit through Ok. - If you would like to be checked off, make sure you sign yourself up on the queue in a lab. The questions are at the end of this page. - The remaining questions are optional. It is recommended th...
https://inst.eecs.berkeley.edu/~cs61a/su19/lab/lab08/
CC-MAIN-2020-29
refinedweb
2,296
68.26
This article will discuss the Microsoft algorithm for generating PE Checksums. Microsoft does not appear to publicly offer the specification, including a lack of documentation in the Microsoft Portable Executable and Common Object File Format Specification. Additionally, Matt Pietrek does not offer the algorithm in his...
http://www.codeproject.com/Articles/19326/An-Analysis-of-the-Windows-PE-Checksum-Algorithm?fid=431671&df=90&mpp=25&noise=3&prof=True&sort=Position&view=None&spc=Relaxed&select=2097545&fr=1
CC-MAIN-2014-52
refinedweb
3,636
63.49
Various view conversion functions. More... #include <vcl_complex.h> #include <vil/vil_image_view.h> #include <vil/vil_rgb.h> #include <vil/vil_rgba.h> Go to the source code of this file. Various view conversion functions. vil_image_view<T>::operator=() can automatically perform these conversions for you. Definition in ...
http://public.kitware.com/vxl/doc/release/core/vil/html/vil__view__as_8h.html#a5433f35aac75c10dc612fcd3243a090b
crawl-003
refinedweb
205
72.12
Connecting the View to the Model in Django Specifically, our models were set up to let us record the favorite Web sites, by URL, of users. We can record a URL in the Hyperlink model and a user in the User model and then record both the user and the user's selected hyperlink in the Favorite model (from models.py, where ...
https://www.peachpit.com/articles/article.aspx?p=1439184&amp;seqNum=9
CC-MAIN-2020-29
refinedweb
649
56.45
> Hello, as a GSoC student, I'm working on PyPI to Debian repository converter. Great! I hope you’re aware of previous efforts like stdeb (unfortunately requires setuptools) and py2rpm (for rpm systems but some parts can be inspiration, like the download code). I follow debian-python so we may encounter each other ther...
https://bugs.python.org/msg161515
CC-MAIN-2019-22
refinedweb
191
65.25
Spark Rising is a build & battle FPS sandbox game. This action conquest game has you conquering worlds, plundering resources, and building fortresses, all for the purpose of taking down a mad god. The game is now live on Steam early access! Get! Prepping for the next update, the dev team is going bonkers trying to fix ...
http://www.moddb.com/games/spark-rising/features
CC-MAIN-2017-34
refinedweb
753
74.39
I need to analyze a dictionary for values that include a number between two given numbers (as parameters) and return those values preceded by their key Dictionary: {")] } between_two_values(dictionary1(), 1464, 1496) {'P': [('Six', 1465, 81.0, 127.1, 'tempera', 'Netherlands')], 'C': [('Ten', 1496, 365.0, 389.0, 'temper...
https://codedump.io/share/powPCRuxF7Hj/1/searching-for-keys-in-dictionary-that-have-a-value-between-two-numbers
CC-MAIN-2018-22
refinedweb
304
56.66
What I've Learned Validating with Joi I’ll be honest, despite all of my experience as a front-end developer I haven’t had a lot of projects that dealt heavily with forms and data. Form validation was just something I never really had to work with much. My most recent project, however, is entirely form- and data-driven ...
https://codepen.io/Yuschick/post/what-i-ve-learned-validating-with-joi
CC-MAIN-2018-17
refinedweb
1,491
58.38
Using Bearer for Easier OAuth and API Calls For the past few days I've been playing with a new service that I'm really excited about, Bearer. At a high level, Bearer gives you a proxy to other APIs to provide monitoring, logging, incident reporting, and more. At a lower level, there's one aspect of Bearer (and again, t...
https://www.raymondcamden.com/2019/12/11/using-bearer-for-easier-oauth-and-api-calls
CC-MAIN-2020-16
refinedweb
1,212
66.33
By Udeesh S B on Aug 9, 2016 5:45:33 AM Introduction much more modular. There is no System. Web namespace anymore and everything which came with it. ASP.NET Core 1.0 is a big fundamental change to the ASP.NET landscape and it is open source. It is also cross platform. Microsoft has invested a lot of money and effort in...
https://blog.trigent.com/six-key-benefits-of-asp-net-core-1-0-which-make-it-different-better
CC-MAIN-2018-51
refinedweb
879
61.93
21 October 2010 19:48 [Source: ICIS news] TORONTO (ICIS)--Oil majors such as Shell and Chevron should mount a rival bid for Canada’s PotashCorp to edge out BHP Billiton’s $40bn (€29bn) bid, a Canadian analyst said on Thursday. “A big oil company with a big enough pocket is the only one to do a deal like this” apart fro...
http://www.icis.com/Articles/2010/10/21/9403489/analyst-touts-shell-oil-majors-as-rival-bidders-for.html
CC-MAIN-2015-14
refinedweb
285
60.38
Set Up a Cloud Service for Windows Azure Updated: April 13, 2011 To set up a cloud service, you must create the service model. The service model provides definition settings for the cloud service and configuration values for those settings. You cannot change the definition of a cloud service while it is running in Wind...
http://msdn.microsoft.com/en-us/library/hh124108.aspx
CC-MAIN-2013-48
refinedweb
766
52.8
Macroeconomics unit3 <?xml:namespace prefix = w 4. answer a, b, c, and d using the following information:? c. using the combined u.s. and french demand schedule, the u.s. demand schedule and the supply schedule, and the graph below, analyze the change in the market for lobsters. (hint: use the 10 question worksheet app...
https://www.studypool.com/questions/969/macroeconomics-unit3
CC-MAIN-2017-22
refinedweb
107
69.58
How to Use the XPathAPI in Flash - Introduction to the XPathAPI Object - Example - Search Examples - Conclusion XML has bridged the gap between technologies and added a lot of power to Flash, allowing it to be more dynamic and flexible for building large applications. XML in Flash has been a possibility since Flash 5 w...
https://www.informit.com/articles/article.aspx?p=459947&amp;seqNum=2
CC-MAIN-2021-21
refinedweb
572
56.79
Hello, I inserted two pictures into my Excel file. These images have very similar size and the same resolution. But in Excel they look very different. I tried to change size of image but it did no have any effect to Excel or I even got worst result. Image smaller than second image looks like it is bigger. How I can con...
https://forum.aspose.com/t/image-size/83463
CC-MAIN-2022-40
refinedweb
272
69.58
Pick In this article, we are going to see how to make a Django field which will save pickle objects. We will only work with models.py and Django shell First of all, install the django-picklefield package − pip install django-picklefield In models.py − from django.db import models from picklefield.fields import PickledO...
https://www.tutorialspoint.com/making-a-pickle-field-in-django-models
CC-MAIN-2021-43
refinedweb
193
53.78
Sample Chapter 9: Common Tasks in Python At this point, we have covered the syntax of Python, its basic data types, and many of our favorite functions in the Python library. This chapter assumes that all the basic components of the language are at least understood and presents some ways in which Python is, in addition ...
http://www.oreilly.com/catalog/lpython/chapter/ch09.html
crawl-001
refinedweb
10,789
63.59
Since ePO inexplicibly does not allow you to apply a tag to the results of an EEPC query I'm trying to call the same ePO query from python, dump the results to a file, and then use that same file with python to apply the tag I want. Running the query is no problem, but I'm new to python so I'm having trouble dumping it...
https://community.mcafee.com/t5/ePolicy-Orchestrator/Python-Output-query-results-to-text-file/td-p/363444
CC-MAIN-2018-30
refinedweb
502
60.82
I'm building a timetable application using WPF. The first part of the project involves building a management application for the database. I built the database management application also in WPF. The application turned out really nice in my opinion (considering this is the first version and that I don't have much artis...
http://www.codeproject.com/script/Articles/View.aspx?aid=55383
CC-MAIN-2015-32
refinedweb
2,902
56.96
This is the fifth (and last) post in my series Sequence labelling in Python, find the previous one here: CRFs for sequence labelling. Get the code for this series on GitHub. What good is our system if we can not use it to predict the labels of new sentences. Before that, though, we need to make sure to set up a complet...
https://dev.to/fferegrino/putting-everything-together-sequence-labelling-in-python-part-5-19ng
CC-MAIN-2021-49
refinedweb
521
55.84
Hi, is there a way to call a protected method of a class from a static method of the same class? Or to acces an instance variable of a class from a static method of the same class? Now I’m facing a problem. I use some static methods as “factory methods”, to create “prefilled” class instances. These methods can’t access...
https://www.ruby-forum.com/t/protected-methods-and-class-methods/63516
CC-MAIN-2018-47
refinedweb
195
69.99
In today’s Programming Praxis exercise, our goal is to convert a decimal length value to the fractions used by carpenters. Let’s get started, shall we? Some imports: import Data.Ratio import Text.Printf To get proper rounding we first multiply by 32 and then see how many feet, inches and fractions of an inch there are....
https://bonsaicode.wordpress.com/2011/07/01/programming-praxis-feet-and-inches/
CC-MAIN-2017-30
refinedweb
323
62.27
- 23 Aug, 2021 1 commit This changes the TcPlugin datatype to allow type-checking plugins to report insoluble constraints while at the same time solve some other constraints. This allows better error messages, as the plugin can still simplify constraints, even when it wishes to report a contradiction. Pattern synonyms ...
https://gitlab.haskell.org/sheaf/ghc/-/commits/tcplugins
CC-MAIN-2021-49
refinedweb
3,007
53.31
Given\example) Searching in Win7 is terrible. Let usu hope you fix it in win 8 in desktop style apps, and also metrp SA You said in the blog post that the functionality from Windows 7 where Start Search could replace the Run function still exists, but in my testing, this is not the case. I don't remember ever being abl...
https://blogs.msdn.microsoft.com/b8/2011/10/18/designing-search-for-the-start-screen/
CC-MAIN-2018-05
refinedweb
52,570
70.23
What are lifecycle methods? How do the new React16+ lifecycle methods fit in? How can you intuitively understand what they are and why they are useful? If you’ve had questions on how the React lifecycle methods work — look no further. What’s the deal with lifecycle methods anyway? React components all have their own ph...
https://blog.logrocket.com/the-new-react-lifecycle-methods-in-plain-approachable-language-61a2105859f3/
CC-MAIN-2019-39
refinedweb
3,488
57.37
Subject: Re: [boost] [process] The Formal review preiod is nearing the end From: Nat Goodspeed (nat_at_[hidden]) Date: 2016-11-07 16:14:53 On Mon, Nov 7, 2016 at 12:52 PM, Klemens Morgenstern <klemens.morgenstern_at_[hidden]> wrote: > Am 07.11.2016 um 21:09 schrieb Nat Goodspeed: >> * any_initializer could still be use...
https://lists.boost.org/Archives/boost/2016/11/231494.php
CC-MAIN-2021-49
refinedweb
633
64.61
Simon Large wrote: ..snip.. Note that I do not disagree with Simon, but this reminds of something :-) > You do not receive a proper reply from us, because: > (X) It looks like you haven't read the docs yet > ( ) You bug report is incomplete or not a bug at all > ( ) Your feature request is not specified in enough detai...
http://svn.haxx.se/tsvn/archive-2005-01/1286.shtml
CC-MAIN-2013-20
refinedweb
151
60.01
I am taking part in a small programming competition online. Basically what I do is solve a task, write an algorithm and send my code to be automatically evaluated by the competition holder's server. The server accepts a wide variety of programming languages. All the tasks basically require the program to take input fro...
https://codedump.io/share/W7MgLpjQifsr/1/c-printing-extremely-faster-than-c
CC-MAIN-2018-09
refinedweb
259
74.9
table of contents other versions - jessie 3.74-1 - jessie-backports 4.10-2~bpo8+1 - stretch 4.10-2 - testing 4.16-1 - stretch-backports 4.16-1~bpo9+1 - unstable 4.16-1 NAME¶getutent, getutid, getutline, pututline, setutent, endutent, utmpname - access utmp file entries SYNOPSIS¶#include <utmp.h> struct utmp *getutent(v...
https://manpages.debian.org/jessie/manpages-dev/getutent.3.en.html
CC-MAIN-2022-27
refinedweb
181
55.61
Items In openHAB Items represent all properties and capabilities of the user’s home automation. While a device or service might be quite specific, Items are unified substitutions inside the openHAB world. Items can be Strings, Numbers, Switches or one of a few other basic Item types. A programmer can compare Item types...
http://docs.openhab.org/v2.2/configuration/items.html
CC-MAIN-2018-51
refinedweb
4,303
54.52
## k8s on local Sometimes I want to run k8s on my local machine to check something. So far I've used Minikube and one bound to Docker Desktop, but I wondered there might be newer ways to do it. Then I found this thread: The following tools are introduced there: - Minikube - Microk8s - K3s - Kind - Desktop Docker - K3d ...
https://dev.to/bufferings/tried-k8s-istio-in-my-local-machine-with-k3d-52gg
CC-MAIN-2020-40
refinedweb
1,290
52.49
- I need help for this copy byte code ... - Trying to get Java to ask the user for a number - I need some help... Please ! - [SOLVED] I'm not sure what I need to do next. - flight reservation code problem... - Need help with user imput - Switch problem. How do I return to my menu? - Why wont my program calculate sales ...
http://www.javaprogrammingforums.com/sitemap/f-62-p-16.html?s=9f35327b73a0658ade09f5044aab0251
CC-MAIN-2016-18
refinedweb
1,552
64.41
Back to: Java Tutorials For Beginners and Professionals List Collections in Java with Examples In this article, I am going to discuss List Collections in Java with Examples. Please read our previous article where we discussed the Java Collections Framework. As part of this article, we are going to discuss the following...
https://dotnettutorials.net/lesson/list-collections-in-java/
CC-MAIN-2022-27
refinedweb
2,239
50.02
1. comes with a large standard library that covers areas such as string processing like regular expressions, Unicode, calculating differences between files, Internet protocols like HTTP, FTP, SMTP, XML-RPC, POP, IMAP, CGI programming, software engineering like unit testing, logging, profiling, parsing Python code, and ...
https://svrtechnologies.com/python-programming-language-interview-questions/
CC-MAIN-2020-29
refinedweb
3,092
64.61
I’ve used Tailwind CSS for a few projects over the last several months, and it’s been steadily growing on me – to the point of it becoming my go-to tool for styling new projects. At the same time, I’m seeing a lot of people ask what all the hype is about, often in an effort to determine if it’s right for them too. I’ve...
https://macarthur.me/posts/why-i-like-tailwind-css
CC-MAIN-2022-40
refinedweb
1,482
69.01
In defense of Test Driven Development hong ・2 min read In defense of Test Driven Development I'm still learning to write great code like everyone else. Recently there's been some articles bashing TDD. I would like to share what worked for me with TDD. OOP and TDD a good pair Good OOP should follow SOLID and clean code ...
https://practicaldev-herokuapp-com.global.ssl.fastly.net/cocoroutine/in-defense-of-test-driven-development-4h0e
CC-MAIN-2019-39
refinedweb
545
75.3
“We should do (as wise programmers aware of our limitations) our utmost best to … make the correspondence between the program (spread out in text space) and the process (spread out in time) as trivial as possible.” —Edsger W. Dijkstra, “Go To Considered Harmful” It’s a shame that his essay is most remembered for popula...
https://nshipster.com/guard-and-defer/?utm_campaign=Swift%20Weekly&utm_medium=email&utm_source=Revue%20newsletter
CC-MAIN-2019-04
refinedweb
1,842
54.52
Changelog for package rocon_app_manager 0.6.1 (2013-09-11) report details of currently running app. disable uuid arg shunting was not enabled for concert clients. 0.6.0 (2013-08-30) disable uuids by default, also fire up the paired invitations by default for convenience. use a proper regular expression for the target. ...
http://docs.ros.org/hydro/changelogs/rocon_app_manager/changelog.html
CC-MAIN-2019-35
refinedweb
713
52.46
Download presentation Presentation is loading. Please wait. Published byJosephine Stewart Modified over 5 years ago 1 Week 9 PHP Cookies and Session Introduction to JavaScript 2 PHP COOKIES What is a cookie: it is a file that a web server saves on a computer hard disk when a user visits a website that uses cookies. It ...
https://slideplayer.com/slide/7397512/
CC-MAIN-2021-25
refinedweb
1,359
64.91
Introduction. It is highly scalable and there are many sites on the Web that have been built using Ruby on Rails. Besides the use of Ruby with Rails as a Web application development platform, there is another less-heralded side to Ruby, which is Ruby as a powerful scripting language, much in the same league as Python o...
http://www.ibm.com/developerworks/aix/library/au-rubysysadmin/
CC-MAIN-2014-41
refinedweb
2,767
66.23
I'm trying to use ActiveModel instead of ActiveRecord for my models because I do not want my models to have anything to do with the database. Below is my model: class User include ActiveModel::Validations validates :name, :presence => true validates :email, :presence => true validates :password, :presence => true, :con...
https://codedump.io/share/ABbvMMCbRh5k/1/activemodel---view---controller-in-rails-instead-of-activerecord
CC-MAIN-2018-26
refinedweb
444
50.94
April 24, 2020 Single Round Match 784 Editorials Scissors For each second, let’s observe how many scissors are free (opened): 0: 1 1: 2 2: 4 3: 8 4: 16 … At time t, 2^t of the scissors are free. We want to find the first time that we can have N + 1 scissors free. Use a for loop and find this moment. public int openingT...
https://www.topcoder.com/single-round-match-784-editorials/
CC-MAIN-2020-34
refinedweb
2,102
66.67
![if !IE]> <![endif]>. Thus, ServerSocket is for servers. The Socket class is for clients. It is designed to connect to server sockets and initiate protocol exchanges. Because client sockets are the most commonly used by Java applications, they are examined here. The creation of a Socket object implicitly establishes a...
https://www.brainkart.com/article/TCP-IP-Client-Sockets---Java_10616/
CC-MAIN-2019-35
refinedweb
844
58.48
Thanks Villep, Its working! :) Type: Posts; User: engrnaveed; Keyword(s): Thanks Villep, Its working! :) Thanks again Villep, I followed the viki article & then added your code to the project. But this time it returns error on the line: root->setContextProperty("eventFilter", &eventFilter); it... 1. Thanks Villep, well...
http://developer.nokia.com/community/discussion/search.php?s=d3378c79c32d265db8ae9a4e1102ec11&searchid=3280249
CC-MAIN-2014-35
refinedweb
505
77.43
This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project. J Grant <jg@jguk.org> writes: > Hello > > I believe the types.h are part of the compiler rather than lib's etc. That depends on the system. On a typical Linux system, types.h comes from glibc as shown in line 2 of the file: This file is p...
http://gcc.gnu.org/ml/gcc/2001-08/msg01285.html
CC-MAIN-2018-34
refinedweb
184
78.35
#include "lib/cc/compat_compiler.h" #include "lib/cc/torint.h" Go to the source code of this file. Add random noise between INT64_MIN and INT64_MAX coming from a Laplace distribution with mu = 0 and b = delta_f/epsilon to signal based on the provided random value in [0.0, 1.0[. The epsilon value must be between ]0.0, 1...
https://people.torproject.org/~nickm/tor-auto/doxygen/laplace_8h.html
CC-MAIN-2019-39
refinedweb
132
53.88
? I should start by stating the IoC and DI are not unique to ASP.NET MVC. They have been around a long time. It's just that MVC supports these notions particularly well. IoC is a principle, or an architectural pattern. There are quite a few definitions of IoC, but the basis behind it is always the same - it helps towar...
http://www.mikesdotnetting.com/article/117/dependency-injection-and-inversion-of-control-with-asp-net-mvc
CC-MAIN-2015-32
refinedweb
3,518
53.71
I am creating a new User model for my Django project. I have been many people calling their custom user model, XXXUser and custom user manager, XXXUserManager. I was wondering if there is a reason for this. Can you just create a custom user and still call it User? Does this create conflicts in the code? Basically you c...
https://codedump.io/share/FkwaTOSUNoEw/1/do-you-and-should-you-rename-a-custom-user-model-in-django-19
CC-MAIN-2017-43
refinedweb
167
61.83
include <stdio.h> include <stdlib.h> if defined(WIN32) || defined(WATCOMC) #include <windows.h> #include <conio.h> include <math.h> else #include "../../api/inc/wincompat.h" endif include “../../api/inc/fmod.h” include “../../api/inc/fmod_errors.h” /* optional */ int main() { double samples[44099]; FSOUND_SAMPLE *mysam...
http://www.fmod.org/questions/question/forum-7126/
CC-MAIN-2016-50
refinedweb
189
69.48
Using LSTM Autoencoder to Detect Anomalies and Classify Rare Events So many times, actually most of real-life data, we have unbalanced data. Data were the events in which we are interested the most are rare and not as frequent as the normal cases. As in fraud detection, for instance. Most of the data is normal cases, w...
https://minimatech.org/lstm-autoencoder-for-anomaly-detection-in-python-with-keras/
CC-MAIN-2021-31
refinedweb
2,216
51.34
Man Page Manual Section... (2) - page: mkdirat NAMEmkdirat - create a directory relative to a directory file descriptor SYNOPSIS #include <fcntl.h> /* Definition of AT_* constants */ #include <sys/stat.h> int mkdirat(int dirfd, const char *pathname, mode_t mode); Feature Test Macro Requirements for glibc (see feature_t...
https://linux.co.uk/documentation/man-pages/system-calls-2/man-page/?section=2&page=mkdirat
CC-MAIN-2017-09
refinedweb
165
51.24
Arduino Uno + Wireless proto shield + Wifly module (1/13) > >> sponder: Hi Arduino community!! Let me do a quick introduction here since i'm new, and this would be my first post on these forums. -- a few years back i ran into this project controlling RGB leds using a PIC microcontroller. This project really triggered a...
http://forum.arduino.cc/index.php?topic=89501.0;wap2
CC-MAIN-2014-10
refinedweb
878
73.78
41224/namespace-servicehost-exist-namespace-system-servicemodel So, I'm attempting to add this wcf service in an app for Windows IoT(Raspberry Pi) using Visual Studio 2015. Now, I can't add a reference 'on the usual way' .So, I tried adding a nuget reference to System.ServiceModel. using (var host = new System.ServiceM...
https://www.edureka.co/community/41224/namespace-servicehost-exist-namespace-system-servicemodel
CC-MAIN-2020-16
refinedweb
173
62.34
Problems with Pin class Hi. I'm trying to modify the DHT22 class ( to work on WiPy2 No matter what I try to put in line 37: nc = Pin(nc_pin, mode=Pin.OPEN_DRAIN, pull=None, alt=-1) The result is always: Traceback (most recent call last): File "<stdin>", line 13, in <module> File "/flash/lib/dht/DHT22.py", line 37, in i...
https://forum.pycom.io/topic/205/problems-with-pin-class
CC-MAIN-2022-21
refinedweb
175
72.46
- Multiple Cpp Files - Graphics problems - object orientated programme - Question on how to proceed(Game programming, kinda long). - cube root - Using a doubly-linked list to create a deque class. - Zeller's Formula - grand total - problem with inventory program - When to Allocate or Not to Allocate - COM/ATL or static...
http://cboard.cprogramming.com/sitemap/f-3-p-523.html?s=1bcc0b95420a52a5f00097d0f95e3790
CC-MAIN-2014-35
refinedweb
233
52.39
There are a lot of ways to work with color on the web. I think it’s helpful to understand the mechanics behind what you’re using, and color is no exception. Let's delve into some of the technical details of color on the web. Color mixing A huge part of working with color is understanding that the way that you used colo...
https://css-tricks.com/nerds-guide-color-web/?utm_source=codropscollective
CC-MAIN-2019-47
refinedweb
4,254
62.98
ake Williams2,900 Points Players, dictionary and class challenge. Why does it say "Said-variable" doesn't seem to be a regex object? import re string = '''Love, Kenneth: 20 Chalkley, Andrew: 25 McFarland, Dave: 10 Kesten, Joy: 22 Stewart Pinchback, Pinckney Benton: 18''' players = re.search(r'''(?P<last_name>[+\w ]*), ...
https://teamtreehouse.com/community/players-dictionary-and-class-challenge
CC-MAIN-2022-27
refinedweb
247
75.3
Difference between reshape and transpose operators¶ What does it mean if MXNet gives you an error like the this? Check failed: shape_.Size() == shape.Size() (127872 vs. 25088) NDArray.Reshape: target shape must have the same size as current shape when recording with autograd. This error message tells you that the data ...
https://mxnet.incubator.apache.org/tutorials/basic/reshape_transpose.html
CC-MAIN-2019-04
refinedweb
1,444
57.16
Custom WebGL Operation in TensorFlow.js16 Feb 2019 TensorFlow.js is a framework that enables us to run a deep learning model in the web browser easily and efficiently. As you may imagine, tensor manipulation requires a huge amount of computation power. The defacto standard way for that is currently using accelerator su...
https://www.lewuathe.com/custome-webgl-operation-in-tensorflow.js.html
CC-MAIN-2021-49
refinedweb
1,285
50.94
Opened 8 years ago Closed 8 years ago #14668 closed (invalid) apps def unicode->error Description Hi, i am a beginner and tried the steps : but when I write def unicode(self): return self.name there is an error. I use Python27 and Django-1.2.3 in win7 (64bit). thanks juan Change History (2) comment:1 Changed 8 years ag...
https://code.djangoproject.com/ticket/14668
CC-MAIN-2018-26
refinedweb
105
80.62
Odoo Help Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps: CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc. When I try to save a form it raises an error AttributeError: 'NoneType' object has no attribute 'ids' [Closed] I want to fetch so...
https://www.odoo.com/forum/help-1/question/when-i-try-to-save-a-form-it-raises-an-error-attributeerror-nonetype-object-has-no-attribute-ids-61357
CC-MAIN-2017-26
refinedweb
469
59.6
Concept of Map vs List Comprehension in Python Suppose you want to execute a code where you want to define a function in a single line to make your code look simpler in that case you can use List Comprehension or Map() function and you can use it in many parts of your code. The topic like Map vs List comprehension in p...
https://www.codespeedy.com/concept-of-map-vs-list-comprehension-in-python/
CC-MAIN-2020-45
refinedweb
937
64.95
Migrate from GTK+ to Qt Contents - 1 Introduction - 2 GObject vs QObject - 3 GtkWidget vs QWidget - 4 Tree/Model/View architecture of Qt - 5 Special notes for using Qt with glib/GObject and gio - 6 Using CMake to Build Your Code - 7 Translation (i18n) - 8 ABI Issues For C++ Libraries - 9 Appendix: List of equivalent GT...
https://wiki.lxde.org/en/Migrate_from_GTK%2B_to_Qt
CC-MAIN-2017-34
refinedweb
1,881
57.06
Copyright © 2011. A conformance section has been added. The example service description is now marked as informative, includes use of entailment properties, and is shown in both RDF/XML and Turtle. The sd:defaultSupportedEntailmentProfile property and sd:BasicFederatedQuery feature were added. The sd:url property was r...
http://www.w3.org/2009/sparql/docs/pub/20110512/WD-sparql11-service-description-20110512/
CC-MAIN-2016-26
refinedweb
651
58.18
I'm having some trouble trying to make a function using the prototype.js library. I want the function to return a value based on an Ajax.Request object. function isLoggedIn(){ var isLogged; url = "../script/isLoggedIn.cfm"; xhr = new Ajax.Request(url,{method:'get', onComplete:function(){return ([I]text from the isLogge...
http://community.sitepoint.com/t/gettting-return-values-from-ajax-request/2974
CC-MAIN-2015-40
refinedweb
674
65.22
#include <stdint.h> #include <rte_compat.h> Go to the source code of this file. RTE FIB6 library. FIB (Forwarding information base) implementation for IPv6 Longest Prefix Match Definition in file rte_fib6.h. Maximum depth value possible for IPv6 FIB. Definition at line 32 of file rte_fib6.h. Modify FIB function Definit...
https://doc.dpdk.org/api-20.11/rte__fib6_8h.html
CC-MAIN-2021-39
refinedweb
167
70.5
KnockoutJS provides the plumbing to create very powerful web applications, but leaves most of the logic up to the developer. That's great, and I don't think it should be any different, but developers need to look out for common use case scenarios where there is often the potential to be a lot of duplicated boiler-plate...
http://tech.pro/tutorial/1235/handling-paged-datasets-in-knockoutjs
CC-MAIN-2013-48
refinedweb
2,634
57.06
Dear Type Technicians, I have posted a little piece of software in your favorite script language that you can use to hack your OpenType features into your fonts. Dancing Shoes does not invent the features for you. But it takes care that they are put out in the correct order and syntax, and works around some possible bu...
http://www.typophile.com/node/65355
CC-MAIN-2017-13
refinedweb
881
62.68
08 November 2012 14:46 [Source: ICIS news] LONDON (ICIS)--Major Poland synthetic rubber producer Synthos is suffering from weak tyre demand in ?xml:namespace> “Amid weak European tyre demand, the styrene butadiene rubber (SBR) market remained tough in Q3, with synthetic rubber prices extending declines from €2,375/tonn...
http://www.icis.com/Articles/2012/11/08/9612391/weak-europe-tyre-demand-hurting-polands-synthos-bank.html
CC-MAIN-2015-06
refinedweb
223
56.69
I thought that this would be simple I was given a formula to use and was given an assignment to make a simple program that computes the area of a polygon. Here is the code I used: import math #Input n = eval(input("Enter the number of sides: ")) s = eval(input("Enter the length of the side: ")) #Calculation area = area...
http://forums.devshed.com/python-programming-11/help-program-computes-polygon-951600.html
CC-MAIN-2017-13
refinedweb
154
57.61
the process as other operations are generally performed, such as disassociating the daemon process from any controlling tty. Convenience routines such as daemon(3) exist in some UNIX systems for that purpose.. Terminology could not be bothered with, much as computer daemons often handle tasks in the background that th...
http://www.answers.com/topic/daemon-computer-software
crawl-002
refinedweb
940
51.58
This section describes the possible problems that you may encounter when you develop applications or libraries on the Symbian platform based on Standard C++. These problems can occur in the following scenarios: Use of one definition rule Standard C++ calling Symbian C++ functions The function signatures of the global o...
https://akawolf.org/documentation/sdk/GUID-AF2CE612-F12E-5A18-81A5-C303992D2D46.html
CC-MAIN-2019-04
refinedweb
943
60.45
#include <hallo.h> * Michael Gilbert [Sat, Mar 11 2006, 10:21:46PM]: >. First, this Howto is not completely correct ("modprobe evdev" to run xev? wtf). Second, I assume that the evdev X module is going to replace all that ugly workarounds with mouse button counting for ZAxisMapping and guessing the correct driver etc. ...
https://lists.debian.org/debian-devel/2006/03/msg00453.html
CC-MAIN-2014-15
refinedweb
112
62.38
Resource-Oriented Architecture: Resource Metadata Introduction This series is an investigation of how the Web and its related technologies can help solve many of the information management, data integration and software architectural problems that have been plaguing us for years. The goal is to achieve some of the prom...
http://www.infoq.com/articles/roa-resource-metadata/
CC-MAIN-2014-35
refinedweb
5,008
62.88
For better understanding on Entity Framework, I recommend you to read EF Series by Anders Abel on his blog here . I learnt lot from his post about Entity Framework. You may want to follow Julie Lerman for better learning on ADO.NET Entity Framework. In this post we will walk through basics of Entity Framework migration...
https://debugmode.net/2014/08/26/getting-started-with-code-first-approach-and-entity-framework-migrations-commands/
CC-MAIN-2022-05
refinedweb
1,363
55.64