485 Matching Annotations
  1. Jul 2023
    1. only a small fraction of the features of each component, and your program con-sumes 10 or 100 times the hardware resources of a fully custom program, butyou write 10% or 1% of the code you would have written 30 years ago.

      You use only a small fraction of the features of each component, and your program consumes 10 or 100 times the hardware resources of a fully custom program, but you write 10% or 1% of the code you would have written 30 years ago.

      • Caffeine as backbone of civilization
      • caffeine archetype ( I am the mindful master)
      • high correlation between flow & caffeine
      • associate caffeine with flow (I also do this with flow music)
      • shortcut struggle phase with caffeine
      • caffeine timing (1 to 1.5 hours until waking & 10 hours before sleep no caffeine)
      • proper dosage (test what works) 4.1 higher dosage when lack of sleep
      • what caffeine synergizes most (for me, probably coffee, in particular espresso) 5.1 double water intake when drinking caffeine (I always try to do this) 6 keep caffeine sensitivity high (1 day per week off, 1 week per quarter off)
  2. Jun 2023
    1. The 4 (behavioral) keypoints for great physical and mental as well as cognitive health:

      One) (2:00-4:05) View sunlight early in the day. The light needs to reach the eyes--increasing alertness, mood, and focus, through certain receptors. Also increases sleep quality at night, according to Huberman. Ideally five to ten minutes on a clear day, and ten to twenty minutes on an overcast day. No sunglasses, and certainly not through windows and windshields. If no sun is out yet, use artificial bright light. Do this daily.

      Two) (4:05-6:10) Do physical exercise each and every day. Doesn't have to be super intense. Huberman recommends zone two cardiovascular exercise. Walking very fast, running, cycling, rowing, swimming are examples. He says to get at least between 150 and 200 minutes of this exercise per week. Some resistance training as well for longevity and wellbeing, increases metabolism as well. Do this at least every other day, according to Huberman. Huberman alternates each day between cardiovascular exercise and resistance training.

      Three) (6:20-9:10) People should have access to a rapid de-stress protocol or tools. This should be able to do quickly and instantly, without friction. You can just do one breath for destress. ( Deep long breath through nose, one quick breath in nose to completely fill the longs, and then breathe out through mouth long.)

      Four) (9:12-14:00) To have a deliberate rewiring nervous system protocol to use. A thing that can be done is NSDR (Non-Sleep Deep Rest protocol), this is specifically to increase energy.

      Ideally the NSDR should be done after each learning session as well to imitate deep sleep (REM) and therefore accelerate neuroplasticity and thus rewire the nervous system; increasing the strength of connections between neurons and therefore increase retention significantly.

      NSDR is also a process of autonomity and control, it allows one to find that they are in control of their body and brain. It makes one realize that external factors don't necessarily have influence. According to Huberman, NSDR even replenishes dopamine when it is depleted, making it also suitable for increasing motivation.

    1. The musical depiction of the lyrics from Figure 9.2 illustrates an additional aspect of bluesperformance practice—the use of call and response. Originally practiced by a large groupof people, this improvisational technique involves sharing ideas between the leader andher/his followers. Mastering the call and response technique is especially important at thebeginning of our encounter with jazz improvisation. It engages us in a meaningfuldialogue that includes exchanging and communicating musical ideas. The communicativeaspect of call and response is relatively straightforward in the context of verbal conversation.

      In a musical setting, however, when spoken words and sentences are replaced with motifs and melodic phrases, the structure of the call and response might not be as obvious. To be a good communicator, we have to know how to listen, pay close attention to what the other musicians are playing, and try to be receptive to their ideas. In certain scenarios, however, the use of call and response technique might create less than desirable effects. For instance, when the call and response takes the form of exact and immediate repetition, it might be impressive but not necessarily in keeping with the surrounding musical context. A much more subtle way of thinking about the call and response technique involves musical interaction at the level of the entire performance in which non-adjacent sections relate to one another, and where the flow of the performance is regulated by logically introduced musical ideas. In creating a musical narrative, then, we can also respond to each other’s playing, but these responses are not as obvious as simple repetitions tend to be. We can demonstrate our listening skills, for instance, by incorporating an idea that we have previously heard (i.e. a rhythmic motive from the drummer, or a melodic gesture from the guitarist) and develop it in such a way that leads to a more satisfying musical discourse. The call and response aspect of improvisation means that musicians understand each other’s intentions, have an unspoken agreement, so to speak, and project them with a high level of personal expression and musical commitmen

  3. May 2023
  4. Apr 2023

    Tags

    Annotators

    1. Immediately before stepping on stage, he suggests using the tip of your right pinky finger to find the upper end of your trousers zipper. If your fingernail clicks against the zipper’s metal pull-tab, then you are safe and ready to make your entrance. If your pinky slides in up to your knuckle, however, then you have to XYZ PDQ (eXamine Your Zipper, Pretty Darn Quick)!

      Harry Lorayne used a pinky check, in which he used the fingernail of his pinky finger against his the pull-tab of his zipper to ensure his fly was closed, every night before appearing on stage to prevent embarrassment and to maintain credibility as a memory expert.

      MAGIC MENTOR MONDAY: Harry Lorayne - Chamber Magic<br /> by Steve Cohen

  5. Mar 2023
  6. Feb 2023
  7. Jan 2023
    1. Because endpoints are URLs, you can – and should – monitor them to ensure they stay online. When talking about online services and websites, you’ll often hear the word “uptime”. This is the percentage of time your application stays up – in other words, the percentage of time your app is accessible and functioning. Outages and performance errors will lower your overall percentage.Monitoring your endpoints also gives you metrics on which endpoints are being accessed and what types of API calls developers are making. This can help you track user behavior, and gain insight into which endpoints are highly trafficked so you can maintain your performance.
  8. Dec 2022
  9. Nov 2022
    1. Scaffolding is the act of providing learners with assistance or support to perform a taskbeyond their own reach if pursued independently when “unassisted.”

      Wood, Bruner, & Ross (1976) define scaffolding as what? (Metiri Group, Cisco Sytems, 2008) The act of providing learners with assistance or support to perform a task beyond their own reach if pursued independently when "unassisted."

      What term do Wood, Bruner, & Ross (1976) define as "The act of providing learners with assistance or support to perform a task beyond their own reach if pursued independently when 'unassisted.'"? (Metiri Group, Cisco Sytems, 2008) Scaffolding

    1. It's not entirely the Twitter people's fault. They've been taught to behave in certain ways. To chase likes and retweets/boosts. To promote themselves. To perform.

      Twitter trains users to behave a certain way. It rewards a specific type of performance. In contrast, until now at least, M is focused on conversation (and the functionality of the apps reinforce that, with how boosts and likes work differently)

    1. The most intriguing result in the present study is thepositive effect of white noise on performance for theADHD children. This noise effect was present in boththe non-medicated and medicated children. Thissupports the MBA (Moderate Brain Arousal) model(Sikstro ̈m & So ̈derlund, 2007), suggesting that theendogenous (neural) noise level in children withADHD is sub-optimal. MBA accounts for the noise-enhancing phenomenon by stochastic resonance(SR). The model suggests that noise in the environ-ment introduces internal noise into the neural sys-tem through the perceptual system. Of particularimportance, the MBA model suggests that the peakof the SR curve depends on the dopamine level, sothat participants with low dopamine levels (ADHD)require more noise for optimal cognitive performancecompared to controls.

      Author's self-described "most intriguing result"

    2. Results: Noise exerted a positive effect on cognitive performance forthe ADHD group and deteriorated performance for the control group, indicating that ADHD subjectsneed more noise than controls for optimal cognitive performance

      Explains why studies on music at general population have conflicting results (ie, general decrease in capacity to focus with noisy environment). Wonder if this relates to atonal or discordant and dissonant music (free jazz, avant-guarde, etc) or polyrhythmic and odd metered time signatures

    1. Rust lets us explicitly state our desires to the compiler

      This is the key. It follows that the same results, then, could be seen if we devised a way to communicate the same desires to the machine when we're dealing with JS. (My preferred thought experiment: imagine a docs/ directory in the repo where these sorts of things are documented for the benefit of other programmers—alongside any other rationale that you would naturally hope to communicate as well—and that the computer itself were made to be able to read and act upon the very same documentation to guide its behavior.) See http://cr.yp.to/qhasm/literature.html

  10. Sep 2022
  11. 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.

    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.

  12. 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.

      See also http://cr.yp.to/qhasm/literature.html

  13. 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.

  14. May 2022
    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.
  15. 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 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
  16. 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
  17. Feb 2022
  18. Jan 2022
  19. scattered-thoughts.net scattered-thoughts.net
    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. “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".

  20. 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.

  21. Nov 2021
  22. Sep 2021
  23. Aug 2021
    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).
  24. Jul 2021
  25. 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

  26. May 2021
  27. Apr 2021
    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.

  28. Mar 2021
    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.

  29. 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.
  30. Jan 2021
    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.

  31. Dec 2020
  32. 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. 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.

  33. 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. 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.

  34. Sep 2020
  35. Aug 2020
  36. Jul 2020
    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.
  37. Jun 2020
  38. May 2020
  39. Apr 2020
  40. 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. I would like to make an appeal to core developers: all design decisions involving involuntary session creation MUST be made with a great caution. In case of a high-load project, avoiding to create a session for non-authenticated users is a vital strategy with a critical influence on application performance. It doesn't really make a big difference, whether you use a database backend, or Redis, or whatever else; eventually, your load would be high enough, and scaling further would not help anymore, so that either network access to the session backend or its “INSERT” performance would become a bottleneck. In my case, it's an application with 20-25 ms response time under a 20000-30000 RPM load. Having to create a session for an each session-less request would be critical enough to decide not to upgrade Django, or to fork and rewrite the corresponding components.
  41. Feb 2020
  42. Dec 2019
    1. 75% of online shoppers who experience an issue such as a site freezing, crashing, taking too long to load, or having a convoluted checkout process will not buy from that site. Gomez studied online shopper behavior and found that 88% of online consumers are less likely to return to a site after a bad experience. The same study found that “at peak traffic times, more than 75% of online consumers left for a competitor’s site rather than suffer delays.”
  43. Nov 2019
  44. Oct 2019
  45. Sep 2019
  46. Aug 2019
    1. sequences generated through peephole optimization are discarded if their length is superior to 20

      So values generated via peephole optimization above 20 are not 'pre-computed' but left as is:

      'a' * 21 # remains in the byte code where as
      'a' * 20 # gets converted to 'aaaaaaaaaaaaaaaaaaaa'
      
    2. string subclasses cannot be interned

      Meaning

      class NewString(str):
         pass
      assert NewString('f') is 'f'
      

      Will fail. Where as:

      f = 'f'
      assert f is 'f'
      

      Will pass.

      This is presents a case for not building custom string types in Python as it breaks the string cache and can result in a performance hit.

    3. strings can be compared by a O(1) pointer comparison instead of a O(n) byte-per-byte comparison

      This is a huge advantage. Not only does it save memory by not duplicating simple and common string values, but the comparison method has an early exit that compares the pointers instead of the values. aka in sudo-code form:

      // compare pointers
      if self._value is value:
         return True
      
      // compare values
      for i, v in enumerate(self._value):
         if v != value[i]:
            return False
      return True
      
  47. Jul 2019
    1. Performance assessment does not have to be a time-consuming ordeal; it is a great way to assess our students' skills. It is essential to create a rubric that is simple, quick, and objective. This article discusses the process of creating a rubric as well as showing a rubric used by the author in her general music classroom for several years. Differences between assessment and evaluation are also mentioned.

      How to create a rubric for performance assessment?

  48. Jun 2019
    1. This is especially true for online gaming

      WASM is being used to run many demanding applications directly in the browser. Autocad is one important example where architects can use this application without installing a usually very heavy piece of software on their computers. They can access the Autocad suite from almost any computer only by logging into to a website. It is expected that a large part of the gaming industry will shift this way as well as many other services. One of the main advantages of this approach aside from a lack of a local installation is real-time software updates for any number of users. A new model of software building and execution will be based on WASM. WASM is also very good for blockchains. Search for the WASM section to learn more.

  49. Apr 2019
  50. Mar 2019
    1. bridging formal and informal learning through technology in the twenty first century: issues and challenges This article is in a fully online journal. It relates to schools but the learning is by students, not teachers. However, professional development is called for. The article addresses the desired topic in that it refers to social networking and other technology enabled forms of learning; however, it does not seem to be substantive enough to be tremendously helpful. rating 1/1

    1. ISPI offers a variety of publications, from its member-exclusive monthly and quarterly journals, "Performance Improvement Journal and Performance Improvement Quarterly,"

      International Society for Performance Improvement This is the web page of the professional association. It is similar to other professional association web pages. Some content is available only to those with a membership; individuals must log in. There are links to the publications. These include Performance Improvement Journal, Performance Improvement Quarterly, Performance Xpress. Some features of the website can become a bit difficult to drill down to but there are sometimes job aids and other immediately usable content available. This topic relates to shaping performance of adult employees on the job. Rating: 4/5

    1. Edutech wiki This page has a somewhat messy design and does not look very modern but it does offer overviews of many topics related to technologies. Just like wikipedia, it offers a good jumping off point on many topics. Navigation can occur by clicking through categories and drilling down to topics, which is easier for those who already know the topic they are looking for and how it is likely to be characterized. Rating 3/5

    1. This is one of many discussions of Kirkpatrick's four levels of evaluation. More of the page is taken up with decoration and graphics than needs to be the case but this page is included in this list because it offers a printable guide and because the hierarchy of the four levels is clearly shown. The text itself is printed in black on a white background and it is presented as a bulleted list (the bullets are not organized as well as they could be). Nonetheless it is a usable presentation of this model. rating 3/5