software that thinks it knows better than you
- Feb 2023
 - 
            
discussions.apple.com discussions.apple.com
Tags
Annotators
URL
 - 
  
 - 
            
discussions.apple.com discussions.apple.com
- 
  
software that thinks it knows better than you
 
Tags
Annotators
URL
 - 
  
 - 
            
www.codetwo.com www.codetwo.com
- 
  
software that thinks it knows better than you
 
Tags
Annotators
URL
 - 
  
 - 
            
apple.stackexchange.com apple.stackexchange.com
- 
  
But, since they'll automatically encode in rich text if there are any HTML tags placed in the message by the device itself, putting a single space ( ) in the signature via the mail app itself, and then bold/italic-izing said space makes it work.
 
 - 
  
 - 
            
forums.macrumors.com forums.macrumors.com
- 
  
The issue is that Mail isn't behaving as expected. If I tell it to always send messages as Rich Text I expect it to send them as Rich Text no matter what. Instead, sometimes it will send out emails as plain text. This is clearly an issue with Mail. If, for example, you tell your word processor of choice, be it Pages, LibreOffice or Word, to save all your documents as ODF files you expect it to do so no matter what and not to automatically revert to TXT files for documents that you haven't formatted yet without giving you proper notice, thereby preventing you from ever formatting those particular documents in the future.
software that thinks it knows better than you
software doing things without giving you notice
 
 - 
  
 - 
            
answers.microsoft.com answers.microsoft.com
- 
  
This problem has been reported on these forums many, many times over the last few years and MS always quote the same non-answer but never get around to fixing it.
 
 - 
  
 - 
            
github.com github.com
- 
  
Rack::Session was moved to a separate gem. Previously, Rack::Session was part of the rack gem. Not every application needs it, and it increases the security surface area of the rack, so it was decided to extract it into its own gem rack-session which can be updated independently.
 
 - 
  
 - 
            
github.com github.com
- 
  
prefer https://github.com/leandromoreira/redlock-rb over this
 - 
  
Destroys the concurrency of your ruby code using Redis.
 
 - 
  
 - 
            
stackoverflow.com stackoverflow.com
- 
  
The reason is Rails only reads and creates the session object when it receives the request and writes it back to session store when request is complete and is about to be returned to user.
 - 
  
Session race conditions are very common in Rails. Redis session store doesn't help either! The reason is Rails only reads and creates the session object when it receives the request and writes it back to session store when request is complete and is about to be returned to user.
 
 - 
  
 - 
            
- 
  
As you can see from the example, the session cookie is updated on every request, regardless of if the session was modified or not. Depending on when the response gets back to the client last, thats the cookie that will be used in the next call. For example, if in our previous example, if get_current_result’s response was slower than get_quiz, then our cookie would have the correct data and the next call to update_response would of work fine! So sometimes it will work and sometimes not all depending on the internet gods. This type of race condition is no fun to deal with. The implications of this is that using cookie storage for sessions when you are doing multiple ajax call is just not safe.
 - 
  
A better solution would be to use a server side session store like active record or memcache. Doing so prevents the session data from being reliant on client side cookies. Session data no longer has to be passed between the client and the server which means no more potential race conditions when two ajax are simultaneously made!
 
 - 
  
 - 
            
guides.rubyonrails.org guides.rubyonrails.org
- 
  
If you already have an instance of your model, you can start a transaction and acquire the lock in one go using the following code: book = Book.first book.with_lock do # This block is called within a transaction, # book is already locked. book.increment!(:views) end
 
 - 
  
 - 
            
www.martinfowler.com www.martinfowler.com
- 
  
Event Replay: If we find a past event was incorrect, we can compute the consequences by reversing it and later events and then replaying the new event and later events. (Or indeed by throwing away the application state and replaying all events with the correct event in sequence.) The same technique can handle events received in the wrong sequence - a common problem with systems that communicate with asynchronous messaging.
 
 - 
  
 - 
            
www.martinfowler.com www.martinfowler.com
- 
  
As our needs become more sophisticated we steadily move away from that model. We may want to look at the information in a different way to the record store, perhaps collapsing multiple records into one, or forming virtual records by combining information for different places. On the update side we may find validation rules that only allow certain combinations of data to be stored, or may even infer data to be stored that's different from that we provide.
 
Tags
Annotators
URL
 - 
  
 - 
            
www.makeuseof.com www.makeuseof.com
- 
  
If you haven't seen it yet, check out the PinePhone Pro and its docking station. Much like the Steam Deck's docking station, it plugs the phone into a monitor, keyboard, and mouse to turn your phone into a PC.
 - 
  
When Ubuntu was confronted with making Debian user friendly, the issue was speeding up software updates. Manjaro has the opposite issue with Arch and is handling it appropriately.
 
 - 
  
 - 
            
cachyos.org cachyos.org
Tags
Annotators
URL
 - 
  
 - 
            
unix.stackexchange.com unix.stackexchange.com
- 
  
B/ Mainline kernel offers many ways to increase desktop responsiveness without the need to patch or reconfig it. Many tweaks can be activated using the cfs-zen-tweaks you can download and just run but I would advise you just read the very simple code and learn how each of the tweaks impact. Don't hesitate to lower the priority of your cpu-bound processes (compilations, simulations...) and increase the priority of your interactive tasks thanks to the renice command and even change their scheduling policy using chrt Ultimately, you can always pin interrupts to dedicated cpus (setting desired values in /proc/irq/[irq_id]/smp_affinity) , having one in charge of the keyboard and the mouse, another one for the graphic adaptor a third one for the sound card and a fourth one housekeeping for all the possible remaining. Just plenty of solutions left opened without changing a byte in your distro-kernel.
 
 - 
  
 - 
            
stanfordmag.org stanfordmag.org
 - 
            
www.healthline.com www.healthline.com
 - 
            
github.com github.com
- 
  
 - 
  
Sure, eagerly failing loudly would be better also. The outcome is still the same - you wouldn’t be able to do the thing you want, you just would be informed faster.
 - 
  
deleting user files without being asked for is by far an "unsafe in nonzero scenarios" decision, no program should do it. The sane option is to refuse working and/or display a visible warning explaining why.
 - 
  
There should thus be an option to give npm a list of vulnerability IDs (CVEs etc.) that it does not need to defend because the admin has decided it does not apply to their edge case.
should be optional
 
 - 
  
 - 
            
- 
  
If the answer to this is "no" with some set of reasons, that's a perfectly reasonable outcome.
 - 
  
The intent of this RFC is to do that - propose a solution. I do not expect that this solution will go through unanimously and unchanged, but I'd like to get something up that can be talked about and addressed both by the ecosystem and by those thinking about Security in the registry and CLI.
 - 
  
There's been an interest expressed in the ecosystem of having some form of counterclaim for advisories surfaced by npm audit. There's been some discussion of a potential counterclaim mechanism for some time, but I've not seen a solution proposed.
 
 - 
  
 - 
            
medium.com medium.com
- 
  
 - 
  
Scaling a single VCS to hundreds of developers, hundreds of millions lines of code, and a rapid rate of submissions is a monumental task. Twitter’s monorepo roll-out about 5 years ago (based on git) was one of the biggest software engineering boondoggles I have ever witnessed in my career. Running simple commands such as git status would take minutes. If an individual clone got too far behind, it took hours to catch up (for a time there was even a practice of shipping hard drives to remote employees with a recent clone to start out with). I bring this up not specifically to make fun of Twitter engineering, but to illustrate how hard this problem is. I’m told that 5 years later, the performance of Twitter’s monorepo is still not what the developer tooling team there would like, and not for lack of trying.
 - 
  
In very large code bases, it is likely impossible to make a change to a fundamental API and get it code reviewed by every affected team before merge conflicts force the process to start over again.
 - 
  
Developers are faced with two realistic choices. First, they can give up, and work around the API issue (this happens more often than we would like to admit).
 
 - 
  
 - 
            
english.stackexchange.com english.stackexchange.com
 - 
            
en.wikipedia.org en.wikipedia.org
- 
  
One approach to avoiding this kind of problem is regression testing. A properly designed test plan aims at preventing this possibility
The antecedent of "this possibility" is unclear. (Perhaps it used to be clear and then someone else made an edit and added a sentence in between?)
 
Tags
Annotators
URL
 - 
  
 - 
            
www.appsloveworld.com www.appsloveworld.com
- 
  
As mentioned in comment by @Tyler Rick Capybara in these days have methods[ ancestor(selector) and sibling(selector)
 
 - 
  
 - 
            
stackoverflow.com stackoverflow.com
- 
  
Capybaras ancestor and sibling methods are called on an element and take the same parameters as find. They are implemented by locating all elements that match the passed in parameters and intersecting that with the set of ancestor or sibling elements respectively.
 
 - 
  
 - 
            
patrickbrosset.medium.com patrickbrosset.medium.com
 - 
            
www.dekudeals.com www.dekudeals.com
 - 
            
www.iubenda.com www.iubenda.com
- 
  
Apple can afford to make user privacy a priority AND be very strict about cookies because its revenue does not strongly depend on advertising.
 
 - 
  
 - 
            
store.steampowered.com store.steampowered.com
- 
  
Discolored doesn't answer any questions like why the color is gone, why it's your job to fix them or how you even can, or why the player should even care about fixing the color; Discolored just tells you to do it.
 
 - 
  
 - 
            
Tags
Annotators
URL
 - 
  
 - 
            
rebrickable.com rebrickable.com
- 
  
Premium MOC tax support. Yaay, taxes. I think this one takes the award for most effort required to implement a feature that no-one really wants.
 
 - 
  
 - 
            
www.bricklink.com www.bricklink.com
- 
  
eBay got jealous when Dan’s site began to grow in leaps and bounds and made him change his name to Bricklink two years later.
Can they really do that? The name seems different enough?
 - 
  
 
Tags
Annotators
URL
 - 
  
 - 
            
rebrickable.com rebrickable.com
- 
  
Post a publicly viewable comment on the MOC asking why you haven't received it yet
 
 - 
  
 - 
            
rubystyle.guide rubystyle.guide
- 
  
to break up methods into logical paragraphs internally.
Interesting to call them "paragraphs" :)
 
 - 
  
 - 
            
graphql.org graphql.org
- 
  
[Episode!]! represents an array of Episode objects. Since it is also non-nullable, you can always expect an array (with zero or more items) when you query the appearsIn field. And since Episode! is also non-nullable, you can always expect every item of the array to be an Episode object.
Note that this still allows an empty array,
[]. It only disallows:nulland[null]. 
 - 
  
 - 
            
www.leblancwingchun.com www.leblancwingchun.com
- 
  
So, when fighting, one should fix one's eyes firmly on the target with only one idea in mind, that of attacking the enemy most simply and directly.
.
 - 
  
Having excessive ideals with regard to fighting will cause one to be far too nervous. Wing Chun theory is flawless indeed if one can accomplish it absolutely, but a theory is only just a theory, never can a person reach such a state of perfection, human beings are all apt to make mistakes at some time or another.
no one is perfect
 - 
  
We welcome your feedback on the accessibility of this site. If you have specific questions or feedback about this site's accessibility or need assistance using specific features, please contact us. If you have found an inaccessible area on the site, please specify the web page or element, and provide any other relevant information to help us locate the problem. In the event a page cannot be made accessible, we will work with you to make a text version of the content available. Please contact us via telephone or email to request a specific electronic format. Additionally, please provide us with your contact information, the format you require, the web page address, and the location of the content. We welcome your questions about this accessibility statement and comments on how to improve our website's accessibility.
 
 - 
  
 - 
            
github.com github.com
- 
  
Strip unsafe tags, leaving behind only the inner text. Prune unsafe tags and their subtrees, removing all traces that they ever existed. Escape unsafe tags and their subtrees, leaving behind lots of < and > entities. Whitewash the markup, removing all attributes and namespaced nodes.
 - 
  
It includes some nice HTML sanitizers, which are based on HTML5lib's safelist, so it most likely won't make your codes less secure. (These statements have not been evaluated by Netexperts.)
 
Tags
Annotators
URL
 - 
  
 - 
            
stackoverflow.com stackoverflow.com
- 
  
You can simulate a pre-checkout git hook:
 - 
  
Result of lots of searching on net is that pre-checkout hook in git is not implemented yet. The reason can be: There is no practical use. I do have a case It can be achieved by any other means. Please tell me how? Its too difficult to implement. I don't think this is a valid reason
 
 - 
  
 - 
            
stackoverflow.com stackoverflow.com
- 
  
If you want a workaround for the case where you can't just replace key with a string literal, you could write your own user-defined type guard function called hasProp(obj, prop). The implementation would just return prop in obj, but its type signature explicitly says that a true result should cause obj to be narrowed to just those union members with a key of type prop: function hasProp<T extends object, K extends PropertyKey>( obj: T, prop: K ): obj is Extract<T, { [P in K]?: any }> { return prop in obj; } and then in your function, replace key in a with hasProp(a, key): function f3(a: A) { const key = 'b'; if (hasProp(a, key)) { return a[key]; // okay } return 42; }
 
 - 
  
 - 
            
medium.com medium.com
- 
  
The variable x initially has the type unknown: the type of all values. The predicate typeof x === "number" extracts dynamic information about the value bound to x, but the type-checker can exploit this information for static reasoning. In the body of the if statement the predicate is assumed to be true; therefore, it must be the case the value bound to x is a number. TypeScript exploits this information and narrows the type of x from unknown to number in the body of if statement.
 
 - 
  
 - 
            
datatracker.ietf.org datatracker.ietf.org
Tags
Annotators
URL
 - 
  
 - 
            
en.wikipedia.org en.wikipedia.org
 - 
  
 - 
            
blog.appsignal.com blog.appsignal.com
- 
  
The majority of real-world software benefits from the fast warm-up and performance enhancements provided by the YJIT basic block versioning JIT compiler.
 
 - 
  
 - Jan 2023
 - 
            
wordpress.org wordpress.org
- 
  
Do Not Post About Commercial Products For support of commercial themes or plugins, go to the official support channel. In order to be good stewards of the WordPress community, and encourage innovation and progress, we feel it’s important to direct people to those official locations. Doing this will provide the developer with the income they need to make WordPress awesome. Forum volunteers are also not given access to commercial products, so they would not know why a commercial theme or plugin is not working properly. Ultimately, the vendors are responsible for supporting their commercial product. If you are a vendor and observe someone asking questions about your paid plugin or theme, please direct them towards your own support resources.
 
Tags
Annotators
URL
 - 
  
 - 
            
stackoverflow.com stackoverflow.com
- 
  
As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center. – Community Bot
How can a bot judge that the answer is unclear?
Why doesn't it also suggest what about it is unclear and suggestions for improving it while it's at it?
 
 - 
  
 - 
            
documentation.mailgun.com documentation.mailgun.com
- 
  
Mailgun is primarily a developer’s tool so the best way use Mailgun is through our APIs.
developers first API first
 
 - 
  
 - 
            
rubystyle.guide rubystyle.guide
- 
  
Do not separate numbers from letters on symbols, methods and variables.
Okay... Why not?
 - 
  
These words are redundant and inconsistent with the style of boolean methods in the Ruby core library, such as empty? and include?.
 
Tags
Annotators
URL
 - 
  
 - 
            
stackoverflow.com stackoverflow.com
 - 
            
stackoverflow.com stackoverflow.com
- 
  
click_link('Create Account', match: :first) It's better than first(:link, 'Create Account').click as it will wait till at least one Create Account link will appear on the page. However I believe it's better to choose unique locator that doesn't appear on the page twice.
 
 - 
  
 - 
            
rails.rubystyle.guide rails.rubystyle.guide
- 
  
Since Rails creates callbacks for dependent associations, always call before_destroy callbacks that perform validation with prepend: true.
 
 - 
  
 - 
            
bugs.ruby-lang.org bugs.ruby-lang.org
- 
  
This depends on the ruby code. Some projects will be semi-dormant due to various reasons. That's for us to address as a community. Are we going to let a single decade-old gem prevent us from moving Ruby forward? What's the threshold? There's libraries out there that don't work on Ruby 1.9. We left them behind or replaced them. And are people depending on a gem that's unmaintained really going to be the ones to jump on Ruby 3.0 the day after Christmas 2020? This is also still supposition. Name some gems that are unmaintained and in wide use. We can fix them! We have the technology! In my opinion, if matz's objective is to make the transition to ruby 3.0 simple, then it actually makes a lot of sense to postpone frozen strings by default. Postpone until when? 3.1? So then 3.1 will be the hard break? They've been discussed for what, ten years now? How long is long enough? We've added many ways for people to start transitioning to immutable literal strings, and people are using those mechanisms widely. We've pushed this transition a long time, and we still have another year until 3.0 is out and longer than that until people will need to make a move. What is the threshold for being "ready" to make this change? Unless we're planning to wait until Ruby 4.0 in 2030 to do this, I think we should do it now. I use frozen strings in most of my ruby projects, most of them set to true via the toplevel comment, so either way, it would not affect me. Exactly. Most people already do use frozen string literals. And adding a pragma means we can transition troublesome code to the new way with a single line per affected file. Heck, we can even add --enable:mutable-literal-string for people that are stuck with some of that old unmaintained code, allowing them to have a soft landing.
 - 
  
I guess the interaction between the "false" state and the current runtime default is what has me confused. I see "true" and "false" here more like "on" and "off", and if frozen-string-literal is off, to me that means it does nothing at all and whatever defaults are in place take effect.
 - 
  
I'm still against frozen-string-literal by default. It is arguable if the string creation limits performance so much in real-world programs. We need to first measure how much Ruby can be faster by frozen-string-literal. If it is not significant, Ruby should prefer dynamics and flexibility.
 - 
  
 
 - 
  
 - 
            
stackoverflow.com stackoverflow.com
- 
  
because most languages treat strings as immutable, which helps ensure you don't accidentally modify them and can improve performance. Fewer state changes in a program mean less complexity. It's better to opt-in to mutability after careful consideration rather than making everything mutable by default. What is immutability and why should I worry about it? may help.
 
 - 
  
 - 
            
github.com github.com
- 
  
https://github.com/collectiveidea/delayed_job/issues/1099 had possibly helpful solutions
Duplicate at: https://groups.google.com/g/delayed_job/c/5fsuBCZX1Ak
 
 - 
  
 - 
            
github.com github.com
- 
  
Until we release 2.0 you should continue to use 1.6.4, which can be found at bblimke/webmock.
https://github.com/bblimke/webmock is at 3.18.1 so this repo is apparently abandoned and should be archived
 
Tags
Annotators
URL
 - 
  
 - 
            
joshfrankel.me joshfrankel.me
- 
  
bundle update rails-controller-testing --conservative. The –conservative flag says when updating this gem do no update any of its dependencies. Using the –conservative flag with bundle is really useful for minimizing changesets as well as avoiding upgrading things that you don’t need to upgrade.
 
 - 
  
 - 
            
www.kickstarter.com www.kickstarter.com
- 
  
Judge Domino is a game in which players judge if toppling a line of dominoes will succeed or fail. Players take turns adding to the line, but to score points, you must make others think that the toppling will fail. Can you baffle other players' judgment?
 
 - 
  
 - 
            
www.kickstarter.com www.kickstarter.com
- 
  
pretty map
 
 - 
  
 - 
            
www.kickstarter.com www.kickstarter.com
 - 
            
www.kickstarter.com www.kickstarter.com
- 
  
from writer, Jordan Mathews
no comma
 
 - 
  
 - 
            
stackoverflow.com stackoverflow.com
- 
  
In ~/.githelpers, define a bash function:
 
 - 
  
 - 
            
stackoverflow.com stackoverflow.com
- 
  
There's a fundamental error in your question: commits are not diffs; commits are snapshots. This might seem like a distinction without a difference—and for some commits, it is. But for merge commits, it's not.
 - 
  
For ordinary commits, it's trivially obvious what to compare: compare this commit's snapshot to the previous (i.e., parent) commit's snapshot. So that is what git show does (and git log -p too): it runs a git diff from the parent commit, to this commit. Merge commits don't have just one parent commit, though. They have two parents.1 This is what makes them "merge commits" in the first place: the definition of a merge commit is a commit with at least two parents.
 
 - 
  
 - 
            
stackoverflow.com stackoverflow.com
- 
  
I suspect that this is an NP-hard problem. Would you prefer a greedy solution, or a computationally infeasible one?
 - 
  
Regex can do many things, but unbaking a cake isn't one of them.
 
 - 
  
 - 
            
datatracker.ietf.org datatracker.ietf.orgrfc67493
- 
  
If the client knows the access token expired, it skips to step (G); otherwise, it makes another protected resource request.
It doesn't have to wait until it gets an invalid token error. It can independently be checking the expiration time before making a request, and if it sees that it has expired, don't even bother making the request, just skip directly to using the refresh token.
 - 
  
Figure 2: Refreshing an Expired Access Token
 - 
  
Unlike access tokens, refresh tokens are intended for use only with authorization servers and are never sent to resource servers.
Interesting observation...
 
 - 
  
 - 
            
www.metacritic.com www.metacritic.com
- 
  
ou play a level of one hole and then move onto the next stage to play another hole.
onto -> on to
 
Tags
Annotators
URL
 - 
  
 - 
            
guides.rubyonrails.org guides.rubyonrails.org
- 
  
belongs_to does not ensure reference consistency, so depending on the use case, you might also need to add a database-level foreign key constraint on the reference column, like this: create_table :books do |t| t.belongs_to :author, foreign_key: true # ... end
 
Tags
Annotators
URL
 - 
  
 - 
            
stackoverflow.com stackoverflow.com
- 
  
class String alias strip_ws strip def strip chr=nil return self.strip_ws if chr.nil? self.gsub /^[#{Regexp.escape(chr)}]*|[#{Regexp.escape(chr)}]*$/, '' end end
 - 
  
No, in Python "[ [] foo [] boo [][]] ".strip(" []") returns "foo [] boo".
I would have expected it would remove the string " []", not the occurrences of any of the characters within the string...
 - 
  
There is no such method in ruby, but you can easily define it like: def my_strip(string, chars) chars = Regexp.escape(chars) string.gsub(/\A[#{chars}]+|[#{chars}]+\z/, "") end
 - 
  
wer lesen kann, ist klar im Vorteil
 
 - 
  
 - 
            
- 
  
That tends to be the biggest cop out excuse for libraries. Just do a major version release. The fact this library lies about the encodingis extremely problematic and causes numerous bugs. Any program currently using this library is already incorrect because of this behavior. Actually exposing the problem makes it easier for people to fix.
in reply to subject of https://hyp.is/VeTJlpN0Ee2mNKOVyQ-B5g/github.com/mikel/mail/issues/902
 - 
  
Agree, but we're stuck with API compatibility for a good while.
 
 - 
  
 - 
            
- 
  
 - 
  
And misunderstandings so easily occur here, when we're talking about encodings, but not those encodings, the other encoding, which is really charset. And it's especially hard because you can't visually tell the difference and in so many cases everything still works even though it is wrong.
 
 - 
  
 - 
            
ubuntuforums.org ubuntuforums.org
- 
  
Did you see the rest of my post too? If you are reading the replies only in email, don't. Visit the forum and open the thread. Because when we edit a post, you don't receive the modification by email, only the initial post. I added few things to my last one...
 
 - 
  
 - 
            
www.golinuxcloud.com www.golinuxcloud.com
Tags
Annotators
URL
 - 
  
 - 
            
sleeplessbeastie.eu sleeplessbeastie.eu
 - 
            
www.tri-cityherald.com www.tri-cityherald.com
- 
  
In short, the agency put forth a rule that addresses the problem head-on without prevaricating or kowtowing to corporate America.
 
 - 
  
 - 
            
www.merriam-webster.com www.merriam-webster.com
- 
  
Nice try, but it's still full of exceptions. To make the above jingle accurate, it'd need to be something like: I before e, except after c Or when sounded as 'a' as in 'neighbor' and 'weigh' Unless the 'c' is part of a 'sh' sound as in 'glacier' Or it appears in comparatives and superlatives like 'fancier' And also except when the vowels are sounded as 'e' as in 'seize' Or 'i' as in 'height' Or also in '-ing' inflections ending in '-e' as in 'cueing' Or in compound words as in 'albeit' Or occasionally in technical words with strong etymological links to their parent languages as in 'cuneiform' Or in other numerous and random exceptions such as 'science', 'forfeit', and 'weird'.
 
 - 
  
 - 
            
www.mailgun.com www.mailgun.com
- 
  
The Templates API allows you to store, version, duplicate, and delete any templates on your account.
Duplicate? How do you duplicate? We want this ability,but could not find it.
 
 - 
  
 - 
            
- 
  
Diet YAML is a light weight version of YAML that removes much of the complex aspects of the mainline YAML specification.
 
 - 
  
 - 
            
- 
  
Because endpoints are URLs, you can – and should – monitor them to ensure they stay online. When talking about online services and websites, you’ll often hear the word “uptime”. This is the percentage of time your application stays up – in other words, the percentage of time your app is accessible and functioning. Outages and performance errors will lower your overall percentage.Monitoring your endpoints also gives you metrics on which endpoints are being accessed and what types of API calls developers are making. This can help you track user behavior, and gain insight into which endpoints are highly trafficked so you can maintain your performance.
 - 
  
As an email service provider (ESP), Mailgun’s API support is all about programmatic solutions to make your email program more efficient and successful at scale. Our email API is a specific type of API that you can use to connect your web app or platform to an ESP to use its features within your own application.
 
 - 
  
 - 
            
- 
  
This will no longer be necessary if this MR is merged #101
 
 - 
  
 - 
            
github.com github.com
- 
  
If this MR had been merged it would have saved us a lot of time and trouble.
 - 
  
Do you plan to continue merging MR and releaseing new versions for this Gem? I don't think there is any similar gem like this, so it would be sad to see it fade away.
 
 - 
  
 - 
            
www.postgresql.org www.postgresql.org
- 
  
The array subscript numbers are written within square brackets. By default PostgreSQL uses a one-based numbering convention for arrays, that is, an array of n elements starts with array[1] and ends with array[n].
 
 - 
  
 - 
            
guides.rubyonrails.org guides.rubyonrails.org
- 
  
You can use ActiveRecord::Tasks::DatabaseTasks.structure_dump_flags to configure pg_dump. For example, to exclude comments from your structure dump, add this to an initializer: ActiveRecord::Tasks::DatabaseTasks.structure_dump_flags = ['--no-comments']
 - 
  
 
 - 
  
 - 
            
- 
  
with a low level understanding of computing and tech
Does "low level" here mean "not much" or a lot (he's familiar with the low level of these technologies)?
 
 - 
  
 - 
            
www.reddit.com www.reddit.com
- 
  
I was very surprised to discover that Finder has no native SFTP integration. As an everyday Gnome user, it is unbelievable to me, how this can even be
 
 - 
  
 - 
            
www.bricklink.com www.bricklink.com
 - 
            
learnsql.com learnsql.com
- 
  
 - 
  
The best way to learn common table expressions is through practice. I recommend LearnSQL.com's interactive Recursive Queries course. It contains over 100 exercises that teach CTEs starting with the basics and progressing to advanced topics like recursive common table expressions.
 
 - 
  
 - 
            
webapps.stackexchange.com webapps.stackexchange.com
 - 
            
- 
  
It's usually undesirable to add a default scope. It will take more effort to work around and will cause more headaches. If you know you need a default scope, it's easy to add yourself .
 - 
  
dependent: :destroy associations are deleted when performing soft-destroys requiring any dependent records to also be acts_as_paranoid to avoid losing data.
 - 
  
I've worked with and have helped maintain paranoia for a while. I'm convinced it does the wrong thing for most cases. Paranoia and acts_as_paranoid both attempt to emulate deletes by setting a column and adding a default scope on the model. This requires some ActiveRecord hackery, and leads to some surprising and awkward behaviour.
 
 - 
  
 - 
            
- 
  
paranoia has some surprising behaviour (like overriding ActiveRecord's delete and destroy) and is not recommended for new projects. See discard's README for more details. Paranoia will continue to accept bug fixes and support new versions of Rails but isn't accepting new features.
 - 
  
paranoia has some surprising behaviour (like overriding ActiveRecord's delete and destroy)
 
 - 
  
 - 
            
kmitov.com kmitov.com
- 
  
The solution is pretty simple. In the MaterialsController just show all the materials that do not have a :deleted_at column set. In the MaterialsTrashController just show only the Materials with :delete_at controller. I can solve the whole problem with one simple filter that would take me like 1 minute to implement. We don’t need any of the problems above. They simply will not exist.
 - 
  
But it does not work, because the association with authors will return empty authors for the Material as the materials are also soft deleted.
 - 
  
The problem is that Globalize knows nothing about acts_as_paranoid. You can delete a Material, and it should delete the translations, but when you try to recover the Material then there is an error because of how the translations are implemented and the order in which the translations and the Material are recovered. Which record should be recovered first?
 - 
  
Remember that the Material has all of its translations for the title in a table that just got soft deleted. So the correct answer is “nil”. The title of the delete material is nil.
 - 
  
You can workaround this with material.translations.with_deleted.where(locale: I18n.locale).first.title But this is quite ugly.
 - 
  
 
 - 
  
 - 
            
ideas.salesforce.com ideas.salesforce.com
- 
  
idea voting system (like UserVoice) for SalesForce
 
 - 
  
 - 
            
help.mailgun.com help.mailgun.com
- 
  
check the Subject Line Preview tool to preview your email subject line on a variety of clients
e-mail subject lines
 
 - 
  
 - Dec 2022
 - 
            
- 
  
Breaking other user's YAML overrides is not a big deal as long as this was clearly stated in the docs and the version number is bumped accordingly.
 
Tags
Annotators
URL
 - 
  
 - 
            
- 
  
2. Use a preference center The best way to know what topics your subscribers care about and how frequently they want to hear from your brand is to ask them. Create an email preference center so when an individual goes to subscribe to your email list, they have the power to opt-in and out of specific forms of communication. For example, maybe an individual only wants to know when you’re having sales but doesn’t care to receive your monthly newsletter and weekly marketing emails. The preference center allows them to self-select which of these emails they receive, allowing you to send more targeted emails without pestering your recipients.
.
 
 - 
  
 - 
            
www.facebook.com www.facebook.com
- 
  
I was thinking this morning how House Church is much like a wagon train going across the wilderness. By the time you get to your destination, you know everything about everyone on that train. You help each other and protect each other and become bonded together. The institutional church is like a high-speed bullet train. It's more comfortable, more efficient and takes you the same distance in a shorter amount of time. Also you have barely enough time to get acquainted with 1 or 2 people.
 - 
  
For those who can hear. When you name you divide. There is zero biblical precedent for naming a certain group of believers .... Identify with the body of Christ in your area .... We are exhorted to, "let there be no division among you".The only use of "churches" plural in scripture refers to the church in different locations. There was no such thought of "churches" within one locality. Love you all and pray more will see this so the world may see we are one and know that Jesus was sent by the Father.It's important John 17:20-23
 - 
  
no need any name whatsoever bro It's who we are that's important.
 - 
  
Often it helps to have the location or region in the name, a mountain near you or the name of the valley you are in, or a creek, stream or river. What says 'home' about where you are?
 - 
  
Pleeaasse don't give "it" a name.There is no "it". You believers are part of the church in your location and you meet together.There is zero biblical precedent for a group of believers giving their particular group a name.I understand that nearly all believers do .... That in no way makes it right.Names seperate us from others of the church in our area.
 - 
  
Paul TrosclairHow is it biblical to name a church ?2wBeth BalmesPaul Trosclair geographical. E.g.Church in Corinth. Church in Ephesus.2wJohanna WhittakerBeth Balmes .. Paul's letters were to the CHURCHES (ekklesia) in ...
 - 
  
If you practice the error of "We are of Paul", or "We are of Apollos" , that's rank heresy.
 
 - 
  
 - 
            
- 
  
whereas division implies separation (“portion,” “piece,” “unit”) diversity implies variety within a whole (“assortment,” “heterogeneity”)
 - 
  
But, like the British before us, the Russian Czar, or the Weimar Republic, who can define where revolution originates? They all had at least one thing in common: they were all caught by surprise.
.
 - 
  
 - 
  
I once had a cut on my arm. Someone asked me, is it serious? “It depends,” I replied, “on how much I scratch.”
 
 - 
  
 - 
            
www.desiringgodchurch.org www.desiringgodchurch.org
 - 
            
www.leicesterfcc.org www.leicesterfcc.org
- 
  
In essentials, unity; in non-essentials, liberty; in all things, charity (kindness). Now we may not even agree about what the essentials are, but the key, I think, is that last bit – in all things, charity. Hold a generous heart for all, whether they agree with you or disagree with you.
 
 - 
  
 - 
            
www.facebook.com www.facebook.com
- 
  
4NO POSTING OR UPLOADING VIDEOS OF ANY KINDTo protect the quality of our group & prevent members from being solicited products & services - we don't allow any videos because we can't monitor what's being said word for word. Written post only.
annotation meta: may need new tag: - can't effectively monitor
 - 
  
3NO SELF PROMOTION, RECRUITING, OR DM SPAMMINGMembers love our group because it's SAFE. We are very strict on banning members who blatantly self promote their product or services in the group OR secretly private message members to recruit them.
 - 
  
2NO POST FROM FAN PAGES / ARTICLES / VIDEO LINKSOur mission is to cultivate the highest quality content inside the group. If we allowed videos, fan page shares, & outside websites, our group would turn into spam fest. Original written content only
 - 
  
1NO POSTING LINKS INSIDE OF POST - FOR ANY REASONWe've seen way too many groups become a glorified classified ad & members don't like that. We don't want the quality of our group negatively impacted because of endless links everywhere. NO LINKS
 
Tags
- impractical
 - rules/policies
 - anti-spam
 - prefer text content/transcript over audio/video
 - rules/policies: original content only
 - rules/policies: no posting links
 - preventing abuse
 - strict rules/policies
 - "original content only"
 - Facebook group
 - rules/policies: no promotion
 - guidelines
 - too much content/information
 
Annotators
URL
 - 
  
 - 
            
andyet.com andyet.com
- 
  
Web and mobile apps, SPAs, and SAAS products with thoughtful UX and robust implementation.
 
Tags
Annotators
URL
 - 
  
 - 
            
blog.andyet.com blog.andyet.com
- 
  
Anyway, through that process, we were able to see just how many competing priorities we had as an organization, and that we needed to stop testing the waters and actually commit to one specific direction.
 
 - 
  
 - 
            
www.viget.com www.viget.com
- 
  
Since there is no measurable performance advantage for either, any time (however marginal) spent thinking or talking about a choice between the two is wasted. When you prefer single quoted strings, you have to think when you need interpolation. When you use double quoted strings, you never have to think. (I'd also add, anecdotally, that apostrophes are more prevalent in strings than double quotes, which again means less thinking when using double-quoted strings.) Therefore always using double-quoted strings results in the least possible wasted time and effort.
 
 - 
  
 - 
            
github.com github.com
- 
  
 - 
  
For the record, I've changed my position. I now follow that rule (of single quoting unless needed) and love it. I like it visually and it's slightly more explicit, since there's no need to parse the string to see if it contains any expression.
 - 
  
Thinking it might be about performance is plain wrong for at least two reasons. Please read this info about the performance aspect
 
 - 
  
 - 
            
medium.com medium.com
- 
  
In this case, if the constant Admin::User was already loaded at the time Admin::UserManager.all was called, then it would return Admin::User objects.However, if Admin::User was not yet auto-loaded, but User was, Admin::UserManager.all would instead return User objects!
 
 - 
  
 - 
            
edgeguides.rubyonrails.org edgeguides.rubyonrails.org
- 
  
That may be fine, but if you prefer you can also pass overrides to the inflectors used by the autoloaders: # config/initializers/zeitwerk.rb Rails.autoloaders.main.inflector.inflect("vat" => "VAT") Copy With this option you have more control, because only files called exactly vat.rb or directories exactly called vat will be inflected as VAT. A file called vat_rules.rb is not affected by that and can define VatRules just fine. This may be handy if the project has this kind of naming inconsistencies.
 
 - 
  
 - 
            
github.com github.com
- 
  
I assume that the goal of synchronizing timestamps is so that the primary record and its Version can be correlated by future reporting queries. I've always thought this is an odd feature, given that said correlation can be more reliably and performantly achieved by use of the foreign key (item_id). So, I'd like to suggest that we add an option to disable this feature. For the new option's name, I'll suggest synchronize_version_creation_timestamp. It would be true by default. has_paper_trail(synchronize_version_creation_timestamp: false) I'm open to disabling this feature by default, in a future major release, after a reasonable deprecation period.
 
 - 
  
 - 
            
www.youtube.com www.youtube.com
Tags
Annotators
URL
 - 
  
 - 
            
www.humblebundle.com www.humblebundle.com
Tags
Annotators
URL
 - 
  
 - 
            
www.blendermarket.com www.blendermarket.com
Tags
Annotators
URL
 - 
  
 - 
            
apidocs.getresponse.com apidocs.getresponse.com
- 
  
GET if to obtain information. There should not be any "body" data sent with that request. This will not trigger error, but we just simply don't look there in GET request. Only query string parameters ale allowed. This request will never change anything, you can call it as many times as you want. It is called that GET is IDEMPOTENT request. POST is to add new or modify existing information. If request url doesn't contain resource ID then we will treat that as new data that must be inserted. If you want to modify existing data you need to specify an ID in the Rrequest URL (like POST /contacts/hg5fF). POST is NOT IDEMPOTENT, you need to be carefull to not send the same request twice... DELETE is only to remove infomration. As a general rule we do not allow to add any "body" data to that type of request nor we allow any query string. This should be just simply DELETE /contacts/hg5fF.
 
 - 
  
 - 
            
apireference.getresponse.com apireference.getresponse.com
- 
  
Our API v3 uses the terminology from the previous version of GetResponse. Campaigns and lists are the same resource under a different name. For now, please refer to lists as campaigns. Our API v4 will use the updated terminology.
 
Tags
Annotators
URL
 - 
  
 - 
            
store.steampowered.com store.steampowered.com
- 
  
I'm glad this isn't a lego set because it would cost you an arm, a leg, a nose, a kidney, your children, your siblings, your siblings-in-law, a boat, a lot of money, the London Borough of Haringey, the Eiffel Tower, your 1st cousins, a pool, Poole, a guy named Paul, Long Island, your life savings, nuclear launch codes, another lego set, thirteen domestic cats (Scottish Fold), most of your house, Birmingham, AL, your daily income, everyone who died in the Napoleonic Wars, $30,000,000,000,000,000,000,000,000,000 and £30,000,000,000,000,000,000,000,000,000, Zimbabwe, Lesotho, Angola, Namibia, Ethiopia, Mauritania, Canada, Cuba, Jamaica, The Bahamas, Georgia (country), Georgia (US state), every single person from Bosnia and Herzegovina and your time. Luckily, it doesn't.
 
 - 
  
 - 
            
www.tp-link.com www.tp-link.com
- 
  
Simplify network topology by connecting only one end-device to the TP-Link device. DO NOT connect any other devices like modem or server because those may have an impact on the running of web-based management server of the TP-Link or your end-device.
 
 - 
  
 - 
            
community.tp-link.com community.tp-link.com
- 
  
This is a terrible idea. At least if there's no way to opt out of it! And esp. if it doesn't auto log out the original user after some timeout.
Why? Because I may no longer remember which device/connection I used originally or may no longer have access to that device or connection.
What if that computer dies? I can't use my new computer to connect to admin UI without doing a factory reset of router?? Or I have to clone MAC address?
In my case, I originally set up via ethernet cable, but after I disconnected and connected to wifi, the same device could not log in, getting this error instead! (because different interface has different mac address)
 
 - 
  
 - 
            
documentation.mailgun.com documentation.mailgun.com
- 
  
It is possible to use values defined via v: option or X-Mailgun-Variables in your templates. However if you do so, the variables are included in the delivered message via the X-Mailgun-Variables header. If this is not desired, use the t:variables option or X-Mailgun-Template-Variables header instead.
Why are they included in a header? Indeed that is not desired. So why not just not do that? Why is it different if you use
t:variables? Why the inconsistency? - 
  
To help you better understand the configuration possibilities and potential issues, take a look at the following table. Take into account the type of threat you are concerned with when making your decision on how to configure sending settings.
 
 - 
  
 - 
            
github.com github.com
- 
  
When configuring SMTP settings in an after_initialize block, the settings aren't picked up by ActionMailer. This leads to runtime errors, since ActionMailer tries the default settings.
 - 
  
This still seems like a bug, as the expected behavior doesn't occur and it's difficult (for someone unfamiliar with the inner workings of ActionMailer) to debug. I spent a good half an hour figuring out the work around, so I'm trying to prevent others from experiencing the same thing.
 
 - 
  
 - 
            
ktomk.github.io ktomk.github.io
- 
  
YAML parsing is normally considered hard (complicated as the syntax is complex). With all due respect, personally I can adhere to that in part, the YAML specification appears to be at (isolated) places hard to read despite me self-imagined being trained over decades into reading publicly available specifications (in not my first language). To be fair, it is one of the very few specs that has graphics and by the nature of its formulation, compilers are hard to read as well.
 - 
  
JSON is a similar, perhaps even more popular, format (and almost[!] a subset of YAML 1.2).
almost eh?
 
 - 
  
 - 
            
docs.docker.com docs.docker.com
- 
  
Compose V2 has been re-written in Go, which improves integration with other Docker command-line features, and allows it to run natively on macOS on Apple silicon, Windows, and Linux, without dependencies such as Python.
 - 
  
Introduction of the Compose specification makes a clean distinction between the Compose YAML file model and the docker-compose implementation.
 
 - 
  
 - 
            
- 
  
 - 
  
first sighting was at: https://docs.docker.com/compose/compose-v2/
 - 
  
While this offers flexibility to address many operator use cases, it makes simple use cases, like the developer use case, more complicated to express than they need to be.
annotation meta: may need new tag: - developer use case - more complicated to express than they need to be.
 - 
  
Projects like Kompose or Okteto Stacks show how the simpler Compose model can be translated into Kubernetes API payloads
 - 
  
platform-agnostic
 - 
  
make the Compose file the source of truth for development and deployment
 
 - 
  
 - 
            
stackoverflow.com stackoverflow.com
- 
  
This variable supports multiple Compose files separated by a path separator (on Linux and macOS the path separator is :, on Windows it is ;). For example: COMPOSE_FILE=docker-compose.yml:docker-compose.prod.yml.
 - 
  
The path separator can also be customized using COMPOSE_PATH_SEPARATOR.
 
 - 
  
 - 
            
github.com github.com
- 
  
the main feature I miss is to be able to declare abstract services (that should never be runned but could be used to group common properties of services for convenience).
 - 
  
I understand that multiple -f options fits almost the bill, but it doesn't always work. For example, I rather often change the name of the abstract service into something that is more meaningful in the context of the project at hand. This is something that the overriding that occurs with multiple -f options does not support.
 - 
  
I understand that multiple -f options fits almost the bill, but it doesn't always work. For example, I rather often change the name of the abstract service into something that is more meaningful in the context of the project at hand. This is something that the overriding that occurs with multiple -f options does not support. I would not mind loosing the exact extends though, as long as their is some other way to "instantiate" an abstract service in a file.
 - 
  
# Due to lack of "expressivity" in Compose, we define our own couple of service # "pseudo-types": # # - image-only services (name: *-image) # # The only goal of these is to build images. No other services build images. # # These have entrypoint overridden to exit immediately. # # - base services (name: *-base) # # These contain common configuration and are intended to be extended. # # Their command (not entrypoint, to keep the original one) is overridden to # exit immediately. Service must support a command to exit immediately. # # - task services (name: *-task) # # These are intended for running one-off commands. # # Their default command is overridden to exit immediately. Service must # support a command to exit immediately. # # - "real" services # # These are actual services that stay up and running.
 
 - 
  
 - 
            
forum.audacityteam.org forum.audacityteam.org
- 
  
Flatpaks are comfortable for users. It does not matter if you're on Debian, Linux Mint or Fedora. It won't break your system as aplications eg. from ppas etc. Distributions are not coming with updates of Audacity, so installations of it are a big problem. Flatpaks solve it...
 - 
  
I have yet to see a Snapd or Flatpak build of Audacity that I'm happy with. Those builds are beyond our control as they are made by 3rd parties. I do find it mildly annoying that Flatpak direct users that have problems with their builds to us.
annotation meta: may need new tag: the runaround?
 
 - 
  
 - 
            
askubuntu.com askubuntu.com
- 
  
Indeed, but the proliferation of general purpose keyboards with OS/2 logo keys has never come to pass... I think most of the keys are either windoze or half-eaten apples...
 
 - 
  
 - 
            
- 
  
Evrone always encourages the developers to work on what they love and contribute back to the software world by writing open-source, that's how Cuprite Ruby driver for Capybara was born.
 
 -