- Jul 2021
-
stackoverflow.com stackoverflow.com
-
store.steampowered.com store.steampowered.com
-
just another coppy of a game witch allredy exist on steam, you just need to find it
Tags
Annotators
URL
-
-
www.kickstarter.com www.kickstarter.com
-
I will not be using BackerKit or GameFound or another third party pledge taker. I will just be using Kickstarter. I have found that some people have trouble with third party software.
Okay... What kind of trouble?
Tags
Annotators
URL
-
- Jun 2021
-
hypothes.is hypothes.is
-
Giving peers permission to engage in dialogue about race and holding a lofty expectation that they will stay engaged in these conversations throughout the semester or year is the first of the four agreements for courageous conversation. While initially, some participants may be eager to enter into these conversations, our experience indicates that the more personal and thus risky these topics get, the more difficult it is for participants to stay committed and engaged." Singleton and Hays
-
"Many North American music education programs exclude in vast numbers students who do not embody Euroamerican ideals. One way to begin making music education programs more socially just is to make them more inclusive. For that to happen, we need to develop programs that actively take the standpoint of the least advantaged, and work toward a common good that seeks to undermine hierarchies of advantage and disadvantage. And that, inturn, requires the ability to discuss race directly and meaningfully. Such discussions afford valuable opportunities to confront and evaluate the practical consequences of our actions as music educators. It is only through such conversations, Connell argues, that we come to understand “the real relationships and processes that generate advantage and disadvantage”(p. 125). Unfortunately, these are also conversations many white educators find uncomfortable and prefer to avoid."
Tags
- As music educators we do our best to include cultures and introduce new ideas because of what is relevant at the time. Yet we don't go to the next level and dive into the importance of "why" and how we as citizens along with our students can get involved and take positive actions. This may be due to the lack of autonomy in the classroom and/or time to teach in general.
- Having explicit and concise rules for the conversation is important to create a safe space for more participation in the tougher questions. The facilitator has to be consistently doing this.
Annotators
URL
-
-
www.theserverside.com www.theserverside.com
-
"Both Conservancy and the Git project are aware that the initial branch name, 'master,' is offensive to some people and we empathize with those hurt by the use of that term," said the Software Freedom Conservancy.
-
-
pragmaticstudio.com pragmaticstudio.com
-
Note: Instead of storing a user’s ID in the session cookie you could store a JWT, but I’m not sure what that buys you. However, you may be using specific JWT claims that make this worthwhile.
-
-
docs.gitlab.com docs.gitlab.com
-
When mocking is deemed profitable:
-
-
stackoverflow.com stackoverflow.com
-
Your attempt should work. There is a mismatch in column name in your query though. The query uses col2 but the table is defined with col1.
I would actually lean towards making this a comment, at least the typo fix part. But if you remove the typo fix part, all that's left is "should work", which I guess should be a comment too since it's too short to be an answer.
-
- May 2021
-
interpersonal.stackexchange.com interpersonal.stackexchange.com
-
First of all, I would start off presenting yourself: Dear XYZ support team I am the web developer in charge of example.com website. By presenting you this way, you are establishing the frame to treat you, hinting that you should be presupposed to be somewhat proficient, so they could choose to answer in a more technical detail.
-
any will catch on with a simple line like "I know what I'm doing, so I'd appreciate an extra-technical explanation!"
-
-
github.com github.com
-
or simply install the package to devDependencies rather than dependencies, which will cause it to get bundled (and therefore compiled) with your app:
-
-
www.campaignmonitor.com www.campaignmonitor.com
-
In the earlier example, I used “no-reply@” because this is, unfortunately, a common practice used by many email marketers. As a brand utilizing email, you should never expect a personal experience like email to ever be one-sided.
-
- Apr 2021
-
www.kickstarter.com www.kickstarter.com
-
We are are continuing our commitment to creating our games that are free and widely accessible anyone that is curious by making our game files available under Creative Commons license BY–NC–SA 4.0. That means we will continue offering a full, free print-and-play kit for Pax Pamir, and later this campaign, John Company! Anyone can use, remix, and share the game, so long as they do not use it for commercial purposes.
-
-
en.wikipedia.org en.wikipedia.org
-
Historical negationism,[1][2] also called denialism, is falsification[3][4] or distortion of the historical record. It should not be conflated with historical revisionism, a broader term that extends to newly evidenced, fairly reasoned academic reinterpretations of history.
-
-
simplicable.com simplicable.com
-
Dry humor is a delivery technique. As such, it shouldn't be confused with specific types of humor or with sarcasm. Sarcasm is delivered without humor because it's generally not funny but intended to mock or convey contempt. Dry humor pertains to something funny.
-
-
linusakesson.net linusakesson.net
-
This is hard because Apple does not want you to and a failed installation might render the ipad useless.
-
-
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!).
-
-
store.steampowered.com store.steampowered.com
-
Micromachines always focused on local multiplayer, and the fun their eccentric races of small toy vehicles competing on tracks made with everyday objects; and all that is present.
-
-
store.steampowered.com store.steampowered.com
-
There's probably a thousand different directions you can go, but there just needs to be some kind of deeper hook to make this a full-fledged game.
-
-
github.com github.com
-
Read the code! No, really. I wrote this code to be read.
-
-
steamcommunity.com steamcommunity.com
-
It's really kind of sad that I want to play the game and form a better opinion of it and I can't because I have to wait for lives to regenerate.
-
-
store.steampowered.com store.steampowered.com
-
I'll tell you my intention right away, because the language difference between us may offend you. For those things I don't understand, I apologize in advance (if you don't need my apology and feel that my apology is offensive to you, I firmly withdraw my apology).
-
-
github.com github.com
-
# +devise_for+ is meant to play nicely with other routes methods. For example, # by calling +devise_for+ inside a namespace, it automatically nests your devise # controllers: # # namespace :publisher do # devise_for :account # end
-
-
github.com github.com
-
find_field finds by id, name or placeholder text - so find_field('Prefix') should find the element with matching placeholder text rather than needing xpath.
-
- Mar 2021
-
final-form.org final-form.org
-
// WRONG ❌ - values.myField might be undefined! if (!values.myField.match(/myexpression/)) {
-
If you are doing a regular expression check, your function should handle undefined as a potential value.
-
-
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.
-
-
en.wikipedia.org en.wikipedia.org
-
Not to be confused with lexicography.
-
-
stackoverflow.com stackoverflow.com
-
If you want to compile youself you can pass the --with-features=huge to the configure script. Note, however, this does not enable the different language bindings because those are mostly optional and also the various GUIs need to enabled specifically, because you can have only one gui.
This explains why the standard vim package on ubuntu doesn't have GUI support (I was going to say because it wouldn't know which GUI you needed, but I think it would based on the Ubuntu variant: GNOME, KDE, etc.) (maybe because it wouldn't know whether you wanted GUI support at all)
I was going to say because it wouldn't know which GUI you needed, but I think it would based on the Ubuntu variant: GNOME, KDE, etc.
found answer to that: https://hyp.is/NyJRxIgqEeuNmWuaScborw/askubuntu.com/questions/345593/how-to-build-vim-with-gui-option-from-sources
so you have to install a different package with GUI support, like vim-gtk or vim-athena
-
-
askubuntu.com askubuntu.com
-
this is so stupid (that there is no sensible way to run a Desktop file from the terminal)
-
-
gitlab.gnome.org gitlab.gnome.org
-
When one is searching for it on the internet, there are many many people wondering how one can open .desktop files. It seems trivial, since one usually just has to click an item on the launcher so one thinks there must be some way.
-
-
www.chevtek.io www.chevtek.io
-
he goes on to say that simple functions should not be packages because they are too small.
-
By treating even small functions like a black box it promotes separation of concerns and allows said black box to evolve independently.
-
Write modules for publication, even if you only use them privately. You will appreciate documentation in the future.
Tags
- micropackages
- can it really ever be too _?
- related but independent projects that can be developed independently
- for the benefit of future self
- separation of concerns
- write/document it as if it will be published even if only will use privately/internally (for the benefit of future self) (maintain rigor without shortcuts)
Annotators
URL
-
-
news.ycombinator.com news.ycombinator.com
-
I suspect you aren't seeing much discussion because those who have a reasonable process in place, and do not consider this situation to be as bad as everyone would have you believe, tend not to comment on it as much.
-
-
www.sitepoint.com www.sitepoint.com
-
The elimination of what is arguably the biggest monoculture in the history of software development would mean that we, the community, could finally take charge of both languages and run-times, and start to iterate and grow these independently of browser/server platforms, vendors, and organizations, all pulling in different directions, struggling for control of standards, and (perhaps most importantly) freeing the entire community of developers from the group pressure of One Language To Rule Them All.
-
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
- independent release cycles among peer dependencies
- software preferences are personal
- runtime environment
- JavaScript
- single responsibility
- related but independent projects that can be developed independently
- what is important/necessary for one person may not be for another
- avoid giving partiality/advantage/bias to any specific option
- one size fits all mentality
- separation of concerns
- everyone has different background/culture/experience
- +0.9
- non-technical reasons
- reaction / reacting to
- good point
- annotation meta: may need new tag
- everyone has different preferences
- software project created to address shortcomings in another project
Annotators
URL
-
-
www.inuse.se www.inuse.se
-
Even if the damned thing would be really helpful in the long run, I can't give it the time and attention needed to make it work again ... Not right now. And ultimately never.
-
-
github.com github.com
-
It is unrelated to the technology company AMD and the processors it makes.
-
-
www.codemag.com www.codemag.com
-
Another important MicroJS attribute is independence. Ember, Backbone—even Bootstrap to a degree–have hard dependencies on other libraries. For example, all three rely on jQuery. A good MicroJS library stands by itself with no dependencies. There are exceptions to the rule, but in general, any dependency is another small MicrojJS library.
-
-
github.com github.com
-
I totally understand that there may be a majority still considering this a bad practice and thus keeping it disabled by default in production seem ok. But there could at least be an option to enable it for people who want to, no?
-
-
github.com github.com
-
I think that's fine, but I also don't particularly care about @mikeycgto's desire to not have the linking comment be present in the minified JS.
-
-
-
Any updates on this one? It makes debugging JS and CSS in the web inspector next to impossible when you can't get any help finding the offending code in your own source files.
-
-
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.
-
-
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.
-
Fits the ideal behind HTML HTML stands for "HyperText Markup Language"; its purpose is to mark up, or label, your content. The more accurately you mark it up, the better. New elements are being introduced in HTML5 to more accurately label common web page parts, such as headers and footers.
-
-
tylergaw.com tylergaw.com
-
My collection (this isn’t all of it) grows at a comical pace.
-
-
jangawolof.org jangawolof.orgPhrases1
-
Séentuwul woon ni dinañu ko alamaan.
Il ne s'attendait pas à ce qu'on lui inflige une amende.
"We didn't expect that we would be fined."
séentu+wul (séentu) v. -- to seek to see from afar 👀, to scrutinize 🧐, to expect.
woon -- he didn't (?).
ni -- formats a verb (?)
dinañu -- we will.
ko -- her, him, it.
alamaan v. -- (French: l'amende) give a fine.
-
- Feb 2021
-
github.com github.com
-
now that I realize how easy it is to just manually include this in my app: <%= javascript_include_tag 'xray', nonce: true if Rails.env.development? %> I regret even wasting my time getting it to automatically look for and add a nonce to the auto-injected xray.js script
-
This is failing CI because CI is testing against Rails < 6. I think the appropriate next steps are: Open a separate PR to add Rails 6 to the CI matrix Update this PR to only run CSP-related test code for Rails >= 6.0.0 Can you help with either or both of those?
Tags
- removing feature that is more trouble than it's worth (not worth the effort to continue to maintain / fix bugs caused by keeping it)
- removing legacy/deprecated things
- pull requests: can't just throw it over the fence and be done (requires follow-through)
- wasted effort
- fix design/API mistakes as early as you can (since it will be more difficult to correct it and make a breaking change later)
- regret
- removing features to simplify implementation
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
despite initially appearing to be an appropriate and effective response to a problem, has more bad consequences than good ones
-
-
sobolevn.me sobolevn.me
-
But why do we return 0? Why not 1? Why not None? And while None in most cases is as bad (or even worse) than the exceptions, turns out we should heavily rely on business logic and use-cases of this function.
-
-
-
certainly I wouldn't want it to start telling me that I'm not catching these!
-
-
developpaper.com developpaper.com
-
on one of the most popular websites of F #
which one?
-
-
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
- reminder
- wording designed to be more palatable/pleasing/inoffensive
- software licensing
- neutral/dispassionate/impartial/objective wording
- loophole/escape hatch
- proprietary software
- LGPL
- well-written
- open-source software: not contributing new code back to project
- good point
- annotation meta: may need new tag
Annotators
URL
-
-
github.com github.com
-
In Trailblazer, models are completely empty. They solely contain associations and finders. No business logic is allowed in models.
-
Operations don't know about HTTP or the environment. You could use an operation in Rails, Hanami, or Roda, it wouldn't know.
-
-
trailblazer.to trailblazer.to
-
The new 2.1 version comes with a few necessary but reasonable changes in method signatures. As painful as that might sound to your Rails-spoiled ears, we preferred to fix design mistakes now before dragging them on forever.
-
The new call API is much more consistent and takes away another thing we kept explaining to new users - an indicator for a flawed API.
Tags
- pointing out gaps/downsides/cons in competition/alternatives
- do it right/well the first time because it may be too hard to clean up/fix later if you don't
- if it's incorrect; fix it
- learn from your mistakes
- fix design/API mistakes as early as you can (since it will be more difficult to correct it and make a breaking change later)
- better late than never
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
Can you be more specific about the "weird version of bash" ? In some situations (when run as /bin/sh) it runs n Posix compatibility mode ... If this is the case add set +o posix prior to exec
-
-
unix.stackexchange.com unix.stackexchange.com
-
what, pray tell, is false in my examples? I am curious, so please be precise.
-
-
github.com github.com
-
The assert method is used by all the other assertions. It pushes the second parameter to the list of errors if the first parameter evaluates to false or nil.
Seems like these helper functions could be just as easily used in ActiveRecord models. Therefore, they should be in a separate gem, or at least module, that can be used in both these objects and ActiveRecord objects.
-
-
www.infoworld.com www.infoworld.com
-
Consequently, you act irresponsibly when you adopt any programming practice simply because "that's the way you're supposed to do things."
-
My point is that you should not program blindly. You must understand the havoc a feature or idiom can wreak. In doing so, you're in a much better position to decide whether you should use that feature or idiom. Your choices should be both informed and pragmatic.
-
-
en.wikipedia.org en.wikipedia.org
-
Contrary to what it suggests, the "turbo" button was intended to let a computer run slower than the speed for which it had been designed.
I guess they called it that because it would be come across better than calling it a "slow" button!
-
-
-
It makes me happy to see people actually think about things and not just accept a shitty API.
Tags
- doing something without knowing why/how it works
- less than ideal / not optimal
- describe the ideal hypothetical solution
- don't settle for/accept something that's not as good as it can be
- actually consider / think about how it _should_ (ideally) be
- can we do even better?
- "makes me happy when ..."
- intentional/well-considered decisions
Annotators
URL
-
-
-
I apologize for the slow development of Reform after the "explosion" when I released it initially. The reason for this is I changed jobs and didn't use Reform (yet).
-
-
emaildesign.beefree.io emaildesign.beefree.io
-
We got this email from Parabo, the print shop app, and smiled. Instead of the very standard “Please confirm subscription” header text, we were greeted with a funny, whimsical hello that’s totally in their brand voice. “We really want you to want us” is a clever way to break up the usual mundane greeting, and, guess what? It totally reaffirmed why we thought we wanted to sign up for their emails in the first place.
-
-
hilton.org.uk hilton.org.uk
-
‘Programs are meant to be read by humans and only incidentally for computers to execute.’
-
In principle, the naming things in code need only be temporary, but names in code stick just like nicknames at school.
-
-
www.reddit.com www.reddit.com
-
Space: Suppose we had infinite memory, then cache all the data; but we don't so we have to decide what to cache that is meaningful to have the cache implemented (is a ??K cache size enough for your use case? Should you add more?) - It's the balance with the resources available.
-
Time: Suppose all your data was immutable, then cache all the data indefinitely. But this isn't always to case so you have to figure out what works for the given scenario (A person's mailing address doesn't change often, but their GPS position does).
-
-
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
-
-
github.com github.com
-
stackoverflow.com stackoverflow.com
-
stackoverflow.com stackoverflow.com
-
stackoverflow.com stackoverflow.com
-
stackoverflow.com stackoverflow.com
-
github.com github.com
-
github.com github.com
-
ebusinessboss.com ebusinessboss.com
-
Well, a click funnel is basically an online sales funnel, but it’s widely referred to as a click funnel due to the growing popularity of the software called “Clickfunnels”.
-
- 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.
-
We don’t do politics, and we certainly don’t do religion. You’re bringing these here by using terms such as “politicians” or “evil”.
Does "evil" refer to religion? Or perhaps they meant "evil" in a more general way, as a more extreme version of "bad".
-
-
forums.theregister.com forums.theregister.com
-
If upstream code presumes things will work that dont in snap (e.g. accesses /tmp or /etc) the snap maintainer has to rewrite that code and maintain a fork. Pointless work. Packaging for .deb is a no-brainer.
-
>Linux needs an app delivery format Yeah, it's incredible that it has managed to survive for so long without one.
-
It's Snap that drove me to Arch, so it did me a huge favour. Seeing things like GNOME as a snap and other 'core' products wasn't something I was comfortable with. Personally, I prefer flatpaks as a packaging format when compared to snap and appimage. I agree that Linux needs an app delivery format, but snap's current implementation isn't it.
-
-
-
The CardLayout creates a store in context and the Card creates a standardized div container and registers it to the store so that the CardLayout has access to that DOM element. Then in afterUpdate you can move the DOM elements into columns and Svelte will not try to put them back where they go. It's a bit messy but it works.
-
-
-
I would love to see this features as well, since it makes component composition and reuse a lot easier.
-
-
github.com github.com
-
You should default to the most permissive option imo and there really is no reason to check anything until you really need to If it were left to me I'd just use optional chaining, as it also eliminates the need for no-ops
(lazy checking)
-
-
en.wikipedia.org en.wikipedia.org
-
In other words, programs that send messages to other machines (or to other programs on the same machine) should conform completely to the specifications, but programs that receive messages should accept non-conformant input as long as the meaning is clear.
-
be conservative in what you do, be liberal in what you accept from others
-
-
stackoverflow.com stackoverflow.com
-
It should be as simple to use as in the days of jQuery's tooltips.
-
-
discourse.ubuntu.com discourse.ubuntu.com
-
This is a by-product of the success of Ubuntu. Whether people like it or not, most software available for Linux will target Ubuntu first. There may be packages available later for other distros / systems, but on the whole, you can be sure a software developer will target Ubuntu if they target Linux.
-
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.
Tags
- discussion without action
- Snap
- software performance
- hasty generalization
- popularity amplication
- unhelpful
- bug reports
- helpful
- faulty generalization
- not adding to discussion
- more popular platforms will be targeted first
- popularity amplification
- Ubuntu
- be specific
- +0.9
- good point
- discussion
- by-product of success
Annotators
URL
-
-
css-tricks.com css-tricks.com
-
For larger files, the wait time can be especially problematic. A standard download is an all-or-nothing affair—interruptions can corrupt them and render them useless. Worse, it can waste valuable data on a metered data plan, an unfortunately all-too-relevant concern.
-
- Dec 2020
-
www.codingwithjesse.com www.codingwithjesse.com
-
We usually only see people launching projects once they're already done. I'm sure there are countless more unfinished and unlaunched side projects that the world will never know about. Don't let your side project become one of them.
-
They say that perfect is the enemy of good, and I'm coming to realise that something like a video course can never be perfect anyway. I can only do my best with the time and energy I have available. I'd rather finish this course and share my experience and insights on using Svelte with the world, than to plan it forever and never launch.
-
-
github.com github.com
-
Can this be merged please, this fixes a problem I have
-
-
github.com github.com
-
May I ask what is holding this back?
-
-
github.com github.com
-
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?
-
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?
-
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.
-
- 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
-
The answer should be: you write a language that compiles to Go’s IR.
-
-
github.com github.com
-
@monkeythedev can your work be used already? I would suggest not yet, i'm still doing core changes every day
-
-
github.com github.com
-
Because of those similarities, it's possible to automate some of the changes.
-
-
www.youtube.com www.youtube.com
-
If everyone did this, the repair shops would be out of business.
-
-
github.com github.com
-
at least in the meantime allow users to bypass the security protections in situations where they are confident of the source of the layers
-
-
github.com github.com
-
It took us a long time for everyone to get on the same page about the requirements spanning frameworks, tooling and native implementations. Only after pushing in various concrete directions did we get a full understanding of the requirements which this proposal aims to meet.
-
-
github.com github.com
-
How about renaming this to something more meaningful:
-
-
madewithsvelte.com madewithsvelte.com
-
Why do we need this proprietary service?
So they can track us when we go to: http://svelte-autocomplete.surge.sh/?ref=madewithsvelte.com ?
Rather than bookmark/use https://madewithsvelte.com/svelte-autocomplete I would prefer to just use https://github.com/elcobvg/svelte-autocomplete as the canonical URL for this project.
-
-
madewithsvelte.com madewithsvelte.com
-
Express - 19 $ 🏃♀️ Skip the Review Queue 🕒 Published in 3 days 💌 Full Customer Support 💚 Support the team
Wow, after seeing how this site works, I don't like much like it anymore.
Esp. this below:
Choose your preferred publish date - 9 $ Feature your project on top for 14 days and get an additional tweet - 19 $
I hope there is/will be soon a more open/free alternative (like the "awesome" lists that use GitHub PRs instead of an opaque/proprietary submisison form).
-
-
github.com github.com
-
I see this issue has 2 open PR's is this going to be finalized anytime soon?
-
-
github.com github.com
-
github.com github.com
-
Furthermore, how come there's a PR open since 3 months, at what seems to be the authoritative repo for Svelte?
-
-
github.com github.com
-
webpack.js.org webpack.js.orgConcepts1
-
DevtoolThis option controls if and how source maps are generated.
If the option is (only) about source maps, then it should be called something like sourceMapTool instead.
Tags
Annotators
URL
-
-
github.com github.com
-
// replace css-loader with typings-for-css-modules-loader environment.loaders.get('moduleSass').use = environment.loaders.get('moduleSass').use.map((u) => { if(u.loader == 'css-loader') { return { ...u, loader: 'typings-for-css-modules-loader' }; } else { return u; } });
-
-
github.com github.com
-
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
-
-
github.com github.com
-
Ignore the warning, given that it's just a warning anyways. It's annoying, but it won't break your app
-
-
github.com github.com
-
Obviously we shouldn't rush into anything. But changes like these are best made earlier on in a project's lifecycle, so I'm eager to hear what people think so that we can start making some progress.
-
- Oct 2020
-
-
There's an issue #3368 for describing better what triggers reactive updates, as I do think there is some stuff we could be more explicit about
-
Anyway, If this is an expected behaviour, we should probably add an asterisk to the docs, describing the pitfall, because I believe many will be bitten by this.
-
-
github.com github.com
-
we do need to have this somewhere
-
-
medium.com medium.com
-
Here are few, real-life commits of refactorings that make use of this solution:
-
-
danielmiessler.com danielmiessler.com
-
When communicating, being more specific is usually better, and a “URL” is a specific type of URI that provides an access method/location.
-
-
github.com github.com
-
One of Svelte's advantages, for me, is that I can test out ideas with relatively few lines of code. the #with feature could save me from adding a separate component for the content of an #each loop. I get frustrated when I have to create a new file, move the content of the #each clause, import it as a component, and add attributes and create exports for that, and implement events to send messages back, and event handlers, when I just wanted to test a small feature.
-
-
stackoverflow.com stackoverflow.com
-
"doesn't work" is meaningless
-
-
formvalidation.io formvalidation.io
-
All validators can be used independently. Inspried by functional programming paradigm, all built in validators are just functions.
I'm glad you can use it independently like:
FormValidation.validators.creditCard().validate({
because sometimes you don't have a formElement available like in their "main" (?) API examples:
FormValidation.formValidation(formElement
-
-
facebook.github.io facebook.github.io
-
However, this would lead to further divergence. Tooling that is built around the assumptions imposed by template literals wouldn't work. It would undermine the meaning of template literals. It would be necessary to define how JSX behaves within the rest of the ECMAScript grammar within the template literal anyway.
-
-
gist.github.com gist.github.com
-
This is valid javascript! Or harmony or es6 or whatever, but importantly, it's not happening outside the js environment. This also allows us to use our standard tooling: the traceur compiler knows how to turn jsx`<div>Hello</div>`; into the equivalent browser compatible es3, and hence we can use anything the traceur compile accepts!
-
-
-
Doesn't require the use of transpiler or modifications to all JS tooling ever invented.
-
-
medium.com medium.com
-
But the vast majority of things that our apps are doing are just conditional and list rendering.
-
Moreover, React team even removed the “highlight updates” feature from dev tools because people used to obsessively haunt wasted renders with no reasoning behind it
-
In my opinion it is okay to say your tool is revolutionary compared to existing ones. And it is hard to be fully unbiased about your own creation, I get it.
Tags
- unbiased
- marketing
- it is enough to be basic (don't need all the bells and whistles)
- hard to be unbiased
- good/preferred/recommended behavior
- time wasters
- not adding feature because of the risk it may be abused / shoot self in foot
- rationality
- biased
- not good enough reason/rationale/explanation
Annotators
URL
-
-
github.com github.com
-
Thank you to those who have failed many times, yet never gave up
Tags
Annotators
URL
-
-
tech.ebayinc.com tech.ebayinc.com
-
that does not mean that I am advocating the other extreme–i.e., a templating language that allows a lot of logic. I find such templating languages, especially those that allow the host programming languages to be used inside the template, to be hard to read, hard to maintain, and simply a bad choice.
-
-
-
(One can already destructure the loop variable but using a store obtained that way currently throws an error - Stores must be declared at the top level of the component (this may change in a future version of Svelte))
-
-
github.com github.com
-
Why struggle with custom Syntax DSLs when you can use one so widely supported?
-
It was only pragmatic to use a tool that basically gives you that all for free.
-
So while Solid's JSX and might resemble React it by no means works like React and there should be no illusions that a JSX library will just work with Solid. Afterall, there are no JSX libraries, as they all work without JSX, only HyperScript or React ones.
Tags
- reinventing the wheel / not invented here
- SolidJS
- benefiting from shared tooling that can be reused
- pragmatic
- JSX
- don't create a new syntax
- widely supported
- misleading
- getting some benefit for free
- leverage the fact that tooling already exists
- differences
- syntax
- React
- DSL
- misleadingly similar (don't expect everything to be the same just because some things are)
Annotators
URL
-
-
-
It was clear no one was interested in what I was working towards.
-
-
github.com github.com
-
However, IMO, having the conditional in the detach function is necessary, because there are other manifestations of this error. For example, if the DOM element in a component is removed from software outside of svelte, detach will have the same error.
-
IMO, the conditional needs to be added to detach to fix all manifestations of this error.
-
- Sep 2020
-
devblogs.microsoft.com devblogs.microsoft.com
-
This is so common that ECMAScript 2020 recently added a new syntax to support this pattern!export * as utilities from "./utilities.js";This is a nice quality-of-life improvement to JavaScript, and TypeScript 3.8 implements this syntax. When your module target is earlier than es2020, TypeScript will output something along the lines of the first code snippet.
-
-
discuss.rubyonrails.org discuss.rubyonrails.org
-
Insisting on a specific implementation, rather than proposing a clear problem, suggesting a possible solution, and “not being married” to your initial preferred solution.
-
-
github.com github.com
-
Svelte will not offer a generic way to support style customizing via contextual class overrides (as we'd do it in plain HTML). Instead we'll invent something new that is entirely different. If a child component is provided and does not anticipate some contextual usage scenario (style wise) you'd need to copy it or hack around that via :global hacks.
-
new style RFC
-
Web developers are well aware of the mess you can get into with global CSS, and the action of writing <Child class="foo"/> and <div class={_class}>` (or similar) in the child component is an explicit indication that, while taking advantage of all the greatness of style encapsulation by default, in this case you have decided that you want a very specific and controlled "leak", of one class, from one component instance to one component instance.
Tags
- Svelte: how to affect child component styles
- trying to prevent one bad thing leading to people doing/choosing an even worse option
- ugly/kludgey
- being explicit
- forced to fork/copy and paste library code because it didn't provide enough customizability/extensibility / didn't foresee some specific prop/behavior that needed to be overridable/configurable (explicit interface)
- maintenance burden to explicitly define/enumerate/hard-code possible options (explicit interface)
- component/library author can't consider/know ahead of time all of the ways users may want to use it
- run-time dynamicness/generics vs. having to explicitly list/hard-code all options ahead of time
- specific/controlled exceptions to a general principle/rule/guideline
- missed opportunity
- make it a link if can be made a link to something useful/relevant
- forking to add a desired missing feature/change
- workarounds
- missed opportunity: link to what you are referring to
- be specific
- exceptions to the rule
Annotators
URL
-
-
github.com github.com
-
I totally get not wanting to extend the syntax. I tried doing these things and in practice it was not easy or pretty. Actions provide a much cleaner and easier way to accomplish a certain set of functionality that would be much more difficult without it.
-
-
-
If this was tied into Svelte's flow with hooks this would not be necessary since it would know when it was being removed from the DOM.
-
You must: reference each element you are extending using refs or an id add code in your oncreate and ondestroy for each element you are extending, which could become quite a lot if you have a lot of elements needing extension (anchors, form inputs, etc.)
Tags
- could be easier / more difficult than it needs to be
- library/framework could make this easier
- framework taking care of responsibility so users can leverage it and not have to worry about that responsibility themselves
- why this feature is needed
- scalability
- difficult/hard
- too hard/difficult/much work to expect end-developers to write from scratch (need library to do it for them)
Annotators
URL
-
-
github.com github.com
-
The feature is highly likely to be implemented, the API and implementation are the only real topics of discussion right now.
-
-
www.biblegateway.com www.biblegateway.com
-
19 Now the Lord God had formed out of the ground all the wild animals(AA) and all the birds in the sky.(AB) He brought them to the man to see what he would name them; and whatever the man called(AC) each living creature,(AD) that was its name. 20 So the man gave names to all the livestock, the birds in the sky and all the wild animals.
God had given Adam the responsibility to name all living creatures on Earth after the first days of creation. In Ursula K. Le Guin’s “She Unnames Them”, the idea of how labels or given names could take away from “personal choice” and “freedom” was explored throughout the text. Instead of believing that humans are above animals and living creatures, Buddhists view animals as very sacred beings and are to be shown with respect and to never be harmed. They also believe that humans can be reborn as animals, all interconnected within one another, supporting their beliefs of showing extreme care towards animals and allowing them to live freely.
-
-
github.com github.com
-
(At the point at which it does make sense to turn this into a separate Tooltip.svelte component, the extraction is a completely mechanical process that could even be automated by tooling.)
-
-
jsrocks.org jsrocks.orgJS Rocks1
-
6to5 attempted to ship a quick and dirty TDZ static checking feature but had to retract it immediately afterwards due to various bugs in the algorithm.
-
-
github.com github.com
-
Please focus on explaining the motivation so that if this RFC is not accepted, the motivation could be used to develop alternative solutions. In other words, enumerate the constraints you are trying to solve without coupling them too closely to the solution you have in mind.
-
Please provide specific examples. If you say "this would be more flexible" then give an example of something that becomes easier. If you say "this would be make it easier to do X" then give an example of what that looks like today and what's hard about it.
Tags
- iterative process
- okay for proposal to not be accepted
- be specific
- contribution guidelines: should explain motivation for change
- iterative process: building on previous attempts/work
- defining the problem clearly is as valuable coming up with specific implementation/solution
- answer the "why?"
Annotators
URL
-
-
github.com github.com
-
One key advantage of 'HTML-plus' languages is that you don't actually need tooling in order to be productive — most editors give you out-of-the-box support for things like syntax highlighting (though imperfect, as JavaScript expressions are treated as strings) and auto-closing tags. Tools like Emmet work with no additional setup. HTMLx should retain that benefit.
-
benefited from a shared set of tools for syntax highlighting, autocomplete, linting and so on.
-
-
github.com github.com
-
I understand what you're getting at, but we shouldn't miss out on useful features just because a few developers will abuse it...
-
-
jsreport.io jsreport.io
-
Too much choice can be overwhelming.
-
-
-
Can you try to delete node_modules folder and package-lock.json file.
-
clean node_modules
-
Between each step I did rm -rf node_modules package-lock.json && npm i. Just to be sure
-
-
-
Any typescript definitions exported from this library should be tested, otherwise it can cause real pain and doubt for ts users.
-
- Aug 2020
-
meta.stackexchange.com meta.stackexchange.com
-
But it's easy to imagine that the caption was incorrect for too long because those who know the language, know where the mistake is, and those who don't, think that it's the correct way to spell it.
those who know the language, know where the mistake is, In other words, they can easily spot the mistake and no better than to repeat it themselves, but either are powerless or too lazy to actually fix it on SE.
and those who don't, think that it's the correct way to spell it. So those who should no better are inadvertently perpetuating the mistake and teaching others that it is an acceptable/correct usage.
-
-
github.com github.com
-
We've stated what's required multiple times now: #14540 (comment) #14540 (comment), and the follow up arguments weren't convincing. Follow Rafael's advice in new smaller PRs to advance this or it'll simply stay closed
-
-
en.wikipedia.org en.wikipedia.org
-
Stallman has also stated that considering the practical advantages of free software is like considering the practical advantages of not being handcuffed, in that it is not necessary for an individual to consider practical reasons in order to realize that being handcuffed is undesirable in itself.
-
-
gitlab.com gitlab.com
-
As a later iteration, it might be cool to see a link between the quoted content and my comment
-
- Jul 2020
-
www.theregister.com www.theregister.com
-
"AOO is not, and isn't designed to be, the 'super coolest open source office suite with all the latest bells and whistles,'" Jagielski continued. "Our research shows that a 'basic,' functional office suite, which is streamlined with a 'simple' and uncluttered, uncomplicated UI, serves an incredible under-represented community.
-
-
-
The second situation occurs when a person says unpleasant things about another when he or she ought to have known they are false. A reasonable person generally refrains from sharing negative information about others if he or she has reason to doubt its veracity.
-
-
edpb.europa.eu edpb.europa.eu
-
When downloading a lifestyle mobile app, the app asks for consent to access the phone’saccelerometer. This is not necessary for the app to work, but it is useful for the controller who wishesto learn more about the movements and activity levels of its users. When the user later revokes thatconsent, she finds out that the app now only works to a limited extent. This is an example of detrimentas meant in Recital 42, which means that consent was never validly obtained (and thus, the controllerneeds to delete all personal data about users’ movements collected this way).
-
he GDPR does notpreclude all incentives but the onus would be on the controller to demonstrate that consent was stillfreely given in allthe circumstances.
-
Article 7(3) of the GDPR prescribes that the controller must ensure that consent can be withdrawn bythe data subject as easy as giving consent and at any given time. The GDPR does not say that givingand withdrawing consent must always be done through the same action.
-
consent is obtained through use of a service-specific user interface (for example, via a website, an app,a log-on account, the interface of an IoT device or by e-mail), there is no doubt a data subject must beable to withdraw consent via the same electronic interface, as switching to another interface for thesole reason of withdrawing consentwould require undue effort.
-
The controller informs customers that they havethe possibility to withdraw consent. To do this, they could contact a call centre on business daysbetween 8am and 5pm, free of charge. The controller in this example doesnotcomply with article 7(3)of the GDPR. Withdrawing consent in this case requires a telephone call during business hours, this ismore burdensome than the one mouse-click needed for giving consent through the online ticketvendor, which is open 24/7.
-
Controllers have an obligation to delete data that was processed on the basis of consent once thatconsent is withdrawn,assuming that there is no other purpose justifying the continued retention.56Besides this situation, covered in Article 17 (1)(b), an individual data subject may request erasure ofother data concerning him that is processed on another lawful basis, e.g.on the basis of Article6(1)(b).57Controllers are obliged to assess whether continued processing of the data in question isappropriate, even in the absence of an erasure request by the data subject.
-
If a controller receives a withdrawal request, itmust in principle delete the personal data straight away if it wishes to continue to use the data for thepurposes of the research.
-
-
amp.dev amp.dev
-
Beyond that, the core AMP library and built-in elements should aim for very wide browser support and we accept fixes for all browsers with market share greater than 1 percent.
-
-
code-examples.net code-examples.net
-
JSON parsing is always pain in ass. If the input is not as expected it throws an error and crashes what you are doing. You can use the following tiny function to safely parse your input. It always turns an object even if the input is not valid or is already an object which is better for most cases.
It would be nicer if the parse method provided an option to do it safely and always fall back to returning an object instead of raising exception if it couldn't parse the input.
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
I have pixelized the faces of the recognizable people wearing a red cord (as they don't want to appear on pictures). I hope is fine.
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
Matz, alas, I cannot offer one. You see, Ruby--coding generally--is just a hobby for me. I spend a fair bit of time answering Ruby questions on SO and would have reached for this method on many occasions had it been available. Perhaps readers with development experience (everybody but me?) could reflect on whether this method would have been useful in projects they've worked on.
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
I agree in general splitting an array, according to some property using the order of the elements (no take_drop_while) or to some other array (this request) is more difficult than it could be.
-
- Jun 2020
-
en.wikipedia.org en.wikipedia.org
-
"Splitters can be lumped more easily than lumpers can be split"
-
-
en.wikipedia.org en.wikipedia.org
-
-
For example, if error messages in two narrowly defined classes behave in the same way, the classes can be easily combined. But if some messages in a broad class behave differently, every object in the class must be examined before the class can be split. This illustrates the principle that "splits can be lumped more easily than lumps can be split".
-
-
stackoverflow.com stackoverflow.com
-
gist.github.com gist.github.com
-
discuss.rubyonrails.org discuss.rubyonrails.org
-
discuss.rubyonrails.org discuss.rubyonrails.org