365 Matching Annotations
  1. Oct 2021
    1. I compare these digital scientific notations to the the traditional scientific notations that have been used for centuries, showing how the digital notations optimized for computerized processing are often an obstacle to scientific communication and to creative work by human scientists
    2. I analyze the causes and propose guidelines for the design of more human-friendly digital scientific notations.
  2. Sep 2021
    1. Researchers have long criticized the technology for producing inaccurate results for people with darker skin

      The main idea taking about the text what say .

    1. Themainideaorthesis

      In this section make sure to include a summary of what you'll be writing about. an introduction to the paper. restate your main idea in your conclusion as well.

  3. Aug 2021
    1. I always had to set the height of them literally almost 50% taller than the content itself to accommodate for the innards growing when the form was submitted with errors (the error messaging expanded the height). If I didn’t, the submit button would get cut off making the form un-submittable.
    1. Pero yo me he quedado sorprendido, por buscar una palabra, cuando después del 11 de Setiembre, de pronto el gobierno empieza a mezclar el patriotismo con los deberes de la prensa

      Por otro lado el periodismo es una labor de suma importancia en la sociedad, los periodistas no son simples mensajeros. Se tiene la capacidad de procesar lo que vemos siendo testigos activos. Saber preguntar y a quienes preguntar. En una sociedad en la que la informacion signfica tener poder. El propósito principal del periodismo es proporcionar a los ciudadanos la información que necesitan para ser libres y capaces de gobernarse a sí mismos. Los medios informativos nos ayudan a definir la comunidad y a elaborar un lenguaje y un conocimiento compartidos basados en la realidad. El periodismo también contribuye a identificar los objetivos de una comunidad, y reconocer a sus héroes y villanos.

  4. Jul 2021
    1. Because a business making 6 figures works differently and faces different parameters—Let’s find out how different is such a business and how you too can boost your business to make 6 figures annually.
    1. visualization of the authors referenced together

      Not usually one for this type of visual web, but I love this one for how it can be used, in addition to simply being interesting to see. Could be a great way to discover confirmation bias at play, if for instance people with opposing views are never referenced together. It could also simply serve as a way to find "other authors you might like," who write on similar topics to those you already have a founded interest in.

  5. Jun 2021
    1. gitree works very similarly to tree but only lists files related to the current git repository.
    1. However, the cookie containing the CSRF-TOKEN is only used by the client to set the X-XSRF-TOKEN header. So passing a compromised CSRF-TOKEN cookie to the Rails app won't have any negative effect.
    1. I've seen (and fixed) Ruby code that needed to be refactored for the client objects to use the accessor rather than the underlying mechanism, even though instance variables aren't directly visible. The underlying mechanism isn't always an instance variable - it can be delegations to or manipulations of a class you're hiding behind a facade, or a session store with a particular format, or all kinds. And it can change. 'Self-encapsulation' can help if you need to swap a technology, a library, an object specification, etc.
    1. That's going to be extremely ugly. Nothing about this makes sense. Your JSON schema should just have one object that has {"is_enabled":true}, or something like this {"name":"change","is_enable":true}.
  6. May 2021
    1. One solution that fixed this issue with my ISP was that when I went through the first and second line and got in touch with the people that fixed my problem, I asked them if they could give me one of their personal numbers in case the same problem happened again. The problem did occur a couple more times, and I just directly called the same guy.
    1. We haven’t covered this yet, but HEY has another consent-based feature they call the Speakeasy code. When used in the subject line of an email, this code grants the email access straight to the Imbox.
  7. Apr 2021
    1. That should make for interesting puzzles, except they're timed, your guys never stop moving (why not?), and the camera and controls mean it's very hard to translate intent into the game world.
    1. You don’t see a lot of them, but there are a number of “super trucks,” that people build custom. They’re essentially RVs built onto a stretched truck and used like a truck. These trucks, depending on how built, often have the same facilities RVs have, including private showers, toilets, and other plumbing essentials. They dump and refill at rest areas and rv parks that have these facilities, and live the best of both worlds - trucking without the hassle.
    1. Actually a very interesting concept allthough not perfectly executed (even considering it's based on a board game)
    2. It's a nice idea but godawful implementation.
    3. Unfortunately, it’s in the execution where “US and THEM” starts to fall apart. The game’s major problems stem from the user interface and some design choices range from questionable to downright horrible. For starters, the world map that takes up more than half of the screen can be neither scrolled nor zoomed. In a game where your interaction heavily relies on clicking various nations, this becomes a problem. While larger countries like Canada, the US and Russia are easily accessible, smaller nations require pixel perfect accuracy to interact with. Try clicking on Cuba, Ireland or Hungary and you’ll find yourself maniacally clicking shades and outlines and a handful of visible pixels in the area of these countries in vain hope that the game will acknowledge your actions.
    1. This gem uses a Rack middleware to clear the store object after every request, but that doesn't translate well to background processing with Sidekiq. A companion library, request_store-sidekiq creates a Sidekiq middleware that will ensure the store is cleared after each job is processed, for security and consistency with how this is done in Rack.
    1. “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!).
    1. these events can break the flow of the game and force the player to repeat sections until they master the event, adding false difficulty to the game.
    1. This approach is preferable to overriding authenticate_user! in your controller because it won't clobber a lot of "behind the scenes" stuff Devise does (such as storing the attempted URL so the user can be redirected after successful sign in).
    1. Yes, you are right. That was a very bad workaround. Stubbing methods on NilClass can be compared to switching to dark side of force. Powerful but comes with a huge price. I highly don't recommend using my workaround from 1 year ago.
  8. Mar 2021
    1. When the computer created such amazing potential, humans decided that their human genius machines could be handy if they implemented all the pre-existing genius practices.
    1. # Parallel Ruby universes ("Rubyverses") - A proposed interface for # parallel, "semi-private" method or method-and-data spaces via # "closely associated" objects.
    1. can you break this, thouugh? like can you override kind_of? but not is_a?
    2. You can override an alias without overriding the aliased function. So yes, you can override kind_of? without overriding is_a?
    1. All I needed to do was configure my bash so it will always start vim in server mode if it is not already and to always use the --remote-tab switch when opening files.
    1. One thing that would be useful to this debate an analysis of a language ecosystem where there are only "macropackages" and see if the same function shows up over and over again across packages.
    2. here is my set of best practices.I review libraries before adding them to my project. This involves skimming the code or reading it in its entirety if short, skimming the list of its dependencies, and making some quality judgements on liveliness, reliability, and maintainability in case I need to fix things myself. Note that length isn't a factor on its own, but may figure into some of these other estimates. I have on occasion pasted short modules directly into my code because I didn't think their recursive dependencies were justified.I then pin the library version and all of its dependencies with npm-shrinkwrap.Periodically, or when I need specific changes, I use npm-check to review updates. Here, I actually do look at all the changes since my pinned version, through a combination of change and commit logs. I make the call on whether the fixes and improvements outweigh the risk of updating; usually the changes are trivial and the answer is yes, so I update, shrinkwrap, skim the diff, done.I prefer not to pull in dependencies at deploy time, since I don't need the headache of github or npm being down when I need to deploy, and production machines may not have external internet access, let alone toolchains for compiling binary modules. Npm-pack followed by npm-install of the tarball is your friend here, and gets you pretty close to 100% reproducible deploys and rollbacks.This list intentionally has lots of judgement calls and few absolute rules. I don't follow all of them for all of my projects, but it is what I would consider a reasonable process for things that matter.
    1. Whenever majorities trample upon the rights of minorities—when men are denied even the privilege of having their causes of complaint examined into—when measures, which they deem for their relief, are rejected by the despotism of a silent majority at a second reading—when such become the rules of our legislation, the Congress of this Union will no longer justly represent a republican people.
    1. JavaScript needs to fly from its comfy nest, and learn to survive on its own, on equal terms with other languages and run-times. It’s time to grow up, kid.
    2. For instance, those who prefer classical inheritance may enjoy the addition of the class keyword, while others may reject it as conflicting with the idea of a prototypical inheritance model.
    1. we used `backticks` to jump into native Javascript to use moment.js

      In regular Ruby, `` executes in a shell, but obviously there is no shell of that sort in JS, so it makes sense that they could (and should) repurpose that syntax for something that makes sense in context of JS -- like running native JavaScript -- prefect!

    1. 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.
    1. In his first message to Congress, issued in December 1889, President Benjamin Harrison, a Republican and a veteran of the Civil War, called on Congress to stop the disenfranchisement of Black voters in the South and to help “secure to all our people a free exercise of the right of suffrage.”

      The author first develops his claim by exclaiming how president Harrison advocated for African American rights and their justice. The author states that the republicans want Harrison to promote this bill mainly for the support they are receiving from African Americans. However, this decision by Harrison was a big influence on the Lodge Bill. Also, this develops debate of african american rights which is still discussed today.

    2. Division among Republicans allowed Democrats to take the initiative. They delayed debate on the bill until after the November midterm elections, where Democrats won control of the House.

      This is a shift in the article as the author was talking about how the bill was still up to debate and the support was split up evenly, but after this, everything went down for Lodge's bill and the democrat senators eventually succeeded. This shift signifies the author's main idea that a small minority has the ability to dictate the entire government using harmful methods such as filibustering.

    1. Uber::Option implements the pattern of taking an option, such as a proc, instance method name, or static value, and evaluate it at runtime without knowing the option's implementation.
    1. Our new feature, Total Cookie Protection, works by maintaining a separate “cookie jar” for each website you visit. Any time a website, or third-party content embedded in a website, deposits a cookie in your browser, that cookie is confined to the cookie jar assigned to that website, such that it is not allowed to be shared with any other website.
    1. A pride of lions on a fund-raising pitch can be relied on to bring in money that can be used to save the ground squirrel and the lilac-breasted rollers.Back when the restaurant ecosystem was functioning healthily, it had its charismatic megafauna, too.

      The similarities Pete points out between a wildlife ecosystem and a New York restaurant ecosystem serve to emphasize his point of how one major effect, COVID, can shut down multiple facets of the ecosystem. He does so by focusing on one word, megafauna, as he described the previous state of New York restaurants as having "charismatic megafauna".

  9. Feb 2021
    1. URI::MailTo::EMAIL_REGEXP

      First time I've seen someone create a validator by simply matching against URI::MailTo::EMAIL_REGEXP from std lib. More often you see people copying and pasting some really long regex that they don't understand and is probably not loose enough. It's much better, though, to simply reuse a standard one from a library — by reference, rather than copying and pasting!!

    1. The Track() function will snap the output to the next task that is “magnetic to” the track’s semantic.
    1. Trailblazer extends the conventional MVC stack in Rails. Keep in mind that adding layers doesn't necessarily mean adding more code and complexity. The opposite is the case: Controller, view and model become lean endpoints for HTTP, rendering and persistence. Redundant code gets eliminated by putting very little application code into the right layer.
    2. Trailblazer is no "complex web of objects and indirection". It solves many problems that have been around for years with a cleanly layered architecture.
    1. The idea of the script is this: most of the important logic runs in a subshell which is piped through tee and to a logfile, so I don't have to tee every single line of the main logic to get it all logged.
    1. When you don’t want to face the consequences of your actions as a lawmaker — when you’d rather demonize scapegoats than give answers — you fight a culture war.

      The author finally jumps to the overall purpose, goal, or claim of the essay: to criticize the government officials(specifically Republicans) for their inability to fix their problems and create distracting disputes instead.

    1. Record filters allow you to require an instance of a particular class (or one of its subclasses) or a value that can be used to locate an instance of the object. If the value does not match, it will call find on the class of the record. This is particularly useful when working with ActiveRecord objects.
    1. The fact that one of our two national parties would stick with a leader who dispatched a mob to ransack the Capitol in hopes of overturning our last election is an acute national problem — a cancer, in fact

      This provides another central idea. It is not just about how Trump affected America during his presidency, but the future after it. He compares it to cancer, a metaphor that portrays the gravity of the situation. He also shows that he considers the Trump situation as worse than any of the other situations discussed by calling this an international emergency while deer and SF were local.

    2. That is a lot like Trump and his followers, whose attachment to him has become so cultlike that every other Republican leader knows that challenging Trump is potential political suicide. The result: He, too, has no serious predators

      The writer makes his second main claim in the article. He shows why Trump had as much power as he did and why no one was taking action against him. He builds on how this negatively harmed the country. He beautifully makes a metaphor to the deer, for the deer would be Trump and the garden it ruined would be America

    3. That is a lot like Trump and his followers, whose attachment to him has become so cultlike that every other Republican leader knows that challenging Trump is potential political suicide. The result: He, too, has no serious predators

      This post further emphasizes the analogy of Trump's presidency to the deer. He introduces the central idea that Trump's immense power is partly due to the American people. No one truly took action against Trump, and the Republican party for the most part, protected him. This allowed him to act "stupid" as he said in the previous paragraph.

    1. As I reported in #10, error keys get duplicated and we should namespace them. This code behaves right like AR::Base accept_nested_attributes
    1. Jan 2021. I use a small, dedicated enterprise grade SSD as a swap drive. These enterprise drives can be bought for as little as $80 for 240GB right now, and are 3D nand with load leveling and other valuable improvements for swap. By using the drive only for swap, you pretty much guarantee it won’t affect your expensive terabyte level data drive should it fail, and you still get the performance of SSD. Estimates for very heavy use are about 2 1/2 years.
  10. Jan 2021
    1. A Longform, Media-Rich Narrative

      I think that this would be a neat way to capture and share the experience of work-life balance (or imbalance) of those students who have been instructed to quarantine by capturing their thoughts on trying to continue being a student while living with the stresses of being in quarantine.

    2. A Network Visualization:

      I think that this project type would be useful for examining the politics of citation in journals, topic areas, and/or disciplines. I know this was a topic of discussion at one of the Communication conferences I went to in Fall 2019 and producing a network visualization would be a useful way to help those who disagreed or were skeptical be able to visualize the problem being discussed.

    3. A Gallery of Primary Sources: Making the History of 1989

      I can see myself doing this project type for making a course page based on a syllabus I started for a project in a course I took in the fall. Creating something like this would make the proposal for the class stronger and would be a useful tool in the classroom if I were to get approved to teach the course.

    1. 顧客情報に機械学習と予測分析を使用して、今後生まれてくるニーズを予測する。そして、その予測に基づいて商品やサービスを顧客に提案する。顧客情報には連絡先の詳細情報の他、事故履歴やライフスタイルの変化などが含まれる。

      やることはあまり変わらない

    1. Zappos created models to predict customer apparel sizes, which are cached and exposed at runtime via microservices for use in recommendations.

      There is another company named Virtusize who is doing the same thing like size predicting or recommendation

    1. Maybe $$slots like $$props? My use case is that I'd like to wrap a slot's content in an element that applies styling that I'd like absent without the slotted content. Something like this: {#if $$slots.description} <div class="description"> <slot name="description"></slot> </div> {/if}
    2. The CardLayout creates a store in context and the Card creates a standardized div container and registers it to the store so that the CardLayout has access to that DOM element. Then in afterUpdate you can move the DOM elements into columns and Svelte will not try to put them back where they go. It's a bit messy but it works.
    3. I think that maybe instead of using the prefixed $$ globals, a more "natural" solution could look something like this: import { slots, props, parent } from '@component';
    1. Small components can set the size of their corner shape using a percentage of the absolute height of the component. This means the corner shape will change as the component height changes.
    1. To explain further what exactly I’m building, the animated background is a pure code equivalent to the old music video, but runs as long as the full length of the album, though without any event triggers to tie it to the music (the animation runs continuously for the full amount of time that the uninterrupted album lasts, but does not pause or jump to a different location in the animation). It’s also extremely slow animation
    2. Some may feel that the presence of the download attribute is redundant when applied to links the browser already knows to store. I disagree.
  11. Dec 2020
    1. The only solution that I can see is to ensure that each user gets their own set of stores for each server-rendered page. We can achieve this with the context API, and expose the stores like so: <script> import { stores } from '@sapper/app'; const { page, preloading, session } = stores(); </script> Calling stores() outside component initialisation would be an error.

      Good solution.

    1. Preload functions are typically used to load data that the page depends on, hence its name. This avoids the user seeing the page update as it loads, as is typically the case with client-side loading.
    1. Say I have a separate API server that provides content for a Sapper route. I could just query that API in my route's preload function, but if the content changes rarely, I don't want to incur that cost for every page load and would much rather cache responses from the API on the Sapper side.
  12. icla2020b.jonreeve.com icla2020b.jonreeve.com
    1. It’s when it’s all over that you’ll miss him,

      I find it really interesting that there are quotes like this in the text, which are used a lot even today by a lot of people. It would be a good topic for the paper, to find quotes like that throughout the text and see how many of them are in each story.

    1. # fix a bug in one of your dependencies vim node_modules/some-package/brokenFile.js # run patch-package to create a .patch file npx patch-package some-package

      I love how directly this allows you to make the change -- directly on the source file itself -- and then patch-package does the actual work of generating a patch from it. Brilliant.

    1. Maybe something more neutral just meaning a virtual element / no-element container would better express the intention? And regarding the syntax, maybe it would also feel less repetitive / boilerplaty than <svelte:slot slot="name" />... Maybe something like <svelte:fragment slot="name"> or <svelte:virtual slot="name">?
    1. With the caveat that hero worship can be gross, distorting, and unhelpful to everyone involved, Svelte author Rich Harris (@rich_harris on Twitter) is one of my favorite open source developers. In the JS community he’s well-known among tool authors for spreading interesting ideas. He’s the creator of many open source projects including Rollup, the bundler of choice for many libraries including React and Vue.
  13. Nov 2020
    1. gentrifying neighborhoods were generally morediverse when it came to income, race, and education as opposed to non-gentrifyingneighborhoods

      gentrification == more diversity when everyone's large concern is that gentrification == less or decreased diversity

    Tags

    Annotators

    1. I think that you need to be able to get compound interest on your thoughts. Good ideas come from when ideas have sex: the intersection of different things that you’ve been reading or different things you’ve been seeing. So you can have better ideas faster if you are actually reviewing the old things and you are building up. You’re not throwing away work.

      Good ideas come when ideas meet, so it is beneficial to promote this.

    1. That said, supporting this syntax on elements as well as components could make sense.
  14. Oct 2020
    1. Some apps are free to download while some charge money. This is the simplest revenue model that you can go with. Create an exceptional app and charge a one-time fee or a yearly subscription for the app

      There are several ways to monetize an app. It all depends on the financial conditions and the general mindset of your target audience. By studying your audience, you’ll find the best way to make money from your app idea.

    1. Restart from scratch. Create a new program, adding in only what is needed to see the problem. Use simple, descriptive names for functions and variables – don’t copy the names you’re using in your existing code.
    2. Divide and conquer. If you’re not sure what the source of the problem is, start removing code a bit at a time until the problem disappears – then add the last part back.
    1. This would be like an executable proposal. I understand that it's beyond the original intent of having canonical patterns on the Svelte site, but it would facilitate the community to express their own patterns. Now that we have markdown preprocessors , the documentation itself can be an app.
    2. I'm suggesting that the cookbook apps be self-contained & forkable. 3rd parties could host their own cookbook recipes, possibly using a forked cookbook from an already established pattern.
    1. The contrast between these two responses reveals a shift from projection onto an object to engagement with a subject

      how do you differentiate the lien between projection between an object and engagement to a subject

    2. human habit of making assump-tions based on perceptions of behavior

      in what other ways is this concept being used?

    3. people did not care if their life narratives were really understood. The act of telling them created enough meaning on its own

      just having something on the other end "listening" was very important to the majority of the students

    4. trust in Eliza did not speak to what they thought Eliza would understand but to their lack of trust in the people who would understand.

      talking to a machine because if it weren't a machine, can't trust the type of feedback or what were to come after

    5. human purposes of believable digital companions that are evocative but not authentic.

      evocative because to get any relation from robot you have to think about yourself and it is stimulating, however, it lacks authenticity because there is no sense of loss other than loss of self

    6. These questions ask what we will be like, what kind of people we are be-coming as we develop increasingly intimate relationships with machines

      brings to light an idea of how will we be affected by technology vs how will tech develop? leads into how can the design and approach to tech differ

    7. The questions raised by relational artifacts are not so much about the machines’ capabilities but our vulnerabilities — not about whether the objects really have emotion or intelligence but about what they evoke in us

      similar to abstract art and how art impacts us. What do we take away from all of this

    Tags

    Annotators

    1. Question: 246 years of disorentation. what is the startsof this disorentation?

      • education system in U.S is only MADE for white ppl --> BLACK ppl confuse; wanting to know more of their history.
    1. we must be prepared to act upon our interpretation of what is in the best interest of black people, that is, black people as an historically oppressed population. This is the fundamental necessity for advancing the political process.

      Adopting this kind of philosphical mindset help you value african history a different way.

    2. Afrocentricity becomes a revolutionary idea because it studies ideas, concepts, events, personalities, and political and economic processes from a standpoint of black people as subjects and not as objects, basing all knowledge on the authentic interrogation of location.

      Basically afrocen. Amer. history in the black POV

    1. strict-origin: Only send the origin of the document as the referrer when the protocol security level stays the same (e.g. HTTPS→HTTPS), but don't send it to a less secure destination (e.g. HTTPS→HTTP).
  15. Sep 2020
    1. From npm@5.2.0, npm ships with npx package which lets you run commands from a local node_modules/.bin or from a central cache.
    2. By default, npx will check whether <command> exists in $PATH, or in the local project binaries, and execute that. Calling npx <command> when <command> isn't already in your $PATH will automatically install a package with that name from the NPM registry for you, and invoke it. When it's done, the installed package won’t be anywhere in your globals, so you won’t have to worry about pollution in the long-term. You can prevent this behaviour by providing --no-install option.
    1. The @const indicates that the value is read-only (i.e. it cannot be assigned to or mutated in an expression such as an event handler), and communicates, through its similarity to const in JavaScript, that it only applies to the current scope (i.e. the current block or element).
  16. medium.com medium.com