text:
Q: jquery window.innerWidth remove and replace content I'm building a responsive site but don't want to just hide elements for smaller screens, I want to remove them completely to reduce load times.
I've got this working so far with
if (window.innerWidth < 768) {
    $('.widescreen').remove();
}

The class .widescreen is added to all elements that are only to be loaded on screens wider than 768px
I then want this to work if a user resizes the browser window (or turns a device 90°) so I tried this:
$(window).resize(function() {
    //small-screen
    if (window.innerWidth < 768) {
        $('.widescreen').remove();
    }
    //end small-screen
});

Which works but only when a window is resized not loaded at the smaller size. Which I guessed would happen.
Is there a way of achieving this so it works both when a page is loaded and when the browser window is resized?
Then, of course, the trick is to add the content back when the window is resized to wider than 768px! But I'll try to figure that one out if the first part is actually possible!!

A: $(function() {
 $(window).resize(function() {
        //small-screen
        if (window.innerWidth < 768) {
            $('.widescreen').remove();
        }
        //end small-screen
    }) .resize(); // trigger resize event

})

A: why not putting the code that check the size on a function, calling this function when load and also when resize.
function checkSize() {
    //small-screen
    if (window.innerWidth < 768) {
        $('.widescreen').remove();
    }
    //end small-screen
}

checkSize();

$(window).resize(function() {
    checkSize();
});

A: I would use media queries to hide those parts.
@media all and (max-width: 768px) {
  .widescreen { display: none; }
}

If you´d like to use JavaScript then this does about the same thing;
$(function() {
 $(window).resize(function() {
     $('.widescreen').toggle( window.innerWidth >= 768 )
  }) .resize();
});

I don´t see the point of removing the elements instead of just hiding them as in both cases the client still have to download the HTML.

redpajama_set_name: RedPajamaStackExchange


text:
« Get 1GB for just N150 Only On your Etisalat Sim (100% Working) here | See Dede One Day Obituary Poster »
US and UK: We don't recognise BIAFRAN passport
Posted by Mr Starz. on January 25, 2016 0
The governments of the United States and the United Kingdom have said they do not recognise the passports being issued by the Movement for the Actualisation of the Sovereign State of Biafra.
The National Director of Information, MASSOB, Sunny Okereafor, had said two weeks ago that the passport was valid worldwide, adding that the travel document costs N5,000 while its renewal costs N2,000
He had said, "I assure you that the Biafran passport is valid. Except Nigeria, other countries of the world accept Biafran passport and allow our citizens to travel with it. In Europe, North and South America, Biafran passport is accepted. Nigeria is the only country that seizes Biafran passport. Go to neighbouring Ghana here, they will stamp the passport for you. Don't be confused by the propaganda of the Nigerian government that there is nothing like Biafra passport.
"MASSOB appeals to Biafran citizens to procure their passport and use it to travel. If you doubt me, get a Nigerian passport while I have my Biafran passport; when we get to Europe, you will see who they will welcome than the other. Many people with the Nigerian passport have been repatriated, but have you heard of anybody with Biafran passport receiving such ill-treatment?"
However, our correspondent sent an email to the American consulate in Lagos to inquire from the US regarding the claim of MASSOB.
In his response, the Deputy Public Affairs Officer at the consulate, Frank Sellin, said, "The United States does not consider passports purporting to be from a Biafra entity to be a valid legal document for purposes of visa issuance."
CHECKOUT ALSO Futo Post UTME Cut Off Marks For All Departments 2016/17
A similar response from the British Government was sent to The PUNCH via email.
The UK recalled that it did not support the disintegration of Nigeria during the 1967 Biafran War and had not changed its stance 49 years after.
A statement by the Press and Public Affairs Officer, British High Commission, Abuja, Mr. Joe Abuku, read in part, "The answer is unequivocally 'no'. The UK does not recognise the so-called Biafran passport
"The position of the UK Government during the Biafran War is a matter of historical record. The UK Government's position, which reflected the Charter of the Organisation of African Unity, was to recognise the borders laid down at independence.
"The Biafran War caused great suffering and the UK supported the reconciliation work that followed the conflict. The UK supports the territorial integrity of Nigeria and the Nigerian Government's commitment to work for a secure and prosperous Nigeria for all Nigerians." -PUNCH
"Register For Miss Renowned Nigeria 2020 Online Beauty Contest
"Investigative Journalist, Kemi Olunloyo Reveals A Popular Artiste Would Be Arrested By The EFCC This Week
"Pastor's Wife Attempts suicide because she mistakingly sent her nude to church WhatsApp group see details
"Sex scandal rocks modelling agency

redpajama_set_name: RedPajamaCommonCrawl


Shreveport Classifieds - Home & Garden > Lawn & Garden For Sale.
"Purchased from either Lowe's or Home Depot around 6 years ago. Used maybe twice per month, only. Oil and filter changed today, but it is leaking oil underneath. We suspect .."


text:
module RuboCop
  module Cop
    module Style
      # This cop enforces the use of shorthand-style swapping of 2 variables.
      # Its autocorrection is marked as unsafe, because it can erroneously remove
      # the temporary variable which is used later.
      #
      # @example
      #   # bad
      #   tmp = x
      #   x = y
      #   y = tmp
      #
      #   # good
      #   x, y = y, x
      #
      class SwapValues < Base
        include RangeHelp
        extend AutoCorrector

        MSG = 'Replace this and assignments at lines %<x_line>d '\
              'and %<y_line>d with `%<replacement>s`.'

        SIMPLE_ASSIGNMENT_TYPES = %i[lvasgn ivasgn cvasgn gvasgn casgn].to_set.freeze

        def on_asgn(node)
          return if allowed_assignment?(node)

          tmp_assign = node
          x_assign, y_assign = *node.right_siblings.take(2)
          return unless x_assign && y_assign && swapping_values?(tmp_assign, x_assign, y_assign)

          add_offense(node, message: message(x_assign, y_assign)) do |corrector|
            range = correction_range(tmp_assign, y_assign)
            corrector.replace(range, replacement(x_assign))
          end
        end

        SIMPLE_ASSIGNMENT_TYPES.each { |asgn_type| alias_method :"on_#{asgn_type}", :on_asgn }

        private

        def allowed_assignment?(node)
          node.parent&.mlhs_type? || node.parent&.shorthand_asgn?
        end

        def swapping_values?(tmp_assign, x_assign, y_assign)
          simple_assignment?(tmp_assign) &&
            simple_assignment?(x_assign) &&
            simple_assignment?(y_assign) &&
            lhs(x_assign) == rhs(tmp_assign) &&
            lhs(y_assign) == rhs(x_assign) &&
            rhs(y_assign) == lhs(tmp_assign)
        end

        def simple_assignment?(node)
          SIMPLE_ASSIGNMENT_TYPES.include?(node.type)
        end

        def message(x_assign, y_assign)
          format(
            MSG,
            x_line: x_assign.first_line,
            y_line: y_assign.first_line,
            replacement: replacement(x_assign)
          )
        end

        def replacement(x_assign)
          x = lhs(x_assign)
          y = rhs(x_assign)
          "#{x}, #{y} = #{y}, #{x}"
        end

        def lhs(node)
          case node.type
          when :casgn
            namespace, name, = *node
            if namespace
              "#{namespace.const_name}::#{name}"
            else
              name.to_s
            end
          else
            node.children[0].to_s
          end
        end

        def rhs(node)
          case node.type
          when :casgn
            node.children[2].source
          else
            node.children[1].source
          end
        end

        def correction_range(tmp_assign, y_assign)
          range_by_whole_lines(
            range_between(tmp_assign.source_range.begin_pos, y_assign.source_range.end_pos)
          )
        end
      end
    end
  end
end

redpajama_set_name: RedPajamaGithub


Regional Middleweight title challenger Bryan Richardson has sent out a warning to champion Ben Davies telling him he won't be able to handle him when the pair collide for the title on June 13th.
The 33-year-old from Thatcham in Berkshire will challenge Davies on Saturday June 13th at the Queensbury Boxing League's huge summer blockbuster at the Copthorne Millennium hotel in West Sussex in the biggest fight of Richardson's boxing career, and the man dubbed "The Pitbull" for his aggressive all action fighting style is confident he'll be bringing the belt back with him to Thatcham after the dust has settled from an epic clash.
Talking ahead of the showdown Richardson said: " On Saturday June 13th I'm going to be too big and too bad for Ben Davies.
"I don't know too much about him other than he's fit and he likes to come forward like me, but when he meets me it will be like running into a brick wall and he's got no chance of being able to handle me when we step through those ropes.
Richardson's career looked down and out just six month's ago and he was on the verge of calling time on his fistic exploits, but after teaming up with new coach David Johnson at the Camberley boxing club in Surrey he's now been transformed into one of the most exciting boxers in the league after beating teak tough opposition in the form of John Moloney and Rossco Parker in his previous two outings.
"I put all of my recent success down to Dave as he's turned my career around and given me the confidence to fight again, said Richardson.
"I've won two in the spin now and been featured on British Eurosport on SKY television, and I'm not stopping there as I'm ready to give absolutely everything to win this title and I can promise all my fans that they will witness one of the most entertaining fights they have ever seen.


Hip Hop is a subculture that spreads beyond songs, with its very own art motion together with an one-of-a-kind sense of fashion and also style. Accenting is a major component of hip jump fashion, mainly being composed of chains with visible and meaningful necklaces.
50 percent off online coupon frost nyc August 2018 The origin of this style of music goes back to the 70s, as well as ever since the pioneer artists has presented hip hop jewelry patterns to the world.
Hip Hop songs itself was influenced by several societies and also music from all over the world, which is mirrored in the fashion patterns that followed it.
Bronx, New York is taken into consideration to be the ground where this songs genre and also the subculture initially started. The block parties in this field around the 1970s included music such as heart, funk and disco, which after that evolved into a whole various genre which is called rap/ hip hop today. Hip jump is likewise mostly affected by Jamaican music, which was offered Bronx by Jamaican citizens that were at huge in the location.
50 percent off online coupon frost nyc August 2018 The fashion or the equipping, therefore, had a large African American impact in addition to Latin and the inner city young people design as a whole. The appeal of this music category was fairly fast, closely complied with by cities like Los Angeles, Chicago, Detroit, Atlanta and also more. Each of these cities have added to the fashion and the design that was practiced by the Hip Hop subculture, together with their dancing actions, graffiti and also the art activity.
During the origin phase, the style and also the jewelry design that belonged to hip hop was fairly preppy, instead of just what it has advanced right into nowadays. The emerging hip hop below culture was mainly embraced by the sporting activities 50 percent off online coupon frost nyc August 2018 brands such as Adidas as well as Keds as a result of their youth target audience that were mostly associated with the society.
50 percent off online coupon frost nyc August 2018 Vibrantly tinted running suit, bombing plane coats, sports shoes with large eye glasses, belts as well as several huge rings. In the future as the hip hop musicians got extra prominent, higher end designer brand name items such as Louise Vuitton as well as Gucci came to be a component of the design, with noticeable logos in the things as a means of showing wide range and triumph.
Whatever from the clothing to jewelry in the Hip Hop style have a large and also "droopy" feeling to them. Hairstyles in the Hip Hop neighborhood in this era were widely affected by prominent TV programs– Will Smith in The Fresh Prince to provide an example.
The "preppy" looks that the Hip Hop culture 50 percent off online coupon frost nyc August 2018 offered the society was quickly captured up by luxury fashion brands Tommy Hilfiger and they made the looks even more mainstream. One of the most significant reasons for those brand names to go international was additionally their early inclusions of the hip hop culture. The Hip Hop jewelry aspect additionally was lugged worldwide, making the appearance of Hip Hop more global and also comprehensive. Each country and also culture included their very own spin to the look, making the design connected to this music genre also much more versatile and also interesting. To the late 80s, the nationalism motion by the African American community added mostly to the many facets of the hip hop community. The celebrity impact such as LL Cool J's hip hop jewelry likewise influenced the general design of the area.


Sudocrem Antiseptic Healing Cream is versatile enough for the whole family to use for all of life's little dramas and can help with so much more than just treating babies' bottoms!
Sudocrem is clinically proven to soothe and heal your baby's delicate skin and works in three simple ways: an emollient soothes sore or inflamed skin. Ingredients known for their healing properties. Furthermore, a mild local anaesthetic helps to ease pain and irritation.
Sudocrem provides gentle yet effective relief from cuts, grazes and minor burns. It helps to heal wounds by forming a protective layer over the vulnerable area. Reduces the risk of infection, and also contains a mild local anaesthetic to soothe discomfort.
Sudocrem Antiseptic Healing Cream is the nation's favourite nappy rash cream but did you know it is also excellent for treating skin conditions such as acne? Sudocrem Antiseptic Healing Cream helps to soothe and heal while protecting the affected area from further infection.
A water-repellent excipient base, including paraffin and other waxes, creates a protective seal.
All KidStart members can WIN one out of five Sudocrem summer goody bags. To enter the competition for one of these goody bags, just Tweet below to enter into the prize draw.
Plus, remember to take a look at Sudocrem's Facebook competition on their page too. As you could win iPad minis, Kindles and much, much more!
What does the goody bag contain?


text:
Choo Choo Churros Kid Friendly
Hours: Closed Monday-Tuesday; 5pm-11pm Wednesday-Thursday; 5pm-midnight Friday; 2pm-midnight Saturday; 2pm-10pm Sunday
5810 Lake Underhill Road
When we first started business 10 years ago at Church Street," says Oscar Lagos, owner of Choo Choo Churros, "we had a small cart that we sold fried pastries from – churros. And since there was the train there, my wife named it Choo Choo Churros."
From that small cart the Lagos moved to a little coffeeshop on Bumby Avenue, and then four years ago to Lake Underhill, always keeping the name. "Argentinean people and American people, they both ask, what does this name mean?" Lagos says. Well, to anyone who asks, in the universal language of food it translates into "good."
Choo Choo has an affinity for small spaces, and there are barely nine tables in the room, with three more outside on a patio. Renovation is going on, but nothing will change the fact that Lake Underhill Road and the East-West Expressway are right outside. That seems to be the only negative Ã? unless you're a vegetarian.
Much of the food of Argentina and Brazil can be summed up in four letters – meat. Lots of meat, delicious big slabs of it, served in styles and from parts of beasts that some people, even carnivores, would rather not think about. So unless you know Spanish or aren't afraid to ask, you could order "morcilla" and end up with blood sausage, or be served a big order of lemon- grilled sweet breads because "molleja" is such a lovely word.
What you might want to start with is "churrasco" ($12.95), a word that usually refers to an open-flame style of cooking rather than a cut of meat, but which in this case is a two-inch-thick skirt steak that is tender, juicy and unadorned. Here is a chef who doesn't have to season, flavor, dress up or disguise a piece of meat, but knows how to cook for the best effect. The mixed grill, or "parrillada" ($15.95 to $32.95, depending on the number of people) is a popular dish that features a little sample of everything on a sizzling platter.
If you need a break from beef, the sweet corn or ham-and-cheese empanadas – small and dense deep-fried turnovers ($1.50) – are great. There are a couple of chicken dishes "milanesa" (breaded) and a wonderful "Sierra fish" cross-cut steak (usually white fish, but on this occasion, salmon) that was firm but still juicy in a slightly spicy lemon and wine sauce.
Entrees come with a simple salad, good bread and the sounds of vintage tangos in the background, including some recordings that customers bring in to share from their own collections. (Mention Astor Piazzolla, and you're golden.) The owners are charmingly friendly. Mix in their well-prepared meals and cozy atmosphere and you have a winning combination, regardless of language.
Features: Beer, Outdoor Dining, Catering, Dinner, Take Out, Reservations
Payment Type: Amex, Master Card, Visa
Argentine Latin American Steakhouse Kid Friendly


Popular spiritual Oud blend, a true collectors Oud blend, long lasting luxury aroma.
Popular spiritual Oud blend, a true collectors Oud blend, long lasting luxury aroma. This Oud is very popluar with the sheikhs and spiritual leaders.
Notes- Musk, Oud, Camphor and a few other special notes.


Fresh, dry and bitter to the taste, an even foam head with extra-fine bubbles, and a cool and light tingle on the tongue with the first sip – a perfectly poured beer isn't rocket science. And no, it also shouldn't take you seven minutes to pour! Three minutes is long enough. Any longer and the beer will get warm and flat from sitting on the bar. By following some important basic rules, anyone can enjoy a perfectly poured beer.
For a beautiful foam head, the glass has to be free from grease and detergent residues. So the glass should be rinsed with fresh, cold water immediately before use. The cold water also cools the glass. You will only get a foam head with a creamy consistency if the glass is cold. If the glass is warm, the beer loses its carbonation quickly and goes flat.
The glass should be held at an angle under the tap, so that the beer can run down the side of the inside of the glass. This way, the beer will keep as much carbonation as possible. When pouring, the beer tap should be fully open. If the tap is only partially open, the beer is squeezed out through a smaller opening and it loses quality.
The glass should be filled up to about the two-thirds mark, then left to settle for about one minute.
You can now top up the beer. Take care to ensure that the tap nozzle is not immersed in the beer, as this will push air into the beer and displace the carbonation. Now leave the beer to settle for another minute.
To finish the beer, top with a foamy head. Now the glass of beer can be served to the guest with a drip catcher, on a Bitburger beer mat as well, for them to enjoy their perfect Premium Pils.
To avoid beer going flat and warm, beer shouldn't be pre-poured and left in the glass. Whoever orders a draft beer is looking for absolute refreshment.
Purity and hygiene are key to pouring draft beer. Therefore, always take great care in ensuring your glassware is really clean. You can easily recognise if a glass has not been properly cleaned, as small bubbles of carbon dioxide cling to the inside of the glass after you have finished pouring.
Conventional detergents are only suitable for rinsing beer glasses to a limited extent. When not used in the correct dose, or if it remains in the glass, this results in an unstable foam head. It's better to use a special detergent for cleaning glassware than use regular household detergents. It is usually obvious from the beer's foam head if a conventional household detergent has been used:larger bubbles will form at first, then collapse away quite quickly.
You should never pour beer between glasses. You can't make a fresh beer from mixing two flat beers together. It just doesn't work that way! On the contrary, this causes the beer to lose its carbonation and also go warm faster.


text:
Buying a Classic Car? Read These Expert Tips First
Getty Images 1 / 10
by Rob Brunner
See Rust? Run.
The easiest way to avoid problems is to look out for the brown stuff. "Rust is a KILLER," says Allen. "I always walk away when I see it. It's not because I don't know how to fix it. I do. But it's not going to be the same. You can replace panels, but once you start with a rusty car, in my opinion, it's always a rusty car. It will never be factory-original again." Still, Allen is mainly concerned with serious rust. "If I saw a bubble or two on a quarter panel that would not bother me," he says, "but when you can see through the trunk and floors and the sides are all eaten up, there comes a point when your money is better spent finding a nicer car. It can just become a money pit."
We Tested the Best New Performance Skis of 2023
Brighten Up Your Morning's With This Black+Decker Coffee Maker
Immerse Yourself at Home With This TCL 98″ 4K QLED TV
Men's Journal Picks: Gifts for Him
Get Back Into Vinyl With This Fluance Record Player
Dream Garage: The Car and Truck Auctions We'd Bid on Right Now
More from Gear
12 Unique Valentine's Day Gifts for Every Woman on Your List
Aston Martin DBS 770 Ultimate: A Tourer's Grand Finale
Say Goodbye to Jumper Cables Forever With HULKMAN – Up to 50% off!


text:
La costanera de Garupá es una avenida de la ciudad de Garupá, en Argentina. Antiguamente, el trazado correspondía al balneario municipal, lugar frecuentado por la población local.

La avenida bordea al arroyo Garupá y tiene una extensión de 4 kilómetros y cuenta con un sector de playas. Fue construida por la Entidad Binacional Yaciretá (EBY) como parte de las obras complementarias a la Represa de Yacyretá en la provincia de Misiones.

Actualidad
En este momento,  la costanera de Garupá, es un lugar turístico y recreativo, se crearon playas, también hay plazas saludables, se organizan varios eventos para pasar en familia.

En el lugar se crearon dos sectores de arena de 200 metros lineales cada uno como balnearios, con la construcción de la infraestructura necesaria para el funcionamiento de un puesto de salud y seguridad, sanitarios, un local gastronómico. Además el lugar cuenta con iluminación pública, amplias veredas, bancos, cestos para residuos, juegos infantiles y parquización.

Debido a los nuevos espacios creados, la Municipalidad de Garupá debió crear una Escuela Municipal de Salvavidas y la División de Tránsito creó la guardia costera que está dedicada a recorrer la costanera con cuatriciclos y es apoyada por la Policía de Misiones.

Referencias

Enlaces externos
Municipalidad de Garupá - Sitio oficial

Turismo en la provincia de Misiones
Garupá

redpajama_set_name: RedPajamaWikipedia


Replacement second stage carbon block filter. .5 Micron rating. Activated coconut shell carbon technology and solid block manufacturing process create a filter that removes chemicals and organic compounds that other, similar filters allow to pass.


Hong Leong Bank Bhd is based primarily in Malaysia with a regional presence in other Southeast Asian countries, Hong Kong, and mainland China. The bank's strategy emphasizes technology while offering diverse financial products to its Islamic target base. Its services include personal financial services, business and corporate banking, trade finance, treasury, branch and transaction banking, wealth management, investment banking, and Islamic financial services. A majority of the bank's earning assets are loans, advances, and financing. Net interest income constitutes the bulk of the bank's income generation. Most of its revenue is derived from personal financial services.
Ahead1268 No way HLB can match PBB. BIG Gap, far behind for another decade.
Modified: Thursday, 07 December 2017 14:23 Written by James Skinner Subscribe to our Newsletter Follow us on Twiiter This copy is for personal, non-commercial use only. Reproduction of any content for commercial purposes is subject to our usage terms and conditions, please email the editor at his address directly for clarification.
A government shutdown in the US looms if lawmakers cannot find agreement - here's a look at what it might mean for the Dollar.
The Dollar faces a testing period ahead as lawmakers in Washington turn their attention to the annual debt ceiling debacle which, if unresolved, could see the US government forced to shut down as early as next week.
A government shutdown is the process the Executive Branch must enter into when Congress and the President fail to pass emergency legislation to fund government operations and agencies.
A temporary extension to the debt limit, agreed in September, is set to expire Friday, 8 December. Extraordinary measures, such as a government shutdown, could enable the Treasury to meet its obligations for several months.
Congressional Budget Office staff estimated in November that these measures could see the Treasury through until early April, meaning fears of a technical default by the United States should remain benign until then.
A government shutdown is politically contentious as it almost always means the furlough of federal workers. In the December month, right ahead of Christmas, this can be costly for lawmakers who will face mid-term elections in 2018.
Wong Wei I don't understand Hong Leong give dividen so little up so much.
Maybank give more up so little.
LeeFoundation Now looking actively at Petronm for its low pe high net cash biz.
Anything below 13 is still a good and fair valuation for Petronm. Look at just the fcf alone, smart investors will not easily let this counter go off from their radar.
Petron Malaysia Refining and Marketing Berhad (Petron) recorded a full year FY17 net profit of RM341.8m (+44.8% YoY), excluding exceptional items amounting to RM65.6m owing to compulsory divestment of service stations. The lower-than-expected net profit achievement, meeting only 79% of our and consensus 90% full-year estimates, was the result of margin compression following the faster rise in crude oil prices (cost of goods) against product prices (sales). Operating margin halved to 3.7 % in 4QFY17 against 7.8% for the same period a year ago. The company declared RM0.25 dividend per share for FY17 meanwhile, higher than FY16's of RM0.22, though in line with our expectation. In the short-term, oil price volatility may persist but in the long run, the outlook on oil prices remains sanguine driven by the re-acceleration of global economy. This will be led by the improving prospects of major economies and hence the pickup in industrialization activities, which in turn will underpin the recovery of demand for oil. We remain positive on the prospects of Petron and reaffirm our Outperform target on Petron with a target price of RM13.62, suggesting a potential upside of 13.5%.
Higher 4QFY17 revenue (+23.6% YoY) driven by higher global oil prices and volume sold. Global oil prices in 4QFY17, using Brent prices as a benchmark, recorded a 24.4% YoY jump to USD61 per barrel. Petron also registered higher sales volume of 9.1 million (+9.6% YoY) barrels for the quarter, owing to better economic conditions and steady increase in the number of petrol stations.
Net profit for 4QFY17 dropped 8.6% YoY to RM101.8m despite the 23.6% increase in revenue. Operating margins took a hit as it dipped to 3.7% in the quarter (4QFY16: 7.8%), no thanks to the faster increase in crude oil prices compared to product prices, leading to compressions.
Outlook. Despite the steady rise in oil prices, the company remains vigilant and cognizant of the persistent volatilities resulting from continued imbalances in oil supply and demand. We believe the company will continue to improve their efficiency as a natural defense against this however. Additionally, we foresee the company will continue to leverage on firmer demand as a result of steady economic conditions which underpins their drive to add more petrol stations in the near future.
8. On the radar of Public Invest and RHB Invest.
brianklc whn RM20 is coming back?
mf 05-Mar-2018	Insider	EMPLOYEES PROVIDENT FUND BOARD (a substantial shareholder) disposed 244,500 shares on 28-Feb-2018.
TA would be better from Now!
masterus The dollar slumped on Friday, sliding the most against the yen, as traders moved into currencies considered more safe. The move came as U.S. political worries returned, on reports that U.S. President Donald Trump was planning to fire his national security adviser, H.R. McMaster.
RedEagle KUALA LUMPUR: The steps taken by the new Pakatan Harapan government to remove political uncertainty, including the setting up of the Council of Eminent Persons, will see more fund flowing into the country.
Aberdeen Asset Management Chief Executive Officer Martin Gilbert said the country's economic environment is positive compared with the situation before the recently concluded 14th General Election.
"Generally, it is good news. Following the establishment of the council, which includes the former Bank Negara Malaysia governor, both foreign and local fund managers are reassured of a stable economy," he told reporters after the meeting between Tan Sri Zeti Akhtar Aziz and 180 fund managers here today.
Gilbert said the meeting was very useful with the world's longest serving central bank governor giving her input on the current economic issues in Malaysia, plans going forward and her role in the council.
"With her knowledge of the financial markets, I think this will make global asset managers look more closely at Malaysia going forward," he said.
Asked on rating agencies' concern on Malaysia's ability to fill the revenue gap without the Goods and Services Tax, he said these agencies would have to look at the economy as a whole.
"The great thing for Malaysia is that all of the (economic) dynamics and growth are good.
"However, we will have to wait for the government's plans," he added.
masterus Cmsb falling down already. It is the time buy it? Will it fall again.
Yunz strong QR.. will it rebound?
PETALING JAYA: The government is looking to replace the current currency notes with new ones to combat corruption.
Prime Minister Tun Dr Mahathir Mohamad said in an interview with Channel NewsAsia that there could be a change in the currency or go cashless to combat corruption.
"It's not an easy thing because when you want to replace the currency, you must know how much currency is in circulation... because we have to replace what is in circulation and that is a very big amount," he said.
"If you were to replace, you need to print huge amounts of paper money and that is not a decision that one makes lightly.
Hidup_Anwar Must find 2-3 banks to close down for burdening rakyat/country. HL Bank 1 of them? King of shorts(IDSS)?
Hidup_Anwar If ctrs have sell call good why not close HL Bank even better? 100 bankers jobless vs 100-500K M'sians shareholders sufferer which 1 better?
enigmatic Hong Leong bank may overtake Public Bank as the top banking stock in the future. I think HL Bank's superior profit margin means it's more efficient in business compared to its competitors. Will accumulate if it drops below 18.00.
Egalelity HLbank, r u ok>?
3iii I think this is the first time this stock price crosses $20.
masterus Brent price now at $78 and above.
masterus the value of the ringgit against the US dollar has dropped by only 2.2% compared with the Australian dollar, rupiah, yuan, won and Singapore dollar that had weakened by 9.9%, 9.8%, 5.6%, 5.7% and 3% during the same period.
Price has risen 47.7% since May 2017.
Increasing dividends over the last 5 years.
Anti_debt Tax bank profit 50% settle govn debts.
ajibkor We made mistake. Should tax bank more.
Everybodyhuat Above rm20. Wonder if can go more than PBB.
Wong Wei Hmmmmmm I'm thinking !!
masterus Lonbisc share price 0.565. NTA 2.07.
LouiseS The EPS slightly increase by 9.6% in last 5 years, PE ratio slightly high at 16.6, ROE at 10.48% and dividend yield around 2%.


text:
Q: How To Send a Range of Cells as a PDF in an Email with onEdit Function How do I create an onEdit function that allows me to send a range of cells as a PDF in an email?
Here is what I have so far:
function pdfEmailOnEdit(e) {

if(e.range.getA1Notation().indexOf("B2") == -1)
  if(e.range.getA1Notation().indexOf("B3") == -1)
    if(e.range.getA1Notation().indexOf("B4") == -1)
      if(e.range.getA1Notation().indexOf("B5") == -1)
        if(e.range.getA1Notation().indexOf("B6") == -1)
          if(e.range.getA1Notation().indexOf("B7") == -1)
            if(e.range.getA1Notation().indexOf("B8") == -1)
              if(e.range.getA1Notation().indexOf("B9") == -1)

var email = "some@gmail.com";
var ss = SpreadsheetApp.getActiveSpreadsheet();
var subject = "PDF generated from spreadsheet " + ss.getName();
var body = "Test.";
var blob = DriveApp.getFileById(ss.getId()).getAs("application/pdf");
  blob.setName(ss.getName() + ".pdf");

  if (MailApp.getRemainingDailyQuota() > 0)
    GmailApp.sendEmail(email, subject, body, {
      htmlBody: body,
      attachments:[blob]
    });
}

Here is where I need help:

*

*I need to make this code an onEdit function.

*The only cells that I want to trigger the email are: B2:B9

*The cells that I want to send as a PDF in an email are A118:H149. They must keep their formatting.

*I only want the cells in this one sheet, not any other sheets.


Hess-Rice, L., Ihrig, K., Merves, E., & Brown, M. (2010). In J. L. Nath, I. Guadarrama, & J. Ramsey, (Eds.), Investigating university/ school partnerships: A volume in professional development school research. Greenwich, CT: Information Age.
Special Education and Disability Studies faculty, staff, students and alumni presented at the recent Council for Exceptional Children conference. Dr. Joan Kester, with doctoral students Matthew Flanagan and Julie Stella, presented the session "Transition Discoveries: Data-Driven Planning and Pathways to Success," where participants learned about the Transition Discoveries Quality Indicator research project, a multi-year participatory action study. Dr. Elisabeth Rice, Dr. Karen Ihrig, and GSEHD alumna Dr. Amy Srsic (with the University of Pittsburgh), presented a poster session entitled, "Raising Girls with Emotional and Behavioral Disorders: Perceptions of 16 Caregivers."
Dr. Elisabeth Rice and Dr. Karen Ihrig, along with GSEHD alumnae Dr. Amy Srsic, Dr. Kandace Hoppin and Dr. Margaux Brown, and doctoral candidate Adelaide Kelly Massoud, presented the paper, "The Failure of Schools to Meet the Needs of Girls with EBD: Perceptions and Recommendations" at the Teacher Educators of Children with Behavior Disorder (TECBD) conference.
GSEHD alumnae Dr. Kandace Wernsing Hoppin and Dr. Amy Srsic joined faculty members Dr. Elisabeth Rice and Dr. Karen Ihrig and doctoral student Adelaide Kelly Massoud to present a paper at the Teacher Educators of Children with Behavioral Disorders Conference in Tempe, AZ.


La Lantejuela is situated in Spain, in the Andalucia region where it is within Sevilla and the local Lantejuela (La) area.
If you are planning a visit be sure to see the long range weather forecast for La Lantejuela and the Andalucia region.
Natural highlights such as lakes, forests and mountains close to La Lantejuela.
Railway stations identified as being in or close to La Lantejuela.
Know La Lantejuela or operate a tourist attraction here?


text:
Zombie films
Snyder reveals Army of the Dead release date
By Chris Post on February 23, 2021 • ( Leave a comment )
Survivors take all. #ArmyOfTheDead on @Netflix May 21. Teaser this Thursday. https://t.co/sIgDoz6rmz—
Zack Snyder (@ZackSnyder) February 21, 2021
Zack Snyder, who directed the remake of George Romero's Dawn of the Dead, is returning to the zombie genre with a film of his own called "Army of the Dead," and thanks to a tweet we now know when the film will be available.
Principal photography took place in 2019 with a series of reshoots happening in 2020. The reshoots were, in part, made to all Tig Notaro (Star Trek: Discovery) to replace Chris D'Elia, who came under fire after allegations of sexual harassment of underage girls surfaced.
Earlier this week Snyder tweeted that the film will hit Netflix on May 21 and that a new trailer will drop Thursday.
In addition to Notaro, the film stars Dave Bautista, Ella Purnell and Omari Hardwick as part of an ensemble cast. According to Netflix, the film takes place after a zombie outbreak in Las Vegas, and tells the story of a group of mercenaries taking the ultimate gamble by venturing into the quarantine zone for the greatest heist ever.
Categories: Zombie films
Tagged as: Army of the Dead, Dave Bautista, Tig Notaro, Zack Snyder
Tanpepper brings scientific background to apocalypse writing
New resource brings zombie apocalypse to Dungeons and Dragons


text:
VC/PE
Meituan
Mobike
Try Kr-ASIA.comBeta
Get this week's tech headlines in your inbox. The most efficient way to stay on top of the biggest tech news from Southeast Asia and China.
"The artist in me has never left": People of the Digital Economy
Raphael Yee is a community specialist at Carousell.
By Zhixin Tan Wed Apr 03 2019
twitter facebook linkedin whatsapp copy link
Raphael Yee was once a theatre student at an arts school in Singapore. He held a cursory interest in software development, and eventually dived into the tech industry, working as a programmer at Carousell. Yet that artistic touch never left; and he sees coding as an art form: "Many people think being an artist and an engineer is mutually exclusive but this doesn't have to be true. There's a lot of artistry in programming beyond just writing elegant, beautiful code."
Yee landed in the tech sector after dabbling in film. He represented his educational institution in a film project organised by Temasek, and even enrolled in a private school to pursue a diploma in film-making. However, the prospects of building a career in the movie industry didn't appeal to Yee, so he pivoted toward working in tech—he wanted to be part of processes that build new products, instead of working for a production house.
During his time as an intern for Carousell's communications team, Yee noticed various workflow inefficiencies, and had ideas about how to fix them. He began writing scripts that automated some of his team's tasks. Sometimes, he would stay in the office till late to finish up those projects. After countless shared meals and conversations with the company's CTO, Lucas Ngoo, Yee decided to alter his career course and join Carousell's data team instead of pursuing a career in the arts. Today, Yee wears many hats, doing data analysis as well as front-end and back-end development for Carousell.
Though the clapperboard and camera are no longer part of Yee's life, he still finds himself relating programming to the arts. "Data visualization as an art akin to cinematography," he said, referring to how the presentation of information can be similar to framing and coloring a shot in a film.
During his transition, Yee had to overcome many hurdles. The biggest obstacle was the chip on his own shoulder—unlike his colleagues at Carousell, Yee doesn't have a tech background, and that weighed on him. But he believes the way to power through is to constantly learn, soak up information, and develop new skills. As an ambitious young man, Yee hopes that one day he would be able to start his own company that makes as much of an impact as Carousell. To do so, Yee busies himself with reading about business and engineering.
Yee has also received a lot of help and advice along the way. More than anything, he hopes to pay it forward in the future. Eventually, he wants to become a mentor to young people who landed in data science despite the backgrounds being rooted in other fields. He wants to offer the same opportunities that people like Lucas Ngoo and his previous supervisor gave him.
Today, Yee puts his tech knowledge to good use. At Carousell, he is working on a program that removes counterfeit goods from the platform's listings. Beyond that, Yee is the lead software engineer for Ironledger of the Singapore Armed Forces, where he refines a program to reduce time spent on the handover-takeover process. Ever experimental, he's even working on an app to manage functions in his home.
Daniel de Gruijter of Incitement on instigating a movement: Startup Stories
SoftBank-backed Chinese robot producer CloudMinds files for USD 500 million IPO
Michael Currie of Fling on the future of Southeast Asia's airspace: Startup Stories
Moving forward: Early Stage
After Nio, another Chinese EV maker is forced to recall vehicles due to battery problems
Top Tech News of the Week. Stay ahead of the trend. »
Singaporean haulage startup wins PITCH 2019 in Hong Kong
Cathy Tran of Ohana on helping people locate affordable homes: Startup Stories
ByteDance says it now has 1.5 billion monthly active users
Marshall Tegar Utoyo of Fabelio and his passion for design: Startup Stories
Singapore makes coding classes mandatory for primary school students, starting 2020
We're KrASIA, a digital media company reporting on the most promising technology-driven businesses in Asia-Pacific.
©2018 KrASIA. All Rights Reserved.


text:
Q: Checking if dataframe column has unicode I wonder what is the simplest way to check if a pandas dataframe column has unicode versus just having ascii strings.
I was gonna try df['fieldname'].str.isascii but that does not seem to exist.

A: In python3, strs are unicode.
Your code, df['fieldname'].str.isascii, returns a Series, which rows of True or False. Since you want to check if the column has at least one str value, you can check as follows:
import pandas as pd

df = pd.DataFrame(
    {
        'text': [1, 2, '3'], # '3' is str here.
    }
)

if True in df['text'].apply(lambda x: x.isascii() if isinstance(x, str) else False).to_list():
    print('at least one ascii')
else:
    print('no ascii')
# at least one str -> this will be printed because '3' is ascii.


text:
Phosphorus On The Periodic Table
The way phosphorus was discovered I find to be interesting. Henning Brand a German in 1669 was conducting an experiment using urine to turn into philosopher's stone that can turn certain metal into gold ("The Element Phosphorus." It's Elemental -. Web. 23 Dec. 2015. ) He then isolated a white material that glowed and little did he know that it was white phosphorus. Phosphorus is represented by the letter P on the periodic table of elements. It in group 3 and its atomic mass is 15. It is part of the pnictogen family. It general classification is non-metal. Phosphorus is a solid. There are two types of Phosphorus red and white. White has a garlic like odor it's a soft waxy solid and can easily cut with a knife.Can spontaneously ignite with…show more content…
Web. 23 Dec. 2015)The boiling point for Phosphorus is 280.50 degrees Celsius. While the melting period is 44.20 degrees Celsius. Phosphorus has both electrical and thermal conductivity that goes for both red and white. Phosphorus has a density of 1.82 grams per cubic centimeters and a low hardness.The abundance of phosphorus in the Earth's crust is estimated to be 0.12 percent, making it the 11th most common element. Important man-made source from Phosphorus is fertilizer used for farming or in your garden/flowerbeds ("The Nature of Phosphorus in Soils." : Nitrogen : University of Minnesota Extension. Web. 23 Dec. 2015. )This is important to the agriculture industry even though a lot of the use cow manure it still deals with Phosphorus. When dealing with chemical properties white Phosphorus has more to do with the reaction due to the fact it can spontaneously ignite. It is…show more content…
It's not found in its pure form because white Phosphorus could spontaneously ignite with the air. It is an essential element for the life of organisms. If you have rich soil it is more likely to have more Phosphorus than regular soil but all soil has Phosphorus. It exist in nature in several allotropic forms.Some example of the different form of allotropic are: Red, White, VIolet,and Black. The only important commercial source of Phosphorus is phosphate rock. United States of America is one of the largest producer of phosphate rock. It has to go through the Phosphorus cycle. The Phosphorus cycle is similar to several other mineral nutrient cycles in that P exists in soils and minerals, living organisms, and water ("Phosphorus." University of Maryland Medical Center. Web. 23 Dec. 2015.)The is a good supply of Phosphorus on earth so we don't have to worry about running out ( State of the Planet Phosphorus Essential to Life Are We Running Out Comments. Web. 23 Dec. 2015.) It cost about 25 cents per gram of Phosphorus and it is a open market. I think it is a benefit to society because it is essential for the creation of DNA, cell membranes, and for bone and teeth formation in human. (State of the Planet Phosphorus Essential to Life Are We Running Out Comments. Web. 23 Dec. 2015.) In the long run even though white Phosphorus can ignite spontaneously it is going to have to be a
Beyond The Face Of Phosphorus Research Paper
The 13th element, Phosphorus, was first discovered in 1669 by a German alchemist by the name of Hennig Brand and since then we have to come to find out that the element has had a larger effect on different aspects of our lives. Though Phosphorus was a great discovery for the scientific fields it also came with a dark side that was taken advantage of in the 1800s. Phosphorus. Also in the 1800s, phosphorus grabbed hold of the industrial scene which in turn changed the way people work and how they were treated. Currently, we are dealing with a problem called "nutrient pollution" which is an excess of phosphorus in the air.
Environmental Issues In Florida
What is Phosphorus, and How is it Extracted Phosphorus is a non-metal solid, with atomic number 15, and usually comes in white, red, or black allotropic forms. It is found in phosphates, particularly apatite, which is the most common in Florida. These phosphates lie anywhere from 15-50 feet under the ground, and are only accessible by removing the topsoil in a
Phosphorus Essay
Phosphorus is one of the major minerals required by chicks. The cost of inorganic phosphorus supplementation is the third most expensive cost in feed. Optimizing phosphorus utilization might reduce feed cost in addition to reducing phosphorus excretion into the environment. Phosphorus is a very important mineral in animal nutrition especially for fast growing animals. Phosphorus is the second most abundant mineral in the animal body, approximately 80% of which founded in the bones and teeth. As with calcium, the formation and maintenance of bone are quantitatively the most important functions. About 20% of phosphorus not present in the skeletal tissues is widely distributed in the fluids and soft tissues of the body, where it serves a range
Inorganic Ions Include Those of Sodium, Phosphorus and Hydrogen. Describe How These and Other Inorganic Ions Are Used in Living Organisms.
Precious Metals Research Paper
Platinum was discovered by Antonio de Ulloa in 1735. Ulloa established the first mineralogy lab in Spain and was the first to study platinum. Platinum was first recognized as an element in 1774 when Charles Wood isolated the ore with aqua regia. Then the pure form of platinum was found in the residue. However, there were more than one substance that was unknown in the residue. Hippolyte-Victor Collet-Descotils believed that there was an unidentified metals that caused the red color of some platinum salts. In 1803, William Hyde Wollaston investigated this by first dissolving the crude platinum ore in aqua regia. Then he was able to get to the platinum metal by dissolving the solution in ammonium chloride. The liquid which remained had properties which matched no known substance. Wollaston named it Rhodium. This was not the last element that Wollaston discovered that year. He used aqua regia to dissolve the platinum ore and isolated
Research Paper On Sulfur
I choose Sulfur because of it's bright yellow color which really catches your attention. I also found it very interesting how much damage sulfur really is to the human. Plus is a very hard element to locate due to the fact that it can mainly be found by hot springs or volcanoes. Sulfur, also spelled sulphur, is a chemical element with the symbol S and atomic number of 16. It is an abundant non-metal and at room temperature is a bright yellow crystalline solid. Chemically, sulfur combines with all elements except for gold, platinum, iridium, nitrogen, tellurium, iodine, and the noble gases. Sulfur forms over 30 solid allotropes, more than any other element. Allotropes are different forms in which an element can exist. I picked this element because
Year 10 Science Research
Platinum is utilized extensively over a range of different items, from catalytic converters in our cars to the pretty rings that we wear on our fingers. It is more importantly used in many treatments that are used on our bodies in cases where we are ill or injured. Medicinal actions are undertaken every single day. The world is dependent on the treatments that the medical field supplies. The claim that metals are the most useful substances poses
Phosphorus Pollution In Long Lake
The main problem is an abundance of phosphorus in freshwater bodies such as the Mississippi River. Phosphorus is a chemical found in many fertilizers as well as many cleaners and detergents, and is usually scarce naturally. The high levels of phosphorus is
Mattatall Lake
2002), phosphorus levels in soil within the watershed and in surface water samples will be considered to determine the potential sources of nutrient loading into the lake. Different samples and analyses for Phosphorus concentrations (and hereafter we call Total Phosphorus – TP) in brooks and ponds of the ML watershed gave us a panoramic view of nutrient sources streaming to the lake and how they could disperse and redistribute in the lake waterbody. The term 'Total Phosphorus' has to be understood as all forms of Phosphorus which may occur mostly in Phosphates (PO4) and Organic Phosphates.
Long Term Trends And Seasonal Trends On Phosphorus At The Bosherston Lakes, South West, Wales
Data analysis of long term trends and seasonal trends in Phosphorus at the Bosherston Lakes, South West, Wales.
Kelly Hunter Burch Viewpoints
It is not "naturally occurring" and it is not composed of only ammonia, phosphorus and hydrogen sulfide" (Hunter-Burch, 2005, n.d.).
Cayuga Lake Essay
What negative ecological effects might occur as a result of altering the phosphorus cycle? Include in your explanation how this effect could be measured. Potential impacts on things such as the algal community can be examined based on thermal preference as well as the nitrogen to phosphorus ratio. If there was additional phosphorous from the LSC, it would slightly decrease this ratio and may favor the growth of nitrogen-fixing blue-green algae.
LinkKaraElementResearchPaper Krypton 1
chemical element here on our own planet Earth. Though it is a rare, unreactive noble gas,
Day 1 Lab
Most importantly, they require phosphorus, nitrogen, and potassium for making phospholipids (which make up the cell membranes), amino acids, and metabolic functions.10 This is why most fertilizers contain some combination of these three elements. Sulfur also plays an important role in plants, as it helps form amino acids, proteins, and chlorophyll11. Because these elements are all important to plant growth and are common ingredients in fertilizers, they were used to create a liquid fertilizer in this lab. (Note that only Day 2 of the lab used
Platinum Research Project: Julius Scaliger
Platinum was first discovered by a man named Julius Scaliger. Julius Scaliger first discovered Platinum in an Inca village in 1577. Julius wrote the first written account about platinum. In 1735, Antonio de Ulloa, a spanish explorer encountered platinum with the Incas. Antonio de Ulloa decided to start to study the new element. It was recognized as an element in 1735, not 1577. Scientists now know that Incas started using platinum in hieroglyphics hundreds of years before any european explorer "discovered" it. Platinum currently is almost as rare as gold, but less valuable. It is currently found in South Africa, Canada, United States, and Russia. Platinum is extremely rare to find by itself, but is found as a byproduct


In 1875, nearly forty years after the Mexican War, Mexicans and Texans are still spilling blood over ownership of the Nueces Strip. Captain L.H. McNelly, a complex and determined Confederate veteran, is brought into the Nueces Strip for one purpose: to keep the peace. His measures are harsh and controversial, but McNelly wasn't sent in to be popular. In this boilerpot of killing and racial hatred, can any man bring lasting peace?


text:
Q: Print text using bluetooth with xamarin form I build project xamarin form print the text with device Nippon RPP-300 Mobile Printer. I using
using (BluetoothAdapter bluetoothAdapter = BluetoothAdapter.DefaultAdapter)
        {
            if (bluetoothAdapter == null)
            {
                throw new Exception("No default adapter");
            }

            if (!bluetoothAdapter.IsEnabled)
            {
                throw new Exception("Bluetooth not enabled");
                //Intent enableIntent = new Intent(BluetoothAdapter.ActionRequestEnable);
                //StartActivityForResult(enableIntent, REQUEST_ENABLE_BT);
                // Otherwise, setup the chat session
            }

            BluetoothDevice device = (from bd in bluetoothAdapter.BondedDevices
                                      where bd.Name == printerName
                                      select bd).FirstOrDefault();
            if (device == null)
                throw new Exception(printerName + " device not found.");
                using (BluetoothSocket _socket = device.CreateRfcommSocketToServiceRecord(UUID.FromString("00001101***")))
                {
                    await _socket.ConnectAsync();

                    byte[] buffer = System.Text.Encoding.UTF8.GetBytes(input);
                    await Task.Delay(3000);
                    // Write data to the device
                    await _socket.OutputStream.WriteAsync(buffer, 0, buffer.Length);
                    _socket.Close();
                }
        }
    }

in the project.Droid. How to call using method in the project xamarin app?

A: You can use DependencyService .
in Forms
create an interface
public interface IBLEPrint
{
    void BlePrint();
}

in Android project
Implement the interface
using xxx.Droid;
using xxx
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration.AndroidSpecific;
//using ...
[assembly: Dependency(typeof(BLEPrintService))]
namespace xxx.Droid
{
    public class BLEPrintService : IBLEPrint
    {
        public void BlePrint()
        {
           //...
           using (BluetoothAdapter bluetoothAdapter = BluetoothAdapter.DefaultAdapter)
           {
            if (bluetoothAdapter == null)
            {
                throw new Exception("No default adapter");
            }

            if (!bluetoothAdapter.IsEnabled)
            {
                throw new Exception("Bluetooth not enabled");
                //Intent enableIntent = new Intent(BluetoothAdapter.ActionRequestEnable);
                //StartActivityForResult(enableIntent, REQUEST_ENABLE_BT);
                // Otherwise, setup the chat session
            }

            BluetoothDevice device = (from bd in bluetoothAdapter.BondedDevices
                                      where bd.Name == printerName
                                      select bd).FirstOrDefault();
            if (device == null)
                throw new Exception(printerName + " device not found.");
                using (BluetoothSocket _socket = device.CreateRfcommSocketToServiceRecord(UUID.FromString("00001101***")))
                {
                    await _socket.ConnectAsync();

                    byte[] buffer = System.Text.Encoding.UTF8.GetBytes(input);
                    await Task.Delay(3000);
                    // Write data to the device
                    await _socket.OutputStream.WriteAsync(buffer, 0, buffer.Length);
                    _socket.Close();
                }
              }
         }
        }
    }
}


text:
Q: Python oserror: [errno 5] input/output error - code works fine in windows pycharm env, but error when it work on ubuntu(by docker) I've made the simple code, which is concurrently file-copying program
It does not give me above error when i operate it on windows env.
However, I made an docker container, which executes ubuntu and also I
work with my host directory and it works fine when the file size is small,
but when I test with file which is above 2GB, then it gives me above error.
Again, this test was fine when i work on windows pycharm.
import os
import queue
import time
import threading

class FileCopy(threading.Thread):
    q = queue.Queue()
    semaphore = 0
    buffer_size = 1024*1024

    def __init__(self, fileName, newFileName):
        threading.Thread.__init__(self)
        self.fileName = fileName
        self.newFileName = newFileName

    def run(self):
        with open(fileName, 'rb') as src, open(newFileName, 'wb') as dst:
            FileCopy.q.put((self, "start"))
            FileCopy.write_log()
            while True:
                copy_buffer = src.read(FileCopy.buffer_size)
                if not copy_buffer:
                    FileCopy.q.put((self, "complete"))
                    FileCopy.write_log()
                    break
                dst.write(copy_buffer)

    @classmethod
    def write_log(cls):
        while True:
            if FileCopy.semaphore >= 1:
                continue
            else:
                FileCopy.semaphore += 1
                with open("log.txt", 'a') as f:
                    log, when = FileCopy.q.get()
                    msg = ""
                    if when == "start":
                        msg = "%.2f Start copying %s to %s\n" % (time.time()-start_time, log.fileName, log.newFileName)
                    elif when == "complete":
                        msg = "%.2f %s is copied completely\n" % (time.time()-start_time, log.newFileName)
                    f.write(msg)
                FileCopy.semaphore -= 1
                break

start_time = time.time()

while True:
    fileName = input("Input the file name: ")
    if os.path.exists(fileName):
        newFileName = input("Input the new name: ")
        copyThread = FileCopy(fileName, newFileName)
        copyThread.start()
    else:
        print("no file")


text:
Anarcute (Switch) Review
by Joe DeVader - May 30, 2019, 5:37 pm PDT
FIGHT THE POWER!
An evil corporation has taken over the cities of the world, brainwashing its citizens into complacency. Are you gonna take that sitting down? Of course not, you know it's time to show the man what for with some good old fashioned anarchy, or should we say Anarcute? This is the central premise behind Anarcute, a game originally released for the PC in 2016 that is now rioting its way onto the Switch. A beat-em-up centered around gathering a crowd and sticking it to the authorities, Anarcute makes the problematic idea of anarchy much more approachable with the simple addition of cute animals.
You play as a group of protestors making their way through various major cities on Earth, starting in Tokyo and working their way to the rest of the world as they go. Starting as a small group of one to four rioters, the goal is to grow your mob to an intimidating size and using that group to complete the various objectives of a given level, ranging from capturing a number of flags or destroying certain buildings throughout the map. Getting closer to the sleeping animals on the street or in cages will cause them to join your group, and the more people in your group the more abilities you'll have access to. Your mob's abilities range from a large stomp that can move big objects to being able to rip buildings down with their bare hands. Finishing levels will reward you with a coin which can be used at a vending machine to purchase more equippable abilities.
Playing Anarcute is overall an incredibly satisfying experience, but it's not without its problems. As one would expect, the act of controlling a large katamari of malice can sometimes feel as awkward as trying to control a riot in real life. Characters often feel like your control inputs are merely being taken into consideration instead of considered instructions for where to go. Sometimes it even feels like they're fighting your input in favor of going where they want. Characters regularly don't stop moving when you stop pushing the analog stick, leading to slightly frustrating moments where you're expected to weave between obstacles with a mob that cannot fully be controlled. Though these sound like they'd be major annoyances in any other game, they actually tend to be more minor inconveniences.
There's not a lot to Anarcute, playing for long periods of time will probably result in realizing how similar each level is. The game shines brightest when played in short bursts a few levels at a time, ideally while shouting things like "FIGHT THE POWER" and "DOWN WITH THE MAN." The gameplay is fun and varied enough to get you through a lunch break or while waiting for classes to start back up, but probably not any longer than that. Unlockables outside of the purchasable abilities consist only of other animals found by rescuing them in levels that can join your riot, from cats to axolotls to jellyfish, but these are entirely aesthetic changes and don't change the gameplay at all.
Despite its generally low amount of content, Anarcute is enough fun to keep you playing to the end, with the full package making it incredibly difficult to count the little game out. I found it impossible to ever be in a bad mood while playing this game, spending my sessions bouncing my foot to the incredibly upbeat soundtrack while sending my cat army to throw a gas truck at a group of fascists and shouting about how I was going to "tear down the PETriarchy". It's good old fashioned chaotic fun, and in the end it doesn't really need to be anything else to succeed at what it's going for.
A ridiculously catchy soundtrack
Fun and satisfying gameplay perfect for quick play sessions
You can have a crowd of axolotls
Can sometimes feel like you just barely have control of your characters
Not enough variety in levels to keep it interesting for longer play sessions
Genre Fighting
Anarcute
Release May 30, 2019
Publisher Plug In Digital
Rating Everyone 10+
Anarcute [Switch]