306 Matching Annotations
  1. Feb 2021
    1. My understanding of "programming to an interface" is different than what the question or the other answers suggest. Which is not to say that my understanding is correct, or that the things in the other answers aren't good ideas, just that they're not what I think of when I hear that term.
    2. Programming to an interface means that when you are presented with some programming interface (be it a class library, a set of functions, a network protocol or anything else) that you keep to using only things guaranteed by the interface. You may have knowledge about the underlying implementation (you may have written it), but you should not ever use that knowledge.
    3. If the program was important enough, Microsoft might actually go ahead and add some hack to their implementation so the the program would continue to work, but the cost of that is increased complexity (with all the ensuing problems) of the Windows code. It also makes life extra-hard for the Wine people, because they try to implement the WinAPI as well, but they can only refer to the documentation for how to do this, which leads to many programs not working as they should because they (accidentally or intentionally) rely on some implementation detail.
    4. Abstract myself from the how it does and get focus on what to do.
    5. Say you have software to keep track of your grocery list. In the 80's, this software would work against a command line and some flat files on floppy disk. Then you got a UI. Then you maybe put the list in the database. Later on it maybe moved to the cloud or mobile phones or facebook integration. If you designed your code specifically around the implementation (floppy disks and command lines) you would be ill-prepared for changes. If you designed your code around the interface (manipulating a grocery list) then the implementation is free to change.
    6. It's more like providing an Employee object rather than the set of linked tables you use to store an Employee record. Or providing an interface to iterate through songs, and not caring if those songs are shuffled, or on a CD, or streaming from the internet. They're just a sequence of songs.
    1. Flexbox's strength is in its content-driven model. It doesn't need to know the content up-front. You can distribute items based on their content, allow boxes to wrap which is really handy for responsive design, you can even control the distribution of negative space separately to positive space.
    1. There is one situation where iframes are (almost) required: when the contents of the iframe is in a different domain, and you have to perform authentication or check cookies that are bound to that domain. It actually prevents security problems instead of creating them. For example, if you're writing a kind of plugin that can be used on any website, but the plugin has to authenticate on another domain, you could create a seamless iframe that runs and authenticates on the external domain.
    1. I normally try to figure out if that's a good solution for the problem before resorting to iframes. Sometimes, however, an iframe just does the job better. It maintains its own browser history, helps you segregate CSS styles if that's an issue with the content you're loading in.
  2. Jan 2021
    1. Ubuntu also supports ‘snap’ packages which are more suited for third-party applications and tools which evolve at their own speed, independently of Ubuntu. If you want to install a high-profile app like Skype or a toolchain like the latest version of Golang, you probably want the snap because it will give you fresher versions and more control of the specific major versions you want to track.
    1. I can’t promise I’m explaining this 100% accurately, but the way I understand it, the minimum width of a grid column is auto.
  3. Nov 2020
    1. I wouldn't use Flutter for web, mobile is good though.
    2. It's super promising for web apps, just maybe not for web pages. I went from React to Svelte to Flutter for my current app project, and every step felt like a major upgrade.Flutter provides the best developer experience bar none, and I think it also has the potential to provide the best user experience. But probably only for PWAs, which users are likely to install anyway. Or other self-contained experiences, like Facebook games. It does have some Flash vibes, but is far more suitable for proper app development than Flash ever was while still feeling more like a normal website to the average user. It won't be the right choice for everything, but I believe it will be for a lot of things.
    1. obviously it's too late, but it's a good practice to keep the 3rd party dependencies mirrored in your own infrastructure :) There is NO GUARANTEE that even a huge site (like launchpad for downloading DEBs) won't go down over a period of time.
  4. Oct 2020
    1. To silence circular dependencies warnings for let's say moment library use: // rollup.config.js import path from 'path' const onwarn = warning => { // Silence circular dependency warning for moment package if ( warning.code === 'CIRCULAR_DEPENDENCY' && !warning.importer.indexOf(path.normalize('node_modules/moment/src/lib/')) ) { return } console.warn(`(!) ${warning.message}`) }
    1. Alfred Korzybski remarked that "the map is not the territory" and that "the word is not the thing", encapsulating his view that an abstraction derived from something, or a reaction to it, is not the thing itself.
    2. The map–territory relation describes the relationship between an object and a representation of that object, as in the relation between a geographical territory and a map of it.
  5. Sep 2020
    1. But because it is espoused by so many leading members of the JavaScript community, scrutiny is all too rarely applied.
    2. It’s written by Sindre Sorhus, whose npm profile is enough to make all but the most prolific developer feel wholly inadequate, and so carries with it a degree of authority.
    1. Svelte will not offer a generic way to support style customizing via contextual class overrides (as we'd do it in plain HTML). Instead we'll invent something new that is entirely different. If a child component is provided and does not anticipate some contextual usage scenario (style wise) you'd need to copy it or hack around that via :global hacks.
    1. Now of course we know how React handles this conflict: it takes the new nodes in your virtual DOM tree — the waters in your flowing river — and maps them onto existing nodes in the DOM. In other words React is a functional abstraction over a decidedly non-functional substrate.

      To me this is a warning sign, because in my experience, the bigger the gap between an abstraction and the thing it abstracts, the more likely you are to suffer what programmers like to call ‘impedance mismatches’, and I think we do experience that in React.

  6. Aug 2020
    1. "When an OP rejects your edit, please do not edit it back in!" Correspondingly, when a user repeatedly does try to edit, understand that something in your framing isn't working right, and you should reconsider it.
    2. I honestly don't know what you find unclear about this question. I think you initially misread. I edited out your title change because it wasn't what I'd intended and it misled others. I edited in two more sections to clarify. The last section makes it as clear as I can: A single question provokes 1 of 3 responses (not necessarily answers). To chose between them I need to understand acceptable scope of both question and answers. Yes this topic is a muddy one, that's why I'm asking! I want others to help me clarify the unclear!
  7. Jun 2020
    1. Some large tech behemoths could hypothetically shoulder the enormous financial burden of handling hundreds of new lawsuits if they suddenly became responsible for the random things their users say, but it would not be possible for a small nonprofit like Signal to continue to operate within the United States. Tech companies and organizations may be forced to relocate, and new startups may choose to begin in other countries instead.
  8. May 2020
    1. A "tag" is a snippet of code that allows digital marketing teams to collect data, set cookies or integrate third-party content like social media widgets into a site.

      This is a bad re-purposing of the word "tag", which already has specific meanings in computing.

      Why do we need a new word for this? Why not just call it a "script" or "code snippet"?

    1. This is it. I'm done with Page Translator, but you don't have to be. Fork the repo. Distribute the code yourself. This is now a cat-and-mouse game with Mozilla. Users will have to jump from one extension to another until language translation is a standard feature or the extension policy changes.
    2. What I don't like is how they've killed so many useful extensions without any sane method of overriding their decisions.
    3. I know, you don't trust Mozilla but do you also not trust the developer? I absolutely do! That is the whole point of this discussion. Mozilla doesn't trust S3.Translator or jeremiahlee but I do. They blocked page-translator for pedantic reasons. Which is why I want the option to override their decision to specifically install few extensions that I'm okay with.
    4. Mozilla will never publicly ask users to circumvent their own blocklist. But it's their actions that are forcing people to do so.
    5. So to me, it seems like they want to keep their users safer by... making them use Google Chrome or... exposing themselves to even greater danger by disabling the whole blocklist.
    6. Unfortunately, loading their code from their CDN is the only way those services permit their use.
    1. Mozilla does not permit extensions distributed through https://addons.mozilla.org/ to load external scripts. Mozilla does allow extensions to be externally distributed, but https://addons.mozilla.org/ is how most people discover extensions. The are still concerns: Google and Microsoft do not grant permission for others to distribute their "widget" scripts. Google's and Microsoft's "widget" scripts are minified. This prevents Mozilla's reviewers from being able to easily evaluate the code that is being distributed. Mozilla can reject an extension for this. Even if an extension author self-distributes, Mozilla can request the source code for the extension and halt its distribution for the same reason.

      Maybe not technically a catch-22/chicken-and-egg problem, but what is a better name for this logical/dependency problem?

  9. Apr 2020
    1. Despite their awarded diplomas in the art of writing, you'd be surprised at how many editors and journalists in the United States make English mistakes. For instance, "an" is still often coupled with words that begin with an "H" sound, even though this is improper. I'd advise against treating material from news sources as if it were error-free or even a higher authority on grammar.
    1. The word "passphrase" is used to convey the idea that a password, which is a single word, is far too short to protect you and that using a longer phrase is much better.
  10. Feb 2020
    1. my Mind

      http://enlightenmens.lmc.gatech.edu/items/show/90

      • That item is simply a portrait of John Locke. The relation is that the word "mind" is very relevant to all the work accomplished by Locke, as he spent most of his life as a renowned philosopher.

      Mowat, Diane, and Daniel Defoe. Robinson Crusoe. Oxford University Press Canada, 2008.

    2. came now fresh into my Mind, and my Conscience,

      The words conscience and mind bring about ideas that can be noted in John Locke’s text: *An essay concerning Human Understanding.* In book two, Locke explains how thoughts come to be. He believes that “All ideas come from sensation or reflections”. In this specific case, the ideas being expressed in this excerpt are rooted in reflection, as Crusoe is thinking on how and why he dared to actually leave his parents the way that he did. Much of this is seen throughout the whole narrative as it is written in the view of Crusoe. Nonetheless, it demonstrates how this story is evolving from simple story telling in the perspective of an outsider to the actual recount of the person living it in their own words.

      John Locke, The Works of John Locke in Nine Volumes, (London: Rivington, 1824 12th ed.). Vol. 1. 2/12/2020. https://oll.libertyfund.org/titles/761 Mowat, Diane, and Daniel Defoe. Robinson Crusoe. Oxford University Press Canada, 2008.

  11. Oct 2019
    1. Unfortunately, numerous widely-used tagless-final interfaces (like Sync, Async, LiftIO, Concurrent, Effect, and ConcurrentEffect) encourage you to code to an implementation.

      How?

  12. Sep 2019
    1. How to Make an App – What No One Told You Before Ever!

      What are the things you don’t know about app building? How to make turn your idea to be successful? Get to know about how to make an app here.

  13. May 2019
    1. After you’ve read/listened to/viewed more sources, you may need to change your thesis.

      I feel as though when we are taught, it is always that the thesis comes first. Reading this made me feel encouraged because I often times have to rearrange my thesis, but was under the impression you are not supposed to do this. Once you research things, you develop a more educated opinion of your knowledge, so to me it makes perfect sense that it is ok to change your thesis.

  14. Feb 2019
  15. Oct 2018
    1. Learning is a subversive act.

      YES! In American schools you are indoctrinated with the premise: "There is no difficult material. There are only difficult learners." The "trial-by-failure" prevalent in the 70's and 80's, that if you repeat a subject you truly do not nor will not ever understand, Algebra in my case, you are somewhat "subversive" to the rest of classroom, the teacher and especially the school. Report card comments: asks too many questions/asks no questions, disruptive/sleeps in class, no effort given, won't get tutored after school labels the learner without labelling the conformity of the classroom: fit in or be shut out. Excellent point!

  16. Sep 2018
    1. BOOK 12 THE ARGUMENT The Angel Michael continues from the Flood to relate what shall succeed; then, in the mention of Abraham, comes by degrees to explain, who that Seed of the Woman shall be, which was promised Adam and Eve in the Fall; his Incarnation, Death, Resurrection, and Ascention; the state of the Church till his second Coming. Adam greatly satisfied and recomforted by these Relations and Promises descends the Hill with Michael; wakens Eve, who all this while had slept, but with gentle dreams compos'd to quietness of mind and submission. Michael in either hand leads them out of Paradise, the fiery Sword waving behind them, and the Cherubim taking thir Stations to guard the Place. AS one who in his journey bates at Noone, Though bent on speed, so heer the Archangel paus'd Betwixt the world destroy'd and world restor'd, If Adam aught perhaps might interpose; Then with transition sweet new Speech resumes. [ 5 ] Thus thou hast seen one World begin and end; And Man as from a second stock proceed. Much thou hast yet to see, but I perceave Thy mortal sight to faile; objects divine Must needs impaire and wearie human sense: [ 10 ] Henceforth what is to com I will relate, Thou therefore give due audience, and attend. This second sours of Men, while yet but few; And while the dread of judgement past remains Fresh in thir mindes, fearing the Deitie, [ 15 ] With some regard to what is just and right Shall lead thir lives and multiplie apace, Labouring the soile, and reaping plenteous crop, Corn wine and oyle; and from the herd or flock, Oft sacrificing Bullock, Lamb, or Kid, [ 20 ] With large Wine-offerings pour'd, and sacred Feast, Shal spend thir dayes in joy unblam'd, and dwell Long time in peace by Families and Tribes Under paternal rule; till one shall rise Of proud ambitious heart, who not content [ 25 ] With fair equalitie, fraternal state, Will arrogate Dominion undeserv'd Over his brethren, and quite dispossess Concord and law of Nature from the Earth, Hunting (and Men not Beasts shall be his game) [ 30 ] With Warr and hostile snare such as refuse Subjection to his Empire tyrannous: A mightie Hunter thence he shall be styl'd Before the Lord, as in despite of Heav'n, Or from Heav'n claming second Sovrantie; [ 35 ] And from Rebellion shall derive his name, Though of Rebellion others he accuse. Hee with a crew, whom like Ambition joyns With him or under him to tyrannize, Marching from Eden towards the West, shall finde [ 40 ] The Plain, wherein a black bituminous gurge Boiles out from under ground, the mouth of Hell; Of Brick, and of that stuff they cast to build A Citie and Towre, whose top may reach to Heav'n; And get themselves a name, least far disperst [ 45 ] In foraign Lands thir memorie be lost, Regardless whether good or evil fame. But God who oft descends to visit men Unseen, and through thir habitations walks To mark thir doings, them beholding soon, [ 50 ] Comes down to see thir Citie, ere the Tower Obstruct Heav'n Towrs, and in derision sets Upon thir Tongues a various Spirit to rase Quite out thir Native Language, and instead To sow a jangling noise of words unknown: [ 55 ] Forthwith a hideous gabble rises loud Among the Builders; each to other calls Not understood, till hoarse, and all in rage, As mockt they storm; great laughter was in Heav'n And looking down, to see the hubbub strange [ 60 ] And hear the din; thus was the building left Ridiculous, and the work Confusion nam'd. Whereto thus Adam fatherly displeas'd. O execrable Son so to aspire Above his Brethren, to himself assuming [ 65 ] Authoritie usurpt, from God not giv'n: He gave us onely over Beast, Fish, Fowl Dominion absolute; that right we hold By his donation; but Man over men He made not Lord; such title to himself [ 70 ] Reserving, human left from human free. But this Usurper his encroachment proud Stayes not on Man; to God his Tower intends Siege and defiance: Wretched man! what food Will he convey up thither to sustain [ 75 ] Himself and his rash Armie, where thin Aire Above the Clouds will pine his entrails gross, And famish him of Breath, if not of Bread? To whom thus Michael. Justly thou abhorr'st That Son, who on the quiet state of men [ 80 ] Such trouble brought, affecting to subdue Rational Libertie; yet know withall, Since thy original lapse, true Libertie Is lost, which alwayes with right Reason dwells Twinn'd, and from her hath no dividual being: [ 85 ] Reason in man obscur'd, or not obeyd, Immediately inordinate desires And upstart Passions catch the Government From Reason, and to servitude reduce Man till then free. Therefore since hee permits [ 90 ] Within himself unworthie Powers to reign Over free Reason, God in Judgement just Subjects him from without to violent Lords; Who oft as undeservedly enthrall

      Book XII: continues Michael's vision. Adam and Eve are comforted by hearing of the future redemption of their race. The poem ends as they wander forth out of Paradise and the door closes behind them.

  17. Jun 2018
  18. Feb 2018
    1. Inthesentenceabovewefindthearticle'an'.Itshowsusthatthespeakerdoesnotwantaspecificapple.Hecanhaveanyapple.

      learn a,an,the

  19. Sep 2017
    1. The point of political protest is to change the world. And yet the process matters, too.
    2. To live in the present is not to avoid hard work or strife. Alongside the projects that occupy you in your profession, or in your political life, the telic activities that matter to you, is the atelic process of protesting injustice or doing your job. To value the process is not to flee from work or political engagement. That is why living in the present is not an abdication of ethical responsibility or a recipe for detachment.
    3. To live in the present is not to deny the value of telic activities, of making a difference in the world. That would be a terrible mistake. Nor can we avoid engaging in such activities. But if projects are all we value, our lives become self-subversive, aimed at extinguishing the sources of meaning within them. To live in the present is to refuse the excessive investment in projects, in achievements and results, that sees no inherent value in the process.
    4. “If you are learning, you have not at the same time learned.” When you care about telic activities, projects such as writing a report, getting married or making dinner, satisfaction is always in the future or the past. It is yet to be achieved and then it is gone. Telic activities are exhaustible; in fact, they aim at their own exhaustion. They thus exhibit a peculiar self-subversion. In valuing and so pursuing these activities, we aim to complete them, and so to expel them from our lives.
    1. (29)

      This quote resonates with me because it reminds me with a discussion I had with my mother. I said I was worried about climate change and expressed concerns that humans aren't doing enough to work against it. My mother responded by saying "It took me a while to realize that the world is going to come to an end whether we like it or not. It could be in twenty years, it could be in twenty thousand, but it's going to happen eventually. And it took me awhile, but I know I must accept this fact."

  20. Jul 2017
    1. Students collaboratively (with the instructor) identify an area of interest and co-construct a driving question to guide inquiry.

      I really like this because even though we have to cover certain content that aligns with state standards, students can still have a say in what they learn. In studying a particular topic, we can ask "What part of this most interests you? What should we learn more about within this topic of study?" And students can pick a driving question that most interests them.

  21. Feb 2017
    1. Too often when we try to finish up the business of electing at first meeting, we discover, later on, that the finish was an extinguisher

      I understand what she is saying until, "That the finish was an extinguisher." I definitely agree with the first part of this claim. Just to compare it to politics or sports (@sophist_monster): The presidential campaign and college basketball come to mind. A large percent of the population wanted good ole Grandpa Bernie to win and at a few times I thought he was going to beat Hil Gal. For my sports people: most people and myself included thought Duke would dominate the NCAA right now (I still do)(Duke of the Ship). But, back to the point, people back in the 19th century and now still continue to finalize winners before the race really begins.

  22. Nov 2016
  23. Oct 2016
    1. Sheldon, whose intelligence frequently becomes his excuse for his social awkwardness

      Scientist depicted as awkward.

  24. Aug 2016
  25. Apr 2016
    1. Jeremy DeanPosted on January 27, 2016January 28, 2016Categories Getting Started

      As a side-note (pun intended?), to help beautify your web presence a bit, you might notice that your photo doesn't show up in the author position in your 2016 theme on single posts. To fix this, you can (create and) use your WordPress.com username/password to create an account on their sister site Gravatar.com. Uploading your preferred photo on Gravatar and linking it to an email will help to automatically populate your photo in both your site and other wordpress sites across the web. To make it work on your site, just go to your user profile in your wordpress install and use the same email address in your user profile as your gravatar account and the system will port your picture across automatically. If necessary, you can use multiple photos and multiple linked email addresses in your gravatar account to vary your photos.

  26. Nov 2015
    1. I don't totally agree with the fact that writers the creation of language is the target of a writer, I think language is just a means, the "algorithm" that "plays" with words/semanthincs, as any machine can do

  27. Oct 2015
  28. Mar 2015
    1. an objective set for the Sprint that can be met through the implementation of Product Backlog. It provides guidance to the Development Team on why it is building the Increment. It is created during the Sprint Planning meeting. The Sprint Goal gives the Development Team some flexibility regarding the functionality implemented within the Sprint. The selected Product Backlog items deliver one coherent function, which can be the Sprint Goal. The Sprint Goal can be any other coherence that causes the Development Team to work together rather than on separate initiatives.

      an objective set for the Sprint that can be met through the implementation of Product Backlog. It provides guidance to the Development Team on why it is building the Increment. It is created during the Sprint Planning meeting. The Sprint Goal gives the Development Team some flexibility regarding the functionality implemented within the Sprint. The selected Product Backlog items deliver one coherent function, which can be the Sprint Goal. The Sprint Goal can be any other coherence that causes the Development Team to work together rather than on separate initiatives.