Updated to tzdata version 2013a (mm.icann.org/pipermail/tz-announce/2013-March/000009.html).
Fix TimezoneTransitionInfo#eql? incorrectly returning false when running on Ruby 2.0.
Change eql? and == implementations to test the class of the passed in object instead of checking individual properties with ‘respond_to?’.
Updated to tzdata version 2012i (mm.icann.org/pipermail/tz-announce/2012-November/000007.html).
Updated to tzdata version 2012h (mm.icann.org/pipermail/tz-announce/2012-October/000006.html).
Updated to tzdata version 2012c (article.gmane.org/gmane.comp.time.tz/4859).
Updated to tzdata version 2012b (article.gmane.org/gmane.comp.time.tz/4756).
Updated to tzdata version 2011n (article.gmane.org/gmane.comp.time.tz/4434).
Updated to tzdata version 2011k (article.gmane.org/gmane.comp.time.tz/4084).
Updated to tzdata version 2011h (article.gmane.org/gmane.comp.time.tz/3814).
Allow the default value of the local_to_utc and period_for_local dst parameter to be specified globally with a Timezone.default_dst attribute. Thanks to Kurt Werle for the suggestion and patch.
Add support for Ruby 1.9.3 (trunk revision 31668 and later). Thanks to Aaron Patterson for reporting the problems running on the new version. Closes #29233.
Updated to tzdata version 2011g (article.gmane.org/gmane.comp.time.tz/3758).
Updated to tzdata version 2011e (article.gmane.org/gmane.comp.time.tz/3707).
Updated to tzdata version 2011d (article.gmane.org/gmane.comp.time.tz/3662).
Updated to tzdata version 2010o (article.gmane.org/gmane.comp.time.tz/3473).
Updated to tzdata version 2010l (article.gmane.org/gmane.comp.time.tz/3354).
Corrected file permissions issue with 0.3.21 release.
Updated to tzdata version 2010j (article.gmane.org/gmane.comp.time.tz/3225).
Change invalid timezone check to exclude characters not used in timezone identifiers and avoid ‘character class has duplicated range’ warnings with Ruby 1.9.2.
Ruby 1.9.2 has deprecated “require ‘rational’”, but older versions of Ruby need rational to be required. Require rational only when the Rational module has not already been loaded.
Remove circular requires (now a warning in Ruby 1.9.2). Instead of using requires in each file for dependencies, tzinfo.rb now requires all tzinfo files. If you were previously requiring files within the tzinfo directory (e.g. require ‘tzinfo/timezone’), then you will now have to require ‘tzinfo’ instead.
Updated to tzdata version 2010i (article.gmane.org/gmane.comp.time.tz/3202).
Updated to tzdata version 2010h (article.gmane.org/gmane.comp.time.tz/3188).
Updated to tzdata version 2010g (article.gmane.org/gmane.comp.time.tz/3172).
Updated to tzdata version 2010e (article.gmane.org/gmane.comp.time.tz/3128).
Support the use of ‘-’ to denote ‘0’ as an offset in the tz data files. Used for the first time in the SAVE field in tzdata v2009u.
Updated to tzdata version 2009u (article.gmane.org/gmane.comp.time.tz/3053).
Updated to tzdata version 2009p (article.gmane.org/gmane.comp.time.tz/2953).
Added a description to the gem spec.
List test files in test_files instead of files in the gem spec.
Updated to tzdata version 2009l (article.gmane.org/gmane.comp.time.tz/2818).
Include current directory in load path to allow running tests on Ruby 1.9.2, which doesn’t include it by default any more.
Updated to tzdata version 2009f (article.gmane.org/gmane.comp.time.tz/2668).
Untaint the timezone module filename after validation to allow use with $SAFE == 1 (e.g. under mod_ruby). Thanks to Dmitry Borodaenko for the suggestion. Closes #25349.
Updated to tzdata version 2008i (article.gmane.org/gmane.comp.time.tz/2440).
Updated to tzdata version 2008g (article.gmane.org/gmane.comp.time.tz/2335).
Support Ruby 1.9.0-5. Rational.new! has now been removed in Ruby 1.9. Only use Rational.new! if it is available (it is preferable in Ruby 1.8 for performance reasons). Thanks to Jeremy Kemper and Pratik Naik for reporting this. Closes #22312.
Apply a patch from Pratik Naik to replace assert calls that have been deprecated in the Ruby svn trunk. Closes #22308.
Updated to tzdata version 2008f (article.gmane.org/gmane.comp.time.tz/2293).
Updated to tzdata version 2008c (article.gmane.org/gmane.comp.time.tz/2183).
Support loading timezone data in the latest trunk versions of Ruby 1.9. Rational.new! is now private, so call it using Rational.send :new! instead. Thanks to Jeremy Kemper and Pratik Naik for spotting this. Closes #19184.
Prevent warnings from being output when running Ruby with the -v or -w command line options. Thanks to Paul McMahon for the patch. Closes #19719.
Updated to tzdata version 2008b (article.gmane.org/gmane.comp.time.tz/2149).
Support loading timezone data in Ruby 1.9.0. Use DateTime.new! if it is available instead of DateTime.new0 when constructing transition times. DateTime.new! was added in Ruby 1.8.6. DateTime.new0 was removed in Ruby 1.9.0. Thanks to Joshua Peek for reporting this. Closes #17606.
Modify some of the equality test cases to cope with the differences between Ruby 1.8.6 and Ruby 1.9.0.
Updated to tzdata version 2008a (article.gmane.org/gmane.comp.time.tz/2071).
Updated to tzdata version 2007k (article.gmane.org/gmane.comp.time.tz/2029).
Removed deprecated RubyGems autorequire option.
Updated to tzdata version 2007h (article.gmane.org/gmane.comp.time.tz/1878).
Updated to tzdata version 2007g (article.gmane.org/gmane.comp.time.tz/1810).
Updated to tzdata version 2006p (article.gmane.org/gmane.comp.time.tz/1358).
Updated to tzdata version 2006n (article.gmane.org/gmane.comp.time.tz/1288). Note that this release of tzdata removes the country Serbia and Montenegro (CS) and replaces it with separate Serbia (RS) and Montenegro (ME) entries.
Remove colon from case statements to avoid warning in Ruby 1.8.5. #5198.
Use temporary variable to avoid dynamic string warning from rdoc.
Updated to tzdata version 2006j (article.gmane.org/gmane.comp.time.tz/1175).
New timezone data format. Timezone data now occupies less space on disk and takes less memory once loaded. #4142, #4144.
Timezone data is defined in modules rather than classes. Timezone instances returned by Timezone.get are no longer instances of data classes, but are instead instances of new DataTimezone and LinkedTimezone classes.
Timezone instances can now be used with Marshal.dump and Marshal.load. #4240.
Added a Timezone.get_proxy method that returns a TimezoneProxy object for a given identifier.
Country index data is now defined in a single module that is independent of the Country class implementation.
Country instances can now be used with Marshal.dump and Marshal.load. #4240.
Country has a new zone_info method that returns CountryTimezone objects containing additional information (latitude, longitude and a description) relating to each Timezone. #4140.
Timezones within a Country are now returned in an order that makes geographic sense.
The zdumptest utility now checks local to utc conversions in addition to utc to local conversions.
eql? method defined on Country and Timezone that is equivalent to ==.
with no identifier method.
with no code method.
hash method defined on Country that returns the hash of the code.
hash method defined on Timezone that returns the hash of the identifier.
Miscellaneous API documentation corrections and improvements.
Timezone definition and indexes are now excluded from rdoc (the contents were previously ignored with #:nodoc: anyway).
Removed no longer needed #:nodoc: directives from timezone data files (which are now excluded from the rdoc build).
Installation of the gem now causes rdoc API documentation to be generated. #4905.
When optimizing transitions to generate zone definitions, check the UTC and standard offsets separately rather than just the total offset to UTC. Fixes an incorrect abbreviation issue with Europe/London, Europe/Dublin and Pacific/Auckland.
Eliminated unnecessary .nil? calls to give a minor performance gain.
Timezone.all and Timezone.all_identifiers now return all the Timezones/identifiers rather than just those associated with countries. #4146.
Added all_data_zones, all_data_zone_identifiers, all_linked_zones and all_linked_zone_identifiers class methods to Timezone.
Added a strftime method to Timezone that converts a time in UTC to local time and then returns it formatted. %Z is replaced with the Timezone abbreviation for the given time (for example, EST or EDT). #4143.
Fix escaping of quotes in TZDataParser. This affected country names and descriptions of timezones within countries.
Use class-scoped instance variables to store the Timezone identifier and singleton instance. Loading a linked zone no longer causes the parent zone’s identifier to be changed. The instance method of a linked zone class also now returns an instance of the linked zone class rather than the parent class. #4502.
The zdumptest utility now compares the TZInfo zone identifier with the zdump zone identifier.
The zdumptestall utility now exits if not supplied with enough parameters.
Updated to tzdata version 2006g (article.gmane.org/gmane.comp.time.tz/1008).
Fix a performance issue caused in 0.2.0 with Timezone.local_to_utc. Conversions performed on TimeOrDateTime instances passed to <=> are now cached as originally intended. Thanks to Michael Smedberg for spotting this.
Fix a performance issue with the local_to_utc period search algorithm originally implemented in 0.1.0. The condition that was supposed to cause the search to terminate when enough periods had been found was only being evaluated in a small subset of cases. Thanks to Michael Smedberg and Jamis Buck for reporting this.
Added abbreviation as an alias for TimezonePeriod.zone_identifier.
Updated to tzdata version 2006d (article.gmane.org/gmane.comp.time.tz/936).
Ignore any offset in DateTimes passed in (as is already done for Times). All of the following now refer to the same UTC time (15:40 on 17 April 2006). Previously, the DateTime in the second line would have been interpreted as 20:40.
tz.utc_to_local(DateTime.new(2006, 4, 17, 15, 40, 0)) tz.utc_to_local(DateTime.new(2006, 4, 17, 15, 40, 0).new_offset(Rational(5, 24))) tz.utc_to_local(Time.utc(2006, 4, 17, 15, 40, 0)) tz.utc_to_local(Time.local(2006, 4, 17, 15, 40, 0))
Use timestamps rather than DateTime objects in zone files for times between 1970 and 2037 (the range of Time).
Don’t convert passed in Time objects to DateTime in most cases (provides a substantial performance improvement).
Allow integer timestamps (time in seconds since 1970-1-1) to be used as well as Time and DateTime objects in all public methods that take times as parameters.
Tool to compare TZInfo conversions with output from zdump.
TZDataParser zone generation algorithm rewritten. Now based on the zic code. TZInfo is now 100% compatible with zic/zdump output.
Riyadh Solar Time zones now included again (generation time has been reduced with TZDataParser changes).
Use binary mode when writing zone and country files to get Unix (n) new lines.
Omit unnecessary quotes in zone identifier symbols.
Omit the final transition to DST if there is a prior transition in the last year processed to standard time.
Updated to tzdata version 2006c (article.gmane.org/gmane.comp.time.tz/920).
Add lib directory to the load path when tzinfo is required. Makes it easier to use tzinfo gem when unpacked to vendor directory in rails.
Updated to tzdata version 2006a (article.gmane.org/gmane.comp.time.tz/738).
build_tz_classes rake task now handles running svn add and svn delete as new timezones and countries are added and old ones are removed.
Return a better error when attempting to use a Timezone instance that was constructed with Timezone.new(nil). This will occur when using Rails’ composed_of. When the timezone identifier in the database is null, attempting to use the Timezone will now result in an UnknownTimezone exception rather than a NameError.
Timezones that are defined by a single unbounded period (e.g. UTC) now work again.
Updated to tzdata version 2005q.
period_for_local and local_to_utc now allow resolution of ambiguous times (e.g. when switching from daylight savings to standard time). The behaviour of these methods when faced with an ambiguous local time has now changed. If you are using these methods you should check the documentation. Thanks to Cliff Matthews for suggesting this change.
Added require ‘date’ to timezone.rb (date isn’t loaded by default in all environments).
Use rake to build packages and documentation.
License file is now included in gem distribution.
Dates in definitions stored as Astronomical Julian Day numbers rather than as civil dates (improves performance creating DateTime instances).
Added options to TZDataParser to allow generation of specific zones and countries.
Moved TimezonePeriod class to timezone_period.rb.
New TimezonePeriodList class to store TimezonePeriods for a timezone and perform searches for periods.
Timezones now defined using blocks. TimezonePeriods are only instantiated when they are needed. Thanks to Jamis Buck for the suggestion.
Add options to TZDataParser to allow exclusion of specific zones and countries.
Exclude the Riyadh Solar Time zones. The rules are only for 1987 to 1989 and take a long time to generate and process. Riyadh Solar Time is no longer observed.
The last TimezonePeriod for each Timezone is now written out with an unbounded rather than arbitrary end time.
Construct the Rational offset in TimezonePeriod once when the TimezonePeriod is constructed rather than each time it is needed.
Timezone and Country now keep a cache of loaded instances to avoid running require which can be slow on some platforms.
Updated to tzdata version 2005n.
Removed debug output accidentally included in the previous release.
Fixed a bug in the generation of friendly zone identifiers (was inserting apostrophes into UTC, GMT, etc).
Fixed Country <=> operator (was comparing non-existent attribute)
Fixed Timezone.period_for_local error when period not found.
Added testcases for Timezone, TimezoneProxy, TimezonePeriod, Country and some selected timezones.
Reduced visibility of some methods added in Timezone#setup and Country#setup.
Added name method to Timezone (returns the identifier).
Added friendly_identifier method to Timezone. Returns a more friendly version of the identifier.
Added to_s method to Timezone. Returns the friendly identifier.
Added == and <=> operators to Timezone (compares identifiers).
Timezone now includes Comparable.
Added to_s method to Country.
Added == and <=> operators to Country (compares ISO 3166 country codes).
Country now includes Comparable.
New TimezoneProxy class that behaves the same as a Timezone but doesn’t actually load in its definition until it is actually required.
Modified Timezone and Country methods that return Timezones to return TimezoneProxy instances instead. This makes these methods much quicker.
In Ruby on Rails, you can now show a drop-down list of all timezones using the Rails time_zone_select helper method:
<%= time_zone_select ‘user’, ‘time_zone’, TZInfo::Timezone.all.sort, :model => TZInfo::Timezone %>
Country and Timezone data is now loaded into class rather than instance variables. This makes Timezone links more efficient and saves memory if creating specific Timezone and Country classes directly.
TimezonePeriod zone_identifier is now defined as a symbol to save memory (was previously a string).
TimezonePeriod zone_identifiers that were previously ” are now :Unknown.
Timezones and Countries can now be returned using Timezone.new(identifier) and Country.new(identifier). When passed an identifier, the new method calls get to return an instance of the specified timezone or country.
Added new class methods to Timezone to return sets of zones and identifiers.
Thanks to Scott Barron of Lunchbox Software for the suggestions in his article about using TZInfo with Rails (lunchroom.lunchboxsoftware.com/pages/tzinfo_rails)
First release.
Generated with the Darkfish Rdoc Generator 2.


bool openssl_pkcs7_sign ( string $infilename , string $outfilename , mixed $signcert , mixed $privkey , array $headers [, int $flags = PKCS7_DETACHED [, string $extracerts ]] )
openssl_pkcs7_sign() takes the contents of the file named infilename and signs them using the certificate and its matching private key specified by signcert and privkey parameters.
Returns TRUE on success or FALSE on failure.


Currently resides in Fort McMurray, Alberta. Spends his days thinking of new ways to torture and torment his friends and loved ones, but mostly his wife. Has unfulfilled dreams of hosting radio but his podcast will have to do...
Frank Shepiro
No one really knows where Frank came from, many say he's just a figment of Brad's imagination.


In addition to shutter support through GCode, it is also possible to wire the shutter directly to Raspberry Pi GPIO.
- Servo Motor: By wiring the pulse pin of the servo motor to GPIO you can control the shutters directly.
- True/False: Makes GPIO HIGH and LOW suitable for magnetic shutters or to separate the shutter control boards.


MotoGP Raceweek: Marvellous Marc Marquez secures team title for Repsol Honda as Jorge Lorenzo bids farewell
by FSA EditorThere was a familiar winning feeling for Marc Marquez but Jorge Lorenzo’s final MotoGP race in Valencia ended with a whimper
Marc Marquez rounded out a memorable season with a dominant victory at the Valencia Grand Prix as fellow home favourite Jorge Lorenzo’s final race ended with a disappointing 13th-place finish.
Having already sealed a sixth MotoGP world championship, Marquez’s 12th win from 19 races in the last round of the season also ensured the teams’ trophy for Repsol Honda.
Fabio Quartararo started on pole but after being passed by Marquez was unable to keep pace with the brilliant champion and crossed the line second ahead of Jack Miller.
Marquez’s team-mate and three-time MotoGP champion Lorenzo announced his retirement earlier in the week and the 32-year-old, having qualified 16th, was unable to make significant headway on a cold and windy day in Spain.
Quartararo quickly regained the lead out of the second corner having seen Miller make a flying start off the line, as Marquez began slowly.
The world champion wasted little time slaloming his way back through the pack, though, and by the end of the end of lap two was second and in pursuit of Quartararo.
It must have felt like deja vu for the Frenchman, who has been denied a win in his rookie season on a couple of occasions by Marquez, and there was an air of inevitability when the brilliant Spaniard stole ahead.
With 20 laps to go, Marquez sent his Repsol Honda down the inside from way back at Turn 11 and quickly set about opening up an unassailable gap.
Further down the pack, Johann Zarco was taken away from the side of the track on a stretcher after a hugely unfortunate incident.
Danilo Petrucci, Zarco and Iker Lecuona all came off their bikes independently at Turn 6, but the latter’s bike wiped out an unaware Zarco leaving him clearly winded, with television images later showing the Frenchman back in the garage with no apparent major damage.
The rest of the race passed by without major incident as Marquez coasted to an astonishing 18th top-two finish of another memorable campaign, surpassing 400 points in the process.
TOP 10
1. Marc Marquez (Repsol Honda)
2. Fabio Quartararo (Petronas Yamaha) +1.026s
3. Jack Miller (Pramac Racing) +2.409s
4. Andrea Dovizioso (Ducati) + 3.326s
5. Alex Rins (Suzuki Ecstar) + 3.508s
6. Maverick Vinales (Monster Energy Yamaha) + 8.829s
7. Joan Mir (Suzuki Ecstar) +10.622s
8. Valentino Rossi (Yamaha) +22.992s
9. Aleix Espargaro (Aprilia) +32.704s
10. Pol Espargaro (KTM) +32.973.
TITLE STANDINGS
Riders
1. Marc Marquez (Repsol Honda) 420
2. Andrea Dovizioso (Ducati) 269 (-151)
3. Maverick Vinales (Yamaha) 211 (-209)
4. Alex Rins (Suzuki Ecstar) 205 (-215)
5. Fabio Quartararo (Petronas Yamaha) 192 (-228)
Teams
1. Repsol Honda 458
2. Ducati 445 (-13)
3. Monster Energy Yamaha 385 (-73)
4. Petronas Yamaha 307 (-151)
5. Suzuki Ecstar 301 (-157)


class Solution: def minimumEffortPath(self, hts: List[List[int]]) -> int: m, n = len(hts), len(hts[0]) cost = [[-1] * n for _ in range(m)] pq = [(0, 0, 0)] while pq: c, x, y = heappop(pq) if x == m-1 and y == n-1: return c if cost[x][y] >= 0: continue cost[x][y] = c for i, j in [(x-1, y), (x+1, y), (x, y-1), (x, y+1)]: if 0 <= i < m and 0 <= j < n and cost[i][j] < 0: heappush(pq, (max(c, abs(hts[i][j] - hts[x][y])), i, j)) return -1


Miss Thailand crowned at Miss International for first time
by Coconuts BangkokIt took 59 years, but Thailand triumphed today at the Miss International beauty pageant.
Sireethorn “Bint” Leearamwat was crowned Miss International on Tuesday afternoon in Tokyo at the 59th version of the annual pageant. Bint makes history as the first ever Thai woman to hold the title.
The first runner-up was Andrea Toscano (Mexico), followed by Evelyn Namatovu Karonde (Uganda), Alejandra Vengoechea (Colombia) and Harriotte Lane (United Kingdom).
The competition this year had contestants from more than 80 countries.
Miss Philippines Patch Magtanong and Miss Indonesia Jolene Marie Cholock Rotinsulu reached the final eight; Hong Kong’s Kaye Cheung made it to the final 15.
The last Southeast Asian winner came in 2017 from Indonesia when Kevin Lilliana won. In 2016, it was Kylie Verzosa from Philippines.
Miss International is organized by Japan’s International Cultural Association. It was first held in 1960.
Related:
IN PHOTOS: A look at Kylie Verzosa’s Miss International journey


Sergey
Bychkov
Forensic computer analist
Résumé
Hello! My name is Sergey Bychkov. I am skilled certified forensic expert with 6 years of computer forensics. In my work, I investigate the evidence on digital media that criminals leave when they commit crimes using computer technology. This is a very important and responsible job, because from my conclusions sometimes the further destinies of people are decided.
Skills
php html css java c mysql microsoft office cooking ftk linux windows
Likes
movies computer games basketball cooking metallica pantera slayer slipknot soad photograpy programming beer with friends metaxa
Dislikes
football russian rap tv hot weather mayonnaise dancing
Timeline and Experience
1987
Born 1 July 1987 in Kharkiv
1987 - 1994
Grew and getting stronger than before
since 1994
1999
2004
2004
2006 - 2008
2010 - 2012
2012 - 2015
2015 - present
9 March 2018
Married Anastasiya Yarova
2019 - 2020
Improve my knowledge in Java Core passing the course in EPAM academy


public class AntennaArrayFunctions
extends java.lang.Object
The AntennaArrayFunctions
class contains a set of static methods to calculate various antenna array parameters.
| Constructor and Description |
|---|
AntennaArrayFunctions() |
| Modifier and Type | Method and Description |
|---|---|
static double[][] |
circle(int n,
double r)
Calculates and returns an array containing n coordinates of points equally spaced on a circle with the given radius.
|
static double |
frequency(double wavelength)
Calculates and returns the frequency from a given wavelength.
|
static double[][] |
grid(int nx,
int ny,
double dx,
double dy)
Calculates and returns an array containing (nx * ny) coordinates of points on a grid equally spaced with the given gaps dx and dy between the points.
|
static double |
k(double wavelength)
Calculates and returns the free space wave number.
|
static double[][] |
linear(int nx,
double dx)
Calculates and returns an array containing nx coordinates of points on a line equally spaced with the given gap dx between the points.
|
static double[] |
norm(double[] sAbs,
double sAbsMax)
Calculates and returns an array containing the normalized absolute values of the complex array factor.
|
static double |
phaseShift(double x,
double y,
double rotationAng,
double wavelength)
Calculates and return the phase of a radiator in dependence of the radiators position, the rotation angle and the wavelength.
|
static double |
phaseShift(Radiator r,
double rotationAng,
double wavelength)
Calculates and return the phase of a radiator in dependence of the radiators position, the rotation angle and the wavelength.
|
static Complex[] |
s(Radiator[] r,
double wavelength,
int radiatorType,
double radiatorAng,
double startAng,
double stopAng,
int points)
Calculates and returns the complex array factor as an array of Complex objects.
|
static Complex |
se(double wavelength,
int radiatorType,
double radiatorAng,
double rotationAng)
Calculates and returns the complex element factor as a Complex object.
|
static double[][] |
square(int n,
double sideLength)
Calculates and returns an array containing n coordinates of points equally spaced on a square with the given side length.
|
static Complex[] |
sReflector(Radiator[] r,
double wavelength,
int radiatorType,
double radiatorAng,
double reflectorOffset,
double startAng,
double stopAng,
int points)
Calculates and returns the complex array factor as an array of Complex objects with the reflector enabled.
|
static double |
timeDelay(double p,
double period)
Calculates and returns the time delay of a radiator in dependence of the phase and period.
|
static double |
wavelength(double frequency)
Calculates and returns the wavelength from a given frequency.
|
public static final double C
public static final double T
public static double frequency(double wavelength)
Calculates and returns the frequency from a given wavelength.
wavelength
- public static double wavelength(double frequency)
Calculates and returns the wavelength from a given frequency.
frequency
- public static double k(double wavelength)
Calculates and returns the free space wave number.
wavelength
- public static double timeDelay(double p, double period)
Calculates and returns the time delay of a radiator in dependence of the phase and period.
p
- the phase of the radiatorperiod
- the periodpublic static double phaseShift(Radiator r, double rotationAng, double wavelength)
Calculates and return the phase of a radiator in dependence of the radiators position, the rotation angle and the wavelength.
r
- a Radiator objectrotationAng
- the rotation anglewavelength
- public static double phaseShift(double x, double y, double rotationAng, double wavelength)
Calculates and return the phase of a radiator in dependence of the radiators position, the rotation angle and the wavelength.
x
- the x-value of the positiony
- the y-value of the positionrotationAng
- the rotation anglewavelength
- public static Complex se(double wavelength, int radiatorType, double radiatorAng, double rotationAng)
Calculates and returns the complex element factor as a Complex object.
wavelength
- radiatorType
- the radiator typeradiatorAng
- the angle of the radiatorrotationAng
- the rotation anglepublic static Complex[] s(Radiator[] r, double wavelength, int radiatorType, double radiatorAng, double startAng, double stopAng, int points)
Calculates and returns the complex array factor as an array of Complex objects.
r
- an array of Radiator objectswavelength
- radiatorType
- the radiator typeradiatorAng
- the angle of the radiatorstartAng
- the start anglestopAng
- the stop anglepoints
- the amount of points to calculate the array factor atpublic static Complex[] sReflector(Radiator[] r, double wavelength, int radiatorType, double radiatorAng, double reflectorOffset, double startAng, double stopAng, int points)
Calculates and returns the complex array factor as an array of Complex objects with the reflector enabled.
r
- an array of Radiator objectwavelength
- radiatorType
- the radiator typeradiatorAng
- the angle of the radiatorreflectorOffset
- the offset of the reflectorstartAng
- the start anglestopAng
- the stop anglepoints
- the amount of points to calculate the array factor atpublic static double[] norm(double[] sAbs, double sAbsMax)
Calculates and returns an array containing the normalized absolute values of the complex array factor.
sAbs
- an array containing the absolute values of the complex array
factorsAbsMax
- the maximum value of the absolute values of the complex array
factor over the entire 360 degreespublic static double[][] linear(int nx, double dx)
Calculates and returns an array containing nx coordinates of points on a line equally spaced with the given gap dx between the points. - nx must be greater than 0 - dx must be greater than 0
nx
- the amount of pointsdx
- the gap between the pointspublic static double[][] grid(int nx, int ny, double dx, double dy)
Calculates and returns an array containing (nx * ny) coordinates of points on a grid equally spaced with the given gaps dx and dy between the points. - nx, ny must be greater than 0 - dx, dy must be greater than 0
nx
- the amount of points in the horizontal directionny
- the amount of points in the vertical directiondx
- the gap between horizontal pointsdy
- the gap between vertical pointspublic static double[][] circle(int n, double r)
Calculates and returns an array containing n coordinates of points equally spaced on a circle with the given radius. - n must be greater than 0 - r must be greater than 0
n
- the amount of pointsr
- the radius of the circlepublic static double[][] square(int n, double sideLength)
Calculates and returns an array containing n coordinates of points equally spaced on a square with the given side length. - n must be equal to (k * 4), k E N - sideLength must be greater than 0
n
- the amount of pointssideLength
- the side length


freshop
(
0
)
For your networking needs!!!
Go back to all products
( Model:
)
Brand:
PN:
Price: $
Quantity (stock:
5
):
Add to cart
Specifikations:


Data Fields | |
| int | iPortType |
| Port to control ADL_GLSYNC_PORT_RJ45PORT1 or ADL_GLSYNC_PORT_RJ45PORT2 Genlock related values. | |
| int | iControlVector |
| Port control data ADL_GLSYNC_PORTCNTL_* Genlock related values. | |
| int | iSignalSource |
| Source of the sync signal. Either GL_Sync GPU Port index or ADL_GLSYNC_SIGNALSOURCE_* Genlock related values. |
This structure is used to configure the GL-Sync ports (RJ45s only) for Workstation Framelock/Genlock.
Port to control ADL_GLSYNC_PORT_RJ45PORT1 or ADL_GLSYNC_PORT_RJ45PORT2 Genlock related values.
Port control data ADL_GLSYNC_PORTCNTL_* Genlock related values.
Source of the sync signal. Either GL_Sync GPU Port index or ADL_GLSYNC_SIGNALSOURCE_* Genlock related values.


| DOSE: T+ 0:00 |
1 hit |
oral |
LSD |
(blotter / tab) |
| T+ 1:00 |
2 hits |
oral |
LSD |
(blotter / tab) |
My second time taking LSD was my most visual experience, but it was also the scariest trip I've ever had. Me and a couple of friends wanted to get really drunk before we were supposed to be in a play the next day (which I starred in). We had a hard time finding some alcohol, but we did come across a large amount of LSD in the form of tabs. It was about 9:00, so I said what the hell. It would probably wear off by the time I had to be in the play. That was a very wrong statement. This trip lasted even through the play.
I took one to start with, and my other friends took more than one each. An hour passed, and nothing was occuring. We were outside in front of a bonfire, and it started to get pretty dark out. I started getting worried, and decided to take 2 more tabs. In about a half an hour I started to feel the effects coming on. A tree branch seemed 3D as it stretched toward me. One friend put in some Marilyn Manson, and it freaked me out. I stood up feeling very dizzy and plopped down on the grass to stare at the stars. They were spinning around in amazing patterns, and sucking me up into a spiral. This forced me to go back to the fire.
I started getting very scared; I don't know why, but I was. I looked over at my friend who was staring at my face awkwardly. His face started to decay and his skin was falling off. I turned my head in disgust, and told him what I saw. I looked back, and his face morphed into a werewolf, then a zombie, and a skeleton. I told him to stop what he was doing. He told me to be calm, and think happy thoughts.
The whole world was spinning around me at this point. A large tree, looming over me, bent down and pointed at me. I got up, ran into the grove area, next to the bonfire, and saw a sea full of waving skeletons.  I calmly sat back down, and totally forgot what I just went through. I stared back at the same friend again, and suddenly his face turned into Herman Munster from the Munsters. I started giggling, which caused all of the fryers to laugh with me. I knew I was still frying hard because the fire was melting into my feet, so I stood up and said that I had to try and get some sleep.
I went into the tent, and stared up at the inside of the tent. I saw amazing swirls of color and different colored naked women dancing all around my eyes. They kept calling my name, but I couldn't reach them. I closed my eyes, and saw quilt patterns of women's breasts, followed by a hopping bunny, which zoomed off into a trail of psychedelic colors.
I knew I couldn't sleep, so I got up and sat back with the guys at the fire. I feel that at this point (about 1:00) my peak had come and gone, but I was still frying hardcore. From the period of 1:00-4:00, I was in a deep state of confusion, not knowing who people were, who I was, what I was doing there, and why I took the acid.
When the morning started to make its face known, we all got up and took a walk down the street, looking at the beautiful colors coming from the flowers all around us. I was still feeling the effects of the drug, so I started to get worried again. When the other guys got back to the house, I ran over to my house, which is down the street, and ran into my shower. The walls on all sides of me seemed to be melting down to my feet. I saw faces popping up on the walls and when I waved my hand in front of me, I saw a million hands tracing off of it. I felt a deep sense of fright while taking this shower, which caused me to cry and punch myself.
When I got out of the shower, I quickly ran back to the house where my friends were, and realized that the shower didn't help, because I forgot where I just came from. The time was now about 7:00, and I had to be at the play at 8:00. I felt scared beyond control. Everyone told me that I would be all right, if I just calm down, and not worry about it.
We all piled into my car, and I drove down to the school.  I couldn't look at anyone in the face, and I couldn't do the play because I forgot almost all of my lines. My friends that were with me the night before helped me out with my lines and, lo and behold, the first showing of the play started. I did very badly, but luckily, I wasn't the only one. I rested during the break between shows, and told myself that I would do great on the next show. I tried to push the bad thoughts out of my head, and the show went on. It went very good. After the play, I felt like throwing up, so I went to sleep in my bed, and woke up the next morning, feeling great because nothing bad went on, even though I worried too much.
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.


Checked Values: {{form.checkbox}}
Currently Bootstrap doesn't support the following features out of the box, however these are common concepts that users may need when building a responsive application. If/when Bootstrap implements these features, they will be removed from the library.


@gk_ocean
Population 2 ,781,234
Send your commands here...
History
-
Hi @alexandria, nice to meet you! Want to trade info?
just now
-
@vomitaftertaste, "Report #2": Genghis Khan favor society with high culture. We should use this to trick and provoke the Mongols"
just now
-
@vomitaftertaste, "Your decision should be decided based on our scouting records. But unfortunately we cannot give you our full information, as part of our team do not make it back safely.. You have to communicate to other society. Please make full use of our sacrifice.."
5 minutes ago
-
@vomitaftertaste, "We have to decide which role each society plays: #provoke, #attack the supply line, or #defend and hold the mongol long enough for the attackers to be victorious"
5 minutes ago
-
@vomitaftertaste, "Genghis was a man of vision. There was method in the Mongols' madness. We have found line of supply to their armies. Cutting them means victory. But their defense is too strong, we have to provoke the mongols to leave open their defense"
5 minutes ago
-
@vomitaftertaste, We have received words from our messenger! Player @alexandria, and @kemonozuki, has responded to our call to arms! These are words from our joint scouting venture:
10 minutes ago
-
@gk_oceanYes, we will #fight with them!
1 day ago
-
Wait oh my lord @vomitaftertaste! please hear my words! Our superior diplomacy skills has yielded results, we were able to find other society who willing to fight together! Would you #fight with them?
1 day ago
-
@gk_ocean, We have no choice but to #surrender..
1 day ago
-
@vomitaftertaste, We have two choices, fight to the death and perish, or give up third of our population to be human shields for their advancing armies. The cruelty of the mongols has no equals. #Surrender?
1 day ago
-
King @vomitaftertaste, The mongol has come to obliterate us! We will relay you their message: "Submit! And if ye do otherwise, what know we? God knoweth"
1 day ago


pyxtal.molecular_crystal module¶
Module for generation of random molecular crystals which meet symmetry constraints. A pymatgen- or spglib-type structure object is created, which can be saved to a .cif file. Options (preceded by two dashes) are provided for command-line usage of the module:
- spacegroup (-s): the international spacegroup number (between 1 and 230)
- to be generated. In the case of a 2D crystal (using option ‘-d 2’), this will instead be the layer group number (between 1 and 80). For 1D, this will be a Rod group number (1-75). Defaults to 36.
- molecule (-e): the chemical formula of the molecule to use. For multiple
- molecule types, separate entries with commas. Ex: “C60”, “H2O, CH4, NH3”. Defaults to H2O
- numMols (-n): the number of molecules in the PRIMITIVE unit cell (For
- P-type spacegroups, this is the same as the number of molecules in the conventional unit cell. For A, B, C, and I-centered spacegroups, this is half the number of the conventional cell. For F-centered unit cells, this is one fourth the number of the conventional cell.). For multiple molecule types, separate entries with commas. Ex: “8”, “1, 4, 12”. Defaults to 4
- factor (-f): the relative volume factor used to generate the unit cell.
- Larger values result in larger cells, with molecules spaced further apart. If generation fails after max attempts, consider increasing this value. Defaults to 1.0
- verbosity (-v): the amount of information which should be printed for each
- generated structure. For 0, only prints the requested and generated spacegroups. For 1, also prints the Wyckoff positions and time elapsed. For 2, also prints the contents of the generated pymatgen structure. Defaults to 0
- attempts (-a): the number of structures to generate. Note: if any of the
- attempts fail, the number of generated structures will be less than this value. Structures will be output to separate cif files. Defaults to 1
- outdir (-o): the file directory where cif files will be output to. Defaults
- to “out”
- checkatoms (-c): whether or not to check inter-atomic distances at each step
- of generation. When True, produces more accurate results, but requires more computation time for larger molecules. When False, produces less accurate results and may require a larger volume factor, but does not require more computation time for large molecules. Generally, the flag should only be set to False for large, approximately spherical molecules like C60. Defaults to True
- allowinversion (-i): whether or not to allow inversion of chiral molecules
- for spacegroups which contain inversional and/or rotoinversional symmetry. This should only be True if the chemical and biological properties of the mirror molecule are known and suitable for the desired application. Defaults to False
- dimension (-d): 3 for 3D, 2 for 2D, 1 for 1D. If 2D, generates a 2D crystal
- using a layer group number instead of a space group number. For 1D, uses a Rod group number. Defaults to 3
- thickness (-t): The thickness, in Angstroms, to use when generating a
- 2D crystal. Note that this will not necessarily be one of the lattice vectors, but will represent the perpendicular distance along the non- periodic direction. For 1D, this value will be used for the crystal’s cross-sectional area. If set to None, chooses a value automatically. Defaults to None
-
pyxtal.molecular_crystal.
check_distance_molecular
(coord1, coord2, indices1, index2, lattice, radii, d_factor=1.0, PBC=[1, 2, 3])[source]¶ Check the distances between two set of molecules. The first set is generally larger than the second. Distances between coordinates within the first set are not checked, and distances between coordinates within the second set are not checked. Only distances between points from different sets are checked.
Parameters: - coord1 – multiple lists of fractional coordinates e.g. [[[.1,.6,.4], [.3,.8,.2]],[[.4,.4,.4],[.3,.3,.3]]]
- coord2 – a list of new fractional coordinates e.g. [[.7,.8,.9], [.4,.5,.6]]
- indices1 – the corresponding molecular indices of coord1, e.g. [1, 3]. Indices correspond to which value in radii to use
- index2 – the molecular index for coord2. Corresponds to which value in radii to use
- lattice – matrix describing the unit cell vectors
- radii – a list of radii used to judge whether or not two molecules overlap
- d_factor – the tolerance is multiplied by this amount. Larger values mean molecules must be farther apart
- PBC – a list of periodic axes (1,2,3)->(x,y,z)
Returns: a bool for whether or not the atoms are sufficiently far enough apart
-
pyxtal.molecular_crystal.
check_wyckoff_position_molecular
(points, orientations, wyckoffs, w_symm_all, exact_translation=False, PBC=[1, 2, 3])[source]¶ Given a list of points, returns the index of the Wyckoff position within the spacegroup.
Parameters: - points – a list of 3d fractional coordinates or SymmOps to check
- wyckoffs – a list of unorganized Wyckoff positions obtained from get_wyckoffs
- w_symm_all – a list of site symmetry obtained from get_wyckoff_symmetry
- exact_translation – whether we require two SymmOps to have exactly equal translational components. If false, translations related by +-1 are considered equal
- PBC – a list of periodic axes (1,2,3)->(x,y,z)
Returns: a single index corresponding to the detected Wyckoff position. If no valid Wyckoff position is found, returns False
-
pyxtal.molecular_crystal.
choose_wyckoff_molecular
(wyckoffs, number, orientations)[source]¶ Choose a Wyckoff position to fill based on the current number of molecules needed to be placed within a unit cell
Rules:
- The new position’s multiplicity is equal/less than (number).
- We prefer positions with large multiplicity.
- The site must admit valid orientations for the desired molecule.
Parameters: - wyckoffs – an unsorted list of Wyckoff positions
- number – the number of molecules still needed in the unit cell
- orientations – the valid orientations for a given molecule. Obtained from get_sg_orientations, which is called within molecular_crystal
Returns: a single index for the Wyckoff position. If no position is found, returns False
-
pyxtal.molecular_crystal.
estimate_volume_molecular
(numMols, boxes, factor=2.0)[source]¶ Estimate the volume needed for a molecular crystal conventional unit cell.
Parameters: - numMols – A list with the number of each type of molecule
- boxes – A list of bounding boxes for each molecule. Obtained from get_box
- factor – a factor to multiply the final result by. Used to increase space
- molecules (between) –
Returns: the estimated volume (in cubic Angstroms) needed for the unit cell
-
pyxtal.molecular_crystal.
get_box
(mol)[source]¶ Given a molecule, find a minimum orthorhombic box containing it. Size is calculated using min and max x, y, and z values, plus the padding defined by the vdw radius For best results, call oriented_molecule first.
Parameters: mol – a pymatgen Molecule object Returns: a list [x1,x2,y1,y2,z1,z2] where x1 is the relative displacement in the negative x direction, x2 is the displacement in the positive x direction, and so on
-
pyxtal.molecular_crystal.
get_sg_orientations
(mol, sg, allow_inversion=False, PBC=[1, 2, 3])[source]¶ Calculate the valid orientations for each Molecule and Wyckoff position. Returns a list with 3 indices:
index 1: the Wyckoff position’s 1st index (based on multiplicity)
index 2: the WP’s 2nd index (within the group of equal multiplicity)
index 3: the index of the valid orientation for the molecule/WP pair
For example, self.valid_orientations[i][j] would be a list of valid orientations for self.molecules[i], in the Wyckoff position self.wyckoffs_organized[i][j]
Parameters: - mol – a pymatgen Molecule object.
- sg – the international spacegroup number
- allow_inversion – whether or not to allow inversion operations for chiral molecules
- PBC – a list of periodic axes (1,2,3)->(x,y,z)
Returns: - a list of operations orientation objects for each Wyckoff position. 1st
and 2nd indices correspond to the Wyckoff position
-
pyxtal.molecular_crystal.
merge_coordinate_molecular
(coor, lattice, wyckoffs, w_symm_all, tol, orientations, PBC=[1, 2, 3])[source]¶ Given a list of fractional coordinates, merges them within a given tolerance, and checks if the merged coordinates satisfy a Wyckoff position. Used for merging general Wyckoff positions into special Wyckoff positions within the random_crystal (and its derivative) classes.
Parameters: - coor – a list of fractional coordinates
- lattice – a 3x3 matrix representing the unit cell
- wyckoffs – an unorganized list of Wyckoff positions to check
- w_symm_all – A list of Wyckoff site symmetry obtained from get_wyckoff_symmetry
- tol – the cutoff distance for merging coordinates
- orientations – a list of valid molecular orientations within the space group
- PBC – a list of periodic axes (1,2,3)->(x,y,z)
Returns: (coor) is the new list of fractional coordinates after merging, and index is a single index of the Wyckoff position within the spacegroup. If merging is unsuccesful, or no index is found, returns the original coordinates and False
Return type: coor, index
-
class
pyxtal.molecular_crystal.
mol_site
(mol, position, wp, wp_generators, lattice, PBC=[1, 2, 3])[source]¶ Bases:
object
Class for storing molecular Wyckoff positions and orientations within the molecular_crystal class. Each mol_site object represenents an entire Wyckoff position, not necessarily a single molecule.
-
PBC
= None¶ The periodic boundary condition direction
-
mol
= None¶ A Pymatgen molecule object
-
multiplicity
= None¶ The multiplicity of the molecule’s Wyckoff position
-
position
= None¶ Relative coordinates of the molecule’s center within the unit cell
-
wp
= None¶ The Wyckoff pgenerators for the site
-
-
class
pyxtal.molecular_crystal.
molecular_crystal
(sg, molecules, numMols, volume_factor, allow_inversion=False, orientations=None, check_atomic_distances=True)[source]¶ Bases:
object
Class for storing and generating molecular crystals based on symmetry constraints. Based on the crystal.random_crystal class for atomic crystals. Given a spacegroup, list of molecule objects, molecular stoichiometry, and a volume factor, generates a molecular crystal consistent with the given constraints. This crystal is stored as a pymatgen struct via self.struct
Parameters: - sg – The international spacegroup number
- molecules – a list of pymatgen.core.structure.Molecule objects for each type of molecule
- numMols – A list of the number of each type of molecule within the primitive cell (NOT the conventioal cell)
- volume_factor – A volume factor used to generate a larger or smaller unit cell. Increasing this gives extra space between molecules
- allow_inversion – Whether or not to allow chiral molecules to be inverted. If True, the final crystal may contain mirror images of the original molecule. Unless the chemical properties of the mirror image are known, it is highly recommended to keep this value False
- orientations – Once a crystal with the same spacegroup and molecular stoichiometry has been generated, you may pass its valid_orientations attribute here to avoid repeating the calculation, but this is not required
- check_atomic_distances – If True, checks the inter-atomic distances after each Wyckoff position is added. This requires slightly more time, but vastly improves accuracy. For approximately spherical molecules, or for large inter-molecular distances, this may be turned off
-
allow_inversion
= None¶ Whether or not to allow chiral molecules to be inverted.
-
boxes
= None¶ A list of bounding boxes for each molecule. Used for estimating volume of the unit cell.
-
check_atomic_distances
= None¶ Whether or not inter-atomic distances are checked at each step.
-
check_compatible
()[source]¶ Checks if the number of molecules is compatible with the Wyckoff positions. Considers the number of degrees of freedom for each Wyckoff position, and makes sure at least one valid combination of WP’s exists.
-
factor
= None¶ The supplied volume factor for the unit cell.
-
generate_crystal
(max1=30, max2=30, max3=30)[source]¶ The main code to generate a random molecular crystal. If successful, stores a pymatgen.core.structure object in self.struct and sets self.valid to True. If unsuccessful, sets self.valid to False and outputs an error message.
Parameters: - max1 – the number of attempts for generating a lattice
- max2 – the number of attempts for a given lattice
- max3 – the number of attempts for a given Wyckoff position
-
get_orientations
()[source]¶ Calculates the valid orientations for each Molecule and Wyckoff position. Returns a list with 4 indices:
index 1: the molecular prototype’s index within self.molecules
index 2: the Wyckoff position’s 1st index (based on multiplicity)
index 3: the WP’s 2nd index (within the group of equal multiplicity)
index 4: the index of the valid orientation for the molecule/WP pair
For example, self.valid_orientations[i][j][k] would be a list of valid orientations for self.molecules[i], in the Wyckoff position self.wyckoffs_organized[j][k]
-
molecules
= None¶ A list of pymatgen.core.structure.Molecule objects, symmetrized and oriented along their symmetry axes.
-
numMols
= None¶ The number of each type of molecule in the CONVENTIONAL cell
-
radii
= None¶ A list of approximated radii for each molecule type. Used for checking inter-molecular distances.
-
sg
= None¶ The international spacegroup number of the crystal.
-
valid_orientations
= None¶ The valid orientations for each molecule and Wyckoff position. May be copied when generating a new molecular_crystal to save a small amount of time
-
volume
= None¶ The volume of the generated unit cell
-
w_symm
= None¶ A list of site symmetry operations for the Wyckoff positions, obtained from get_wyckoff_symmetry.
-
wyckoff_generators
= None¶ A list of Wyckoff generators (molecular=False)
-
wyckoff_generators_m
= None¶ A list of Wyckoff generators (molecular=True)
-
wyckoffs
= None¶ The Wyckoff positions for the crystal’s spacegroup.
-
wyckoffs_organized
= None¶ The Wyckoff positions for the crystal’s spacegroup. Sorted by multiplicity.
-
class
pyxtal.molecular_crystal.
molecular_crystal_1D
(number, molecules, numMols, area, volume_factor, allow_inversion=False, orientations=None, check_atomic_distances=True)[source]¶ Bases:
object
A 1d counterpart to molecular_crystal. Given a Rod group, list of molecule objects, molecular stoichiometry, volume factor, and area, generates a molecular crystal consistent with the given constraints. The crystal is stored as a pymatgen struct via self.struct
Parameters: - number – the Rod group number between 1 and 80. NOT equal to the international space group number, which is between 1 and 230
- molecules – a list of pymatgen.core.structure.Molecule objects for each type of molecule
- numMols – A list of the number of each type of molecule within the primitive cell (NOT the conventioal cell)
- area – cross-sectional area of the unit cell in Angstroms squared. A value of None causes an area to be chosen automatically. Note that this constraint applies only to the molecular centers; some atomic coordinates may lie outside of this range
- volume_factor – A volume factor used to generate a larger or smaller unit cell. Increasing this gives extra space between molecules
- allow_inversion – Whether or not to allow chiral molecules to be inverted. If True, the final crystal may contain mirror images of the original molecule. Unless the chemical properties of the mirror image are known, it is highly recommended to keep this value False
- orientations – Once a crystal with the same spacegroup and molecular stoichiometry has been generated, you may pass its valid_orientations attribute here to avoid repeating the calculation, but this is not required
- check_atomic_distances – If True, checks the inter-atomic distances after each Wyckoff position is added. This requires slightly more time, but vastly improves accuracy. For approximately spherical molecules, or for large inter-molecular distances, this may be turned off
-
allow_inversion
= None¶ Whether or not to allow chiral molecules to be inverted.
-
area
= None¶ the effective cross-sectional area, in Angstroms squared, of the unit cell.
-
boxes
= None¶ A list of bounding boxes for each molecule. Used for estimating volume of the unit cell.
-
check_atomic_distances
= None¶ Whether or not inter-atomic distances are checked at each step.
-
check_compatible
()[source]¶ Checks if the number of molecules is compatible with the Wyckoff positions. Considers the number of degrees of freedom for each Wyckoff position, and makes sure at least one valid combination of WP’s exists.
-
factor
= None¶ The supplied volume factor for the unit cell.
-
generate_crystal
(max1=30, max2=30, max3=30)[source]¶ The main code to generate a random molecular crystal. If successful, stores a pymatgen.core.structure object in self.struct and sets self.valid to True. If unsuccessful, sets self.valid to False and outputs an error message.
Parameters: - max1 – the number of attempts for generating a lattice
- max2 – the number of attempts for a given lattice
- max3 – the number of attempts for a given Wyckoff position
-
get_orientations
()[source]¶ Calculates the valid orientations for each Molecule and Wyckoff position. Returns a list with 4 indices:
index 1: the molecular prototype’s index within self.molecules
index 2: the Wyckoff position’s 1st index (based on multiplicity)
index 3: the WP’s 2nd index (within the group of equal multiplicity)
index 4: the index of the valid orientation for the molecule/WP pair
For example, self.valid_orientations[i][j][k] would be a list of valid orientations for self.molecules[i], in the Wyckoff position self.wyckoffs_organized[j][k]
-
molecules
= None¶ A list of pymatgen.core.structure.Molecule objects, symmetrized and oriented along their symmetry axes.
-
numMols
= None¶ The number of each type of molecule in the CONVENTIONAL cell
-
numMols0
= None¶ The number of molecules of each type in the primitive cell
-
number
= None¶ The number (between 1 and 80) for the crystal’s Rod group.
-
radii
= None¶ A list of approximated radii for each molecule type. Used for checking inter-molecular distances.
-
valid_orientations
= None¶ The valid orientations for each molecule and Wyckoff position. May be copied when generating a new molecular_crystal to save a small amount of time
-
volume
= None¶ The volume of the generated unit cell
-
w_symm
= None¶ A list of site symmetry operations for the Wyckoff positions, obtained from get_wyckoff_symmetry.
-
wyckoff_generators
= None¶ A list of Rod Wyckoff generators (molecular=False)
-
wyckoff_generators_m
= None¶ A list of Rod Wyckoff generators (molecular=True)
-
wyckoffs
= None¶ The Wyckoff positions for the crystal’s Rod group.
-
wyckoffs_organized
= None¶ The Wyckoff positions for the crystal’s Rod group. Sorted by multiplicity.
-
class
pyxtal.molecular_crystal.
molecular_crystal_2D
(number, molecules, numMols, thickness, volume_factor, allow_inversion=False, orientations=None, check_atomic_distances=True)[source]¶ Bases:
object
A 2d counterpart to molecular_crystal. Given a layer group, list of molecule objects, molecular stoichiometry, and a volume factor, generates a molecular crystal consistent with the given constraints. This crystal is stored as a pymatgen struct via self.struct
Parameters: - number – the layer group number between 1 and 80. NOT equal to the international space group number, which is between 1 and 230
- molecules – a list of pymatgen.core.structure.Molecule objects for each type of molecule
- numMols – A list of the number of each type of molecule within the primitive cell (NOT the conventioal cell)
- thickness – the thickness, in Angstroms, of the unit cell in the 3rd dimension (the direction which is not repeated periodically). A value of None causes a thickness to be chosen automatically. Note that this constraint applies only to the molecular centers; some atomic coordinates may lie outside of this range
- volume_factor – A volume factor used to generate a larger or smaller unit cell. Increasing this gives extra space between molecules
- allow_inversion – Whether or not to allow chiral molecules to be inverted. If True, the final crystal may contain mirror images of the original molecule. Unless the chemical properties of the mirror image are known, it is highly recommended to keep this value False
- orientations – Once a crystal with the same spacegroup and molecular stoichiometry has been generated, you may pass its valid_orientations attribute here to avoid repeating the calculation, but this is not required
- check_atomic_distances – If True, checks the inter-atomic distances after each Wyckoff position is added. This requires slightly more time, but vastly improves accuracy. For approximately spherical molecules, or for large inter-molecular distances, this may be turned off
-
PBC
= None¶ The periodic axes of the crystal.
-
allow_inversion
= None¶ Whether or not to allow chiral molecules to be inverted.
-
boxes
= None¶ A list of bounding boxes for each molecule. Used for estimating volume of the unit cell.
-
check_atomic_distances
= None¶ Whether or not inter-atomic distances are checked at each step.
-
check_compatible
()[source]¶ Checks if the number of molecules is compatible with the Wyckoff positions. Considers the number of degrees of freedom for each Wyckoff position, and makes sure at least one valid combination of WP’s exists.
-
factor
= None¶ The supplied volume factor for the unit cell.
-
generate_crystal
(max1=30, max2=30, max3=30)[source]¶ The main code to generate a random molecular crystal. If successful, stores a pymatgen.core.structure object in self.struct and sets self.valid to True. If unsuccessful, sets self.valid to False and outputs an error message.
Parameters: - max1 – the number of attempts for generating a lattice
- max2 – the number of attempts for a given lattice
- max3 – the number of attempts for a given Wyckoff position
-
get_orientations
()[source]¶ Calculates the valid orientations for each Molecule and Wyckoff position. Returns a list with 4 indices:
index 1: the molecular prototype’s index within self.molecules
index 2: the Wyckoff position’s 1st index (based on multiplicity)
index 3: the WP’s 2nd index (within the group of equal multiplicity)
index 4: the index of the valid orientation for the molecule/WP pair
For example, self.valid_orientations[i][j][k] would be a list of valid orientations for self.molecules[i], in the Wyckoff position self.wyckoffs_organized[j][k]
-
lgp
= None¶ The number (between 1 and 80) for the crystal’s layer group.
-
molecules
= None¶ A list of pymatgen.core.structure.Molecule objects, symmetrized and oriented along their symmetry axes.
-
numMols
= None¶ The number of each type of molecule in the CONVENTIONAL cell
-
number
= None¶ The layer group number of the crystal.
-
radii
= None¶ A list of approximated radii for each molecule type. Used for checking inter-molecular distances.
-
sg
= None¶ The number (between 1 and 230) for the international spacegroup.
-
thickness
= None¶ the thickness, in Angstroms, of the unit cell in the 3rd dimension.
-
valid_orientations
= None¶ The valid orientations for each molecule and Wyckoff position. May be copied when generating a new molecular_crystal to save a small amount of time
-
volume
= None¶ The volume of the generated unit cell
-
w_symm
= None¶ A list of site symmetry operations for the Wyckoff positions, obtained from get_wyckoff_symmetry.
-
wyckoff_generators
= None¶ A list of Wyckfof generators for the layer group
-
wyckoff_generators_m
= None¶ A list of Wyckfof generators for the layer group (molecular=True)
-
wyckoffs
= None¶ The Wyckoff positions for the crystal’s spacegroup.
-
wyckoffs_organized
= None¶ The Wyckoff positions for the crystal’s spacegroup. Sorted by multiplicity.
-
pyxtal.molecular_crystal.
rand
()¶ random_sample(size=None)
Return random floats in the half-open interval [0.0, 1.0).
Results are from the “continuous uniform” distribution over the stated interval. To sample multiply the output of random_sample by (b-a) and add a:
(b - a) * random_sample() + a
Parameters: size (int or tuple of ints, optional) – Output shape. If the given shape is, e.g., (m, n, k)
, thenm * n * k
samples are drawn. Default is None, in which case a single value is returned.Returns: out – Array of random floats of shape size (unless size=None
, in which case a single float is returned).Return type: float or ndarray of floats Examples
>>> np.random.random_sample() 0.47108547995356098 >>> type(np.random.random_sample()) <type 'float'> >>> np.random.random_sample((5,)) array([ 0.30220482, 0.86820401, 0.1654503 , 0.11659149, 0.54323428])
Three-by-two array of random numbers from [-5, 0):
>>> 5 * np.random.random_sample((3, 2)) - 5 array([[-3.99149989, -0.52338984], [-2.99091858, -0.79479508], [-1.23204345, -1.75224494]])
-
pyxtal.molecular_crystal.
random
() → x in the interval [0, 1).¶


29
Prophecy Against Egypt
1 In the tenth year, in the tenth month, on the twelfth day of the month, the word of the LORD came to me:
2 “Son of man, set your face against Pharaoh king of Egypt, and prophesy against him and against all Egypt;
3 speak, and say, Thus says the Lord GOD:
“Behold, I am against you,
Pharaoh king of Egypt,
the great dragon that lies
in the midst of his streams,
that says, ‘My Nile is my own;
I made it for myself.’
4 I will put hooks in your jaws,
and make the fish of your streams stick to your scales;
and I will draw you up out of the midst of your streams,
with all the fish of your streams
that stick to your scales.
5 And I will cast you out into the wilderness,
you and all the fish of your streams;
you shall fall on the open field,
and not be brought together or gathered.
To the beasts of the earth and to the birds of the heavens
I give you as food.
6 Then all the inhabitants of Egypt shall know that I am the LORD.
 Then they will know that I am the LORD.
“Because you said, ‘The Nile is mine, and I made it,’
10 therefore, behold, I am against you and against your streams, and I will make the land of Egypt an utter waste and desolation, from Migdol to Syene, as far as the border of Cush.
11 No foot of man shall pass through it, and no foot of beast shall pass through it; it shall be uninhabited forty years.
12 And I will make the land of Egypt a desolation in the midst of desolated countries, and her cities shall be a desolation forty years among cities that are laid waste. I will scatter the Egyptians among the nations, and disperse them through the countries.
13 “For thus says the Lord GOD: At the end of forty years I will gather the Egyptians from the peoples among whom they were scattered,
14 and I will restore the fortunes of Egypt and bring them back to the land of Pathros, the land of their origin, and there they shall be a lowly kingdom.
15 It shall be the most lowly of the kingdoms, and never again exalt itself above the nations. And I will make them so small that they will never again rule over the nations.
16 And it shall never again be the reliance of the house of Israel, recalling their iniquity, when they turn to them for aid. Then they will know that I am the Lord GOD.”
17 In the twenty-seventh year, in the first month, on the first day of the month, the word of the LORD came to me:
18 “Son of man, Nebuchadnezzar king of Babylon made his army labor hard against Tyre. Every head was made bald, and every shoulder was rubbed bare, yet neither he nor his army got anything from Tyre to pay for the labor that he had performed against her.
19 Therefore thus says the Lord GOD: Behold, I will give the land of Egypt to Nebuchadnezzar king of Babylon; and he shall carry off its wealth and despoil it and plunder it; and it shall be the wages for his army.
20 I have given him the land of Egypt as his payment for which he labored, because they worked for me, declares the Lord GOD.
21 “On that day I will cause a horn to spring up for the house of Israel, and I will open your lips among them. Then they will know that I am the LORD.”


This was the first year I put together two Ironman races. Honestly it went really well. Last year, post Hamburg I felt really unmotivated and just going through the motions in my prep for Cascais 70.3 (Awesome race btw). This year not so. I think having the 2 week holiday in Tuscany at a family wedding really broke up the build. I really only had 6 hard weeks plus 3-4 easier weeks if you include the holiday. As I did for Lanza, I didn't sweat numbers and just adopted consistency as my most important measuring stick. Throw in 10 days of taper, I was good to toe the line again.
Here is a summary of the hours I did post Lanza this year
Insert graphic
I also got to race this year in between the two races which was awesome. Did the Base2Race Harbourman national champs placing 2nd in my age group (lucked out! and not for the first time this year as you will find out later). This was a super race, great crowd and atmosphere.
Copenhagen
I made the trip over to Copenhagen with Matt, Niall and Jane. Niall + Jane were our supporters for the weekend. Matt had been there the year previously and knew the lay of the land. Thank god for this. Definitely tricky in terms of logistics. Bike drop offs, race registration and bike collection from Shipmytri. Think Dublin 70.3 a few years ago where you had split transitions. The expo was excellent, located on the grounds of the Danish Architecture Centre. Copenhagen is really really cool. Definitely recommend a visit if you have never been. Pricey, but slick.
In the 6-7 weeks prior to the race, I had a backdrop on my phone. "I'm a 9'20s athlete". Set big audacious goals. Shoot for the moon etc. While it was a goal, it wasn't a time I was fixated on achieving or talk about, it was just there lurking in the lead up to the race :)
Insert pic of matt + paul
Swim
Swim is really beautiful. Stunning area of Copenhagen and great support. Sighting was easy. All going well for me till about 3k where I definitely lost focus. For some reason I felt I was almost finished and realised that I had another 800m or so. Bit deflated and lack of focus here. Took the foot off the gas. Exited and was happy to see 1'06. This was a PB of 1 min for me.
Bike
I found the bike course a bit dull to be honest. Support was ok and course a bit boring. The first 10k or so was great fun as you are navigating through streets out of the city. It's a pretty flat course (think about 700m of total elevation), however its quite technical and definitely windy, never really felt like I had the wind. Its quite hard to find a groove as there are lots of sharp turns and false flats. In terms of pacing, I took the first 2.5 hours very handy, then upped the effort on the second lap. Coming back into the city is amazing. Support was brilliant here. Awesome to hand over your bike to one of the ironman support crew and head to your transition.
Run
Weather was a bit drizzly starting off the run. Settled into a groove earlier. Looked at my watch and seeing I was running a little fast. Backed off. Ten mins later, I checked again to find I was running at the same speedy pace. Decided to just go with it. Run was amazing. There was a 1-2k stretch on the 4 loop course that I thought was a bit of a lull in terms of atmosphere, everywhere else though it was electric. People out in their droves. Amazing stuff. I knew I was on the edge of my run throughout but just kept hanging in there. The last 4-5k I was really starting to slow down. Using all the mental tricks to get me through this spell. The weather didn't help here. The rain was torrential. Really heavy. Deep puddles everywhere. As there was a bit of cobbles on the course which made the surface really slippy in parts. The rain did hold off for 90% of the day however. I knew I was sub 10, however, I really had no idea of my overall time as I don't allow myself to look at this as I think it will screw with my effort. Chuffed to see 9:33 on the finishing clock.
The timing of the torrential downpour was a little disappointing as it took away from the post race finish area. People didn't hang around. It was too wet and cold. My lips were turning blue apparently.
Really happy with the race and weekend away with good friends. The next morning/afternoon was spent drinking coffee + eating cakes in a super cool market in Copenhagen before flying home. Super weekend.
As it turns out I would have picked up a roll-down spot for Kona if we went to the awards ceremony. It was never an option for me financially. But was chuffed to qualify. Some day :) Best start saving.
So I did 5 rides outside this year. 2 in Lanzarote on a family holiday. 1 @ Ironman Lanza, 1 @ Harbourman, 1 @ Ironman Copenhagen. Turbo training is not for everyone, but certainly ticks the box for me.


| 1 | /* | |
| 2 | * Licensed to the Apache Software Foundation (ASF) under one or more | |
| 3 | * contributor license agreements. See the NOTICE file distributed with | |
| 4 | * this work for additional information regarding copyright ownership. | |
| 5 | * The ASF licenses this file to You under the Apache License, Version 2.0 | |
| 6 | * (the "License"); you may not use this file except in compliance with | |
| 7 | * the License. You may obtain a copy of the License at | |
| 8 | * | |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 | |
| 10 | * | |
| 11 | * Unless required by applicable law or agreed to in writing, software | |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, | |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 14 | * See the License for the specific language governing permissions and | |
| 15 | * limitations under the License. | |
| 16 | */ | |
| 17 | ||
| 18 | package org.apache.commons.math3.analysis.function; | |
| 19 | ||
| 20 | import org.apache.commons.math3.analysis.UnivariateFunction; | |
| 21 | import org.apache.commons.math3.util.FastMath; | |
| 22 | ||
| 23 | /** | |
| 24 | * {@code rint} function. | |
| 25 | * | |
| 26 | * @since 3.0 | |
| 27 | * @version $Id$ | |
| 28 | */ | |
| 29 | public class Rint implements UnivariateFunction { | |
| 30 | /** {@inheritDoc} */ | |
| 31 | public double value(double x) { | |
| 32 |
1
1. value : replaced return of double value with -(x + 1) for org/apache/commons/math3/analysis/function/Rint::value → SURVIVED |
return FastMath.rint(x); |
| 33 | } | |
| 34 | } | |
Mutations | ||
| 32 |
1.1 |


---
layout: post
title: selecting count(1) vs count(*)
date: '2007-01-05T14:13:00.000-06:00'
author: Don Seiler
tags:
- tuning
- oracle
modified_time: '2010-11-19T22:48:47.806-06:00'
blogger_id: tag:blogger.com,1999:blog-7032512792942232766.post-1147341267682180223
blogger_orig_url: http://www.seiler.us/2007/01/selecting-count1-vs-count.html
---
Count me among the many who naively assumed that using count(1) instead of count(*) was somehow faster or less resource-intensive when counting the number records in a select query. Herod over at Yet Another Oracle DBA provides some more evidence on top of Tom Kyte's previous smackdown.


{% extends "barber/base.html" %}
{% import 'bootstrap/wtf.html' as wtf %}
{% block app_content %}
Hi, {{ current_user.first_name }}!
{% if current_user.username == 'admin' %}
Barbers
| # |
Name |
Username |
Actions |
{% for barber in barbers %}
| {{ barber.id }} |
{{ barber.first_name }} {{ barber.last_name }} |
{{ barber.username }} |
Delete
|
{% endfor %}
Services
| # |
Name |
Description |
Duration (min) |
Price (RON) |
Actions |
{% for service in services %}
| {{ service.id }} |
{{ service.name }} |
{{ service.description }} |
{{ service.duration }} |
{{ service.price }} |
Delete
|
{% endfor %}
{% else %}
Your reservations for today
| Time |
Client Name |
Client Phone |
Service |
Duration |
Confirmation Status |
{% for reservation in today_reservations %}
| {{ reservation.reservation_time.strftime('%H:%M') }} |
{{ reservation.client_first_name }} {{ reservation.client_last_name }} |
{{ reservation.client_phone }} |
{{ reservation.get_service() }} |
{{ reservation.get_duration() }} |
{{ reservation.confirmed_status }} |
{% endfor %}
{% endif %}
{% endblock %}


Working with the clipboard in web browsers is subject to many inconsistencies. This tool helps you explore the content of the clipboard when you paste something on a web page. Built by Dan Burzo. Refer to the project's Github page for sources and more references.


Gaétan Collaud / 18 August 2020
Long Range Wide Area Network
2 engineers in electronics
2 software engineers
https://app.koalasense.ch


Get Me Out
No Users Online
Dude, were you living in a cave ?
Your browser is way past its lifetime
It's time to update it or kill it
Chatter Club
Chatter Club
Get Me Out
Get Started
Authenticate
You're Not Getting In
No Users Online
No Active Chats
Send


IASAS MUN 2015
13-15 November 2015 | International School Bangkok
Toggle navigation
IASAS MUN 2015
Home
Documentation
Emergency Situation
Guest Speaker
Country Matrix + Topics
Schedule
Rules of Procedure
Important Contacts
Program Booklet
GA/Secretariat
Committees
Disarmament and International Security Committee (DISEC)
Economic and Social Council (ECOSOC)
Historical Committee (HC)
Human Rights Council (HRC)
Security Council (SC)
Special Political and Decolonization Committee (SPECPOL)
Media
NEW
Photos
General Assembly
NEW
Apps
Drive + Docs
Mail
Help
Photos
Day 1
Day 2
Day 3
1
2
Download High-Resolution Photos
Day 1
Day 2
Day 3


“Welcome to daily Steem Engine Trading list, Data obtained from the Steem Engine.
Steem Engine Trading list will be posted daily.If you like it, please support upvoting and follow me @m18207319997.
STEEM ENGINE 24h volume Top 10
NO Symbol Token Name Market Cap Price Chg 24h Vol Supply
1 PUMP Pump 1355 0.00001 123.26% 2774 100000000
2 DIAMOND Diamond Token 930127 0.00081 -20.00% 2751<PHONE_NUMBER>
3 DEC Dark Energy Crystals 111804 0.00077 -5.97% 2724 145088623.5
4 DT Dance Token 173893 0 309.52% 2014 1E+12
5 USDONE USDONE 5216790 1.04 -4.80% 1547 5000000
6 BETA Steem Monsters Beta Pack 262861 3.84 25.83% 1312 68421
7 APX APPICS 5291726 0.03517 0.00% 1102 150457632
8 HT Holiday Token<PHONE_NUMBER> 0 0.00% 857.07 1.14401E+15
9 SEEMS Seems 1008984 100.9 322.88% 819.48 10000
10 SCT steemcoinpan token 495005 0.111 0.00% 584.61 4442093.541
https://steem-engine.com/?p=tokens 2020/1/19
STEEM ENGINE 24h volume Top 10
NO Symbol Token Name Market Cap Price Chg 24h Vol Supply
1 PUMP Pump 1355 0.00001 123.26% 2774 100000000
2 DIAMOND Diamond Token 930127 0.00081 -20.00% 2751<PHONE_NUMBER>
3 DEC Dark Energy Crystals 111804 0.00077 -5.97% 2724 145088623.5
4 DT Dance Token 173893 0 309.52% 2014 1E+12
5 USDONE USDONE 5216790 1.04 -4.80% 1547 5000000
6 BETA Steem Monsters Beta Pack 262861 3.84 25.83% 1312 68421
7 APX APPICS 5291726 0.03517 0.00% 1102 150457632
8 HT Holiday Token<PHONE_NUMBER> 0 0.00% 857.07 1.14401E+15
9 SEEMS Seems 1008984 100.9 322.88% 819.48 10000
10 SCT steemcoinpan token 495005 0.111 0.00% 584.61 4442093.541
https://steem-engine.com/?p=tokens 2020/1/19
STEEM ENGINE Change Top 10
NO Symbol Token Name Market Cap Price Chg 24h Vol Supply
1 FUTURE FUTURE $888.41 $0.00008 897.56% $0.00009 10742478.14
2 NEOX Neoxian Gold $3003 $19.01 840.00% $4.4 158
3 LIV Life Influence and Value $15220 $0.09685 331.14% $0.402 157143.677
4 SEEMS Seems $1008984 $100.9 322.88% $819.48 10000
5 DT Dance Token $173893 $0 309.52% $2014 1E+12
6 CTP CTP Token $10869 $0.01193 126.92% $23.47 911097.155
7 PUMP Pump $1355 $0.00001 123.26% $2774 100000000
8 SONIC Sonic Groove $2889 $0.00071 90.22% $0.549 4081689.656
9 HBO Hobo $3047 $0.00003 70.00% $3.44 88647890
10 MINI mini $26384 $0.04145 36.74% $32.52 636505.63
https://steem-engine.com/?p=tokens 2020/1/19
STEEM ENGINE Price Top 10
NO Symbol Token Name Market Cap Price Chg 24h Vol Supply
1 MARS Ticket2Mars 3235218 32352 0 – 100
2 YHWH YHWH 40440.00 20220.00 0.00% – 2
3 BTCP BITCOIN Pegged 12421.00 9503.00 2.39% $10 1.31
4 QTL Quatloo 11121.00 1011.00 0.00% – 11
5 BCHP BITCOIN CASH Pegged 2298.00 594.47 0.00% – 4
6 STEEMSENSE STEEMSENSE 404402.00 404.40 0.00% – 1,000
7 VTN Volderiant Network 204223366.00 202.20 0.00% – 1,010,001
8 TROPHY JJM Trophy 1011.00 202.20 0.00% – 5
9 NEOXAGM Neoxian Silver Miner 17592.00 121.12 0.00% $0.83 145.25
10 LOVE JANASILVER 151651.00 101.10 0.00% – 1,500
https://steem-engine.com/?p=tokens 2020/1/19
This page is synchronized from the post: ‘Steem Engine Trading list 4:48 PM01/19/2020’


Watch it changing for tiny, small, medium, large, xlarge, 2xlarge and 3xlarge widths!
nxRowJustify="start,start,around" => nxRowJustify="start,start,around,around,around,around,around"