#happy birthday const!
Explore tagged Tumblr posts
Text
Hari ini adalah Hari Ulang Tahun saya yang ke 20. Banyak hal yang terjadi di 19 tahun baik yang menyenangkan maupun mengecewakan. Saya berharap di umur 20 tahun, saya bisa mengurus kerjaan menjadi lebih baik dan tetap sehat. Terima kasih atas ucapan selamat dan harapan dari kalian. Terima Kasih.
Today is My Birthday. This is my 20th Anniversary of my life. There were so much experiences that happened to me in 19 years old. I hope that in the future, I can be better at taking care of all the work even though it is very difficult and stay healthy. Thank you everyone for congratulate me and your wishes for me. Thank You.
大家好! 今天是我的生日。现在、我是20岁了。在19岁、我有很多经验了。我希望在20岁、我所有的工作都可以做得更好为了更好的未来。真的非常感谢你们生日的祝贺和希望。天天努力和身体健康。大吉大利。谢谢。
안녕하세요, 아궁 학생 입니다. 오늘 은 내 생일. 나에게 생일 축하합니다. 생일을 축하해 주신 많은 분들 ���사드립니다. 생일기대 과 기도줘서 모두 고맙습니다 여러분. 피곤해도 함께 즐거운 시간 많이 보냈으면 좋겠습니다. 항상 건강. 감사합니다.
今日は私の誕生日です。私のお誕生日おめでとうございます。素敵な一年になりますように。頑張って ください! わたしのおたんじょう日誠にありがとうございます。どうもありがとうございました。
def happy_birthday(name,age):
print(f"Happy Birthday to {name}!")
print(f"Now I am {age} years old!")
print("Happy 20th Anniversary to me!")
happy_birthday("Agung", 20)
(Python)
<!DOCTYPE html>
<html>
<head>
<title>Agung's Birthday</title>
</head>
<body>
<h1>Birthday 20th Anniversary</h1>
<p><b>Happy birthday Agung!</b></p>
<p>Happy 20th Anniversary!</p>
<p>Wish You All The Best</p>
</body>
</html>
(HTML)
INSERT INTO Birthday (BirthdayName, BirthdayAge, BirthdayNationality, BirthdayDOB, BirthdayMessage)
VALUES ('Agung', 20, 'Indonesian', '2004-05-23', 'HBD Agung, WUATB & GBU')
(SQL)
import java.util.Base64;
public class Birthday {
public static String encode(String str) {
Base64.Encoder encoder = Base64.getEncoder();
byte[] encoded = encoder.encode(str.getBytes());
return new String(encoded);
}
public static void main(String[] args) {
String originalStr = "Happy Birthday Agung";
String encodedStr = encode(originalStr);
System.out.println(encodedStr);
}
}
(Java)
const Age = prompt("Enter My Age: ");
if (Age == 20){
console.log("Happy 20th Anniversary!");
}
else{
console.log("Happy Level Up Day!");
}
(JavaScript)
0 notes
Text
The side of Const none of you knew
So since it's Const 24th birthday today and I bet she would've been really happy (and possibly a bit angry for spilling so many weird things about her) to people who she cared about, but not many of you guys knew the Const I used to know from 2014 and later on. Konstancja "Const" was not only a part of our K-pop fandom and a pop punk chick, she was a dedicated Shanster and vampire lover. She was obsessed with everything that was connected to vampires and her most valued posession was the 1st three booksin the Saga that she bought on her 21st birthday. She carried the six out of 12 books she owned always in her bag and would read extracts from it at random when she felt like she needed to calm down. I remember her crying over Sam Great death, later she mournedover Gavner's death, but I don't think she ever cried so hard when she found out about Shancius' death, the child of her 2 all time favourite characters from the books. This death touched her the most and made her really sad and she hated Steve Leopard for this, despite earlier calling him "my lil bby". Satan...it was the 1st nickname I and Emski gave Const because she wrote the "Derry Bitch" thing. The Derry Bitch thing was a simple parody of Marina and The Diamond's "Bubblegum Bitch" which she wrote about Niall Friel from Follow My Lead on whom she at the time had a huge crush on. We called her after that Satan every single time her mind had something weird going on and she wrote silly fanfics (especially the smuts..these were pretty weird) or she just said that someday she will rule the world. Too bad she never made that promise true, I bet this would've been hilarious if after Donald Trump we had a Vampaneze Princess in the White House for example. One thing I will always remember about Const is not only her will to help and care about everyone around her, but also how she tried to see the positive side about other people. Despite her struggling with being bullied thought her school years and 1st year uni that caused her to have some sort of trauma (and one really disgusting incident that she only shared with 2 people : her ex boyfriend and me), she always saw the best in people and tried to make friends, even though I remember that gaining her trust in the begin of our friendship was hard after all she went through. I believe the things she went through in junior and high school was the main cause Const did develop BPD in her later life. But she was a loyal friend and was always there for anyone who let her in. As when it comes to how Const got into K-pop and got into the fandom, this was a funny story, once again involving Niall Friel. If my memory is not playing tricks, Const got into K-pop back in July 2014 after she saw on Friel's FB page that heput SNSD'soicture as hisprofilepicture and Const was the curious wee bean she was, she went on YouTube and she found tge video to Paparazzi. Lateron she would send me a lot of other videos of kpop songs (mostly f(x) and SNSD) that she thought were fun to listen to. It wasn't really my style back then so I rarley watched the vids she did send and I remember for Const later on life wasn't much fun and she had no time to check out more kpop as she had personal troubles to look after. But last year around February she was on the right path again (or as I thought she was) she gave kpop another shot and this time it stayed with her till the end. Const was a wee weird with all her quirks like she always had to have her rubber bracelets on or whener she couldn't sleep at night, she played Late Nite Reading's Alive Now and that she loved The Ready Set and we danced to Chelsea Dagger one night while a sleepover when Diary of a Wimpy Kid was on TV. Oh how many times we watched that movie, I can't count. Const wanted to become either a writer or go to Paris to pursue a career as a can-can dancer (she was even a part of a dance group of a local cabaret, yeah, I saw one of her performances in late 2014, it was wonderful to watch her dance on stage). If none of these would workout, she planned on going to study psychology and go to Indiana and live there during winter and during summer time to live in Brisbsbe in Queensland in Australia where 2 of her favourite pop punk bands were from : Like Rockets and Let's Jump Ship. One thing I can tell you, Const did cheer on all of her favourites and wanted to someday see at least one of the bands she adored live in concert. Even if her heart broke after LNR broke up, she still cheered on the members and wasn't mad at Brady for leaving, even though it was hard for her to get over the fact. Const's love life was a disaster but she herself believed that maybe someday she would meet that Romeo to her Juliet (or as she would prefer to call it "Evra to her Merla"). She even write a short story on this which she named "Out of this world" that she never gave anyone to read, not even I could take apeek at it, she said it was too personal. All I knew that she got that idea from a repeating dream she had. I wish she would've felt loved and special to someone who wouldn't have broken her heart. I believe this was something that was missing in Const's life. Konstancja was one of the weirdest, most hyper people I'ce know, but als one of those who never wanted to bother anyone about her problems and she wanted that everyone around her was happy and feeling loved and safe, even if she herself did not feel like this, for her the happiness of others was more important than her own. Const would've been 24 in an hour, it's sad she didn't get to see that moment. I loved her like myown daughter and she will forever be in my heart. Here's to you, Const, my wee Satan ❤
2 notes
·
View notes
Text
close proximity // Zhongli x Reader
Word Count: ~1.8k
Notes: gender neutral reader “you”, MAJOR Pining in Zhongli’s POV, touch-starved? Zhongli, domesticity
in the long haul, this would be one part of a(n indulgent self-insert) long-fic where Zhongli finds out that you (adventurer/traveler) have been camping out in the wilderness, so he invites you to crash at his place for an indeterminate amount of time
also, happy birthday zhongli :)
Zhongli thinks that he should have known that welcoming someone so late at night into his home would invite the worst of the gossip. It only grows worse when people see that you continue to come back into his house and that you even have your own key to enter with.
Luckily, the change from your original Mondstadt attire was the decisive factor that allowed you to walk the streets of Liyue relatively unseen, for you are no longer associated with being foreign or wanted by the Millelith. Instead, you are known to be the one that now apparently resides permanently (or so it seems) in Mr. Zhongli’s apartment, and the attention is now directed toward him.
You’ve even suggested that you float down and enter through an unsuspecting open window in hopes of abating the rumors, but Zhongli thinks about the implications of entering in any way other than the front door and saves himself the trouble.
You apologize every time he closes the door on a particularly chatty neighbor, but Zhongli always waves it away. He feels more than justified inviting you into his abode. After all, he has caused you the most trouble, despite what you may think of Childe, with his plans for the harbor. Allowing you to share a space with him is nothing short of a fair trade.
The feeling is only bolstered by the fact that you moved in with only the backpack hauled on your shoulder and nothing else, with Paimon wailing about how good it feels to finally have a pillow to lie on-- much to your embarrassment. (He waves your apologies to this away as well and does not speak of how the bashful expression on your face is rather endearing to see.)
It’s been a few days since the original hubbub, and the rumors have died down after numerous explanations that ‘they are a friend; yes, only a friend, and yes, we are both unmarried and the walls are thin, but you will not need to worry about any unsavory noises, as is routine.’ It’s evident that the nosiest of neighbors believe that he is lying, but he takes his words as seriously as the contracts that bind him.
If anything, the noises that can be heard are the random bursts of laughter or the playful arguments between you and Paimon. If the neighbors expected anything other than this, Zhongli cannot find it in himself to be apologetic because he cannot remember the last time his apartment was filled with so much sound or ever be so lively. The conversations seem ceaseless at times: whether he is sharing facts about Liyue Harbor or the random story he can remember that he thinks you would enjoy or whether you are the ones sharing stories of your own home-- or simply when Paimon asks a question that takes the entire night to explain.
Zhongli likes the way his stories can make you laugh. It sounded sweet on the week's journey to Daudapa Gorge, and it sounds sweeter now in the confines of his home. Sometimes, when your laughter is all spent and your eyes wet from mirth, he sees you look up at him behind a shy smile with cheeks warm from something other than osmanthus wine, and he finds that he cannot stop watching you.
That is not to say that he is lacking in amusement. Paimon herself would be fine entertainment from her ideas and dreams and strange train of thoughts, but with your quick witted humor and easy-going banter, there seems to be no end to his smiles. Even Hu Tao has pointed out that he smiles more during work in the funeral parlor, and that it was, quite frankly, a little weird. Zhongli has no problems not letting that get to him, considering her boisterous demeanor as the head of the parlor herself.
Another unexpected but not necessarily unwelcome change is the domesticity. Zhongli has always had his own routine: wake up at dawn to watch the ships leave the harbor, head over to the funeral parlor if he has been called in, peruse (and if he remembers his wallet, purchase) the new shipments, and come home for evening tea. With your presence, he finds himself waking up to sleepy Paimon and an even sleepier you, cracking an egg over the stone stove to cook breakfast. He eats in the morning now and receives an eagerly given lunchbox for him to take around when he goes to work.
The times in which you leave the apartment differs, just as the time you happen to come back, but you never fail to bid him farewell or greet him when he comes back. You tap his shoulder to call him over for dinner, and you pat his head when you head to sleep.
With you and Paimon, Zhongli gains a new routine-- one that he grows used to at an almost alarming rate, considering how unused he is to change. It’s almost a shame that this is a temporary set-up-- just until the drama dies down when Rex Lapis’ body is finally given its respects, and you can find a place to stay without being afraid of arrest. But as he has learned recently, some things are bound to change, whether he wants to or not.
Which is not a bad thing, per say, he thinks to himself, as he cuts through the onions you have asked of him. If there is anything his time as Zhongli has taught him and of his journey with you, the beauty in many things is that they do not last-- which is why it is ever more important to enjoy it while it does.
“Wow, you really don’t get bothered by the onions, huh.”
Zhongli chuckles, carefully cutting the onions for the stirfry Paimon has requested to eat tonight. He would have suggested eating at Wanmin Restaurant, but a grimace from you when you look at your wallet convinces him to suggest a home cooked meal tonight instead. “It is one of my many talents, it seems,” he says as you put your hands on your hips defiantly.
“You’re going to be cutting all the onions under this roof,” you announce, walking behind him to turn on the stove. “Ack, I can feel myself wanting to tear up just from walking past that. How do you stand that, Zhongli?”
The smell of sesame oil permeates the kitchen nicely when you pour it into the wok, the sizzling a rather pleasant sound to accompany it. “Aren’t you going to tell me where the onions come from?” You ask as he dices the volatile vegetable.
He turns his head ever so slightly at your question, surprised. He prefers to tell you inane, though fun facts and stories he thinks you would be interested in, but he is surprised every time you come to him for things about Teyvat or of Liyuen culture. Though, he would be lying to himself if that does not please him. “Is that something you would be interested in hearing?”
“Yeah,” you say, slightly distracted as you take out the ingredients from the cupboards, “I mean, Paimon and I can never find them in the wild, so I figured it doesn’t really grow naturally… so it must be from a farm?” He sees you wave a wooden spoon in question. “But where? Oh-- by the way, are the onions ready? The wok's ready."
“Ah, the onions are actually grown in the villages north of Liyue Harbor,” Zhongli replies, finishing the last of the dicing on the cutting board. “Though most of farms focus on exporting rice, there are some that farm mainly onions-- which is where you see most of the wares being brought in--”
“Oh shit, I put the fire up too high-- Zhongli, I’m going to grab the onions!”
“Ah, yes, apologies, here--”
He does not realize you are right behind him until he feels your body press against his for a moment, your hair brushing against his cheek as your arm reaches out for the cutting board. He cannot help but feel himself tense, only able to turn his head slightly just to see your face as close as it has ever been to his.
“Sorry, sorry,” you say quickly, taking note of his surprised expression. “Nice cutting-- okay, time to cook--” The moment is brief as you rush to slide the onions off the board and into the flames, if the crackling is anything to go on.
But he finds that he cannot stop thinking about how ticklish your hair was on his face or how warm you were. He remembers the longest embrace in your trembling arms and of your trailing fingertips on his shoulder for a wound that does not exist.
The kitchen is at a comfortable temperature with the stove going on high, but it is by no means hot by any standards. Yet Zhongli feels his ears burn.
“Zhongli?”
He should set the table, he thinks, but for some reason, he feels an ache in a chest every time he thinks of doing anything other than feeling your warmth again.
“Zhongli?” You ask again, shaking him from his thoughts. His hand curls into itself in a moment of panic as he turns around, wondering if his distraction was obvious. If he were not a God himself, he would have thanked the higher beings that you didn't notice. “Sorry,” you say instead, “I interrupted you last time. What were you saying about the onions? Something after onion farms?”
“Ah, yes, ahem,” he starts again. “Most of the wares the Second Life sells is mainly from the villages themselves, and…”
You continue to indulge him as Zhongli speaks about the farmlands of the north and about the mountain trade routes in the east when the two of you set up supper. He tries not to think about the way your fingers brush against his when he passes you a bowl of rice or about the way your bodies press together when you wash the dishes.
(Touch-starved.
He is touch-starved, he finds out much later down the road, when he is able to hold you in his arms without needing to ask. It is why he wishes your hand would linger on his shoulder when you call him to dinner or why he finds himself relaxing at your touch.
Or why he had started hoping that you would never decide to leave.
It seems almost too obvious now, in retrospect, but Zhongli does not mind that he is constantly learning something new about what it means to be human-- not when it means he can finally hold your hand walking down Liyue Harbor and squeeze your hand and feel you squeeze back.)
430 notes
·
View notes
Photo
Happy 24th birthday Const ❤ You were an exceptional young lady and you were making Natasha happy and you made me happy by being our wee daughter. I wish I knew you earlier so I could've spent more time with you and get to know you a bit better. You wanted for everyone to be happy while you alone were deeply depressed and you were so selfless and cared about every of your friends deeply. And you never wanted anything in return. I'm honoured to have known you and that you were, are and will be in our family forever. We miss you terribly Const. Hope you rest in peace, our wee Vampaneze Satan Princess ❤ I love you ❤
1 note
·
View note
Photo
FIVE NIGHTS AT FREDDYS GAME AREA SET CS TMP TOYS / MCFARLANE’S TOYS From McFarlane’s Toys. The most festive part of Freddy Fazbear’s Pizza is the Game Area with its amazing carousel and Balloon Boy animatronic holding, of course, balloons! With a giant “Happy Birthday” banner almost stretching the length of the area, it is hard to believe this happy atmosphere hides such dark secrets. This construction set features the game area, Happy Birthday banner, fully functional carousel, party balloons, streamers, decorative balloons and party favors and contains buildable Balloon Boy and Mangle figures which have movable limbs and swappable heads and limbs. Approximate piece count for the Game Area is 300 pieces. $34.99
FIVE NIGHTS AT FREDDYS CIRCUS CONTROL CONST SET CS TMP TOYS / MCFARLANE’S TOYS From Mcfarlane’s Toys. The Circus Control room looks out over the Circus Gallery, where the animatronics joyfully perform their routines. The control room features large windows to monitor the animatronics’ behavior, as well as a makeshift crawlspace to hide inside in case an animatronic should happen to get loose…Which almost never happens. This buildable “Circus Control” set features a buildable Circus Baby. Set contains approximately 150 pieces and Figures feature articulation in the main joints and have swappable heads/limbs. $21.99
FIVE NIGHTS AT FREDDYS SMALL CONST SET ASST TMP TOYS / MCFARLANE’S TOYS From McFarlane’s Toys. McFarlane Toys is bringing a revolutionary evolution in brick building toys that allows collectors and fans to literally build their favorite scenes with these highly detailed and realistic construction line. Each set brings immaculate detail, iconic environments, and convincing sculpts, all at an unpredicted size. Add multiple characters to your scenes, combine builds, or just enjoy your awesome creations on its own with these Small Construction sets! $14.99
FIVE NIGHTS AT FREDDYS MICRO CONST SET ASST (Net) (C: 1-1-2) TMP TOYS / MCFARLANE’S TOYS From McFarlane’s Toys. McFarlane Toys is bringing a revolutionary evolution in brick building toys that allows collectors and fans to literally build their favorite scenes with these highly detailed and realistic construction line. Each set brings immaculate detail, iconic environments, and convincing sculpts, all at an unpredicted size. Add multiple characters to your scenes, combine builds, or just enjoy your awesome creations on its own with these Micro Construction sets! $8.99
2 notes
·
View notes
Text
Harsh fines and policing don’t protect people from COVID-19, criminologists say
New Post has been published on https://apzweb.com/harsh-fines-and-policing-dont-protect-people-from-covid-19-criminologists-say/
Harsh fines and policing don’t protect people from COVID-19, criminologists say
Corey Yanofsky, a data scientist living in Ottawa, took his dog out for a walk last week and ended up with an $880 fine for standing in the wrong place during the COVID-19 pandemic.
Obi Ifedi of Ottawa was walking through a park with his daughter April 4 when he was approached by a city bylaw officer. He says he was eventually tackled and ended the evening with a bruised lip and fines totalling more than $2,000.
Then there was Melissa Leblanc of the Montreal suburb of Beaconsfield, who was greeted by police at her door April 5 after family and friends wished her a happy birthday from their cars.
READ MORE: Coronavirus: Chin-ups at west Toronto park earn man $880 fine
They are just a handful of the hundreds of Canadians feeling the impact of policies that governments have put in place since March aimed at stopping the spread of COVID-19. But experts in criminology and law are pushing back against the conventional wisdom that giving police the power to levy heavy fines will make people safer.
Story continues below advertisement
They argue public health directives are unclear, and the way they are being enforced is counterproductive and a distraction from the failure of the state to better prepare for COVID-19. Moreover, they say, the heavy fines disproportionately affect people of limited means, people of colour and marginalized communities.
2:48 Coronavirus outbreak: Winnipeg introduces fines for those who ignore physical distancing rules
Coronavirus outbreak: Winnipeg introduces fines for those who ignore physical distancing rules
Ifedi, a stay-at-home father originally from Nigeria, said he and his daughter left an Ottawa park after being ordered to do so. But he alleges the agent followed and continued to scold them as they walked home. Ifedi said he told the officer there weren’t any signs stating the park was closed.
“He didn’t like me talking back,” Ifedi said in an interview Tuesday. “That’s when he said: ‘You know what, I will write you a ticket. Give me your name.’ ”
Halifax-based lawyer David Fraser said police in his city have previously been called out for racial profiling. A 2019 report commissioned by the provincial human rights commission indicated black males in the Halifax area were nine times more likely to be stopped by police than the general population.
READ MORE: Coronavirus: Police to verify Canadians complying with quarantine order, RCMP says
Fraser, author of the Canadian Privacy Law Blog, said there is little reason to believe profiling has stopped during the pandemic. And he said the province’s public health orders are unclear, hastily drawn up and may lead to over-policing.
Story continues below advertisement
For example, he said, on Sunday, Halifax Regional Police denied rumours their officers were stopping all vehicles carrying two or more people in order to check for non-essential travel. “While inspecting vehicles can at times be part of our #COVID-19 enforcement efforts if necessary, NOT ALL vehicles are being stopped,” the police said on Twitter.
[ Sign up for our Health IQ newsletter for the latest coronavirus updates ]
Fraser said that message strongly suggests police are sometimes stopping cars, even though nothing in the public health orders gives police added authority to stop vehicles or interrogate people.
2:53 Toronto to fine social distancing violators $5,000
Toronto to fine social distancing violators $5,000
In response to a question about how the province’s public health directives give officers the right to stop vehicles, Halifax Regional Police spokesman Const. John MacLeod said questions about the specifics of the order are the responsibility of the province.
“As always, in every situation, our officers are expected to conduct themselves in an unbiased and respectful manner,” he said in an email Tuesday.
Fraser also took issue with a March 30 order by Nova Scotia Justice Minister Mark Furey, which stated police “shall escalate their efforts from public education to enforcement, in accordance with officer discretion.”
If police are being told that whenever they see an infraction, issue a ticket, Fraser said, “we know that police are present in minority communities way more than they are in affluent communities.”
Story continues below advertisement
READ MORE: REALITY CHECK: Police say they aren’t pulling over cars for coronavirus fines
Criminology researchers Alex Luscombe and Alexander McClelland are mapping the police enforcement of the pandemic across Canada. Their project, “Policing the Pandemic,” collects data from media articles, police press releases, and social media posts.
Between April 4-13, their research indicates there were at least 735 violations of public health and emergency law offences, most of which took place in Quebec (324), Nova Scotia (228) and Ontario (161).
Luscombe, a PhD student in the Centre for Criminology & Sociolegal Studies at the University of Toronto, said ticketing people disproportionately hurts those who don’t have room to comfortably self-isolate or who haven’t been properly educated about the spread of COVID-19.
1:34 Coronavirus outbreak: Toronto mayor warns of hazards, fines for people littering used PPE
Coronavirus outbreak: Toronto mayor warns of hazards, fines for people littering used PPE
He said he is not aware of any criminological research that indicates ticketing is an effective way to deter bad behaviour.
“You only have to look at speeding as one example where ticketing is used as the main form of social control by police,” he said in a recent interview, “but we don’t necessarily see an end to speeding, do we?”
McClelland, a postdoctoral fellow at the University of Ottawa, researches the criminalization of communicable diseases, particularly HIV. He says it’s still early, but he expects this crisis to produce similar policing patterns that emerged from the AIDS crisis.
Story continues below advertisement
1:31 Edmonton Police Service to enforce COVID-19 public health orders
Edmonton Police Service to enforce COVID-19 public health orders
“Black and brown people, and poor and Indigenous people are over-represented in criminal cases related to HIV,” he said.
McClelland warned against a government approach on COVID-19 that singles out people for jail time or fines.
“What that does is individualizes our response,” he said in an interview. “It means we think we can point out one person and say, ‘They are the person to blame — put them away.’ But what that does is that we don’t ask broader questions about why our health-care system hasn’t rolled out massive testing.”
Meanwhile, Yanofsky, 41, said he is contesting the hefty ticket he received April 5. The park had signs, he said, stating the area was closed to limit the spread of COVID-19, “except for walk through.”
“The city’s enforcement … is using an extremely limited meaning of ‘walk through,”’ he said.
READ MORE: Coronavirus: Flouting public health rules will now bring $486 fine for Manitobans
Ifedi, 39, said he has hired a lawyer and plans on contesting his fine. He said the bylaw officer followed him, asking for his name, and then called over two police officers who happened to be close by.
Ifedi said he refused to give his name to the bylaw agent and to the police officers. He said he remembers being tackled to the ground and punched in the face by the bylaw agent, before the two police officers intervened.
Story continues below advertisement
Roger Chapman, director of By-Law & Regulatory Services for the city of Ottawa, said his department “denies any improper conduct allegations and the characterization of the incident.”
“However, in light of potential court process, BLRS will not provide any further comment.”
1:50 Coronavirus outbreak: Police screen drivers at checkpoints to restrict movement in Quebec amid COVID-19 spread
Coronavirus outbreak: Police screen drivers at checkpoints to restrict movement in Quebec amid COVID-19 spread
Michael Bryant, executive director of the Canadian Civil Liberties Association, said he is working with Ifedi and assessing whether the CCLA will intervene in the case, which he said “raises the possibility of racial profiling.”
Leblanc, whose birthday celebration took a sour turn, said police told her they had received a call from a neighbour, and they threatened her with a $1,500 fine and jail time for a subsequent offence.
In the end she got off with a warning, but she worries about the climate police are working in. “I know they were stressed,” she said in a recent interview. “But don’t take it out on me.”
View link »
© 2020 The Canadian Press
JOURNALISTIC STANDARDS
REPORT AN ERROR
Source link
0 notes
Text
Scheduling Tasks in Node.js with node-cron
This is the final part of a three-part series about creating an app that leverages the web Push API and cron-schedule. Click here, for the article about creating an installable PWA, and here for the article about the Push API.
Obviously, in this article, we’ll cover the cron-scheduling aspect of the app and we’ll be making use of node-cron to do that.
What are we building
We are building a simple progressive web app (PWA) which will remind me to take my pills every day 💊💊.
Our app will have a web server powered by Express.js. Express will push notifications to the clients which subscribed to the push notifications. Express will also serve the frontend for the app.
What We’ve Built so Far
So far, we created an installable Progressive Web App and an Express.js Server to serve our static files on http://localhost:3000 and push notifications to the frontend.
— Sorry to interrupt this program! 📺
If you're interested in learning Node in a comprehensive and structured way, I highly recommend you try Wes Bos' Learn Node course. Learning from a premium course like that is a serious investment in yourself.
Plus, this is an affiliate link, so if you purchase the course you help Alligator.io continue to exist at the same time! 🙏
- Seb, ✌️+❤️
What We Want to Build
I want to take my 💊 at 8:30am, 3:30pm and 11:15pm. To do so, we will use a task scheduler.
The Basic of Cron
Cron is (one of || the) most famous job scheduler out there. It is used in Unix-based operating systems.
Let’s say you have a very susceptible computer. You want to be sure you don’t forget its birthday. If we want to run echo "I love you 💻" every year at a specific date (this will output ‘I love you 💻’ in whatever environment you scheduled it in).
Here is what it would look like in cron (try to guess when is my computer’s birthday).
# ┌───────────── minute (0 - 59) # │ ┌───────────── hour (0 - 23) # │ │ ┌───────────── day of the month (1 - 31) # │ │ │ ┌───────────── month (1 - 12) # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday; # │ │ │ │ │ 7 is also Sunday on some systems) # │ │ │ │ │ # │ │ │ │ │ # 10 8 23 9 * echo "I love you 💻"
Every year, the 23rd of September at 8:10am the computer will get a lovely message. Please note that the date is military so if we want to celebrate the birthday at 8pm we would write:
# 10 20 23 9 * echo "I love you 💻"
The wildcard sign * means any. In this example it means any day of the week. If we wrote:
# 10 20 23 9 1 echo "I love you 💻"
It would only wish a happy birthday when the computer’s birthday is on a Monday. The wild card can be used anywhere. To run a command every hour we would do: 0 * * * *. You can translate that command into “Run command when minute === 0”. Every hour on Monday would be 0 * * * 1.
For our apps the cron jobs will be:
# Morning 💊 30 8 * * * # Afternoon 💊 30 15 * * * # Night 💊 15 23 * * *
Using node-cron
I didn’t choose node-cron over other Node.js cron-like libraries for any other reason that it works for what I need.
To register a task all we have to do is:
const cron = require('node-cron'); const sendBirthdayMessage = () => { console.log("I love you 💻") }; // schedule takes two arguments, cron time and the task to call when we reach that time cron.schedule('10 20 23 9 1', sendBirthdayMessage())
Let’s incorporate it in our app.
// Each subscription is connected to a client const allSubscriptions = {} const registerTasks = (subscription) => { const endpoint = subscription.endpoint; // My remote machine is on UTC time and I live in Japan so I made the appropriate calculation const morningTask = cron.schedule('30 23 * * *', () => { sendNotification(subscription, JSON.stringify({ timeOfDay: 'morning' })); }); const afternoonTask = cron.schedule('30 6 * * *', () => { sendNotification(subscription, JSON.stringify({ timeOfDay: 'afternoon' })); }); const nightTask = cron.schedule('15 14 * * *', () => { sendNotification(subscription, JSON.stringify({ timeOfDay: 'evening' })); }); allSubscriptions[endpoint] = [morningTask, afternoonTask, nightTask]; }; app.post('/subscribe', (req, res) => { const subscription = req.body; registerTasks(subscription); res.send('subscribed!'); }); // Allows our client to unsubscribe app.post('/unsubscribe', (req, res) => { const endpoint = req.body.endpoint; allSubscriptions[endpoint].forEach(task => { // destroy allows us to delete a task task.destroy(); }); delete allSubscriptions[endpoint]; });
✨ And that's it! We are finally done with the app, you can find the full code in this Github repository. ✨
via Alligator.io https://ift.tt/2PYcg50
0 notes
Text
日本 (Japan) & Orbital Periods
My littlest sister is currently in 日本 (a.k.a Japan), embarking on her Japanese Studies major work for university. I’m proud of her — and, today is her birthday!
Happy Birthday, you!
✨ 🍰 ✨
To celebrate the occasion (my sister’s birthday), I’d like to share some images that I took while on a trip to Japan, on behalf of Heroku.
Japan will always be near and dear to my heart, for many reasons, but Heroku (which I joined back in 2011), will always be the strongest reason for my affections for the nation / land / territory / people / culture.
const heroku = ('hero' + 'haiku')
One of my proudest professional accomplishments, thus far, helping to inform the design of the following image:
Anyway, here are a carefully curated selection of the images I captured during that short trip. I was using a Leica M240 with a brand new 35mm Summilux (f/1.4) lens. These are arguably some of the best images, image-quality–wise, that I’ve ever taken. Thanks for listening, and enjoy the show! and— Happy birthday, Brittany!
0 notes
Text
Today Const would’ve turned 24 years old. I wish she would’ve been here now celebrating it.
1 note
·
View note
Photo
Happy Birthday my little Vampire bird ♥ You would’ve turned 24 today. Of course I remember your birthday is today, you told me no one remembers, not even your own mother, but I do. I know that you would prolly sit now in your room and watch some Chris Massoglia movie while eating cupcakes and whine that you want to play Debbie Hemlock so badly or just write another fanfic on your OTT while having 7 Minutes in Heaven on blast. I made you an edit with all your favourite LNR and 7 Minutes In Heaven lirycs because I know how much these two bands ment to you. It is sad here without you and so lonely, me and Christina think about you all the time. And whenever we miss you too much, we play your favourite songs that we used to sing along to back 3 years ago. Time flies so fast. You were a true Fucked Up Kid and I do hope wherever you are now, you hum along to “Alive Now”, dance to “Chelsea Dagger” and are finally happy. Because you are a true Vampaneze Princess and you deserve the best in your afterlife. And I knew you questioned the way you lived and you took much comfort in Late Nite Reading’s songs. And how it broke your heart when they broke up. After that your life went down once again and I wish I could’ve been there for you in person back then. I miss sitting with you, laughing about all the silly memes you made, reading Roxypony’s fanfics while we laughed so hard we cried in the phone, I miss spending time with you 😢 As much as I wish I could bring you back here, I know that you had your destiny, we all had ours. We are going to throw a party for you tonight, we cooked pork and made tacos and of course we have a lot of cola too. And 40’s cause we just can’t do it without Sippin’ 40’s. I wish I could’ve told you how much you mean to me. You called me Merla, cause you said I looked like her in a way. Now this unfortunetley is how I feel, cause I too lost my child, I lost you. And I will never ever forget you, my wee vampaneze ♥ Const, you were the Darren to my Larten, the Dalton to my Brady, the Timmy to my Clayton. My best friend, the person I trusted the most right after Christina, you were my soul sister. And you’re gone, flew away leaving me behind. I will never ever forget about you and everything you did for me. I love you ❤❤❤❤ Happy birthday Const 😢❤
0 notes
Text
Christina's sister burned the cupcakes. This is a disaster 🎂
0 notes