10,000 Matching Annotations
  1. Jun 2024
    1. If your use case means you absolutely require dind, there is a safer way to deploy it. The modern Sysbox project is a dedicated container runtime that can nest other runtimes without using privileged mode. Sysbox containers become VM-like so they're able to support software that's usually run bare-metal on a physical or virtual machine. This includes Docker and Kubernetes without any special configuration.
  2. May 2024
    1. Choosing names from a list is a lot more user-friendly and less error-prone than asking them to blindly type in an e-mail address and hope that it is correct and matches an existing user (or at least a real e-mail account that can then be sent an invitation to register). In my opinion, this is a big reason why Facebook became so popular — because it let you see your list of friends, and send message to people by their names instead of having to already know/remember/ask for their e-mail address.
    1. You cannot sell or distribute Content (either in digital or physical form) on a Standalone basis. Standalone means where no creative effort has been applied to the Content and it remains in substantially the same form as it exists on our website.

      That seems fair enough...

    1. This is probably confusing because the "host" in --network=host does not mean host as in the underlying runner host / 'baremetal' system. To understand what is happening here, we must first understand how the docker:dind service works. When you use the service docker:dind to power docker commands from your build job, you are running containers 'on' the docker:dind service; it is the docker daemon. When you provide the --host option to docker run it refers to the host network of the daemon I.E. the docker:dind container, not the underlying system host.
    1. return &container.HostConfig{ DNS: e.Config.Docker.DNS, DNSSearch: e.Config.Docker.DNSSearch, RestartPolicy: neverRestartPolicy, ExtraHosts: e.Config.Docker.ExtraHosts, Privileged: e.Config.Docker.Privileged, NetworkMode: e.networkMode, Binds: e.volumesManager.Binds(), ShmSize: e.Config.Docker.ShmSize, Tmpfs: e.Config.Docker.ServicesTmpfs, LogConfig: container.LogConfig{ Type: "json-file", },
    1. For Linux systems, you can – starting from major version 20.04 of the Docker engine – now also communicate with the host via host.docker.internal. This won't work automatically, but you need to provide the following run flag: --add-host=host.docker.internal:host-gateway
    1. While the RSpec team now officially recommends system specs instead, feature specs are still fully supported, look basically identical, and work on older versions of Rails.

      Whose recommendation should one follow?

      RSpec team's recommendation seems to conflict with this project's: https://rspec.info/features/6-0/rspec-rails/request-specs/request-spec/:

      Capybara is not supported in request specs. The recommended way to use Capybara is with feature specs.

    1. 81 View upvote and downvote totals. This answer is not useful Save this answer. Show activity on this post. Most people are focused on attribution (and rightfully so), but it seems that not much attention is being paid to the share alike part of the CC license. In AI contexts, copyright law is still being tested in court and many things are uncertain. There is a very real risk that training an AI on this site's data will not necessarily be considered "fair use" (it fails the "serves as a substitute for the original" test, among other things), which means there's a risk that the trained model will be considered a derivative work and thus required to carry a license similar to CC-BY-SA 4.0.
    2. One way to look at it is that corporations are never your friend. They love talking about building communities and ecosystems, but eventually they need to monetize user-generated content and change licensing to make your content their property. When their policies and promises change overnight 180° all you get "we are sorry you feel that way", "our hopes and prayers" and "that was a deliberate business decision we had to make with a heavy heart". And then they laugh all the way to the bank.
    3. I wouldn't focus too much on "posted only after human review" - it's worth noting that's that's worth nothing. We literally just saw a case of obviously riduculous AI images in a scientific paper breezing through peer review with noone caring, so quality will necessarily go down because Brandolini's law combined with AI is the death sentence for communities like SE and I doubt they'll employ people to review content from the money they'll make
    4. What could possibly go wrong? Dear Stack Overflow denizens, thanks for helping train OpenAI's billion-dollar LLMs. Seems that many have been drinking the AI koolaid or mixing psychedelics into their happy tea. So much for being part of a "community", seems that was just happy talk for "being exploited to generate LLM training data..." The corrupting influence of the profit-motive is never far away.
    5. If you ask ChatGPT to cite it will provide random citations. That's different from actually training a model to cite (e.g. use supervised finetuning on citations with human raters checking whether sources match, which would also allow you to verify how accurately a model cites). This is something OpenAI could do, it just doesn't.
    6. GenAIs are not capable of citing stuff. Even if it did, there's no guarantee that the source either has anything to do with the topic in question, nor that it states the same as the generated content. Citing stuff is trivial if you don't have to care if the citation is relevant to the content, or if it says the same as you.
    1. Podman commands are the same as Docker’s When building Podman, the goal was to make sure that Docker users could easily adapt. So all the commands you are familiar with also exist with Podman. In fact, the claim is made that if you have existing scripts that run Docker you can create a docker alias for podman and all your scripts should work (alias docker=podman). Try it.
    2. This article does not get into the detailed pros and cons of the Docker daemon process.  There is much to be said in favor of this approach and I can see why, in the early days of Docker, it made a lot of sense.  Suffice it to say that there were several reasons why Docker users were concerned about this approach as usage went up. To list a few: A single process could be a single point of failure. This process owned all the child processes (the running containers). If a failure occurred, then there were orphaned processes. Building containers led to security vulnerabilities. All Docker operations had to be conducted by a user (or users) with the same full root authority.
    1. AI-powered code generation tools like GitHub Copilot make it easier to write boilerplate code, but they don’t eliminate the need to consult with your organization’s domain experts to work through logic, debugging, and other complex problems.Stack Overflow for Teams is a knowledge-sharing platform that transfers contextual knowledge validated by your domain experts to other employees. It can even foster a code generation community of practice that champions early adopters and scales their learnings. OverflowAI makes this trusted internal knowledge—along with knowledge validated by the global Stack Overflow community—instantly accessible in places like your IDE so it can be used alongside code generation tools. As a result, your teams learn more about your codebase, rework code less often, and speed up your time-to-production.
    1. When a job uses needs, it no longer downloads all artifacts from previous stages by default, because jobs with needs can start before earlier stages complete. With needs you can only download artifacts from the jobs listed in the needs configuration.
    1. The asset pipeline is a collection of components that work together. Here's a list of what they might be.Concatenation for merging together many files into one big file.Minification for compressing the contents of a file to make it smaller in size.Pre-compilation for using your language of choice to write CSS or Javascript.Fingerprinting to force reloading of asset changes (i.e., cache busing).
    1. I know Alpine is also an option but in my opinion it’s not worth it. Yes, you’ll end up with a bit smaller image in the end but it comes at the cost of using musl instead of glibc. That’s too much of a side topic for this post but I’ve been burned in the past a few times when trying to switch to Alpine – such as having network instability and run-time performance when connecting to Postgres. I’m very happy sticking with Debian.
    1. Performing a redirect by constructing a URL based on user input is inherently risky, and is a well-documented security vulnerability. This is essentially what you are doing when you call redirect_to params.merge(...), because params can contain arbitrary data the user has appended to the URL.
    1. This is essentially what --update-refs does, but it makes things a lot simpler; it rebases a branch, "remembers" where all the existing (local) branches point, and then resets them to the correct point afterwards.
    2. An alternative approach would be to rebase the "top" of the stack, part-3 on top of dev. We could then reset each of the branches to the "correct" commit in the newly-rebased branch, something like this:
    1. When we train language models, we take trillions of words, and ask a computer to come up with an equation that best describes the relationship among the words and the underlying process that produced them.
    1. Wilderness permits are required for entry into all Gifford Pinchot National Forest Wildernesses. The self-issuing permits are free and are available at all trailheads leading into these Wildernesses, and at Forest Service Ranger Stations.
    1. Walk into store to buy bread, get to till, no you MUST buy 1 kilogram of fillet steak as well so that the average price of the goods you buy is more than what the bread costs, which is the only thing you need. Leave bread, walk out. It does not matter how good you explain it, buyers do not understand how you have an item on the shelf you are not willing to sell for the price you are advertising it at, or for which you need a degree in mathematics to work out how many you must put in a cart before you can, well, pay for it at checkout. I would rather BL take this away altogether. You already have minimum buys to avoid small orders, you can already set a minimum lot quantity for purchase. Why give an impression that an item can ship by itself, when you as the seller is not willing to sell it like that? It confuses buyers when sellers willfully shows prices for goods they are not willing to sell at. Rather suggest, if sellers really want to use this, that the quantities the buyer wants cannot be added to the cart unless the minimum average is met automatically. That way the cart is managed for the buyer and nobody has to know the why and the wherefores of why an item cannot be bought for the price it is listed at.
    1. # This is manual way to describe complex parameters parameter :one_level_array, type: :array, items: {type: :string, enum: ['string1', 'string2']}, default: ['string1'] parameter :two_level_array, type: :array, items: {type: :array, items: {type: :string}} let(:one_level_array) { ['string1', 'string2'] } let(:two_level_array) { [['123', '234'], ['111']] }
  3. Apr 2024
    1. An alternative way to remove the All Mail folder would be to login into Gmail webmail using a browser, left click on the gear icon in the upper right corner and select Settings, select the Labels tab, find All Mail, click on Hide and uncheck "Show in IMAP". Logout and delete "All Mail." and "All Mail.msf" in the Gmail accounts local directory in the Thunderbird profile.

      How did I not know about this before?

    2. The "All Mail" folder in a Gmail IMAP account has a copy of all messages for that account, doubling the number of messages downloaded for offline folders. Thunderbird tries to download only one copy of a message from a Gmail IMAP account and have the folders point to that copy. However, that doesn't help if the message was created using Thunderbird. [1] If you decide to keep offline folders enabled and have a Gmail IMAP account, uncheck "All Mail" in Tools -> Account Settings -> Account Name -> Synchronization & Storage -> Advanced. As a precaution right click on the Gmail account name in the folder pane, select subscribe in the context menu, expand the folder listing and verify the All Mail folder is not subscribed. Disabling it from being synced should have unsubscribed it. Exit Thunderbird and delete "All Mail." and "All Mail.msf" in the accounts local directory.
    3. If you sometimes want to use some of the disabled features when using a broadband connection consider using two profiles which use common directories outside of the profile to store the messages. One profile would disable features as described below. The other could keep them enabled. That way depending upon which Thunderbird shortcut you use you can easily switch configurations with minimal side effects.
    1. I found that there was an entry for our external IP, which may well be the problem. I thankfully had the ability to change the external IP our internal postfix server NATs to to something else, and voila! the messages go through just fine. I know not everyone has that flexibility to select another IP
    1. Unlike traditional search engines that rely on keywords, Perplexity AI focuses on understanding your intent. It analyzes your query, the context of your previous interactions, and your overall knowledge base to determine what you're truly seeking. 
    1. I ran across an AI tool that cites its sources if anyone's interested (and heard of it yet): https://www.perplexity.ai/

      That's one of the things that I dislike the most about ChatGPT is that it just synthesizes/paraphrases the information, but doesn't let me quickly and easily check the original sources so that I can verify (and learn more about the topic by doing further reading) the information for myself. Without access to primary sources, it often feels no better than a rumor — a retelling of what someone somewhere allegedly, purportedly, ostensibly found to be true — can I really trust what ChatGPT claims? (No...)

    1. As it competes with generative AI search features from established tech titans like Google and Microsoft, Perplexity has another factor working in its favor: novelty, Friedman said. “I think many people are rooting for Perplexity because they represent the new player, the new paradigm, the new product,” he told Forbes. And if its quick growth and popularity among some of tech's highest profile people indicates anything, it looks like that novelty has some staying power.
    1. Strong organization sets a great example for your team at work and shows that you mean business. Keeping things in order ensures less stress, a greater sense of control, and sets you up for success. 
    2. Asking questions ensures they fully understand whatever it is they’re doing. They don’t go into projects blindly or assume anything. They ask probing questions to gain a complete understanding of what it is they’re trying to accomplish, why they’re working towards that goal, and everything else in between. Having an analytical mind ensures that they don’t let any details slip through the cracks.
    3. Some may mistake their numerous, detailed questions as a trait of a perfectionist, which can be the case, but not always. Accuracy can be misinterpreted as perfection. If you’re detail-oriented, don’t let the fear of appearing as a perfectionist keep you from doing quality work.
    1. It means the booth specifically, without any extra bits. By way of example: "Times Square" might often be used to refer to the area around Times Square, but may include things which are not actually part of the Square. To narrow such a usage, one might say "I mean only the actual Times Square" or "I mean Times Square proper."
    1. Unfortunately, regex syntax is not really standardized... there are many variants, which differ among other things in which "special characters" need \ and which do not. In some it's even configurable or depends on switches (as in GNU grep, which you can switch between three different regex dialects).
    1. To prevent accidental unsubscriptions, senders return landing pages with a confirmation step to finish the unsubscribe request. A live user would recognize and act on this confirmation step, but an automated system would not. That makes the unsubscription process more complex than a single click.
    1. The standard difference operator (-) returns day-based results for both date, timestamp and timestamp with time zone (the former returns days as int, the latter two return day-based intervals): From the day-based intervals you can extract days with the extract() function: select current_date - '2017-01-01', extract(day from now()::timestamp - '2017-01-01 00:00:00'), extract(day from now() - '2017-01-01 00:00:00Z');
  4. Mar 2024
    1. "its structure is somewhat superior to…those that have come after, fundamentally flawed as they are by their inclusive and hierarchical taxonomy, which each time immediately brings the whole game to a standstill and produces an impasse"
    1. Geeks often enjoy aspects of pop culture, sometimes with an intellectual focus, alone or with friends. This can include things like board games, film (including favorite directors, composers, or key grips), tech gadgets, hacking, and techno music.
    2. Nerds often enjoy aspects of "high culture" and intellectual pursuits, usually alone. Chess, classical music, go, and fine art are examples. Solitary pursuits, like programming and solo gaming, are also common.
    1. have extensively criticized both companies (and generative AI systems in general) for training their models on masses of online data scraped from their works without consent. Stable Diffusion and Midjourney have both been targeted with several copyright lawsuits, with the latter being accused of creating an artist database for training purposes in December.
    1. Autodesk Flex is a pay-as-you-go option that lets you pre-purchase tokens to access any product available with Flex for a daily rate. Rates vary based on the product used. Flex is a great option for team members or individuals who want to try a product or only need occasional access.
    1. Its a powerful software, Adobe is a Horrid company though, and they make everything subscription base, Buy out and monopolize software sweets whenever they can, Generally they are the absolute worst. I recommend learning how to use blender painting or the open source software ARMORPAINT as soon as its available so you don't have to support this scumwater company.In the mean time its the only thing that is widely supported, The united states just needs better consumer protection laws. it all comes down to america's horrid consumer protection laws that make companies like this possible.
    1. without science; in the manner of quacks.

      What on earth? How can this word, which in my experience describes precisely the manner that makes something science, at the same time have a meaning that means "without science" and in the manner of a charlatan? I'd never heard of this meaning before...

    1. The other budgeting tool is the Spending Plan. Most of it flows out of transactions you’ve imported and categorized. This tool takes your income after bills, subscriptions, transfers, and savings are deducted, and subtracts planned spending, which can be one-time purchases or monthly expenses that fluctuate, like groceries and gas.
    1. I just wanted to clarify that Simplifi uses the "Appears on your statement as..." info to apply Payee Rules to downloaded transactions. This is the info that is provided by the bank, not the renaming logic that Simplifi uses. If you have a Payee Rule setup with certain keywords, Simplifi will look for those in the "Appears on your statement as..." info, and then apply the Payee Rule instead of using renaming logic.