166 Matching Annotations
  1. Nov 2022
    1. the belief that citizens should have the right to come together to decide what’s best for their community

      What Klein overlooks is the Just Powers Clause in The Declaration of Independence.

      It explains that people may only justly delegate powers to Gov that they actually have.

      So one cannot, as in this case, "come together and decide" to infringe on the individual right to keep and bear arms because none of the individuals in Columbus have that power as an individual.

      They can't justly delegate this power to Gov because they don't have the power themselves.

    1. the container ship was simply becoming so large so unwieldy that much of the infrastructure around them is struggling to cope a lot of the decisions to build Supply chains were really based on

      Impact of cheap transportation

      production costs and transport costs

      With transportation costs so low and logistics assumed, manufactures chased cheaper production costs. They would outsource manufacturing to low-cost countries without considering the complexity risks.

  2. Oct 2022
    1. The problem is that the caller may write yield instead of block.call. The code I have given is possible caller's code. Extended method definition in my library can be simplified to my code above. Client provides block passed to define_method (body of a method), so he/she can write there anything. Especially yield. I can write in documentation that yield simply does not work, but I am trying to avoid that, and make my library 100% compatible with Ruby (alow to use any language syntax, not only a subset).

      An understandable concern/desire: compatibility

      Added new tag for this: allowing full syntax to be used, not just subset

  3. Sep 2022
    1. Learned right, which means understanding, which meansconnecting in a meaningful way to previous knowledge, informationalmost cannot be forgotten anymore and will be reliably retrieved iftriggered by the right cues.

      Of course this idea of "learned right" sounds a lot like the problems built into "just". He defines it as meaning "understanding" but there's more he's packing into the word. While his vein example is lovely, the bigger issue is contextualizing everything all the time, which is something that commonly isn't done or even done well over time by educators. This work takes time and effort to help students do this as they're not doing it for themselves until much later in life.

    Tags

    Annotators

    1. Just because you can create a plugin for any tool and manage its versions with asdf, does not mean that is the best course of action for that specific tool.
  4. Aug 2022
    1. I'm building a Rails API with a separate web frontend app as "just another API client" (various smartphone apps to follow as well). In the previous "monolithic" version of the service, where all the server side was rolled into one Rails app
  5. Jul 2022
    1. it falls within TACE

      Does it? Most jQuery is served minified. Even if not, the "full fat" version is not especially readable.

      There are bad reasons to despise jQuery (e.g. because it's old). But there are good reasons, too (because it's bloated and just not very good).

    1. 4.2 Meaningful work and meaningful relationships aren’t just nice things we chose for ourselves—they are genetically programmed into us.

      4.2 Meaningful work and meaningful relationships aren’t just nice things we chose for ourselves—they are genetically programmed into us.

  6. Jun 2022
    1. All this hoopla seems out of character for the sedate man who likes to say of his work: ''Whatever I did, there was always someone around who was better qualified. They just didn't bother to do it.''
    1. War assault weapons have no place except with military?

      It's strange how the same people who imagine a disarmed populace as a good thing are playing catch-up to arm Ukranian civilians against a military. I've lost count of the children massacred by militaries that are the only groups of people magically trustworthy enough to be armed apparently.

      If you left a murderer alone with a room full of kids and a knife for 77 minutes, you'd have the same result - and if you're a student of recent history, you'd know that's exactly the kind of attack that has happened time and again in gun-free victim zones around the world.

      To address this issue properly, citizens must understand the #JustPowers Clause of The Declaration of Independence, the foundation that the US Constitution is laid upon; and a universal document that recognizes the rights of ALL humans.

      Put simply, it states that neither you, nor I, nor anyone else may justly grant powers to others that we do not have.

      If you or I stole our neighbors' firearms, even if we claimed it was for "safety" or "the common good", we'd face criminal charges. We all know this, and the evidence is in our conduct.

      Instead, why not focus just powers such has holding adults responsible for the safety of others accountable for negligence?

  7. May 2022
    1. The security of the data (authentication, confidentiality, integrity and forward secrecy) is handled by the transport security protocol, BTP. The same protocol is used for all transports. BTP is an obfuscated protocol: to anyone except the intended sender and recipient, all data is indistinguishable from random. So BTP's first job is to let the recipient know who sent the data, so the recipient can use the right key to authenticate and decrypt it.

      crypto protocol

  8. Apr 2022
    1. could a few carefully-placed lines of jQuery

      Look, jQuery is not lightweight.* It's how we got into this mess.

      * Does it require half a gigabyte of dev dependencies and regular dependencies to create a Hello, World application? No, but it's still not lightweight.

  9. Mar 2022
  10. Feb 2022
    1. only jquery

      It would be nice if people would stop saying this—and saying it like this—as if it's a badge of honor. jQuery is a fuckin' beast. 10 years ago, the reason that the browser was being brought to a crawl on any given pages often came down to the fact that it was using jQuery. jQuery is the reason that bloated frameworks became normalized and brought us to where we are today. So, enough already with this just-a-little-jQuery stuff.

  11. Jan 2022
  12. notesfromasmallpress.substack.com notesfromasmallpress.substack.com
    1. If booksellers like to blame publishers for books not being available, publishers like to blame printers for being backed up. Who do printers blame? The paper mill, of course.

      The problem with capitalism is that in times of fecundity things can seem to magically work so incredibly well because so much of the system is hidden, yet when problems arise so much becomes much more obvious.

      Unseen during fecundity is the amount of waste and damage done to our environments and places we live. Unseen are the interconnections and the reliances we make on our environment and each other.

      There is certainly a longer essay hiding in this idea.

    1. Just Christoph Udenius, for example, sug-gested leaving thirty or forty blank pages at the end of a commonplace book to be filled in with a well-made subject index, or devoting a separate in-octavo booklet for this essential task;

      Just Christoph Udenius, Excerpendi ratio nova (Nordhausen, 1687), 62–3; Placcius, De arte excerpendi, 84–5; Drexel, Aurifodina, 135.

      What earlier suggestions might there have been for creating indices for commonplaces?

  13. Nov 2021
    1. Even if #foo is originally on the page and then removed and replaced with a #foo which contains baz after a short wait, Capybara will still figure this out.
    2. As long as you stick to the Capybara API, and have a basic grasp of how its waiting behaviour works, you should never have to use wait_until explicitly.
    3. Let’s make that really clear, Capybara is ridiculously good at waiting for content.
    4. apybara could have easily figured out how to wait for this content, without you muddying up your specs with tons of explicit calls to wait_until. Our developer could simply have done this: page.find("#foo").should have_content("login failed")
    1. Calling a software convention "pretty 90s" somewhat undermines your position. Quite a lot of well-designed software components are older than that. If something is problematic, it would be more useful to argue its faults. When someone cites age to justify change, I usually find that they're inexperienced and don't fully understand the issues or how their proposed change would impact other people.
  14. Oct 2021
    1. And on any given day, developing with Svelte and its reactive nature is simply a dream to use. You can tell Svelte to track state changes on practically anything using the $: directive. And it’s quite likely that your first reactive changes will produce all the expected UI results.
    1. DIRECTORY (in progress): This post is my directory. This post will be tagged with all tags I ever use (in chronological order). It allows people to see all my tags, not just the top 50. Additionally, this allows me to keep track. I plan on sorting tags in categories in reply to this comment.

      External links:

      Tags categories will be posted in comments of this post.

  15. Sep 2021
    1. Let's not get over-excited. Actually, we're only part-way there; you can compile this code with the TypeScript compiler.... But is that enough?I bundle my TypeScript with ts-loader and webpack. If I try and use my new exciting import statement above with my build system then disappointment is in my future. webpack will be all like "import whuuuuuuuut?"You see, webpack doesn't know what we told the TypeScript compiler in the tsconfig.json.
  16. Aug 2021
  17. Jul 2021
    1. Meanwhile, we remain trapped in two countries. Each one is split by two narratives—Smart and Just on one side, Free and Real on the other. Neither separation nor conquest is a tenable future. The tensions within each country will persist even as the cold civil war between them rages on.
    2. Just America is a narrative of the young and well educated, which is why it continually misreads or ignores the Black and Latino working classes.

      the participants of "Just America"

    3. In the same way that libertarian ideas had been lying around for Americans to pick up in the stagflated 1970s, young people coming of age in the disillusioned 2000s were handed powerful ideas about social justice to explain their world. The ideas came from different intellectual traditions: the Frankfurt School in 1920s Germany, French postmodernist thinkers of the 1960s and ’70s, radical feminism, Black studies. They converged and recombined in American university classrooms, where two generations of students were taught to think as critical theorists.

      Libertarian ideas being picked up in the 1970s.in analogy with

      Frankfurt School in 1920s Germany and French postmodernist thinkers of the 1960s and 70s put into "Just America"

  18. Jun 2021
    1. '...ee' is usually paired with an '..er', isn't it? Employee/Employer, Trainee/Trainer. I wouldn't use Coachee because to me, it implies you're a Coacher, not a Coach.

      Just because "...ee" is usually paired with an "...er" word doesn't mean it can never be paired with a non-"-er", non-"-or" word.

      I'm sure there are many examples of inconsistencies in English that we could point at to make that point...

  19. May 2021
    1. “You can’t use HTML5 or CSS3 in email.” Due to their “limited” support, the idea that using HTML5 and CSS3 in email is “impossible” remains a commonly-held notion throughout the email design industry. However, we’re calling it a complete myth.
    1. Just because there can be issues with CSS in HTML emails doesn’t mean you should abandon efforts to use it. It all comes down to determining which codes are absolutely needed and how to style them so they can be rendered by email platforms.
  20. Apr 2021
    1. (Yes, I realize from a technical, end-user perspective this really doesn't matter.)

      The word "technical" in this sentence doesn't seem to belong or to clarify anything. I think it would be clearer without it.

      But I think I understand what he's saying, which is that technical details don't matter to the end user. They only know/see/care if it works or not.

    1. Although echo "$@" prints the arguments with spaces in between, that's due to echo: it prints its arguments with spaces as separators.

      due to echo adding the spaces, not due to the spaces already being present

      Tag: not so much:

      whose responsibility is it? but more: what handles this / where does it come from? (how exactly should I word it?)

    1. unsuspecting childlikeness

      I'd also add [learned helplessness] (https://www.britannica.com/science/learned-helplessness) - the constant need for entertainment is definitely a problem, but if we take a deterministic view of these broader design trends the long-term ramifications are even more disturbing - the rise of Web 2.0 has seen a massive shift towards user-friendly platforms, but in addition to cultural infantilization we are seeing a significant decrease in tech literacy - and sometimes these trends manifest simultaneously. For instance, I'm writing this annotation in Chrome, but if I lose internet access my browser tab would allow me to play the endlessly addictive "Chrome Dino" browser game until my connection was restored - this is a fairly innocuous little easter egg (not coincidentally a term also used by Yelp UI designer Yoni De Beule in one of the articles I linked to above), but it does raise some broader questions about the amount of tech literacy and user autonomy these companies want us to have - features like these suggest that passivity is their preferred state for consumers, which is troubling.

    1. # +devise_for+ is meant to play nicely with other routes methods. For example, # by calling +devise_for+ inside a namespace, it automatically nests your devise # controllers: # # namespace :publisher do # devise_for :account # end
  21. Mar 2021
    1. Following on the IndieWeb's "just" conversation, this illustration is a good example of the idea, though step 5 doesn't include the words "just" or "simply". It can reflect the problems of leaving these words out without providing the additional context they're papering over.

    1. The beauty of hypertext is that we’re able to quickly add much-needed context helpful for n00bs but easy enough for those already in-the-know to scan over. And making documentation more human-readable benefits everyone.

      It would be cool to make developers and writers document all the missing information in their documents every time they use the word "[[just]]".

    1. Svelte is there when I need it with useful APIs, but fades into the background as I put my app together.
    2. One part of React that I've always championed is how it's just JavaScript. I like that in React you don't use a distinct template syntax and instead embed JavaScript, compared to Svelte's templating language
    3. I will always find React's approach easier - at least in my head - and I think more friendly to people familiar with JavaScript who are learning a library.
    1. Another important MicroJS attribute is independence. Ember, Backbone—even Bootstrap to a degree–have hard dependencies on other libraries. For example, all three rely on jQuery. A good MicroJS library stands by itself with no dependencies. There are exceptions to the rule, but in general, any dependency is another small MicrojJS library.
    1. Last week, I shared how to check if an input is empty with CSS. Today, let’s talk about the same thing, but with JavaScript.
    1. You can do and impressive amount of form validation with just HTML attributes. You can make the user experience pretty clean and clear with CSS selectors.
    1. the client form validation is the one I like a lot, because, for example, by adding required attribute to an input, I don’t need to write any additional JavaScript to warn a user, when the user submits a form without filling out the required fields
    1. There’s no additional logic from Trailblazer happening here. The function returns a well-defined hash which is passed as an argument to step.
  22. Feb 2021
    1. Keyword arguments allow to define particular parameters as required. Should the parameter be missing, they also provide a way to set a default value. This is all done with pure Ruby.
    1. This is failing CI because CI is testing against Rails < 6. I think the appropriate next steps are: Open a separate PR to add Rails 6 to the CI matrix Update this PR to only run CSP-related test code for Rails >= 6.0.0 Can you help with either or both of those?
    1. which entails computer programming (process of writing and maintaining the source code), but also encompasses a planned and structured process from the conception of the desired software to its final manifestation
    1. Operations define the flow of their logic using the DSL and implement the particular steps with pure Ruby.
    1. And honestly, most people prefer the no hassle, especially after wasting too much time dabbling with distros that are "for advanced users" troubleshooting all kinds of dumbass problems that just worked out of the box in many other distros.
    1. I chose 18.04 because it's the latest LTS version, and I'm not keen on updating my OS every year or so. (I like getting things stable and not having to worry for a while)
  23. Jan 2021
    1. Its not too complicated but it is an annoyance. I want /etc/hosts, /etc/resolv.conf, /etc/nsswitch.conf, /etc/rc.local and all the standard stuff to work. The heavy lifting is done in the kernel. All they need to do is leave it alone. Its getting harder to make Ubuntu behave like Linux.
    1. Most users frankly don’t care how software is packaged. They don’t understand the difference between deb / rpm / flatpak / snap. They just want a button that installs Spotify so they can listen to their music.
    2. What’s the use of ie. snap libreoffice if it can’t access documents on a samba server in my workplace ? Should I really re-organize years of storage and work in my office for being able to use snap ? A too high price to pay, for the moment.
    3. I - we all - totally agree about the benefits of snap for developers. But the loss of comfort and flexibility for end user is eventually a no-go option.
    4. Only folks who help package Chromium get to decide how Chromium gets packaged. This gives anyone two options: You can get involved and help package Chromium so you have a voice in the decision-making, or not.
    5. Users want work be done. Not struggling about how allowing access to removable medias or such a file on another partition… Not breaking their habits or workflows each time a snap replaces a deb.
  24. Dec 2020
    1. My frustration is mainly from Svelte's choices that are very un-JavaScript-like. It doesn't have to be "like React/Vue". React is React because it doesn't restrict what you can do with JavaScript for the most part. It's just common FP practice to fold/map.
  25. Nov 2020
    1. It's really helpful that Svelte stores are easy to use in plain JS. We can change a state store over completely to Svelte and make the Angular components subscribe to that store as well without needing to maintain and sync 2 copies of the state.
    1. This is Sass based, and therefore doesn't require Svelte components

      Just because we could make Svelte wrapper components for each Material typography [thing], doesn't mean we should.

      Compare:

      • material-ui [react] did make wrapper components for typography.

        • But why did they? Is there a technical reason why they couldn't just do what svelte-material-ui did (as in, something technical that Svelte empowers/allows?), or did they just not consider it?
      • svelte-material-ui did not.

        • And they were probably wise to not do so. Just reuse the existing work from the Material team so that there's less work for you to keep in sync and less chance of divergence.
    1. Mostly it is pure JS once it gets inside the browser, so you can debug effectively which is not the case with Vue for example.
    1. If the goal of this is purely to avoid showing a runtime warning (and isn't needed for other functionality) I think we should try to consider other ways of dealing with the root issue. See also #4652, which has been opened for just this concern.
  26. Oct 2020
    1. There are other features you *could* actually polyfill, such as Array.of, Number.isNaN or Object.assign, because those don’t introduce syntax changes to the language – except that you shouldn’t.
    1. All validators can be used independently. Inspried by functional programming paradigm, all built in validators are just functions.

      I'm glad you can use it independently like:

      FormValidation.validators.creditCard().validate({
      

      because sometimes you don't have a formElement available like in their "main" (?) API examples:

      FormValidation.formValidation(formElement
      
    1. If the react cargo cult didn't have the JSX cowpath paved for them and acclimated to describing their app interface with vanilla javascript, they'd cargo cult around that. It's really about the path of least resistance and familiarity.
    2. hyperscript is much simpler to refactor and DRY up your code than with JSX, because, being vanilla javascript, its easier to work with variable assignment, loops and conditionals.
    1. This is valid javascript! Or harmony or es6 or whatever, but importantly, it's not happening outside the js environment. This also allows us to use our standard tooling: the traceur compiler knows how to turn jsx`<div>Hello</div>`; into the equivalent browser compatible es3, and hence we can use anything the traceur compile accepts!
    1. So while Solid's JSX and might resemble React it by no means works like React and there should be no illusions that a JSX library will just work with Solid. Afterall, there are no JSX libraries, as they all work without JSX, only HyperScript or React ones.
  27. Sep 2020
  28. docs.google.com docs.google.com