- Mar 2023
-
stackoverflow.com stackoverflow.com
-
When you call 'foo' in Ruby, what you're actually doing is sending a message to its owner: "please call your method 'foo'". You just can't get a direct hold on functions in Ruby in the way you can in Python; they're slippery and elusive. You can only see them as though shadows on a cave wall; you can only reference them through strings/symbols that happen to be their name. Try and think of every method call 'object.foo(args)' you do in Ruby as the equivalent of this in Python: 'object.getattribute('foo')(args)'.
-
- Feb 2023
-
chiropracticajax.com chiropracticajax.com
-
After clicking on the "ABOUT" tab it takes you to a list of therapists at the clinic. I think it is a good idea to have information about the therapists on the website because it could bring in potential customers if they relate/ like, what they have to say. The page however has very small summaries about the therapists, with some missing completely, I think this could be improved upon. I also think more should be included about the business on the "about" page, including different modalities offered and a mission statement.
-
-
docs.google.com docs.google.com
-
I am the despots Díaz and Huertaand the apostle of democracy, Francisco Madero.
While Joaquin identifies with beloved figures in Mexican history, such as Miguel Hidalgo, Jose Maria Morelos, Vicente Guerrero etc, he also identifies with the infamous dictator of Mexico, Porfirio Diaz, who served as president for over 20 years until he was overthrown in 1911, during the Mexican Revolution. Why do y'all think Joaquin identifies with both the good and the bad of his people? Is it because he does not have a choice? I am not sure but I would like to know what y'all think.
-
-
stefvanbuuren.name stefvanbuuren.name
-
Foreword
Wonderful book about Multiple Imputation
-
- Jan 2023
-
hypothes.is hypothes.is
-
I was struck by the sad, but simultaneously brutally honest ways in which Wainaina illustrates how Africa as a continent has been classically depicted in literature. Wainaina describes that there is a primarily Eurocentric view of Africa in which white people, celebrities, activists, aids workers, and conservationists seem to be held in a higher regard than native Africans.
-
- Dec 2022
-
www.youtube.com www.youtube.com
-
https://www.youtube.com/watch?v=nzhgaeJmPDU
novamov.com has copy of whole film Much Ado About Nothing
-
- Nov 2022
-
github.com github.com
-
The console needs to be readable in development and to provide the best DX I have to design my libraries in ways that prevent these warnings. This results in design decisions that are detrimental to functionality and/or code readability/simplicity.
-
-
glyphsapp.com glyphsapp.com
-
Well, actually, some ligatures do have legacy codes, but solely for backwards compatibility with outdated encodings from the long-gone, dark ages of eight-bit computing. E.g. f_f can have the U+FB00 LATIN SMALL LIGATURE FF code point. If ‘eight-bit’ does not tell you anything, please erase everything you read within these parentheses from your memory immediately, keep calm and continue reading.
-
- Oct 2022
-
queue.acm.org queue.acm.org
-
only by examining a constellation of metrics in tension can we understand and influence developer productivity
I love this framing! In my experience companies don't generally acknowledge that metrics can be in tension, which usually means they're only tracking a subset of the metrics they ought to be if they want to have a more complete/realistic understanding of the state of things.
Tags
Annotators
URL
-
-
www.homedepot.com www.homedepot.com
-
Topsoil has different grades. Lower-grade topsoils are meant for filling and leveling holes and should only be used for that purpose. Higher-grade topsoils are great for conditioning or adding organic matter to the native soil. Neither grade should be used when planting.
Should not be used for planting anything?? Hmm.
-
- Sep 2022
-
github.com github.com
-
PRs will introduce various mechanisms step by step. Some of these have issues already. A possible breakdown could be: Annotation collection using instance values (links also does this) Defining annotations to which multiple keywords contribute (this is new, see Need more details of annotation collection #530) Defining subschema and keyword processing results to include annotations Processing sequence for keywords that dynamically rely on the results of static keywords The actual definition of unevaluatedProperties An example of unevaluatedProperties
-
-
github.com github.com
-
The discussion here can get very fast-paced. I am trying to periodically pause it to allow new folks, or people who don't have quite as much time, to catch up. Please feel free to comment requesting such a pause if you would like to contribute but are having trouble following it all.
Why is it necessary to pause Can't new person post their question/comment even if it's in reply to comment #10 and the latest comment happens to be comment #56? There's no rule against replying/discussing something that is not the very latest thing to be posted in a discussion!
Possibly due to lack of a threaded discussion feature in GitHub? I think so.
Threads would allow replies to "quick person" A to go under their comment, without flooding the top level with comments... thus alowing "new person" B to post a new comment, which in so doing creates a new thread, which can have its own discussion.
-
-
github.com github.com
-
the AST version of the code is vastly superior IMHO. The knowledge about what constitutes an access modifier is already encoded in the system so it makes more sense to just call the method to test the type of node. The regexp solution may be expedient, but it's not as resilient to change -- if new access modifiers are added in the future it's very likely this code won't be updated, which will be the source of a bug.
-
-
-
throughout an individual's schooling, the activity of readinglacks a coherent or explicit relationship to work that is assessed,unlike writing (Du Boulay 1999; Saltmarsh & Saltmarsh, 2008)
Du Boulay, 1999; Saltmarsh & Saltmarsh, 2008<br /> Noticing that they've left these references off of the end of the paper.
If we measure what we care about, why don't we do more grading and assessment of students' evidence of reading in addition to their writing? If we looked more closely at note taking and understanding first and foremost, would the ultimate analysis sort itself out? Instead we look only at the end products instead of the process. Focus more on the process and first class work here and the results will take care of themselves.
cross reference:
take care of the pennies and the pounds will take care of themselves (see: https://en.wiktionary.org/wiki/take_care_of_the_pennies_and_the_pounds_will_take_care_of_themselves)
-
-
docdrop.org docdrop.orgUntitled1
-
Sibsey village in Lincolnshire,
town where murder happened.
-
- Aug 2022
-
-
You can use Danger to codify your team's norms, leaving humans to think about harder problems.
annotation meta: may need new tag: codify a team's norms
-
-
stackoverflow.com stackoverflow.com
-
It's a great way to test various limits. When you think about this even more, it's a little mind-bending, as we're trying to impose a global clock ("who is the most up to date") on a system that inherently doesn't have a global clock. When we scale time down to nanoseconds, this affects us in the real world of today: a light-nanosecond is not very far.
-
- Jul 2022
-
bafybeicuq2jxzrw7omddwzohl5szkqv6ayjiubjy3uopjh5c3cghxq6yoe.ipfs.dweb.link bafybeicuq2jxzrw7omddwzohl5szkqv6ayjiubjy3uopjh5c3cghxq6yoe.ipfs.dweb.link
-
My interest goes yet further, to the metaphysical ground of cognition andmental processes and how they reflect on existence, meaning and value. There is anobvious and unavoidable strange loop (Hofstadter, 2013) here: the cognitive think-ing agent trying to make sense of these same sense-making processes that bring forthboth her as a subject and the objects of her observation while these are being broughtforth.
!- key insight : making sense of making sense is a strange loop! * This sentence deeply resonates
-
-
gist.github.com gist.github.com
-
5.12 Be cautious about trusting AI without having deep understanding.
5.12 Be cautious about trusting AI without having deep understanding.
-
5.5 Logic, reason, and common sense are your best tools for synthesizing reality and understanding what to do about it.
5.5 Logic, reason, and common sense are your best tools for synthesizing reality and understanding what to do about it.
-
- Apr 2022
-
www.rosietheredrobot.com www.rosietheredrobot.comAbout Us1
-
Because it's about proving that, with enough curiosity and determination, anyone can get acquainted with technology and enrich themselves with a deeper understanding of the world
Goal of website: With curiosity and determination, anyone can get acquainted with technology and a deeper understanding of the world.
Tags
Annotators
URL
-
- Jan 2022
-
thecodebarbarian.com thecodebarbarian.com
-
The power of await is that it lets you write asynchronous code using synchronous language constructs.
-
- Dec 2021
-
hydrillabugs.koszko.org hydrillabugs.koszko.org
-
WebKit is way behind the 2 major browser engines
Weird statement. WebKit is an element in the set defined as "the 2 major browser engines".
-
- Nov 2021
-
github.com github.com
-
Calling a software convention "pretty 90s" somewhat undermines your position. Quite a lot of well-designed software components are older than that. If something is problematic, it would be more useful to argue its faults. When someone cites age to justify change, I usually find that they're inexperienced and don't fully understand the issues or how their proposed change would impact other people.
-
-
unix.stackexchange.com unix.stackexchange.com
-
Okay thank you. I'll need to do some thinking then on how to apply that to things like git config --global core.editor
-
-
-
fresh (i.e. provably do not have properties we don't know about)
-
- Oct 2021
-
-
DIRECTORY (in progress): This post is my directory. This post will be tagged with all tags I ever use (in chronological order). It allows people to see all my tags, not just the top 50. Additionally, this allows me to keep track. I plan on sorting tags in categories in reply to this comment.
External links:
Tags categories will be posted in comments of this post.
-
- Sep 2021
-
www.brookings.edu www.brookings.edu
-
I feel like that is a very broad generalization but I would agree that most people have read something about technology. I'm also not sure if I agree that learning devices enhance learning outcomes for kids. I know there have been studies done that say if you use pencil and paper to write your notes, you are more likely to remember information.
-
-
stackoverflow.com stackoverflow.com
-
But it is always important to remember that those are not language concepts. Those are community concepts that only exist in our heads and in the names of some library methods.
I'm not sure about this. I get what he's saying and agree that singleton methods are nothing but a naming convention for the more fundamental/atomic construct called instance methods (which indeed are the only kind of method that exist in Ruby, depending how you look at it), but I think I would actually say that singleton methods are language concepts because those methods like
Object#define_singleton_method
, ... are always available in Ruby (without needing to require a standard library first, for example). In other words, I would argue that something belonging in the Ruby core "library" (?) by definition makes it part of the language -- even if it in turn builds on even lower-level Ruby language features/constructs. -
The important thing to understand is that there is no such thing as a class method in Ruby. A class method is really just a singleton method. There is nothing special about class methods. Every object can have singleton methods. We just call them "class methods" when the object is a Class because "singleton method of an instance of Class" is too long and unwieldy.
-
- Aug 2021
-
github.com github.com
-
Noticed that with 100+ s, I am not alone here. There are definitely a lot of devs wanting this feature. So I took some time out and decided to give this a go myself. I have created a PR for the same
-
-
softwareengineering.stackexchange.com softwareengineering.stackexchange.com
-
For better understanding of something that is complicated, just make it more simplier. In this example, just split the word into atoms, like these: Update - UP_DATE - make it up to date; Upgrade - UP_GRADE - move it to the upper (or next) grade (or level).
-
- Jun 2021
-
hypothes.is hypothes.is
-
"In Colormute, Pollock(2004) makes specific suggestions for addressing the fear of talking about race: “In all conversations about race, I think, educators should be prepared to do three things:ask provocative questions, navigate predictable debates,and talkmore about talking”(p. 221, italics in original)"
-
"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."
-
-
graphql-ruby.org graphql-ruby.org
-
However, this request-by-request mindset doesn’t map well to GraphQL because there’s only one controller and the requests that come to it may be very different.
-
-
twitter.com twitter.com
-
Stephan Lewandowsky. (2021, May 4). And of course… more myths have to be rebutted on our myths page: Https://t.co/uZ5PTpNHff (although it is good to see how many myths are just variants of older zombie arguments) 3/n [Tweet]. @STWorg. https://twitter.com/STWorg/status/1389549507206172674
-
-
-
We should think about the number of simultaneous connections (peak and average) and the message rate/payload size. I think, the threshold to start thinking about AnyCable (instead of just Action Cable) is somewhere between 500 and 1000 connections on average or 5k-10k during peak hours.
number of simultaneous connections (peak and average)
the message rate/payload size.
-
-
github.com github.com
-
Configuration style is exactly the same for env_bang and env_setting, only that there's no "ENV!" method... just the normal class: EnvSetting that is called and configured.
-
- May 2021
-
interpersonal.stackexchange.com interpersonal.stackexchange.com
-
One way to look at your current situation is that you're not paying them enough to tell you the gory details, not that you're not knowledgeable enough.
-
-
documentation.mjml.io documentation.mjml.io
-
MJML has been designed with responsiveness in mind. The abstraction it offers guarantee you to always be up-to-date with the industry practices and responsive. Email clients update their specs and requirements regularly, but we geek about that stuff - we’ll stay on top of it so you can spend less time reading up on latest email client updates and more time designing beautiful email.
-
-
www.hteumeuleu.com www.hteumeuleu.com
-
We’re the ones who code. The people you talk to are the people who work on your project. When you have a question, we know what we are talking about.
-
- Apr 2021
-
stackoverflow.com stackoverflow.com
-
(Ideally the run-time library would treat a pipe in the same way as a console, but it seems that most don't.)
Often/usually treating a pipe/redirect differently is in fact what you want.
Like if you output to a file, you don't necessarily want colors or real-time progress/status outputted along with it: you want just the bare data to be saved, which can then be filtered in useful ways with other standard tools like grep and sed.
-
-
en.wikipedia.org en.wikipedia.org
-
If no file is detected (in case, it's being run as part of a script or the command is being piped)
How does it detect that it's being run non-interactively as part of a script?
Is that distinct/different from detecting whether the command is being piped?
-
-
empty.sourceforge.net empty.sourceforge.net
-
can be easily invoked directly from shell prompt or script
Can't expect / unbuffer / etc. (whatever this is attempting to contrast itself with) be easily invoked directly from shell prompt or script too??
Okay, I guess you have to know more about how
expect
is invoked to understand what they mean. One glance at the examples, comparing them, and all becomes clear:#!/bin/sh empty -f -i in -o out telnet foo.bar.com empty -w -i out -o in "ogin:" "luser\n"
I didn't realize that expect required/expected (no pun intended) to be used in scripts with its own shebang line:
#!/usr/bin/expect spawn telnet foo.bar.com expect ogin {send luser\r}
That does make it less easy/normal to use expect within a shell script.
I was coming to the expect project from/for the
unbuffer
command, which by contrast, is quite easy to include/use in a shell script -- almost the same asempty
, in fact. (Seems like almost a mismatch to haveunbuffer
command inexpect
toolkit then. Or isexpect
command the only odd one out in that toolkit?)
-
-
commons.wikimedia.org commons.wikimedia.org
-
What does the (dashed) arrow for
fork()
mean? Why does it point that way? Which one is a fork of / has forked which one?
-
-
github.com github.com
-
Mentioned here:
but I can't find it on my system
-
-
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!).
-
-
reallifemag.com reallifemag.com
-
Valleyspeak
"Spaces" is not an official entry here, but svdictionary is a good resource for all sorts of technical jargon common in the valley, and the site itself gives plenty of insight into the internal culture at these companies. Interested readers will also appreciate this guardian article from 2019 which covers a bunch of commonly used silicon valley terms.
-
-
www.yourdictionary.com www.yourdictionary.com
-
Tangentially is defined as briefly mentioning a subject but not going into it in detail, or is defined as going off in a different direction.
in the case of
briefly mentioning a subject but not going into it in detail the topic/subject need not be related at all (it sounds like).
What about in the case fo:
is defined as going off in a different direction. Does the fact that it's going off in a different direction imply that it at least starts out connected/related to the original (starting point) subject (as it does in the geometry sense of tangential)? Or does it permit "jumping" to another topic (in another direction) without being related/connected at all??
I don't think I like this definition very much. It doesn't quite fit the sense I'm trying to use it for in my tag:
tangentially related content (aside)
Ah, here's a definition that matches what I thought it meant (one of the senses anyway): https://hyp.is/3Bn2bpZ7Eeu3Ok8vg03AVA/www.merriam-webster.com/dictionary/tangential
-
- Mar 2021
-
final-form.org final-form.org
-
Your validation functions should also treat undefined and '' as the same. This is not too difficult since both undefined and '' are falsy in javascript. So a "required" validation rule would just be error = value ? undefined : 'Required'.
-
-
en.wikipedia.org en.wikipedia.org
-
Visible spectrum wrapped to join blue and green in an additive mixture of cyan
the rainbow as a continuous (repeating) circle instead of semicircle
-
-
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
- opinion
- difference
- turning things around / doing it differently
- opinionated
- unfortunate defaults
- important point
- reasonable defaults
- Svelte vs. React
- 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)
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
Nevertheless, co-hyponyms are not necessarily incompatible in all senses. A queen and mother are both hyponyms of woman but there is nothing preventing the queen from being a mother.
not necessarily incompatible in all senses.
so is this only a concern/possibility when the word in question is a polyseme?
but there is nothing preventing the queen from being a mother
The meaning of the "incompatibility" relation seems really ambiguous. What does that mean precisely?
And how would we know for sure if an incompatibility (such as a peach is not a plum) or lack of incompatibility (a queen can be a mother and a mother can be a queen) is a sufficient condition to cause it to be or not be a co-hyponym?
Oh. I guess it says
Co-hyponyms are often but not always related to one another by the relation of incompatibility.
so it actually can't ever be used to prove or disprove (sufficient/necessary condition) that something is a co-hyponym. So that observation, while interesting, is not helpful in a practical / deterministic way...
-
It consists of two relations; the first one being exemplified in "An X is a Y" (simple hyponymy) while the second relation is "An X is a kind/type of Y". The second relation is said to be more discriminating and can be classified more specifically under the concept of taxonomy.
So I think what this saying, rather indirectly (from the other direction), if I'm understanding correctly, is that the relationships that can be inferred from looking at a taxonomy are ambiguous, because a taxonomy includes 2 kinds of relationships, but encodes them in the same way (conflates them together as if they were both hyponyms--er, well, this is saying that the are both kinds of hyponyms):
- "An X is a Y" (simple hyponymy)
- "An X is a kind/type of Y".
Actually, I may have read it wrong / misunderstood it... While it's not ruling out that simple hyponymy may sometimes be used in a taxonomy, it is be saying that the "second relation" is "more specifically under the concept of taxonomy" ... which is not really clear, but seems to mean that it is more appropriate / better for use as a criterion in a taxonomy.
Okay, so define "simple hyponymy" and name the other kind of hyponymy that is referenced here.
-
-
en.wikipedia.org en.wikipedia.org
-
Two of the predominant types of relationships in knowledge-representation systems are predication and the universally quantified conditional.
-
-
en.wikipedia.org en.wikipedia.org
-
The precise semantic interpretation of an atomic formula and an atomic sentence will vary from theory to theory.
-
-
en.wikipedia.org en.wikipedia.org
-
semantic domain or semantic field
What, then, is the difference between a semantic domain and a semantic field? The way they are used here, it's almost as if they are listing them in order to emphasis that they are synonyms ... but I'm not sure.
From the later examples of basketball (https://hyp.is/ynKbXI1BEeuEheME3sLYrQ/en.wikipedia.org/wiki/Semantic_domain) and coffee shop, however, I am pretty certain that semantic domain is quite different from (broader than) semantic field.
-
-
en.wikipedia.org en.wikipedia.org
-
(Not answered on this stub article)
What, precisely, is the distinction/difference between a semantic class and a semantic field? At the very least, you would say that they are themselves both very much within the same semantic field.
So, is a semantic class distinct from a semantic field in that semantic class is a more well-defined/clear-cut semantic field? And a semantic field is a more fluid, nebulous, not well-defined field (in the same sense as a magnetic field, which has no distinct boundary whatsoever, only a decay as you move further away from its source) ("semantic fields are constantly flowing into each other")?
If so, could you even say that a semantic class is a kind of (hyponym) of semantic field?
Maybe I should pose this question on a semantics forum.
-
-
en.wikipedia.org en.wikipedia.org
-
An individual semantic feature constitutes one component of a word's intention, which is the inherent sense or concept evoked.
Would this be referring, then, to explicit meaning or implicit meaning -- or neither?
-
-
stackoverflow.com stackoverflow.com
-
As to why both is_a? and kind_of? exist: I suppose it's part of Ruby's design philosophy. Python would say there should only be one way to do something; Ruby often has synonymous methods so you can use the one that sounds better. It's a matter of preference.
-
-
en.wikipedia.org en.wikipedia.org
-
those aspects of a linguistic unit, such as a morpheme, word, or sentence,
Speaking of ambiguity...
Are the examples in the list "such as a morpheme, word, or sentence" examples of
- aspects of a linguistic unit or of:
- linguistic units themselves ?
Unless you are already fairly familiar with those terms -- in particular, linguistic unit -- it may not be clear.
I believe these are given as examples of "linguistic unit", in order to clarify what we mean by "linguistic unit" — perhaps (ironically) precisely because many people would be unfamiliar with that expression/term.
-
-
en.wikipedia.org en.wikipedia.org
-
Function (computer science) Function (engineering) Function (mathematics)
Is this a polyseme?
Or is that only the case if the different distinct senses are all within the same "field"?
-
-
askubuntu.com askubuntu.com
-
However, since you haven't yet provided any details about how you built with Qt (Qt isn't officially supported, so you must have used a third party derivative of vim), and you haven't provided any detailed information about what error messages or malfunctions you're having with python-complete, it's not really possible to tell you how to fix the problem and get vim working with Qt.
-
-
gitlab.gnome.org gitlab.gnome.org
-
I am wondering if it wasn't faster for maintainers/developers who know the glib code to just provide a fix instead of writing comments on this issue.
-
-
www.breitbart.com www.breitbart.com
-
after many online called for her firing over a social media post that likened the experience of Jews during the Holocaust to the U.S. political climate
-
-
blog.izs.me blog.izs.me
-
It is about balancing the twin needs of writing good software, and writing any software at all.
-
-
github.com github.com
-
This is a copy of the "AMD" document in the repo, kept here to maintain historical links. If this document differs from the one in the repo, the repo version is the correct one.
Why not just make this document empty (besides a link) and link/redirect to the canonical version?
That way it is impossible for them to disagree.
Tags
- avoid duplication
- avoid duplication: impossible for them to disagree/diverge if there's only one version/copy
- I have a question about this
- make it impossible to get wrong/incorrect
- canonical version
- maintaining redirect/copy at old URL in order to maintain historical links (broken links)
Annotators
URL
-
-
github.com github.com
-
I don't understand why this isn't being considered a bigger deal by maintainrs/the community. Don't most Rails developers use SCSS? It's included by default in a new Rails app. Along with sprockets 4. I am mystified how anyone is managing to debug CSS in Rails at all these days, that this issue is being ignored makes sprockets seem like abandonware to me, or makes me wonder if nobody else is using sprockets 4, or what!
-
I don't myself understand what's going on, it clearly has something to do with source maps, but may also have to do with other sprockets changes.
-
I don't really understand what's going on. Clearly source maps have something to do with it -- a source map feature that doesn't handle SCSS very well, apparently.
Tags
- why aren't the maintainers more concerned about / fixing this?
- annotation meta: may need new tag
- is anyone even still using it anymore?
- sprockets
- why aren't people talking about/asking this?
- don't understand even what's going on, let alone how to go about finding/identifying/fixing the problem
Annotators
URL
-
-
github.com github.com
-
concatenation still occurs.
-
-
math.stackexchange.com math.stackexchange.com
-
An equation is meant to be solved, that is, there are some unknowns. A formula is meant to be evaluated, that is, you replace all variables in it with values and get the value of the formula.
-
- Feb 2021
-
2019.trailblazer.to 2019.trailblazer.to
-
Currently, only Right signals are wired up.
So what happens if a task returns a Left signal?? Will it still go Right? Will it error?
-
-
trailblazer.to trailblazer.to
-
step :direct_debit
I don't think we would/should really want to make this the "success" (Right) path and :credit_card be the "failure" (Left) track.
Maybe it's okay to repurpose Left and Right for something other than failure/success ... but only if we can actually change the default semantic of those signals/outputs. Is that possible? Maybe there's a way to override or delete the default outputs?
Tags
- feels wrong
- example: in order to keep example concise/focused, may not implement all best practices (illustrates one thing only)
- I have a question about this
- example: not how you would actually do it (does something wrong/bad/nonideal illustrating but we should overlook it because that's not the one thing the example is trying to illustrate/show us)
- trailblazer-activity
- semantics
Annotators
URL
-
-
cherrycreekschools.instructure.com cherrycreekschools.instructure.com
-
I thought that these numbers where really interesting, especially when the Hispanic enrollments increased
Tags
Annotators
URL
-
-
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!
-
-
en.wikipedia.org en.wikipedia.org
-
The latter are important examples which usually also exist in "purely" functional programming languages.
How can they exist and it still be considered pure??
I guess that's not quite the same / as bad as saying something had side effects in a purely functional programming context, right?
-
-
jrsinclair.com jrsinclair.com
-
And a word of warning. If you haven’t come across things like monads before, they might seem really… different. Working with tools like these takes a mind shift. And that can be hard work to start with.
-
-
trailblazer.to trailblazer.to
-
provide interfaces so you don’t have to think about them
Question to myself: Is not having to think about it actually a good goal to have? Is it at odds with making intentional/well-considered decisions?  Obviously there are still many of interesting decisions to make even when using a framework that provides conventions and standardization and makes some decisions for you...
-
-
trailblazer.to trailblazer.to
Tags
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
What is the opposite of free content?
The opposite of free/open-source software is proprietary software or non-free software (https://en.wikipedia.org/wiki/Proprietary_software).
So should we call the opposite of free content "non-free content"? Or "proprietary content"?
Seems likes either would be fine.
Looks like https://en.wikipedia.org/wiki/Wikipedia:Non-free_content prefers the term "non-free content".
Couldn't find anyone contrasting these 2 terms (like I could no doubt find for software):
- https://duckduckgo.com/?q=+%22non-free+content%22+%22free+content%22
- https://duckduckgo.com/?q=%22proprietary+content%22+%22free+content%22&ia=web
Not to be confused with:
- paid content ... just like:
- free content should not be confused with gratis content (?)
- free software should not be confused with freeware
-
-
www.dictionary.com www.dictionary.com
-
a framework containing the basic assumptions, ways of thinking, and methodology that are commonly accepted by members of a scientific community. such a cognitive framework shared by members of any discipline or group:
-
-
-
In Ruby 3 we now have a “rightward assignment” operator. This flips the script and lets you write an expression before assigning it to a variable. So instead of x = :y, you can write :y => x
-
-
github.com github.com
-
compose(Add, x: x, y: 3)
How is this better than simply:
Add.run(x: x, y: 3)
?
I guess if we did that we would also have to remember to handle merging errors from that outcome into self...
-
This probably looks a little different than you're used to. Rails commonly handles this with a before_filter that sets the @account instance variable.
-
-
github.com github.com
-
class FormsController < ApplicationController class SearchForm < ActiveModel::Form
I kind of like how they put the form class nested directly inside the controller, although I would probably put it in its own file myself, unless it was quite trivial.
-
-
github.com github.com
-
The main realization came when I figured out that the main_model was just another association. This means we can move a lot of logic to just that class and reason about it a lot better.
-
-
www.infoworld.com www.infoworld.com
-
This column and last month's article are about design. Design, by nature, is a series of trade-offs. Every choice has a good and bad side, and you make your choice in the context of overall criteria defined by necessity. Good and bad are not absolutes, however. A good decision in one context might be bad in another.
-
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.
-
This article explains why you shouldn't use getters and setters (and when you can use them) and suggests a design methodology that will help you break out of the getter/setter mentality.
Tags
- learning new way of thinking about something / overcoming habits/patterns/paradigms you are accustomed to
- trade-offs
- progress requires compromises
- dichotomous thinking
- relativeness
- actually consider / think about how it _should_ (ideally) be
- intentional/well-considered decisions
- design is about trade-offs
- getters/setters
Annotators
URL
-
-
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.
-
-
-
It makes me happy to see people actually think about things and not just accept a shitty API.
Tags
- less than ideal / not optimal
- can we do even better?
- "makes me happy when ..."
- doing something without knowing why/how it works
- describe the ideal hypothetical solution
- actually consider / think about how it _should_ (ideally) be
- intentional/well-considered decisions
- don't settle for/accept something that's not as good as it can be
Annotators
URL
-
-
cherrycreekschools.instructure.com cherrycreekschools.instructure.com
-
I did not know that 1.2 million black men served in the army during ww2.
-
I never realized that German army's had a separate army for African Americans and White Americans.
-
-
github.com github.com
-
you'll want to update Devise's generated views to remove references to passwords, since you don't need them any more
Doesn't this contradict the statement
This strategy plays well with most other Devise strategies
(which includes password strategies)?
One thing that wasn't clear from their instructions was whether magic links could be used as an option in addition to regular password log-ins. On the one hand they say:
This strategy plays well with most other Devise strategies (see notes on other Devise strategies).
but on the other hand they say:
you'll want to update Devise's generated views to remove references to passwords, since you don't need them any more
-
-
www.honeybadger.io www.honeybadger.io
-
The only problem is that our PJAX library is no longer maintained and was preventing us from updating jQuery (ugh). So it had to go.
https://github.com/MoOx/pjax doesn't say it's no longer maintained (though hasn't been updated in 2 years), and does say that it doesn't use jQuery. Oh well.
-
-
-
It’s always about the money… Fish got’a swim, birds got’a fly, and development has to have money. If you think otherwise you’re a fool!
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
Your browser window is basically just one big iframe.
-
- Jan 2021
-
www.adventisthealth.org www.adventisthealth.org
-
even if you have already had COVID-19, because you can catch it more than once
-
-
-
Volkswagen, the world’s largest car maker, has outspent all rivals in a global bid by auto incumbents to beat Tesla. For years, industry leaders and analysts pointed to the German company as evidence that, once unleashed, the old guard’s raw financial power paired with decades of engineering excellence would make short work of Elon Musk’s scrappy startup. What they didn’t consider: Electric vehicles are more about software than hardware. And producing exquisitely engineered gas-powered cars doesn’t translate into coding savvy.
Many thought Volkswagen would crush Tesla as soon as they put their weight behind an electric car initiative. What they didn't consider was that an electric car is more about software than it is about hardware.
-
-
discourse.ubuntu.com discourse.ubuntu.com
-
When there are imperfections, we rely on users and our active community to tell us how the software is not working correctly, so we can fix it. The way we do that, and have done for 15 years now, is via bug reports. Discussion is great, but detailed bug reports are better for letting developers know what’s wrong.
-
-
google.github.io google.github.io
-
What if there's an icon that I need that's not in this set?
How do I add a custom icon to the set for use on a web page and have the custom icon styled the same way as these "standard" icons?
Like how they have instructions for adding an icon here, for example: https://www.digitalocean.com/community/tutorials/angular-custom-svg-icons-angular-material#custom-svg-icons
-
- Dec 2020
-
sapper.svelte.dev sapper.svelte.dev
-
This can be used to perform actions once the navigation has completed, such as updating a database, store
Wouldn't/shouldn't it be the other way around — wouldn't we wait until the save is completed (database is updated) successfully before we navigate away from the current page/form??
Tags
Annotators
URL
-
-
github.com github.com
-
It's true that Svelte does not allow you to map over children like React, but its slot API and <svelte:component> provide similarly powerful composition. You can pass component constructors as props and instantiate them with <svelte:component>, and use slots and their let bindings for higher order composition. It sounds like you're thinking in virtual DOM idioms instead of Svelte's.
-
However, Svelte isn't React or Vue or any other framework, the same approach will not always work and given that Svelte has very different constraints and approach that works well in another framework is not suitable with Svelte. Trying to apply approaches use with other frameworks to Svelte will invariably end in frustration.
-
-
www.quora.com www.quora.com
-
Each area requires specific learning and thinking in a certain way. Front-end is user centric, back-end is closer to algorithms and parallel programming, databases require thinking in streams of data based on a model (similar to set theory and model checking).
-
-
github.com github.com
-
Got a bit sidetracked into refactoring the Element visitor code, so haven't actually started on the event handler stuff per se, but that'll come soon. Element stuff is starting to feel a bit more logical and easier to follow.
-
- Nov 2020
-
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.
-
-
opinionatedgamers.com opinionatedgamers.com
-
I find the binding of Mini Express pleasant.
-
-
opinionatedgamers.com opinionatedgamers.com
-
What vaults this well past SNCF for me (setup time aside), is the limited company choice; it prevents a feedback loop of sorts where a game devolves into running each company in the ground.
-
-
stackoverflow.com stackoverflow.com
-
Man, for some reason, I really like this answer. I recognize it's a bit more complicated, but it seems so useful. And given that I'm no bash expert, it leads me to believe that my logic is faulty, and there's something wrong with this methodology, otherwise, I feel others would have given it more praise. So, what's the problem with this function? Is there anything I should be looking out for here?
I think the main thing wrong with it is the eval (which I think can be changed to
$("$@")
and it's pretty verbose.Also, there are more concise ways to do it that would probably appeal more to most bash experts...
like set -x
and it does unnecessary things: why save output to a variable? Just let output go to where it would normally go...
So yeah, I can see why this solution isn't very popular. And I'm rather surprised by all the praise comments it's gotten.
-
-
github.com github.com
-
I think it would be much better to whitelist registries
-
-
imfeld.dev imfeld.dev
-
Svelte slots are much easier to use and reason about than Angular transclude, especially in cases where you don't want an extra wrapper element around the slot content.
-
-
journals-sagepub-com.proxyau.wrlc.org journals-sagepub-com.proxyau.wrlc.org
-
The Chinese Internet also illustrates the importance of theorizing online expression based on a representative spectrum of digital environments.
How does Chinese cancel culture differ from American cancel cuture? Is this phenomenon different worldwide?
-
-
tunnelgram.com tunnelgram.com
-
I've worked at Facebook and Google, and I know who can see the messages you send over their platforms. It's scary.
-
-
github.com github.com
-
webpack sure wastes a lot of time when things go wrong.
-