- Last 7 days
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
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.
-
-
- Nov 2022
-
hub.docker.com hub.docker.com
-
Note: This repo does not publish or maintain a latest tag. Please declare a specific tag when pulling or referencing images from this repo.
-
-
blog.phusion.nl blog.phusion.nl
-
That is, instead of properly reaping adopted processes, it's probably expecting another init process to do that job, and rightly so.
-
- Sep 2022
-
github.com github.com
-
The RuboCop way is to offer an opinion in the way of a good default, but to accommodate all reasonable style choices.
-
-
stackoverflow.com stackoverflow.com
-
If we ever moved a file to a different location or renamed it, all its previous history is lost in git log, unless we specifically use git log --follow. I think usually, the expected behavior is that we'd like to see the past history too, not "cut off" after the rename or move, so is there a reason why git log doesn't default to using the --follow flag?
-
-
stackoverflow.com stackoverflow.com
-
Note: Git 2.6+ (Q3 2015) will propose that in command line: see "Why does git log not default to git log --follow?" Note: Git 2.6.0 has been released and includes this feature. Following path changes in the log command can be enabled by setting the log.follow config option to true as in: git config log.follow true
-
- Aug 2022
-
docs.gitlab.com docs.gitlab.com
-
New functionality is typically implemented with first class objects that import behavior from issues via shared concerns.
How does this cause problems?
-
-
github.com github.com
-
Thus my docs recommendation of public function beforeFilter(Event $event) // do not render out the now inconsistent one for is(json) if (!$this->request->is('jsonapi')) { throw new NotFoundException('Invalid access, use application/vnd.api+json for Content-Type and Accept.'); } } to specifically only whitelist the desired jsonapi for the general use case.
-
A default baked app has all those included. Thats why I am saying this - it is by default an issue we should and need to address :)
-
- Apr 2022
-
-
You don’t need microsecond timing on a freaking website – except maybe in graphics and sound, and such functionality could be wrapped and secured in an API. So think that browser makers deserve a bigger slice of blame for making their users so vulnerable. User safety needs to become important again.
-
- Jun 2021
-
github.com github.com
-
Runs headless by default, but you can configure it to run in a headful mode.
first sighting of term: headful
-
-
docs.gitlab.com docs.gitlab.com
-
The most important guideline to give is the following: Write clean unit tests if there is actual value in testing a complex piece of logic in isolation to prevent it from breaking in the future Otherwise, try to write your specs as close to the user’s flow as possible
-
-
basarat.gitbook.io basarat.gitbook.ioClasses1
-
If an access modifier is not specified it is implicitly public as that matches the convenient nature of JavaScript 🌹.
-
- May 2021
-
github.com github.com
-
Are you also tired and fed up with the bulkiness of jQuery, but also don't want to have to type document.querySelector("div").appendChild(document.createTextNode("hello")); just to add some text to an element?
happy middle/medium?
-
- Apr 2021
-
stackoverflow.com stackoverflow.com
-
They cause completely different behavior for auto margins. If you have a fixed element for example with top/bottom/left/right set to zero and you stick an image in it you want to center wrapped in a div, then in order to center that div with auto margins, you MUST specify a CSS width/height, because specifying an HTML attribute width/height has no effect and the margins remain zero. I have no idea why the difference exists.
-
Whether to specify in html or css is best judged on individual circumstances. A large number of images of the same size would probably be best served with css, a single image with html. That said, if you are specifying other styles for the image (border colour, style or radius, float etc) it would make sense to add width & height to the css.
-
- Mar 2021
-
outline.com outline.com
-
plausible
reasonable: "a plausible explanation"
Tags
Annotators
URL
-
-
www.jackfranklin.co.uk www.jackfranklin.co.uk
-
Svelte is different in that by default most of your code is only going to run once; a console.log('foo') line in a component will only run when that component is first rendered.
Tags
- Svelte vs. React
- trying to doing things the same way you did in a different library/framework (learning new way of thinking about something / overcoming habits/patterns/paradigms you are accustomed to)
- reasonable defaults
- turning things around / doing it differently
- important point
- opinion
- difference
- opinionated
- unfortunate defaults
Annotators
URL
-
-
askubuntu.com askubuntu.com
-
If you call ./configure --enable-gui=auto, the build process will automatically build against whichever GUI libraries are available. A cursory glance suggests that gtk2 will be prioritised over gnome2.
-
-
gitlab.gnome.org gitlab.gnome.org
-
deskbar should probably detect their extension and execute the relevant command as opposed to opening the file for editing.
-
-
www.chevtek.io www.chevtek.io
-
But I believe the core philosophy of tiny modules is actually sound and easier to maintain than giant frameworks.
-
-
github.com github.comd3/d31
-
The default bundle combines about thirty of these microlibraries.
-
-
galyonk.in galyonk.in
-
Of course user expectations for titles are the most important thing. You don’t want to sell a tiny game at AAA price, because you won’t sell many copies and you’ll make your gamers feel ripped off.
-
-
github.com github.com
-
I totally understand that there may be a majority still considering this a bad practice and thus keeping it disabled by default in production seem ok. But there could at least be an option to enable it for people who want to, no?
-
-
stackoverflow.com stackoverflow.com
-
Your expectations are reasonable considering the property name, but
-
-
stackoverflow.com stackoverflow.com
-
Knowing what your elements are lets browsers use sensible defaults for how they should look and behave. This means you have less customization work to do and are more likely to get consistent results in different browsers.
-
- Feb 2021
-
www.huffpost.com www.huffpost.com
-
They cannot accept any less than 100 percent of their expectations being met.
-
-
github.com github.com
-
Record filters allow you to require an instance of a particular class (or one of its subclasses) or a value that can be used to locate an instance of the object. If the value does not match, it will call find on the class of the record. This is particularly useful when working with ActiveRecord objects.
-
-
github.com github.com
-
def initialize(attributes=nil) self.assign_attributes(attributes) end
-
-
css-tricks.com css-tricks.com
-
If no end line value is declared, the item will span 1 track by default.
-
- Jan 2021
-
github.com github.com
-
premailer-rails processes all outgoing emails by default. If you wish to skip premailer for a certain email, simply set the :skip_premailer header:
-
- Dec 2020
-
-
I'd instinctively associate a this.cache() inside preload with the preloaded data only -- meaning no matter what crazy thing I did inside preload, the returned data would be cached locally, where local means either the client or server.
-
- Nov 2020
-
github.com github.com
-
logInfoToStdOut (boolean) (default=false) This is important if you read from stdout or stderr and for proper error handling. The default value ensures that you can read from stdout e.g. via pipes or you use webpack -j to generate json output.
-
-
github.com github.com
-
Furthermore, how come there's a PR open since 3 months, at what seems to be the authoritative repo for Svelte?
-
-
www.npmjs.com www.npmjs.com
-
You will be disrupted by this first issue. It is natural to expect relative references to be resolved against the .sass/.scss file in which they are specified (like in regular .css files).
-
-
github.com github.com
-
We all know that real business logic does not belong in the presentation layer, but what about simple presentation-oriented things like coloring alternate rows in table or marking the selected option in a <select> dropdown? It seems equally wrong to ask the controller/business logic code to compute these down to simple booleans in order to reduce the logic in the presentation template. This route just lead to polluting the business layer code with presentation-oriented logic.
-
-
github.com github.com
-
This is linux. Ouput first, formatting second. systemctl --no-pager -l should be the default.
-
- Oct 2020
-
stackoverflow.com stackoverflow.com
-
Why doesn't it do this by itself, by default?
-
-
softwareengineering.stackexchange.com softwareengineering.stackexchange.com
-
Right, and if most uses of an FTP service use new FtpService() the one that sets an alternate port will stand out (service.SetPort(12345))
-
The concept of Convention over Configuration is impossible without sensible default values. The key word here is "sensible". The default values have to make sense for at least 80% (if not more) of all the uses of a library/service/framework.
-
- Sep 2020
-
medium.com medium.com
-
The natural assumption is that this is because a) it is the best package manager, and b) the JavaScript community is the most energetic and productive.
-
-
github.com github.com
-
When the message say function was called outside component initialization first will look at my code and last at my configuration.
-
-
github.com github.com
-
What I believe should happen is the Svelte compiler should, when a promise is passed to onMount, realise that a promise has been passed, and await the result of the function to be used as the onDestroy function. i.e, it should behave the exact same way for an async function as it does for a non-async function (if this is possible)
-
-
github.com github.com
-
Also, I'm starting to wonder if maybe it's okay to have multiple spreads? If the alternative to <Foo {...a} {...b} {...c} d={42}> is that people will write <Foo {...Object.assign({}, a, b, c)} d={42}> anyway, then do we gain anything with the constraint?
-
-
github.com github.com
-
The fears of breaking one of Svelte's core tenets seem overblown to me. Style encapsulation by default is great, but that doesn't mean we should contort the framework around it.
-
- Jul 2020
-
-
The second situation occurs when a person says unpleasant things about another when he or she ought to have known they are false. A reasonable person generally refrains from sharing negative information about others if he or she has reason to doubt its veracity.
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
warn iff not seen before can be an acceptable option.
-
So what Python currently does in issue depreciation warnings in the main program, but not in libraries and similar code. That may also be a reasonable way to limit the number of warnings while making sure deprecations don't go unnoticed (because that makes them useless).
-
- Jun 2020
-
makandracards.com makandracards.com
-
However, a ActiveRecord::Rollback within the nested transaction will be caught by the block of the nested transaction, but will be ignored by the outer transaction, and not cause a roll back! To avoid this unexpected behaviour, you have to explicitly tell rails for each transaction to indeed use proper nesting: CopyActiveRecord::Base.transaction(joinable: false, requires_new: true) do # inner code end This is a safer default for working with custom transactions.
-
- May 2020
-
gitlab.com gitlab.com
-
There will be limits placed on what will and will not be masked. This will include accounting for enough entropy to make sense (e.g. don't mask a variable that is just set to a word.) and are not multi-line.
-
-
stackoverflow.com stackoverflow.com
-
AFAICT the outcome you want is for your webRequest-added CSP header to be applied after document.write resets the page. This seems to me a reasonable thing to expect and I'm surprised it didn't work right away. Consider opening a ticket on crbug.com.
-
-
en.wikipedia.org en.wikipedia.org
-
-
The most controversial issue in RAND licensing is whether the "reasonable" license price should include the value contributed by the standard-setting organization's decision to adopt the standard. A technology is often more valuable after it has been widely adopted than when it is one alternative among many; there is a good argument that a license price that captures that additional value is not "reasonable" because it does not reflect the intrinsic value of the technology being licensed. On the other hand, the adoption of the standard may signal that the adopted technology is valuable, and the patent holder should be rewarded accordingly. That is particularly relevant when the value of the patent is not clearly known before the adoption of the standard.
-
- Apr 2020
-
psyarxiv.com psyarxiv.com
-
Stadler, M., Niepel, C., Botes, E., Dörendahl, J., Krieger, F., & Greiff, S. (2020). Individual Psychological Responses to the SARS-CoV-2 Pandemic: Different Clusters and Their Relation to Risk-Reducing Behavior [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/k8unc
-
-
psyarxiv.com psyarxiv.com
-
Sailer, M., Stadler, M., Botes, E., Fischer, F., & Greiff, S. (2020, April 9). Science knowledge and trust in medicine affect individuals’ behavior in pandemic crises. https://doi.org/10.31234/osf.io/tmu8f
-
-
en.wikipedia.org en.wikipedia.org
-
The court's decision, which exonerated Hush-A-Phone and prohibited further interference by AT&T toward Hush-A-Phone users, stated that AT&T's prohibition of the device was not "just, fair, and reasonable," as required under the Communications Act of 1934, as the device "does not physically impair any of the facilities of the telephone companies," nor did it "affect more than the conversation of the user."
-
- Mar 2020
-
www.iubenda.com www.iubenda.com
-
For all of the above reasons, this DPA is of the opinion that publishers may not be required to include, on the home page of their websites, also the notices relating to the cookies installed by third parties via the publishers’ websites.
Glad to see that at least some DPAs are trying to use common sense and be reasonable.
-
In general, the directive does not specifically require that you list and name individual third-party cookies, however, you are required to clearly state their categories and purpose. This decision by the Authority is likely deliberate as to require such would mean that individual website/app owners would bear the burden of constantly watching over every single third-party cookie, looking for changes that are outside of their control; this would be largely unreasonable, inefficient and likely unhelpful to users.
-
-
www.quora.com www.quora.com
-
If these asset owners regarded the “robots” as having the same status as guide dogs, blind people or default human citizens, they would undoubtedly stop imposing CAPTCHA tests and just offer APIs with reasonable limits applied.
-
- Oct 2019
-
www.rubyraptor.org www.rubyraptor.org
-
Setting up Nginx properly requires quite a bit of work. Using websockets or using Rails streaming? Make sure you disable response buffering for the relevant URIs, otherwise they won’t work correctly. Phusion Passenger 5’s builtin reverse proxy does the right thing by default, without any configuration. In other words: it’s all about making things simple.
-
-
github.com github.com
-
Yes, absolutely, no two projects are alike. This step is moving towards a direction where we have a set of best practices for webpack isolated in a bundled package and can be maintained in isolation without impacting upgrades or end-user experience. If you have seen next.js or create-react-app they sort of do they same thing for ease and maintainability. Rails is a great example for this - there are some built-in best practices, opinionated defaults and gems that are hidden behind the scene plus power to do advance things where needed.
-
- Aug 2019
-
www.biblegateway.com www.biblegateway.com
-
Let your reasonableness[d] be known to everyone.
Everyone should aspire to have a reputation for . "reasonableness" or "gentleness" - both Christians, Jews, and Gentiles .
-