- Jun 2021
-
-
Allows you to use sapper with an API service residing in another server. This is especially useful if your API server is written in another language
-
- May 2021
-
interpersonal.stackexchange.com interpersonal.stackexchange.com
-
If the hosting company (or any organization that you're trying to get support from) wanted you to know something, they would have already told you or made that information available.
-
-
github.com github.com
-
I would argue though that crashing is better than quietly providing unexpected behavior.
-
-
-
This looks cool but right now, let's say i have an external api which depends on users cookies, the cookies only gets send through internal sk endpoints while ssr even if its the same domain. Couldn't we pass the 'server' request to the serverFetch hook? I would currently have to patch package svelte kit to pass request headers to the external api or create an sk endpoint which proxies the request.
-
-
hiphopfoundations.org hiphopfoundations.org
-
The Kay-Gees
"I Believe in Music" is a 1970 song written and recorded by Mac Davis and later included on his second album I Believe in Music.
-
Alphonze Mouzon
-
-
scalar.usc.edu scalar.usc.edu
-
I was thinking that illuminati is not real, But today with Mr Anthony carl now believe that illuminati is real, when you come across wrong person’s you will think that life is not real but when you are with the real one you will experience the goodness of your life, To MR Anthony carl has made me discovered my purpose of life. Welcome to the great brotherhood of Illuminati 666 WhatsApp mr Anthony carl +1(267)580-9355, from USA, and every other Country’s on how to join the Illuminati brotherhood to get rich and famous, You may be a politician, business man/woman ,musical artist, student, footballer or whatever occupation you do, you want to be rich, powerful and famous in life. Illuminati can grant all your heart desires join the Illuminati to become rich and famous in life, Illuminati will make you achieve all your dream to become rich and be protected all the days of your life.
-
-
stackoverflow.com stackoverflow.com
-
What I am attempting to do is to highlight a div with a certain id, when It has been referred to by an anchor on another page IE: User clicks link href="qw.html#test", when the page is loaded, then the div with the id="test" is highlighted so that the user can see it clearly.
-
-
www.impressivewebs.com www.impressivewebs.com
-
The reason fragments should be identifiable by users is because a user, not the content creator or the developer, will ultimately decide whether or not a portion of content is valuable or notable in some way.
-
The developer or content creator may have a general idea of how a page’s content might be divided up, but ultimately it will be the linking resource that should have full control over what portion of the page they want to highlight.
-
This means that, regardless of what the developer has done behind the scenes in the HTML, all HTML fragments on that page should be identifiable by external referrers.
-
-
hashnode.com hashnode.com
-
That's what's supported, and is all that is EVER likely to be supported... and even then be DAMNED sure you send multipart with a plaintext copy or a great many mail servers will flat out reject it on the assumption that no legitimate e-mail has any damned business even having HTML in it in the first place!
-
That's something that has been bugging me too. I mean, it's fine if not everything is supported, but if everyone could agree on what is or should be supported then that would make a huge difference. But until then, it's going to be a struggle.
-
- Apr 2021
-
github.com github.com
-
The main difference is in the flow of how messages are ultimately sent to devices for output. The standard library Logger logic converts the log entries to strings and then sends the string to the device to be written to a stream. Lumberjack, on the other hand, sends structured data in the form of a Lumberjack::LogEntry to the device and lets the device worry about how to format it. The reason for this flip is to better support structured data logging. Devices (even ones that write to streams) can format the entire payload including non-string objects and tags however they need to.
-
-
store.steampowered.com store.steampowered.com
-
I'm of the opinion that there shouldn't be a platformer in today's market that doesn't include native controller support
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
-
You can use asset helpers if the erb is only for referencing assets:
-
-
store.steampowered.com store.steampowered.com
-
Game Saves After completion of each level
The things that are important / worth mentioning to different people. I agree with this one.
-
-
steamcommunity.com steamcommunity.com
-
Been seeing this comment copy/pasted everywhere it's pathetic what people will do for thumbs up/awards on reviews, be original and make your own review. If you guys need proof go and look at NVL reviews, I saw it on another game a few weeks ago too.
annoying
-
-
www.dekudeals.com www.dekudeals.com
-
stunning HD retro-style graphics
It looks low-res, so how can they claim it's HD?
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
Neither question nor answer appears to understand the notion of semantic HTML. Height and width are presentational attributes regardless of where you put them. For semantics we establish what the image means to content in the alt tag. I don't remember why it was so important to width/height in the HTML but I suspect it was in case you hit browsers without CSS rendering. It's not a semantics issue. If anything it thwarts separation of concerns to a degree.
claim: that the OP's question and this answer are incorrect
Could we say that this answer (that this comment replies to) missed the point?
I actually believed and thought this answer was spot on ... until I read this comment, and then I reversed my opinion.
-
If anything it thwarts separation of concerns to a degree.
-
-
www.kickstarter.com www.kickstarter.com
-
Very slow, very cheap shipping via Royal Mail. Royal Mail advertises an ‘online’ international 12 week ’no rush’ service (not trackable). The price of the service is dependant on weight. It may be possible for international shipping to be achieved for around £15 GBP, may be even less! (This is not a typing error). If you are interested in this service you will need to contact us before the campaign ends.
Why do we need to contact you before the campaign ends if we want cheap shipping? Why wouldn't we want cheap shipping? What will shipping be if we don't choose that? How do we choose that? Why can't we choose shipping directly after the campaign ends?
-
-
stackoverflow.com stackoverflow.com
-
Disclaimer: I have no experience with C whatsoever. Please go easy on me.
-
-
english.stackexchange.com english.stackexchange.com
-
It has two very different meanings, that you would have to distinguish by context. One meaning is just expressing that we have limitations. If you don't know something, that's just tough, you don't know it and you have to live with that. You don't have information if you don't have that information. The other meaning is that not only are there gaps in our knowledge, but often we don't even know what the gaps in our knowledge are. I don't know how to speak Finnish. That's a gap in my knowledge that I know about. I know that I don't know how to speak Finnish. But there are gaps in my knowledge that I'm not even aware of. That's where you can say "You don't know what you don't know" meaning that you don't even know what knowledge you are missing.
I had this thought too.
-
-
english.stackexchange.com english.stackexchange.com
-
What is the difference between “wry” and “dry” humor?
-
-
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?)
-
-
boardgamegeek.com boardgamegeek.com
-
https://boardgamegeek.com/boardgame/183284/factory-funner/versions
And now there are two versions with the nickname "Second edition": 2018 https://boardgamegeek.com/boardgameversion/404596/second-edition 2021 https://boardgamegeek.com/boardgameversion/556765/second-edition
and a 3rd edition published prior to the current/new 2nd edition: 2019 https://boardgamegeek.com/boardgameversion/486693/third-edition
Confusing all around.
But I think the bottom line is that the 2021 version is in fact the same game and the newest rules tweaks:
- Added a sixth player
- Official variant to play without the quick grab element.
-
-
linusakesson.net linusakesson.net
-
I didn't get exactly how pty came into picture and what is the usage of that. Looking forward to get more info on that.
-
-
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?
-
-
bugzilla.samba.org bugzilla.samba.org
-
The script support/rsync-no-vanished that will be in the next release.
-
-
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!).
-
I wish to define methods within the class they belong to. Using class << self demonstrates that approach clearly — we are defining methods within the actual singleton class scope.
-
When we usedef self.method, though, we are defining a method across scopes: we are present in the regular class scope, but we use Ruby’s ability to define methods upon specific instances from anywhere; self within a class definition is the Class instance we are working on (i.e. the class itself). Therefore, usingdef self.method is a leap to another scope, and this feels wrong to me.
Tags
- try to do it the best possible way
- defending an idea
- making intentions clear/explicit
- can be changed
- elegant code
- intentional/well-considered decisions
- Ruby: class methods
- reversible decisions
- caring about the details
- code style
- code style guide
- inconsistent
- good point
- inelegant
- readability
- scope (programming)
- I agree
- making the association/commonality/relationship clear/explicit
Annotators
URL
-
-
boardgamegeek.com boardgamegeek.com
-
I strongly prefer this over Carcassonne. It plays faster (I don't want a tile laying game to go for more than 30 mins or so) and I happen to like the limited options. Carcassonne just gets on my nerves because I just don't view selecting between so many placement options to be that interesting. Obviously, YMMV. Ditto the previous statement, it's different than Carcassonne. And that's why I like it.
-
However, it can be extremely frustrating placing the tiles. Very commonly there will be no position to place a tile in and it will be put to one side. Perhaps someone new to tile-laying games wouldn't find this so odd, but to anyone with experience of Carcassonne it will seem very limiting. In Carcassonne you can pretty much always place a tile, with several choices of position available. Every player I've introduced this game to has looked at me as if to say, "We must be doing something wrong." But no, that game is designed that way. Sometimes it feels like the map builds itself - there is often only one viable placement, so it starts to feel like a jigsaw, searching for that available position. Surely placing a single tile shouldn't be this difficult!
I don't think I'd find it frustrating. I think I would enjoy the puzzle part of it.
But indirectly I see that difficulty in placing tiles impacting my enjoyment: because it means that there are no/few meaningful decisions to be had in terms of where to place your tile (because there's often only 1 place you can put it, and it may sometimes benefit your opponent more than yourself) or which tile to place (because you don't get any choice -- unless you can't play the first one, and then you can play a previously unplayable one or draw blind).
-
I recently played a prototype of an upcoming game called Bronze. This takes the tile-laying/ territory claiming mechanic and builds on it by adding abilities to each of the tiles. they benefit you in some way if you claim them. The result is a very similar feel to Fjords (competing for a share of the map) but with greater depth.
-
-
boardgamegeek.com boardgamegeek.com
-
It is one of the better games to stuff in (y)our luggage when on holidays. (We tried Hive a couple of times, but that is too heavy stuff for the holidays.)
Tags
Annotators
URL
-
-
store.steampowered.com store.steampowered.com
-
What I dislike from the achievements is the "Dialogue Skipper". I really don't like it because you are encouraging people just to skim or even skip it at all and not get interested with the story. I earned this achievement on a 2nd run but I had a friend who just skipped it all on her 1st try.What devs should encourage is for the gamers to have a lot of playing time on their game so they would recommend it to others and not just do it for the cards and uninstalling it afterwards.
-
-
www.amazon.com www.amazon.com
-
Most of the projects here are the kind that might be fun to make but shortly end up in the trash (like: animals made out of toilet paper tubes, a Paper plate ring toss game, A necklace made of colored plastic straws...)
-
-
medium.com medium.com
-
The label and input were confused with body text, especially in dense compositions.
-
-
stackoverflow.com stackoverflow.com
-
-
In my opinion, the W3C definition is unnecessarily confusing and restrictive. The dictionary definition of aside is "a temporary departure from a main theme or topic", and the spec should just stick to that, rather than introducing subtle distinctions.
-
-
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
-
-
store.steampowered.com store.steampowered.com
-
The movement speed is painfully slow. There's nothing to do on your way.
Tags
Annotators
URL
-
-
store.steampowered.com store.steampowered.com
-
Fortunately for fans of high quality puzzle games, RUSH is anything but simple.
I agree. A good puzzle should not be too simple.
-
-
github.com github.com
-
Wasn't sure if this belonged as an issue in Devise or Rails though.
-
-
gist.github.com gist.github.com
-
I have a 2 radio buttons with the same id and label, only different values, (true, false)....anything I can do to choose false?
If you just do
find_field(radio_input_name)
you end up withAmbiguous match, found 2 elements matching visible field "name" that is not disabled
Tags
Annotators
URL
-
-
gist.github.com gist.github.com
-
why do you guys think have_css matcher is named the way it is? I mean, it sure deals with css identifiers, but have_css gives(at least to me) the impression that the page has certain stylesheet loading.
-
- Mar 2021
-
github.com github.com
-
ProMotion is a RubyMotion gem that makes iOS development more like Ruby and less like Objective-C.
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
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.
-
-
www.jackfranklin.co.uk www.jackfranklin.co.uk
-
I like this approach more because I can scan the code that renders the Box component and easily spot that it takes two children. If the Box took any props, they'd be within the opening <Box> tag, and they would be distinct from any children props.
-
One gripe I've had with this approach is that you lose the visual cues that you're passing children into the Box component; they now aren't nested within the Box when you render them like we're used to in HTML; it's now up to you to read the props and spot which ones are being used to provide children.
-
-
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
-
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?
-
-
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"?
-
-
superuser.com superuser.com
-
annoying: keeps asking every time
-
-
github.com github.com
-
It does this by creating links to specially crafted URLs using custom schemes (ie. "txmt", "subl", "mvim"). I prefer to use standard CLI vim in iTerm.
I have similar problem: want to use regular vim in tilix terminal
-
-
stackoverflow.com stackoverflow.com
-
How to install VIM with all options/features? - VIM
-
I have VIM on Mac & CentOS. So, I see people are writing about -xterm_clipboard, -lua, ... Is there an simple way to install it all? or we have to enable options one-by-one and compile/recompile it?
I had similar question... how to get --servername support.
-
-
askubuntu.com askubuntu.com
-
How can I build vim with a gui without gtk?
I had this question too, but didn't know that was the question I had... :)
-
-
piao-tech.blogspot.com piao-tech.blogspot.com
-
Some research led me to the --remote-tab switch that allows to open files as tabs in currently open Vim processes but it seemed to work only with the graphical interface (gvim) and not with the console (vim). But as I made some tests I found this can work with the vim in console mode
That's what I thought too (that it was only available with gvim, which I don't want to use).
But I get this error when I try it with regular vim:
$ vim --servername local VIM - Vi IMproved 8.1 (2018 May 18, compiled Apr 15 2020 06:40:31) Unknown option argument: "--servername"
-
-
askubuntu.com askubuntu.com
-
this is so stupid (that there is no sensible way to run a Desktop file from the terminal)
-
-
If I do gnome-open foo.desktop it simply opens foo.desktop as a text file. If I make it executable and then run it in bash it simply fails (which is expected, it's clearly not bash script). EDIT: Doing exec /fullpath/foo.desktop gives me a Permission denied message, even if I change ownership to myself. If I make executable and do the same command, the terminal tab I'm using simply closes (I'm guessing it crashes). Finally, if I do sudo exec /fullpath/foo.desktop, I get an error reporting sudo: exec: command not found.
-
-
gitlab.gnome.org gitlab.gnome.org
-
It sounds like a gnome-open (or the equivalent library call) bug. Reassigning.
-
deskbar should probably detect their extension and execute the relevant command as opposed to opening the file for editing.
-
-
unix.stackexchange.com unix.stackexchange.com
-
Is somehow possible to run a "Desktop Entry" from another "Desktop Entry"?
More generally, my question is: How can I programmatically / from command line, launch a .desktop file?
-
-
askubuntu.com askubuntu.com
-
when the link of accessing a workspace appear I only get the popup: "Open xdg-open?" and then nothing happens.
Though in my case it is clicking an mvim:// link from better_errors
-
-
askubuntu.com askubuntu.com
-
XDG stands for X Desktop Group aka freedesktop.org
-
what does xdg stand for? Its hard to remember without knowing that.
-
-
store.steampowered.com store.steampowered.com
-
infringing on Marvel's copyrights
-
-
www.reddit.com www.reddit.com
-
I get this itch.io message when I try to buy it, "Due to processing fees the minimum amount is 100 cents."
-
-
-
Tried to buy keyg at its 90% off sales price but no matter what payment method I choose I keep getting a "Due to processing fees the minimum amount is 100 cents."I'm trying to figure out if there is any way around this, and if not then why can you list a game at a price below $1 if it isn't actually possible for it to be bought at said price?
-
-
github.com github.com
-
Or even a simple 1-liner in the Contract that references an AR Model so you don't have to rewrite the validations again in that contract, or have to choose between writing the validations once either in the contract there or in the AR Model?
-
-
www.chevtek.io www.chevtek.io
-
He says that writing the function yourself makes it easy to modify and to fix bugs or improve efficiency.
.
-
-
stackoverflow.com stackoverflow.com
-
is Wine process virtual machine actually?
I think it is, yes.
Wine was given as an example of a process VM above.
-
-
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: impossible for them to disagree/diverge if there's only one version/copy
- make it impossible to get wrong/incorrect
- maintaining redirect/copy at old URL in order to maintain historical links (broken links)
- canonical version
- I have a question about this
- avoid duplication
Annotators
URL
-
-
github.com github.com
-
This semi-colon is added to prevent changing the code behaviour (the famous line ending with parentheses, etc) Most people will use a JS minifier If they don't, a single extra character is unlikely to change much If I'm right about all the above: Why don't we simply always add a semi-colon regardless of what the file ends with?
-
-
github.com github.com
-
if we can fix source maps, unconditionally adding ";\n" would be a better solution
Tags
Annotators
URL
-
-
duckduckgo.com duckduckgo.com
Tags
Annotators
URL
-
-
github.com github.com
-
What is the point of avoiding the semicolon in concat_javascript_sources
For how detailed and insightful his analysis was -- which didn't elaborate or even touch on his not understanding the reason for adding the semicolon -- it sure appeared like he knew what it was for. Otherwise, the whole issue would/should have been about how he didn't understand that, not on how to keep adding the semicolon but do so in a faster way!
Then again, this comment from 3 months afterwards, indicates he may not think they are even necessary: https://github.com/rails/sprockets/issues/388#issuecomment-252417741
Anyway, just in case he really didn't know, the comment shortly below partly answers the question:
Since the common problem with concatenating JavaScript files is the lack of semicolons, automatically adding one (that, like Sam said, will then be removed by the minifier if it's unnecessary) seems on the surface to be a perfectly fine speed optimization.
This also alludes to the problem: https://github.com/rails/sprockets/issues/388#issuecomment-257312994
But the explicit answer/explanation to this question still remains unspoken: because if you don't add them between concatenated files -- as I discovered just to day -- you will run into this error:
(intermediate value)(...) is not a function at something.source.js:1
, apparently because when it concatenated those 2 files together, it tried to evaluate it as:
({ // other.js })() (function() { // something.js })();
It makes sense that a ; is needed.
-
-
github.com github.com
-
Sprockets 4: The effect of config.assets.debug does not match the rails documentation.
-
concatenation still occurs.
-
-
-
If the bug is still there I think that it is better if it is open so others can find it if they run into the same issue.
-
-
github.com github.com
-
still compiles everything into single CSS/JS files
I noticed this too
-
-
github.com github.com
-
Is there a PR to... something? sassc-rails? That would make the patch not necessary? (I don't know if there's any good way to monkey-patch that in, I think you have to fork? So some change seems required...) Should the defaults be different somehow? This is very difficult to figure out.
-
Is there a PR to... something? sassc-rails?
-
-
math.stackexchange.com math.stackexchange.com
-
What is the difference between equation and formula?
-
-
tylergaw.com tylergaw.com
-
This is a non-exhaustive list of other things I love;
-
Spending an hour digging through bins in a record store is one of my favorite ways to clear my head. And then spend too much money.
-
-
jangawolof.org jangawolof.orgPhrases3
-
Degg naa ko muy tari Alxuraan.
-
Fibar bi jàngal na taawan bu góor ni ñuy dagge reeni aloom.
Le guérisseur a appris à son fils aîné comment on coupe les racines du Diospyros.
fibar -- (fibar bi? the healer? as in feebar / fièvre / fever? -- used as a general term for sickness).
bi -- the (indicates nearness).
jàngal v. -- to teach (something to someone), to learn (something from someone) -- compare with jàng (as in janga wolof) and jàngale.
na -- pr. circ. way, defined, distant. How? 'Or' What. function indicator. As.
taaw+an (taaw) bi -- first child, eldest. (taawan -- his eldest).
bu -- the (indicates relativeness).
góor gi -- man; male.
ni -- pr. circ. way, defined, distant. How? 'Or' What. function indicator. As.
ñuy -- they (?).
dagg+e (dagg) v. -- cut; to cut.
reen+i (reen) bi -- root, taproot, support.
aloom gi -- Diospyros mespiliformis, EBENACEA (tree).
-
Dafa ànd ak moroom yi àll ba, fori aloom.
Il est allé dans la brousse ramasser des fruits de Diospyros avec ses camarades.
dafa -- he/she.
ànd v. / ànd bi -- to be together, to go together; copulate; going together, fellowship; placenta.
ak -- and, with, etc.
moroom mi -- comrade of the same age group, equal, companion, neighbor.
yi -- the (plural).
àll bi -- large expanse of uninhabited land, bush; distant, as opposed to home.
ba -- the (indicates distance).
for+i (for) v. -- to pick up.
aloom bi -- edible fruit of Diospyros mespiliformis (aloom gi for the tree).
Tags
- comrades
- neighbor
- he
- land
- àll
- taught
- equal
- taawan
- -i
- uninhabited
- eldest
- feebar
- yi
- man
- of
- dagg
- mespiliformis
- jàng
- bush
- aloom
- ebenacea
- -e
- -an
- muy
- naa
- with
- how
- roots
- fori
- fever
- first
- dafa
- I
- reen
- gi
- placenta
- bi
- they
- tree
- ak
- healer
- son
- ànd
- together
- fièvre
- child
- copulate
- ñuy
- ko
- comrade
- support
- moroom
- for
- teach
- janga
- taaw
- the
- reeni
- companion
- to
- dagge
- as
- learn
- she
- from
- heard
- na
- his
- cut
- him
- collect
- fruit
- male
- bu
- mi
- alxuraan
- went
- what
- jàngal
- wolof
- koran
- pick up
- degg
- taproot
- and
- góor
- sickness
- tari
- distant
- fellowship
- diospyros
- verses
- jàngale
- into
- recite
- ni
- ba
- fibar
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
afarkas.github.io afarkas.github.ioWebshim1
-
Webshim is opinionated, that a developer should always solve a problem the HTML5 way.
-
-
www.kickstarter.com www.kickstarter.com
-
Shogi is a classic game. I know many people who want to play Shogi, but the Kanji on the pieces makes it too hard to master. I have designed this Shogi with icons so anybody can learn it easily.
-
- 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?
-
Defaults names are given to steps without the :id options, but these might be awkward sometimes.
Why would those default names ever be awkward?
If you the default name is whatever comes after
step
:step :default_name
then why can't you just change that name to whatever you want?
To answer my own question: I think you can do that, as long as the name is the 1st argument to
step
. But below I noticed an example where aSubprocess
was the 1st argument instead, and so it needs a name in this case:step Subprocess(DeleteAssets), id: :delete_assets
Why are they inconsistent about calling it name or id? Which one is it? I guess it's an id since that's what the key is called, and since there's an
Id()
helper to reference a task by its id.
Tags
- 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)
- semantics
- example: in order to keep example concise/focused, may not implement all best practices (illustrates one thing only)
- I have a question about this
- trailblazer-activity
- I don't understand
- feels wrong
- confusing
Annotators
URL
-
-
www.schneems.com www.schneems.com
-
Another thing I don’t like is the name of the config file manifest.js. Internally Sprockets has the concept of a manifest already Sprockets::Manifest, but the two aren’t directly coupled. We also already have a “manifest” JSON file that gets generated in public/assets/ and has manifest in the name .Sprockets-manifest-140998229eec5a9a5802b31d0ef6ed25.json. I know one is a JS file and one is a JSON file, but it’s a bit confusing to talk about.
When I first heard of app/assets/config/manifest.js, I was a bit confused too, and assumed/wondered if it was related to the manifest it generates under
public
. -
The link name is not very helpful, it doesn’t explain what it does very well.
-
-
drylabs.io drylabs.io
-
Our mission is to allow people to make money via educational efforts and to dedicate the rest of their time to creating great open source products.
What does this mean exactly? "Our mission is to allow people to make money via educational efforts"
-
-
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?
-
-
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...
-
-
github.com github.com
-
Instead of dealing with a mix of before_filters, Rack-middlewares, controller code and callbacks, an endpoint is just another activity and allows to be customized with the well-established Trailblazer mechanics.
-
-
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
-
-
trailblazer.to trailblazer.to
-
What this means is: I better refrain from writing a new book and we rather focus on more and better docs.
I'm glad. I didn't like that the book (which is essentially a form of documentation/tutorial) was proprietary.
I think it's better to make documentation and tutorials be community-driven free content
-
-
stackoverflow.com stackoverflow.com
-
The rsync and sleep commands (the sleep is just an example) are run through exec to prevent the creation of zombie processes if I kill the parent script while they're running, and each potentially-long-running command is wrapped in its own subshell so that when exec finishes, it won't terminate the whole script.
-
-
www.metacritic.com www.metacritic.comFlorence1
-
Please, do not buy this. I am really tired of "games" that are given critical praise because its cool to praise or because its political correct to do. I will break up my review in points so its clear why I dislike this "game" : 1) This is not a game. This is a short story, like an interactive book. 2) This game is so short, that I completed it in a 3 hour bus ride. It was boring. 3) Its a story of a girl that have to take the reigns of her life after divorce. WOMAN EMPOWERMENT. Now you know why this game is rated so highly 4) This is a MOBILE GAME. I paid $3 to play on an iphone (after watching a gaming channel give it GOTY contender. Needless to say, I never watched that gaming channel again). I FELT I WAS ROBBED OF TIME AND $3. Imagine how much I hated this game to feel like I was robbed even though it costed me only $3. 5) This game costs $7 on the eshop. You could buy CELESTE for $9 on sale on the Eshop. That is a great game. I recently bought Hollow Knight for $7 on Playstation. This interactive novel should not be sold as a game. Period. It is a waste of time and money.
Nothing wrong with interactive novels being sold in the same store as games... as long as it's clear what it is (no false advertising).
Somewhat agree with some of the other points...
-
-
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...
-
-
github.com github.com
-
@adisos if reform-rails will not match, I suggest to use: https://github.com/orgsync/active_interaction I've switched to it after reform-rails as it was not fully detached from the activerecord, code is a bit hacky and complex to modify, and in overall reform not so flexible as active_interaction. It has multiple params as well: https://github.com/orgsync/active_interaction/blob/master/spec/active_interaction/modules/input_processor_spec.rb#L41
I'm not sure what he meant by:
fully detached from the activerecord I didn't think it was tied to ActiveRecord.
But I definitely agree with:
code is a bit hacky and complex to modify
Tags
- too complicated
- recommended option/alternative
- evaluating software options
- too coupled/dependent
- reform (Ruby)
- flexibility
- pointing out gaps/downsides/cons in competition/alternatives
- I agree
- switching/migrating to something different
- hard to understand
- recommended software
- active_interaction
Annotators
URL
-
-
-
with ActiveForm-Rails, validations is the responsability of the form and not of the models. There is no need to synchronize errors from the form to the models and vice versa.
But if you intend to save to a model after the form validates, then you can't escape the models' validations:
either you check that the models pass their own validations ahead of time (like I want to do, and I think @mattheworiordan was wanting to do), or you have to accept that one of the following outcomes is possible/inevitable if the models' own validations fail:
- if you use
object.save
then it may silently fail to save - if you use
object.save
then it will fail to save and raise an error
Are either of those outcomes acceptable to you? To me, they seem not to be. Hence we must also check for / handle the models' validations. Hence we need a way to aggregate errors from both the form object (context-specific validations) and from the models (unconditional/invariant validations that should always be checked by the model), and present them to the user.
What do you guys find to be the best way to accomplish that?
I am interested to know what best practices you use / still use today after all these years. I keep finding myself running into this same problem/need, which is how I ended up looking for what the current options are for form objects today...
- if you use
-
If you compare the code of Reform and the code of ActiveForm-Rails, I think the last is more simple and clear for a behavior similar (or better).
-
-
github.com github.com
-
An additional usecase is where we would like to update multiple records
-
-
-
if you name you instance variable form, then you can always just pass in params[:form]
-
-
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
-
we plan to migrate to Angular 1, and we'll finish out the decade on React
Wrong direction: I'd recommend migrate from Angular to React.
-
-
pop-planet.info pop-planet.info
-
You don't necessarily have to resize Windows' EFI partition. You can have multiple EFI partitions.
-
-
stackoverflow.com stackoverflow.com
-
Yes, i'm trying to find the union of two relations
I guess that's what I needed too. How much of the time can a or() be converted to a union?
-
-
-
stackoverflow.com stackoverflow.com
-
You use grid-area, so the place for the side nav is allocated at start. If you hide (or even delete) the side nav, that won't change anything about this. You have to do a little trick: Set the width for the first column to 0 and change the grid-gap because otherwise you will have a (not needed) gap at the left.
-
-
-
ux.stackexchange.com ux.stackexchange.com
-
Popup - You don't need to deal with these messages right away, yet at some point you will need to take action since these won't go away until explicitly say say you don't want them around anymore.
-
- Jan 2021
-
slackmojis.com slackmojis.com
-
Slackmojis is made by some random dude in Brooklyn. He doesn't work for Slack, isn't paid by Slack, he just thinks Slack is pretty cool. Super Official Lawyer Talk: Slackmojis is not created by, affiliated with, or supported by Slack Technologies, Inc.
-
-
askubuntu.com askubuntu.com
-
Setting up docker-ce
hanging
-
-
-
serverfault.com serverfault.com
-
it still hangs when installing
-
-
-
bugzilla.redhat.com bugzilla.redhat.com
-
Ok, fixed it by upgrading docker
-
-
stackoverflow.com stackoverflow.com
-
So, what I've discovered in a meanwhile. It was an ubuntu-docker issue. Recently I upgraded my ubuntu from 16.04 to 18.04. This change seems to be incompatible with the docker version I had, 1.11.0.
-
-
blog.linuxmint.com blog.linuxmint.com
-
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".
-
-
unix.stackexchange.com unix.stackexchange.com
-
css-tricks.com css-tricks.com
-
Situation: you have a single line of text in a flex child element. You don’t want that text to wrap, you want it truncated with ellipsis (or fall back to just hiding the overflow). But the worst happens. The unthinkable! The layout breaks and forces the entire flex parent element too wide. Flexbox is supposed to be helping make layout easier!
-
-
wondertools.substack.com wondertools.substack.com
-
Simple ways to do more with spreadsheets
For me the key is use cases within my discipline--teaching and how students can use them. I don't like to teach stuff that won't reap students dividends in productivity, learning, sharing, gathering info effectively, time saving.
-
-
css-tricks.com css-tricks.com
-
I can’t promise I’m explaining this 100% accurately, but the way I understand it, the minimum width of a grid column is auto.
-
-
forums.theregister.com forums.theregister.com
-
The strangest "quirk" I had was that I couldn't get the web browser to save a file directly to an attached, encrypted drive. Permissions problem. So I had to save to an interim folder then move it across by hand. Utter pain.
-
-
www.americanpressinstitute.org www.americanpressinstitute.org
-
The purpose of news is to inform, educate, and give us understanding and knowledge of what is going on in the world. It helps us to keep up to date with issues so we are in the know and fully aware of events taking place.
-
-
github.com github.com
-
Basically the typescript compiler emits no code for interfaces, so webpack can not find them in the compiled module; except when a module consists of only interfaces. In that case the module will end up completely empty and then webpack will not investigate the exports.
-
-
www.dennisdeacon.com www.dennisdeacon.com
-
However, one of the drawbacks of this property is that the line intersects descenders of the characters.
I think it actually looks great/better because it intersects descenders of the characters.
-
-
framework7.io framework7.io
-
Open About Popover
I have to say, I like how it looks in their Apple and Desktop preview better than the Android/Material preview. I wish they had the arrow in Android Material too.
But on https://sveltematerialui.com/demo/menu-surface it doesn't bother me quite as much...
-
-
guides.rubyonrails.org guides.rubyonrails.org
-
You may find that your application requires a layout that differs slightly from your regular application layout to support one particular controller. Rather than repeating the main layout and editing it, you can accomplish this by using nested layouts (sometimes called sub-templates).
-
-
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
-
- Nov 2020
-
stackoverflow.com stackoverflow.com
-
This definition is actually a strict subset of the first definition: as the same script must (by definition) run inside both a server/Node.js context, but also a browser DOM context
-
-
uxdesign.cc uxdesign.cc
-
Text links are a very simple button type.
Eh? I didn't know links were considered buttons. I'm not sure I totally agree understand, but it's not outrageous either...
Update: Okay, I guess when you put an outline around it (like they directly below this paragraph), and even more if you put an icon with it (like they did further down; https://hyp.is/DZTZzi6fEeuu65uvQJ9W1Q/uxdesign.cc/ui-cheat-sheets-buttons-7329ed9d6112), the link looks like more like a button.
But (and I think this is their point) it is what it is because of how it's used and not how it's styled: it should be the same thing (a button) whether or not it has an outline.
-
-
-
If I understand the problem correctly, just changing the imports to point to svelte/internal isn't enough because they could still point to different packages depending on how your components are bundled. It solved your specific issue, but if you had two completely unrelated Svelte components compiled to vanilla javascript bundled with Svelte, you'd still hit issues with mismatching current_component when using slots or callbacks.
-
It sounds like another case of multiple svelte/internal modules? I think we need to look into reworking how svelte/internal keeps track of the current component since it breaks when mixing components not bundled with the app. It sounds like we need to find a way to pass Svelte's internal runtime state when instantiating components, since slots and callbacks end up mixing different svelte/internal together.
-
-
github.com github.com
-
A Chrome Extension designed with one intention: Increase the speed and privacy of your web browsing by skipping tracking redirects and removing the tracking parameters from URLs to keep them short and cleaner for sharing, bookmarking, etc.
-
-
support.google.com support.google.com
-
www.thecodebuzz.com www.thecodebuzz.com
-
GET is the primary mechanism of information retrieval and the focus of almost all performance optimizations.
-
-
github.com github.com
-
It is impossible to rebuild the base from the Dockerfile as the 3rd party dependencies have changed significantly since 8 months ago when the base was last built. The tags for my base image have been overwritten and I can only restore them from a descendant image. With Docker 1.8 I simply pulled the descendant image, tagged the base layer and I was done. With Docker 1.10+ I'd need to save, then manually construct the base image descriptor and reload it. Doable but sad that it's far more complex.
-
Is anything like this possible with the new setup?
-
Unfortunately, this image was built months ago. No one has the build any more. We are left with a descendant image that has all the original content but on lower layers.
-
is there a way we can specify for image build layers to be included in the pull?
-
Sorry, I don't totally know how the internals work, but does there currently exist a workaround? By that I mean, can I pull an image, then run it at a layer other than the top layer? (I basically use this for testing purposes, its certainly possible to build the image myself then do it, but its slightly less convenient)
-
-
button.dev button.dev
-
i like working on application frameworks, compilers, interpreters, and emulators.
-
-
jimmy.schementi.com jimmy.schementi.com
-
but know I know what I don't want to do. I definitely know I want to be an Engineer now, and it makes it more clear that I should start my own business.
-
-
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
-
Things that I miss most from Vue:
-
- Oct 2020
-
stackoverflow.com stackoverflow.com
-
Please don't copy answers to multiple questions; this is the same as your answer to a similar question
Why on earth not? There's nothing wrong with reusing the same answer if it can work for multiple questions. That's called being efficient. It would be stupid to write a new answer from scratch when you already have one that can work very well and fits the question very well.
-
-
stackoverflow.com stackoverflow.com
-
If you have a better/simpler/"more official" solution, I'd still love to see it!
The "official" solution is to use submitErrors (see Erik's answer).
-
-
-
you took 4 hours to respond, so I implemented it myself
-
-
api.rubyonrails.org api.rubyonrails.org
-
“"
Which character is this referring to exactly?
It looks like the empty string, which wouldn't make sense.
https://www.postgresql.org/docs/13/functions-matching.html only lists these 2:
If
pattern
does not contain percent signs or underscores, then the pattern only represents the string itself; in that caseLIKE
acts like the equals operator. An underscore (_
) inpattern
stands for (matches) any single character; a percent sign (%
) matches any sequence of zero or more characters.
-
-
github.com github.com
-
disqus.com disqus.com
-
Could you please explain why it is a vulnerability for an attacker to know the user names on a system? Currently External Identity Providers are wildly popular, meaning that user names are personal emails.My amazon account is my email address, my Azure account is my email address and both sites manage highly valuable information that could take a whole company out of business... and yet, they show no concern on hiding user names...
Good question: Why do the big players like Azure not seem to worry? Microsoft, Amazon, Google, etc. too probably. In fact, any email provider. So once someone knows your email address, you are (more) vulnerable to someone trying to hack your account. Makes me wonder if the severity of this problem is overrated.
Irony: He (using his full real name) posts:
- Information about which account ("my Azure account is my email address"), and
- How high-value of a target he would be ("both sites manage highly valuable information that could take a whole company out of business...")
thus making himself more of a target. (I hope he does not get targetted though.)
-
-
civilizationemerging.com civilizationemerging.com
-
For all systems of structural incentive, the incentive of any actor (individual or group), must be rigorously aligned with the well-being of all other agents in the system and of the commons writ large. Ie, all externalities must be internalized – all the consequences of activity within the system must be included in the system’s accounting.
Sure ...
This is a bit "I want a million dollars"
You can write this down and the devil is in how to implement it.
-
-
github.com github.com
-
Another example:
const expensiveOperation = async (value) => { // return Promise.resolve(value) // console.log('value:', value) await sleep(1000) console.log('expensiveOperation: value:', value, 'finished') return value } var expensiveOperationDebounce = debounce(expensiveOperation, 100); // for (let num of [1, 2]) { // expensiveOperationDebounce(num).then(value => { // console.log(value) // }) // } (async () => { await sleep(0 ); console.log(await expensiveOperationDebounce(1)) })(); (async () => { await sleep(200 ); console.log(await expensiveOperationDebounce(2)) })(); (async () => { await sleep(1300); console.log(await expensiveOperationDebounce(3)) })(); // setTimeout(async () => { // console.log(await expensiveOperationDebounce(3)) // }, 1300)
Outputs: 1, 2, 3
Why, if I change it to:
(async () => { await sleep(0 ); console.log(await expensiveOperationDebounce(1)) })(); (async () => { await sleep(200 ); console.log(await expensiveOperationDebounce(2)) })(); (async () => { await sleep(1100); console.log(await expensiveOperationDebounce(3)) })();
Does it only output 2, 3?
-
-
-
Using the keyboard arrows, navigate down the suggestion list to the item(s) you want to remove from the Chrome autofill suggestions With the suggestion highlighted, use the appropriate keystroke sequence to delete the Chrome suggestion:
Linux: Shift + Delete
-
-
-
andrewdeandrade commented on Jul 31, 2015
locked issues that I would comment on if I could: Can't react to comment because locked. Want to thumb up.
-
Without elegant ways of expressing loops/iterators (like angular does with directives), the primary way to keep JSX readable thus becomes copying and pasting.
I'm not quite sure I understand this (so until I do, I'm not sure I agree)...
Why does he think copying and pasting is the only way to make it readable? Like he pointed out, you can extract JSX snippets and use loops within JSX. But maybe he means (his previous point), that people often don't do that. Hmm. 
-
-
en.wikipedia.org en.wikipedia.org
-
I don't understand the need for the name "Open–closed principle". It doesn't seem meaningful or clear to me.
Can't we just call it "extensibility" or "easily extendable"? Doesn't "extensibility" already imply that we are extending it (adding new code on top of it, to interoperate with it) rather than modifying its source code?
-
-
mdsvex.com mdsvex.com
-
Don’t indent code blocks.
Sure, we don't need to add any additional indent. But what if your code block contains indentation (function body)? It would look silly to remove all leading indentation.
-
-
-
Of the three proposals rendered today, this is the one I want the most.
-
I believe this feature is overrated in RFC.
-
-
dylanvann.com dylanvann.com
-
Disclaimer: I’m new to Svelte so this isn’t so much a recommendation as it is a “I guess this is a way to do it 🤷♂️”
-
-
-
Although I'm starting to regret even posting this because I feel like it cheapens what we've accomplished.
-
But I suppose it comes with the territory when I consider even publishing an article like this. I was sitting on this one for weeks and wasn't sure I was going to publish it until I found myself trying to defend why I didn't just give up before I started.
-
-
codesandbox.io codesandbox.io
-
Is that expected behavior or am I doing something wrong?
-
-
online.mines.edu online.mines.edu
-
Class participation vs. attending class.The quantity andquality of online class participation replaces on-siteattendance
The flexibility is nice!
-
-
-
A new option --proximate=N groups together lines of output that are within N lines of each other in the file. This is useful when looking for matches that are related to each other.
I'd been wishing for a feature like this with grep/etc. tools.
I've had to use some really ugly workarounds (chain grep -C5 | grep -B5) which end up showing extra irrelevant context lines.
So I'm glad there's a clean way to do this now!
Tags
Annotators
URL
-
- Sep 2020
-
github.com github.com
-
I don't read comments as I think they are dangerous
Why does he think they are dangerous?
-
-
stackoverflow.com stackoverflow.com
-
Actually just returning the loginDaoCall works fine. I dont really get what's different as it is the looked like it was the same instance, but probably not.
So the posted answer wasn't necessary/correct? Which part of the answer was incorrect/unneeded?
I wish this OP comment included the full version of code that worked.
I don't understand this OP comment. Wasn't OP already returning
loginDaoCall
? So maybe the only thing they could mean is that they just needed to change it toreturn loginDaoCall.then(...)
instead...That would be consistent with what the answer said:
the promise returned by the further .then() does also get rejected and was not handled.
So I guess the unnecessary part of the answer was adding the
return true
/false...
-
-
www.nature.com www.nature.com
-
Krammer, Florian. ‘SARS-CoV-2 Vaccines in Development’. Nature, 23 September 2020, 1–16. https://doi.org/10.1038/s41586-020-2798-3.
-
-
stackoverflow.com stackoverflow.com
-
setContext / getContext can only be used once at component init, so how do you share your API result through context? Related: how would you share those API results if the call was made outside of a Svelte component, where setContext would be even more out of the question (and the API call would arguably be better located, for separation of concerns matters)? Well, put a store in your context.
-
-
github.com github.com
-
-
They don't need to add a prop for every action. The action itself can be passed in as a prop. <script> export let action; </script> <div use:action>whatever</div> The argument for the action can be another prop or can be part of the same prop.
-
-
-
While there is some precedence in other frameworks for using as, the word doesn't fit well. Since you are adding functionality to elements I like the word add better (and it only has 1 more character).
-
the ability to pass around element names as strings in place of components
-
-
www.merriam-webster.com www.merriam-webster.com
-
Can this word be used to describe the property in computing where a value can be dynamic? I feel like "dynamicness" would be a better term for this.
It seems to refer more to personality:
1a: marked by usually continuous and productive activity or change a dynamic city b: ENERGETIC, FORCEFUL a dynamic personality
See also the same sentiment here: https://news.ycombinator.com/item?id=4137596
-
-
news.ycombinator.com news.ycombinator.com
-
I considered it, but dynamism refers to personality and philosophy, while dynamicity is just the condition of being dynamic.
-