It's always a good idea to avoid things like 'both', since it's not future-proof — if we decided we wanted to support method overrides via headers, for example (which is sometimes used to get around firewalls that disallow non-GET/POST requests), then 'both' would need to become 'all', which would be a breaking change.
- Apr 2022
-
github.com github.com
Tags
Annotators
URL
-
-
kryogenix.org kryogenix.org
-
“All your users are non-JS while they're downloading your JS”
Tags
Annotators
URL
-
-
-
Kernel is already defined by Ruby so the module cannot be autoloaded. Also, that file does not define a constant path after the path name. Therefore, Zeitwerk should not process it at all.
-
-
edgeguides.rubyonrails.org edgeguides.rubyonrails.org
-
Every element of config.autoload_paths should represent the top-level namespace (Object).
-
By default, app/models/concerns belongs to the autoload paths and therefore it is assumed to be a root directory. So, by default, app/models/concerns/foo.rb should define Foo, not Concerns::Foo.
-
-
github.com github.com
-
The core benefit of Marginalia is being able to decorate SQL queries with details of the context of the source of the query.
-
-
github.com github.com
-
Will be executed right after outermost transaction have been successfully committed and data become available to other DBMS clients.
Very good, pithy summary. Worth 100 words.
The first half was good enough. But the addition of "and data become available to other DBMS clients" makes it real-world and makes it clear why it (the first part) even matters.
-
after_commit { puts "We're all done!" }
Notice the order: this is printed last, after the outer (real) transaction is committed, not when the inner "transaction" block finishes without error.
-
We're all done!
Notice the order: this is printed last
-
-
css-tricks.com css-tricks.com
-
Perhaps the most interesting limitation is that you can’t target the grid area itself.
-
-
www.google.com www.google.com
-
Please keep in mind that your definition of “unsolicited” or “unwanted” mail may differ from your email recipients’ perception. Exercise judgment when sending email to a large number of recipients, even if the recipients elected to receive emails from you in the past.
-
- Mar 2022
-
www.theguardian.com www.theguardian.com
-
Waterson, J. (2022, January 11). BBC does not subscribe to ‘cancel culture’, says director of editorial policy. The Guardian. https://www.theguardian.com/media/2022/jan/11/bbc-does-not-subscribe-to-cancel-culture-says-director-of-editorial-policy
-
-
en.wikipedia.org en.wikipedia.org
-
https://en.wikipedia.org/wiki/Timber_circle
Some timber circle sites to look into: - Secotan in North Carolina circa 1585 - Poverty Point - Hopewell timber circles (Moorehead Circle and Stubbs Earthworks) in Ohio - Cahokia
-
-
github.com github.com
-
No need to construct strings that then need to be deconstructed later.
-
In any significant project I worked in the last 15 years, logging text messages resulted in a large amount of strings which was hard to make sense of, thus mostly ignored.
hard to make sense of, thus mostly ignored
-
-
www.fastcompany.com www.fastcompany.com
-
Mass protests against Russia’s aggression combined with existing political pressure to move more quickly on climate change might lead to new policies to do yet more.
The time is ripe for a converged march and to launch SRG Tipping Point Festival.
-
- Feb 2022
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
The remaining problem should be how to declare Ruby-define methods to be 'non-block taking'. Under the current language spec, absence of '& argument' may or may not mean the method would take a block.
-
- Jan 2022
-
notes.linkingyourthinking.com notes.linkingyourthinking.com
-
A Mental Squeeze Point is when your unsorted knowledge becomes so messy it overwhelms and discourages you. Either you are equipped with frameworks to overcome the squeeze point, or you are discouraged and possibly abandon your project.
Cross reference: https://hypothes.is/a/BuMcAnr4EeyxO-PwNBfPrg (Dan Allosso's analogy about the Kuiper Belt)
-
-
-
Maybe once the core onError lifecycle is implemented (if maintainers decide to go that way) everyone will discover you're right and an implementation will be built in. I think that's probably what's going to happen. But until real life has proved it, it's usually best to go for the smallest most broadly applicable solution. I can definitely imagine <svelte:error> eventually being a thing, but it's a pretty dramatic change compared to an added importable function.
-
I think the issue is that it's not totally perfect. It doesn't define what should happen in parent components, it's not as flexible as onError and it doesn't allow you (for instance) to nest a svelte:head inside, or decide what to do with the rest of the rendering. What do you do with <div>My component</div> in your example? What about changing the <title>? I assume you can inspect the error...does <svelte:error> allow specifying which error types to expect?
-
Boilerplate is only boilerplate if it's the same everywhere, which it shouldn't be.
-
Additionally, if you're writing a notification display in every single component, wrapped in a <svelte:error> tag, that's the very definition of boilerplate.
In other words, adding a svelte:error tag wouldn't help much.
-
-
stackoverflow.com stackoverflow.com
-
The difference is what the server expects the client to do next.
-
Meaning if you have your own roll-your-own login process and never use HTTP Authentication, 403 is always the proper response and 401 should never be used.
-
While this seems to me like it's probably an accurate interpretation of the old RFC 2616, note that RFC 7231 defines the semantics of a 403 differently, and in fact explicitly states that "The client MAY repeat the request with new or different credentials."
-
it depends on the application but generally, if an authenticated user doesn't have sufficient rights on a resource, you might want to provide a way to change credentials or send a 401.
A 403 doesn't tell the client / user agent what the next step is or provide a way to change credentials.
So maybe a 302 redirect is the best answer after all? Even though it sadly lacks the nice semantic distinction that 401/403 provide...
-
-
Local file Local file
-
I find it disgusting and degrading that any parent would let their minor child run aroun in shorts and a bra anywhere
The speaker of this text uses a negative tone (specifically a disgusted tone) when talking about minor children "running around in shorts and a bra". However, bra's are often tied to the female anatomy, however the speaker uses "child" when speaking about the intended argument. This could be because the speaker only has an issue with people who wear bras without a shirt while exercising but doesn't with people who society deems unrequired to wear bras.
-
-
www.monbiot.com www.monbiot.com
-
As the paper notes, a large body of work suggests that “the power of small groups comes not from their authority or wealth, but from their commitment to the cause”.
What does paper author Damon Centola think about competing minorities?...who will win out to cause the tipping point?
-
-
kit.svelte.dev kit.svelte.dev
-
Code that is per-component instance should go into a second <script> tag.
But this seems to conflict with https://hyp.is/NO4vMmzVEeylBfOiPbtB2w/kit.svelte.dev/docs
The load function is reactive, and will re-run when its parameters change, but only if they are used in the function.
which seems to imply that load is not just run once for the component statically, but rather, since it can be reactive to:
url, params, fetch, session and stuff
may be sufficiently like a per-instance callback, that it could be used instead of onMount?
-
- Nov 2021
-
docdrop.org docdrop.org
-
i think the focus was very much on energy supply and to a limited extent on things like um yeah technologies and like vehicle 01:00:07 technologies for example but um much much less in terms of getting people to particularly in developed countries to use less energy and to change diet and to travel less and fly less and all these these things and i think part of 01:00:19 that and it is also reflected in the fact that it was fairly much absent in the uk's net zero strategy is that it is seen as being politically difficult that it might be a you know it might mean that they that politicians lose votes that 01:00:33 it's just too difficult to get people to change their behavior that it's threatening that it might mean lower standards of living um in developed countries etc so i think kind of it's still it's still seen as something and that that was quite explicit i think in 01:00:45 the forward to the uk strategy um so i think in terms of how we move beyond that that's that's difficult but i think it is about reframing behavior change and demand demand management in 01:00:58 much more positive terms to say this isn't a threat there are actually opportunities there are opportunities to improve people's health and well-being to create green jobs to reskill people in new sectors and 01:01:09 and so on and it is not about you know reducing uh quality of life or well-being it's not about people losing jobs etc so this is i think there's a job here to kind of reframe it in terms of those those opportunities and those 01:01:22 co-benefits so that would be my my initial thought
Reframing loss as gain is one strategy worth exploring for behavior change. Also explore social tipping points of complex contagion.
-
-
www.yesmagazine.org www.yesmagazine.org
-
social change typically spreads as ‘complex contagions,’ requiring multiple sources of social reinforcement to induce adoption,”
Climate change requires large investment in behavior change. It is a case of complex contagion, not simple contagion. Wide bridges are the key to bringing about social tipping points of complex contagion.
-
-
www.monbiot.com www.monbiot.com
-
Social convention, which has for so long worked against us, can if flipped become our greatest source of power, normalising what now seems radical and weird. If we can simultaneously trigger a cascading regime shift in both technology and politics, we might stand a chance. It sounds like a wild hope. But we have no choice. Our survival depends on raising the scale of civil disobedience until we build the greatest mass movement in history, mobilising the 25% who can flip the system.
This is the core philosophy behind Stop Reset Go, but NOT NECESSARILY just in the direction of civil disobedience. To invest only in that is to put all our eggs in one basket that top down actors will be pressured beyond a certain threshold. It may happen, it may not, or it may just take too long. We must diversify and also invest in systematized bottom-up efforts.
-
Another paper explored the possibility that the Fridays for Future climate protests could trigger this kind of domino dynamics. It showed how, in 2019, Greta Thunberg’s school strike snowballed into a movement that led to unprecedented electoral results for Green parties in several European nations. Survey data revealed a sharp change of attitudes, as people began to prioritise the environmental crisis. Fridays for Future came close, the researchers suggest, to pushing the European political system into a “critical state”. It was interrupted by the pandemic, and the tipping has not yet happened. But witnessing the power, the organisation and the fury of the movements gathered in Glasgow, I suspect the momentum is building again.
The space is ripe for interventions that can facilitate social tipping points.
-
-
www.annualreviews.org www.annualreviews.org
-
A final cluster gathers lenses that explore phenomena that are arguably more elastic and with the potential to both indirectly maintain and explicitly reject and reshape existing norms. Many of the topics addressed here can be appropriately characterized as bottom-up, with strong and highly diverse cultural foundations. Although they are influenced by global and regional social norms, the expert framing of institutions, and the constraints of physical infrastructure (from housing to transport networks), they are also domains of experimentation, new norms, and cultural change. Building on this potential for either resisting or catalyzing change, the caricature chosen here is one of avian metaphor and myth: the Ostrich and Phoenix cluster. Ostrich-like behavior—keeping heads comfortably hidden in the sand—is evident in different ways across the lenses of inequity (Section 5.1), high-carbon lifestyles (Section 5.2), and social imaginaries (Section 5.3), which make up this cluster. Yet, these lenses also point to the power of ideas, to how people can thrive beyond dominant norms, and to the possibility of rapid cultural change in societies—all forms of transformation reminiscent of the mythological phoenix born from the ashes of its predecessor. It is conceivable that this cluster could begin to redefine the boundaries of analysis that inform the Enabler cluster, which in turn has the potential to erode the legitimacy of the Davos cluster. The very early signs of such disruption are evident in some of the following sections and are subsequently elaborated upon in the latter part of the discussion.
The bottom-up nature of this cluster makes it the focus area for civil society movements, human inner transformation (HIT) approaches and cultural methodologies.
Changing the mindset or paradigm from which the system arises is the most powerful place to intervene in a system as Donella Meadows pointed out decades ago in her research on system leverage points: https://donellameadows.org/archives/leverage-points-places-to-intervene-in-a-system/
The sleeping giant of billions of potential change actors remains dormant. How do we awaken them and mobilize them. If we can do this, it can constitute the emergence of a third unidentified actor in system change.
The Stop Reset Go (SRG) initiative is focused on this thematic lens, bottom-up, rapid whole system change, with Deep Humanity (DH) as the open-source praxis to address the needed shift in worldview advocated by Meadows. One of the Deep Humanity programs is based on addressing the psychological deficits of the wealthy, and transforming them into heroes for the transition, by redirecting their WEALTH-to-WELLth.
There are a number of strategic demographics that can be targeted in methodical evidence-based ways. Each of these is a leverage point and can bring about social tipping points.
A number of 2021 reports characterize the outsized impact of the top 1% and top 10% of humanity. Unless their luxury, high ecological footprint behavior is reeled in, humanity won't stand a chance. Annotation of Oxfam report: https://hyp.is/go?url=https%3A%2F%2Foxfamilibrary.openrepository.com%2Fbitstream%2Fhandle%2F10546%2F621305%2Fbn-carbon-inequality-2030-051121-en.pdf&group=__world__ Annotation of Hot or Cool report: https://hyp.is/go?url=https%3A%2F%2Fhotorcool.org%2Fhc-posts%2Frelease-governments-in-g20-countries-must-enable-1-5-aligned-lifestyles%2F&group=__world__
-
-
www.reddit.com www.reddit.com
-
For example, if your machine has a lot of RAM doesn't mean all apps should then use as much of it as possible.
-
-
unix.stackexchange.com unix.stackexchange.com
-
That's not how flatpack works; the executable is hidden in a container and you need to set up the whole environment to be able to call it. Delivering a well-isolated, not-to-be-run-from-outside environment is the whole point.
-
should be really flatpack run com.visualstudio.code --wait, far as I know, never tried. (--wait is really important.)
-
-
meta.stackoverflow.com meta.stackoverflow.com
-
considering people rarely make meta posts about how great their question was received, it's pretty expected that it'd be net negative.
-
-
-
we have no way to know that the line nameMap[3] = "bob"; isn't somewhere in your program
-
- Oct 2021
-
www.medrxiv.org www.medrxiv.org
-
Follmann, D., & Fay, M. (2021). Vaccine Efficacy at a Point in Time (p. 2021.02.04.21251133). https://doi.org/10.1101/2021.02.04.21251133
-
-
stackoverflow.com stackoverflow.com
-
Desktop files are NOT executed. The line inside them that has an executable command line is the one that gets executed. The rest of the file is parsed by the Desktop Environment.
-
-
guides.rubyonrails.org guides.rubyonrails.org
-
For example, there is no point in defining reloadable Rack middleware, because changes would not be reflected in the instance stored in the middleware stack anyway
-
It is very important to understand that Ruby does not have a way to truly reload classes and modules in memory, and have that reflected everywhere they are already used. Technically, "unloading" the User class means removing the User constant via Object.send(:remove_const, "User").
-
-
www.theguardian.com www.theguardian.com
-
Schreiber, M. (2021, September 24). ‘It’s awful. It’s exhausting’: Alaska rations care as it hits Covid nadir. The Guardian. https://www.theguardian.com/us-news/2021/sep/24/alaska-covid-coronavirus-rations-care-hospitals
-
- Sep 2021
-
unix.stackexchange.com unix.stackexchange.com
-
If your configuration is not provided by a name server (like the information given in /etc/hosts) those tools will not show them, because they directly ask the name server.
-
-
www.digitalocean.com www.digitalocean.com
-
By connecting over an SSH tunnel, you’re limiting VNC access to machines that already have SSH access to the server.
-
-
www.reddit.com www.reddit.com
-
Conversely, the more dynamically typed the language is, the less I am using an IDE and the more I am using a text editor. Of course, my productivity plummets at that point. Refactoring becomes more difficult and more (completely) reliant on unit tests to ensure they are done properly.
-
- 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.
-
-
stackoverflow.com stackoverflow.com
-
Also note thet width: 100% is relative to it's first parent with a layout. So if you have an element with width:100% inside another element that has a specific width, the child element will only take up the total width of that parent.
-
-
github.com github.com
-
allRoles should be a string[] and not an any[] or a Role[]
Tags
Annotators
URL
-
-
-
The TypeScript team has made it clear. They do not follow semver. "minor" (X.X) releases can contain breaking changes. . The fact that someone has made a bad policy clear, does not mean that the policy is therefore good. Major releases (X) have very little meaning. This negates the usefulness of using such versioning in the first place.
Tags
Annotators
URL
-
-
github.com github.com
-
which seems to resolve the issue for me and makes no casts, ensuring that Typescript can keep doing its good job of widening as much as necessary and narrowing as much as possible without me having to claim I know better than the compiler. I'm posting it here since it doesn't seem to have been mentioned anywhere.
makes no casts, ensuring that Typescript can keep doing its good job of widening as much as necessary and narrowing as much as possible without me having to claim I know better than the compiler.
-
-
charlypoly.com charlypoly.com
-
It means that when having a type guard:TypeScript and JavaScript runtime are tied to the same behaviour.
-
-
github.com github.com
-
* Now it's correct within the laws of the type system, but makes zero practical sense, * because there exists no runtime representation of the type `Date & string`. * * The type system doesn't care whether a type can be represented in runtime though.
new tag?: makes zero practical sense
makes zero practical sense because there exists no runtime representation of the type
-
You can't just move 'side-ways' between unrelated types; you need to move either up or down the lattice.
-
-
github.com github.com
-
Why not just prettier-ignore? Because I want to keep Prettier here. Still format my code. But just with another config. This already works with prettierrc > overrides. But this proposal is for a better usability and flexibility.
-
-
github.com github.com
-
In the vast majority of cases when I'm using prettier-ignore I'm only really looking to prevent it from breaking my code into new lines, whilst keeping its other transformations such as switching quotes and adding space between brackets. When ignoring single lines, fixing these formatting problems by hand is very manageable. With the ability to have Prettier ignore entire blocks of code I think the ability to specify what you want it to ignore is essential.
-
-
medium.com medium.com
-
We focus so much on black magic and avoiding it that we rarely have a chance to enjoy any of the benefits. When used responsibly and when necessary, it gives a lot of power and expressiveness.
-
-
en.wikipedia.org en.wikipedia.org
-
Isolation ensures that concurrent execution of transactions leaves the database in the same state that would have been obtained if the transactions were executed sequentially
-
- Jul 2021
-
steamcommunity.com steamcommunity.com
-
I mean, that's what a review is generally.
-
- Jun 2021
-
hypothes.is hypothes.is
-
"Although in the United States it is common to use the term multiculturalism to refer to both liberal forms of multiculturalism and to describe critical multicultural pedagogies, in Canada, Great Britain, Australia, and other areas,anti-racism refers to those enactments of multiculturalism grounded in critical theory and pedagogy. The term anti-racism makes a greater distinction, in my opinion, between the liberal and critical paradigms of multiculturalism, and is one of the reasons I find the anti-racism literature useful for analyzing multiculturalism in music education."
-
-
github.com github.com
-
I wouldn't consider it switching behavior. Ultimately it's including a module -- either a manually defined and referenced one from the user, or a RSpec::Core::SharedExampleGroupModule created for the user when they defined the shared example group and referenced via the group name.
-
-
github.com github.com
-
Whether you agree or not, to me there's nothing in this world that is entirely apolitical - when there are people there is politics. You don't have to agree with my views, nor do I expect you to. Diversity and disagreement is what drives mankind forward.
-
The primary branch in git can have any name by design.
-
-
www.mutuallyhuman.com www.mutuallyhuman.com
-
This is why for a recent Angular+Rails project we chose to use a testing stack from the backend technology’s ecosystem for e2e testing.
-
-
www.audienceplay.com www.audienceplay.com
-
“The data does not exist independently in the world, nor is it generated spontaneously. Data is constructed by people, from people,” (source 1).
-
-
stackoverflow.com stackoverflow.com
-
I've seen (and fixed) Ruby code that needed to be refactored for the client objects to use the accessor rather than the underlying mechanism, even though instance variables aren't directly visible. The underlying mechanism isn't always an instance variable - it can be delegations to or manipulations of a class you're hiding behind a facade, or a session store with a particular format, or all kinds. And it can change. 'Self-encapsulation' can help if you need to swap a technology, a library, an object specification, etc.
-
a principle I use is: If you have an accessor, use the accessor rather than the raw variable or mechanism it's hiding. The raw variable is the implementation, the accessor is the interface. Should I ignore the interface because I'm internal to the instance? I wouldn't if it was an attr_accessor.
-
-
www.migrationencounters.org www.migrationencounters.org
-
Anne: And you think that when she told you that getting a job was not an option, you think that broke you?Mike: Yeah. That really hurt like a lot, a lot. Oh man, I'm getting emotional, now because that sucks when you hear that stuff.
Time in the US, Immigration status, Lost opportunities; Time in the US - Feelings - Despair - Legal Status
Tags
Annotators
URL
-
-
www.postgresql.org www.postgresql.org
-
-- The array on the right side is not considered contained within the -- array on the left, even though a similar array is nested within it: SELECT '[1, 2, [1, 3]]'::jsonb @> '[1, 3]'::jsonb; -- yields false -- But with a layer of nesting, it is contained: SELECT '[1, 2, [1, 3]]'::jsonb @> '[[1, 3]]'::jsonb;
-
-
stackoverflow.com stackoverflow.com
-
And, if you think about it, only the pointy ones are used un-paired in regex construct's. All the other pairs are balanced. I'd steer clear of that pair <>
-
-
kit.svelte.dev kit.svelte.dev
-
should run on the same domain as any upstream API servers requiring credentials
-
When fetch runs on the server, the resulting response will be serialized and inlined into the rendered HTML. This allows the subsequent client-side load to access identical data immediately without an additional network request.
-
-
github.com github.com
-
Worth noting that in the case where you're proxying /api/ requests to an external server in nginx you can easily do this in handle today:
-
-
github.com github.com
-
We need to be really careful about what's 'same origin' because the server has no idea what host/path the various cookies are associated with. It just has a list of cookies that the browser had determined to be relevant for this SSR'd page, and not for any other subrequests.
-
- May 2021
-
github.com github.com
-
plus authorization if it's not explicitly provided, to a fetch request that happens inside load to an internal endpoint
Tags
Annotators
URL
-
-
www.impressivewebs.com www.impressivewebs.com
-
I like the idea in theory, however it doesn’t feel very robust – you are relying on the layout of the page in question. Many authors regularly revisit articles and add new sections and paragraphs. Now your #h2:3 link points to a previous section. (This is far less likely to happen with IDs.)
-
Linking directly to someone’s blog comment is very useful. Even if a blog doesn’t have an active link for each comment, it’s pretty easy to use developer tools to find the comment’s id and link to it. I’ve done this many times on Smashing Magazine (they don’t have live links on each comment). If there was no way to link to an individual blog comment, this would be a great hindrance to linking on the web. It would not be enough to link to the “#comments” section and then hope for the best. So CMSs like WordPress do the right thing by dynamically adding a unique identifier to each comment.
-
The reason fragments should be identifiable by users is because a user, not the content creator or the developer, will ultimately decide whether or not a portion of content is valuable or notable in some way.
-
Yes, the content creator should have the ability to decide how a page is generally divided, if they choose to do so. But the end user should not be restricted from linking to content fragments just because a developer couldn’t be bothered to add id attributes to every element on the page. And that’s besides the fact that it would be a waste of time for a developer to do that or to have to build a CMS that does it automatically.
-
The simple problem that I see with fragment identifiers is that their existence and functionality relies completely on the developer rather than the browser. Yes, the browser needs to read and interpret the identifier and identify the matching fragment. But if the developer doesn’t include any id attributes in the HTML of the page, then there will be no identifiable fragments. Do you see why this is a problem? Whether the developer has coded identifiers into the HTML has nothing to do with whether or not the page actually has fragments. Virtually every web page has fragments. In fact, sectioning content as defined in the HTML5 spec implies as much. Every element on the page that can contain content can theoretically be categorized as a “fragment”.
at the mercy of author
-
So why is it up to the developer (or content creator) to define whether or not a specific portion of the content can be linked to? When any page of content is created, there is no way of knowing which sections of the page are worthy of being identified.
-
-
simonstl.com simonstl.com
-
Making effective use of this mechanism requires either control of the targeted document or generous creators of targeted documents who have liberally applied id attributes throughout a document.
unlikely for anyone/most people to actually do that
-
-
hashnode.com hashnode.com
-
That's something that has been bugging me too. I mean, it's fine if not everything is supported, but if everyone could agree on what is or should be supported then that would make a huge difference. But until then, it's going to be a struggle.
-
-
www.gkogan.co www.gkogan.co
-
They don't look like advertisements. The second the recipient interprets your email as an ad, promotion, or sales pitch—and it does take just a second—its chances of being read or acted upon plummet towards zero. A plain email leads people to start reading it before jumping to conclusions.
forces you to read before deciding
-
-
stackoverflow.com stackoverflow.com
-
Using margin is better ! If you use position:relative position:absolute You need understand correlative with div outside
-
- Apr 2021
-
stackoverflow.com stackoverflow.com
-
From a practical point of view it's highly desirable to specify them to prevent page reflows as mentioned above. However those suggesting it should be in the html because of this are missing the fact browsers use css when building the page initially. If they didn't the page would have to be redrawn for floated elements, specified padding, margins etc.
-
Neither question nor answer appears to understand the notion of semantic HTML. Height and width are presentational attributes regardless of where you put them. For semantics we establish what the image means to content in the alt tag. I don't remember why it was so important to width/height in the HTML but I suspect it was in case you hit browsers without CSS rendering. It's not a semantics issue. If anything it thwarts separation of concerns to a degree.
claim: that the OP's question and this answer are incorrect
Could we say that this answer (that this comment replies to) missed the point?
I actually believed and thought this answer was spot on ... until I read this comment, and then I reversed my opinion.
-
CSS seems like the right place to put visual information. On the other hand, few would argue that image "src" should not be specified as an attribute and the height/width seem as tied to the binary image data as the "src" is.
-
-
english.meta.stackexchange.com english.meta.stackexchange.com
-
yes, the excessive pleasantries are purely for irony/humor, i would normally get straight to the point
-
-
www.metacritic.com www.metacritic.com
-
Yes, it shares the name and the look of those previous games, but it lacks the all-important creative heart of its predecessors, and ends up being a by-the-numbers affair that goes through the motions in a shallow attempt to turn Scribblenauts' unique premise into a multiplayer party game.
-
-
unix.stackexchange.com unix.stackexchange.com
-
2 out of 3 people in my household do not find it easy to understand. Maybe that is is not representative, but keep in mind that something you yourself understand (or in this case think you understand) always seems easy.
-
Notice the use of Enter key after backslash in the sed command.
-
-
medium.com medium.com
-
“Who cares? Let’s just go with the style-guide” — to which my response is that caring about the details is in the heart of much of our doings. Yes, this is not a major issue; def self.method is not even a code smell. Actually, that whole debate is on the verge of being incidental. Yet the learning process and the gained knowledge involved in understanding each choice is alone worth the discussion. Furthermore, I believe that the class << self notation echoes a better, more stable understanding of Ruby and Object Orientation in Ruby. Lastly, remember that style-guides may change or be altered (carefully, though!).
-
“It is less clear that way” — that is just arbitrary, even uninformed. There is nothing clearer about def self.method. As demonstrated earlier, once you grasp the true meaning of it, def self.method is actually more vague as it mixes scopes
-
-
www.freetaxusa.com www.freetaxusa.com
-
You'll need to have paid more sales tax than state and local tax to take this deduction.
-
-
english.stackexchange.com english.stackexchange.com
-
I actually think this is Not Constructive, since there's no absolute rule about which pairings can be joined into a single word or hyhenated, and it's pointless having "votes" here about each specific case. Follow a style guide if you have one, or search Google Books and copy whatever the majority do. Or just make your own decision.
-
-
store.steampowered.com store.steampowered.com
-
It is also the first game I've seen whose icon for "mute" is not a crossed-out speaker/note, but a symbol for "pause" in musical notation...
-
- Mar 2021
-
www.mobilemarketer.com www.mobilemarketer.com
-
send a courier straight from collection to delivery, point to point
-
-
www.jackfranklin.co.uk www.jackfranklin.co.uk
-
Svelte is different in that by default most of your code is only going to run once; a console.log('foo') line in a component will only run when that component is first rendered.
Tags
- Svelte vs. React
- important point
- reasonable defaults
- trying to doing things the same way you did in a different library/framework (learning new way of thinking about something / overcoming habits/patterns/paradigms you are accustomed to)
- difference
- opinionated
- opinion
- unfortunate defaults
- turning things around / doing it differently
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
The hierarchical structure of semantic fields can be mostly seen in hyponymy.
Good explanation about semantic fields.
I assume the same or an even stronger statement can be made about semantic classes (which to me are like more clear-cut, distinct semantic fields), then? 
-
-
en.wikipedia.org en.wikipedia.org
-
Some types exist as descriptions of objects, but not as tangible physical objects. One can show someone a particular bicycle, but cannot show someone, explicitly, the type "bicycle", as in "the bicycle is popular."
-
-
en.wikipedia.org en.wikipedia.org
-
A semantic class contains words that share a semantic feature.
-
-
en.wikipedia.org en.wikipedia.org
-
However, if the distinctions between the two concepts appear to be superficial, intentional conflation may be desirable for the sake of conciseness and recall
-
often in error
-
-
en.wikipedia.org en.wikipedia.org
-
Dictionary writers list polysemes under the same entry; homonyms are defined separately.
This describes how you can tell which one it is by looking at the dictionary entry.
-
Polysemy is thus distinct from homonymy—or homophony—which is an accidental similarity between two words (such as bear the animal, and the verb to bear); while homonymy is often a mere linguistic coincidence, polysemy is not.
-
-
www.positivelypositive.com www.positivelypositive.com
-
Just? The meaning of the word is the reason we used the word.
-
-
sandradodd.com sandradodd.com
-
It means "You're about to talk about words, but words don't matter."
-
-
askubuntu.com askubuntu.com
-
vim-athena doesn't depend on or use any version of GTK+. If you use sudo apt-get build-dep vim-athena, it probably will install GTK+ and GNOME related libraries, because the vim-athena binary package is built from the same source package as vim and other vim-providing packages. In any case, you shouldn't need to build from source, as the binaries provided by vim-athena are already built against Athena and not against GTK+ or other graphical toolkits.
-
If you built vim against Qt rather than GTK+ and python-complete still isn't working, that suggests the problem isn't actually a consequence of trying to link to both GTK+2 and GTK+3.
-
-
gitlab.gnome.org gitlab.gnome.org
-
This issue hasn’t been deemed a high enough priority to be fixed yet. It will be addressed one day, I’m sure. There are many issues in GLib which many people on the internet think are important.
-
-
medium.com medium.com
-
After all, that’s why it’s in one repository to begin with right?
-
-
blog.izs.me blog.izs.me
-
All too often, people get hung up on the wrong aspects of the Unix Philosophy, and miss the forest for the trees
-
It is about balancing the twin needs of writing good software, and writing any software at all.
-
-
www.sitepoint.com www.sitepoint.com
-
As to opinions about the shortcomings of the language itself, or the standard run-times, it’s important to realize that every developer has a different background, different experience, different needs, temperament, values, and a slew of other cultural motivations and concerns — individual opinions will always be largely personal and, to some degree, non-technical in nature.
Tags
- good point
- everyone has different background/culture/experience
- annotation meta: may need new tag
- what is important/necessary for one person may not be for another
- +0.9
- JavaScript
- everyone has different preferences
- software preferences are personal
- non-technical reasons
- reaction / reacting to
- runtime environment
- software project created to address shortcomings in another project
Annotators
URL
-
-
forum.paradoxplaza.com forum.paradoxplaza.com
-
If you think that for every problem there is a simple and easy solution, either you don't understand what is a problem or you don't understand what is a solution.
-
-
github.com github.com
-
Money could be good if it is spent to provide some of the above things. Money on it's own is hard because then it means I would have to spend time book-keeping and managing instead of programming.
-
-
-
There's no release of sprockets 4 so there's nothing to revert. Master branch is a WIP. I would recommend using Sprockets 3.
-
-
stackoverflow.com stackoverflow.com
-
Generally, CSS selectors refer to markup or, in some cases, to element properties as set with scripting (client-side JavaScript), rather than user actions. For example, :empty matches element with empty content in markup; all input elements are unavoidably empty in this sense. The selector [value=""] tests whether the element has the value attribute in markup and has the empty string as its value. And :checked and :indeterminate are similar things. They are not affected by actual user input.
-
The selector [value=""] tests whether the element has the value attribute in markup and has the empty string as its value.
-
-
store.steampowered.com store.steampowered.com
-
There are myriads of platformers around, it's an oversaturated market, and just like industrial designer Karim Rashid said about there being no excuse by this point to make an uncomfortable chair, there's no excuse by this point to make a boring patformer.
-
-
stackoverflow.com stackoverflow.com
-
Knowing what your elements are lets browsers use sensible defaults for how they should look and behave. This means you have less customization work to do and are more likely to get consistent results in different browsers.
-
-
stackoverflow.com stackoverflow.com
-
In case you need to verify that object is instance of particular class you have to check constructor with your particular class
-
-
trailblazer.to trailblazer.to
-
the Activity component is the heart of TRB
-
it’s a bit as if the following wiring is applied to every task added via #step
-
-
trailblazer.to trailblazer.to
-
The absence of a method name here is per design: this object does only one thing, and hence what it does is reflected in the class name.
-
- Feb 2021
-
steamcommunity.com steamcommunity.com
-
Do you have collaborators who could have generated keys and sold them on their own? DIG's Steam keys and other stores' Steam keys must have some source, after all. Keys don't generate themselves, and only your accounts should be able to request them.This particular game was in Bunch Keys Indie Wizardry Bundle. I assume you had a proper contract for that. Maybe DIG or an intermediary bought 50-200 copies of it?
-
It isn't stealing because you or an associate must have generated and given them the keys in some way or another?Ideally you would ask a DIG bundle buyer to show you their key for your game, so you can figure out what key request batch it came from, and then you can scratch your head and wonder who you gave those keys to and what journey they took afterwards.
-
-
trailblazer.to trailblazer.to
-
Using Track() with a new track semantic only makes sense when using the [:magnetic_to option] on other tasks.
-
-
github.com github.com
-
Regardless of origin, allow/deny are simply clearer terms that does not require tracing the history of black/white as representations of that meaning. We can simply use the meaning directly.
-
-
toraritte.github.io toraritte.github.io
-
17.3. Fixed point
QUESTION: What is a fixed-point of a function?
ANSWER: See this video) at least, and the Fixed-point (mathematics)) wikipedia article:
In mathematics, a fixed point (sometimes shortened to fixpoint, also known as an invariant point) of a function is an element of the function's domain that is mapped to itself by the function. That is to say, c is a fixed point of the function
fiff(c) = c. This meansf(f(...f(c)...)) = f n(c) = can important terminating consideration when recursively computing f. A set of fixed points is sometimes called a fixed set.
For example, if f is defined on the real numbers by
f(x)=x^{2}-3x+4,}, then 2 is a fixed point off, becausef(2) = 2.There is also the wiki article fixed-point combinator that actually plays a role here, but read through the articles in this order.
Then dissect the Stackoverflow thread What is a Y combinator?, and pay attention to the comments! For example:
According to Mike Vanier's description, your definition for Y is actually not a combinator because it's recursive. Under "Eliminating (most) explicit recursion (lazy version)" he has the lazy scheme equivalent of your C# code but explains in point 2: "It is not a combinator, because the Y in the body of the definition is a free variable which is only bound once the definition is complete..." I think the cool thing about Y-combinators is that they produce recursion by evaluating the fixed-point of a function. In this way, they don't need explicit recursion. – GrantJ Jul 18 '11 at 0:02
(wut?)
Other resources in no particular order:
- google search for "fixpoint evaluation fixed point combinator explained"
- Cornell's CS 6110 S17 Lecture 5
- google search for "fixed-point of a function"
- Fixed-point theorem (wikipedia)
- How can I find the fixed points of a function? (math stackexchange)
- The Y Combinator (Slight Return) (see the "Fixpoint of functions" section)
- Clear, intuitive derivation of the fixed-point combinator (Y combinator)? (computer science stackexchange)
- Fixed-Point Combinators (stackoverflow)
- Fixed-point combinator (HandWiki)
QUESTION: How the hell did they come up with the idea of using this with Nix and package management? (..and who? I remember a video saved somewhere, but maybe that was about overlays)
QUESTION: ... and how does it work in this context?
ANSWER: Well, not an answer yet, but this may be something in the right direction:
http://blog.tpleyer.de/posts/2020-01-29-Nix-overlay-evaluation-example.html
-
-
sobolevn.me sobolevn.me
-
exceptions are not exceptional, they represent expectable problems
-
-
dry-rb.org dry-rb.org
-
In other words, once you've used Maybe you cannot hit nil with a missing method. This is remarkable because even &. doesn't save you from omitting || "No state" at the end of the computation. Basically, that's what they call "Type Safety".
-
-
en.wikipedia.org en.wikipedia.org
-
Software architecture is about making fundamental structural choices that are costly to change once implemented.
-
-
en.wikipedia.org en.wikipedia.org
-
In the telecommunications industry, on a conceptual level, value-added services add value to the standard service offering, spurring subscribers to use their phone more and allowing the operator to drive up their average revenue per user.
-
-
2019.trailblazer.to 2019.trailblazer.to
-
note that TRB source code modifications are not proprietary
In other words, you can build on this software in your proprietary software but can't change the Trailblazer source unless you're willing to contribute it back.
loophole: I wonder if this will actually just push people to move their code -- which at the core is/would be a direction modification to the source code - out to a separate module. That's so easy to do with Ruby, so this restriction hardly seems like it would have any effect on encouraging contributions.
Tags
- neutral/dispassionate/impartial/objective wording
- well-written
- open-source software: not contributing new code back to project
- annotation meta: may need new tag
- wording designed to be more palatable/pleasing/inoffensive
- reminder
- software licensing
- LGPL
- loophole/escape hatch
- good point
- proprietary software
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
Both kill with a job specifier and terminal signals send to the entire process group, so both the shell and sleep.
-
-
github.com github.com
-
If any of the inputs are invalid, #execute won't be run.
It does staged/pipelined execution/validation.
If any of these stages has any errors, then no other stages will be executed:
- validations on the inputs of the interaction itself
- run execute, which may:
- may use compose, which will (IIUC) abort the entire execute/run early if any of them fail, even if there are later composed interactions still to be run
- may try to save inputs into models, which themselves may have validation errors, which (assuming we use errors.merge), will show up on the
interaction.errors(but won't abort the rest of theexecute)
-
There are times where it is useful to know whether a value was passed to run or the result of a filter default. In particular, it is useful when nil is an acceptable value.
Yes! An illustration in ruby:
main > h = {key_with_nil_value: nil} => {:key_with_nil_value=>nil} main > h[:key_with_nil_value] => nil main > h[:missing_key] # this would be undefined in JavaScript (a useful distinction) rather than null, but in Ruby it's indistinguishable from the case where a nil value was actually explicitly _supplied_ by the caller/user => nil # so we have to check for "missingness" ("undefinedness"?) differently in Ruby main > h.key?(:key_with_nil_value) => true main > h.key?(:missing_key) => falseThis is one unfortunate side effect of Ruby having only
niland no built-in way to distinguish betweennullandundefinedlike in JavaScript. -
When you run this interaction, two things will happen. First ActiveInteraction will type check your inputs. Then ActiveModel will validate them. If both of those are happy, it will be executed.
Failed type checks generate run-time errors. So it's up to the develop to fix these, permanently, since the user can't (99% of time) do anything to fix these.
Failed validations add errors to
interaction.errorsobject. These are for the user to fix. -
Inside the interaction, we could use #find instead of #find_by_id. That way we wouldn't need the #find_account! helper method in the controller because the error would bubble all the way up. However, you should try to avoid raising errors from interactions. If you do, you'll have to deal with raised exceptions as well as the validity of the outcome.
What they're referring to:
Account.find('invalid')will raise an error butAccount.find_by(id: 'invalid')will not. -
For this one we'll define a helper method to handle raising the correct errors. We have to do this because calling .run! would raise an ActiveInteraction::InvalidInteractionError instead of an ActiveRecord::RecordNotFound. That means Rails would render a 500 instead of a 404.
True, but why couldn't it handle this for us?
Tags
- ruby
- important point
- library/framework should provide this (standard solution) rather than everyone having to write their own slightly different solution (even if it is easy enough to write yourself)
- JavaScript
- undefined vs. null
- pipeline
- important distinction
- good point
- error/exception handling
- comparison
Annotators
URL
-
-
www.nytimes.com www.nytimes.com
-
Amid awful suffering and deteriorating conditions, Texas Republicans decided to fight a culture war.
The author has a criticizing tone, which can be implied by him emphasizing Texas's conditions using a negative diction. It is kind of humorous as he stated "cultural wars" instead of disputes. Usually wars leave a drastic impact on the land, but this time, the "war" is occurring on an already destroyed land, which reflects the author's point of view that leaving a conflict dissolved is worse than creating a new conflict.
-
-
www.infoworld.com www.infoworld.com
-
That's the whole point of an abstraction layer—to isolate your business logic from a subsystem's mechanics
-
-
softwareengineering.stackexchange.com softwareengineering.stackexchange.com
-
My understanding of "programming to an interface" is different than what the question or the other answers suggest. Which is not to say that my understanding is correct, or that the things in the other answers aren't good ideas, just that they're not what I think of when I hear that term.
-
If the program was important enough, Microsoft might actually go ahead and add some hack to their implementation so the the program would continue to work, but the cost of that is increased complexity (with all the ensuing problems) of the Windows code. It also makes life extra-hard for the Wine people, because they try to implement the WinAPI as well, but they can only refer to the documentation for how to do this, which leads to many programs not working as they should because they (accidentally or intentionally) rely on some implementation detail.
-
-
en.wikipedia.org en.wikipedia.org
-
Encapsulation is used to hide the values or state of a structured data object inside a class, preventing direct access to them by clients in a way that could expose hidden implementation details or violate state invariance maintained by the methods.
-
-
-
with ActiveForm-Rails, validations is the responsability of the form and not of the models. There is no need to synchronize errors from the form to the models and vice versa.
But if you intend to save to a model after the form validates, then you can't escape the models' validations:
either you check that the models pass their own validations ahead of time (like I want to do, and I think @mattheworiordan was wanting to do), or you have to accept that one of the following outcomes is possible/inevitable if the models' own validations fail:
- if you use
object.savethen it may silently fail to save - if you use
object.savethen it will fail to save and raise an error
Are either of those outcomes acceptable to you? To me, they seem not to be. Hence we must also check for / handle the models' validations. Hence we need a way to aggregate errors from both the form object (context-specific validations) and from the models (unconditional/invariant validations that should always be checked by the model), and present them to the user.
What do you guys find to be the best way to accomplish that?
I am interested to know what best practices you use / still use today after all these years. I keep finding myself running into this same problem/need, which is how I ended up looking for what the current options are for form objects today...
- if you use
-
DSLs can be problematic for the user since the user has to manage state (e.g. am I supposed to call valid? first or update_attributes?). This is exactly why the #validate is the only method to change state in Reform.
Tags
- state management
- good point
- whose responsibility is it?
- making it easy to do the right thing
- DSL
- I have a differing opinion
- making it easy to do the wrong thing
- rails: validation
- missing the point
- have to remember
- reform (Ruby)
- order is important / do things in the right order
- overlooking/missing something
Annotators
URL
-
-
-
we get the benefit of isolating request specific logic without cramming it into a ActiveRecord model that will be used in multiple controllers/actions
request-specific logic
-
-
www.metacritic.com www.metacritic.com
-
The press will tell you that "the concept" is great but the execution is bad. What should I tell you? The experience is shallow. The game is mediocre. But listen carefully, when a game is mediocre and can't even make you feel something then it's the worst kind of gaming. I will give it a 4 out of 10. You know, if this was a test in a school then this game should be marked D (someone answered a few questions, but overall missed the point). I understand that many people care about the "concept" of this game, but why if the experience is just... not here. I'm talking about the experience becaus We. The Revolution tried to be an actual experience. And it fails so badly.
-
the gameplay is meaningless and the devs just missed the point.
-
-
hilton.org.uk hilton.org.uk
-
Unlike naming children, coding involves naming things on a daily basis. When you write code, naming things isn’t just hard, it’s a relentless demand for creativity. Fortunately, programmers are creative people.
-
If we renamed things more often, then it probably wouldn’t be so hard to name them in the first place.
-
This is funny because it’s unexpected. Cache invalidation sounds like a hard thing, while naming sounds more straightforward. The joke works because it violates our expectation that hard things should be technical. It’s also funny because it’s true.
Tags
- becomes/gets easier with practice/experience
- relentless
- technical problems
- well-written
- frequently encountered (common) problem
- requires/demands creativity
- creative people
- contrast
- non-technical problems
- naming things is hard
- cache invalidation is hard
- naming
- software development
- programming
- funny because it's true
- refactoring: rename
- surprising
- creative
- the activity of _
- funny because it's unexpected
- creativity
- big change/rewrite vs. continuous improvements / smaller refactorings
- good point
- expectations
- what programmers are like
- good analogy
Annotators
URL
-
-
www.quora.com www.quora.com
-
So the hard and unsolvable problem becomes: how up-to-date do you really need to be?
-
After considering the value we place, and the tradeoffs we make, when it comes to knowing anything of significance, I think it becomes much easier to understand why cache invalidation is one of the hard problems in computer science
the crux of the problem is: trade-offs
-
-
www.honeybadger.io www.honeybadger.io
-
Now let me ask you, do you write JS for a single page application differently from a "traditional" web application? I sure hope you do! In a "traditional" application, you can get away with being sloppy because every time the user navigates to a new page, their browser destroys the DOM and the JavaScript context. SPAs, though, require a more thoughtful approach.
-
-
-
Technically, it isn’t a part of the comparison internally but it is a factor that some users care for.
-
-
www.reddit.com www.reddit.com
-
When people talk about "beginner distros" they mean distros that are no hassle to get started, it doesnt mean they are somewhat inferior or less capable.
-
-
www.smashingmagazine.com www.smashingmagazine.com
-
The key phrase here is “children of a grid container.” The specification defines the creation of a grid on the parent element, which child items can be positioned into. It doesn’t define any styling of that grid, not even going as far as to implement something like the column-rule property we have in Multi-column Layout. We style the child items, and not the grid itself, which leaves us needing to have an element of some sort to apply that style to.
-
-
jakearchibald.com jakearchibald.com
-
Flexbox: content dictates layout
-
-
stackoverflow.com stackoverflow.com
-
And if there's a suitable vulnerability, it might be possible to trigger it even without using <iframe>, <img> or <a> element, so it's not worth considering for this issue.
-
- Jan 2021
-
blog.linuxmint.com blog.linuxmint.com
-
We can certainly explain the issues snap cause without using political or religious arguments. We did so in the documentation I linked to above.
-
-
www.impressivewebs.com www.impressivewebs.com
-
Blocks Don’t Need 100% Width When we understand the difference between block-level elements and inline elements, we’ll know that a block element (such as a <div>, <p>, or <ul>, to name a few) will, by default expand to fit the width of its containing, or parent, element (minus any margins it has or padding its parent has).
-
-
css-tricks.com css-tricks.com
-
It’s easy to think of 1fr as being “one part of the space in the grid container” when it is really one part of the space left over.
-
-
css-tricks.com css-tricks.com
-
Making literal grids. Like X columns with Y gap between them homegrown framework stuff. grid-gap is wonderful, as gutters are the main pain point of grid systems.
-
-
askubuntu.com askubuntu.com
-
No, this is not a duplicate of that linked question. I don't need to know "why it's a snap". I want to know how to use it without snap.
-
-
css-tricks.com css-tricks.com
-
I think you’re missing the spirit behind the classic “centering is hard” complaint in a couple of places, which, at least for me, always comes back to not knowing the height of the elements.
-
-
legacy.reactjs.org legacy.reactjs.org
-
The alternative is uncontrolled components, where form data is handled by the DOM itself.
-
-
atomiks.github.io atomiks.github.io
-
This is a dynamic value because of hybrid devices which can use a mix of mouse and touch input.
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
if you set text-decoration: underline for all links then you will have to set text-decoration: none for special links which you don't need an underline.
-
-
docs.google.com docs.google.com
-
From morn to night
We started the poem at the beginning of the day and now end at night. Not only does this show the "circle motif" in this poem - what I mean is how "all things come to a close" and then restart anew - but it also parallels the journey of the youth, from being naive and blissful to being to falling victim to that naivety and becoming unaware of their fictitious bliss in the unknown; the journey leads to isolation from reality.
-
Doubt is fled=stuck to their opinions
Doubt is fled seems very much like a point on the youths lack of internal questioning. They do not think there is room for doubt, as they must be right - a point made from their lack of understanding the nuance of truth and reality.
-
delight=bliss in not understanding?
Does this mean that there is delight in not understanding truth? It is the youths who are delighted, relating to their lack of experience.
p.s This poem is taken from Selected Poetry and Prose of Blake (section Songs of Experience)
-
opening morn=sunrise
We start the poem at the beginning of the day, juxtaposing the youth that come hither. Just as the day begins, so do the youth with their lives.
-
truth new born
The youth are at the beginning of their lives, and so the image of truth (reality as it is perceived universally) is also in its beginning stages, not fully developed nor fully understood by the youth.
-
-
discourse.ubuntu.com discourse.ubuntu.com
-
It’s all very well telling Canonical what to do, but someone needs to pay those developers for their time. It’s not free.
-
Repeatedly posting in this thread that there are problems, won’t actually get anything fixed.
-
The best place to let the developers know, and track those bugs is in the bug tracker. There are hundreds of forums online, all over the place in many languages. We can’t be expected to read all of them. Anyone with a launchpad ID (thus, anyone who has an account on this discourse instance) has the capability to file a bug. I’d strongly recommend doing so, for each specific issue. Taking just a few minutes to do that will help tremendously.
-
Just saying “snaps are slow” is not helpful to anyone. Because frankly, they’re not. Some might be, but others aren’t. Using blanket statements which are wildly inaccurate will not help your argument. Bring data to the discussion, not hearsay or hyperbole.
-
Progress is made of compromises, this implies that we have to consider not only disadvantages, but also the advantages. Advantages do very clearly outweigh disadvantages. This doesn’t mean it perfect, or that work shouldn’t continue to minimize and reduce the disadvantages, but just considering disadvantages is not the correct way.
-
Only folks who help package Chromium get to decide how Chromium gets packaged. This gives anyone two options: You can get involved and help package Chromium so you have a voice in the decision-making, or not.
Tags
- the needs of the many outweigh the needs of the few
- good point
- discussion
- unhelpful
- Snap
- faulty generalization
- get involved
- progress requires compromises
- focus on ways/what you can improve
- discussion without action
- trade-offs
- do pros outweigh/cover cons?
- constant evolution/improvement of software/practices/solutions
- not adding to discussion
- improving one's process
- don't just complain; help improve/fix things
- software performance
- compromise
- be specific
- hasty generalization
- +0.9
- having a voice in decision-making
- "me too"
- progress
- bug reports
- helpful
- dichotomous thinking
Annotators
URL
-
-
css-tricks.com css-tricks.com
-
We can lay blame for this semantic drift squarely at the feet of trend. Designers and developers eager to try the latest and greatest invite ambiguity in with outstretched arms. Leadership chases perceived value to stay relevant.
-
However, the W3C provides us with an important clue as to who is right: the download attribute.
-
The debate about whether a button or link should be used to download a file is a bit silly, as the whole purpose of a link has always been to download content. HTML is a file, and like all other files, it needs to be retrieved from a server and downloaded before it can be presented to a user. The difference between a Photoshop file, HTML, and other understood media files, is that a browser automatically displays the latter two. If one were to link to a Photoshop .psd file, the browser would initiate a document change to render the file, likely be all like, “lol wut?” and then just initiate the OS download prompt. The confusion seems to come from developers getting super literal with the “links go places, buttons perform actions.” Yes, that is true, but links don’t actually go anywhere. They retrieve information and download it. Buttons perform actions, but they don’t inherently “get” documents. While they can be used to get data, it’s often to change state of a current document, not to retrieve and render a new one. They can get data, in regards to the functionality of forms, but it continues to be within the context of updating a web document, not downloading an individual file. Long story short, the download attribute is unique to anchor links for a reason. download augments the inherent functionality of the link retrieving data. It side steps the attempt to render the file in the browser and instead says, “You know what? I’m just going to save this for later…”
-
- Dec 2020
-
github.com github.com
-
It’s worth mentioning that Svelte limits its scope to being only a UI component framework. Like React, it provides the view layer, but it has more batteries included with its component-scoped CSS and extensible stores for state management. Others like Angular and Vue provide a more all-in-one solution with official routers, opinionated state management, CLIs, and more. Sapper is Svelte’s official app framework that adds routing, server-side rendering, code splitting, and some other essential app features, but it has no opinions about state management and beyond. Some devs prefer Svelte’s minimal approach that defers problems to userland, encouraging more innovation, choice, and fragmentation, and other devs prefer a more fully integrated toolkit with a well-supported happy path.
tag?: what scope of provided features / recommended happy path is needed?
-
-
-
What pain point are you perceiving?
-
Trying to find a new day job is full-time work
-
- Nov 2020
-
news.ycombinator.com news.ycombinator.com
-
There's a huge area of seemingly obvious user-centric products that don't exist simply because there isn't a working business model to support it.
-
-
acorwin.com acorwin.com
-
No program is an island. Every program has to hook into the operating system at some point, if nothing else.
-
-
stackoverflow.com stackoverflow.com
-
delete will only work on properties whose descriptor marks them as configurable.
-
-
www.reddit.com www.reddit.com
-
Svelte by itself is great, but doing a complete PWA (with service workers, etc) that runs and scales on multiple devices with high quality app-like UI controls quickly gets complex. Flutter just provides much better tooling for that out of the box IMO. You are not molding a website into an app, you are just building an app. If I was building a relatively simple web app that is only meant to run on the web, then I might still prefer Svelte in some cases.
-
-
uxdesign.cc uxdesign.cc
-
That’s how developers create buttons — they add padding to their div containers, not heights.
-
-
github.com github.com
-
from my point of view, it is (by far) the best way, to build a layer on top https://github.com/material-components/material-components-web . This is also the path that the Angular Material team has taken, although they have already made a huge effort to create the components themselves.
-
-
-
is not required to point to "svelte": "src/main.html" if you're bundling for es, "module": "dist/main.mjs" would suffice. I mean, it's a good thing to provide a single file, not the whole sources again.
Tags
Annotators
URL
-