text
stringlengths
8
5.77M
Cardiac protection by mitoKATP channels is dependent on Akt translocation from cytosol to mitochondria during late preconditioning. This investigation elucidates the Akt/mitochondrial ATP-sensitive K(+) (mitoK(ATP)) channel signaling pathway in late pharmacological preconditioning, using the mitoK(ATP) channel openers BMS-191095 (BMS) and diazoxide (DE). BMS (1 mg/kg ip) and DE (7 mg/kg ip) alone or BMS plus wortmannin (WTN, 15 microg/kg ip), an inhibitor of phosphatidylinositol 3-kinase, and BMS plus 5-hydroxydecanoic acid (5-HD, 5 mg/kg ip), an inhibitor of mitoK(ATP) channels, were administered to male mice. Twenty-four hours later, hearts were isolated and subjected to 40 min of ischemia and 120 min of reperfusion via Langendorff's apparatus. Both BMS and DE reduced left ventricular end-diastolic pressure and increased left ventricular developed pressure as well as reduced LDH release. Coadministration of BMS and WTN abolished the beneficial effects of BMS on cardiac function. Moreover, BMS and DE accelerated Akt phosphorylation in cardiac tissue as determined by Western blot analysis and also significantly reduced apoptosis compared with ischemic control. WTN significantly suppressed BMS-induced Akt phosphorylation, whereas 5-HD had no effect on Akt phosphorylation in cytosol, and the effect of BMS on apoptosis was abolished. It is concluded that the cardioprotective effect by mitoK(ATP) channels is attributed to the translocation of phosphorylated Akt from cytosol to mitochondria.
David Stern expects NBA to add blood testing for HGH by 2013-14 Commissioner David Stern said Wednesday that he expects the NBA will follow Major League Baseball's lead by adopting blood testing for Human Growth Hormone (HGH). "We watch what's going on in baseball, we watch the negotiations that are going in with football, and it is my expectation that by next season [we] will be doing blood testing for HGH," Stern told WCCO radio in Minnesota. "Our players have been terrific. They lead this in some ways, saying, ' We do not want to have anything less than the best.' That's been the way it's been since 1983." The NBA has been exploring the issue for some time. In Dec. 2011, after the conclusion of the lockout, NBA.com reported that HGH testing would be phased in once a reliable testing procedure could be determined. Stern said Wednesday that testing hadn't been implemented to this point because "there hasn't been a favored testing protocol yet" and stated that he didn't believe the NBA has a serious problem with HGH, which is on the league's list of banned substances. "If I say I don't have a concern, everyone says I'm a Pollyanna," Stern said. "I don't have any reason to know one way or another. My guess is and my hope is that it's not widely used in the NBA." MLB commissioner Bud Selig announced in January that his league would begin in-season testing for HGH. "This is a proud and a great day for baseball," Selig said. "We'll continue to be a leader in this field and do what we have to do." "I believe that HGH testing is going to happen prior to the 2013 NFL season," Goodell said, the Denver Post reported. " It's the right thing to do for the players, for their health and well-being long-term. It's the right thing to do for the integrity of the game. It's also the right thing to do to send the right message to everybody else in sports. You don't have to play the game by taking performance-enhancing drugs. The science is there." ESPN.com reported in January that Maryland congressman Elijah Cummings has urged the NBA to begin implementing HGH tests "right away" because testing is now considered reliable. Stern also joked Wednesday that he personally does not use performance-enhancing drugs. "I don't take them," he said. "I just want you to know, if you want to come here and test me, I'm ready. ... You won't find anything."
Wire Displays Companies Serving Wisconsin Badger Precision Spring serves even the most unusual precision component springs & wire forms applications for industry. Nearly 60 years of custom manufacturing expertise for prototypes to millions using your design or with their assistance. Top quality springs: compression, barrel, conical, extension & torsion. Samples of the spring you order will be available before production of the product. Wire Displays in Illinois. Founded in 1934, Components has been leading in contract packaging. We offer product fulfillment services as well as custom packaging and point of purchase packaging. Our company is very proud of the custom packaging services we offer and the multitude of products that we package for our customers. Wire Displays in Illinois. Established in 1987, with the single goal of becoming the #1 supplier in the world of fan accessory products, GardTec employs an in-house staff of the industry’s most experienced team of design engineers and tool makers, capable of designing and manufacturing the most difficult custom wire form products. Wire Displays in Illinois. A world of custom solutions awaits you at Merrill Manufacturing Corporation. Since 1916, Merrill has worked diligently to position itself as a leader in the wire industry and word-of-mouth praise from satisfied customers continues to enhance their reputation for high-quality wire displays and on-time delivery. Contact Merrill today to learn more about their world of custom solutions! Wire Displays in Illinois. We will diligently manufacture your wire displays. These outstanding products can be engineered for unique designs. Do not hesitate to let us know if you have any specific requests. Our wire displays come with unrivaled quality. These world-class products are made with added benefits. If you are in need of innovated wire displays then you have come to the right place. Please give one of our representatives a call if you would like more information! Wire Displays in Illinois. WireTech Fabricators fabricate versatile and first-rate wire displays. We offer floor, counter, wall mounted, and literature displays. We can create a custom display that will fit your products. We will help you from design to prototype to production. Quality customer service is our top priority. To check out our portfolio or for more information, check out our website today! Wire Displays in Illinois. Wire Displays Companies Serving Illinois With over 25 years of experience as a full range wire former, Active Wireworks is committed to quality standards & saving you money through redesign. We produce wire forms with diameters from .015" - .500". In-house tooling & design, CNC forming, threading, piercing & common finishes are available. Wire Displays in Illinois. All-Rite Spring Company has been manufacturing and supplying products like wire displays, trampoline springs and a variety of other spring and wire form products since 1947. We're a leading manufacturer of flat wound spiral and torsion springs in the industry. Call today or visit our website for more information on all our products. Wire Displays in Illinois. Mid-West Wire Specialties excels as wire display manufacturers with a full wire display unit product line including wire display panels, wire displays racks, wire display stands and wire counter displays. With finishing, shipping and coating as just some of the many secondary services offered, Mid-West Wire Specialties provides first-class wire displays for industries such as medical and lighting. Wire Displays in Illinois. Acme Wire Products LLC specializes in long and short run personalized wire products. Our experienced team excels at working with you to deliver a high quality product. Our niche market is the barbeque, food service, and laboratory industries. Contact us for more information! Wire Displays in Illinois. All-Rite has been a proud supplier to the North American and international industrial marketplace for over 60 years. Our customers include automotive aftermarket, electronics, and appliance, military, aerospace, medical, and entrepreneurial industries. All-Rite industries utilizes high precision production equipment including punch presses, four-slides, CNC, spring coilers, injection molding presses, insert molding presses, and other secondary operation equipment. Wire Displays in Illinois. APEX Wire Products is an industry leader in wire and metal fabrication. We manufacture wire products such as wire racks and wire displays. APEX pays special attention to the detail and the quality of our products to ensure outstanding customer satisfaction. Give us a call! Wire Displays in Illinois. A world of custom solutions awaits you at Archer Wire. For over 70 years, Archer has worked diligently to position itself as a leader in the wire industry and word-of-mouth praise from satisfied customers continues to enhance their reputation for high-quality wire displays and on-time delivery. Contact Archer today to learn more about our world of custom solutions! Wire Displays in Illinois. For 59 years, Astoria Wire & Metal Products has designed and manufactured custom wire and metal fabricated products. We can create wire products from your designs and ideas. Our wire specialties include a variety of wire displays, both floor and counter, conveyor totes or carriers and OEM products. Wire Displays in Illinois. AWC Industries is your one stop source for metal fabrication and finishing. Specializing in tube fabrication and finishing as well as sheet metal and wire processes, our experienced engineers provide the quality craftsmanship you deserve using state of the art CNC machining. AWC we believe that outstanding customer service has and will always be the key to our continuing success. Wire Displays in Illinois. Capitol Coil is a manufacturer of springs and wire forms. Our products include extension springs, flat springs, torsion springs, compression springs and wire products for industry. We are flexible to your specific requirements whether you need a short-run of prototypes or a blanket-order for an entire year. We also offer heat treating, custom packaging, bar coding, grinding and CNC coiling. Wire Displays in Illinois. CFC Wireforms is a family-owned business offering over 30 years of combined experience. We manufacture precision wire forms, metal stampings and tube products. We specialize in CNC wire forming and are ISO 9000 and QS 9000 certified. Offering a variety of automated operations like cold heading, we provide parts that run on precision quality tooling and at the fastest production rate possible. Wire Displays in Illinois. Deringer-Ney specializes in metal stampings, fourslide stampings and precision metal stampings for a variety of applications in the automotive, electrical, dental and medical industries. We specialize in the small, precision metal and plastic parts. Let us take care of your metal stamping needs. Wire Displays in Illinois. Founded in 1912, the original Illinois Tool Works (ITW) division, ITW Shakeproof Industrial Products is a multinational manufacturer of highly engineered components and systems serving a wide variety of markets. We hold over 5000 patents. Our products include custom springs and wire forms, threaded fasteners and retainers. Contact us today to begin reducing your manufacturing and assembly costs. Wire Displays in Illinois. Keats Manufacturing was founded in 1958 and has grown into a leading producer of custom small metal stampings, wire forms and assemblies. Some of our products include bushings, shields, brackets, clips, springs, heat sinks, terminals and lead frames. We are able to manufacture precision metal parts from a large variety of metals and metal alloys such as aluminum, stainless steel and titanium. Wire Displays in Illinois. Lewis Spring and Mfg. Company was established in 1945 with a corporate mission to design and manufacture high quality precision springs, wire forms, stampings and rings. Through dedication, hard work and innovative engineering, Lewis Spring has become a leading supplier of custom-made component parts, for a broad range of applications. Wire Displays in Illinois. Since 1928, Mid-West Spring & Stamping has been a leading manufacturer of custom flat springs, wire forms, wire displays, custom wire goods and wire products. We offer the best in quality, service and delivery for customers nationwide. Wire Displays in Illinois. Patrick Manufacturing is a leader in made-to-order wire forms & springs. Parts are fabricated to your specifications with wire ranging from .020" to .250". We are ISO 9001:2015 registered. Patrick has proudly provided quality manufacturing since 1984 and continues to improve and progress with state-of-the-art CNC machinery and technology. Woman owned and operated. Patrick Manufactures for OEM’s and Contract manufacturers across many, many industries in the United States, Europe and Mexico. Wire Displays in Illinois. Slidematic Products manufactures industrial casters and glides, serving many bed frame manufacturers in the United States. Our industrial casters are high quality and innovative products. Our company strives to keep our furniture casters up with new markets and customer requirements. Wire Displays in Illinois. Wireformers is an ISO 9001-certified manufacturer of custom wire and metal forming, including wire forms, flat forms, stampings, springs and assemblies. We have been providing our customers throughout the nation with excellent quality, personalized service and on-time delivery for more than 40 years. Wire Displays in Illinois. ZACO is a full-service manufacturer of wire forms, music wire, springs, wire products and multi-component assemblies. Our engineering specialists work hard to find innovative solutions to your custom requests and provide services in all areas of fabrication, from concept and design to prototyping and production. Wire Displays in Illinois. Wire Displays Companies Serving Indiana With over 40 years of experience in providing products for the retail industry as well as OEMs, Angola Wire Products is a premier manufacturer of wire goods, wire racks and wire products like commercial wire displays. We offer custom quality products to meet a variety of needs and uses. Wire Displays in Illinois. Founded in 1960, Kewanna Metal Specialties is a family-owned corporation providing the highest quality in wire displays and more, including allied services such as bending, welding, coining and powder coating. With top clients such as Yamaha and Ingersoll-Rand, Kewanna Metal Specialties offers wire forms in all types and sizes ranging from .060 to .626 diameter and even three-dimensional products. Wire Displays in Illinois. If you need trustworthy wire displays then you have come to the right place. Our wire displays are ideal for large or small products and our teams can customize these items to match your exact specifications. From tabletop POP displays to standing displays, we supply it all! If you would like to learn more information about our products or services please give one of our representatives a call today! Wire Displays in Illinois. Founded in 1921 with a specialty in wire products and sheet metal fabrication, our job shop can produce a variety of wire forms. Trash and laundry bag stands, pet cages, galvanized wire products, fourslide products, fan guards and wire guards for the HVAC industry are just a few products we offer. Wire Displays in Illinois. Monticello Spring is a manufacturer that specializes in springs, wire forms for springs and custom wire forms. We are QS 9000/ISO 9002 certified, and are a leader in the spring industry. Our commitment to total quality management (TQM) is the foundation for our success. Wire Displays in Illinois. Turn to Myers Spring for top of the line springs. We specialize in creating springs for custom sizes. These springs have diameters ranging from .006" to .750" and loads from half a gram to 2.5 tons. We manufacturer compression springs, torsion springs, extension springs, wire forms, spiral wound brush springs, packaging and more. There is no custom project too demanding for our engineers. Wire Displays in Illinois. We are a manufacturer of round wire forms, using wire sized .004" to .437". As our name indicates, we also manufacture springs--compression, torsion, and extension--using a variety of materials to make the part you need. Call today. We strive to provide you with a quote in 24 hours or less. Wire Displays in Illinois. Founded in 1906, family-owned Sommer MetalCraft has over 100 years of experience in wire and metal product manufacturing. Sommer’s commitment to growth and innovation is seen in the state-of-the-art technology used to produce high-quality custom items such as wire displays, hooks and baskets. Other valuable services offered by the experienced team include powder-coating, assembly and packing. Wire Displays in Illinois. Stevens Wire Products is prepared to custom design freestanding & countertop wire displays to meet your needs. As an experienced wire manufacturer, we can create a variety of displays, from simple racks to ones that can be rotated. The Stevens Wire Products company offers design assistance & full CAD design for your wire display manufacturing. High Quality Wire Displays! Great Prices! On time! Wire Displays in Illinois. Wire Displays Companies Serving Michigan We will diligently manufacture your wire displays. These outstanding products can be engineered for unique designs. Do not hesitate to let us know if you have any specific requests. Our wire displays come with unrivaled quality. These world-class products are made with added benefits. If you are in need of innovated wire displays then you have come to the right place. Please give one of our representatives a call if you would like more information! Wire Displays in Illinois. Whether they are micro compression springs at the heart of a pacemaker or a gigantic spring integral to a NASA space shuttle, HyTech’s products make their customers' technology work. At HyTech, they design & manufacture quality wire displays, as well as many other custom components & precision machined parts for a host of industries from medical & aerospace to automotive & national defense. Wire Displays in Illinois. Our ISO 9001:2000 certified company can meet your spring needs whether they be prototype or production with any quantity. JADE Manufacturing has a spring grinding and surfacing department that can handle small – large orders. Choose from compression, extension, coil, torsion springs, or wire forms. Wire Displays in Illinois. M.D. Hubbard is an ISO 9002:1994-certified manufacturer of custom fourslide products, wire forms, springs, custom stampings and assemblies. All of our manufacturing gaging standards are certified to N.I.S.T., and are undergoing continuous development and improvement. Wire Displays in Illinois. Motion Dynamics is a precision manufacturer of custom wire forms and laser welded assemblies with design assistance and capabilities from prototype through to high volume production. Our assemblies include hypotubes, stampings, coils, and wires from a variety of materials including Nitinol. We specialize in micro precision, tight tolerance wire forms and assemblies. Wire Displays in Illinois. Pac CNC is a family owned business founded in 1986 by Roger Hoogewind. Starting out as a CNC wire EDM company, we soon progressed into building tools and dies for customers. Then in 1993, the company took the next step and started manufacturing of custom designed parts for customers with the tooling that we built. Wire Displays in Illinois. Salco Engineering is an innovative manufacturing company that has fulfilled the material handling requirements for automotive, food, medical, and other industries since 1963. Specialties include wire forming, wire baskets, returnable plastic dunnage inserts, industrial carts, wire storage decking, and other specialized wire products. Salco also provides Solidworks design services as well as prototyping via 3D printing. Visit salcoeng.com today for more information or to request a quote. Wire Displays in Illinois. A world of custom solutions awaits you at Archer Wire. For over 15 years, we have worked diligently to position itself as a leader in the wire industry and word-of-mouth praise from satisfied customers continues to enhance their reputation for high-quality wire displays and on-time delivery. Contact Archer today to learn more about our world of custom solutions! Wire Displays in Illinois. Wire Displays Companies Serving Minnesota Northern Metal Products has been a leading manufacturer for over 50 years, providing creative custom wire solutions to a broad range of industries. With a focus on precision, quality and customer service, Northern Metal products include: wire baskets, racks, grills and more, made from low carbon, galvanized and stainless steel. The excellent facilities include in-house storage and fulfillment. Wire Displays in Illinois. At Car-Anth Manufacturing we form your ideas™. Our capabilities include tube fabrication, wire fabrication and wire forming, metal stamping and CNC machining. We work with a variety of metals such as stainless steel, aluminum and brass. We also provide powder coating and plating services and offer a wide range of wire products like wire forms, wire baskets, wire racks and wire shelves. Wire Displays in Illinois. K & S fabricate versatile and first-rate wire displays. We offer floor, counter, wall mounted, and literature displays. We can create a custom display that will fit your products. We will help you from design to prototype to production. Quality customer service is our top priority. To check out our portfolio or for more information, check out our website today! Wire Displays in Illinois. Semco, a division of Leggett & Platt, is an industry leader in the manufacturing of wire displays and wire products like wire basket displays, hooks, grid caps, shelves and sign holders. As one of the world's leading wire specialists, we find innovative solutions and produce reliable products. Wire Displays in Illinois. At Western Wire Products, we manufacture wire fasteners, electrical and plumbing supplies and custom wire forms. When you send us a sketch, we can create a custom wire product to your specifications. We serve customers located all over the U.S., so call today with your wire form needs. Wire Displays in Illinois. Wire Displays Companies Serving Ontario W & M Wire & Metal Products Ltd. is one of the leading manufacturer of POP Displays, Store Fixtures and Custom Wire and Tubing as well as other custom wire and metal products in Toronto, Ontario, Canada. Wire Displays in Illinois.
""" Add the organization table. Revision ID: 628c53b07 Revises: 7bf167611bc3 Create Date: 2018-03-15 11:00:50.420618 """ import sqlalchemy as sa from alembic import op revision = "628c53b07" down_revision = "7bf167611bc3" def upgrade(): op.create_table( "organization", sa.Column("id", sa.Integer, autoincrement=True, primary_key=True), sa.Column("created", sa.DateTime, server_default=sa.func.now(), nullable=False), sa.Column("updated", sa.DateTime, server_default=sa.func.now(), nullable=False), sa.Column("name", sa.UnicodeText, nullable=False, index=True), sa.Column("logo", sa.UnicodeText), sa.Column("authority", sa.UnicodeText, nullable=False), sa.Column("pubid", sa.Text, unique=True, nullable=False), ) def downgrade(): op.drop_table("organization")
Q: How can I turn "'\n'" (String) into '\n' (char) in java Its a simple question, I have a String like this: String s = "'\n'"; I want to turn that into a character like this: char c = '\n'; What can I do? A: There are three characters, first is ', second is \n and third is '. You can get the second one using .charAt(1) since it is zero based indexing: String s = "'\n'"; char ch = s.charAt(1);
1. Field of the invention The invention concerns a device for measuring the ocular parameters of a subject, in particular the interpupillary distance, for the purpose of fitting a pair of spectacles. 2. Description of the prior art For a pair of spectacles to suit the subject who wears them, it is necessary for the lenses to be disposed in the frame surrounds so that their principal optical axes are coincident with the optical axes of the corresponding eyes, under average conditions of use. The frame constitutes a secondary point of reference for the position of the lenses, its position relative to the face of the subject being essentially defined by the nose pads bearing on opposite sides of the nose and, as an ancillary to this, by the contact of the frame side members with the ears. The position of the lenses relative to the frame is conveniently defined (in Cartesian coordinates with an axis of abscissae which is horizontal (with reference to the face of the subject) and a vertical axis of ordinates) by the abscissa and the ordinate of the optical center of the lens. The origin of the abscissae is naturally situated in the vertical plane of symmetry of the frame. For reasons of convenience with regard to the finishing of the lenses, there is generally taken as the origin of the ordinates the horizontal straight line which passes through the bottom part of the frame surrounds, so that the ordinate is the distance between the optical center of the lens and its bottom edge. The interpupillary distance is the distance which separates the optical axes of the eyes when the gaze is focused at infinity. The (vector) difference between the abscissae of the optical centers of the lenses must correspond to the subject's interpupillary distance. French patent No. 1 506 352, filed Aug. 4 1966, describes an improved device for measuring the interpupillary distance by determining for each eye the position of the reflection on the cornea of a light spot situated at infinity, with the gaze focused at infinity. Similar measurements are obtained with the gaze focused on a point at a finite distance, in which case the optical axes of the eyes converge. According to the aforementioned patent, the device essentially comprises a box in which there are placed a lens adapted to be moved parallel to itself along its principal optical axis, a light source at the focus of the lens when the latter is at an origin farthest removed from the source, the latter being geometrically offset from the optical axis by means of a semi-reflecting mirror disposed at 45.degree., and on two respective opposite sides of the box perpendicular to the optical axis of the lens, a hole situated on the optical axis at the focus of the lens when at the origin, and a front plate comprising nose pads and two openings to simulate a spectacle frame, the openings surrounding the intended position of the lenses and being fitted with movable markers constituting a graticule. For purposes of measurement the movable markers and the reflections of the point source on the corneas, as seen through the hole, are rendered coincident. The position of the lens defines for the subject an effective viewing distance from the point source, whereas the operator looks through the hole which is at a point which is optically coincident at the point source at all times. Measurement of the interpupillary distance for a convergent gaze focused on a close virtual point does not introduce any angular parallax error, and the position of the graticule in the plane of the windows, which corresponds to the general plane of the lenses, defines the required position for the optical center of the lenses. This device, which is of excellent design from the optical point of view, suffers from imperfections in the mechanical part controlling displacement of the graticules. The required accuracy of a few tenths of a millimeter imposes the use of micrometer screws or racks to move the indexes, resulting in a fragile device which must be operated slowly. Reading the position with verniers or drums associated with linear scales becomes difficult as soon as the accuracy required is greater than one-half-millimeter. Also, movement of the graticules in two mutually perpendicular directions seriously complicates the mechanical control and display devices. In point of fact, the device described in the aforementioned patent has only horizontally movable indexes, principally for determining the interpupillary distance, and as an ancillary to this for measuring the distance from the spectacle frame to the eye, by viewing from the side. An object of the invention is a device for measuring optical parameters capable of rapidly providing accurate data for fitting lenses in a spectacle frame to the ocular parameters of a subject. Another object of the invention is a device of this kind which provides, in addition to the distance between the pupils and between each pupil and the axis of symmetry of the frame, the distance between the pupil and the bottom edge of the frame. A further object of the invention is a device of this kind which produces directly usable digital data.
• Meetings with the lecturers of the Bachelors’ degrees in Administration and Communication studies • Meetings with the lecturers of the Bachelors’ degrees in Law and Political Science• Meetings with the lecturers of the Bachelors’ degrees in Computer Studies And also: • Welcome desk• Students’ life information desk (associations, foreign languages, sports, Regional Student Social services- CROUS.)• Tour of the campus• Introduction to the training portfolio chaired by the Deans and the course directors• Presentation of the Master’s graduates professional insertion • Information on registration procedures by the Registrar’s office and on career guidance by the University Career, Guidance and Information Service (SUIO-IP)
Details Seated pressure relief for male road cyclists. Flat contour, yet still comfortably padded. The overall shape and the relief channel with its deep cut-out perfectly match the male anatomy in a low, forward-tilted riding position typical of road cycling. The highly sensitive perineal area is effectively unloaded, preventing any discomfort. OrthoCell Inlays in the seating area generate the best possible pressure distribution. The innovative OrthoCell material ensures maximum reset forces and is also more durable and lighter than gel.
Overview Fairmont The Queen Elizabeth, Montréal has 4645 square metres of meeting space, a health club incorporating the most advanced equipment, an indoor pool, and three distinctive venues to discover Montréal gastronomy at its finest: Les Voyageurs bar, Le Montréalais restaurant, and the award-winning Beaver Club, recognized as one of the best restaurants in Canada.
======================================= Creating reStructuredText_ Directives ======================================= :Authors: Dethe Elza, David Goodger, Lea Wiemann :Contact: [email protected], [email protected], [email protected] :Date: $Date: 2009-11-20 03:13:17 +0100 (Fri, 20 Nov 2009) $ :Revision: $Revision: 6199 $ :Copyright: This document has been placed in the public domain. .. _reStructuredText: http://docutils.sourceforge.net/rst.html Directives are the primary extension mechanism of reStructuredText. This document aims to make the creation of new directives as easy and understandable as possible. There are only a couple of reStructuredText-specific features the developer needs to know to create a basic directive. The syntax of directives is detailed in the `reStructuredText Markup Specification`_, and standard directives are described in `reStructuredText Directives`_. Directives are a reStructuredText markup/parser concept. There is no "directive" document tree element, no single element that corresponds exactly to the concept of directives. Instead, choose the most appropriate elements from the existing Docutils elements. Directives build structures using the existing building blocks. See `The Docutils Document Tree`_ and the ``docutils.nodes`` module for more about the building blocks of Docutils documents. .. _reStructuredText Markup Specification: ../ref/rst/restructuredtext.html#directives .. _reStructuredText Directives: ../ref/rst/directives.html .. _The Docutils Document Tree: ../ref/doctree.html .. contents:: Table of Contents The Directive Class =================== Directives are created by defining a directive class that inherits from ``docutils.parsers.rst.Directive``:: from docutils.parsers import rst class MyDirective(rst.Directive): ... To understand how to implement the directive, let's have a look at the docstring of the ``Directive`` base class:: >>> from docutils.parsers import rst >>> print rst.Directive.__doc__ Base class for reStructuredText directives. The following attributes may be set by subclasses. They are interpreted by the directive parser (which runs the directive class): - `required_arguments`: The number of required arguments (default: 0). - `optional_arguments`: The number of optional arguments (default: 0). - `final_argument_whitespace`: A boolean, indicating if the final argument may contain whitespace (default: False). - `option_spec`: A dictionary, mapping known option names to conversion functions such as `int` or `float` (default: {}, no options). Several conversion functions are defined in the directives/__init__.py module. Option conversion functions take a single parameter, the option argument (a string or ``None``), validate it and/or convert it to the appropriate form. Conversion functions may raise `ValueError` and `TypeError` exceptions. - `has_content`: A boolean; True if content is allowed. Client code must handle the case where content is required but not supplied (an empty content list will be supplied). Arguments are normally single whitespace-separated words. The final argument may contain whitespace and/or newlines if `final_argument_whitespace` is True. If the form of the arguments is more complex, specify only one argument (either required or optional) and set `final_argument_whitespace` to True; the client code must do any context-sensitive parsing. When a directive implementation is being run, the directive class is instantiated, and the `run()` method is executed. During instantiation, the following instance variables are set: - ``name`` is the directive type or name (string). - ``arguments`` is the list of positional arguments (strings). - ``options`` is a dictionary mapping option names (strings) to values (type depends on option conversion functions; see `option_spec` above). - ``content`` is a list of strings, the directive content line by line. - ``lineno`` is the line number of the first line of the directive. - ``content_offset`` is the line offset of the first line of the content from the beginning of the current input. Used when initiating a nested parse. - ``block_text`` is a string containing the entire directive. - ``state`` is the state which called the directive function. - ``state_machine`` is the state machine which controls the state which called the directive function. Directive functions return a list of nodes which will be inserted into the document tree at the point where the directive was encountered. This can be an empty list if there is nothing to insert. For ordinary directives, the list must contain body elements or structural elements. Some directives are intended specifically for substitution definitions, and must return a list of `Text` nodes and/or inline elements (suitable for inline insertion, in place of the substitution reference). Such directives must verify substitution definition context, typically using code like this:: if not isinstance(state, states.SubstitutionDef): error = state_machine.reporter.error( 'Invalid context: the "%s" directive can only be used ' 'within a substitution definition.' % (name), nodes.literal_block(block_text, block_text), line=lineno) return [error] >>> Option Conversion Functions =========================== An option specification (``Directive.option_spec``) must be defined detailing the options available to the directive. An option spec is a mapping of option name to conversion function; conversion functions are applied to each option value to check validity and convert them to the expected type. Python's built-in conversion functions are often usable for this, such as ``int``, ``float``. Other useful conversion functions are included in the ``docutils.parsers.rst.directives`` package (in the ``__init__.py`` module): - ``flag``: For options with no option arguments. Checks for an argument (raises ``ValueError`` if found), returns ``None`` for valid flag options. - ``unchanged_required``: Returns the text argument, unchanged. Raises ``ValueError`` if no argument is found. - ``unchanged``: Returns the text argument, unchanged. Returns an empty string ("") if no argument is found. - ``path``: Returns the path argument unwrapped (with newlines removed). Raises ``ValueError`` if no argument is found. - ``uri``: Returns the URI argument with whitespace removed. Raises ``ValueError`` if no argument is found. - ``nonnegative_int``: Checks for a nonnegative integer argument, and raises ``ValueError`` if not. - ``class_option``: Converts the argument into an ID-compatible string and returns it. Raises ``ValueError`` if no argument is found. - ``unicode_code``: Convert a Unicode character code to a Unicode character. - ``single_char_or_unicode``: A single character is returned as-is. Unicode characters codes are converted as in ``unicode_code``. - ``single_char_or_whitespace_or_unicode``: As with ``single_char_or_unicode``, but "tab" and "space" are also supported. - ``positive_int``: Converts the argument into an integer. Raises ValueError for negative, zero, or non-integer values. - ``positive_int_list``: Converts a space- or comma-separated list of integers into a Python list of integers. Raises ValueError for non-positive-integer values. - ``encoding``: Verfies the encoding argument by lookup. Raises ValueError for unknown encodings. A further utility function, ``choice``, is supplied to enable options whose argument must be a member of a finite set of possible values. A custom conversion function must be written to use it. For example:: from docutils.parsers.rst import directives def yesno(argument): return directives.choice(argument, ('yes', 'no')) For example, here is an option spec for a directive which allows two options, "name" and "value", each with an option argument:: option_spec = {'name': unchanged, 'value': int} Error Handling ============== If your directive implementation encounters an error during processing, you should call ``self.error()`` inside the ``run()`` method:: if error_condition: raise self.error('Error message.') The ``self.error()`` method will immediately raise an exception that will be caught by the reStructuredText directive handler. The directive handler will then insert an error-level system message in the document at the place where the directive occurred. Instead of ``self.error``, you can also use ``self.severe`` and ``self.warning`` for more or less severe problems. If you want to return a system message *and* document contents, you need to create the system message yourself instead of using the ``self.error`` convenience method:: def run(self): # Create node(s). node = nodes.paragraph(...) # Node list to return. node_list = [node] if error_condition: # Create system message. error = self.reporter.error( 'Error in "%s" directive: Your error message.' % self.name, nodes.literal_block(block_text, block_text), line=lineno) node_list.append(error) return node_list Register the Directive ====================== * If the directive is a general-use **addition to the Docutils core**, it must be registered with the parser and language mappings added: 1. Register the new directive using its canonical name in ``docutils/parsers/rst/directives/__init__.py``, in the ``_directive_registry`` dictionary. This allows the reStructuredText parser to find and use the directive. 2. Add an entry to the ``directives`` dictionary in ``docutils/parsers/rst/languages/en.py`` for the directive, mapping the English name to the canonical name (both lowercase). Usually the English name and the canonical name are the same. 3. Update all the other language modules as well. For languages in which you are proficient, please add translations. For other languages, add the English directive name plus "(translation required)". * If the directive is **application-specific**, use the ``register_directive`` function:: from docutils.parsers.rst import directives directives.register_directive(directive_name, directive_class) Examples ======== For the most direct and accurate information, "Use the Source, Luke!". All standard directives are documented in `reStructuredText Directives`_, and the source code implementing them is located in the ``docutils/parsers/rst/directives`` package. The ``__init__.py`` module contains a mapping of directive name to module and function name. Several representative directives are described below. Admonitions ----------- `Admonition directives`__, such as "note" and "caution", are quite simple. They have no directive arguments or options. Admonition directive content is interpreted as ordinary reStructuredText. __ ../ref/rst/directives.html#specific-admonitions The resulting document tree for a simple reStructuredText line "``.. note:: This is a note.``" looks as follows: <note> <paragraph> This is a note. The directive class for the "note" directive simply derives from a generic admonition directive class:: class Note(BaseAdmonition): node_class = nodes.note Note that the only thing distinguishing the various admonition directives is the element (node class) generated. In the code above, the node class is set as a class attribute and is read by the ``run()`` method of ``BaseAdmonition``, where the actual processing takes place:: # Import Docutils document tree nodes module. from docutils import nodes # Import Directive base class. from docutils.parsers.rst import Directive class BaseAdmonition(Directive): required_arguments = 0 optional_arguments = 0 final_argument_whitespace = True option_spec = {} has_content = True node_class = None """Subclasses must set this to the appropriate admonition node class.""" def run(self): # Raise an error if the directive does not have contents. self.assert_has_content() text = '\n'.join(self.content) # Create the admonition node, to be populated by `nested_parse`. admonition_node = self.node_class(rawsource=text) # Parse the directive contents. self.state.nested_parse(self.content, self.content_offset, admonition_node) return [admonition_node] Three things are noteworthy in the ``run()`` method above: * The ``admonition_node = self.node_class(text)`` line creates the wrapper element, using the class set by the specific admonition subclasses (as in note, ``node_class = nodes.note``). * The call to ``state.nested_parse()`` is what does the actual processing. It parses the directive content and adds any generated elements as child elements of ``admonition_node``. * If there was no directive content, the ``assert_has_content()`` convenience method raises an error exception by calling ``self.error()`` (see `Error Handling`_ above). "image" ------- .. _image: ../ref/rst/directives.html#image The "image_" directive is used to insert a picture into a document. This directive has one argument, the path to the image file, and supports several options. There is no directive content. Here's an early version of the image directive class:: # Import Docutils document tree nodes module. from docutils import nodes # Import ``directives`` module (contains conversion functions). from docutils.parsers.rst import directives # Import Directive base class. from docutils.parsers.rst import Directive def align(argument): """Conversion function for the "align" option.""" return directives.choice(argument, ('left', 'center', 'right')) class Image(Directive): required_arguments = 1 optional_arguments = 0 final_argument_whitespace = True option_spec = {'alt': directives.unchanged, 'height': directives.nonnegative_int, 'width': directives.nonnegative_int, 'scale': directives.nonnegative_int, 'align': align, } has_content = False def run(self): reference = directives.uri(self.arguments[0]) self.options['uri'] = reference image_node = nodes.image(rawsource=self.block_text, **self.options) return [image_node] Several things are noteworthy in the code above: * The "image" directive requires a single argument, which is allowed to contain whitespace (``final_argument_whitespace = True``). This is to allow for long URLs which may span multiple lines. The first line of the ``run()`` method joins the URL, discarding any embedded whitespace. * The reference is added to the ``options`` dictionary under the "uri" key; this becomes an attribute of the ``nodes.image`` element object. Any other attributes have already been set explicitly in the reStructuredText source text. The Pending Element ------------------- Directives that cause actions to be performed *after* the complete document tree has been generated can be implemented using a ``pending`` node. The ``pending`` node causes a transform_ to be run after the document has been parsed. For an example usage of the ``pending`` node, see the implementation of the ``contents`` directive in docutils.parsers.rst.directives.parts__. .. _transform: ../ref/transforms.html __ http://docutils.sf.net/docutils/parsers/rst/directives/parts.py
Q: mySQL SELECT from two joined tables with sum of data in subquery I have a table "schLoc" like this ------------------------ | id | ... | ... | ... | ------------------------ | 1 | ... | ... | ... | | 2 | ... | ... | ... | | 3 | ... | ... | ... | | 4 | ... | ... | ... | | 5 | ... | ... | ... | | .. | ... | ... | ... | ------------------------ and another table like this "schLocDett" like this where schLoc.id=schLocDett.idDoc ------------------------------- | idDoc | qta | ... | merce | ------------------------------- | 1 | 1 | ... | fattLoc | | 1 | 1 | ... | fattSrv | | 2 | 3 | ... | fattLoc | | 2 | 2 | ... | notcSrv | | 2 | 2 | ... | fattSrv | | 3 | 5 | ... | fattSrv | | 3 | 3 | ... | notcSrv | | 3 | 3 | ... | fattLoc | | 3 | 7 | ... | fattLoc | | 4 | 5 | ... | notcSrv | | 4 | 4 | ... | fattSrv | | 4 | 1 | ... | fattSrv | | 5 | 1 | ... | notcSrv | | ... | ... | ... | ....... | ------------------------------- I would like to have the list complete of schLoc and for each id the sum of qta associated but only for merce=fattLoc. In case that don't exist the sum will be 0. This is the result I expect --------------------------- | id | sumQta | ... | ... | ------------------------ | 1 | 1 | ... | ... | | 2 | 3 | ... | ... | | 3 | 10 | ... | ... | | 4 | 0 | ... | ... | | 5 | 0 | ... | ... | | .. | ... | ... | ... | --------------------------- I try with this: SELECT TOT.sumQta, TAB.*, FROM schLoc AS TAB, schLocDett AS DETT, (SELECT idDoc, SUM(qta) AS sumQta FROM schLocDett WHERE merce='fattLoc' GROUP BY idDoc) AS TOT WHERE TAB.id>0 AND TAB.id=DETT.idDoc AND TAB.id=TOT.idDoc but not get Id 4 and 5 Any suggest are welcome A: SELECT TAB.*, COALESCE(TOT.sumQta, 0) AS sumQta FROM schLoc TAB LEFT JOIN ( SELECT idDoc, SUM(qta) AS sumQta FROM schLocDett WHERE merce = 'fattLoc' GROUP BY idDoc ) TOT ON TAB.id = TOT.idDoc Output: Demo here: Rextester
The president of Lucasfilm has explained why the original director of Star Wars: The Rise of Skywalker was fired from the movie. Kathleen Kennedy, who heads up the studio that’s famous for helming the Star Wars and Indiana Jones franchises, said in a new interview that Colin Trevorrow had missed out on crucial development stages because he hadn’t worked on the previous films from the current sequel trilogy. Trevorrow, who directed Jurassic World (2015) was set to direct and co-write the space saga’s ninth episode, which is due to hit UK cinemas later this month (December 19). But by September 2017, Trevorrow had parted ways with the project and J.J. Abrams was drafted in to take over. “Creative differences” were cited as the reason for his departure. Now, Kennedy has shone a light on the bigger picture, which is that Trevorrow was simply at a “a huge disadvantage” by not being involved in the first film of the sequel trilogy, 2015’s The Force Awakens, directed by Abrams. “Colin was at a huge disadvantage not having been a part of Force Awakens and in part of those early conversations because we had a general sense of where the story was going,” Kennedy told Gizmodo. “Like any development process, it was only in the development that we’re looking at a first draft and realising that it was perhaps heading in a direction that many of us didn’t feel was really quite where we wanted it to go.” She continued: “We were on a schedule, as we often are with these movies, and had to make a tough decision as to whether or not we thought we could get there in the time or not. And as I said, Colin was at a disadvantage because he hadn’t been immersed in everything that we all had starting out with Episode VII.” Trevorrow, meanwhile, has been busy with other projects including The Book of Henry (2017). He is set to direct Jurassic World 3, which is expected to hit cinemas in summer 2021. The film will bring back Sam Neill, Jeff Goldblum, and Laura Dern to reprise their roles from the original 1993 Steven Spielberg-directed movie, Jurassic Park.
Q: Attachment in email template On a custom object, I have a file storing a Google Docs file id. With the URL, I can download the HTML code of the doc : https://docs.google.com/document/d/ID/export?format=html I'd like to attach this HTML code in a visualforce email with : <messaging:attachment filename="{!relatedTo.Name}.pdf" renderAs="PDF"> <iframe src="https://docs.google.com/document/d/ID/export?format=html"></iframe> </messaging:attachment> But my attachment is empty. How can I do ? A: This page seems to suggest that Iframes don't work in email. What you could try to do is make a callout in your controller to get the HTML response and render the HTML response into the email via apex prior to sending it so that it's not nested within an iFrame tag. public class HTMLController { public String Body {get; set;} public HTMLController(){ HttpRequest req = new HttpRequest(); req.setEndPoint('https://docs.google.com/document/d/ID/export?format=html'); req.setMethod('GET'); Http http = new Http(); HttpResponse resp = Http.send(req); this.Body = resp.getBody(); } } Then in the output: <apex:component controller="HTMLController" access="global"> <apex:outputText value="{!Body}" escape="false"/> </apex:component>
Vitiligo and overt thyroid diseases: A nationwide population-based study in Korea. Associations between vitiligo and thyroid diseases have been reported repeatedly. We investigated the associations between vitiligo and overt autoimmune thyroid diseases and thyroid cancer using the Korean National Health Insurance claims database. We defined patients with vitiligo as those whose records showed ≥4 physician contacts between 2009 and 2013 in which vitiligo was the principal diagnosis. We also established an age- and sex-matched control group without vitiligo (2 per 1 vitiligo patient). The outcomes of interest were concurrent Graves disease and Hashimoto thyroiditis (the patients were taking relevant thyroid medications) and thyroid cancer. The study enrolled 73,336 vitiligo patients and 146,672 controls. Patients with vitiligo were at increased risks of Graves disease (odds ratio [OR] 2.610 [95% confidence interval {CI} 2.319-02.938]), Hashimoto thyroiditis (OR 1.609 [95% CI 1.437-1.802]), and thyroid cancer (OR 1.127 [95% CI 1.022-1.242]), compared with the controls. The associations were consistently stronger in males and younger patients. Individual clinical information was not available, and the homogeneous population may limit the generalizability of the results. Vitiligo was significantly associated with overt autoimmune thyroid diseases and overt thyroid cancer.
City Council approves talk for fire station renovations Related Story COLUMBIA - The Columbia City Council is planning renovations for Columbia fire stations #4, #5, and #6, as well as the the fire training academy. The council will vote Monday to schedule a public hearing for June 5, 2017. The renovations of the three fire stations would include things such as a new roof, remodeling the existing bathroom, adding new plumbing and installing a water softener system. As for the fire training academy, the proposed renovations include remodeling all the classroom spaces, remodeling both bathrooms, and adding a stand alone building for trucks and storage. Assistant Fire Chief Brad Fraizer said the three stations are the oldest in Columbia, and need new amenities. "That's places that our firefighters call home for a large portion of time so we want them to be as comfortable as possible," Fraizer said. "But in addition, more importantly, to be up to current standards. They need a facelift." In January, the city council authorized the city manager to create an architectural design agreement for the stations and academy with Archimages, Inc. Fraizer said the fire department hopes the renovations will be completed by the end of 2017.
--- title: 'Two kinds of hook length formulas for complete $m$-ary trees ' --- Yidong Sun$^\dag$ and Huajun Zhang$^\ddag$ $^\dag$Department of Mathematics, Dalian Maritime University, 116026 Dalian, P.R. China\ $^\ddag$Department of Mathematics, Zhejiang Normal University, 321004 Jinhua, P.R. China [*$^\[email protected],  $^\[email protected]* ]{} 0.5cm Abstract {#abstract .unnumbered} -------- In this paper, we define two kinds of hook length for internal vertices of complete $m$-ary trees, and deduce their corresponding hook length formulas, which generalize the main results obtained by Du and Liu. [**Keywords**]{}: Hook length formulas, $m$-ary trees [2000 Mathematics Subject Classification]{}: 05A15, 05A19 Introduction ============ Postnikov’s hook length formula [@post] states that $$\begin{aligned} \frac{n!}{2^n}\sum_{T}\prod_{v}\Big(1+\frac{1}{h_v}\Big)=(n+1)^{n-1},\end{aligned}$$ where the sum is over all unlabeled complete binary trees $T$ with $n$ internal vertices, the product is over all internal vertices $v$ of $T$, and $h_v$ is the “hook length" of $v$ in $T$, namely, the number of internal vertices in the subtree of $T$ rooted at $v$. Postnikov derived the formula indirectly and asked for a combinatorial proof which was provided by Seo [@seo], Chen and Yang [@chenyang]. Later, Lascoux conjectured that $$\begin{aligned} \sum_{T}\prod_{v}\Big(x+\frac{1}{h_v}\Big)=\frac{1}{(n+1)!}\prod_{i=0}^{n-1}\Big((n+1+i)x+n+1-i\Big).\end{aligned}$$ This is equivalent to the more suggestive form $$\begin{aligned} \label{eqn formua1.1} \sum_{T}\prod_{v}\frac{(h_v+1)x-h_v+1}{2h_v}=\frac{1}{n+1}\binom{(n+1)x}{n},\end{aligned}$$ which was proved by Du and Liu [@duliu]. Moreover, they generalized (\[eqn formua1.1\]) from counting complete binary trees to counting complete $(m+1)$-ary trees and obtained the following formula for $(m+1)$-ary trees: $$\begin{aligned} \label{eqn formua1.2a} \sum_{T\in \mathcal {T}_{n,m+1}}\prod_{v}\frac{(mh_v+1)x-h_v+1}{(m+1)h_v}=\frac{1}{mn+1}\binom{(mn+1)x}{n},\end{aligned}$$ or equivalently $$\begin{aligned} \label{eqn formua1.2b} \sum_{T\in \mathcal {T}_{n,m+1}}\prod_{v}\Big(x+\frac{1}{h_v}\Big)=\frac{x+1}{n!}\prod_{i=1}^{n-1}\Big((mn+i+1)(x+1)-(m+1)i\Big).\end{aligned}$$ where $\mathcal {T}_{n,m+1}$ denotes the set of complete $(m+1)$-ary trees with $n$ internal vertices, the product is over all internal vertices $v$ of $T$. Recall that a [*plane forest*]{} is a forest of plane trees that are linearly ordered. Let $\mathcal{F}(n)$ denote the set of plane forests with $n$ vertices. For any vertex $v$ of $F\in \mathcal{F}(n)$, the hook length $H_v$ of $v$ is defined as the number of vertices in the subtree rooted at $v$. Note that this definition is slightly different to that of hook length defined above for $(m+1)$-ary trees. Du and Liu [@duliu] investigated the hook length polynomials for plane forests and obtained that $$\begin{aligned} \label{eqn formua1.3a} \sum_{F\in \mathcal {F}(n)}\prod_{v\in V(F)}\Big(x+\frac{1}{H_v}\Big)=\frac{(x+1)}{n!}\prod_{i=1}^{n-1}\Big((2n+1-i)(x+1)-i\Big),\end{aligned}$$ or equivalently, $$\begin{aligned} \label{eqn formua1.3b} F_n(x)=\sum_{F \in \mathcal {F}(n) }\prod_{v\in V(F)}\frac{(2h_v-1)x-H_v+1}{H_v}=\frac{1}{2n+1}\binom{(2n+1)x}{n},\end{aligned}$$ where $V(F)$ is the set of vertices of $F$. It is well known that there exists a simple bijection between plane forests and complete binary trees. For the sake of completeness, we present it here. Given any plane forest $F\in \mathcal {F}(n)$, we pick the first plane tree $T$ of $F$ with root $u$. Let $T'$ denote the plane forest deduced from $T$ by removing the root $u$. Then the bijection can be defined recursively as follows: $\psi(F)$ is the complete binary tree with root $u$ such that it has the left subtree $\psi(T')$ and the right subtree $\psi(F\backslash T)$. It is clear that the bijection maps the hook length of $v$ in $V(F)$ to the number of internal vertices of the left component of $v$ of $\psi(F)$. This motivates us to define the first kind of [*hook length*]{} $ \mathcal {H}_v$ for an internal vertex $v$ of $m$-ary trees $T$. Let $T_v$ denote the $m$-ary subtree of $T$ rooted at $v$ and let $T'_v$ denote the reduced tree from $T_v$ by removing the rightmost subtree of $v$. Define $\mathcal {H}_v$ to be the number of internal vertices of the subtree $T'_v$. See Figure \[fDD\] for example. Note that in the case $m=2$, the hook length $\mathcal {H}_v$ reduces to $H_v$ up to the bijection $\psi$. Then we have the first main result which is a generalization of (\[eqn formua1.3a\]) and (\[eqn formua1.3b\]). \[theo 1.1\] For any integer $m\geq 2$, $$\begin{aligned} \label{eqn 1.6} \sum_{T\in \mathcal {T}_{n,m}}\prod_{v\in \mathcal {I}(T)}\Big(x+\frac{1}{\mathcal {H}_v}\Big)=\frac{(x+1)}{n!}\prod_{i=1}^{n-1}\Big((mn+1-i)(x+1)-(m-1)i\Big),\end{aligned}$$ or equivalently, $$\begin{aligned} \label{eqn 1.7} \sum_{T\in \mathcal {T}_{n,m}}\prod_{v\in \mathcal {I}(T)}\frac{(m\mathcal {H}_v-1)x-\mathcal {H}_v+1}{(m-1)\mathcal {H}_v}=\frac{1}{mn+1}\binom{(mn+1)x}{n},\end{aligned}$$ where $\mathcal {I}(T)$ is the set of internal vertices of $T\in \mathcal {T}_{n,m}$. (11,4.5) (0,0)(16,7) (4,5)(2,3.5) (4,5)(4,3.5) (4,5)(6,3.5)(5,2) (2,3.5)(1,2)(2,3.5)(3,2)(6,3.5)(6,2)(6,3.5)(7,2) (2,3.5)(2,2)(2,.5)(2,2)(1,.5)(2,2)(3,.5) (5,2)(4,.5)(5,2)(5,.5)(5,2)(6,.5) (4,5)[0.1]{} (2,3.5)[0.1]{}(2,2)[0.1]{}(2,.5)[0.06]{} (1,.5)[0.06]{}(3,.5)[0.06]{} (4,3.5)[0.06]{}(6,3.5)[0.06]{} (1,2)[0.06]{}(3,2)[0.06]{} (5,2)[0.06]{}(6,2)[0.06]{} (4,.5)[0.06]{}(5,.5)[0.06]{}(6,.5)[0.06]{} (7,2)[0.06]{} (3,3.4)[$v$]{}(2.6,4.1)[$\mathcal {H}_v=3$]{} (0.8,3)[$T_v$]{}(5.1,2.4)[$\Longrightarrow$]{}(4.8,2.8)[$\tiny{S=\{2\}}$]{} (12,5)(10,3.5) (12,5)(14,3.5)(13,2) (10,3.5)(9,2)(10,3.5)(11,2)(14,3.5)(15,2) (13,2)(12,.5)(13,2)(14,.5) (12,5)[0.1]{} (10,3.5)[0.1]{}(14,3.5)[0.1]{} (9,2)[0.06]{}(11,2)[0.06]{}(13,2)[0.1]{}(15,2)[0.06]{} (14,.5)[0.06]{}(12,.5)[0.06]{} (8.3,3.4)[$v$]{}(8.,4.1)[$\mathbb{H}_v^{S}=4$]{} Moreover, the definition of the first hook length inspires us defining the second kind of hook length. Let $S$ be a subset of $[m]=\{1,2,\dots,m\}$, for an internal vertex $v$ of $(m+1)$-ary trees $T$, let $T_v$ denote the $(m+1)$-ary subtree of $T$ rooted at $v$, and let $v_1,v_2,\cdots, v_{m+1}$ be the children of $v$, first delete the subtree rooted at $v_r$ for all $r\in S$, namely delete the $r$th subtree of $v$ for all $r\in S$; then delete the $r$th subtree of $v_j$ for all $r\in S$ and $j\in [m+1]\setminus S$, and then continue this process; one can obtain an $(m+1-|S|)$-ary tree $T_v^{S}$. Define $\mathbb{H}_v^S$ to be the number of internal vertices of $T_v^{S}$. See Figure \[fDD\] for example. Then we have the second main result which, in the case $S=\emptyset$, reduces to (\[eqn formua1.2b\]) and (\[eqn formua1.2a\]) respectively. \[theo 1.2\] For any integer $m\geq 1$, $S\subset [m]$ and $s=|S|$, $$\begin{aligned} \label{eqn formua5.1a} \sum_{T\in \mathcal {T}_{n,m+1}}\prod_{v\in \mathcal {I}(T)}\Big(x+\frac{1}{\mathbb {H}_v^S}\Big)=\frac{(x+1)}{n!}\prod_{i=1}^{n-1}\Big((mn+i+1)(x+1)-(m-s+1)i\Big),\end{aligned}$$ or equivalently, $$\begin{aligned} \label{eqn formua5.1b} \sum_{T\in \mathcal {T}_{n,m+1}}\prod_{v\in \mathcal {I}(T)}\frac{\big((m-s)\mathbb {H}_v^S+1\big)x-\mathbb {H}_v^S+1}{(m-s+1)\mathbb {H}_v^S}=\frac{1}{mn+1}\binom{(mn+1)x}{n}.\end{aligned}$$ In the next two Sections, we present the proofs of Theorem \[theo 1.1\] and \[theo 1.2\] respectively. Proof of Theorem \[theo 1.1\] ============================= In order to prove Theorem \[theo 1.1\], we need the following lemma obtained by Seo [@seo]. \[lemma 4.2\] Fix positive integers $a$ and $b$. Let $\Omega:=\Omega(t)=1+\sum_{n\geq 1}\Omega_nt^n$ be a formal power series in $t$ satisfying $$\begin{aligned} \Omega'=x\Omega^{b+1}+at\Omega^b\Omega',\end{aligned}$$ where the prime denotes the derivative of $\Omega$ with respect to $t$. Then $\Omega_n$ can be given by $$\begin{aligned} \Omega_n=\frac{x}{n!}\prod_{i=1}^{n-1}\Big(ai+bx(n-i)+x\Big).\end{aligned}$$ [*Proof of Theorem \[theo 1.1\]:*]{} Define $$\begin{aligned} \mathcal {H}_{n,m}(x)=\sum_{T\in \mathcal {T}_{n,m}}\prod_{v\in \mathcal {I}(T)}\frac{(m\mathcal {H}_v-1)x-\mathcal {H}_v+1}{(m-1)\mathcal {H}_v}.\end{aligned}$$ Given any $m$-ary tree $T\in \mathcal {T}_{n,m}$ with root $u$ for $n\geq 1$, let $T_1,T_2,\dots,T_m$ be the $m$ subtrees of $u$ from left to right with $i_1,i_2,\dots,i_m$ internal vertices respectively. Then $\mathcal{H}_u=i_1+i_2+\cdots+i_{m-1}+1$. Therefore, we can deduce the recurrence relation for $\mathcal {H}_{n,m}(x)$, $$\begin{aligned} \mathcal {H}_{n,m}(x)&=&\sum_{T\in \mathcal {T}_{n,m}}\prod_{v\in \mathcal {I}(T)}\frac{(m\mathcal {H}_v-1)x-\mathcal {H}_v+1}{(m-1)\mathcal {H}_v}\\ &=&\sum_{i_1+i_2+\cdots+i_{m}=n-1}\frac{(m\mathcal {H}_u-1)x-\mathcal {H}_u+1}{(m-1)\mathcal {H}_u}\prod_{j=1}^m\sum_{T_j\in \mathcal {T}_{{i_j},m}}\prod_{v\in \mathcal {I}(T_j)}\frac{(m\mathcal {H}_v-1)x-\mathcal {H}_v+1}{(m-1)\mathcal {H}_v}\\ &=&\sum_{i_1+i_2+\cdots+i_{m}=n-1}\Big(\frac{mx-1}{m-1}+\frac{1-x}{(m-1)(i_1+i_2+\cdots+i_{m-1}+1)}\Big) \prod_{j=1}^m\mathcal {H}_{i_j,m}(x)\end{aligned}$$ Define the generating function for $\mathcal {H}_{n,m}(x)$ by $$\begin{aligned} \mathcal {H}_{m}(x;t)=1+\sum_{n\geq 1}\mathcal {H}_{n,m}(x)t^n.\end{aligned}$$ Then by the above relation and the following series expansion $$\begin{aligned} \mathcal {H}_{m}^k(x;t)=1+\sum_{n\geq 1}t^n\sum_{i_1+i_2+\cdots+i_{k}=n}\prod_{j=1}^k\mathcal {H}_{i_j,m}(x),\end{aligned}$$ one can get $$\begin{aligned} \mathcal {H}_{m}(x;t)=1+\frac{mx-1}{m-1}t\mathcal {H}_{m}^m(x;t)+\frac{1-x}{m-1}\mathcal {H}_{m}(x;t)\int_{0}^t\mathcal {H}_{m}^{m-1}(x;y)dy,\end{aligned}$$ from which, one can derive that $$\begin{aligned} \mathcal {H}'_{m}(x;t)=x\mathcal {H}_{m}^{m+1}(x;t)+(mx-1)t\mathcal {H}_{m}^m(x;t)\mathcal {H}'_{m}(x;t),\end{aligned}$$ where the prime denotes the derivative of $\mathcal {H}_{m}(x;t)$ with respect to $t$. Using Lemma \[lemma 4.2\], we have $$\begin{aligned} \mathcal {H}_{n,m}(x)&=&\frac{x}{n!}\prod_{i=1}^{n-1}\Big((m(n-i)+1)x+(mx-1)i\Big)\\ &=&\frac{1}{mn+1}\binom{(mn+1)x}{n},\end{aligned}$$ which proves (\[eqn 1.7\]). Dividing by $\Big(\frac{1-x}{m-1}\Big)^n$ on both sides of (\[eqn 1.7\]), and then replacing $\frac{mx-1}{1-x}$ by $x$, one can get (\[eqn 1.6\]) immediately. 0.1cm If choose the special values $0$ or $-m$ for $x$ in (\[eqn 1.6\]), we get the following identities For any integer $m\geq 2$, $$\begin{aligned} \sum_{T\in \mathcal {T}_{n,m}}\prod_{v\in \mathcal {I}(T)}\frac{1}{\mathcal {H}_v}&=&\frac{m^{n}}{mn+1}\binom{\frac{mn+1}{m}}{n},\\ \sum_{T\in \mathcal {T}_{n,m}}\prod_{v\in \mathcal {I}(T)}\Big(m-\frac{1}{\mathcal{H}_v}\Big)&=&\frac{(m-1)^n}{n!}(mn+1)^{n-1}.\end{aligned}$$ 0.5cm Proof of Theorem 1.2 ==================== Define $$\begin{aligned} _S\mathbb {H}_{n,m}(x)=\sum_{T\in \mathcal {T}_{n,m+1}}\prod_{v\in \mathcal {I}(T)}\Big(x+\frac{1}{\mathbb {H}_v^S}\Big),\end{aligned}$$ and define the generating function for ${_S}\mathbb {H}_{n,m}(x)$ by $$\begin{aligned} _S\mathbb {H}_{m}(x;t)=1+\sum_{n\geq 1} {_S}\mathbb {H}_{n,m}(x)t^n.\end{aligned}$$ First, we consider the case when $S$ is the empty set $\emptyset$. Note that in this case, (\[eqn formua5.1a\]) and (\[eqn formua5.1b\]) reduce to the results (\[eqn formua1.2b\]) and (\[eqn formua1.2a\]) obtained by Du and Liu [@duliu]. Given any $(m+1)$-ary tree $T\in \mathcal {T}_{n,m+1}$ with root $u$ for $n\geq 1$, let $T_1,T_2,\dots,T_{m+1}$ be the $m+1$ subtrees of $u$ from left to right with $i_1,i_2,\dots,i_{m+1}$ internal vertices respectively. Then $\mathbb{H}_u^{\emptyset}=i_1+i_2+\cdots+i_{m+1}+1$. Therefore, we can deduce a recurrence relation for $_\emptyset\mathbb {H}_{n,m}(x)$, $$\begin{aligned} _\emptyset\mathbb {H}_{n,m}(x)&=&\sum_{T\in \mathcal {T}_{n,m+1}}\prod_{v\in \mathcal {I}(T)}\Big(x+\frac{1}{\mathbb {H}_v^{\emptyset}}\Big)\\ &=&\sum_{i_1+i_2+\cdots+i_{m+1}=n-1}\Big(x+\frac{1}{\mathbb {H}_u^{\emptyset}}\Big)\prod_{j=1}^{m+1}\sum_{T_j\in \mathcal {T}_{{i_j},m+1}}\prod_{v\in \mathcal {I}(T_j)}\Big(x+\frac{1}{\mathbb {H}_v^{\emptyset}}\Big) \\ &=&\sum_{i_1+i_2+\cdots+i_{m+1}=n-1}\Big(x+\frac{1}{i_1+i_2+\cdots+i_{m+1}+1}\Big) \prod_{j=1}^{m+1} {_\emptyset}\mathbb{H}_{i_j,m+1}(x).\end{aligned}$$ Similar to the proof of Theorem 1.1, an equation for ${_\emptyset}\mathbb {H}_{m}(x;t)$ can be derived as $$\begin{aligned} {_\emptyset}\mathbb {H}_{m}(x;t)=1+xt\ {_\emptyset}\mathbb {H}_{m}^{m+1}(x;t)+\int_{0}^t{_\emptyset}\mathbb {H}_{m}^{m+1}(x;y)dy,\end{aligned}$$ from which, one can get $$\begin{aligned} \label{eqn formua5.2} {_\emptyset}\mathbb {H}'_{m}(x;t)=(x+1)\ {_\emptyset}\mathbb {H}_{m}^{m+1}(x;t)+(m+1)xt\ {_\emptyset}\mathbb {H}_{m}^{m}(x;t)\ {_\emptyset}\mathbb {H}'_{m}(x;t),\end{aligned}$$ where the prime denotes the derivative of ${_\emptyset}\mathbb {H}_{m}(x;t)$ with respect to $t$. For any complete $(m+1)$-ary tree $T$ with $k\geq 1$ internal vertices and an $s$-subset $S\in [m]$, according to the definition of the second kind of hook length, $T$ can be uniquely partitioned into a complete $(m-s+1)$-ary tree with $n$ internal vertices for some $n\geq 1$ and an ordered forest of $ns$ complete $(m+1)$-ary trees. Hence we get a recurrence relation for ${_S}\mathbb {H}_{m}(x;t)$, namely $$\begin{aligned} \label{eqn formua5.3} {_S}\mathbb {H}_{m}(x;t)=1+\sum_{n\geq 1}{_\emptyset}\mathbb {H}_{n,m-s}(x)t^n {_S}\mathbb {H}_{m}^{ns}(x;t)={_\emptyset}\mathbb {H}_{m-s}(x;{_S}\mathbb {H}_{m}^s(x;t)t).\end{aligned}$$ Taking the derivative on both side of (\[eqn formua5.3\]) with respect to $t$, using (\[eqn formua5.2\]), we have $$\begin{aligned} \label{eqn formua5.4} \hskip0.8cm {_S}\mathbb {H}'_{m}(x;t)=(x+1)\ {_S}\mathbb {H}_{m}^{m+1}(x;t)+\big((m-s+1)x+s(x+1)\big)t\ {_S}\mathbb {H}_{m}^{m}(x;t)\ {_S}\mathbb {H}'_{m}(x;t).\end{aligned}$$ Applying Lemma \[lemma 4.2\] to (\[eqn formua5.4\]), one can obtain that $$\begin{aligned} {_S}\mathbb {H}_{n,m}(x)&=&\frac{x+1}{n!}\prod_{i=1}^{n-1}\Big( \big((m-s+1)x+s(x+1)\big)i+m(x+1)(n-i)+x+1 \Big) \\ &=&\frac{(x+1)}{n!}\prod_{i=1}^{n-1}\Big((mn+i+1)(x+1)-(m-s+1)i\Big),\end{aligned}$$ which proves (\[eqn formua5.1a\]). Dividing by $\big((m-s+1)-(x+1)\big)^n$ on both sides of (\[eqn formua5.1a\]), and then replacing $\frac{x+1}{(m-s+1)-(x+1)}$ by $x$, one can get (\[eqn formua5.1b\]) immediately. 0.1cm If choose the special values $m-s-1$ or $m-s$ for $x$ in (\[eqn formua5.1a\]), or choose $s=m$ in (\[eqn formua5.1b\]), we get the following identities For any integer $m\geq 0$, $S\subset [m]$ and $s=|S|$, $$\begin{aligned} \sum_{T\in \mathcal {T}_{n,m+1}}\prod_{v\in \mathcal {I}(T)}\Big(m-s-1+\frac{1}{\mathbb{H}_v^S}\Big)&=&\frac{1}{mn+1}\binom{(mn+1)(m-s)}{n},\\ \sum_{T\in \mathcal {T}_{n,m+1}}\prod_{v\in \mathcal {I}(T)}\Big(m-s+\frac{1}{\mathbb{H}_v^S}\Big)&=&\frac{(m-s+1)^n(mn+1)^{n-1}}{n!},\\ \sum_{T\in \mathcal {T}_{n,m+1}}\prod_{v\in \mathcal {I}(T)}\frac{x-\mathbb {H}_v^{[m]}+1}{\mathbb {H}_v^{[m]}}&=&\frac{1}{mn+1}\binom{(mn+1)x}{n}.\end{aligned}$$ Motivated by Lemma \[lemma 4.2\] and the proof of Theorem \[theo 1.2\], we can consider the function $\Phi:=\Phi(t)=\Omega(t\Phi^s(t))$, where $\Omega(t)$ is defined in Lemma \[lemma 4.2\] and $\Phi=1+\sum_{n\geq 1}\Phi_nt^n$. Then it is easy to derive that $\Phi(t)$ satisfies the following differential equation $$\begin{aligned} \Phi'=x\Phi^{b+s+1}+(a+sx)t\Phi^{b+s}\Phi',\end{aligned}$$ from which, by Lemma \[lemma 4.2\], we can deduce the explicit expression for $\Phi_n$, $$\begin{aligned} \Phi_n=\frac{x}{n!}\prod_{i=1}^{n-1}\Big(ai+bx(n-i)+(sn+1)x\Big).\end{aligned}$$ We wonder if there is any combinatorial explanation for the relation. Acknowledgements {#acknowledgements .unnumbered} ================ The authors are grateful to the anonymous referees for the helpful suggestions and comments. The first author was supported by The National Science Foundation of China. [99]{} W.Y.C. Chen and L. L. M. Yang, On the hook length formula for binary trees, [*Europ. J. Combin.*]{}, to appear. R. R. X. Du and F. Liu, $(k,m)$-Catalan numbers and hook length polynomials for trees, [*Europ. J. Combin.*]{} 28(2007), 1312-1321. A. Postnikov, Permutohedra, associahedra, and beyond, arXiv:math/0507163. S. Seo, A combinatorial proof of Postnikov’s identity and a generalized enumeration of labeled trees, [*Electron. J. Combin.*]{}, 11(2) (2005), \#N3. R. Stanley, Enumerative Combinatorics, vol. 2, Cambridge Univ. Press, Cambridge, 1999.
/* * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.amqp.rabbit.config; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.fail; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.springframework.amqp.rabbit.connection.CachingConnectionFactory; import org.springframework.amqp.rabbit.connection.SingleConnectionFactory; import org.springframework.amqp.rabbit.core.RabbitAdmin; import org.springframework.amqp.rabbit.junit.RabbitAvailable; import org.springframework.beans.factory.DisposableBean; import org.springframework.context.support.ClassPathXmlApplicationContext; import org.springframework.core.env.StandardEnvironment; import com.rabbitmq.client.Channel; /** * @author Gary Russell * @author Gunnar Hillert * @since 1.2 * */ @RabbitAvailable public class MismatchedQueueDeclarationTests { private SingleConnectionFactory connectionFactory; private RabbitAdmin admin; @BeforeEach public void setup() throws Exception { connectionFactory = new SingleConnectionFactory(); connectionFactory.setHost("localhost"); this.admin = new RabbitAdmin(this.connectionFactory); deleteQueues(); } @AfterEach public void deleteQueues() throws Exception { this.admin.deleteQueue("mismatch.foo"); this.admin.deleteQueue("mismatch.bar"); ((DisposableBean) connectionFactory).destroy(); } @Test @Disabled public void testAdminFailsWithMismatchedQueue() throws Exception { ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(); context.setConfigLocation("org/springframework/amqp/rabbit/config/MismatchedQueueDeclarationTests-context.xml"); StandardEnvironment env = new StandardEnvironment(); env.addActiveProfile("basicAdmin"); env.addActiveProfile("basic"); context.setEnvironment(env); context.refresh(); context.getBean(CachingConnectionFactory.class).createConnection(); context.close(); Channel channel = this.connectionFactory.createConnection().createChannel(false); channel.queueDeclarePassive("mismatch.bar"); this.admin.deleteQueue("mismatch.bar"); assertThat(this.admin.getQueueProperties("mismatch.foo")).isNotNull(); assertThat(this.admin.getQueueProperties("mismatch.bar")).isNull(); env = new StandardEnvironment(); env.addActiveProfile("basicAdmin"); env.addActiveProfile("ttl"); context.setEnvironment(env); context.refresh(); channel = this.connectionFactory.createConnection().createChannel(false); try { context.getBean(CachingConnectionFactory.class).createConnection(); fail("Expected exception - basic admin fails with mismatched declarations"); } catch (Exception e) { assertThat(e.getCause().getCause().getMessage().contains("inequivalent arg 'x-message-ttl'")).isTrue(); } assertThat(this.admin.getQueueProperties("mismatch.foo")).isNotNull(); assertThat(this.admin.getQueueProperties("mismatch.bar")).isNull(); context.close(); } @Test public void testAdminSkipsMismatchedQueue() throws Exception { ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(); context.setConfigLocation("org/springframework/amqp/rabbit/config/MismatchedQueueDeclarationTests-context.xml"); StandardEnvironment env = new StandardEnvironment(); env.addActiveProfile("advancedAdmin"); env.addActiveProfile("basic"); context.setEnvironment(env); context.refresh(); context.getBean(CachingConnectionFactory.class).createConnection(); context.close(); Channel channel = this.connectionFactory.createConnection().createChannel(false); channel.queueDeclarePassive("mismatch.bar"); this.admin.deleteQueue("mismatch.bar"); assertThat(this.admin.getQueueProperties("mismatch.foo")).isNotNull(); assertThat(this.admin.getQueueProperties("mismatch.bar")).isNull(); context = new ClassPathXmlApplicationContext(); context.setConfigLocation("org/springframework/amqp/rabbit/config/MismatchedQueueDeclarationTests-context.xml"); env = new StandardEnvironment(); env.addActiveProfile("advancedAdmin"); env.addActiveProfile("ttl"); context.setEnvironment(env); context.refresh(); channel = this.connectionFactory.createConnection().createChannel(false); context.getBean(CachingConnectionFactory.class).createConnection(); assertThat(this.admin.getQueueProperties("mismatch.foo")).isNotNull(); assertThat(this.admin.getQueueProperties("mismatch.bar")).isNotNull(); context.close(); } }
Malala Yousafzai, the girl the Taliban tried to murder, is the youngest person ever to win the Nobel Peace Prize. Curiously, however, whenever her work is discussed an important detail is omitted. Summarising her 16th birthday talk to the UN, for instance, the BBC highlighted “her campaign to ensure free, compulsory education for every child.” “Free” and “compulsory” are words associated with government schooling. But it wasn’t to government schooling that Malala’s family turned for an education. The school she attended, on her way to which she was shot by the Taliban, was in fact a low-cost private school, set up by her father. This reality gets hidden in all reports. Not untypically, the global teachers’ union, Education International, describes her father as “headmaster,” while Time described him as “school administrator.” Neither title captures the reality: her father was in fact an educational entrepreneur. Malala’s situation is far from unique. Low-cost private schools are ubiquitous in the developing world. I wrote about them first in 2000 — in the IEA’s journal Economic Affairs. Back then, it was hard getting anyone to take them seriously. Kevin Watkins, erstwhile director of UNESCO's Education for All Global Monitoring Report, wrote in 2004: “Professor Tooley and his colleagues are ploughing a lonely furrow. Nobody, it seems, is listening to them. Long may it stay that way.” Today the furrow is much less lonely, as development experts now acknowledge their extraordinary significance — in large part because of two major research programmes I directed, funded by the John Templeton Foundation, on the nature and extent of low-cost private schools in sub-Saharan Africa, including in conflict-affected states, and in Asia. The sheer number of low-cost private schools is staggering. In India alone, there are 400,000. In one state of Nigeria, Lagos, there are at least 8,000, while a similar number is reported from rural Kenya. Our research typically shows the majority of schoolchildren in poor urban communities attend low-cost private schools — usually between 64 and 75 per cent. For example, in some of the poorest slums in the world, in Monrovia, Liberia, our household survey showed that, for children aged five to 14, 71 per cent were in private schools 8.2 per cent were in government schools and 21 per cent were not in school. In rural communities, a significant minority of children are in private schools. Children in low cost private schools do better than in government schools. For instance, in Western Area, Sierra Leone, we tested a stratified sample of 3,000 grade 4 students in English and mathematics, controlling for family background and IQ. For English (reading), in a government school, an average boy was predicted to achieve 15.5 per cent, while a girl would achieve 10.8 per cent. In a low-cost private school, the boy’s result would nearly double, while the girl’s result would nearly triple. Low-cost private schools are also affordable to the poor — this is not surprising given their ubiquity in poor areas. I have defined affordability based on the amount that poor families could afford for all their children if they were to spend a maximum of 10 per cent of their income on school fees and associated costs. “Lowest cost” and “low cost” private schools are those affordable to families on, respectively, the internationally recognised $1.25 and $2 per person per day poverty lines. In the slums of Monrovia, Liberia, the vast majority (73.7 per cent) of private schools were “lowest cost”, while 66 per cent of for-profit private schools in our Sierra Leone study were “lowest cost.” Whenever you hear of Malala campaigning for the right to education, remember it is not mediocre government education that has motivated her, but educational freedom, expressed as a right to attend private school. It is a wonderful success story that is taking place across the developing world, as parents vote with their feet to exit inadequate government provision to find a better education for their children in the private sector. This post first appeared at the Institute of Economic Affairs.
Microwave hyperthermia radiosensitized iridium-192 for recurrent brain malignancy. Twenty-one patients whose solitary detectable biopsy proven recurrent brain malignancies produced Central Nervous System (CNS) symptoms warranting further intervention received 60-minute 43 degrees C (180 degree-minute) interstitial 2450 MHz microwave hyperthermia fractions. All received brain teletherapy prior to recurrence. The first 15 received no brachytherapy and served as a toxicity pilot. All 15 enjoyed neurologic improvement, 12 symptomatic improvement, and 12 objective response as mass reduction and/or tumor necrosis. The next 6 patients were selected with more favorable Karnofsky performance status, no known active malignancy elsewhere, and received afterloading Ir-192 interstitial implantation juxtaposed to radiosensitizing hyperthermia. Volume dose varied from 1000 to 2245 rad, and dose rate from 40 to 100 rad/hr. Dose selected varied as a function of pre-recurrence teletherapy dose, general condition, histologic type, and volume. Neurosurgical debulking, if technically indicated through no additional aperture or trauma, was permitted if consistent with preservation of neurological function. Six enjoyed neurologic improvement, symptom reduction, and objective tumor response; three remain alive, and one experienced transient improvement. Complications, histologic subtypes, autopsy findings, stereotactic approach, thermal monitoring methods and CT follow-up of objective response are presented along with computer dosimetry and isotherm chart. Our microtraumatic universal catheter technique for CT guided stereotactic biopsy, aspiration, decompression, thermal sensory loop, thermalization antennae, and brachytherapy without multiple trauma nor changing catheters is stressed. The rationale for combined modes peculiar to the CNS will be outlined.2+ Proposal for incorporating controlled-release ARA-C chemotherapy polymer micro-rods into the interstitial format will be offered. The preceeding is an FDA-approved controlled clinical trial.(ABSTRACT TRUNCATED AT 250 WORDS)
Retrograde and submental intubation. Direct laryngoscopy remains the technique of choice for placing an endotracheal tube (ETT). However, alternative techniques are needed for the difficult airway or unsuccessful intubation. Retrograde intubation may be used in adult or pediatric patients, whether awake, sedated, or obtunded. Contraindications include nonpalpable neck landmarks, pretracheal mass, severe flexion deformities of the neck, tracheal stenosis, coagulopathies, and infections. Submental intubation allows simultaneous access to the dental occlusion and nasal pyramid without the morbidity associated with tracheostomy. Contraindications include patients who require long periods of assisted ventilation and a severe traumatic wound on the floor of mouth. Complications include localized infection and sepsis, poor wound healing or scarring, and postoperative salivary fistula.
Q: Onclick/Ajax on the Generate OTP without reloading? I am having an issue that how to send the number to next page where it handles the mobile number and send a message to the user mobile number. By Using onClick method or by using ajax method can we send the message without reloading the page like below in the code. index.php <form method="POST" action="test.php"> <input type="text" class="form-control" name="mobile" placeholder="Mobile" maxlength="10"> <input type="text" class="form-control" name="otp" placeholder="OTP" maxlength="11" style="width: 40%; float: left;"> <input type="submit" id="btnonOtp" value="Generate OTP" class="form-control" style="background-color:#005995;width: 56.5%; float: left; margin: 0 0 0 12px; border-radius: 0;"> </form> $('#btnonOtp').click(function() { $.ajax({ url: test.php, type:'POST', data: { text: mobile, value: mobile }, success: function(msg) { alert('OTP Sent'); } }); }); Test.php <?php include 'send.php'; $_SESSION['smsotp'] = sms_OTP(); $num=$_POST['mobile']; $number = $num; //$text = 'Hi There, how are you?'; $sms_api_result = sms_Send($number, 'Please do not share the one time password with anyone. Your One Time password is: '.$_SESSION['smsotp'],$debug); ?> If I run the test.php with mobile number passing directly then the message is delivered, but I need to pass the mobile number dynamically to $num variable. Can any one help me where I am going wrong?? A: The 'data' object in your ajax isn't passing the right value. First, add and id to the mobile tag, <input type="text" class="form-control" id="mobile" name="mobile" placeholder="Mobile" maxlength="10"> Second, change the input type of the buttom from type="submit" to type="button". This is required because 'submit' by default does a full page submit, even if you have an click handler defined for it. [the click function also gets executed but after than the page submit happens as well.] And then update your click function like the one below. $('#btnonOtp').click(function() { $.ajax({ url: test.php, type:'POST', data: { // The key is 'mobile'. This will be the same key in $_POST[] that holds the mobile number value. mobile: $('#mobile').val() }, success: function(msg) { alert('OTP Sent'); } }); }); This should solve your core problem. Debugging hint: To check if the data is being passed correctly, in test.php you can do a var_dump($_POST). This will print all the key-value pairs that were received. This should help you to analyse what is usually missing. P.S: Also, as a good practice you might want to add a validation on the Value of the mobile number field to ensure the data entered by the user indeed looks like a mobile number.
Skin permeation and metabolism of a new antipsoriatic vitamin D(3) analogue of structure 16-en-22-oxa-24-carboalkoxide with low calcemic effect. A new vitamin D(3) analogue, SMD-429, is an antipsoriatic candidate of structure 16-en-22-oxa-24-carboalkoxide exhibiting fewer side effects than known vitamin D(3) analogues. In this study, the permeation of SMD-429 through excised rat skin and three-dimensional cultured human skin model (LSE-high) was evaluated. The cumulative amount of SMD-429 permeated through the skin membranes was lower than that of either maxacalcitol or calcipotriol, whereas the amount of SMD-429 in the skin was the same. It was found from in vitro rat skin permeation experiment using [(3)H]SMD-429 that SMD-429 was permeated through skin mainly in its metabolized form. The skin permeation profiles of vitamin D(3) analogues obtained were analyzed based on a one-layer diffusion model to estimate permeation parameters. The apparent diffusion coefficient of SMD-429 was 1.30 x 10(-5) cm(2)/h, which was 10-fold lower than that of maxacalcitol. The apparent metabolic rate constant of SMD-429 in skin was 1.01 x 10(-1) h(-1), the same as maxacalcitol. Low apparent diffusivity of SMD-429 in skin might cause an increase in the probability of bioconversion. The same amount of SMD-429 in skin as known vitamin D(3) analogues would achieve sufficient therapeutic efficacy in skin. Such low skin permeability and high metabolic conversion in skin of SMD-429 would contribute to a reduction in the systemic side effects.
Hi all! Been a while since I was posting regularly here, so apologies for the drive-by promotion (though I can assure you all that I do still frequently check-in and read through the boards). For those who don't know – which I imagine is almost all of you, how times have changed... – I've taken a step away from filmmaking in recent years to focus on my career, which is/was journalism, but has now segued into podcasting. I've been producing podcasts professionally for the last few years and started my own company to do so in April (prior to that I ran the podcasting operation of a magazine). I primarily do current affairs, economics, politics, management podcasts, that sort of thing, but I've allowed myself a small indulgence in order to start Establishing Shots, which is a podcast about filmmaking, aimed at indie filmmakers. It's going to feature lots of interviews with people from different parts of the industry, but with the focus aimed at getting practical tips and advice for indie filmmakers. I've just released the first episode, which was with Chloe Trayner who's the associate director of Open City Documentary Festival. For those who don't know, Open City is probably the UK's second biggest documentary film festival after Sheffield Doc/Fest. Unfortunately, it was quite a short interview and was recorded in a very tricky environment at the back of the festival hall, but there's some interesting stuff in there, particularly about the submissions process and how their curate their content. Would be very grateful for anyone giving it a listen. How do you get the Russo Brothers to exec produce your £25k indie film? On the latest episode of the Establishing Shots podcast, I spoke to Jay Alvarez, writer/director of Dizzy Pursuit, about how he got the Avengers directors involved in his film (along with Robert Downey Jr) and all the nuts and bolts of making an indie film on a shoestring budget, and the pitfalls that we all face trying to get our work out there. I hope it's of interest to some of you. If not, I shall weep. Just released a new episode where I'm speaking to Oscar-winning director Morgan Neville (20 Feet From Stardom, Best of Enemies, Won't You Be My Neighbor?). He was in London for a film festival screening of his latest, smash-hit documentary – Won't You Be My Neighbor? – so we sat down to discuss the film, his work and the role documentaries play in our society. And if you enjoyed that, please do consider subscribing on iTunes. This whole project is a labour of love – I make my living producing podcasts, but, thus far, not a cent from this and really it's just there to be a resource for indie filmmakers. I try and ask the questions that I want more journalists to ask, and we've got some great episodes coming up from that perspective. Terrific interview and a great "get," at least from my American perspective Thanks Mara! Yeah, was delighted to get to speak to him (and get a decent block of time) given that I guess Won't You Be My Neighbor? is probably the current favourite in this year's Best Doc Oscar race, and a crazy box office success to boot. I'm trying to get a mix of indie filmmakers and more high profile guests (I recorded an episode with the cast of the new Coen Bros movie, including Tim Blake Nelson and Zoe Kazan, last week) and go from there. Hopefully it will find its audience in weeks to come... I checked out your podcast. Great content! You have one more subscriber now :-) Thank you! I've just published this week's episode, which is a conversation with the cast of the new Coen Brothers movie, The Ballad of Buster Scruggs. I speak to Tim Blake Nelson and Harry Melling, and then Zoe Kazan and Bill Heck. Both the conversations are a bit mini but I loved asking Zoe, particularly, about the differences/similarities between the Coen Brothers and Nancy Meyers (and she gives a great answer)! I'm a real Zoe Kazan fan, and I love the look on her face when you asked about Nancy Meyers. The transition to a serious answer when she realized you weren't joking is great - and I'm a big Meyers fan too. This week's episode is with a British filmmaker called Victoria Mapplebeck, who works in documentaries, and has just produced two acclaimed short documentaries about her son, shot on iPhones, and is currently making a VR documentary about her own treatment for breast cancer.
Reporting: Aren Aren has been trolling, Pirating, Creating Multiple accounts , Harassing other users, Intimidated another user and insulted a user. Aren has had a lot of people trying countless times trying to report him, but he always creates another account to use. He has been Insulting peoples art like Falconlobo and who ever else was insulted by him. Here are some of the things users said: [/quote]Stop trying to intimidate someone who has been around longer then you.&& Don't get offensive when you should mind your own business. Also, you shouldn't go around attacking people for no good reasons. After all, I don't recall sending YOU an invite so why does it matter to you anyways? : Tuxedo_Mini_mask[/quote] Quote: Oh, so I'm too pussy huh?Wow, your insult just back fired in your face fail troll. "Taking your anger out on others because you were refused something that you wanted.": LoveYouHateMe Quote: cause you were CONSTANTLY making fun of me and i got fed up.: mylyricalxlie They were the comments said on Arens profile. Here are some of the things he said. Quote: Gonna sue me, pussy dick?: Aren Quote: Falconlobo has crap art: Aren Well there is a whole lot more but you mods have to look into it not me[/quote]
Application of slurries to land overlying aquifers can result in direct contamination or, more commonly, elevation of nitrogen levels as nitrite or nitrate. The conversion of sewage treatment into electric current allows remote controlling by users. It provides a simple, comprehensive way for a small system to implement an asset management program and develop effective asset management plans. Our team includes specialists in climate change assessment, adaptation, and resilience. Excessive application or application to sodden land or insufficient land area can result in direct runoff to watercourses, with the potential for causing severe pollution. The production of silage often involves the use of an acid conditioner such as sulfuric acid or formic acid. We implement ground breaking solutions, such as the first open-coast managed realignment providing sustainable flood risk management and creation of intertidal habitat. Contact Us to ask a question, provide feedback, or report a problem. It is for owners, managers and operators of public water systems, local officials, technical assistance providers, and state personnel. Containment of silage liquor on its own can cause structural problems in concrete pits because of the acidic nature of silage liquor. One of the main features of the initiative is that it can be replicable worldwide as it has been tested in four different locations. It also reduces by fold the extension of land need for natural wastewater treatments and integrates the treatment system into the landscape. This ensures that disinfectants and cleaning agents are sufficiently diluted and amenable to treatment. For more information about our products contact the Libelium Sales Department. These new solutions offer hope for rural areas where there is a lack of treated water for urban usage. Low levels of pesticides used to treat the vegetables may also be present together with moderate levels of disinfectants such as chlorine. The production of slurry is especially common in housed dairy cattle. The recovered soil can be returned to the land. Smart Agriculture with temperature, humidity, atmospheric pressure, luminosity, wind, puvliometer, anemometer and solar radiation sensor.
<template> <vue-form-renderer @submit="submit" v-model="formData" :config="screen" :computed="computed" :custom-css="customCss" :watchers="watchers" @update="onUpdate" /> </template> <script> import { VueFormRenderer } from '@processmaker/screen-builder'; import '@processmaker/screen-builder/dist/vue-form-builder.css'; import ProcessRequestChannel from './ProcessRequestChannel'; export default { components: { VueFormRenderer }, mixins: [ProcessRequestChannel], props: ["processId", "instanceId", "tokenId", "screen", "data", "computed", "customCss", "watchers"], data() { return { disabled: false, formData: this.data }; }, methods: { displayErrors(errors) { const messages = []; Object.keys(errors).forEach((key) => { errors[key].forEach((message) => { messages.push(message); }); }); return messages.join("\n"); }, submit() { //single click if (this.disabled) { return; } this.disabled = true; let message = this.$t('Task Completed Successfully'); ProcessMaker.apiClient .put("tasks/" + this.tokenId, {status:"COMPLETED", data: this.formData}) .then(() => { this.disabled = false; window.ProcessMaker.alert(message, 'success', 5, true); }) .catch(error => { this.disabled = false; // If there are errors, the user will be redirected to the request page // to view error details. This is done in loadTask in edit.blade.php }); }, onUpdate(data) { ProcessMaker.EventBus.$emit('form-data-updated', data); }, update(data) { this.formData = data; } }, watch: { data: { deep: true, handler(data) { this.formData = data; } }, screen: { deep: true, handler() { this.disabled = false; } } } }; </script>
Star Wars: Episode I might not have been the best part of George Lucas’ sci-fi saga, but it did feature some entertaining bits, such as the Podrace, which has been recreated in LEGO.This monstrosity of a LEGO project is part of the Legoland Discovery Centre, which in turn is located at the Trafford Centre in Manchester. Now would be a perfect time for LEGO enthusiasts to envy all the ones living in Manchester, if not for something else, then simply for their possibility of visiting the aforementioned Legoland Discovery Centre. Even though this particular exhibition opened in the Trafford Centre in 2010, the previous exhibits didn’t present much interest to LEGO fans. This LEGO Star Wars MINILAND model display will surely change that situation. As mentioned in the title, it took them 250,000 bricks to recreate just a piece of the Star Wars universe in LEGO. Imagine how it would be if they recreated every scene from all 6 parts (with more to come, thanks to Disney). It’s one thing to prepare the filming set when shooting a movie, and a totally different thing to recreate a world using just LEGO bricks and characters. It’s not only a matter of financial resources, but also of time. On the other hand, there are probably thousands of LEGO enthusiasts who would gladly volunteer for such a grand task. The set includes more than 2,000 mini figurines and that is only one of the impressive details. Obviously, some of these mini figurines are characters who played an important part in the first episode of the saga. Besides them, there are the rolling hills of planet Naboo, where the podrace took place, and the desert plains of Tattooine, the planet on which Anakin Skywalker was raised. The visitors will also have to chance to participate in various giveaways, not to mention that this might be a unique chance of observing the Star Wars universe from a small distance. The public will be able to visit this attraction from February 1 to June 1 2013. Some people are revolted because of the high price, but from a certain point of view, the entry fee can be justified by the amount of work and time that people have put into this project. More precisely, the visitors of this attractions will have to get at least £8.10 ($13) to see the LEGO Phantom Menace. If you liked this post, please check the minimalist TMNT LEGO project and this Macintosh LEGO replica.
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <MMCommon/WXPBGeneratedMessage.h> @class NSMutableArray; @interface StrategyInterval : WXPBGeneratedMessage { } + (void)initialize; // Remaining properties @property(nonatomic) unsigned int logIdbegin; // @dynamic logIdbegin; @property(nonatomic) unsigned int logIdend; // @dynamic logIdend; @property(retain, nonatomic) NSMutableArray *strategyItem; // @dynamic strategyItem; @end
Naomi Watts or Helen Hunt. Helen for the tough, severe, I don't think of myself as pretty Linden. Naomi for the pretty, wheaten tresses, vulnerable, I cry all the time Linden. So a clone of their mixed DNA. Naomi Watts...hmmm...I think she may fit my conceptions pretty well now that you mention it. I only remember her from King Kong but within the framework of that film I see it._________________ I always liked Amanda Peet as Linden. She played Matt Damon's wife in Syriana and played Paris in Identity. Would also cast Eric Bana as Bannor. Still stuck on the rest of the cast though. Perhaps Daniel Day Lewis as Covenant but can't see him signing up to a series of films. To me, the the image that comes to my mind of Linden (and shows my age) is the actress who plays the mother of the little boy who is abducted by the aliens in the movie Close Encounters of the Third Kind. Shes not beautiful necessarily, but very real life-like,and the gamut of emotions she shows for her son, is EXACTLY the same as Linden shows for Jeremiah_________________You can judge the true character of a person on how they treat those who can do nothing for them -Sensei Moe,Sensei Larry,Sensei Curly... Shemp was NOT a wannabe, Joe Besser was the Poser Melinda Dillon played Jillian Guiler in Close Encounters. I agree that she looks quite like the Linden Avery I've always imagined. However, an even better Linden (IMO) would be Judith O'Dea, who played Barbra in the original Night of the Living Dead. Judith as Barbra was catatonic half the time, and when she wasn't, she was pining for her missing brother Johnny. That acting background makes her perfect to play the hapless and annoying Linden Avery. Of course, they're now both too old for the part. Ah, well..._________________Meets or Exceeds International Humane Kill Standards. My mental image of Linden is pretty much like this picture, but with a somewhat leaner face and longer, finer features, and the blonde hair not as frosty. My mental image also has Linden's hair somewhat longer but thinking about it the length shown here is probably more like what a focussed professional like Linden might choose as a matter of practicality. How old was Linden when she met TC? I figure she was just out of her internship at a hospital and she was accepted a job at a hospital. That would put her between 28 to 30. The last chronicles she would have been around 40.._________________What's this silver looking ring doing on my finger? How old was Linden when she met TC? I figure she was just out of her internship at a hospital and she was accepted a job at a hospital. That would put her between 28 to 30. The last chronicles she would have been around 40.. Those ages are pretty much what I have always thought were Linden's ages in the two trilogies.
INTRODUCTION {#s1} ============ Iron is an essential element for all living organisms and plays an important role in critical cellular processes such as energy production and DNA synthesis. Although adequate iron levels are essential for human health, iron overload causes some disorders such as hemochromatosis, which is often referred to as iron overload disease \[[@R1]\]. In addition, iron overload is a common complication in patients receiving blood transfusion as a treatment for conditions such as aplastic anemia and myelodysplastic syndrome \[[@R2]\]. Moreover, iron overload causes carcinogenesis in some organs \[[@R3]\] by causing oxidative damage of DNA by the Fenton reaction \[[@R4]\]. Thus, iron depletion by an iron chelator has been explored as a possible therapeutic intervention in cancer. Some iron chelators have been shown to inhibit cancer cell proliferation, either alone or in combination with other anti-cancer drugs \[[@R5]--[@R8]\]. However, iron chelators can cause potentially serious side effects. For example, deferasirox (DFX), an oral iron chelator, has superior iron chelation ability, but causes digestive, liver, and kidney disorders \[[@R9]\]. Deferoxamine (DFO) is an intravenous iron chelator that also has toxic side effects \[[@R10]\]. Decreasing the side effects of iron chelators may improve cancer treatment compliance, thereby improving clinical outcomes. A novel iron chelator was developed by Dr. Nishida \[[@R11]\] for the reduction of side effects, and was named "super-polyphenol (SP)." SP is either water-soluble or insoluble. Water-soluble SP has few side effects as it is thought to avoid metabolism by cytochrome P450; drug metabolism via the cytochrome P450 system can cause drug interactions that result in drug toxicity \[[@R12], [@R13]\]. SP has several isoforms according to the number of side chains. Of these, water-soluble SP6 and SP10 are thought to be the best candidates, as they have the strongest chelating abilities. Thus, in this study, we focused on the usefulness and safety of SP6 and SP10 as anti-cancer drugs, and examined their anti-cancer effects and toxicity. RESULTS {#s2} ======= SP6 and SP10 chelated ferric ion in a dose-dependent manner {#s2_1} ----------------------------------------------------------- SP6 was made by a condensation reaction with glucosamine, and SP10 was made by a condensation reaction with histidine (Figure [1A](#F1){ref-type="fig"}). We examined their basic chelating abilities using standard ferric (Fe^3+^) water solution by the sulfosalicylic acid visual colorimetric method. SP6 and SP10 chelated Fe^3+^ in a dose-dependent manner (Figure [1B](#F1){ref-type="fig"}). A dose of 0.5 mg/mL SP6 chelated more than 75% of iron, and 0.1 mg/mL SP10 chelated more than 80% of iron. These results indicated that the chelating ability of SP10 was stronger than that of SP6. ![Structure and chelating abilities of SP6 and SP10\ **(A)** SP was chemically synthesized from catechol and benzoic acids. SP6 was made by a condensation reaction with glucosamine, and SP10 was made by a condensation reaction with histidine. **(B)** The basic chelating abilities of SP6 and SP10 were examined by standard Fe^3+^ water solution and the sulfosalicylic acid visual colorimetric method. SP6 and SP10 were added to the standard Fe^3+^ solution (22.4 mg/L). The color of the liquid changed from red to yellow according to Fe^3+^ chelation. Data are presented as the mean ± standard deviation (SD) (n=4; ^\*^p\<0.05).](oncotarget-09-32751-g001){#F1} SP6 and SP10 suppressed cancer cell proliferation by inducing apoptosis {#s2_2} ----------------------------------------------------------------------- To evaluate the anti-cancer effects of SP6 and SP10, we examined the cell viability of four cancer cell lines using the XTT cell viability assay. SP6 and SP10 suppressed the proliferation of cancer cells in a dose-dependent manner (Figure [2](#F2){ref-type="fig"}). The IC~50~ value was 9.3--93.2 μg/mL for SP6 and 6.2--51.4 μg/mL for SP10 (Table [1](#T1){ref-type="table"}). HCT116 cells were most sensitive to SP6 and SP10. We used the terminal deoxynucleotidyl transferase dUTP Nick-End Labeling (TUNEL) assay to determine the mechanisms underlying their anti-proliferative effects. TUNEL staining revealed apoptotic cells in the SP6 and SP10 treatment groups (Figure [3](#F3){ref-type="fig"}), which was quantified by Image J software analysis ([Supplementary Figure 2A](#SD1){ref-type="supplementary-material"}). To confirm the apoptotic effects, we performed western blot analysis (Figure [4](#F4){ref-type="fig"}). The expression of cleaved poly (ADP-ribose) polymerase (PARP), a DNA repair enzyme, was increased in HCT-116, HSC-2, A549, and MCF-7 cells in a dose-dependent manner. The expression of cleaved caspase 3 was also increased in HCT-116, HSC-2, and A549 cells in a dose-dependent manner. MCF-7 cells are caspase 3-deficient \[[@R14]\]. These results indicated that SP6 and SP10 suppressed the proliferation of cancer cells by inducing apoptosis. ![Inhibitory effects of SP6 and SP10 in cancer cells *in vitro*\ Cultured HCT116, HSC-2, A549, and MCF-7 cells were treated with different concentrations of SP6 and SP10 for 72 h, after which cell viability was evaluated using the XTT assay. Cell viability in the absence of treatment was set at 100%. The results are the means of three independent experiments. Data are presented as the mean ± standard error of the mean (SEM) (n=3; ^\*^p\<0.05, ^\*\*^p\<0.01).](oncotarget-09-32751-g002){#F2} ###### IC~50~ of SP6 and SP10 in cancer cells Cell line IC~50~ (μg/mL) ----------- ---------------- ------ HCT116 9.3 6.2 HSC-2 67.7 22.1 A549 90.8 41.4 MCF-7 93.2 51.4 IC~50~ values (μg/mL) of SP6 and SP10 after a 72-h incubation at 37°C using each cell line. ![TUNEL staining of cancer cells *in vitro*\ Cultured HCT116, HSC-2, A549, and MCF-7 cells were treated with different concentrations of SP6 and SP10 for 72 h, and TUNEL staining was performed to detect apoptosis. The concentrations of SP6 used were as follows: HCT116: 10 μg/mL, HSC-2: 100 μg/mL, and A549: 100 μg/mL. The concentrations of SP10 used were as follows: HCT116: 6.5 μg/mL, HSC-2: 50 μg/mL, and A549: 50 μg/mL. PI-stained nuclei were red in color. Apoptotic cells detected as FITC-positive cells were green in color. Apoptotic cells were detected in both the SP6 and SP10 treatment groups.](oncotarget-09-32751-g003){#F3} ![Western blot analysis of apoptosis in cancer cells *in vitro*\ Cultured HSC-2, A549, and MCF-7 cells were treated with different concentrations of SP6 and SP10 for 72 h. Then the cells were harvested and expression of the indicated proteins was analyzed. SP6 and SP10 induced expression of the apoptotic markers, cleaved caspase 3 and cleaved PARP.](oncotarget-09-32751-g004){#F4} SP10 suppressed tumor growth in xenograft models by inducing apoptosis {#s2_3} ---------------------------------------------------------------------- We expected SP10 to have stronger anti-tumor effects compared to SP6. Thus, to determine the effects of SP10 on tumor growth, we established an HCT116 tumor xenograft model using BALB/c nude mice. SP10 was orally administered at 200 mg/kg for 5 days/week. After 21 days of oral administration with vehicle control (distilled water), the tumor xenografts reached a mean volume of 358.6 ± 49.9 mm^3^. However, SP10 significantly decreased tumor growth (190.5 ± 53.0 mm^3^; Figure [5A](#F5){ref-type="fig"}). The body weight of mice did not change in both groups during the experiment (Figure [5B](#F5){ref-type="fig"}). To determine the mechanism underlying tumor suppression, tumors were collected and then TUNEL staining was performed, revealing apoptotic cells in the SP10 treatment group (Figure [5C](#F5){ref-type="fig"}). The percentage of apoptotic cells increased in the SP10 treatment group ([Supplementary Figure 2B](#SD1){ref-type="supplementary-material"}). Prussian blue staining was performed to detect ferric iron in the tumor tissue, and revealed positive blue spots that were only recognized in the stroma of the control group ([Supplementary Figure 5](#SD1){ref-type="supplementary-material"}). These results showed that SP10 suppressed tumor growth by inducing apoptosis, similar to the *in vitro* data. ![Anti-tumor effects of SP10 in an HCT116 tumor xenograft model\ **(A)** HCT116 cells (3×10^6^ per animal) were implanted subcutaneously into the right back flank of mice, and treatment commenced 7 days after tumor injection. SP10 (200 mg/kg orally, given 5 days/week for 21 days) effectively inhibited the growth of HCT116 allografts *in vivo* (^\*^p\<0.05). **(B)** Body weight did not change during the experiment. **(C)** TUNEL staining revealed apoptotic cells in the tumor tissue of the SP10 treatment group. Hematoxylin and eosin (H&E) staining was conducted of both the nuclei and cytoplasm. PI-stained nuclei were red in color. Apoptotic cells detected as FITC-positive cells were green color. Apoptotic cells were detected in SP10-treated tissue.](oncotarget-09-32751-g005){#F5} Acute oral toxicity and intravenous injection tests demonstrated the safety of SP6 and SP10 {#s2_4} ------------------------------------------------------------------------------------------- Acute toxicity tests in rats were performed to evaluate the basic toxicity of SP6 and SP10. The agents were orally administered (600 and 1000 mg/kg), and the body weight of the rats did not change compared to the control group during the examination (Figure [6A](#F6){ref-type="fig"}). No abnormal behaviors were observed through the period of examination ([Supplementary Table 1](#SD1){ref-type="supplementary-material"}). A blood test was also performed in rats treated with SP6 (1000 mg/kg) and SP10 (1000 mg/kg), and no significant abnormalities were observed ([Supplementary Table 2](#SD1){ref-type="supplementary-material"}). To evaluate any possible adverse effects to the organs, we examined the liver and kidney tissues and found no injuries in the specimens (Figure [6B](#F6){ref-type="fig"}). To compare the safety of SP6 and SP10 to the known iron chelator DFO, an intravenous injection test was performed with all three agents. Although all mice died immediately after intravenous administration of DFO, none died after administration of SP6 or SP10 (Table [2](#T2){ref-type="table"}). These results demonstrated that SP6 and SP10 are basically safe, and as such, are more beneficial for cancer therapy than DFO. ![Evaluation of acute toxicity of SP6 and SP10 in rats\ **(A)** SP6 and SP10 were orally administered for 14 consecutive days. Body weight was not affected by SP6 and SP10 administration. **(B)** Kidney and liver organs were collected after examination, and H&E staining was performed. No disorder was detected in the SP6 and SP10 treatment groups.](oncotarget-09-32751-g006){#F6} ###### Safety of intravenous injection of iron chelators in mice -------------------------------------- Iron chelator Vital result --------------- -------------- ------- DFO\ 1 Dead 300 mg/kg 2 Dead 3 Dead 4 Dead SP6\ 1 Alive 300 mg/kg 2 Alive 3 Alive SP10\ 1 Alive 300 mg/kg 2 Alive 3 Alive -------------------------------------- Each iron chelator was administered via the tail vein of Jcl:ICR mice. All mice injected with DFO died within 5 min, whereas those injected with SP6 or SP10 remained alive until they were sacrificed 2 weeks later. DISCUSSION {#s3} ========== This is the first report of the efficacy and safety of SP for cancer therapy. Iron chelators were originally used to treat iron overload disease caused by hemochromatosis and blood transfusion \[[@R15], [@R16]\]. However, iron chelators have recently garnered attention as novel therapeutic agents for cancer, in part because their effectiveness was demonstrated in patients with sorafenib-refractory advanced hepatocellular carcinoma \[[@R17]\]. In addition, iron-rich food has been linked to an increased risk of carcinogenesis, especially breast cancer \[[@R18]--[@R21]\]. Thus, iron chelation therapy is expected to be a novel strategy for cancer therapy and prevention, particularly oral iron chelators compared to intravenous iron chelators due to their practicability. However, iron chelators cause potentially severe side effects, which makes them difficult to use in some cancer patients \[[@R22]\]. One study reported that all six hepatocellular carcinoma patients treated with DFX had side effects that led to rhabdomyolysis (increased creatinine kinase activity) or anorexia. Thus, decreasing the side effects of iron chelators may improve cancer treatment compliance, thereby improving clinical outcomes. In this study, an acute toxicity test and blood test revealed that a high dose (1000 mg/kg) of SP6 and SP10 did not induce an abnormal appearance, cause a change in body weight, or cause organ dysfunction. A venous injection test revealed that SP6 and SP10 had a better safety profile than DFO. Although the oral iron chelator DFX was also suitable for comparison, our purchased DFX was not dissolved in distilled water and thus was technically difficult to use in the venous injection test. Our preliminary dose escalation intravenous injection test revealed that some mice were ill-conditioned with administration of over 500 mg/kg SP6 and SP10 (data not shown). Together, the results of this study showed that SP6 and SP10 are basically safe, and as such, are advantageous compared to DFO. SP was developed to have decreased side effects by avoiding metabolism via cytochrome P450, as drug metabolism via the cytochrome P450 system can cause drug interactions that result in drug toxicity. Because SP6 and SP10 are water soluble, it is thought to be unaffected by cytochrome P450. Although our blood and histological examinations did not show liver disease, the pharmacological mechanisms of SP are still unknown. There were fewer anti-proliferative effects of SP6 and SP10 in WI-38 and NIH-3T3 fibroblasts compared to the cancer cells ([Supplementary Figure 1](#SD1){ref-type="supplementary-material"}). A limitation of our study was the lack of more comprehensive toxicity tests. Additional studies are needed to confirm the safety of SP for clinical use for cancer therapy. Iron chelation ability was assessed by the sulfosalicylic acid visual colorimetric method, which showed that the chelation ability of SP was stronger than that of sulfosalicylic acid. Moreover, SP10 had strong chelation ability compared to SP6, which was thought to induce apoptosis in this study. The induction of apoptosis by SP6 and SP10 was similar to previous reports of other iron chelators \[[@R7], [@R23], [@R24]\]. Although MCF-7 cells are caspase 3-deficient, caspase 3 is known to induce apoptosis with upregulation of cleaved PARP \[[@R14], [@R25]\]. We examined whether SP-6 and SP-10 were the trigger of apoptosis by using caspase-3 inhibitor. Induction of cleaved PARP was inhibited by caspase-3 inhibitor in HCS-2 cells, which indicated that SP-6 and SP10 triggered apoptosis ([Supplementary Figure 2C](#SD1){ref-type="supplementary-material"}). Induction of apoptosis was demonstrated in our *in vitro* and *in vivo* studies, which indicates that apoptosis may be the major anti-cancer mechanism of SP. The anti-tumor effects of SP6 were also confirmed in an HCT116 tumor xenograft model ([Supplementary Figure 6A](#SD1){ref-type="supplementary-material"}). Body weight did not change during the experiment ([Supplementary Figure 6B](#SD1){ref-type="supplementary-material"}). SP10 inhibited HCT116 tumor growth; however, the tumors did not disappear. Thus, further studies of these novel iron chelators combined with other anti-cancer agents should be performed to determine if their synergistic effects are more potent than treatment with either agent alone. We also examined the expression of iron-related proteins and ferrous ion (Fe^2+^) distribution in the cell ([Supplementary Figures 3 and 4](#SD1){ref-type="supplementary-material"}). Their expression tended to decrease, and Fe^2+^ distribution was condensed around the nuclei by administration of SP6 and SP10. These findings were evidence of iron chelation in the cancer cells. In conclusion, SP is a novel oral iron chelator with anti-cancer effects via induction of apoptosis and few adverse side effects, and as such, may serve as a nontoxic iron chelator with high functionality. Iron chelators such as SP are expected to have anti-cancer effects not only by inhibiting cell proliferation via apoptosis but also by targeting cancer stem cells \[[@R26], [@R27]\]. MATERIALS AND METHODS {#s4} ===================== Cell culture {#s4_1} ------------ The human colon cancer cell line (HCT116) and breast cancer cell line (MCF-7) were purchased from American Type Culture Collection (Manassas, VA, USA). The human oral squamous cell carcinoma cell line (HSC-2), lung cancer cell line (A549), human fibroblast cell line (WI-38) and murine fibroblast cell line (NIH-3T3) were purchased from the National Institutes of Biomedical Innovation, Health and Nutrition (JCRB, Osaka, Japan). HSC-2, A549, MCF-7, WI-38, and NIH-3T3 cells were cultured in Dulbecco's Modified Eagle's Medium (Sigma-Aldrich, St. Louis, MO, USA) and HCT116 cells were cultured in RPMI-1640 medium (Sigma) at 37°C in humidified air with 5% CO~2~. The media were supplemented with 10% fetal calf serum (FCS) (Thermo Fisher Scientific, Waltham, MA, USA), 100 U/mL penicillin, and 100 μg/mL streptomycin (Sigma). Iron chelators {#s4_2} -------------- SP was provided by Disease Adsorption System Technologies Co., Ltd. (Kanazawa, Japan). It was chemically synthesized from catechol and benzoic acids. SP6 was made by a condensation reaction with glucosamine, and SP10 was made by a condensation reaction with histidine. SP was developed to have few side effects by avoiding metabolism by cytochrome P450. DFO was purchased from Novartis Pharma (Tokyo, Japan). SP6, SP10, and DFO were dissolved in distilled water at the indicated concentrations for *in vitro* and *in vivo* experiments. Chelation ability test {#s4_3} ---------------------- Fe^3+^ iron standard stock solution (Wako Pure Chemical Industries, Osaka, Japan) was used in this study. Fe^3+^ concentration was assessed by the sulfosalicylic acid visual colorimetric method using a kit (WAK-Fe^3+^, Kyoritsu chemical-check; Tokyo, Japan). Cell proliferation assay {#s4_4} ------------------------ The XTT cell proliferation assay (Cell Proliferation Kit II; Roche, Mannheim, Germany) was used to assess cell proliferation. The cells were seeded in medium plus 10% FCS. The cells were incubated with SP6 and SP10 for 48 h at 37°C in medium plus 1% FCS, and then changed to medium plus 1% FCS with SP6 and SP10 for 24 h. Optical densities were measured at 480 and 650 nm. All experiments were performed in 96-well plates, and each experiment was repeated at least three times. The IC~50~ was calculated using Prism Windows software (version 6; GraphPad, La Jolla, CA, USA). TUNEL staining {#s4_5} -------------- The induction of apoptosis was assessed by the TUNEL assay using the MK500 in situ Apoptosis Detection Kit (Takara Bio, Shiga, Japan) according to the manufacturer's protocol. Cancer cells were stained after treatment with SP6 and SP10 for 72 h. Living cells were fixed in 4% paraformaldehyde at 4°C for 30 min, and were treated with 70% ethanol to enhance permeability. Tumor tissue was also stained using the kit. The numbers of PI-positive and FITC-positive cells were calculated by Image J software (<http://rsb.info.nih.gov/ij/>). Ferrous ion staining {#s4_6} -------------------- Fe^2+^ distribution was assessed by FeRhonox-1 staining kit (Goryo Chemical, Sapporo, Japan). Cancer cells were stained according to the manufacturer's protocol after treatment with SP6 and SP10 for 72 h. Nuclei were counterstained with Hoechst nuclear stain and observed using the fluorescence BZ-X700 microscope (KEYENCE, Osaka, Japan). Western blotting {#s4_7} ---------------- Proteins were extracted from whole cells after a 72 h incubation with medium and SP after the XTT assay was conducted. The concentrations of extracted protein were measured using standard protocols. Cells were lysed in cell lysis buffer (Cell Signaling Technology \[CST\], Danvers, MA, USA). Equal amounts of total cellular protein (18--30 μg/lane) were separated by sodium dodecyl sulfate polyacrylamide gel electrophoresis and electrophoretically transferred to polyvinylidene difluoride filter membranes (Bio-Rad, Hercules, CA, USA) according to the manufacturer's protocol. The following primary antibodies were used: rabbit polyclonal anti-PARP antibody (No. 9542; CST), rabbit monoclonal anti-cleaved PARP antibody (No. 5625; CST), rabbit polyclonal anti-caspase 3 antibody (No. 9662; CST), rabbit monoclonal anti-cleaved caspase 3 antibody (No. 9664; CST), and rabbit monoclonal anti-GAPDH antibody (No. 5174; CST). All primary antibodies were used according to the manufacturer's recommended dilution. All secondary antibodies (Santa Cruz Biotechnology, Dallas, TX, USA) were used at a 1:1000 dilution. The membranes were incubated with primary antibodies overnight at 4°C, followed by incubation with secondary antibodies. Chemi-Lumi One L (Nacalai, Kyoto, Japan) and Immuno Star LD (Wako Pure Chemical Industries) were used to detect the peroxidase activity of the secondary antibodies. A caspase-3 inhibitor was used to confirm the mechanism of apoptosis (235420-1MGCN; Merk, Darmstadt, Germany). Tumor allograft model {#s4_8} --------------------- All animal experiments were performed according to the Japanese Welfare and Management of Animals Act, and were conducted in accordance with institutional guidelines at Shigei Medical Research Institute (Okayama, Japan). All animal experiments were approved by the Ethics Review Committee for Animal Experimentation of Shigei Medical Research Institute (Nos. 1709, 160401-1, and 160401-7). Female BALB/c (nu/nu) mice were purchased from CLEA Japan Inc. (Tokyo, Japan) and housed in sterile conditions. Experiments started when the mice were 8 weeks of age. HCT116 tumor cells in culture were harvested and re-suspended in a 1:1 ratio of phosphate-buffered saline and Matrigel (BD Biosciences, San Jose, CA, USA). Viable HCT116 cells (3.0×10^6^) were injected into the right back flanks of the mice subcutaneously. Tumor size and body weight were measured for 21 days. SP10 (200 mg/kg) was suspended in distilled water and administered orally using a probe 5 days/week. The treatment was started 7 days after inoculation (n=5). The control group received distilled water that was administered by local injection 5 days/week. The tumor volume was calculated by the following formula: Length × Width × Height × 0.52. This experiment was repeated after oral administration of 200 mg/kg SP6. At the end of the experiment, the animals were sacrificed and the tumors were collected for histological analysis. Paraffin sections were prepared from 10% formalin-fixed tumors and stained with hematoxylin and eosin and Prussian blue. Prussian blue staining was performed by incubating the fixed tissue in a mixture of 2% potassium ferrocyanide and 1% hydrogen chloride for 30 min. Acute oral toxicity test {#s4_9} ------------------------ A total of nine female rats weighing 166--186 g were used. Jcl:SD rats were purchased from CLEA Japan Inc. An acute toxicity test was performed following OECD Test Guideline 423. SP6 and SP10 were orally administered at 200 and 1000 mg/kg body weight. Rats were observed for toxic signs for 14 days, after which biochemical analysis of the collected blood was performed. The kidney and liver were collected for histopathological examination, and pathological evaluation was performed by pathologists. Venous injection test {#s4_10} --------------------- A total of 10 male Jcl:ICR mice were used. DFO (300 mg/kg), SP6 (300 mg/kg), and SP10 (300 mg/kg) were administered via the tail vein. Mice were observed for survival for 14 days. Statistical analysis {#s4_11} -------------------- Data were compared against the respective control in each experiment using Student's *t*-test. P values less than 0.05 were considered statistically significant. SUPPLEMENTARY MATERIALS FIGURES AND TABLES {#s5} ========================================== **Author contributions** T.O. designed the research study; T.O., Y.T., X.B., and S.Y. performed the experiments; T.O., Y.T., and X.B. analyzed the data; T.O., Y.T., K.O., and A.M. contributed to the discussion and writing of the manuscript; T.O. wrote the manuscript. We are grateful to Masaya Yamaguchi and Ken Nakajo for their kind assistance with the *in vitro* experiments, and to Shiho Komaki for helpful assistance with the *in vivo* experiments. **CONFLICTS OF INTEREST** The authors have no conflicts of interest to declare. **FUNDING** This work was supported by grants from Disease Adsorption System Technologies Co., Ltd. for Collaboration Research. SP : super-polyphenol DFX : deferasirox DFO : deferoxamine XTT : 2,3-Bis-(2-Methoxy-4-Nitro-5-Sulfophenyl)-2H-Tetrazolium-5-Carboxanilide TUNEL : TdT-mediated dUTP nick end labeling PARP : poly (ADP-ribose) polymerase GAPDH : Glyceraldehyde-3-phosphate dehydrogenase PI : Propidium iodide FITC : Fluorescein isothiocyanate H&E : Hematoxylin and Eosin
Schedule and automate print-device maintenance With Innovative Document Solutions, you can turn network print device-relate projects which were once a chore, into automated, scheduled tasks, or a simple remote request. Control and track print device usage Why not make it simple to proactively monitor and control network print devices? With Innovative Document Solutions you can retrieve meter count data from all network devices easily, instantly, and remotely. You can also generate many different kinds of useful reports that track network-wide print usage - enabling you to adjust print privileges accordingly.
I think that having rubbish weather in the northern hemisphere at the moment means people have not been out on their bikes very much. In turn that means not so much to post about. So what you are experiencing Pieter is Seasonal Affective Disorder (SAD) http://en.wikipedia.org/wiki/Seasonal_affective_disorder brought about by other people not riding their Honda Pan European ST1100 or Honda Pan European ST1300 (or other) motorcycles. There will undoubtedly be an upswing in content over the next two months as the weather improves (or at least warms-up a little!!). since the subtle hint obviously didn't sink and no other members picked the ball up to spin it further (plus I seem to be some kind of misfit anyway), I'll say it bluntly and in a brief form: ...less porn, more bike talk gentlemen... If you want to reach a wider audience, you'd have to commit to a more family friendly content, safe for workplace and that... my 2 cents... Seems to me that we are wishing to have a member base comparable to the old my-mc, which had been running for over 10 years, when we have only been around here for about 3 months. This forum was set up to be a bit more liberal than the old, which died as it did partly because it HAD taken on an even more conservative stance and some over bearing moderation brought about some negative feedback, which was enough to cause STeinar to shut it down, although I think he was planning that as a "time to move on" and therefore a forgone conclusion anyway. The "porn", pretty tame in my opinion, that we see here, is in a section well noted and warned about, so no one who is easily offended should be looking there, otherwise, they are just hypocrites. Paul mentioned, earlier in this thread, that we didn't want this to be a Pan only forum, which is a good way to present it, but, visitors here will see that our main preference IS for Honda Pans/ST's, so it will be hard to draw others here on that basis. Even on the old my-mc forum, STeinar had sections dedicated to numerous other manufacturers, but there was by far and away much more traffic to the 1100/1300 sections. What we need is for Honda to bring out a new ST! Something that will attract the buyers again and have those buyers looking for a place to get tech and farkle info, because our very old 1100's are mostly staying in the hands of old owners and the 1300 has been around long enough that owners have already found web homes to spend their time at too. Thanks for your comment Martin. I did not and do not see you as a misfit. But that's for another conversation perhaps. The content of the posts comes from the members. If they don't post "bike talk" I really wouldn't know how to get them to do so. Personally I hope that when the riding season starts off, there will be more bike talk than currently. But it's really up to the members. As for "porn" it's clearly marked NSFW and it is up to everyone's personal preferences whether to follow that section or not. Is that not clear enough perhaps? We will - as Keith says - entertain *any* suggestion to make this board work for everyone. We've put in a shitload of work and would like to see that bear to fruition. Sit back, relax, and enjoy the ride. (Don't forget to vote! Not that it matters...) Pieter Huizinga wrote:We've put in a shitload of work and would like to see that bear to fruition. The efforts behind the scenes are appreciated (especially by those who have some technical background on this topic), but you might also need to grow a bit more patience...As Forrest says it are barely 3 months... what are those against over one decade of STeinar's operation.When you open up a new business/shop it'll easily take 2 years till you know if its successfully and running profitable.And the winter is not the best time of the year to start a bike business OTOH do I observe new members from UK or Ireland subscribing to ST-owners almost daily... so there are clients out there...
Q: Haskell foldl' not saving the space it was expected to Trying to implement the straightforward dynamic programming algorithm for the Knapsack problem. Obviously this approach uses a lot of memory and so I am trying to optimize the memory utilized. I am simply trying to store only the previous row of my table in memory just long enough to compute the next row, and so on. At first I thought my implementation was solid, but it still ran out of memory as an implementation designed to store the whole table. So next I thought maybe I need foldl' instead of foldr, but it did not make any difference. My program continues to eat memory until my system runs out. So I have 2 specific questions: What is it about my code that is using up all the memory? I thought I was being clever by using a fold, because I assumed only the current value of the accumulator would be stored in memory. What is the proper approach for achieving my goal; that is, storing only the most recent row in memory? I don't necessarily need code, maybe just some helpful functions and data types. More generally, what are some tips and techniques for understanding memory usage in Haskell? Here is my implementation data KSItem a = KSItem { ksItem :: a, ksValue :: Int, ksWeight :: Int} deriving (Eq, Show, Ord) dynapack5 size items = finalR ! size where noItems = length items itemsArr = listArray(1,noItems) items row = listArray(1,size) (replicate size (0,[])) computeRow row item = let w = ksWeight item v = ksValue item idx = ksItem item pivot = let (lastVal, selections) = row ! w in if v > lastVal then (v, [idx]) else (lastVal, selections) figure r c = if (prevVal + v) > lastVal then (prevVal + v, prevItems ++ [idx]) else (lastVal, lastItems) where (lastVal, lastItems) = (r ! c) (prevVal, prevItems) = (r ! (c - w)) theRest = [ (figure row cw) | cw <- [(w+1)..size] ] newRow = (map (row!) [1..(w-1)]) ++ [pivot] ++ theRest in listArray (1,size) newRow finalR = foldl' computeRow row items In my head, what I think this is doing is initializing the first row to (0,[])... repeated as necessary, then kicking off the fold where the next row is calculated based on the supplied row, and this value then becomes the accumulator. I'm not seeing where more and more memory is being consumed... Random thought: what if i used the \\ operator on the accumulator instead? A: As Tom Ellis said, using force on the array solves the space issues. However, it is extremely slow, because force traverses all the lists in the array from start to end each time it is invoked. So we should only force as needed: let res = listArray (1,size) newRow in force (map fst $ elems res) `seq` res This fixes the space leak and it's also pretty fast. If you want to take space efficiency to the logical next step, you could use bitsets of the indices of the items instead of lists of items. Integers are good for the job here since they automatically resize themselves to accommodate the highest set bit. Also, with Integer-s forcing is straightforward: import qualified Data.Vector as V -- using this instead of Array cause I like it more import Data.List import Control.Arrow import Data.Bits import Control.DeepSeq data KSItem a = KSItem { ksItem :: a, ksValue :: Int, ksWeight :: Int} deriving (Eq, Show, Ord) dynapack5' :: Int -> [KSItem a] -> (Int, Integer) dynapack5' size items = V.last solutions where items' = [KSItem i v w | (i, KSItem _ v w) <- zip [0..] items] solutions = foldl' add (V.replicate (size + 1) (0, 0::Integer)) items' add arr (KSItem item currVal w) = force $ V.imap go arr where go i (v, is) | w < i && v' > v = (v', is') | otherwise = (v, is) where (v', is') = (+currVal) *** (`setBit` item) $ arr V.! (i - w)
[Preeclampsia-eclampsia: a change in utero-placental microcirculation. Immunologic, histologic, and biochemical features]. To know the alterations in the microcirculation of the placenta, umbilical cord, as well as the immune and hemorrheologic disorders in preeclampsia-eclampsia. Two groups were conformed, 30 patients each, all of them with pregnancy of more than 24-week gestation. Group A included patients with preeclampsia-eclampsia and group B (control group) included women with normal pregnancy. In all patients determinations of levels of platelets, fibrinogen, antinuclear antibodies, IgG and IgM anticardiolipin, VDRL were made; clotting times were determined, and histopathologic analyses (placenta, umbilical cord and uterus-placenta membranes) were performed. Platelet levels in the group A were normal in 40% and low in 60%. In group B they were normal in 83.3% and low in 16.7%. with p < 0.05. In group A fibrinogen was normal in 10% and high in 90%; in the group B it was normal in 62.1% and high 37.9%, with p < 0.05. In group A prothrombin time (PT) was normal in 40% and high in 60%; in group B it was normal in 76.7% and low in 23.3%, with p < 0.05. in group TPT was normal in 36.7% and high in 62.1%, with p > 0.05. VDRL was negative in the 100% of the women of group A and positive in the 3.3% of the controls with p > 0.05. The antinuclear antibodies were positive in 6.7% in group A, and in 23.3% in group B, p < 0.05. IgG anticardiolipin antibodies were negatives in the 100% in both groups and IgM antibodies were negative in 96.7% in the group B and 3.3% in group A, p > 0.05. Analysis of histopathologic and immune changes did not show statistic significance when comparing both groups. Statistical and clinical significance was observed only in the hemorrheologic changes (PT, TPT, fibrinogen and platelets) and in the newborn weight.
Irritant contact dermatitis and chrome-passivated metal. An outbreak of hand dermatitis is reported amongst employees working on a new assembly line of an electronics factory. 24 out of 41 employees had signs of irritant contact dermatitis. The fingertips and the dorsal parts of the hands were especially affected. Mechanical factors in combination with zinc-chromium compounds from galvanised steel seemed to be responsible for the dermatitis and the dry skin. The use of an emollient solved the problem.
The present invention relates generally to evaporator installations, and more particularly to evaporators for processing radioactive liquid wastes in a nuclear power plant. Until relatively recently the need for an evaporator system in nuclear power plants was confined to controlling the concentration of primary water, i.e. the liquid heat transfer medium between the atomic pile and the steam generators of the plant. This liquid, which normally contains sodium sulphate or boric acid, was sufficiently free of scale forming contaminants and sufficiently uniform in concentration that it could be evaporated without excessive scaling in a conventional calandria or long-tube-vertical (LTV) evaporator, wherein circulation through the heat exchanger was obtained by thermal gradients, as opposed to pumping or other mechanical circulation means. It has recently been recognized in the operation of nuclear power plants that liquids accummulated from floor drainage systems and other internal reactor-related sources constitute a potential radiation hazard, and must therefore be handled and disposed of as radioactive waste material, typically by sealing the waste in concrete drums or barrels, and then burying it either on land or at sea. Because of the relatively high expense of the disposal process, it is highly desirable that the radioactive liquid waste be concentrated prior to being sealed in the containers for burial. To this end the waste may be first processed in one or more evaporator stages, wherein a large portion of the liquid is removed as harmless non-radioactive steam or water vapor leaving concentrated liquor for disposal. Unfortunately, the concentrated waste liquor, which unlike primary water may contain suspended solids such as calcium, sodium and magnesium carbonates and sulphates in variable and unpredictable concentrations, is prone to boil and produce scaling in the heat exchanger and the other components of the conventional calandria and LTV natural flow evaporator systems heretofore used in the primary water concentrating process. This eventually reduces the efficiency of the evaporator to the point that its utility in the concentrating process is seriously impaired. While it is possible to remove some of the accummulated scaling by boiling out the evaporator system with a suitable solvent, it eventually becomes necesaary to shut down and dismantle the system so that insoluble scales and plugged tubes can be cleaned by mechanical means. Because the liquor within the evaporator systems is highly radioactive and the systems are therefore normally installed in concrete vaults for shielding and are not easily accessible, dismantling prior-art systems for descaling or repair has been a time-consuming and expensive operation. While forced circulation (FC) evaporators, where a pump or other mechanical circulation means is provided to circulate the liquor, overcome the scaling problem to a large degree by keeping the liquor circulating at a controlled rate with carefully controlled temperature gradients within the heat exchanger whereby boiling is restricted to the evaporation chamber, the use of these evaporators for concentrating radioactive liquids has been avoided in the past because of their use of a pump. Heretofore, such pumps, which were arranged below the level of the liquid in the system and therefore necessarily required a shaft seal resistant to the passage of the fluid being pumped, required frequent servicing which could be accomplished only with great difficulty because of the surrounding radiation shielding and the high radiation levels of the liquor. Furthermore, the use of a pump was considered objectionable because it increased the volume requirements of the system and made necessary additional access passageways, thus significantly increasing the required radiation shielding around the evaporator. Accordingly, it is a general object of the present invention to provide a new and improved evaporator system for concentrating radioactive liquid wastes in a nulcear power plant or the like. It is a more specific object of the present invention to provide an evaporator system for a nuclear power plant or the like which can be more readily dismantled for descaling or repair. It is a still more specific object of the present invention to provide a new and improved evaporator system which can be serviced without being drained. It is another object of the present invention to provide an evaporator for a nuclear power plant which minimizes scaling and the need for periodic maintenance. It is another object of the present invention to provide an evaporator system which can be serviced from one access plane. It is another object of the present invention to provide a new and improved pump mounting and assembly for an evaporator system. It is another object of the present invention to provide a circulation pump for an evaporator system which provides a minimal need for periodic maintenance. It is another object of the present invention to provide a circulation pump for an evaporator system which can be serviced from one access plane without draining the system.
Mutagenic activity of selenium compounds. The mutagenicities of selenate (SeO2/4-) and selenite (SeO2/3-) were determined by two bacterial assay systems: Kada's rec-assay and Ames's Salmonella test. In both assays, these compounds were found to be weak mutagens. In the Salmonella test, selenate (0.05 revertants/nmole) and selenite (0.2 revertants/nmole) gave rise to base-pair substitution.
Q: Find groups of duplicates in data frame by all columns except one I have a large dataframe. For some purposes I need to do the following: Select one column in this data frame Iterate on all rows of a given data frame except selected column Select all rows of this data frame that are equal by all elements except one selected column Group them by the way that group name is the row index and group values are indexes of duplicated rows. I have wrote a function for this task, but it works slow because of nested loop. I would like to get some ideas how this code can be improved. Say we have a dataframe like this: V1 V2 V3 V4 1 1 2 1 2 2 1 2 2 1 3 1 1 1 2 4 1 1 2 1 5 2 2 1 2 And we want to get this list as a output: diff.dataframe("V2", conf.new, conf.new) Ouput: $`1` [1] 1 $`2` [1] 2 $`3` [1] 1 3 $`4` [1] 2 4 $`5` [1] 5 The following code reaces the goal, but it works too slow. Is it possible to improve it somehow? diff.dataframe <- function(param, df1, df2){ excl.names <- c(param) df1.excl <- data.frame(lapply(df1[, !names(df1) %in% excl.names], as.character), stringsAsFactors=FALSE) df2.excl <- data.frame(lapply(df2[, !names(df2) %in% excl.names], as.character), stringsAsFactors=FALSE) list.out <- list() for (i in 1:nrow(df1.excl)){ for (j in 1:nrow(df2.excl)){ if (paste(df1.excl[i,],collapse='') == paste(df2.excl[j,], collapse='')){ if (!as.character(i) %in% unlist(list.out)){ list.out[[as.character(i)]] <- c(list.out[[as.character(i)]], j) } } } } return(list.out) } A: Let's generate some data first df <- as.data.frame(matrix(sample(2, 20, TRUE), 5)) # Produces df like this V1 V2 V3 V4 1 2 1 1 1 2 2 1 2 2 3 1 1 2 2 4 1 2 1 1 5 1 2 1 1 We then loop through the lines with lapply. Each row i is then compared to all lines of df with apply (including itself). The rows with <= 1 differences returns TRUE, the others return FALSE producing a logical vector, which we convert to a numeric vector with which. lapply(1:nrow(df), function(i) apply(df, 1, function(x) which(sum(x != df[i,]) <= 1))) # Produces output like this [[1]] [1] 1 [[2]] [1] 2 3 [[3]] [1] 2 3 [[4]] [1] 4 5 [[5]] [1] 4 5
Q: Change JS code in order to work with GTM (arrow function and spread expression) I use this JS code to get title value from a elements in a series of li : var res = [...document.querySelectorAll(".breadcrumb li:not(:first-of-type) > a")].map(el => el.getAttribute("title")).join(" - "); alert(res) I have to use it in Google Tag Manager but it doesn't work because GTM doesn't support ECMASCRIPT6. How arrow function and spread expression can be changed to make it works with tag manager? A: You can call Array.prototype.slice on the NodeList to convert to an array. The arrow function can just be replaced with a regular function: var res = [] .slice .call(document.querySelectorAll(".breadcrumb li:not(:first-of-type) > a")) .map(function (el) { return el.getAttribute('title') }) .join(' - ')
NONPRECEDENTIAL DISPOSITION To be cited only in accordance with Fed. R. App. P. 32.1 United States Court of Appeals For the Seventh Circuit Chicago, Illinois 60604 Argued April 6, 2011 Decided April 14, 2011 Before     JOEL M. FLAUM, Circuit Judge     TERENCE T. EVANS, Circuit Judge     JOHN DANIEL TINDER, Circuit Judge No. 10‐2525 Appeal from the United States District Court for the Central UNITED STATES OF AMERICA, District of Illinois. Plaintiff‐Appellee, No. 2:08‐cr‐20044 v. Michael P. McCuskey,  CHRISTOPHER E. WEBSTER, Chief Judge. Defendant‐Appellant. O R D E R Danville, Illinois, police officers obtained a warrant to search the residence of the defendant, Christopher Webster, for cocaine and related items.  And indeed, more than 14 grams of crack cocaine were recovered from the house.  But a much larger amount—more than 109 grams of crack cocaine—was recovered from Webster’s Cadillac Escalade after he allegedly consented to a search of the car during the execution of the warrant.  Webster was subsequently charged with knowingly possessing 50 or more grams of crack cocaine with intent to distribute, in violation of 21 U.S.C. §§ 841(a)(1) and (b)(1)(A), and knowingly possessing five or more grams of crack cocaine with intent to distribute, in violation of 21 No. 10‐2525 Page 2 U.S.C. §§ 841(a)(1) and (b)(1)(B).  After the district judge denied Webster’s motion to suppress the drugs found in the car, he pled guilty to the first charge, reserving his right to appeal the suppression ruling but not his conviction or sentence.  In accordance with the plea agreement, Webster was sentenced to a term of 240 months’ imprisonment.   Webster now challenges the district judge’s ruling on his motion to suppress, arguing that he never gave voluntary consent to search his car.  Webster also asserts that he should be resentenced under the Fair Sentencing Act of 2010 (FSA)—or, as we have called it, the ʺNot Quite as Fair as it could be Sentencing Act of 2010.ʺ  See United States v. Fisher, __ F.3d __, 2011 WL 832942, at *1 (7th Cir. Mar. 11, 2011).  The government, on the other hand, argues that the district judge’s ruling on the motion to suppress was solid and that Webster waived his right to complain about his sentence. The facts can be briefly stated.  On August 14, 2008, Troy Wasson and other Danville police officers observed Webster as he sold cocaine to a confidential informant.  Later that day, Wasson appeared before a Vermilion County judge, provided testimony concerning the controlled buy and other evidence of Webster’s drug dealing, and obtained a warrant to search Webster’s residence for cocaine and related items.  During the briefing to prepare to execute the warrant, the officers learned that Webster had a history of weapons arrests and that the informant believed that Webster was normally armed. The next day, the officers went to Webster’s residence to execute the search warrant.  When Webster pulled his Escalade into the driveway, Wasson pulled in behind him, blocking his path.  Webster was placed in handcuffs and told that a warrant had been issued for a search of the house.  Another officer, Steven Guess, then asked Webster for permission to search his car.  Although neither Guess nor Wasson could recall the exact response, they later testified that Webster immediately gave consent and was calm and cooperative at the time.  To repeat, the vast majority of the crack cocaine was recovered from the car, not the house.  After his indictment, Webster filed a motion to suppress the evidence found in the car.  As grounds for the motion, Webster argued that (1) the search warrant was not supported by probable cause, (2) because the warrant was invalid, his detention during the search was illegal, and (3) the illegal detention, combined with the fact that he was not given Miranda warnings, rendered his consent invalid.  After hearing testimony from the officers (Webster did not testify), the district judge denied the motion.  He found that the warrant was supported by probable cause and that Webster’s detention during the execution of the warrant was justified to secure the officers’ safety, citing United States v. Jennings, 544 F.3d 815, 818 (7th Cir. 2008).  The judge also held that Miranda warnings were unnecessary because a request for consent to search is unlikely to elicit an incriminating response, citing United States v. Bustamante, 493 F.3d 879, 892 (7th Cir. 2007).  Finally, the judge credited the officers’ testimony that Webster consented to the search of his car. No. 10‐2525 Page 3 Webster subsequently entered into a plea agreement, reserving his right to appeal the denial of his motion to suppress but waiving his right to appeal his conviction and sentence.  On June 23, 2010, less than two months prior to the enactment of the FSA, Webster received his sentence—the mandatory minimum at the time—in accordance with the plea agreement.  The next day, Webster filed a notice of appeal, citing the district judge’s ruling on the motion to suppress as the only subject for review.  On a motion to suppress, we review legal questions de novo and findings of fact and credibility determinations for clear error.  United States v. Wesela, 223 F.3d 656, 660 (7th Cir. 2000).  A factual finding is clearly erroneous if we are “left with the definite and firm conviction that a mistake has been made.”  United States v. Gravens, 129 F.3d 974, 978 (7th Cir. 1997).  Given the fact‐specific nature of a motion to suppress, “we give special deference to the district court that heard the testimony and observed the witnesses at the suppression hearing.”  Id. Webster argues that he did not consent to the search of his car, and even if he did, his consent was not voluntary.  A warrantless search without exigent circumstances is presumptively unreasonable and generally requires suppression of the evidence obtained from the search.  United States v. McGraw, 571 F.3d 624, 628 (7th Cir. 2009).  An exception to this rule is the defendant’s voluntary consent to the search.  Id.  The existence of voluntary consent is a question of fact to be determined based on the totality of the circumstances.  United States v. Figueroa‐Espana, 511 F.3d 696, 704 (7th Cir. 2007).   The district judge specifically found that Webster consented to the search.  Webster’s counterargument—that because the officers could not remember Webster’s exact words, there was no consent—lacks merit.  At the suppression hearing, the only testimony on this issue was from the officers, who said that Webster gave permission to search the car.  There is no clear error in the district judge’s finding. Webster also argues that his consent was involuntary and faults the district judge for not making a finding on this issue.  The lack of a finding is understandable, however, because Webster did not raise voluntariness as grounds for suppression in the district court.  Rather, Webster argued that his consent was invalid because he was illegally detained at the time and because he was not given Miranda warnings.  Our review, therefore, is for plain error if Webster can show good cause for not making the voluntariness argument earlier.  See United States v. King, 627 F.3d 641, 647 (7th Cir. 2010).  Webster has not justified his failure to raise voluntariness as an issue in the district court.  And even if he passed that threshold, Webster has not shown error, much less plain error, in the district judgeʹs decision.  Although Webster was in custody and was not advised of his constitutional rights, he was detained only briefly before consenting immediately to the search.  No physical coercion was employed to obtain his permission, No. 10‐2525 Page 4 and Webster was calm and at ease during the encounter.  The district judge did not err in denying Webster’s motion to suppress.1 Webster’s remaining arguments concern his sentence.  He contends that he should be resentenced under the FSA, which increased the drug quantities necessary to trigger mandatory minimum sentences under the Controlled Substances Act and the Controlled Substances Import and Export Act.  Fisher, 2011 WL 832942, at *1.  He also claims that the statutory punishment applied to him was based on an inherently discriminatory penalty scheme, violating the equal protection and due process clauses.  These are legal questions subject to de novo review.  See Pickett v. Sheridan Health Care Center, 610 F.3d 434, 440 (7th Cir. 2010). The government, however, asserts that we cannot address these issues because (1) Webster’s notice of appeal did not designate sentencing claims as being up for review, see Fed. R. App. P. 3(c)(1)(B); United States v. Taylor, 628 F.3d 420, 423 (7th Cir. 2010), and (2) Webster waived appellate review of sentencing claims in his plea agreement.  See United States v. Williams, 184 F.3d 666, 668 (7th Cir. 1999).  The government is correct on both counts, and Webster makes no meritorious arguments in his defense.  Having said that, even if Webster’s claims were preserved, he still could not prevail.   Webster’s primary contention is that the FSA applies retroactively.  But, as he acknowledges, we have already concluded that it does not.  See United States v. Bell, 624 F.3d  803, 814 (7th Cir. 2010).2  Furthermore, we have also held that “the relevant date for a determination of retroactivity is the date of the underlying criminal conduct, not the date of sentencing.”  Fisher, 2011 WL 832942, at *3.  That is, the FSA applies only to defendants who are sentenced based on conduct that took place after the effective date.  So, while Webster bemoans the fact that the FSA was enacted less than two months after he was sentenced, even if the effective date had been two months earlier, he unfortunately would still be out of luck. For all of these reasons, the judgment of the district court is AFFIRMED. 1 At oral argument, we observed that the government could have avoided this issue altogether by only bringing a charge based on the drugs found in the house.  The uncharged drugs found in the car  would  have  been  admissible  as  relevant  conduct  at  sentencing,  where  the  exclusionary  rule generally does not apply.  See United States v. Perez, 581 F.3d 539, 544 (7th Cir. 2009). 2 Webster’s other argument—that his sentence was unconstitutional because it was based on an inherently discriminatory penalty scheme—is also in direct conflict with our precedent.  See United States v. Lawrence, 951 F.2d 751, 755 (7th Cir. 1991).
Rapid and aggressive recurrence accompanied by portal tumor thrombus after radiofrequency ablation for hepatocellular carcinoma. Although radiofrequency ablation (RFA) has been reported to be a safe and effective procedure for the treatment of hepatocellular carcinoma (HCC), patterns of recurrence and complications following RFA treatment have not been fully identified. Recently, we have experienced two cases of HCC patients who developed rapid and aggressive recurrence accompanied by portal tumor thrombus after RFA therapy. The first was a 68-year-old woman with hepatitis C virus (HCV)-positive liver cirrhosis, who received percutaneous RFA therapy for a 27-mm-diameter HCC in segment VII. The other was a 64-year-old man with hepatitis B surface antigen (HBsAg)-positive liver cirrhosis and multiple bilobar HCCs, who underwent left hemihepatectomy and intraoperative RFA for the two tumors in the remnant liver. In both patients, though immediate imaging studies suggested complete necrosis of the tumors, recurrences with massive portal tumor thrombus occurred in 4 and 6 months, respectively. At present, it is unclear whether such a recurrence pattern is directly related to the RFA procedure. However, it is implied that RFA therapy may entail a risk of promoting portal venous invasion of HCC tumors.
namespace Computers.Tests { using System; using System.Linq; using Computers.Models.Contracts; public class CustomRandomNumberProvider : IRandomNumberProvider { private readonly int customValue; public CustomRandomNumberProvider(int customValue) { this.customValue = customValue; } public int GenerateRandomNumber(int maxValue) { return this.customValue; } public int GenerateRandomNumber(int minValue, int maxValue) { return this.customValue; } } }
First Union is taking legal action on behalf of courier drivers, and will argue they are essentially employees rather than independent contractors. Photo: 123rf The union has begun proceedings in the Employment Court to determine the employment status of courier drivers. Most drivers are on independent contracts, which means they have to pay for their own vehicles, scanners and uniforms. They are also not entitled to sick leave or annual leave. Many have told Checkpoint in recent weeks that they make less than minimum wage after tax and expenses. First Union secretary for transport logistics and manufacturing Jared Abbott said many drivers contacted the union in recent weeks, following Checkpoint's stories. "We have begun proceedings to file to the Employment Court to determine the employment status of a bunch of courier drivers and we believe with the new precedents being set that we'll be successful in being able to get that determination." Employment Court's former chief judge Graeme Colgan told Checkpoint last week that it would be "worthwhile" for courier drivers to take a case to court, and said a union might be able to help with legal action. Courier drivers said while they were on independent contracts, they were not allowed to work for any other courier company. New Zealand Post confirmed this was its policy. First Union will argue the drivers are employees, not contractors. Mr Abbott said courier drivers made up a small portion of drivers in the same situation, and Mainfreight truck drivers were also on independent contracts. "We're very confident we can win it, but the reality is even if we can't win the case we don't believe what is happening should continue, but what we're going to do now is a little bit different, where we're actually going to try and overturn that case law that was set in TNT Cunningham and show that these people may actually well be employees." The Cunningham vs TNT 1992 case is one in which a courier driver took TNT Express Worldwide to court because he believed he was unjustifiably dismissed, but TNT argued he was not an employee. The Court of Appeal overturned an Employment Court ruling, and sided with TNT. Mr Colgan said the legal process would be slow and fiercely defended by the courier companies, and would likely go all the way to the Supreme Court. Employers and Manufacturers Association chief executive Kim Campbell said courier drivers willingly entered into an arrangement which stated they were independent contractors. "These people are not forced into this. Nobody puts them there at gunpoint. They made a choice to run their own business. If they don't like it they should sell it, get out and do something else."
According to a new study by Ohio State University to be published in the Journal of Personality later this month, 130 University of Michigan students were asked to rate how much they wanted to partake in an enjoyable activity, like seeing friends, getting paid, having sex, eating a favorite food, drinking alcohol or receiving a self-esteem boost on a scale of 1 to 5 and how much they liked each of these things using the same scale. The findings overwhelmingly showed that these students cared more about increasing self-esteem. There’s no way administrators can 100-percent safeguard their institutions against violence but centralized efforts should be explored. There is typically no single person or department responsible for tracking the sorts of complaints that teachers and fellow students make about students like Loughner. And while schools don’t have the legal authority to force people into treatment against their will, more steps should be taken to get troubled individuals the help they need (Pima notified Loughner's parents that their son needed a mental examination to continue in school but not much else). Do you think Pima Community College officials could have done more or do you, like Duncan, believe they handled the situation the best they could? State funding for colleges isn’t what it used to be so when a school needs new dormitories, laboratories and classrooms, students have become more willing to fund these endeavors because they will benefit their educational experience. In Colorado, mandatory student fee increases range from 18.5 percent (University of Colorado at Colorado Springs) to 611 percent (Mesa State) since 2006 but current students are readily handing over the cash…even though the majority will have graduated long before the projects are finished. "I won't be a student here when the projects are complete, but I do know my degree will only gain in value," said Sammantha O'Brien, a student at Metropolitan State College of Denver. Brad Baca, vice president of finance and administration at Western State College in Gunnison, agrees. "We're in a very competitive environment and having high-quality amenities and facilities is an important factor," he said. And if the upgrades aren’t reward enough, students at these schools are more informed and involved: At Western State, for example, 40 percent of the student population participated in the fee vote – a record turnout. What do you think, readers? Would you pony up the dough for a dorm you won't live in or an academic building in which you’ll never hear a lecture? If the ABA approves the change – Donald J. Polden, dean of the law school at Santa Clara University and chair of the ABA committee studying the standards, said a "substantial majority" indicated that they would like to drop the LSAT requirement – all law schools will have the option to dismiss LSAT requirements but will not be forced to. Polden went on to say that while there are "good arguments" for the change, he was not endorsing it and didn’t expect Santa Clara to alter its admissions policy. Standardized testing is the norm but I believe it’s not the only way students should be measured. Do you think this proposed change is a step in the right direction in law school admissions or think the current system is fine as is? Our scholarship search and law scholarships page will be useful to you either way! Kiplinger Ranks Top Private and Liberal Arts Schools True or false: Public schools are always a better value than private schools or liberal arts schools. Have your answer all bubbled in? Let’s see if it’s right. A school’s value isn’t solely determined by cost; though it does play a significant role, if you factor in curriculum caliber and overall quality of life, it turns out that many private and liberal arts schools are indeed better values than their public counterparts. That and the amount families actually have to pay after financial aid is only around $20,000. Nice. According to Kiplinger’s annual lists, Swarthmore College and Princeton University lead the pack for liberal arts and private institutions, respectively. Why? Swarthmore’s most qualified applicants only pay $18,791 – that’s nearly two-thirds off the school’s $52,650 sticker price and a huge reason why almost all Swatties return for sophomore year – and Princeton graduates leave its hallowed halls with the lowest average debt, due in large part to a tuition bill less than $50,000 and the elimination of student loans from its financial aid package. Here are the top 10 in each category: But is Twitter really responsible for the grade boost? Reynol Junco, an associate professor of academic development and counseling at Lock Haven University, said the familiarity with Twitter (which is a lot like Facebook’s status update feature) may make students more comfortable participating in discussions outside the classroom and responding to class material. But Dave Parry, an assistant professor of emerging media at the University of Texas at Dallas who has used Twitter in his classes, had reservations. He said more specific studies needed to be conducted to determine if Twitter is the deciding factor in increasing grades and what uses of Twitter are most effective to achieve desired results. Students, do you tweet? What do you tweet about: schoolwork, politics, gossip? Have you noticed a difference in your grades – positive or negative – since activating your account? Do you follow us? Advocates Displeased with Rejection of New Questions Can you remember the first time someone asked you to think outside the box? Whether it was for a homework assignment, a science fair project or college admissions essay, you probably noticed taking this creative approach was appreciated – and earned you an A, a medal or admission – but sometimes, unfortunately, the status quo wins. Windmeyer, the founder of Campus Pride, a national group that works on behalf of gay students and sponsors college fairs at which gay students can meet college representatives, believes the Common App organization is "acting like a parent of the 1950s" because the proposed questions would not be an issue: Since they would be optional, any applicant uncomfortable with them could elect not to answer; he also said a second gender question following birth certificate information would allow colleges to meet reporting requirements while accommodating all gender identities. You can read more from both sides here but the fact of the matter is this: Many students go to college to find themselves but when they can’t even find a way to identify themselves on the application, is that school really where they want to be? An annual study found 51.9 percent of first-year, full-time students reported their emotional health was above average. That may not seem so bad but lead author, UCLA's John Pryor, said this figure is a "fairly alarming" 3.4 percentage points lower than last year and the lowest since the inaugural study in 1985 when 63.6 percent reported feeling above average. Despite these record-low levels of emotional health, about 73 percent of students surveyed generally expressed positive attitudes toward higher education, even as they struggle to fund it because they believe it will help their future earning power. But why the disparity between low emotional health and high expectations? It’s difficult to pinpoint one specific reason but Marcus Hotaling, chairman of mental health for the American College Health Association, has a theory: When the study began in 1985, he said, many students with mental health issues did not get into college but today, they are able to pursue post-secondary degrees because of improved medication, reduced stigmas and a greater willingness to share concerns with others. "Students are more attuned to who they are, what they're dealing with, and that there's help out there," said Hotaling. First-time college students, do you share the sentiments of the students surveyed or is your freshman year shaping up to be one of the best years of your life thus far? Applications, Diversity and Competition are Up at Many Schools So you’ve found your dream college. The place where you’ll not only obtain the knowledge and skills to succeed in the real world but will make personal connections and precious memories to last a lifetime. As you take the appropriate standardized tests, schedule an interview with a member of the admissions committee and make sure your applications are in on time, you can’t help but begin counting the days until your acceptance letter arrives. The only problem is that you’re not the only one thinking these thoughts: Your competition has increased thanks to many colleges’ upping their marketing efforts abroad, specifically in China, to increase diversity on campus. And you thought finding a valentine was hard. According to the New York Times, American institutions are seeing surges in applications from China, where a booming economy means more parents can turn their children’s dreams of American higher education into realities. At Grinnell College in rural Iowa, for example, nearly one of every 10 applicants being considered for the class of 2015 is from China. These applicants also display high test scores and exemplary grades but lack command of the English language (some families even hire agents to pen application essays) and access to Advanced Placement courses, making it difficult for the school’s 11-member admissions committee to determine who gets big envelopes and who doesn’t because they cannot be judged using the same standards as American applicants. The confounding variables do not cease there – Grinnell is "need-blind" when considering American students but is "need aware" for international students, meaning an applicant could have an edge if he or she does not need financial aid and can pay full tuition – but the school does appear to be selecting the right applicants: About 84 percent of students who enroll graduate in four years and double major in subjects including math, science and economics. Do you think there should be different standards for U.S. and international students applying to college? Would you rather have greater diversity in your classes or a better chance of gaining admission to your first-choice school? Does this information impact the schools you'll put on wish list? The team, led by MSU assistant professor of psychology Tim Pleskac, used a mathematical model to analyze surveys from 1,158 freshmen at 10 U.S. colleges and universities. The surveys listed 21 "critical events" and students were asked whether any of the events happened to them in the previous semester; later, the students surveyed were asked whether or not they planned to drop out. Among the top risk factors reported were depression, loss of financial aid, tuition increases, unexpected poor marks and roommate issues. Other "critical events" like family deaths, failure to get into a specific program of study, significant bodily injury and addiction, however, were less likely to impact a student’s decision to leave school. "Prior to this work, little was known about what factors in a student’s everyday life prompt them to think about withdrawing from college," Pleskac said. "We are now better suited to think about what students we should target in terms of counseling or other assistance to help them work through these issues." Would any of the factors listed above effect your choice to drop out of college? If they did, do you think you would eventually return to obtain your degree?
Q: Freeswitch Dial-String for SIPs + SRTP outbound call Currently, I faced a problem regarding SRTP outbound call to user (Leg B). The scenario is like the following: We set up our own root CA to an IP address (e.g 192.168.0.13) We create a server certificate for freeswitch at 192.168.0.13 Linphone is used as SIP client and is configured to trust our root CA by default. (1) Linphone A is configured to register to Freeswitch via TLS + SRTP. (One leg call to server has both SIPs and SRTP – completely secure). (2) Linphone B is registered to Freeswitch via TLS + SRTP, and waiting for Linphone A to call to. (One leg call to server, e.g. 9196 (echo test), is completely secure with SRTP + SIPs) Unfortunately, if A call to B, only A leg has SIPs + SRTP, but Leg B is not encrypted with SRTP and SIPs at all. This causes SRTP unprotect failed with code 7 (auth check failed). Dialplan Configuration The dial-string is Directory Configruation: <param name="dial-string" value="{rtp_secure_media=${regex(${sofia_contact(${dialed_user}@${dialed_domain})}|transport=tls)},presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}" /> My question is that, is there any configuration left that I have to set up in order to let freeswitch initiate an outbound call to Leg B correctly with SRTP and SIPs (tls)? Any help would be really appreciated A: FreeSwitch is not supports SIPs uri. You can only use SIP+TLS for call signalling. And configure RTP encryption using variable like rtp_secure_media_outbound.
Len Ceglarski Ceglarski Was More Than A Hockey Coach Good coaches have the ability to extract talent hidden deep within their players. Great coaches also have the gift to forge a lasting impression on the lives of...
This invention relates generally to optical focus detectors and, more particularly, to electrooptical detectors for providing an indication of the focus error with respect to a radiant energy beam impinging on a surface. Such focus detectors are useful in a variety of applications, but are particularly well suited for use in automatic focus control systems, such as might be used in recording or playback apparatus in which information is recorded on, or played back from a recording surface by means of a beam of light or other radiant energy. By way of a more specific example, one type of disc recording system, used for recording video or other information, records information on a disc surface by means of a laser beam focused onto the recording surface by an objective lens, the intensity of the beam being modulated in some manner to produce corresponding changes in an optical condition of the surface. During playback of the recording, a laser reading beam is also employed and is focused on the recording surface as the disc is rotated. A reflected portion of the reading beam is then directed to a photodetector device, which provides an electrical signal from which the recorded information can be reproduced. In both the recording and playback modes of operation, accurate control of the focus of the beams is critical to successful operation of the apparatus. Focus detectors of the prior art have utilized a central disc and concentric photodetector elements to measure the focus error of a beam. However, such devices do not exhibit the precision and linearity needed for some applications. Accordingly, there is still a significant need for a precise focus detector capable of measuring both the magnitude and direction of focus error. Ideally, such a detector should have a substantially linear response characteristic for some distance on both sides of the point of zero focus error, i.e., the output signal generated by the detector should be practically proportional to the focus error, which can be measured as a distance of displacement of the objective lens. The present invention satisfies this need.
Q: Upper bound on the number of edges of a ten vertexes graph no $C_4, C_3$ subgraph. We are given a graph $G$ with ten vertices. Any three or four vertices of $G$ don't form a cycle. What is the maximum number of edges $G$ could have? I know that if the graph is planar and triangle free, it would have 16 edges. It seems that between any 4 vertices, there can be at most 3 edges. Maybe there is a formula and can be proven by induction on number of vertex. I'm not sure. A: Let $A$ be a set of connected pairs and $B$ a set of unconnected pairs of vertices in $G$. Connect a pair of vertices $u,v$ with vertex $w$ iff $w$ is connected with both (that is we make a new graph which is bipartite). Since there is no triangles we have $d(u,v) =0$ if $\{u,v\}\in A$ and since there is no 4-cycles we have $d(u,v) \leq 1$ if $\{u,v\}\in B$ So we have $G$ $$0\cdot |A|+1\cdot |B| \geq \sum _{i=1}^{10} {d_i\choose 2}$$ By handshake lemma in starting graph $G$ we have $$\sum _{i=1}^{10} d_i = 2\varepsilon$$ where the number of edges in starting graph $G$ is $\varepsilon$. Since $|A|=\varepsilon$ we have $|B| = {10\choose 2} -\varepsilon$ Now we have by Cauchy inequality $$\sum _{i=1}^{10} {d_i\choose 2}\geq {1\over 2}({1\over 10}4\ \varepsilon^2 -2\varepsilon)$$ so $${10\choose 2} -\varepsilon\geq {1\over 2}({1\over 10}4\ \varepsilon^2 -2\varepsilon)$$ After solwing this quadratic inequality we get $\varepsilon \leq 15$. This value can not be improved since we have a configuration for $\varepsilon = 15$. Say vertices are $1,2,...,10$ and let $N(v)$ be a set of neighours for $v$. Then if we set: $$ N(1) = \{2,3,4\}$$ $$ N(2) = \{1,5,6\}$$ $$ N(3) = \{1,7,8\}$$ $$ N(4) = \{1,9,10\}$$ $$ N(5) = \{2,7,9\}$$ $$ N(6) = \{2,8,10\}$$ $$ N(7) = \{3,5,10\}$$ $$ N(8) = \{3,6,9\}$$ $$ N(9) = \{4,5,8\}$$ $$ N(10) = \{4,6,7\}$$ we get a graph with $10$ vertices and $15$ edges.
Conical third-harmonic generation of optical vortex through ultrashort laser filamentation in air. We experimentally generate third-harmonic (TH) vortex beams in air by the filamentation of femtosecond pulses produced in a lab-built Ti:sapphire chirped pulse amplifier. The generated TH beam profile is shown to evolve with increasing pump energy. At a sufficiently high pump energy, we observe a conical TH emission of the fundamental vortex and confirm that the conical radiation follows the conservation law for orbital angular momentum. We further investigate the far-field angularly resolved spectra of the TH wave to analyze the conical emission angle. We theoretically verify that the formation of the conical TH vortex results from the phase-matching between the fundamental and TH waves during the filamentation process.
Day 8: Germans Tour For Peace Through Russia The journey began August 7th in Berlin with 235 people to promote friendship and peace between the Russian and German people. “Druschba” means friendship, therefore the organizers chose this name for their tour. The Tour for Peace is currently between St. Petersburg and Moscow. With a successful starting event in Berlin the tour took off, went through Poland and arrived in Kaliningrad on August 8. In the next week the activists will visit cities like Riga, Pskov and St. Petersburg. The schedule for the participants, organizers and initiators is packed with memorial events, concerts organized by locals, meetings with politicians and other Russian officials as well as other events where Germans and Russians get to know each other. Touring through eastern Europe, with a schedule like that and borders to cross, is no holiday at all. My personal experience as a reporter has been great so far, but you have to tolerate a lack of sleep and even food sometimes, because you are constantly running from event to event. The Russian people – adults, teenagers, kids and even grandparents, who experienced the war as soldiers or in concentration camps so far loved the operation. At the memorial events people from both sides are being respectful towards the other nation. The Russians have huge memorials for the fallen soldiers and civilians of World War II. It is said that every Russian family has had losses during that time. Over 27 million Russian are supposed to have died in the conflict with Germany. Surprisingly the convoy was even welcomed in the Balkan states, where some feared the tour would encounter enemies of the idea of European friendship with Russia. In Lithuania, participants planned an unannounced protest at a NATO air base as one of the initiators got a call from the Lithuanian police, who offered to escort the convoy to the air base. Contrary to what the media in Germany tells you about the relationship between those smaller states and Russia, the citizens at least did not seem to be heavily against the initiative. For the participants of the Tour for Peace and the Russian people it has been a lot of joy experiencing each other. Everywhere the tour went, they were treated with some food, got invited to concerts or simply sat together with locals and tried to communicate or made music with them. Very few Russians speak English, which makes it tough to communicate in smaller cities where tourism is usually very low. Therefor,e we are lucky to have some people who can speak Russian. For me that is very important, because I want to get Russians in front of my camera to interview them for a documentary I am filming. At the borders, especially between Kaliningrad (Russia), the Balkan States and Russia, participants had to be very patient.The convoy had to go through border crossings, which literally took some of the cars up to 7 hours. On the other hand, the long waits at the border was also a time where participants of the tour really had time to speak and get to know each other as well. At the border from Kaliningrad to Lithuania, two participants started to give dance lessons as the sun was setting over the river Memel. When I talk to participants who have been activists for many years, being on the streets in Germany with up to 10,000 people against the Federal Reserve or even half a million people against the TTIP, I always hear that this tour is the first time that they really feel like they are making a significant change in the world. No one seems to regret their participation or seems in a bad mood because of the tight schedule. Most people really seem motivated for the days left, as the convoy is moving towards Moscow, where they will arrive August 15th.For more information, as well as constant live updates on the tour, check out www.gernalist.org OH YEAH, since we are not corporate or government owned help us outhere. About The Author For news tips on media censorship, medical breakthroughs, alternative energy and more, contact Andrew Meyer, WeAreChange's Editor-At-Large. You can email him at [email protected] and follow him on Twitter @TheAndrewMeyer, and at TheAndrewMeyer.com
Pavao Ljubičić Pavao Ljubičić (4 July 1918 – 1 June 1944) was a Croatian rower. He competed in three events at the 1936 Summer Olympics. References Category:1918 births Category:1944 deaths Category:Croatian male rowers Category:Olympic rowers of Yugoslavia Category:Rowers at the 1936 Summer Olympics Category:Sportspeople from Šibenik
Whether you prefer glitz or a low-key buffet, rocking out or smoothing it out with jazz, salsa dancing or lounging with friends — it doesn’t matter. There’s something for everyone to do in metro Detroit.
We are very excited to announce that the 2019 White Sabers Color Guard will be lead by Shannon Spaulding. Shannon has been involved in the color guard world for a long time with experiences ranging from Winter Guard, NYSFBC Marching Band, and Drum and Bugle Corps. Her experience in performing includes Trumansburg WInterguard, Patriots Drum and Bugle Corps, Patriots Independent Winterguard and the Syracuse Brigadiers Drum and Bugle Corps. Shannon’s teaching experience includes Brigadiers Winterguard, Baldwinsville Marching Band and Winterguard, Horsehead Marching Band and Homer Marching Band. Assisting Shannon with an unbelievable wealth of knowledge and experience at all levels (DCI, DCA, Winterguard and Marching Band) are Jess Sideleau, Lindsay Lavicka, Cheyenne Kepner, Kira Farley, Kara Brown and Timmy Pintabona. For complete bio information check our website for more updates coming soon on the staff page!
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copied from the kernel sources to tools/: * * Memory barrier definitions. This is based on information published * in the Processor Abstraction Layer and the System Abstraction Layer * manual. * * Copyright (C) 1998-2003 Hewlett-Packard Co * David Mosberger-Tang <[email protected]> * Copyright (C) 1999 Asit Mallick <[email protected]> * Copyright (C) 1999 Don Dugger <[email protected]> */ #ifndef _TOOLS_LINUX_ASM_IA64_BARRIER_H #define _TOOLS_LINUX_ASM_IA64_BARRIER_H #include <linux/compiler.h> /* * Macros to force memory ordering. In these descriptions, "previous" * and "subsequent" refer to program order; "visible" means that all * architecturally visible effects of a memory access have occurred * (at a minimum, this means the memory has been read or written). * * wmb(): Guarantees that all preceding stores to memory- * like regions are visible before any subsequent * stores and that all following stores will be * visible only after all previous stores. * rmb(): Like wmb(), but for reads. * mb(): wmb()/rmb() combo, i.e., all previous memory * accesses are visible before all subsequent * accesses and vice versa. This is also known as * a "fence." * * Note: "mb()" and its variants cannot be used as a fence to order * accesses to memory mapped I/O registers. For that, mf.a needs to * be used. However, we don't want to always use mf.a because (a) * it's (presumably) much slower than mf and (b) mf.a is supported for * sequential memory pages only. */ /* XXX From arch/ia64/include/uapi/asm/gcc_intrin.h */ #define ia64_mf() asm volatile ("mf" ::: "memory") #define mb() ia64_mf() #define rmb() mb() #define wmb() mb() #endif /* _TOOLS_LINUX_ASM_IA64_BARRIER_H */
Parkway's Katlyn Smith watches the ball and connects for a single to break up a no-hitter by Twin Valley South pitcher Emily Froment during the fifth inning of the Division IV regional semifinal contest at Wayne High School in Huber Heights on Wednesday. Smith scored the only run of the game in the fifth inning and helped the Panthers win, 1-0.
Rogers Media uses cookies for personalization, to customize its online advertisements, and for other purposes. Learn more or change your cookie preferences. Rogers Media supports the Digital Advertising Alliance principles. By continuing to use our service, you agree to our use of cookies. We use cookies (why?) You can change cookie preferences. Continued site use signifies consent. Abanda on Bouchard: ‘I will never get the same treatment because I am black’ But the 21-year-old from Montreal said her Twitter comments about discrimination on Wednesday weren’t aimed at fellow player Eugenie Bouchard. "I don’t have a problem with her, and I respect all the things she’s achieved and I don’t want to bash Bouchard, she played amazing in Fed Cup, we got along really well," Abanda said Wednesday from Slovakia after reaching the second round of the ITF Trnava tournament. She held a conference call hours after tweeting that she doesn’t get the same recognition as Bouchard because she is black. Responding to a Twitter user who questions the discrepancy in attention, Abanda posted Wednesday morning: "I will never get the same treatment because I am black. It’s the truth!" Abanda posted on her verified account. Abanda is currently the highest-ranked women’s tennis player in Canada at No. 128. Bouchard, a former No. 5 from Westmount, Que., has seen a steep decline in her career since reaching the Wimbledon final in 2014 and is currently ranked 169th. But she’s remained in the public eye partly because of her social media presence, endorsements and modelling sessions. The problem is "a lot deeper" than simply comparing the two players, Abanda said on the call. "I think the problem is a racial problem, and I think that there is some inferiority and superiority going on, and I think that speaking from my personal experience, I have lived with racism in tennis growing up and playing in Quebec, and I’m just speaking the truth and what I’ve experienced," she said. She said she’s witnessed "hundreds and hundreds" of discriminatory acts throughout her career, and recalled, as an example, an opponent at an under-12 tournament who told her to "go back to your country." She mentioned being excluded from a Tennis Canada video celebrating Canada Day last year that featured the country’s top players. "I don’t know the reason why I was excluded to this day," she said. "I found it weird that I was excluded from the video, as all the other Canadian players were there. It was unfair to exclude me." A Tennis Canada spokesperson, however, said Abanda was excluded because the player had offered video that was of poor quality, and that Abanda wasn’t available to shoot a segment for the video in Montreal. The spokesperson also pointed out that Felix Auger-Aliassime, who is black, was featured in the video. Abanda also talked about the lack of attention to the concussion she suffered during Canada’s Fed Cup tie against Ukraine last month. "No media talked about it, nobody knows what’s going on, everything is under the shadows," Abanda said. "So I think opportunity, I feel like when you’re black, you don’t get the same exposure that you should get for a player ranked 120. "I’m not asking to be exposed like a No. 1 player, I’m not asking to get the same recognition as other players who have achieved more, I’m just saying that there is a minimum that sometimes I don’t even get." Tennis Canada said in a statement later Wednesday that the national sport organization "deplores racism in all of its forms" and that it doesn’t feel targeted by Abanda’s remarks. "She is actually the youngest player to have ever joined the National Tennis Centre in Montreal at the age of 12," the statement said. "We hope that her new position as the number one female Canadians singles player will eventually result in her breaking into the Top 100 … We know that she has the talent and commitment to establish her place among the Top 50 players or better in the highly competitive world of professional tennis." Abanda said she is on good terms with Tennis Canada, and pointed out she trained a few days ago with coach Sylvain Bruneau, alongside fellow Canadian players Bianca Andreescu and Rebecca Marino at the national centre. "My whole point is that I really want to promote equality, I want players to be equal in Canada, I want everybody to be treated the same," she said. "Beyond tennis, we’re all human and we should all treat each other with respect, first of all, before even playing tennis."
Index: iptables-1.4.19.1/configure =================================================================== --- iptables-1.4.19.1.orig/configure 2013-05-29 16:37:33.176674855 +0200 +++ iptables-1.4.19.1/configure 2013-05-29 16:37:33.168674855 +0200 @@ -12198,77 +12198,7 @@ fi fi -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnfnetlink" >&5 -$as_echo_n "checking for libnfnetlink... " >&6; } - -if test -n "$libnfnetlink_CFLAGS"; then - pkg_cv_libnfnetlink_CFLAGS="$libnfnetlink_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= 1.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "libnfnetlink >= 1.0") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_libnfnetlink_CFLAGS=`$PKG_CONFIG --cflags "libnfnetlink >= 1.0" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$libnfnetlink_LIBS"; then - pkg_cv_libnfnetlink_LIBS="$libnfnetlink_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= 1.0\""; } >&5 - ($PKG_CONFIG --exists --print-errors "libnfnetlink >= 1.0") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_libnfnetlink_LIBS=`$PKG_CONFIG --libs "libnfnetlink >= 1.0" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - libnfnetlink_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnfnetlink >= 1.0" 2>&1` - else - libnfnetlink_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnfnetlink >= 1.0" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$libnfnetlink_PKG_ERRORS" >&5 - - nfnetlink=0 -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - nfnetlink=0 -else - libnfnetlink_CFLAGS=$pkg_cv_libnfnetlink_CFLAGS - libnfnetlink_LIBS=$pkg_cv_libnfnetlink_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - nfnetlink=1 -fi - if test "$nfnetlink" = 1; then +if false; then HAVE_LIBNFNETLINK_TRUE= HAVE_LIBNFNETLINK_FALSE='#' else Index: iptables-1.4.19.1/configure.ac =================================================================== --- iptables-1.4.19.1.orig/configure.ac 2013-05-29 16:37:33.176674855 +0200 +++ iptables-1.4.19.1/configure.ac 2013-05-29 16:37:33.168674855 +0200 @@ -93,9 +93,7 @@ AM_CONDITIONAL([ENABLE_LIBIPQ], [test "$enable_libipq" = "yes"]) AM_CONDITIONAL([ENABLE_BPFC], [test "$enable_bpfc" = "yes"]) -PKG_CHECK_MODULES([libnfnetlink], [libnfnetlink >= 1.0], - [nfnetlink=1], [nfnetlink=0]) -AM_CONDITIONAL([HAVE_LIBNFNETLINK], [test "$nfnetlink" = 1]) +AM_CONDITIONAL([HAVE_LIBNFNETLINK], [false]) regular_CFLAGS="-Wall -Waggregate-return -Wmissing-declarations \ -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \
Q: Why moderators handle questions with "historical significance" inconsistently? There is this question: What is the single most influential book every programmer should read? Which has a rather interesting history: Post Deleted by animuson♦ Question Unprotected by Jarrod Dixon♦ Notice added Historical significance by Jarrod Dixon♦ Post Locked by Jarrod Dixon♦ Post Undeleted by Jarrod Dixon♦ Post Deleted by yoda, Adam Davis, Wooble, Conrad Frix, user7116, John Saunders, Ninefingers, joran, ChrisF♦, Matthias Bauch, Tim Cooper, Gilles, Konerak, meagar♦, Charles, Will Notice removed Historical significance by Robert Harvey♦ Post Unlocked by Robert Harvey♦ Post Undeleted by Robert Harvey♦ Question Protected by Community♦ Post Deleted by casperOne♦ Post Closed as "not constructive" by casperOne♦ Notice added Historical significance by Robert Harvey♦ Post Locked by Robert Harvey♦ Post Unlocked by Robert Harvey♦ As you can see moderators trampled on each others' toes for a year then after 3 years of peaceful existence came another one and deleted it again. I actually linked this post a lot of times to other people and bookmarked it as reference and I don't see why it got deleted but the main problem is that moderator's can't seem to agree about these kind of questions? I think there should be some kind of moderator guideline which tries to minimize the chance of this kind of infighting. Another example: RegEx match open tags except XHTML self-contained tags Post Locked by Robert Harvey♦ Notice added Offtopic comments by Robert Harvey♦ Notice removed Historical significance by Robert Harvey♦ Post Unlocked by Robert Harvey♦ Notice added Historical significance by Robert Harvey♦ Post Locked by Robert Harvey♦ Question Protected by Will Question Unprotected by Bill the Lizard Question Protected by Bill the Lizard I'm surprised that although this question is funny it was not deleted but according to the FAQ it should have been. What is the reason for this? If we allow questions with "historical significance" why do other moderators override it or outright delete the question? So if we delete the first the second should also be deleted (with a lot others I did not link here) and vica versa. A: You're looking at two very different questions and asking why they weren't handled consistently. I wonder why you think they would have been. The first is an old, off-topic question that survived on the site for way too long because we were tired of people asking for the same list of book recommendations every day. The list grew to the point of being useless, so the post was locked and eventually deleted. There was nothing wrong with the second question. I don't know what you find funny about it. It's locked because the top answer was drawing too much attention. It's been flagged over a hundred times, and several people tried to edit it to "fix" it because they didn't understand the joke. These are two completely different cases, so again, why do you expect consistency from moderators?
> From: Kristian Rother=20 > In this and other recent questions inside and outside this=20 > forum i have=20 > discovered that many of them could be solved quite easy if=20 > there was an=20 > easy way to access the atomic coordinates directly from the PyMOL API. >=20 > Is this achievable somehow? The actual C-langauge arrays aren't exposed, but there are at least = three different ways you can modify coordinates from within Python: #####=20 (1) You can get a python object which contains the molecular = information, modify the coordinates in that object, load the modified = molecule into PyMOL, update the modified coordinates to the original = model, and then delete the modified object. (in a python script) from pymol import cmd model =3D cmd.get_model("pept") for a in model.atom: a.coord=3D[ -a.coord[1], a.coord[0], a.coord[2]] cmd.load_model(model,"tmp") cmd.update("pept","tmp") cmd.delete("tmp") ###### (2) Another approach is the "alter_state" function, which can perform = the same transformation in a single PyMOL command statement: alter_state 1,pept,(x,y)=3D(-y,x) Likewise sub-selections can be transformed as well: alter_state 1,(pept and name ca),(x,y,z)=3D(x+5,y,z) ####### (3) A third approach is to use alter_state with the global "stored" = object: (in Python script) from pymol import cmd from pymol import stored stored.xyz =3D [] cmd.iterate_state(1,"pept","stored.xyz.append([x,y,z])") # at this point, stored.xyz is a native Python array holding # the coordinates, which you can modify as required stored.xyz =3D map(lambda v:[-v[1],v[0],v[2]],stored.xyz) # and now you can update the internal coordinate sets cmd.alter_state(1,"pept","(x,y,z)=3Dstored.xyz.pop(0)") ##### Approaches 2 gives the best performance, approach 3 gives more = flexibility, and approach 1 gives you a reusable and fully modifiable = Python object. Cheers, Warren
Write your questions in our forum and our veterinary experts will help you to find the best products for your pet. If you have questions about warranties, refunds or payment methods, you can write to our express contact form. Cleaner for the hygiene of the habitat of several pets of direct use. Is ideal for applying in dogs, cats, rodents and ferrets cage beds as well as transport boxes. It provides complete places clean ... Read more . Small animals such as rabbits, Guinea pigs and hamster also need to be brushed as dogs or cats. With this practical kit of care will have all the elements necessary to care for the health and ... Read more This new and improved brush Furminator for the Elimination of the dead of our House smaller pets hair has the same stainless steel edge than the original furminator, but has an improved design to ... Read more . This product, applied on the hygienic tray of cat, acts neutralizing and instantly eliminating ammonia coming from the decomposition of the urine the cat or rodent leaving deodorized sand and tray. ... Read more Keep your totally hygienic home with this impressive flashlight that you find any remaining urine. Because it is impossible to always be in front of your pet, and sometimes it is normal to do some ... Read more This neutralizer removes bad smells from your pet sand . It works through a system of high-tech, where its granules are able to catch the urine, quickly eliminated the bad smell of the cage. It also... Read more Products for the care of hamsters and Guinea Pigs . This line of beauty has been formulated and designed specifically for the guinea pigs and hamsters. It is soft to avoid damaging the skin and... Read more This presentation in foam, allows quick cleanup of the area chosen without wetting the animal providing also a deodorant action. Cleans the hair removed excess fat, dirt and odors. Natural extracts ... Read more . Clean Spray is a quick fix and easy for cleaning of the cages of animals, materials of nesting, bowls and accessories of our rodents . Thanks to its formula balanced with lemon extract or aroma of... Read more . Practical gel auto-secante for a fast and effective cleaning hands at any time, even if not have SOAP and water. It is very well studied that one of the most effective measures to reduce the spread ... Read more The natural antiparasitic pipettes for rodents Francodex are useful for the care of hygiene and health of your pet. It is a powerful and effective all-natural insect repellent, with clinically proven ... Read more Cologne for rodents with a nice and soft smell of talc. Respects the skin and hair from the animal and does not alter its olfactory qualities. It contains no alcohol and is pH neutral , therefore, is... Read more The Lint roller for pet hair is the perfect ally to keep your clothes and upholstery clean in an easy and fast way. With this accessory you will eliminate the hairs, lint and dust of any fabric :... Read more . This excellent product helps allergy sufferers to be able to live without any problem with your dog or cat. 80-85% of allergy sufferers have shown improvement with the use of Vetriderm. Vetriderm ... Read more Providing an adequate cleaning to your pet and its habitat is essential to avoid any infection or disease. In TiendAnimal, we have products for the hygiene and disinfection of rats and mice designed to act on specific aspects, both inside and outside the cage. These are necessary if you want to kill germs quickly, effectively and safely. One of the areas that needs to be monitored is the litter tray. In the rodent's urine there is a high concentration of ammonia, so we recommend using one of our anti–ammonia products. Furthermore, neutralizers absorb urine and cool the atmosphere with its built aroma. As for the sanitizing of the cage, the sanitizing habitat cleaners, are highly effective; whereas the surface disinfectant, which fights fungi and bacteria, can be used throughout the house. For the grooming of your pet, there are two products that will be of great help. One is the deodorant for rats, with a unique formula that cools the animal while protecting its skin and coat. The other is a brush that eliminates up to 90% of the dead hair and that facilitates the secretion of natural oils which also reduces the amount of airborne allergens. Get a complete hygiene and disinfection environment with the use of products that we offer you in our shop.
Well operations, including well drilling, production or completion operations, particularly for oil and natural gas wells, utilize various uphole and downhole well components and tools, particularly rotatable components and tools, which must maintain a high abrasion resistance and a low coefficient of sliding friction under extreme conditions, such as, high temperatures and high pressures for their efficient operation. These include many types of rotatable rotors, shafts, bushings, bearings, sleeves and other components that include surfaces that are in slidable engagement with one another. These high temperatures can be elevated further by heat generated by the components and tools themselves, particularly those that are used in the downhole operations. Mud motors, for example, can generate additional heat during their operation. Materials used to fabricate the various uphole and downhole well components and tools used in well drilling, production or completion operations are therefore carefully chosen for their ability to operate, often for long periods of time, in these extreme conditions. In order to maintain a high abrasion resistance and a low coefficient of sliding friction these components and tools frequently employ a surface coating, such as various chromium hardcoats. While such coatings are generally effective to provide the desired abrasion resistance and coefficient of sliding friction, they are known to be susceptible to corrosion upon exposure to various well environments, particularly fluids that include chlorides. Therefore, the development of materials that can be used to form well components and tools having the desired combination of high abrasion resistance and low coefficient of sliding friction, as well as high corrosion resistance, particularly in chloride environments, is very desirable.
Story highlights CF-18 Hornets bomb a garrison near ISIS' de facto capital of Raqqa, Canada says The Canadian military has conducted dozens of strikes against ISIS in Iraq (CNN) Canadian fighter jets have carried out their first airstrike against ISIS in Syria, hitting one of the Sunni militant group's garrisons. The CF-18 Hornets bombed near ISIS' de facto capital of Raqqa, Canada's Department of National Defence said Wednesday. It described the strike as successful. Canadian forces are part of the U.S.-led coalition trying to stem the extremist group's bloody advances in Iraq and Syria. Canadian warplanes have conducted dozens of strikes against ISIS targets in Iraq since November. 'A genocidal terrorist organization' Canadian Prime Minister Stephen Harper announced plans last month to expand the airstrikes into Syria. Read More
Create a new app The setup The docs don’t bring this up at all, but there are two things needed to get access to device’s camera roll: declare photo library usage link the RCTCameraRoll library Photo library usage declaration In order to access user’s private data on iOS, like location, camera roll, contacts, etc, the application has to get the user’s permission. For that, the application metadata has to list the reason why it needs a particular permission. Without this, no prompt will be shown, and the application will crash when trying to access the private data. To use the camera roll, Privacy - Photo Library Usage Description, or NSPhotoLibraryUsageDescription, should be set. To set it, first open the Xcode project: open ios/CameraRollPicker.xcodeproj Then, select CameraRollPicker in the left sidebar, and go to the Info tab. You should see a screen like this: Under Custom iOS Target Properties, hover over any item, say Bundle name and click the plus icon. In a new row, click the selector arrows and select Privacy - Photo Library Usage Description. In the Value column, enter the text description of why the camera roll is needed. For example, We need access to photos as it's the core app experience. Whew! That wasn’t so hard! Link the RCTCameraRoll library React Native provides the ImagePickerIOS API which we are going to use. To actually use it, though, the RCTCameraRoll native library is needed, and this is not documented. It comes with React Native, but by default, it is not included in the project.
Metabolism of progesterone by healthy and inflamed human gingiva in vitro. [4-14C]Progesterone was incubated with homogenate and mitochondrial, microsomal and soluble fraction preparations of healthy and inflamed gingiva from human subjects of both sexes. The subcellular preparations were supplemented with an NADPH-regenerating system and incubated for 2 h at pH 7.4 and 37 degrees C. The metabolites were identified by column, multiple TLC and radioautography and quantified with liquid scintillation counting. In inflamed tissue the metabolic activity was higher than in healthy gingiva. On the basis of the identified metabolites it can be concluded that the human gingiva of both sexes contains marked 3 alpha-, 3 beta- and 20 alpha-hydroxysteroid dehydrogenase, delta 4-5 alpha- and delta 4-5 beta-steroid hydrogenase activities, and less 20 beta-hydroxysteroid dehydrogenase activity.
A comparison of autorefractor performance. To compare the agreement between subjective refraction and autorefraction using two commercially available autorefractors. Prospective data were collected for 190 subjects using either the Nidek ARK-700A (Fremont, CA) or the Topcon KR-8000 (Paramus, NJ) and subjective refraction (masked to autorefraction). Refractions were compared in terms of spherical equivalent using Bland-Altman limits of agreement and astigmatic vector difference using median and 95th percentile. The two groups were similar for age, gender, spherical equivalent, and astigmatic power. The differences in spherical equivalent between subjective and autorefraction were significantly different (mean +/- SD; Nidek, -0.03 +/- 0.36 D; Topcon, +0.11 +/- 0.34 D; analysis of variance, F = 7.84; p < 0.01). However, the 95% limits of agreement were similar: Nidek, -0.74 to +0.68 D; Topcon, -0.55 to +0.77 D. The median differences in astigmatic vector difference were also similar: Nidek, 0.27 D and Topcon, 0.25 D. However, the 95th percentile was 0.67 D for Nidek and 1.09 D for Topcon. There was a low frequency of large (>1.00 D) differences in spherical equivalent, 1.1% with each autorefractor. There were five cases with astigmatic vector difference >1 D, all with the Topcon KR-8000 (5.3%). Both autorefractors show excellent agreement with subjective refraction. Despite a statistically significant difference in mean spherical equivalent (0.14 D), near identical limits of agreement (0.10 D difference) suggest clinical equivalence. Conversely, for astigmatism, despite similar median scores, major outliers were more likely with the Topcon, reflected in a 0.42 D larger 95th percentile, which suggests a small advantage for the Nidek for avoiding large astigmatic errors.
LINDENHURST, N.Y. (CBSNewYork) — Police are searching for a driver in a deadly hit-and-run crash as a Long Island family copes with a third tragedy in two years. Pauline Aluska, 54, was killed overnight by a hit-and-run driver that struck her as she crossed Montauk Highway at South 13th Street in Lindenhurst and left her for dead, CBS2’s Jennifer McLogan reported. Doctors at Good Samaritan Hospital were unable to save Aluska’s life, police said. “If you have a heart, have a soul, turn yourself in,” Aluska’s brother, Kenneth, said. The victim was the sister-in-law of Diane Aluska, a mother who died after being struck by a car on Wellwood Avenue on Mother’s Day. Diane Aluska and her daughter were just leaving Mass when an elderly driver lost control and jumped the curb. Pauline Aluska’s brother, John, was also killed in an unsolved hit-and-run crash just feet from where Pauline was struck, Suffolk County police said. Kenneth, Diane’s widower, said his sister was visiting their brother’s roadside memorial when she was killed. “What do you do? What do you say? There are no words to describe it,” Kenneth said. “I have the determination to go on, the love of my kids.” He is pleading with the driver to come forward. Monday’s hit-and-run occurred just steps from where 18-year-old Brittney Walsh was killed by a drunken driver in 2012. Residents say they’re still waiting on a traffic light that’s been promised. “Maybe it could have saved this woman’s life, maybe it could have, no one will ever know,” homeowner Domenic Roseto said. “It’s a danger zone, just one big danger zone here.” “Where’s the traffic light? It’s supposed to be coming soon, we need it. We really need it because everyone speeds so fast,” homeowner Mary Jane Stoker said. Police are poring over surveillance video and will release more information soon on the vehicle involved in the hit-and-run crash. The state DOT says it’s in the process of installing a traffic light on South 13th and Montauk Highway.
ES News email The latest headlines in your inbox twice a day Monday - Friday plus breaking news updates Enter your email address Continue Please enter an email address Email address is invalid Fill out this field Email address is invalid You already have an account. Please log in Register with your social account or click here to log in I would like to receive lunchtime headlines Monday - Friday plus breaking news alerts, by email Update newsletter preferences The leader of Lebanon’s Hezbollah group has vowed to end the US military’s presence in the Middle East, saying American bases, warships and soldiers are all fair targets following the recent killing of an Iranian general. Hassan Nasrallah said the US military “will pay the price” for the drone strike that killed General Qasem Soleimani in Iraq on Friday. His comments further heightened tensions in a region already on high alert and bracing for Iranian retaliation. President Donald Trump has threatened to bomb 52 sites in Iran if it retaliates by attacking Americans. Though it is unclear how or when Iran may respond, any retaliation was likely to come after three days of mourning declared in both Iran and Iraq. Iran vowed to take an even-greater step away from its unravelling nuclear deal with world powers as a response to Gen Soleimani’s death. “The suicide attackers who forced the Americans to leave from our region in the past are still here and their numbers have increased,” Mr Nasrallah said. He spoke from an undisclosed location and his speech was played on large screens for thousands of Shi’ite followers in southern Beirut, interrupted occasionally by chants of “death to America”. The comments were Mr Nasrallah’s first since Gen Soleimani’s killing. Mr Nasrallah spoke shortly before the Iraqi Parliament voted in favour of a Bill to expel the US military from Iraq by cancelling the military agreement between the two countries. More than 5,000 US soldiers are in Iraq, based on an invitation by the Iraqi Government in 2014 to help fight the Islamic State group. Earlier on Sunday, tens of thousands of mourners accompanied a casket carrying the remains of Gen Soleimani through two major Iranian cities as part of a grand funeral procession across the Islamic Republic for the commander killed by an American drone. Mr Nasrallah said Gen Soleimani was not only Iran’s concern but the entire so-called “axis of resistance”, a term used to refer to anti-Israel militant groups in Iraq, Syria, Lebanon, Yemen and the Palestinian territories. He said it was up to those groups to decide if and how they would retaliate as he praised Gen Soleimani and said “the shoe of Qasem Soleimani is worth the head of Trump and all American leaders”. Gen Soleimani’s killing escalated the crisis between Tehran and Washington after months of trading attacks and threats that have put the wider Middle East on edge. The conflict is rooted in Donald Trump pulling out of Iran’s atomic accord and imposing crippling sanctions. Iran has promised “harsh revenge” for the US attack, which shocked Iranians across all political lines The United States-led international coalition against Islamic State said on Sunday it had paused its training and support of Iraqi security forces due to repeated rocket attacks on bases housing its troops. "Our first priority is protecting all Coalition personnel committed to the defeat of Daesh. Repeated rocket attacks over the last two months by elements of Kata'ib Hezbollah have caused the death of Iraqi Security Forces personnel and a U.S. civilian," it said in a statement. "As a result we are now fully committed to protecting the Iraqi bases that host Coalition troops. This has limited our capacity to conduct training with partners and to support their operations against Daesh and we have therefore paused these activities, subject to continuous review." After thousands in Baghdad on Saturday mourned General Soleimani and others killed in the strike, authorities flew the general’s body to the south-western Iranian city of Ahvaz. An honour guard stood by early on Sunday as mourners carried the flag-draped coffins of Gen Soleimani and other Guard members off the Tarmac. The caskets then moved slowly through streets choked with mourners wearing black, beating their chests and carrying posters with Gen Soleimani’s portrait. Qasem Soleimani funeral in Iran 18 show all Qasem Soleimani funeral in Iran 1/18 An Iranian man reacts during a gathering to mourn General Qasem Soleimani VIA REUTERS 2/18 Mourners wave flags as they gather during the funeral procession of slain Iraqi paramilitary chief Abu Mahdi al-Muhandis, Iranian military commander Qasem Soleimani AFP via Getty Images 3/18 Mourners gather during the funeral procession of slain Iraqi paramilitary chief Abu Mahdi al-Muhandis (image), Iranian military commander Qasem Soleimani and eight others in the Iraqi central city of Karbala AFP via Getty Images 4/18 Thousands of Iraqis chanting "Death to America" today as they mourned an Iranian commander and others killed in a US drone attack AFP via Getty Images 5/18 Mourners gather in the Iraqi central city of Karbala AFP via Getty Images 6/18 Mourners take part in the funeral procession of slain Iraqi paramilitary chief Abu Mahdi al-Muhandis, Iranian military commander Qasem Soleimani AFP via Getty Images 7/18 Iranians gather to mourn General Qasem Soleimani, head of the elite Quds Force, who was killed in an air strike at Baghdad airport, in Tehran, Iran VIA REUTERS 8/18 A mourner holds up a picture AFP via Getty Images 9/18 Thousands of Iraqis chanting "Death to America" today as they mourned an Iranian commander and others killed in a US drone attack AFP via Getty Images 10/18 Mourners chant slogans against the U.S. during the funeral of Iran's top general Qasem Soleimani, AP 11/18 Iran has vowed "harsh retaliation" for the US airstrike near Baghdad's airport AP 12/18 Mourners carry the coffins of Iran's top general Qasem Soleimani AP 13/18 Mourners carry the coffin of slain Iraqi paramilitary chief Abu Mahdi al-Muhandis AFP via Getty Images 14/18 People attend a funeral procession for Iranian Major-General Qasem Soleiman VIA REUTERS 15/18 An aerial view shows mourners attending a funeral ceremony for Gen. Qasem Soleimani AP 16/18 Qassem Soleimani and his comrades who were killed in Iraq by a U.S. drone strike, are carried on a truck surrounded by mourners AP 17/18 Mourners carry the coffins of Iran's top general Qasem Soleiman AP 18/18 Iran has vowed "harsh retaliation" for the U.S. airstrike near Baghdad's airport AP 1/18 An Iranian man reacts during a gathering to mourn General Qasem Soleimani VIA REUTERS 2/18 Mourners wave flags as they gather during the funeral procession of slain Iraqi paramilitary chief Abu Mahdi al-Muhandis, Iranian military commander Qasem Soleimani AFP via Getty Images 3/18 Mourners gather during the funeral procession of slain Iraqi paramilitary chief Abu Mahdi al-Muhandis (image), Iranian military commander Qasem Soleimani and eight others in the Iraqi central city of Karbala AFP via Getty Images 4/18 Thousands of Iraqis chanting "Death to America" today as they mourned an Iranian commander and others killed in a US drone attack AFP via Getty Images 5/18 Mourners gather in the Iraqi central city of Karbala AFP via Getty Images 6/18 Mourners take part in the funeral procession of slain Iraqi paramilitary chief Abu Mahdi al-Muhandis, Iranian military commander Qasem Soleimani AFP via Getty Images 7/18 Iranians gather to mourn General Qasem Soleimani, head of the elite Quds Force, who was killed in an air strike at Baghdad airport, in Tehran, Iran VIA REUTERS 8/18 A mourner holds up a picture AFP via Getty Images 9/18 Thousands of Iraqis chanting "Death to America" today as they mourned an Iranian commander and others killed in a US drone attack AFP via Getty Images 10/18 Mourners chant slogans against the U.S. during the funeral of Iran's top general Qasem Soleimani, AP 11/18 Iran has vowed "harsh retaliation" for the US airstrike near Baghdad's airport AP 12/18 Mourners carry the coffins of Iran's top general Qasem Soleimani AP 13/18 Mourners carry the coffin of slain Iraqi paramilitary chief Abu Mahdi al-Muhandis AFP via Getty Images 14/18 People attend a funeral procession for Iranian Major-General Qasem Soleiman VIA REUTERS 15/18 An aerial view shows mourners attending a funeral ceremony for Gen. Qasem Soleimani AP 16/18 Qassem Soleimani and his comrades who were killed in Iraq by a U.S. drone strike, are carried on a truck surrounded by mourners AP 17/18 Mourners carry the coffins of Iran's top general Qasem Soleiman AP 18/18 Iran has vowed "harsh retaliation" for the U.S. airstrike near Baghdad's airport AP Demonstrators also carried red Shi’ite flags, which traditionally both symbolise the spilled blood of someone unjustly killed and call for their deaths to be avenged. Officials brought Gen Soleimani’s body to Ahvaz, a city that was a focus of fighting during the bloody 1980-88 war between Iraq and Iran, in which he slowly grew to prominence. Authorities then took General Soleimani’s body to Mashhad. His remains will go to Tehran and Qom on Monday for public mourning processions, followed by his hometown of Kerman for burial on Tuesday. Gen Soleimani will lie in state at Tehran’s Musalla mosque on Monday.
The present invention relates to butterfly fire dampers for use in air ducts, particularly those which are intended for use as fire, smoke and/or air control dampers and which are intended to automatically move between the open and closed positions in response to the presence of fire or the receipt of a fire or smoke activated signal, and/or to be moved to intermediate positions to allow preselected volumes of air therethrough. Multiple, folding blade fire dampers having a plurality of blades disposed within a frame having an inwardly depending flange are known in the prior art, as for example, in my U.S. Pat. Nos. 3,814,165 and 3,866,657. In my U.S. Pat. No. 3,899,156, a single blade fire damper is described. In this regard, please refer to U.S. Pat. Nos. 3,009,473 (Hennan); 2,148,530; 3,337,991 (Adams); 3,720,153 (Jardinier et al); French No. 2,307,228 (Barbarin) and my prior U.S. Pat. No. 3,725,972. The present invention also relates to the field of operators, and more particularly, to the field of damper operators which actuate dampers in response to heat or remote signals but which are immediately resettable immediately after the passage of activation conditions so that they may again respond to fire conditions. The present invention also relates to operators which are adapted to set the position of a damper's blades to regulate the volume of air passing therethrough under normal conditions. Finally, the present invention relates to such operators which may be reset without providing manual access to the vicinity of the damper blades. Conventionally, fusible or meltable releasing devices have been employed, such as fusible links in cables which are held under tension in normal conditions and which are activated by the melting of the link and the resulting break of the cable to deploy the blades of a fire or smoke damper into their activated positions. More recently, bimetallic links, such as those illustrated in my previously issued U.S. Pat. Nos. 3,889,314 entitled, "Heat Actuated Link" and 3,725,972 entitled, "Fire Link And Method Of Actuating Same" have been described wherein a mounting element having a bimetallic strip attached thereto, which cooperates therewith, may engage a pawl having an aperture therein which is engaged by a bimetallic element in the normal position, and which is released thereby as the tip of the bimetallic element separates from the striker portion of the mounting element thereof to release the pawl. These bimetallic links have conventionally been installed by attaching a cable to either the pawl, the mounting element, or both, in a manner similar to that used for the fusible or meltable links described above. These bimetallic links have exhibited certain advantages over the prior art fusible links in that following a return to temperatures, the link may be reset by reinserting the pawl into the remaining link assembly. Unfortunately, prior art devices of the type described above have often required that access be provided to the link device so that manual resetting is possible. In certain installations, such as smoke tunnels, ducts, plenums, etc., human access to reset or replace releasing devices is limited. Additionally, relatively skilled personnel must be employed in order to reset or replace the aforementioned releasing devices. In the case of the bimetallic links, these people must at least understand the proper method of inserting the pawl so that it is properly gripped by the remaining portion of the link. For one approach to this problem, please refer to my previously issued U.S. Pat. No. 3,796,248, dated Mar. 12, 1974 entitled, "Remotely Resettable Fire Damper".
The hallmark of insulin dependent diabetes mellitus is the activation of autoreactive T ells and, as a consequence, the destruction of the islets of Langerhans. Most individuals do to develop this disease from which we conclude that normal mechanisms exist which prevent autoimmunity and that these are circumvented in autoimmune predisposed individuals. We hypothesize that in normal mice and humans peripheral tolerance mechanisms prevent the destruction of islets, although the level at which this prevention occurs is not yet established. We further hypothesize that in autoimmune predisposed NOD mice, that these mechanisms fail and, as a consequence, autoimmunity results. Our previous studies have established that sch peripheral tolerance mechanisms exist in mice of the B6 genetic background, though the mechanisms have not been elucidated. In this grant we will use covalently linked MHC-peptide complexes in conjunction with T cells from TCR transgenic mice to elucidate the mechanisms of peripheral tolerance of CD4 T cells in congenic mice of the B6B10 background. We will also determine the nature of the defects in peripheral tolerance in autoimmune predisposed NOD mice. We will elucidate which cells mediate peripheral tolerance mechanisms and specifically we will test the hypothesis that tissue cells and/or tolerogenic antigen presenting cells mediate peripheral tolerance.
The PoE Power over Ethernet enabled output device for elevator access control features 16 outputs, and each output has a Form C 5 amp relay on board for easy installation and connection to elevator control panels. You can utilize the rules engine within the infinias Intelli-M Access software to provide credential holders with access to specific floors. The output device is also easily configurable and is 1U rack mountable for fast and easy installation inside a standard 1U rack or cabinet.
The field of the invention relates to windmills having counterbalancing mechanisms for allowing effective operation under minimal wind velocities. Windmills have for many years been used for pumping water to supply the needs of rural residents, farmers and communities where surface water is not readily accessible. Their advantages are their simplicity in construction and economical operation. The disadvantages of commercially available windmills have been their unreliability (due to dependence on a considerable gust of wind to start vane rotation) and the limited depth from which they could pump. The latter problem is particularly serious in areas where the water table is deep or has dropped considerably over a period of years. For these reasons, many users have turned to diesel, gas or electrically powered pumps to provide water for domestic and livestock consumption or irrigation. In addition to the relatively high initial expenditures for pumps of this type, their cost of operation has increased dramatically over the past few years due to rising energy costs. They are also infeasible in parts of the world where power is unavailable and where the technical expertise for maintaining or operating the pumps is absent. Attempts have been made to provide a windmill which will be actuated without the need of a sizable gust of wind. U.S. Pat. No. 3,782,222 is an example of a windmill having a counterbalancing system. Other pumping devices, such as disclosed in U.S. Pat. Nos. 1,019,142 and 1,632,322 have also employed counterweights in various manners.
/*************************************************************************** * * Copyright (c) 2019 Chatopera.Inc, Inc. All Rights Reserved * **************************************************************************/ namespace cpp chatopera.bot.clause namespace java com.chatopera.clause namespace csharp com.chatopera.clause namespace py clause namespace go clause typedef string Timestamp /** * 引用系统词典关联 */ struct BotSysdict { 1: optional string chatbotID; 2: optional string dict_id; 3: optional string id; 4: optional Timestamp createdate; } /** * 聊天消息 */ struct ChatMessage { 1: optional string session_id; 2: optional string chatbotID; 3: optional string type; // direction 1: BOT发送的消息;2: 消费者发送的消息 4: optional i32 direction; // branch 1: 调试分支;2: 生产环境分支 5: optional i32 branch; 6: optional string sender; 7: optional string receiver; 8: optional Timestamp createdate; 9: optional string id; 10: optional string textMessage; 11: optional string audioMessage; 12: optional string videoMessage; 13: optional string imageMessage; 14: optional list<string> terms; 15: optional list<string> tags; 16: optional bool is_fallback; 17: optional bool is_proactive; } /** * 命名实体标识 */ struct Entity { 1: optional string name; 2: optional string val; 3: optional bool requires; // 是否必填,必填时有追问 4: optional string dictname; // 词典名称 } /** * 聊天会话 */ struct ChatSession { 1: optional string intent_name; 2: optional string chatbotID; 3: optional string uid; 4: optional string channel; 5: optional bool resolved; 6: optional string id; 7: optional list<Entity> entities; 8: optional string branch; 9: optional Timestamp createdate; 10: optional Timestamp updatedate; } /** * 词条 */ struct DictWord { 1: optional string word; 2: optional string dict_id; 3: optional string synonyms; 4: optional string tag; 5: optional string lang; 6: optional Timestamp createdate; 7: optional Timestamp updatedate; } /** * 正则词典的定义 */ struct DictPattern { 1: optional string id; 2: optional string dict_id; 3: optional list<string> patterns; 4: optional string standard; 5: optional Timestamp createdate; 6: optional Timestamp updatedate; } /** * 正则表达词典的验证 */ struct DictPatternCheck { 1: optional string id; 2: optional string dict_id; 3: optional string input; 4: optional string output; 5: optional Timestamp createdate; } /** * 词典 */ struct Dict { 1: optional string name; 2: optional string chatbotID; 3: optional bool builtin; // 是否是系统词典 4: optional bool active; // 系统词典相关:是否活跃 5: optional string id; 6: optional string description; 7: optional string samples; 8: optional Timestamp createdate; 9: optional Timestamp updatedate; 10: optional bool referred; // 是否被引用,和系统词典相关 11: optional string type; // 类型:vocab, regex, ml 12: optional string vendor; // 发布者 13: optional bool used; // 系统词典相关:该词典是否被机器人的槽位使用 } /** * 自定义词典 */ typedef Dict CustomDict; /** * 系统词典 */ typedef Dict SysDict; /** * 意图 */ struct Intent { 1: optional string chatbotID; 2: optional string name; 3: optional string id; 4: optional string description; 5: optional Timestamp createdate; 6: optional Timestamp updatedate; } /** * 意图槽位 */ struct IntentSlot { 1: optional string intent_id; 2: optional string name; 3: optional string dict_id; 4: optional bool requires; 5: optional string id; 6: optional Timestamp createdate; 7: optional Timestamp updatedate; 8: optional string question; // 其他信息,关联关系表 9: optional Dict dict; } /** * 意图说法 */ struct IntentUtter { 1: optional string intent_id; 2: optional string utterance; 3: optional string id; 4: optional Timestamp createdate; 5: optional Timestamp updatedate; } /** * 上线版本 */ struct ProdVersion { 1: optional string chatbotID; 2: optional string version; 3: optional bool active; 4: optional bool latest; 5: optional string id; 6: optional string operated; 7: optional string notes; 8: optional Timestamp createdate; } /** * 调试版本 */ struct DevelopVersion { 1: optional string chatbotID; 2: optional string version; 3: optional bool published; 4: optional string id; 5: optional Timestamp createdate; 6: optional string operated; } /** * Clause Data Bundle */ struct Data { 1: optional i32 rc; // 返回代码 2: optional string error; // 异常信息 3: optional string msg; // 成功返回的文本说明 4: optional string id; // 对象的ID 5: optional string chatbotID; // 机器人ID // 词典管理 6: optional list<CustomDict> customdicts; 7: optional list<SysDict> sysdicts; 8: optional list<BotSysdict> botsysdicts; 9: optional list<DictWord> dictwords; // 词条 10: optional CustomDict customdict; // 自定义词典 11: optional SysDict sysdict; // 系统词典 12: optional BotSysdict botsysdict; // 系统词典关联 13: optional DictWord dictword; // 词条 14: optional DictPattern dictpattern; // 正则表达式词典 15: optional DictPatternCheck patterncheck; // 正则表达式词典调试 16: optional list<DictPatternCheck> patternchecks; // 正则表达式词典调试历史记录 // 意图管理 17: optional list<Intent> intents; 18: optional list<IntentSlot> slots; 19: optional list<IntentUtter> utters; 20: optional Intent intent; // 意图 21: optional IntentSlot slot; // 槽位 22: optional IntentUtter utter; // 说法 // 版本 23: optional list<DevelopVersion> devvers; 24: optional list<ProdVersion> provers; 25: optional DevelopVersion devver; // 调试版本 26: optional ProdVersion prover; // 上线版本 // 聊天管理 27: optional list<ChatSession> sessions; 28: optional list<ChatMessage> messages; 29: optional ChatSession session; // 会话 30: optional ChatMessage message; // 聊天消息 // 分页信息 31: optional i32 currpage; // 当前页 32: optional i32 totalpage; // 全部页面 33: optional i32 totalrows; // 全部数据条数 34: optional i32 pagesize; // 每页数据条数 35: optional i32 page; // 页面索引 36: optional string query; // 查询条件 } /** * API */ service Serving { /** * 词典管理 */ // 自定义词典管理 Data postCustomDict(1: Data request); // 创建自定义词典 Data putCustomDict(1: Data request); // 更新自定义词典 Data getCustomDicts(1: Data request); // 获得自定义词典列表 Data getCustomDict(1: Data request); // 获得自定义词典详情 Data delCustomDict(1: Data request); // 删除自定义词典 // 系统词典管理 Data postSysDict(1: Data request); // 创建系统字典 Data putSysDict(1: Data request); // 更新系统字典 Data getSysDicts(1: Data request); // 获得系统词典列表 Data getSysDict(1: Data request); // 获得系统词典详情 Data refSysDict(1: Data request); // 引用系统词典 Data unrefSysDict(1: Data request); // 取消引用系统字典 Data myDicts(1: Data request); // 通过chatbotID获取所有自定义词典和被引用的词典 Data mySysdicts(1: Data request); // 通过chatbotID获取所有被引用的词典 // 词条管理 Data putDictWord(1: Data request); // 创建或更新词条 Data getDictWords(1: Data request); // 获得词条列表 Data delDictWord(1: Data request); // 删除词条 Data hasDictWord(1: Data request); // 检测一个词条的标准词是否唯一 // 正则表达式词典管理 Data getDictPattern(1: Data request); // 获得正则表达式词典定义 Data putDictPattern(1: Data request); // 更新正则表达式词典 Data checkDictPattern(1: Data request); // 调试正则表达式 Data checkHistoryDictPattern(1: Data request); // 调整正则表达式历史记录 /** * 意图 */ // 意图管理 Data postIntent(1: Data request); // 创建意图 Data putIntent(1: Data request); // 更新意图 Data getIntents(1: Data request); // 获得意图列表 Data getIntent(1: Data request); // 获得意图详情 Data delIntent(1: Data request); // 删除意图 // 意图说法管理 Data postUtter(1: Data request); // 创建说法 Data putUtter(1: Data request); // 更新说法 Data getUtters(1: Data request); // 获得说法列表 Data getUtter(1: Data request); // 获得说法详情 Data delUtter(1: Data request); // 删除说法 // 意图槽位管理 Data postSlot(1: Data request); // 创建槽位 Data putSlot(1: Data request); // 更新槽位 Data getSlots(1: Data request); // 获得槽位列表 Data getSlot(1: Data request); // 获得槽位详情 Data delSlot(1: Data request); // 删除槽位 /** * 对话管理 */ Data train(1: Data request); // 训练语言模型 Data status(1: Data request); // 查看语言模型训练状态 Data devver(1: Data request); // 查看调试版本信息 Data prover(1: Data request); // 查看生产版本信息 Data version(1: Data request); // 查看调试及生产版本信息 Data chat(1: Data request); // 聊天 Data online(1: Data request); // 上线版本 Data offline(1: Data request); // 下线版本 Data putSession(1: Data request); // 创建或更新会话 Data getSession(1: Data request); // 获得会话信息 }
1. Field of the Invention This invention relates generally to computer-based modeling of gravity hydraulic network systems and, more particularly, to techniques for a representation of flow data within such systems. 2. Background Information Computer-based modeling solutions for simulating the complete hydrodynamic response of pipe hydraulic network systems, such as those encountered in storm water and sanitary sewer collection systems are useful in the design, rehabilitation and simulation of such systems. The software, which performs the functions that describe the water distribution network, is often referred to as an hydraulic network solver or hydrodynamic solver (often commonly referred to generally as a “solver”). The solver is a computer program that simulates and predicts water pipe flows, hydraulic pressure conditions, run-off water, storm conditions and flooding conditions. In a network of pipes, the conditions can be described for the links (the pipes) and the nodes (the junctions) in such a system. There are a number of available software products that embody hydraulic network solvers and that provide general-purpose modeling. The solvers, inter alia, compute and provide hydraulic solutions for complex differential equations. More specifically, computer-based modeling solutions for simulating the complete hydrodynamic response of hydraulic network systems, such as those encountered in storm water and sanitary sewer collection systems, are typically implemented employing numerical techniques for solving St. Venant equations. Frequently, solutions are obtained by iteratively solving a simultaneous system of equations governing the implicit solution of a finite-difference scheme that describes variation of flow over a mathematical grid of time and one dimension space. These equations that govern the system-wide hydraulic response are non-linear and are most often solved using Newton-Raphson numerical matrix-based solvers. The matrix is typically comprised of a set of equations that each describe a point on the mathematical grid. The results produced may include a family of hydraulic delivery curves that describe various aspects of a storm water and sanitary system. In practice, it is quite difficult to implement a general modeling solution that exhibits accuracy and robustness over the entire range of flow conditions (and over the transitions that occur between these flow conditions) that are of interest to the engineering modeler. For example, in man-made hydraulic networks, flows diverge at junctions or man-made diversions and then outfall from the system entirely or split off and then return to converge again with the system at some down stream location. These transitions are difficult to model and it is difficult to thus provide hydraulic response curves for such aspects of the system. Other examples of transitions include those occurring when flows transition between dry-bed to free surface, or from gravity flow to pressurized flow, or from steeply sloped channels to mildly sloped, or flat, or adversely sloped, channels. In addition, a transition can occur from pipe to manhole to ditch to culvert. Each of these flow conditions, flow transitions and hydraulic situations needs to be described by a different set of governing equations. Successfully employing conventional numerical techniques with the variety of mathematical formulations that describe the various hydraulic structures is a challenging task. More specifically, conventional techniques have run in to difficulty when attempting to describe the numerous hydraulic structures providing these transitions. Up to now, because the mathematical description of these systems is so complex, the trend has been to limit the range and type of network flow components used in the model to those elements whose hydraulic response can be described by simple equations, such as those occurring in pipe, manholes, weirs, orifices and prismatic channels. Thus, the conventional network solvers typically do not incorporate into the model such components as culverts, siphons, and detention pond control structures because they cannot be described mathematically by a single unified equation. However, to simply ignore those components does not give rise to an accurate model or a useful family of curves. Thus, approximations are often used to attempt to account for these structures that do not lend themselves to conventional numerical techniques, but these approximations are not always accurate. Moreover, many models simulate network behavior at a particular time period, but the characteristics of the actual system continuously change with time. In addition, the equations used typically run in to difficulty during transition times. Transitions can result in separate, more complex transitional equations that are not readily solved by the solver engine. And if solved, these equations can provide unreliable data at transition points. This typically occurs in gravity networks. At transitional points, the equation results can also become unstable and are not robust. The complexities are also increased when a number of different structures are involved in the solution. More particularly, when a structure or component is involved in a network analysis, that structure is typically described by a mathematical protocol that consists of selecting a particular set of working equations that are invoked depending upon the changing conditions that occur over the range of operation for that structure. For example, a typical pond riser flow response subject to rising flow will be governed first by weir limited flow, then entrance limited culvert flow and then partially submerged culvert flow and then, ultimately, submerged flow. Thus, four different sets of working equations must be employed to develop that flow response in that instance. The hydraulic structures mentioned are typically dominated by local head losses and are transitional in nature. In storm-water management systems, these structures are frequently used to limit or control flow so that down stream areas are not severely impacted by unmanaged discharges from disturbed or developed areas, which could result in flooding conditions. For this reason, it is important to accurately model the hydraulics of these structures to determine their effectiveness, and thus their safety and effectiveness for protecting the community and the environment. However, the complex mathematical representation of such structures generally precludes their integration into conventional hydrodynamic network solvers, and instead engineers must utilize alternative modeling approaches to design or analyze systems that contain these structures, thus resulting in increased time and cost of the analysis. Such alternative modeling approaches include employing conservative approximations and simplifying assumptions in order to model systems that include such structures. This results in a risk of oversimplification and inaccurate solutions describing the model. Alternatively, an intensely iterative explicit solution technique could be employed, but these can be slow to converge, resulting in lengthy run times that can hinder the efficiency of the design process and result in increased costs. Due to these difficulties, the mathematical descriptions of these systems can involve three-dimensional surfaces that are not smooth, and in other words cannot be differentiated. The data that is produced for flow (O) as a function of tailwater (TW) and headwater (HW) includes data that is comprised of three matrices of values: TWi, HWj, Qij for 0≦i≦m and 0≦j≦n where Qij is the flow which corresponds to tailwater (TWi) and headwater (HWj). At transitional points, the three-dimensional surface representing the three matrices of data can be non-smooth and undifferentiable. Thus, there remains a need to produce a technique for providing a triangulated surface interpolation to the data points, which maintains the monotonicity of the data and allows for a quick evaluation of a flow value for any point within the system. There remains a further need for a smooth surface representation of flow data which provides a more detailed and accurate representation of the flow data. There remains a further need for a straight-forward method and system for generating these surfaces that allows for the description of flow characteristics, transitional-flows or transitional points and other flow limiting and flow controlling structures in a hydraulic network. It is thus an object of the present invention to provide a software program that generates highly accurate and robust solutions to model any passive hydraulic structure within a hydraulic network by providing the triangulated surface and smooth surface interpolation techniques. It is a further object of the invention to provide a system and method for generating solutions that allow hydraulic modelers to accurately incorporate transitional hydraulic elements into a conventional, hydrodynamic network solver without lengthy computations or a variety of different sets of equations.
Gender distribution of patients with Parkinson's disease treated with subthalamic deep brain stimulation; a review of the 2000-2009 literature. Deep brain stimulation (DBS) of the subthalamic nucleus (STN) has been the mainstream surgical procedure for advanced Parkinson's disease (PD) during the last decade. Reports from a few individual centres have hinted that women who receive STN DBS are under-represented. We aimed to evaluate the gender distribution of patients with PD who had received STN DBS during the last ten years, and to discuss the findings in relation to studies on gender prevalence of PD. A search of the PubMed database of clinical papers in English language related to STN DBS between 2000 and 2009 was conducted. Care was taken to minimize redundancies in reporting of published patients. The proportion of men and women were expressed in total and according to pre-defined geographic regions. One hundred and thirty five papers were eligible for review. The gender of the patients was specified in 119 papers on a total of 3880 patients, of which 63% were men. According to geographic origin of publications, the percentage of men with STN DBS was 68% in North America, 62% in Europe, 69% in Australia and 50% in Asia. The proportion of male patients who undergo STN DBS seems to exceed the reported male/female ratio of patients with PD.
package weave import ( "go/ast" "go/parser" "go/token" "strings" ) // applyWithinJP applies any advice for within joinpoints // right now this expects both 'before && after' func (w *Weave) applyWithinJP(fname string, stuff string) string { rout := stuff importsNeeded := []string{} for i := 0; i < len(w.aspects); i++ { aspect := w.aspects[i] if !aspect.pointkut.isWithin() { continue } pk := aspect.pointkut.def fset := token.NewFileSet() file, err := parser.ParseFile(fset, fname, rout, parser.Mode(0)) if err != nil { w.flog.Println("Failed to parse source: %s", err.Error()) } linecnt := 0 // look for function declarations - ala look for execution // joinpoints for _, decl := range file.Decls { fn, ok := decl.(*ast.FuncDecl) if !ok { continue } fpk := strings.Split(pk, "(")[0] // if function name missing --> wildcard if fpk == "" { fpk = fn.Name.Name } if fn.Name.Name == fpk && containArgs(pk, fn.Type.Params.List) { wb := WithinBlock{ name: fn.Name.Name, fname: fname, stmts: fn.Body.List, linecnt: linecnt, importsNeeded: importsNeeded, aspect: aspect, fset: fset, } rout, linecnt, importsNeeded = wb.iterateBodyStatements(w) } } } if len(importsNeeded) > 0 { // add any imports for this piece of advice rout = w.writeMissingImports(fname, rout, importsNeeded) } return rout } // WithinBlock contains all the info to perform a withinBlock pointcut type WithinBlock struct { name string fname string stmts []ast.Stmt linecnt int importsNeeded []string aspect Aspect fset *token.FileSet } // iterateBodyStatements places within advice when a joinpoint is found func (wb *WithinBlock) iterateBodyStatements(w *Weave) (string, int, []string) { rout := "" for i := 0; i < len(wb.stmts); i++ { rout = wb.insertInWithin(wb.stmts[i], w) } return rout, wb.linecnt, wb.importsNeeded } // HACK HACK HACK func grabMethodName(a ast.Stmt) string { es := a.(*ast.ExprStmt) s, ok := es.X.(*ast.CallExpr) if !ok { return "" } else { e, ok := s.Fun.(*ast.Ident) if !ok { return "" } else { return e.Name } } } // insertInWithin places before/after advice around a statement func (wb *WithinBlock) insertInWithin(a ast.Stmt, w *Weave) string { rout := "" mName := grabMethodName(a) // begin line begin := wb.fset.Position(a.Pos()).Line - 1 after := wb.fset.Position(a.End()).Line + 1 // until this is refactored - any lines we add in our // advice need to be accounted for w/begin before_advice := formatAdvice(wb.aspect.advize.before, mName) after_advice := formatAdvice(wb.aspect.advize.after, mName) if before_advice != "" { rout = w.writeAtLine(wb.fname, begin+wb.linecnt, before_advice) wb.linecnt += strings.Count(before_advice, "\n") + 1 } if after_advice != "" { rout = w.writeAtLine(wb.fname, after+wb.linecnt-1, after_advice) wb.linecnt += strings.Count(after_advice, "\n") + 1 } for t := 0; t < len(wb.aspect.importz); t++ { wb.importsNeeded = append(wb.importsNeeded, wb.aspect.importz[t]) } return rout } // formatAdvice subsitutes any reserved keywords // currently supported is mName // mName is the currently called method name func formatAdvice(advice string, mName string) string { return strings.Replace(advice, "mName", "\""+mName+"\"", -1) }
Next year’s menu is under construction. Here’s what guests at Baconfest ate in 2015. Feast your eyes, engage your senses, imagine the bacon possibilities. FRIDAY DINNER 2015 TEST Acre – Mike Lathrop Chicken Liver & Bacon Paté – paté of chicken liver and bacon on bread with bacon sprinkles Ara-on Restaurant – Trevor Hoyte Shrimp Ravioli – pork consommé, morel mushroom, smoked bacon Avli Restaurant – Louie Alexakis Ravani with Cherry Sauce – traditional Greek semolina cake with walnuts with cherrywood smoked bacon and a Greek cherry preserve sauce Bacino’s Restaurant – Allison Doerr Toasted Bacon Ravioli with Bacon Mustard Jam – applewood smoked bacon crusted ravioli, ricotta bacon basil filling, bacon mustard jam Big Jones – Paul Fehribach Bacon Praline Bread Pudding – bacon and rum bread pudding with goat milk cajeta, bacon, benne, bacon fat whipped cream Bistro Dre – Andre Christopher Smoked Bacon Grit Cake – with sauteed ramps, smoked bacon and black truffle pesto Black Dog Gelato – Jessica Oloroso Chilled Affogato Float – Turkish coffee poured over our vanilla gelato, with bacon whipped cream and candied bacon bits Bottlefork & The Duck Inn – Kevin Hickey Wood Grilled Ground Bacon Burger – Vermillion blue, shoestrings, special sauce The FrankenDuckie – duck fat dog wrapped in bacon with cheese sauce, pickled jalapeño and Calabrian chili relish Carnivale – Rodolfo Cuadros Bacon Almond Joy – applewood smoked pepper coated bacon, Ecuadorian dark chocolate, toasted coconut marshmallow, Marcona almonds Ceres’ Table – Giuseppe Scurato Meatloaf, Italian-Style – mashed potatoes, crispy bacon Chicago 365 Hospitality – Erin Wishon Sweet: Red Velvet Bacon Spoon with mango cotton candy Savory: BLT Skewer – bacon cheddar monkey bread, smashed avocado, bacon lardon, tomato mousse, pepper relish, kale flakes Courageous Bakery home of Cupcakes for Courage – Laura Pekarik Maple Bacon Cupcake – maple cake dunked in maple glaze topped with maple roasted bacon Edzo’s Burger Shop – Eddie Lakin Maple-Bacon-Peanut-Butter Milkshake EPIC Restaurant – Daniel Marquis Bacon & Fudge Ice Cream – applewood smoked bacon and fudge ice-cream, waffle cone, spiced chocolate sauce Fork – Tim Cottini The Bacon Bomb – a medjool date stuffed with bacon sausage and wrapped in bacon, with a caramelized apple & bacon puree! Fresco 21 – Brian Wolters Pork Soda – bacon infused soda, bacon-wrapped pork belly “ice cube” Inspiration Kitchens Uptown – Noel Schroeder Bacon and Goat Cheese Mac and Cheese – topped with bacon and herb breadcrumbs, crumbled applewood smoked pepper bacon Italian Village Restaurants – Jim Day Tortine Di Funghi Misti e Bacon – garlic and bacon infused wild mushroom “souffle” with bacon onion-thyme cream sauce Jordan’s Food of Distinction – Jordan Spritz Tropical Pork Belly Satay – pineapple grilled pork belly satay with purple basil and yellow organic kiwi-Chartreuse reduction Kanela Breakfast Club – Don Penza Bacon Infused Loukoumades – Greek doughnuts infused with applewood smoked bacon, coated in a bourbon maple glaze, finished with bacon powder Labriola Cafe and Ristorante – John Caputo Ravioli Carbonara – with oven-dried tomatoes and baby arugula Lockwood Restaurant and Bar – Mathew Wiltzius Bertha’s Bacon Brownie Bar – chocolate brownie, crispy bacon, walnut, Palmer House Private Label Woodford Reserve Bourbon-infused rooftop honey Maddy’s Dumpling House – Chrissy Camba The Hot Mess – Louisiana-style BBQ shrimp, bacon, and pork smothered in cheese sauce topped with crispy bacon Michael Jordan’s Steak House – Craig Couper Crispy Bacon Gordita with chile braised bacon Mity Nice Bar & Grill – John Chiakulas Red Devils on Piggyback – bacon-wrapped sweet cherry pepper with bacon pimento cheese Nonna Santi’s Biscotti – Jo-Marie Frigo Bacon Old Fashioned Biscotti – What’s not to love….bacon, bourbon, orange rind, bitters all in a delicous biscotti! Old Town Pour House – Paul Katz Ebel’s Weiss Braised Pork Belly – onion marmalade, red pepper coulis, sweet serrano chili pepper Osteria Via Stato – David DiGregorio Hand-Rolled Cavatelli – bacon broth, spring garlic, local spinach, crispy bacon Perennial Virant – Edward Sura & Paul Virant Milk Braised Bacon – honey mashed carrot, oat crumble, watercress, ramp mostardo Primebar – David Reyes Applewood Bacon & Bluecheese Meatloaf – with tomato jam and baby cilantro Pure Kitchen Catering – Sean Spradlin Bacon Bulgogi – soy-ginger bacon glaze and bacon-candied pecans Q-BBQ – Michael Lapidus Bacon Dusted Potato Chip with BBQ Bacon Vinegar Pulled Pork – A hand-cut potato chip tossed with BBQ rub and dusted with bacon powder, topped with pulled pork and bacon-infused North Carolina vinegar BBQ sauce Red Door – Troy Graves Bacon and Wild Boar Arepa Rub’s Backcountry Smokehouse & The Budlong – Jared Leonard Nashville Hot Chicken Club – Nashville hot chicken paired with Nueske’s smoked bacon, house-made rouille and a fresh-pack pickle, served on white bread. Seedling – Peter Klein Bacon Smoothies – Combine a Classic Seedling Fruit Smoothie and the Glory of Bacon…. Sheekar Delights – Diane Khouri Joseph Maple Bacon & Bourbon Gourmet Baklava – Paper-thin phyllo sheets hand buttered and rolled with freshly chopped walnuts and bacon, drizzled with a mixture of homemade syrup, locally made maple syrup, and bourbon Stan’s Donuts – Rich Labriola Maple Caramel Bacon Bar State and Lake Chicago Tavern – Kevin Atkinson Peanut Battered Bacon Wit-Nuggets – smoked banana BBQ, sweet and sour sauce Sunda New Asian – Jess DeGuzman Applewood Smoked Bacon & Wagyu Beef Loco Moco – with bacon gravy, quail egg, Jasmine rice and spicy banana ketchup Taco Joint – Edgar Torres Lincoln Pork Taco – Bacon wrapped pork tenderloin, bacon jam, chile-balsamic Tanta – Jesus Delgado Chicharron Glazed Bocado Tavern On Rush – John Gatsos Bacon Wrapped & Queso Fresco Stuffed Jalapenos – avocado and pico de gallo TÊTE Charcuterie – Thomas Rice & Kurt Guzowski Bacon Jagdwurst – bacon/mustard aioli on bacon-cheddar gougéres The Bad Apple – Craig Fass Gulliver’s Travels – porchetta stuffed with jagdwurst (bacon sausage) in a blanket of bacon, apple and jicama Slaw, on a bacon crustini The Cheesie’s Truck The Popper – cream cheese, Wisconsin cheddar cheese, fresh-cut jalapenos, pepper bacon on sourdough The LaFreniere – Brie cheese, white cheddar, caramelized strawberries, applewood smoked bacon on sourdough The Southern – Eric Michael Bacon Fat Biscuit with Aerated Fried Chicken and Maple Bacon Jam – Each bite consists of a bacon fat buttermilk biscuit with a foam made from fried chicken thigh and a maple bacon jam The Winchester – Greg Bastien Fat Elvis Waffle Sandwich – liege waffle, candied apple wood smoked bacon, banana, peanut Trenchermen – Patrick Sheerin Bacon “Fried Rice”, Bacon Fat Hoisin, Bacon XO & Peanuts – cherrywood bacon, forbidden black rice, berkshire bacon, house made bacon fat hoisin sauce, bacon XO, toasted peanuts, charred scallions, lime, ginger, garlic, chiles, LOVE, LOTS OF LOVE, cilantro, egg Ugly Mug Cafe – Mik Wright I Hope I Don’t Fall In Love With You – coffee and bacon-laced chocolate cake, maple, jalapeño-bacon buttercream topped with fresh whipped cream and a sprinkle of, wait for it, more bacon Uncle Bub’s BBQ – Jimmy Harvatt Candied Bacon – Smoked bacon caramelized with caramel drizzle Velvet Taco – John Franke #7 Taco – The Cuban Pig – crisp flour tortilla, grain mustard, slow roasted chili rubbed pork butt, cured ham, applewood smoked peppered bacon, gruyere cheese, house brined pickles Viand Bar & Kitchen – Tyler Nelson Sweet Whiskey Bacon & Grits – smoky honey grits, whiskey cured pork belly, candied bacon, peppadews, cippolini, dates West Loop Salumi – Gregory Laketek Applewood and Cherrywood Bacon Salami – two different salami comprised of ground applewood bacon and cherrywood bacon Wollensky’s Grill – Matt King Cup O’ Beef Bacon – crispy house smoked beef bacon with bleu cheese dip Woodhaven Bar and Kitchen – Zach Prince The Ultimate Bacon Bison Bite – cherrywood bacon and goat cheese infused bison with pepperoni aioli and jalapeño, wrapped in smoked bacon and drizzled with a blueberry buffalo bacon dipping sauce SATURDAY LUNCH 2015 Autre Monde Cafe & Spirits – Andrew Kerns Fried Bacon Bologna Sliders – fried bacon bologna, dijonnaise, bread and butter pickles, brioche slider buns ¡AY CHIWOWA! Bacon Guacamole – our classic guacamole with onion, tomato, jalapeno, cilantro, lime and bacon sprinkled in for extra deliciousness Bacaro – Thad Morrow Bacon Parfait – chocolate bacon bits, white chocolate bacon mousse, raspberry bacon crumble, and salted pistachios Barbakoa – Dudley Nieto Bacon Al Pastor Taco – roasted pork shoulder and cherrywood bacon with morita salsa, chopped onions and cilantro Beaver’s Coffee & Donuts Bacon Donut Truffles – mini buttermilk bacon infused cake donuts covered in butterscotch chocolate bacon icing Benny’s Chop House – Aaron Lindgren Benny’s Croque Monsieur with Bacon – with McClure’s pickles, Tulip Tree Trillium cheese, Dijon aioli & Z Baking petit pain Maple Crème Brulee with Bacon-Walnut Crisp (PIC) Hawaiian Bacon-Pineapple Cocktail (PIC) Blue Door Farm Stand – Justin Ferguson Bacon Grilled Cheese Browntrout – Sean Sanders The Wedge – baby lettuce, grilled ramp ranch, house-made bacon lardon, shaved watermelon radish, Hook’s blue paradise Burger Bar Chicago – John McLean The Most Amazing, Delicious, Tasty Bacon Fried Pickles EVER! – Burger Bar Chicago’s famous fried pickles infused with applewood smoked bacon Carnitas Uruapan – Marcos Carbajal Carnitas – Carnitas are a braised pork dish from Central Mexico. Crispy and golden on the outside, moist and tender on the inside Celeste – Nick Lacasse Grilled Pork Belly – honey poached cranberries, roasted carrots, Anson Mills grits Chicago q – Lee Ann Whippen Apple Smoked Candied Bacon with Pig Powder Rub David Burke’s Primehouse – Jove Hubbard Bacon Tarte Flambe – Vidalia-braised applewood bacon, ramp soubise, black pepper hollandaise, crispy leeks, puff pastry Dönermen – Shawn Podgurski Bacon Currywurst: house made bacon sausage with bacon curry sauce and goats milk tzatziki Firecakes – Jonathan Fox Maple Glazed Pineapple and Bacon Donut Firefly Grill – Niall D. Campbell II Cauliflower Bacon Panna Cotta – with crispy bacon fat sage Flo & Santos – Mark Rimkus Bacon Whiskey River Lasagna – bacon barrel-aged whiskey served with a bacon five-way lasagna (bacon pasta, bacon ricotta, bacon bits, bacon sauce and bacon) Flo Cafe & Bar – Leonard Sanchez Hatch Green Chile Bacon Quiche – Hatch green chile, scrambled eggs, aged sharp cheddar in a bacon bowl Bacon Infused Bourbon Bloody Mary Shooter – shooter of housemade bacon-infused bourbon with our New Mexico red chile Bloody Mary mix Glazed and Infused – Chris White Maple Bacon Long John – yeast-raised long john with a maple glaze and a full strip of peppered bacon on top Honey Butter Fried Chicken – Christine Cikowski & Josh Kulp Fried Chicken French Toast – with bacon honey butter and maple bourbon syrup Howells & Hood – Brett Neubauer Chicago Style Bacon Dog HUB 51 – Mike Bellovich Braised Applewood Bacon Tacos – with jalapeno slaw, oaxaca cheese, and cilantro Husky Hog BBQ – Joseph Woodel Smoked Bacon Garlic Soup & Bacon Hushpuppy – a duo of bacon-y goodness: hickory smoked bacon-garlic soup accompanied by a cherrywood smoked bacon hush puppy atop a dollop of smoked garlic mashed potatoes, drizzled with smoked bacon aioli Hutch – Marc Wuenschel Meatballs + Pork Belly – carbonara style, grilled bread Kaiser Tiger – Roberto Jacabo Bacon S’mores – roasted bacon marshmallows with chocolate bacon bark melted between graham crackers Kama Bistro – Vikram Singh Tandoori Pork Belly Namaste – braised pork belly: tamarind, jaggery, pickled spice BBQ glaze, charcoal tandoor smoked with bacon and rose jam Le Bouchon – Oliver Poilevey & Scott Jambrosek Bacon & Maple Macaron Lobby Lounge Bacon Popcorn – movie theatre popcorn with bacon seasoning and chunks of bacon goodness on top. LOKaL – Artur Wnorowki Bacon Lard Spread, Maple Crostini Mercadito Counter – Aldo Ayala Carnitas Style Bacon Taco – carnitas style bacon, cured onions and cilantro, spring greens slaw, bacon vinaigrette, crispy bacon, chicharron Mindy’s Hot Chocolate – Amanda Barnes Pig Liver & Bacon Mousse – aerated pig liver and bacon with crostini Mrs. Murphy & Sons Irish Bistro – Jeanne Carlson Irish Bacon Butty – Irish style back bacon on traditional Blaa style roll with homemade “HP Sauce” Old Town Social – Steven Paul Maple & Bacon Ricotta Gougere – paté choux with Gruyere cheese, baby bacon lardons, maple-whipped ricotta, crushed pistachio, bacon-fat powdered sugar Osteria La Madia – Jonathan Fox Bacon Ravioli Paddy Long’s – Pat Berger Bacon Wrapped Onion Rings – Alpha King beer-battered bacon-wrapped onion rings with house-made curry ketchup Piece Restaurant – Bill Jacobs & Jonathan Cutler Bacon Pizza & Roland Oatmeal Stout – New Haven style pizza with applewood smoked bacon Pleasant House Bakery – Art & Chelsea Jackson Royal Bacon and Apple Galettes – rustic open faced tarts Public House – Alex Munoz Pork Belly Carnitas Quince Restaurant – Kristine Antonian When Pigs Fly – chocolate bacon oreo, bacon pop rocks Randolph Tavern – Wilbert Pagulayan Pork Belly Kare Kare – peanut braised pork belly, green beans, bok choy Red Butter – Monica Sehgal Sharma Ancho-Chile Candied Bacon Bhel Puri – Indian street food at it’s BEST! Puffed rice salad with ancho chile candied bacon, potatoes, onions, cilantro, serrano pepper, mint chutney, tamarind chutney, lime and Indian spices Signature Room at the 95th – Cardel Reid Pastrami Pork Belly – scotch bonnet slaw, scorched fruit, bacon focaccia roll Slurping Turtle – Takashi Yagihashi Bacon Chiyawanmushi – shiitake mushrooms, gingko nuts, bacon-dashi glaze and wasabi Spacca Napoli – Jonathan Goldsmith Involtini di Melanzane – eggplant in a roll with smoked pancetta, fior di latte mozzarella, sage; oven roasted Sparrow Coffee Roastery – Chris Chacko TBA Stout Barrel House & Galley – Michael Matthews Bourbon Braised Bacon Biscuit Slider – Buttermilk bacon cheddar jalapeño biscuit with bourbon braised bacon, pickled onion & zucchini, with a country style bacon gravy, topped with candied bacon & cayenne pepper Table, Donkey and Stick – Scott Manley Bacon Custard Pie The Chop Shop – John Formica Bacon Meringue Bites – bacon meringue disks, smoked applewood bacon mousse, bourbon maple bacon lardon, pickled red onion, micro chive The Radler – Nathan Sears PB&J – bacon peanut butter, bacon grape jam, bacon bread and bacon milk shot The Salsa Truck – Dan Salls Tamal de Tocino – bacon tamale with chipotle bacon crema Troquet River North – Tim Davidson Bacon Fromage Grillé (Bacon Grilled Cheese) – confit of bacon, truffled brioche, camembert, mornay sauce, shallot jam, mustard caviar Unite Urban Grill – Trevin VanDyke Grilled Hanger Steak Wrapped in Bacon – Painted Hills hanger steak, grilled and basted with house baste Bacon Cocktail- mezcal, lemon, amaro, ginger, falernum Untitled Supper Club – Ryan Kikkert Bacon “Snickers” Bar – applewood smoked bacon, bacon fat caramel, bourbon nougat, peanuts, milk chocolate, sea salt WHISK – Ricardo Rodriguez Bacon Mac and Cheese Bites – homemade mac and cheese rolled into a ball, breaded with bacon, and deep-fried WOW BAO Bao – Steamed Asian Buns BBQ Pork Bao Egg, Bacon and Cheddar Bao Xoco Wicker Park – Rick Bayless Albondigas Torta – Gunthorp Farms pork meatballs, black bean spread, chipotle spread, chipotle sauce, anejo cheese, cilantro ZED451 – Michael McDonald ZED451 Bacon Wrapped Bacon Dog – crispy maple cajun bacon-wrapped bacon hot dog, served Chicago Style SATURDAY DINNER 2015 312 Chicago – Luca Corazzina Bombolini con Pancetta – fried savory doughnuts stuffed with bacon, caramelized onion, served with Taleggio cheese fondue and Barolo Chinato chili reduction 676 Restaurant and Bar – Anthony Herve Chef Duo – foie gras and lamb bacon crème brulee and a nueske bacon jam and scallops tartine 694 Wine & Spirits – Chris Dunstatter The Baconater – The only way for the future of humanity to continue on is through this prized pork program. Stay tuned Atwood – Brian Millman Braised Pork Belly BLT – spicy tomato jam, pickled slaw, brioche Bakin’ & Eggs – Bob and Gina Hartwig Bacon Tomato Bisque Mini Cheddar Feuillette – applewood smoked pepper coated bacon tomato bisque mini cheddar brioche feuillette Bang Bang Pie Shop – Patrick Cloud Bacon Studded BLT Biscuit – bacon potato chip and red ham gravy Barn & Company – Gary Wiviott Smoked Jalapeno Bacon Cracker Jack Birchwood Kitchen – Jesse Williams The Most Baconiest Salad Ever (It’s Healthy, Right?) – frisee and kale with bacon-braised onions, cheddar bacon frico, spicy maple bacon lardons, bacon fat cauliflower, and a mustard bacon vinaigrette Bite Cafe – Dave Cooper Chocolate and Bacon Creme Sandwich Cookie – you know, like an oreo Bridge House Tavern – Mark Hemmer Nueske’s Bacon Headcheese – bacon headcheese served with smoked strawberry rhubarb & camomile gelee, micro arugula and green apple Charlatan – Matt Troost & Christophe Mayhew Bacon Stroganoff – bacon pasta, paprika pork belly, bacon fried mushrooms Davanti Enoteca – Katie Ziemann-Diersen Chocolate Bacon Candy Bar – with bourbon toffee sauce and pretzel bacon crumble e+o Food and Drink – Rodelio Aglibot Bacon and Albacore Poke – Hawaiian style bacon and albacore poke laced with inamona, avocado, ginger, chili water, sesame and shoyu Farmhouse Chicago – Trevor Fleming & Emily Kraszyk Letherbee Flying Pigs – cotton candy, white chocolate, Letherbee Besk, bacon hand pie Francesca’s Restaurants – Massimo Salatino Budino al Caramello – caramel budino, applewood caramel sauce, salty chocolate bacon-covered pretzel freestyle food + drink – Ariel Bagadiong Pepper and Applewood Smoked Bacon Waffles – with Sriracha butter, chicken-fried bacon, bacon bourbon gravy, sour cream, and green onion Frontier Chicago – Brian Jupiter Bacon-Wrapped Fried Oysters – cornmeal crusted bacon wrapped fried oysters with shrimp and bacon aioli Fulton Market Kitchen – Kyle Petersen Seared Bacon – pickled tomatoes, spinach cream, garlic aioli, croutons Gayle’s Best Ever Grilled Cheese – Gayle Voss The Abreo – your choice of Prairie Pure Butterkase cheese with bacon onion jam or Prairie Pure White Cheddar cheese with honey crisp apple and bacon onion jam GingerSnap Sweets & Such – Jen Templeton Bacon Sugar Pie – Canadian sugar pie with cherrywood bacon brisee and bacon pecan nougatine Hash House A Go Go – Brad Gold Sweet and Spicy Pork Belly Hash – braised slab bacon cubed with house-made soy BBQ sauce, tossed with potatoes, jalapenos and pineapple Homestead On The Roof – Chris “Chip” Davies Bacon Falafel – green chickpea bacon falafel, spiced crème fraiche, meyer lemon/bacon jam Hubbard Inn – Bob Zrenner Oyster Rockefeller Sausage – blue pointe oysters, spinach, garlic, cherry smoked bacon, parmesan III Forks Prime Steakhouse – Billy Caruso Belly and Grits – crispy citrus cured pork belly on white cheddar and bacon stone ground grits with red eye jus Knife & Tine – Richard Ginn BBQ Pork Belly – cornmeal dumplings, collard kraut, crispy hominy Libertad – Armando Gonzalez Tamales de Tocino – tamales with cherrywood smoked bacon, guajillo pepper, hoja santa, and salsa de aguacate Links Taproom – Grover Betts Bacon-Apple Chicken Sausage – topped with apple-bacon slaw and cider jalapeno mustard Marion Street Market – Bret Bohning Pork Belly & Lobster Polenta with Smoked Short Rib MAX’s Wine Dive – Jessica Brumleve Pig in a Pig Blanket Mercat a la Planxa – Evan Behmer Pork and Manchego Croquettes – with bacon-ramp romesco More – Patty Rothman Bacon Maple Moresel Cupcake – bacon maple cake with a brown sugar maple buttercream garnished with house made bacon brittle – YUM!! Moxee – Rob Stromm Moxee Maque Choux- spicy corn chowder with bacon, smoked chicken, gulf shrimp, toasted corn, cream, sweet & hot peppers; served with bacon cornbread Paired Moxee Beer Naansense – Sahil Singh & Hiran N. Patel Bacon Biryani – flavored/scented with saffron, green cardamom, star anise, bacon, topped with bacon onion marmalade Self-Serve Chutney Station: garlic/mint yogurt, green chili chutney, apple tamarind, curry mayo, & red fire chili nana – Jeremy Kiens Bacon Durrito – bacon fat fried durrito with bacon salad Osteria Langhe – Cameron Grant Bacon Cigar Paramount Room – Stephen Dunne Bacon Chocolate Peanut Gougeres – a savory pastry filled with peanut butter & topped with warm chocolate and bacon Pi Gallery Bar – Nick Martaus The Bourbon Babe – “That’ll do, pig.” – cocoa nib-infused bourbon, maple black pepper simple syrup, plum bitters, and candied, applewood smoked bacon Pinstripes – Cesar Gutierrez Pork Belly Risotto – braised pork belly served over bacon infused parmesan risotto Salted Caramel Bacon Gelato – salted caramel bacon gelato garnished with a dark chocolate bacon cookie Porkchop – Kenneth Robinson Bacon Wrapped Rib Tips – slow smoked rib tips wrapped in bacon drizzled in bbq sauce Revolution Brewing – Charlie Eure Hopped Up House Cured Bacon – Spring Pea, Barrel Aged Hot Sauce Rockit Bar and Grill/ Rockit Burger Bar – Amanda Downing Bacon Chili – applewood smoked bacon, black beans, corn tortilla strips, sour cream, chives Saigon Sisters – Matt Riordan Thit Kho Ruoc Sa – bacon braised in lemongrass and fermented shrimp paste. With seasonal pickles Son Of A Butcher Tavern – Frank Valdez Pickled Bacon Chowder – smoked oyster relish, toasted fennel cracker South Water Kitchen – Roger Waysok BLT Skewers – thick cut bacon, lettuce, cherry tomato, toasted brioche, maple bacon aioli, on a skewer Spencer’s Jolly Posh Foods – Nick Spencer Earl Grey Bacon Jam Macaroons Terzo Piano – Megan Neubeck Banana-Bacon Whoopie Pie – marshmallow fluff, butterscotch The Bedford & Carriage House – Mike Galen Holy Molé Lil’ Bacon Smokies – bacon lil’ smokies, bacon molé sauce, bacon salt cured egg yolk The Brixton – Kevin McMullen Bacon Rangoon – housemade bacon sambal, scallions, bacon powder The Dawson – Shaun King Bacon Apple Aebleskiver – with maple creme fraiche Three Aces – Matt Troost Falafel Italiano – bacon and canellinni bean falafel with whipped bacon fat hummus, bacon sambal, and porchetta spiced tzatziki Three Floyds Brewpub – Pat Niebling Bacon and ‘Nduja Hot Link – with bacon jam, pickled fennel and Dark Lord hot sauce Travelle – Tim Graham Sweet Onion and Bacon Candle – a sweet onion and bacon marmalade topped with a bacon candle TWO Restaurant and Bar – Kevin Cuddihee Green Garlic and Bacon Sausage – applewood smoked bacon, berkshire pork, green garlic, herb and apple salad Vanille Patisserie – Stacy Waldrop Candied Bacon Caramel Tart – bacon fat bourbon caramel, candied bacon pieces, and maple mousse dome Vie – Dan Compton Bacon Slim Jim Potato Bacon Soup West Town Bakery & Diner – Chris Teixeira Pork Fat Beignets – bacon marmalade, lemon jam Zapatista – Alberto Mendez Paella Fest – aged basmati rice, saffron sofrito, bacon broth, Mexican chorizo, applewood smoked pepper bacon-slab, green scallions Baconada (Michelada with Bacon) – hand-squeezed lime juice, bacon-infused tomato juice, victoria beer, bacon bitters, bacon dust-rimmed garnish with a bacon skewer of jicama, cucumber, smoked gouda, and fresh jalapeno chile
Q: MongoDB - how to update object using a field in the object how to update certain object using its's id in the posts array for example changing the the first object in posts using it's id { "_id" : ObjectId("5e3929127b0a7599f0a33b90"), "posts" : [ { "title" : "title", "desc" : "body", "id" : ObjectId("5e396faeac120790c4561f4b") }, { "title" : "title2", "desc" : "body2", "id" : ObjectId("5e396faeac120790c4561x2t") } ], "name" : "jarvis", "email" : "[email protected]", "password" : "123", "__v" : 0 } to be something like this { "_id" : ObjectId("5e3929127b0a7599f0a33b90"), "posts" : [ { "title" : "new title", "desc" : "new body", "id" : ObjectId("5e396faeac120790c4561f4b") }, { "title" : "title2", "desc" : "body2", "id" : ObjectId("5e396faeac120790c4561x2t") } ], "name" : "jarvis", "email" : "[email protected]", "password" : "123", "__v" : 0 } A: Would be this one with arrayFilters db.col.updateMany( {}, { $set: { "posts.$[p].title": "new title", "posts.$[p].desc": "new body" } }, { arrayFilters: [{ "p.id": ObjectId("5e396faeac120790c4561f4b") }] } ) arrayFilters have been introduced in MongoDB version 3.6
After 278 days, #HidingHillary has finally been forced to take unscripted questions from the media during a press conference. She fielded just four questions, but by definition, it was a press conference. Pressure from the Breitbart audience and Republican presidential nominee Donald Trump flushed the Democrat presidential nominee out into public, where she will continue to field softballs from the fawning liberal media, but will also have to answer tough questions from real journalists relevant to determining her ability to occupy the White House. The Clinton campaign had planned to “run out the clock” by shielding #HidingHillary from unscripted questions and situations not carefully controlled by her campaign. However, just one week after Breitbart News unveiled the #HidingHillary clock — counting down the time to the second since her last real press conference in December 2015 — she emerged from more than nine months of hiding and held a presser: While Clinton was hiding, questions about her health, private email server, handling of classified information, the Clinton Foundation, Clinton Cash, and compentency to serve as President of the United States are just a few of the controversies that have lingered. Now that she is out of hiding, perhaps the American people will finally get some answers to those lingering questions. She’s got a lot to answer for. The #HidingHillary series of articles amplified the voice of the Breitbart News audience to make the “run out the clock” strategy unworkable. Breitbart News readers were encouraged to tweet their questions and comments to @DustinStockton and use the hashtag #HidingHillary. For several weeks, the Breitbart News audience has delivered a variety of witty, tough, pertinent, and entertaining material. So as a tribute to all those who participated, here is the best of the #HidingHillary reader-submitted material: Hiding Hillary Day 259: #WheresHillary Trends #1 Worldwide Free speech activist Mike Cernovich, inspired by the regular column, drove #WheresHillary to trend #1 worldwide: https://twitter.com/Cernovich/status/766775697016709120 Even Republican presidential nominee Donald Trump got in on the #WheresHillary action: Hiding Hillary Day 260: Hillary Fundraises with Cher Poker legend Mike “The Mouth” Matusow lived up to his name with his question for #HidingHillary: How about when the fuck your gonna do a press conference while your old lying ass runs for president#disgusting https://t.co/NS34RolRiX — Mike Matusow (@themouthmatusow) August 21, 2016 #HidingHillary Day 261: Journalism Professor Blames Media for Hillary’s Absence Day 261 exposed “professor” of journalism Jeff Jarvis blaming the media for the #HidingHillary stratetgy: Imagine the shitshow that a Clinton presser would be w/journos falling over themselves to show how tough they can be. Blame her for passing? — Jeff Jarvis (@jeffjarvis) August 21, 2016 Several Bernie Sanders supporters participated also and had questions for #HidingHillary: Why is corrupt DWS on your campaign after leaving DNC under a dark cloud? — Subliminal Cat (@subliminal_cat) August 22, 2016 #HidingHillary Day 262: Hillary Fields Softballs with Comedian Jimmy Kimmel Clinton made an appearance on Jimmy Kimmel Live, where she fielded “tough” questions like, “How great would it be if your first act was to deport Donald Trump to Mexico?” and “Are you enjoying being a grandparent?” Or this doozy: “Do you think Jeb Bush is going to vote for you?” @magnifier661 sent us the photoshop of Weekend at Hillary’s: https://twitter.com/magnifier661/status/767902642286628865 Hiding Hillary Day 263: Reince Priebus Says She ‘Owes Explanations’ on Clinton Cash ‘Pay-to-Play’ @davis4_k wanted to know if Hillary has ever been honest: Hiding Hillary Day 265: Let Them Eat Chocolate On Day 265, Hillary dodged questions by offering reporters chocolate: Reporters ask Clinton if she'll take some questions. Clinton, in response, tells reporters to try some chocolate pic.twitter.com/O5Syu1b7XQ — Liz Kreutz (@ABCLiz) August 25, 2016 Hiding Hillary Day 268: Campaign Changes Tune on Clinton Cash Foundation @Clear_Honesty was one the most prolific participants in #HidingHillary: #HidingHillary & surrogates try to convince everyone the race is over because they know she cannot withstand ANY scrutiny. @DustinStockton — 🇺🇸TrueTalk🇺🇸 (@Clear_Honesty) August 28, 2016 Hiding Hillary Day 271: Will Trump Surge Force Hillary Out of Hiding? On Day 271, Breitbart News accurately predicted that Donald Trump’s surge in the polls would force the Clinton campaign to abandon the #HidingHillary Strategy. @johngalt191 proved to be a meme machine during #HidingHillary: Hiding Hillary Day 273: Fallout from the FBI Release The FBI release of its notes into the investigation of Hillary’s use of a private email server and handling of classified information provided a lot of fodder for #HidingHillary: Hiding Hillary Day 275: Coughing Fit Interrupts Impromptu Press Gaggle, Still No Press Conference On Day 275, #HidingHillary held a press “gaggle,” which is not a press conference: It is important to note the difference between a gaggle and a press conference. A press conference is a scheduled event where the press is given the opportunity to prepare and ask questions. Clinton’s impromptu gaggle was not announced in advance and was limited to just the press traveling with her on her campaign airplane. Clinton fielded just seven questions in her attempt to quell the “hiding Hillary” speculation before excusing herself during a coughing fit. She returned later to answer five more questions. Hiding Hillary Day 277: Clinton Scheduled to Appear at Commander-in-Chief Forum in NYC @DrMartyFox kept the #HidingHillary notifications flowing, and on the last day of #HidingHillary, this tweet was featured: #HidingHillary Day #275 ➡️ AVOIDS A REAL Press Conference ➡️ Interrupted By COUGHING FIThttps://t.co/9AxMbJcj3e pic.twitter.com/Z5W9U5LX4e — Dr. Marty Fox (@DrMartyFox) September 6, 2016 The Breitbart News audience and #HidingHillary forced a major presidential candidate to hold a real press conference. That’s a job well-done! Thanks to everyone who participated in #HidingHillary the last few weeks. You forced her to have a press conference, excellent work! — Dustin Stockton (@DustinStockton) September 8, 2016 Dustin Stockton is a political reporter for Breitbart News, a community liaison for Gun Owners of America, and a political strategist. Follow him on Twitter @DustinStockton or Facebook.
In this episode of the ESOcast, we travel to the inhospitable but dramatic landscape of the Atacama Desert. Beneath the ground there, a new high-speed data cable is helping connect Paranal, the world’s most advanced astronomical observatory, with scientists and engineers based at ESO headquarters in Germany. Dr J presents this new project and explains its impact on scientific research at ESO. Credits and more information at: http://www.eso.org/public/videos/eso1043a/
The desire of Disability Living is to host conversations that benefit the entire disability community of Canada. By commenting on posts and sharing articles with others, you are encouraging people with disabilities everywhere. Cancer: Canada’s Leading Cause of Death February 7, 2012 Cancer is Canada’s leading cause of death. Last year, it was predicted that cancer would claim the life of 75,000 Canadians. Cancer is such a prominent disease and is so represented by the media that many people fail to truly understand what cancer is, what causes it, and why people develop it. We have to ask ourselves the question, “Do we really understand what cancer is?” What exactly is cancer? Cancer is a disease that originates in the body’s cells. The National Cancer Institute defines cancer as, “A disease in which abnormal cells divide without control and are able to invade other tissues.” In a normal, healthy cell, there are certain ‘commands’ that the cell abides by. “Genes inside each cell order it to grow, work, reproduce and die.” In a cancerous cell, these ‘commands’ are confused and the cells can begin to form tumors. A tumor can be either malignant, a term meaning ‘cancerous’, or benign, a term meaning ‘non-cancerous’. A benign tumor is not typically fatal and does not usually spread throughout the body. How does cancer spread? “Malignant tumor cells are able to invade nearby tissues and spread to other parts of the body.” Cancer spreads throughout the body via the blood or lymphatic system. What causes cancer? One explanation as to what causes cancer is that a person’s DNA can become damaged, causing the rebellion of the cell to the normal ‘chain of commands’ the body sends it. What happens if a person’s DNA is changed or damaged? It may “produce mutations that affect normal cell growth and division”. This can cause cells to continue to live after they should have died. This can cause more cells than the body actually needs. It is the excessive cells that can form a tumor. Why are there different types of cancer? It seems like there are so many different types of cancer. There are, in fact, in excess of 100 variations of cancer. In the media as well as the medical world we hear of breast, prostate, colon, and numerous other types of cancer. The explanation for this is that cancer is named after the body part which it originates from. For example, if cancer starts in a person’s breast, it will be referred to as breast cancer, even though it may spread to other body parts. Now that we understand what cancer is, we can turn our faces toward hope, solutions, and the prevention of cancer. Please see our postings this week to learn more about preventing cancer and a new preventative cancer treatment. *Please note: All research for this article is compiled from direct and third party sources. Mention of programs, organizations and companies does not imply support of The National Benefit Authority. Pictures are for creative purposes only; they are not intended to sell or promote products for the NBA and belong to the accredited individual, organization or company. Let’s Talk About It Do you feel you have a relatively good understanding of what cancer is? Do you think it is important to understand what cancer is? Do you feel that cancer represented by the media is properly explained to youths? Do you think it is important for youths to understand cancer?
Projections of peptide-containing neurons in rat colon. The distribution, origin and projections of nerve fibers containing vasoactive intestinal peptide, substance P, neuropeptide Y, galanin, gastrin-releasing peptide, calcitonin gene-related peptide, somatostatin or enkephalin were studied in the midcolon of the rat by immunocytochemistry and immunochemistry. Most of these nerve fibers had an intramural origin as was established by extrinsic denervation (serving of mesenterial nerves). Extrinsic denervation eliminated neuropeptide Y-containing fibers of presumably sympathetic origin together with sensory nerve fibers containing both substance P and calcitonin gene-related peptide. Co-existence of two peptides in the same neuron was studied by double immunostaining. This revealed co-existence of neuropeptide Y and vasoactive intestinal peptide in one population of intramural neurons; an additional population of intramural neurons was found to contain vasoactive intestinal peptide but not neuropeptide Y. All somatostatin-containing neurons in the submucous ganglia were found to harbor calcitonin gene-related peptide. A much larger population of submucous neurons containing calcitonin gene-related but not somatostatin was also detected. Some perivascular calcitonin gene-related peptide-containing nerve fibers (of intrinsic origin) harbored vasoactive intestinal peptide while others (of extrinsic origin) harbored substance P. The polarities and projections of the various peptide-containing intramural neurons in the transverse colon were studied by analysing the loss of nerve fibers upon local disruption of enteric nervous pathways (myectomy or intestinal clamping). Myenteric neurons containing vasoactive intestinal peptide, galanin, gastrin-releasing peptide, calcitonin gene-related peptide, somatostatin or vasoactive intestinal peptide/neuropeptide Y gave off 5-10-mm-long descending projections while those containing substance P or enkephalin issued approx. 5-mm-long ascending projections. Submucous neurons containing calcitonin gene-related peptide, somatostatin/calcitonin gene-related peptide or gastrin-releasing peptide issued both ascending (2-6 mm) and descending (2-6 mm) projections, those containing vasoactive intestinal peptide issued ascending (approx. 2 mm) projections, while those containing galanin or vasoactive intestinal peptide/neuropeptide Y lacked demonstrable oro-anal projections. Enkephalin-containing fibers could not be detected in the mucosa and the mucosal substance P-containing nerve fibers were too few to enable us to delineate their projections.
In his regular BBC Sport column on football tactics, Robbie Savage looks at Manchester United's win over top-of-the-table Arsenal. It was the sort of game you often get between two of the top teams: tight and tense, rather than open and entertaining - and settled by a goal from a set-piece. Robin van Persie meets Wayne Rooney's corner to score Manchester United's winner against Arsenal The game was low on quality but, on this occasion, that suited United down to the ground. Man Utd not passing, or keeping possession Against the Gunners, Manchester United had the least possession (39.87%) and worst passing accuracy (75.87) of any of their Premier League games this season. United also played their lowest number of passes (344) in any league game at Old Trafford for seven years, since a draw with Chelsea in a top-of-the-table clash in November 2006, when they played 310. They played over 200 more passes (532) when they last played Arsenal at home in the league, in a 2-1 win in November 2012. In fact, there have only been seven away league games since the start of the 2006-07 season where United have played fewer passes than they managed on Sunday. So the question is, how did they still manage to get their most significant win since David Moyes took charge against the most in-form team in the country, who were fresh from beating Borussia Dortmund on Wednesday and had won 14 of their last 15 away games in all competitions? United's passing and possession in the Premier League this season Opposition Result Possession % Passes Passing accuracy % Swansea (a) W 4-1 46.3% 471 83.44% Chelsea (h) D 0-0 55.21% 550 84.18% Liverpool (a) L 1-0 56.96% 478 82.01% C Palace (h) W 2-0 60.38% 556 84.71% Man City (a) L 4-1 58.44% 478 86.19% WBA (h) L 1-2 59.11% 527 86.15% Sunderland (a) W 2-1 62.5% 571 84.06% S'hampton (h) D 1-1 46.44% 393 78.88% Stoke (h) W 3-2 66.74% 565 88.5% Fulham (a) W 3-1 53.05% 517 84.33% Arsenal (h) W 1-0 39.87% 344 75.87% Source: Opta The changes forced upon Arsenal by the sickness bug that hit their squad played a part. But United boss Moyes got his team selection and tactics spot on. It was a scrappy game, which is what Moyes wanted. And United scoring first was the key to the game going in the direction he wanted it to. Arsenal are the best counter-attacking team in the country but they could not play the way they wanted to once they were behind. Sunday's game at Old Trafford started very differently to the way it finished, and it was Robin van Persie's goal that made the difference. United had 66.4% of possession in the first 10 minutes and 58% after 20 minutes. But, once van Persie scored after 27 minutes, both teams changed their approach. After that, United were the team playing on the break, and they were happy for Arsenal to have a lot more of the ball. The Gunners had been playing a containing game, but that went out of the window when they needed an equaliser. By half-time, Arsenal had enjoyed 56% of possession and, in the second half alone, that rose to 64.4%. But the Gunners could not turn that into chances, let alone goals. Arsenal miss key personnel Arsenal have made lots of changes in midfield this season without it upsetting their rhythm. This time it did. Arsenal's midfielders starting Premier League games this season Opposition Result Aston Villa (h) L 1-3 Rosicky Wilshere Walcott AOC Ramsey Fulham (a) W 3-1 Rosicky Podolski Walcott Cazorla Ramsey Tottenham (h) W 1-0 Rosicky Wilshere Walcott Cazorla Ramsey Sunderland (a) W 3-1 Flamini Wilshere Walcott Ozil Ramsey Stoke (h) W 3-1 Flamini Wilshere Gnabry Ozil Ramsey Swansea (a) W 2-1 Flamini Wilshere Gnabry Ozil Ramsey WBA (a) D 1-1 Flamini Wilshere Arteta Ozil Ramsey Norwich (h) W 4-1 Flamini Wilshere Arteta Ozil Cazorla C Palace (a) W 2-0 Flamini Cazorla Arteta Ozil Ramsey Liverpool (h) W 2-0 Rosicky Cazorla Arteta Ozil Ramsey Man Utd (a) L 1-0 Flamini Cazorla Arteta Ozil Ramsey AOC = Alex Oxlade-Chamberlain Wenger has only started the same set of five players in consecutive Premier League games once - Mathieu Flamini, Jack Wilshere, Serge Gnabry, Mesut Ozil and Aaron Ramsey against Stoke and Swansea. And the only other time the same five midfielders have started more than once together was at Old Trafford. Flamini, Santi Cazorla, Mikel Arteta, Ozil and Ramsey also played against Crystal Palace last month. Wenger could not play the same midfield he did when his side beat Liverpool - or Dortmund in the Champions League in midweek - because Tomas Rosicky was ill. He was able to bring Flamini back into the team instead, and his defensive ability and organising skills might have seemed ideal for a trip to Old Trafford. The way the game panned out, however, Arsenal needed far more of a creative spark. They looked unbalanced, with Ramsey forced to play out wide on the right rather than centrally where he has been so effective recently. Phil Jones (r) worked tirelessly to keep Arsenal quiet Ramsey was poor and Ozil, who was playing behind Olivier Giroud, was hardly in the game. All the play was in front of United, with no penetration behind them. Arsenal did not have anybody running past Giroud until Wilshere came on after an hour. And the only time Arsenal got behind the United defence was when Wilshere burst forward and Phil Jones ushered the ball out. With Jones starting in midfield, United's team was perfectly set up to stop Arsenal from playing once they had their lead. Jones ended the game in defence after Nemanja Vidic was injured, but Tom Cleverley came in and worked very hard to deny Arsenal time and space, as did the rest of the United team - including Van Persie and Wayne Rooney, who both covered a lot of ground. Arsenal's threat in the second half was restricted to two dangerous crosses into the box from their right-back Bacary Sagna. United hardly created a lot either but they had the better chances, especially when Chris Smalling headed wide from Van Persie's free-kick. Neither keeper really had much to do and that suited United just fine. Settled by a set-piece I am not a fan of zonal marking. If you mark a man then if he scores it is your fault. Zonal marking just allows players to make excuses, because it could be one or two players at fault. I never played in a team that used zonal marking and, if I was a manager, I would always designate players to be picked up at free-kicks and corners. Robin van Persie ran in unopposed to meet Wayne Rooney's corner With zonal marking, each player is given an area of the box to cover but that allows an attacker to get a run on you and the extra height they can get on their leap gives them the advantage in winning the ball in the air, which is exactly what happened for United's goal. The way to stop those runners is to have blockers on the penalty spot, which is what Ramsey should have been doing rather than allowing Van Persie to run unopposed to the near post, where he beat Giroud. Would Per Mertesacker have been designated that zone if he had been able to play? Possibly. Van Persie would still have had a run on him, though. That was the first league goal Arsenal have conceded from a set-piece this season, so it has obviously worked for them in the past. It cost them on Sunday, however.
A University of Georgia graduate student does not understand why saying “some white people may have to die” is receiving backlash. Philosophy grad student and teaching assistant Irami Osei-Frimpong originally made the comment on the Overheard at UGA Facebook page Jan. 16, Campus Reform reported. “Some white people may have to die for Black communities to be made whole in this struggle to advance to freedom,” Osei-Frimpong wrote, according to a screenshot from Campus Reform. “To pretend that’s not the case is ahistorical and generally naive.” Osei-Frimpong does not understand why he is getting criticized, however. “I’m confused why that is so controversial,” Osei-Frimpong said, WSB-TV reported Tuesday. The UGA grad student added he was not trying to call for violence, but was being “honest of racial progress,” according to WSB-TV reported. UGA donors and alumni have suggested to stop giving money to the school unless Osei-Frimpong is fired. “If they fire me, they’d be firing me for doing my job,” Osei-Frimpong said. UGA released a statement Sunday saying they were considering legal options. “Racism has no place on our campus, and we condemn the advocacy or suggestion of violence in any form,” the statement posted to Twitter said. (Covington Catholic Students Hit With Threats Of Being Burned Alive And Sexually Abused) Osei-Frimpong has a history of demeaning white people. He compared white southerners to “sociopaths” and “autistic kids.” The teaching assistant also called for white people’s churches, schools and families to be “dismantled” because they supposedly created “crappy white people,” Campus Reform reported. UGA baseball player Adam Sasser, who was accused of saying racial slurs at the school’s football game, was dismissed from the team in October 2018, according to USA Today. Osei-Frimpong did not immediately respond to The Daily Caller News Foundation’s request for comment. Follow Neetu on Twitter Send tips to: [email protected] Content created by The Daily Caller News Foundation is available without charge to any eligible news publisher that can provide a large audience. For licensing opportunities of our original content, please contact [email protected].
package im.actor.runtime.threading; import java.util.ArrayList; import im.actor.runtime.Runtime; public class ThreadDispatcher { private static final ThreadLocalCompat<ArrayList<SimpleDispatcher>> currentDispatcher = Runtime.createThreadLocal(); public static void pushDispatcher(SimpleDispatcher dispatcher) { if (currentDispatcher.get() == null) { ArrayList<SimpleDispatcher> dispatchers = new ArrayList<>(); dispatchers.add(dispatcher); currentDispatcher.set(dispatchers); } else { currentDispatcher.get().add(dispatcher); } } public static void popDispatcher() { ArrayList<SimpleDispatcher> dispatchers = currentDispatcher.get(); if (dispatchers == null || dispatchers.size() == 0) { throw new RuntimeException("Current Thread doesn't have Active Dispatchers"); } else { dispatchers.remove(dispatchers.size() - 1); } } public static SimpleDispatcher peekDispatcher() { ArrayList<SimpleDispatcher> dispatchers = currentDispatcher.get(); if (dispatchers == null || dispatchers.size() == 0) { throw new RuntimeException("Current Thread doesn't have Active Dispatchers"); } else { return dispatchers.get(dispatchers.size() - 1); } } public static void dispatchOnCurrentThread(Runnable runnable) { peekDispatcher().dispatch(runnable); } }
Child Takes Water After Being Rescued From Under Rubble in Old Mosul As Iraqi forces continue sweeping the rubble of Mosul’s Old City after forcing out Islamic State, soldiers discovered and rescued a baby boy from under the rubble, according to this footage shared on July 24. The boy was described as the son of an Islamic State member from China. However, men in the video said that the boy was Tajik. Storyful was unable to verify either of these claims. The uploader, ‎"AbuAli Zubaidi":https://www.facebook.com/profile.php?id=100010167139333&lst=100005864529736%3A100010167139333%3A1501061078, said that the boy was taken to a nearby hospital. People from China and Tajikistan have joined Islamic State and a number of Tajiks over the past year have carried out suicide attacks in Syria and Iraq, according to reports. Credit: Facebook/‎AbuAli Zubaidi via Storyful
"I love raising my children in an area that they can play in woods and parks, rivers and lake."~ Beverly Arnold Parker on the family outing on a pumpkin farm. Parker, Cailin, Beverly Arnold and Kevin in back row. "Sudden Valley has been our home for 24 years. We've raised our 2 children here and now they have their own homes here in the valley. I love living and working here." Kitty and Todd French on a walk across Lake Whatcom with Sudden Valley shown in the background. How gorgeous is that! "Sudden Valley Ephiphany"~ Maureen McCabe After living in Sudden Valley for 8 years, I discovered the sense of community that is small town Sudden Valley for myself this past year and a half. It’s funny but as I have become more involved with the people, businesses and volunteers of Sudden Valley, I found a sense of community here that I have never felt anywhere I lived before. Growing up in Southern California suburbia was anything but personal and too big to feel the sense of community of a small town. As the self-appointed photographer and writer for “Hello Sudden Valley” I go out and take photos of people doing everyday stuff here in the valley. Through this new pursuit of positivity, I have found joy in myself and with others seeing Sudden Valley through new eyes. People just out with their kids, walking their dogs or driving their cool old cars. Many moments! There are many people here in in Sudden Valley who have deep, deep roots and I never understood it until recently when I started to understand how special it is being a small community. My roots here are growing. No, we’re certainly not perfect but we’re mostly friendly and down-to-earth people. We love our trees, trails, beaches and lakes. For heaven’s sake, we even love our old barns where so many of our events take place. There’s a lot to be said for the people of Sudden Valley. Many people move here from many other parts of the country to make Sudden Valley their home. So to them I say, give us a chance and you’ll see we’re a little bit of Mayberry USA. You’ll see…Ciao![Please note we sold our home and have moved to Spokane in June 2015 but we will always appreciate the time we enjoyed in the Sudden Valley] "You get more bang for your buck in Sudden Valley." The Davis Family from Fort Smith, AR...making Sudden Valley their new home in the Pacific Northwest! After spending a good part of the summer looking for a new place to call home and driving thousands of miles to California, Oregon and Washington, the Davis Family found a beautiful new home in Sudden Valley. They were inspired by our community, lake, forests and amenities. We couldn't be happier to have them part of our Sudden Valley community. New life, new beginnings in the Pacific Northwest! "We feel as if we live in a National Park. We couldn't be happier!"My husband and I moved from the Bay Area, CA to Sudden Valley in October, 2012. I had retired that September and we had spent the last 18 months making trips to WA with various family and friends to determine where we wanted to live. We had a son living in Mt. Vernon so his place was home base. My husband ended up in Boulevard Park during one of his trips and that sold him on Bellingham! We were wrestling with how to house hunt when I decided to run an ad on Craigslist. We wanted to rent. We'd never owned. I received a response that began, "Have you thought of living in Sudden Valley?" We rented the home that was the subject of that response and then, short version, we bought a home at Gate 2 one year later! First, our backyard was the golf course and now it is Lake Louise! Every day, no matter what the weather, we marvel at the beauty that is Sudden Valley! Many family members and friends have come to visit us and, to a person, they are flabbergasted at the heavenly haven that is our home! Why do we love living in Sudden Valley? A partial list: The deer, squirrels, birds, Lake Louise, the trail we walk, our neighbors and the other residents we have met, the library, the activities, Valley Market and the other businesses, El Agave, the trees, flowers, mountains, the twenty shades of green, and the rain (yes, absolutely the rain)! We feel as if we live in a national park! We couldn't be happier! ~Karen D. "We feel very optimistic about about the future of Sudden Valley because we see it grow stronger day by day." My husband and I have lived here since 2001 when we moved from Alabama. We feel fortunate to live in such a welcoming, friendly community. There are many easy ways to feel part of the community: volunteer opportunities, social activities, amenities that provide the opportunity to meet neighbors, and on and on! We feel very optimistic about the future of Sudden Valley because we see it grow stronger day by day. ~ Brenda S. Why I love living in Sudden Valley:First of all, it's the natural beauty, then the sense of community and neighborliness, followed by the array of amenities that provide activities for a widening diverse population, especially families - and it's secure. ~David .... My amazement at the beauty of nature in Sudden Valley always amazes none other more than myself! I think that is because each lot has a combination of massive natural beauty combined with little details which the owners have added, putting their imprint on their lot. Driving by the golf course makes me happy just to view the beautiful grounds. To top it off, we have the lake which changes color according to the weather. Behind the lake rise majestic cedar trees on the hills, reaching for the sky with their long branches. When the weather is windy, the branches flutter gently, dancing in the wind. I can gaze at them indefinitely through my window, totally mesmerized. They fill my heart with wonder and joy. Nature alone does not suffice to give me a sense of home in Sudden Valley. I feel the warmth of community around me. I like the fact that the houses are close to one another. It is a sign that their owners love to live in proximity to others. Our neighbors know one another and I am sure would help their neighbors should the need arise. We care and look after one another. We have a sense of security in our homes just because we have security guards. At least I do. We have several parks, miles of trails, two lakes, two pools, a marina, a restaurant, a golf course and buildings, all owned by the members and used for gatherings and activities for adults and children. We have our own monthly newspaper which gives us news about our community. We now even have a radio station which gives us the latest weather information in the Valley. We have a coffee shop (soon to open) and even a brand new Public Library financed by volunteers and built by the hard work of dedicated members. Last week we had a free dinner for our members and the firemen who are mostly volunteers stationed outside Gate 1. Many lives have been saved by them. The active and outgoing members among us all came out. The pasta dinner with meatballs was catered and delicious! We have a board and a management company which make sure that all the different parts of our association work together smoothly. No one has any idea how hard the board members who are volunteers work to make good decisions for us all! I think we are lucky to have each and every one of them. Between them they create the balance we need to satisfy the more reasonable members among us. All we need to improve our community is more volunteers! At this point in my life, I would not like to live anywhere else." ~Ginnette L.
This invention relates to household-type mops and more particularly to wet mops employing compressible absorbent cleaning elements with flat mopping surfaces and having built-in means for wringing absorbed moisture therefrom. More specifically, it relates to an advanced wringable household mop which provides improved performance and appearance, employs user-friendly components and is otherwise ergonomically correct, and can be manufactured at competitive costs. As will be apparent, the compressible absorbent cleaning element in the preferred embodiment of the invention comprises natural or synthetic sponge materials similar to those extensively employed in various forms in prior art mops for such purposes. Each of the many prior-art wringable mops employing same, however, suffer from one or more shortcomings. For example, many of the presently-designed sponge mops have rounded or curved cross sections which undesirably minimize the mop area in actual contact with the surface being mopped, or vary such area, sometimes unevenly, depending upon the pressure applied. This cuts down on mopping uniformity and efficiency and accelerates or causes uneven wear. Built-in mechanisms for self-wringing of the prior-art sponges are popular but have their own set of problems. For example, in some instances, particularly in the case of mops employing flat sponges, the wringing mechanisms are effective in removing absorbed moisture but have a tendency to entrap dirt particles. Instead, the wringing mechanism should preferably tend to flush out the dirt particles along with the absorbed fluids. In some instances, the wringing mechanisms perform their function but create still other problems. For example, some wringing mechanisms flex the normally-flat sponge as much as 150.degree. or more, potentially leading to premature stress failure. Some wringing mechanisms or portions thereof are forwardly disposed and obscure all or portions of the forward edge of the sponge from the vision of the user. They also act like an unnecessary bumper and inhibit efforts to advance the sponge itself to the immediate proximity of upstanding articles, such as walls, furniture, and the like. Similarly, some wringing mechanisms, while not forward facing, project in the "at-rest" position beyond the sides of the sponge, again inhibiting the ability to mop surfaces immediately adjacent upstanding articles. They also create the potential for damage or appearance problems, particularly from scraping or marring contact. When stored, some wringing mechanisms unduly project from the mop itself and take up excessive space or obstruct the storage area. Other sponge mop wringer designs employ rollers which necessarily operate at a fixed radius with respect to the axis of rotation and do not lend themselves to alternative embodiments which are not so limited. A design which lends itself to a variety of separate embodiments, e.g., a fixed radius, variable radii or limited-variable radii is preferable in order to meet differing requirements. Still other designs require excessive and awkward positioning and manipulative effort by the user to wring out the sponge, including rotation of the wringer lever through excessive operating arcs, e.g., as much as 130.degree. or more. In some designs, the return stroke of the wringing-out cycle is essentially wasted motion; it has little wringing effect but still requires substantial effort. In some prior-art designs, the wringing operation results in excessive exposure of the hands and arms of the user to the fluids and contaminants being expelled. While this problem can be minimized by repositioning of the hands during portions of the wringing-out cycle, such efforts are self-defeating from the standpoint of efficient work habits. In still other prior-art designs the necessary periodic replacement of worn sponges is a burdensome task, sometimes requiring a tool or other instrument. Coupled with other shortcomings hereinabove set forth, the use of the mop on the whole is hardly user-friendly. Not only must the mop of the present invention provide superior mopping and wringing functions, the cost of manufacture must be consistent with the highly competitive pricing conditions found in the marketplace for such a product. Accordingly, the number of components must be limited, the complexity thereof must be minimized and other costs of manufacture, including assembly, must be competitively acceptable. Many prior-art mops have failed one or more of these criteria. This is vividly illustrated, for example, by many prior-art designs which employ a plurality of roller units to wring out the cleaning element. In addition to superior functionality and competitive manufacturing cost, the resulting product, by its appearance on the display shelf, must quickly appeal to the purchaser even upon superficial inspection. How it works must be readily apparent. Some prior-art designs, while achieving functionality or cost goals, fail to create or convey such perception to the average purchaser upon initial inspection. Often, this situation results in no further inspection and no sale.
M64 sits in the constellation Coma Berenices, which is a bit low in the sky setting in the west at sunset, so is pretty much un-observable at the moment, and I think that remote robotic telescopes in the northern hemisphere won't allow you to observe that low. Really it is a Spring constellation, though might come into view for imaging Feb onwards, depending on the telescope location. If you are at school, you could try to get them to get you access to the Faulkes Telescopes, which have some nice big robotic telescopes. There are a lot of galaxies available at the moment, so you might need to pick a different one depending on your project needs.
package=dbus $(package)_version=1.10.14 $(package)_download_path=http://dbus.freedesktop.org/releases/dbus $(package)_file_name=$(package)-$($(package)_version).tar.gz $(package)_sha256_hash=23238f70353e38ce5ca183ebc9525c0d97ac00ef640ad29cf794782af6e6a083 $(package)_dependencies=expat define $(package)_set_vars $(package)_config_opts=--disable-tests --disable-doxygen-docs --disable-xml-docs --disable-static --without-x endef define $(package)_config_cmds $($(package)_autoconf) endef define $(package)_build_cmds $(MAKE) -C dbus libdbus-1.la endef define $(package)_stage_cmds $(MAKE) -C dbus DESTDIR=$($(package)_staging_dir) install-libLTLIBRARIES install-dbusincludeHEADERS install-nodist_dbusarchincludeHEADERS && \ $(MAKE) DESTDIR=$($(package)_staging_dir) install-pkgconfigDATA endef
Hey Capt Owen Honors can solve this problem… …all he has to do is apply for a NEA grant for his videos and then it will be considered art and all will be well. I haven’t seen the full videos yet so I don’t know how far over lines he crossed but if this has been out for 5 years and the crews didn’t have an issue with it who am I to say otherwise? I’m inclined to give a bunch of folks trying to keep loose while deployed far from home a bit of a pass but I reserve the right to change my mind once I’ve seen the full videos. My gut feeling is, this guy was trying to connect with his crew in a positive way. He was trying to help sailors have fun. He was purposefully ignoring all manner of political correctness. For that, I salute Captain Owen P. Honors. We all know what political correctness gets us, anyway. It gets us children who can’t call dogs “Nazis.” It gets us children who can’t play Cowboys and Indians. Goodness knows, it gets us Season’s Greetings instead of Christmas. Oh, by the way. The USS Enterprise is scheduled to deploy soon. Are they going to replace its CO because of these four-year-old video clips? After the hard work that Captain Honors has successfully seen the ship through? I hope not. We’ll see. Captain Honors’ job is high-profile. This controversy comes two weeks after the repeal of DADT. Coincidence? The beginning of a purge? Or simply a disgruntled sailor, looking for revenge? I suppose most sailors aboard a carrier aren’t living with much fear of being shot during deployment, strictly speaking. Nevertheless, ship life is grueling and repetitive. It’s basically a floating prison, only most prisons have better amenities and the convicts aren’t expected to work as hard. The weight of the wartime mission is stessful. Sailors know how important ship support is to the ground war. Certainly there is a level of hazard for all of them as well. Thanks for the link, man. I really hope Capt Honors isn’t relieved of his command. My biggest worry over DADT implementation is a wave of good leaders either leaving or getting forced out because of over-zealous enforcement of political correctness. If political correctness can cause a guy like Maj. Nidal Hasan to remain active duty until he cracks, then it can wreak all manner of havoc.
Among Rare’s contributions to the very best games on the Nintendo 64—Banjo-Kazooie, GoldenEye, Banjo-Tooie—there is only one that has really never been recreated successfully. That is Diddy Kong Racing, a kart racer that was really so much more. While there would be great FPS’ on console (even some decent Bond FPS’), and 3D platformers would take hints from Banjo’s flirtation with adventure game logic, very few games would combine racing with Super Mario 64_-style adventuring, the way _DKR did. You could argue racing games with wide open world structures and hidden secrets have carried the torch, in some structural ways, but no other game has really captured the feeling of DKR. And it’s been twenty years now. The game has very humble origins. It was sort of the B-game at Rare while the behemoth of Banjo-Kazooie was in development, a humble Pro-Am branded racer with proto open-world and adventure game elements. The racing genre was chosen, reportedly, because Rare just didn’t have anything like it in their lineup. When Banjo-Kazooie was going to slip the holiday release window in 1997, production ramped up on DKR, and it would be unveiled as the “surprise” big game from Rare. The core of the game itself was mostly done, but Rare artist Lee Musgrave told Nintendo Life: "Thankfully, the tracks were mostly done, and the pick-ups were arbitrary, made-up things. It was just kind of a rush job to change the packaging of it,” in a 2014 interview. It got a ton of advertising push, and went on to be monstrously successful. I have no idea what crunch hell getting this game into the kind of shape it needed to be in about six months was. All I know is that the game that Rare put out, the game I received a batshit VHS tape for in the fall, the game I opened on Christmas day 1997 and didn’t put down until… lord knows how long after, was a masterpiece. Here’s the Nintendo Power commercial in question. It is a thing of beauty: What made the game so special was the adventure framing. DKR was set in a colorful pseudo-open world, and you needed to collect golden balloons (the same concept as stars in Super Mario 64), which would in turn unlock new worlds. After winning races, you’d face off against a boss character (in a difficult race), and then, the silver coin challenge, wherein you’d need to find 8 silver coins on each track and win first place. Then, you could face the boss again, and it was always a stiffer challenge. The stakes always escalated in this game. And, importantly, you were always rewarded for practice, diligent play, and knowing the territory. There was an entire sci-fi bonus world to unlock, with its own collection of tracks. Shortcuts. A complete lack of Mario Kart 64’s cheapass rubber-band AI. If you knew what you were doing in DKR, you could easily lap opponents. Better still, there were actual secrets on the tracks, not just shortcuts. One track in each world held a secret key, which you could only find by going well off the beaten path. If you found it, a multiplayer arena would unlock for that world. I loved Mario Kart 64. I loved its weird worlds and the places it evoked. It’s something I’ve always enjoyed the most about racing games, being in beautifully places (extra points if they are weird and visually interesting), and moving in ways that feel good. DKR took that all much, much further, by inviting you to actually explore these spaces, and rewarding you handsomely for doing so. Article continues after the break: I’ll continue to go to bat for Rare’s golden age, for as long as there are naysayers who insist the googly-eyed animals and cribbing the Mario playbook were signs of a me-too game company. There is simply too much to admire in the design of Rare’s best games: the level design, mechanical grace, and pacing of Banjo-Kazooie, the leaning into adventure game logic and inter-world interaction of Tooie, the brilliant, subtle genre-blending here in DKR. There’s a richness and depth to them, and a creative side that I wish we’d see replicated more often. Diddy Kong Racing was a massive success, but, likely due to Microsoft acquiring Rare, it never appeared on the Virtual Console or in Rare Replay, aka, the giant compilation of most of Rare’s best games. There was a DS port, which may be the easiest way to experience it today, but I certainly prefer it on a nice big CRT TV. The closest we have to its creativity and colorful, joyful tone is the Sonic and All Stars Racing series, another underdog in a genre created by and still living under the shadow of king Mario Kart. They are fantastic games, but they don't have quite the same sense of adventure or exploration as Diddy once did.
Management of systemic venous anomalies in the pediatric cardiovascular surgical patient. Systemic venous anomalies are rare and heterogeneous entities. Although these anomalies are rare in the general population, they occur more frequently in the subpopulation with congenital heart disease. In and of themselves, most of these lesions have no physiologic significance. However, in the setting of congenital heart disease these lesions may significantly alter surgical treatment. This review is dedicated to these lesions.
ive of 167*y**7/7 + 34*y**3/3 - 3*y + 200. Find the third derivative of t(m) wrt m. 20040*m**3 Let d(s) = -s - 1. Let c(i) = 4*i - 12. Let b(a) = -c(a) - 3*d(a). Let g be b(12). Find the first derivative of -3*z - 2*z - 2*z - g*z - 10 wrt z. -10 Suppose 6*z - 3*z + 15 = 5*v, -3*v - z = 5. Suppose 2*d - 50 = 4*w - 9*w, v = -w + 3*d + 10. Differentiate -1 + 3 - 3*x**2 + w*x**2 wrt x. 14*x Let y(g) be the second derivative of -g**7/21 + 5*g**5/4 - g**4/12 - 33*g**3/2 + 26*g. What is the third derivative of y(x) wrt x? -120*x**2 + 150 Let i = -96 - -99. Let n = 7 - 3. Find the third derivative of n*h - 4*h + 0*h**4 + 7*h**2 - i*h**4 wrt h. -72*h Suppose 0 = -b - 7 + 11. Let q(z) be the third derivative of 0*z**b - 2*z**2 - 5/6*z**3 + 0*z + 0 - 1/15*z**5. What is the derivative of q(t) wrt t? -8*t Let b = -95 - -105. Find the first derivative of -36*c**2 + 9 + b + 4 - 7 wrt c. -72*c Let k(h) = -94*h - 30. Suppose -2*m = 5*d - 9, -4*d - 2 - 2 = 0. Let s(j) = 31*j + 10. Let b(a) = m*s(a) + 2*k(a). What is the derivative of b(x) wrt x? 29 Suppose v + 4*r - 3*r = -1, -4*r = 12. What is the third derivative of x**4 + 6*x**4 - 5*x**v - 2*x**2 + 3*x**4 wrt x? 240*x Let t(q) be the third derivative of 0*q**4 + 7/10*q**5 + q + 0 + 23/60*q**6 + 0*q**3 - 10*q**2. What is the third derivative of t(n) wrt n? 276 Let c(s) be the first derivative of 17*s**5/20 - s**3 + 14*s - 18. Let u(y) be the first derivative of c(y). Find the second derivative of u(k) wrt k. 102*k Suppose -3*i + 14 = 2*s - s, 16 = 2*s + 2*i. Suppose 4*t = x - 20, 5*x = 3*t + 27 + 5. Find the third derivative of -x*j**2 - 4*j**s + 4*j**2 - 3*j**2 wrt j. -240*j**2 Let t(x) be the first derivative of -3*x**6/10 + 11*x**4/12 - 11*x - 2. Let v(j) be the first derivative of t(j). Find the third derivative of v(n) wrt n. -216*n What is the second derivative of -v**5 + 4 - 2 - 22*v**2 - 58*v + 0*v - v wrt v? -20*v**3 - 44 Suppose 0 = -w - 5, -3*w + 2*w = c - 33. Find the second derivative of -c*k**5 + 41*k**5 + 2*k - 2*k**3 + 8 + 0*k wrt k. 60*k**3 - 12*k Let f be 4/(-10) - 7/((-140)/8). Let n(u) be the third derivative of 6*u**2 - 1/6*u**3 + 0 + 0*u**4 - 1/60*u**5 + f*u. What is the derivative of n(s) wrt s? -2*s Suppose 1 = 4*v + 5*c, v - 2*c + c - 7 = 0. What is the second derivative of -12*x**4 - 9*x**v + 39*x + 23*x - 39*x wrt x? -252*x**2 Let q(o) be the second derivative of 13/2*o**2 + 0 + 1/12*o**4 + 4*o + 0*o**3. Differentiate q(d) wrt d. 2*d Let v(o) = o + 10. Let m be v(-11). Let n be (24/(-3) + 4)/m. Find the second derivative of -7*j - n*j + 13*j**2 + 3*j**2 - 6*j**2 wrt j. 20 Let i(d) be the first derivative of d**4/4 + 3*d**3/2 + 9*d**2 - 23. Let r(b) be the second derivative of i(b). What is the first derivative of r(o) wrt o? 6 Suppose -4*n + 20 = n. Let o(j) be the second derivative of 0*j**3 + 2*j + 0 + 2/3*j**n - 3/2*j**2. What is the derivative of o(g) wrt g? 16*g Let h(u) be the second derivative of 269*u**5/20 + u**4/6 - 37*u**2/2 - 16*u + 15. Find the third derivative of h(r) wrt r. 1614 Let f(q) be the second derivative of q**7/21 - 3*q**6/10 - 10*q**4/3 + q**3/3 - 152*q. What is the third derivative of f(d) wrt d? 120*d**2 - 216*d Find the second derivative of o**5 - 80 - 8*o**4 + o**5 + 47*o + 79 wrt o. 40*o**3 - 96*o**2 Let g(n) be the first derivative of -9*n**6/40 + 5*n**3/6 + 2*n**2 + 26. Let d(u) be the second derivative of g(u). Differentiate d(v) with respect to v. -81*v**2 Suppose 10 = 2*w + 6. Let y be (1/2)/(1/w). What is the first derivative of -2 - 1 + y - 3*f**3 wrt f? -9*f**2 Suppose -2*p + 7 = -3. What is the second derivative of 47*k**2 + 2 - p - 9*k + 9 - 3 wrt k? 94 Let x(k) be the first derivative of -105*k**6/2 + 2*k**3/3 + k**2/2 - 106*k - 299. What is the second derivative of x(m) wrt m? -6300*m**3 + 4 Let t(l) be the second derivative of 33*l**5/20 + 13*l**2 - 24*l. What is the first derivative of t(n) wrt n? 99*n**2 Let n = 7 - 3. Suppose 0 = -n*m + 24 + 8. Find the third derivative of 0*f**2 + 5*f**5 - f**2 - m*f**5 wrt f. -180*f**2 Let z = 40 + -25. Suppose u - 20 = -z. What is the derivative of -8*y**3 - u + 2 + 9*y**3 wrt y? 3*y**2 Let d(o) = o + 10. Let u be d(-6). Find the second derivative of 0*r - 11*r**2 + 6*r - u*r + 8*r wrt r. -22 Suppose 10 = -4*b - 2. Let w be 2*b - (-3 - 0). Let l(k) = -k - 1. Let q(c) = -3*c**2 - 3*c - 7. Let x(s) = w*l(s) + q(s). Differentiate x(r) with respect to r. -6*r What is the third derivative of 13*w - 156*w**3 + w**4 + 2*w**2 + w**4 - 201*w**3 - w**4 + 108*w**3 wrt w? 24*w - 1494 Let u(m) be the first derivative of -7*m**5/10 + 2*m**3 - 9*m - 16. Let i(d) be the first derivative of u(d). What is the second derivative of i(z) wrt z? -84*z Let k(b) be the first derivative of 5/4*b**4 + 5/3*b**3 + 0*b + 0*b**2 - 1. Find the third derivative of k(g) wrt g. 30 Let q(p) be the first derivative of 36 + 37/2*p**2 + 10*p**4 + 0*p**3 + 0*p. Find the second derivative of q(h) wrt h. 240*h Let d(l) = -l**2 + 38*l. Suppose 0 = j - 5*j - 16. Let p(s) = -13*s. Let a(t) = j*d(t) - 11*p(t). What is the second derivative of a(w) wrt w? 8 Let o(r) be the third derivative of r**4/4 + 362*r**3/3 - r**2 + 17*r. Differentiate o(i) with respect to i. 6 Let f = -20 + 29. Find the third derivative of 12*v**5 + f*v**2 - 4*v**2 + 16*v**2 wrt v. 720*v**2 Let i(m) = m**4 - m**3 + 1. Let t(w) = w**4 + 5*w**3 - w + 108. Let r(g) = -5*i(g) - t(g). What is the derivative of r(l) wrt l? -24*l**3 + 1 Let f(q) = q**3 - 10*q**2 + 17*q - 6. Let z be f(8). What is the third derivative of 16*w**3 + 2*w**2 + 7*w**z + 6*w**2 wrt w? 96 Let k(f) = -f**2 - 22*f - 16. Let m be k(-21). Differentiate 0*s**4 + 0 + 11 - m*s**4 wrt s. -20*s**3 Let i(m) = 6*m**3 + 8*m. Let b(x) = -x. Suppose -14*v + 13*v + 4 = 0. Let z(l) = v*b(l) + i(l). What is the second derivative of z(q) wrt q? 36*q What is the third derivative of 583*n**5 - 286*n**5 - 295*n**5 - 5 - 172*n**2 + 5 + 50*n**3 wrt n? 120*n**2 + 300 Let a(q) be the first derivative of 0*q**4 + 0*q - q**3 + 0*q**5 - 1/7*q**7 + 0*q**2 - 5 + 0*q**6. What is the third derivative of a(v) wrt v? -120*v**3 Let v(p) = -63*p - 14. Let x be ((-24)/(-32))/(((-1)/(-4))/1). Let f(z) = -125*z - 28. Let s(m) = x*f(m) - 5*v(m). What is the first derivative of s(b) wrt b? -60 Let n(b) be the third derivative of b**8/168 + b**5/12 + 25*b**4/12 - b**2 - 11*b. Find the second derivative of n(c) wrt c. 40*c**3 + 10 Let u(x) = -x - 9. Let q be u(-9). Suppose q*w = -2*w + 16. What is the second derivative of w*a - 13*a**2 - 5*a + 5*a wrt a? -26 Let k(m) be the second derivative of 4*m - 7/2*m**2 + 0*m**4 + 0*m**3 + 0 - 1/5*m**5. Differentiate k(c) wrt c. -12*c**2 Let b(q) be the third derivative of q**9/504 + 69*q**8/112 - 43*q**5/60 - 73*q**2 + 4*q. Find the third derivative of b(d) wrt d. 120*d**3 + 12420*d**2 Let s(g) be the second derivative of -209*g**5/20 + 221*g**4/12 + 33*g + 2. Find the third derivative of s(i) wrt i. -1254 Suppose -2*a + 0*a - 49 = -5*v, -3*a + 3 = v. Let c be 2 + v/(27/6). What is the second derivative of -c*b**3 - 6*b**3 + b**3 - 2*b**3 - 2*b wrt b? -66*b What is the second derivative of 18447*k - 655*k**4 - 19278*k + 140*k**4 wrt k? -6180*k**2 Let j(c) be the third derivative of 31*c**4/12 - 379*c**3/6 + 70*c**2. Differentiate j(l) wrt l. 62 Let o(w) be the third derivative of -2*w**9/7 - 7*w**5/60 - 2*w**3/3 + 140*w**2. Find the third derivative of o(a) wrt a. -17280*a**3 Let o = 7 - -6. Let n = o - 8. What is the second derivative of 5*q**n - 2*q - 2*q + 10*q - q**5 wrt q? 80*q**3 Let p(k) = k**4 - k**2 - 1. Let c(a) = 27*a**4 - 2*a**2 + 95*a - 3. Let m(t) = -c(t) + 3*p(t). What is the second derivative of m(z) wrt z? -288*z**2 - 2 Let o(x) = -1 + 2 - 2*x + 1. Let j = -42 + 56. Let a(l) = -10*l + 10. Let q(h) = j*o(h) - 3*a(h). What is the first derivative of q(f) wrt f? 2 What is the second derivative of -11*w + 7 + 74*w**4 - 48*w**4 - 3*w**2 - 18 wrt w? 312*w**2 - 6 Let m = 60 - 55. Let c(z) be the first derivative of 2/5*z**m + 0*z**4 + 0*z - 5 - 3/2*z**2 + 0*z**3. What is the second derivative of c(v) wrt v? 24*v**2 Let x(j) = 1156*j**2 - 35*j - 1892. Let a(i) = -771*i**2 + 25*i + 1261. Let g(h) = 7*a(h) + 5*x(h). Differentiate g(v) with respect to v. 766*v Let t be (3 - 6 - -29) + 1. Suppose
Q: Declaring, Properties, Synthesizing, and Implementing int[] array in Objective C How do you declare, set properties, synthesize, and implement an int array of size 5 in Objective C? I'm writing this code for an iphone app. Thanks. A: I think the "Cocoa-y" thing to do is hide the int array even if you use it internally. Something like: @interface Lottery : NSObject { int numbers[5]; } - (int)numberAtIndex:(int)index; - (void)setNumber:(int)number atIndex:(int)index; @end @implementation Lottery - (int)numberAtIndex:(int)index { if (index > 4) [[NSException exceptionWithName:NSRangeException reason:[NSString stringWithFormat:@"Index %d is out of range", index] userInfo:nil] raise]; return numbers[index]; } - (void)setNumber:(int)number atIndex:(int)index { if (index > 4) [[NSException exceptionWithName:NSRangeException reason:[NSString stringWithFormat:@"Index %d is out of range", index] userInfo:nil] raise]; numbers[index] = number; }
""Apartment For Rent"" "l`d like a phone slug." " All out." "Down, back and left." " Thanks." "Momma, this is Jeanne." "There`s an apartment in Passy l`m going to see." "Then I go meet Tom at the station." "See you later." "Kisses." "So long." "l`m here for the apartment." "I saw the sign." " Sign?" " Yes." "What sign?" "Always the same." "Nobody tells me anything." " l`d like to see it." " To rent it?" "I don`t know yet." "They rent, they leave, and l`m the last to know." "You think that`s fair?" "If you want to go up alone, go on." "l`m afraid of the rats." "The key is gone." "Lots of strange things happen." "They drink six bottles a day." "Wait." "There must be a duplicate." "Here it is." "You`re very young, right?" "Let me go, please." "She`s crazy." "Where are you?" "What a fright." "How`d you get in?" "By the door." "Oh, yes. I left it open." "But I didn`t hear you come in." " l was already here." " Excuse me?" "Then the key" "And I bribed the concierge." "These old houses are fascinating." "An armchair would look good here." "The armchair has to go... in front of the window." "You are American?" "You have an American accent." " Will you rent it?" " And you?" "I don`t know." "Do I answer or not?" "There is no one." "I don`t know." "Then you decided to take it?" "I had decided, but" "But now I don`t know." "Do you like it?" "Do you?" "I have to think about it." "Think fast." "You still here?" "Attention." "Who do they take us for?" "This is cinema." "We`re making a movie." "If I kiss you, that might be cinema." "If I caress you, it might be cinema." "What the devil do they want?" "I know them." "l`m shooting a film-- "Portrait of a Girl--" for television." "And the girl is you." "But you`re mad!" "You should have asked my permission." "Yes, but it amuses me... to begin with the girl of the portrait who meets her fiance." "This is my crew." "And so you kiss me... knowing it`s a film." "Coward!" "See, it`ll be most of all a love story." "Tell me,Jeanne." "What did you do while I was away?" "I thought of you day and night and I cried." "Darling, I can`t live without you." "Magnificent!" "Stop!" "Perfect!" "I wanted to clean up... but the police didn`t let me." "They didn`t believe in suicide." "Too much blood all over." "They had fun making me reenact." ""She went there." "She went here." "She opened the curtain."" "I did everything like her." "The clients, awake all night." "The hotel full of police." "They playing around with the blood." "All spies." "If she was sad, if she was happy... lf you fought, if you hit each other." "And then when you were married... why you didn`t have children." "Pigs." "They treated me like dirt." "They said..." ""Nervous type, your boss." "You know he was a boxer?"" "So?" ""But he didn`t do well."" "Then he was... an actor." "And then a bongo player." "Revolutionary in South America." "Journalist in Japan." "One day he debarks in Tahiti." "Wanders around." "Learns French." "Then he arrives in Paris." "And here... meets a woman with money." "Marries her and" ""Now what`s your boss do?"" "He`s kept." ""Can I clean up now?"" ""Don`t touch anything." "You really think... she killed herself?"" "And then he pushed me in a corner trying to" "Turn off the water." "Maybe they`ll do an autopsy." "Why don`t you turn off the water?" "Here`s your razor." "lt`s not mine." "They don`t need it anymore." "The inquiry is over." "Yes, she had some cuts here and on the neck." "Excuse me." "Where should I put it?" " You could have rung." " lt was open." "Here?" "No, in front of the fireplace." "And these chairs?" "Here`s the table." "Where do I put it?" "How do I know?" "He`ll decide." "l`ll leave it here." " Heavy. lt`s really a double." " But it won`t fit." "You`ll see." "Your husband`ll find room." "What a mess." "Thank you." "This armchair has to go in front of the window." "Like that." "I only came to return the key." " To return it to you." " What do I care?" "Take off your coat." "Come on." "Give me a hand." "Take these chairs... and put them here." "Put them on the other side." "Take it too." "You didn`t lose any time." "Listen, sir... I have to go." " l thought l`d find you here." " l expected you later." "I took the first train." "Paul, how horrible!" "Papa is in bed with asthma." "The doctors forbade him to come." "Better." "l`m stronger." "What are you looking for?" "Something that explains it." "A letter, a clue" "There`s nothing, absolutely nothing." "lt`s impossible that my little Rose" "Nothing for her mother." "Not a word." "Useless to look anymore." "Not even for you, her husband." "You need to rest." "Maybe there`s a vacant room." "With a razor?" "What time did it happen?" "I don`t know." "At night." "And then?" "And then-- l already told you on the phone." "When I found her... I called the ambulance." "After your telephone call... we were awake all night long... talking about you and Rose." "And Papa talked softly... as if it happened in our house." " Where did it happen?" " ln a room." "Did she suffer?" "Ask the doctors who did the autopsy." "The autopsy?" "I already had some announcements." "l`ve had enough of deaths." "I think of everything." "I do." "l`ll prepare a lovely funeral chamber... with lots of flowers." "The cards... the mourning clothes, the flowers." "You have everything in that suitcase." "You didn`t forget anything." "But I don`t want any priests here." "Understand?" "You need them." "It must be a religious funeral." "Rose wasn`t a believer." "Paul, don`t shout." "Don`t shout like that!" "They`ll give her absolution." "Absolution and a nice mass." "That`s all I ask." "Understand?" "Rose-- She`s my baby girl." "Why did she kill herself?" "Why?" "Why did she kill herself?" "Why?" "You don`t know, do you?" "You don`t know." "You shouldn`t have done that to me." "But it`s not a wig." "lt`s mine." "l`m not beautiful?" "Tell me you don`t like the way I look." "But I do like the way you look." "Listen." "You seem changed, but you`re the same." "I can already see a shot." "The camera is high." "It slowly descends toward you." "And as you advance, it moves in on you." "There`s music too." "It gets closer and closer to you." "l`m in a hurry." "Let`s begin." "But first we`ll talk about it a little." "Tonight we improvise." "Follow me." "He was my childhood friend." "He would watch me for hours." "Maybe he understood me." "Dogs are better than people." "May I present Olympia, my nurse." "Mustapha knew how to tell the poor from the rich." "If someone well-dressed came in, he didn`t growl." "But if it was a beggar, you should have seen him." "The colonel had him recognize Arabs by their odor." " Olympia, open the door." " First, give me a kiss." "Go and open it." "Olympia is the personification of domestic virtue." "Faithful, economic and racist." "At Papa`s death, we moved to the old country house." "My childhood was made up of smells." "The mold on the walls, the closed rooms." "Many children came to play." "We ran from morning to night." "Growing old is a crime." "That`s me." "And that`s Mademoiselle Sauvage, the teacher." "Severe and religious." "She was too good and spoiled you." "This is Christine." "The best friend." "She`s married and has two children." "lt`s like a village here." "Everyone knows everyone." "I couldn`t live in Paris." "lt`s more humane here." "lt`s melancholy remembering the past." "Why melancholy?" "lt`s marvelous." "lt`s your childhood." "lt`s everything I want." "And what are you doing there?" "Who are all these zombies around us?" "The door!" "l`m opening the door." "l`m opening the doors!" " What are you doing?" " Setting up the shot." "There. I found it." "Reverse gear." "And what are you doing here?" "Beat it!" "Scram!" "Yes." "Reverse gear!" "Understand?" "Like a car." "Put it in reverse." "Close your eyes." "Back up." "Close your eyes." "Come forward, backing up." "Keep going and find your childhood again." "lt`s Papa." "There." "You take off and find your childhood again." "In full dress uniform." "Don`t be afraid." "Overcome the obstacles." "Papa in Algiers." "You are fifteen." "Fourteen." "Thirteen." "Twelve." "Eleven." "Ten." "Nine." "My favorite street at eight years old." "My notebook." "My French homework." "Theme: "The Countryside."" "Exposition: "The country is the home of the cows." "The cow is all dressed in leather." "The cow has four sides:" "front, back... top and bottom."" " lsn`t that good?" " Really charming." "Source of my culture was Larousse and I copied it." ""Menstruation." "Feminine noun." "Physiological function consisting in flow." "Penis." "Masculine noun." "Organ of copulation, measuring between five and 40 centimeters."" "This is a little Robert!" "Look." " Who is it?" " My first love." " Who?" " lt`s my cousin Paul." "The first love." " But his eyes are closed." " What?" "His eyes are closed!" "He played piano very well." "That`s how I remember him-- sitting at the piano." "His fingers flew over the keys." "He practiced hour after hour." "At the bottom of the garden there were two trees." "A plantain and a chestnut." "Sunday after mass... everyone sat under his own tree." "It was marvelous." "We looked into each other`s eyes." "And for me these trees were the jungle." " What are you doing?" " We`re shitting." "Why?" "Can`t you see ?" " ln my jungle?" " Let`s run!" "Shoot!" "Shoot!" "Did you get everything?" " Did you get it?" " Everything." "Olympia was sublime." "She gave a precise idea of her racism." "This really is a jungle." "Tell me about your father." " Aren`t we finished?" " Five minutes." "But l`m in a hurry for work." "But the colonel?" "The colonel had green eyes and shiny boots." "I loved him like a god." "He was so handsome in his uniform." "What are you saying?" "I forbid you." "He died in `58 in Algeria." "In `58, and I forbid you to joke." "Why don't you listen to me?" "The first time?" "I was very late for school." "I began running downhill." "Suddenly, I felt a strong sensation here." "I came as I ran." "Then I ran faster and faster, and the more I ran... the more I came." "Two days later I tried running again... but no dice." "Why don`t you listen to me?" "You know, it seems to me l`m talking to the wall." "Your solitude weighs on me, you know?" "It isn`t indulgent or generous." "You`re an egoist!" "We can`t sleep with this music." "I came to this hotel for one night... and stayed for five years." "When we had the hotel people came here to sleep." "Now they do anything." "They hide out, take drugs, play music." "Remove that hand." "You`re not alone." "l`m here." "You`re crazy!" "l`m beginning to understand." "You want me to stop the music?" "Okay." "l`ll make him shut up." "What are you doing, Paul?" "Turn on the light." "Light, Paul." " Good night, Madam." " Good night." "Good night, Marcel." "Good night, Paul." "Who is it?" "You like?" "He was Rosa`s lover." "I am coming." "I am ready." "Are we going together?" "He is a jerk." "He didn`t even say bye!" "What are you doing here?" "l`m coming. l`m flying." "Stay there!" "Why didn`t you talk on the phone?" "What`s the matter?" "Find another girl for your film." "But why?" "You take advantage of me." "You make me do things l`ve never done." "You`re stealing my time." "You make me do whatever you want." "The film is over." "l`m tired of having my mind raped!" "Come in." "You wanted to talk to me?" "Do." "But... "l didn`t come here to cry with you."" "It bothers you if I keep working?" "It distracts me after what happened." "identical." " Rose wanted them identical." " Our bathrobes." "You can`t tell me anything I don`t already know." "Same color, same design." "Yes, yes." "You are precise." "l`m wondering why... you save these newspaper clippings." "is it a job or a hobby?" "I don`t like the word "hobby."" "lt`s a job to roll out the salary." "Then it`s serious." "lt`s a job that makes you read." "Very instructive." "Be sincere." "Didn`t you know we had identical bathrobes?" "We have lots of things in common." "I know everything." "Rose often told me about you." "I don`t think there are many such marriages." "lt`s strange." "l`m thirsty." " A sip of bourbon?" " Wait." "Here`s the "bourbon."" "Another present from Rose?" "I don`t like it, but Rose always wanted it around." "l`ve often wondered... if by these details... by certain unimportant things... one can explain... understand together." "Together?" "For almost a year Rose and I, without passion... but regularly-- l thought I knew her as one can know" "One`s mistress." "For example, a while ago something happened... I couldn`t explain." "Look there on the wall." "She climbed up on the wall... and tried to tear off the paper with her hands." "I stopped her." "She was ruining her nails." "She did it with a strange... violence." "I had never seen her like that." "Our room is painted white." "She wanted it different from the others... so it would seem like... a normal house." "She wanted to change in here too... and she`d begun with the walls." "A fever blister." "Shit." "You were lucky enough to-- to be" "You must have been a good man... 20 years ago." "Not as much as you." "You have all your hair." "I have to cut it often and wash it." "I wash my hair often." "Do you have massages?" "You`re in good shape." "What do you do for the belly?" "That`s my problem." "Here." " l have a secret." " What?" "Thinking of leaving?" "The suitcase." "America." "Why did she betray you with me?" "You don`t think Rose killed herself?" "lt`s difficult for me, too, to believe it." "Here`s my secret." "Thirty times every morning." "Really, Marcello... I wonder what she ever saw in you." "Are you here?" "Nobody here?" "Hi, monster." "Something wrong?" "What do you think?" "That an American on the floor in an empty house... eating cheese and drinking water is interesting?" "What`s under here?" "An empty space." "What are you doing here?" "Shit!" "Know why I sent everyone away?" "Because you want to be alone with me." "And why?" "Because you have something important to tell me." "lt`s something very important." "Happy or sad?" "lt`s a secret." "Then it`s happy." "What kind of secret?" "A secret between a man... and a woman." "Dirt or love?" "Love." "And it`s not everything." "A love secret that isn`t everything?" "What is it?" "That in a week l`m marrying you." "What?" "l`m marrying you!" " l`m marrying you!" " Marrying me?" " Let`s get married?" " Yes." "Let`s get married!" " Shall we marry or not?" " Yes, let`s get married." "Yes or no?" "Send everything to the country." "What do you think,Jeanne?" "Olympia will be happy." "I went with Tom." "He`s preparing a family museum." "Papa`s boots, no." "l`ll keep them." "They give me strange shivers." "These military things never get old." "How heavy it was when Papa taught me to shoot." "l`ll keep that." "lt`s a good idea to have a weapon in the house." " But if you don`t know how to use it?" " lt`s enough to have it." "It frightens." "You saved everything of Papa`s." "This was his orderly." "A fine example of a Berber." "A strong race, but as servants-- disastrous." "Send everything to the country." "Enough accumulating." "Don`t worry." "Soon you`ll have lots of space." "What`s that mean?" "Nothing." "Madame, the colonel`s lady, announces..." "What?" "that in these solemn days..." "What solemn days?" "l`m getting married in a week." "What did you say?" "To Tom!" "In a week!" " What?" " Tom!" " ln one week!" " What are you doing in a week?" "Rolling." "Five... two." "Come forward." "Start shooting." "Yes, yes, we are coming." "Wait." "Push your arm." "How do you see marriage?" " The marriage?" " Yes." "I see it everywhere." "Always." "Everywhere?" "On walls, on housefronts." "Yes, on posters." "What do the posters say?" "They talk about cars... canned meat, cigarettes." "No, the subject is the young couple... before marriage, without children." "Then, after the marriage, with the children." "Marriage, in short." "The ideal, successful marriage... isn`t anymore the old style, in church... with a depressed and a complaining wife." "Today, the advertising marriage is smiling." "Smiling?" "In the posters." "But why not take the poster marriage seriously?" "Marriage." "The pop marriage." "Pop." "There`s the formula." "For pop youth, pop marriage." "And if it doesn`t work?" "Fix it like a car." "The couple are two workmen in overalls... repairing a motor." "And in case of adultery, what happens?" "Instead of two workmen, there are three or four." "And love?" "is love pop too?" "No." "Love is not pop." "If it is not pop, what is it?" "The workmen go to a secret place." "They take off their overalls, becoming men and women again... and make love." "You`re superb!" "lt`s the dress that makes the bride." "You`re better than Rita Hayworth... than Joan Crawford..." "Kim Novak..." "Lauren Bacall..." "Ava Gardner when she loved Mickey Rooney!" "What are you doing?" "Stop!" "Why don`t you film with the rain?" "You are crazy!" " Where`s Jeanne?" " She ran out." "Where`d she go in this rain?" "Pardon me!" "I wanted to leave you." "I could not." "I can`t leave you." "Understand?" "Do you still want me?" "I want to get out of here." "I want to go away." "I can`t take it anymore here." "l`m going away." "l`m never coming back." "Never." "What?" "There is some noise there." "Then is there somebody?" "Hurry up!" "Wake up!" "Open up!" " But it`s 4:00 a.m. - l need the usual room." "Number 4." "Half an hour will do." "Yes, yes." "Half an hour." " We`re full." " No, indeed." "When you`re full you put out a sign." "I know." "l`m tired of arguing." "Call the owner." "Move it!" "The owner`s always been helpful to me." "We`re old friends, Rose and me." "Open, please." "Knock it off if you don`t want me to tell her." "Come in." "All set." "Happy?" "He left me." "Sorry." "Hurry, please." "He can`t be too far." "Talk him into coming back." "Tell him this can`t be done." "Please don`t say you found me." "Did you see how ugly she is?" "Once my wife was enough for me, but now... she`s got a disease that gives her snake skin." " Put yourself in my place." " Come." "Come with me." "Let me go." "Please let me go." "You`re crazy!" "Let me go!" "Don`t you remember the gentlemen in 4?" "He`s been living here for a few days." "I don`t know anyone." "They come in, go out." "The man in 4." "The lady in 1 ." "What do I know?" "Where`d they take the furniture?" "lt`s empty." "Where do you send his mail?" "Give me the address." "I don`t have it." "I don`t know anyone." " Not even his name?" " Nothing." "Miss!" "I found an apartment for us." "1 Jules Verne Street." "Yes, in Passy." "Come quick." "Come right away." "You understood where it is?" "l`ll wait for you." "Come." "Come in." "You like our apartment?" "lt`s full of light." "There`s one room too small for a big bed." "Maybe for a baby." "Fidel." "Nice name for a kid." "Fidel." "Like Castro." "But I want a daughter too." "Rose." "Like Rose Luxembourg." "She`s not as well known, but she`s not bad." "I wanted to film you every day." "In the morning when you wake up, then when you fall asleep." "When you smile the first time." "And I didn`t film anything." "Today we finish shooting." "The film is finished." "I don`t like things that finish." "One must begin something else right away." "But it`s huge!" "Who are you?" " You could get lost in here." " Oh, stop it." "How`d you find it?" "By chance." " We`ll change everything." " Everything." "We`ll change chance to fate." "Come forward." "Take off!" "You`re in heaven!" "Now dive!" "Make three turns!" "Descend!" "What`s happening to me?" "An air pocket." "What`s happening to you?" "Enough of these turbulent zones." "We can`t joke like this, like children." " We`re adults." " Adults?" "That`s terrible." "Yes, it`s terrible." " Then how must we act?" " l don`t know." "lnvent gestures, words." "For example..." "One thing I do know." "Adults are serious, logical... circumspect, hairy..." "They face all problems." "Here, this apartment is not for us." "Absolutely not." " Where are you going?" " To look for another." "Another like what?" "One you can live in." "But you can live here." "I find this sad." "It smells." " Come with me?" " No, no." "I have to close the windows, give back the keys, leave it all in order." "Okay." "Okay." "Bye." "Mr. mâitre d`hôtel." "The jury has just chosen... the following ten best couples." "Three, seven... eight, nine... eleven, twelve... thirteen, fourteen, fifteen... and nineteen." "Then, ladies and gentlemen... all best wishes for the last tango." "Out!" "What are you doing?" "lt`s love!" "Always" "But it`s a contest!" "Where`s the love fit in?" "Go to the movies to see love!" "Enough!" " Listen" " Enough!" "lt`s over!" "Go away!" "Go away!" "l`ll call the police!" "I mean, after you, mademoiselle." "So long, sister." "lt`s over. lt`s over!" "Police!" "You`re crazy!" "Help!" "Help me, please!" "Help me, please!" "Please help!" "Help!" "I don`t know who he is." "He followed me on the street." "He tried to rape me." "He`s a madman." "I don`t know his name." "I don`t know who he is." "He wanted to rape me." "I don`t know." "I don`t know him." "I don`t know who he is." "He`s a madman." "I don`t know his name."
Sunday, April 30, 2006 This Anchor Bock is a spring seasonal beer brewed in San Francisco. It was purchased in 12oz. bottles from the Beer Yard in Wayne, PA and served at refrigerated temperature. This is one of Bryan's favorite beers of the past 3 months. He tasted on draft in the brewery in San Francisco and was almost, but not quite, as impressed by the bottled version. What will Adam, Matt, and Mark say???? Have you tasted this beer? Let us know what you think in the comments section and we'll move your comments up into the tasting notes. As a suggestion, try to keep the review as brief as possible for each of the following: appearance; smell; taste; mouthfeel; and drinkability. Appearance Bryan: dark as night, with just a tinge of deep red color; light tan head that slowly fades to a thin ringAdam: dark, nice head, disappates to thin head with islandsMatt: Thick pour, almost syrupy; Dense lingering head; Dark, almost ruby red when held up to lightMark: Reddish Dark Brown; Head 1/4" - quickly dissipated. Smell Bryan: rich, oak, molasses, alcohol, fig (?) Adam: light, licorice and finish is incredible and shrinks to bitterMatt: Roasted nutty goodness... a bit of hops, but not muchMark: No pronounced identified smell other than that of any typical beer. Taste Bryan: roasted grains definitely come through in the flavor along with a noticeable, but not huge, hop bitterness Adam: oh clean sweet fresh malted spring! mmm Matt: Some more hops, but the roasted barley comes through first; Sweet malty edgeMark: Clean, light but slightly astringent; Bit of an lingering after taste. Mouthfeel Bryan: bigger upfront, fades to something of a whimper as it finishes; a bit thinner than I recall on draft Adam: carbonated, not mouth coating, clean Matt: Coats the mouth with a decent amount of carbonationMark: Light but not lacking in body; Slightly carbonated. Drinkability Bryan: yes, it is quite drinkable Adam: lighter than you would expect, yes it is drinkable Matt: This is a sippin beer for me, but much better when it's cooler (the beer that is)Mark: Goes down easy due to lightness and carbonation, but astringency lingers. Seconds? Bryan: at 5.5% ABV, I could afford to have a few of these and be happy! Adam: the nose makes you want to come back, the taste is light enought to allow that :-) Matt: Being a very dark full flavored style of bock... maybe just one more ;)Mark: One enough, not a bad beer - just not my personal preference. Saturday, April 29, 2006 Johnny Foley's Irish House is located just steps away from Union Square in downtown San Francisco, California. For when you are staying in a hotel downtown, especially near Union Square, this is an acceptable and extremely convenient Irish pub. It is also just around the corner from the end of the Powell Street cable car lines. JF's has served me well a couple of times when staying just a block down the street. When I needed a good meal and a pleasing beer menu to choose from, JF's meets those needs and provides it in a very Irish pub-like setting. If you are familiar with Fado, Tir Na Nog, and that sort of pub, then you get the idea. Small nooks to eat and drink in, perhaps some traditional music, a convivial atmosphere with a friendly crowd and service, and the requisite scotch, Murphy's, Harp, and Guinness. There seems to be an equal mix of locals, professionals, and tourists. In addition to some of the usual suspects on draft, there is also a sampling of good beer in Anchor, Sierra Nevada, and Chimay. There really is nothing to speak of on the bottle menu. So while you won't find 100 taps and 500 bottles, you will find a good meal and a handful of decent taps here at Johnny Foley's. Definitely worth a stop if you are in the area and short on time. Friday, April 28, 2006 This is a double IPA from Otto's in State College, PA. Poured from a growler the next day. This was one of six on tap. Have you tasted this beer? Let us know what you think. As a suggestion, try to keep the review as brief as possible for each of the following: appearance; smell; taste; mouthfeel; and drinkability. Appearance Adam: copper brown Bryan: solid amber with hints of red Smell Adam: faint nose, sweet, hoppy Bryan: citrus, pine; reminiscent of 120 min from DFH Taste Adam: tangy & bitter, rounded out with malt Bryan: big wonderful grapefruit, hoppy; light malt flavor Mouthfeel Adam: substantial coating, not watery Bryan: medium body; consistent texture throughout; lively without being overly carbonated Drinkability Adam: I love double IPAs and this is an awesome example Bryan: very good; even though it wreaked havoc on my allergies Seconds? Adam: uhuh...but the growler is empty....State College is too far away! Bryan: yes, for sure Don't forget that the taste of beer changes as it changes temperature. You can help or hinder the taste of a beer by serving it cooler or warmer. It's amazing what even a small change in temperature will do for a beer's taste profile. Certain beers, especially some of those fuller-bodied and flavored stouts that we've been enjoying all winter long, will start to take on different, richer flavors as they approach room temperature. Other beers, like certain pale ales should be served as close to refrigerator temperature as possible. As these beer start to warm, some of them may tend to lose their clean, crisp, and aromatic floral aromas. When it comes to cask-conditioned, though, it's a whole new story. Try it sometime. Pour a beer and take a few sips. Think about how it tastes. Then let it sit for a while. Give it a chance to drop a few degrees. Now, when you taste it do you get a fuller flavor? Not all beer benefits from warmer temperatures. Sometimes colder temperatures help mask certain undesirable flavors. I like to think that some of the best beer is able to be served at warmer temperatures. Of course that's just us, we're learning about what we like. Just like you! ;-) Thursday, April 27, 2006 This has been reported elsewhere, but it is worth repeating. The highly regarded Blind Tiger Ale House is relocating and reopening within Manhattan. Will be anxious to check out their new digs when they are due to open in late spring/early summer. Judging by the address, it will be in great neighborhood and just a stone's throw from the 1/2 subway line. Remember how small and cute they were?! We've watched them grow over the years with all the hope and promise that little ones have. Some of them have wandered astray, some of them have sadly (or not so sadly disappeared), and others have matured beautifully into model citizens. We've visited them, sent good wishes their way, and supported them however we could. It sure has been a heady ten years of growth for the craftbrewing industry. Sheesh, how time has flown. The mid-90s were quite busy in the craft/microbrewing industry with new ones popping up all around the country, probably no region much more than here in the northeast of the United States. I obviously will not recognize every brewery/brewpub celebrating ten years in the industry, so I hope that you all will contribute those that you know of in your area celebrating a decade in the business that deserve recognition. Here's to the next 10 years, and beyond, of great beer. Oh, and for all of you super-fanatical math majors, the 10th year anniversary here in my book is give or take, uh, a year! 10 years (2005, 2006)Alesmith, San Diego CAAllagash, Portland ME (just passed 11) Appalachian, Harrisburg PA Bar Harbor, Bar Harbor ME Bells, Kalamazoo MI Brooklyn, New York NY (10; in the current location/incarnation) Dogfish Head, Milton DE (almost 11) DuClaw, Bel Air MDFirestone Walker, Paso Robles CAFlying Fish, Cherry Hill NJ Fordham, Annapolis MDGeary's, Portland, ME General Lafayette, Lafayette Hill PA Great Divide, Denver CO (just passed 11) Harpoon, Boston MA Iron Hill, Wilmington DE (originally 1994, more in 1996) Lancaster, Lancaster PA (just passed 11) Middle Ages, Syracuse NY (almost 11) New Belgium, Fort Collins CO River Horse, Lambertville NJ Selin's Grove, Selinsgrove, PASly Fox, Phoenixville PA Southampton Publick House, Southampton NY Stone, Escondido CAVictory, Downingtown PA Weyerbacher, Easton PA And, a couple of geezers celebrating 20 yearsPenn, Pittsburgh PA Dock Street, Philadelphia PA Wednesday, April 26, 2006 Imperial (adj.) 3.a. Having supreme authority; sovereign. b. Regal; majestic. 4. Outstanding in size or quality. source: dictionary.com Seems like the fourth definition at dictionary.com could be the closest in describing how the word 'imperial' is being used now to describe beers of unusually big, wild, and over-the-top beers. The word is most commonly being tossed in front of IPA and stout. I tend to think of it as meaning 'more', 'bigger', 'stronger', and/or 'fuller' (in flavor or body). So, what does it mean to you? Does it have a well-defined, structured meaning? Or is it more of a marketing term to entice you into wanting to taste the beer? It will be interesting to hear your thoughts. Hoppy trails.... The San Francisco Brewing Company is located in the city's North Beach neighborhood, not far from the iconic Transamerica building and just a bit further from Coit Tower. The North Beach neighborhood has a bit of everything. And it maintains an urban edge to it that helps make it appealing to a wide variety of folks. From Italian restaurants, to shops, to history, and to strip clubs....oh yeah, and a brewpub too. Now the interesting thing about SF Brewing starts with the approach. Being in the glare of the Hustler club made me wonder about where I was really headed. Then, resisting the call of Larry's sirens, I was greeted by a sign that claims SF Brewing to be "Voted the best brewpub in SF." (kind of tough to read in the picture) Wow, if that is the case, I wonder why this place does not get more press? So I wander inside. Not much of a crowd for a Tuesday night...not that I was really expecting much of one. But the few interesting characters at the bar and the quiet couple at a table give me the feeling that this is very much of a local neighborhood bar (perhaps weekends are a different story?). When inside, I was definitely intrigued by the feeling the place gave me. It is an older building with a lot of oak and mahogany woodwork, stained glass and mirrors, charm, and uniqueness that only older establishments can provide. One of the most unique characteristics of the bar is the belt and paddle fan that runs along the ceiling the length of the bar. The vibe that I am getting, at first, both from the bartender and other patrons is that "outsiders" are not really welcome. In any case, the beers at least sound interesting. They had just wrapped up some kind of barleywine thing...a festival...I'm not quite sure. I decide to give the Alexander Gunn a try. Not too bad. Finally, Patrick the bartender starts to loosen up when he sees me with my camera, poking around the building, checking things out, and taking a greater-than-average interest in the beer. Patrick starts engaging me in conversation about beer, the brewer, the SF beer scene, and music. So, with the scene warming up a bit, especially the two lovely ladies next to me who were, in a manner of speaking, with each other (but, I digress ;-), Patrick is now passing me some short pours of the various other beers on tap for me to sample. The IPA, the Anniversary brew (ESB), the porter, and the wheat....in all honesty, I just was not that impressed by any of them. They seemed to lack the oomph and creativity that I had found in many other bars and brewpubs of San Francisco. I had one more barleywine to round out the evening and this was a wise choice, the Oofty Goofty Barleywine packed a nice punch of barley, hops, and alcohol. A nice finish. In short, I would say that if you are doing a beer tour of San Francisco, SF Brewing should be on your list. Afterall, it's on your way to or from Rogue Ale House. If anything you should check out the building, its design, and a brew. But, if it should happen to slip from your list due to time, or whatever, eh..you know..... One stop here at the Brick Store Pub outside of Atlanta is all it took for me to proclaim this wonderful beer bar as one of the best places I visited in quite some time. Now, you'll need to understand that this took the perfect storm of events for this to come true. First, a beautiful Tuesday evening in Atlanta in April, a successful day of business meetings, a gathering of good friends at BSP, and a bar that truly outdoes practically everyone else in their industry by serving some of the best beer known to planet Earth. OK, this might be a bit over-the-top, but do yourself a favor and stop by and see if do not agree. If you are willing to put up with Atlanta traffic, then you can obviously drive to Decatur, which is 6 miles east of Atlanta. However, if you are already in downtown Atlanta as I was, then just simply hop (a pun!?) on the east-west MARTA train line and 20 minutes later you will be getting off at the Decatur stop just steps from the front door of Brick Store Pub. Decatur, in what I saw on my brief walk from the train, has all the appearances of being a charming and bustling town with restaurants, shops, and galleries. This seems to be a very livable (and dog-friendly) town that also just so happens to have their own Great Decatur Beer Tasting Festival in October :) Being located on the "town square", which is not a through-street, allows the outside of the pub to be easily accessible but without feeling like the outside world is bearing down on you while you're enjoying your beer. There are a few tables with umbrellas outside. Of course, during the hot and humid months in the South, these are probably not the most sought-after seats! Inside you will find a very comfortable atmosphere. Not only is the first floor bar and dining room seating viewable from a second floor seating area. But, once past the second floor balcony seating (from where the picture to the left was taken), the space opens up to the Belgian bar area and then another tucked room away in the back for eating and drinking. The building is a former feed mill with exposed wood beams, stone, and brick walls. There are no TVs, no smoking, and no attitude (at least not on this Tuesday evening). I'm not quite sure how to explain it any differently to convey just how comfortable I find the BSP ambiance. Perhaps the final convincing fact for me that this is a cool place is that it was opened almost nine years ago by three college buddies who wanted to open a great beer bar. How many guys, including myself, would not mind doing something like this?! I got the chance to talk to Mike (the others are Dave and Tom) and really got the feeling that they are in the business for the love of beer and not just pushing a product like I have seen at other establishments. So, it may be hard to believe, but in the almost five hours that I was there I at least sampled each of the beers listed below. As you can see from the notation, there were several that I had never tried before that became instant recommendations. Monday, April 24, 2006 This is a Maibock style lager from Bethlehem Brew Works in Bethlehem, PA. The beer was purchased in a growler fresh from the brewery taps and tasted approximately 6 hours later. Have you tasted this beer? Let us know what you think. As a suggestion, try to keep the review as brief as possible for each of the following: appearance; smell; taste; mouthfeel; and drinkability. Appearance Adam: orangish and clear Bryan: pours with a nice-sized head, slow to disappear; nice pale, clean color Smell Adam: nice and light Bryan: kind of like a basic lager; nothing to appealing for me Taste Adam: Wow!!! flavor heaven, citrussy tang and just enough sweetness Bryan: sweet; lager yeast very obvious Mouthfeel Adam: Carbonated and light, but, not thin Bryan: smooth; slight carbonation, just enough; not biting Drinkability Adam: very, with light nose, good for the masses Bryan: seems like a decent beer for lager fans, not offensive; for me, I can drink it, but not that thrilled about it Seconds? Adam: yes sir...spring is here lets bring it in with this great May Bock! Bryan: No. Though, it reminds me that I want to try the Stoudt's Blonde Double Maibock very soon! Sunday, April 23, 2006 Whew! I had a great weekend with family. Now I'm home, but, on the way back from Carrolltown I made a detour to see one of my best friends, Jeff (who is incidentally from Carrolltown), in State College, PA. Of course I had a secondary motive as well, visiting Otto's. Aside from my car breaking down and then arriving home too late to put my kids to bed, it was a good day. Every beer I tasted at Otto's was awesome! Seriously, that is the first time I have ever experienced that. :-) It can happen! I'll post a full review with more pictures later. Bryan, thanks for sharing The Cannibal from Iron Hill. I added my tasting notes. I think it stood up well even after a few days in the growler. I hope you enjoyed the Double D IPA I brought back. Run. Beer....Beer. Run....Pick an order....Well, maybe it should be run, then beer. (Although, the crazies at Hash House Harriers make a habit of mixing the two.) That's how this happened to work out while in San Francisco. First, I punished myself with a 6-mile run through San Francisco that included the ubiquitous hills (including Lombard Street) and the scenery of Alcatraz, the bridges, and the Embarcadero. It was certainly one of the most diverse, interesting, and scenic runs that I have ever undertaken. Oh wait, this is a beer writing, not running. (Note to self: update my running website!) So, I reached the end of my run near the bottom of the Embarcadero and, of course, I need to be replenished. Must....get....hydration....and....nutrition! Oh wait, what is that? Yes, Gordon Biersch it is! Now, my experience with GB up until this point has left me with somewhat of an ambivalent feeling. From my first experience with them 8 years ago at Candlestick Park with their garlic fries to their brewpubs in San Francisco, Pasadena, Atlanta, and Memphis....the beers have always been respectable and decent, but not adventurous or great. Plus, they focus exclusively on lager-style beers, which for me are hit-or-miss. There was something much different about this experience. Perhaps it was the runner's high that I was experiencing after a great run. Or maybe it was the friendly bar service that I received. Or maybe....just maybe it all started when I walked through the front door and was smacked righteously in the face with the sweet smell of barley. Ah, the mashing was in full swing! I could practically taste the air. While at the bar, I had a great jambalaya dish full of meats and starches. And it washed down alternately with water, the Schwarzbier, and the Pilsner. Both beers were very good representations of their styles. Once again, perhaps I was just overly thirsty and hungry, but I really do think that these were both good beers without being overly lager-ish (like that?!) Maybe it was the hops. They were certainly present in both beers; but, I was on the West Coast, eh?! Then, perhaps the icing on the cake was my introduction to Rich who was busy formulating, calculating, and making the Vienna Lager, if I remember correctly, or was it the Blonde Bock. He graciously took the time to ask about my website and my beer preferences and favorites. Even though he was busy in the process, he pointed out the pieces of the German-installed brewing operation which is easily viewed from the bar area. I mentioned to him how I thought his beers were very good lagers and described other good representations of the lager style on the East Coast, like Penn, Victory, and Brooklyn. He stopped back at the bar a couple of times and also made sure that I was familiar with the San Francisco Brewers Guild. All in all, this was a surprisingly pleasurable stop at Gordon Biersch. The space that they occupy has two levels with large bar and dining areas. And, if you check out the last picture here, you will probably agree that they have one of the most scenic locations of any bar or brewpub in the country. The Cannibal is described as a Belgian Strong Pale Ale style and is brewed at the West Chester, PA location of Iron Hill Brewery. It recently won a silver medal at the World Beer Cup event in Seattle, WA. This was purchased in a growler from the brewery and consumed roughly 4 hours later. Have you tasted this beer? Let us know what you think in the comments section and we'll move your comments up into the tasting notes.As a suggestion, try to keep the review as brief as possible for each of the following: appearance; smell; taste; mouthfeel; and drinkability. AppearanceBryan: a perfectly cloudy, pale gold pour with a short head; leaves a thin swirl with a lacey, bubbly rim Adam: cloudy? nah...clear, straw colored (tasted a day later) SmellBryan: a typical Belgian with a clean, crisp, fresh aroma Adam: hint of fuit, crisp TasteBryan: just a small hint of cloves and spice and a mild hop flavor; basically a solid Belgian Adam: yeah some spice, sweet start sour finish MouthfeelBryan: a very solid, medium body throughout; spreads nice and even through the mouth and down the hatch; just a bit of carbonation to bring some life to the beer Adam: not thin, substantial, and still good even after a couple days in the growler DrinkabilityBryan: definitely pleasing; not in any way offensive or over-the-top; not sure about the silver medal status as a "strong ale", but definitely easy drinking Adam: a little better than not offensive, nice for spring Seconds?Bryan: don't know the alcohol level, but what the heck, give me a few! Adam: only two for me thanks Friday, April 21, 2006 Did anyone happen to catch Michael Jackson on Conan O'Brien the other night? I missed it, but it apparently has created quite a stir in the beer community. Even MJ himself commented at his website on some of the criticisms that have been directed his way. If anyone knows how to point me to a copy of the segment, I'd appreciate it. (It's been taken down from Youtube for copyright reasons.....and no search results at iFilm either.) This is a porter style from St. Peter's Brewery, St. Peter's Hall, Nr. Bungay, Suffolk, UK. This 16.9 fluid ounce bottle was purchased from Total Wine & More in Cherry Hill, NJ. After our experience with this beer (and previously the ale) from St. Peter's we are anxious to try more. So far, if you're keeping score, we liked the ale and loved the porter!Have you tasted this beer? Let us know what you think. As a suggestion, try to keep the review as brief as possible for each of the following: appearance; smell; taste; mouthfeel; and drinkability. Appearance Adam: deep red birch beer, persisting thin head and ringBryan: pours smoothly with a 1/2 inch head that hangs around for a while; fairly dark in color Smell Adam: raisins & brown sugar, malt Bryan: bitter dark chocolate for sure Taste Adam: like a bread pudding with persisting slight sweetnessBryan: not quite as big and complex as the nose might suggest; not as much up front but the dry bitterness at the end is noticeable Mouthfeel Adam: surprisingly not too heavyBryan: not as heavy as you might expect Drinkability Adam: again surprisingly drinkable and deliciousBryan: oh yeah baby! (though, note, colder seems to be better in this case...approximately 50F) Seconds?Adam: I'll have another pintBryan: Yes What a great weekend!! Whouda thunk that a weekend already crowded with a hockey game, a 5K race, lawn and garden work, and a large family holiday dinner hosted at our house that there would still be time for the 11th annual barleywine/big beer tasting at Sugar Mom's on Church Street in Philadelphia's Old City neighborhood. (Well, truth be told, some other things suffered, like completing those dreaded tax returns....but all in a day's work :) I hereby consider thy skull splitten! I'm not gonna bother going into too much detail; I do that enough in other reviews. Suffice to say that copious amounts of good times and beverages were had by all. Even I, sans wingman, was graciously taken in by Tracy, Scoats, Karen, Mark, Ed, Everett, Woody and my life will never be the same ;-) Without them, I would have sampled my beers and stumbled along my merry way. But, seriously, thanks to all for a great afternoon. (Woody, I'll be waiting for you in Paoli.) In case you were wondering, here's a quick rundown of the beers they were pouring at Sugar Mom's. I'll bet after reading this, I will have plenty of "wingpeople" for next year, eh?! Climax Barleywine; 75 IBU; 10% ABV Sierra Nevada Bigfoot (aged one year); 90 IBU; 9.6% ABV Nodding Head George's Fault; 10% ABV Heavyweight Wee Whale; 9% ABV (!) Sly Fox Ichor; 10% ABV Great Divide Old Ruffian; 90 IBU; 10.2% ABV (!) Victory Old Horizontal; 10.5% ABV Legacy Euphoria; 11% ABV Weyerbacher Insanity; 11.1% ABV Flying Fish Bigfish; 80 IBU; 10.5% ABV (!) Dogfish Head 120 Minute IPA; 120 IBU; 20% ABV General Lafayette The Phantom 2004; 80 IBU; 10.1% ABV (!) Best 3 beers I never had before this event p.s. I don't recommend shopping and cooking after a day of high-octane beers. I pulled it off, although in a bit of a blur ;-) p.p.s. Scoats, just remember, "Pimp My Pint" and "More Bling For Your Bock" were my promotional ideas ;-) Wednesday, April 19, 2006 Did you really think that I could go on vacation to Puerto Rico and get away from beer for a few days? Maybe drink some rum runners, lay by the pool, and only do some reading of Sam Calagione’s book, “Brewing Up A Business.” Perish the thought! Well, I did do all of that……and happen to find a decent brewpub along the way. During our vacation planning for Puerto Rico I, of course, did my due diligence and found that there was not much of a beer scene. Not that I expected to find much anyway. In the Caribbean, I was thinking I would mostly find Red Stripe, El Presidente, Corona, and Negra Modelo. There was also Medalla Light, but for the most part the beer scene was not all that appealing……mediocre lager and no ales. Then, came our trip into San Juan from our resort at Rio Mar. Apparently, according to Beer Advocate, there was a brewpub just outside of the old historic San Juan district. However, the reviews were far from enticing. But, in my efforts to bring to all of you the world of beer through my eyes, ears, and taste buds, I was determined to check it out. Small problem, the business had been closed. Oh well, I figured it was a few dollars saved for another poolside drink. After dinner and walking around the Old San Juan historic district, we turned the corner to find…..what? A fresh beacon of thirst-quenching hope….Old Harbor Brewery! Bryan’s back in action! The OHB is located on the first floor of the Steak and Lobster House, run by a family of successful doctors and lawyers. The spacious interior provides room for plenty of eating and drinking amongst the tanks of beer. Brewing operations typically take place during the off hours, so there was not much brewing action to see. However, from the first steps inside the door, we knew that this should be a decent beer experience. The first tipoff, though, that business might still not be where they expect it to be was the question of whether we were there for dinner. Our enthusiastic answer of “No, we’re here for the beer” was met with smiles all around and a personal escort to the bar. Once at the bar, we were attended to quite nicely by a couple of ladies who had an adequate knowledge of the beer they were serving. But, while not experts in beer (read: not a criticism) was certainly made up for in friendliness. Patty ordered the sampler of 5 beers that they had on tap at the time, while I opted for the Old Harbor Brew Pale Ale first and then the Kofresi Stout to finish. We both sampled all five brews and concluded that the pale ale and stout were certainly the best. Others on tap during this March vacation included Coqui Golden Lager and Santo Viejo Pilsner. I did a bit of poking around and snapping pictures of their German-installed brewery. Not long before we left, I asked about the brewing operations and the brewmaster. It came as a surprise to me that they said the brewmaster was from Virginia. Though, he was not at the brewery at the time, he would return the next afternoon. Ah ha, so what did that mean? Of course, a return visit! So, the next afternoon we returned for more of the same. This time we met the brewmaster whose name is……Brad Mortenson. (Why am I building this up so much???) I think this was all so intriguing to me partly because he was a brewer in the States. But, mostly because he was the former brewer at Legend in Richmond. I haven’t written about Legend before in this space. But, suffice to say that it is a decent brewpub on the banks of the James River in Richmond and they serve one of my favorite American brown ales of all time, the Legend Brown Ale. They have won awards in the past for this and other beers as well. Brad and Alex moved to Puerto Rico in 2005 after he took a job with Old Harbor. They had no real experience to speak of with Puerto Rico, but were looking to strike out and doing something new. It looks like they’re up to the challenge, as they both work in the brewery. They admit that it will not be an easy job to convert the palates of native Puerto Ricans. They are both extremely affable people who took the time to talk with us for a while. After more discussion about beer in the States, life on the island, and operations at the brewpub, we snapped a couple of pictures together and I thanked for their time as they went back to work. Ok, so I suppose I can not leave here without throwing in one gripe. I have paid more than I think is reasonable in the past for a growler. I have even purchased growlers from breweries that I most likely will never go to again and flown home with them on an airplane. But, in this case, I just could not see myself plunking down $28 for an empty growler or $36 filled (though, the $8 for 68 ounces did seem reasonable :-/ I mean, come on, while it was a swing-top ceramic growler and a nice one too, all I could do was say it was attractive and take a picture of it! So, I changed course and decided to buy a German beer mug. I couldn’t go wrong…..right?! Hm, $15. By this point, the transaction was already rung up and I went through with it. But, as you can tell from all the words I have dedicated here, I’m begging you at OHB, recalculate the prices on the merchandise. You have got to work extra specially hard just to get the locals in there, I’m sure lower prices will make them also want to take it home. Sheesh, I’m almost as passionate about this topic as craft beer in plastic cups, heheh! Anyway, the moral of this long-winded story (hey, whaddya expect?! ;-) is that good beer is alive and well in Puerto Rico. Even if at this time it is only at one brewpub in Old San Juan. Give them your support next time you are vacationing in Puerto Rico. You shouldn’t be sorry. Tuesday, April 18, 2006 This is (DFH self-described) a blend of oak-aged strong ale and the 90 minute IPA from Dogfish Head of Delaware. This 12 ounce bottle was purchased from the Flying Pig Saloon in Malvern, PA. Reviews in general seem to be in sync with ours; this beer is a winner. It is just the type of beer that makes Dogfish Head who they are :) Have you tasted this beer? Let us know what you think. As a suggestion, try to keep the review as brief as possible for each of the following: appearance; smell; taste; mouthfeel; and drinkability. Appearance Adam: not quite shiny copper penny Bryan: pours smoothly a copper colored beer with little head Smell Adam: dark hoppy nose like a toasted marshmallow Bryan: reminds me of walking through the flower garden in the early morning of a cool spring day (said with a deep masculine voice ;-) Taste Adam: sweet toasted malty fallen apricot Bryan: nice and clean; strong but not overpowering; slight sweetness cuts through the hop bitterness Mouthfeel Adam: not thin, substantial Bryan: heftier body than the 90 min IPA, as you might expect Drinkability Adam: like a homemade turkey dinner...after a while you are stuffed ;-) Bryan: absolutely; this is complex and fascinating Seconds? Adam: and thirds :-) Bryan: sure, but watch out for the 10% ABV! Monday, April 17, 2006 This is an English-style ale from St. Peter's Brewery, St. Peter's Hall, Nr. Bungay, Suffolk, UK. This 16.9 fluid ounce bottle was graciously donated by co-worker Brodie, who hails from the UK. If I recall correctly, it was purchased in the Reading, Pennsylvania area. He has been anxious to hear our thoughts on the beer and we are happy to report, as you will soon hear, that we were impressed with this flavorful, drinkable English-style ale. One unique aspect of this beer is the packaging. The bottle shape is reminiscent of medicine bottles from the period of the American Revolution. Apparently, according to the bottle label, it has local connections for us as they claim the bottle design was created for a Philadelphia-area brewer in the time period of the late 1700s. Have you tasted this beer? Let us know what you think. As a suggestion, try to keep the review as brief as possible for each of the following: appearance; smell; taste; mouthfeel; and drinkability. Appearance Adam: slightly cloudy apricot, short head dissipates to thick ring Bryan: pours an inconsistent, thin, large bubble head; a cloudy light-bronze color beer Smell Adam: not much of a nose, hint of sweetness Bryan: faint aromas of fig newtons and light syrup Taste Adam: moderate malty mild & tea-like, slight tangy after taste Bryan: reminds me a bit of John Courage; not an overwhelming flavor and a bit of sourness that lingers afterward for a while Mouthfeel Adam: slight carbonation spreads the delicate flavor Bryan: light-to-medium; sticks a bit to the roof of mouth as it slides through Drinkability Adam: refined and pleasant Bryan: Yes, and don't let my sour comment dissuade you Seconds? Adam: all night without missing a beat ;-) Bryan: just one more for now; but, I could definitely see this being a good "session beer" Sunday, April 16, 2006 This is a brown ale from Shmaltz Brewing Company of Saratoga Springs, New York. You can tell there are bunch of creative folks here coming up with names like Genesis Ale, Jewbelation Ale, and Messiah Bold. And, as they remind us: "Do not store fresh beer in saddle bags of white donkey. Store cold!" L'Chaim!! Have you tasted this beer? Let us know what you think. As a suggestion, try to keep the review as brief as possible for each of the following: appearance; smell; taste; mouthfeel; and drinkability. Appearance Adam: deep amber, quickly disapating head Bryan: deep dark brown/almost black with a tight, off-tan head Smell Adam: slightly sweet and yeasty Bryan: not much when cold; much more grainy as it warms Taste Adam: just what the nose hinted with nuttiness too Bryan: slightly sweet malt flavor with hints of hops and a mild carbonation Mouthfeel Adam: well carbonated and clean Bryan: a decent, even moutfeel throughout Drinkability Adam: clean and carbonated and interesting, very drinkable Bryan: drinkable, for sure, as it warms into the 50-55 degree range Seconds? Adam: sure maybe even thirds ;-) Bryan: yes, a few Saturday, April 15, 2006 San Francisco. Anchor. Beer. Free Tour. Free Samples. Must Go. I could stop with these incomplete sentences and make it my shortest writing ever. But, you know me, heheh, I do not feel like I'm giving it an honest effort if I write less than 500 words. And, given that the topic here is Anchor, Fritz Maytag, and San Francisco, I may not be able to stop before 1000 words. Of course, I jest.....maybe... :) Anyone following closely enough will notice that my beer tour of San Francisco is being written out of order. I am sure no one really cares, but this was my second to last stop during my almost 90 hours in this great city. As you will soon be able to tell, it was certainly one of the highest of highlights. This was one stop that I was certainly hell-bent on making when in San Francisco. Considering Fritz Maytag's standing in the history of craft beer, not to mention my taste for several of their brews, I would have been disappointed not to make the visit. The trouble is that it's not quite walkable (though, flat by San Francisco standards!) therefore it would require a taxi or bus ride to get to the foot of the Potrero Hill neighborhood. Plus, you need to certainly allocate close to 3 hours from the time you leave your downtown hotel to the time you return from this excursion. I was barely able to squeeze this in before leaving to fly home. In addition, you must call ahead to reserve your spot in the tour (they recommend "as far in advance as possible") due to the overwhelming popularity of the guided tours. Dan was our friendly and knowledgeable host and tourguide through the history of Anchor. After checking in at the front desk and browsing the memorabilia at their makeshift bar, he led us off on a tour of the facility. He dealt many interesting tidbits of information to us during the tour. I will attempt to drop in as many as I can recall throughout this review. The first bit I was surprised by was that all of the Anchor available anywhere in the world is brewed, bottled, kegged, etc. from this single location in San Francisco. This surprises me partly because my experience is that Anchor is not particularly difficult to find. (I may be a bit biased, though, by living in a beer-rich region of the country.) So, to think that any Anchor beer originated from this decent-sized, but not large, facility is a bit amazing. Our tour followed the natural life cycle of a beer. While we did not go onto the roof of the building to see the grain towers (!), we could see from where the grain entered the building, to where the mash tuns continue the process, to the fermenting rooms (separate for ale and lager), to the fresh hops, to the filtering, to the chilling room, to the bottling and kegging lines, and to the packaging and pallets of beer. Since all of this talking about beer and observing the process should work up a thirst and hunger for the real thing, we logically concluded the tour back in the tasting room at the bar where we began. A fun sighting at the end of the tour was Fritz Maytag in what appeared to be a business meeting in his office. We could see him with a few other business-looking types conducting what looked like a planning meeting. I wondered how many other tour groups see Fritz while on site; but, I did not care because this was my tour! {evil laugh} Being poured from the taps in this particular March, in order, were: Summer Ale; Liberty Ale; Anchor Steam; Anchor Bock; Anchor Porter; Old Foghorn. Trying to place these beers in order by my preference was extremely difficult. This was a first experience for me with the Bock and I was quite impressed. It had been a while since I tasted the Old Foghorn barleywine, and I was treated to two samples; obviously, not disappointed at all by this big and tasty brew! The Liberty Ale (which was, by the way, the "original" of the annual Our Special/Christmas Ale) and Porter were both very good representations of their respective styles. The Summer Ale fit the profile and was an acceptable, but not favorite of mine. And, finally, what can I say about the Anchor Steam? This classic American beer, has always been one of my top ten favorite beers, albeit a lager. (For my preferences, it is a difficult feat for a lager to make my all-time top ten list!) This was one of the beers that helped turn me on to "real beer" approximately 15 years ago. Anyone hoping to get a peek or a taste at the whisky that they distill will be disappointed. The operations are across the street and must be legally kept separate from the beer brewing business. So, what have you learned from the time you just invested in reading this? (If the answer is "nothing" then you have my sincerest apologies! ;-) Hopefully, two things. First, if you somehow are a reader of this site and have never tried Anchor....what are you waiting for?! Second, if you find yourself in San Francisco you must do everything in your power to get to Anchor Brewing for a tour and tasting. Friday, April 14, 2006 Who, what, where, when, how, why....now you can add which?? Sheesh, now I am confused. Oh wait, yeah, this is about the Which Brew bar and restaurant in Easton, Pennsylvania. Up until this past weekend, I thought the only good things that Easton as a city had going for it was the Crayola Factory for little kids and the Weyerbacher Brewery for big kids. Adam and I went to the Weyerbacher Open House which you learned in a previous posting. He had been through Easton before and discovered Pearly Baker's, which he recommends. From BeerAdvocate.com, I put Which Brew on the list too. The name, though, I will admit had me a bit skeptical. A serious bar with its name doing word play on witches and broomsticks?.....hm, I'm not sure. Those doubts were all quickly put to rest as soon as we walked through the front door...and as soon as our eyes adjusted to the inside's dim light. It was still "touch-and-go", though, as we made our way westward out from the downtown's center square through a somewhat sketchy neighborhood. Ok, back inside now. We were surprised to find practically every seat at the bar (and more than half of the dining room seats) occupied with a late-lunch, early-dinner crowd. Then, we figured this may be the beginning of the spillover from the Weyerbacher Open House revelry and it all made sense. Still, it would be interesting to go back and see what type of business they normally do on a Saturday afternoon. But, who cares right? Because we were there and found two seats against the wall with a nice view of the place. Anne (hope I got the name right) was more than helpful as she came from behind the bar to our table to help us with our beer and food selections. The first thing she was sure to tell us was about the 10 drafts and nicely-stocked bottle list of approximately 40 from around the world. Also well represented was local Weyerbacher, including the supposed last sixtel of the anniversary Decadence available anywhere....like I said, supposedly. You know how these things tend to show up out of the blue :) Then she went on to tell us about the food and how every item is made fresh, from scratch. And, how the breads and doughs are homemade by Tombler's Bakery right there in Easton. So, after some very pleasant conversation with Anne, we sent her off with our order for a spent-grain pizza and two beers (the Magic Hat #9 for Adam and the Weyerbacher Prophecy for me). Everything was served very promptly and appropriately and not to mention, delicious. The one thing that will probably strike you the most about the interior of Which Brew is the dim lighting, nice decorating touches, and the heavy use of brick and dark wood. It is surprising to see where they are located, which makes it an even better treat for when you are tucked nicely away inside enjoying some fine food and beverage. Also, just right is the music. While we were there, the genre seemed to be focused on eclectic jazz. It's loud enough to hear, but not too loud as to overwhelm your conversations. The crowd, at least on a Saturday afternoon, appeared to be a crowd of "real people" enjoying their afternoon. And, maybe because of the Open House I mentioned earlier, it seemed to be a crowd of people who knew their Dogfish Head from their Doggie-style Pale Ale. This place definitely has a very comfortable ambiance and, with its excellent list of beers, will make you want to stay twice as long as you were planning. Too bad our time was only long enough for one beer before heading back home for dinner with our neighbors....that was excellent too ;-) p.s. For those of you not familiar with the area, Easton is in Pennsylvania almost 75 miles (125km) west from New York City and 75 miles north from Philadelphia. Thursday, April 13, 2006 Breweries tend to be located in some "interesting places." Yards is in, let's not mince words, the badlands of North Philly. Heavyweight is in a nondescript business park with a rollup garage door. Anchor is in a slowly turning neighborhood a few miles out of the more affluent areas of San Francisco. Brooklyn is similar too. You probably each have your own story about a brewery that you had a hard time finding. So, anyway, here Adam and I are traversing our way across Interstate 78 toward New Jersey. Stop, don't cross the Delaware River, and take the last exit before the state border into Easton, Pennsylvania. Make a couple of turns, pick the correct industrial park, drive and park around back of the structure, walk between two buildings, and enter through a rollup garage door. You are now at Weyerbacher Brewery. Phew! Adam and I stopped in for the annual open house of Weyerbacher Brewery. What a treat! 12 beers on tap, various cheeses, pates, and pretzels. Plus, beers to go, bourbon barrels (which their beers were aged in), merchandise, and fellow beer lovers. Who couldn't love this kind of atmosphere? This was our type of event and they sure lived up to expectations. Instead of discussing each individual beer and nuance of the event, below you will find a listing of all of the beers that Weyerbacher put on tap for us to sample during this open house. In addition, Adam and I each gave our own rankings to the 12 beers that they were serving up to us. Tuesday, April 11, 2006 So we ordered some hop rhizomes about a week ago from Northern Brewer. The picture on the left is of the hop rhizomes. On the right a picture of what hop cones look like after the plant is full grown. Hopefully they have arrived in time for us to get them in the ground. I wonder if they will actually produce anything this year. Time to do some research and call upon my friends/family with green thumbs :-) Bryan has given me a head start by sending me a podcast from Basic Brewing about growing hops at home. Whoohoo...this is so cool! Here's a list of what we purchased.
Thursday, 28 August 2014 First Thoughts on Douglas Carswell's Defection A short while ago, I questioned the Daily Mail's idea of how Boris Johnson could become Prime Minister, but had a caveat - namely Newkip. To sum up, if there were to be a small contingent of UKIP MPs in Parliament after the May 2015 general election, then Conservative MPs who voted against a Conservative/Liberal Democrat Queen's Speech and lost the whip as a result could either defect straight to UKIP or form a new party that would have a relationship with UKIP akin to that between the Liberals and the Social Democrats in the 1980s. And look closer - failing to be elected as a Democratic Unionist Party candidate was Andrew Hunter, at the time the MP for Basingstoke. Donaldson and Hunter had one thing in common - neither of them were MPs for the parties they were standing for in the Assembly election. Hunter had been Conservative MP for Basingstoke since the June 1983 general election, but had lost the Conservative whip in October 2002 when he confirmed he would contest the Assembly elections for the DUP, but didn't become a DUP MP until December 2004. Donaldson had been UUP MP for Lagan Valley since the May 1997 general election, but in June 2003 he - along with Antrim South's David Burnside and Belfast South's Martin Smyth - resigned the UUP whip in the House of Commons. In January 2004 Donaldson did something that was game-changing - he defected to the DUP (Burnside and Smyth followed this by accepting the UUP whip again). The DUP's lead over the UUP could no longer be a temporary thing. And at the May 2005 general election, the DUP returned 9 MPs, to the UUP's 1, Sylvia Hermon in Down North. I remember realising a couple of things at the time - Donaldson's defection was bad news for the UUP. But I thought it would be bad news for the then leader of the DUP, Ian Paisley. This might sound odd - after all, Paisley had achieved the position of being leader of Northern Ireland's largest party, and in in October 2005 was appointed to the Privy Council, being given the honour traditionally awarded to the UUP leader, as if the Establishment was recognising the DUP as the voice of Unionism. Alongside Donaldson, Arlene Foster, who had been elected as a Member of the Legislative Assembly for Fermanagh & South Tyrone - and is now the Minister for Enterprise, Trade & Investment - also defected from the UUP to the DUP. So, why had I considered it to be bad news for Paisley? Yes, the DUP would be getting stronger and bigger, but it is easier to be a big fish in a small pond than a small fish in a big pond. A Bennite might welcome the 1997 election as finally bringing a Labour government, but would also know that this was a larger Labour in which Bennite views were in the small minority. Paisley's party could grow - with Paisleyism becoming a minority viewpoint. And, in a similar fashion, Donaldson and Foster were the modern, younger, professional politicians who could bring over the sort of middle-class Unionists who traditionally voted UUP. UKIP MEPs seem to focus on silly stunts at the European Parliament and have poor attendance records. Such an attitude won't go down well in the House of Commons. Picture Farage arriving at Westminster next May as the MP for Thanet South, and then being greeted by his parliamentary colleague for Clacton - who will have a decade's experience of being an MP, and knows the hard slog and committee work and debating Bills and constituency surgeries. And if UKIP is in discussion with other Conservative MPs about defecting, then Farage would arrive to find an established contingent of UKIP MPs who have been together as a group for months, with a parliamentary leader, receiving Short money, getting used to their parliamentary leader being allowed to ask a question at Prime Minister's Questions, and all the things that are part and parcel of being a minor party in the House of Commons. The more Conservative (and maybe Labour Eurosceptic) MPs who defect, the bigger the pond that Farage would find himself in, full of experienced MPs with him as the newcomer.
{ "particleEmitters" : { "shadowgaseffect" : { "enabled" : true, "emissionRate" : 11.0, "particles" : [ { "particle" : { "type" : "ember", "size" : 1.5, "color" : [45, 45, 220, 230], "fade" : 0.9, "destructionAction" : "shrink", "destructionTime" : 0.8, "position" : [0.0, 0.0], "offsetRegion" : [0, 0, 0, 0], "initialVelocity" : [0, 1], "finalVelocity" : [0, 1], "approach" : [0, 10], "timeToLive" : 0.3, "variance" : {} } } ] }, "statustext" : { "enabled" : true, "emissionRate" : 1.0, "particles" : [ { "particle" : { "type" : "text", "text" : "Shadow Gas!", "size" : 0.75, "color" : [150, 150, 150, 230], "fade" : 1, "destructionAction" : "shrink", "destructionTime" : 0.8, "position" : [0.0, 0.0], "offsetRegion" : [0, 0, 0, 0], "initialVelocity" : [0, 4], "finalVelocity" : [0, 1], "approach" : [0, 10], "timeToLive" : 1, "variance" : {} } } ] } } }
Q: Painting and repainting a JPanel with images I wish to paint and repaint a JPanel, which may be rotated 90 degrees with images. The initial painting does not cause any issues. When I try to repaint() the panel it will not do this immediately, but wait for a second repaint(). My second issue is that, when i turn my panel vertical as stated in the below code, it will not repaint at all. I can't see the image red, yellow or green at least, but the image "light" remains. Thank you for taking your time to read this. public void paintComponent(Graphics g) { super.paintComponent(g); Graphics2D g2d = (Graphics2D) g; if(vertical){ g2d.translate(this.getWidth() / 2, this.getHeight() / 2); g2d.rotate(-Math.PI / 2); g2d.translate(-img_light.getWidth(null) / 2, -img_light.getHeight(null) / 2); g2d.drawImage(img_light, 0, 0, this); if(showRed){ g2d.translate(-img_red.getWidth(null) / 2, -img_red.getHeight(null) / 2); g2d.drawImage(img_red, 0, 0, null); } if(showYellow){ g2d.translate(-img_yellow.getWidth(null) / 2, -img_yellow.getHeight(null) / 2); g2d.drawImage(img_yellow, 0, 0, null); } if(showGreen){ g2d.translate(-img_green.getWidth(null) / 2, -img_green.getHeight(null) / 2); g2d.drawImage(img_green, 0, 0, null); } }else{ g2d.drawImage(img_light, 0, 0, this); if(showRed){ g2d.drawImage(img_red, 0, 0, null); } if(showYellow){ g2d.drawImage(img_yellow, 0, 0, null); } if(showGreen){ g2d.drawImage(img_green, 0, 0, null); } } } A: have look at tutorial Graphics2D and two methods about Graphics2d#rotate() then you should be so able code (initial by @CtrAltDelete ???) import java.awt.*; import java.awt.event.*; import java.awt.geom.AffineTransform; import java.awt.image.BufferedImage; import java.io.File; import java.util.*; import javax.imageio.ImageIO; import javax.swing.*; import javax.swing.Timer; import javax.swing.filechooser.*; public class RotatableImageComponent extends JComponent { private static final long serialVersionUID = 1L; private Image image; private double angle = 0; private MyObservable myObservable; public RotatableImageComponent() { myObservable = new MyObservable(); } public RotatableImageComponent(Image image) { this(); this.image = image; } public Image getImage() { return image; } public void setImage(Image image) { this.image = image; } public double getAngle() { return angle; } public void setAngle(double angle) { if (angle == this.angle) { return; } this.angle = angle; double circle = Math.PI * 2; while (angle < 0) { angle += circle; } while (angle > circle) { angle -= circle; } if (myObservable != null) { myObservable.setChanged(); myObservable.notifyObservers(this); } repaint(); } /** * In the rotation events sent to the listener(s), the second argument * (the value) will be a reference to the RotatableImageComponent. One then * should call getAngle() to get the new value. * @param o */ public void addRotationListener(Observer o) { myObservable.addObserver(o); } public void removeRotationListener(Observer o) { myObservable.deleteObserver(o); } public void rotateClockwise(double rotation) { setAngle(getAngle() + rotation); } public void rotateCounterClockwise(double rotation) { //setAngle(getAngle() - rotation); rotateClockwise(-rotation); } @Override public void paintComponent(Graphics g) { if (image == null) { super.paintComponent(g); return; } Graphics2D g2 = (Graphics2D) g; AffineTransform trans = AffineTransform.getTranslateInstance(getWidth() / 2, getHeight() / 2); trans.rotate(angle); trans.translate(-image.getWidth(null) / 2, -image.getHeight(null) / 2); g2.transform(trans); g2.drawImage(image, 0, 0, null); } @Override public Dimension getPreferredSize() { if (image == null) { return super.getPreferredSize(); } int wid = image.getWidth(null); int ht = image.getHeight(null); int dist = (int) Math.ceil(Math.sqrt(wid * wid + ht * ht)); return new Dimension(dist, dist); } public static class TimedRotation { private RotatableImageComponent comp; private long totalTime, startTime; private double toRotate, startRotation; private int interval; public Timer myTimer; private myAction mAction; public TimedRotation(RotatableImageComponent comp, double toRotate, long totalTime, int interval) { //super(interval, new myAction()); this.comp = comp; this.totalTime = totalTime; this.toRotate = toRotate; this.startRotation = comp.getAngle(); this.interval = interval; } public void start() { if (mAction == null) { mAction = new myAction(); } if (myTimer == null) { myTimer = new Timer(interval, new myAction()); myTimer.setRepeats(true); } else { myTimer.setDelay(interval); } myTimer.start(); startTime = System.currentTimeMillis(); } public void stop() { myTimer.stop(); } private class myAction implements ActionListener { @Override public void actionPerformed(ActionEvent ae) { long now = System.currentTimeMillis(); if (totalTime <= (now - startTime)) { comp.setAngle(startRotation + toRotate); stop(); return; } double percent = (double) (now - startTime) / totalTime; double rotation = toRotate * percent; comp.setAngle(startRotation + rotation); } } } private class MyObservable extends Observable { @Override protected void setChanged() { super.setChanged(); } } public static class RotationKeys extends KeyAdapter { private RotatableImageComponent comp; private double rotationAmt; public RotationKeys(RotatableImageComponent comp, double rotationAmt) { this.comp = comp; this.rotationAmt = rotationAmt; } public RotationKeys(RotatableImageComponent comp) { this(comp, Math.PI / 90); } @Override public void keyPressed(KeyEvent ke) { if (ke.getKeyCode() == KeyEvent.VK_LEFT) { comp.rotateCounterClockwise(rotationAmt); } else if (ke.getKeyCode() == KeyEvent.VK_RIGHT) { comp.rotateClockwise(rotationAmt); } } } public static void main(String[] args) { SwingUtilities.invokeLater(new Runnable() { @Override public void run() { try { FileFilter filter = new FileNameExtensionFilter("JPEG file", "jpg", "jpeg"); JFileChooser chooser = new JFileChooser(); chooser.addChoosableFileFilter(filter); if (chooser.showSaveDialog(null) == JFileChooser.APPROVE_OPTION) { File f = chooser.getSelectedFile(); BufferedImage im = ImageIO.read(f); final RotatableImageComponent c = new RotatableImageComponent(im); c.addRotationListener(new Observer() { @Override public void update(Observable arg0, Object arg1) { System.out.println("Angle changed: " + ((RotatableImageComponent) arg1).getAngle()); } }); JPanel controls = new JPanel(new FlowLayout()); final JTextField rotation = new JTextField(); rotation.setText("30"); controls.add(new JLabel("Rotation(degrees)")); controls.add(rotation); final JTextField time = new JTextField(); time.setText("1000"); time.setColumns(6); rotation.setColumns(7); controls.add(new JLabel("Time(millis)")); controls.add(time); JButton go = new JButton("Go"); go.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent ae) { TimedRotation tr = new TimedRotation(c, Double.parseDouble(rotation.getText()) / 180 * Math.PI, Integer.parseInt(time.getText()), 50); tr.start(); } }); controls.add(go); RotationKeys keys = new RotationKeys(c); c.addKeyListener(keys); c.setFocusable(true); JFrame jf1 = new JFrame(); jf1.getContentPane().add(c); JFrame jf2 = new JFrame(); jf2.getContentPane().add(controls); jf1.pack(); jf2.pack(); jf1.setLocation(100, 100); jf2.setLocation(400, 100); jf1.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); jf2.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); jf1.setVisible(true); jf2.setVisible(true); } } catch (Throwable t) { t.printStackTrace(); } } }); } }
Q: Javascript data structures library I'd like to ask for recommendation of JavaScript library/libraries that supply an implementation of some basic data structures such as a priority queue, map with arbitrary keys, tries, graphs, etc. along with some algorithms that operate on them. I'm mostly interested in: The set of features covered, Flexibility of the solution - this mostly applies to graphs. For example do I have to use a supplied graph implementation, Use of functional features of the language - again it sometimes gives greater flexibility, Performance of the implementation I'd like to point out that I'm aware that it's possible to implement using JavaScript the following data structures: A map, if key values are either strings or numbers, A set, (using a map implementation), A queue, although as was pointed out below, it's inefficient on some browsers, At the moment I'm mostly interested in priority queues (not to confuse with regular queues), graph implementations that aren't very intrusive as to the format of the input graph. For example they could use callbacks to traverse the structure of the graph rather than access some concrete properties with fixed names. A: I recommend to use Closure Library (especially with closure compiler). Here you have a library with data structures goog.structs. The library contains: goog.structs.AvlTree goog.structs.CircularBuffer goog.structs.Heap goog.structs.InversionMap goog.structs.LinkedMap goog.structs.Map goog.structs.PriorityQueue goog.structs.Set As example you can use unit test: goog.structs.PriorityQueueTest. If you need to work on arrays, there's also an array lib: goog.array. As noted in comments, the source has moved to github.com/google/closure and the documentation's new location is: google.github.io/closure-library. A: You can try Buckets is a very complete JavaScript data structure library that includes: Linked List Dictionary Multi Dictionary Binary Search Tree Stack Queue Set Bag Binary Heap Priority Queue A: Probably most of what you want is built-in to Javascript in one way or another, or easy to put together with built-in functionality (native Javascript data structures are incredibly flexible). You might like JSClass. As for the functional features of the language, underscore.js is where it's at..