strike The likely U.S. longshoreman strike and its implications for agricultural trade By www.ifpri.org Published On :: Mon, 30 Sep 2024 19:03:09 +0000 The likely U.S. longshoreman strike and its implications for agricultural trade Disruptions ahead for some developing countries exporting to the U.S. The post The likely U.S. longshoreman strike and its implications for agricultural trade appeared first on IFPRI. Full Article
strike In-flight catering under threat as workers threaten strike By www.personneltoday.com Published On :: Fri, 08 Nov 2024 12:08:00 +0000 Unite general secretary Sharon Graham said Dnata was attempting to bypass its workers and force through damaging changes to terms and conditions. The post In-flight catering under threat as workers threaten strike appeared first on Personnel Today. Full Article Latest News Industrial action / strikes Employment contracts Trade unions
strike SPAM strikes back By www.npr.org Published On :: Thu, 17 Feb 2022 00:29:06 +0000 Hormel Foods makes SPAM, and for generations, the company also created jobs for families in Austin, Minnesota. Today, the story of a labor strike that threatened to tear one small town apart. (This episode was made in collaboration with The Experiment podcast.) | Subscribe to our weekly newsletter here.Learn more about sponsor message choices: podcastchoices.com/adchoicesNPR Privacy Policy Full Article
strike Boeing Workers End Strike; Cash Flow Will Remain Negative Through 2025 By www.defensedaily.com Published On :: Tue, 05 Nov 2024 20:22:49 +0000 Boeing’s [BA] machinists’ union members on Monday voted to end their 53-day strike that shut down production at the company’s commercial aircraft plants in the Pacific Northwest but the company […] Full Article Business/Financial highlights
strike Johnson Controls, Constellation Strike Solar Energy Pact By www.achrnews.com Published On :: Fri, 28 Jul 2023 15:00:00 -0400 Constellation’s Offsite Renewables Plus (CORe+) retail power product, combined with Johnson Controls’ commitment to renewables, is supporting the development of two new Welcome Solar renewable energy facilities. Full Article
strike United Auto Workers’ Strike Yields Win for “Just Transition” By www.yesmagazine.org Published On :: Wed, 01 Nov 2023 19:06:34 +0000 In bringing electric vehicle battery plants under its national contract, the UAW took a major step toward transitioning away from fossil fuels in a way that protects workers' rights. Full Article Jobs Economy Labor Organizing just transition YES! Presents: Rising Up with Sonali United Auto Workers
strike [ K.154 (01/24) ] - Operating telecommunication facilities using lightning strikes data obtained from lightning location systems By www.itu.int Published On :: Mon, 05 Feb 2024 14:47:00 GMT Operating telecommunication facilities using lightning strikes data obtained from lightning location systems Full Article
strike New York Times Tech Guild workers end strike, but negotiations will continue By www.fastcompany.com Published On :: 2024-11-12T17:00:00 The New York Times Tech Guild is ending a week-long strike that started one day before the U.S. presidential election and will return to work on Tuesday, it said in a post on X on Monday. More than 600 tech workers of NYT, including software engineers, designers and product managers, had gone on a strike amid stalled contract negotiations over pay and job security, planning daily protests during the crucial election day period. Negotiations between the guild and the publisher have not progressed since the strike began, the spokesperson for the New York Times said in an email response. “We look forward to continuing to work with Tech Guild to reach a fair contract that takes into account that they are already among the highest paid individual contributors in the company,” the spokesperson said. The Tech Guild has been in contract negotiations with NYT for more than two years. “We clearly demonstrated how valuable our work is to The New York Times, especially on election night, and showed that we have the full support of subscribers and allies across the country going forward,” said Kathy Zhang, Tech Guild unit chair. —Jaspreet Singh, Reuters Full Article Impact
strike Have we learned any lessons from the CrowdStrike outage? By www.logisticsit.com Published On :: By Charlie Macdonald, CTO at BPS Global Australia.Three months ago, cybersecurity platform provider CrowdStrike released an update that caused 8.5 million Microsoft Windows PCs and servers to crash. The glitch had a ripple effect across industries and global supply chains – almost three-quarters of the world’s computers use a Microsoft’s Windows operating system. Full Article
strike Boeing factory workers to vote on deal that could end seven-week strike By www.euronews.com Published On :: Mon, 04 Nov 2024 11:14:56 +0100 Boeing factory workers to vote on deal that could end seven-week strike Full Article
strike Boeing to take weeks to resume production of planes after strike By www.euronews.com Published On :: Wed, 13 Nov 2024 09:21:54 +0100 Boeing to take weeks to resume production of planes after strike Full Article
strike Aftermath of Israeli airstrikes in Beirut, displaced people seek shelter By www.euronews.com Published On :: Fri, 25 Oct 2024 07:28:53 +0200 Aftermath of Israeli airstrikes in Beirut, displaced people seek shelter Full Article
strike NO COMMENT: Aftermath of Israeli airstrike on Al-Maghazi refugee camp that killed at least four By www.euronews.com Published On :: Fri, 25 Oct 2024 12:42:57 +0200 NO COMMENT: Aftermath of Israeli airstrike on Al-Maghazi refugee camp that killed at least four Full Article
strike TSA silent on CrowdStrike’s claim Delta skipped required security update By arstechnica.com Published On :: Tue, 29 Oct 2024 19:36:35 +0000 CrowdStrike and Delta’s legal battle has begun. Will Microsoft be sued next? Full Article Policy Crowdstrike crowdstrike falcon cybersecurity Delta DOT global it outage it outage microsoft TSA
strike Boeing strike ends after workers vote to accept “life-changing” wage increase By arstechnica.com Published On :: Tue, 05 Nov 2024 15:26:37 +0000 Workers vow to restore Boeing's iconic legacy as costly strike ends. Full Article Policy Boeing Boeing 737 MAX iam labor union machinists strike
strike Why the Crowdstrike Outage is a Golden Opportunity for MSPs By www.technibble.com Published On :: Sat, 20 Jul 2024 07:01:36 +0000 Leverage the Crowdstrike outage to position your MSP as a business continuity expert. Use timely, relevant content from our extensive MSP library to attract new clients. Source: Why the Crowdstrike Outage is a Golden Opportunity for MSPs - Technibble.com Full Article MSP Content Marketing MSP Marketing Strategy
strike Gatwick Airport strikes ended when workers accepted 10.3% wage increase By www.avjobs.com Published On :: Fri, 4 Aug 2023 10:55:39 -0400 Gatwick Airport Strikes Ended When Workers Accepted 10.3% Wage Increase Creative Media News... Full Article business dispute employees airports uk
strike Boeing layoffs weren't just a strike threat By www.yahoo.com Published On :: 2024-11-12T18:22:00Z Full Article
strike Will Google strike a deal with California news outlets to fund journalism? By www.latimes.com Published On :: Wed, 26 Jun 2024 00:43:53 GMT California news publishers and Big Tech companies appear to be inching toward compromise on legislation requiring digital platforms to pay news outlets. Full Article
strike First-pitch strikes critical for Gonzalez By www.washingtonexaminer.com Published On :: Thu, 25 Apr 2013 04:00:00 GMT Gio Gonzalez threw strikes on Thursday night – 78 to be exact, on 112 pitches — keying his one-hit work over eight dominant innings in the Nats’ 8-1 victory over the Reds. Gonzalez (2-1), the Nats’ starter most susceptible to wildness, had walked 11 in 20 innings, lasting no more than six innings in any of his previous four starts. But with the lead from the third inning on, Gonzalez was able to attack. Full Article
strike Slog AM: Election Day Pretties, Boeing Machinists's Strike Ends, Cloned Blackfooted Ferret Gives Birth By www.thestranger.com Published On :: Tue, 05 Nov 2024 08:51:00 -0800 Seattle's only news roundup. by Ashley Nerbovig Ok weather to vote in! Should be a pretty nice day to stroll down to your nearest ballot box, with a high of 52 degrees and partly sunny, and a slight chance of rain after 2 p.m. So go vote! Don't let anything stop you. As Hannah said yesterday, you can still vote! I voted last year on the last possible day, and I hadn't registered yet at that point. I just jogged down to Lumen Field though and it was super easy to register, vote, and leave. Even if you're feeling left out because you're not in a swing state and the entirety of the country's future doesn't rest on your shoulders, the future of this state and city really does! Dropping some helpful links to make sure you have everything you need to make your voices heard. First, how to register to vote. Second, how to replace a lost ballot. Thirdly, ballot box locations. Finally, our handy cheat sheet for help filling out your ballot. Done your civic duty already? Well then sit back and enjoy the final hours of uncertainty at one of the many election night parties happening across the city tonight. The Stranger is throwing one at the Crocodile—it’s sold out, but we think it’s worth it to take your chances on standby tickets. There might be some no-shows, and we can squeeze you in. But if you don't wanna chance it, check out this list of parties you can attend from our sister publication Everout. Stranger reporters will be dotted around the city to bring you coverage of the election from various candidate election parties as well. Speaking of voting: The Boeing machinists approved a contract last night ending their strike after 53 days, according to the Seattle Times. The latest contract, approved by 59% of membership, includes a 38% general wage increase over the next four years, which equates to 43% when you factor in raises on top of raises. The contract did not restore the pension that they lost in a contentious vote 10 years ago. Union president Jon Holden said the union should be proud of what they accomplished and that it was time to get back to building planes. Alleged sex abuse in youth detention: An additional 176 people made allegations against Washington state for failing to protect them from sexual abuse while they were children at youth detention centers in the state, according to the Seattle Times. Combined with another lawsuit filed in September, that brings the total number of people claiming they were sexually abused in Washington's detention centers up to almost 400. Meanwhile, the Seattle Times Editorial Board continues to decry and complain about youth diversion programs meant to help kids avoid being sent into lock up. Seattle Steel Pan Project Evicted: The Seattle Steel Pan Project, dedicated to teaching the art of steel plan music and performance, needs a new space to operate in after MLK FAME Community Center in the Central District evicted the group this week, according to an Instagram post from the project. In the post, the group accused MLK FAME of bowing to the demands of neighborhood "Karens" who complained about the groups weekly practice. I reached out to MLK FAME for a response, who did not immediately reply, but I'll update if they do. In the meantime, the project is asking everyone they know if they have any ideas where they can house their steel pan band. Their email address is steelpanproject@gmail.com. Here's a little taste of what they do: Ok. Moving on. Let's talk about the presidential election: Let's be real, no one knows how this election will shake out. The polls are insanely tight in swing states. Dixville Notch, a tiny New Hampshire town that votes at midnight every year on Election Day, tallied up their six votes which resulted in a tie, with three votes for Vice President Kamala Harris, and three for former President Donald Trump. There is a very good chance we don't know the election result tonight, and maybe not for a couple days. Battleground states prepare for certification fight: Given the resistance to certifying the vote in swing states in the last election cycle, many officials have already started to prepare to quash attempts by county officials to squabble over valid election results, according to Politico. Election officials fear if Trump loses, he won't just fade quietly into the night, and instead will mount another attempt to overturn election results. Meanwhile, the two parties also are wrestling for control of congress. New York stands out as a battleground state for the House, as the congressional seats they lost in 2022 helped Republicans take the chamber back, according to Politico. Meanwhile in Texas, Democrats continue to try to take Senator Ted Cruz's seat, and while Cruz continues to lead, Representative Colin Allred is within spitting distance of him. But, it's wholly unpredictable who will control what in 2025. But for some good news: One of my top five favorite creatures in the world continues to beat the odds. A cloned black-footed ferret mother in Virginia gave birth to two little baby ferrets in June, according to the Washington Post. Unclear why we're only hearing about it now. We should have rang the bells. If you don't know much about black-footed ferrets, you're really missing out. These little bandits scurry across our prairie lands, and has supposedly gone extinct twice, but they're resilient AF. Now with the cloning and the babies, we could continue to see this species soldier on. Ugh I love them so much, I've been obsessed with them ever since I lived in Montana. And I'm not a ferret girl, it's just they're little markings make them look like they have a tiny black Zorro mask across their smol faces. Here is a video of them being adorable: I'm so excited about this cloning thing: Instead of a musical recommendation, another video about black footed ferrets. Full Article Slog AM Slog AM/PM
strike NEWS BRIEFS: Spokane workshops offer to help strike racist property records By www.inlander.com Published On :: Thu, 24 Oct 2024 01:30:00 -0700 Plus, the city shines a light on high crime areas; and Idaho issues another death warrant to a man whose execution failed Researchers with Eastern Washington University's Racial Covenants Project have released a detailed map of Spokane area properties that have racially restrictive covenants on their deed or title… Full Article Local News
strike Federal Judge Strikes Down Georgia Abortion Restrictions By www.gpbnews.org Published On :: Mon, 13 Jul 2020 19:31:40 +0000 A federal judge is permanently blocking Georgia’s 2019 “heartbeat" abortion law, finding that it violates the U.S. Constitution. U.S. District Judge Steve Jones ruled against the state Monday in a lawsuit filed by abortion providers and an advocacy group. Full Article
strike spaceships on strike By projects.metafilter.com Published On :: Mon, 14 Oct 2024 16:36:56 GMT North Continent Ribbon is a collection of linked short stories including an assassin with a crystal sword, a judge whose best friend is a book, and spaceships on strike. I wrote about the way the worldbuilding intertwines with eighteenth-century crime records for Mary Robinette Kowal's column My Favorite Bit, and the first story, Closer Than Your Kidneys, is available for free at Frivolous Comma.You can find North Continent Ribbon at Neon Hemlock Press as a paperback or ebook, buy it from your favorite bookstore, or request it from your library.[Link Full Article
strike Strike Force Raptor makes more firearm arrests By www.dailytelegraph.com.au Published On :: Wed, 29 Jun 2016 05:57:00 GMT AN ASSOCIATE of the Rebels Outlaw Motorcycle Gang and his girlfriend have been charged with firearms offences. Full Article
strike New bowling alleys, with martinis and bao buns, strike Aurora and Denver By www.denverpost.com Published On :: Tue, 22 Oct 2024 16:47:30 +0000 Front Range residents looking to strike big will soon have two new bowling alleys where they can knock down pins and knock back espresso martinis. Full Article Business Colorado News Entertainment Latest Headlines News Parenting and Family Retail The Know Things To Do arcade bars bowling Denver food
strike The Hollywood strikes are over. Here’s when you could see your favorite stars and shows return By www.denverpost.com Published On :: Thu, 09 Nov 2023 14:27:13 +0000 Missed your favorite actors? After nearly four months of striking, they’re coming back. Wednesday’s deal between striking actors and studios and streaming services won’t immediately restore filming to its full swing. That will take months. But the tentative agreement that both sides say include extraordinary provisions means that more than six months of labor strife in the film and television industries is drawing to a close. Soon, tens of thousands of entertainment sector workers could get back to work. And popular franchises like “Deadpool,” “Abbott Elementary” and “The Last of Us” will be a step closer to returning to screens. Full Article Entertainment Latest Headlines Movies National News News Things To Do TV Streaming artificial intelligence Emmy Awards Golden Globe Awards Kevin Costner Los Angeles Marvel negotiating Netflix strike television The Oscars video games
strike Crew Evacuated After Yacht Strikes Whale By bernews.com Published On :: Sat, 19 May 2012 18:49:18 +0000 [Updated] A yacht sailing from Bermuda was abandoned yesterday [May 18], and the crew were evacuated after striking a whale and sustaining damage to the hull. Skipper Joost Gehrels, doubted that the boat — called Outer Limits — could safety return to Bermuda and issued a MayDay to request immediate assistance. Bermuda Radio contacted vessels […] Full Article All News #ARCEurope #BermudaSailing #Offbeat #WhalesInBermuda
strike Stevenson: Boat Strikes Threatening Humpbacks By bernews.com Published On :: Tue, 07 Apr 2015 11:10:36 +0000 Photographs recently captured in the Challenger Banks area offer a stark reminder of the perils that whales can face in the ocean, with the whale spotted harbouring a slash across its back that whale researcher Andrew Stevenson said appears to have been caused by the prop of a small boat, lopping off its dorsal fin. Mr Stevenson […] Full Article All Environment News #Animal #HumpbackWhales #InjuredAnimals #WhalesInBermuda
strike Lightning Strikes Roof Of Southampton Church By bernews.com Published On :: Sun, 25 May 2014 17:23:43 +0000 Last night’s lightning storm appears to have damaged the Seventh-Day Adventist Church in Southampton, with the Church’s roof sustaining damage overnight. The Bermuda Fire & Rescue Service are presently on scene assessing the situation. Dr. Sydney Gibbons, the Church’s Pastor, confirmed that is no internal damage to the church and added that they are looking […] Full Article Accidents and fires All News #FaithAndReligion #Lightning #May2014LightningStorm #Offbeat #Weather
strike NSW nurses strike heaps wage pressure on Minns government - The Australian Financial Review By news.google.com Published On :: Tue, 12 Nov 2024 08:16:00 GMT NSW nurses strike heaps wage pressure on Minns government The Australian Financial ReviewHundreds of elective surgeries cancelled as 10,000 nurses and midwives walk off job in NSW ABC NewsNurses took to the streets after ‘insulting’ pay offer. Next stop, court Sydney Morning HeraldAlmost 700 surgeries cancelled as 12,000 NSW nurses strike for better pay 9News Full Article
strike TurtleWare: Dynamic Vars - The Empire Strikes Back By turtleware.eu Published On :: Mon, 28 Oct 2024 00:00:00 GMT Table of Contents Thread Local storage exhausted The layer of indirection I can fix her Let's write some tests! Summary Thread Local storage exhausted In the last post I've described a technique to use dynamic variables by value instead of the name by utilizing the operator PROGV. Apparently it works fine on all Common Lisp implementations I've tried except from SBCL, where the number of thread local variables is by default limited to something below 4000. To add salt to the injury, these variables are not garbage collected. Try the following code to crash into LDB: (defun foo () (loop for i from 0 below 4096 do (when (zerop (mod i 100)) (print i)) (progv (list (gensym)) (list 42) (values)))) (foo) This renders our new technique not very practical given SBCL popularity. We need to either abandon the idea or come up with a workaround. The layer of indirection Luckily for us we've already introduced a layer of indirection. Operators to access dynamic variables are called DLET, DSET and DREF. This means, that it is enough to provide a kludge implementation for SBCL with minimal changes to the remaining code. The old code works the same as previously except that instead of SYMBOL-VALUE we use the accessor DYNAMIC-VARIABLE-VALUE, and the old call to PROGV is now DYNAMIC-VARIABLE-PROGV. Moreover DYNAMIC-EFFECTIVE-SLOT used functions BOUNDP and MAKUNBOUND, so we replace these with DYNAMIC-VARIABLE-BOUND-P and DYNAMIC-VARIABLE-MAKUNBOUND. To abstract away things further we also introduce the constructor MAKE-DYNAMIC-VARIABLE (defpackage "EU.TURTLEWARE.BLOG/DLET" (:local-nicknames ("MOP" #+closer-mop "C2MOP" #+(and (not closer-mop) ecl) "MOP" #+(and (not closer-mop) ccl) "CCL" #+(and (not closer-mop) sbcl) "SB-MOP")) (:use "CL")) (in-package "EU.TURTLEWARE.BLOG/DLET") (eval-when (:compile-toplevel :execute :load-toplevel) (unless (member :bordeaux-threads *features*) (error "Please load BORDEAUX-THREADS.")) (when (member :sbcl *features*) (unless (member :fake-progv-kludge *features*) (format t "~&;; Using FAKE-PROGV-KLUDGE for SBCL.~%") (push :fake-progv-kludge *features*)))) (defmacro dlet (bindings &body body) (flet ((pred (binding) (and (listp binding) (= 2 (length binding))))) (unless (every #'pred bindings) (error "DLET: bindings must be lists of two values.~%~ Invalid bindings:~%~{ ~s~%~}" (remove-if #'pred bindings)))) (loop for (var val) in bindings collect var into vars collect val into vals finally (return `(dynamic-variable-progv (list ,@vars) (list ,@vals) ,@body)))) (defmacro dset (&rest pairs) `(setf ,@(loop for (var val) on pairs by #'cddr collect `(dref ,var) collect val))) (defmacro dref (variable) `(dynamic-variable-value ,variable)) ;;; ... (defmethod mop:slot-boundp-using-class ((class standard-class) object (slotd dynamic-effective-slot)) (dynamic-variable-bound-p (slot-dvar object slotd))) (defmethod mop:slot-makunbound-using-class ((class standard-class) object (slotd dynamic-effective-slot)) (dynamic-variable-makunbound (slot-dvar object slotd))) With these in place we can change the portable implementation to conform. #-fake-progv-kludge (progn (defun make-dynamic-variable () (gensym)) (defun dynamic-variable-value (variable) (symbol-value variable)) (defun (setf dynamic-variable-value) (value variable) (setf (symbol-value variable) value)) (defun dynamic-variable-bound-p (variable) (boundp variable)) (defun dynamic-variable-makunbound (variable) (makunbound variable)) (defmacro dynamic-variable-progv (vars vals &body body) `(progv ,vars ,vals ,@body))) I can fix her The implementation for SBCL will mediate access to the dynamic variable value with a synchronized hash table with weak keys. The current process is the key of the hash table and the list of bindings is the value of the hash table. For compatibility between implementations the top level value of the symbol will be shared. The variable +FAKE-UNBOUND+ is the marker that signifies, that the variable has no value. When the list of bindings is EQ to +CELL-UNBOUND+, then it means that we should use the global value. We add new bindings by pushing to it. #+fake-progv-kludge (progn (defvar +fake-unbound+ 'unbound) (defvar +cell-unbound+ '(no-binding)) (defclass dynamic-variable () ((tls-table :initform (make-hash-table :synchronized t :weakness :key) :reader dynamic-variable-tls-table) (top-value :initform +fake-unbound+ :accessor dynamic-variable-top-value))) (defun make-dynamic-variable () (make-instance 'dynamic-variable)) (defun dynamic-variable-bindings (dvar) (let ((process (bt:current-thread)) (tls-table (dynamic-variable-tls-table dvar))) (gethash process tls-table +cell-unbound+))) (defun (setf dynamic-variable-bindings) (value dvar) (let ((process (bt:current-thread)) (tls-table (dynamic-variable-tls-table dvar))) (setf (gethash process tls-table +cell-unbound+) value)))) We define two readers for the variable value - one that simply reads the value, and the other that signals an error if the variable is unbound. Writer for its value either replaces the current binding, or if the value cell is unbound, then we modify the top-level symbol value. We use the value +FAKE-UNBOUND+ to check whether the variable is bound and to make it unbound. #+fake-progv-kludge (progn (defun %dynamic-variable-value (dvar) (let ((tls-binds (dynamic-variable-bindings dvar))) (if (eq tls-binds +cell-unbound+) (dynamic-variable-top-value dvar) (car tls-binds)))) (defun dynamic-variable-value (dvar) (let ((tls-value (%dynamic-variable-value dvar))) (when (eq tls-value +fake-unbound+) (error 'unbound-variable :name "(unnamed)")) tls-value)) (defun (setf dynamic-variable-value) (value dvar) (let ((tls-binds (dynamic-variable-bindings dvar))) (if (eq tls-binds +cell-unbound+) (setf (dynamic-variable-top-value dvar) value) (setf (car tls-binds) value)))) (defun dynamic-variable-bound-p (dvar) (not (eq +fake-unbound+ (%dynamic-variable-value dvar)))) (defun dynamic-variable-makunbound (dvar) (setf (dynamic-variable-value dvar) +fake-unbound+))) Finally we define the operator to dynamically bind variables that behaves similar to PROGV. Note that we PUSH and POP from the thread-local hash table DYNAMIC-VARIABLE-BINDINGS, so no synchronization is necessary. #+fake-progv-kludge (defmacro dynamic-variable-progv (vars vals &body body) (let ((svars (gensym)) (svals (gensym)) (var (gensym)) (val (gensym))) `(let ((,svars ,vars)) (loop for ,svals = ,vals then (rest ,svals) for ,var in ,svars for ,val = (if ,svals (car ,svals) +fake-unbound+) do (push ,val (dynamic-variable-bindings ,var))) (unwind-protect (progn ,@body) (loop for ,var in ,svars do (pop (dynamic-variable-bindings ,var))))))) Let's write some tests! But of course, we are going to also write a test framework. It's short, I promise. As a bonus point the API is compatibile with fiveam, so it is possible to drop tests as is in the appropriate test suite. (defvar *all-tests* '()) (defun run-tests () (dolist (test (reverse *all-tests*)) (format *debug-io* "Test ~a... " test) (handler-case (funcall test) (serious-condition (c) (format *debug-io* "Failed: ~a~%" c)) (:no-error (&rest args) (declare (ignore args)) (format *debug-io* "Passed.~%"))))) (defmacro test (name &body body) `(progn (pushnew ',name *all-tests*) (defun ,name () ,@body))) (defmacro is (form) `(assert ,form)) (defmacro pass ()) (defmacro signals (condition form) `(is (block nil (handler-case ,form (,condition () (return t))) nil))) (defmacro finishes (form) `(is (handler-case ,form (serious-condition (c) (declare (ignore c)) nil) (:no-error (&rest args) (declare (ignore args)) t)))) Now let's get to tests. First we'll test our metaclass: (defclass dynamic-let.test-class () ((slot1 :initarg :slot1 :dynamic nil :accessor slot1) (slot2 :initarg :slot2 :dynamic t :accessor slot2) (slot3 :initarg :slot3 :accessor slot3)) (:metaclass class-with-dynamic-slots)) (defparameter *dynamic-let.test-instance-1* (make-instance 'dynamic-let.test-class :slot1 :a :slot2 :b :slot3 :c)) (defparameter *dynamic-let.test-instance-2* (make-instance 'dynamic-let.test-class :slot1 :x :slot2 :y :slot3 :z)) (test dynamic-let.1 (let ((o1 *dynamic-let.test-instance-1*) (o2 *dynamic-let.test-instance-2*)) (with-slots (slot1 slot2 slot3) o1 (is (eq :a slot1)) (is (eq :b slot2)) (is (eq :c slot3))) (with-slots (slot1 slot2 slot3) o2 (is (eq :x slot1)) (is (eq :y slot2)) (is (eq :z slot3))))) (test dynamic-let.2 (let ((o1 *dynamic-let.test-instance-1*) (o2 *dynamic-let.test-instance-2*)) (signals error (slot-dlet (((o1 'slot1) 1)) nil)) (slot-dlet (((o1 'slot2) :k)) (is (eq :k (slot-value o1 'slot2))) (is (eq :y (slot-value o2 'slot2)))))) (test dynamic-let.3 (let ((o1 *dynamic-let.test-instance-1*) (exit nil) (fail nil)) (flet ((make-runner (values) (lambda () (slot-dlet (((o1 'slot2) :start)) (let ((value (slot2 o1))) (unless (eq value :start) (setf fail value))) (loop until (eq exit t) do (setf (slot2 o1) (elt values (random (length values)))) (let ((value (slot2 o1))) (unless (member value values) (setf fail value) (setf exit t)))))))) (let ((r1 (bt:make-thread (make-runner '(:k1 :k2)))) (r2 (bt:make-thread (make-runner '(:k3 :k4)))) (r3 (bt:make-thread (make-runner '(:k5 :k6))))) (sleep .1) (setf exit t) (map nil #'bt:join-thread (list r1 r2 r3)) (is (eq (slot2 o1) :b)) (is (null fail)))))) Then let's test the dynamic variable itself: (test dynamic-let.4 "Test basic dvar operators." (let ((dvar (make-dynamic-variable))) (is (eql 42 (dset dvar 42))) (is (eql 42 (dref dvar))) (ignore-errors (dlet ((dvar :x)) (is (eql :x (dref dvar))) (error "foo"))) (is (eql 42 (dref dvar))))) (test dynamic-let.5 "Test bound-p operator." (let ((dvar (make-dynamic-variable))) (is (not (dynamic-variable-bound-p dvar))) (dset dvar 15) (is (dynamic-variable-bound-p dvar)) (dynamic-variable-makunbound dvar) (is (not (dynamic-variable-bound-p dvar))))) (test dynamic-let.6 "Test makunbound operator." (let ((dvar (make-dynamic-variable))) (dset dvar t) (is (dynamic-variable-bound-p dvar)) (finishes (dynamic-variable-makunbound dvar)) (is (not (dynamic-variable-bound-p dvar))))) (test dynamic-let.7 "Test locally bound-p operator." (let ((dvar (make-dynamic-variable))) (is (not (dynamic-variable-bound-p dvar))) (dlet ((dvar 15)) (is (dynamic-variable-bound-p dvar))) (is (not (dynamic-variable-bound-p dvar))))) (test dynamic-let.8 "Test locally unbound-p operator." (let ((dvar (make-dynamic-variable))) (dset dvar t) (is (dynamic-variable-bound-p dvar)) (dlet ((dvar nil)) (is (dynamic-variable-bound-p dvar)) (finishes (dynamic-variable-makunbound dvar)) (is (not (dynamic-variable-bound-p dvar)))) (is (dynamic-variable-bound-p dvar)))) (test dynamic-let.9 "Stress test the implementation (see :FAKE-PROGV-KLUDGE)." (finishes ; at the same time (let ((dvars (loop repeat 4096 collect (make-dynamic-variable)))) ;; ensure tls variable (loop for v in dvars do (dlet ((v 1)))) (loop for i from 0 below 4096 for r = (random 4096) for v1 in dvars for v2 = (elt dvars r) do (when (zerop (mod i 64)) (pass)) (dlet ((v1 42) (v2 43)) (values)))))) (test dynamic-let.0 "Stress test the implementation (see :FAKE-PROGV-KLUDGE)." (finishes ; can be gc-ed (loop for i from 0 below 4096 do (when (zerop (mod i 64)) (pass)) (dlet (((make-dynamic-variable) 42)) (values))))) All that is left is to test both dynamic variable implementations: BLOG/DLET> (lisp-implementation-type) "ECL" BLOG/DLET> (run-tests) Test DYNAMIC-LET.1... Passed. Test DYNAMIC-LET.2... Passed. Test DYNAMIC-LET.3... Passed. Test DYNAMIC-LET.4... Passed. Test DYNAMIC-LET.5... Passed. Test DYNAMIC-LET.6... Passed. Test DYNAMIC-LET.7... Passed. Test DYNAMIC-LET.8... Passed. Test DYNAMIC-LET.9... Passed. Test DYNAMIC-LET.0... Passed. NIL And with the kludge: BLOG/DLET> (lisp-implementation-type) "SBCL" BLOG/DLET> (run-tests) Test DYNAMIC-LET.1... Passed. Test DYNAMIC-LET.2... Passed. Test DYNAMIC-LET.3... Passed. Test DYNAMIC-LET.4... Passed. Test DYNAMIC-LET.5... Passed. Test DYNAMIC-LET.6... Passed. Test DYNAMIC-LET.7... Passed. Test DYNAMIC-LET.8... Passed. Test DYNAMIC-LET.9... Passed. Test DYNAMIC-LET.0... Passed. NIL Summary In this post we've made our implementation to work on SBCL even when there are more than a few thousand dynamic variables. We've also added a simple test suite that checks the basic behavior. As it often happens, after achieving some goal we get greedy and achieve more. That's the case here as well. In the next (and the last) post in this series I'll explore the idea of adding truly thread-local variables without a shared global value. This will be useful for lazily creating context on threads that are outside of our control. We'll also generalize the implementation so it is possible to subclass and implement ones own flavor of a dynamic variable. Full Article
strike Troll Dad Strikes When You Least Expect Him By cheezburger.com Published On :: Thu, 09 Aug 2012 04:00:00 -0700 Full Article g rated presents ps2 ps3 there I fixed it
strike Israeli forces strike Oct. 7 attacker's cell in Gaza By biztoc.com Published On :: Wed, 13 Nov 2024 07:32:28 GMT The Israeli Defense Forces (IDF) said on Wednesday that it eliminated a militant cell member, Yasser Ghandi, in Gaza's Shejaiya area who allegedly participated in the October 7 attack in Israel that l... Full Article
strike 8 killed in Israeli airstrike in Lebanon By biztoc.com Published On :: Wed, 13 Nov 2024 07:42:41 GMT An airstrike by Israeli forces in southern Lebanon has led to the death of eight individuals, according to reports from the Lebanese state news agency NNA. "The National News Agency corresponden... Full Article
strike The junior doctors' strikes may be over. But is trouble ahead? By www.bbc.com Published On :: Fri, 02 Aug 2024 00:43:02 GMT The end of the pay dispute sounded too good to be true. And now some are wondering if it might be. Full Article
strike Israeli strikes on north Lebanon and Gaza kill dozens, officials and rescuers say By www.bbc.com Published On :: Sun, 10 Nov 2024 21:18:07 GMT At least 20 children are among the dead in attacks north of Beirut and in northern Gaza, officials rescuers and medics say. Full Article
strike Houthis attack US warships after US strikes in Yemen By www.bbc.com Published On :: Tue, 12 Nov 2024 22:18:53 GMT The navy destroyers were unharmed and repelled the attack, the Pentagon said. Full Article
strike Israeli strikes in Mount Lebanon villages kill 23, ministry says By www.bbc.com Published On :: Tue, 12 Nov 2024 22:52:51 GMT The strikes reportedly destroyed residential buildings where displaced families were living. Full Article
strike News24 | US strikes targets to 'degrade the Iranian-backed groups' ability' in Syria By www.news24.com Published On :: Tuesday Nov 12 2024 09:00:22 The US military has carried out strikes against targets in Syria in what the United States Central Command (CENTCOM) said was a response to recent attacks on US forces by "Iranian-aligned targets" in the country. Full Article
strike News24 | Russian strike on Ukraine kills mother, newborn baby and two more children - minister By www.news24.com Published On :: Tuesday Nov 12 2024 10:57:49 Ukraine has said that the toll from a Russian strike on the hometown of President Volodymyr Zelensky had risen to four people, identifying the dead as a mother and her three children, including a newborn. Full Article
strike Toilet paper buying panic recommences as dockworkers strike By boingboing.net Published On :: Wed, 02 Oct 2024 14:54:07 +0000 We are doing what we do best when something threatens the consumer supply chain: rushing to buy mountains of toilet paper. Experts say the dockworkers' strike won't result in shortages, but the panic-buying might so long as the panic-buying lasts. "They cleaned out the toilet paper at my local Walmart in Virginia. — Read the rest The post Toilet paper buying panic recommences as dockworkers strike appeared first on Boing Boing. Full Article Post consumers mistakes panic strikes toilet paper
strike Undercurrents: Episode 9 - Digital Subversion in Cyberspace, and Oleg Sentsov's Hunger Strike By f1.media.brightcove.com Published On :: Fri, 01 Jun 2018 00:00:00 +0100 Full Article
strike Trump’s Strikes Risk Upending Iraqi Politics By www.chathamhouse.org Published On :: Fri, 06 Mar 2020 16:26:01 +0000 Source Foreign Affairs URL https://www.foreignaffairs.com/articles/iran/2020-01-27/trumps-strikes-risk-upen... Release date 27 March 2020 Expert Dr Renad Mansour In the news type Op-ed Hide date on homepage Full Article
strike Boeing machinists agree to new contract, ending weeks-long strike By www.upi.com Published On :: Mon, 04 Nov 2024 10:28:03 -0500 Tens of thousands of striking Boeing machinists voted Monday to ratify a new contract, ending their seven-week work stoppage. Full Article
strike Ukraine blasts Russia with massive overnight drone strike By www.upi.com Published On :: Sun, 10 Nov 2024 14:20:38 -0500 Ukraine launched a massive drone attack on Moscow overnight, the largest on the Russian capital since the Russian invasion more than two years ago, forcing three airports to divert traffic and causing casualties. Full Article
strike Strong earthquakes strike Cuba, causing damage and landslides By www.upi.com Published On :: Mon, 11 Nov 2024 00:40:57 -0500 A pair of strong earthquakes has struck off the southern coast of Cuba, inflicting damage and causing landslides. Full Article
strike At least 56 people, including 20 children, killed in Israeli airstrikes in Lebanon and Gaza By www.upi.com Published On :: Mon, 11 Nov 2024 12:20:12 -0500 Dozens of people were killed in Israeli military strikes on northern Lebanon and the Gaza strip, including as many as 20 children, authorities said. Full Article
strike CENTCOM strikes Iran-backed militia targets in Syria after rockets launched at U.S. forces By www.upi.com Published On :: Wed, 13 Nov 2024 01:46:51 -0500 The U.S. military conducted retaliatory airstrikes Tuesday in Syria, targeting facilities of Iran-backed militias following rockets launched at U.S. forces in the Middle Eastern country. Full Article
strike Montana Supreme Court Strikes Down Tax-Credit Program for Private Schools By www.edweek.org Published On :: Tue, 15 Jan 2019 00:00:00 +0000 Montana's highest court has struck down a tuition tax-credit program which, as enacted by that state's legislature, allowed tuition scholarships to benefit students at private religious schools as well as secular schools. Full Article Montana