448 Matching Annotations
  1. Last 7 days
    1. I like minimal languages and I have dwelled in the realm of Smalltalk minimalism for a long time, and as a Smalltalker I am also accustomed to a very high level of productivity, interactivity and sophistication of development environment. Nim may be productive once you get going - in fact - many people say they indeed are. But when it comes to interactivity and development environment, its very … early in the game.
  2. Oct 2021
  3. Sep 2021
    1. This globe has been under constant revolution. Urbanization has also caused an increase in the rate of internet users. As of July 2021, nearly 5 billion people use the Internet. There has been a consistent rise of 257 million new Internet users since the COVID-19 pandemic struck us.
    1. Hoy en día están en boga términos como aprendiza-je colaborativo y aprendizaje cooperativo. Estos dos pro-cesos de aprendizaje se diferencian principalmente enque en el primero los alumnos son quienes diseñan suestructura de interacciones y mantienen el control sobrelas diferentes decisiones que repercuten en su aprendi-zaje, mientras que en el segundo, es el profesor quiendiseña y mantiene casi por completo el control de laestructura de interacciones y de los resultados que se hande obtener [Pani97]. En el aprendizaje cooperativo se da,esencialmente, una división de tareas; en el aprendizajecolaborativo se necesita estructurar interdependenciaspositivas para lograr una cohesión grupal

      Se resalta la diferencia entre estos dos conceptos

      https://www.youtube.com/watch?v=Rm6nWIjzErk

    1. ERP vs CRM: Which do you need?

      Both CRM and ERP systems handle contacts, companies, quotes, orders and forecasts… and they may handle line-item configuration, bundles, delivery schedules and invoices. Where does one start and the other stop? So what's the difference between erp and crm? Behold this guide for the bewildered.

    1. re had evolved, which the propagandists of discipline regarded with dismay. Josiah Tucker, the dean of Gloucester, declared in 1745 that "the lower class of people" were utterly degenerated. Foreigners (he sermonized) found "the common people of our populous cities to be the most abandoned, and licentious wretches on earth

      Such brutality and insolence, such debauchery and extravagance, such idleness, irreligion, cursing and swearing, and contempt of all rule and authority ... Our people are drunk with the cup of liberty.

      This sounds eerily like some of the same sorts of fears, uncertainties, and doubt that middle America has about our bigger cities. Though I'll note that broadly they feel like they're the party of "liberty" now.

      This is an interesting data point in the long-running contention between the city and the countryside that seems to dominate large swaths of human history.

    1. we will give you a complete overview of .Net Framework vs. .Net Core. The article will draw light on its functionalities and help you to quickly get the difference between Dot Net Core and Dot Net Framework.
    1. Some studies in the field of physics education found that students’ understanding of the subject is less accurate after an introductory college physics course.

      The idea of learning by doing may have even more profound effects based on the idea of grounding. Experience in the physical world may dramatically inform experiences with the theoretical world.

    2. Continual engagement with the mental rigors of modern life coincided in many parts of the world with improving nutrition, rising living conditions and reduced exposure to pathogens. These factors produced a century-long climb in average I.Q. scores — a phenomenon known as the Flynn effect, after James Flynn, the political philosopher who identified it.

      The Flynn effect is the substantial and sustained increase in intelligence test scores over most of the twentieth century.

      Research seems to indicate that the effect is environmentally caused: https://www.pnas.org/content/115/26/6674

    1. You can help make Node.js and browsers more unified. For example, Node.js has util.promisify, which is commonly used. I don’t understand why such an essential method is not also available in browsers. In turn, browsers have APIs that Node.js should have. For example, fetch, Web Streams (The Node.js stream module is awful), Web Crypto (I’ve heard rumors this one is coming), Websockets, etc.
    2. The main reason I love Node.js is that I don’t have to deal with the awfulness that is JS front-end tooling.
    1. Cut a dado groove with a 3/4” diameter router bit and you’ll almost certainly have a too-loose joint when you try to plug some 3/4” plywood in place. Under the guise of metrification, sheet material thicknesses have all shrank enough to cause problems with joinery if you rely on the old, Imperial thickness designations. And besides, material thickness varies enough from sheet to sheet that it can make a difference when it comes to prominent joinery. This is even true in the USA that still uses Imperial more or less exclusively. Sheet goods remain thinner than their name specifies.
    1. Side note: When I flagged yours as a dupe during review, the review system slapped me in the face and seriously accused me of not paying attention, a ridiculous claim by itself since locating a (potential) dupe requires quite a lot of attention.
    1. Airtable evolves with you and your team, so you can build a solution with increasing sophistication and capability.
  4. Aug 2021
    1. therefore in practice it's a bit academic to worry about which lines inside that block the compiler should be happy or unhappy about. From falsehood, anythihng follows. So the compiler is free to say "if the impossible happens, then X is an error" or "if the impossible happens, then X is not an error". Both are valid (although one might be more or less surprising to developers).
    1. Introduced in the perfectly named “Typescript and validations at runtime boundaries” article @lorefnon, io-ts is an active library that aim to solve the same problem as Spicery:TypeScript compatible runtime type system for IO decoding/encoding

      io-ts

    2. It means that when having a type guard:TypeScript and JavaScript runtime are tied to the same behaviour.
    3. Inside the if statement, TypeScript will assume that amount cannot be anything else than a string, which is true also at the runtime thanks to typeof JavaScript operator.
    1. there’s no spec for a search engine, since youcan’t write code for “deliver links to the 10 web pages that best match the customer’s intent”
    1. when you're reading some fresh code in your browser, do you really want to stop to configure that test harness

      Running the tests should be as easy as opening something in the browser.

    1. il faut envisager ici l’échelle de la machine en adéquation avec celles des énergies terrestres et concevoir des structures qui, dans le temps, épouseront les cycles de l’ère géologique que nous habitons

      Ce type de problème de conception est inhérent a la propre finitude de l’être humain : on ne peut pas penser a tout. Cependant, si un système est bien conçu, ce type d’erreur peut souvent être résolu par une mise a jour logicielle (plus ou moins bas niveau). Il est donc possible que la correction de ce bug ne coûte aucune matière additionnelle : pas besoin de remplacer le matériel, mais besoin de beaucoup se creuser le cerveau pour mettre a jour le logiciel.

  5. Jul 2021
    1. as a more experienced user I know one can navigate much more quickly using a terminal than using the hunt and peck style of most file system GUIs

      As an experienced user, this claim strikes me as false.

      I often start in a graphical file manager (nothing special, Nautilus on my system, or any conventional file explorer elsewhere), then use "Open in Terminal" from the context menu, precisely because of how much more efficient desktop file browsers are for navigating directory hierarchies in comparison.

      NB: use of a graphical file browser doesn't automatically preclude keyboard-based navigation.

    1. consumer friendly

      Including the "consumer" here is a red herring. We're meant to identify as the consumer and so take from this statement that our rights and best interests have been written into these BigTech-crafted laws.

      But a "consumer" is different from a "citizen," a "person," we the people.

  6. Jun 2021
    1. There is a tendency to hold unrealistic expectations regarding “spiritual”leaders and teachers, and likewise for what spiritual practice might eventually do for ourselves. One is that mindfulness and Insightcan somehow magically transcend the causes and conditions that shaped ourlives and personalities. To paraphrase the Buddha, what arises in dependence on causes and conditions onlyceases dueto causes and conditions! Meditation and dharma practice create the specific causes and conditions for certain things to arise and others to pass away–but not everythingwe might wish for. Ihave discovereddeeply embeddedautomatic patterns of respondingin fundamentally unhealthy waysto certain situations. Theseautomatic response patterns are the productof an extreme emotionally, psychologically, and physically traumatic childhood, compounded by coping methods I developed in the decade or so after leaving home at 15. From being a homeless adolescent living on the streets, never attending much less graduating high school, I obtained a PhD andhaveled a successful and rewarding professional and spiritual life. However, those conditioned response patterns and coping strategies that had served me well in a life with such difficult beginningswere ultimately disastrous –in my interactions with my wife,then whenconfronted bythe Board of Dharma Treasure. Within themlies the root of much of my unskillfulness.The personal work and therapy I’m doing now continues to clarify these. Becoming aware of them has allowed me to make progress in overcoming them.What I realized through working with my therapist and a life coach was that, for all my life,I’ve had almost no ability to establish and maintain clearpersonal boundariesin interpersonal interactions. If someone was upset, angry, hurt, disappointed, afraidorwhatever, I tendedtotakepersonal responsibilityfor their mental state. Regardless of the cause, or whether or not I hadanything to do with their being upset.Or even the reasonableness or unreasonableness of their reactions!Iwouldbecome inappropriately over-committed to relieving their distress, and likewise inappropriately over-committed in every other part of my life as well. I havealsobeenextremelyconflictavoidant.When confronted with angerand/or aggression,I woulddo almost anything to placate. Itendedto avoid conflict by beingexcessively compliant, acquiescingtoo quickly, andengaginginvariousconflict avoidance strategies.I too readily acceptedtheviews ofothers,or triedto find waysto side-step issues of conflict, to relieve another’s pain and anger whiledisregarding the cost to myself or future consequences. If attempts to placate failed, and full-blown conflict seemedinevitable, I wouldoften disengage, withdraw, surrender, and even take a beating if necessary.

      +10

    1. a never-ending argument about choosing an ideal one from Laravel vs. ASP.Net keeps going. Both these technologies have emerged powerful and give a nip and tuck competition to each other.
    1. In general, top-level errors should only be used for exceptional circumstances when a developer should be made aware that the system had some kind of problem. For example, the GraphQL specification says that when a non-null field returns nil, an error should be added to the "errors" key. This kind of error is not recoverable by the client. Instead, something on the server should be fixed to handle this case. When you want to notify a client some kind of recoverable issue, consider making error messages part of the schema, for example, as in mutation errors.
    1. Process based parallelisation is simpler than thread based due to well, the GIL on MRI rubies and lack of 100% thread safety within the other gems. (I'm fairly certain for example that there are threaded bugs lurking within the mocks code).
    1. Parallel testing in this implementation utilizes forking processes over threads. The reason we (tenderlove and eileencodes) chose forking processes over threads is forking will be faster with single databases, which most applications will use locally. Using threads is beneficial when tests are IO bound but the majority of tests are not IO bound.
    1. The mechanical clock, which came into common use in the 14th century, provides a compelling example. In Technics and Civilization, the historian and cultural critic Lewis Mumford  described how the clock “disassociated time from human events and helped create the belief in an independent world of mathematically measurable sequences.” The “abstract framework of divided time” became “the point of reference for both action and thought.”

      Description of how a technology the clock changed the human landscape.

      Similar to the way humans might practice terraforming on their natural environment, what should we call the effect our natural environment has on us?

      What should we call the effect our technological environment has on us? technoforming?

      Evolution certainly indicates that there's likely both short and long-term effects.

      Who else has done research into this? Do we have evidence of massive changes with the advent of writing, reading, printing, telegraph, television, social media, or other technologies available?

      Any relation to the nature vs nurture debate?

    1. a principle I use is: If you have an accessor, use the accessor rather than the raw variable or mechanism it's hiding. The raw variable is the implementation, the accessor is the interface. Should I ignore the interface because I'm internal to the instance? I wouldn't if it was an attr_accessor.
    2. Also, Sandi Metz mentions this in POODR. As I recall, she also advocates wrapping bare instance variables in methods, even when they're only used internally. It helps avoid mad refactoring later.
    3. But suddenly I'm using a raw instance variable, which makes me twitch. I mean, if I needed to process has_sauce before setting at a future date, I'd potentially need to do a lot more refactoring than just overriding the accessor.
    1. And this has some immediate benefits: more efficiency, significantly faster to process, supports indexing (which can be a significant advantage, as we'll see later), simpler schema designs (replacing entity-attribute-value (EAV) tables with jsonb columns, which can be queried, indexed and joined, allowing for performance improvements up until 1000X!)
    2. Besides efficiency, there are extra ways in which you can benefit from storing JSON in binary form. One such enhancement is the GIN (Generalized Inverted Index) indexes and a new brand of operators that come with them.
    1. The globalThis property provides a standard way of accessing the global this value (and hence the global object itself) across environments. Unlike similar properties such as window and self, it's guaranteed to work in window and non-window contexts. In this way, you can access the global object in a consistent manner without having to know which environment the code is being run in.
    1. graphqlSync is a relatively recent addition to GraphQL.js that lets you execute a query that you know is going to return synchronously and get the result right away, rather than getting a promise. Since we know that introspection won’t require calling any asynchronous resources, we can safely use it here.
    1. contact the API layer using internal DNS hostname of the API service for better latency. It can go straight to the application load balancer instead of passing through the external load balancer first
  7. May 2021
    1. Nowadays when I want technical support I will email my web host and give them all the necessary information, i.e. what I have tried to do to resolve, what I think the problem is etc and usually it is fixed first time within a few hours. If I need urgent assistance I will ring them but 99% of the time email is sufficient and less stressful, rarely do I need to send a second email.
    2. If you email helpdesk (us specifically), if you use appropriate technical detail you will probably get someone who knows what they're doing, and will greatly appreciate it. If you call, you will get me only. I will ask you lots of questions, with awkward pauses in between while I write my notes, and at the end of it I probably won't be able to help you. Technical detail is still welcome, but there are some questions I will ask you anyway even if they sound useless to you
    3. Calling over e-mailing has a number of advantages, you're able to empathize with the person and they're able to hear how comfortable you are with the topic over the phone.
    1. More importantly, using a plain email would save lots of time and effort. As a goal-driven-lazy person, that’s a good enough reason to start experimenting.
    2. They don't look like advertisements. The second the recipient interprets your email as an ad, promotion, or sales pitch—and it does take just a second—its chances of being read or acted upon plummet towards zero. A plain email leads people to start reading it before jumping to conclusions.

      forces you to read before deciding

    3. They feel more personal. It's no handwritten note, but it's much more personal than an over-designed email with the recipient's first name crammed somewhere inside.
    4. The plain, unstyled emails resulted in more opens, clicks, replies, and conversions, every time.
    5. They're less likely to go into the "Promotions" tab in Gmail (used by ~16% of all email users), for the same reasons above. From my testing, the plain emails typically end up in the Updates tab and some times even in the primary tab. Of course, the text in the email also affects this.
    6. The plain email—which took no time to design or code—was opened by more recipients and had 3.3x more clicks than the designed email.
    7. Email tools/clients are inconsistent in how they render HTML and CSS. A designed email might look great in Gmail, broken in Outlook, and unreadable in Apple Mail. Half of all emails are opened on mobile devices (according to one study). Email looks good in different clients? Great, now make it work on a 4" screen just as well as on a desktop.
  8. Apr 2021
    1. Flutter vs React Native vs Xamarin for Cross Platform Development

      Developing a new app for your business is definitely a great move to take a company to new heights of success. However, among the plethora of mobile app development platforms to choose from, the task becomes a bit tedious.<br> Cross-platform mobile development is highly regarded owing to the numerous benefits it brings along as compared to Native app development. In this blog post, we will compare the top three Cross-platform mobile development platforms; Flutter Vs React Native Vs Xamarin, to help you make a better decision when going for app development

    1. But decentralized learning goes farther than that: in a decentralized, Collaborative Learning environment, each team member participates in the learning process. They can identify their learning needs, request courses, give feedback on existing courses, and create courses themselves. We call this a bottom-up approach
      • push vs pull for learning - create an environment that enables learning to happen, and let the people doing the work surface what they need to learn, and then help facilitate and amplify that process
    1. Google developed Dart to deliver optimized client apps and ease the development process. It came into the world nine years back. Since then, it has successfully manifested the reputation of being an ahead-of-its-time technology. This has enabled many visionaries to provide the world with apps that deliver an experience like never before. We'll talk about apps developed with Dart in the later part of the blog.

      The technology world is an ever-growing and expanding one, which today has many segments of its own. From that, app development is a highly evolving one. Dart Vs. Kotlin is the prime example of this.

  9. Mar 2021
    1. React and Svelte are very similar in many ways, but what I've found is that in all the little ways that they are different, I prefer Svelte.
    2. Svelte is different in that by default most of your code is only going to run once; a console.log('foo') line in a component will only run when that component is first rendered.
    3. Talking of context, that's much closer to the approach I take with Svelte and use a writable store.
    1. This is not a fork. This is a repository of scripts to automatically build Microsoft's vscode repository into freely-licensed binaries with a community-driven default configuration.

      almost without a doubt, inspired by: chromium vs. chrome

    1. Essentially we're trying to figure out when it's appropriate for "my" code to become "everyones" code, and if there are steps in between. ("Standard library", for example.)
    2. this only applies to end products which are actually deployed. For my modules, I try to keep dependency version ranges at defaults, and recommend others do the same. All this pinning and packing is really the responsibility of the last user in the chain, and from experience, you will make their life significantly more difficult if you pin your own module dependencies.
    1. MVP vs POC vs Prototype: Bringing Great Ideas to Life

      Many companies struggle to decide whether creating a proof of concept (POC), prototype, minimum viable product, or a combination is the right way to approach mobile app development. Understanding and carrying out these three methods(mvp vs prototype vs poc) of mobile product validation properly can significantly improve the chances of winning investor buy-in and acquiring funding, reducing project costs, as well as establishing longevity in the mobile app market

  10. afarkas.github.io afarkas.github.io
    1. If set to true the UI of all input widgets (number, time, month, date, range) are replaced in all browsers (also in browser, which have implemented these types). This is useful, if you want to style the UI in all browsers.
  11. Feb 2021
    1. Rebasing For feature/topic branches, you should always use the --rebase flag to git pull, or if you are usually handling many temporary "to be in a github pull request" branches, run the following to automate this: git config branch.autosetuprebase local

      That's what I keep telling people. Glad to see I'm not the only one...

    1. Source maps eliminate the need to serve these separate files. Instead, a special source map file can be read by the browser to help it understand how to unpack your assets. It "maps" the current, modified asset to its "source" so you can view the source when debugging. This way you can serve assets in development in the exact same way as in production.
    1. When Sprockets was introduced, one of the opinions that it held strongly, is that assets such as CSS and JS should be bundled together and served in one file.
    2. 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.
    1. In the telecommunications industry, on a conceptual level, value-added services add value to the standard service offering, spurring subscribers to use their phone more and allowing the operator to drive up their average revenue per user.
    2. For mobile phones, technologies like SMS, MMS and data access were historically usually considered value-added services, but in recent years SMS, MMS and data access have more and more become core services, and VAS therefore has begun to exclude those services.
    1. There are times where it is useful to know whether a value was passed to run or the result of a filter default. In particular, it is useful when nil is an acceptable value.

      Yes! An illustration in ruby:

      main > h = {key_with_nil_value: nil}
      => {:key_with_nil_value=>nil}
      
      main > h[:key_with_nil_value]
      => nil
      
      main > h[:missing_key]  # this would be undefined in JavaScript (a useful distinction) rather than null, but in Ruby it's indistinguishable from the case where a nil value was actually explicitly _supplied_ by the caller/user
      => nil
      
      # so we have to check for "missingness" ("undefinedness"?) differently in Ruby
      
      main > h.key?(:key_with_nil_value)
      => true
      
      main > h.key?(:missing_key)
      => false
      

      This is one unfortunate side effect of Ruby having only nil and no built-in way to distinguish between null and undefined like in JavaScript.

    2. Setting it to a lambda will lazily set the default value for that input.
    1. The rationale is that it's actually clearer to eager initialize. You don't need to worry about timing/concurrency that way. Lazy init is inherently more complex than eager init, so there should be a reason to choose lazy over eager rather than the other way around.
    1. The Oxford English Dictionary says that the global network is usually "the internet", but most of the American historical sources it cites use the capitalized form.
    1. many successful projects have proven that you can develop high-quality code more rapidly (and cost effectively) this way than with the traditional pipelined approach
    1. Recently, cross-platform apps have gained more popularity and preference for their native-like experience and low-cost development. As a result, Flutter Vs. Kotlin has become a famous debate.

      Flutter & Kotlin are cross-platform SDKs that allow you to create native-like mobile applications with only one codebase. In simple words, by single coding, you can have an app for iOS and Android.

  12. Jan 2021
    1. And since auto is entirely based on content, we can say it is “indefinitely” sized, its dimensions flex. If we were to put an explicit width on the column, like 50% or 400px, then we would say it is “definitely” sized.
    1. aspirations and actions

      Sooo, which do you think will inform the content when their actions (a.k.a. HISTORY) run afoul of their aspirations (a.k.a. ideology/philosophy)

    1. Monaco is what VScode, and CodeSandBox, use for code editing. It's obviously one of the best code editors in the world. It's always been on my want-to-try-list and this is the perfect proejct.
    1. This is probably rare enough that you would probably make a class (e.g. .link-looking-button) that incorporates the reset styles from above and otherwise matches what you do for anchor links.
    2. You can style a link to look button-like Perhaps some of the confusion between links and buttons is stuff like this: <img loading="lazy" src="https://i1.wp.com/css-tricks.com/wp-content/uploads/2020/01/Screen-Shot-2020-01-08-at-8.55.49-PM.png?resize=264%2C142&#038;ssl=1" alt="" class="wp-image-301534" width="264" height="142" data-recalc-dims="1" />Very cool “button” style from Katherine Kato. That certainly looks like a button! Everyone would call that a button. Even a design system would likely call that a button and perhaps have a class like .button { }. But! A thing you can click that says “Learn More” is very much a link, not a button. That’s completely fine, it’s just yet another reminder to use the semantically and functionally correct element.
    1. If a link doesn't have a meaningful href, it should be rendered using a <button> element.

      Hmm. Do I agree with this?

    1. I think “buttons do things (configure the download), links go places (request the download)” still holds.
    2. Buttons Do Things, Links Go Places
    3. However, the W3C provides us with an important clue as to who is right: the download attribute.
    4. There seems to be a lot of confusion over when to use buttons and when to use links. Much like tabs versus spaces or pullover hoodies versus zip-ups, this debate might rage without end.
    5. The debate about whether a button or link should be used to download a file is a bit silly, as the whole purpose of a link has always been to download content. HTML is a file, and like all other files, it needs to be retrieved from a server and downloaded before it can be presented to a user. The difference between a Photoshop file, HTML, and other understood media files, is that a browser automatically displays the latter two. If one were to link to a Photoshop .psd file, the browser would initiate a document change to render the file, likely be all like, “lol wut?” and then just initiate the OS download prompt. The confusion seems to come from developers getting super literal with the “links go places, buttons perform actions.” Yes, that is true, but links don’t actually go anywhere. They retrieve information and download it. Buttons perform actions, but they don’t inherently “get” documents. While they can be used to get data, it’s often to change state of a current document, not to retrieve and render a new one. They can get data, in regards to the functionality of forms, but it continues to be within the context of updating a web document, not downloading an individual file. Long story short, the download attribute is unique to anchor links for a reason. download augments the inherent functionality of the link retrieving data. It side steps the attempt to render the file in the browser and instead says, “You know what? I’m just going to save this for later…”
    1. Technologies are subject to change, modification, and evolution. They are like the proclamation “The king is dead, long live the king.” In the proclamation, one part refers to a king who is dead while the other part refers to the heir who succeeds the predecessor. ASP.NET and PHP including all other technologies go through similar situations.

      As far as the question is concerned, yes, you should consider using PHP and ASP.NET Core as web development in 2021. However, you need to make sure that the technologies are a perfect match for your project.

  13. Dec 2020