150 Matching Annotations
  1. Last 7 days
  2. Apr 2021
    1. I LOVE the hover effects for the book covers on this site which is also a great example of someone collecting highlights/annotations of the books they read and hosting them in public on their personal website.

      Melanie has written about the CSS part of the hover effect here: https://melanie-richards.com/blog/highlights-minisite/ and like all awesome things, she's got the site open at https://github.com/melanierichards/highlights. I may have to do some serious digging for figuring out how she's creating the .svg images for the covers though.

  3. Mar 2021
    1. The United States has no real answer to these challenges, and no wonder: We don’t have an internet based on our democratic values of openness, accountability, and respect for human rights. An online system controlled by a tiny number of secretive companies in Silicon Valley is not democratic but rather oligopolistic, even oligarchic.

      Again, a piece that nudges me to thing that a local-based IndieWeb provider/solution would be a good one. Either co-op based, journalism-based, or library-based.

    1. I want the patina of fingerprints, the quiet and comfortable background hum of a library.

      A great thing to want on a website! A tiny hint of phatic interaction amongst internet denizens.

    1. A news co-op is a news organization owned by its readers, whose membership fees pay for open access journalism – no paywall – usually organized as nonprofits (an IRS rule-change lets for-profit newspaper convert to nonprofits).

      I'm sort of wishing that we could also have social media co-ops. I suspect that there are a few on Mastodon that operate like this, but it would be interesting to see some focused around in-person communities as well.

      Why couldn't my local library run a town/city-based social media co-op?

      For this matter, why couldn't my local news co-op also run it's own social media platform?

    1. Amazon is making many books exclusive to their platform and not allowing libraries digital access.

      Maybe worth looking at what they're doing and how those practices mirror those of academic journal publishing for creating monopolies.

    1. But I believe the core philosophy of tiny modules is actually sound and easier to maintain than giant frameworks.
    2. he goes on to talk about third party problems and how you're never guaranteed something is written correctly or that even if it is you don't know if it's the most optimal solution
    3. "Functions Are Not Packages" - Well why not?
    4. Small modules are extremely versatile and easy to compose together in an app with any number of other modules that suit your needs.
    5. Write modules that are small. Iterate quickly.
  4. Feb 2021
    1. The bare bones operation without any Trailblazery is implemented in the trailblazer-operation gem and can be used without our stack.
    2. While Trailblazer offers you abstraction layers for all aspects of Ruby On Rails, it does not missionize you. Wherever you want, you may fall back to the "Rails Way" with fat models, monolithic controllers, global helpers, etc. This is not a bad thing, but allows you to step-wise introduce Trailblazer's encapsulation in your app without having to rewrite it.
    3. Only use what you like.
    4. you can pick which layers you want. Trailblazer doesn't impose technical implementations
    1. {a: 1, b: 2, c: 3, d: 4} => {a:, b:, **rest} # a == 1, b == 2, rest == {:c=>3, :d=>4}

      equivalent in javascript:

      {a, b, ...rest} = {a: 1, b: 2, c: 3, d: 4}
      

      Not a bad replacement for that! I still find javascript's syntax a little more easily readable and natural, but given that we can't use the same syntax (probably because it would be incompatible with existing syntax rules that we can't break for compatibility reasons, unfortunately), this is a pretty good compromise/solution that they've come up with.

    1. I can even imagine a distant future where governments might sponsor e.g. social networking as a social service. I know many people don’t trust their governments, but when it comes down to it they’re more likely to be working in people’s interests than a group of unelected tech barons responsible only to their shareholders at best, or themselves in the cases where they have dual class stock with unequal voting rights, or even their families for 100s of years.

      Someone suggesting government run social media. There are potential problems, but I'm definitely in for public libraries doing this sort of work/hosting/maintenance.

  5. Jan 2021
  6. Dec 2020
    1. Best Android Libraries

      We have written this article for app developers who are interested in the creation of Android Apps utilizing the latest of libraries and contributing their best towards the Android App Development Company .

  7. Nov 2020
    1. Is there any service that does this sort of alert when my library gets a book I want?

      Not quite the functionality you're looking for, but in the same sort of vein as WorldCat:

      Library Extension is a browser extension that works on Amazon, Goodreads (and possibly other book sites) that allows you to register your favorite local libraries, and when you look up books on those services, it automatically searches and shows you which are available at your local library. One click and you can usually download or reserve a copy quickly for pick up.

    1. Converting Angular components into Svelte is largely a mechanical process. For the most part, each Angular template feature has a direct corollary in Svelte. Some things are simpler and some are more complex but overall it's pretty easy to do.
    1. There's not much we can do there. It's not possible for a Svelte component to inspect another Svelte component and check if it exposes any prop
    2. I understand this is not ideal, but sadly this is not something we can change as it's how Svelte works.
  8. Oct 2020
    1. “The whole issue of this negotiation [between libraries and publishers] over the last decade derives from a place where libraries have almost no rights in the digital age,” says Alan Inouye, the senior director of public policy and government relations at the American Library Association. “In the longer run, there needs to be a change in the environment or in the game. That means legislation or regulation.”

      If libraries, as government arms, were to band together collectively, they'd have increased buying leverage. Perhaps this is what they should be attempting?

    1. Doing so also means adding empty import statements to guarantee correct order of evaluation of modules (in ES modules, evaluation order is determined statically by the order of import declarations, whereas in CommonJS – and environments that simulate CommonJS by shipping a module loader, i.e. Browserify and Webpack – evaluation order is determined at runtime by the order in which require statements are encountered).

      Here: dynamic loading (libraries/functions) meaning: at run time

    1. In a browser, deep-diff defines a global variable DeepDiff. If there is a conflict in the global namespace you can restore the conflicting definition and assign deep-diff to another variable like this: var deep = DeepDiff.noConflict();.
    1. 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?

    1. We are beginning a renovation of our main library at Northeastern University, Snell Library, and have been talking with architects (some of them very well-known), and I’ve found the discussions utterly invigorating. I would like to find some way to blog or newsletter about the process we will go through over the next few years, and to think aloud about the (re)design and (future) function of the library. I’m not sure if that should occur in this space or elsewhere, although the thought of launching another outlet fills me with dread. Let me know if this topic would interest you, and if I should include it here.

      Definitely interesting. Please include it here or on your main site!!!

    1. First up for me is adding my reading notes to the site.

      Curious to see what this looks like and how it may morph over time.

    1. use Xstate which offers a finite state machine that adheres to the SCXML spec­i­fi­ca­tion and provides a lot of extra goodness, including vi­su­al­iza­tion tools, test helpers and much more
  9. Sep 2020
    1. It's fashionable to dislike CSS. There are lots of reasons why that's the case, but it boils down to this: CSS is unpredictable. If you've never had the experience of tweaking a style rule and accidentally breaking some layout that you thought was completely unrelated — usually when you're trying to ship — then you're either new at this or you're a much better programmer than the rest of us.
    1. In mapbox.js you'll see this line: const key = {};We can use anything as a key — we could do setContext('mapbox', ...) for example. The downside of using a string is that different component libraries might accidentally use the same one; using an object literal means the keys are guaranteed not to conflict in any circumstance (since an object only has referential equality to itself, i.e. {} !== {} whereas "x" === "x"), even when you have multiple different contexts operating across many component layers.
  10. Aug 2020
  11. Jul 2020
  12. May 2020
    1. localForage is a JavaScript library that improves the offline experience of your web app by using an asynchronous data store with a simple, localStorage-like API. It allows developers to store many types of data instead of just strings.
  13. Apr 2020
    1. SDG STORIES: 1 Stories Available

      The Luis Ángel Arango Public Library send, through us the story "Bibliotecas para la paz". Previously I asked about that. Is possible published this story?

    2. library types

      We would try to actualize the information about library types because the web of the government only have a record of state public llibraries and we have more public libraries in the schools and universities apart from private organisations' libraries.

  14. Mar 2020
    1. Methods must be tested both via a Lemon unit test and as a QED demo. The Lemon unit tests are for testing a method in detail whereas the QED demos are for demonstrating usage.
  15. Feb 2020
  16. Jan 2020
  17. Dec 2019
  18. Nov 2019
  19. Oct 2019
    1. "Element" SelectorsEach component has a data-reach-* attribute on the underlying DOM element that you can think of as the "element" for the component.
  20. Sep 2019
  21. Aug 2019
  22. May 2019
    1. Moreover, digital collections can reorder themselves on the fly with interfaces that accommodate diverse audiences. The research interface for a fifth grader should not be the same as that for a professional historian. By starting off as virtual, the Obama library has the potential to rethink how we present, in multiple ways, the vast record of the presidency, to grade schoolers, amateur enthusiasts, casual browsers, and many others. Presidential libraries have always had those different audiences, but going digital-first can make this much more of a reality than a fixed physical space or the often fairly basic websites of existing libraries—all of which were designed for an age of laptops and desktop computers, now a poor baseline when most online visitors access these sites through their smartphone.

      This is an interesting point, but it also presupposes that some staff is going to be building these various interfaces. Who will that be? How will they be supported? It's a whole new level of administration that a library needs to face.

  23. Apr 2019
    1. Example (Before) A direct link to an article in Project Muse before the proxy URL has been added: https://muse.jhu.edu/journals/demography/v047/47.4.groen.pdf Example (After) A direct link to an article in Project Muse after the proxy URL has been added: http://eztncc.vccs.edu:2048/login?url=https://muse.jhu.edu/journals/demography/v047/47.4.groen.pdf 

      How will their proxy interfere with ours? Or h more generally?

    1. Linking to the article also allows the Library to track use and obtain data about the importance of a particular journal to the campus.  

      Another argument for linking.

    2. While there may be good reason to upload articles to the LMS, it is important to consider that doing so may mean that your students do not have the most recent version of the article. It is not unusual for publishers to make corrections or changes, such as adding supplementary material, to articles after initial publication.

      Argument for permalinks v downloads.

    1. The libraries recommend that you link articles from the library databases to your course in lieu of making the pdfs available.

      This seems the norm though not strictly enforced in practice. That is, libraries say this is what you should do, but profs keep PDFs of articles locally, etc.

  24. Dec 2018
    1. With a RIMS, librarians don’t just manage a collection of primary sources; they develop reports and metrics by curating metadata from all departments, making the library not only the go-to spot for information on campus, but also the go-to spot for information about the campus.  

      A great value prop for libraries in the OA era!

  25. Oct 2018
  26. Sep 2018
    1. This is known as the entry file.

      Key point

    2. When we use ng new the Angular CLI creates a new workspace for us.In our Angular workspace we are going to have two projects:A library projectThis is the library of components and services that we want to provide. This is the code that we could publish to npm for example.An application projectThis will be a test harness for our library. Sometimes this application is used as documentation and example usage of the library.

      Good ideas about what to do with the needed 'application' that we are forced to create just to create the library.

    1. When we’ve generated the library (ng generate library tvmaze ) Angular CLI modified the tsconfig.json in the root of our project by adding tvmaze to the paths entry.

      Read - this is how to fake a local library to be imported by TS as if it was in node_modules

    2. Why is that useful? It enables such service to be tree-shaken (removed form the production bundle if not used)

      Very important note - useful!

  27. Jul 2018
    1. The Committee on Coherence at Scale, sponsored by CLIR, analyzes emerging national-scale digital projects and their potential to help transform higher education in terms of scholarly productivity, teaching, cost-efficiency, and sustainability.

      Dormant (?) group focused on infrastructure from the POV of EDUs and libraries.

  28. Jun 2018
    1. The archival community needs game changers and iconoclasts. In some areas we need to directly challenge the established order and refuse to accept some practices and institutions as they currently stand. We need to show a willingness to adopt a DIY approach based on necessity; and we need to push ourselves forward, so we are seen and heard standing up for what we believe in (even those of us who consider ourselves introverts). Bring in the Clash or the Dead Kennedys and you get a strong sense of political and social justice. With Patti Smith comes a fusion of genres. With the Ramones at their best comes a stripped back, short, sharp shock. With riot grrrl comes a refusal to accept oppression based on gender, sexuality or class.

      This contains a some pretty good ideas around what 'a hacker in the archives' or 'archive hacking' might be.

  29. May 2018
    1. Indeed, the first Western librarians were members of religious orders

      I disagree with this statement. It is important to acknowledge the long-standing tradition of libraries themselves and their place in society before Christianity. Libraries were also often housed in religious spaces (such as the Mouseion in Alexandria), and people filling social roles that would evolve into the modern librarians have existed since the Sumerians, and there were people filling these roles in Western societies in the Classical world.