mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#require

0 Beiträge0 Beteiligte0 Beiträge heute
Hacker News<p>Imagine telling 2010 devs that in 2025, collapsing a div would require $8/ month</p><p><a href="https://old.reddit.com/r/webdev/comments/1jged6g/imagine_telling_2010_devs_that_in_2025_collapsing/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">old.reddit.com/r/webdev/commen</span><span class="invisible">ts/1jged6g/imagine_telling_2010_devs_that_in_2025_collapsing/</span></a></p><p><a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/Imagine" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Imagine</span></a> <a href="https://mastodon.social/tags/telling" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>telling</span></a> #2010 <a href="https://mastodon.social/tags/devs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>devs</span></a> <a href="https://mastodon.social/tags/that" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>that</span></a> <a href="https://mastodon.social/tags/in" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>in</span></a> #2025 <a href="https://mastodon.social/tags/collapsing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>collapsing</span></a> <a href="https://mastodon.social/tags/a" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>a</span></a> <a href="https://mastodon.social/tags/div" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>div</span></a> <a href="https://mastodon.social/tags/would" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>would</span></a> <a href="https://mastodon.social/tags/require" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>require</span></a> #$8/ <a href="https://mastodon.social/tags/month" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>month</span></a></p><p>webdev <a href="https://mastodon.social/tags/futuretech" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>futuretech</span></a> <a href="https://mastodon.social/tags/developerhumor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>developerhumor</span></a> <a href="https://mastodon.social/tags/codinglife" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codinglife</span></a> <a href="https://mastodon.social/tags/webdevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdevelopment</span></a></p>
fatbobman(东坡肘子)<p>Key differences between <a href="https://mastodon.social/tags/require" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>require</span></a> and <a href="https://mastodon.social/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a> in Swift Testing:</p><p>🍏 Prefix require with try<br>⚠️ Require failures end the test immediately<br>🔑 Require unwraps optional values</p><p><a href="https://fatbobman.com/en/snippet/swift-testing-differences-between-expect-and-require/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">fatbobman.com/en/snippet/swift</span><span class="invisible">-testing-differences-between-expect-and-require/</span></a></p>
Susan Larson ♀️🏳️‍🌈🏳️‍⚧️🌈<p><a href="https://mastodon.online/tags/Ohio" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ohio</span></a> <a href="https://mastodon.online/tags/Governor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Governor</span></a> signs <a href="https://mastodon.online/tags/Mandatory" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Mandatory</span></a> <a href="https://mastodon.online/tags/Religious" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Religious</span></a> <a href="https://mastodon.online/tags/ReleaseTime" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ReleaseTime</span></a> <a href="https://mastodon.online/tags/Policy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Policy</span></a> <a href="https://mastodon.online/tags/Bill" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bill</span></a> Into <a href="https://mastodon.online/tags/Law" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Law</span></a>. Bill also <a href="https://mastodon.online/tags/require" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>require</span></a> <a href="https://mastodon.online/tags/educators" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>educators</span></a> to <a href="https://mastodon.online/tags/out" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>out</span></a> a <a href="https://mastodon.online/tags/students" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>students</span></a>’ <a href="https://mastodon.online/tags/sexuality" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sexuality</span></a> to their <a href="https://mastodon.online/tags/parents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>parents</span></a>.</p><p>The <a href="https://mastodon.online/tags/law" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>law</span></a> will take effect 90 days after <a href="https://mastodon.online/tags/Republican" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Republican</span></a> <a href="https://mastodon.online/tags/Governor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Governor</span></a> <a href="https://mastodon.online/tags/MikeDeWine" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MikeDeWine</span></a> signed the bill. </p><p><a href="https://www.the74million.org/article/ohio-gov-mike-dewine-signs-forced-outing-mandated-religious-release-time-policy-bill-into-law/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">the74million.org/article/ohio-</span><span class="invisible">gov-mike-dewine-signs-forced-outing-mandated-religious-release-time-policy-bill-into-law/</span></a></p>
Donny Wals<p>In case you've missed last week's Swift testing post... </p><p>This time, we looked at the <a href="https://chaos.social/tags/require" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>require</span></a> macro and how we can use it to unwrap optionals, verify boolean conditions, and check whether our functions throw the right error.<br>Learn more here: <a href="https://www.donnywals.com/testing-requirements-with-require-in-swift-testing/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">donnywals.com/testing-requirem</span><span class="invisible">ents-with-require-in-swift-testing/</span></a></p>
Donny Wals<p>I've just published a new post in my Swift Testing series. This time, we take a look at the <a href="https://chaos.social/tags/require" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>require</span></a> macro and how we can use it to unwrap optionals, verify boolean conditions, and check whether our functions throw the right error.</p><p>Learn more here: <a href="https://www.donnywals.com/testing-requirements-with-require-in-swift-testing/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">donnywals.com/testing-requirem</span><span class="invisible">ents-with-require-in-swift-testing/</span></a></p>
Chuck Darwin<p>The number of pedestrian deaths in the United States is skyrocketing. <br>In 2022 traffic crashes killed 7,805 people on foot<br>—that’s an 83&nbsp;percent rise from 2009, and a 40-year high. </p><p>The vast majority of those deaths involved a car colliding into a human.</p><p>✅ In September, the National Highway Traffic Safety Administration took a significant step toward addressing the crisis of killer cars, <br>proposing a new federal rule that would <a href="https://c.im/tags/require" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>require</span></a>—not ask—carmakers to ensure that the front ends of their vehicles do not create excessive risk of pedestrian head injuries. <br>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.</p><p>This wouldn’t solve car bloat; <br>the head is just one part of the body that can become damaged by a vehicle. <br>But is a watershed moment for the NHTSA, <br>⭐️the first time the agency has demanded that automakers adjust the physical shape of their vehicles to mitigate danger to those on foot. </p><p>👉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. 👈<br>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.</p><p><a href="https://slate.com/business/2024/10/cars-suvs-pedestrian-deaths-traffic-safety-lidar-computer-vision.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">slate.com/business/2024/10/car</span><span class="invisible">s-suvs-pedestrian-deaths-traffic-safety-lidar-computer-vision.html</span></a></p>
Pitt (Swift && Tips)<p>Hey everyone, I've got a new video for you! 😃</p><p>Discover the power of the <a href="https://iosdev.space/tags/require" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>require</span></a> macro in the Swift Testing Framework! </p><p>Catch unexpected nil values (and expected error 😉) in your tests 🚀</p><p>Watch now: <a href="https://youtu.be/TtKFhJReN5A" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/TtKFhJReN5A</span><span class="invisible"></span></a></p>
🧿🪬🍄🌈🎮💻🚲🥓🎃💀🏴🛻🇺🇸<p>&gt; 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.</p><p><a href="https://zacharylee.substack.com/p/native-support-for-cjsesm-interoperability" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">zacharylee.substack.com/p/nati</span><span class="invisible">ve-support-for-cjsesm-interoperability</span></a></p><p><a href="https://mastodon.social/tags/javaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javaScript</span></a> <a href="https://mastodon.social/tags/esm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>esm</span></a> <a href="https://mastodon.social/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a> <a href="https://mastodon.social/tags/nodejs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nodejs</span></a> <a href="https://mastodon.social/tags/require" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>require</span></a> <a href="https://mastodon.social/tags/modules" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>modules</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/development" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>development</span></a> <a href="https://mastodon.social/tags/technology" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>technology</span></a> <a href="https://mastodon.social/tags/tech" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tech</span></a></p>
Vidar Hokstad / Galaxy Bound<p><span class="h-card"><a href="https://ruby.social/@postmodern" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>postmodern</span></a></span> It depends very much on the size of your $LOAD_PATH.</p><p>This (w/ foo.rb being just an empty file):</p><p> $: &lt;&lt; "."<br> <a href="https://m.galaxybound.com/tags/require" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>require</span></a> 'foo'<br> require_relative './foo'</p><p>Uses 6 syscalls to identify the correct files (which is already more than necessary - it repeats a couple of calls for some reason)</p><p>With the require instead of the require_relative, it takes 8 more because of my chruby setup</p><p>EDIT: I need to test when Rubygems does; it doesn't for default gems, but may still for others</p>
Elijah Manor<p>💥 My Neovim plugin list is long! How about yours?</p><p>Output a number of how many plugins…</p><p>:lua print(<a href="https://hachyderm.io/tags/require" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>require</span></a>("lazy").plugins())</p><p>Print out a list of the plugin names…</p><p>:lua for _, v in pairs(require("lazy").plugins()) do print(v[1]) end</p><p>To see the full results…</p><p>:messages</p>