140 Matching Annotations
  1. Last 7 days
    1. ReconfigBehSci. (2020, November 18). @danielmabuse yes, we all make mistakes, but a responsible actor also factors the kinds of mistakes she is prone to making into decisions on what actions to take: I’m not that great with my hands, so I never contemplated being a neuro-surgeon. Not everyone should be a public voice on COVID [Tweet]. @SciBeh. https://twitter.com/SciBeh/status/1329002783094296577

  2. Apr 2021
    1. The role of the terminal emulator process is:

      Shows the relationship between a "terminal emulator" and a pseudoterminal, as alluded to in the intro:

      is a pair of pseudo-devices, one of which, the slave, emulates a hardware text terminal device, the other of which, the master, provides the means by which a terminal emulator process controls the slave.

    1. Although echo "$@" prints the arguments with spaces in between, that's due to echo: it prints its arguments with spaces as separators.

      due to echo adding the spaces, not due to the spaces already being present

      Tag: not so much:

      whose responsibility is it? but more: what handles this / where does it come from? (how exactly should I word it?)

  3. Mar 2021
    1. The elimination of what is arguably the biggest monoculture in the history of software development would mean that we, the community, could finally take charge of both languages and run-times, and start to iterate and grow these independently of browser/server platforms, vendors, and organizations, all pulling in different directions, struggling for control of standards, and (perhaps most importantly) freeing the entire community of developers from the group pressure of One Language To Rule Them All.
  4. afarkas.github.io afarkas.github.io
    1. Webshim is also more than a polyfill, it has become a UI component and widget library. Webshim enables a developer to also enhance HTML5 capable browsers with more highly customizable, extensible and flexible UI components and widgets.

      And now that it's deprecated (presumably due to no longer needing these polyfills), not only do the polyfills go away (no longer maintained), but also these unrelated "extras" that some of us may have been depending on are now going away with no replacement ...

      If those were in a separate package, then there would have been some chance of the "extras" package being updated to work without the base webshims polyfills.

      In particular, I was using $.webshims.addCustomValidityRule which adds something that you can't do in plain HTML5 (that I can tell), so it isn't a polyfill...

    1. Using ::delegates works exactly like the Forwardable module in Ruby, with one bonus: It creates the accessors in a module, allowing you to override and call super in a user module or class.
  5. Feb 2021
    1. Maintaining the builds of your repositories should be everyone’s job. Instead of relying on that one build person in the team, Travis CI makes infrastructure and configuration a team responsibility.
    1. An endpoint links your routing with your business code. The idea is that your controllers are pure HTTP routers, calling the respective endpoint for each action. From there, the endpoint takes over, handles authentication, policies, executing the domain code, interpreting the result, and providing hooks to render a response.
    1. I am a delegation junkie. Whenever possible, I assign tasks and responsibilities originally assigned to me onto others.
    2. In the classroom, I delegate responsibilities to my students at a rate that astounds people. There is almost nothing that I will not allow my students to do, including teaching my lessons whenever possible. My students take full and complete ownership of the classroom, whether they like it or not, and as a result, they possess great ownership of their learning.
    3. They fail to understand the importance of autonomy when delegating responsibilities.
    4. They lack faith in the capacity of others.
    1. One of the main reasons to work with components is re-usability and portability, but also a delegation of responsibilities. Adding a component should be as easy as simply adding the component without having to know the inner workings (or markup) of this component. A consumer should only be aware of the properties, methods and events of a component. In order to style a child component one has to be aware of the markup as well, which violates this 'delegation of responsibility'-principle.
    1. with ActiveForm-Rails, validations is the responsability of the form and not of the models. There is no need to synchronize errors from the form to the models and vice versa.

      But if you intend to save to a model after the form validates, then you can't escape the models' validations:

      either you check that the models pass their own validations ahead of time (like I want to do, and I think @mattheworiordan was wanting to do), or you have to accept that one of the following outcomes is possible/inevitable if the models' own validations fail:

      1. if you use object.save then it may silently fail to save
      2. if you use object.save then it will fail to save and raise an error

      Are either of those outcomes acceptable to you? To me, they seem not to be. Hence we must also check for / handle the models' validations. Hence we need a way to aggregate errors from both the form object (context-specific validations) and from the models (unconditional/invariant validations that should always be checked by the model), and present them to the user.

      What do you guys find to be the best way to accomplish that?

      I am interested to know what best practices you use / still use today after all these years. I keep finding myself running into this same problem/need, which is how I ended up looking for what the current options are for form objects today...

    2. Trust me, I thought a lot about #validate and its semantics, and I am gonna make it even more "SRP" by making Form#errors and #valid? semi-public. All that happens via #validate reducing the possible wrong usage for users.
    3. About #validate which fill attributes of the form, I think it's a problem of architecture and clarity. If you respect the Single Responsabilty Principle, you must to have two methods. This is wrong. SRP means your class does exactly one thing, which is reflected in a single public method. The more methods you expose, the less SRP you go.
    4. About #validate which fill attributes of the form, I think it's a problem of architecture and clarity. If you respect the Single Responsabilty Principle, you must to have two methods. The validate method do two thing really different.
    1. Now let me ask you, do you write JS for a single page application differently from a "traditional" web application? I sure hope you do! In a "traditional" application, you can get away with being sloppy because every time the user navigates to a new page, their browser destroys the DOM and the JavaScript context. SPAs, though, require a more thoughtful approach.
    2. where's the code that unloads the table-sorter plugin when the page unloads? There isn't any. There didn't need to be back in the day because the browser handled the cleanup. However, in a single-page application like Turbolinks, the browser doesn't handle it. You, the developer, have to manage initialization and cleanup of your JavaScript behaviors.
    3. When people try to port traditional web apps to Turbolinks, they often run into problems because their JS never cleans up after itself.
    4. All Turbolinks-friendly JavaScript needs to: Initialize itself when a page is displayed Clean up after itself before Turbolinks navigates to a new page.
  6. Jan 2021
    1. They can tackle all aspects of a problem, from initial data collection and data conditioning to drawing conclusions. They can think outside the box to come up with new ways to view the problem, or to work with very broadly defined problems: ‘here's a lot of data, what can you make from it?’"

      Data scientists are not just hired to mine and run the data, they are also making the decisions that the data has directed them to. They can do this by making data visuals to show their colleagues that will lead to the best decisions for the company.

  7. Dec 2020
    1. Or maybe a better standard was in the humanitarian world. “There’s a core ethical principle called the responsibility to protect, which is about organizations having a primary responsibility to protect their own personnel,” said Abramowitz. “What’s very clear is that many teachers are distrustful because they have been in deeply unsafe situations for a very long time.” Teachers are asked to deal with school shootings, violent children, aggressive adults, poverty, online bullying—a host of complex social problems that aren’t part of their job description, she said. “Educators are so abandoned, they no longer trust in their own system to protect them.
    1. it focuses on compiling non-standard language extensions: JSX, TypeScript, and Flow. Because of this smaller scope, Sucrase can get away with an architecture that is much more performant but less extensible
  8. Nov 2020
    1. Svelte by itself is great, but doing a complete PWA (with service workers, etc) that runs and scales on multiple devices with high quality app-like UI controls quickly gets complex. Flutter just provides much better tooling for that out of the box IMO. You are not molding a website into an app, you are just building an app. If I was building a relatively simple web app that is only meant to run on the web, then I might still prefer Svelte in some cases.
    1. anyone else can challenge those boundaries
    2. in outsourcing is that we’ve placed the outsourced activities outside of our control, but they’re still inside our ‘boundary of identity’ – what others see and experience as ‘us

      This is one of the reasons why I was hesitating in the past years to offer bundled services in domain where I lack the necessary capabilities (e.g. act like a software development studio/agency, without know how to code & test code).

      Many years ago I was thinking about this that if way too many core variables are outside of my control (or our control as a team), there's no way to take responsibility for the results/outcomes (e.g. accepting a revenue-sharing-like agreement).

  9. Oct 2020
    1. The great ones have a thought pro-cess, philosophy and habit all rolled into one that overshadows the rest: I am responsible.
    1. Take responsibility for your outgoing network traffic If you install software that interacts with other sites over the network, you should be aware how it works and what kind of traffic it generates. If it has the potential to make thousands of requests to other sites, make sure it uses an HTTP cache to prevent inflicting abuse on other sites.
    2. Identify your user agents When deploying software that makes requests to other sites, you should set a custom User-Agent header to identify the software and provide a means to contact its maintainers. Many of the automated requests we receive have generic user-agent headers such as Java/1.6.0 or Python-urllib/2.1 which provide no information on the actual software responsible for making the requests.
    1. One of the primary tasks of engineers is to minimize complexity. JSX changes such a fundamental part (syntax and semantics of the language) that the complexity bubbles up to everything it touches. Pretty much every pipeline tool I've had to work with has become far more complex than necessary because of JSX. It affects AST parsers, it affects linters, it affects code coverage, it affects build systems. That tons and tons of additional code that I now need to wade through and mentally parse and ignore whenever I need to debug or want to contribute to a library that adds JSX support.
    1. Instead of using classes and local state, Deku just uses functions and pushes the responsibility of all state management and side-effects onto tools like Redux.
    1. A class should only have a single responsibility, that is, only changes to one part of the software's specification should be able to affect the specification of the class.
  10. Sep 2020
    1. But this is only a halfway decent way to clarify that this is an external dependency, because the only way to resolve a peer dependency warning is to install react from npm—there's no way to notify npm that you resolve the dependency to a browser global. So peer dependencies should be avoided in favor of external declarations. Then Rollup will take care of warning about "unresolved dependencies", even if external declarations can't express a particular version range with which your library is compatible like peer dependencies can.

      Interesting. Didn't realize. From my perspective, I usually do install packages via npm, so wouldn't have known about this problem.

      npm and rollup both try to solve this problem but in different ways that apparently conflict? So if a lib author lists peerDependencies then it can cause problems for those getting lib via browser (CDN)? How come so many libs use it then? How come I've never heard of this problem before?

    1. Then, the projects that use these libraries get to process these import statements how they like when they are bundled. For the ones that wish to load jQuery from a global, we again mark 'jquery' as an external—since we still don't want Rollup to bundle jQuery—and as a global.
    1. The RFC is more appropriate because it does not allow a parent to abritrarily control anything below it, that responsibility still relies on the component itself. Just because people have been passing classes round and overriding child styles for years doesn't mean it is a good choice and isn't something we wnat to encourage.
    2. margin, flex, position, left, right, top, bottom, width, height, align-self, justify-self among other is CSS properties that should never be modified by the child itself. The parent should always have control of those properties, which is the whole reason I'm asking for this.
    1. You must: reference each element you are extending using refs or an id add code in your oncreate and ondestroy for each element you are extending, which could become quite a lot if you have a lot of elements needing extension (anchors, form inputs, etc.)
    2. This is where hooks/behaviors are a good idea. They clean up your component code a lot. Also, it helps a ton since you don't get create/destroy events for elements that are inside {{#if}} and {{#each}}. That could become very burdensome to try and add/remove functionality with elements as they are added/removed within a component.
    1. I don’t want my source to be human-readable, not for protective reasons, but because I care about web performance more. I want my website to arrive at light speed on a tiny spec of magical network packet dust and blossom into a complete website. Or do whatever computer science deems is the absolute fastest way to send website data between computers. I’m much more worried about the state of web performance than I am about web education. But even if I was very worried about web education, I don’t think it’s the network’s job to deliver teachability
  11. Aug 2020
    1. I don't think it should be the individual application's responsibility to add Cache-Control: Vary when that negotiation/routing is done by Rails on behalf of the app, do you?
    2. At a certain point it is up to the application to specify when they're varying.
  12. Jul 2020
  13. Jun 2020
  14. May 2020
    1. Monitor what others are doing on your behalf.Even if you’ve out-sourced your email marketing to another company, the law may hold both you and the other company responsible.
  15. Apr 2020
    1. Other sites could absolutely spend time crawling for new lists of breached passwords and then hashing and comparing against their own. However this is an intensive process and I'm sure both Facebook and Google have a team dedicated to account security with functions like this.
    2. Ultimately it comes down to how much time and money you can dedicate to keeping your users' accounts secure versus how important it is to do so. Google and Facebook accounts sit at the centre of many users' internet lives and would be devastating to use. Same for most email accounts.
    1. Without passing any judgement on any third party developers, we have to advise people to never enter their 1Password Master Passwords into anything other than 1Password. I have no reason to doubt the integrity or competence of these third party developers, and RogueLazer’s project is even open-source. But it would be irresponsible for us to do anything other than advise you never to give your 1Password Master Password to anyone or any other application.
    1. Covid-19 is an emergency on such a huge scale that, if anonymity is managed appropriately, internet giants and social media platforms could play a responsible part in helping to build collective crowd intelligence for social good, rather than profit
  16. Mar 2020
    1. Furthermore, one should also consider that **publishers – a category including natural persons and SMEs – are often the “weaker” party in this context.** Conversely, third parties are usually large companies of substantial economic import that work as a rule with several publishers, so that one publisher may often have to do with a considerable number of third parties.
    2. Our solution goes a bit further than this by pointing to the browser options, third-party tools and by linking to the third party providers, who are ultimately responsible for managing the opt-out for their own tracking tools.
    3. You are also not required to manage consent for third-party cookies directly on your site/app as this responsibility falls to the individual third-parties. You are, however, required to at least facilitate the process by linking to the relevant policies of these third-parties.
  17. Jan 2020
    1. Arel’s responsibility is SQL query construction and optimization, and it knows very little about ActiveRecord’s Models and nothing about the database. Arel provides the basic building blocks for ActiveRecord.
  18. Oct 2019
  19. Jun 2019
  20. Apr 2019
    1. https://www.9news.com.au/national/60...b-32168ef9b440 A 60 Minutes investigation has revealed that Australia’s attempts to ethically recycle are falling short, causing harm offshore for our international “dumping ground.” Australia has earned the unfortunate title of one of the world’s most wasteful nations, and as our waste crisis worsened the importance of recycling was drilled into the nation. We were encouraged to reduce, reuse, recycle, in a desperate bid to clean up the country. But as 60 Minutes reporter Liam Bartlett revealed, the reality is that much of the public’s efforts to recycle the huge amounts of plastic we consume are often a waste of time. 60 Minutes has tracked mixed plastic waste - the material assumed easiest to salvage and re-use - from the recycling bins of Australian suburbs to dozens of illegal processing sites in Malaysia, where our discarded plastics often end up being dumped, buried or even burned. It’s turned Malaysia into Australia’s dumping ground, with dire consequences including contamination of drinking water and air pollution. Despite so many Australians diligently separating plastics from their general waste and placing it in their recycling bins, very little reprocessing of mixed plastic is happening on home soil - with the exception of milk bottles and soft drink bottles which have a discrete market. Haydn Breheny, who runs a recycling business for industry waste in south-east Melbourne, revealed to 60 Minutes that when plastic arrives at his warehouse, if it can’t be sold to Asian markets then it can’t actually be recycled here in Australia and just ends up in the tip. “Morally, you want to do something for it,” he told Bartlett. “But if I can't get rid of it, what am I meant to do? Eat it myself?” For the last two decades, Australia’s recycling industry has been dependent on China – which had been taking a staggering 125,000 tonnes of our plastic waste every year, sorting it by hand with low labour costs and melting it down into new plastic products to be sold back to us and the rest of the world. But in January 2018 China effectively closed its doors, citing environmental concerns. The decision threw the world’s recycling industry into a tailspin as nations, including Australia, scoured the globe for new buyers. They found them in Southeast Asia, Malaysia in particular, where hundreds of Chinese operators quickly relocated to set up factories, often illegally. These dodgy businessmen then proceeded to buy as much foreign trash as they could get their hands on. Almost overnight Malaysia overtook China as the world’s largest importer of plastic rubbish. Australia alone has dumped more than 71,000 tonnes of it in just 12 months and it’s helping fuel a criminal underworld in plastic recycling, harming the environment and the people of Malaysia. Malaysia’s Environment Minister Yeo Bee Yin has shut down no less than 150 illegal factories since July last year, but admits her country doesn’t have the resources to properly police the unlawful trade in plastic waste. “I want to send [plastic waste] all back to the counties of origin,” the Minister said. “And have to really ask you to solve your own problem.” Because of this, Malaysia has imposed harsher restrictions on imports and new permits. The Minister warned 60 Minutes it’s only the beginning – Malaysia’s doors will soon close on Australian rubbish for good. “I do not blame ordinary Australians,” she told Bartlett. “I think most of the people do not know this is happening. But, now we know that this is happening, we need the solution.”

      Australia needs to manage its own waste. This is an irresponsible and dumb practice.

    1. Two concepts that I’ve been thinking about a lot lately are guilt and responsibility. When it comes to racism in America, I think that guilt and responsibility tend to be seen as more or less the same thing. But I’m beginning to understand how there’s a real difference. As white people, are we guilty for the sins of our forefathers? No, I don’t think so. But are we responsible for them? Yes, I believe we are.
  21. Mar 2017
    1. I am older than most of you. I don’t have time for this if it’s just another System B in disguise.
    2. Is it even possible to have a System A that arises from our own or other’s codings? How will we know that we have not deluded ourselves, that we are so invested in the time and energy and pride of creation that we fall into the sinkhole of bias and blindspot?

      Yer pays yer money and you takes yer choice.

      There is no certainty. Even a well meant action can turn into horror - NB Robespierre.

      http://tachesdesens.blogspot.fr/2016/04/loveterror-and-forgiving.html

    3. Question: are the facilitators and leaders and participants here outsiders or are they ‘rearrangers’? Are we cozy web makers or are we punks? Fuse lit.

      identity

      Can we separate the two extremes ever?

      Unless we are victims or perpetrators...

  22. Sep 2016
    1. Application Modern higher education institutions have unprecedentedly large and detailed collections of data about their students, and are growing increasingly sophisticated in their ability to merge datasets from diverse sources. As a result, institutions have great opportunities to analyze and intervene on student performance and student learning. While there are many potential applications of student data analysis in the institutional context, we focus here on four approaches that cover a broad range of the most common activities: data-based enrollment management, admissions, and financial aid decisions; analytics to inform broad-based program or policy changes related to retention; early-alert systems focused on successful degree completion; and adaptive courseware.

      Perhaps even more than other sections, this one recalls the trope:

      The difference probably comes from the impact of (institutional) “application”.

    2. Responsible Use

      Again, this is probably a more felicitous wording than “privacy protection”. Sure, it takes as a given that some use of data is desirable. And the preceding section makes it sound like Learning Analytics advocates mostly need ammun… arguments to push their agenda. Still, the notion that we want to advocate for responsible use is more likely to find common ground than this notion that there’s a “data faucet” that should be switched on or off depending on certain stakeholders’ needs. After all, there exists a set of data use practices which are either uncontroversial or, at least, accepted as “par for the course” (no pun intended). For instance, we probably all assume that a registrar should receive the grade data needed to grant degrees and we understand that such data would come from other sources (say, a learning management system or a student information system).

  23. Aug 2016
    1. Page 2

      Borgman on the responsibility of rears to assess reliability and the ability of content creators to have control over their work:

      these are exciting and confusing times for scholarship. The proliferation of digital content allows new questions to be asked in new ways, but also results unduplication and dispersion. Authors can disseminate their work more widely by posting online, but readers have the additional responsibility of assessing trust and authenticity. Changes in intellectual property laws give Pharmacontrol to the creators of digital content that was available for printed comment, but the resulting business models often constrain access to scholarly resources. Students acquire an insatiable appetite for digital publications, and then find an graduation that they can barely sample them without institutional affiliations.

  24. Jun 2016