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 |
|---|---|---|---|---|---|
These are chat archives for astropy/astropy
Cadairbsipocz: you have been on a PR / issue closing rampage I see :D
bsipoczI blame @hamogu to start this, but he is right some stuff needs to be closed.
Cadair:D
Cadairyou can come do SunPy as well if you want!!!
bsipoczWe still have 117 open PRs ;)
CadairI am sad that SunP... | https://gitter.im/astropy/astropy/archives/2017/03/23 | CC-MAIN-2019-26 | refinedweb | 1,035 | 64.14 |
howz it
Why we use form[0] in documnt.form.(fieldnam).value
Sir,
I am working in University of pune, We are going to developed a web accessibility evaluation tool, for visually impaired peoples, so I would like to know how we attached java script favelets to our validate url form...let me know plz..am waiting
reply
tha... | http://roseindia.net/discussion/24088-Form-Validation-With-Java-Script.html | CC-MAIN-2013-20 | refinedweb | 974 | 54.52 |
.8 Git Internals - Environment Variables
Environment Variables
Git always runs inside a
bash shell, and uses a number of shell environment variables to determine how it behaves.
Occasionally, it comes in handy to know what these are, and how they can be used to make Git behave the way you want it to.
This isn’t an exha... | https://git-scm.com/book/cs/v2/Git-Internals-Environment-Variables | CC-MAIN-2022-05 | refinedweb | 2,051 | 59.6 |
[Design] view is gone
- Sunday, June 03, 2012 2:48 PM
I worked on a VB project using Visual Studio 11 Beta, getting all of the controls situated on the form. The only actual "code" that was created was to create the controls and connect a few drop down boxes to an Access database. When I went to reopen my project today... | http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/6585c383-ab7c-4e18-b54d-5093f3835b1a | CC-MAIN-2013-20 | refinedweb | 564 | 77.16 |
/>
For this post I will write a simple implementation of a 1-dimensional cellular automaton in Python. implementation I will write a simple console-based output, but the project is designed in a way which allows other UIs to be "plugged in". Some patterns produced can be much more interesting than others.
Coding
I have... | https://www.codedrome.com/one-dimensional-cellular-automata-in-python/ | CC-MAIN-2020-34 | refinedweb | 1,138 | 50.73 |
Events
- Thursday: Hardware Hacking Meeting today in this room @ 12:30
I.
Some pivots have experience with this working pretty well!
Draper/CI Reporter wasn’t our problem. Not entirely sure what was – but signs point to a Spork/ResqueSpec loader order problem on Linux only.
Sometimes when you’re paginating you have to ... | http://pivotallabs.com/2012/page/11/ | CC-MAIN-2013-48 | refinedweb | 664 | 65.32 |
Thomas Goirand <zigo <at> debian.org> writes: > > You have to define what problem we are trying to solve. And this still > hasn't been defined yet in this list. What for? Seriously. There are a whole lot of features in systemd which I, for one, do NOT want to do without any longer. Decent process state reporting. Decen... | https://lists.debian.org/debian-devel/2013/07/msg00575.html | CC-MAIN-2015-22 | refinedweb | 185 | 67.04 |
The main elf forgot a critical password, and we have to hack his password.
You can find the puzzle here.
To do this, we will brute force every option there is.
Luckily for us, there are only a couple options since they always used the same format, which is:
A-000
The A can be A-Z, and the 000 can loop to 999. This make... | https://daily-dev-tips.com/posts/public-solving-hacking-santas-password/ | CC-MAIN-2022-21 | refinedweb | 525 | 83.96 |
22 March 2012 07:47 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
Consolidated sales in 2011 rose by 21.2% to €2.14bn compared to the same period a year earlier, primarily driven by higher average selling prices in its core fibre business and higher fibre shipment volumes, the Austrian cellulosic fibres, plasti... | http://www.icis.com/Articles/2012/03/22/9543870/austrias-lenzing-2011-net-profit-up-62.6-sales-up-21.2.html | CC-MAIN-2014-42 | refinedweb | 175 | 60.82 |
>>.
51 Reader Comments
Really? So you're saying if I'm implementing a network service, and I'm reading a data stream where the first byte in the header is the command type, rather than converting the byte to an enumeration and using a switch to handle dispatching, its better to instead use polymorphisms here? How do yo... | http://arstechnica.com/information-technology/2013/10/are-there-reasons-for-returning-exception-objects-instead-of-throwing-them/?comments=1&start=40 | CC-MAIN-2014-15 | refinedweb | 1,461 | 61.97 |
Overview
This chapter helps you to create your first Odoo module and deploy it in your Odoo.sh project.
This tutorial requires you created a project on Odoo.sh, and you know your Github repository’s URL.
Basic use of Git and Github is explained.
The below assumptions are made:
- ~/src is the directory where are located... | https://www.odoo.com/documentation/user/14.0/zh_CN/odoo_sh/getting_started/first_module.html | CC-MAIN-2021-21 | refinedweb | 1,768 | 64.51 |
I created a personal website while on a business trip back in July 2019. It was thrown together in a couple of days using plain HTML and CSS and a pretty okay visual design. Now that I'm in the job market again and finally looking to jump into development professionally, I wanted to remake my portfolio website with a l... | https://dev.to/koabrook/mvp-to-v1-creating-my-portfolio-website-with-react-and-the-airtable-api-3fac | CC-MAIN-2022-27 | refinedweb | 1,319 | 63.19 |
Since the introduction of the asset pipeline, managing javascript assets in a typical rails application is pretty straight forward. You figure out some structure for organizing the files under
app/assets/javascripts/, concatenate them together with some directives in
application.js, and that file is most likely include... | https://blog.carbonfive.com/a-strategy-for-loading-page-specific-javascript/ | CC-MAIN-2021-25 | refinedweb | 274 | 54.63 |
note Juerd <p><blockquote><em> I'll point out that moving from Perl to PHP is *very* easy. </em></blockquote></p> <p> Is it really? Perhaps you are right for simple web based stuff like a mail form, a simple database driven site or just templating. However, real programming isn't translated to PHP so easily. </p> <p> F... | http://www.perlmonks.org/index.pl?displaytype=xml;node_id=422100 | CC-MAIN-2014-42 | refinedweb | 472 | 77.13 |
fmtmsg - print formatted error messages
Synopsis
Description
Environment
Versions
Notes
Example
Colophon
#include <fmtmsg.h>
int fmtmsg(long classification, const char *label,
int severity, const char *text,
const char *action, const char *tag); is the sum of values describing 4 types of information.
The first value de... | http://manpages.sgvulcan.com/fmtmsg.3.php | CC-MAIN-2017-09 | refinedweb | 229 | 56.45 |
How to specify multiple return types using type-hints
I have a function in python that can either return a
bool or a
list. Is there a way to specify the return types using type hints.
For example, Is this the correct way to do it?
def foo(id) -> list or bool: ...
From the documentation
class
typing.Union
Union type; Un... | https://python-decompiler.com/article/2015-11/how-to-specify-multiple-return-types-using-type-hints | CC-MAIN-2019-26 | refinedweb | 153 | 77.23 |
import java.util.Scanner;
public class IfTest0
{
public static void main(String[] args)
{
Scanner scan = new Scanner( System.in );
//Prompt Hits
System.out.print( "Enter number of hits > " );
int hitAmount = scan.nextInt();
System.out.println( "Number of hits is " + hitAmount );
//Promt at bats
System.out.print( "Enter... | http://www.javaprogrammingforums.com/whats-wrong-my-code/10050-very-new-java-basic-question.html | CC-MAIN-2015-48 | refinedweb | 199 | 56.96 |
Hi I need guidance for this program and it seems i don't understand basic fundamentals of creating histogram with c++. I'm not asking for spoonfeeding or anything i just need to know what i'm doing wrong and is there anything i can include or to improve it.
This programe needs to print out a histogram about students an... | https://www.daniweb.com/programming/software-development/threads/338310/need-help-with-histogram | CC-MAIN-2019-04 | refinedweb | 239 | 68.54 |
The Button widget is a standard Tkinter widget used to implement various kinds of buttons. Buttons.
When to use the Button Widget #.
Patterns #
Plain buttons are pretty straightforward to use. All you have to do is to specify the button contents (text, bitmap, or image) and what function or method to call when the butt... | http://www.effbot.org/tkinterbook/button.htm | CC-MAIN-2015-18 | refinedweb | 646 | 55.64 |
[
]
Musachy Barroso closed WW-1888.
-------------------------------
Resolution: Fixed
Fix Version/s: (was: Future)
2.1.3
This was partially fixed, see comments for details
> Forms generate invalid xhtml using the xhtml template
> -----------------------------------------------------
>
> Key: WW-1888
> URL:
> Project: S... | http://mail-archives.us.apache.org/mod_mbox/struts-issues/200812.mbox/%3C716254221.1228171777074.JavaMail.jira@brutus%3E | CC-MAIN-2020-45 | refinedweb | 327 | 58.99 |
I386_GET_MTRR(2) System Calls Manual (i386) I386_GET_MTRR(2)
NAME
i386_get_mtrr, i386_set_mtrr -- access Memory Type Range Registers
LIBRARY
i386 Architecture Library (libi386, -li386)
SYNOPSIS
#include <<sys/types.h>>
#include <<machine/sysarch.h>>
#include <<machine/mtrr.h>>
int
i386_get_mtrr(struct mtrr *mtrrp, int ... | http://modman.unixdev.net/?sektion=2&page=i386_set_mtrr&manpath=NetBSD-6.1.5 | CC-MAIN-2017-30 | refinedweb | 453 | 53.41 |
Pig Latin
June 2, 2009
We provide a single function,
pig-latin, that works in both directions; strings that contain a hyphen are translated from Pig Latin to English, and strings without a hyphen are translated from English to Pig Latin.
(define (pig-latin word)
(let* ((vowels (string->list "aeiouAEIOU"))
(ws (string->... | http://programmingpraxis.com/2009/06/02/pig-latin/2/ | CC-MAIN-2015-40 | refinedweb | 297 | 63.43 |
2017-03-18 19:30 GMT+01:00 Petr Jelinek <petr.jeli...@2ndquadrant.com>:
> On 16/03/17 17:15, David Steele wrote: > > On 2/1/17 3:59 PM, Pavel Stehule wrote: > >> Hi > >> > >> 2017-01-24 21:33 GMT+01:00 Pavel Stehule <pavel.steh...@gmail.com > >> <mailto:pavel.steh...@gmail.com>>: > >> > >> Perhaps that's as simple as r... | https://www.mail-archive.com/pgsql-hackers@postgresql.org/msg308669.html | CC-MAIN-2019-18 | refinedweb | 438 | 60.75 |
RvsPython #1: Webscraping
Want to share your content on python-bloggers? click here.
Webscraping is a powerful tool available for efficent data collection. There are ways to do it in both R and Python.
I’ve built the same scraper in R and Python which gathers information about all the whitehouse breifings available on ... | https://python-bloggers.com/2020/07/rvspython-1-webscraping/ | CC-MAIN-2021-10 | refinedweb | 917 | 58.08 |
How to Send Emails With Python
Python is a highly versatile programming language.
It has a diverse ecosystem of open-source libraries that make it easy to build common functionality in a project. Sending emails with Python is one example of such functionality.
Sending emails is extremely useful - it allows you to send ... | https://nickmccullum.com/how-to-send-emails-with-python/ | CC-MAIN-2021-31 | refinedweb | 2,366 | 60.01 |
PyCharm 2.6 Early Access Preview
Thought that things were pretty quiet here during the summer? Not really! The PyCharm team has been hard at work on a new release of PyCharm, which (following the tradition of Python interpreter version numbers) will be called 2.6.
The big new feature in this version is diagrams support... | https://blog.jetbrains.com/pycharm/2012/08/pycharm-2-6-early-access-preview/ | CC-MAIN-2021-17 | refinedweb | 1,162 | 65.35 |
Open Messaging Interface (O-MI), an Open Group Internet of Things (IoT) Standard – Messaging Objects
The XML schema “omi.xsd” in O-MI XSD Schema provides a formal specification for the O-MI. If there is any conflicting information between the chapters of this standard and the “omi” schema, then the information in the s... | http://www.opengroup.org/iot/omi/p3.htm | CC-MAIN-2019-13 | refinedweb | 1,027 | 52.49 |
I just posted an interview on Channel 9 with Yang Xiao, a tester on the VB IDE. In this interview Yang shows us the new XML Schema Explorer in Visual Studio 2008 Service Pack 1. This new window is invoked when you right-click on an XML literal element or namespace and select “Show in XML Schema Explorer” in Visual Basi... | https://blogs.msdn.microsoft.com/bethmassi/2008/08/15/channel-9-interview-xml-schema-explorer-in-visual-studio-2008-sp1/ | CC-MAIN-2017-09 | refinedweb | 385 | 68.3 |
Dynamic URL's in Flask play an important role in the ability to create unique URL's that aren't hard-coded into our application.
For example, let's say our application allows users to create an account and log into their profile, we'll need a way to dynamically generate a route for that specific user.
Can you imagine h... | https://pythonise.com/series/learning-flask/generating-dynamic-urls-with-flask | CC-MAIN-2021-17 | refinedweb | 950 | 62.58 |
mention USE_PKGLOCALEDIR_CONFIGURE= yes 18: USE_LIBTOOL= yes 19: USE_PKGLOCALEDIR= yes 20: 21: Neither meson or cmake (another increasingly popular alternative) uses 22: libtool to make shared libraries. 23: 24: `USE_PKGLOCALEDIR` is also actively harmful here. 25: 26: You will need the following: 27: 28: .include "../... | https://wiki.netbsd.org/cgi-bin/cvsweb/wikisrc/pkgsrc/how_to_convert_autotools_to_meson.mdwn?rev=1.5;content-type=text%2Fx-cvsweb-markup;sortby=author;f=h;only_with_tag=MAIN;ln=1 | CC-MAIN-2022-33 | refinedweb | 456 | 64.61 |
GameFromScratch.com
Since the release of Phaser 3.0 earlier this year, the HTML5 game framework has seen a rapid succession of updates. Today Phaser 3.8.0 was released, this release focusing heavily on the plugin system, making it easier to acquire and ultimately use them in your game. This release also enables you to ... | http://www.gamefromscratch.com/?tag=/Phaser | CC-MAIN-2018-39 | refinedweb | 1,059 | 57.67 |
Data::Downloader::Config
# command line : dado config init --filename=my_config_file.txt dado config update --filename=my_config_file_modified.txt
Module :
use Data::Downloader; Data::Downloader::Config->init( filename => "my_config_file.txt"): Data::Downloader::Config->init( yaml => qq[...some yaml...] );
Configure Da... | http://search.cpan.org/~bduggan/Data-Downloader/lib/Data/Downloader/Config.pm | CC-MAIN-2016-26 | refinedweb | 1,157 | 53.71 |
Download presentation
Presentation is loading. Please wait.
Published byGonzalo Trepp Modified about 1 year ago
1
Econ 141 Fall 2013 Slide Set 7 The Gains from Financial Globalization
2
Gains from Financial Globalization First, we study factors that limit international borrowing and lending. Second, we see how a nation... | http://slideplayer.com/slide/3459879/ | CC-MAIN-2016-50 | refinedweb | 5,270 | 51.38 |
Silverlight 2 is a great idea, but there are some gaping holes. One of the things I missed was support for ordered and unordered lists - a counterpart for the HTML <ol> and <ul> tags. This library fills that gap.
Add OrderedList elements to the toolbox
The new controls are only visible when you have a .xaml file open. ... | http://www.codeproject.com/KB/silverlight/OrderedList_Silverlight.aspx | crawl-002 | refinedweb | 1,326 | 62.27 |
How to Get Active Windows with C#Hello everyone, in this article we are going to make an example application in C# that will get the title of the active windows at that time and record it time by time.
Let's get started.
Firstly we need to add below library in our namespace:
using System.Runtime.InteropServices;
Now de... | https://thecodeprogram.com/how-to-get-active-windows-with-c- | CC-MAIN-2021-31 | refinedweb | 382 | 57.98 |
A source code could be downloaded from here.
Global artifacts are usually tentative things. Languages and tools have different methods to limit the artifact visibility. Think about public and private variables, for example. BizTalk limits the artifact visibility usually by the assembly (project) boundaries. For example... | http://geekswithblogs.net/LeonidGaneline/archive/2012/12/24/biztalk-internals-schema-uniqueness-rule.aspx | CC-MAIN-2019-43 | refinedweb | 1,208 | 66.64 |
I'm doing some research, what do you want the most from your IDE, what features do you most desire, what do hate the most, what features do you envy the most in other (say Java) IDEs? Let me know your thoughts.
If only my IDE (VS.NET) could save my custom window layouts. That way, I would not face window re-org micro-t... | http://weblogs.asp.net/astopford/archive/2008/12/02/if-only-my-ide-could-do.aspx | crawl-002 | refinedweb | 1,598 | 70.73 |
Unofficial BSP v30 File Spec
Table of content
- Introduction
- Header
- LUMP_ENTITIES
- LUMP_PLANES
- LUMP_TEXTURES
- LUMP_VERTICES
- LUMP_VISIBILITY
- LUMP_NODES
- LUMP_TEXINFO
- LUMP_FACES
- LUMP_LIGHTING
- LUMP_CLIPNODES
- LUMP_LEAVES
- LUMP_MARKSURFACES
- LUMP_EDGES
- LUMP_SURFEDGES
- LUMP_MODELS
Introduction
The f... | http://hlbsp.sourceforge.net/index.php?content=bspdef | CC-MAIN-2018-22 | refinedweb | 2,701 | 55.07 |
Compact Attribute Declaration In Java
Attributes in a class don't have to be declared in the verbose way:
public class VerboseClass { private String firstName; private String lastName; private String description; }
Attributes of the same type and visibility can be declared in a more compact manner:
public class Compact... | https://adambien.blog/roller/abien/entry/compact_attribute_declaration_in_java | CC-MAIN-2020-29 | refinedweb | 969 | 70.33 |
:
javax.xml.xpath,
javax.xml.validation,
javax.xml.datatype, and
javax.xml.namespacecomponents of JAXP. These packages contain the APIs that give applications a consistent way to obtain instances of XML processing implementations. The
javax.xml.xpathpackage supports the standard XPath API.
The information in this secti... | http://java.sun.com/j2se/1.5.0/docs/guide/xml/jaxp/ReleaseNotes_150.html | crawl-002 | refinedweb | 366 | 50.02 |
Revise the coverage mapping format to reduce binary size by:
This shrinks the size of llc's coverage segment by 82% (334MB -> 62MB)
and speeds up end-to-end single-threaded report generation by 10%. For
reference the compressed name data in llc is 81MB (__llvm_prf_names).
Rationale for changes to the format:
See Covera... | https://reviews.llvm.org/D69471?id=232172 | CC-MAIN-2020-50 | refinedweb | 1,455 | 64.81 |
Thanks,
Mattia
~Sean
Unless the insertion order is important, you could use a set -- where a
second insertion will have no effect.
>>> s = set()
>>> s.add(1)
>>> s.add(2)
>>> s.add(1)
>>> print s
set([1, 2])
Gary Herron
How about using a set instead?
>>> a = {1, 2, 3}
>>> a
{1, 2, 3}
>>> a |= {4}
>>> a
{1, 2, 3, 4}
>>>... | https://groups.google.com/g/comp.lang.python/c/gEkbm8L0VUc | CC-MAIN-2022-05 | refinedweb | 1,573 | 71.65 |
Set the value of the specified context property of type char.
#include <screen/screen.h>
int screen_set_context_property_cv(screen_context_t ctx, int pname, int len, const char *param)
The handle of the context of an array of type char with a maximum length of len.
Function Type: Delayed Execution
This function sets th... | http://www.qnx.com/developers/docs/6.6.0_anm11_wf10/com.qnx.doc.screen/topic/screen_set_context_property_cv.html | CC-MAIN-2018-43 | refinedweb | 102 | 64 |
I just had an interesting conversation with Kathryn Kleiman, who's involved in technology law and co- founded the "Domain Name Rights Coalition" in additional to a bunch of other cool stuff.
The main area we don't see eye-to-eye on is the need for new top-level domains. As I understand her argument, we need to break th... | http://www.advogato.org/person/Grit/diary/5.html | CC-MAIN-2016-30 | refinedweb | 321 | 73.68 |
Im trying to create a program that has 2 options, view and compute. Right now im trying to figure how to turn my array where i will input my values into a function, so i can go in and out several times to store the values. I also want to view to be a function where i can view the values several times.
i've managed to g... | https://codedump.io/share/pFigp9ZqWNfw/1/turning-my-array-into-a-function-and-making-2nd-function-to-print-it | CC-MAIN-2017-09 | refinedweb | 1,664 | 69.72 |
Everyone... Post on how much you love Java!!! This is the place to be. JAVA JAVA JAVA JAVA JAVA!!!!
Printable View
Everyone... Post on how much you love Java!!! This is the place to be. JAVA JAVA JAVA JAVA JAVA!!!!
Java is awesomly. Is that even a word?:confused:
I'm cool ----> :cool:
None of the above. It's sort of ok... | http://cboard.cprogramming.com/brief-history-cprogramming-com/29513-how-cool-java-printable-thread.html | CC-MAIN-2014-15 | refinedweb | 932 | 69.99 |
We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I have this problem, of which my ButtonOpenClose.java cannot get reference to CENTER and GROUP. I have tried to implements PConstants but it does not make my sketch working.
What should I do?
Answers
Use
import st... | https://forum.processing.org/two/discussion/13034/ | CC-MAIN-2021-21 | refinedweb | 517 | 69.79 |
Introduction: MPU 6050 Gyro,Accelerometer Communication With Arduino (Atmega328p)
The MPU6050 IMU has both 3-Axis accelerometer and 3-Axis gyroscope integrated on a single chip.
The gyroscope measures rotational velocity or rate of change of the angular position over time, along the X, Y and Z axis.
The outputs of the ... | https://www.instructables.com/id/Accelerometer-MPU-6050-Communication-With-AVR-MCU/ | CC-MAIN-2020-24 | refinedweb | 1,216 | 68.87 |
Error using "--generate" option to system-config-kickstart
Bug Description
Not sure if this is one error or several. Apologies if it should have been several!
Wanting to save an existing configuration I ran "system-
--generate myserver-ks.cfg" and got the following error:
Traceback (most recent call last):
File "/usr/s... | https://bugs.launchpad.net/ubuntu/+source/system-config-kickstart/+bug/15156 | CC-MAIN-2015-18 | refinedweb | 477 | 60.61 |
I have a class that opens a file in constructor, writes in file during a call to a method. Where shall I close the file ?
The class implements a general interface that has only one method and I shall not add public methods.
public interface I {
void makeChange();
}
public class C implements I {
FileWriter f;
PrintWrite... | https://codedump.io/share/ZZcW5Ihoj0CO/1/java-how-to-ensure-a-file-gets-closed | CC-MAIN-2018-05 | refinedweb | 340 | 67.69 |
I was trying to see if moving my blog (based on Hugo) to Next.js was a good move (it wasn’t) and I found a problem.
I had to change the path of each of my images because Hugo allows a post to be in the same folder as the markdown file, while Next.js does not.
But I didn’t want to disrupt my workflow. It’s so nice that ... | https://flaviocopes.com/nextjs-run-script-build-time/ | CC-MAIN-2022-27 | refinedweb | 309 | 69.48 |
Just starting the discussion page.
Don't forget to sign your entries with your wiki name and to split entries.
The initial discussion started on the freedesktop.org mailing list. Shaun's first post contains a great summary of the goals of a common documentation standard. See also my follow-up summarizing what we agreed... | http://freedesktop.org/wiki/Specifications/help-system/Discussion/?action=SubscribeUser | CC-MAIN-2015-18 | refinedweb | 1,722 | 72.87 |
10 Tips for Migrating VBA to Visual Basic Using Visual Studio Tools for Office Second Edition (Part 2 of 2)
Summary: Read 10 tips about how to migrate Microsoft Visual Basic for Applications code to Microsoft Visual Basic code by using Microsoft Visual Studio 2005 Tools Second Edition for the Microsoft Office system. (... | http://msdn.microsoft.com/en-us/library/bb974399(d=printer,v=office.12).aspx | CC-MAIN-2013-48 | refinedweb | 5,512 | 64.61 |
> Bryan O'Sullivan wrote: >> apfelmus wrote: > > Thank you for the review and constructive criticism. > Although highly amusing, some of what you write is elliptical > enough in style that I'm having trouble following a few of your points. > Doubly so since I've thus far gone years without paying attention to > Control... | http://www.haskell.org/pipermail/libraries/2007-June/007682.html | CC-MAIN-2014-15 | refinedweb | 883 | 55.74 |
I recently had a chance to play with Elixir and Phoenix as part of my Cookies Lab. The following is a whistle-stop tour of my first impressions.
Functional, not Object-Oriented
At first glance, Elixir looks like Ruby, but is quite different underneath with the functional language paradigm. Having said that, the semi-fa... | https://www.cookieshq.co.uk/posts/initial-impressions-of-elixir-and-phoenix | CC-MAIN-2022-21 | refinedweb | 998 | 60.55 |
The biggest story this week was the 24,000-word epic detailing the entirety of a 48-hour long game jam, where teams compete to create the best game in a brutally short amount of time. We also talked about why the press is often showed older code when conducting previews of upcoming games, and we give our thoughts on a ... | https://arstechnica.com/gaming/2011/10/week-in-gaming-48-game-jam-epic-arkham-city-the-old-republic/ | CC-MAIN-2017-22 | refinedweb | 563 | 63.63 |
JSON God
NOT YET PRODUCTION READY
The definitive solution for JSON in Dart.
Contents
- JSON God
- About
- Installation
Usage IMPORTANT - Dart2JS Compatibility Serializing JSON * Deserializing JSON
* [Deserializing to Classes](#deserializing-to-classes)
Compatibility with JsonObject objectToJson enableJsonObjectDebugMes... | https://www.dartdocs.org/documentation/json_god/1.0.0-beta.1/index.html | CC-MAIN-2017-17 | refinedweb | 684 | 52.05 |
#include <ConstrainedLS.H>
Solve the bound-constrained least squares Uses the Lawson-Hanson active set method as given by P.B. Stark and R.L. Parker, Bounded-Variable Least-Squares: An Algorithm and Applications, Computational Statistics, 10:129-141, 1995. Uses solveUnconstrained for sub-problems
Referenced by LSProble... | http://davis.lbl.gov/Manuals/CHOMBO-RELEASE-3.1/classConstrainedLS.html | CC-MAIN-2018-26 | refinedweb | 108 | 51.95 |
Errata for The RSpec Book
The latest version of the book is P2.1,.0 (08-Nov-11)
PDF page: 0
After location 62 on Kindle, there are some doubled hyphens, which are probably meant to be en-dashes: "Test--Driven". --Ilmari Vacklin
- Reported in: P2.1 (03-Dec-13)
PDF page: 1
The "should" expectation syntax (e.g. "[].should... | https://pragprog.com/titles/achbd/errata | CC-MAIN-2016-18 | refinedweb | 7,570 | 67.76 |
Attiny85-shiftlcd Direction Detection
Introduction: Attiny85-shiftlcd Direction Detection
This instructable combines a few instructables projects that I have done into one. It starts off with a 5v power supply I breadboard with a 9V battery, 7805 regulator, switch, 2 10uF electrolytic caps, 103 ceramic cap and just for... | http://www.instructables.com/id/Attiny85-shiftlcd-Direction-Detection/ | CC-MAIN-2017-47 | refinedweb | 844 | 62.98 |
Anthony DeRobertis wrote: > On Feb 12, 2004, at 12:45, Henning Makholm wrote: >>> Putting our own forms into TEI's namespace would be similar to >>> claiming that they said something they did not. >> >> No it isn't - not unless you *explicitly* claim that it was TEI who >> said it. > > If TEI's namespace is something l... | https://lists.debian.org/debian-legal/2004/02/msg00220.html | CC-MAIN-2017-30 | refinedweb | 301 | 53.34 |
On Tue, Dec 4, 2012 at 9:58 PM, Don Moir <donmoir at comcast.net> wrote: >> On date Tuesday 2012-12-04 04:22:06 -0200, Ramiro Polla encoded: >>> >>> Hi, >>> >>> I've sent this patch before, but I had forgotten why I had written it. >>> Thanks to Don Moir for pointing out why it was necessary. >>> >>> Ramiro >> >> >>> F... | http://ffmpeg.org/pipermail/ffmpeg-devel/2012-December/135340.html | CC-MAIN-2016-22 | refinedweb | 391 | 61.06 |
The basic idea is this: write your own sorting method without using indices (square bracket notation [ ])
For example, in a normal sorting method you might want to swap positions i and j. Code like this:
n[i], n[j] = n[j], n[i]
This is not allowed. As a further restriction, I am not allowing any square brackets in your... | http://www.dreamincode.net/forums/topic/290729-sorting-without-indices-challenge/ | CC-MAIN-2016-44 | refinedweb | 414 | 63.26 |
When running the binary it asks for an input to validate. Putting test returns nooooh. try harder! So I thought, that the right flag would be the valid input. Putting a single space or multiple characters separated by a space returns various bash errors. Firing up gdb shows that various subprocesses are spawned: first ... | https://blog.sebastianschmitt.eu/challenges/hackvent-2019/hv19-10-guess-what/ | CC-MAIN-2022-21 | refinedweb | 217 | 63.39 |
As a developer, I spend a lot of time watching events in the Event Logs. The Event Logs provide quick tracing/debugging functionality for application developers, especially where applications run in non-graphical environments (like the BizTalk environment). Some people even use it to store objects in a serialized state... | http://www.codeproject.com/Articles/15201/Smoothy-Event-Log-Viewer-1-2?msg=3165143 | CC-MAIN-2013-48 | refinedweb | 541 | 54.63 |
- CLASSES, SUPERCLASSES, AND SUBCLASSES
- Object: THE COSMIC SUPERCLASS
- GENERIC ARRAY LISTS
- OBJECT WRAPPERS AND AUTOBOXING
- METHODS WITH A VARIABLE NUMBER OF PARAMETERS
- ENUMERATION CLASSES
- REFLECTION
- DESIGN HINTS FOR INHERITANCE
Chapter 4 introduced you to classes and objects. In this chapter, you learn abou... | http://www.informit.com/articles/article.aspx?p=1021579&seqNum=6 | CC-MAIN-2017-34 | refinedweb | 2,428 | 59.8 |
01 September 2010 19:55 [Source: ICIS news]
(adds capacity information in paragraph 3)
LONDON (ICIS)--?xml:namespace>
KBR carried out the engineering, procurement and construction of the cracker, which it said has a nameplate capacity of 1.35m tonnes/year.
According to Saudi Kayan, the cracker can produce 1.48m tonnes/... | http://www.icis.com/Articles/2010/09/01/9389972/kbr+and+saudi+kayan+announce+start-up+of+cracker+in.html | CC-MAIN-2013-20 | refinedweb | 260 | 53.71 |
v2.015 2015-11-22 08:52:22-05:00 General Notes: * PDL-2.015 is a clean and polish release. It fixes some problems discovered with PDL-2.014 and improves the 64bit integer support. Highlights: * Fixes to improve compile and test of F77 modules on OS X (i.e. don't build i386 versions) * Basic/Ops/ops.pd - make compatible... | https://metacpan.org/changes/distribution/PDL | CC-MAIN-2016-07 | refinedweb | 9,380 | 58.89 |
This blog will discuss features about .NET, both windows and web development.).
You may have already noticed that it's harder to debug errors that occur within a Lambda expression. For instance, if you have this Lambda expression:
var entries = collection.Where(i => i.EndDate.Value >= new DateTime(2008, 2, 1));
Notice ... | http://dotnetslackers.com/Community/blogs/bmains/archive/2009/07.aspx | crawl-003 | refinedweb | 573 | 57.47 |
This blog post is about the ways of getting data from API in React.
Before you read this post, you should be familiar with React library and Application Programming Interface (API).
React library is a wonderful tool for building rich and highly scalable user interfaces. One of its powerful features is the possibility t... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/olenadrugalya/ways-of-getting-data-from-api-in-react-2kpf | CC-MAIN-2022-33 | refinedweb | 1,449 | 62.07 |
This is a Java Program to Find Prime Numbers Within a Range of n1 and n2.
Enter the upper and lower limits as input. Now we use modulus operation along with double for loops and if-else conditions to get the output.
Here is the source code of the Java Program to Find Prime Numbers Within a Range of n1 and n2. The Java ... | https://www.sanfoundry.com/java-program-find-prime-numbers-within-range-n1-n2/ | CC-MAIN-2018-13 | refinedweb | 224 | 64.2 |
In this article, we will learn about the solution and approach to solve the given problem statement.
Given an array as an input, we need to find the largest element in the array.
Let’s see the implementation below −
def largest(arr,n): #maximal element max = arr[0] for i in range(1, n): if arr[i] > max: max = arr[i] re... | https://www.tutorialspoint.com/python-program-to-find-largest-element-in-an-array | CC-MAIN-2022-05 | refinedweb | 124 | 59.67 |
Spring is in the air here in sunny NYC! Well, it was sunny for a bit. Now it’s turned into that classic film-noir drizzle. That’s authentic New York weather outside our window as we do the Round Up!
Ask for Help
I asked, “In Jasmine, how do you spy on a constructor?” Suppose you have a constructor called
Widget. Saying... | http://pivotallabs.com/nyc-standup-round-up-for-mar-8th-mar-12th/?tag=incubation | CC-MAIN-2014-10 | refinedweb | 523 | 65.42 |
RCMDSH(3) BSD Programmer's Manual RCMDSH(3)
rcmdsh - return a stream to a remote command without superuser
#include <unistd.h> rsh(1) or the value of rshprog (if non-null). rshprog may be a fully-qualified path, a non-qualified command, or a command contain- ing space-separated command line arguments. The rcmdsh() func... | http://mirbsd.mirsolutions.de/htman/sparc/man3/rcmdsh.htm | crawl-003 | refinedweb | 126 | 57.67 |
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 to get the tax_id from a sale order? (Customize Quotation template)
Hey everybody
Today I'm trying to build my own Odoo templ... | https://www.odoo.com/forum/help-1/question/how-to-get-the-tax-id-from-a-sale-order-customize-quotation-template-62714 | CC-MAIN-2017-22 | refinedweb | 495 | 53.58 |
OFFSETOF(3) Linux Programmer's Manual OFFSETOF(3)
offsetof - offset of a structure member
#include <stddef.h> size_t offsetof(type, member);
The).
offsetof() returns the offset of the given member within the given type, in units of bytes.
POSIX.1-2001, POSIX.1-2008, C89, C99.u; c=%zu; d=%zu a=%zu\n", offsetof(struct s,... | https://man7.org/linux/man-pages/man3/offsetof.3.html | CC-MAIN-2021-04 | refinedweb | 131 | 58.79 |
Can't get the WebView delegate methods to work (SOLVED)
I'm trying to do something when a webpage has finished loading, but it doesn't seem to work.
import ui, sound class MyWebViewDelegate (object): def webview_did_finish_load(webview): sound.play_effect('Ding_3') w = ui.WebView() w.frame = (0, 0, ui.get_screen_size()... | https://forum.omz-software.com/topic/872/can-t-get-the-webview-delegate-methods-to-work-solved | CC-MAIN-2017-34 | refinedweb | 187 | 52.46 |
Question:
I've been busy working on a program that can solve Minesweeper puzzles (for no other reason than I think it's fun). When it comes down to the UI, though, I greatly dislike the idea of instantiating over a hundred of the same control, one per cell. Should I create a custom control that handles all of its drawi... | http://www.toontricks.com/2018/11/tutorial-creating-minesweeper-ui-control.html | CC-MAIN-2019-04 | refinedweb | 363 | 61.36 |
On Tuesday 14 February 2006 5:40 am, Olivier Galibert wrote:> > > 4- sysfs has all the information you need, just read itThere's no ownership or permissions information in sysfs. Even busybox's eight kilobyte micro-udev replacement has the option for an /etc/mdev.conf to specify permissions and ownership on device node... | https://lkml.org/lkml/2006/2/14/478 | CC-MAIN-2017-22 | refinedweb | 413 | 64.91 |
Well Im stuck on this problem for my class, I mean i'm drawing a complete blank here. heres the crux of the problem:
This program has a console-based user interface. After printing a brief introduction to the user, your program will prompt for a file name. Your program will examine the data and find the longest sequenc... | http://www.dreamincode.net/forums/topic/198727-help-with-arrays-methods/ | CC-MAIN-2017-22 | refinedweb | 420 | 64.2 |
So I have a specific requirement that a list be stored as an array, but the professor suggested it would be easier to start it off as an arraylist then use the .toArray method to copy it to a new array. The thing is, the array is to be declared as a field as "songs", and at that point the program won't know how many ob... | http://www.javaprogrammingforums.com/%20collections-generics/11002-problem-copying-arraylist-array-printingthethread.html | CC-MAIN-2016-30 | refinedweb | 767 | 64.51 |
During one of last projects I needed to test some webservices.
I was wondering: if I can do it with Burp or by manual testing,
maybe I can also write some quick code in python...
And that's how I wrote soapee.py:
---<code>---
root@kali:~/code/soapee-v3# cat soapee3.py
#!/usr/bin/env python
# ---------------------------... | http://hauntit.blogspot.com/ | CC-MAIN-2015-48 | refinedweb | 997 | 60.61 |
Message Passing Basics John Urbanic urbanic@psc.edu Introduction What is MPI? The Message-Passing Interface Standard(MPI) is a library that allows you to do problems in parallel using message- passing to communicate between.
Message Passing Basics
John Urbanic
urbanic@psc.edu
What is MPI? The Message-Passing Interface ... | http://www.slideserve.com/emily/mpi-basics | CC-MAIN-2017-22 | refinedweb | 3,395 | 64.1 |
- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- ALGORITHM
- SYNTAX
- Sub-Paths
- Steps
- Separators
- Selectors
- Axes
- Predicates
- Attributes
- Variables
- Special Selectors
- Grouping and Repetition
- Hiding Nodes
- Potentially Confusing Dissimilarities Between TPath and XPath
- String Concatenation
- Grammar
- Escape ... | https://metacpan.org/pod/release/DFH/TPath-1.006/lib/TPath.pm | CC-MAIN-2016-18 | refinedweb | 6,580 | 59.94 |
setting up google OAuth in phoenix ▶▶▶
- Its been almost a week or so learning the phoenix framework and elixir. I’ve gotten a bit of understanding on how the framework uses the MVC architecture to make building web applications easier, and how elixir’s functional programming capabilities make functional programing gre... | https://medium.com/@rrugamba/setting-up-google-oauth-in-phoenix-9167595f5fb7 | CC-MAIN-2020-45 | refinedweb | 1,079 | 64.1 |
This page should cover pros and cons of current stdlib logging package.
Pros
- Almost every feature you could want from a logging package is there
Cons
- See below. Vinay made sections of each of the points in the original bulleted list for discussion.
Docs are not complete
False. There is pretty much everything in the... | https://wiki.python.org/moin/LoggingPackage?highlight=JoshuaRodman | CC-MAIN-2016-50 | refinedweb | 2,828 | 65.32 |
A value class which describes a monetary value. More...
#include <Wt/Payment/Money.h>
A value class which describes a monetary value.
The money is stored in cents as a 64-bit number, which allows for accurate representation for values up to 2^61 - 1, but has as consequence that division will round to the nearest cent.
... | https://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1Payment_1_1Money.html | CC-MAIN-2018-09 | refinedweb | 169 | 51.95 |
File.ReadAllText(string path)
AOP stands for Aspect Oriented Programming. I guess every reader is familiar with
the OP part of the acronym so we will have to clarify what Aspect means and don’t
worry we’ll come to that later in the article.
I’ll (try to) keep this article at beginner level. Knowledge of Object Oriented... | http://www.codeproject.com/Articles/479302/Aspect-Oriented-Programming-learn-step-by-step-and?msg=4446483 | CC-MAIN-2015-18 | refinedweb | 4,456 | 55.54 |
ANTLR rules
Parts 1, 2, 3, and comments.
Previously I showed how to use ANTLR to build a AST from a molecular formula then evaluate that AST to calculate the molecular weight. For complex grammars it's often useful to work with and transform parse trees, which I'll probably talk about when I get into developing a SMART... | http://www.dalkescientific.com/writings/diary/archive/2007/11/01/antlr_rules.html | CC-MAIN-2018-34 | refinedweb | 1,684 | 59.7 |
.
I learned about a new FOSS project a few weeks ago: apio. It's stated mission is:
Experimental open source micro-ecosystem for open FPGAs. Based on platformio. Apio is a multiplatform toolbox, with static pre-built packages, project configuration tools and easy commands to verify, synthesize, simulate and upload your... | https://hackaday.io/project/7982-cat-board | CC-MAIN-2019-09 | refinedweb | 3,072 | 71.55 |
Getting this error when trying to use SDL_mixer...
SDL_types.h file not found..
I am including all the correct files as far as I can tell and have included the frameworks (both SDL and SDL_mixer) to my /systems/library/frameworks folder and it compiles well until I add SDL_mixer.h to my project. What should I do?
Here ... | http://www.gamedev.net/topic/638657-sdl-typesh-file-not-found-using-xcode/ | CC-MAIN-2016-30 | refinedweb | 135 | 72.22 |
Used to pass options and map offset values during saving. More...
#include <GA_SaveMap.h>
Used to pass options and map offset values during saving.
This class is a container which stores iterators that iterate over the points/primitives/vertices to be saved. It also stores keyword arguments in the form of a UT_Options.... | https://www.sidefx.com/docs/hdk/class_g_a___save_map.html | CC-MAIN-2020-50 | refinedweb | 831 | 68.97 |
Issue with positions when live trading
I use custom broker for bitfinex.
I have an update positions function.
It creates positions on start if there any.
Or it fixes positions if position is wrong for some reason.
I have a problem during live trading.
If position is already open, and I start live trading.
When strategy... | https://community.backtrader.com/topic/2267/issue-with-positions-when-live-trading | CC-MAIN-2022-33 | refinedweb | 363 | 59.9 |
When responding to a HEAD request without streaming the entity and without setting the Content-Length, the Content-Length is incorrectly computed to be zero in org.apache.catalina.connector.OutputBuffer.close(). This is incorrect. The Content-Length header should be unset in this case.
RFC 7230 doesn't require the Cont... | https://bz.apache.org/bugzilla/show_bug.cgi?id=59310 | CC-MAIN-2020-45 | refinedweb | 560 | 59.7 |
docs.intersystems.com
/
First Look: Text Analytics with InterSystems Products
Articles
First Look: Text Analytics with InterSystems Products
Search
:
This First Look guide introduces you to InterSystems IRIS™’s easy to use InterSystems IRIS Text Analytics. This simple procedure walks you through the basic steps of gene... | https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=AFL_textanalytics | CC-MAIN-2018-43 | refinedweb | 611 | 58.79 |
#include <rtt/NameServer.hpp>
This class allows to globally set up device driver objects and find them back in the same process by querying this class. Every Orocos device driver type has a Device::nameserver type which allows retrieval of the object:
// At application startup code: Device* init_device = new Device("de... | http://people.mech.kuleuven.be/~orocos/pub/stable/documentation/rtt/v1.6.x/api/html/classRTT_1_1NameServer.html | crawl-003 | refinedweb | 202 | 53.58 |
12-11-2018 03:55 PM
How do i to change a user added/invited to a team as "Member" to instead be a "Guest" and visa versa?
I'm using the microsoft account [msa, @outlook.com ] free setup and have tried finding ability to make a team added/invited user permission setting change from "Member" to "Guest" and visa versa in ... | https://techcommunity.microsoft.com/t5/Microsoft-Teams/how-to-change-a-user-added-invited-to-a-team-as-quot-Member-quot/m-p/299320 | CC-MAIN-2019-30 | refinedweb | 937 | 63.83 |
.append() does not return anything so the statement prints
None.
I am stuck. And now I am worried programming is not for me. Because with this lesson is when it get’s hard, so far our hand was held as it said in the text.
Can someone help me without providing the solution? In a way that I learn. For now I am stuck.
I d... | https://discuss.codecademy.com/t/faq-learn-python-student-becomes-the-teacher-part-of-the-whole/330521/10 | CC-MAIN-2020-34 | refinedweb | 801 | 67.86 |
Contents¶
- How to Pay for a War: Part 2
- An Application of Markov Jump Linear Quadratic Dynamic Programming
- Two example specifications
- One- and Two-period Bonds but No Restructuring
- Mapping into an LQ Markov Jump Problem
- Penalty on Different Issuance Across Maturities
- A Model with Restructuring
- Restructur... | https://python-advanced.quantecon.org/tax_smoothing_2.html | CC-MAIN-2020-40 | refinedweb | 3,384 | 59.03 |
I am trying to figure out how to do multipart-uploads to AWS Glacier and found some Example Request on this documentation page. How do I implement this example in Python? I think I should use the 'requests' module but don't know exactly how to make it work.
Here is what I have done:
import requests
r = requests.post('/... | https://codedump.io/share/pj4hQ9sMBOfP/1/how-to-implement-the-aws-glacier-example-request-in-python | CC-MAIN-2017-26 | refinedweb | 127 | 58.48 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.