- Jun 2023
-
stackoverflow.com stackoverflow.com
-
Python essentially doesn't have private methods, let alone protected ones, and it doesn't turn out to be that big a deal in practice.
-
-
stackoverflow.com stackoverflow.com
-
I'm not saying never mark methods private. I'm saying the better rule of thumb is to "make methods protected unless there's a good reason not to".
-
Marking methods protected by default is a mitigation for one of the major issues in modern SW development: failure of imagination.
-
If it's dangerous, note it in the class/method Javadocs, don't just blindly slam the door shut.
-
Been disappointed, surprised or hurt by a library etc. that was overly permissive in it's extensibility? I have not.
-
The old wisdom "mark it private unless you have a good reason not to" made sense in days when it was written, before open source dominated the developer library space and VCS/dependency mgmt. became hyper collaborative thanks to Github, Maven, etc. Back then there was also money to be made by constraining the way(s) in which a library could be utilized. I spent probably the first 8 or 9 years of my career strictly adhering to this "best practice". Today, I believe it to be bad advice. Sometimes there's a reasonable argument to mark a method private, or a class final but it's exceedingly rare, and even then it's probably not improving anything.
Tags
- allow others take the responsibility/risk if they want; don't just rigidly shut the door to even the possibility
- not extensible enough
- software development
- disappointing
- failure of imagination
- member visibility
- +0.9
- member visibility: make it protected unless you have a good reason not to
- rule of thumb
- dangerous (programming)
- rigidness/inflexibility
- annotation meta: may need new tag
- extensibility
- inextensible
- surprising
- member visibility: make it private unless you have a good reason not to
- reasonable defaults
- can't predict the future
- good point
- you can't know for sure
- never say never
- don't be so rigid
- bad advice
- not:
- what does this actually mean?
- please elaborate
Annotators
URL
-
-
-
Belangrijke stuwdam in Dnjepr verwoest, 'waterstroom onbeheersbaar'
-
-
docdrop.org docdrop.org
-
what I'm asking people to do is to start considering what that means to your life what I'm asking 00:38:53 governments to do by if like I'm screaming is don't wait until the first patient you know start doing something about we're about to see Mass job losses we're about to see you know Replacements 00:39:07 of of categories of jobs at large
- comment
- echoing same sentiment as many others such as Jerry Kaplan
- Humans need not apply https://yalebooks.yale.edu/book/9780300223576/humans-need-not-apply/
- comment
-
-
-
Don’t confuse Consent Mode with Additional Consent Mode, a feature that allows you to gather consent for Google ad partners that are not yet part of the Transparency and Consent Framework but are on Google’s Ad Tech Providers (ATP) list.
-
- May 2023
-
www.linkedin.com www.linkedin.com
-
Seeking full energy independence from Russian gas, in response to Russia's energy blackmail in #Europe and the war in #Ukraine 🇺🇦, #Lithuania 🇱🇹 has completely abandoned Russian gas
Lithuania abandons Russian Gas
-
-
propertybuyusa.com propertybuyusa.com
-
Featured Listings
Using Silktide's Screen Reader Simulator for Chrome, I tested the webpage. The featured listing are especially confusing to understand using the screen reader because although there are only 10 featured listings, the screen reader repeats the featured listings three times (reads all 10 listings, then reads them again, then again). Screen readers are used by people who are blind or visually impaired, so the webpage has to be made in a way that makes it easy for a screen reader to navigate through, which is not the case with this webpage. This violates the "Robust" principal of the Web Content Accessibility Guidelines.
Solution: Look through the code to see if there is any repeated code that is causing the screen reader to read the featured listings multiple times. If there is no repeated code, then it may be a problem with how the featured listings section has been coded, so the format of the featured listings section may need to change. After making the appropriate changes, test the webpage using a screen reader before publishing to make sure that the webpage is easily navigable by a screen reader.
-
SERVING CHICAGOLAND & NORTHWEST SUBURBS
Text is difficult to read because the text colour does not contrast well with the background colour. It would be difficult for people who are colourblind to read this text. This violates the "Perceivable" principal of the Web Content Accessibility Guidelines.
Solution: The grey text colour should be changed to another colour that has good contrast with the background colour.
-
CALL US FOR A PROPERTY EVALUATION ANALYSIS!
The Web Content Accessibility Guidelines recommends that for any moving, blinking or scrolling information that starts automatically, lasts more than 5 seconds, and is presented in parallel with other content, the user should be provided an option to pause, stop or hide these animations, unless the animations are essential. For auto-updating information, the requirements are the same except that there there is no 5 second condition and the user should also be given the option to control the frequency of the auto-update. There are multiple places on this webpage where animations are present: the moving text that has been highlighted, the background images behind the moving text, the logos on the top right-hand corner of the webpage, and the featured listings (automatically moves to the left every few seconds and can also be dragged to move to the left or right). Furthermore, hovering over the options like "About Us" and "Register Now" causes the images to move. The animations on this webpage are non-essential and an option to pause, stop, hide, or control the frequency of the animations is not given. Moving and auto-updating content can be a problem for people who have difficulty reading text quickly, and for people who have difficulty tracking objects that move. For some people, moving and blinking objects can also be a serious distraction, especially for people who have attention-deficit disorders. This violates the "Understandable" principal of the Web Content Accessibility Guidelines.
Solution: Add an option to stop, pause, hide, or control the frequency of the animations. When stopping the animations, the moving text can be horizontally centered on the page. Furthermore, changing the images behind the moving text and navigating through the featured listings can instead be accomplished by using clickable arrows.
-
Arlington HeightsMount ProspectSchaumburgPalatineProperty SearchCOMMERCIAL LISTINGSLease/Credit Application
Need to hover over the headers in order for the sub-menu options to show up. Some of the headers themselves are also links, so navigating to the header using a keyboard and pressing enter will send you to another page instead of opening up the sub-menu. The hover interaction means that the menu is inaccessible using a keyboard. People who are unable to navigate a webpage using a mouse and can only use a keyboard, such as people with a motor impairment, won't be able to access the menu. Furthermore, in general, it is difficult to see where you are on the page while navigating using just the keyboard. All this violates the "Operable" principal of the Web Content Accessibility Guidelines.
Solution: The headers should not be links and instead, the webpage that the user would have been sent to by clicking on the header should just be added as an option to the sub-menu. Also, instead of hovering over the headers to access the sub-menu, the headers should be clickable dropdowns so that when a user navigates to the header using a keyboard and presses enter, the sub-menu should show up, and the user should then be able to access the sub-menu options using the keyboard. Furthermore, the element that the user is currently focused on should have a border around it so that the user can tell where they are on the page while navigating using a keyboard.
-
- Apr 2023
-
security.stackexchange.com security.stackexchange.com
-
But you can not make the user send a POST requests from an email
eh? how??
-
By default SMTP offers very little protection against interception. Traffic may be encrypted between servers but there are no guarantees.
And how likely is it that the attacker actually owns one of the servers that is a hop on the way from mail sender to mail recipient?? Seems extremely unlikely.
-
email as a transmission mechanism isn't secure.
-
-
stackoverflow.com stackoverflow.com
-
Using --ours did what I was after, just discarding the incoming cherry picked file. @Juan you're totally right about those warning messages needing to say what they did't do, not just why they didn't do it. And a bit more explanation that the ambiguity from the conflict needs to be resolved (by using --ours, etc) would be super helpful to this error message.
-
- Mar 2023
-
-
The effect of Antarctic meltwater on ocean currents has not yet been factored in to IPCC models on climate change, but it is going to be "considerable", Prof England said.
Another unknown not yet included in IPCC report
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
Just because the code is described as part of the WebDAV spec doesn't mean it's WebDAV-specific! Status codes are supposed to be generic.
-
-
blog.cmpxchg8b.com blog.cmpxchg8b.com
-
I believe that SMS 2FA is wholly ineffective, and advocating for it is harmful.
Would this also appyl to OTP by e-mail??
-
This argument only works if what you’re defending is good. As I’ve already explained, SMS-2FA is not good.
-
Don’t let the perfect be the enemy of the good. Seat belts aren’t perfect either, do you argue we shouldn’t wear them? Etc, etc. This argument only works if what you’re defending is good. As I’ve already explained, SMS-2FA is not good.
-
If you use a third party password manager, you might not realize that modern browsers have password management built in with a beautiful UX. Frankly, it’s harder to not use it.
-
If you’re a security conscious user... You don’t need SMS-2FA. You can use unique passwords, this makes you immune to credential stuffing and reduces the impact of phishing. If you use the password manager built in to modern browsers, it can effectively eliminate phishing as well.
not needed: password manager: 3rd-party
-
-
english.stackexchange.com english.stackexchange.com
-
So in your example, you would not use a hyphen: "You can use the types [that are] built in to the library."
-
-
www.zen-occidental.net www.zen-occidental.net
-
repressed intuition "returns to consciousness in distorted form" as the symbolic ways we compulsively try to ground ourselves and make ourselves real in the world: such as power, fame, and of course money.
//* Loy is stating... - Those engaging compulsively in money, fame, power, materialism - are actually deeply repressing - the fact that the ego-self, and therefore self-consciousness is a construction - To continually reify the ego-self, we engage in these activities - and of course, this is fueling the polycrisis we now find ourselves in
-
-
www.dol.wa.gov www.dol.wa.gov
-
Washington wallet-sized birth registration cards aren’t accepted
Tags
Annotators
URL
-
-
it.wikipedia.org it.wikipedia.org
-
Uno studio facente parte del piano vaccinale italiano 2017-2019 del ministero della salute ha evidenziato come i vaccini facciano risparmiare molto in cure, ospedalizzazioni e farmaci prevenendo le malattie ed evitando le spese che si sosterrebbero curandole. Tali valori sono destinati ad aumentare di anno in anno, in quanto i soggetti vaccinati restano immunizzati e a questi si aggiungono quelli vaccinati negli anni successivi. Quindi ogni anno aumenta il numero di casi evitati e di conseguenza il relativo risparmio.
I vaccini sono alla base di moltissime patologie non causate da agenti infettivi (NonCommunicable Diseases) il cui incremento percentuale nei prossimi 10 anni è previsto nella misura del 60% A ciò si aggiungano le patologie su base genetica la cui origine avrebbe luogo a causa dei vaccini somministrati ai giovani delle generazioni precedenti. I vaccini pediatrici modificherebbero l'espressività di numerosi geni inducendo errori nella sintesi proteica ed originando così proteine anomale e quindi malattie fra le quali, numerose patologie autoimmuni...
-
- Feb 2023
-
www.youtube.com www.youtube.comYouTube1
-
"Personal knowledge management is an aid to your work, not the work itself." —Sam Matla #
This is entirely dependent on what and how you're doing it. If you're actively reading and annotating, and placing it somewhere, then that is the work, just in small progressive steps.
He needs to be more specific about what he means by "personal knowledge management" as a definition of something.
-
-
blay.se blay.se
-
A sequence of Folgezetteln notes in the filenames of the Zettelns can from this perspective be considered a hardcoded outline and should be avoided, however convenient it seems.
And here he says it out loud... see https://hypothes.is/a/Gl5ferPsEe2Yf5P83a3wUg
-
-
www.academia.edu www.academia.edu
-
keynote address in !" at the #entenary $eeting of the British Association for the Advancement of Science. %n this occasion he suggested that the fundamentalstructure of the universe was not matter but action
- action, not matter, is the fundamental structure of the universe
-
-
www.grenzeloos.org www.grenzeloos.org
-
Voor een kernwapenvrije wereld, te beginnen in Europa Jet van Rijswijk - 02.02.2023
Kernwapenvrije wereld, te beginnen in Europa
-
-
stackoverflow.com stackoverflow.com
-
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
-
-
therevelator.org therevelator.org
-
70% of cobalt comes from the Democratic Republic of Congo, where an estimated 40,000 children as young as 6 work in dangerous mines.
- = energy transition
- = quotable
-
Tribes, landowners and communities find themselves wrestling with the not-so-green side of green energy.
- = energy transition
- = quotable
-
- Jan 2023
-
rubystyle.guide rubystyle.guide
-
Do not separate numbers from letters on symbols, methods and variables.
Okay... Why not?
-
-
hypothes.is hypothes.is
-
Finally, a culture that rewards big personal accomplishments over smaller social ones threatens to create a cohort of narcissists
-
Just as the wealthiest 1 percent of Americans gobble up a disproportionate share of the nation’s economic resources and rejigger our institutions to funnel them benefits and power, so too do our educational 1 percent suck up a disproportionate share of academic
opportunities, and threaten to reconfigure academic culture so that it both mimics and serves their values
Tags
- Not surprised at all. The monopole has always been in the hand of the wealthy
- The narcissist cohort is already here. If the 1% did not have the unreasonably high sense of their own importance they would have given a chance to the 99% to have the same gain or at least the same education.
Annotators
URL
-
-
thebulletin.org thebulletin.org
-
We are living in a time of unprecedented danger, and the Doomsday Clock time reflects that reality. 90 seconds to midnight is the closest the Clock has ever been set to midnight, and it’s a decision our experts do not take lightly
Press release. Doomsday clock changed to 90 seconds to mid-night. Largely due to Russia's invasion to Ukraine.
-
-
thebulletin.org thebulletin.org
-
2023 Doomsday Clock Statement
Doomsday Clock Statement
-
-
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
-
-
math.berkeley.edu math.berkeley.edu
-
≥
Again, what the fuck this is.
-
≥
Not Sure How. It might be using the summation of geometric series. How is \(a^n\) handled. Mutiply the \(a\) in and then use the geometric summations, and then we should get the inequality.
-
Thus, there exists 1 ∈ (−1, 1) such that
Not sure what this mean.
-
-
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.
-
-
news.ycombinator.com news.ycombinator.com
-
The usefulness of JSON is that while both systems still need to agree on a custom protocol, it gives you an implementation for half of that custom protocol - ubiquitous libraries to parse and generate the format, so the application needs only to handle the semantics of a particular field.
To be clear: when PeterisP says parse the format, they really mean lex the format (and do some minimal checks concerning e.g. balanced parentheses). To "handle the semantics of a particular field" is a parsing concern.
-
- Dec 2022
-
thereader.mitpress.mit.edu thereader.mitpress.mit.edu
-
There is a fundamental distinction between simulating and comprehending the functioning (of a brain but also of any other organ or capacity).
!- commentary : AI - elegant difference stated: simulating and comprehending are two vastly different things - AI simulates, but cannot be said to comprehend
-
-
en.wikipedia.org en.wikipedia.org
-
Fluxus was an international, interdisciplinary community of artists, composers, designers and poets during the 1960s and 1970s who engaged in experimental art performances which emphasized the artistic process over the finished product.[1][2] Fluxus is known for experimental contributions to different artistic media and disciplines and for generating new art forms.
-
-
www.linkedin.com www.linkedin.com
-
Does our most powerful force not come from the depths of our capacities to #love, #care for and #serve nature and all its beings, including ourselves?
!- good insight : markets do not set the direction, but subordinate to the direction set by our capacity for love and care
-
the ultimate #guidance we need to heal Earth does not come from the #markets and our #technologies supporting them. What they are is tools, supporting a direction, facilitating transactions in a world where we do not yet speak a deep #common language of #unity, #stewardship and #coexistence but these markets and technologies should not dictate where we are headed, or else I'm afraid we are simply missing the whole point.
!- good insight : markets cannot dictate the direction we are headed - direction should be set by our depths of capacity for love, care for nature and other living beings - markets should be viewed in the proper context, IN SERVICE to the above, not the MASTER of it
-
-
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)
-
-
www.newyorker.com www.newyorker.com
-
At Ipswich, he studied under the unorthodox artist and theorist Roy Ascott, who taught him the power of what Ascott called “process not product.”
"process not product"
Zettelkasten-based note taking methods, and particularly that followed by Luhmann, seem to focus on process and not product.
-
-
-
The only negative to this method is that it may not ALWAYS work. If the data is faulty, or the link is inaccurately provided by the sender, Gmail won’t be able to recognise and include the unsubscribe button in Gmail.
-
You may find this link isn’t available straight away, after a few emails one should appear, this is a common technique with mailing list providers.
-
-
stopwapenhandel.org stopwapenhandel.org
-
Hoe staten de oorlog in Oekraïne gebruiken om een nieuwe wapenwedloop op gang te brengen
Stop Wapenhandel bericht 04. December
-
-
corporate-rebels.com corporate-rebels.com
-
Successfully Abolished
The way this is put is to let you know that these are already successful in the world. Encouraging.
-
-
nickjanetakis.com nickjanetakis.com
-
It’s as simple as running ngrok http 3000 to forward port 3000 (or any port) to a public ngrok address.
We're not forwarding local port 3000 to a public ngrok address — we're doing it in the opposite direction, as the previous sentence just (correctly) stated:
a secure tunnel to localhost
-
-
support.google.com support.google.com
-
Include one or both of these headers in your messages:
Actually, if you include List-Unsubscribe-Post, then you MUST include List-Unsubscribe (both).
According to https://www.rfc-editor.org/rfc/rfc8058#section-3.1,
A mail sender that wishes to enable one-click unsubscriptions places one List-Unsubscribe header field and one List-Unsubscribe-Post header field in the message. The List-Unsubscribe header field MUST contain one HTTPS URI. It MAY contain other non-HTTP/S URIs such as MAILTO:. The List-Unsubscribe-Post header MUST contain the single key/value pair "List-Unsubscribe=One-Click".
-
-
help.activecampaign.com help.activecampaign.com
-
If a contact ever reaches out and is no longer receiving messages because they accidentally marked one of your campaigns as spam, you can reach out to Product Support. We can remove them from the suppression list for you.
why not allow user to do it directly instead of force to contact support? If they'll remove it for you because you said the user asked you to... why not just let you remove the suppression yourself? Mailgun lets you directly delete suppressions via their API.
-
-
-
Imagine what happens when subscribers change activities, interests, or focus. As a result, they may no longer be interested in the products and services you offer. The emails they receive from you are now either ‘marked as read’ in their inbox or simply ignored. They neither click the spam reporting button nor attempt to find the unsubscribe link in the text. They are no longer your customers, but you don’t know it.
-
- Nov 2022
-
github.com github.com
-
by using symbols as keys, you will be able to use the implicit conversion of a Mash via the #to_hash method to destructure (or splat) the contents of a Mash out to a block
Eh? The example below:
symbol_mash = SymbolizedMash.new(id: 123, name: 'Rey') symbol_mash.each do |key, value| # key is :id, then :name # value is 123, then 'Rey' end
seems to imply that this is possible (and does an implicit conversion) because it defines
to_hash
. But that's simply not true, as these 2 examples below prove:``` main > symbol_mash.class_eval { undef :to_hash } => nil
main > symbol_mash.each {|k,v| p [k,v] } [:id, 123] [:name, "Rey"] => {:id=>123, :name=>Rey} ```
``` main > s = 'a' => a
main > s.class_eval do def to_hash chars.zip(chars).to_h end end => :to_hash
main > s.to_hash => {a=>a}
main > s.each Traceback (most recent call last) (filtered by backtrace_cleaner; set Pry.config.clean_backtrace = false to see all frames): 1: (pry):85:in
__pry__' NoMethodError: undefined method
each' for "a":String ``` -
Hashie does not have built-in support for coercing boolean values, since Ruby does not have a built-in boolean type or standard method for coercing to a boolean. You can coerce to booleans using a custom proc.
I use:
ActiveRecord::Type::Boolean.new.cast(value)
-
-
www.oauth.com www.oauth.com
-
There are also many reasons refresh tokens may expire prior to any expected lifetime of them as well.
such as...?
-
You might notice that the “expires_in” property refers to the access token, not the refresh token. The expiration time of the refresh token is intentionally never communicated to the client. This is because the client has no actionable steps it can take even if it were able to know when the refresh token would expire.
-
-
stackoverflow.com stackoverflow.com
-
session = ActionDispatch::Integration::Session.new(Rails.application) response = session.post("/mypath", my_params: "go_here")
worked for me
-
I used the above to test what happens to the user if a POST happens in another session (via WebSockets), so a form wouldn't cut it.
-
-
www.suffix.be www.suffix.be
-
So far for the obligatory warning. I get the point, I even agree with the argument, but I still want to send a POST request. Maybe you are testing an API without a user interface or you are writing router tests? Is it really impossible to simulate a POST request with Capybara? Nah, of course not!
-
-
meta.stackoverflow.com meta.stackoverflow.com
-
I don't think a new tag makes sense here, at least not yet.
-
Once "Containerfile" starts becoming less of a whisper and more of the topic, then perhaps we can talk about a synonym. But definitely not now.
-
-
github.com github.com
-
A beginning user should be able to docker run official-image bash (or sh) without needing to learn about --entrypoint.
-
-
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.
-
-
en.wikipedia.org en.wikipedia.org
-
Zombie processes should not be confused with orphan processes: an orphan process is a process that is still executing, but whose parent has died. When the parent dies, the orphaned child process is adopted by init (process ID 1). When orphan processes die, they do not remain as zombie processes; instead, they are waited on by init.
-
-
stackoverflow.com stackoverflow.com
-
I have a custom font which is displaying the box character.
-
-
learn.microsoft.com learn.microsoft.com
-
Glyph 0 must be assigned to a .notdef glyph. The .notdef glyph is very important for providing the user feedback that a glyph is not found in the font. This glyph should not be left without an outline as the user will only see what looks like a space if a glyph is missing and not be aware of the active font’s limitation.
-
It is recommended that the shape of the .notdef glyph be either an empty rectangle, a rectangle with a question mark inside of it, or a rectangle with an “X”
-
-
stackoverflow.com stackoverflow.com
-
You need .notdef, unicode value undefined: microsoft.com/typography/otspec/recom.htm Characters are assigned in blocks of the same kind. Most blocks have some unassigned points at the end to start the next block on a round number. These points allow Unicode Consortium to add new glyphs to a block. New glyphs don't come into existence often. See typophile.com/node/102205. Maybe you can ask your question in the Typophile forum. They can tell you more about how this exactly works and how to render .notdef
-
I wasn't aware of 'missing character glyph', some Googling suggests that U+0000 can/should be used for missing characters in the font. However in at least one font I've tested with U+0000 is rendered as whitespace while missing characters are rendered as squares (similar to U+25A1).
-
-
en.wikipedia.org en.wikipedia.org
-
At one time the replacement character was often used when there was no glyph available in a font for that character. However, most modern text rendering systems instead use a font's .notdef character, which in most cases is an empty box (or "?" or "X" in a box[5]), sometimes called a "tofu" (this browser displays ). There is no Unicode code point for this symbol.
-
-
stackoverflow.com stackoverflow.com
-
No, there is no “glyph not found” character. Different programs use different graphic presentations. An empty narrow rectangle is a common rendering, but not the only one. It could also be a rectangle with a question mark in it or with the code number of the character, in hexadecimal, in it.
-
The glyph-not-found character is specified by the font engine and by the font; there is no fixed character for it.
-
By the way, I am not talking about � (replacement character). This one is displayed when a Unicode character could not be correctly decoded from a data stream. It does not necessarily produce the same glyph:
-
There is no standardized look/glyph, it’s up to the implementation
-
-
www.w3.org www.w3.org
-
The character does not exist. Proposed solutions include encoding the character, markup for individual characters, and Private Use Codepoints.
-
-
github.com github.com
-
I don't see why this is a false positive
-
-
gitlab.com gitlab.com
-
Source Code is currently understaffed and working through our P2 bugs at the moment.
-
- Oct 2022
-
stackoverflow.com stackoverflow.com
-
The problem is that the caller may write yield instead of block.call. The code I have given is possible caller's code. Extended method definition in my library can be simplified to my code above. Client provides block passed to define_method (body of a method), so he/she can write there anything. Especially yield. I can write in documentation that yield simply does not work, but I am trying to avoid that, and make my library 100% compatible with Ruby (alow to use any language syntax, not only a subset).
An understandable concern/desire: compatibility
Added new tag for this: allowing full syntax to be used, not just subset
-
-
-
I have always been impressed by those academics who can sit impassively through a complex lecture by some visiting luminary without finding it necessary to make a single note, even a furtive one on the back of an envelope. They’d lose face, no doubt, if they were seen copying it all down, like a first-year undergraduate.
In academia, the act of not taking notes can act as an external signal of superiority or even indifference.
-
-
-
This type does not exist in Ruby, however.
Tags
Annotators
URL
-
-
apple.stackexchange.com apple.stackexchange.com
-
This is great because it works in Terminal, iTerm2, Chrome, Sublime & Outlook. The alternative (Karabina) is less good because that maps "Home" to Command+LeftArrow, which actually switches windows in Terminal.
-
-
www.americanyawp.com www.americanyawp.com
-
As our younger brothers of the New-England Indians
why is the one human race assertion held fast by this native tribe after new influence utilizing slavery?
-
-
github.com github.com
-
But this sounds like spreading fear and doubt when the Ruby parser has no such concepts :) {} always binds tightly to the call right next to it. This block {} will never go to using, unless it's rewritten as do ... end.
-
-
ghuntley.com ghuntley.com
-
spamming open-source as a growth strategy is a super bad idea
Tags
Annotators
URL
-
-
www.homedepot.com www.homedepot.com
-
Topsoil has different grades. Lower-grade topsoils are meant for filling and leveling holes and should only be used for that purpose. Higher-grade topsoils are great for conditioning or adding organic matter to the native soil. Neither grade should be used when planting.
Should not be used for planting anything?? Hmm.
-
- Sep 2022
-
github.com github.com
-
in my personal opinion, there shouldn't be a special treatment of do-end blocks in general. I believe that anything that starts a "block", i.e. something that is terminated by and end, should have the same indentation logic
-
-
metalblueberry.github.io metalblueberry.github.io
-
Code explains what and how Documentation explains why.
-
-
-
The underlying theme tyingthese myths together is that poverty is often perceived to be an issue of“them” rather than an issue of “us”—that those who experience povertyare viewed as strangers to mainstream America, falling outside accept-able behavior, and as such, are to be scorned and stigmatized.
One of the underlying commonalities about the various myths of poverty is that we tend to "other" those that it effects. The "them" we stigmatize with the ills of poverty really look more like "us", and in fact, they are.
Rather than victim shame and blame those in poverty, we ought to spend more of our time fixing the underlying disease instead of spending the time, effort, energy, and money on attempting to remedy the symptoms (eg. excessive policing, et al.) Not only is it more beneficial, but cheaper in the long run.
Related:<br /> Gladwell, Malcolm. “Million-Dollar Murray.” The New Yorker, February 5, 2006. https://www.newyorker.com/magazine/2006/02/13/million-dollar-murray (.pdf copy available at https://housingmatterssc.org/million-dollar-murray/)
-
-
rororo.readthedocs.io rororo.readthedocs.io
-
"detail": [ { "loc": [ "body", "name" ], "message": "Field required" }, { "loc": [ "body", "email" ], "message": "'not-email' is not an 'email'" } ]
not complient with Problem Details, which requires
details
to be a string
-
-
steamcommunity.com steamcommunity.com
-
Hi L0ki,as we depend on retailers with affiliate programs to run the site without ads, and Amazon being one of them, yes, we are following their rules so we can use API and their affiliate program.As Tomas said, we are also trying to get the history back, though we noticed we aren't the only site being affected by this.As for ignoring their API and doing it the hard way - that could be possible I guess but really not preferable.And we also understand anybody not wanting to buy from Amazon anymore (as some already told us), but to be fair, if the game is available anywhere else (and I have yet to randomly find a game which is available only at Amazon), you can always check the game info on ITAD to compare the price to other retailers.
-
If it's not, it should be illegal for them to forbid you from showing price history. This is restricting access to information, and it's probably supposed to benefit them from shady sales (increasing the base price just before a sale, so that the "X % off" is higher).
-
"We are not allowed to show you Amazon history"? What prompted this? Fill me in if I missed something :).EDIT: Camelcamelcamel can still show Amazon price history, so a bit befuddled here.
-
I would be interested to know what the legality of this is either way. I mean, do they really have any legal right to compel you not to list their price history? However, just knowing that Amazon doesn't want you to do this will make me less likely to purchase from them in the future. Anti-consumer behavior pisses me off. Edit: If this is related to API access couldn't you just manually scrape prices off the site instead and hammer their server? Or is this more related to not wanting to bite the hand that feeds you so to speak related to the funding you can get through referral links?
-
-
auth0.com auth0.com
-
However, while URLs allow you to locate a resource, a URI simply identifies a resource. This means that a URI is not necessarily intended as an address to get a resource. It is meant just as an identifier.
However, while URLs allow you to locate a resource, a URI simply identifies a resource.
Very untrue/misleading! It doesn't simply (only) identify it. It includes URLs, so a URI may be a locator, a name, or both!
https://datatracker.ietf.org/doc/html/rfc3986 states it better and perfectly:
A URI can be further classified as a locator, a name, or both. The term "Uniform Resource Locator" (URL) refers to the subset of URIs that, in addition to identifying a resource, provide a means of locating the resource by describing its primary access mechanism (e.g., its network "location").
This means that a URI is not necessarily intended as an address to get a resource. It is meant just as an identifier.
The "is not necessarily" part is correct. The "is meant" part is incorrect; shoudl be "may only be meant as".
-
-
datatracker.ietf.org datatracker.ietf.org
-
For example, a "write access disallowed" problem is probably unnecessary, since a 403 Forbidden status code in response to a PUT request is self-explanatory.
-
-
docs.gitlab.com docs.gitlab.com
-
Rename the existing default branch to the new name (main). The argument -m transfers all commit history to the new branch: git branch -m master main
-
-
www.pcmag.com www.pcmag.com
-
Snail mail can be too slow, and email isn't secure. So that leaves us with the decades-old, but still reliable, fax.
email is secure enough. Why do people keep perpetuating this myth?
-
-
github.com github.com
-
Maybe one day, JSON Schema would be able to express all the constraints in the OpenAPI spec, but I suspect some are going to be really hard.
-
When we do release a final version of JSON Schema, please do not use JSON Schema to guarantee an OpenAPI document is valid. It cannot do that. There are numerous constraints in the written specification that cannot be expressed in JSON Schema.
-
-
github.com github.com
-
Yes, I understand that it had probably been tried. My question was more, "Why didn't twiddling the knob work?”
-
-
github.com github.com
-
The discussion here can get very fast-paced. I am trying to periodically pause it to allow new folks, or people who don't have quite as much time, to catch up. Please feel free to comment requesting such a pause if you would like to contribute but are having trouble following it all.
Why is it necessary to pause Can't new person post their question/comment even if it's in reply to comment #10 and the latest comment happens to be comment #56? There's no rule against replying/discussing something that is not the very latest thing to be posted in a discussion!
Possibly due to lack of a threaded discussion feature in GitHub? I think so.
Threads would allow replies to "quick person" A to go under their comment, without flooding the top level with comments... thus alowing "new person" B to post a new comment, which in so doing creates a new thread, which can have its own discussion.
-
-
drive.google.com drive.google.com
-
That is, the advantage of folk- lore is that it conveys what people think in their own words and actions, and what they
say or sing in folklore expresses what they might not be able to in everyday conversation.
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
I would not change the project structure to accommodate Docker (or any build tools).
-
- Aug 2022
-
medium.com medium.com
-
The definitions provided are tremendously valuable to figure out the very similar but different two paradigms.
-
Concurrency means executing multiple tasks at the same time but not necessarily simultaneously.
-
-
-
I'm building a Rails API with a separate web frontend app as "just another API client" (various smartphone apps to follow as well). In the previous "monolithic" version of the service, where all the server side was rolled into one Rails app
-
-
www.ctvnews.ca www.ctvnews.ca
-
Meissner, D. (2021, September 27). Tensions high between vaccinated and unvaccinated in Canada, poll suggests. Coronavirus. https://www.ctvnews.ca/health/coronavirus/tensions-high-between-vaccinated-and-unvaccinated-in-canada-poll-suggests-1.5601636
Tags
- selfish
- not immunized
- lang:en
- vaccination
- unvaccinated people
- is:news
- negative view
- antipathy
- irresponsible
- COVID-19
- online poll
Annotators
URL
-
-
docs.gitlab.com docs.gitlab.com
-
Epics, issues, requirements, and others all have similar but just subtle enough differences in common interactions that the user needs to hold a complicated mental model of how they each behave.
-
-
docs.gitlab.com docs.gitlab.com
-
The task is not deleted, but the two are no longer connected. It’s not possible to connect them again.
Should be possible!
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
When we have our git rev-parse examine our Git repository to view our origin/HEAD, what we see is whatever we have stored in this origin/HEAD. That need not match what is in their HEAD at this time. It might match! It might not.
-
- Jul 2022
-
catamphetamine.github.io catamphetamine.github.io
-
Windows 10 currently (01.01.2020) doesn't support Unicode country flags, and displays two-letter country codes instead of emoji flag images.
-
-
blog.jonudell.net blog.jonudell.net
-
instead of inlining the images, the image URL’s (and captions) are read from a .yaml file. The URL of the yaml file is passed as an argument when loading the page. The .yaml file as well as the images should be publicly served.
-
-
-
Oh I see whats happening, we actually have specs for this but they're not correct
-
-
www.reddit.com www.reddit.com
-
It really only takes one head scratching issue to suck up all the time it saves you over a year, and in my experience these head scratchers happen much more often than once a year. So in that sense it's not worth it, and the first time I run into an issue with it, I disable it completely.
-
-
avdi.codes avdi.codes
-
hearthis.at hearthis.at
-
www.youtube.com www.youtube.com
-
gist.github.com gist.github.com
-
5.7 Prioritize by weighing the value of additional information against the cost of not deciding.
5.7 Prioritize by weighing the value of additional information against the cost of not deciding.
-
-
github.com github.com
-
Stop autoclosing of PRs While the idea of cleaning up the the PRs list by nudging reviewers with the stale message and closing PRs that didn't got a review in time cloud work for the maintainers, in practice it discourages contributors to submit contributions. Keeping PRs open and not providing feedback also doesn't help with contributors motivation, so while I'm disabling this feature of the bot we still need to come up with a process that will help us to keep the number of PRs in check, but celebrate the work contributors already did instead of ignoring it, or dismissing in the form of a "stale" alerts, and automatically closing PRs.
Yes!! Thank you!!
typo: cloud work -> could work
-
-
github.com github.com
-
I don't understand why it should be so hard to keep issues open / reopen them. That's just going to cause people to open a duplicate issue/PR — or (if they notice in time) cause people to add extra "not stale" noise when the bot warns it's about to be closed. Wouldn't it be preferable to keep the discussion together in one place instead of spreading across duplicate issues? (Similarly, moving the meta conversation about an issue out to a completely separate system (Discord) seems like the wrong direction, because it wouldn't be visible to/discoverable by those arriving at the closed issue.) I get how it's useful to have stale issues not cluttering the list. But if interes/activity later picks up again, then "stale" is no longer accurate and its status should be automatically updated to reflect its newfound freshness... like it did back here:
-
- Jun 2022
-
admrayner.medium.com admrayner.medium.com
-
Now all I had learned on my travelsFell into a new kind of placeEven maths and hard sciencesNo longer at oddsWith Art or HumanityBut serving to showA side of the storyInsufficient to stand on its own
The great Zen teacher Daisetz Suzuki said upon his Satori experience: "The elbow does not bend backwards".
-
- May 2022
-
github.com github.com
-
Now I'm puzzled by the apparently biggest obstacle to implementation of this feature: possible misuse. I love ruby community, but sometimes saving the dummies' asses goes a bit too far.
-
-
wordpress.com wordpress.com
-
"I didn't fully understand it at the time, but throughout my time as a freshman at Boston College I've realized that I have the power to alter myself for the better and broaden my perspective on life. For most of my high school experience, I was holding to antiquated thoughts that had an impact on the majority of my daily interactions. Throughout my life, growing up as a single child has affected the way am in social interactions. This was evident in high school class discussions, as I did not yet have the confidence to be talkative and participate even up until the spring term of my senior year."
-
"Specifically, when one of my classmates stated how he was struggling with the concept and another one of my classmates took the initiative to clarify it, I realized that that individual possibilities vary greatly among students."
-
"The need to engage with people in terms of evaluating them for the aim of acquiring a different point of view was one occasion this semester where the knowledge I received in class positively changed the way I approached an issue. I was patient enough to explore other perspectives, some of which disagreed with mine, so that I might learn about their opinions without bias or prejudice."
Tags
- This annotation consisted of me continuing to do what I've been doing, which is primarily adding more direct experiences. In my draft for this one, I outlined the scenario of the triangle theory, but I did not go into further detail. Therefore, I resolved to describe the actual circumstances in order to offer the readers a better insight into the experience.
- (Major Essay) Ending/Conclusion paragraph. 5
- In my annotation, I addressed the problem of not stating how and why this circumstance benefits me in the future. In the annotation, I continued to describe how hearing other people's ideas and responding to their comments and insights during class discussions will aid me in my career aspirations.
- Introduction p.1
- (Major Essay) Climax paragraph. 3
- In this annotation, I choose to expand on my introduction. Before I explain why I chose the words I did, I should mention that my first draft failed to meet one of the assignment's primary requirements: a "Story like" structure. Finally, I decided to rework my introduction because my first draft did not begin with a clear beginning. Instead, I started by describing the fundamental context of the encounter before detailing my previous experiences. To improve my final edit, I made sure I described my experiences and/or how I felt before they occurred.
- (Major Essay) Introduction paragraph
Annotators
URL
-
-
tomcritchlow.com tomcritchlow.com
-
build a browser that comes pre-installed with node.js
Nah. Just stop programming directly against NodeJS to start with!
The Web platform is a multi-vendor standardized effort involving broad agreement to implement a set of common interfaces. NodeJS is a single implementation of a set of APIs that seemed good (to the NodeJS developers) at the time, and that could change whenever the NodeJS project decides it makes sense to.
(Projects like WebRun which try to provide a shim to let people continue to program against NodeJS's APIs but run the result in the browser is a fool's errand. Incredibly tempting, but definitely the wrong way to go about tackling the problem.)
-
-
www.ncbi.nlm.nih.gov www.ncbi.nlm.nih.gov
-
Embryonal rhabdomyosarcoma (ERMS) of the uterus has recently been shown to frequently harbor DICER1 mutations.
HGNCID:
Tags
- Disease Entity: Embryonal rhabdomyosarcoma (ERMS)
- GeneName: DICER1
- PMID (PubMed ID): 33846547
- case mut: f 28-67
- Inheritance Pattern: Non- inheritance(DNA methylation)
- Mutation: c.5125G > A
- Mutation: c.4420A>G
- Mutation: 5428 G>C
- Mutation: c.5428G>T
- Mutation: c.4267G>T
- Variant: Clinvar ID not identified
- case wt: m&f 0.5-19
- Mutation: c5113G>A
- Mutation: c.5438 A> C
- Mutation: c.3580delA
- pathogenicity: only 2 of 17 patients died from disease
- Family Information: not identified
- Zygosity: Some Cases displayed homozygosity
Annotators
URL
-
- Apr 2022
-
www.ncbi.nlm.nih.gov www.ncbi.nlm.nih.gov
-
The DICER1 syndrome is an autosomal dominant tumor‐predisposi-tion disorder associated with pleuropulmonary blastoma, a rare pediatric lung cancer
GeneName:DICER1 PMID (PubMed ID): PMCID: PMC6418698 PMID: 30672147 HGNCID: NOT LISTED<br /> Inheritance Pattern: Autosomal Dominant Disease Entity: Cancer; benign and malignant tumors including pleuropulmonary blastoma, cystic nephroma, Sertoli-Leydig cell tumors, multinodular goiter, Thryoid cancer, rhabdomyosarcoma, and pineoblastoma. Mutation: Somatic missense variation Mutation type: missense Zygosity: None stated Variant: unregistered…. Family Information: Characterize germline variants in familial early-onset clorectal cancer patients; The observation of germline DICER1 variation with uterine corpus endometrial carcinoma merits additional investigation. CasePresentingHPOs: uterine and rectal cancers in germline mutation
-
- Mar 2022
-
github.com github.com
-
ransack is a very dirty solution that completely integrates the Searching, Sorting, and Views as requirements of eachother
-
-
ludocode.com ludocode.com
-
I believe this is partly due to a militant position on free software. Some advocates believe so strongly that users should be able to recompile their software that they force them to do so. They break libraries seemingly on purpose just to say, “Recompile! Oh you can’t? That’ll teach you to use binary software!” Of course users don’t want to recompile their software, but what users actually want is usually lost on GNOME developers.
-
They claim that they deduplicate runtimes. I question how much can really be shared between different branches when everything is recompiled. How much has /usr changed between releases of Ubuntu? I would guess just about all of it.
-
-
momentjs.com momentjs.com
-
not all modern implementations have implemented this specification correctly (e.g., Safari)
-
-
code.visualstudio.com code.visualstudio.com
-
Note that this is a breaking API change in the libraries (more information in the README.md). It does not affect the backwards compatibility of the protocol itself.
annotation meta: may need new tag: backwards compatibility of the protocol backwards compatibility for [libraries that use [it?]]
-
- Feb 2022
-
www.jacobsen.no www.jacobsen.no
-
Hence an email address/mailbox/addr-spec is "local-part@domain"; "local-part" is composed of one or more of 'word' and periods; "word" can be an "atom" which can include anything except "specials", control characters or blank/space; and specials (the *only* printable ASCII characters [other than space, if you call space "printable"] *excluded* from being a valid "local-part") are: ()<>@,;:\".[] Therefore by the official standard for email on the internet, the plus sign is as much a legal character in the local-part of an email address as "a" or "_" or "-" or most any other symbol you see on the main part of a standard keyboard.
-
"+" is a completely valid character in an email address; as defined by the internet messaging standard published in 1982(!) RFC 822 (page 8 & 9)... Any website claiming anything else is wrong by definition, plus they are prohibiting me and many fellow anti-spam activists from tracking where inbound spam comes from:
-
-
news.ycombinator.com news.ycombinator.com
-
I used Publii for my blog, but it was very constraining in terms of its styling
This is a common enough feeling (not about Publii, specifically; just the general concern for flexibility and control in static site generators), but when you pull back and think in terms of normalcy and import, it's another example of how most of what you read on the internet is written by insane people.
Almost no one submitting a paper for an assignment or to a conference cares about styling the way that the users of static site generators (or other web content publishing pipelines) do. Almost no one sending an email worries about that sort of thing, either. (The people sending emails who do care a lot about it are usually doing email campaigns, and not normal people carrying out normal correspondence.) No one publishing a comment in the thread here—or a comment or post to Reddit—cares about these things like this, nor does anyone care as much when they're posting on Facebook.
Somehow, though, when it comes to personal Web sites, including blogs, it's MySpace all over again. Visual accoutrement gets pushed to the foreground, with emphasis on the form of expression itself, often with little relative care for the actual content (e.g. whether they're actually expressing anything interesting, or whether they're being held back from expressing something worthwhile by these meta-concerns that wouldn't even register if happening over a different medium).
When it comes to the Web, most instances of concern for the visual aesthetic of one's own work are distractions. It might even be prudent to consider those concerns to be a trap.
-
-
github.com github.com
-
Even though not all code smells indicate real problems (think fluent interfaces)
-
-
Local file Local file
-
As the only way to find outif something is worth reading is by reading it (even just bits of it), itmakes sense to use the time spent in the best possible way. Weconstantly encounter interesting ideas along the way and only afraction of them are useful for the particular paper we started readingit for. Why let them go to waste? Make a note and add it to your slip-box. It improves it. Every idea adds to what can become a criticalmass that turns a mere collection of ideas into an idea-generator.
Even if the paper or book you're reading doesn't answer the particular question you're researching, you're bound to come across other novel ideas and potential questions. Don't let these go to waste, but instead note them down and save them into your note taking system. They may be useful in the future, particularly if you found them interesting or intriguing.
It turns out "waste not, want not" is applicable to ideas as well.
I can't help but also thinking "waste note, want note" as an interesting turn of expression.
-
- Jan 2022
-
-
That's like the example i wrote, and i think it's very ugly. It's annoying when frameworks are very elegant in demos and presentations but then that elegance disappear when you have to write real world code.
Tags
Annotators
URL
-
-
thecodebarbarian.com thecodebarbarian.com
-
Seems easy, right? How about the below code, what will it print? new Promise((_, reject) => reject(new Error('woops'))). catch(error => { console.log('caught', err.message); }); It'll print out an unhandled rejection warning. Notice that err is not defined!
-
-
github.com github.com
-
We cannot make the above statement reactive because we touch tmpCopyAsTemplates.
-
-
github.com github.com
-
"$; foo = bar.a" means that you expect foo to always be whatever bar.a is is not true
Tags
Annotators
URL
-
- Dec 2021
-
monicasuri.com monicasuri.com
-
Raising an Independent Child
Monica Suri on healthy parenting
-
-
blog.codinghorror.com blog.codinghorror.com
-
In Markdown, we literally built a Tower of Babel.
No.
-
-
steamcommunity.com steamcommunity.com
-
This post is like a year old... Does not matter ,
-
- Nov 2021
-
-
Yep, we experimented with this, but what we found is that you loose most of Svelte's niceness like slots, and instead you'll pass around deeply nested objects.
-
-
bugs.launchpad.net bugs.launchpad.net
-
This is actively being worked on - for those interested you can follow the progress in https://github.com/snapcore/snapd/pull/10836
-
Seeing how this has been treated for 4.5 years makes this seem like a pretty dysfunctional project. Please have mercy on your poor users and fix this.
-
After 5 years there's still no fix. This is so annoying. I'm now getting rid of all snap packages and installing deb variants instead. Finally I'll purge snap and if these weird decisions keep on going I'll also move to another distro. Common Canonical. Seriously?
-
-
-
However, unless my feeble brain is feeble, this looks like a valid use case and I might not be alone.
-
Regarding the first example, we have to put aside the fact that we (from inspection) can see the runtime behavior of this code by executing it in our heads.
-
fresh (i.e. provably do not have properties we don't know about)
-
-
eleap.unimas.my eleap.unimas.my
-
It is initiated when bargaining is done between the parties, i.e employers and employees
-
- Oct 2021
-
github.com github.com
-
that is not ideal, since for example 'Cookie' is a forbidden header name, so I have to start worrying about env in load, which is kind of contra to its design.
-
-
Local file Local fileUntitled1
-
Arguments for “it depends.”
Exploratory research - descriptive -- light instrumentation Confirmatory study - use well structured Multiple case - standardization will help to cross compare.
See Figure 2.7
-
- Sep 2021
-
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.
-
-
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.sanity.io www.sanity.io
-
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.
-
-
betterprogramming.pub betterprogramming.pub
-
From my point of view, this approach will help you to write cleaner code. Also, it will help to maintain the project. For instance, moving a file from the current directory to another will cause fewer problems, because every file uses an absolute path instead of a relative one. Last but not least, it helps you during development.
-
-
blog.johnnyreilly.com blog.johnnyreilly.com
-
Let's not get over-excited. Actually, we're only part-way there; you can compile this code with the TypeScript compiler.... But is that enough?I bundle my TypeScript with ts-loader and webpack. If I try and use my new exciting import statement above with my build system then disappointment is in my future. webpack will be all like "import whuuuuuuuut?"You see, webpack doesn't know what we told the TypeScript compiler in the tsconfig.json.
-
-
blog.sindresorhus.com blog.sindresorhus.com
-
I am not going to do Webpack support. I’ve been pretty lenient in the past and answered most Webpack support questions, but it takes a lot of my time that I could have spent on more important things. I will instead refer users to the Webpack support channels.
-
-
webpack.js.org webpack.js.org
-
⚠ Node Sass does not work with Yarn PnP feature and doesn't support @use rule.
Tags
Annotators
URL
-
-
andrewm.codes andrewm.codes
-
The Rails server will also compile your assets if the dev server is not running, but this is much slower vs running separate processes and not recommended.
-
-
-
Webpacker used to configure Webpack indirectly, which lead to a complicated secondary configuration process. This was done in order to provide default configurations for the most popular frameworks, but ended up creating more complexity than it cured. So now Webpacker delegates all configuration directly to Webpack's default configuration setup.
more trouble than it's worth
- creating more complexity than it cured
Tags
- complicated
- too hard/complicated/non-trivial
- doing more harm than good
- modern javascript development is complicated
- newer/better ways of doing things
- Why can't this be easier/simpler? Why does it have to be so hard/complicated?
- too complicated
- changed their mind/opinion
- more trouble than it's worth
- removing feature that is more trouble than it's worth (not worth the effort to continue to maintain / fix bugs caused by keeping it)
Annotators
URL
-
-
spin.atomicobject.com spin.atomicobject.com
-
An extensible plugin architecture allows for customizing your workflow or even making Yarn a package manager for non-JavaScript projects.
-
-
stackoverflow.com stackoverflow.com
-
But it is always important to remember that those are not language concepts. Those are community concepts that only exist in our heads and in the names of some library methods.
I'm not sure about this. I get what he's saying and agree that singleton methods are nothing but a naming convention for the more fundamental/atomic construct called instance methods (which indeed are the only kind of method that exist in Ruby, depending how you look at it), but I think I would actually say that singleton methods are language concepts because those methods like
Object#define_singleton_method
, ... are always available in Ruby (without needing to require a standard library first, for example). In other words, I would argue that something belonging in the Ruby core "library" (?) by definition makes it part of the language -- even if it in turn builds on even lower-level Ruby language features/constructs. -
Note: when I wrote above that "there is no such thing as X", what I meant was that "there is no such thing as X in the Ruby language". That does not mean that those concepts don't exist in the Ruby community.
-
The question is similar but its in a Rails context. The solutions would answer my question, but I'm almost certain that he could probably leverage Arel to solve his problem. The question I posted was designed purely as a Ruby question so that it was easier to search for. You might want to suggest an edit of the title of his question because it didn't show up when I searched for a solution to my problem.
-
Yes, unfortunately the other question has a misleading and completely irrelevant Rails context and might be harder to find for some people. IMHO, it's still a perfect content duplicate, although not a topic one. Answers are also equal. Anyways, still a good question of yours.
-
-
forums.linuxmint.com forums.linuxmint.com
-
It seems to me (N.b. what do I know about this? Nothing!) that the best solution would be to tweak the 'Change Password' process so that it also updates the 'Passwords and Keys'>Passwords>Login folder's properties.
"I'm not an expert, but it seems to me..."
-
- Aug 2021
-
stackoverflow.com stackoverflow.com
-
Good catch, @Hokascha. The project claims support for cross-domain iframes, but reading the docs reveals that it does still require server access to the embedded domain.
-
-
granta.com granta.com
-
Always use the word ‘Africa’ or ‘Darkness’ or ‘Safari’ in your title.
I love the style in which this is written. While it appears to be a "how-to" guide, the author is doing nothing more than addressing the stereotypes that surround Africa. Turning this piece into a " how NOT to " guide.
Tags
Annotators
URL
-
-
fa21psy352.commons.gc.cuny.edu fa21psy352.commons.gc.cuny.edu
-
historicalknowledge is foundational to beingable to understand ourselves as humans.
Interesting! (Note: This does NOT count as an action.)
-
In every case, Psychol-ogy as a modern scientific discipline producesknowledge that changes the individuals, soci-eties, and cultures in which it is embedded, andthese changes then feed back into psychologicaltheory and practice.
Oh! I am interested in seeing how this unfolds throughout the semester. (Note: This does NOT count as an action.)
-
-
github.com github.com
-
I'd like to think this issue isn't quite a duplicate
-
-
stackoverflow.com stackoverflow.com
-
That should work as expected and not be too verbose (or at least it doesn't repeat string literals anywhere)
-
-
news.ycombinator.com news.ycombinator.com
-
If this was true, a paper should have been cited. Like all the other people did for their letters
-
-
www.canarymedia.com www.canarymedia.com
-
“We need to find ways to meet our customers’ needs and ambitions of reducing emissions to remain relevant for them.
Énergir can, and should, meet their customers' needs by helping them to end their use of gas and by accelerating a managed decapitalization of their existing gas assets. Énergir should "Pump Heat, Not Gas." By this I mean, they should refocus as a "thermal-utility," rather than as a gas-supplier and build a new business focused on the installation of heat pumps and the provision of geothermal district heating for their customers.
-
-
www.ruby-lang.org www.ruby-lang.org
-
3. The no-keyword-arguments syntax (**nil) is introduced You can use **nil in a method definition to explicitly mark the method accepts no keyword arguments. Calling such methods with keyword arguments will result in an ArgumentError. (This is actually a new feature, not an incompatibility)
-
- Jul 2021
-
github.com github.com
-
apart from [Websockets], which is unnecessarily complex for non-browser applications
-
-
github.com github.com
-
Please note that the strategy: :build option must be passed to an explicit call to association, and cannot be used with implicit associations:
-
-
rails.lighthouseapp.com rails.lighthouseapp.com
-
Rails' inability to automatically route my link_to and form_for in STI subclasses to the superclass is a constant source of frustration to me. +1 for fixing this bug.
I've had to work around this by doing record.as(BaseClass)
-
-
www.postgresql.org www.postgresql.org
-
(The null result should not be confused with a SQL NULL; see the examples.)
-
-
developer.mozilla.org developer.mozilla.org
-
All safe methods are also idempotent, but not all idempotent methods are safe. For example, PUT and DELETE are both idempotent but unsafe.
-
-
-
This reads like a content farm.... ugh. Re-encapsulates content without any real valuable context.
-
- Jun 2021
-
ruanmartinelli.com ruanmartinelli.com
-
Dependencies are hoisted, meaning they get installed in the root node_modules folder. This is done for performance reasons: if a dependency is shared by multiple packages, it gets saved only once in the root.
-
-
material.io material.ioLists1
-
Do not use aria-orientation attribute for standard list (i.e., role="list"), use component's vertical property to set the orientation to vertical.
Tags
Annotators
URL
-