#require your_friendly_local_library
#require your_friendly_local_library
Imagine telling 2010 devs that in 2025, collapsing a div would require $8/ month
https://old.reddit.com/r/webdev/comments/1jged6g/imagine_telling_2010_devs_that_in_2025_collapsing/
#HackerNews #Imagine #telling #2010 #devs #that #in #2025 #collapsing #a #div #would #require #$8/ #month
webdev #futuretech #developerhumor #codinglife #webdevelopment
How To Hide WooCommerce Products Prices For Log Out Users? Require Login To View Pricing https://www.youtube.com/watch?v=jxjIfUmQeSQ #WooCommerce #Hide #Pricing #Require #Login #Guide
Key differences between #require and #expect in Swift Testing:
Prefix require with try
Require failures end the test immediately
Require unwraps optional values
https://fatbobman.com/en/snippet/swift-testing-differences-between-expect-and-require/
#Ohio #Governor signs #Mandatory #Religious #ReleaseTime #Policy #Bill Into #Law. Bill also #require #educators to #out a #students’ #sexuality to their #parents.
The #law will take effect 90 days after #Republican #Governor #MikeDeWine signed the bill.
In case you've missed last week's Swift testing post...
This time, we looked at the #require macro and how we can use it to unwrap optionals, verify boolean conditions, and check whether our functions throw the right error.
Learn more here: https://www.donnywals.com/testing-requirements-with-require-in-swift-testing/
I've just published a new post in my Swift Testing series. This time, we take a look at the #require macro and how we can use it to unwrap optionals, verify boolean conditions, and check whether our functions throw the right error.
Learn more here: https://www.donnywals.com/testing-requirements-with-require-in-swift-testing/
The number of pedestrian deaths in the United States is skyrocketing.
In 2022 traffic crashes killed 7,805 people on foot
—that’s an 83 percent rise from 2009, and a 40-year high.
The vast majority of those deaths involved a car colliding into a human.
In September, the National Highway Traffic Safety Administration took a significant step toward addressing the crisis of killer cars,
proposing a new federal rule that would #require—not ask—carmakers to ensure that the front ends of their vehicles do not create excessive risk of pedestrian head injuries.
Should the proposal become law, hulking SUVs and pickups would face particular challenges passing NHTSA’s mandatory tests -- Some cars would have to get a little bit smaller.
This wouldn’t solve car bloat;
the head is just one part of the body that can become damaged by a vehicle.
But is a watershed moment for the NHTSA, ️the first time the agency has demanded that automakers adjust the physical shape of their vehicles to mitigate danger to those on foot.
Currently, the NHTSA is soliciting comment, with the general public and automakers able to weigh in and help determine whether the rule ultimately goes on the books or gets watered down.
The country stands at an important juncture, where it could finally start fixing the deadly problem of large cars—or allow them to continue their expansion.
#AtWill #Employment Must #End. Our #CivilRights Depend on It. At-will employment allows #discrimination to run rampant in the #workplace.
#NewYorkCity can become the first major #US #city to #require #employers to give #workers #advancenotice of #termination and a #written #justification for why they are being #fired.
#Women #Transgender #LGBTQ #LGBTQIA #NewYork #NewYorkCity #Business #Workplace #Hate #Bigotry #Discrimination
https://www.thenation.com/article/politics/at-will-employment-new-york-city/
Hey everyone, I've got a new video for you!
Discover the power of the #require macro in the Swift Testing Framework!
Catch unexpected nil values (and expected error ) in your tests
Watch now: https://youtu.be/TtKFhJReN5A
#RockHill jumps into the #bathroom and #gender #CultureWars.
#Schoolboard #VP #PeterNosal #endorses #discriminatory #bill that would #require #transgender #students to use #bathrooms and #changingrooms based on their #biological #sex.
#Women #Transgender #LGBTQ #LGBTQIA #SouthCarolina #Education #Conservatives #Extremism #Fascism #Religion #Hategroups #RepublicanParty #Hate #Bigotry #Violence #Genocide #Discrimination #Transphobia #ThePartyOfHate #EmptyThePews
https://qnotescarolinas.com/rock-hill-jumps-into-the-bathroom-and-gender-debate/
#Trans #students’ #safety in question after proposed #SouthCarolina #budget #provision #revealed.
The #provision would #require #students to use the #bathroom of their #SexAssignedAtBirth.
#Women #Transgender #LGBTQ #LGBTQIA #SouthCarolina #Conservatives #Extremism #Fascism #RepublicanParty #Hate #Bigotry #Violence #Genocide #Discrimination #Transphobia #ThePartyOfHate
> The recent update in Node.js introduces an experimental feature that allows require() to synchronously load ESM graphs that do not contain top-level await. This feature is significant because it allows developers to use require() with ESM.
https://zacharylee.substack.com/p/native-support-for-cjsesm-interoperability
#Kansas #judge #claims #barring #driver’s #license #changes doesn’t #violate #trans people’s #rights
#DistrictJudge #TeresaWatson said invoking the right to #bodilyautonomy to #require the #state to #change #driverslicenses would be “an #unreasonable stretch."
#Women #Transgender #LGBTQ #LGBTQIA #Kansas #Conservatives #Extremism #Fascism #RepublicanParty #Hate #Bigotry #Violence #Genocide #Discrimination #Transphobia #ThePartyOfHate
When it came time to contemplate marriage, Princess Ricardis placed an announcement in the papers.
"I #require that all suiters wear their hair in an odd number of braids. Additionally, they must wear robes of iridescent feathers--but no birds are to be harmed in the making of said robes. When visiting, suitors must always bring sardine treats for my cat, pig ears for my dog, and apples for my pony..."
The requirements were many. Ricardis had strong likes and dislikes. #wss366, #microfiction
Kevin crawled out of the access tube, his face covered with coolant and grease. "The quantum interface recrystallization engine is totally burnt!"
"Damn this junk heap!" the captain kicked a bulkhead in frustration. "QuIRE units have been obsolete for centuries. How are we going to re-QUIRE the Kittycat Go Boom?"
"Cap! There's a derelict shipyard around that red dwarf!"
"God help us if there isn't one there or we'll be joining their 'fleet'. Fire those engines!"
#wss366 #require
Today's Wandering Shop Stories word is #require. Feel like writing something short and sweet that has the word "require" in it? Check out the definitions of the word at: https://www.merriam-webster.com/dictionary/require Join in and tag it with #wss366! #writing #WritingLife #microfiction h/t @asakiyume
https://www.evshift.com/267550/state-might-require-all-e-bikes-to-be-registered-and-insured/ State Might Require All E-Bikes to Be Registered and Insured #Ebikes #ElectricBikes #ElectricMotorcycles #ElectricVehicles #EV #http://www.lehtoslaw.com #INSURED #LemonLaw #LemonLawAttorney #LemonLawLawyer #MichiganLemonLaw #motorcycles #Registered #Require #State #SteveLehto
@postmodern It depends very much on the size of your $LOAD_PATH.
This (w/ foo.rb being just an empty file):
$: << "."
#require 'foo'
require_relative './foo'
Uses 6 syscalls to identify the correct files (which is already more than necessary - it repeats a couple of calls for some reason)
With the require instead of the require_relative, it takes 8 more because of my chruby setup
EDIT: I need to test when Rubygems does; it doesn't for default gems, but may still for others