258 Matching Annotations
  1. Last 7 days
    1. A falta de uma carga excêntrica além do desafio da posição, podem permitir um bom nível de transferência desse tipo de exercício para a performance na aceleração

  2. Sep 2022
  3. Aug 2022
    1. The lack of CPU power in those days also meant there was deep skepticism about the performance of interpreters in general, and in the user interface in particular. Mention "interpreted language" and what sprung to mind was BASIC or UCSD Pascal, neither regarded as fast.

      still widely held today

    1. The more I think about it, the less I think there is a meaningful definition of the one true run time. I have put significant effort into making sure that runtimes are consistent but, however we do this, it makes our experiments less realistic. With rare exceptions (perhaps some safety critical systems) our algorithms will not be used in highly controlled situations, moderated to reduce variability between runs or to maximise speed of this particular process. Algorithms will be run as part of a larger system, in a computer sometimes with many other processes and sometimes with few and, because of the way that computing has developed, sometimes in raw silicon and sometimes in virtual machines. So the more I think about it, the more I think that what matters is the distribution of run times. For this, your experiment on your hardware is important, but so are future recomputations on a wide variety of VMs running on a variety of different hardware.

      The truth of this has consequences not just for the metaissue of recomputation, but the entire raison d'etre of doing performance studies to begin with.

    2. If I can’t run your experiment at all, then I can’t reproduce your times.
    1. This is what I observed in hyper productive people: some of them have a unique, novel system of organizing their knowledge, but many of them don't. So, having such a system is probably not that important.

      I see these sorts of statements often, and never taken into account is the diversity of ways of thought, general intelligence, quality of memory, or many other factors that make individuals different as well as their outcomes different.

      Different people are going to use different tools differently and have different outcomes.

  4. Jul 2022
    1. Another key idea here is to separate meaning from tactics. E.g. the meaning of sorting is much simpler and more compact than the dozens of most useful sorting algorithms, each one of which uses different strategies and tactics to achieve the same goal. If the “meanings” of a program could be given in a way that the system could run them as programs, then a very large part of the difficulties of program design would be solved in a very compact fashion. The resulting “meaning code” would constitute a debuggable, runnable specification that allows practical testing. If we can then annotate the meanings with optimizations and keep them separate, then we have also created a much more controllable practical system.
  5. Jun 2022
    1. there is clear evidence that explicitly teaching reading strategies to students improves their overall academic performance, such instruction is often limited to developmental reading or study skills courses (Saxby 2017, 37-38).

      Teaching reading strategies to students improves their overall academic performance, but this instruction is often limited to developmental reading or study skills courses.

      ref: Saxby, Lori Eggers. “Efficacy of a College Reading Strategy Course: Comparative Study.” Journal of Developmental Education 40, no. 3 (2017): 36-38.

      Using Hypothes.is as a tool in a variety of courses can help to teach reading strategies and thereby improve students' overall academic performance.

  6. May 2022
    1. In this article, you will get the best tips and ways to improve the application. This article is the ultimate guide to Laravel performance optimization. Going through this article will help you clear up all your doubts regarding the process of optimization.

    1. Cold starts depend a lot on what people actually deploy. They're really fast for an optimized Go binary, really slow for most Node apps.
    1. therefore the gases should be removed from the condenser. This can be achieved byinstalling vacuum pumps, compressors, or steam ejectors. The condenser heat removalis done either by using a cooling tower or through cold air circulation in the condenser.The condensate forms a small fraction of the cooling water circuit, a large portion ofwhich is then evaporated and dispersed into the atmosphere by the cooling tower. Thecooling water surplus (blow down) is disposed of in shallow injection wells. In singleflash condensation system, the condensate does have direct contact with the coolingwater.
    2. Single flash power plants are classified according to their steam turbines types, i.e., theturbine exit conditions. Two such basic types are the single flash with a condensationsystem and the single flash back pressure system. In the first type, a condenser oper-ating at very low pressure is used to condensate the steam leaving the steam turbine.The condenser should operate at low vacuum pressure to maintain a large enthalpy dif-ference across the expansion process of the steam turbine, hence resulting in a higherpower output. The geothermal fluid usually contains non-condensable gases which arecollected at the condenser. Such a collection of gases may raise the condenser pressure,
    1. Some people have expressed surprise end even doubt that it could be faster to read the files twice than reading them just once. Perhaps I didn't manage to explain very clearly what I was doing. I am talking about cache pre-loading, in order to have the files in disk cache when later accessing them in a way that would be slow to do on the physical disk drive. Here is a web page where I have tried to explain more in detail, with pictures, C code and measurements.
    2. Remember the caching. Reading two files sequentially into memory from the physical disk can be faster than reading them both in parallel, alternating between them (moving the read head back and forth). Everything you do later, with all the data cached in memory, is relatively much faster. But yes, it depends on the data, and this is an average. Two files that actually do differ in the beginning will be faster to compare byte by byte.
  7. Apr 2022
    1. (7) ReconfigBehSci on Twitter: “@ToddHorowitz3 probably- and I think there are many interesting questions around why he is there and whether he should be there. But to answer those properly, looking at the performance of the model seems important and interesting to me- that is all I am saying” / Twitter. (n.d.). Retrieved March 6, 2021, from https://twitter.com/SciBeh/status/1324389147050569734

    1. The law of the "Wild West of Programming" was still held in too high esteem! The same inertia that kept many assembly code programmers from ad- vancing to use FORTRAN is now the principal obstacle against moving from a "FORTRAN style" to a structured style.
    2. The amount of resistance and prejudices which the farsighted originators of FORTRAN had to overcome to !gMn acceptance of their product is a memorable indication of the degree to which programmers were pre- occupied with efficiency, and to which trick- ology had already become an addiction
    1. it's minified before encoding the link (with encoding) is only 224 characters, instead of 337

      Not even close to the dumbest thing I've ever read, but still very, very dumb.

  8. Mar 2022
    1. I just dislike how non-native it feels and looks.

      I suspect VS Code's non-native look has actually contributed to the uptake from a subset of its users. A fullscreen terminal-based editor like Vim is also non-native as far as widget sets are concerned, but pleasantly so in at least one respect. When Chrome was released, when you asked people what they liked about it, sure they'd say it was fast and whatnot, but for a non-trivial segment of the world, they just liked how visually slim it was. They appreciated how little chrome was actually in Chrome. VS Code managed to reap dividends on its imports of the same approach to its "shell", even while not being particularly fast. (People point to VS Code as an example of a snappy Electron app, and they're not wrong insofar as the comparison goes to other typical Electron apps; on an absolute, non-weight-class-adjusted scale, though, VS Code is still pretty clunky—people just ignore it because of how slim it appears in comparison to IDEs like MonoDevelop[1].)

      1. https://upload.wikimedia.org/wikipedia/commons/0/01/Monodevelop-main-window.png
  9. Feb 2022
    1. The unified approachhas the advantage, that the enterprise has more control overthe data and quality, and the data querying is significantlyfaster.
    2. However, federated querying andaccess control over fine-grained datasources drastically impedethe performance.
  10. Jan 2022
  11. scattered-thoughts.net scattered-thoughts.net
    1. It's typically taken for granted that better performance must require higher complexity. But I've often had the experience that making some component of a system faster allows the system as a whole to be simpler
    1. The latest SQLite 3.8.7 alpha version is 50% faster than the 3.7.17 release from 16 months ago. [...] This is 50% faster at the low-level grunt work of moving bits on and off disk and search b-trees. We have achieved this by incorporating hundreds of micro-optimizations. Each micro-optimization might improve the performance by as little as 0.05%. If we get one that improves performance by 0.25%, that is considered a huge win. Each of these optimizations is unmeasurable on a real-world system (we have to use cachegrind to get repeatable run-times) but if you do enough of them, they add up.
    1. fun, fairness, and challenge

      Fun, fairness, and challenge could inform the development of three standards with students that could be used to structure their PE sessions. Ask them how do you measure fun? How do you measure fairness: How do you measrue challenge? If they participate in the development of standards, they will be more interested in using them as a guide to improvement - have more fun, play more fairly, ramp up the challenge.

    2. My students do not arrive in the gym thinking about how their performance will be evaluated.

      If they are focused on improving something - like catching - then they should come with the intention of working on that. PE class is not recess. They should have fun, but if they are not focused on anything other than having fun, then they will not be able to improve in any substantive way and it will be impossible to provide any coaching that might lead to that.

    3. They will demonstrate the art of the catch. Their art of the catch.

      Similar problems in language and writing instruction. Ss want to show off their skills and to experiment and do things their own way. That is fine - accomplished writers do this all the time Shakespeare made up hundreds of words. We are not all Shakespeare though - we can make up words in specific contexts, but in writing instruction, the goal is to master common forms and structures before moving on to display personal creativity, yet, even within common forms, there is room for personal creativity. When assessing in this way, it is important to focus on the standards and what those mean in terms of performance - otherwise, be become bogged down and unable to provide clear, consistent, and actional feedback that can lead to improvement in performance.

    4. there are thousands of pieces that I miss

      All performances are complex, and when coaching, it is impossible to attend to every minute detail. Formative assessment - active coaching - is individualized feedback to improve overall performance. Evaluating that performance, is to focus on the performance as a whole.

    5. “performance'' because I teach physical education

      I think a performance focus in important in a lot of fields because, ultimately, education is about what folks are able to do. Knowledge of things is not useful until it is applied to some problem or task. A performance focus could improve assessment across the board and shift teachers away from merely testing "content".

  12. Dec 2021
    1. Edge computing is an emerging new trend in cloud data storage that improves how we access and process data online. Businesses dealing with high-frequency transactions like banks, social media companies, and online gaming operators may benefit from edge computing.

      Edge Computing: What It Is and Why It Matters0 https://en.itpedia.nl/2021/12/29/edge-computing-what-it-is-and-why-it-matters/ Edge computing is an emerging new trend in cloud data storage that improves how we access and process data online. Businesses dealing with high-frequency transactions like banks, social media companies, and online gaming operators may benefit from edge computing.

  13. Nov 2021
  14. Sep 2021
  15. Aug 2021
    1. This still would not eliminate all delay, but I think this could be faster (no render blocking), and cleaner than having inline scripts scattered all over the parent document.
    1. All of these approaches use a comparison technique called "shallow equality". This means checking every individual field in two different objects, and seeing if any of the contents of the objects are a different value. In other words, obj1.a === obj2.a && obj1.b === obj2.b && ......... This is typically a fast process, because === comparisons are very simple for the JS engine to do. So, these three approaches do the equivalent of const shouldRender = !shallowEqual(newProps, prevProps).
    2. When trying to improve software performance in general, there are two basic approaches: 1) do the same work faster, and 2) do less work. Optimizing React rendering is primarily about doing less work by skipping rendering components when appropriate.
  16. Jul 2021
  17. Jun 2021
    1. Anita: So, you said you wanted to start off by singing a song?Billy: Yeah, well I’ll sing a song. [Singing] “Well I guess you wondering where I'd been. I searched to find the love within. In my world only you make me do for love, girl, what I would not do. My friends wonder what is wrong with me, but I'm in a daze." Alright. That's it.

      Time in the US, Pastimes, Music, Playing, Favorite

  18. May 2021
  19. Apr 2021
    1. The digestive consequences of forage consumption are determined by plant forage quality and animal digestive and detoxification abilities. This interaction, in turn, affects the nutrients and energy available for animal growth and maintenance.
    1. “I’m not a musician. I don’t mean that in a derogatory way. But I mean, I wasted a lot of my life playing instruments, which was foolish,” O’Rourke told the newsletter Tone Glow in an interview published in May 2020. “I have no interest in anything being a vessel for expressing something . . . I always like to say, ‘I do stuff.’ ”

      I have no interest in being a vessel for expressing something...

      Something fascinating about this perspective.

  20. Mar 2021
    1. The dynamic maximum strength of the calves is a basic prerequisite for short sprints and should be regarded as a performance reserve.

      Importância de treinar as panturrilhas

    1. If a UTF8-encoded Ruby string contains unicode characters, then indexing into that string becomes O(N). This can lead to very bad performance in string_end_with_semicolon?, as it would have to scan through the whole buffer for every single file. This commit fixes it to use UTF32 if there are any non-ascii characters in the files.
    1. What is the point of avoiding the semicolon in concat_javascript_sources

      For how detailed and insightful his analysis was -- which didn't elaborate or even touch on his not understanding the reason for adding the semicolon -- it sure appeared like he knew what it was for. Otherwise, the whole issue would/should have been about how he didn't understand that, not on how to keep adding the semicolon but do so in a faster way!

      Then again, this comment from 3 months afterwards, indicates he may not think they are even necessary: https://github.com/rails/sprockets/issues/388#issuecomment-252417741

      Anyway, just in case he really didn't know, the comment shortly below partly answers the question:

      Since the common problem with concatenating JavaScript files is the lack of semicolons, automatically adding one (that, like Sam said, will then be removed by the minifier if it's unnecessary) seems on the surface to be a perfectly fine speed optimization.

      This also alludes to the problem: https://github.com/rails/sprockets/issues/388#issuecomment-257312994

      But the explicit answer/explanation to this question still remains unspoken: because if you don't add them between concatenated files -- as I discovered just to day -- you will run into this error:

         (intermediate value)(...) is not a function
             at something.source.js:1
      

      , apparently because when it concatenated those 2 files together, it tried to evaluate it as:

         ({
           // other.js
         })()
         (function() {
           // something.js
         })();
      

      It makes sense that a ; is needed.

    2. And no need to walk backwards through all these strings which is surprisingly inefficient in Ruby.
    3. Since the common problem with concatenating JavaScript files is the lack of semicolons, automatically adding one (that, like Sam said, will then be removed by the minifier if it's unnecessary) seems on the surface to be a perfectly fine speed optimization.
    4. reducing it down to one call significantly speeds up the operation.
    5. I feel like the walk in string_end_with_semicolon? is unnecessarily expensive when having an extra semicolon doesn't invalidate any JavaScript syntax.
    1. You could also use the NodeIterator API, but TreeWalker is faster
    2. All those 'modern' and 'super-modern' querySelectorAll("*") need to process all nodes and do string comparisons on every node.
    3. the fastest solution because the main workload is done by the Browser Engine NOT the JavaScript Engine
    1. One of my favorite knee-friendly strength training exercises is the half-squat, half-deadlift.

      Indicado para pessoas que não podem realizar flexões acentuadas do joelho.

      Também é bastante funcional no mundo esportivo, pois simula por exemplo a quebra que muitos recebedores fazem durante um corte numa rota.

  21. Feb 2021
    1. The alternative was to have multiple scripts or stylesheet links on one page, which would trigger multiple HTTP requests. Multiple requests mean multiple connection handshakes for each link “hey, I want some data”, “okay, I have the data”, “alright I heard that you have the data, give it to me” (SYN, ACK, SYNACK). Even once the connection is created there is a feature of TCP called TCP slow start that will throttle the speed of the data being sent at the beginning of a request to a slower speed than the end of the request. All of this means transferring one large request is faster than transferring the same data split up into several smaller requests.
  22. Jan 2021
    1. Just saying “snaps are slow” is not helpful to anyone. Because frankly, they’re not. Some might be, but others aren’t. Using blanket statements which are wildly inaccurate will not help your argument. Bring data to the discussion, not hearsay or hyperbole.
    2. I don’t find the software slow, I find the startup time for snap packages when the start for the first time on a session slow, but that has been improved, and it’s public that the snapcraft team has been working hard to improve that.
    1. People think that fighters fight best when they are angry, that singers, actors and musicians perform best when they are high on emotions. This cannot be further from the truth. Studies show that in high-stress situations, we perform when we separate ourselves from our emotions. Like how a cup is only useful when it’s empty, it is only when we empty ourselves that we can become a conduit for our art, transcend our mortal shell, and perform at the highest levels.

      Studies show that in high-stress situations people perform better when there is a separation of self and emotions.

      We might think that boxers perform better when they're angry but that might not be the case.

  23. Dec 2020
    1. it can be difficult or verbose to accomplish some things like animations in React, especially without libraries, and high-performance React animation libraries often bail out of its rendering cycle to manipulate the DOM directly.
    2. The template language's restrictions compared to JavaScript/JSX-built views are part of Svelte's performance story. It's able to optimize things ahead of time that are impossible with dynamic code because of the constraints. Here's a couple tweets from the author about that
    1. Because Jamstack projects don’t rely on server-side code, they can be distributed instead of living on a single server. Serving directly from a CDN unlocks speeds and performance that can’t be beat. The more of your app you can push to the edge, the better the user experience.
    1. Better PerformanceWhy wait for pages to build on the fly when you can generate them at deploy time? When it comes to minimizing the time to first byte, nothing beats pre-built files served over a CDN.
  24. Nov 2020
    1. Psychologists have only seriously begun analyzing self-talk in the last couple of decades, and here’s what we know:1) Positive self-talk improves performance in most sports.2) Questions like “Will I do this?” produce better results than statements like “I will do this.”3) Using “we” in self-talk is better than using “I.”4) Talking about yourself in third person is more effective than talking in first person.5) Both motivational (“I will do this!“) and instructional (“See the target…straighten elbows…lock onto target…“) self-talk seems to be effective in enhancing performance.

      How to talk to yourself! Positive Self - talk and motivation are best executed when done this:

      1) Positive self-talk improves performance in most sports.

      2) Questions like “Will I do this?” produce better results than statements like “I will do this.”

      3) Using “we” in self-talk is better than using “I.”

      4) Talking about yourself in third person is more effective than talking in first person.

      5) Both motivational (“I will do this!“) and instructional (“See the target…straighten elbows…lock onto target…“) self-talk seems to be effective in enhancing performance.

    1. It's fast. The Dart VM is highly optimized, and getting faster all the time (for the latest performance numbers, see perf.md). It's much faster than Ruby, and close to par with C++.
    1. Preserving user privacy is difficult when detectingmore nuanced forms of censorshipSome forms of softcensorship might involve intentional performance degrada-tion or content manipulation. Detecting this type of behav-ior would require comparing performance or content acrossgroups of users, but such a comparison also implies thateach user must reveal their browsing history.

      If you want to investigate whether content for a user was manipulated or performance was degraded, there may be no other way but to access detailed logs of their usage. This might raise privacy concerns.

      Not only is personalization difficult to disambiguate from manipulation and censorship, personalization also makes it more costly to compare the personalized experience to some baseline value to determine if manipulation or performance degradation has taken place.

  25. Oct 2020
      1. The best projects start with goals and plans.
      2. The subconscious has so much to do with success.
      3. Our subconscious decides whether to accept something into our awareness based on something called "Hot Goals".
      4. From this udemy course, I will learn how to set goals with the MOMA subconscious method, by which I convert what's not working for me into a HOT GOAL.
      5. Achieving hot goals is the means of the subconscious mind to keep you safe even if it isn't necessary.
      6. If your goals have to become hot goals then, your conscious goals must translate to subconscious goals.
    1. “But nobody sees us,”

      This line, combined with how Josephine feels like she can't laugh at anything, makes me think about the outward performance of grief, and the feelings you are expected to include in that performance. By asking why they would dress in black if nobody can see them, Josephine is recognizing that dressing in mourning is just a part of playing the role of grieving daughter.

    1. We could freeze the objects in the model but don't for efficiency. (The benefits of an immutable-equivalent data structure will be documented in vtree or blog post at some point)

      first sighting: "immutable-equivalent data"

    1. trusktr herman willems • 2 years ago Haha. Maybe React should focus on a template-string syntax and follow standards (and provide options for pre-compiling in Webpack, etc).

      Well anywho, there's other projects now like hyperHTML, lit-html, etc, plus some really fast ones: https://www.stefankrause.ne...

      React seems a little old now (and the new Hooks API is also resource heavy).

      • Share ›  Michael Calkins trusktr • 4 years ago • edited That's a micro optimization. There isn't a big enough difference to matter unless you are building a game or something extraordinarily odd.

      • Share › −  trusktr Michael Calkins • 2 years ago True, it matters if you're re-rendering the template at 60fps (f.e. for animations, or for games). If you're just changing views one time (f.e. a URL route change), then 100ms won't hurt at all.

    1. Virtual DOM is valuable because it allows you to build apps without thinking about state transitions, with performance that is generally good enough
    2. In the vast majority of cases there’s nothing wrong about wasted renders. They take so little resources that it is simply undetectable for a human eye. In fact, comparing each component’s props to its previous props shallowly (I’m not even talking about deeply) can be more resource extensive then simply re-rendering the entire subtree.
  26. Sep 2020
  27. Aug 2020
    1. For example, to search for text occurrences, I used ack-grep. Later on, I found that there is a faster approach using ag. Then, there is an even faster alternative called ripgrep.
  28. Jul 2020
    1. Building blocks that ensure performance It takes a lot of time and effort to build a great website. AMP components are already optimized for the best performance.
    1. In some frameworks you may see recommendations to avoid inline event handlers for performance reasons, particularly inside loops. That advice doesn't apply to Svelte — the compiler will always do the right thing, whichever form you choose.
    1. One problem—not a fatal one, but still an issue with any virtual DOM—is that embedding SVGs directly into your app can be a resource hog. No matter how much you compress, no matter how logical and streamlined your components, if you need to load up hundreds of very-complex SVGs, React will need to track all of their nodes, and updating them becomes a chore.
  29. Jun 2020
    1. If those comments are loaded outside of the blog_post association, then attempting to reference the blog_post association from within each comment will result in N blog_posts table queries even if they all belong to the same BlogPost!
    1. uses a pre-clone step to seed the project with a recent archive of the repository. This is done for several reasons: It speeds up builds because a 800 MB download only takes seconds, as opposed to a full Git clone.