- Feb 2021
-
trailblazer.to trailblazer.to
-
Output() in combination with Path() allow very simple modelling for alternive routes.
Tags
Annotators
URL
-
-
mmhaskell.com mmhaskell.com
-
A Monad wraps a value or a computation with a particular context. A monad must define both a means of wrapping normal values in the context, and a way of combining computations within the context.
Tags
Annotators
URL
-
-
trailblazer.to trailblazer.to
-
It’s so simple that I sometimes wonder why it took years to develop it!
-
-
stackoverflow.com stackoverflow.com
-
The shell process itself is in yet another process group all of its own and so doesn't receive the signal when one of those process groups is in the foreground. It's that simple.
-
-
-
Writing the uniqueness validations yourself is easy so I felt it was better to leave this up to the developer
-
I've been over the use case for form objects in this post on moving away from fat models but wanted to go into more detail on how and why I use them here. I really believe in the utility of these objects; their ability to abstract and isolate logic in a simple and effective manner is unmatched, IMO.
-
-
github.com github.com
-
That's covered by "they must differ only by #where"
Tags
Annotators
URL
-
-
www.sciencealert.com www.sciencealert.com
-
All those names of things - topology, complex analysis, and differential geometry - might not sound like much to you now, but you'll soon learn that they're really just describing the shapes of things in our Universe, and the way those shapes change in time and space are explained by things like calculus and chaos theory.
-
- Jan 2021
-
www.reddit.com www.reddit.com
-
Simple answer: If you need the interface in in another module.
-
- Dec 2020
-
github.com github.com
-
Jbuilder gives you a simple DSL for declaring JSON structures that beats manipulating giant hash structures. This is particularly helpful when the generation process is fraught with conditionals and loops.
-
-
sapper.svelte.dev sapper.svelte.dev
-
page is a { host, path, params, query } object where host is the URL's host, path is its pathname, params is derived from path and the route filename, and query is an object of values in the query string.
I like that we don't have to manually parse params/query out of the full request URI. It provides the data that you are most likely to need, in an readily/easily-usable form.
Tags
Annotators
URL
-
-
github.com github.com
-
I think the main difference between the two are the way API are served. Some smelte components need you to input big chunk of json as props, while i prefer keep props as primitive types and in the other hand give you different components tags to compose.
-
- Nov 2020
-
github.com github.com
-
My focus is on make the API as simpler as possible to allows easy integration without even reading the docs but keeping and expand current features.
-
-
laniewski.me laniewski.me
-
For example, your application should work offline, but it doesn’t mean that you must set-up a background queue or store your data in a persistent storage – a offline message (e.g. “You’re offline, check your network status.”) is enough.
-
-
github.com github.com
-
So let's say we pull down evil/foo which is FROM ubuntu followed by RUN apt-get update except with a small surprise included in the image. Subsequent builds using those same commands will be compromised.
-
-
github.com github.com
-
However, this coalescing was very complicated, both in the specification and implementations, due to the dynamism of computed property names for accessors. Coalescing was a big source of overhead (e.g., in terms of code size) in polyfill implementations of "Stage 2" decorators.
-
-
github.com github.com
-
This is Sass based, and therefore doesn't require Svelte components
Just because we could make Svelte wrapper components for each Material typography [thing], doesn't mean we should.
Compare:
material-ui [react] did make wrapper components for typography.
- But why did they? Is there a technical reason why they couldn't just do what svelte-material-ui did (as in, something technical that Svelte empowers/allows?), or did they just not consider it?
svelte-material-ui did not.
- And they were probably wise to not do so. Just reuse the existing work from the Material team so that there's less work for you to keep in sync and less chance of divergence.
-
- Oct 2020
-
meta.stackoverflow.com meta.stackoverflow.com
-
I don't think the heading/bearing split is as clear-cut as that.
-
-
stackoverflow.com stackoverflow.com
-
for (var member in myObject) delete myObject[member]; ...would seem to be pretty effective in cleaning the object in one line of code
But checking
hasOwnProperty
is probably better/safer idea:for (var prop in obj) { if (obj.hasOwnProperty(prop)) { delete obj[prop]; } }
-
-
-
And I'm all for not adding a gazillion flags to to an elegant library.
-
But it sounds like the library could use some way to setTouched()
-
-
-
I don't want Svelte to go out of its way to try to catch all these edge cases. It would require lots of fragile heuristics in the compiler. I want a solid compiler I can trust, not something magic but often out of service. I want it the simplest possible.
-
-
final-form.org final-form.org
-
Wondering how to get field state from multiple fields at once? People coming from Redux-Form might be wondering where the equivalent of Redux Form's Fields component is, as a way to get state from several fields at once. The answer is that it's not included in the library because it's so easy to write one recursively composing Field components together.
-
-
medium.com medium.com
-
but the design pattern is so simple that it takes hardly any effort to implement it on any existing reducer, so I rejected abstraction for abstraction's sake.
-
-
svelte.dev svelte.dev
-
Not all application state belongs inside your application's component hierarchy. Sometimes, you'll have values that need to be accessed by multiple unrelated components, or by a regular JavaScript module.
-
A store is simply an object with a subscribe method that allows interested parties to be notified whenever the store value changes. In App.svelte, count is a store, and we're setting count_value in the count.subscribe callback.
-
-
svelte.dev svelte.dev
-
Just like elements can have children... <div> <p>I'm a child of the div</p> </div>...so can components. Before a component can accept children, though, it needs to know where to put them. We do this with the <slot> element.
-
-
leiss.ca leiss.ca
-
Good risk management is inherently simple; adding too many complexities increases the likelihood of overlooking the obvious.
-
-
www.onwebsecurity.com www.onwebsecurity.com
-
Escaping is a subset of encoding, where not all characters need to be encoded. Only some characters are encoded (by using an escape character).
-
-
-
A programming language is Turing complete if you can implement any possible algorithm with it.
-
-
github.com github.com
-
Snarkdown exports a single function, which parses a string of Markdown and returns a String of HTML. Couldn't be simpler.
-
-
-
We are very close to full inline components (with css, js logic, and templates).
-
-
recoiljs.org recoiljs.org
-
We get a boilerplate-free API where shared state has the same simple get/set interface as React local state (yet can be encapsulated with reducers etc. if needed).
-
-
levelup.gitconnected.com levelup.gitconnected.com
-
Solid keeps it simple
-
-
-
Like they tried so hard to make things easy they didn't care that they weren't elegant or simple.
-
-
-
Any variable referenced on the lines marked with $: is marked as a dependency of the derived variable.
-
-
github.com github.com
-
However, if you want to create a backend API that is meant to be consumed only by your frontend, then you don't need REST nor GraphQL — RPC, such as Wildcard, is enough.
-
- Sep 2020
-
stackoverflow.com stackoverflow.com
-
setContext must be called synchronously during component initialization. That is, from the root of the <script> tag
-
-
codingwithspike.wordpress.com codingwithspike.wordpress.com
-
To make this “if you install me, you better also install X, Y, and Z!” problem easier, peerDependencies was introduced.
-
-
github.com github.com
-
Lets not extend the framework with yet another syntax
-
-
-
I'm more likely to use it than alternatives in future projects - it's simple and clean
-
- 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.
-
-
about.gitlab.com about.gitlab.com
-
A simplified pricing and packaging (PnP) strategy serves customers in the optimal way per the industry best practice. More SKUs lead to a more complex PnP model as a company scales, which eventually causes huge confusion to customers.
-
-
addons.mozilla.org addons.mozilla.org
-
Why save sessions as bookmarks? - all the data saved will be there no matter what addon you may use in the feature
-
-
discuss.rubyonrails.org discuss.rubyonrails.org
-
And you see the problem, concerns are so simple that they do not deserve a full guide. Concerns are mixins, if you are a Ruby programmer, you already know what a mixin is and their use case to modularize APIs.
-
- May 2020
-
ksr-ugc.imgix.net ksr-ugc.imgix.net
-
From: https://www.kickstarter.com/projects/admagic/rise-of-tribes-beasts-and-bronze
[saved a copy]
-
-
www.kickstarter.com www.kickstarter.comCanvas1
-
Regardless of what or how much you order, this is your flat shipping cost.
-
-
gitlab.com gitlab.com
-
I think this goes against the Keep It Simple mentality and the Low Level Of Shame that we should have when we contribute.
-
-
www.iubenda.com www.iubenda.com
-
whose personal data you collect and process as “controller” (that is the word that GDPR uses for whoever determines the purposes and means of the processing of personal data).
-
- Apr 2020
-
-
The extra “space” from vertical navigation might encourage some designers to go overboard and clutter the navigation menu; as with top, horizontal navigation, stick to only the top four or five links within the site.
-
-
github.com github.com
-
I don't think this is a common enough use case to warrant this change (which would need documentation and tests if it were to be accepted). Overall, the goal has been to simplify the validators, and prune out edge cases. This use case can be easily accomplished by just using a method instead.
-
-
stackoverflow.com stackoverflow.com
-
Markdown provides shorthand for the most common features of HTML. One of its best features is that you can always fallback to the full syntax for HTML. This includes doing things that aren't included in markdown. Personally, I like that markdown is concise and includes very little fluff. It makes it easier to learn the whole set of shorthand. This is particularly important if you expect someone else to read your code later.
One of its best features is that you can always [fall back[ to the full syntax for HTML.
See rebuttal below.
-
-
github.com github.com
-
Invert the exit code of a process. Make 0 into 1 and everything else into a 0. An alternative to ! some-command syntax present in some shells.
Tags
Annotators
URL
-
-
docs.seattlerb.org docs.seattlerb.org
-
minitest doesn't reinvent anything that ruby already provides, like: classes, modules, inheritance, methods. This means you only have to learn ruby to use minitest and all of your regular OO practices like extract-method refactorings still apply.
-
-
github.com github.com
-
Don't use it! Writing simple assertions (and Minitest way of transforming them to expectations) is almost always a better idea anyway. Work with your favourite library authors to start with assertions and add matchers for convenience and not the other way around. Keep it simple.
-
- Mar 2020
-
clearcode.cc clearcode.cc
-
First-party cookies are the lifeblood of every website, enabling businesses to remember key pieces of information about users and to collect analytics data. Third-party cookies are the bread and butter of AdTech, allowing publishers to monetize their websites, and brands to run advertising and marketing campaigns.
-
-
www.linkedin.com www.linkedin.com
-
I discuss the flaws of this in regards to spreadsheets in Spreadsheets Are Sabotaging Your Business. In brief, when people inevitably started using the more complex formulas available, they unknowingly broke the fundamental design concept of paper spreadsheets: that humans can understand what’s happening between the cells.
-
- Dec 2019
-
plaintext-productivity.net plaintext-productivity.net
-
In this system, plaintext files are used for most of the backbone of your organizational system.
-
-
-
You're not going to find many checkboxes, drop-downs, reminders, or date pickers here.
Thankfully, some clients like https://github.com/QTodoTxt/QTodoTxt2 do have nice features like autocomplete, and date pickers.
-
-
zapier.com zapier.com
-
Most to-do lists give you no control over your data. Your tasks live inside the app, not in a document you can edit, and syncing is handled by whichever company made the app. If you don't like this, todo.txt is a great alternative.
-
-
blog.logrocket.com blog.logrocket.com
-
Fetch() provides similar functionality through the AbortController interface. It’s not as simple as the Axios version, though:
-
- Jul 2019
-
www.flowerbrackets.com www.flowerbrackets.com
-
Java program to find simple interest
-
- Feb 2019
- Dec 2018
-
www.sciencedirect.com www.sciencedirect.com
-
Fig. 4
Graph is extremely unclear. Bad usage of point shapes
-
- Oct 2018
-
cloud.degrowth.net cloud.degrowth.netdownload1
-
Local- using social media, technology, keeping it horizontal, keeping it simple and humble, celebration is important.
-
- Apr 2017
-
packaging.python.org packaging.python.org
Tags
Annotators
URL
-
- Jan 2016
-
www.tolerance.org www.tolerance.org
-
quickly realized something counterintuitive: Often, it’s the simplest uses of technology that get students to talk, write and create
This is really interesting. I think this is an important finding because as teachers begin to blend and personalize instruction, keeping it simple will allow for more teachers to engage because it doesn't appear to be daunting and super-sophisticated (and scary).
-