- Oct 2021
-
guides.rubyonrails.org guides.rubyonrails.org
-
it does not belong to the autoload paths by default but it belongs to $LOAD_PATH
-
For historical reasons, this callback may run twice. The code it executes must be idempotent.
-
Applications can safely autoload constants during boot using a reloader callback: Rails.application.reloader.to_prepare do $PAYMENT_GATEWAY = Rails.env.production? ? RealGateway : MockedGateway end Rails.application.reloader.to_prepare do $PAYMENT_GATEWAY = Rails.env.production? ? RealGateway : MockedGateway end Copy That block runs when the application boots, and every time code is reloaded.
workaround to problem described earlier
-
For instance, the application could define a class method PaymentGateway.impl whose definition depends on the environment; or could define PaymentGateway to have a parent class or mixin that depends on the environment
-
On reload, MockedGateway is reloaded, but $PAYMENT_GATEWAY is not updated because initializers only run on boot. Therefore, it won't reflect the changes.
-
It is very important to understand that Ruby does not have a way to truly reload classes and modules in memory, and have that reflected everywhere they are already used. Technically, "unloading" the User class means removing the User constant via Object.send(:remove_const, "User").
-
Please, do not mutate ActiveSupport::Dependencies.autoload_paths, the public interface to change autoload paths is config.autoload_paths.
-
That may speed legit require calls a bit
-
-
-
Collapsing directories Say some directories in a project exist for organizational purposes only, and you prefer not to have them as namespaces. For example, the actions subdirectory in the next example is not meant to represent a namespace, it is there only to group all actions related to bookings: booking.rb -> Booking booking/actions/create.rb -> Booking::Create
Tags
Annotators
URL
-
-
typegraphql.com typegraphql.com
-
One of the most known principles of software development is DRY - Don't Repeat Yourself - which is about avoiding code redundancy.
-
-
-
duckduckgo.com duckduckgo.com
Tags
Annotators
URL
-
-
www.kylehq.com www.kylehq.com
-
QueueStore
-
export interface QueueInterface { count(): number; dequeue?(): any; enqueue(...args: any): void; flush(): any[]; reset(): void; setFifo(fifo: boolean): void; setLifo(lifo: boolean): void; truncate(length: number): void; } export class queue { protected elements: any[]; protected fifo = true; constructor(…args: any) { this.elements = […args]; } count() { return this.elements.length; } dequeue?(): any { if (this.fifo) { return this.elements.shift(); } return this.elements.pop(); } enqueue(…args: any) { return this.elements.push(…args); } // Like dequeue but will flush all queued elements flush(): any[] { let elms = []; while (this.count()) { elms.push(this.dequeue()); } return elms; } setFifo(fifo = true) { this.fifo = fifo; } setLifo(lifo = true) { this.fifo = !lifo; } reset(): void { this.truncate(0); } truncate(length: number) { if (Number.isInteger(length) && length > -1) { this.elements.length = length; } } } export default queue;
-
For me however, things get really interesting with the creation of “custom” stores. The creators of Svelte were/are obviously well aware of the power and flexibility of these stores and have provided a simply interface to adhere to. Basically, any object that implements the “subscribe” method is a store!
-
One of the (in my opinion) most useful components of the Svelte library is that of “stores”.
-
-
www.kylehq.com www.kylehq.comKyleHQ1
Tags
Annotators
URL
-
-
-
Feed Army is a browser based unified dashboard for all your social media & online feeds.
-
browser based
browser-based
Tags
Annotators
URL
-
-
www.kylehq.com www.kylehq.com
-
And on any given day, developing with Svelte and its reactive nature is simply a dream to use. You can tell Svelte to track state changes on practically anything using the $: directive. And it’s quite likely that your first reactive changes will produce all the expected UI results.
-
And on any given day, developing with Svelte and its reactive nature is simply a dream to use. You can tell Svelte to track state changes on practically anything using the $: directive. And it’s quite likely that your first reactive changes will produce all the expected UI results. But as you start to rely more on UI updates based on variable or array/object changes, it’s likely that your UI will start skipping a beat and dropping values that you know explicitly to be there.
-
-
stackoverflow.com stackoverflow.com
-
what is the conventional way
-
Personally I think option 1 is the way to go as it doesn't allocate any memory to create a new array but rather modifies the existing array. Then the assignment just lets the compiler know that you modified the array.
-
-
svelte.dev svelte.dev
-
github.com github.com
-
It's a grammar that makes heavy use of regular expressions. So make sure you brush up your skill on backward/forward references and lookarounds, because all these can be used.
-
-
duckduckgo.com duckduckgo.com
-
TylerRick - HypothesisYour browser indicates if you've visited this linkhttps://hypothes.is › users › TylerRick
finding my own content in search results
-
-
support.fanatical.com support.fanatical.com
-
If you still have problems, please open a ticket and let us know: Your order number The key you're having trouble activating (please tell us exactly what you're entering) The message displayed by Steam That you've already tried logging out and back into Steam and then still couldn't activate the key.
.
-
-
-
There are ways to get around the prerequisites of buying this respirator. It is not like you are buying an illegal item, so if you get the chance, you should get this best mask for mold removal.
Tags
Annotators
URL
-
- Sep 2021
-
www.familyhandyman.com www.familyhandyman.com
-
Where connecting plastic pipe to other types of plastic or other types of piping material; approved listed adapter or transition fittings and listed for the specific transition intended shall be used.
-
-
Just for fun, I did a little experimenting at home to show how some of these different types of cement hold up. I started by cementing a bunch of materials together with a bunch of different types of cement. I waited 24 hours, then cut each one roughly in half, down the middle.
-
-
-
-
Laying a drainage pipe for plumbing is a job for professionals. Most cities and homeowner’s associations won’t look kindly upon extensive do-it-yourself excavation projects.
-
-
www.johnbridge.com www.johnbridge.com
-
The Code Expressly prohibits glueing dissimilar plastics together: Listed under "Prohibited Joints" "No glue joints between different tyes of plastic" REF: International Residential Code 2904.16.2 Uniform Plumbing Code 316.1.6 It is true that Oatey makes a glue that is listed as approved for both ABS & PVC however there still remains a good reason why it is not approved for glueing dissimilar types of plastics together. In a normal glueing situation the bonding material sticks to the surface of both pieces being fastened together, thus forming a bond, but such is not the case with plastic plumbing pipe and fittings. When connecting plastic plumbing fittings we must first use a solvent type cleaner/primer. While the cleaner primer does clean the fitting, its primary purpose is to soften or break the smooth glazed surface of the pipe which exposes the inner polimers. The glue then chemically softens the plastic on both the pipe wall and the fitting interior and the two surfaces then fuse together forming a chemical weld. The problem with attempting to glue dissimilar plastic is that they do not react to the glue at the same rate, therefore one material may soften and reharden again before the other surface has softened sufficiently to fuse a true weld. The end result is that while it has all the appearances of having glued together you are left with a weak joint, in the same manner as a cold solder joint.
-
Best demonstration: glue PVC inside an ABS hub or vice-versa. Cut through the two with a mitre saw and make a nice, clean cut. Look at all the voids where the plastics didn't glue together.
-
is labeled as a glue for PVC, ABS, CPVC, etc. It's not labelled for gluing different plastics together, only for gluing like plastics together
-
-
www.homequestionsanswered.com www.homequestionsanswered.com
-
A plugged vent gives the effect of pouring milk from a jug. Without proper air flow and ventilation, the milk chugs in starts and stops while leaving the jug.
-
So I told my helper, smart as a whip, if you pour a bottle from slightly above flat, the liquid flows smoothly, but if you tip the bottle up, it glucks.
-
Anyone here should know it is of extraordinary importance to maintain trap (water) seals. The gas in the downstream is full of methane, odorless and colorless, and it will cause heart and lung problems if let loose inside and lived with. That should be written on the sky.
-
PVC DWV is dense, straight, and durable; also approved for use.ABS ("black") and PVC expand and contract differently, don't intermember directly. There's a flexible cement available.
-
-
My question is, wye is a sanitary tee directional? I maintain that a two way sweep would be a more efficient vent.
-
-
breakingfreemediation.com breakingfreemediation.com
-
Installing a sanitary tee and wye drain, or any multi-outlet drainage fitting requires basic plumbing knowledge. Once you know the basics, it is easy to install this kind of piping system without hiring outside assistance.
-
A sanitary tee is shaped like the letter ‘T’, while a Wye is similar to ‘Y’. Sanitary tee is used for horizontal to vertical transition, and Wye is used for combining 2 lines into one horizontal line to maintain a flow without causing clogging.
-
Sanitary Tee and Wye are parts of the drain vent system. If you are doing plumbing works, you may have to use them in some sort. However, they look almost similar, and this confuses a lot of people. Especially to choose the one that best fits your drain system.
-
-
amarcoplumbing.com amarcoplumbing.com
Tags
Annotators
URL
-
-
blog.system76.com blog.system76.com
-
Still not clear what this daemon does...
And when you say switch display between HiDPI and LoDPI, what does that do? If it's a high-DPI display, does it emulate a low-DPI experience, for example by scaling/zooming / using 2 output pixels for every 1 in the input picture.
Is this the same as the fractional scaling feature?
The GUI for it:
- lets me enable/disable (what happens if I disable?)
- Change Mode: "Enable to render LoDPI displays at HiDPI resolution". What does that mean?
I tried disabling both of those options but
- hidpi-daemon was still running
- I noticed no visible change
So I just killed the process. Again, no visible change. So again, what does this daemon actually do for me? What is the benefit of having it running? (I'm not the only one wondering: https://www.reddit.com/r/pop_os/comments/lwsf4a/hidpi_daemon/ , https://www.reddit.com/r/pop_os/comments/lxpfpl/hidpidaemon_was_a_huge_battery_drain_for_me_had/ )
-
We also made it simple to switch displays between HiDPI and LoDPI. This is especially useful for applications like GIMP and Inkscape whose toolkits do not support HiDPI and appear very small in HiDPI screens.
.
-
We’ve also included GSettings and a DBus API to allow other distros to create their own graphical interfaces to the daemon.
-
-
www.reddit.com www.reddit.com
-
-
Does this daemon benefit me in anyway or is it only used for mismatched resolutions like 1440p with a 1080p display?
-
-
reseattle.com reseattle.com
-
Commenting on a recent case from the Washington State Court of Appeals, it says that the outcome “signals a strong return to the legal principle of caveat emptor – otherwise known as ‘buyer beware’.” This ruling is interpreted to mean that “the seller may now intentionally conceal a defect and lie about it, and as long as the buyer’s inspector has some indication of a potential problem and the buyer fails to investigate further, the seller will survive a lawsuit.”
-
-
www.opensourceflare.com www.opensourceflare.com
-
Running containers without Docker is possible with Podman.
first sighting: podman
-
-
podman.io podman.io
-
daemonless container engine
-
Hence, Podman allows the creation and execution of Pods from a Kubernetes YAML file (see podman-play-kube). Podman can also generate Kubernetes YAML based on a container or Pod (see podman-generate-kube), which allows for an easy transition from a local development environment to a production Kubernetes cluster.
-
We believe that Kubernetes is the defacto standard for composing Pods and for orchestrating containers, making Kubernetes YAML a defacto standard file format.
-
-
-
Simply put: alias docker=podman.
-
What is Podman? Podman is a daemonless container engine for developing, managing, and running OCI Containers on your Linux System.
-
-
askubuntu.com askubuntu.com
-
I find Alt + right-click + drag to be the most convenient way to do this.
On PopOS, the default seems to be Super + right click drag
Took me some research to try to figure it out though (because on the Ubuntu system I came from, it was Super + middle click drag). I wish it were a bit more discoverable.
-
-
askubuntu.com askubuntu.com
-
gsettings set org.gnome.desktop.wm.keybindings move-to-center "['<Control><Super>c']" gsettings set org.gnome.desktop.wm.keybindings move-to-side-e "['<Control><Super>Right']" gsettings set org.gnome.desktop.wm.keybindings move-to-side-n "['<Control><Super>Up']" gsettings set org.gnome.desktop.wm.keybindings move-to-side-s "['<Control><Super>Down']" gsettings set org.gnome.desktop.wm.keybindings move-to-side-w "['<Control><Super>Left']"
-
-
help.ubuntu.com help.ubuntu.com
-
Move a window by dragging the titlebar, or hold down Super and drag anywhere in the window.
-
You can choose the displayed language by adding a language suffix to the web address so it ends with e.g. .html.en or .html.de. If the web address has no language suffix, the preferred language specified in your web browser's settings is used. For your convenience: [ Change to English Language | Change to Browser's Preferred Language ]
-
-
webapps.stackexchange.com webapps.stackexchange.com
-
In principle, one can type these directly but you'd have to know the Unicode code points
-
-
usingtechnologybetter.com usingtechnologybetter.com
-
en.wikipedia.org en.wikipedia.org
-
The key to a functional island fixture vent is that the top elbow must be at least as high as the "flood level" (the peak possible drain water level in the sink). This is to ensure that the vent does not become a de facto drain should the actual drain get clogged.
Tags
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
One of the most common traps to dry out are floor drains such as those typically placed near home furnaces, water heaters and rooms with underfloor heating.
Tags
Annotators
URL
-
-
-
I'm trying to help in some way by bringing these issues to light so a discussion about them can take place.
-
The number of complaints across the issue tracker and the lack of substantive followup on many of those complaints should be ample evidence that these frustrated users exist and are likely about to leave Fenix behind in droves, if they haven't already.
-
avoiding a browser monoculture
-
I honestly believe that if more people aren't aware of these issues, Firefox for Android might soon end up dying a slow, painful death as its users give up in frustration and leave for better web browsers.
-
I have always rooted for Mozilla in preventing Google from obtaining unequivocal control of what has become the most critical software platform in the modern era, one that holds relevance in nearly everyone's life: the web.
Tags
- unfortunate
- abandoning/migrating away from
- issues: how to get/convince a maintainer to implement/fix something
- raising awareness
- monopoly
- Mozilla
- too much control/influence by a single company/entity
- Firefox
- important
- raising awareness of problems in hopes that they may be resolved
Annotators
URL
-
-
www.reddit.com www.reddit.com
-
The point of DoH is to bypass any other DNS or censorship further down the line.If you want to use DoH AND your hosts file then you need to use DoH as your OS's DNS so it is after the hosts file.
.
-
Also blacklist use-application-dns.n
what is that?
-
t's also why it is so annoying to people who actually know what they are doing, when randomly the browser decides to take over a function provided for decades by the OS network stack, and with no notice start bypassing all the infrastructure they set up to their liking (like your hosts file) and funelling all their browsing habits to some shady company (Cloudflare).
-
It is also why it's implementation in firefox is completely useless, considering that windows/osx/most linux distros plan to add support for DoH/DoT/DNScrypt resolvers in the near future, so firefox doing it itself will provide no additional benefit.
-
The whole point of DoH in firefox is to not depend on the OS like windows. And it is the OS, which implements the hosts file mechanism.
-
those users apparently can't even be trusted to choose the option to enable it from a pop-up
-
How can we get action on the bugzilla bug mentioned above to cause this to be fixed?
Tags
- networking
- security
- whose responsibility is it?
- annoying
- I agree
- issues: how to get/convince a maintainer to implement/fix something
- changes
- without any warning
- can't trust users (to do the right thing)
- changes to policy/terms
- duplication of work/effort
- I have this problem too
- wasted effort
- DNS over HTTPS
- frustrating
- Firefox
Annotators
URL
-
-
unix.stackexchange.com unix.stackexchange.com
-
If you want to check that the "usual" resolution is working (i.e. the way specified in /etc/nsswitch.conf) you can use getent: getent hosts www.winaproduct.com
-
If your configuration is not provided by a name server (like the information given in /etc/hosts) those tools will not show them, because they directly ask the name server.
-
-
www.reddit.com www.reddit.com
-
If you want to find the bug, you can run a mozregression to find what broke it (using 70 as your last known good release and 71 as your bad release).
-
-
support.mozilla.org support.mozilla.org
-
Mac: "3-bar" menu button (or Firefox menu) > Preferences Windows: "3-bar" menu button (or Tools menu) > Options Linux: "3-bar" menu button (or Edit menu) > Preferences
-
-
superuser.com superuser.com
-
The browser (on PC operating systems) always has a choice to not use the system-provided mechanisms in the first place. It can send its own UDP packets or make TCP connections.
- always has a choice
- bypassing defaults
-
Does Firefox ignore the hosts file? How to make Firefox honor the hosts file
-
-
stackoverflow.com stackoverflow.com
-
And the latter (DHCP server) is great because it means that all machines connecting to your router will now have their DNS requests routed through your Pi-Hole.
-
Why is my hosts file entry being ignored by the browser?
-
-
support.mozilla.org support.mozilla.org
-
Therefore, Firefox already contains the code to look in the hosts file, but it does things in the wrong order: 1. Look up the URL in the DNS server if not found: 2. Send the URL to the default search engine as a search term if not found: 3. Look in the hosts file
incorrect behavior
-
The entries in the hosts file are obviously not on a DNS server. Setting the keyword.enabled option FALSE by itself should only turn off the feature that uses the address field as a search field. It would not give Firefox an additional ability that it did not have before.
-
Firefox ignores the presence of the hosts file, never using it to resolve a URL.
-
they know about this problem and have willfully and negligently—and perhaps maliciously—ignored it for at least eight years.
accusation
-
-
www.linuxquestions.org www.linuxquestions.org
-
Thanks for the rest of the story.
-
-
qmenu.us qmenu.us
-
-
-
“Switch Windows”
-
gsettings set org.gnome.desktop.wm.keybindings switch-windows "['<Alt>Tab']"
-
Turns out, you have to use Alt+` to switch between windows of the same applications.
-
if you have 3 windows of the same web browser application running, Alt+Tab won’t let you switch between those windows
-
-
ubuntuhandbook.org ubuntuhandbook.org
-
“Switch windows“,
-
To revert the change, look for Switch applications
-
-
www.amazon.com www.amazon.com
-
But I would rather have this with P100 filters than the flimsy 3m N95 mask my hospital demands we re-use over and over.
.
-
-
www.amazon.com www.amazon.com
-
When the plague is over, I'd highly recommend either of these masks. They were $16, before the pandemic. They're crazy high prices now, being sold by disaster profiteers.
-
-
www.amazon.com www.amazon.com
-
Missing in the product description is...1. THIS PRODUCT IS NOT FOR USE BY PEOPLE WHO MUST WEAR GLASSES!2. YOU MUST PURCHASE FILTERS SEPARATELY. THIS PRODUCT DOES NOT INCLUDE FILTERS!
-
-
www.digitalocean.com www.digitalocean.com
-
-
This is more secure than simply opening up your server’s firewall to allow connections to port 5901, as that would allow anyone to access your server over VNC. By connecting over an SSH tunnel, you’re limiting VNC access to machines that already have SSH access to the server.
-
By connecting over an SSH tunnel, you’re limiting VNC access to machines that already have SSH access to the server.
-
-
github.com github.com
-
Disclaimer I really have no desire to maintain this project, as it's not mine to begin with. I was looking for something like Gitso but it didn't quite have what I wanted. After making my changes I thought I might as well put this up on GitHub for others who wanted something similar. So if you have issues, you're better off forking the project and fixing them yourself.
.
Tags
Annotators
URL
-
-
-
The only issue with this full-face respirator is that you can only buy it for commercial or industrial use. This means that unless you work for the purchasing department of a company, you will not be able to get one without a permit.
Tags
Annotators
URL
-
-
reportingrandomfindings.blogspot.com reportingrandomfindings.blogspot.com
-
Linked to from https://boardgamegeek.com/boardgame/238108/animo-living-deck-bible-verse-card-game/ratings?comment=1
lugiaspal Sep 2019  North Dakota · United States bad card game, a lot of it is not original. This article that i ran into explains it all https://reportingrandomfindings.blogspot.com/2019/06/animo-l...
-
First off starting with the logo designs for both company's using same color scheme of Yellow and Blue. Both fonts are not the same fonts, but font layout kind of looks the same, as the letters overlap each other, in an almost same style manner.
In my opinion, and understanding of copyright law, it's okay to be similar or reminiscent of another work. That's not considered copying, nor does it mean it's a derivative work.
Another example: I've heard multiple songs where it is evident that it's a [knock-off] and designed to remind one of the original well-known musical score, such as Mission Impossible theme, James Bond, Star Wars, etc. They copied the feel of the song, maybe some rhythms, instrumentation choices, or chord progressions, but not the actual score and not the exact same melody! And that's perfectly okay. And it should be.
We shouldn't have to live in fear that we've created something original that sounds/looks too much like someone else's creation and will get sued.
-
-
www.digitalocean.com www.digitalocean.com
-
A controller is the entity that determines the purposes and means of the processing of personal data. Some examples of a controller are listed below.DigitalOcean is a controller for our customer’s personal data (e.g. personal information provided to DigitalOcean when signing up for our services)A DigitalOcean customer may be a controller if they collect and process personal data on their customers (e.g. personal data provided to you by your customers)A processor is the entity that processes personal data on behalf of another entity. An example of a processor is listed below.DigitalOcean is a processor for our customer’s end-user personal data (e.g. A DigitalOcean customer stores their customer’s personal data on a DigitalOcean service)
Tags
Annotators
URL
-
-
www.kickstarter.com www.kickstarter.com
-
In previous campaigns we created expansion material and used it as stretch goals. Going forward, we're just going to give it away from the start. So no worries on whether we'll hit it or not, you are getting this expansion if you pledge here.
.
-
-
gnunn1.github.io gnunn1.github.io
-
The VTE widget was originally designed as the back-end for Gnome Terminal but was fortunately designed as a GTK widget so that other terminal emulator applications could leverage it instead of rolling their own. Many popular Linux terminal emulators use this component.
.
-
-
www.dynare.org www.dynare.orgDynare2
-
Ease of Use Write your model almost as you would on paper and Dynare will take care of the rest!
-
Tags
Annotators
URL
-
-
mutschler.eu mutschler.eu
-
as a GUI for it, I use GitKraken
-
-
timelines.gitkraken.com timelines.gitkraken.com
-
schedule.mutschler.eu schedule.mutschler.eu
-
mutschler.eu mutschler.eu
-
-
benchmark.unigine.com benchmark.unigine.com
-
benchmark
-
-
www.amazon.com www.amazon.com
-
I read the negative reviews (the only ones that you can trust), but I bought it anyhow
which reviews can you trust? how do you know which are trustworthy?
-
-
www.amazon.com www.amazon.com
-
Question: Why a cable for a wireless keyboard? Answer: .noScriptDisplayLongText { display : none; } <style> .noScriptNotDisplayExpander { display : none; } .noScriptDisplayLongText { display : block; } </style> because it is not a wireless keyboard...
-
-
www.reddit.com www.reddit.com
-
Malware drive-bys are resolved rather easily with JavaSh-t block/allow lists. Some people might complain that blocking JS hurts the user experience but more often than not the people complaining are the ones wanting to perform mischief, such as malware, data mining and tracking.
disable JS?
-
Just my n=1 opinion only.
just my opinion
unique way of saying it
-
-
arstechnica.com arstechnica.com
-
www.atechtown.com www.atechtown.com
-
Snap packages can only be distributed through the Canonical store, i.e. they are linked to it. This brings some advantages like improved security but limits the developer. Conversely, Flatpak is not connected to any shop and this makes each developer the owner of the shop’s distribution. This is more in line with the open-source philosophy.
Snap Flatpak
-
If there is one thing that normally characterizes the entire Linux ecosystem, it is that there are many solutions to one problem.
many different solutions to a problem
-
-
github.com github.com
-
derivative project that removes proprietary software
-
-
ubuntu-tutorials.com ubuntu-tutorials.com
-
tcpwrappers or, as you’re probably more familiar, the hosts.allow and hosts.deny files
little-known facts better known as
Indeed, I'd heard of hosts.allowed but would have never known that they were part of a package/system called tcpwrappers (which I don't think I've ever heard of).
-
-
bastillebsd.org bastillebsd.org
-
-
Highly Secure by Default
Tags
Annotators
URL
-
-
askubuntu.com askubuntu.com
-
gsettings range org.gnome.desktop.background picture-options
-
-
example.com example.com
-
Follow this link to the Hypothesis extension in the Chrome Web Store. If this is your first time adding extensions from the Chrome store in Edge, click “Allow extensions from other stores”.
-
-
www.omgubuntu.co.uk www.omgubuntu.co.uk
-
distro that doesn’t patronise its potential users by fixating on an idealised use case drawn up in a meeting.
patronise fixating on an idealised
-
-
www.merriam-webster.com www.merriam-webster.com
-
Generally, shrank is the simple past tense form of "shrink" like in "I shrank the shirt in the wash." Shrunk is the past participle being paired with "have" as in "I have shrunk the jeans." There are rarer examples of shrinked and shrunken in literature but not enough to support those usages as standard.
-
-
eur-lex.europa.eu eur-lex.europa.eu
Tags
Annotators
URL
-
-
www.merriam-webster.com www.merriam-webster.com
-
When referring to a change in direction, position, or course of action, the correct phrase is to change tack. This is in reference to the nautical use of tack which refers to the direction of a boat with respect to sail position. This phrase has long been confused as "change tact" but this is technically incorrect.
-
-
edu.gcfglobal.org edu.gcfglobal.org
-
-
take care to discuss new ideas with facts, patience, and respect
.
-
-
-
-
Some passengers may have medical or religious exemptions. Indeed, there are legitimate medical exemptions, such as a history of severe allergic reaction to vaccines or other rare medication reactions. Pregnant passengers may be able to claim an exemption based on the limited data available in this population.
-
-
www.refinery29.com www.refinery29.com
-
-
And while misinformation and outright lies about COVID-19 are still pervasive
-
-
-
stackoverflow.com stackoverflow.com
-
the space has to escaped twice, once for the local shell interpreting the command and once for the remote machine interpreting it again.
-
Or use a '?' in place of a space as long as there are no other matching filenames than the one with spaces (since '?' matches any character): rsync -av host:a?long?filename /tmp/
-
-
www.amazon.com www.amazon.com
-
What would make these units perfect is if they were mesh connected to a hub unit that could connect wirelessly to my internet connection. An alarm event would send me and alternate either a text/e-mail, or both. I could image adding a whole house water shut off that could automatically shut off the water to deal with a catastrophic failure when no one is home.
.
-
These thing can save you literally thousands of dollars associated with repair of water damage. I have installed one under every sink, dishwasher, behind every toilet, washing machine and refrigerator (ice maker water supply). Essentially, any place where there is a water supply to a faucet or appliance.
-
Fast forward two months later. The tank in the same hot water heater started leaking, and for who knows how long, because this thing did nothing. When I finally got to my heater, after discovering the water dripping under the floor itself, this unit was so soaked I had to open the battery compartment to drain it. Yes, there was that much water covering the alarm itself. The problem? Apparently, you need a significant amount of standing water for it to work. Because it was a slow-ish leak, and because the floor, although it was soaked, was draining and absorbing part of the water, and also because the water was draining through a nearby cutout in the floor, it never reached enough standing water.
-
After a bad leak from the pipe leading into my hot water heater left my floors soaked and damaged, I decided I wanted to be prepared in case there was a next time.
-
I improved its detection capability by taping a piece of paper on the bottom. It rests on the paper and absorbs water , setting the sensors off after a few seconds. Without this it wasn't able to detect water running down concrete with a grade. The water level would have come up a bit to trip the sensors.
-
For the price, why splice wires, the leads can be extended to 6 feet. What I would recommend is to place the sensor on a sheet of paper towel. Any moisture will wick up to the contacts. Also you can cover a bigger area where just a corner of the paper towel will transfer the liquid by capillary action to the contacts.
tip
-
.noScriptDisplayLongText { display : none; } <style> .noScriptNotDisplayExpander { display : none; } .noScriptDisplayLongText { display : block; } </style> I am going to buy this and a 9v battery eliminator that plugs in(about $10). Never have to worry about batteries. If a Sump is involved maybe a very small UPS could be a solution(about $30). There is a mini ups on Amazon. You can get a 9v battery clip and wire up. Good 9V batteries aren't cheap either. Consider wha… see more I am going to buy this and a 9v battery eliminator that plugs in(about $10). Never have to worry about batteries. If a Sump is involved maybe a very small UPS could be a solution(about $30). There is a mini ups on Amazon. You can get a 9v battery clip and wire up. Good 9V batteries aren't cheap either. Consider what repairs could cost.
putting it in perspective
$10 + $30 much cheaper than repairs if flood because didn't hear alarm
-
-
smile.amazon.com smile.amazon.com
-
en.wikipedia.org en.wikipedia.org
-
In American usage such divisions are generally referred to as colleges (e.g., "college of arts and sciences") or schools (e.g., "school of business"), but may also mix terminology (e.g., Harvard University has a "faculty of arts and sciences[2]" but a "law school").
Tags
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
often wrongly translated as "Dresden University of Technology"
how is that a wrong translation?
what would the correct translation be — without any acronyms? ("TU Dresden" does not count — what are the English words one should read for T and U?)
University of Technology seem like a reasonable translation for Technische Universität to me!       
-
-
css-tricks.com css-tricks.com
-
-
It is a perfectly cromulent word. :)
-
Nice use of “embiggen” as a class name!
-
Chris, to address your “magic number” concern, instead of doing line-height: 0.5, you can use percentage-based positioning (top: 50%) on the pseudo-element.
-
-
www.impressivewebs.com www.impressivewebs.com
-
-
Maybe there’s a technical term that I’m not aware of for this type of centered line-splitting heading.
"what's it called?"
-
-
www.queenbeeofhoneydos.com www.queenbeeofhoneydos.com
-
Melamine is considered the black sheep of the sheet goods’ family by most carpenters. Typically because it creates a lower quality cabinet than other materials. But, also because it is so darn hard to construct with without getting chips. However, melamine does have a place and a purpose, and if you know how to build with melamine, you can produce some budget-friendly spaces.
-
-
wtfforms.com wtfforms.com
-
-
css-tricks.com css-tricks.com
-
pacificfurniture.com pacificfurniture.com
-
Some components may be substituted if you can’t source them. Use your best MacGyvering skills to figure it out.
Tags
Annotators
URL
-
-
softwareengineering.stackexchange.com softwareengineering.stackexchange.com
-
When we describe a language as type-checked, we mean that the language won't let you perform operations invalid for the type. Neither statically nor dynamically typed languages will let you multiply strings together, call a number in the place of a function, etc. A language without type checking would let you do all of those things without complaint.
-
-
www.reddit.com www.reddit.com
-
At the same time, details about programming language semantics are quite precise and when articles like this get things sort of wrong, it just leads to more confusion.
-
-
www.reddit.com www.reddit.com
-
Conversely, the more dynamically typed the language is, the less I am using an IDE and the more I am using a text editor. Of course, my productivity plummets at that point. Refactoring becomes more difficult and more (completely) reliant on unit tests to ensure they are done properly.
-
-
-
Forwarding events from the native element through the wrapper element comes with a cost, so to avoid adding extra event handlers only a few are forwarded. For all elements except <br> and <hr>, on:focus, on:blur, on:keypress, and on:click are forwarded. For input and textarea, on:input and on:change are also forwarded. For audio and video, on:pause and on:play are also forwarded.
Shouldn't have to individually list them. Should be able to just pass an array, and say, like
forwardEvents(events_array)
-
Instead of bind:this={ref}, use bind:el={ref}. this points to the wrapper component, el points to the native element
-
-
stackoverflow.com stackoverflow.com
-
This works in my application where there's only one shadow-dom at the time, but it's not a generic solution.
-
As a work-around I know add a listener to the document-head and move what gets added to the shadow-root.
-
Can you make Svelte create an open shadowRoot? You can then move it yourself (client-side)
-
-
store.steampowered.com store.steampowered.com
-
The devs clearly took a very conscious choice that broad, wandering exploration should be core to the game - to the extent that they want you to regularly have no idea where you're supposed to go (or indeed, what you're supposed to do when you get there), within environments that are often vastly sprawling. I've rarely seen a game with such minimal, indistinct signposting (sometimes nothing at all) to nudge players in the right direction.
.
-
-
stackoverflow.com stackoverflow.com
-
An #each tag can loop anything with a length property, so: {#each {length: 3} as _, i} <li>{i + 1}</li> {/each} will also work, if you prefer.
-
-
developer.mozilla.org developer.mozilla.org
-
Note:
-
this implies an array of arrayLength empty slots, not slots with actual undefined values
-
-
stackoverflow.com stackoverflow.com
-
Array.from(Array(10).keys()) //=> [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
-
-
duckduckgo.com duckduckgo.com
-
https://hypothes.is/search?q=tag:'0-origined+index'
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
Sigh why was such a standard feature like resizable columns that have been super simple to do in desktop apps for 15+ years not added to css3/html5
why is it so difficult/hard?
-
-
-
www.cdc.gov www.cdc.gov
-
mRNA vaccine effectiveness of full immunization (≥14 days after second dose) was 90% against SARS-CoV-2 infections regardless of symptom status
-
-
www.npr.org www.npr.org
-
The vaccines aren't a force field that ward off all things COVID-19. They were given the greenlight because they greatly lower your chance of getting seriously ill or dying. But it was easy for me — and I'm not the only one — to grab onto the idea that, after so many months of trying not to get COVID-19, that the vaccine was, more or less, the finish line. And that made getting sick from the virus unnerving.
-
I had a breakthrough case of COVID-19 — despite my two shots of the Pfizer vaccine, the second one in April.
"breakthrough case" "despite" — surprise that they got it despite having been vaccinated
-
the realities of our still-raging pandemic, where even the vaccinated can get sick
"even the vaccinated can get sick" — surprise that they got it despite having been vaccinated
-
-
store.steampowered.com store.steampowered.com
-
Whether this game is ever finished or not isn't entirely relevant, the game is vastly inferior to Spore or any of the games from the Sparkle series, but costs more!
Tags
Annotators
URL
-
-
www.sanity.io www.sanity.io
-
I hope this validates (😉) the use of TypeScript and Svelte enough to entice you to try it out for yourself!
-
-
and later use Sanity to store our data
-
The classic SPA example is a to-do list. But, you know what? I don't like to-do lists. They make me think about all the things I have to do, many of which I don't want to do.So why don't we make a To-Don't List app? That way we can list all the things we're not going to do. Ever.
-
TypeScript is an extension of JavaScript. You can think of it as JavaScript with a few extra features. These features are largely focused on defining the type and shape of JavaScript objects. It requires that you be declarative about the code you're writing and have an understanding of the values your functions, variables, and objects are expecting.While it requires more code, TypeScript is a fantastic means of catching common JavaScript bugs while in development. And for just that reason, it's worth the extra characters.
-
-
www.sanity.io www.sanity.io
-