- Aug 2024
-
www.derstandard.de www.derstandard.de
-
- Jul 2024
-
journals.sagepub.com journals.sagepub.com
-
There have been many attempts over the years to address the limitations of an overly ‘linear’ approach to ToC diagramming
for - ToC diagrams - limitations - too linear - attempts to address
-
- Jun 2024
-
docdrop.org docdrop.org
-
there's a huge disparity between state of law application of tech and what's 00:15:42 actually happening
for - AI - law - too slow
Tags
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
After Theseus, king of Athens and enemy of Minos, escaped from the labyrinth, King Minos suspected that Icarus and Daedalus had revealed the labyrinth's secrets and imprisoned them—either in a large tower overlooking the ocean or the labyrinth itself, depending upon the account.[1][2] Icarus and Daedalus escaped using wings Daedalus constructed from feathers, threads from blankets, clothes, and beeswax.[3] Daedalus warned Icarus first of complacency and then of hubris, instructing him to fly neither too low nor too high, lest the sea's dampness clog his wings or the sun's heat melt them.[3] Icarus ignored Daedalus's instructions not to fly too close to the sun, causing the beeswax in his wings to melt. Icarus fell from the sky, plunged into the sea, and drowned. The myth gave rise to the idiom, "fly too close to the sun." In some versions of the tale, Daedalus and Icarus escape by ship.[1][4]
Minos suspected Theseus and Daedalus gave the secrets of the labyrinth to Ariadne/Theseus. They were imprisoned. They escaped via wings that Daedalus constructed. Icarus was instructed to not fly too high or too low. Too high, and his wings would be burnt. Too low, and his wings would dampen. Icarus flew too close to the sun, and plunged into the ocean. Hence the idiom "fly too close to the sun".
-
- May 2024
-
github.com github.com
-
While the RSpec team now officially recommends system specs instead, feature specs are still fully supported, look basically identical, and work on older versions of Rails.
Whose recommendation should one follow?
RSpec team's recommendation seems to conflict with this project's: https://rspec.info/features/6-0/rspec-rails/request-specs/request-spec/:
Capybara is not supported in request specs. The recommended way to use Capybara is with feature specs.
-
-
roberts-rules.com roberts-rules.com
-
SO MOVED! This is a common statement which means nothing. One must state the actual motion so as to avoid confusion in the audience. Everyone has the right to know exactly what is being moved and discussed. "So moved!" is vague and pointless. Do not allow your club members to be vague and pointless.
-
- Apr 2024
-
forums.mozillazine.org forums.mozillazine.org
-
Ain't it possible that every message I send or forward will just be replaced to the outbox and will be send by Thunderbird in the background ? I really hate it that every message sends itself away, running on top of all other windows, and it makes me wait till it has been sent from reading my other messages...
-
-
superuser.com superuser.com
-
However, I don't want or need any email from the account other than when I check it manually.
-
-
support.mozilla.org support.mozilla.org
-
Compacting folders does nothing for me -- I don't know why. I compacted them today for the first time in about a year, and the folder size remained unchanged. I don't generally delete emails, so that's likely why, but that doesn't mean I need to keep local copies of 12.5GB of emails.
-
-
acestoohigh.com acestoohigh.com
-
for - Adverse Childhood Experiences - ACE - Aces Too High - childhood trauma - Intergenerational harm
Summary - A great resource that examines how adverse childhood experiences turns into harmful adult behavior that perpetuates the cycle - Most of the most famous pathological leaders of the modern era, including contemporary ones are examined from the perspective of their ACE
-
- Jan 2024
-
www.ruby-forum.com www.ruby-forum.com
-
How to use “case” to match class names? (=== not so funny)
-
-
docdrop.org docdrop.org
-
when you actually have chronic anything usually it's not a good result
for - chronic disease - usually chronic is not a good sign - too much of a good thing turns out to be bad - it means too much of something, like inflammation will cause harm - when inflammation knob is stuck on high, it becomes a problem
metaphor - inflammation and forest fire - If you are camping in the forest, a small fire keeps you warm and you can cook - Inflammation is like that small fire going out of control and burning the whole forest down
-
-
mattbrictson.com mattbrictson.com
-
But what if you want to reuse one layout within another?
-
-
www.reddit.com www.reddit.com
-
i was just banned from reddit for 3 days for "threatening violence" in this comment
you have to be really stupid (or evil) to interpret this comment as "threatening violence". but well, nothing new. hate maintainers, hate moderators, hate admins, ...
Kinda crazy that something that every body does is taken away from them and they shut up and obey like they are the government's property or something.
because people ARE property of the government
if i would own my children, then i could kill them, just like i can kill my dog. but "my" children are property of the government, and if i "hurt" my children, or if i teach the "wrong" things to my children, then police bust my door, steal my children, throw me in jail, and put my children into a "normal" family
you sound young, maybe 20. im 30, and i have some experience in this field... im officially labelled as "unfit for educating children" because of my radical views
here is the ban message:
Hi milahu2,
Reddit is a vast network of communities that are created, run, and populated by people like you. In order to keep communities welcoming, safe, and great places to be, everyone who uses the platform operates by a shared set of rules.
Banned 3-days for threatening violence
We flagged the following as a potential policy violation:
Content shared from milahu2 on 01/16/2024 UTC
https://www.reddit.com/r/Piracy/comments/197z4k9/comment/ki43hbb
After reviewing, we found that you broke Rule 1 because you threatened violence or physical harm. Reddit is a place for creating community and belonging, not for threatening violence against people or animals. We don’t tolerate any behavior that threatens violence or physical harm against an individual, groups of people, places, or animals. Any communities or people that threaten violence towards an individual, group, animals, or place will be banned.
As a result, we’re issuing a temporary 3-day ban on your milahu2 account, removing the violating content, and asking you not to break this rule again.
Reddit and its communities are only what we make of them together, and we want you to continue enjoying Reddit while helping your fellow redditors and communities stay safe. We suggest reading and getting acquainted with Reddit’s Content Policy. A better understanding of these rules will help you avoid further actions from our admin team. If you do continue to break Reddit’s rules through this or any other Reddit account, you may face additional actions such as a permanent ban from the platform.
If you feel like you didn’t break the rules, you can file an appeal any time within the next six months and we’ll take a second look.
– Reddit Admin Team
Note: This content was flagged by Reddit's automated systems. This decision was made without the assistance of automation.
my appeal:
not a single word in my comment is "threatening violence"
do you understand the english language?
-
-
-
-
for: COP28 talk - later is too late, Global tipping points report, question - are there maps of feedbacks of positive tipping points?, My Climate Risk, ICICLE, positive tipping points, social tipping points
-
NOTE
- This video is not yet available on YouTube so couldn't not be docdropped for annotation. So all annotations are done here referred to timestamp
-
SUMMARY
-
This video has not been uploaded on youtube yet so there is no transcription and I am manually annotating on this page.
-
Positive tipping points
- not as well studied as negative tipping points
- cost parity is the most obvious but there are other factors relating to
- politics
- psychology
- We are in a path dependency so we need disruptive change
-
-
SPEAKER PANEL
- Pierre Fredlingstein, Uni of Exeter - Global carbon budget report
- Rosalyn Conforth, Uni of Reading - Adaptation Gap report
- Tim Lenton, Uni of Exeter - Global Tipping Report
-
Global Carbon Budget report summary
-
0:19:47: Graph of largest emitters
- graph
- comment
- wow! We are all essentially dependent on China! How do citizens around the world influence China? I suppose if ANY of these major emitters don't radically reduce, we won't stay under 1.5 Deg C, but China is the biggest one.
-
00:20:51: Land Use Emissions
-
three countries represent 55% of all land use emissions - Brazil - DRC - Indonesia
-
00:21:55: CDR
- forests: 1.9 Gt / 5% of annual Fossil Fuel CO2 emissions
- technological CDR: 0.000025% of annual Fossil Fuel CO2 emissions
-
00:23:00: Remaining Carbon Budget
- 1.5 Deg C: 275 Gt CO2
- 1.7 Deg C. 625 Gt CO2
- 2.0 Deg C. 1150 Gt CO2
-
Advancing an Inclusive Process for Adaptation Planning and Action
-
adaptation is underfinanced. The gap is:
- 194 billion / year
- 366 billion / year by 2030
- climate change increases transboundary issues
- need transboundary agreements but these are absent
- conflicts and migration are a result of such transboundary climate impacts
- people are increasing climate impacts to try to survive due to existing climate impacts
-00:29:46: My Climate Risk Regional Hubs - Looking at climate risks from a local perspective. - @Nate, @SoNeC - 00:30:33 ""ICICLE** storyllines - need bottom-up approach (ICICLE - Integrated Climate Livelihood and and Environment storylines)
-
00:32:58: Global Tipping Points
-
00:33:46: Five of planetary systems can tip at the current 1.2 Deg C
- Greenland Ice Sheet
- West Antarctic
- Permafrost
- Coral Reefs - 500 million people
- Subpolar Gyre of North Atlantic - ice age in Europe
- goes in a decade - like British Columbia climate
-
00:35:39
- risks go up disproportionately with every 0.1 deg C of warming. There is no longer a business-as-usual option now. We CANNOT ACT INCREMENTALLY NOW.
-
00:36:00
- we calculate a need of a speed up of a factor of 7 to shut down greenhouse gas emissions and that is done through positive tipping points.
-00:37:00 - We have accelerating positive feedbacks and if we coordinate policy changes with consumer behavior change and business behavior change to reinforce these positive feedbacks, we can help accelerate change in the other sectors of the global economy responsible for all the other emissions
-
00:37:30
- in the report we walk you through the other sectors, where their tipping points are and how we have to act to trigger them. This is the only viable path out of our situation.
-
00:38:10
- Positive tipping points can also reinforce each other
- Question: Are there maps of the feedbacks of positive tipping points?
- Tim only discusses economic and technological positive tipping points and does not talk about social or societal
-
-
- Dec 2023
-
climateuncensored.com climateuncensored.com
-
The Conversation’s senior editor had pulled the piece at the last minute, claiming it was “too polemical”. Unfortunately, the senior editor didn’t elaborate on their judgement (or contact me directly), so I can only guess that they were uncomfortable with my direct language and reference to the “generally supine media” – concerns all too easily hidden behind the façade of “too polemical”.
- for: too controversial, too polemic, elite discomfort, ClimateUncensored censored!, Kevin Anderson - censored
-
-
www.youtube.com www.youtube.com
-
its easy to get lost in complexity here, but i prefer to keep it simple: our *only* problem is overpopulation, which is caused by pacifism = civilization. *all* other problems are only symptoms of overpopulation. these "financial weapons of mass destruction" (warren buffett) have the only purpose of mass murder = to kill the 95% useless eaters. so yes, this is a "controlled demolition" aka "global suicide cult". most of us will die, but we are happy...
financial weapons of mass destruction: the useful idiots believe that they can defeat risk (or generally, defeat death) by centralization on a global scale. they want to build a system that is "too big to fail" and which will "live forever". they use all kinds of tricks to make their slaves "feel safe" and "feel happy", while subconsciously, everything is going to hell in the long run. so this is just another version of "stupid and evil people trying to rule the world". hubris comes before the fall, nothing new. their system will never work, but idiots must try... because "fake it till you make it" = constructivism, mind over matter, fantasy defeats reality, ...
the video and soundtrack are annoying, they add zero value to the monolog.
-
- Nov 2023
-
laracasts.com laracasts.com
-
The problem is that when I want to create OAuth client ID in google, it does not accept ".test" domain for "Authorized redirect URIs". It says: Invalid Redirect: must end with a public top-level domain (such as .com or .org). Invalid Redirect: domain must be added to the authorized domains list before submitting. While it accepts .test domain for "Authorized JavaScript origins" part! I saw most of the tutorials when using socialite and google api they set these in google console. http://localhost:8000 and http://localhost:8000/callback/google and google accepts them without problem with domain and generate the key and secret but I am not using mamp and I am going to continue with valet. I would be so thankful if you guide me about what is the alternative domain for .test which works fine in valet and also google accepts it?
-
-
github.com github.com
-
So then they put it into lib only to find that they have to manually require it. Then later realize that this also means they now have to reboot their server any time they change the file (after a painfully long debugging time of "why what aren't my changes working?", because their lib folder classes are now second-class citizens). Then they go down the rabbit hole of adding lib to the autoload paths, which burns them because rake tasks then all get eager loaded in production. Then they inevitably realize anything inside app is autoloaded and make an app/lib per Xavier's advice.
-
I think the symmetry of the naming between lib and app/lib will lead a fresh Rails developer to seek out the answer to “Why are there two lib directories?", and they will become illuminated. And it will prevent them from seeking the answer to “How do I autoload lib?” which will start them on a rough path that leads to me advising them to undo it.
-
-
oztypewriter.blogspot.com oztypewriter.blogspot.com
-
-
www.youtube.com www.youtube.comYouTube1
-
Red Typewriter at 8:28
Related: Holiday Ornament in Swift store: https://store.taylorswift.com/collections/holiday-collection/products/all-too-well-typewriter-ornament
Easter eggs: https://www.buzzfeed.com/ryanschocket2/taylor-swift-all-too-well-typewriter-easter-egg
Typewriter identity: https://www.reddit.com/r/typewriters/comments/17utzze/identity_of_the_red_typewriter_from_taylor_swifts/
Tags
Annotators
URL
-
- Oct 2023
-
bryanalexander.org bryanalexander.org
-
Alexander, Bryan. “Undents, Volvelles, and Didymus the Brazen-Gutted: Notes on Ann M. Blair’s Too Much to Know.” Bryan Alexander (blog), January 12, 2016. https://bryanalexander.org/reviews/undents-volvelles-and-didymus-the-brazen-gutted-notes-on-ann-m-blairs-too-much-to-know/.
-
-
english.stackexchange.com english.stackexchange.com
-
I don't understand the distinction between quality and state.
Now that I mention it, neither do I. What's the difference between a quality and a state?
-
- Sep 2023
-
github.com github.com
-
Should any one stumble upon this issue @tenderlove reverted commit a8bf129 in a71350c which is in v5.0.0.beta1 and later.
-
- Aug 2023
-
-
4. Too much couplingAnother issue I had with this is the coupling that it might introduce in your code. I do understand that our community in general is not very much interested in dealing with coupling and I am not an expert at this either, but I do get a feeling that this suppress method would lead to some very bad usages.For instance, why does the Copyable module needs to know about a class named Notification?
-
-
github.com github.com
-
rendered.should have_selector("#header") do |header| header.should have_selector("ul.navlinks") end Both of which silently pass - however, capybara doesn't support a :content option (it should be :text), and it doesn't support passing blocks to have_selector (a common mistake from Webrat switchers).
-
- Jul 2023
-
stackoverflow.com stackoverflow.com
-
expect(described_class.active).not_to include_any_of [records_not_to_be_included]
-
-
www.codewithjason.com www.codewithjason.com
-
The way to do this with Capybara is documented on StackOverflow but, unfortunately, the answer there is buried in a little too much noise. I decided to create my own tiny noise-free blog post that contains the answer. Here it is:
-
I commonly find myself wanting to assert that a certain field contains a certain value.
-
-
stackoverflow.com stackoverflow.com
-
github.com github.com
-
Lograge is an attempt to bring sanity to Rails' noisy and unusable, unparsable and, in the context of running multiple processes and servers, unreadable default logging output.
Tags
Annotators
URL
-
-
github.com github.com
- Jun 2023
- Mar 2023
-
-
he gained popularity, particularly among young men, by promoting what he presented as a hyper-masculine, ultra-luxurious lifestyle.
Andrew Tate, a former kickboxer and Big Brother (17, UK) housemate, has gained popularity among young men for promoting a "hyper-masculine, ultra-luxurious lifestyle".
Where does Tate fit into the pantheon of the prosperity gospel? Is he touching on it or extending it to the nth degree? How much of his audience overlaps with the religious right that would internalize such a viewpoint?
-
-
learningtakesalifetime.home.blog learningtakesalifetime.home.blog
-
I am not a mechanic, but I like to dabble in fixing whatever is at hand, especially when it saves our family money.
-
- Jan 2023
-
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
-
-
-
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.
-
-
webapps.stackexchange.com webapps.stackexchange.com
- Dec 2022
-
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
-
-
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.
-
- Nov 2022
-
www-proquest-com.ezproxy.libproxy.db.erau.edu www-proquest-com.ezproxy.libproxy.db.erau.edu
-
Since adequately performing economies use too much energy, other research has formulated low energy consumption levels satisfying human needs. What would low energy life be like? For starters, an end to private transportation, not just switching to electric vehicles. People will have to rely on public transit and “active” transport (e.g., walking).
Not going to be a possibility for most people
-
Estimates put the level of energy use “compatible with avoiding 1.5ºC of global warming without relying on negative emissions technology” at around 7,500 kilowatt-hours per person per year. Americans currently use more than ten times this level, so our energy use would need to decline drastically
We use too much energy for this to be possible
-
-
go-gale-com.ezproxy.libproxy.db.erau.edu go-gale-com.ezproxy.libproxy.db.erau.edu
-
Many INDCs lack necessary details, such as clarity on sectors and gases covered, details on the impact of listed mitigation actions, different metrics to aggregate gases, details on base year or reference values from which reductions or improvements would be measured, or accounting practices related to land use and the use of specific market mechanisms (
Countries were only concerned with delivering a result rather than giving good solutions
-
About two thirds of the available budget for keeping warming to below 2[degrees]C have already been emitted
no money for change
-
The INDCs collectively lower greenhouse gas emissions compared to where current policies stand, but still imply a median warming of 2.6-3.1 degrees Celsius by 2100. More can be achieved, because the agreement stipulates that targets for reducing greenhouse gas emissions are strengthened over time, both in ambition and scope
Agaisnt too late
-
-
onlinelibrary-wiley-com.ezproxy.libproxy.db.erau.edu onlinelibrary-wiley-com.ezproxy.libproxy.db.erau.edu
-
On the other hand, emissions from the building sector are expected to rise from 9 gigatonnes (Gt) in 2004 to 11 to 16 Gt in 2030, mainly due to economic growth in developing countries (IPCC 2007). Given climate change as a global constraint to future use of fossil fuels, it is the responsibility of the industrialized nations to develop an energy efficient building stock in order to facilitate economic development elsewhere in the world. Recent policy proposals (European Commision 2011; Kelly 2009) make similar arguments and suggest sectoral reduction targets of 80% or more for developed regions.
Arguement for it is too late
-
As heat losses of buildings are minimized during transformation, energy for hot water and appliances becomes the dominant contributor to sectoral energy demand. Reducing the sectoral carbon footprint by at least 50%, as required to limit global warming to 2°C, cannot be achieved by transforming the stock alone; additional measures such as lowering consumption from hot water generation or appliances and changes that impact lifestyle, such as smaller dwellings and more people per dwelling, are required.
Against its too late
-
-
github.com github.com
-
The console needs to be readable in development and to provide the best DX I have to design my libraries in ways that prevent these warnings. This results in design decisions that are detrimental to functionality and/or code readability/simplicity.
-
-
stackoverflow.com stackoverflow.com
-
I have DNS settings in my hosts file that are what resolve the visits to localhost, but also preserve the subdomain in the request (this latter point is important because Rails path helpers care which subdomain is being requested)
-
I've developed additional perspective on this issue - I have DNS settings in my hosts file that are what resolve the visits to localhost, but also preserve the subdomain in the request (this latter point is important because Rails path helpers care which subdomain is being requested) To sum up the scope of the problem as it stands now - I need a way within Heroku/Capybara system tests to both route requests to localhost, but also maintain the subdomain information of the request. I've been able to accomplish one or the other, but haven't found a configuration that provides both yet.
-
-
developer.chrome.com developer.chrome.com
-
The Console now supports redeclaration of const statement, in addition to the existing let and class redeclarations. The inability to redeclare was a common annoyance for web developers who use the Console to experiment with new JavaScript code.
-
-
stackoverflow.com stackoverflow.com
-
Honestly, at this point, I don't even know what tools I'm using, and which is responsible for what feature. Diving into the code of capybara and cucumber yields hundreds of lines of metaprogramming magic that somehow accretes into a testing framework. It's really making me loathe TDD despite my previous youthful enthusiasm.
opinion: too much metaprogramming magic
I'm not so sure it's "too much" though... Any framework or large software project is going to feel that way to a newcomer looking at the code, due to the number of layers of abstractions, etc. that eventually were added/needed by the maintainers to make it maintainable, decoupled, etc.
-
-
stackoverflow.com stackoverflow.com
-
session = ActionDispatch::Integration::Session.new(Rails.application) response = session.post("/mypath", my_params: "go_here")
worked for me
-
-
stackoverflow.com stackoverflow.com
-
Check the "Auto-open DevTools for popups".
Without this feature, when a pop-up opens without DevTools open, if it redirects, it will be too late to open DevTools and see the redirect logged...
There is still a problem though: If the pop-up window closes, so does that DevTools. So you can't see logs or network logs (redierects) that happened right before it closed...
-
-
unix.stackexchange.com unix.stackexchange.com
-
Why was the SIGSTOP-ed process not responding to SIGTERM? Why does the kernel keeps it in the same state? Why did it get killed the moment it received the SIGCONT signal? If it was because of the previous SIGTERM signal, where was it kept until the process resumed?
-
-
copyprogramming.com copyprogramming.com
-
Determine if a glyph exists in a given font
-
I'm looking to see if there is a way, in PHP, to determine if a glyph exists for a given character in a font.
-
-
www.thecut.com www.thecut.com
- Oct 2022
-
stackoverflow.com stackoverflow.com
-
that's right, we don't want to do params = { ... } because then we're hardcoding the implementation and it becomes very coupled. The benefit of doing it like in my examples is that you can change the method signature and still automatically capture all keyword parameters.
-
-
www.linuxquestions.org www.linuxquestions.org
-
I'd like rsync to create the source dir structure on the remote, when I'm only synching a file in a sub-dir. At the moment it seems I need to do this in 2 commands, e.g.. ssh <remote> mkdir -p /backup/var/spool/cron/crontabs rsync -vauz /var/spool/cron/crontabs <remote>:/backup/home/var/spool/cron/. Ideally, I'd like to be able to do this: rsync -Mvauz /var/spool/cron/crontabs <remote>:/backup/home/var/spool/cron/.
-
-
www.linuxquestions.org www.linuxquestions.org
-
I'd like rsync to create the source dir structure on the remote, when I'm only synching a file in a sub-dir. At the moment it seems I need to do this in 2 commands, e.g.. ssh <remote> mkdir -p /backup/var/spool/cron/crontabs rsync -vauz /var/spool/cron/crontabs <remote>:/backup/home/var/spool/cron/. Ideally, I'd like to be able to do this: rsync -Mvauz /var/spool/cron/crontabs <remote>:/backup/home/var/spool/cron/. ...where M (make parents) is a new option that tells mkdir to do 'mkdir -p' on the remote target dir.
-
- Sep 2022
-
github.com github.com
-
I hope this doesn't seem too much like a content-free +1, but
-
-
stackoverflow.com stackoverflow.com
-
it's syntactically correct, but it will check that none parameters are valid, just because additionalProperties work at siblings level, and no enter inside of allOf
JSON Schema: problem: can't use additionalProperties with allOf to make a union
-
-
github.com github.com
-
Multiple different people have been discussing multiple different problems, and asking for examples of the other problems, talking past each other and generally this thread got to an unreadable point due to this confusion.
-
- Aug 2022
-
stackoverflow.com stackoverflow.com
-
Mint as of late has made it harder for scrapers to scrape it.
-
-
quickbooks.intuit.com quickbooks.intuit.com
-
However, captcha should not be happening this often.
-
-
www.quora.com www.quora.com
-
It would completely change how I view mint.com. It would become a powerful mechanism for opening up my own access to my own financial data which is currently being locked away by my banks, credit card companies and other providers. All I get is a crappy UI from those places. Mint's UI is much better, but an API would completely change the game.
Tags
Annotators
URL
-
-
www.reddit.com www.reddit.com
-
I would like something to log and tag my spending instantly.
-
My main issue with mint was having to correct transactions multiple times. Do it one day, do it again the next, then it finally sticks.
-
-
support.google.com support.google.com
-
How do I turn off the requirement to have a lock screen?Today, I'm suddenly unable to use any Google related apps on my phone, because I am now REQUIRED to set up a lock screen on my phone. I get that you want to be super-secure for businesses using enterprise devices. I am not a business. I'm some guy who just happens to have a domain name. My only "employee" is me. I have a two email addresses: My real first name, and the shorter version that most people call me. I do NOT want a lock screen on my phone. I don't want to be forced to give myself permission to use apps on my phone. Why am I now required to add all this bull$%^? Nobody is hacking my interwebs. Give me a f#$%^& break! I don't need a lock screen. I've been using this account for everything (gmail, youtube, etc) for over five years now. I'm not interested in deleting it and going back to my gmail.com account. I'm also not interested in being forced to click multiple times just to use my phone. Let me disable it.So, how do I turn this garbage off?
-
-
-
Reducing nested structures is tiresome. Have you tried immer?
-
-
stackoverflow.com stackoverflow.com
-
I appreciate the time and effort you put into your answer, but frankly this is still completely incomprehensible to me.
-
-
stackoverflow.com stackoverflow.com
-
It's a great way to test various limits. When you think about this even more, it's a little mind-bending, as we're trying to impose a global clock ("who is the most up to date") on a system that inherently doesn't have a global clock. When we scale time down to nanoseconds, this affects us in the real world of today: a light-nanosecond is not very far.
-
There are many questions we can ask and answer about branch names. Each one is specific to one particular repository because all branch names are local to that particular repository. Any changes anyone makes in that repository affect only that one repository, at least at the time they make them.
which assumption? well, people make the assumption that our local repo should know some fact about the remote repo, like its default branch, without actually asking the remote about itself
-
- Jul 2022
-
github.com github.com
-
Interestingly, Rails doesn't see this in their test suite because they set this value during setup:
-
-
stackoverflow.com stackoverflow.com
-
Rails 3 seems is ignoring my rescue_from handler so I cannot test my redirect below.
I have similar problem too
404 errors raise
ActiveRecord::RecordNotFound
to the test
-
- May 2022
-
deploymentzone.com deploymentzone.com
-
DatabaseCleaner.strategy = :truncation, {:except => %w[spatial_ref_sys]}
Yes.
-
I spent some time trying to figure out why I was receiving: GetProj4StringSPI: Cannot find SRID (4326) in spatial_ref_sys From my tests. Of course SELECT * FROM spatial_ref_sys returned 0 rows.
I had this problem too
-
- Apr 2022
-
www.hey.com www.hey.comHEY1
-
HEY’s fresh approach transforms email into something you want to use, not something you’re forced to deal with.
-
-
Local file Local file
-
Book review
Cook, Trevor. “Review: Blair, Ann M. Too Much to Know: Managing Scholarly Information Before the Modern Age. New Haven: Yale University Press, 2010. Pp. Xv, 397. ISBN 978-0-300-11251-1 (Hardcover) $45.” Renaissance and Reformation 33, no. 4 (December 12, 2011): 109–11. https://doi.org/10.33137/rr.v33i4.15975.
Note that they've accidentally used the word "in" instead of "Before" in the title of the book.
-
The bookitself participates in the history it recounts: it has a title page, table of contents,footnotes, a bibliography and an index to assist the reader, while the digitalcopy enables the reader to search for individual words and phrases as well asto copy-and-paste without disfiguring a material object.
Some scholars study annotations as part of material culture. Are they leaving out too much by solely studying those physically left in the books about which they were made, or should we instead also be looking at other sources like commonplace books, notebooks, note cards, digital spaces like e-readers that allow annotation, social media where texts are discussed, or even digital marginalia in services like Hypothes.is or Perusall?
Some of these forms of annotation allow a digital version of cut and paste which doesn't cause damage to the original text, which should be thought of as a good thing though it may separate the annotations from the original physical object.
-
- Mar 2022
-
www.imdb.com www.imdb.com
-
Notable actors that worked with Roman Polanski after rape charges were filed in 1977.
-
-
ludocode.com ludocode.com
-
Software has gotten so much slower and more bloated that operating systems no longer run acceptably on spinning rust.
-
-
-
In 1994, The Unix-Haters Handbook was published containing a long list of missives about the software—everything from overly-cryptic command names that were optimized for Teletype machines, to irreversible file deletion, to unintuitive programs with far too many options. Over twenty years later, an overwhelming majority of these complaints are still valid even across the dozens of modern derivatives. Unix had become so widely used that changing its behavior would have challenging implications. For better
-
- Jan 2022
-
-
An annoying thing about frameworks is when they get too opinonated, which is, in my view, a problem React has.
Tags
Annotators
URL
-
-
github.com github.com
-
github.com github.com
- Dec 2021
-
github.com github.com
-
I'd prefer a "guard clause" here. return unless enabled?
Tags
Annotators
URL
-
- Nov 2021
-
www.reddit.com www.reddit.com
-
Could someone guide me how to set up chromedriver with selenium using chromium flatpak properly? I can't seem to find any tutorial doing it like this... I never had issues with chromedriver using the "old" sudo apt way and I also got it working using snapd. But since I am using Pop!_OS I'd like to just use flatpaks if there is no sudo apt repo.
-
- Oct 2021
-
stackoverflow.com stackoverflow.com
-
Rspec hangs after it finishes running through my tests
-
-
github.com github.com
-
The issue seems to be that when there are multiple layouts configured, VS Code sets as key layout the first value for layout form setxkbmap -query, ignoring the current layout. If I switch to be en,de then VS Code uses the EN layout, as it is the first in the list. It would be handy if VS Code could use the current layout instead of the first from the list.
-
-
github.com github.com
-
Because I have already had public API, I don't want to provide an extra "proxy" API by SvelkteKit.
-
- Sep 2021
-
www.reddit.com www.reddit.com
-
Does this daemon benefit me in anyway or is it only used for mismatched resolutions like 1440p with a 1080p display?
-
-
-
avoiding a browser monoculture
-
I have always rooted for Mozilla in preventing Google from obtaining unequivocal control of what has become the most critical software platform in the modern era, one that holds relevance in nearly everyone's life: the web.
-
-
www.reddit.com www.reddit.com
-
The whole point of DoH in firefox is to not depend on the OS like windows. And it is the OS, which implements the hosts file mechanism.
-
-
superuser.com superuser.com
-
Does Firefox ignore the hosts file? How to make Firefox honor the hosts file
-
-
stackoverflow.com stackoverflow.com
-
Why is my hosts file entry being ignored by the browser?
-
-
support.mozilla.org support.mozilla.org
-
Firefox ignores the presence of the hosts file, never using it to resolve a URL.
-
-
-
if you have 3 windows of the same web browser application running, Alt+Tab won’t let you switch between those windows
-
-
www.amazon.com www.amazon.com
-
After a bad leak from the pipe leading into my hot water heater left my floors soaked and damaged, I decided I wanted to be prepared in case there was a next time.
-
-
stackoverflow.com stackoverflow.com
-
Can you make Svelte create an open shadowRoot? You can then move it yourself (client-side)
-
-
www.sanity.io www.sanity.io
-
React, on the other hand, often requires a fair amount of boilerplate code, even for simple interactions.
-
-
www.gitmemory.com www.gitmemory.com
-
Couldn't start client Svelte
-
-
stackoverflow.com stackoverflow.com
-
Class constructor ServeCommand cannot be invoked without 'new'
-
-
-
WARNING in ./app/javascript/components/ComponentLibrary/Docs/Intro.md Module parse failed: Unexpected character '#' (1:0) You may need an appropriate loader to handle this file type.
-
-
github.com github.com
-
No need for "me too"s. Please add a thumbs up on the original issue if you want to do that.
-
-
-
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
- Why can't this be easier/simpler? Why does it have to be so hard/complicated?
- too hard/complicated/non-trivial
- doing more harm than good
- modern javascript development is complicated
- changed their mind/opinion
- too complicated
- complicated
- newer/better ways of doing things
- removing feature that is more trouble than it's worth (not worth the effort to continue to maintain / fix bugs caused by keeping it)
- more trouble than it's worth
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
Unfortunately, it's too late to make the question more specific as this would invalidate some of the (good) answers.
-
-
stackoverflow.com stackoverflow.com
-
Node Sass does not yet support your current environment indicates that the version of node-sass you are trying to run is not compatible with the version of node installed.
-
-
askubuntu.com askubuntu.com
-
Usually you get this error if you change your password by some other means which fails to update the password for the keyring.
-
-
www.systutorials.com www.systutorials.com
-
Scripts for disabling/enabling laptop keyboard
-
-
stackoverflow.com stackoverflow.com
-
How can I make a link that will go directly to a specific location in the iFrame
-
- Aug 2021
-
stackoverflow.com stackoverflow.com
-
Love the simplicity of this and that it uses native browser methods
-
-
stackoverflow.com stackoverflow.com
-
But for this approach we fear the performance impact of creating iframes via JavaScript -- the html iframe would be rendered and loaded before the script would even start to execute.
-
-
github.com github.com
-
The problem is that, with the literal types, the includes call now gives a type error: // Error: Argument of type number is not assignable to 1 | 2 | 3 if(!legalValues.includes(userValue)) { throw new Error("..."); }
-
-
-
Now consider we want to handle numbers in our known value set: const KNOWN_VALUES = Object.freeze(['a', 'b', 'c', 1, 2, 3]) function isKnownValue(input?: string | number) { return typeof(input) === 'string' && KNOWN_VALUES.includes(input) } Uh oh! This TypeScript compiles without errors, but it's not correct. Where as our original "naive" approach would have worked just fine. Why is that? Where is the breakdown here? It's because TypeScript's type system got in the way of the developer's initial intent. It caused us to change our code from what we intended to what it allowed. It was never the developer's intention to check that input was a string and a known value; the developer simply wanted to check whether input was a known value - but wasn't permitted to do so.
-
-
stackoverflow.com stackoverflow.com
-
That should work as expected and not be too verbose (or at least it doesn't repeat string literals anywhere)
-
So is @Ryan Cavanaugh's answer the only viable solution? It seems extremely verbose...
-
My question is specifically if there is a way to do user defined type guards using the type itself
-
-
www.ruby-lang.org www.ruby-lang.org
-
The automatic conversion not only confuses people but also makes the method less extensible. See [Feature #14183] for more details about the reasons for the change in behavior, and why certain implementation choices were made.
-
- Jul 2021
-
www.theatlantic.com www.theatlantic.com
-
Finally, Real America has a strong nationalist character. Its attitude toward the rest of the world is isolationist, hostile to humanitarianism and international engagement, but ready to respond aggressively to any incursion against national interests.
Humanitarianism and international engagement are definitely important, but their value is often made invisible to "Real America" or "middle America".
How can this value be made more apparent? How could we account for it to make it easier to see?
The issue is compounded when large corporations receive massive bailouts as it's an additional cost weighing down the system. Would humanitarianism and international engagement be easier to uphold if we left off corporate costs? Do most of the value of humanitarianism and international engagement redound to corporations as an additional value primarily to them rather than everyday people? Is their perceived problem that they're another method of privatizing profits to major corporations and elites and socializing the losses to the average person?
-
-
github.com github.com
-
Auto-Detect & install BigCommerce's stencil-cli Auto-Detect & install Meteor Auto-Detect & install Shopify's themekit
Simpler option: https://github.com/apollographql/apollo-server/blob/main/.envrc
-
curl -o ~/.config/direnv/helpers.sh
-
-
github.com github.com
-
apart from [Websockets], which is unnecessarily complex for non-browser applications
-
-
www.techradar.com www.techradar.com
-
While Microsoft is entirely in the right by reminding people of the terms they agreed to, many users are taking issue with the fact that they hadn’t been warned about the limit in the eight years it’s been in place, and many people are now being told they are over the limit after years of being over.
-
-
blog.logrocket.com blog.logrocket.com
-
This “bloat,” along with recently seeing how mismanaged the open-source community is, finally broke the camel’s back for me. I realized that I needed to look elsewhere for a GraphQL client library.
-
Sometimes libraries can be too opinionated and offer too much “magic”. I’ve been using Apollo Client for quite some time and have become frustrated with its caching and local state mechanisms.
-
- Jun 2021
-
dockerquestions.com dockerquestions.com
-
Docker returns: Client sent an HTTP request to an HTTPS server.
-
-
github.com github.com
-
As you can see Rails already adds error messages from associated models and doing it wrongly: Merging together errors from different models under same has_many association. :"employments.company"=>["can't be blank"] And this is wrong.
-
I have been waiting for a solution for this quite a while now.
-
-
www.mutuallyhuman.com www.mutuallyhuman.com
-
This particular project team came in with a lot of experience using testing tools like RSpec and Capybara. This included integrating with additional tools like Selenium WebDriver, Chrome and Chromedriver, data generation libraries like FactoryBot, and task runners like Rake. We had less experience doing end-to-end testing with Protractor even though it too uses Selenium WebDriver (a tool we’re very comfortable with).
-
-
www.mutuallyhuman.com www.mutuallyhuman.com
-
For me the diagrams make it easier to talk about what the tests do without getting bogged down by how they do it.
Tags
- communication: effective communication
- communication: focus on what is important
- describe the what without getting bogged down by how (implementation details; too detailed)
- communication: use the right level of detail
- focus on what it should do, not on how it should do it (implementation details; software design)
- too detailed
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
Which gets the job done, but that's a chunk of boilerplate for a simple accessor
-
-
stackoverflow.com stackoverflow.com
-
I don't think it is too clever. I think it solves the problem idiomatically. I.e., it uses reduce, which is exactly correct. Programmers should be encouraged to understand what is correct, why it is correct, and then propagate. For a trivial operation like average, true, one doesn't need to be "clever". But by understanding what "reduce" is for a trivial case, one can then start applying it to much more complex problems. upvote.
-
-
www.migrationencounters.org www.migrationencounters.org
-
I've never felt challenged by any of my teachers. All their curriculums I've laughed at. I run circles around my teachers and most of them hated me because I'd finish my work and I'm pretty sure they hated me. I remember this lady. What was her name? I don't remember her name, but she was redheaded with glasses. She fucking hated me, man, because I'd laugh at pretty much all her work. I'd finish it in seconds and she'd get so frustrated with me because she's like, "Ugh. What am I supposed to do with you?"
Time in the US, School, Teachers
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
Is there a way to select from multiple custom tables using ActiveRecord QueryMethods? I'm trying to replicate this SQL query using Ruby's ActiveRecord Query Methods. select employee.emplid, address.location from (....) employee, (....) address where employee.emplid = address.emplid
-
-
github.com github.com
-
This is a blocker for me as well, as I don't really understand how to interact with my backend while it's not implemented within sveltekit and uses cookie-based authentication.
-
-
-
Allows you to use sapper with an API service residing in another server. This is especially useful if your API server is written in another language
-
- May 2021
-
-
This looks cool but right now, let's say i have an external api which depends on users cookies, the cookies only gets send through internal sk endpoints while ssr even if its the same domain. Couldn't we pass the 'server' request to the serverFetch hook? I would currently have to patch package svelte kit to pass request headers to the external api or create an sk endpoint which proxies the request.
-
-
github.com github.com
-
Well, since you're reading this, let me tell you a little more about HMR. Magic is actually not such a good think in software development, so if we can demystify HMR a bit, it will probably benefits you when it comes to answer setup questions or, generally, get the most out of your HMR experience.
-
-
stackoverflow.com stackoverflow.com
-
What I am attempting to do is to highlight a div with a certain id, when It has been referred to by an anchor on another page IE: User clicks link href="qw.html#test", when the page is loaded, then the div with the id="test" is highlighted so that the user can see it clearly.
-
- Apr 2021
-
github.com github.com
-
These example are for Rails applications, but there is no dependency on Rails for using this gem. Most of the examples are applicable to any Ruby application.
-
-
stackoverflow.com stackoverflow.com
-
-
You can use asset helpers if the erb is only for referencing assets:
-
-
boardgamegeek.com boardgamegeek.com
-
I really like the ideas in this game: the theme, what it's trying to accomplish (explore the problems with imperialism, if I understood correctly), the game board, the game in general. I want to like it.
but, I don't think I would like this one enough due to the luck and relying on other players' whims (trading) mechanisms:
- Dice Rolling
- Push Your Luck
You can risk a lot getting an expensive estate, but if you push your luck too much, your risk/gamble won't pay off and you'll permanently lose that [pawn] and those victory points.
-
-
english.stackexchange.com english.stackexchange.com
-
What is the difference between “wry” and “dry” humor?
-
-
boardgamegeek.com boardgamegeek.com
-
https://boardgamegeek.com/boardgame/183284/factory-funner/versions
And now there are two versions with the nickname "Second edition": 2018 https://boardgamegeek.com/boardgameversion/404596/second-edition 2021 https://boardgamegeek.com/boardgameversion/556765/second-edition
and a 3rd edition published prior to the current/new 2nd edition: 2019 https://boardgamegeek.com/boardgameversion/486693/third-edition
Confusing all around.
But I think the bottom line is that the 2021 version is in fact the same game and the newest rules tweaks:
- Added a sixth player
- Official variant to play without the quick grab element.
-
-
linusakesson.net linusakesson.net
-
I didn't get exactly how pty came into picture and what is the usage of that. Looking forward to get more info on that.
-
-
boardgamegeek.com boardgamegeek.com
-
Luck over-rides strategy
-
You can't avoid the comparisons to Carcassonne even though the scoring mechanic is very different. It just looks the same, and the tile placement phase feels close enough to be familiar. However, this familiarity starts to nag at you, only adding to the frustration when tile placement is clumsy and luck-driven unlike Carcassonne. The comparison is not favourable for Fjords.
-
You can strategise to a degree by trying to block off a potential peninsula (cut off between two mountains for example). This can start a little race to claim this area. e.g. I cut off an area with one of my houses.
-
Luck is a major factor. As discussed above, sometimes the map seems to build itself and you draw tiles which you HAVE to place even though they are aiding your opponent.
-
f you cannot place it, it is set aside for use later in the game if an opportunity arises. (Tiles are set aside a lot.)
-
-
boardgamegeek.com boardgamegeek.com
-
My wife's first description of playing Fjords was that it felt a bit like playing Othello, in that you had to think too far ahead. I don't see it that way. I think that the luck of the draw & the fact that a tile must be played if it can, means that you can't always plan too far ahead. Often you have to try to work out how to make use of what you've got.
-
-
stackoverflow.com stackoverflow.com
-
gist.github.com gist.github.com
-
I have a 2 radio buttons with the same id and label, only different values, (true, false)....anything I can do to choose false?
If you just do
find_field(radio_input_name)
you end up withAmbiguous match, found 2 elements matching visible field "name" that is not disabled
Tags
Annotators
URL
-
- Mar 2021
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
A one-liner alternative for hash-only cases can be implemented using Enumerable#reduce: root = {} [:a, :b, :c].reduce(root){@1[@2]||={}}[:d] = 'E' # root => {:a=>{:b=>{:c=>{:d=>"E"}}}}
-
I think the issues/problems specified in the comments are not present with a Hash-only implementation. :) I would be supportive of re-considering this feature just for use with a Hash, where I believe 80% of the real-life use cases would (and do) exist. I have encountered this need before in the wild, but not with Arrays.
-
-
www.jackfranklin.co.uk www.jackfranklin.co.uk
-
This isn't really a downside to React; one of React's strengths is that it lets you control so much and slot React into your environment
-
I like this approach more because I can scan the code that renders the Box component and easily spot that it takes two children. If the Box took any props, they'd be within the opening <Box> tag, and they would be distinct from any children props.
-
Coming from React to Svelte this did catch me out numerous times but for me I now prefer Svelte's approach, particularly because it removes some of the boilerplate around useEffect.
-
Here's where I start to have a preference for Svelte; the two are very similar but once I got used to Svelte I found that React felt like jumping through hoops. You can't create a worker instance, it has to go in a useRef, and then you can't easily pull code out into a function without then requiring useCallback so it can be a safe dependency on useEffect. With Svelte I write code that's closer to "plain" JavaScript, whereas in React more of my code is wrapped in a React primitive.
Tags
- React
- Svelte
- I agree
- Svelte: slot
- less-than-ideal workarounds
- allowing developer/user to pick and choose which pieces to use (allowing use with competing libraries; not being too opinionated; not forcing recommended way on you)
- flexibility to use the tool that you prefer
- clarity
- caveat
- verbose / noisy / too much boilerplate
- making intentions clear/explicit
- me too
- being explicit
- clumsy interface/syntax
- intention-revealing
- distinction
Annotators
URL
-
-
superuser.com superuser.com
-
annoying: keeps asking every time
-
-
github.com github.com
-
It does this by creating links to specially crafted URLs using custom schemes (ie. "txmt", "subl", "mvim"). I prefer to use standard CLI vim in iTerm.
I have similar problem: want to use regular vim in tilix terminal
-
-
stackoverflow.com stackoverflow.com
-
How to install VIM with all options/features? - VIM
-
I have VIM on Mac & CentOS. So, I see people are writing about -xterm_clipboard, -lua, ... Is there an simple way to install it all? or we have to enable options one-by-one and compile/recompile it?
I had similar question... how to get --servername support.
-
-
askubuntu.com askubuntu.com
-
How can I build vim with a gui without gtk?
I had this question too, but didn't know that was the question I had... :)
-
-
piao-tech.blogspot.com piao-tech.blogspot.com
-
Some research led me to the --remote-tab switch that allows to open files as tabs in currently open Vim processes but it seemed to work only with the graphical interface (gvim) and not with the console (vim). But as I made some tests I found this can work with the vim in console mode
That's what I thought too (that it was only available with gvim, which I don't want to use).
But I get this error when I try it with regular vim:
$ vim --servername local VIM - Vi IMproved 8.1 (2018 May 18, compiled Apr 15 2020 06:40:31) Unknown option argument: "--servername"
-
-
askubuntu.com askubuntu.com
-
unix.stackexchange.com unix.stackexchange.com
-
Is somehow possible to run a "Desktop Entry" from another "Desktop Entry"?
More generally, my question is: How can I programmatically / from command line, launch a .desktop file?
-
-
askubuntu.com askubuntu.com
-
when the link of accessing a workspace appear I only get the popup: "Open xdg-open?" and then nothing happens.
Though in my case it is clicking an mvim:// link from better_errors
-
-
askubuntu.com askubuntu.com
-
XDG stands for X Desktop Group aka freedesktop.org
-
what does xdg stand for? Its hard to remember without knowing that.
-
-
www.reddit.com www.reddit.com
-
I get this itch.io message when I try to buy it, "Due to processing fees the minimum amount is 100 cents."
-
-
-
Tried to buy keyg at its 90% off sales price but no matter what payment method I choose I keep getting a "Due to processing fees the minimum amount is 100 cents."I'm trying to figure out if there is any way around this, and if not then why can you list a game at a price below $1 if it isn't actually possible for it to be bought at said price?
-
-
github.com github.com
-
Or even a simple 1-liner in the Contract that references an AR Model so you don't have to rewrite the validations again in that contract, or have to choose between writing the validations once either in the contract there or in the AR Model?
-
-
www.chevtek.io www.chevtek.io
-
This isn't to say that on a case by case basis there aren't modules that are grossly overcomplicated.
-
he goes on to say that simple functions should not be packages because they are too small.
-
Small modules are extremely versatile and easy to compose together in an app with any number of other modules that suit your needs.
Tags
- composition
- not:
- hasty generalization
- allowing developer/user to pick and choose which pieces to use (allowing use with competing libraries; not being too opinionated; not forcing recommended way on you)
- small units/components/modules/libraries/packages/projects
- can it really ever be too _?
- composability
- too complicated
- micropackages
Annotators
URL
-
-
www.inuse.se www.inuse.se
-
Onceability can be the result of the exaggerated demand for un-memorable passwords.
-
-
stackoverflow.com stackoverflow.com
-
is Wine process virtual machine actually?
I think it is, yes.
Wine was given as an example of a process VM above.
-
-
github.com github.com
-
This semi-colon is added to prevent changing the code behaviour (the famous line ending with parentheses, etc) Most people will use a JS minifier If they don't, a single extra character is unlikely to change much If I'm right about all the above: Why don't we simply always add a semi-colon regardless of what the file ends with?
-
yeah I discovered too late that #310 exists and does that
-
-
duckduckgo.com duckduckgo.com
Tags
Annotators
URL
-
-
github.com github.com
-
What is the point of avoiding the semicolon in concat_javascript_sources
For how detailed and insightful his analysis was -- which didn't elaborate or even touch on his not understanding the reason for adding the semicolon -- it sure appeared like he knew what it was for. Otherwise, the whole issue would/should have been about how he didn't understand that, not on how to keep adding the semicolon but do so in a faster way!
Then again, this comment from 3 months afterwards, indicates he may not think they are even necessary: https://github.com/rails/sprockets/issues/388#issuecomment-252417741
Anyway, just in case he really didn't know, the comment shortly below partly answers the question:
Since the common problem with concatenating JavaScript files is the lack of semicolons, automatically adding one (that, like Sam said, will then be removed by the minifier if it's unnecessary) seems on the surface to be a perfectly fine speed optimization.
This also alludes to the problem: https://github.com/rails/sprockets/issues/388#issuecomment-257312994
But the explicit answer/explanation to this question still remains unspoken: because if you don't add them between concatenated files -- as I discovered just to day -- you will run into this error:
(intermediate value)(...) is not a function at something.source.js:1
, apparently because when it concatenated those 2 files together, it tried to evaluate it as:
({ // other.js })() (function() { // something.js })();
It makes sense that a ; is needed.
-
-
github.com github.com
-
Sprockets 4: The effect of config.assets.debug does not match the rails documentation.
-
concatenation still occurs.
-
-
github.com github.com
-
I'm kinda stuck at the moment, going around in circles. Everything is really heavily coupled. I would like to get to the point where no load is called from within processors, but i'm not sure if that's possible. Currently the API and the caching strategies are fighting me at every step of the way. I have a branch where i'm hacking through some refactoring, no light at the end of the tunnel yet though :(
-
-
github.com github.com
-
still compiles everything into single CSS/JS files
I noticed this too
-
-
opalrb.com opalrb.com
-
Opal is a Ruby to JavaScript source-to-source compiler. It comes packed with the Ruby corelib you know and love. It is both fast as a runtime and small in its footprint.
-
-
docs.openfaas.com docs.openfaas.com
-
OpenFaaS® makes it easy for developers to deploy event-driven functions and microservices to Kubernetes without repetitive, boiler-plate coding.
-
-
hyperstack.org hyperstack.org
-
Hyperstack gives you full access to the entire universe of JavaScript libraries and components directly within your Ruby code.Everything you can do in JavaScript is simple to do in Ruby; this includes passing parameters between Ruby and JavaScript and even passing Ruby methods as JavaScript callbacks.There is no need to learn JavaScript, all you need to understand is how to bridge between JS and Ruby.
-
-
math.stackexchange.com math.stackexchange.com
-
What is the difference between equation and formula?
-