CosmoloPy is built on and designed for use with NumPy and SciPy.
Email the group with any questions about downloading and installation.
The easiest way to download and install CosmoloPy is to use easy_install or pip.You can install the latest release from PyPI by running:
$ easy_install CosmoloPyor
$ pip install CosmoloPyor download the source package manually from PyPI, unpack it, and run
$ python setup.py install
If you have trouble compiling from source, it's probably
the EH.power
module (everything else is pure
python). You can install without it by running:
$ sudo python setup_alt.py install
If you need bleeding-edge features or want to help with development, you can clone the CosmoloPy project (latest development version) with Git by running:
$ git clone git://github.com/roban/CosmoloPyor view the source code on GitHub:
roban/CosmoloPy
You can download the source package of the release version from PyPI, or you also can download the development version of the package from GitHub in a zip or tar file.
If you've downloaded or cloned the source package (i.e., not using easy_install or pip):
$ python setup.py build $ python setup.py nosetests $ sudo python setup.py install
Email the group with any questions not answered by the documentation.
The API documentation is generated from the docstrings with Epydoc.
The Module Tree gives an overview of the organization and capabilities of the package.
The source code is fairly well-commented, and should serve as the ultimate reference. See "source code" links in the API docs or view the source on GitHub.
Functions take cosmological parameters (which can be numpy
arrays) as keywords, and ignore any extra keywords. This means
you can make a dictionary of all of your cosmological parameters
and pass it to any function using the **
syntax.
>>> import cosmolopy.distance as cd >>> cosmo = {'omega_M_0':0.3, 'omega_lambda_0':0.7, 'omega_k_0':0.0, 'h':0.72} >>> d_co = cd.comoving_distance(6., **cosmo) >>> print "Comoving distance to z=6 is %.1f Mpc" % (d_co) Comoving distance to z=6 is 8017.8 Mpc
The cosmolopy package also defines some convenient shortcuts, including a fiducial cosmology (currently the WMAP7+BAO+H0 mean), so you can just do this:
>>> from cosmolopy import * >>> d_a = cd.angular_diameter_distance(6, **fidcosmo) >>> print "Angluar-diameter distance to z=6 is %.1f Mpc" % (d_a) Angluar-diameter distance to z=6 is 1209.9 Mpc >>> d_light = cd.light_travel_distance(6, **fidcosmo) >>> print "Light-travel distance to z=6 is %.1f Mpc" % (d_light) Light-travel distance to z=6 is 3922.9 Mpc
Calculate the mass of a halo with Virial temperature of 10^4 kelvin, then verify the Virial temperature for a halo of that mass:
>>> import cosmolopy.perturbation as cp >>> cosmo = {'omega_M_0' : 0.27, ... 'omega_lambda_0' : 1-0.27, ... 'omega_b_0' : 0.045, ... 'omega_n_0' : 0.0, ... 'N_nu' : 0, ... 'h' : 0.72, ... 'n' : 1.0, ... 'sigma_8' : 0.9 ... } >>> mass = cp.virial_mass(1e4, 6.0, **cosmo) >>> temp = cp.virial_temp(mass, 6.0, **cosmo) >>> print "Mass = %.3g M_sun" % mass Mass = 1.68e+08 M_sun >>> print round(temp, 4) 10000.0
Calculate the critical and matter densities:
>>> from cosmolopy import * >>> 'rho_crit=%.3g Msun/Mpc^3, rho_0=%.3g Msun/Mpc^3' % cden.cosmo_densities(**fidcosmo) 'rho_crit=1.38e+11 Msun/Mpc^3, rho_0=3.75e+10 Msun/Mpc^3'
Look in
the tests/
and examples/
directories for more examples.
The best way to contribute to the development of CosmoloPy is to use the code and provide feedback, request new features, or add features yourself.
Please join the developer discussion group and help turn CosmoloPy into a comprehensive community-maintained package of basic cosmology routines. Whether you plan to be a casual user or frequent contributor, this is the place to introduce yourself and discuss the future of the package.
CosmoloPy is under active development, but is quite usable.
Feel free to join the discussion group and ask about the status of the routines you are interested in using, if you are curious.
Please consider including the URL of this page
(http://roban.github.com/CosmoloPy/
)
in work benefiting from CosmoloPy. The use of CosmoloPy in
general does not require any acknowledgment, but it
is nice as a courtesy to the authors and as a service to
others who might benefit from finding out about the package.
If you use any of the routines that make use of power
spectrum calculations, please cite
Eisenstein, D. J., & Hu, W. 1999, ApJ, 511, 5 [1999ApJ...511....5E; astro-ph/9710252]as the source of the matter power spectrum.
Roban Hultman
Kramer<EMAIL_ADDRESS>Please consider contributing to this project. Introduce yourself on the CosmoloPy developer discussion group.
See the AstroPython resources page for a nice up-to-date list of python astronomy resources.
I've also made a list of some other Python cosmology software that I've come across.


How many people do you plan to travel?
How many days do you intend to travel?
When do you plan to start your travel?
How important is cost to you when choosing a vacation destination?
How important you think flight time is comparing to cost?
Do you prefer travel at most visited cities?
Do you prefer long layover time travel as an opportunity to visit more places for lower cost?
Please select with caution. You may be required to get a visa for visiting layover city.


the and with patients for are COVID- from SARS-CoV- that have infection been acute this these respiratory may more coronavirus disease also during The has stroke patient their risk severe viral reported associated etÂ other {background not were most neurological which should al. can cases infection. was case health syndrome those being healthcare such virus margin â€" mental {border-style care treatment Â», nervous px;} studies them underlying #ffffff;} COVID-. all among had human manifestations must system use cerebrovascular drugs known need study cells infection, several There This due illness neurologic olfactory one psychological However, Infect any clinical damage direct often pandemic present will CNS already following involvement ischemic shown some thus Clin after complications could even further greater infections like only than virus, ACE- Neurological Stroke Wuhan, both common conducted disorders increased infected multiple neuropsychiatric out patients. people prevent showed well May Med RNA between effects epilepsy events features first given growing higher increase mind neurologists pandemic. patients, potential presenting rather response spinal study. who China. Med.;():â€". Neurol about across but central children critical doi: encephalitis encephalitis. found general immune importance infectious into its personal positive presence px; symptoms they via {font-family (COVID-) COVID-, Int Patients Virol;():â€". against always based cell characteristics chronic considered contracting development does especially fever font-size having imaging including infect infection: keeping muscle peripheral psychiatric reduce regarding require result seizures social spread stress stroke, therapy visits Brain COVID China Engl Mao Neurol.;():â€". SARS WHO admitted al.Clinical autoimmune conditions confirmed continue cord course des diagnosis double; down early faced facilities factors few headache history hospital hospitalized impact impacts important issues lack levels living many measures mechanical medical much novel outcomes part per possible prevalence problems protective recent regular related reports screening seen services still suffering support susceptible symptom systemic therapeutic therapies three transmission two unable under within Available Behav COVID-: China, Dis.;():â€". IST/IMT January Les Neurovirulence Parkinsonâ€™s Recommendations SARS-CoV-, SARS-CoV-. accessed allay association ataxia available because becomes border-color border-width cause cerebral compared complication coronaviruses death definite different disease, diseases dysfunction end endothelial entry exposure factor findings form frontline genes guidelines individuals invasion large make neuronal new older ongoing outbreak pneumonia prior provide ranging receptors reduced responsible review role sclerosis setting skeletal solid; spectrum status stroke. syndrome. taken taking tract wide without yet {font-style {font-weight (%) ;():â€". Additionally, Alzheimerâ€™s Assoc;():â€". CSF Care ChatterjeeS, Clinical Coronavirus Covid- Disease East GBS Helms Italy. Manifestations Med;():â€". Middle Most Neurology;():â€". One Res.;:â€". Several These They United While access age al., al.Guillain-BarrÃ© angiographic anosmia antibodies antiepileptic anxiety appropriate binding bold brain causing changes code coming comorbidities countries courier; crisis critically depression described developing diagnosed disorder disseminated documented duration dâ€™une em; emergency encephalopathy encephalopathy. equipment evaluation evidences expected family fatal feature from: get hand, host how hypoxemia illness, illness. incidences inflammation inflammatory injury itself kept leading leads long long-term low maladie management manifestation manifestationsâ€�, movement myopathy nasal needs neurologiques neuromuscular neurons neurotropic noted number observational occurring ont outcome pandemic, pathological population presentation previous professionals prolonged protein protocols psychosocial pt;} range receiving regions, remain remains report reporting retrospective rise seizure seizures, sensory significant similar specific studies, suffered system. telemedicine there time towards types unless used ventilation wake weakness where workers young


Private Island Resort has 5 bedroom bungalows, 2 bedroom townhomes, and single rooms for couples or singles.
All rooms come with a microwave and a small refrigerator.
Call<PHONE_NUMBER> to make your reservations.


I’ve finished reading Growing Object-Oriented Softwared, Guided by Tests by Steve Freeman and Nat Pryce. The book is a good introduction into TDD. First it goes through core concepts and then demonstrates how to implement TDD on a simple project.
My takeouts throughout the reading:
- TDD is a core practice of XP. TDD is not about keeping defects from the users, but helping the team to understand the features and to deliver them reliably and predictably.
- Making code accessible for testing often drives it towards being cleaner and more modular.
- TDD cycle: red/green/refactor
- Different kinds of tests:
- acceptance - exercises the functionality we want to build. Does the whole system work? Whenever possible should be end-to-end without directly calling internal code.
- integration - does our code work against code we can’t change?
- unit - do our objects do the right thing, are they convenient to work with?
- External/internal quality: customer facing or developer/admin facing
- OOP focuses more on the communication between objects than on the objects themselves. An object has a method of handling every type of message that it understands and in encapsulates some internal state.
- Objects could have different semantics:
- values model unchanging quantities
- objects have identity that may change over time and model computational process
TDD best practices:
- First make a minimal “skeleton” of an app and set up deployment infrastructure. E.g. for a web app it would be a one page site which shows a field in database.
- Develop from outer boundary. E.g. write end-to-end acceptance test and start unrolling the logic from the incoming external message.
- The development cycle goes like this. When implementing an object, we discover that it needs a service to be provided by another object. We give the new service a name and mock it out in the client object’s unit tests, to clarify the relationship between the two. Then we write an object to provide that service and, in doing so, discover what services that object needs. We follow this chain (or perhaps a directed graph) of collaborator relationships until we connect up to existing objects, either our own or from a third-party API. We think of this as “on-demand” design: we “pull” interfaces and their implementations into existence from the needs of the client, rather than “pushing” out the features that we think a class should provide.


JavaScript arrays are used to store multiple values in a single variable.
In this tutorial we will use a script to display arrays inside a <p> element with id="demo":
The first line (in the script) creates an array named cars.
The second line "finds" the element with id="demo", and "displays" the array in the "innerHTML" of it.
Create an array, and assign values to it:
Spaces and line breaks are not important. A declaration can span multiple lines:
| Never put a comma after the last element (like "BMW",). The effect is inconsistent across browsers. |
An array is a special variable, which can hold more than one value at a time.
If you have a list of items (a list of car names, for example), storing the cars in single variables could look like this:
However, what if you want to loop through the cars and find a specific one? And what if you had not 3 cars, but 300?
The solution is an array!
An array can hold many values under a single name, and you can access the values by referring to an index number.
Using an array literal is the easiest way to create a JavaScript Array.
Syntax:
Example:
The following example also creates an Array, and assigns values to it:
|
The two examples above do exactly the same. There is no need to use new Array(). For simplicity, readability and execution speed, use the first one (the array literal method). |
You refer to an array element by referring to the index number.
This statement accesses the value of the first element in cars:
This statement modifies the first element in cars:
| [0] is the first element in an array. [1] is the second. Array indexes start with 0. |
JavaScript variables can be objects. Arrays are special kinds of objects.
Because of this, you can have variables of different types in the same Array.
You can have objects in an Array. You can have functions in an Array. You can have arrays in an Array:
Arrays are a special type of objects. The typeof operator in JavaScript returns "object" for arrays.
But, JavaScript arrays are best described as arrays.
Arrays use numbers to access its "elements". In this example, person[0] returns John:
Objects use names to access its "members". In this example, person.firstName returns John:
The real strength of JavaScript arrays are the built-in array properties and methods:
Array methods are covered in the next chapter.
The length property of an array returns the length of an array (the number of array elements).
| The length property is always one more than the highest array index. |
The easiest way to add a new element to an array is using the push method:
New element can also be added to an array using the length property:
Adding elements with high indexes can create undefined "holes" in an array:
The best way to loop through an array, is using a "for" loop:
Many programming languages support arrays with named indexes.
Arrays with named indexes are called associative arrays (or hashes).
JavaScript does not support arrays with named indexes.
In JavaScript, arrays always use numbered indexes.
|
WARNING !! If you use a named index, JavaScript will redefine the array to a standard object. After that, all array methods and properties will produce incorrect results. |
In JavaScript, arrays use numbered indexes.
In JavaScript, objects use named indexes.
| Arrays are a special kind of objects, with numbered indexes. |
There is no need to use the JavaScript's built-in array constructor new Array().
Use [] instead.
These two different statements both create a new empty array named points:
These two different statements both create a new array containing 6 numbers:
The new keyword complicates your code and produces nasty side effects:
What if I remove one of the elements?
A common question is: How do I know if a variable is an array?
The problem is that the JavaScript operator typeof returns "object":
The typeof operator returns object because a JavaScript array is an object.
To solve this problem you can create your own isArray() function:
The function above always return true if the argument is an array.
Or more precisely: it returns true if the object prototype of the argument is "[object array]".


--- layout: docpage title: "Documentation" is_homepage: false is_sphinx_doc: true doc-title: "Getting Started" doc-header-links: ' ' doc-search-path: "../search.html" extra-footer: ' ' ---
This section covers how to get started using Apache Cassandra and should be the first thing to read if you are new to Cassandra.


MOST VALUABLE PLAYER
Russell Westbrook(31.6PPG/10.4APG/10.7RPG)
DEFENSIVE PLAYER OF THE YEAR
Draymond Green(1.4BPG/2.0SPG/7.9RPG)
ROOKIE OF THE YEAR
Malcolm Brogdon(10.2PPG/4.2APG/2.8RPG)


001 package org.codemonkey.swiftsocketclient; 002 003 import java.io.IOException; 004 import java.net.DatagramPacket; 005 import java.net.DatagramSocket; 006 import java.net.InetSocketAddress; 007 import java.net.ServerSocket; 008 import java.net.Socket; 009 import java.net.SocketException; 010 import java.util.LinkedList; 011 012 import org.apache.log4j.Logger; 013 014 /** 015 * Abstraction of the client socket. Acts as a wrapper for {@link Socket} and {@link DatagramSocket} to provide uniform behavior. 016 * 017 * @author Benny Bottema 018 * @see ClientEndpointTCP 019 * @see ClientEndpointUDP 020 * @since 1.0 021 */ 022 interface ClientEndpoint { 023 /** 024 * All subclasses use the logger anchored to ClientEndpoint.class. 025 */ 026 public static final Logger LOGGER = Logger.getLogger(ClientEndpoint.class); 027 028 /** 029 * @return An endpoint that acts similarly for a TCP and UDP server. 030 * @throws IOException Thrown by {@link ClientEndpointTCP#getServerEndpoint()} 031 */ 032 ServerEndpoint getServerEndpoint() 033 throws IOException; 034 035 /** 036 * @return Whether an explicitly call has been made to {@link ClientEndpoint#close()} or close on the passed in socket (both TCP and 037 * UDP). 038 */ 039 boolean isClosed(); 040 041 /** 042 * Call the close method on the embedded socket (works for both TCP and UDP). 043 * 044 * @throws IOException Thrown by {@link ClientEndpointTCP#close()} 045 */ 046 void close() 047 throws IOException; 048 } 049 050 /** 051 * Wrapper that delegates all calls directly to the decorated {@link Socket}. The Client Endpoint abstraction mimics how TCP deals with a 052 * server and so the TCP client endpoint variant adds no extra functionality, except that it returns the server endpoint instead of the 053 * {@link Socket} instance itself (see {@link #getServerEndpoint()}. 054 * 055 * @author Benny Bottema 056 * @since 1.0 057 */ 058 class ClientEndpointTCP implements ClientEndpoint { 059 060 private final Socket clientSocket; 061 062 /** 063 * Constructor; simply stores a reference to the client socket. 064 * 065 * @param clientSocket The {@link Socket} on which we connect new clients. 066 */ 067 public ClientEndpointTCP(final Socket clientSocket) { 068 this.clientSocket = clientSocket; 069 } 070 071 /** 072 * Returns a new {@link ServerEndpointTCP} {@link Socket} decorator (which passed in the constructor). 073 * 074 * @throws IOException Thrown by {@link ServerEndpointTCP#ServerEndpointTCP(Socket)}. 075 */ 076 @Override 077 public ServerEndpoint getServerEndpoint() 078 throws IOException { 079 return new ServerEndpointTCP(clientSocket); 080 } 081 082 /** 083 * @return {@link Socket#isClosed()} 084 */ 085 @Override 086 public boolean isClosed() { 087 return clientSocket.isClosed(); 088 } 089 090 /** 091 * Calls {@link Socket#close()}. 092 * 093 * @throws IOException Thrown by {@link Socket#close()}. 094 */ 095 @Override 096 public void close() 097 throws IOException { 098 clientSocket.close(); 099 } 100 } 101 102 /** 103 * Wrapper that adds TCP like server handling to the UDP {@link DatagramSocket}. 104 * 105 * @author Benny Bottema 106 * @see #ClientEndpointUDP 107 * @see #getServerEndpoint() 108 * @see DatagramPacketReceiver 109 * @since 1.0 110 */ 111 class ClientEndpointUDP implements ClientEndpoint { 112 113 /** 114 * This should probably be tuned at some point to allow for larger datagram packets. 115 */ 116 private static final int PACKET_BUFFER_SIZE = 1024; 117 118 /** 119 * Contains the that is the first value we expect from the server as an acknowledgment answer to '{@value #CONNECT}'. 120 *
 121 * Value: {@value #ACK}. 122 */ 123 public static final String ACK = "ACK"; 124 /** 125 * Contains the value that is the command sent to the server when making first contact, so that the server knows where to send the UDP 126 * messages. 127 *
 128 * Value: {@value #CONNECT}. 129 */ 130 public static final String CONNECT = "CONNECT"; 131 132 /** 133 * The client socket on which we'll send and receive messages on in the form of UDP datagram packets. 134 */ 135 private final DatagramSocket datagramSocket; 136 137 /** 138 * The server endpoint, assigned when first UDP contact has been made. We can't know the address before that, as the server is 139 * identified by the UDP packet. 140 */ 141 private ServerEndpointUDP server; 142 143 /** 144 * When initializing a connection to the server, we're performing a handshake which needs to be acknowledged first. Since UDP does not 145 * guarantee the order of incoming message, we might need to buffer unrelated message until the acknowledgment arrives. 146 */ 147 private boolean handshakeAcknowledged; 148 149 /** 150 * This queue buffers incoming messages while the handshake is being confirmed by the server. 151 */ 152 private final LinkedList<DatagramPacket> bufferQueue; 153 154 /** 155 * Constructor; starts a new Thread listening for new datagram packets. If a new server sends a message, it will be 156 * returned on {@link #getServerEndpoint()}. In either case the datagram is passed on to the server endpoint. 157 * 158 * @param datagramSocket A DatagramSocket to listen to UDP messages. 159 * @param host The host to which the {@link DatagramPacket} objects need to be sent to. 160 * @param port The host to which the {@link DatagramPacket} objects need to be sent to. 161 */ 162 public ClientEndpointUDP(final DatagramSocket datagramSocket, final String host, final int port) { 163 this.datagramSocket = datagramSocket; 164 handshakeAcknowledged = false; 165 bufferQueue = new LinkedList<DatagramPacket>(); 166 initializeHandshake(host, port); 167 new Thread(new DatagramPacketReceiver()).start(); 168 // block the client until connection has been completely established 169 while (!handshakeAcknowledged) { 170 ServerUtil.defaultSleep(); 171 } 172 } 173 174 /** 175 * Performs a handshake with the server by sending a '{@value #CONNECT}' command. The response '{@value #ACK}' is handled by 176 * {@link DatagramPacketReceiver#run()}. 177 * 178 * @param host The host to which the {@link DatagramPacket} objects need to be sent to. 179 * @param port The host to which the {@link DatagramPacket} objects need to be sent to. 180 */ 181 private void initializeHandshake(final String host, final int port) { 182 LOGGER.info("offering server a handshake"); 183 final InetSocketAddress serverAddress = new InetSocketAddress(host, port); 184 try { 185 datagramSocket.send(new DatagramPacket(CONNECT.getBytes(), CONNECT.length(), serverAddress)); 186 } catch (final SocketException e) { 187 throw new RuntimeException("unable to create UDP datagram packet", e); 188 } catch (final IOException e) { 189 throw new RuntimeException(e); 190 } 191 } 192 193 /** 194 * Continuously receives {@link DatagramPacket} objects and delegates these to a {@link ServerEndpoint} to emulate TCP {@link Socket} 195 * behavior where a Socket per server receives messages from a connected client. Except there will always be one socket 196 * associated with this client endpoint, since there can only be one server instance. 197 *
 198 * If the server has not been assigned using a {@link ServerEndpointUDP}, we will do so with the first datagram packet we receive, which 199 * must also be an {@value ServerEndpointUDP#ACK}. If confirmed, the {@link DatagramSocket} is embedded in a {@link ServerEndpointUDP}. 200 * By abstracting this behavior in 'server endpoints', we can now for both TCP Socket messages and datagram packets act as though the 201 * endpoint received it directly from a client and so have consistent and uniform behavior for handling TCP and UDP messages. The only 202 * downside to this is that we cannot detect a client dropping the connection (so PingPong mode is advised). 203 * 204 * @author Benny Bottema 205 * @see #verifyAcknowledgment(DatagramPacket) 206 * @since 1.0 207 */ 208 private class DatagramPacketReceiver implements Runnable { 209 @Override 210 public void run() { 211 // a DatagramSocket will only close if the client is stopping gracefully 212 while (!datagramSocket.isClosed()) { 213 final DatagramPacket datagramPacket = new DatagramPacket(new byte[PACKET_BUFFER_SIZE], PACKET_BUFFER_SIZE); 214 try { 215 datagramSocket.receive(datagramPacket); 216 } catch (final IOException e) { 217 LOGGER.error("error waiting for new datagram packet in UDP client endpoint", e); 218 continue; // should we continue? if we don't we'll have a complete server crash on our hands 219 } 220 if (LOGGER.isTraceEnabled()) { 221 String messageReceived = new String(datagramPacket.getData()); 222 String msg = "datagram packet received from %s, message: %s"; 223 LOGGER.trace(String.format(msg, datagramPacket.getSocketAddress(), messageReceived)); 224 } 225 if (server == null) { 226 final String msg = "received UDP datagram packet from new server endpoint [%s]"; 227 LOGGER.debug(String.format(msg, datagramPacket.getSocketAddress())); 228 server = new ServerEndpointUDP(datagramSocket, datagramPacket.getAddress(), datagramPacket.getSocketAddress()); 229 } else { 230 final String msg = "received UDP datagram packet from known server endpoint [%s]"; 231 LOGGER.debug(String.format(msg, datagramPacket.getSocketAddress())); 232 } 233 if (handshakeAcknowledged) { 234 server.handleDatagramPacket(datagramPacket); 235 } else { 236 verifyAcknowledgment(datagramPacket); 237 } 238 } 239 } 240 } 241 242 /** 243 * Verifies that the server verifies the handshake request with an '{@value #ACK}' reply to an '{@value ClientEndpointUDP#CONNECT}'. If 244 * it isn't, the message will be buffered in {@link #bufferQueue} until it is. 245 * 246 * @param datagramPacket The response message from the server that must contain the acknowledgment value. 247 */ 248 private boolean verifyAcknowledgment(final DatagramPacket datagramPacket) { 249 final String message = new String(datagramPacket.getData()).trim(); 250 if (!message.equals(ACK)) { 251 final String msg = "expected acknowledgment '%s' back, but received: '%s'. This message will be buffered."; 252 LOGGER.debug(String.format(msg, ACK, message)); 253 return handshakeAcknowledged = false; 254 } else { 255 LOGGER.debug(String.format("server acknowledged handshake with '%s'", message)); 256 LOGGER.info(String.format("handshake confirmed", message)); 257 if (!bufferQueue.isEmpty()) { 258 LOGGER.debug("handling messages from the handshake buffer queue..."); 259 for (DatagramPacket bufferedDatagramPacket : bufferQueue) { 260 server.handleDatagramPacket(bufferedDatagramPacket); 261 } 262 } 263 return handshakeAcknowledged = true; 264 } 265 } 266 267 /** 268 * Returns a server endpoint in case a datagram packet is received from a previously unknown server. Otherwise, nothing is returning and 269 * this method remains blocking (like {@link ServerSocket#accept()}) until a server sends a datagram packet. 270 *
 271 * TCP messages received are inherently coupled to a (server) Socket. To mimic this behavior {@link ClientEndpointUDP} 272 * keeps track of the first connected server and will assume all future communication is with the same server binding. 273 */ 274 @Override 275 public ServerEndpoint getServerEndpoint() { 276 while (server == null && !datagramSocket.isClosed()) { 277 ServerUtil.defaultSleep(); 278 } 279 return server; 280 } 281 282 /** 283 * @return {@link DatagramSocket#isClosed()} 284 */ 285 @Override 286 public boolean isClosed() { 287 return datagramSocket.isClosed(); 288 } 289 290 /** 291 * Calls {@link DatagramSocket#close()} 292 */ 293 @Override 294 public void close() { 295 datagramSocket.close(); 296 } 297 }


Change color schema of the vue-tree-nav with one of our pre build themes
Customize vue-tree-nav layout
Change links and dropdowns on the left side of vue-tree-nav
Change links and dropdowns on the right side of vue-tree-nav
Change links and dropdowns on the side panel of vue-tree-nav
If you like the result you can use directly this json with v-bind prop inside the vue-tree-nav tag


Chris Weidman to continue fighting despite having had 23 surgeries: ‘I feel like I’m capable of some big things’
by Lewis MckeeverDespite calls for retirement following back-to-back knockout losses to Ronaldo ‘Jacare’ Souza and Dominick Reyes, Chris Weidman is adamant he will continue fighting.
Speaking to ESPN’s Ariel Helwani in a recent interview, the former UFC middleweight champion spoke about his recurring injuries and revealed that, despite having had 23 surgeries over the course of his professional career, ‘All-American’ will not be hanging up the gloves anytime soon.
“Definitely continuing to fight, that’s not in question at all... I’ve been through hell, I’ve had 23 surgeries, but I feel good right now, I know that sounds crazy... I feel like I’m still capable of some big things.” Weidman said, per TSN’s Aaron Bronsteter.
Although Weidman confirmed he will be returning to the UFC, the 35-year-old isn’t sure at which weight class. Weidman made his light heavyweight debut last month at UFC on ESPN 6 but was knocked out in the first round by Reyes.
“I’m not sure if I’m going to go back to down to 185 or stay at 205,” Weidman said.
Weidman is 1-5 in his last six fights and is currently unranked. Expect the UFC veteran to return to the Octagon in the new year.


Class LogConsistencyProviderAttribute
The [Orleans.Providers.LogConsistencyProvider] attribute is used to define which consistency provider to use for grains using the log-view state abstraction.
Specifying [Orleans.Providers.LogConsistencyProvider] property is recommended for all grains that derive from LogConsistentGrain, such as JournaledGrain. If no [Orleans.Providers.LogConsistencyProvider] attribute is specified, then the runtime tries to locate one as follows. First, it looks for a "Default" provider in the configuration file, then it checks if the grain type defines a default. If a consistency provider cannot be located for this grain, then the grain will fail to load into the Silo.
Inheritance
System.Object
LogConsistencyProviderAttribute
Namespace: Orleans.Providers
Assembly: Orleans.Core.Abstractions.dll
Syntax
public sealed class LogConsistencyProviderAttribute : Attribute
Constructors
| Improve this Doc View SourceLogConsistencyProviderAttribute()
Declaration
public LogConsistencyProviderAttribute()
Properties
| Improve this Doc View SourceProviderName
The name of the provider to be used for consistency
Declaration
public string ProviderName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |


When performing a sequence of statistical tests (e.g. when testing if a group of genes is enriched for a specific GO term a test is performed for each term associated with at least one of the genes in the group) a correction needs to be applied to avoid false positives (type I errors). False discovery rate (FDR) is designed to correct for this by adjusting p-values based on the number of tests performed.
WikiPedia


Code coverage report for
__root__/
Statements:
71.43%
(20 / 28)
Branches:
64.29%
(9 / 14)
Functions:
83.33%
(5 / 6)
Lines:
71.43%
(20 / 28)
Ignored:
none
All files
» __root__/
File
Statements


This middleware provides an easy way to serve user interfaces written in the Dart programming language. See https://www.dartlang.org/ for more details about this language. In brief, Dart is a modern language that is very similar to C# and Java that compiles into JavaScript. The resulting JavaScript is var compact and highly optimized for best performance in current browsers. Dart has a very small footprint and very fast startup times.
This middleware exists because some browsers can natively execute Dart directly whereas other browsers require the compiled JavaScript.  It rewrites requests for the UI so that the static files handler will pick up either the native Dart code or the compiled JavaScript.
If you place any output cache middleware in front of this middleware the output cache will be instructed not to cache this data because otherwise some browsers would receive the files thet don't work with it.
The Dart middleware in the OwinFramework supports the following configuration options:
| Property | Default | Current | Description |
|---|---|---|---|
| UiRootUrl | {uiRootUrl.default} | {uiRootUrl} |
Configures the URL within your web site where the Dart UI will be served. If your whole web site is written as Dart Single Page Application you can set this to / so that when visitors to your site go to http://mysite.com/ they will be presented with the Dart authored UI. The default setting for this property is /ui which means that any requests to your site that begin with /ui could be served as Dart files or related assets. So for example a URL like /ui/images/logo.jpg would be treated as a resource for your Dart application. This middleware will only rewrite the request URL. It assumes that there are other middleware further down the pipeline that will return the content of these files. In the simplest case you can add the static files middleware further down the pipelane than this one. You might also want to include the LESS on-the-fly compiler middleware too. |
| DartUiRootUrl | {dartUiRootUrl.default} | {dartUiRootUrl} |
Configures the root URL that will be passed down the middleware pipeline when the browser making the request can execute Dart files directly. If you are using the static files middleware to serve these files then this url should map to the root folder for the uncompiled Dart files. |
| CompiledUiRootUrl | {compiledUiRootUrl.default} | {compiledUiRootUrl} |
Configures the root URL that will be passed down the middleware pipeline when the browser making the request can not execute Dart directly, and needs so be served compiled JavaScript. If you are using the static files middleware to serve these files then this url should map to the root folder for the compiled JavaScript files. |
| DefaultDocument | {defaultDocument.default} | {defaultDocument} |
Configures the file that will be served when the Dart UI folder URL is requested with no file name in the URL. With the default configuration, a request for http://mysite.com/ui will be rewritten to /ui/web/index.html for browsers that support Dart and /ui/build/web/index.html for browsers that do not support Dart. |
| DocumentationRootUrl | {documentationRootUrl.default} | {documentationRootUrl} |
Configures the URL within your web site where configutation documentation for this middleware will be avialble. Set this to an empty string to disable this documentation in a production environment. |
| AnalyticsEnabled | {analyticsEnabled.default} | {analyticsEnabled} |
Allows you to turn off the analytics for this middleware. |
This middleware is configured the same way as all other middleware in the Owin Framework; you need to construct a class that implements IConfiguration then add a fluid .ConfigureWith() when you register this middleware with the Owin Framework builder. Please read Owin Framework documentation on configuration for full details with examples.


Please wait while we setup your device. Note that you have left the one-time setup process without
configuring WiFi network access.
To configure WiFi later, rerun this setup using the steps below or connect to the device via its serial
port and run configure_edison --wifi on the command line.


---
title: How to Avoid the Most Common Design Mistakes
date: '2015-07-05T19:00:17+05:30'
tags:
- design
tumblr_url: https://sureshshanmugam.com/post/123279164661/how-to-avoid-the-most-common-design-mistakes
---
How to Avoid the Most Common Design Mistakes
——————————
The Frictionless Field Guides are a freelancer’s best friend. Short, topical ebooks that are easy to read and full of powerful advice.
Check out the growing series today!


Brave the ocean and try to find your home !

The closer your home is, the harder it is to find it.
- Our team -
[ Development ]
Samy Vera
Matteo Lecuit
Bigeard
[ Graphic design ]
Maxime Le Chesne
| Global Game Jam 2019
Return


HONEYCOMB OS is an Embedded Linux Distribution tailored for IOTA nodes, clients and Tangle related tools. It is mainly based on Poky, and it is built with tools from Yocto Project and OpenEmbedded.


Raspberry Pi Cluster Homepage
This page shows the status of the Raspberry Pi Cluster
Primary Information
{{primaryinfo}}
Secondary Information
{{secondaryinfo}}


{{ site.description }}
© {{ site.time | date: '%Y' }}. All rights reversed. EveryCandidate.org v{{ site.version }}


Enter the current (temporary) password and the new password, and repeat the new password.
The minimum password length is 6 characters, the maximum length is 100 characters.
When you type the password, the Password strength field indicates how secure your password is. The color green means that your password is strong and secure. A strong and secure password consists of at least 8 characters, and contains numbers, letters, and special characters.


My name is Tommy Dugger and I live in Cortez Colorado. I'm a Systems Administrator for a construction company and have been doing IT work for my entire career. Take a look at my LinkedIn Profile to see more. I get to program in C#/.net for work and I've fallen in love with making stuff that impacts people in a positive way! I'm attending DBC so that I can do that full time!
Here is my email address if you need to reach me<EMAIL_ADDRESS>Here is a list of my hobbies. I don't have many but I'm love with the ones I have
80s Hair Metal for life!


fork me on github
The Little Chord Chart
a
VexFlow
demo by
0xfe
Comments? Criticism? Contact me at
0xfe.blogspot.com
.


Scope(name: String, parent: Scope? = null)
Context Scope - Define hierarchy between contexts Help define logical separation for group of definitions
name -
name
parent -
parent
Author Arnaud GIULIANI


For TETRIS, W = left, E = right, R = fall faster, Q = rotate piece. For WIPEOFF, Q = left, E = right.


|
Core2 for AWS IoT EduKit BSP
1.4.1
|
The member defintions of the virtual button data. More...
#include <button.h>
Data Fields | |
| uint16_t | x |
| Virtual button touch starting point in the X-coordinate plane. | |
| uint16_t | y |
| Virtual button touch starting point in the Y-coordinate plane. | |
| uint16_t | w |
| Virtual button touched width from the starting point in the X-coordinate plane. | |
| uint16_t | h |
| Virtual button touched height from the starting point in the y-coordinate plane. | |
| uint8_t | value |
| Current virtual button touched state. | |
| uint8_t | last_value |
| Previous virtual button touched state. | |
| uint32_t | last_press_time |
| FreeRTOS ticks when virtual button was last touched. | |
| uint32_t | long_press_time |
| Number of FreeRTOS ticks to elapse to consider holding the touch button a long press. | |
| uint8_t | state |
| The button press event. | |
| struct _Button_t * | next |
| Pointer to the next virtual button. | |
The member defintions of the virtual button data.
This structure can be used to define virtual buttons bounded by rectangular areas of the touch screen.


Do not have an account?
Sign up
You are almost ready to go!
Please check your email to activate your account


| scat {mgcv} | R Documentation |
Family for use with gam
or bam
, implementing regression for the heavy tailed response
variables, y, using a scaled t model. The idea is that (y - mu)/sig ~ t_nu where
mu is determined by a linear predictor, while sig and nu are parameters
to be estimated alongside the smoothing parameters.
scat(theta = NULL, link = "identity",min.df=3)
theta |
the parameters to be estimated nu = b + exp(theta_1) (where ‘b’ is |
link |
The link function: one of |
min.df |
minimum degrees of freedom. Should not be set to 2 or less as this implies infinite response variance. |
Useful in place of Gaussian, when data are heavy tailed. min.df
can be modified, but lower values can occasionally
lead to convergence problems in smoothing parameter estimation. In any case min.df
should be >2, since only then does a t
random variable have finite variance.
An object of class extended.family
.
Natalya Pya<EMAIL_ADDRESS>Wood, S.N., N. Pya and B. Saefken (2016), Smoothing parameter and model selection for general smooth models. Journal of the American Statistical Association 111, 1548-1575 http://dx.doi.org/10.1080/01621459.2016.1180986
library(mgcv) ## Simulate some t data... set.seed(3);n<-400 dat <- gamSim(1,n=n) dat$y <- dat$f + rt(n,df=4)*2 b <- gam(y~s(x0)+s(x1)+s(x2)+s(x3),family=scat(link="identity"),data=dat) b plot(b,pages=1)


Transcraft My Accountant
Click
here
to download the latest version from Sourceforge. The files are:
tbook.1.0.7_1.zip
for Windows platforms
tbook.1.0.7_1.tgz
for Linux platforms
tbook.jar
for just the application. The other prerequisites in order to run up this jar file are followings:
log4j 1.2.8 from the
Apache Foundation
commons-logging from the
Apache Foundation
jasperreports 1.0.1 from
Jasper Reports
itext 1.3.1 from
Jasper Reports
(for PDF generation)
db4o 4.6 for Java 1.2 from
dbobjects
tbook-src.1.0.7_1.tgz
for the source code
tbook_docs.1.0.7_1.tgz
for the documentations
Home
Screen shots
Technical
Download
Online Manual
Support
Contact us


{% include 'navbar.html' %} {% include 'flash.html' %}
Change User Detail
Change User Details
NAME
EMAIL
{{g.user.email}}
MOBILE NUMBER
+91
PASSWORD
Update
Cancel
Change Password
Change Password
CURRENT PASSWORD
NEW PASSWORD
CONFIRM PASSWORD
CHANGE PASSWORD
Cancel


Download Imager.js
Image Breakpoints You can generate them with grunt-responsive-images for example.
grunt-responsive-images
Responsive Placeholder CSS Selector
Responsive Image Source Imager.js will replace {width} by the best matching value from the Image Breakpoints field.
{width}
Imager.js File Location
Replacement delay
Help making this tool better: contribute on Github


Will Success Spoil Rock Hunter? (1957)
Grade: 85
"Will Success Spoil Rock Hunter?" is a satire that sharpens its knives on television, advertising, and the company ladder. Surprisingly, the humor has aged well, and the satire still works.
The plot has advertising jinglist Rock Hunter (Tony Randall) struggling to improve his position at a company whose president appears to openly despise him. He is attempting to raise a pretty teenager (conveniently a niece) and marry girl-next-door Betsy Drake. His big break comes when he convinces movie sex symbol Rita Marlowe (Jayne Mansfield) to sponsor an ad campaign. This endorsement does wonders for his career, but threatens his engagment to Drake, as Mansfield has plans of her own for Randall.
By the mid-1950s, television was increasingly important to American society. Fewer people were going to the movies. While actors and writers welcomed the extra work, the movie studios were threatened by the new media. "Rock Hunter" could have been a paranoid diatribe against television, but the parody is softened by the presence of Randall, who appears alternately innocent and bewildered throughout. One scene has Randall walking in oversized clothes and platform shoes, and it's a hoot. Randall's rising career is epitomized by his receiving the key to the executive washroom, and you would think it is the key to heaven's door given the look on his face.
Jayne Mansfield is an obvious Marilyn Monroe clone, complete with blonde hair, large bust, and affected whispering voice. Her trademark is an extended, high-pitched squeal. Mansfield would be miscast in a serious drama, but she is fine in a parody, where her character and her adoring fans can be lampooned. Mansfield imitated Monroe offscreen as well, going through several marriages and dying in her thirties.
One thing has certainly changed over the years, and that is Hollywood's treatment of alcohol. The characters of "Rock Hunter" drink freely, even at work, and a scene where Randall gets plastered is intended to be humorous. Umm, they don't make 'em like they used to.
http://members.tripod.com/~Brian_Koller/movies.html
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Browse to a module or class using the sidebar to view its API documentation.
Keyboard Shortcuts
Press s to focus the API search box.
Use Up and Down to select classes, modules, and search results.
With the API search box or sidebar focused, use ⌘-Left or ⌘-Right to switch sidebar tabs.
With the API search box or sidebar focused, use Ctrl+Left and Ctrl+Right to switch sidebar tabs.


Here's Go-Drawingboard in a side-by-side example. Draw in one canvas and it will appear, in realtime, on the other.
This was built by integrating drawingboard.js and GoInstant.
GoInstant is a JavaScript API for building realtime, multi-user applications.
Sign up for free and give it a try!


Tools
Sprite Selector
Shape Selector
Move Camera
Sprite Stamp
Draw Tiled Sprite
Create Point
Create Line
Create Polygon
Draw Mask
Buttons
Map
Nav
+
-
Canvas Size:
Submit
Map Object
Z:
Pos:
Size:
Edit Pos:
,
Edit Size:
,
Edit Z-Index:
Submit Pos/Size/Z
Add
Submit Meta Tags
Send Backward
Bring Forward
Send To Back
Bring To Front
Flip Image X
Flip Image Y
Finish Mask Edit
Sprites


Welcome to John Deere
Username
Password
Your password may need to be reset. Please navigate to My John Deere to complete the password reset process.
Sign In
Create Account
Forgot Password?
English
Latin
Spanish
Latin
Spanish
German
Latin
Spanish
German
German
Latin
Spanish
German
Latin
Spanish
German
Latin
Spanish
German
Latin
Spanish
German
Latin
Spanish
German
Latin
Spanish
German
Latin
Spanish
German
Latin
Spanish
German
Latin
Spanish
German
Latin
Spanish
German
Latin
Spanish
German
Latin
Spanish
German
Latin
Spanish
German
Latin
Spanish
German
Latin
Spanish
German


China Mobile: 5G phones cost less than 1,500 yuan ($214) by next year -
by Efe UdinChina Mobile: 5G phones cost less than 1,500 yuan ($214) by next year
5 (100%) 1 vote
The development of 5G is on a “speed-lane” and its services are reaching more people every day. However, one of the major concerns about 5G still remains the price of 5G devices. Today, at the 5G Pan-Intelligent Terminal Channel Eco-cooperation Summit held by China Mobile, the Chinese carrier released its 2020 5G terminal product plan. According to China Mobile, by next year, we should have over 100 5G phone models in the market. In addition, we should also have over 150 million units. However, the interesting part is that the carrier believes that the competition will drop the price of 5G phones to 1000 yuan ($143) – 1500 yuan ($214).
If China Mobile’s forecast is anything to go by, that means we will have entry-level 5G phones by next year. At the conference, it released the “China Mobile 5G Commercial Mobile Phone Product White Paper” and “China Mobile 5G Commercial Pan Intelligent Terminal Product White Paper”. This clarifies that 5G terminal products will support the following from January 1, 2020
- NSA and SA dual mode
- 2.6GHz, 3.5GHz, 4.9GHz frequency band
- enhance 5G terminal uplink and downlink capability
- better super uplink capability
- 5G characteristic service portal on 5G mobile phone
- acceleration of the development of existing 5G applications
Recall that the likes of Xiaomi are already gearing up to launch cheap 5G smartphones next year. Some time ago, Xiaomi CEO, Lei Jun said that the company will release 10 5G phones next year. Today, he said that all Xiaomi phones in the first half of 2020 with a price tag above 2000 yuan ($285) will support 5G. This is consistent with the plan of China Mobile – to make 5G phones cheaper.


THE OTHERS (2001) / *** 1/2
Directed by Alejandro Amenabar, based on his screenplay. Starring Nicole Kidman, Fionnula Flanagan, Alakina Mann. Running time: 101 minutes. Rated AA by the MFCB. Reviewed on August 13th, 2001.
By SHANNON PATRICK SULLIVAN
Synopsis: Grace (Kidman) lives with her young son and daughter on an isolated estate in the Channel Islands. Her children are photosensitive, and hence cannot be exposed to direct sunlight. The arrival of new servants precipitates strange noises and unexplained occurrences in the darkness-shrouded house. Is someone trying to drive Grace mad, or are unquiet spirits haunting her family?
Review: Haunted houses are a familiar staple of horror films, and "The Others" hardly reinvents the wheel. What it does offer, though, is a classy, gripping example of the genre: an unusually spooky and spine-tingling experience. Amenabar, making his first English-language movie, demonstrates his profound understanding of sound: his self-composed incidental music is effective, and silence plays an equally important role in building the suspense. Although Amenabar does spend a little too much time at the beginning of the picture laying his groundwork, things pick up noticeably through the final hour. The director makes judicious use of all the tricks in his toolbox of terror; there are enough frights to keep audiences on the edge of their seats, but not so many that they become commonplace. The inclusion of a nineteenth-century "Book of the Dead" is one of several particularly eerie moments. Kidman boosts the script's credibility with a terrific performance, playing Grace (think "Kelly") as a sympathetic woman who nonetheless possesses a singularly ruthless streak. Mann is notable as her creepy, strong-willed daughter. The film ends, "Sixth Sense"-style, with a surprise ending which Amenabar is wise not to overplay; his more subdued approach is likely to haunt even the steeliest of viewers.
Copyright © 2001 Shannon Patrick Sullivan. Archived at The Popcorn Gallery, http://www.physics.mun.ca/~sps/movies.html
| Shannon Patrick Sullivan |<EMAIL_ADDRESS>| +---------------------------------+---------------------------------+ / Doctor Who: A Brief History of Time (Travel) go.to/drwho-history \ \__ We are all in the gutter but some of us are looking at the stars __/
========== X-RAMR-ID: 29387 X-Language: en X-RT-ReviewID: 247035 X-RT-TitleID: 1109257 X-RT-SourceID: 886 X-RT-AuthorID: 1699 X-RT-RatingText: 3.5/4
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Ripple effect test page
Ripple button
Ripple block
Yes, share and connect
Use this option for home or work
Alarm!
Use this option for home or work


[Update: Hello, Protect] Existing Nest products get new Google Nest packaging
by Abner LiFrom I/O 2019 onwards, unified Google Nest branding has permeated across the company’s existing smart home products. The latest step sees Made by Google repackaging existing devices, starting with the Nest Cam Indoor.
Back in May, the fairly recent “Google Home Hub” was rebranded into the “Google Nest Hub,” while the first product to be announced and launched under this brand was the Nest Hub Max in September. With the 7-inch Assistant Smart Display, Google was quick to append stickers announcing the change. All other Nest products at this point have seen a similar marker.
This weekend [10/19/19], we spotted Best Buy selling a Nest Cam Indoor 3-pack in new Google Nest packaging. Similar to other Made by Google products, the packaging is predominantly white. A large four-colored ‘G’ and “Nest Cam Indoor” is printed above with a brief description underneath.
The front features multiple angles of the security camera, while the right and back has live imagery, which is similar to the Pixel 4 and Pixel 4 XL. Compared to the old box, there is much less copy about the product. The left side features a straightforward list of functionality and notes how the Cam Indoor “works with the Google Assistant.” Other specs are listed on the bottom surface of the new Google Nest packaging.
If the printed product images reflect the actual product, Google has removed the old ‘nest’ logo from the face of the camera, just underneath the lens. Unlike the Nest Hello, it does not appear to be replaced by a white ‘G’ logo. While cleaner, the non-existent branding seems odd and is not yet reflected on the Google Store.
Update 11/9: The latest smart home products to get new Google Nest packaging include the Nest Hello, Protect, and Thermostat. Both the smoke alarm and thermostat — according to the box artwork — lack any “nest” or “G” branding.
More about Google Nest:
- Google Nest Mini hands-on: Barely new in all the best ways [Video]
- Nest Aware now uses a flat pricing structure, includes all your devices for $6
- Google announces Home Feed, a new AI security feed for your Nest devices
- Nest Hello preps ‘seasonal themes,’ starting with Halloween doorbell sounds [APK Insight]
FTC: We use income earning auto affiliate links. More.


three.js - Temporal Anti-Aliasing (TAA) pass by
Ben Houston
When there is no motion in the scene, the TAA render pass accumulates jittered camera samples
across frames to create a high quality anti-aliased result.
Texture interpolation, mipmapping and anistropic sampling is disabled to emphasize
the effect SSAA levels have one the resulting render quality.


Now reading:
Share this:
Take a trip through the city’s 7 best stations
Design I 20.07.16
Architecture, News I 19.07.16
Property I 19.07.16
Design, News I 19.07.16
Art I 18.07.16
Explore Sicily and Puglia’s pockmarked landscape
Receive a hand-picked selection of our best articles, delivered to you every week.
Design, News I 18.07.16
News, Property I 18.07.16
I 16.07.16
News, Property I 15.07.16
Challenging the status quo


Week 1 Phase 0
10/10/2014
So my first week of Phase 0 DBC is nearly completed and I cannot help but think to 2006 when I was a freshman in a software engineering. Back then, I had my first experience coding and learning a programming language. Back then I had problem with two things that git and GitHub would have help me with. Those are two things happen to be version control which git takes care of and collaborative work which GitHub helps you with.
Looking back then I really didn`t have a good way to do version control. I would have dozens of file in a folder with the same name with a "v" and some number at the end. It was really hard to keep track of what version of the file I worked on last or what version actual worked. It became whelming and difficult not to get lost in the middle of long projects. I look back at now and I wish I had git. Git make version control very simple and easy to follow. I look forward to having version control that actually keeps track of every change I commit and having to ability to revert to a previous version seamlessly.
Collaborative work was a problem as well because there was never a common place where the groups work could stay. Different members of the team would have different versions of the code and it would hard to keep track of who did what. GitHub makes collaboration so easy because it is that common location I was speaking of. GitHub provide a hub for lack of a better word where everyone working can stay and be reviewed. This would have prevented a lot of code overlaps and problem back when I was a freshmen.
I`m just glad I have these tools now.


Subnautica Map
bug_report
Report Issue
Links
Homepage
Subnautica Site
Subnautica Wiki
Source Code
P
0,0,0


Built for speed. Designed to scale. Proven to save.
Proud to be
Budibase is open source, allowing you to transform operations within the security of your own infrastructure.
Covanta expect to make $3m in annual savings by reducing data entry
The Bulgarian Gov created an app in 4 days and scaled it to 100,000+ users.
With Budibase, Schnellecke are now 90% faster at building internal tools
Budibase helps you create apps faster which devs love because their internal tickets disappear.
Shawn (@swyx)


Peerless Lathe Rebuild
Winter 2016-2017
I rebuild and improve an old watchmaking lathe.
Additional Progress Pictures (imgur)
I aquired a tiny old watchmaking lathe, but it was missing most of it's parts, and others were pretty beat up, like the drawbar. I decided it would be a good project to turn it into a useful lathe. I made some drawings while I was at school and then started by milling out the bottom of the lathe bed to accept a leadscrew. I made a carriage that matched the pattern of the ways on the lathe bed and had a dovetail for the crossslide. The cross-slide then had a simple fixed tool post that could hold 1/4" tool steel blanks. I made barrels with graduations and adjustable dials and handles for turning the leadscrews. The leadscrews were just normal 1/4-20 LH threaded rod, so not precision ground or anything, but they worked fine for me. I made nicer knobs to go on the end of the tailstock and the drawbar, and made a nice wooden base for it.
The original hand-drawings. Has nice artifacts of my poor young design.
Some fancy surface grinding to get the ways just right on the carriage.
The mostly finished carriage and cross-slide, with barrel, handles, and adjustable dials. The dial has an O-ring inside it that provides friction to hold it in place.


My Favourite Things
My Best Friends
- Notorious Big
- Shakur Pac
- Jermaine Cole
- Jay Carter
My Favourite Foods
- Rice Chicken
- Ugali beef
- Pizza
My best friends influence the music I listen to which is old school hiphop
My mum makes all my favourite dishes
Apart from that I also love researching
Here's a list of my favorite websites and theirlinks:
- The Hacker News Visit
- Wired Visit
- Songslover Visit


The Loop is a new way to discover new TV shows and movies based on what your friends enjoy. Each User can add movies, tv shows, and friends. They can also edit or delete any item added to the database.


History Treasure
Product Design, Research, Web
Leaning History has great value to the life of every individual, but nearly two thirds of Chinese students do not like history class or history study. They think history learning means doing huge work in remembering the facts from test book by rote, and rote kills most of students’ interests and their objective views of the history.
The History Treasure is a project to investigate a new form of online collaborative learning pattern: young people can find a new way to learn history by watching history documentary: they are able to find related materials by a vivid visual search tool, replenish stuff using a special Wiki, express their own opinion, and ask a question or discuss their favorite topics with using “Span tag”. We think learning through fun will develop young people’s natural curiosity.
User analysis, Synthesis, Personas & Scenario, Storyboarding, Paper Prototype
Jingyi Feng(Design), xiaoxi Jiang (CS), Qian Liu (Education)2011 Spring - Summer
User analysis
50 Students coming from middle schools in Hanghzou completed the questionnaires about their history learning experience. The interviews with them provided some crucial insights on how they study history.
From Questionnaire, students prefer arts, music and PE class to science subjects. However, according the interviews the fact is that they think there is too much study pressure on science courses, and the teaching method for arts, music and PE is much better than science courses'.
Most students like playing Computer game, watching Movie and surfing the internet as their entertainment. Through talking with them, we found two main things attracting the youth a lot, which are vivid visual elements and audio expressions.
Insight
The teenagers are not really hate the history itself. They just don’t like the way of learning history. And they find history taught in class is like the dogma, however in fact they want to find truth/things by themselves.
A new learning pattern which is able to ignite teen’s interest in history and encourage them to explore the knowledge not only by independent thinking but also through cooperation with their peers.
Personas & Scenarios
Storyboards
Solution idea in a nutshell:
- Interactive knowledge management
- Visual video search (information visualization)
- Collaborative video learning (CSCW)
Paper Prototype
Prototype for Visual Searching
Prototype of Collaborative video learning
Test & Research
In order to answer some questions generated by the Scenarios and to test our new learning system, a paper prototype was created. The prototype supports users in engaging with the device, while helping the team to capture users’ needs and make improvements for the using experience of History Treasure.
The Final Version
Homepage: 2 modes
Searching the video in Timeline Mode or Space Mode, or switching mode later as you like. Taking Genghis khan as an example —-
Timeline Mode
Timeline Mode: not only can you find the aimed film about Genghis, but also you can know other historical events at same time
Space Mode
Space Mode: you can find what happened in other parts/ other country at the same time as Genghis Khan’s. Thus, probably you could find the answer to why he conquered such wide areas in 13 century
SPAN MARK
SPAN MARK 1
Use two “Span Marks” to mark the video clip you want (we call this video clip SPAN)
SPAN MARK 2
Then the SPAN will be automatically saved in “Span List”. Thus you can use them later in Span Wiki and Discussion parts.
SPAN Wiki
- You can see the related knowledge in this SPAN Wiki box.
- You can add other appropriate points you learned from other studying recourse by adding SPAN.
DISCUSSION
- After watching a documentary film, you could express your point of view using the SPAN to create a topic which pertain to a specific clip
- You can discuss with your lovely peers online
Topic
Students can use TOPICS (asynchronous learning networks) to convey their questions or ideas; Teacher could use this way to come up with a topic for students to think of, and closely communicates with students online instead of directly assigning them work


Jun Hyun Moo's side confirms he's dating announcer hoobae Lee Hye Sung, 15-years younger
by beansssShortly after earlier dating reports between announcer/MC Jun Hyun Moo (42) and KBS rookie announcer Lee Hye Sung (27), Jun Hyun Moo's side has stepped up to confirm the news to be true.
According to Jun Hyun Moo's side on November 12, "It's true that the two stars are dating. They used to be close sunbae-hoobaes until recently, when their relationship progressed into a romantic one."
Congratulations to the couple!


 Proper training and socialization are among your dog's basic needs. It's important to start training your dog as soon as possible.
VISIT OFFICIAL WEBSITE
Website Templates
created with
Website Builder Software
.


| # | Who | = | Penalty | * | A | B | C | D | E | F |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | tienthanh214 | 6 | 187 | + 00:05 | + 00:29 | + 00:16 | + 00:06 | +2 00:57 | + 00:54 | |
| 2 | K1ppy | 6 | 236 | -2 | + 00:05 | + 00:13 | + 00:18 | + 00:28 | + 00:44 | +3 01:38 |
| 3 | Hassanosama | 6 | 314 | + 00:11 | + 00:26 | +1 00:35 | + 00:52 | + 01:22 | + 01:38 | |
| 4 | nashir | 6 | 346 | + 00:07 | +1 01:07 | + 00:21 | + 00:40 | + 01:52 | + 01:29 | |
| 5 | notCheating | 6 | 360 | + 00:04 | + 01:32 | + 00:21 | + 00:36 | + 01:35 | + 01:52 | |
| 6 | EconomYistik | 5 | 80 | + 00:01 | + 00:07 | + 00:11 | + 00:22 | + 00:39 | ||
| 7 | KagamiharaNadeshiko | 5 | 86 | + 00:03 | + 00:11 | + 00:15 | + 00:21 | + 00:36 | ||
| 8 | idontwannawin | 5 | 97 | + 00:03 | + 00:09 | + 00:13 | +1 00:20 | + 00:42 | ||
| 9 | qbao_asdasd | 5 | 116 | + 00:07 | + 00:15 | + 00:17 | + 00:25 | + 00:52 | -1 | |
| 10 | dailong | 5 | 134 | + 00:05 | + 00:28 | + 00:12 | + 00:38 | + 00:51 | ||
| 11 | Just_Josh | 5 | 144 | + 00:05 | + 00:39 | + 00:24 | + 00:11 | + 01:05 | ||
| 12 | Ramprosad_049 | 5 | 152 | + 00:06 | + 00:19 | + 00:28 | + 00:37 | + 01:02 | ||
| 13 | hhxxxxxx | 5 | 163 | + 00:05 | +1 00:29 | + 00:13 | + 00:37 | + 01:09 | ||
| 14 | mmh | 5 | 165 | + 00:04 | + 00:38 | + 00:19 | + 00:26 | +1 01:08 | ||
| 15 | kartel-mode | 5 | 166 | +3 : -1 | + 00:03 | + 00:11 | + 00:15 | + 00:18 | -2 | +4 01:19 |
| 16 | A_root_A | 5 | 169 | + 00:05 | + 00:36 | + 00:15 | + 00:49 | + 01:04 | ||
| 17 | tevdore | 5 | 170 | + 00:05 | + 00:26 | + 00:15 | +1 00:38 | + 01:16 | ||
| 18 | lsl | 5 | 175 | + 00:06 | + 00:20 | + 00:26 | + 00:34 | +1 01:19 | ||
| 19 | I_love_Lana_Del_Rey | 5 | 176 | + 00:08 | + 00:15 | +1 00:21 | +1 00:37 | +1 01:05 | -1 | |
| 19 | doromaanim | 5 | 176 | + 00:04 | + 00:13 | + 00:20 | + 00:56 | + 01:23 | ||
| 21 | MadKeinRocket | 5 | 181 | + 00:08 | + 00:24 | + 00:15 | +1 00:38 | + 01:26 | ||
| 22 | sahdsg | 5 | 182 | + 00:11 | + 00:23 | + 00:34 | + 00:40 | +1 01:04 | ||
| 23 | javatemplate | 5 | 183 | + 00:04 | + 00:20 | + 00:12 | +1 00:40 | -3 | +1 01:27 | |
| 24 | ostroumov | 5 | 184 | + 00:05 | + 00:25 | + 00:13 | + 00:54 | + 01:27 | ||
| 25 | xfx98 | 5 | 185 | + 00:15 | + 00:25 | + 00:09 | + 00:34 | +1 01:32 | ||
| 25 | fuad036 | 5 | 185 | + 00:11 | + 00:47 | + 00:18 | + 00:26 | + 01:23 | ||
| 25 | oisdoaiu | 5 | 185 | + 00:14 | + 00:27 | + 00:36 | + 00:44 | + 01:04 | ||
| 28 | NSei | 5 | 187 | + 00:03 | + 00:12 | + 00:19 | + 00:24 | +6 01:09 | ||
| 28 | violet.evergarden | 5 | 187 | + 00:08 | + 00:25 | + 00:16 | + 00:31 | + 01:47 | ||
| 30 | Cymbals | 5 | 188 | + 00:07 | + 00:52 | + 00:20 | + 00:26 | + 01:23 | ||
| 30 | harsh1599 | 5 | 188 | + 00:04 | + 00:25 | + 00:13 | + 00:38 | +1 01:38 | ||
| 32 | zifeiy | 5 | 189 | + 00:05 | + 00:20 | + 00:25 | +1 00:37 | +1 01:22 | -1 | |
| 33 | iit_ya_ism | 5 | 191 | + 00:06 | + 00:17 | + 00:24 | + 00:45 | + 01:39 | ||
| 33 | lama23 | 5 | 191 | + 00:06 | + 00:23 | + 00:14 | + 00:43 | + 01:45 | ||
| 33 | rk957019 | 5 | 191 | + 00:11 | + 00:24 | + 00:31 | + 00:43 | + 01:22 | ||
| 36 | Leonardo_Paes | 5 | 194 | + 00:05 | + 00:26 | + 00:11 | +2 00:57 | + 01:15 | ||
| 37 | 53_Love_92 | 5 | 197 | +1 00:17 | + 00:42 | + 00:07 | + 00:13 | +2 01:28 | -2 | |
| 38 | wangyiming123 | 5 | 198 | + 00:05 | + 00:27 | + 00:18 | + 00:37 | + 01:51 | ||
| 39 | onlyyoulove3 | 5 | 200 | + 00:26 | + 00:49 | + 00:34 | + 00:15 | +1 01:06 | ||
| 40 | huainan_marquis | 5 | 201 | + 00:09 | + 00:20 | +1 00:39 | + 00:48 | + 01:15 | ||
| 41 | sss | 5 | 203 | + 00:05 | + 00:20 | + 00:13 | +2 00:34 | +1 01:41 | ||
| 42 | YanBee | 5 | 205 | + 00:11 | + 00:30 | + 00:19 | + 00:48 | + 01:37 | ||
| 43 | szechuan_sauce | 5 | 207 | + 00:05 | + 00:26 | + 00:13 | + 00:42 | +1 01:51 | ||
| 43 | j2v | 5 | 207 | + 00:04 | + 01:16 | + 00:25 | + 00:31 | +1 01:01 | ||
| 45 | Robin | 5 | 208 | + 00:05 | + 00:24 | + 00:32 | + 00:47 | + 01:40 | ||
| 45 | Precision | 5 | 208 | + 00:16 | + 00:25 | + 00:37 | + 00:47 | + 01:23 | ||
| 47 | stillnotyet | 5 | 210 | + 00:05 | + 00:21 | + 00:27 | +2 01:00 | + 01:17 | ||
| 48 | andrianovigor | 5 | 212 | + 00:05 | + 00:22 | + 00:32 | +1 00:49 | +1 01:24 | ||
| 48 | Maroon512 | 5 | 212 | + 00:03 | + 00:16 | + 00:19 | + 00:26 | +6 01:28 | ||
| 50 | kkqq | 5 | 213 | + 00:04 | + 00:19 | + 00:26 | + 00:33 | +3 01:41 | ||
| 51 | Maxymilian | 5 | 214 | + 00:07 | + 00:22 | + 00:41 | + 00:54 | + 01:30 | ||
| 51 | its_time | 5 | 214 | + 00:08 | + 00:21 | +2 00:40 | + 00:37 | +2 01:08 | ||
| 53 | Taran106 | 5 | 215 | + 00:08 | + 00:24 | + 00:33 | + 00:49 | +1 01:31 | ||
| 54 | DuocCuaLo | 5 | 216 | + 00:04 | + 00:49 | + 00:24 | + 00:31 | +1 01:38 | ||
| 55 | _comeback | 5 | 220 | + 00:18 | + 00:31 | + 00:22 | + 00:34 | +4 01:15 | ||
| 56 | nyamaga | 5 | 221 | + 00:05 | + 00:27 | + 00:10 | + 00:48 | +2 01:51 | ||
| 57 | xiaoshizhan | 5 | 225 | + 00:09 | + 00:22 | + 00:31 | + 00:41 | +3 01:32 | ||
| 57 | coderankush | 5 | 225 | + 00:05 | + 00:16 | + 00:22 | +2 01:05 | + 01:37 | ||
| 59 | SMani24 | 5 | 226 | + 00:07 | + 00:21 | + 00:29 | + 00:48 | +2 01:41 | ||
| 60 | bit_lhj | 5 | 227 | + 00:16 | + 00:25 | +1 00:31 | +1 00:46 | +1 01:19 | ||
| 61 | vxpsn | 5 | 228 | + 00:03 | + 00:45 | + 00:12 | + 00:29 | +2 01:59 | ||
| 62 | robivirt | 5 | 231 | +2 00:11 | + 00:19 | + 00:24 | + 00:35 | +4 01:22 | ||
| 62 | Ghost_Dragon | 5 | 231 | + 00:07 | + 00:20 | + 00:28 | +1 01:00 | + 01:46 | ||
| 64 | GrintonDH | 5 | 234 | + 00:05 | +2 00:46 | + 00:13 | + 01:02 | + 01:28 | ||
| 64 | pratikgk45 | 5 | 234 | + 00:09 | + 00:25 | + 00:18 | + 00:38 | +3 01:54 | ||
| 66 | piCoder314 | 5 | 235 | + 00:09 | + 00:24 | +1 00:43 | + 01:00 | + 01:29 | ||
| 67 | BarkovBG | 5 | 238 | + 00:10 | + 00:19 | + 00:25 | +1 01:59 | + 00:55 | ||
| 68 | vonatlus | 5 | 243 | + 00:08 | + 01:04 | + 00:22 | + 00:31 | + 01:58 | ||
| 69 | zzq520 | 5 | 244 | + 00:18 | + 00:31 | + 00:38 | + 00:43 | + 01:54 | ||
| 70 | KLOW | 5 | 246 | + 00:15 | +1 01:31 | + 00:24 | + 00:44 | + 01:02 | ||
| 70 | SuzushinaYuriko | 5 | 246 | + 00:09 | + 00:19 | + 00:26 | +1 00:48 | +4 01:34 | ||
| 72 | Dragon_warrior7 | 5 | 247 | + 00:10 | + 01:16 | + 00:21 | + 00:41 | + 01:39 | ||
| 73 | anujsingh14 | 5 | 248 | + 00:09 | + 00:57 | + 00:33 | + 00:31 | +1 01:48 | ||
| 74 | Harold-Finch | 5 | 252 | + 00:06 | + 00:17 | + 00:30 | +1 00:53 | +2 01:56 | ||
| 75 | CaNDidaTE_FaSTer | 5 | 256 | + 00:06 | + 00:44 | + 00:13 | + 00:53 | +3 01:50 | ||
| 76 | Asrapogorgon | 5 | 258 | + 00:07 | + 00:48 | + 00:28 | + 00:56 | + 01:59 | ||
| 77 | lduxiewenguang | 5 | 260 | + 00:16 | + 01:16 | + 00:09 | + 00:43 | +1 01:46 | ||
| 77 | AfakeOneman233 | 5 | 260 | + 00:04 | + 00:42 | + 00:24 | + 00:32 | +4 01:58 | ||
| 77 | GeorgeRaouf | 5 | 260 | + 00:20 | + 00:51 | + 00:25 | +1 01:00 | + 01:34 | ||
| 80 | citsimitpo | 5 | 261 | + 00:04 | + 00:45 | +1 00:34 | +2 01:23 | + 01:05 | ||
| 81 | Yoo_booy | 5 | 262 | + 00:09 | + 00:27 | + 00:37 | +1 01:07 | + 01:52 | ||
| 81 | BanazadehAria | 5 | 262 | + 00:03 | + 00:12 | +3 00:54 | + 00:28 | +3 01:45 | ||
| 83 | muzzle | 5 | 263 | + 00:10 | + 00:49 | + 00:33 | +1 01:10 | + 01:31 | ||
| 84 | akkipoonia | 5 | 268 | + 00:08 | + 00:28 | +1 00:37 | + 00:47 | +2 01:58 | ||
| 85 | 3JlOu_XJlE6yWEK | 5 | 272 | + 00:03 | + 00:56 | + 00:10 | + 01:48 | + 01:35 | ||
| 85 | staler444 | 5 | 272 | -1 | + 00:10 | + 00:27 | + 00:50 | + 01:10 | + 01:55 | |
| 87 | zhouxiansheng | 5 | 274 | + 00:19 | + 00:25 | + 00:30 | + 00:54 | +3 01:56 | ||
| 88 | risubaba | 5 | 278 | + 00:05 | + 00:41 | + 00:17 | +4 01:02 | + 01:53 | ||
| 89 | shagarwal | 5 | 281 | + 00:16 | + 00:50 | + 00:33 | + 01:12 | + 01:50 | ||
| 90 | LoveLYQ | 5 | 284 | + 00:07 | + 00:19 | + 00:27 | +4 01:22 | + 01:49 | ||
| 91 | Ygg_Drasil | 5 | 287 | + 00:09 | + 00:27 | + 00:18 | +1 01:56 | + 01:47 | ||
| 92 | trannhathoang8678 | 5 | 290 | +3 00:31 | + 00:52 | +1 00:13 | + 00:22 | +3 01:42 | ||
| 92 | MinecraftFuns | 5 | 290 | + 00:18 | + 00:31 | +1 00:42 | + 01:14 | + 01:55 | ||
| 94 | Richita | 5 | 291 | + 00:06 | + 00:21 | + 00:30 | +2 01:05 | +4 01:49 | ||
| 95 | Oceil | 5 | 296 | +1 00:14 | + 00:40 | + 00:33 | +1 01:23 | + 01:46 | ||
| 95 | StefDude | 5 | 296 | + 00:21 | + 00:47 | + 00:45 | + 00:58 | +2 01:45 | ||
| 97 | octocoder | 5 | 297 | + 00:05 | + 00:19 | +1 00:36 | +5 01:09 | +1 01:38 | ||
| 98 | liushengfeng_2023 | 5 | 304 | + 00:09 | + 01:49 | + 00:33 | +2 00:55 | + 01:18 | ||
| 99 | abhinash2k16 | 5 | 306 | + 00:25 | + 01:20 | + 00:24 | + 00:42 | +2 01:55 | ||
| 100 | tomo0608 | 5 | 307 | + 00:10 | + 01:14 | + 00:25 | + 00:46 | +4 01:52 | ||
| 101 | vok8 | 5 | 313 | + 00:12 | + 00:33 | +3 01:06 | +1 01:12 | + 01:30 | ||
| 102 | DrJekyll | 5 | 319 | + 00:16 | + 00:34 | +1 00:57 | + 01:23 | + 01:59 | ||
| 103 | VladKov | 5 | 321 | + 00:03 | + 00:55 | + 00:20 | + 00:34 | +9 01:59 | ||
| 104 | Tocaloid | 5 | 322 | + 00:24 | + 00:33 | + 00:39 | +2 01:04 | +3 01:52 | ||
| 105 | dragosv | 5 | 336 | + 00:15 | + 00:39 | + 01:05 | +2 01:20 | + 01:57 | ||
| 106 | Denx24x | 5 | 345 | + 00:10 | + 01:55 | +1 01:36 | + 00:29 | + 01:25 | ||
| 107 | AMeyburgh | 5 | 360 | + 00:05 | +1 01:17 | +1 00:22 | +3 00:52 | +5 01:44 | ||
| 108 | Freyja923 | 5 | 408 | + 00:27 | + 00:58 | +2 01:56 | +1 01:59 | + 00:58 | ||
| 109 | Tata_Simonyan | 5 | 426 | + 01:01 | + 01:10 | +1 01:15 | + 01:24 | +1 01:56 | ||
| 110 | yuuechka | 5 | 550 | -21 | + 01:45 | + 01:47 | + 01:49 | + 01:51 | + 01:58 | |
| 111 | excyme | 4 | 54 | + 00:03 | + 00:11 | + 00:17 | + 00:23 | -8 | ||
| 112 | KISL_ | 4 | 56 | + 00:03 | + 00:09 | + 00:24 | + 00:20 | -7 | ||
| 113 | kiomi | 4 | 61 | + 00:03 | + 00:14 | + 00:20 | + 00:24 | -3 | ||
| 114 | Pawan_29 | 4 | 62 | + 00:06 | + 00:28 | + 00:09 | + 00:19 | |||
| 115 | dogrose | 4 | 67 | + 00:08 | + 00:20 | + 00:12 | + 00:27 | -4 | ||
| 115 | Khoda | 4 | 67 | + 00:03 | + 00:13 | + 00:18 | +1 00:23 | |||
| 117 | tourist_seconde | 4 | 71 | + 00:08 | + 00:24 | + 00:29 | + 00:10 | |||
| 118 | tumaryui | 4 | 73 | + 00:06 | + 00:38 | + 00:10 | + 00:19 | -3 | ||
| 119 | user060804 | 4 | 75 | + 00:05 | + 00:12 | + 00:26 | + 00:32 | -7 | ||
| 120 | Jamom | 4 | 79 | + 00:04 | + 00:26 | + 00:09 | + 00:40 | -6 | ||
| 120 | mohnnad | 4 | 79 | + 00:04 | + 00:16 | +1 00:21 | + 00:28 | -6 | ||
| 120 | LLL564 | 4 | 79 | + 00:05 | + 00:20 | + 00:10 | + 00:44 | -4 | ||
| 123 | NCWu_dabo | 4 | 80 | + 00:13 | + 00:28 | + 00:08 | + 00:31 | -7 | ||
| 124 | deevroman | 4 | 83 | + 00:04 | + 00:15 | + 00:22 | + 00:42 | -1 | ||
| 125 |<PHONE_NUMBER>13 | 4 | 84 | + 00:09 | +1 00:33 | + 00:22 | + 00:10 | -14 | ||
| 125 | CHAOSCONTROL | 4 | 84 | + 00:08 | + 00:18 | + 00:25 | + 00:33 | -15 | ||
| 125 | Grey_Matter | 4 | 84 | + 00:04 | + 00:16 | + 00:24 | + 00:40 | |||
| 128 | Dilshod--Imomov | 4 | 86 | + 00:04 | + 00:22 | + 00:15 | +1 00:35 | -6 | ||
| 128 | ABID_MAHADI | 4 | 86 | + 00:08 | + 00:37 | + 00:17 | + 00:24 | -6 | ||
| 130 | gautam97 | 4 | 88 | + 00:03 | + 00:46 | + 00:11 | + 00:28 | -3 | ||
| 131 | Farzinium | 4 | 90 | + 00:07 | + 00:23 | + 00:41 | + 00:19 | -2 | ||
| 131 | DATVN | 4 | 90 | + 00:04 | + 00:45 | + 00:15 | + 00:26 | -2 | ||
| 133 | killua1zoldyck | 4 | 91 | + 00:07 | + 00:17 | + 00:25 | + 00:42 | -3 | ||
| 133 | Hossam.Yehia | 4 | 91 | + 00:04 | + 00:27 | + 00:11 | + 00:49 | |||
| 133 | talant110726 | 4 | 91 | + 00:07 | + 00:18 | + 00:26 | + 00:40 | -5 | ||
| 133 | -zzy- | 4 | 91 | + 00:03 | + 00:16 | + 00:25 | + 00:47 | -1 | ||
| 137 | horscchtey | 4 | 92 | + 00:08 | + 00:17 | + 00:24 | + 00:43 | |||
| 137 | PatrickOndreovici | 4 | 92 | + 00:05 | + 00:23 | + 00:28 | + 00:36 | -2 | ||
| 139 | Sanket17 | 4 | 93 | + 00:13 | + 00:29 | + 00:19 | + 00:32 | -1 | ||
| 139 | sarthakk_26 | 4 | 93 | + 00:05 | + 00:21 | + 00:13 | +1 00:44 | |||
| 139 | atom0410 | 4 | 93 | + 00:06 | + 00:18 | + 00:29 | + 00:40 | |||
| 139 | cherish_lin | 4 | 93 | + 00:08 | + 00:20 | + 00:26 | + 00:39 | |||
| 143 | soler | 4 | 94 | + 00:06 | + 00:30 | +1 00:14 | + 00:34 | -2 | ||
| 143 | mynk322.0 | 4 | 94 | + 00:07 | + 00:18 | + 00:26 | + 00:43 | -5 | ||
| 143 | CosminMorar | 4 | 94 | + 00:06 | + 00:28 | + 00:13 | + 00:47 | -6 | ||
| 146 | lightingStar | 4 | 95 | + 00:05 | + 00:13 | + 00:18 | +1 00:49 | |||
| 146 | nilesh8757 | 4 | 95 | + 00:06 | + 00:40 | + 00:19 | + 00:30 | |||
| 146 | sushant_verma | 4 | 95 | + 00:04 | + 00:17 | +1 00:25 | + 00:39 | -3 | ||
| 146 | KKKKK_ON | 4 | 95 | + 00:05 | + 00:18 | + 00:23 | +1 00:39 | -2 | ||
| 150 | 2020upOrange | 4 | 96 | + 00:12 | + 00:38 | + 00:19 | + 00:27 | -13 | ||
| 150 | SakshamK6 | 4 | 96 | + 00:09 | + 00:19 | + 00:28 | + 00:40 | -3 | ||
| 150 | sandy999 | 4 | 96 | + 00:05 | + 00:20 | + 00:30 | + 00:41 | -1 | ||
| 150 | mrsac7 | 4 | 96 | + 00:03 | + 00:22 | + 00:29 | + 00:42 | |||
| 154 | TediDinuta | 4 | 97 | + 00:06 | + 00:42 | +1 00:11 | + 00:28 | |||
| 154 | juanigsrz | 4 | 97 | + 00:04 | + 00:11 | +1 00:22 | +1 00:40 | -6 | ||
| 154 | codeguy12 | 4 | 97 | + 00:05 | + 00:19 | + 00:27 | + 00:46 | -3 | ||
| 157 | Yonashi_Kotoko | 4 | 98 | + 00:11 | + 00:29 | + 00:25 | + 00:33 | |||
| 157 | R4T | 4 | 98 | + 00:04 | + 00:29 | + 00:16 | + 00:49 | -3 | ||
| 159 | Maya | 4 | 99 | + 00:05 | + 00:17 | + 00:24 | + 00:53 | |||
| 159 | yaya_ya | 4 | 99 | + 00:08 | +1 00:27 | + 00:17 | + 00:37 | |||
| 159 | AliMskrc | 4 | 99 | + 00:08 | + 00:21 | + 00:26 | +1 00:34 | -8 | ||
| 162 | varsha38977 | 4 | 100 | + 00:05 | + 00:36 | + 00:14 | + 00:45 | |||
| 162 | Panji | 4 | 100 | + 00:14 | + 00:25 | + 00:06 | + 00:55 | -1 | ||
| 162 | Madad_Ali_Madad | 4 | 100 | + 00:05 | + 00:29 | + 00:13 | + 00:53 | -1 | ||
| 165 | angrysqrt3 | 4 | 101 | + 00:05 | + 00:32 | + 00:15 | + 00:49 | |||
| 165 | thebesttv | 4 | 101 | + 00:04 | + 00:18 | + 00:26 | + 00:53 | -2 | ||
| 165 | LengYun | 4 | 101 | +1 00:08 | + 00:28 | + 00:13 | + 00:42 | -7 | ||
| 168 | ZED_ | 4 | 102 | + 00:04 | + 00:13 | + 00:23 | + 01:02 | -3 | ||
| 168 | Grzez | 4 | 102 | + 00:05 | + 00:21 | + 00:31 | + 00:45 | -3 | ||
| 168 | Even_You_Brutus... | 4 | 102 | + 00:06 | + 00:26 | + 00:30 | + 00:40 | -5 | ||
| 171 | QFYNH | 4 | 103 | + 00:04 | + 00:36 | + 00:09 | + 00:54 | |||
| 171 | Vimmer | 4 | 103 | +1 : -1 | + 00:02 | + 00:10 | + 00:18 | +3 00:43 | -6 | |
| 171 | arjun_9426 | 4 | 103 | + 00:03 | + 00:21 | + 00:30 | + 00:49 | -2 | ||
| 171 | Beso.Managadze | 4 | 103 | + 00:06 | + 00:27 | + 00:30 | + 00:40 | -1 | ||
| 171 | amankrsingh | 4 | 103 | + 00:13 | + 00:42 | + 00:20 | + 00:28 | -3 | ||
| 176 | RitvikMittal | 4 | 104 | + 00:06 | + 00:25 | + 00:31 | + 00:42 | -2 | ||
| 176 | O_E | 4 | 104 | + 00:14 | + 00:21 | + 00:28 | + 00:41 | -10 | ||
| 178 | RIPinPeace | 4 | 105 | + 00:07 | + 00:31 | + 00:12 | +1 00:45 | -10 | ||
| 178 | amystar101 | 4 | 105 | + 00:07 | + 00:20 | + 00:28 | + 00:50 | -3 | ||
| 180 | HexA_DecImal | 4 | 106 | + 00:18 | + 00:30 | + 00:37 | + 00:21 | |||
| 180 | Suto82 | 4 | 106 | + 00:04 | + 00:14 | + 00:29 | + 00:59 | |||
| 182 | shikhar7s | 4 | 107 | + 00:09 | + 00:23 | + 00:30 | + 00:45 | -6 | ||
| 182 | Vianti | 4 | 107 | + 00:10 | + 00:23 | + 00:31 | + 00:43 | -1 | ||
| 182 | shubhangp5 | 4 | 107 | + 00:09 | + 00:25 | + 00:32 | + 00:41 | -1 | ||
| 182 | assali | 4 | 107 | + 00:03 | + 00:12 | + 00:18 | +2 00:54 | -4 | ||
| 186 | wanghaoze | 4 | 108 | + 00:06 | + 00:15 | + 00:20 | +3 00:37 | |||
| 186 | NikBoggi | 4 | 108 | + 00:04 | + 00:20 | + 00:29 | + 00:55 | -3 | ||
| 186 | lincolnx | 4 | 108 | -3 | + 00:05 | + 00:49 | + 00:13 | +1 00:31 | -4 | |
| 186 | alif_cse_ju | 4 | 108 | + 00:06 | + 00:20 | + 00:25 | +2 00:37 | -6 | ||
| 186 | _lucifer_ | 4 | 108 | + 00:08 | + 00:22 | + 00:30 | + 00:48 | |||
| 186 | Gareton | 4 | 108 | + 00:05 | + 00:17 | + 00:23 | +2 00:43 | -12 | ||
| 186 | RaunaqRoxx | 4 | 108 | + 00:02 | + 00:31 | + 00:16 | +1 00:49 | -4 | ||
| 186 | curved_cave | 4 | 108 | + 00:05 | + 00:19 | + 00:09 | +2 00:55 | -9 | ||
| 186 | MuhammadAl-Halaby | 4 | 108 | + 00:04 | + 00:21 | + 00:27 | + 00:56 | -7 | ||
| 195 | yashvardhan29 | 4 | 109 | + 00:04 | + 00:18 | + 00:26 | + 01:01 | -9 | ||
| 195 | faded11474 | 4 | 109 | + 00:06 | + 00:43 | + 00:20 | +1 00:30 | -4 | ||
| 195 | Rods | 4 | 109 | + 00:06 | + 00:20 | + 00:27 | + 00:56 | -3 | ||
| 195 | moidda | 4 | 109 | + 00:07 | + 00:38 | + 00:16 | + 00:48 | |||
| 195 | Teasgen | 4 | 109 | + 00:07 | + 00:17 | + 00:25 | +1 00:50 | -1 | ||
| 200 | katyaporay | 4 | 110 | + 00:08 | + 00:21 | + 00:30 | + 00:51 | -6 | ||
|
Accepted
Tried |
3846 4023 |
2652 2710 |
3042 3388 |
1254 2280 |
122 601 |
7 13 |


CoMEt Results
Significance Plot
[+]
Min. Edge Weight
δ
=
0
δ
selected by CoMEt
Marginal Probability Graph
Mutation Matrix


pox: utilities for filesystem exploration and automated builds
|| User Guide || Download || Tutorials || License ||
About Pox
Pox provides a collection of utilities for navigating and manipulating filesystems. This module is designed to facilitate some of the low level operating system interactions that are useful when exploring a filesystem on a remote host, where queries such as "what is the root of the filesystem?", "what is the user's name?", and "what login shell is preferred?" become essential in allowing a remote user to function as if they were logged in locally. While pox is in the same vein of both the os and shutil builtin modules, the majority of its functionality is unique and compliments these two modules.
Pox provides python equivalents of several unix shell commands such as "which" and "find". These commands allow automated discovery of what has been installed on an operating system, and where the essential tools are located. This capability is useful not only for exploring remote hosts, but also locally as a helper utility for automated build and installation.
Several high-level operations on files and filesystems are also provided. Examples of which are: finding the location of an installed python package, determining if and where the source code resides on the filesystem, and determining what version the installed package is.
Pox also provides utilities to enable the abstraction of commands sent to a remote filesystem. In conjunction with a registry of environment variables and installed utilites, pox enables the user to interact with a remote filesystem as if they were logged in locally.
Pox is part of pathos, a python framework for heterogenous computing. Pox is in active development, so any user feedback, bug reports, comments, or suggestions are highly appreciated. A list of known issues is maintained at http://mmckerns.github.io/project/pathos/query, with a public ticket list at https://github.com/uqfoundation/pox/issues.
Major Features
Pox provides utilities for discovering the user's environment::
- return the user's name, current shell, and path to user's home directory
- strip duplicate entries from the user's $PATH
- lookup and expand environment variables from ${VAR} to 'value'
Pox also provides utilities for filesystem exploration and manipulation::
- discover the path to a file, exectuable, directory, or symbolic link
- discover the path to an installed package
- parse operating system commands for remote shell invocation
- convert text files to platform-specific formatting
Current Release
This version is pox-0.2.2. You can download it here.
The latest stable release of pox is available from::
or::
or also:
Pox is distributed under a modified BSD license.
>>> import pox >>> print (pox.license())
Development Version
You can get the latest development version with all the shiny new features at::
Feel free to fork the github mirror of our svn trunk. If you have a new contribution, please submit a pull request.
More Information
Probably the best way to get started is to look at the tests that are provided within pox. See pox.tests for a set of scripts that demonstrate pox's ability to interact with the operating system. Pox utilities can also be run directly from an operating system terminal, using the pox_launcher.py script. The source code is also generally well documented, so further questions may be resolved by inspecting the code itself. Please also feel free to submit a ticket on github, or ask a question on stackoverflow (@Mike McKerns).
Pox is an active research tool. There are a growing number of publications and presentations that discuss real-world examples and new features of pox in greater detail than presented in the user's guide. If you would like to share how you use pox in your work, please post a link or send an email (to mmckerns at caltech dot edu).
Citation
If you use pox to do research that leads to publication, we ask that you
acknowledge use of pox by citing the following in your publication::
M.M. McKerns, L. Strand, T. Sullivan, A. Fang, M.A.G. Aivazis, "Building a framework for predictive science", Proceedings of the 10th Python in Science Conference, 2011; http://arxiv.org/pdf/1202.1056 Michael McKerns and Michael Aivazis, "pathos: a framework for heterogeneous computing", 2010- ; http://mmckerns.github.io/project/pathos
Please see http://mmckerns.github.io/project/pathos or http://arxiv.org/pdf/1202.1056 for further information.


Pokémon Go players can now battle Team Rocket leader Giovanni
Follow Polygon online:
by Julia LeeStarting today, Pokémon Go players can start a series of quests that finally lead up to the big bad behind Team Rocket himself: Giovanni.
A new Special Research Task set, “Looming in the Shadows,” has unlocked for players to complete. You’ll have to take down Team Rocket grunts from occupied PokéStops to find Mysterious Components. Once you assemble six Mysterious Components, it’ll turn into a Rocket Radar, so you can track down Team Go Rocket leaders Cliff, Sierra, and Arlo.
After beating the leaders in battle, players will have a chance to catch Shadow Pokémon with “special qualities,” though what this means isn’t exactly known yet. After completing the Special Research, players will be able to track down Giovanni and even get their hands on a Legendary Shadow Pokémon, Articuno.
Related
Niantic has been releasing Team Rocket content in Pokémon Go for the past few months, ranging from cosplayers “vandalizing” Pokémon Go ads in New York City to releasing cryptic broken messages. It seems like the story is finally reaching its conclusion with the release of this Special Research.


Author :- {{quote.author}}
{{quote.upvote}} | {{quote.downvote}}
Publisher by :- {{quote.name}}
This quote was posted {{quote.date|date|time}} days ago


{% extends "dlabsite/base.html" %} {% load staticfiles %} {% block description %} "Contact information for the Dosenbach Lab at Washington University in St. Louis School of Medicine" {% endblock %} {% block title %} Contact {% endblock %} {% block contact %} class="active" {% endblock %} {% block content %}
Please contact Kristen Scheidter, Clinical Research Study Assistant, at<EMAIL_ADDRESS>or<PHONE_NUMBER> for more information about participating in our research or if you have general research study questions.
Our Mailing Address:
Kristen Scheidter
Washington University School of Medicine
660 South Euclid Avenue
Campus Box 8111
St. Louis, MO 63110


{{> status-line}}
{{#account}}
{{#error_code}}
Error
Blot cannot sync the folder for {{blog.title}}. You can probably fix this by reconnecting to Dropbox. If you can't fix this, please contact support.
{{/error_code}}


Total contributors: {{count}}
{{astring|safe}}
To contribute here, please follow the steps below:
-
Login to GitHub and visit MERGE Project's GitHub repository
-
Fork the repository into your GitHub account.
-
In the forked repository, create a new file with
.json
format in the contributors
folder with your GitHub username as the filename.
For example, if my username is zeborg
, then my contributor filename will be zeborg.json
.
-
Copy and paste the following code in the file:
{
"name": "MY FULL NAME",
"course": "MY COURSE NAME (Eg. B.Tech CSE)",
"batch": "MY BATCH YEAR (Eg. 2019-23)",
"institution": "MY COLLEGE/UNIVERSITY'S NAME",
"skills_hobbies": ["SKILL 1", "SKILL 2", "SKILL 3", "HOBBY 1", "HOBBY 2"],
"about": "A FEW LINES ABOUT ME"
}
-
Replace the highlighted content according to your own details. For example, my details would look like:
{
"name": "Abhinav Sinha",
"course": "B.Tech CSE",
"batch": "2019-23",
"institution": "K.R. Mangalam University",
"skills_hobbies": ["Python", "C++", "HTML/CSS/JS", "Selenium Automation", "Reading", "PC Gaming"],
"about": "I like tea."
}
-
Commit the changes.
-
Add your profile picture in the
/static/avatars
folder with your GitHub username as the filename.
For example, if my profile picture is of .jpg
format, then the filename would be zeborg.jpg
.
-
Commit the changes.
-
Create a pull request from the forked repository to complete your contribution.
✚
An initiative by Code for Cause KRMU Chapter to encourage Open-Source contribution by students.
If you're a total newbie to open-source contribution, check out:
To find beginner-friendly open-source projects, check out:


8-9 June 2019, Plovdiv, Bulgaria
Donate and order TuxCon T-shirts
See you soon! For any inquiries please contact us at<EMAIL_ADDRESS>Donate and order TuxCon T-shirts
See you soon! For any inquiries please contact us at<EMAIL_ADDRESS>TuxCon is an annual event about free and open source software and hardware. The entrance is free for all visitors. TuxCon is a community event and it is organized by volunteers. The twitter hashtag of the event is #TuxCon.
Conference is scheduled during the first day of the event (Saturday, 8 June 2019). Workshops will take place at Olimex training during the second day of the event (Sunday, 9 June 2019).
Plovdiv, Bulgaria
25 Tsanko Diustabanov St,
Plovdiv, Bulgaria
Olimex Training Building
2, Pravda St.
Plovdiv, Bulgaria


A site for those who love to read to exchange thier personal library of books with other users. The app allows you to add books you want to exchange, search for books you would like to read, and connects you with other users who share the same love of reading. This application is built using Angular and Typescript.
Connects freelance workers and clients in need of specific service. In cities where For-Hire operates, use your app to request a service. When a nearby freelance workers accepts your request, your app displays an estimated time of arrival for the freelance workers heading to your location. This was built using handlebars.
Simplifies the process of recipe search by allowing the user to search recipes, add to shopping list, and locate grocery stores all within one app. Our custom ingredient search, as well as health and dietary restriction dropdowns, allow the users to search for a recipe that fits their needs. New in town? No problem. Search by location and find the grocery stores nearest you to by the items on your list.


Step1: counter++; At this step, the count value will be 0, it will increment after this step, it being post-increment operator
Step2: ++counter; At this point the count value is 1, and since this is a pre-increment operator, the count will now be 2
Step3: alert( counter ); This will give a value of 2
Step1: var n = 2; variable n has the value 2 now
Step2: n *= 3 + 5; This basically means n= n * (3+5);
Step3: This is = n*3 + n*5 = (2*3) + (2*5) = 16
a = 2
b = 2
c = 2
d = 1
This is so because when d = ++b; the value of d becomes 1, and then b changes tp 2
Step1: a=2;
Step2: var x= 1 +(a *= 2)
= 1 + (a= a *2)
= 1 + 4
= 5
var g = Math.max(a, b, c, d);
document.write(g);
OR
var n1 = Number(prompt("Enter first number"));
var n2 = Number(prompt("Enter second number"));
var n3 = Number(prompt("Enter third number"));
var n4 = Number(prompt("Enter fourth number"));
var greatest;
if(n1>n2 && n1>n3 && n1>n4){
greatest = n1;
}
else if(n2>n1 && n2>n3 && n2>n4){
greatest = n2;
}
else if(n3>n1 && n3>n2 && n3>n4){
greatest = n3;
}
else{
greatest = n4;
}
alert("greatest number from entered numbers is"+" "+greatest );
(a+b < 4) ? result = 'Below' : result = 'Over';
var a = +prompt('a?', '');
switch(a) {
case 0:
alert( 0 );
break;
case 1:
alert( 1 );
break;
case 2:
alert( '2,3' );
break;
case 3:
alert( '2,3' );
break;
default:
alert("goodbye");
}
var result, age = +prompt('age?', '');
(age <= 19 && age >= 13) ? result = 'teenager' : result = 'Not a teenager';
alert(result);
SWITCH CASE:
var day = +prompt('day?', '');
switch (day) {
case 1:
alert("It's Monday");
break;
case 2:
alert("It's Tuesday");
break;
case 3:
alert("It's Wednesday");
break;
case 4:
alert("It's Thursday");
break;
case 5:
alert("It's Friday");
break;
case 6:
alert("It's Saturday. It is a weekend");
break;
case 7:
alert("It's Sunday. It is a weekend");
break;
default:
alert("Not a valid day");
break;
}
IF ELSE:
var day = new Date();
var today = day.getDay();
if(today == 0){
alert("It is Sunday. yes, tomorrow is Monday :p");
}else if(today == 1){
alert("It is Monday");
}else if(today == 2){
alert("It is Tuesday");
}else if(today == 3){
alert("It is Wednesday");
}else if(today == 4){
alert("It is Thursday");
}else if(today == 5){
alert("It is Friday");
}else{
alert("The weekend is here. it's Saturday! Yayyy");
}
var d = new Date();
var time = d.getHours();
if(time >= 6 && time <=16){
document.body.style.backgroundColor = "yellow";
}
else if(time > 16 && time <20){
document.body.style.backgroundColor = "blue";
}
else if(time >=20 && time < 6){
document.body.style.backgroundColor = "black";
}
else{
alert("enter proper time");
}


I took 'E' a couple times in high school and never quite enjoyed it, probably because I never truly got real MDMA. Years later, after being on prescription paxil for a few months and then quitting, I decided to try MDMA in an attempt to get rid of the paxil withdrawals/side effects and deal with my anxiety (the main reason I was on paxil in the first place). Before I go on, I should mention that I was basing my experiment on a few scientific studies I had read analyzing the possible benefits of MDMA and MDMA+SSRI's in treating anxiety, and a study that mentioned that SSRI's might actually cancel out the negative side effects (specifically lack of serotonin production) of MDMA, so I was eager to see for myself.
I took a green euro pill (supposedly tested at an est. 90%MDMA 10%meth mix) and approx. an hour later took 20mg of paxil. The person I was with took a e-pill of the same type, but did not take any paxil. Throughout the night we both rolled hard, but I rolled happier. My roll did not consist of ANY negative feelings, while the girl I was with got a mild headache when we began to come down. The next day she was exhausted and felt a little 'e-tarded', yet I felt refreshed like I had reached a new level of life. For the following weeks I also noticed that my anxiety was significantly reduced and everything seemed much happier in general.
Since this little experiment I have combined MDMA with paxil several times, and now I do not EVER take paxil without E and never take E without paxil. So far, every time has been the same - EXCELLENT, with no negative side effects.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


class AS480Strategy : FormatStrategy
MediaResizer Class: AS480Strategy Created by Pyxis on 2017-11-23. |
|
class AS720Strategy : FormatStrategy
MediaResizer Class: AS720Strategy Created by Pyxis on 2017-11-23. |
|
class AS960Strategy : MediaFormatStrategy
MediaResizer Class: AS960Strategy Created by Pyxis on 2017-11-23. |
|
abstract class FormatStrategy : MediaFormatStrategy
MediaResizer Class: FormatStrategy Created by Pyxis on 2017-11-23. |


SPWN
- Any%
Leaderboard
Must contain more than 5 symbols
1.
sertdfyguhi
0:01:12
10/15/2021
2.
LiteCave
0:15:18
10/16/2021
3.
bombie
0:22:00
10/14/2021


[gecode-users] BoolExpr example
Mikael Zayenz Lagerkvist
zayenz at gmail.com
Mon Nov 24 07:58:48 CET 2008
On Mon, Nov 24, 2008 at 2:27 AM, Malcolm Ryan <malcolmr at cse.unsw.edu.au> wrote:
> I'm sorry. I still don't completely understand how to us post. Say I
> have a constraint like:
>
> ((X1 == Y1) && (X2 == Y2) && ... && (XN == YN)) --> L > 0
>
> for general 'N'.
>
> What I've got is:
>
> BoolVar allEqual;
> BoolVarArgs eq = BoolVarArgs(nRobots);
> for (int r = 0; r < N; r++) {
> eq[r] = post(space, ~(X[r] == Y[r]));
> }
> rel(space, BOT_AND, noop, allEqual);
>
> post(space, !allEqual || (L > 0));
>
> But I'm getting compilation errors on both the 'post' lines. What
> should they be? Why?
Assuming that
a) space is a pointer to a Space
b) L is an IntVar
c) X and Y are IntVarArrays och IntVarArgs of length N
d) N is the same as nRobots
e) you mean eq instead of noop
the above code compiles fine in gecode-2.2.0 for. There are two errors
however. 1) since you didn't put tt(..) around the expression in the
last post, which means that it just reifies the expression and returns
the variable. It should be
post(space, tt(!allEqual || (L > 0)));
2) The allEqual-variable will not be initialized. You should write it
BoolVar allEqual(space, 0, 1);
As a matter of style, in C++ you should write
BoolVarArgs eq(nRobots);
for automatic variables.
> Finding documentation on 'post' is tricky, since there are so many
> different instances of this function across many files. I'm a bit
> uncomfortable with the fact that sometimes it adds an actual
> constraint and sometimes it just creates a reified BoolVar. How do I
> know which case is which?
While there are a number of versions of post, they are all quite
similar. Versions of the form
post(Space* home, expression)
will post propagators for the expression, and return the resulting
value. Versions of the form
post(Space* home, relation)
will post propagators for the relation, but will not return anything.
Cheers,
Mikael
--
Mikael Zayenz Lagerkvist, http://www.ict.kth.se/~zayenz/
More information about the gecode-users
mailing list


Easy Batch allows you to schedule your batch application with the popular Java scheduler Quartz.
In this section, we will introduce how to schedule a Easy Batch instance using the provided EasyBatchScheduler
API.
First, you need to add the easybatch-tools
module to your project dependencies:
<dependency> <groupId>io.github.benas</groupId> <artifactId>easybatch-tools</artifactId> <version>${version}</version> </dependency>
Then you can use the EasyBatchScheduler
API to schedule Easy Batch executions:
scheduleAt(Date when)
scheduleAtWithInterval(Date when, int interval)
scheduleCron(String cronExpression)
For all details about these APIs, please refer to the Javadoc.
You can find here a complete tutorial that schedules the Hello World batch to run every hour.
To run the tutorial with maven, launch the following command in the easybatch-tutorials
directory :
mvn clean install exec:java -PrunQuartzTutorial