- Oct 2024
-
github.com github.com
-
Documentation
Tags
Annotators
URL
-
- Sep 2024
-
github.com github.com
-
mount IndexController do # all methods will be mounted automatically, it's just an example of refinement get '/hello', :hello_world end
-
- Aug 2024
-
www.kickstarter.com www.kickstarter.comAkkad1
Tags
Annotators
URL
-
- Jun 2024
-
docdrop.org docdrop.org
-
to your point for 00:13:46 every problem there's going to be a solution and AI is going to have it and then for every solution for that there's going to be a new problem
for - AI - progress trap - nice simple explanation of how progress traps propagate
-
- May 2024
-
www.lrb.co.uk www.lrb.co.uk
-
Information about ownership can, however, be found in the pages of Tatler or on the message boards of Ismaili Muslims unhappy about their tithes being used to pay for the extravagant lifestyle of a man who is both their religious imam and the descendant of an aristocrat ennobled by both the Iranian and British monarchies
-
-
-
others argue that it's not an interpreted language and that it's actually a compiled language
Sounds cool
-
JavaScript is an interpreted language
This is cool as well as sick!
-
- Dec 2023
-
-
Compared with simple clients, modern clients are generally much easier to use and more Ruby-like
-
Modern clients are produced by a modern code generator, combined with hand-crafted functionality for some services.
-
- Oct 2023
-
www.liberation.fr www.liberation.fr
- Sep 2023
-
www.digitalocean.com www.digitalocean.com
-
The above diagram depicts the details of a session creation.
-
-
en.wikipedia.org en.wikipedia.org
-
Circuit representation of a work-efficient 16-input parallel prefix sum
Tags
Annotators
URL
-
- Aug 2023
-
www.lesswrong.com www.lesswrong.com
-
In fact, it might be good if you make your first cards messy and unimportant, just to make sure you don’t feel like everything has to be nicely organized and highly significant.
Making things messy from the start as advice for getting started.
I've seen this before in other settings, particularly in starting new notebooks. Some have suggested scrawling on the first page to get over the idea of perfection in a virgin notebook. I also think I've seen Ton Ziijlstra mention that his dad would ding every new car to get over the new feeling and fear of damaging it. Get the damage out of the way so you can just move on.
The fact that a notebook is damaged, messy, or used for the smallest things may be one of the benefits of a wastebook. It averts the internal need some may find for perfection in their nice notebooks or work materials.
-
- Dec 2022
-
github.com github.com
-
Dilemma: Do I use this unofficial library with its really nice idiomatic API or the official library (https://github.com/mailgun/mailgun-ruby) with its inferior API?
I wish this one was still/better maintained because I'd much rather use this API, like:
@mailgun.lists.create "devs@your.mailgun.domain" @mailgun.lists.list @mailgun.lists.find "devs@your.mailgun.domain"
but it's not maintained, and looks like it doesn't have the word
events
in the source at all, so it's missing any way to use the Events API. :(
-
- Sep 2022
-
fonts.google.com fonts.google.com
Tags
Annotators
URL
-
- Aug 2022
-
stackoverflow.com stackoverflow.com
-
you can also replicate the bind:this syntax if you please: Wrapper.svelte <script> let root export { root as this } </script> <div bind:this={root} />
This lets the caller use it like this:
<Wrapper bind:this={root} />
in the same way we can already do this with elements:
<div bind:this=
-
- Jul 2022
-
gist.github.com gist.github.com
-
4.2 Meaningful work and meaningful relationships aren’t just nice things we chose for ourselves—they are genetically programmed into us.
4.2 Meaningful work and meaningful relationships aren’t just nice things we chose for ourselves—they are genetically programmed into us.
-
- Apr 2022
-
www.quora.com www.quora.com
-
a mind needs books like sword needs a whetstone
大脑需要阅读,就像剑刃需要磨刀石
Tags
Annotators
URL
-
- Jan 2022
- Nov 2021
-
www.linuxuprising.com www.linuxuprising.com
-
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepoflatpak install flathub org.chromium.Chromium
-
- Oct 2021
-
human.libretexts.org human.libretexts.org
-
or maybe it was how he used fire 15 to describe the trees.
the land was destroyed
Tags
Annotators
URL
-
-
onezero.medium.com onezero.medium.com
-
Literally everyone is just following orders from the machine.
Fascist Architecture
See Eichmann in Jerusalem: A Report on the Banality of Evil by Hannah Arendt.
“It spells out so clearly that Nazi Germany’s worst atrocities and many atrocities the world over were not only the ideas of singular evil men. They were supported and enacted by systems, by groups of people who woke up in the morning and went to offices to work on it.”
— Avery Trufelman, Nice Try! Podcast
-
-
bauhouse.medium.com bauhouse.medium.com
-
Because at the end of the day, all structures are, in some ways, ideology made manifest.
Avery Trufelman ends her podcast series, Nice Try! with these words in an episode entitled, Germania: Architecture in a Fascist Utopia.
One person’s utopia is another person’s dystopia.
The structure of the mind becomes the architecture of our reality. This thought became the foundation for a mental model for human experience, since these architectural plans for utopia seem like good ideas on paper, but when we live inside these structure in our daily reality, we realize that we have constructed our own mental prisons, the iron cage envisioned by Max Weber.
-
It spells out so clearly that Nazi Germany’s worst atrocities and many atrocities the world over were not only the ideas of singular evil men. They were supported and enacted by systems, by groups of people who woke up in the morning and went to offices to work on it.
Avery Trufelman ends her podcast series, Nice Try! with these words in an episode entitled, Germania: Architecture in a Fascist Utopia.
-
- Sep 2021
-
codepen.io codepen.io
Tags
Annotators
URL
-
- Jul 2021
-
github.com github.com
-
There is currently no standard for transporting instances of JSON text within a stream protocol
-
- Jun 2021
-
github.com github.com
-
You could also opt to extend your Rails configuration object: Envy.init use: MyApp::Application.config MyApp::Application.config.my_variable # => ...
-
- May 2021
-
-
This approach also splits email development for modern email clients and older clients in two. You can use Safari/Chrome to test and develop modern techniques for WebKit-supported clients while using Firefox for your baseline experience for older clients like Outlook.
-
-
-
github.com github.com
-
From now just use url instead of asset-url
-
- Apr 2021
-
github.com github.com
-
logger.tag_formatter.default(Lumberjack::Formatter.new.clear.add(Object, :inspect)) logger.tag_formatter.default(Lumberjack::Formatter::InspectFormatter.new) logger.tag_formatter.default { |value| value.inspect }
-
There are several built in classes you can add as formatters. You can use a symbol to reference built in formatters. logger.formatter.add(Hash, :pretty_print) # use the Formatter::PrettyPrintFormatter for all Hashes logger.formatter.add(Hash, Lumberjack::Formatter::PrettyPrintFormatter.new) # alternative using a formatter instance
-
# This will register formatters only on specific tag names logger.tag_formatter.add(:thread) { |thread| "Thread(#{thread.name})" } logger.tag_formatter.add(:current_user, Lumberjack::Formatter::IdFormatter.new)
Tags
Annotators
URL
-
-
nbviewer.jupyter.org nbviewer.jupyter.org
-
goes on.
I would suggest maybe to conclude things in a new section and maybe elaborating what should maybe be good for continued exploring in this match. Great work!
-
-
www.redblobgames.com www.redblobgames.com
- Mar 2021
-
trailblazer.to trailblazer.to
-
Currently, I’m working on designing the interfaces and it’s real fun!
-
A leaked snippet of the endpoint architectural design draft document, highly confidential.
-
-
github.com github.com
-
var md = require('markdown-it')('commonmark');
first sighting: require(...)(...)
How would that work with import? Not as fluidly but...
import markdownIt from 'markdown-it' let md = markdownIt('commonmark')
-
-
www.kickstarter.com www.kickstarter.com
-
Design SHOGI pieces have been redesigned with new iconography to indicate the piece’s movement.
-
-
trailblazer.to trailblazer.to
-
To implement such an activity, we only need to rewire the second step’s failure output to a new terminus.
-
-
trailblazer.to trailblazer.to
-
patch: -> { step Destroy.method(:tidy_storage), before: :delete_model }
-
- Feb 2021
-
trailblazer.to trailblazer.to
-
Subprocess will try to match the nested ends’ semantics to the tracks it knows. You may wire custom ends using Output.
-
-
github.com github.com
-
Version HEAD now
-
Tree Navigation
-
-
github.com github.com
-
Here comes a sample screenshot.
-
-
trailblazer.to trailblazer.to
-
The adapter is where authentication, policy checks, and eventually your domain logic happen. All termini of the protocol’s activity are standardized end events - that’s how protocol and adapter communicate.
-
-
-
I agre with your concern. I realy prefer to do this : form.assign_attributes(hash) if form.valid? my_service.update(form) #render something else #render somthing else end It looks more like a normal controller.
-
-
github.com github.com
-
Finally, you can use fields_for in order to create/edit associated fields and the suffix _list (like profile_list below) to choose an existing associated record.
-
@user_form = UserForm.new(User.find(params[:id])) # you need to load the record being edited
-
# Use relationship's name followed by "__" plus attribute's name # to validate has_one and belongs_to associations validates :name, :address__street, :company__name, presence: true
-
-
apidocs.getresponse.com apidocs.getresponse.com
Tags
Annotators
URL
-
- Jan 2021
-
atomiks.github.io atomiks.github.ioFAQ1
-
Can I use the title attribute?Yes. The content prop can be a function that receives the reference element as an argument and returns a string or element.tippy('button', { content(reference) { const title = reference.getAttribute('title'); reference.removeAttribute('title'); return title; }, });The title attribute should be removed once you have its content so the browser's default tooltip isn't displayed along with the tippy.
-
-
svelte.dev svelte.dev
-
It must be called during the component's initialisation (but doesn't need to live inside the component; it can be called from an external module).
-
-
github.com github.com
-
Headless: With React's DOM rendering for improved usage with CSS-in-JS and spring libraries. If you want greater control over your poppers to integrate fully with design systems, this is for you.
-
-
atomiks.github.io atomiks.github.ioThemes1
-
atomiks.github.io atomiks.github.io
-
We can make content a function that receives the reference element (button in this case) and returns template content:
-
You can pass the element itself, which is useful for keeping event listeners attached (or when a framework is controlling elements inside):
-
Allows you to separate the tippy's positioning from its trigger source.
-
-
material.io material.io
-
Sets whether the menu surface should open and close without animation when the open/close methods are called.
-
- Dec 2020
-
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
-
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.
-
-
boardgamegeek.com boardgamegeek.com
-
opinionatedgamers.com opinionatedgamers.com
-
www.kickstarter.com www.kickstarter.com
- Oct 2020
-
rob-blackbourn.medium.com rob-blackbourn.medium.com
-
Much better API than using openssl CLI directly (yuck).
-
-
www.basefactor.com www.basefactor.com
-
return { type: "COUNTRY_BLACK_LIST", succeeded, message: succeeded ? "" : "This country is not available" }
-
-
github.com github.com
-
`Module ${a.id} may be unable to evaluate without ${b.id}, but is included first due to a cyclical dependency. Consider swapping the import statements in ${parent} to ensure correct ordering`
-
-
masteringjs.io masteringjs.io
-
You can set options.params to a POJO as shown above, or to an instance of the JavaScript's built-in URLSearchParams class. const params = new URLSearchParams([['answer', 42]]); const res = await axios.get('https://httpbin.org/get', { params });
-
-
github.com github.com
-
<For each={state.list} fallback={<div>Loading...</div>}> {item => <div>{item}</div>} </For>
-
- Sep 2020
-
-
Actions aren't necessary, otherwise they would have been implemented from the start. But they do allow for easier code-reuse and better shared libraries without exploding/complicating the ecosystem.
-
-
react-spectrum.adobe.com react-spectrum.adobe.comuseFocus1
-
let {focusProps} = useFocus({ onFocus: (e) => setEvents((events) => [...events, 'focus']), onBlur: (e) => setEvents((events) => [...events, 'blur']), onFocusChange: (isFocused) => setEvents((events) => [...events, `focus change: ${isFocused}`]) });
-
-
css-tricks.com css-tricks.com
-
If you copy an entire article from this site and republish it on your own site like you wrote it, that’s a little uncool. I won’t be mad at you for stealing, I just think you’re better than that and want to see you do better. I’m not going to come after you though. I’d rather play ball with my dog. The only time I’ll be mad at you is if you go out of your way to try and hurt me somehow. And again I probably won’t even be mad, just sad. Unless I’m having a bad day too, in which case I apologize in advance for my snarky replies.
-
- Jul 2020
- May 2020
-
www.themarginalian.org www.themarginalian.org
-
It’s so much easier to be a critic than a celebrator. Always remember there is a human being on the other end of every exchange and behind every cultural artifact being critiqued.
-
- Apr 2020
-
www.troyhunt.com www.troyhunt.com
-
Cloudflare might have given me the service for free, but they still have to pay for bandwidth so I'd like to ask for your support in pulling the data down via torrents rather than from the direct download link. To that effect, the UI actively encourages you to grab the torrent
-
- Mar 2020
-
clearcode.cc clearcode.cc
-
The process of collecting and storing user consent from a technical perspective
-
-
translation.io translation.io
Tags
Annotators
URL
-
- Feb 2020
-
github.com github.com
-
Crows::NotAuthorizedError: not allowed to destroy? this #<Post
Tags
Annotators
URL
-
- May 2019
-
runestone.academy runestone.academy
-
import java.util.Scanner;
/**
- A simple class to run the Magpie class.
- @author Laurie White
@version 6 March 2012 */ public class MagpieRunner2 {
/**
Create a Magpie, give it user input, and print its replies. */ public static void main(String[] args) { Magpie2 maggie = new Magpie2();
System.out.println (maggie.getGreeting()); Scanner in = new Scanner (System.in); String statement = in.nextLine();
while (!statement.equals("Bye")) {
System.out.println (maggie.getResponse(statement)); statement = in.nextLine();
} }
}
-
- Jul 2018
-
course-computational-literary-analysis.netlify.com course-computational-literary-analysis.netlify.com
-
There I found our nice boy again, and there I concluded to stop in my investigation.
"I" found our nice boy again . The sentence should associate with the sentence"He was, out of all sight (as I remember him), the nicest boy that ever spun a top or broke a window. " And what the "nice" means?It is a positive word or it is just an irony. Because I could not associated "nice" with "broke a window" Emm.... And the Mr. Blake become nice boy again mostly due to the unfortunate experience?
-
- Jun 2016
-
arxiv.org arxiv.org
-
it reveals simple underlying structures in com-plex data sets using analytical solutions from linear algebra
-
by a simple algorithm
-
The covariance measures the degree of the linear relationshipbetween two variables
-
Maximizing the variance (and by assumption the SNR)corresponds to finding the appropriate rotation of the naivebasis
PCA relates to rotation.
-
he dynamics of interest existalong directions with largest variance and presumably high-est SNR
-
Thus our original basis reflects the methodwe measured our data
Tags
Annotators
URL
-
- Oct 2015
-
ideas.oiengine.com ideas.oiengine.com
-
Nice stuff
-