text:
Corporate Executives Sentenced to Prison for Asbestos Deaths: Could it Happen in U.S.?
Stephan Schmidheiny (photo: Avina)
A court in Italy garnered worldwide attention this week when it convicted two wealthy foreign executives of involuntary manslaughter for exposing thousands of people to asbestos.
The defendants, billionaire Stephan Schmidheiny of Switzerland, former owner of the Eternit conglomerate, and Baron Louis de Cartier de Marchienne of Belgium, a major shareholder in the firm, were sentenced to 16 years in prison after the court concluded the men were responsible for the deaths of at least 3,000 people.
The victims were either workers at four Italian asbestos cement factories or residents who lived near the plants. Asbestos fibers can cause deadly diseases, such as mesothelioma, a cancer that attacks the lungs or abdomen.
Jennifer Sass, a senior scientist with the Natural Resources Defense Council told the Center for Public Integrity, "If a worker were to shoot his boss we would call it murder, but when the boss kills the worker with poison slowly over the years we call it a job."
Schmidheiny's lawyers say their client plans to appeal the conviction.
Italy banned asbestos in 1992, but it has not been banned in the United States, which imports about 1,000 metric tons of asbestos each year.
The idea of holding executives responsible for the harm done by the corporations they lead is considered a novel concept in the United States. As just one example, in 2010 Merck agreed to make payments to the families of 3,468 people who died of heart attacks or strokes as a result of using the painkiller Vioxx. More than three years before Merck pulled Vioxx from the market, research had shown that it led to an increased risk of heart attacks and strokes. Merck's CEO at the time of the transgressions, Raymond Gilmartin, was never charged with a criminal offense. In fact, he is currently an adjunct professor at Harvard Business School, teaching a new generation of corporate executive wannabes how to run a business. His official Harvard biography lists two of his topics of interest as "corporate social responsibility" and "ethics."
-David Wallechinsky, Noel Brinkerhoff
Asbestos Deaths Bring 16-Year Sentence (by Jim Morris, iWatch News)
Dangers in the Dust (Center for Public Integrity)
Merck Pays $950 Million for Vioxx Illegal Marketing and Dangers…But No Jail Time (by Noel Brinkerhoff, AllGov)


You can eventually discuss after your introduction what "hero" qualities might have an association to what people would consider courageous. Checked copyright and permission issues; Ensuring royalties are paid for additional images, music or footage used. 2 million dollar home we will be paying more taxes. Another idea would be some kind of re-usable tote bags for the grocery store.Saturday is the Biblical Sabbath(Exodus 208-11). Respect is earned, not automatic. I really like Lily. I found that the Royal York The Path of Least Resistance the closest to both the Union Station AND the ACC, but its around 198 for 2 adults, one Resista nce.freemasons acctually exist questions, Society Culture,Religion Spirituality Do you believe in strict gun control laws. A The Path of Least Resistance called Monster By Walter Dean Myers or a book called Nothing Last The Truth By AVI I am assigned summer reading and just wondering if they are any good.Go by your baby. I love Waterloo and Dancing Queen. What are some things you have to do every day. Update 2the 1991 crises I will try to explain the whole issue in my own words, to try to give you the basic idea and good links.
meanwhile, this what they also told about an incident like that which was caused by Russians "Korean airline massacre," a "crime against humanity that must never be forgotten" and an "act of barbarism… of inhuman brutality". That is the sign of a scam. Those I suppose would also be the colors everyone wanted. Twilight is my personal favorite 2. The Path of Least Resistance have a plant hanging in my room too, I just now realized that it was there. In fact, the McCanns checked more regularly, than the listeners would have done, yet thousands use the service throughout the summer The Path of Least Resistance. There is no resolution.


SS: well we know the fake land frauds in the world will never go for this .. even though we have scientific proof to prove this . only the few will ever know the real truth .here in my atlantean protostar theory we can see that the solar system and everything in it existed before the gods of men were even a thought form . the astral is attributed to the moon and venus which venus is the astral light and the moon its mirror reflection .. this is the dual properties of the astral light.
SS: you can see that our secret order science "main magical theory: the Quintessence" put forth over one hundred years ago has been proven truth by advanced scientific instruments . the universe was created through the power of the non-polarized astral and polarization of etheric … in some physics theories they theorize two dimensions collided (which i think is the astral and the etheric hyperdimensions) which is basically the same theory as the "M" Theory of brane collisions .
SS: when a particle enters a Higgs Boson Field it polarizes and gains mass .. any particle outside of a Higgs Boson Field is non-polarized and has no mass . this suggests another dimension of "scalar potentials" of non-polarized waveforms exists outside of our Higgs Boson Field.


Presidential candidate Newt Gingrich has promised us a permanent Moon base by 2020. Many people have been calling Newt's vow a publicity stunt, while others have chimed in by attacking the idea of a lunar base in and of itself, with assertions like "real scientists know [a Moon base] is fantasy."
We won't speak to Newt's political maneuverings, but we're sure as hell not going to sit idly by while people bash the feasibility or scientific potential of a lunar settlement. In fact, we've got 185 reasons we should set a course straight away.
NASA has expressed that all technologies developed for getting us to the Moon and keeping us there should, whenever possible, "be designed with maximum extensibility to Mars."
Setting up a base on the Moon is in many ways one step removed from sending an astronaut to the Red Planet — and doing that puts us one step closer to us getting off this rock and out into our galaxy and beyond. One hundred, five-hundred, a thousand years from now, when our descendants look back on our first days of space travel, they'll remember that putting a permanent base on the Moon was the first, indispensable step.
We spoke to astrophysicist Michael Shara — curator of the astrophysics department at the American Museum of Natural History — about the scientific potential of a permanent Moon base, and one of the first things to come up was lunar resource utilization.
"Lunar geology is in its infancy," he explained. "Helium 3 and rare earth element mining would be a major industry."
What is Helium-3? Remember the stuff they were mining in Duncan Jones' Moon? That was helium-3 — a non-radioactive isotope of helium with huge potential in nuclear fusion research and alternative energy applications. Yes it really exists, yes it really is rare on Earth, and yes it really could make a one-way-trip to the Moon totally worth it. Not only would it make for a great off-world alternative energy source, it would also provide on-site support for expansion and development on the Moon itself.
Have you heard about liquid mirror telescopes? They're elegant in their simplicity, economically affordable to construct, and harness incredible imaging potential. "It's so simple," explains Ermanno F. Borra, a physics professor at the Optics Laboratory of Laval University in Quebec, Canada. "Isaac Newton knew that any liquid, if put into a shallow container and set spinning, naturally assumes a parabolic shape-the same shape needed by a telescope mirror to bring starlight to a focus."
And to top it off, the Moon's temperatures and open space make it the perfect place to build one. "Huge liquid mirror telescopes, operating in the ultraviolet and infrared range, would have 1000x the light-gathering power of Keck," Shara told io9. As a point of reference, the Keck Observatory's two main telescopes are the second-largest optical telescopes on Earth.
Yes, getting back to the Moon will be expensive. Yes, setting up shop there permanently will be very expensive. But you have to think of it as an investment, because the potential for monetary return is huge. Think of the payback you'd see from space tourism, alone... then realize that every time a new resource is tapped, every time a new technology is developed, every time a new system is successfully demonstrated, it will be a boon for those who have contributed towards making Man's presence on the Moon a reality.
Here, have 181 of them, from a list of Lunar Exploration Objectives published by NASA. Advancement of scientific knowledge, economic expansion, public engagement... it's all there. Going to the Moon is not a fantasy. It's an opportunity.


Influential movies leave us feeling breathless after we've watched them. We watch influential movies over-and-over until they become part of our pop culture DNA.
An Italian study has evaluated 47 000 movies on IMDb, across 26 genres to find the most influential movies of our time. The researcher from the University of Turin studied when and how many times a movie was referenced in movies that were made after it. The researchers then collected this data to study citation patterns to determine the most influential movies.
From all of the influential movies, the classic The Wizard of Oz was found to be the most influential movie of all time.
Judy Garland portrays the role of Dorothy in this iconic 1939 movie, which is now cemented as one of the most important movies ever made, according to the Italian study.
The study also found which directors have the most influence in the movie industry.
It comes as no surprise that Alfred Hitchcock, the director of influential movies like Pshyco, The Birds, Vertigo, and many many more.
Coming in at second place is Steven Spielberg, who is responsible for masterpieces like the Jaws franchise, E.T., and most recently, Ready Player One.
Which of the most influential movies do you love the most? Drop us a comment below and let us know.


text:
Cyryl Astrachański (zm. ok. 1576 w Astrachaniu) – święty mnich Rosyjskiego Kościoła Prawosławnego.

O wczesnej działalności świętego niewiele wiadomo. W 1568 został, z polecenia przełożonego klasztory, w którym wcześniej zamieszkiwał, archimandrytą nowo powstałego monasteru Świętej Trójcy w Astrachaniu. Prowadził rozbudowę tego klasztory, wznosząc w nim cerkwie Świętej Trójcy, Wprowadzenia Matki Bożej do Świątyni i św. Mikołaja. Równocześnie zajmował się pracą misyjną w regionie astrachańskim, zyskując szacunek nawet w miejscowej społeczności muzułmańskiej; wyznawcy islamu nadali mu przydomek "Czarny Dawid", nawiązując do króla i proroka Dawida.

Zmarł ok. 1576. Jego ikony powstawały już w następnym stuleciu, jednak dopiero w 1790 jest oficjalnie czczony w Rosyjskiej cerkwi prawosławnej.

Bibliografia
Преподобный Кирилл Астраханский

Rosyjscy święci prawosławni
Nieznana data urodzenia
Zakonnicy prawosławni
Zmarli w XVI wieku

redpajama_set_name: RedPajamaWikipedia


Get up close and hands-on with meteorite material with expert Tony Kearsley. A fascinating two hours where you will use meteorite specimens, thin slices and slides, an array of microscopes and data from analytical microprobes to explore and investigate extra-terrestrial material found on three continents, originating from asteroids, the Moon and Mars.
Numbers for the workshops are extremely limited. Please book your place using our Eventbrite page click here for Saturday 25 May or for Saturday 27 July click here.
Sponsored by the Royal Society as part of their places of science scheme, this exciting exhibition will showcase the importance of Whitby and the surrounding area in scientific research both above and below ground.
The centrepiece of the exhibition will be the ZEPLIN III dark matter detector which was used at Boulby Underground Laboratory until 2011 and has been donated to the Museum by Imperial College London. The exhibition will tell the story of the remarkable and internationally important work taking place at Boulby. More than a kilometre below the earth's surface the laboratory is the only facility in the UK where studies into the universe's dark matter can be carried out almost entirely free of interference from natural background radiation.
But Whitby's scientific contribution goes much further back than that. In 1768 Captain James Cook's voyage was commissioned by the Royal Society to map the transit of Venus. This allowed astronomers to calculate the distance from the earth to the sun and other planets. The exhibition will highlight Captain Cook's role as an innovator in scientific exploration whose work contributed to our current understanding of the universe.
The exhibition will open on Saturday 16th February and run until 20th July.
We are extremely grateful to the Royal Society, Imperial College London, Boulby Underground Laboratory and ICL (owners of Boulby Mine) for their help and support in staging this exciting exhibition.
The fashion industry is one of the top 5 most polluting industries in the world.
Discover how fashion has affected our environment and wildlife since the 19th century.
Cotton production, invention of chemical dyes, slave trade, sweat- shops and the fur industry have all contributed to environmental pollution, health issues, water shortages and cruelty to animals.
People are now buying twice as many clothes as they did 10 years ago so we need to consider the impact of this on future generations.
Find out more in our 2019 Costume Exhibition on view in our Costume Gallery until late 2019.
The Pannett Art Gallery is managed by Whitby Town Council . The programme for forthcoming exhibitions at the Art Gallery is given below. Admission is free. Information courtesy of the Art Gallery Curator, Ms. Helen Berry.
Please note, all information is correct at the time of writing but may be subject to change. Please phone before making a special journey to visit any exhibition. Tel. (01947) 600933. If no answer from this number, please try Whitby Town Council on (01947) 820227 or Email: pannett.gallery@whitbytowncouncil.gov.uk.
Whitby Museum is situated in the wonderful surroundings of Pannett Park.


Since the Robin Hood Tax campaign was launched in 2009, it has collected over a million signatures, calling for this tiny tax on financial transactions (FTT) to help protect public services and fight poverty and climate change, at home and abroad. The proposed FTT is a tax of between 0.01% and 0.1% (depending on the transaction) applied to the finance sector that could generate around 37 billion Euros a year Europe wide.
Campaign members across Europe have presented the million strong petition to leaders and finance ministers currently negotiating to introduce their own Robin Hood taxes. It was targeted at eleven European countries (including France and Germany).
With the talks soon coming to a close, we're urging these leaders to stay strong in the face of sustained lobbying from a financial sector keen to dilute the proposal. We know that the Robin Hood Tax is a great way to ensure that the financial sector pays its fair share; whilst any watering down of this deal could lead to the loss of billions to help the world's poorest people and the planet.
It's been a long fight - and with so much at stake - we're asking Europe's leaders: will you join the million by backing a strong Robin Hood Tax?
No matter where you're from, your voice can help make this happen!


Definition at line 77 of file TargetTransformInfo.h.
Definition at line 733 of file TargetTransformInfo.h.
Definition at line 962 of file TargetTransformInfo.h.
Additional information about an operand's possible values.
Definition at line 689 of file TargetTransformInfo.h.
Additional properties of an operand's values.
Definition at line 697 of file TargetTransformInfo.h.
Compared to the SW implementation, HW support is supposed to significantly boost the performance when the population is dense, and it may or may not degrade performance if the population is sparse. A HW support is considered as "Fast" if it can outperform, or is on a par with, SW implementation when the population is sparse; otherwise, it is considered as "Slow".
Definition at line 461 of file TargetTransformInfo.h.
Broadcast element 0 to all other elements.
Reverse the order of the vector.
Selects elements from the corresponding lane of either source operand.
This is equivalent to a vector select with a constant condition operand.
InsertSubvector. Index indicates start offset.
ExtractSubvector Index indicates start offset.
Merge elements from two source vectors into one with any shuffle mask.
Shuffle elements of single source vector with any shuffle mask.
Definition at line 673 of file TargetTransformInfo.h.
Underlying constants for 'cost' values in this interface.
Many APIs in this interface return a cost. This enum defines the fundamental values that should be used to interpret (and produce) those costs. The costs are returned as an int rather than a member of this enumeration because it is expected that the cost of one IR instruction may have a multiplicative factor to it or otherwise won't fit directly into the enum. Moreover, it is common to sum or average costs which works better as simple integral values. Thus this enum only provides constants. Also note that the returned costs are signed integers to make it natural to add, subtract, and test with zero (a common boundary condition). It is not expected that 2^32 is a realistic cost to be modeling at any point.
Note that these costs should usually reflect the intersection of code-size cost and execution cost. A free instruction is typically one that folds into another instruction. For example, reg-to-reg moves can often be skipped by renaming the registers in the CPU, but they still are encoded and thus wouldn't be considered 'free' here.
The cost of a typical 'add' instruction.
The cost of a 'div' instruction on x86.
Definition at line 165 of file TargetTransformInfo.h.
The kind of cost model.
There are several different cost models that can be customized by the target. The normalization of each cost model may be target specific.
Definition at line 120 of file TargetTransformInfo.h.
Construct a TTI object using a type implementing the Concept API below.
This is used by targets to construct a TTI wrapping their target-specific implementaion that encodes appropriate costs for their target.
Definition at line 1660 of file TargetTransformInfo.h.
Construct a baseline TTI object using a minimal implementation of the Concept API below.
The TTI implementation will reflect the information in the DataLayout provided if non-null.
Definition at line 43 of file TargetTransformInfo.cpp.
Definition at line 48 of file TargetTransformInfo.cpp.
Definition at line 46 of file TargetTransformInfo.cpp.
Definition at line 293 of file TargetTransformInfo.cpp.
True if the caller and callee agree on how Args will be passed to the callee.
[out] Args The list of compatible arguments. The implementation may filter out any incompatible args from this list.
Definition at line 642 of file TargetTransformInfo.cpp.
True if the two functions have compatible attributes for inlining purposes.
Definition at line 637 of file TargetTransformInfo.cpp.
Referenced by functionsHaveCompatibleAttributes(), and isWrapperOnlyCall().
Return true if the target can fuse a compare and branch.
Loop-strength-reduction (LSR) uses that knowledge to adjust its cost calculation for the instructions in a loop.
Definition at line 160 of file TargetTransformInfo.cpp.
Don't restrict interleaved unrolling to small loops.
Definition at line 272 of file TargetTransformInfo.cpp.
Enable matching of interleaved access groups.
Definition at line 281 of file TargetTransformInfo.cpp.
Enable matching of interleaved access groups that contain predicated accesses or gaps and therefore vectorized using masked vector loads/stores.
Definition at line 285 of file TargetTransformInfo.cpp.
Definition at line 277 of file TargetTransformInfo.cpp.
The cost of the address computation. For most targets this can be merged into the instruction indexing mode. Some targets might want to distinguish between address computation for memory operations on vector types and scalar types. Such targets should override this function. The 'SE' parameter holds pointer for the scalar evolution object which is used in order to get the Ptr step value in case of constant stride. The 'Ptr' parameter holds SCEV of the access pointer.
Definition at line 579 of file TargetTransformInfo.cpp.
Referenced by chainToBasePointerCost(), and isStrideMul().
This is an approximation of reciprocal throughput of a math/logic op.
A higher cost indicates less expected throughput. From Agner Fog's guides, reciprocal throughput is "the average number of clock cycles per instruction when the instructions are not part of a limiting dependency chain." Therefore, costs should be scaled to account for multiple execution units on the target that can process this type of instruction. For example, if there are 5 scalar integer units and 2 vector integer units that can calculate an 'add' in a single cycle, this model should indicate that the cost of the vector add instruction is 2.5 times the cost of the scalar add instruction. Args is an optional argument which holds the instruction operands values so the TTI can analyze those values searching for special cases or optimizations based on those values.
Definition at line 454 of file TargetTransformInfo.cpp.
Referenced by createRdxShuffleMask(), isBroadcastShuffle(), matchVectorSplittingReduction(), llvm::LoopVectorizationCostModel::setCostBasedWideningDecision(), and visitIVCast().
Calculate the cost of performing a vector reduction.
This is the cost of reducing the vector value of type Ty to a scalar value using the operation denoted by Opcode. The form of the reduction can either be a pairwise reduction or a reduction that splits the vector at every reduction level.
Definition at line 587 of file TargetTransformInfo.cpp.
Referenced by createRdxShuffleMask(), and matchVectorSplittingReduction().
The maximum element size, in bytes, for an element unordered-atomic memory intrinsic.
Definition at line 613 of file TargetTransformInfo.cpp.
The associativity of the cache level, if available.
Definition at line 384 of file TargetTransformInfo.cpp.
The size of a cache line in bytes.
Definition at line 375 of file TargetTransformInfo.cpp.
The size of the cache level in bytes, if available.
Definition at line 379 of file TargetTransformInfo.cpp.
Estimate the cost of a function call when lowered.
The contract for this is the same as getOperationCost except that it supports an interface that provides extra information specific to call instructions.
This is the most basic query for estimating call cost: it only knows the function type and (potentially) the number of arguments at the call site. The latter is only interesting for varargs function types.
Definition at line 63 of file TargetTransformInfo.cpp.
Estimate the cost of calling a specific function when lowered.
This overload adds the ability to reason about the particular function being called in the event it is a library call with special lowering.
This overload allows specifying a set of candidate argument values.
Definition at line 70 of file TargetTransformInfo.cpp.
The cost of Call instructions.
Definition at line 568 of file TargetTransformInfo.cpp.
The expected cost of cast instructions, such as bitcast, trunc, zext, etc. If there is an existing instruction that holds Opcode, it may be passed in the 'I' parameter.
Definition at line 472 of file TargetTransformInfo.cpp.
Referenced by chainToBasePointerCost(), matchVectorSplittingReduction(), and llvm::LoopVectorizationCostModel::setCostBasedWideningDecision().
The expected cost of control-flow related instructions such as Phi, Ret, Br.
Definition at line 489 of file TargetTransformInfo.cpp.
Referenced by llvm::LoopVectorizationCostModel::collectInstsToScalarize(), matchVectorSplittingReduction(), and llvm::LoopVectorizationCostModel::setCostBasedWideningDecision().
The expected cost of compare and select instructions. If there is an existing instruction that holds Opcode, it may be passed in the 'I' parameter.
Definition at line 495 of file TargetTransformInfo.cpp.
Referenced by createRdxShuffleMask(), matchVectorSplittingReduction(), and llvm::LoopVectorizationCostModel::setCostBasedWideningDecision().
The cost, if any, of keeping values of the given types alive over a callsite.
Some types may require the use of register classes that do not have any callee-saved registers, so would require a spill and fill.
Definition at line 604 of file TargetTransformInfo.cpp.
The estimated number of case clusters when lowering 'SI'. JTSize Set a jump table size only when SI is suitable for a jump table.
Definition at line 101 of file TargetTransformInfo.cpp.
Estimate the cost of a EXT operation when lowered.
The contract for this function is the same as getOperationCost except that it supports an interface that provides extra information specific to the EXT operation.
Definition at line 87 of file TargetTransformInfo.cpp.
The expected cost of a sign- or zero-extended vector extract. Use -1 to indicate that there is no information about the index value.
Definition at line 481 of file TargetTransformInfo.cpp.
Returns the address space ID for a target's 'flat' address space.
Note this is not necessarily the same as addrspace(0), which LLVM sometimes refers to as the generic address space. The flat address space is a generic address space that can be used access multiple segments of memory with different address spaces. Access of a memory location through a pointer with this address space is expected to be legal but slower compared to the same memory location accessed through a pointer with a different address space. This is for targets with different pointer representations which can be converted with the addrspacecast instruction. If a pointer is converted to this address space, optimizations should attempt to replace the access with the source address space.
~0u if the target does not have such a flat address space to optimize away.
Definition at line 125 of file TargetTransformInfo.cpp.
Return the expected cost of supporting the floating point operation of the specified type.
Definition at line 315 of file TargetTransformInfo.cpp.
Definition at line 531 of file TargetTransformInfo.cpp.
The contract for this function is the same as getOperationCost except that it supports an interface that provides extra information specific to the GEP operation.
Definition at line 82 of file TargetTransformInfo.cpp.
A value by which our inlining threshold should be multiplied. This is primarily used to bump up the inlining threshold wholesale on targets where calls are unusually expensive.
TODO: This is a rather blunt instrument. Perhaps altering the costs of individual classes of instructions would be better.
Definition at line 78 of file TargetTransformInfo.cpp.
Query the cost of a specified instruction.
Clients should use this interface to query the cost of an existing instruction. The instruction must have a valid parent (basic block).
Note, this method does not cache the cost calculation and it can be expensive in some cases.
Definition at line 133 of file TargetTransformInfo.h.
Referenced by canSplitCallSite(), and getOutliningBenefit().
The cost of the interleaved memory operation. Opcode is the memory operation code VecTy is the vector type of the interleaved access. Factor is the interleave factor Indices is the indices for interleaved load members (as interleaved load allows gaps) Alignment is the alignment of the memory operation AddressSpace is address space of the pointer. UseMaskForCond indicates if the memory access is predicated. UseMaskForGaps indicates if gaps should be masked.
Definition at line 540 of file TargetTransformInfo.cpp.
Return the expected cost for the given integer when optimising for size.
This is different than the other integer immediate cost functions in that it is subtarget agnostic. This is useful when you e.g. target one ISA such as Aarch32 but smaller encodings could be possible with another such as Thumb. This return value is used as a penalty when the total costs for a constant is calculated (the bigger the cost, the more beneficial constant hoisting is).
Definition at line 321 of file TargetTransformInfo.cpp.
Return the expected cost of materializing for the given integer immediate of the specified type.
Definition at line 329 of file TargetTransformInfo.cpp.
Referenced by isSafeAndProfitableToSpeculateAroundPHI(), and tryUnmergingGEPsAcrossIndirectBr().
Return the expected cost of materialization for the given integer immediate of the specified type for a given instruction.
The cost can be zero if the immediate can be folded into the specified instruction.
Definition at line 335 of file TargetTransformInfo.cpp.
Definition at line 342 of file TargetTransformInfo.cpp.
Estimate the cost of an intrinsic when lowered.
Mirrors the getCallCost method but uses an intrinsic identifier.
Definition at line 92 of file TargetTransformInfo.cpp.
scalar instruction which is to be vectorized with VF.
Definition at line 561 of file TargetTransformInfo.cpp.
Referenced by getVectorIntrinsicCost(), and matchVectorSplittingReduction().
The cost of Intrinsic instructions. Types analysis only. If ScalarizationCostPassed is UINT_MAX, the cost of scalarizing the arguments and the return value will be computed based on types.
Definition at line 552 of file TargetTransformInfo.cpp.
Returns the target's jmp_buf alignment in bytes.
Definition at line 238 of file TargetTransformInfo.cpp.
Returns the target's jmp_buf size in bytes.
Definition at line 242 of file TargetTransformInfo.cpp.
The bitwidth of the largest vector type that should be used to load/store in the given address space.
Definition at line 658 of file TargetTransformInfo.cpp.
The new vector factor value if the target doesn't support SizeInBytes loads or has a better vector factor.
Definition at line 682 of file TargetTransformInfo.cpp.
The cost of masked Load and Store instructions.
Definition at line 522 of file TargetTransformInfo.cpp.
The maximum interleave factor that any transform should try to perform for this target. This number depends on the level of parallelism and the number of execution units in the CPU.
Definition at line 401 of file TargetTransformInfo.cpp.
Referenced by llvm::LoopVectorizePass::runImpl(), and llvm::LoopVectorizationCostModel::selectInterleaveCount().
The maximum number of iterations to prefetch ahead. If the required number of iterations is more than this number, no prefetching is performed.
Definition at line 397 of file TargetTransformInfo.cpp.
the expected cost of a memcpy, which could e.g.
depend on the source/destination type and alignment and the number of bytes copied.
The type to use in a loop expansion of a memcpy call.
Definition at line 622 of file TargetTransformInfo.cpp.
Referenced by llvm::createMemCpyLoopKnownSize(), and llvm::createMemCpyLoopUnknownSize().
[out] OpsOut The operand types to copy RemainingBytes of memory.
RemainingBytes The number of bytes to copy.
Calculates the operand types to use when copying RemainingBytes of memory, where source and destination alignments are SrcAlign and DestAlign respectively.
Definition at line 630 of file TargetTransformInfo.cpp.
The cost of Load and Store instructions.
Definition at line 511 of file TargetTransformInfo.cpp.
Referenced by isStrideMul(), and matchVectorSplittingReduction().
The minimum vectorization factor for types of given element bit width, or 0 if there is no mimimum VF. The returned value only applies when shouldMaximizeVectorBandwidth returns true.
Definition at line 365 of file TargetTransformInfo.cpp.
Definition at line 594 of file TargetTransformInfo.cpp.
Some HW prefetchers can handle accesses up to a certain constant stride. This is the minimum stride in bytes where it makes sense to start adding SW prefetches. The default is 1, i.e. prefetch with any stride.
Definition at line 393 of file TargetTransformInfo.cpp.
The width of the smallest vector register type.
Definition at line 357 of file TargetTransformInfo.cpp.
The number of pieces into which the provided type must be split during legalization. Zero is returned when the answer is unknown.
Definition at line 575 of file TargetTransformInfo.cpp.
The number of scalar or vector registers that the target has. If 'Vectors' is true, it returns the number of vector registers. If it is set to false, it returns the number of scalar registers.
Definition at line 349 of file TargetTransformInfo.cpp.
Referenced by llvm::LoopVectorizationCostModel::computeMaxVF(), getSetupCost(), llvm::LoopVectorizePass::runImpl(), and llvm::LoopVectorizationCostModel::selectInterleaveCount().
Collect properties of V used in cost analysis, e.g. OP_PowerOf2.
Definition at line 406 of file TargetTransformInfo.cpp.
References E, llvm::getSplatValue(), I, OK_AnyValue, OK_NonUniformConstantValue, OK_UniformConstantValue, OK_UniformValue, OP_None, and OP_PowerOf2.
Referenced by llvm::BasicTTIImplBase< AMDGPUTTIImpl >::getIntrinsicInstrCost(), matchVectorSplittingReduction(), and llvm::LoopVectorizationCostModel::setCostBasedWideningDecision().
Definition at line 263 of file TargetTransformInfo.cpp.
Referenced by getScalarizationOverhead(), and getScalarizationOverhead().
Estimate the cost of a specific operation when lowered.
Note that this is designed to work on an arbitrary synthetic opcode, and thus work for hypothetical queries before an instruction has even been formed. However, this does not work for GEPs, and must not be called for a GEP instruction. Instead, use the dedicated getGEPCost interface as analyzing a GEP's cost required more information.
Typically only the result type is required, and the operand type can be omitted. However, if the opcode is one of the cast instructions, the operand type is required.
The returned cost is defined in terms of TargetCostConstants, see its comments for a detailed explanation of the cost values.
Definition at line 56 of file TargetTransformInfo.cpp.
A value which is the result of the given memory intrinsic. New instructions may be created to extract the result from the given intrinsic memory operation. Returns nullptr if the target cannot create a result from the given intrinsic.
Definition at line 617 of file TargetTransformInfo.cpp.
Return hardware support for population count.
Definition at line 303 of file TargetTransformInfo.cpp.
How much before a load we should place the prefetch instruction. This is currently measured in number of instructions.
Definition at line 389 of file TargetTransformInfo.cpp.
The width of the largest scalar or vector register type.
Definition at line 353 of file TargetTransformInfo.cpp.
Referenced by llvm::LoopVectorizationCostModel::calculateRegisterUsage(), llvm::LoopVectorizationCostModel::computeMaxVF(), and llvm::LoopVectorizationPlanner::planInVPlanNativePath().
Definition at line 258 of file TargetTransformInfo.cpp.
Referenced by llvm::LoopVectorizationCostModel::collectInstsToScalarize(), getScalarizationOverhead(), llvm::LoopVectorizationCostModel::setCostBasedWideningDecision(), and useColdCCForColdCall().
Return the cost of the scaling factor used in the addressing mode represented by AM for this target, for a load/store of the specified type.
If the AM is supported, the return value must be >= 0. If the AM is not supported, it returns a negative value. TODO: Handle pre/postinc as well.
Definition at line 209 of file TargetTransformInfo.cpp.
The cost of a shuffle instruction of kind Kind and of type Tp. The index and subtype parameters are used by the subvector insertion and extraction shuffle kinds to show the insert/extract point and the type of the subvector being inserted/extracted. NOTE: For subvector extractions Tp represents the source type.
Definition at line 465 of file TargetTransformInfo.cpp.
Referenced by isStrideMul(), and llvm::LoopVectorizationCostModel::setCostBasedWideningDecision().
The new vector factor value if the target doesn't support SizeInBytes stores or has a better vector factor.
Definition at line 689 of file TargetTransformInfo.cpp.
True if the intrinsic is a supported memory intrinsic. Info will contain additional information - whether the intrinsic may write or read to memory, volatility and the pointer. Info is undefined if false is returned.
Definition at line 608 of file TargetTransformInfo.cpp.
Referenced by getAccessType(), and isAddressUse().
Get target-customized preferences for the generic loop unrolling transformation.
The caller will initialize UP with the current target-independent defaults.
Definition at line 133 of file TargetTransformInfo.cpp.
This can estimate the cost of either a ConstantExpr or Instruction when lowered. It has two primary advantages over the getOperationCost and getGEPCost above, and one significant disadvantage: it can only be used when the IR construct has already been formed.
The advantages are that it can inspect the SSA use graph to reason more accurately about the cost. For example, all-constant-GEPs can often be folded into a load or other instruction, but if they are used in some other context they may not be folded. This routine can distinguish such cases.
Operands is a list of operands which can be a result of transformations of the current operands. The number of the operands on the list must equal to the number of the current operands the IR user has. Their order on the list must be the same as the order of the current operands the IR user has.
Definition at line 106 of file TargetTransformInfo.cpp.
Referenced by llvm::CodeMetrics::analyzeBasicBlock(), analyzeLoopUnrollCost(), llvm::ComputeSpeculationCost(), ComputeSpeculationCost(), findProfitablePHIs(), isFreeInLoop(), matchVectorSplittingReduction(), sinkSelectOperand(), and unswitchBestCondition().
This is a helper function which calls the two-argument getUserCost with Operands which are the current operands U has.
Definition at line 284 of file TargetTransformInfo.h.
References F(), llvm::User::value_op_begin(), and llvm::User::value_op_end().
The expected cost of vector Insert and Extract. Use -1 to indicate that there is no information on the index value.
Definition at line 504 of file TargetTransformInfo.cpp.
Referenced by findBuildVector(), isBroadcastShuffle(), isStrideMul(), and matchVectorSplittingReduction().
Branch divergence has a significantly negative impact on GPU performance when threads in the same wavefront take different paths due to conditional branches.
Definition at line 113 of file TargetTransformInfo.cpp.
Referenced by llvm::LoopVectorizationCostModel::computeMaxVF(), llvm::SpeculativeExecutionPass::runImpl(), and llvm::LegacyDivergenceAnalysis::runOnFunction().
Return true if the target has a unified operation to calculate division and remainder.
If so, the additional implicit multiplication and subtraction required to calculate a remainder from division are free. This can enable more aggressive transformations for division and remainder than would typically be allowed using throughput or size cost models.
Definition at line 196 of file TargetTransformInfo.cpp.
Return true if the given instruction (assumed to be a memory access instruction) has a volatile variant.
If that's the case then we can avoid addrspacecast to generic AS for volatile loads/stores. Default implementation returns false, which prevents address space inference for volatile loads/stores.
Definition at line 200 of file TargetTransformInfo.cpp.
Return true if the hardware has a fast square-root instruction.
Definition at line 307 of file TargetTransformInfo.cpp.
When used as a result of TargetIRAnalysis this method will be called when the function this was computed for changes. When it returns false, the information is preserved across those changes.
Definition at line 106 of file TargetTransformInfo.h.
Definition at line 121 of file TargetTransformInfo.cpp.
Return true if it is faster to check if a floating-point value is NaN (or not-NaN) versus a comparison against a constant FP zero value.
Targets should override this if materializing a 0.0 for comparison is generally as cheap as checking for ordered/unordered.
Definition at line 311 of file TargetTransformInfo.cpp.
Indicate that it is potentially unsafe to automatically vectorize floating-point operations because the semantics of vector and scalar floating-point semantics may differ.
For example, ARM NEON v7 SIMD math does not support IEEE-754 denormal numbers, while depending on the platform, scalar floating-point math does. This applies to floating-point math operations and calls, not memory operations, shuffles, or casts.
Definition at line 289 of file TargetTransformInfo.cpp.
True if the specified indexed load for the given type is legal.
Definition at line 648 of file TargetTransformInfo.cpp.
Referenced by getSetupCost(), and mayUsePostIncMode().
True if the specified indexed store for the given type is legal.
Definition at line 653 of file TargetTransformInfo.cpp.
Return true if the specified immediate is legal add immediate, that is the target has add instructions which can add a register with the immediate without having to materialize the immediate into a register.
Definition at line 138 of file TargetTransformInfo.cpp.
The type may be VoidTy, in which case only return true if the addressing mode is legal for a load/store of any legal type. If target returns true in LSRWithInstrQueries(), I may be valid. TODO: Handle pre/postinc as well.
Definition at line 146 of file TargetTransformInfo.cpp.
Referenced by llvm::createSeparateConstOffsetFromGEPPass(), isAddFoldable(), isAlwaysFoldable(), and isAMCompletelyFolded().
Return true if the specified immediate is legal icmp immediate, that is the target has icmp instructions which can compare a register against the immediate without having to materialize the immediate into a register.
Definition at line 142 of file TargetTransformInfo.cpp.
Return true if the target supports masked compress store.
Definition at line 188 of file TargetTransformInfo.cpp.
Return true if the target supports masked expand load.
Definition at line 192 of file TargetTransformInfo.cpp.
Return true if the target supports masked gather.
Definition at line 180 of file TargetTransformInfo.cpp.
Return true if the target supports masked store.
Definition at line 176 of file TargetTransformInfo.cpp.
Referenced by llvm::LoopVectorizationCostModel::interleavedAccessCanBeWidened(), and llvm::LoopVectorizationCostModel::isLegalMaskedLoad().
Return true if the target supports masked scatter.
Definition at line 184 of file TargetTransformInfo.cpp.
Return true if the target supports masked load.
Definition at line 172 of file TargetTransformInfo.cpp.
Referenced by llvm::LoopVectorizationCostModel::interleavedAccessCanBeWidened(), and llvm::LoopVectorizationCostModel::isLegalMaskedStore().
True if the load instruction is legal to vectorize.
Definition at line 662 of file TargetTransformInfo.cpp.
True if it is legal to vectorize the given load chain.
Definition at line 670 of file TargetTransformInfo.cpp.
True if the store instruction is legal to vectorize.
Definition at line 666 of file TargetTransformInfo.cpp.
True if it is legal to vectorize the given store chain.
Definition at line 676 of file TargetTransformInfo.cpp.
Test whether calls to a function lower to actual program function calls.
The idea is to test whether the program is likely to require a 'call' instruction or equivalent in order to call the given function.
FIXME: It's not clear that this is a good or useful query API. Client's should probably move to simpler cost metrics using the above. Alternatively, we could split the cost interface into distinct code-size and execution-speed costs. This would allow modelling the core of this query more accurately as a call is a single small instruction, but incurs significant execution cost.
Definition at line 129 of file TargetTransformInfo.cpp.
Referenced by llvm::CodeMetrics::analyzeBasicBlock(), analyzeLoopUnrollCost(), findTRECandidate(), and llvm::CGProfilePass::run().
Return true if LSR cost of C1 is lower than C1.
Definition at line 156 of file TargetTransformInfo.cpp.
Return true if it is profitable to hoist instruction in the then/else to before if.
Definition at line 228 of file TargetTransformInfo.cpp.
Returns whether V is a source of divergence.
This function provides the target-dependent information for the target-independent LegacyDivergenceAnalysis. LegacyDivergenceAnalysis first builds the dependency graph, and then runs the reachability algorithm starting with the sources of divergence.
Definition at line 117 of file TargetTransformInfo.cpp.
Return true if it's free to truncate a value of type Ty1 to type Ty2.
e.g. On x86 it's free to truncate a i32 value in register EAX to i16 by referencing its sub-register AX.
Definition at line 224 of file TargetTransformInfo.cpp.
Referenced by llvm::LoopVectorizationCostModel::isOptimizableIVTruncate(), mayUsePostIncMode(), and llvm::SCEVExpander::replaceCongruentIVs().
Return true if this type is legal.
Definition at line 234 of file TargetTransformInfo.cpp.
Referenced by llvm::computeMinimumValueSizes(), isAlwaysFoldable(), and ShouldBuildLookupTable().
Return true if the loop strength reduce pass should make Instruction* based TTI queries to isLegalAddressingMode().
This is needed on SystemZ, where e.g. a memcpy can only have a 12 bit unsigned immediate offset and no index register.
Definition at line 220 of file TargetTransformInfo.cpp.
Definition at line 51 of file TargetTransformInfo.cpp.
Return true if target doesn't mind addresses in vectors.
Definition at line 205 of file TargetTransformInfo.cpp.
Referenced by getScalarizationOverhead(), and llvm::LoopVectorizationCostModel::setCostBasedWideningDecision().
Return true if switches should be turned into lookup tables for the target.
Definition at line 246 of file TargetTransformInfo.cpp.
Return true if switches should be turned into lookup tables containing this constant value for the target.
Definition at line 249 of file TargetTransformInfo.cpp.
True if it should be considered for address type promotion. AllowPromotionWithoutCommonHeader Set true if promoting I is profitable without finding other extensions fed by the same input.
Definition at line 369 of file TargetTransformInfo.cpp.
True if the target wants to expand the given reduction intrinsic into a shuffle sequence.
Definition at line 701 of file TargetTransformInfo.cpp.
Return true if LSR should make efforts to generate indexed addressing modes that operate across loop iterations.
Definition at line 168 of file TargetTransformInfo.cpp.
True is LSR should make efforts to create/preserve post-inc addressing mode expressions.
Definition at line 164 of file TargetTransformInfo.cpp.
True if the vectorization factor should be chosen to make the vector of the smallest element type match the size of a vector register. For wider element types, this could result in creating vectors that span multiple vector registers. If false, the vectorization factor will be chosen based on the size of the widest element type.
Definition at line 361 of file TargetTransformInfo.cpp.
If target has efficient vector element load/store instructions, it can return true here so that insertion/extraction costs are not added to the scalarization cost of a load/store.
Definition at line 268 of file TargetTransformInfo.cpp.
Definition at line 232 of file TargetTransformInfo.cpp.
Return true if the input function which is cold at all call sites, should use coldcc calling convention.
Definition at line 253 of file TargetTransformInfo.cpp.
Referenced by getOutliningPenalty(), and OptimizeFunctions().
True if the target wants to handle the given reduction idiom in the intrinsics form instead of the shuffle form.
Definition at line 696 of file TargetTransformInfo.cpp.


text:
When Content is Everywhere, Marketing is Queen
Guy LeCharles Gonzalez	Marketing, Publishing	 March 24, 2011 March 24, 2011 2 Minutes
Checkmate By Marco Vossen
I want to be a writer. I do not want to spend 40 hours a week handling emails, formatting covers, finding editors, etc. Right now, being me is a full time corporation. As I said before in my post – Some Things That Need to be Said – I am spending so much time on things that are not writing.
In the midst of the latest round of nonsensical, zero-sum posturing in the worthless debate about traditional vs. self-publishing, Amanda Hocking has been refreshingly pragmatic about her impressive success doing the latter while refusing to demonize the former. If you haven't read her post, Some Things That Need to be Said, I demand you go do so now!
I noted back in late 2009 that, "The current discussions about the viability of publishers and publishing are primarily being driven by digital ideologues with self-serving agendas," and not much has changed since then as most of the discussions miss the real point: leveling the playing field for distribution does not level the playing field for discoverability.
If you publish it, will anybody know? Or care?
The success a lot of unknown authors are finding via self-publishing today is not unlike the early days of blogging, when it was easier to stand out and go viral because the signal:noise ratio wasn't completely out of whack like it is today. Some of those bloggers parlayed their success into platforms that went toe-to-toe with the established media brands who were slower to react to the digital transition, while others went to work for those brands to help them establish a strong digital presence of their own. The vast majority, though, simply faded away, as noted in a 2008 survey by Technorati that found "95 percent of blogs being essentially abandoned, left to lie fallow on the Web, where they become public remnants of a dream — or at least an ambition — unfulfilled."
Right now, the relative ease of digital publishing — not yet the equivalent of blogging, but getting closer every week — and the exceptional successes of a relative handful of authors masks the larger challenges ahead for authors and publishers alike, regardless of their business model: discoverability.
As ebooks grow in popularity and more and more of them are published made available for sale every day, how will readers navigate the deluge and discover the ones they'll really enjoy and want to share with others? Bookstores? Reviews? Bestseller lists? Social recommendations? Benevolent unicorns bearing magical devices?
Seth Godin's newest initiative, The Domino Project, has garnered a lot of attention, more so for its savvy marketing than the content it's produced, so far limited to a warmed-over remix of Tribes that's only available to customers willing to shop with Amazon (so much for maximizing spreadability!), and a couple of freebie downloads. First announced last November, there's been no word of any other authors joining his Project, so it will be interesting to watch if it ever becomes more than the latest episode of Godin's ongoing, over-the-top self-promotional agenda.
Hocking's comment, "being me is a full time corporation," is an important one because it's a critical reminder that, no matter how you go about it, publishing is a business, and writing the book is only one part of it.
Uploading that book to your preferred digital platform(s) is another part, and arguably the easiest aspect that's barely worth even talking about anymore. Ensuring anyone knows that book exists, though, is the tricky part for which there is no magic bullet, no easy button, and no level playing field.
Published March 24, 2011 March 24, 2011
Previous Post Poke the Box, by Seth Godin
Next Post Unleashing Stories; Engaging Communities
3 thoughts on "When Content is Everywhere, Marketing is Queen"
LFreshwater says:
Great post, Guy. Makes me think about the bloggers who did endure and who did find their market, people like Josh Marshall. He did it by focusing on content instead of being the shiny object, and he changed the game instead of simply playing it.
Guy LeCharles Gonzalez says:
Yeah, TPM is a great example. Interestingly, the majority of breakout blogs the past few years have focused either on aggregation or light entertainment, nothing really substantial like those of the first wave. Nikki Finke, of course, is a notable exception.
Thad McIlroy, The Future of Publishing says:
Great post, Guy.
It's not what authors want to hear, and you can be sure they won't. But as my friend Caroline once said: "Just because you can't see it doesn't mean it's not there."
Last year I enjoyed Lane Smith's kids book "It's a Book" but think now it should have included:
Q: "Can you make much money writing & publishing one?"
A: "Not very often. IT'S A BOOK!"
Unleashing Stories; Engaging Communities
[caption id="" align="aligncenter" width="500" caption="Chaos By Dave Pearson"][/caption] "Because we are all citizens of this democracy, because we will all…
Poke the Box, by Seth Godin
Poke the Box by Seth Godin My rating: 2 of 5 stars Poke the Box should have been titled Tribes:…
CBC Quickees: DMZ, G0DLAND, X-Factor and more
Snatching a handful of comics from the top of my most-recently read stack, in no particular order... Teen Titans #32:…

redpajama_set_name: RedPajamaCommonCrawl


text:
A New Look Into the Kennedy Center's $100M Expansion
By Michelle Goldchain@goldchainam Mar 6, 2015, 12:00pm EST
As part of the first major expansion to the John F. Kennedy Center for the Performing Arts, new renderings have been released on a floating pavilion planned on the Potomac River. Whether or not it will become a reality is debatable as the Kennedy Center has experienced issues getting it approved by the National Capital Planning Commission (NCPC). For NCPC Chair L. Preston Bryant, he is "not at all sure that it's consistent with federal policy." If all goes well for Kennedy Center officials, the pavilion will include an elevated pedestrian bridge across the Rock Creek Parkway, connecting it to the Kennedy Center. In a previous rendering of the pavilion, the design was larger and further away from the riverbank. Final plans for the floating pavilion will be sent to the NCPC, but no date has been set for when. If not approved, the alternative plan would be to build the 6,500-square-foot pavilion on land.
Other plans for the expansion include building two additional pavilions connected to the main building and a below-ground addition, adding 60,000-square-feet to the Center. The $100 million expansion will add spaces for classrooms, office spaces, lecture halls, and rehearsal rooms.
· More renderings of Kennedy Center's river pavilion, final vote pushed back [Washington Business Journal]
· JFK Center Breaks Ground for First Expansion in 50 Years [Curbed DC]
· Will the Kennedy Center's Expansion Cut it Off from D.C.? [Curbed DC]
The 30 best things to do in Washington, D.C., with kids From vintage carousels to world-renowned museums, D.C. offers something for every family. We've mapped our 30 top picks.


text:
Super Mario Maker 2 - Official Announcement Trailer
In this new game, a sequel to the original Wii U game, players can create the Super Mario courses of their dreams, with access to even more tools, items and features, including the new ability to create slopes for the first time. Super Mario Maker 2 launches exclusively for Nintendo Switch this June.
By Gajan Kulasingham on May 15, 2019 at 12:15PM PDT
First Released Sep 11, 2015
Play a near-limitless number of intensely creative Super Mario levels from players around the world. Its easy enough to create your own levels with the Wii U GamePad controller that it may feel like youre simply sketching out your ideas on paper, but you can now bring enemies and objects into a playable course in ways you could only dream of before.


text:
Q: What could make WildFly undeploy automatically an EAR? I have an application hosted in WildFly 8.2.1.Final and after some days it undeploy automatically my EAR.
The server is started with ./standalone.sh and the EAR is deployed putting the ear in the standalone/deployments folder along with .dodeploy file.
The last lines of server.log shows:
INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) JBAS017535: Unregistered web context: /App
INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) JBAS017535: Unregistered web context: /AppPortal
INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 60) JBAS011410: Stopping Persistence Unit (phase 2 of 2) Service 'AppEAR.ear/AppEJB.jar#AppEJB'
INFO  [org.jboss.weld.deployer] (MSC service thread 1-5) JBAS016009: Stopping weld service for deployment AppEAR.ear
INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 60) JBAS011410: Stopping Persistence Unit (phase 1 of 2) Service 'AppEAR.ear/AppEJB.jar#AppEJB'
INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015974: Stopped subdeployment (runtime-name: AppService.war) in 233ms
INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015974: Stopped subdeployment (runtime-name: AppEJB.jar) in 233ms
INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015974: Stopped subdeployment (runtime-name: AppPortal.war) in 237ms
INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015877: Stopped deployment AppEAR.ear (runtime-name: AppEAR.ear) in 336ms
INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018558: Undeployed "AppEAR.ear" (runtime-name: "AppEAR.ear")

After that, neither management console works at localhost:9990.

A: I had the same problem. I spent hours going through code, adjusting dependencies and adjusting by build. It turns out it was just a Linux cron job that was reloading WildFly if a script failed to send an email. This may not be your case, but check your cron jobs, or anything else that might be force reloading the server!
Here is the log output I was getting. It's not very explanatory. It should have at least said something like "Server reloaded by user request" or something.
2022-11-26 03:30:27,110 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0207: Starting subdeployment (runtime-name: "stych.war")
2022-11-26 03:30:27,110 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0207: Starting subdeployment (runtime-name: "stych-ejb.jar")
2022-11-26 03:30:27,986 INFO  [org.jboss.weld.deployer] (MSC service thread 1-7) WFLYWELD0003: Processing weld deployment stych.ear
2022-11-26 03:30:28,092 INFO  [org.hibernate.validator.internal.util.Version] (MSC service thread 1-7) HV000001: Hibernate Validator 6.0.22.Final
2022-11-26 03:30:28,225 INFO  [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0003: Processing weld deployment stych-ejb.jar
2022-11-26 03:30:28,271 INFO  [org.jboss.weld.deployer] (MSC service thread 1-7) WFLYWELD0003: Processing weld deployment stych.war
2022-11-26 03:30:28,460 INFO  [io.jaegertracing.internal.JaegerTracer] (MSC service thread 1-7) No shutdown hook registered: Please call close() manually on application shutdown.
2022-11-26 03:30:28,517 INFO  [org.jboss.weld.Version] (MSC service thread 1-1) WELD-000900: 3.1.5 (Final)
2022-11-26 03:30:28,627 WARN  [org.jboss.as.jaxrs] (MSC service thread 1-6) WFLYRS0018: Explicit usage of Jackson annotation in a JAX-RS deployment; the system will disable JSON-B processing for the current deployment. Consider setting the 'resteasy.preferJacksonOverJsonB' property to 'false' to restore JSON-B.
2022-11-26 03:30:28,782 INFO  [org.infinispan.CONTAINER] (ServerService Thread Pool -- 78) ISPN000128: Infinispan version: Infinispan 'Corona Extra' 11.0.8.Final
2022-11-26 03:30:28,859 INFO  [org.infinispan.CONFIG] (MSC service thread 1-2) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
2022-11-26 03:30:28,861 INFO  [org.infinispan.CONFIG] (MSC service thread 1-2) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
2022-11-26 03:30:28,991 INFO  [org.infinispan.PERSISTENCE] (ServerService Thread Pool -- 78) ISPN000556: Starting user marshaller 'org.wildfly.clustering.infinispan.spi.marshalling.InfinispanProtoStreamMarshaller'
2022-11-26 03:30:29,186 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 78) WFLYCLINF0002: Started http-remoting-connector cache from ejb container
2022-11-26 03:30:29,807 INFO  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 80) RESTEASY002225: Deploying javax.ws.rs.core.Application: class com.stych.backend.rest.RestApplication
2022-11-26 03:30:29,807 WARN  [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 80) RESTEASY002155: Provider class org.jboss.resteasy.plugins.providers.jackson.ResteasyJacksonProvider is already registered.  2nd registration is being ignored.
2022-11-26 03:30:29,825 WARN  [org.jboss.as.weld] (ServerService Thread Pool -- 80) WFLYWELD0052: Using deployment classloader to load proxy classes for module com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider. Package-private access will not work. To fix this the module should declare dependencies on [org.jboss.weld.core, org.jboss.weld.spi, org.jboss.weld.api]
2022-11-26 03:30:30,034 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 80) WFLYUT0021: Registered web context: '/' for server 'default-server'
2022-11-26 03:30:30,091 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 45) WFLYSRV0010: Deployed "stych.ear" (runtime-name : "stych.ear")
2022-11-26 03:30:30,136 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
2022-11-26 03:30:30,139 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 22.0.1.Final (WildFly Core 14.0.1.Final) started in 8464ms - Started 516 of 718 services (356 services are lazy, passive or on-demand)
2022-11-26 03:30:30,140 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
2022-11-26 03:30:30,140 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
<------------------------------------------------------------------------------------------------>
            10 MINUTES LATER EVERYTHING GOT UNREGISTERED FOR AN UNKNOWN REASON
<------------------------------------------------------------------------------------------------>
2022-11-26 03:40:08,103 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-7) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
2022-11-26 03:40:08,113 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 83) WFLYUT0022: Unregistered web context: '/' from server 'default-server'
2022-11-26 03:40:08,136 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0019: Host default-host stopping
2022-11-26 03:40:08,143 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-7) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
2022-11-26 03:40:08,151 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) WFLYJCA0019: Stopped Driver service with driver-name = h2
2022-11-26 03:40:08,164 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 83) WFLYCLINF0003: Stopped http-remoting-connector cache from ejb container
2022-11-26 03:40:08,168 INFO  [org.infinispan.manager.DefaultCacheManager] (ServerService Thread Pool -- 83) Stopping cache manager null on null
2022-11-26 03:40:08,185 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0008: Undertow HTTP listener default suspending
2022-11-26 03:40:08,185 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0208: Stopped subdeployment (runtime-name: stych-ejb.jar) in 99ms
2022-11-26 03:40:08,185 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:8080

redpajama_set_name: RedPajamaStackExchange


WesternWhiskies.com: CERRO GORDO or BUST?
I really liked the post about the possible chance to dig Cerro Gordo. I mean really! I liked the idea so much that I spent last night thinking about all of the ramifications of digging at this old mining town. First off I know nothing about Cerro Gordo except what I have heard through the rumor mill. I see by a comment to the post that one person says it has been dug - well duh - any place that has a way into it and was populated before 1890 has been dug, but that doesn't mean it has "all" been dug.
So... it looks like the ante is $1000 just for the opportunity to dig and then anything you dig the owner gets half of. Hmm... I live up in the Northern California gold country and it appears that its a all day drive for me to get to the "diggings". That means its a all day drive to get home.
All day drive equals about $100 in gas, food etc. That's $1000 buy in ,$200 gas food etc. so I am in $1200 before I find a place to stay, buy food for the time I am at the diggings etc. I guess if I was going to go all the way to Cerro Gordo to dig I would stay a minimum of 3 days or so, possibly more. That's probably another $500 out of pocket at today's prices.
Well , here I am at the diggings and only into the trip $1700 or $1800, but feeling good about my chances of bagging a Miller's fifth or flask and if I am really lucky a Clubhouse! Oh! are we digging trash layers or will we be digging some privy's? Don't know - never been here.
Trash layers are cool - you can dig em by yourself. Now if I get into a hole over, say 6 feet deep, I am going to need a partner to pull buckets etc. Wait, that means another $1000 buy in for my partner and the good old owner gets half of my partners share?
I never was that good at math but I reckon that if the owner gets half of my partners share then my share is now worth one quarter?
Ok -Ok we have the dug Miller's, I want to put it in my collection, but, I have to buy out my partners. Well that's $5000 to the land owner, $2500 to my digging partner, and my $1000 buy in, another, say $1000 in expenses and we have a $10,000 bottle that I just dug and paid $9500 for. I told you my math skills were weak, but I am pretty sure this all adds up. - Wow if I pony up another $500 I could buy AP's Miller's and not even break a sweat.
Of course there is the glory of digging a very rare and important bottle, but for me I don't believe the glory is worth $9500.
Boy - I don't even want to think about the numbers if you sold your share of the dug Miller's.
Oh, lets do think about it - $10,000 bottle, half to property owner, one quarter to your partner, $1000 buy in. If my math is correct my share of the Miller's would be $1500?
God forbid you dig 3 Miller's. Lets do the math - 3 Miller's = $30,00. Owners share $15,000, partners share $$7500, My share $7500 minus the $1000 buy in =$6500. $6500 crap! I just dug 3 Miller's and have to pay $3500 to keep one - is this funky or what?
Well, I see that you "get it". It's a winner for the poor guy that's stuck with that townsite and a loser for bottle diggers. No thanks, I'll stick with the poor enough local diggins; after all, they've been keepin' me happy for a few years.
Earlier this spring, my brother, my friend, and I made the trek up to Cerro Gordo and we camped in the surrounding Owens Valley area. Our exploratory trip produced a few handfuls broken Whiskey and Hostetter's shards, but nothing much else to write home about. I did manage to find one whole example of an applied top Quart beer halfway buried in the dirt near one of the ravines near Cerro Gordo....but I simply left it right where I found it since it was on/near private property. Had it been a Miller's Fifth....well, that may have been a different story. Since we didn't have permission to do any digging at Cerro Gordo, I became content just taking some black and white photos of the Old American Hotel, as well as some of the original and restored buildings at the town site. Such a magnificent place!
I think the opportunity to dig Cerro Gordo (a.k.a. "Fat Hill or Fat Vein") is a great idea! And I'd definitely consider joining in the fun if it was for around a hundred bucks or so...but a $1000 seems pretty ridiculous, not to mention that you don't even get to keep all of what you find. How about $1000 and you get to dig to your heart's content (and whatever you happen to find) -- even then, it's still a HUGE risk. If I do decide to go for it, it won't be because I'm making any kind of logical decision, rather it will be solely for the adventure and experience of getting to dig in such a Historic and Legendary Ghost Town. I've always figured the only true opportunity I'll have to put a Miller's Fifth on my shelf is to go out and dig one myself....But with the currently proposed rules it would cost you more $$$$ to dig a "heavy" there and keep it, than the bottle is probably worth in today's market. One question....Who will be setting the values for the bottles that are found?? Holabird and Patterson? The diggers who find them? At an upcoming Auction? Some would argue a mint Miller's fifth is worth as much as $14,000 while one of my friends said he would possibly sell me his darker-amber Miller's for as low as $6,500....Still too rich for my blood. Regardless of value, it's still an extremely rare and desirable fifth -- what a dream it would be to dig one....But if I just so happened to unearth a mint on at Cerro Gordo, would I even consider buying it out for $9,500? No way, no chance, no how!
Hopefully this opportunity will bring forth tons of freshly dug Whiskeys to the bottle scene, and in turn, bring the sky-high prices of some of the most elusive Western whiskies back down to the point where DIGGERS can actually afford to keep what they DIG...I sure hope that they all come out by the case-load! The American Hotel's Outhouse has yet to be dug from what I've been told.....But it lies beneath a MASSIVE TAILINGS PILE that would likely require a full-scale mining operation and weeks....months....maybe even years of shovel, pick, and backhoe to uncover.
On another note, I wonder just what other types of "dream permissions and digs" I could possibly line up if I put $1000 to work for me in some sort of a preemptive digging fund?!?!?
In order to come up with $1000 soon, it looks like I'll be selling another fifth right off the shelf in order to pay the "toll" for Cerro Gordo.
Is that a yea or a nay for digging Cerro Gordo?
I would think a bird in the hand is worth two in the bush and I sure wouldn't be selling a $1000 fifth to roll the dice at Fat Hill. Then again, if it wasn't for gamblers there wouldn't be a Cerro Gordo.
A trip there for the 1k admission price ain't about bottles if that's what your after. It's about the experience, history, mystique, lore and this incredible ghost town that played a major role in the development of the Southern California area. I was there with friends on a 4 day digging trip in 83 and dig we did but find bottles well that's another story. I dug seven busted Miller's flask and one 1/5 but the area they came from may of been flipped many years prior by another digger, it was hard to tell. Your chances of hand digging anything there now days is about as good as winning the lottery, it's been hammered by hand diggers and backhoes for more than 40 years.
I found Jody to be an incredible lady with a wonderful personality. It was my birthday, she surprised me with a cake and an offer to stay as long as I wanted. The scenery up there and the history that abounds is just awesome. For me it's not always about bagging a trophy when your on an adventure like that. Even though I came home bottle-less that trip was worth every moment and dime spent to make it happen. I would do it again knowing I'd likely not find anything just for the experience but not with that kind of arrangement and admission price.
It's a definite "nay" if you're simply looking at it as any sort of a good judgement investment. The chances of digging any embossed whiskey after a few whole days of digging by hand is about 6.7 percent. I just made that percentage up (it's probably less than that), but you get the point.
It might be a "yay" if you're looking at it as a vacation, trip, and unique experience. But we all know that digging isn't most people's idea of a "relaxing vacation." Cerro Gordo is in the middle-of-nowhere-isolated-high-desert and it's going to be hotter than heck up there under an unforgiving sun. It's very difficult for me to even think about saying "yay" when $1,000 can go towards a number of days on a tropical beach with a hammock and margarita....or keeping my Old Castle Fifth on the shelf to see another day!?!?
Anynomous.... if you can get your friend's Millers 1/5 for 6500. you either have a very good friend or one of the Millers that has more epoxy than glass in it !


text:
Q: What is MySQL mostly doing? Is there any way to see an overview of what kind of queries are spent the most time on every day on MySQL?

A: Yes, mysql can create a slow query log.  You'll need to start mysqld with the --log-slow-queries flag:
mysqld --log-slow-queries=/path/to/your.log

Then you can parse the log using mysqldumpslow:
mysqldumpslow /path/to/your.log

More info is here (http://dev.mysql.com/doc/refman/5.0/en/slow-query-log.html).

A: You can always set up query logging as described here:
http://dev.mysql.com/doc/refman/5.0/en/query-log.html

A: It depends on what you mean by 'most time'. There may be thousands if not hundreds of thousands of queries which take very little time each, but consume 90% of CPU/IO bandwidth. Or there may be a few huge outliers.
There are tools for performance monitoring and analysis, such as the built-in PERFORMANCE_SCHEMA, the enterprise tools from the Oracle/MySQL team, and online services like newrelic which can track performance of an entire application stack.


text:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.icooding</groupId>
    <artifactId>icooding-jfinal-restful</artifactId>
    <version>1.1-SNAPSHOT</version>
    <packaging>jar</packaging>

    <name>${project.artifactId}</name>
    <url>http://maven.apache.org</url>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencies>

        <dependency>
            <groupId>com.jfinal</groupId>
            <artifactId>jfinal</artifactId>
            <version>3.2</version>
        </dependency>

        <!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>javax.servlet-api</artifactId>
            <version>3.1-b09</version>
            <scope>provided</scope>
        </dependency>
        <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>fastjson</artifactId>
            <version>1.2.38</version>
        </dependency>
        <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
            <version>3.3.2</version>
        </dependency>

    </dependencies>

    <distributionManagement>
        <repository>
            <id>file-repository</id>
            <url>file://E:\maven-rpeo</url>
        </repository>
    </distributionManagement>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <version>2.1.2</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>jar-no-fork</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <configuration>
                    <encoding>UTF-8</encoding>
                    <!-- 过滤后缀为pem、pfx的证书文件 -->
                    <nonFilteredFileExtensions>
                        <nonFilteredFileExtension>p12</nonFilteredFileExtension>
                    </nonFilteredFileExtensions>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>

redpajama_set_name: RedPajamaGithub


text:
Sebastià Gràcia i Petit (Lleida maig 1927 - 14 de maig de 2011) és un sardanista i promotor de la cultura catalana.

Biografia
Treballà de llibreter i fou membre de l'Orfeó Lleidatà. El 1940 fundà a Lleida la Colla Sardanista Santiago Rusiñol, i després passà a formar part del Club Esportiu Huracans, divulgador de la sardana per terres de Lleida. Promogué la difusió del fet sardanista mitjançant els seus articles a la premsa i el programa La Sardana que s'ha emès durant dècades a Ràdio Lleida (del 1960 al 2007, pel cap baix). Va rebre els Premis Dia de la Sardana de l'Obra del Ballet Popular els anys 1962, 1974, 1976, 1980, 1995 i 2000.

El 1987 va rebre la Creu de Sant Jordi. El 2007 es va afegir a la iniciativa duta a terme per Emili Casademont i Comas des del Diari de Girona i la revista Som, sigui declarat l'any de La Santa Espina; en aquest mateix any 2007 va ser distingit amb la medalla de la ciutat de Lleida.

Referències

Enllaços externs
 Estratègies de contestació a la Lleida franquista. La cultura com a esquer: 1953-1972. Actituds cíviques aoficials i de resistència

Músics catalans del sud contemporanis
Promotors culturals catalans del sud contemporanis
Creus de Sant Jordi 1987
Músics lleidatans
Sardanistes
Morts a Lleida
Artistes lleidatans contemporanis
Llibreters catalans del sud


text:
Q: MOSFET terminology seems to vary in every article I read For someone trying to learn about FETs, it seems there is no consistency in terminology (unless I am reading things wrong.)
I am trying to understand the FET as a switch (for power applications.) It has become clear that you want to operate a switch in the ohmic region. To get to the ohmic region you would need to go from cut off -> saturation -> ohmic region.
TI refers to it like this in an app note:

From this I implied that the 'linear' region is in fact rather confusingly the saturation region of the FET as shown all across the web for a FET curve:

However, when I went to wikipedia I came across the following image:

This is saying the exact opposite of what I understood which is saying that the ohmic region is the linear region.
Infineon has an app note around FET switching, titled Linear Mode Operation
They refer to the linear mode as the saturation region as shown from this:

So what is it then?
Also just to be clear: Is the reason we want to minimise time in the saturation region with an FET because here we have a VDS and an ID current flowing through the FET, whilst as soon as the FEY reaches linear region, it's VDS would fall close to 0 and hence minimise losses?
When we say the FET is saturated, it means for a given Vgs, Vds makes no difference to drain current (because channel can't let more electrons to flow?) Shouldn't the ohmic region be called saturated? Since increasing VGS makes no difference to drain current as the ID is now limited by the circuit and not the FET?
Edit:
Answers in electronic stack exchange say it is the saturation region:
Link1
link2

A:
So what is it then?

This is the correct graph: -

Taken from this wiki page.
Saturation refers to the channel being saturated and, as you said, no matter what \$V_{DS}\$ you apply, current remains constant. It is sometimes also referred to as the active region (not to be confused with the MOSFET being activated or ON).
The linear (triode) or ohmic region is when the MOSFET is used as a switch (ON). Your top graph (in the question) is basically wrong because it doesn't correctly show the different slopes in the ohmic region when you apply different gate voltages. This region is called linear because there are different slopes that are governed by the gate voltage and means the MOSFET can act like a variable resistor hence, it gets the name linear but, different texts use this term rather loosely.

Also just to be clear is the reason we want to minimise time in the
saturation region as a FET because here we have a VDS and an ID
current flowing through the FET? Whilst as soon as the fet reaches
linear region, it's VDS would fall close to 0 and hence minimise
losses?

Yes, we want to minimize time in the saturation region because that is when the MOSFET is dissipating the most power and potentially operating below it's ZTC (zero temperature coefficient) and may suffer rapid thermal runaway.

Shouldn't the ohmic region be called saturated?

No, because in the ohmic region the channel isn't saturated. However, for a BJT, that equivalent part of the characteristic is called the saturation region but, for different reasons; for a BJT, it is the base that becomes saturated. Same name, different mechanism, different part of the characteristic.

A: Your answer is approximation.
The following is a graph of output characteristics for an arbitrary 2N7000 MOSFET:-

Assume a fixed gate drive \$ V_{GS} \$ of 5V and ignore all the other curves. So it's fixed.  Consider the MOSFET then as an opaque component with only two legs, Drain and Source.
As \$V_{DS}\$ (voltage across component) changes, \$I_D\$ (current through component) changes. And they change almost linearly if you squint sideways at my graph (purple line). Like a resistor. The first part increases linearly, and then goes flat at saturation when it no longer behaves as a resistor. These are approximations, but form the basis of the terminology in your question. The difference is simply real world characteristics being more complex than theoretical approximations. And confusing graphs.

Actually the initial slope is \$ \propto V_{GS} - V_T \$ where \$V_T\$ is the threshold voltage.


text:
Rifle | June 11, 2015
Thank you to all of you who helped make our very first Rifle Heritage Day a wonderfully fun day. To those of you who participated in the games and style shows, we just want to say "thank you." It was a lot of fun. Also the BBQ, the dessert wheel and the contra dance were a big hit. So "thank you" from the Rifle Heritage Center.
Betty Waldron
Rifle Heritage Center secretary
Superintendent search has begun for Garfield Re-2 Schools
A flare for the dramatic at Rifle High School


text:
Q: Web scraping with Spotify API I tried to get 50 songs for each genre and put them together in a data frame with the genre name, but I got following error.
Error : object 'res' not found

I know that the undefined object is causing the problem, but I don't know how to do with it.
Could you shed some light on this?
**Language:R, Environment: Exploratory Public**

    genres <- RETRY('GET', url = 'https://api.spotify.com/v1/recommendations/available-genre-seeds', query = list(access_token = get_spotify_access_token(), limit=150), quiet = TRUE) %>% content()

  m <- do.call(rbind,lapply(genres$genre, function(x) if(is.null(x)) NA else c(x)))
  genres_df <- as.data.frame(m)

  colnames(genres_df) <- c("genre")

 get_genre_track <- function(genre){
    track_check <- RETRY('GET', url = paste0("https://api.spotify.com/v1/search?query=genre%3A",genre),  query = list(type="track",limit = 50, offset = 0, access_token = get_spotify_access_token()), quiet = TRUE) %>% content()

    track_count <- 50

    df <- map_df(1:length(res$tracks$items), function(this_row) {
        tryCatch({
        this_track <- res$tracks$items[[this_row]]
        name <- this_track$name
        genre <- genre
        list(name = name, genre = genre)
      }, error = function(e){
          NULL
      })
    })
  }
  tracks_df <- lapply(genres_df$genre, get_genre_track) %>% bind_rows()
  tracks_df
}

(Required library installation and user information are omitted)

A: In the script you've linked above, res is defined as follows:
res <- RETRY('GET', url = paste0("https://api.spotify.com/v1/search?query=genre%3A",genre), query = list(type="track",limit = 50, offset = numoffset, access_token = get_spotify_access_token()), quiet = TRUE) %>% content()

Whereas in your code, you seem to have renamed that variable to track_check:
track_check <- RETRY('GET', url = paste0("https://api.spotify.com/v1/search?query=genre%3A",genre),  query = list(type="track",limit = 50, offset = 0, access_token = get_spotify_access_token()), quiet = TRUE) %>% content()

So don't refer to it as res$tracks$items, but track_check$tracks$items.


This beautifully picturesque historical centre boasts a wonderful soft, sandy beach, fabulous restaurants and close proximity to water parks and amusement parks. Perfect for both kids and adults, Cesenatico is a little gem on the Adriatic Riviera.
Cesenatico is home to a beautiful harbour port so pretty, it is believed to have been designed by Leonardo da Vinci. Lined with historical boats, the harbour provides the perfect backdrop for the delicious fish restaurants renowned throughout Italy, that surround it. The perfect area to stroll lazily around, Cesenatico has a quaint fishing village atmosphere but is contrasted by the modern urban structures that are sprinkled around.
The area's soft sandy beach is the stuff of sun holiday dreams! With a 7km stretch, there is plenty of space for visitors to pull up a sun lounger and lie under a parasol while the waves gently lap and the sun works its relaxing magic.
Quaint and postcard-perfect, Cesenatico is the ideal town to provide the backdrop for your Italian holiday, particularly when travelling with kids. Not only do you get to enjoy a classic Italian fishing town with a wonderful authentic atmosphere and fabulous food, but Cesenatico is close to so many attractions that kids simply love.
With a total of 6 fantastic pools and over 1000 metres of whirling waterslides, the Atlantica Water Park in Cesenatico is suitable for all tastes and ages. Whether you're into thrills and spills or relaxing in the sunshine, close to the water's edge, you'll find what you're looking for here.
Atlantica Water Park in Cesenatico is a newly renovated water park that has something for just about everyone. It features 6 different pools, each catering for a different taste and level of activity. You can be as active or as relaxed as you like here. Try out some of the 1000 metres of whirling water slides or simply relax by the waters edge dipping your toes in and enjoying the sunshine.
The Slow Wave River caters for those who want to chill out and enjoy a slower pace. Relax in your inflatable ring as the gentle wave of the river takes you through an unforgettable landscape. Or if you feel like upping your pulse rate, try the Wave Mad Kamikaze, a slide with a hair raising descent that plummets you to the water below. From relaxing to adrenaline-pumping and everythng in between, Atlantica's vast range of slides, thrills and spills will keep you entertained.
There are also a huge range of fun and exciting activities organised daily here including parties, aqua aerobics, shows and a kids club.