502 Matching Annotations
  1. May 2020
    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?

  2. Apr 2020
    1. Github Pages is a sweet service that builds your Jekyll site for you when you commit changes to a Github repo. If you were using redcarpet and Pygments, you now should switch to Kramdown and Rouge to stay updated with the recommended Markdown filter and syntax highlighter supported by Github Pages.
    1. the Add functions seem to work generically over various types when looking at the invocations, but are considered to be two entirely distinct functions by the compiler for all intents and purposes
    1. Recently the HaveIBeenPwned API has moved to a authenticated/paid model , this does not effect the PwnedPasswords API, no payment or authentication is required.
    1. 1Password wasn’t built in a vacuum. It was developed on top of open standards that anyone with the right skills can investigate, implement, and improve. Open tools are trusted, proven, and constantly getting better. Here’s how 1Password respects the principles behind the open tools on which it relies:

      I found it ironic that this proprietary software that I have avoided using because it is proprietary software is touting the importance of open tools.

    1. In the early 1990s, the creators of Netscape apparently built a function that enabled each web page to be annotated by those visiting it, as a way for viewers to discuss the page’s content. But according to a [1] produced in 2013 by a nonprofit called [Hypothesis][2], the feature was turned off.
    1. The most common injuries from both blunt and penetrating thoracic trauma are hemothorax and pneumothorax. More than 85% of patients can be definitively treated with a chest tube. The indications for thoracotomy include significant initial or ongoing hemorrhage from the tube thoracostomy and specific imaging-identified diagnoses (Table 7-10). One caveat concerns the patient who presents after a delay. Even when the initial chest tube output is 1.5 L, if the output ceases and the lung is reexpanded, the patient may be managed nonoperatively if hemodynamically stable.

      chest tube can treat 85% of hemo/pneumothoraxes, if significant bleeding from tube thoracostomy initially or ongoing was present, thoracotomy is indicated. patient delayed presentation is a caveat. nonop manageing is possible in stable patient with ceased output and rexpanded lungs even after 1.5 L output.

    1. Automattic uses WordPress to power WordPress.com, and it contributes back code and time to the WordPress project. It is a symbiotic relationship. It isn’t accurate to say that WordPress is Automattic’s product, or that WordPress came from Automattic. Indeed, the opposite is true — Automattic came from WordPress, and Automattic (through WordPress.com) exists as part of the vast WordPress community and ecosystem.

      That's probably a common misconception. I'm glad they clarified that because I might have assumed that as well:

      It isn’t accurate to say that WordPress is Automattic’s product, or that WordPress came from Automattic. Indeed, the opposite is true — Automattic came from WordPress, and Automattic (through WordPress.com) exists as part of the vast WordPress community and ecosystem.

  3. Mar 2020
    1. How do you leverage browser cache when Google’s very own Analytics.js has it’s expiry time set to 2 hours? How do you minimize DNS requests when Google advices you to copy their tracking code, linking to an externally hosted Javascript file?If that isn’t bad enough already, Google’s advice is to avoid hosting the JavaScript file locally. And why? To ensure you get access to new features and product updates.
    2. Why should I host analytics.js locally?The Complete Analytics Optimization Suite for WordPress gives you the best of both worlds. After activation it automagically downloads the latest version of analytics.js from Google’s servers, places the necessary tracking code in your WordPress theme’s header and keeps the local Javascript file up-to-date using an adjusted version of Matthew Horne’s update analytics script and wp_cron(). This way you can minimize DNS requests, leverage browser cache, track your visitors and still follow Google’s recommendation to use the latest features and product updates.
    1. Google Translate Widget
    2. Another “decision” to make GoogleYoutube crappier and crappier with every passing day. The corporation seems stridently dedicated to deprecating its own products and abusing its customers.Search is now suckier than DuckDuckGo. Fuzzy and/or cherry-picked results.YouTube flooded with reposts/stolen vids and the “recommended” videos have literally nothing to do with your viewing behavior.Politicization and one-way censorship.Translator used to be nearly limitless (no text limit, websites translatable, etc) — now it’s basically a severely nerfed mini-tool to translate short phrases.
    1. We encourage all of our team members to take the time they need to recoup and refresh as much as they need.
    1. the feature was dropped to “lack of use.”

      I don't find the reason "lack of use" sufficient in its own right. (I personally didn't use this feature.) People might not use it because they don't know about. And those that do use may find it extremely useful; it's not their fault if others don't know about it or use. It seems to discriminate a bit against the minority who may use a useful feature. They would rather be in the majority, safe from having one of their favorite features removed.

      But I do understand and appreciate the good explanation given below.

    2. Yes, it’s been deprecated. Why? Because too few people were using it to make it worth the time, money, and energy to maintain. In truth, although I sometimes disagree with the operator changes, I happen to agree with this one. Maintaining ALL of the synonyms takes real time and costs us real money. Supporting this operator also increases the complexity of the code base. By dropping support for it we can free up a bunch of resources that can be used for other, more globally powerful changes.
  4. Feb 2020
    1. Time away from work It's important to clarify that being able to work from anywhere does not replace the need to take time off of work. We recognize how crucial it is to build in time where you can mentally take a break from your work, and as a company, we encourage our team members to do that. Learn more about how time off works at GitLab.
    1. To never block or remove features from k6 in order to make them exclusive to Load Impact’s SaaS productStrive not to delay introduction of new features in the k6 OSS tool, if the feature was planned to appear both there and in Load Impact’s SaaS productTo never introduce into the k6 OSS tool any artificial limits designed to promote conversion to Load Impact’s SaaS productTo work with the community, participating in and prioritize building the functionality the k6 community wants, making it the prefered tool for load testing
    2. With k6, our goal has always been to create the best load testing tool for the modern working developer and that we do this in collaboration with the k6 community. Our revenue will not come from k6 directly, but from premium value creating offers based on k6. These offers will be made available at https://loadimpact.com. Load Impact premium offers will have focus on providing further simplicity, productivity and ease to use functionality.
    3. We believe the key to Load Impact’s long-term success as a Company is to foster an active community of users around k6 as an open source project. To achieve this long-term goal, it is vital that we do not withhold new features from k6 based on whether or not they compete with our SaaS offering.
    4. Load Impact is a for profit organization, and recognizes that there is a need to balance this requirement with the needs of the k6 open source project. In the longer run, we strongly believe that those two needs will rarely be in conflict.
  5. Jan 2020
  6. Dec 2019
    1. No backup regimen would be complete without testing. You should regularly test recovery of random files or entire directory structures to ensure not only that the backups are working, but that the data in the backups can be recovered for use after a disaster. I have seen too many instances where a backup could not be restored for one reason or another and valuable data was lost because the lack of testing prevented discovery of the problem.
    1. In a nutshell, the King's Keys deck started as an experiment to see what card games would be like if you rebuilt playing cards from the ground up. Instead of using ranks and suits, each card has a number (from one to four), one of four items, and one of four colors. The result is what I call a 4x4x4 deck where 64 playing cards each have a unique combination of these three parts.
    1. Moving forward with v7, we've decided it's best to stop publishing the Stage presets in Babel (e.g. @babel/preset-stage-0). We didn't make this decision lightly and wanted to show the context behind the interplay between TC39, Babel, and the community.
  7. Nov 2019
    1. AdNauseam is a work in progress, with new features continually being added, tuned, and, sometimes, deprecated. If a setting no longer appears in the settings page, we have likely found a better means of implementing the design goal.
  8. Oct 2019
    1. If you're given a set of factories (say, from a gem developer) but want to change them to fit into your application better, you can modify that factory instead of creating a child factory and adding attributes there.
    1. simple Japanese characters because otherwise Ichiro could not have read it.

      as we saw in the videos, a lot of the Japanese-Americans interned didn't even speak Japanese, only about 3% did. Even people who were 1/16 Japanese were interned

  9. Sep 2019
    1. This version of Field is a thin wrapper over the official Field component, and the only Field API that this library uses/overrides is the field-level validate prop, so even if you are using this library's Field component, you will still get improvements as features are added to the React Final Form library in the future.
  10. Aug 2019
    1. prepare: Run both BEFORE the package is packed and published, on local npm install without any arguments, and when installing git dependencies
  11. Apr 2019
    1. Our culture is defined by the music we listen to, and the way it is portrayed in the media. Every culture around the world has a different style of song or dance that represents their traditions. Culture can not only be changed through popular songs, but is best represented through music. One of the best ways to understand a foreign culture is by listening to the music that is favorable among the people whose culture you are trying to understand. Music is one of the most powerful forms of art between cultures.

      Music has the power to redefine cultures. We can see this through generational differences between song preferences. For example, American country music back in the late 1900s has a much different feel and style compared to country music now in 2019. While keeping within the same genre, this style of music touches upon different subjects, and uses different instruments, sounds and lyrics. Even early hip-hop has evolved from its beginnings. Hip-hop music is considered the most popular music as of right now, but it has not always been that way. Each generation favors different types of genres of music, and it is clear which backgrounds over the years have favored certain genres of music. As much as music can differentiate cultures, and generations, music can bring people of completely different background together by its artistic flavor and general popularity throughout the mainstream media.

  12. Mar 2019
    1. Within the frame-based loss term, we apply a weighting to encourage accuracy at the start of the note.

      From Onsets and Frames paper

      "we define the weighted frame loss as:

      $$L_{frame}(l,p) = \begin{cases} c L'_{frame}(l,p) & t_1 \leq t \leq t_2 \\ \frac{c}{t-t_2} L'_{frame}(l,p) & t_2 < t \leq t_3 \\ L'_{frame}(l,p) & \text{ elsewhere } \end{cases}$$

      where c = 5.0 as determined with coarse hyperparameter search."

    2. we also restrict the final output of the model to start new notes only when the onset detector is confident that a note onset is in that frame.

      From Onsets and Frames paper

      "We also use the thresholded output of the onset detector during the inference process, similar to concurrent research described in [24]. An activation from the frame detector is only allowed to start a note if the onset detector agrees that an onset is present in that frame."


      From referenced paper [24]

      "Finally, we peak pick the two-channel activation matrix to convert the framewise piano roll to a list of note events. Per note, we step through each time frame and place an onset at positions where the articulation channel is above a set threshold, and then include all frames onward until the sustain channel is under another fixed threshold, at which point we output an offset. If a new articulation is found during an active note event we simply fragment it by outputting additional offsets and onsets."


      where articulation channel refers to the parallel piano-roll channel where only note frames corresponding to note onsets are active, so here onset labels (onsets = articulations in authors' lingo), and sustain channel would be our frame-level predictions corresponding to note-level frame labels.

  13. Nov 2018
    1. var Multipler = function(inc){<br> this.inc = inc;<br> }<br> Multipler.prototype.multiple = function(numbers){<br> return numbers.map(function(number){<br> return this.inc * number;<br> }, this)<br> }

      map 接受第二个参数, 绑定 this

    2. 感觉Haskell monad文档里把原本的需求复杂化了,搞得大家都在纠结monoid和endofunctors到底是个啥,把异常加入到映射值范畴里就是monad容器要做的事,根本没必要非要用maybe来举🌰。

    3. 果然老北京鸡肉卷更加难吃到一点XD

    4. 栗子中很多代码有问题

    1. 展示方面有些问题<br> 文章里图片404,还有引用的 jsbin.com 不能正常显示

      面对非全面普及的https状态,有些尴尬啊。

  14. Oct 2018
  15. 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.

  16. Jun 2018
  17. May 2018
    1. prosum-ers

      A person who influences the purchase of a product; they don't only consume it, they convince others to buy it by consuming it themselves. e.g. a you-tuber who is sent clothing, wears that clothing in a video, and then links it in their video as a product for purchase and gets money for it.

  18. Dec 2017
    1. Irwin Consulting Services Review - Tips to protect your home from a wildfire

      This year, cases of huge wildfires occurred on multiple continents have made the whole world worried and sad because of such devastating calamity that result in a lot of damaged properties and homes, and even lost lives. Wildfires can cause a tragedy fast and this chaotic phenomenon often gives firefighters and local authorities a hard time extinguishing its raging fires. Natural calamities are frightening and their effects on lands and human lives can be heartbreaking. Wildfires can start any time without any warnings and the path that it is going to take is usually hard to predict.

      Different companies and organizations around the world have been working hard to protect the public from immediate dangers of natural calamities, and one of them is Irwin Consulting Services. And one of their objectives is to protect households from wildfires and this post aims to help you in keeping your home safe against such a natural threat.

      Tip #1: Upgrade your roofs

      Consider about installing ignition resistant roofs since roofs were often the most vulnerable part of the house to fires. Protect your home and your family from the quick fires by having fire-resistant roofs. The most effective and resistant roofs were given the rate of “A” so choose roofs with such label. Maintain a clean roof as well to prevent having piled up dead leaves and become fuel to fires.

      Tip #2: Put double protection on windows

      In order to provide more protection to your house, upgrade your windows and drapes too. Use heat-resistant materials in improving your windows to become fire-resistant. The drastic heat coming from a distant wildfire can already affect your house by going right through the windows and put drapes and furniture on fire. Further protection to your house can begin with installing fire-rated glasses on your windows and investing on non-combustible shutters.

      Tip #3: Choose the most convenient location

      Learn about the location of where you are going to buy or build a house. Determine if the neighborhood had a lot of incident of fires in the recent years. Make sure of a place that will not threaten the safety of your home and your family. Irwin Consulting Services encourages you to do a careful research regarding this subject.

      Tip #4: Put adjustments on the site layout

      Make wider driveways, patios and even put low-growing fire-retardant plants to have at least 30 meters of distance and incombustible material between the wild lands and your home. Wider driveways and turn-around is also for the convenience of firefighters in bringing their huge and heavy equipment close to your home in the event of emergencies.

      Tip #5: Keep your green surroundings clean

      Clean the dead and decaying wood around your home because such can also be the reason to start a fire in your area. Do not forget about fallen and dead branches as well. Branches close to your roof or overhangs it should be cut. Maintain a clean setting around your house especially in spots that have a lot of trees.

      Tip #6: Watch out for embers

      Never ignore the danger that flying embers could bring to your house. The openings of eaves and vents are the most vulnerable parts of the house to embers because it can fly into them and can begin a fire inside. Keep those openings screened and properly maintained to avoid tragedies inside your shelter. Gutters should also be cleaned for added protection.

      Irwin Consulting Services would like each household to aim for a better protection at their homes and be prepared for any natural calamities to avoid regrets. Be safe always.

  19. Dec 2016
    1. The church persecuted many scholars whose ideas and teaching contradicted religious beliefs. One such scholar was the Italian astronomer and physicist Galileo, who had been a member of the faculty of the University of Padua. The church silenced him in 1633 for arguing that Earth moved around the sun.

      Galileo started and moved the idea that scholars should have academic freedom.

  20. Oct 2016
    1. The more you try to be God without God, the more isolated, alone and estranged you are.

      Hell is separation. Hell is being disconnected from God. And this disconnection can lead to deeper and deeper states of fear, anger and depression.

      http://www.newmessage.org/wiki/Hell

  21. Jul 2015
    1. he launches into an extended claim that “privileged groups” will always oppose action that threatens the status quo. They will always consider attacks on their privilege as “untimely,” especially because groups have a tendency towards allowing immorality that individuals might oppose (173).
    2. but he insists that negotiations cannot happen without protest, which creates a “crisis” and “tension” that forces unwilling parties (in this case, the white business owners) to negotiate in good faith. He admits that words like “tension” frighten white moderates, but embraces the concepts as “constructive and nonviolent.”
    3. attempted to negotiate with white business leaders there. When those negotiations broke down because of promises the white men broke, the SCLC planned to protest through “direct action.” Before beginning protests, however, they underwent a period of “self-purification,” to determine whether they were ready to work nonviolently,