- Oct 2024
-
gitlab.com gitlab.com
-
That. Is the coolest. Shortcut. Ever. 💥 🚀
-
-
www.youtube.com www.youtube.com
-
1:25:22 First comes an AGREEMENT by members of the neighbourhood to co-operate and then they agree to use a mechanism called money to mobilise resources
-
- Jun 2024
-
languagelog.ldc.upenn.edu languagelog.ldc.upenn.edu
-
It's an interesting position and had me rethinking things a bit, but the way I look at it, the actions themselves are negative; it's their boundary conditions which are different. Take for instance embark/disembark. In pseudo-mathematical terms, I would tend to think they increment or decrement one's embarkedness, with an upper boundary of 1 (aboard), and a lower boundary of 0 (ashore). The non-existence of values >1 (super-aboard) or <0 (anti-aboard) shouldn't affect the relative polarity of the actions themselves. I think. Looking through the rest of the list, there's a variety of different boundary conditions. Prove/disprove would range from 1 to -1 (1=proven, 0=asserted but untested, -1=proven false), entangle/disentangle seems to range from 0 to infinity (because you can always be a little more entangled, can't you?), and please/displease is perhaps wholly unbounded (if we imagine that humanity has an infinite capacity for both suffering and joy).
-
- Feb 2024
-
unix.stackexchange.com unix.stackexchange.com
-
Also unclear why the answer is criticized for providing a "more general case" since the OP said "You are right, this [base64] was just used as an example, though.
-
The lonesome cat isn’t useless. UUOCs are typically characterized by having exactly one filename argument; this one has none. It connects the input to the function (which is the input of the if statement) to the output of the if statement (which is the input to the base64 –decode statement)
-
The title of the question is what triggered the process of finding this Q/A for material that aided development of the above to solve a real life problem described by the title. The OP declared that base64 decode was not the "real" problem; pedantic constraint of answers to a particular "example" seems less helpful. When this question and its answers were key to helping solve real problems, alternate answers can be gifts to the community in recognition of the fact that many more people will use this Q/A to solve problems. Since the answer is on-topic per the title, I feel it is "game on".
-
The answer credits others while solving a problem that wasn't optimally solved by other (helpful) answers at the time. I shared to help others. It is up to a reader to select answers and review for appropriateness to their needs. This almost looks like an attack when all that was required was an alternative answer standing on its own merits or demerits.
-
- Jan 2024
-
gitlab.com gitlab.com
-
resolution of a design widget is more like closing an issue than an MR
Tags
Annotators
URL
-
- Dec 2023
-
twitter.com twitter.com
-
File over app File over app is a philosophy: if you want to create digital artifacts that last, they must be files you can control, in formats that are easy to retrieve and read. Use tools that give you this freedom. File over app is an appeal to tool makers: accept that all software is ephemeral, and give people ownership over their data. In the fullness of time, the files you create are more important than the tools you use to create them. Apps are ephemeral, but your files have a chance to last. The pyramids of Egypt contain hieroglyphs that were chiseled in stone thousands of years ago. The ideas hieroglyphs convey are more important than the type of chisel that was used to carve them. The world is filled with ideas from generations past, transmitted through many mediums, from clay tablets to manuscripts, paintings, sculptures, and tapestries. These artifacts are objects that you can touch, hold, own, store, preserve, and look at. To read something written on paper all you need is eyeballs. Today, we are creating innumerable digital artifacts, but most of these artifacts are out of our control. They are stored on servers, in databases, gated behind an internet connection, and login to a cloud service. Even the files on your hard drive use proprietary formats that make them incompatible with older systems. Paraphrasing something I wrote recently: > If you want your writing to still be readable on a computer from the 2060s or 2160s, it’s important that your notes can be read on a computer from the 1960s. You should want the files you create to be durable, not only for posterity, but also for your future self. You never know when you might want to go back to something you created years or decades ago. Don’t lock your data into a format you can’t retrieve. These days I write using an app I help make called Obsidian (@obsdmd), but it’s a delusion to think it will last forever. The app will eventually become obsolete. It’s the plain text files I create that are designed to last. Who knows if anyone will want to read them besides me, but future me is enough of an audience to make it worthwhile.3:05 PM · Jul 2, 2023·1.1M Views
檔案(媒介、載具)優先於應用工具
— Obsidian CEO
test
-
-
readwrite.com readwrite.com
-
Confessions Of A Digital Hoarder Taylor hatmaker / Jan 24, 2013 / Web <img width="610" height="400" src="https://readwrite.com/wp-content/themes/rw/images/single-featured-default.jpg" alt="Confessions Of A Digital Hoarder" /> <img width="26" height="26" src="https://readwrite.com/wp-content/themes/rw/images/fb-icon-light.png" /> <img width="26" height="26" src="https://readwrite.com/wp-content/themes/rw/images/twitter-icon-light.png" /> <img width="26" height="26" src="https://readwrite.com/wp-content/themes/rw/images/linkedin.png" /> <img width="26" height="26" src="https://readwrite.com/wp-content/themes/rw/images/email-share-icon.png" /> <img width="500" height="282" decoding="async" src="https://readwrite.com/wp-content/uploads/2016/02/MTIyMjk0Nzg0NDMyODMzMTI2.jpg"> In the dawning era of persistent digital experience, an obsessive documentarian like myself should flourish. In my pre-Web, analog life, I was the one with shoeboxes of photos, scrawling notes and lists on anything scrawlable. But the advent of the cloud – the arrival of multi-gigabyte virtual storage lockers, auto-syncing, and bookmarklets, oh bookmarklets! – has taken it all too far. My sanity is buckling under the collective desire to keep everything on the Internet. All of these little processes, saving that New Yorker essay to Pocket, poring over my archived tweets, figuring out which corner of the cloud I stuffed that then-genius story idea in… it makes me crazy and I hate it and I’m done. I come to you teetering on the existential irony of it all – the recursive madness of obsessively chronicling my life in lieu of living it. Is there a Hoarders for the Web? Sign me up. The Enabler: Evernote One tool landed me in this mess to begin with: Evernote. I turned to Evernote to subtract the paralysis of where do I keep this?
點頭如搗蒜
-
-
www.surinderbhomra.com www.surinderbhomra.com
-
Evernote Has Made Me An Extreme Data Hoarder
點頭如搗蒜
-
- Nov 2023
-
-
We didn't add this initially because Google is not the only form of authentication we offer and it could get annoying for users that sign up with GitHub or username and password to see the Google popup all the time.
-
-
github.com github.com
-
lib/ is intended to be for non-app specific library code that just happens to live in the app for now (usually pending extraction into open source or whatever).
-
Stuff like a generic PhoneNumberFormatter is exactly what lib/ is intended for.
-
The criteria for code in lib is what @dhh said above: non-app specific library code that just happens to live in the app for now (usually pending extraction into open source or whatever)
-
(BTW, the app/models directory is there to organize the model layer. The model layer is greater than the persisted models.)
-
Everything has a place so do better and find it. There is a certain belief that everything within app should be organized into functionally-named directories and any files placed in app/lib actually belongs in app/services or app/interactors or app/models or someplace if the developers just tried harder. The implication is that developers are bad developers if they don’t yet know what kind of constant they have and where its forever home should be. I reject this. Over the lifespan of an application, there will be constants that have not yet found their functional kin, if those kin ever come to exist at all; sometimes you simply need some code and a place to put it. app/lib can be the convention for where those constants can live temporarily or as long as necessary. Autoloading is really nice, let’s treat them to it.
-
-
chromestory.com chromestory.com
-
The nice point of Kiwi is that it supports Chrome extensions, this is why I am trying it. Browser extensions are something which I believe should be rather more widespread in Android by now.
-
- Oct 2023
-
ell.stackexchange.com ell.stackexchange.com
-
as a native speaker I'd probably tend to refer to his drug dependency, but his dependence on drugs (maybe because I see one as a problem he has, and the other as something he's doing, I don't know).
-
I think that "dependency" is usually the thing that you depend on, whereas dependence is the state of depending on it. But there are certainly cases where you could use either interchangeably.
-
- Sep 2023
-
unix.stackexchange.com unix.stackexchange.com
-
Answers are identical because Questions are identical too !
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
For me, I don't have an issue, but there was one syntax situation I found awkward: I need to sometimes know whether it is a class or a module that I am modifying. So I may have code: module Foo module Bar class Baz versus: class Foo::Bar::Baz It's not a huge issue, but ruby would yield an error if I specify a class or module incorrectly (which can happen if you spread code out into different .rb files, so I understand why there is an error message shown, to avoid accidents). But I then also wondered why I have to care whether it is a module or class, if my primary goal is to modify something, such as by adding a method. If I want to add a method: def foobar; end then I really should never be required to have to know whether I am modifying a class or a module.
Tags
Annotators
URL
-
-
www.reddit.com www.reddit.com
-
I'm curious: what is the reason for Yahoo discontinuing the "@ymail.com" domain?I'm aware that there's now a 2nd domain option available, "@myyahoo.com", and I recently took advantage of that to create a new address. But "@ymail.com" honestly looks more appealing to me than either of the "yahoo" iterations.
-
- Aug 2023
-
www.ruby-forum.com www.ruby-forum.com
-
I find the use of the term “session” within integration tests a bit unfortunate (open_session, etc), since there are also these session objects, which are however different. Maybe replace by “user_session” ?
-
- Jun 2023
-
interblah.net interblah.net
-
I think we have a responsibility not only to ourselves, but also to each other, to our community, not to use Ruby only in the ways that are either implicitly or explicitly promoted to us, but to explore the fringes, and wrestle with new and experimental features and techniques, so that as many different perspectives as possible inform on the question of “is this good or not”.
-
-
stackoverflow.com stackoverflow.com
-
Public and/or protected fields are bad because they can be manipulated from outside the declaring class without validation; thus they can be said to break the encapsulation principle of object oriented programming.
-
- May 2023
-
stackoverflow.com stackoverflow.com
-
If you're already using PostgreSQL anyway, just use citext as the type of the email_address column.
-
-
ux.stackexchange.com ux.stackexchange.com
-
Some day, the de facto standard and the official standard will hopefully be the same. It's too bad we have to deal with this issue at all.
-
- Apr 2023
-
security.stackexchange.com security.stackexchange.com
-
Sorry, I can't agree with you. If someone issues a second code, they should have two potential logins - one for each one they requested. Call me weird, but considering how cheap it is to store data, I'd rather keep around exactly what happened.
-
- Feb 2023
-
github.com github.com
-
deleting user files without being asked for is by far an "unsafe in nonzero scenarios" decision, no program should do it. The sane option is to refuse working and/or display a visible warning explaining why.
-
-
stackoverflow.com stackoverflow.com
-
Result of lots of searching on net is that pre-checkout hook in git is not implemented yet. The reason can be: There is no practical use. I do have a case It can be achieved by any other means. Please tell me how? Its too difficult to implement. I don't think this is a valid reason
-
- Dec 2022
-
github.com github.com
-
but that before marking the contact as a bounced, Campaign should double check it was really a hard bounce that would affect future deliverability.
-
- Nov 2022
-
github.com github.com
-
I don't see why this is a false positive
-
-
gitlab.com gitlab.com
-
I fail to understand how this is such a low priority. Code review is one of the most basic and critical portions of development lifecycle, and prior to discovery of this ticket I literally had to roll an entire other repository manager just to perform that correctly when I discovered entire directories of changes had been omitted from the Gitlab generated MR. We actually found that in order to get the change set fix to apply reliably, that it is required to add "?w=1" to the url even after updating the white space setting.
-
- Oct 2022
-
github.com github.com
-
A better message, clarifying the true purpose of the cop, which I guess is to differentiate empty Hash literals and blocks.
-
- Sep 2022
-
metalblueberry.github.io metalblueberry.github.io
-
Some people eventually realize that the code quality is important, but they lack of the time to do it. This is the typical situation when you work under pressure or time constrains. It is hard to explain to you boss that you need another week to prepare your code when it is “already working”. So you ship the code anyway because you can not afford to spent one week more.
-
-
github.com github.com
-
I don't like the first syntax because then you have weird looking code due to all the leading whitespace, and you lose a lot of real estate.
-
Aligning everything with however long the method name is makes every indention different. belongs_to :thing, class_name: 'ThisThing', foreign_key: :this_thing_id has_many :other_things, class_name: 'ThisOtherThing', foreign_key: :this_other_thing_id validates :field, presence: true Compared to the following, which all align nicely on the left. belongs_to :thing, class_name: 'ThisThing', foreign_key: :this_thing_id has_many :other_things, class_name: 'ThisOtherThing', foreign_key: :this_other_thing_id validates :field, presence: true
-
-
github.com github.com
-
really begin/end is just a way to pass several expressions where you normally need to pass only one. In this way I think it's much closer to something like conditionals (e.g. if, than to do).
-
-
stackoverflow.com stackoverflow.com
-
I'm not sure if there's a reason why additionalProperties only looks at the sibling-level when checking allowed properties but IMHO this should be changed.
-
-
rubystyle.guide rubystyle.guide
-
Good code is its own best documentation. As you’re about to add a comment, ask yourself, "How can I improve the code so that this comment isn’t needed?". Improve the code and then document it to make it even clearer.
Tags
Annotators
URL
-
- Jul 2022
-
github.com github.com
-
Stop autoclosing of PRs While the idea of cleaning up the the PRs list by nudging reviewers with the stale message and closing PRs that didn't got a review in time cloud work for the maintainers, in practice it discourages contributors to submit contributions. Keeping PRs open and not providing feedback also doesn't help with contributors motivation, so while I'm disabling this feature of the bot we still need to come up with a process that will help us to keep the number of PRs in check, but celebrate the work contributors already did instead of ignoring it, or dismissing in the form of a "stale" alerts, and automatically closing PRs.
Yes!! Thank you!!
typo: cloud work -> could work
-
- Apr 2022
-
store.steampowered.com store.steampowered.com
-
All that can be forgiven, but not charging $10 USD for this bundle worsener (they dumped it very quick into shovelware game bundles). $10 gets you a lot of great games on Steam like Frostpunk, Metro and Skyrim, so it's impossible to ask anyone considers this against the competition.
-
-
css-tricks.com css-tricks.com
-
Either way, I’m a fan of leaving the math in the authored code.
Tags
Annotators
URL
-
- Mar 2022
-
www.codewithjason.com www.codewithjason.com
-
I found this counterintuitive because usually I try to make all my passwords, etc. different for each environment I have. I thought I would need to create a different master key for my production environment. No, I need to not create a different master key.
-
- Feb 2022
-
daniellenewnham.medium.com daniellenewnham.medium.com
-
And I can’t help but see the irony now when the film’s protagonist, Tristan Harris, et al are asking their social media followers (yes, they have social media accounts — even the film has its own social media presence) to spread news about it being free to watch on YouTube — a platform criticized in the film.
Yes, I agre it is ironic that they are using the platform they are criticising, to spread the fact that they are criticising those platforms. But It is the faster and easier way they have to spread what they are saying and to achieve a bigger audience.
-
-
github.com github.com
-
I just thought that if there was any time to improve the naming it would be now, before rolling it out to thousands of devs/projects. I don't think of that as bikeshedding, personally.
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
Ruby should not completely ignore blocks. const_set :Example, Class.new do p "Hello, world" end # Doesn't print anything, generate any warning nor error. To minimize any impact, Ruby should issue a warning, and in future version could even raise an error. Even unused variables provide warnings in verbose mode, and they have their use. I can't think of a case where passing a block to a builtin method that doesn't accept a block is not a programming error though.
But since it can't be fixed generally, then just add a check in each core method that doesn't accept block, update its def to include a check.
Where I've been bitten by this was some Enumerable method that I assumed took a block. I think it was
first { cond }
, and I assumed it worked the same asdetect { cond }
-
- Jan 2022
-
stackoverflow.com stackoverflow.com
-
FORBIDDEN: Status code (403) indicating the server understood the request but refused to fulfill it. User/agent known by the server but has insufficient credentials. Repeating request will not work, unless credentials changed, which is very unlikely in a short time span.
-
UNAUTHORIZED: Status code (401) indicating that the request requires authentication, usually this means user needs to be logged-in (session). User/agent unknown by the server. Can repeat with other credentials. NOTE: This is confusing as this should have been named 'unauthenticated' instead of 'unauthorized'.
-
- Dec 2021
-
writing.fletom.com writing.fletom.com
-
So, underscores are not quite as good as spaces. They’re a compromise of language, readability, and semantics, but they’re the best we’ve got. Better than dashes, CamelCase, plus+signs, or anything else. So use them.
-
The “use spaces, or else fall back on quotes” system is just silly.
-
- Nov 2021
-
www.reddit.com www.reddit.com
-
And this is why I left Ubuntu. If I want a SNAP I will install a SNAP. Otherwise stay out of my crap.
-
-
meta.stackoverflow.com meta.stackoverflow.com
-
in my opinion it could have been more constructive to move this question to cryptography stack exchange, instead of downvoting and closing it.
-
-
eleap.unimas.my eleap.unimas.my
-
It is initiated when bargaining is done between the parties, i.e employers and employees
-
- Oct 2021
-
ia601505.us.archive.org ia601505.us.archive.org
-
• Operate by principles
Totally agree
-
-
archive.nytimes.com archive.nytimes.com
-
Employees were ‘free’ to negotiate a work contract to their liking within the context of accepting the ‘prerogatives’ of managers to organised and remunerate their efforts as they saw fit (Fox, 1974).
Tags
Annotators
URL
-
-
globalnews.ca globalnews.ca
-
78% Canadians support COVID-19 vaccine passport for public places: Poll - National | Globalnews.ca. (n.d.). Global News. Retrieved 4 October 2021, from https://globalnews.ca/news/8238449/covid-vaccine-passport-public-places-poll/
-
- Sep 2021
-
www.reddit.com www.reddit.com
-
t's also why it is so annoying to people who actually know what they are doing, when randomly the browser decides to take over a function provided for decades by the OS network stack, and with no notice start bypassing all the infrastructure they set up to their liking (like your hosts file) and funelling all their browsing habits to some shady company (Cloudflare).
-
-
support.mozilla.org support.mozilla.org
-
Therefore, Firefox already contains the code to look in the hosts file, but it does things in the wrong order: 1. Look up the URL in the DNS server if not found: 2. Send the URL to the default search engine as a search term if not found: 3. Look in the hosts file
incorrect behavior
-
The entries in the hosts file are obviously not on a DNS server. Setting the keyword.enabled option FALSE by itself should only turn off the feature that uses the address field as a search field. It would not give Firefox an additional ability that it did not have before.
Tags
Annotators
URL
-
-
-
Silberner, J. (2021). Covid-19: How Native Americans led the way in the US vaccination effort. BMJ, 374, n2168. https://doi.org/10.1136/bmj.n2168
-
-
-
I have never seen the @Stale bot or any directly equivalent to it achieve a net positive outcome. Never. It results in disgruntled people, extra expenditure of effort (for reporters and maintainers), real stuff getting lost when people get fed up with poking the bot (I have no intention of poking it further), and more extensive filing of duplicates. You say a simple comment dismisses it, but it doesn’t—it only does this time. Next time, it continues to annoy. This is an issue tracker. Use labels, projects, milestones and the likes for prioritising stuff. Not sweeping stuff under the carpet.
-
Closing issues doesn’t solve anything. Closing issues in GitHub just sweeps them under the carpet and helps everyone to forget about them, which is just not what you want—the fact that GitHub search excludes closed items by default is a large part of the problem with it. As applied to software projects with general-purpose issue trackers, the @Stale bot is fundamentally phenomenally bad idea, a road paved with good intentions. I presented an actionable alternative: labels. Possibly automatically applied, but it’s certainly better to spend a little bit of time on manual triage. It honestly doesn’t take long to skim through a few hundred issues and bin them into labels. 609 open issues? That’s honestly not a problem. Not at all. There’s nothing wrong with having a large number of issues open, if they do correspond to real things—even things that you may not expect to get to for years, if ever, because that might change or someone might decide they want to deal with one. Closing issues that aren’t dealt with is bad. Please don’t do it.
-
-
forums.linuxmint.com forums.linuxmint.com
-
Indeed yes, but sometimes it is necessary to change one's password, even if one is not 'mucking about with' or 'tweaking' or 'customising' any other system settings.
Tags
Annotators
URL
-
- Aug 2021
-
github.com github.com
-
In the vast majority of cases when I'm using prettier-ignore I'm only really looking to prevent it from breaking my code into new lines, whilst keeping its other transformations such as switching quotes and adding space between brackets. When ignoring single lines, fixing these formatting problems by hand is very manageable. With the ability to have Prettier ignore entire blocks of code I think the ability to specify what you want it to ignore is essential.
-
-
www.martinfowler.com www.martinfowler.com
-
When writing about programming, I prefer to use 'annotation' as the general term. Although .NET was first, the word 'attribute' is just too widely used for different things.
-
- Jun 2021
-
github.com github.com
-
As you can see Rails already adds error messages from associated models and doing it wrongly: Merging together errors from different models under same has_many association. :"employments.company"=>["can't be blank"] And this is wrong.
-
-
github.com github.com
-
Whether you agree or not, to me there's nothing in this world that is entirely apolitical - when there are people there is politics. You don't have to agree with my views, nor do I expect you to. Diversity and disagreement is what drives mankind forward.
-
I'm not sure if there's any cost in terms of contributing either, especially when by design git can have any branch as default, and will not hinder your experience when you use something other than master.
git is neutral/unbiased/agnostic about default branch name by design
And that is a good thing
-
Forcing people out of the habit to assume this branch would be called master, is a valuable lesson.
-
The primary branch in git can have any name by design.
Tags
- high-cost changes
- I like this
- you don't have to agree with my views
- by design
- I agree
- git: default branch
- this is a good thing
- valuable lesson
- forcing people out of a habit
- diversity
- good point
- no arbitrary limitation
- questioning/challenging long-held traditions/beliefs/habits
- separation of personal/political views from professional activity
- despite:
- neutral/unbiased/agnostic
- nothing is apolitical where people are involved
- git
Annotators
URL
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
I am not sure if this is an improvement. To me it does not seem very pretty. Of course I am biased since I also prefer () in method definitions if they have arguments; although I think it is fine that ruby does not mind omitting the (). For my brain, I like the () for visual separation.
-
-
stackoverflow.com stackoverflow.com
-
a principle I use is: If you have an accessor, use the accessor rather than the raw variable or mechanism it's hiding. The raw variable is the implementation, the accessor is the interface. Should I ignore the interface because I'm internal to the instance? I wouldn't if it was an attr_accessor.
-
But what's the matter with "raw" instance variables? They are internal to your instance; the only code that will call them by name is code inside pancake.rb which is all yours. The fact that they start with @, which I assume made you say "blech", is what makes them private. Think of @ as shorthand for private if you like.
I agree / like that:
@
is just shorthand forprivate
.But OP clarified in a comment that the
@
itself is not what they disliked: it was the accessing data directly instead of going through an accessor method.The raw variable is the implementation, the accessor is the interface. Should I ignore the interface because I'm internal to the instance?
-
One of the consequences (although arguably not the primary motivation) of DRY is that you tend to end up with chunks of complex code expressed once, with simpler code referencing it throughout the codebase. I can't speak for anyone else, but I consider it a win if I can reduce repetition and tuck it away in some framework or initialisation code. Having a single accessor definition for a commonly used accessor makes me happy - and the new Object class code can be tested to hell and back. The upshot is more beautiful, readable code.
new tag?:
- extract reusable functions to reduce duplication / allow elegant patterns elsewhere
-
(I think you need a better name than private_accessor though)
Tags
- good point
- reusability
- best practices
- extracting small reusable snippets of code
- self-enforced
- concise
- accessors
- public vs. private interface
- idiomatic Ruby
- I agree
- good policy/practice/procedure
- avoid duplication
- annotation meta: may need new tag
- naming
- convention
- good explanation
- go through accessor instead of using instance variable directly
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
I don't think it is too clever. I think it solves the problem idiomatically. I.e., it uses reduce, which is exactly correct. Programmers should be encouraged to understand what is correct, why it is correct, and then propagate. For a trivial operation like average, true, one doesn't need to be "clever". But by understanding what "reduce" is for a trivial case, one can then start applying it to much more complex problems. upvote.
-
instance_eval lets you run the code while only specifying a once, so it can be chained with other commands. I.e. random_average = Array.new(10) { rand(10) }.instance_eval { reduce(:+) / size.to_f } instead of random = Array.new(10) { rand(10) }; random_average = random.reduce(:+) / random.size
-
-
github.com github.com
-
I don't really want to re-implement all of my api endpoints to make this work. Is there a way to "mask" the thirdparty endpoints to pass through the cookies?
-
- May 2021
-
github.com github.com
-
I would argue though that crashing is better than quietly providing unexpected behavior.
-
-
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
-
I'm coding an email for a project and man! it's such a pain. Every other client has it's own implementation and supported rules. Some don't allow even simple properties like background-image while some support most advanced rules like media queries
-
I haven't done much e-mail templating luckily, but like you said it's a PITA... It would be great if there was some kind of standard though, but that's not going to happen anytime soon
-
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
-
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
-
-
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
-
-
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.
-
-
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.
-
-
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
- caring about the details
- I agree
- scope (programming)
- Ruby: class methods
- can be changed
- good point
- elegant code
- making the association/commonality/relationship clear/explicit
- code style
- inconsistent
- making intentions clear/explicit
- reversible decisions
- inelegant
- defending an idea
- readability
- code style guide
- intentional/well-considered decisions
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.
-
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.
-
-
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.
-
-
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
-
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.
-
-
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
-
deskbar should probably detect their extension and execute the relevant command as opposed to opening the file for editing.
-
-
github.com github.com
-
if we can fix source maps, unconditionally adding ";\n" would be a better solution
Tags
Annotators
URL
-
-
-
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.
-
-
afarkas.github.io afarkas.github.ioWebshim1
-
Webshim is opinionated, that a developer should always solve a problem the HTML5 way.
-
- Feb 2021
-
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.
-
-
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
-
-
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 software
- pointing out gaps/downsides/cons in competition/alternatives
- evaluating software options
- recommended option/alternative
- I agree
- active_interaction
- switching/migrating to something different
- too coupled/dependent
- reform (Ruby)
- flexibility
- hard to understand
Annotators
URL
-
-
-
I think maybe the terms we're using are a bit confusing.
-
-
-
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).
-
-
hilton.org.uk hilton.org.uk
-
We also find it hard to agree on what good names and bad names look like, which makes it hard to know when renaming improves a name.
-
- Nov 2020
-
openfacultypatchbook.org openfacultypatchbook.org
-
opening new avenues in the debate may dispel apparent contradictions that would otherwise crystalize an us-versus-them understanding of the issue.
-
opening new avenues in the debate may dispel apparent contradictions that would otherwise crystalize an us-versus-them understanding of the issue.
This is a good point. Students bring beliefs and behaviours to the classroom that are informed by culture and values. New avenues of discussion promote both a validation of their beliefs but also an opportunity to inquire about them.
-
- Oct 2020
-
gist.github.com gist.github.com
-
The problem is that the since both the JSX transpiler and the traceur compiler are actually parsing the full javascript AST, they would have to mutually agree on the syntax extensions you use: traceur can't parse the faux-xml syntax JSX adds, and JSX can't parse the async or await keywords, for example, or generator functions.
-
- Sep 2020
-
-
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).
-
-
github.com github.com
-
But what all frameworks have in common is to write JS and this could convince users of React but also newcomers that know JS.
-
- Oct 2017
-
instructure-uploads.s3.amazonaws.com instructure-uploads.s3.amazonaws.com
-
The theory is incompatible with certain possible results of observation
Part of science is to fail again and again, until you reach the only truth.
-
- Aug 2017
-
-
The best folder structure is the one that mimics the way you work. Do you plan important tasks by quarter? A new folder for each quarter's work might be good. Or do you work around projects? Consider new folders for each project. Browsing through your folders and finding files should be intuitive. If your method of organization is tedious, it’s going to be tough for the rest of your team to follow along. For company projects, pick something that works well for everyone in the team, since everyone may not search for a file or folder in the same way you do. If you want to maintain your folder structure long-term, you’ll want to make sure everyone understands (and hopefully likes!) the system.
Tags
Annotators
URL
-
-
www.howtogeek.com www.howtogeek.com
-
If you notice yourself creating a sub-folder to hold only one file, then you’ve probably become a little over-zealous.
I agree with this one:-)
-
- Sep 2015
-
slack-files.com slack-files.comfw_3.pdf1
-
jʨ ʨ>Bȑäʨʨ ʨʨʨ ʨ(ʨʨ ʨʨʨ¬ʨʨʨʨ 4öʨǃ ȒűǖdzƸʨźʨ ʨ % ʨ ʨMʨʨ71ʨ
I think it is necessary to be grounded in some practices, habits, situations, with repeated, somewhat predictable responses in order to form an identity.
-
- Sep 2013
-
caseyboyle.net caseyboyle.net
-
However, neither class of teachers is in possession of a science by which they can make capable athletes or capable orators out of whomsoever they please
I disagree with this to an extent. When it boils down to it, yes, it is the student who puts forth the effort or the will. However, a good teach can give the student the tools they need to succeed in sport or knowledge. No pressure, Professor Boyle.
-