45 Matching Annotations
  1. Apr 2021
  2. Feb 2021
    1. Set your models free from the accepts_nested_attributes_for helper. Action Form provides an object-oriented approach to represent your forms by building a form object, rather than relying on Active Record internals for doing this.

      It seems that the primary/only goal/purpose was to provide a better alternative to ActiveRecord's accepts_nested_attributes_for.

      Unfortunately, this appears to be abandoned.

    1. Set your models free from the accepts_nested_attributes_for helper. Active Form provides an object-oriented approach to represent your forms by building a form object, rather than relying on Active Record internals for doing this.
  3. Jan 2021
    1. +1 For Devuan here, running it on my home and work machines, and on my son's laptop, despite his IT teacher telling him to install a proper operating system like Windows 10....
    2. Linux on the desktop won't take off until it is equally easy. Snap may be dumbed down, restricted and all the rest of it, but for ordinary users it's easier - and more secure - than the alternative.
    3. >We do want Linux to be mainstream, don't we? Not at any cost.
  4. Nov 2020
    1. http://jonudell.info/h/tag-rename-02.mp4

      Most people would embed a YouTube video. Nice to see no dependency on 3rd-party service here.

  5. Oct 2020
  6. Sep 2020
  7. Aug 2020
    1. I went against the grain, applying other tools that people have written over the years to directly perform the job at hand which do not involve entering a program for awk or a shell to run, with answers like https://unix.stackexchange.com/a/574309/5132 and https://unix.stackexchange.com/a/578242/5132 . Others have done similar. https://unix.stackexchange.com/a/584274/5132 and https://unix.stackexchange.com/a/569600/5132 are (for examples) answers that show alternative tools to answers employing shell script and (yet again) awk programs, namely John A. Kunze's jot and rs (reshape), which have been around since 4.2BSD for goodness' sake!
  8. Jun 2020
    1. Using OpenBTS, which we will be including in FreedomBox soon, and with cheap additional hardware, a FreedomBox can talk directly to GSM handsets, to provide alternatives to commercial mobile services.
  9. May 2020
    1. examples, listing both the conventional systems and their counterpart systems: Conventional schooling Home schooling Encyclopedia Britannica Wikipedia Microsoft Office Open Office Taxicabs Uber Hotel chains Airbnb Big-box stores Ebay National currency Cryptocurrency
  10. Apr 2020
    1. there's no reasonable way to communicate effectively with the less technically minded without acquiescing to the nontechnical misuse of the term "hacker"
    2. The more easily relabeled of the two uses of the term "hacker" is the malicious security cracker: it is not only the more recent phenomenon to acquire that label, but also the one whose meaning is most easily evoked by an alternative term. This is why, when you read an article of mine that talks about malicious security crackers, I use the term "malicious security cracker"
    1. Not everybody uses rubygems as their package management system. If this sounds odd to you, read https://gist.github.com/54177.
  11. Mar 2020
    1. 27$/year

      They spell it "27$/year" instead of "$27/year". I love it that they bucked the useless convention of putting $ sign first and did it the way that makes more sense. We've all had that thought, why do we say it "27 dollars" but write it, "dollars 27". It just doesn't make sense.

    1. If these asset owners regarded the “robots” as having the same status as guide dogs, blind people or default human citizens, they would undoubtedly stop imposing CAPTCHA tests and just offer APIs with reasonable limits applied.
    1. Q. Why does Rubinius not support frozen and tainted? A. Rubinius has better features; frozen and tainted are considered harmful. To elaborate... Both frozen and tainted depend on strewing checks throughout the source code. As a classic weak-link system, only one of those checks needs to be misplaced for the guarantees offered by either to fail. Since the number of checks is high, and as new code is written new checks need to be considered, the features inherently constitute unbounded complexity and unbounded risk.
    1. If you ever need to work with external translators, it’s a bit of a pain sending both your YML files and a bunch of views like index.en.html.erb. For one thing, you need some code to find all those files and send them, and put them back after receiving the translations. For another, your translator must respect the markup and code of the template, and know not to translate them. And if you want to use tools like WebTranslateIt, it’s easier to stick to YML.

      Good point. Better to store translations in your I18n backend in the same place as your subject translations, etc. (which by default is in YAML file).

  12. Dec 2019
    1. ReST

      "ReST" instead of "REST". I like how this way matches the case of the actual phrase that it's standing in for "Representational State Transfer", so you can better tell which letters are the beginning of words (all but "e").

  13. Sep 2019
  14. Apr 2019
    1. the manuscripts that were discovered nine years ago, now in the University of Arkansas library with many of her other papers, are mostly complete and easily performed.

      I do recall this happening way more than it should. Not only just A.A but many other colored people. Thousands of art just now being discovered. As a woman of afo-latina descent it makes me proud to know more and more blacks of all ethnicities are becoming prominent in art today.

  15. Mar 2017
    1. Man kann es aber auch schade finden, dass in "PussyTerror TV" der rote Haltungsfaden fehlt.

      Sobald also Kebekus über Sachen herzieht, die Rützel nicht gut findet, fehlt Kebekus der rote Faden. Was erdreistet sich diese Kebekus eigentlich, ihren eigenen Humor zu haben, anstatt komplett auf Mainstream-Propaganda-Linie einzuschwenken? Frau Rützel, ihr Verständnis von Meinungsvielfalt ist wirklich bemerkenswert!

    1. Ah, Thema Islam. Merkt man immer gleich, wenn die Kommentare gesperrt sind. Man könnte ja die Autorin darauf hinweisen, dass man Diversivität nicht mit mittelalterlichen Riten verwechseln braucht. Und dass der Staat vielleicht ganz gut daran tut, Säkularität zu fördern, wenn er ein friedliches Miteinander ermöglichen will.

  16. Jan 2017
  17. Dec 2016
    1. Alexander Hamilton’s writing in Federalist Paper No. 68, which states that the meeting of the electoral college “affords a moral certainty, that the office of President will never fall to the lot of any man who is not in an eminent degree endowed with the requisite qualifications.”

      Yes, and Alexander Hamilton was in favor of property requirements for voting, which prevented a large majority of people from voting. Here we have the Democrats saying we should make our selection of the U.S. President less democratic, less responsive to voters -- not more democratic.

      I have fears Trump will be a bad President. But I don't like the incredible hypocrisy of those who slandered Trump for not agreeing to accept the results of the election, not only refusing to accept the result, but try to do so by -- not only overturning a tradition that is over a hundred years old -- but doing so in a manner that would make our selection of a president much less responsive to voters.