165 Matching Annotations
  1. Last 7 days
  2. Nov 2022
    1. It might seem as a preference, but if we have a standardized language for describing software systems, Why do we use something else? This can lead to bad habit of overusing flowcharts. Activity diagrams are really simple. But if you decide to describe a more complicated aspect of the system or try to change the part you are describing, you might have to switch anyway. So just use UML and prevent confusion in the future.
  3. Sep 2022
  4. Jul 2022
    1. L’unità di misura di un valore dovrebbe essere indicata nell’intestazione della colonna. Se l’unità cambia da un valore all’altro, allora bisognerebbe considerare una colonna dedicata con un’opportuna intestazione e non inserire l’unità insieme al valore stesso. Per le unità dovrebbero essere utilizzati i codici (URI) derivati da un vocabolario controllato.

      La commissione economica per l'Europa (UNECE) mantiene un dataset in cui pubblica codici standard per indicare le unità di misura (Standardised codes from Recommendation 20). Il link al dataset è https://datahub.io/core/unece-units-of-measure

  5. Jun 2022
    1. Le intestazioni di colonna devono essere auto-esplicative ed essere incluse nella prima riga del file CSV. Senza le intestazioni, è difficile per gli utenti interpretare il significato dei dati.

      Proprio a integrazione del commento di @aborusso direi che le intestazioni dovrebbero seguire le etichette dei concetti definiti nelle principali ontologie italiane di OntoPiA qualora il dato fosse già modellato. Esempio: "indirizzo completo" (proprietà full address dell'ontologia CLV-AP_IT) per indicare l'indirizzo completo presente in tantissimi dataset (aperti).

    2. cronimo/ abbreviazio ne Titolo Organismo di standardizz azione URL

      In questa tabella c'è un calderone di roba diversa messa sullo stesso piano e questo crea a mio avviso solo confusione. Mi spiego: OWL, SPARQL, RDF, RDFS insieme a RNDT, NUTS e via dicendo è singolare. Inoltre, chissà perché l'assenza di XML a questo punto. Ok che la lista non è esausitva ma non si capiscono i criteri della lista. Intanto OWL, SPARQL, RDF, RDFS sono standard building block per la realizzazione di un nuovo modello di rappresentazione del dato nel web. ONTOPIA, DCAT, DCAT-AP_IT, DataCube ecc. sono tutti standard per la rappresentazione di specifici domini che poggiano (usano) sugli standard dello stack del web semantico prima citati. Suggerimento, mettere in evidenza queste differenze magari anche creando diverse tabelle, indicando i domini applicativi che coprono gli standard (e.g., DataCube per la rappresentazione di SDMX in RDF, quindi contesto dei dati statistici, OntoPiA copre tutta una serie di domini, DCAT metadatazione di dati in cataloghi, EU vocabularies coprono diversi domini ecc.)

  6. May 2022
  7. Apr 2022
  8. Mar 2022
  9. Feb 2022
    1. Hence an email address/mailbox/addr-spec is "local-part@domain"; "local-part" is composed of one or more of 'word' and periods; "word" can be an "atom" which can include anything except "specials", control characters or blank/space; and specials (the *only* printable ASCII characters [other than space, if you call space "printable"] *excluded* from being a valid "local-part") are: ()<>@,;:\".[] Therefore by the official standard for email on the internet, the plus sign is as much a legal character in the local-part of an email address as "a" or "_" or "-" or most any other symbol you see on the main part of a standard keyboard.
    2. "+" is a completely valid character in an email address; as defined by the internet messaging standard published in 1982(!) RFC 822 (page 8 & 9)... Any website claiming anything else is wrong by definition, plus they are prohibiting me and many fellow anti-spam activists from tracking where inbound spam comes from:
  10. Jan 2022
    1. When I think back to the creation of that infographic, I wonder whether we had shown the care demanded of the data. Whether we had, in creating this abstraction, re-enacted — however inadvertently — some of the objectification of the slave trade.

      This sort of objectification seems very similar to the type of erasure that Poland is doing with the Holocaust as they begin honoring Poles who helped Jews while simultaneously ignoring Poland's part in collaborating with the Nazis in creating the Holocaust.

      How can we as a society and humanity add more care to these sorts of acts so as not to continue erasing the harm and better heal past wrongs?

      Cross reference: https://www.nytimes.com/2022/01/29/opinion/holocaust-poland-europe.html and https://hyp.is/hrsb9oIOEey8sEObTYhk0A/www.nytimes.com/2022/01/29/opinion/holocaust-poland-europe.html

    1. Different people have different responses to technology, even on the same platform. Scholars call this phenomenon “differential susceptibility” to media effects among a subgroup of people, and it holds equally for the differential well-being and mental health impacts of social media on young adults.

      Differential susceptibility is a technical term used to describe the ways that different people and different groups have different responses to technology even on the same platform. Similar versions of it can be applied to other areas outside of technology, which is but one target. Other areas include differential well-being and mental health.


      It could also be applied to drug addiction as some are more susceptible to becoming addicted to nicotine than others. Which parts of this might be nature, nurture, culture, etc.

    2. Current approaches to improving digital well-being also promote tech solutionism, or the presumption that technology can fix social, cultural, and structural problems.

      Tech solutionism is the presumption that technology (usually by itself) can fix a variety of social, cultural, and structural problems.

      It fits into a category of problem that when one's tool is a hammer then every problem looks like a nail.

      Many tech solutionism problems are likely ill-defined to begin with. Many are also incredibly complex and difficult which also tends to encourage bikeshedding, which is unlikely to lead us to appropriate solutions.

    1. I am committed to tending to this world as a gardener. I am committed to cultivating new shoots, new stories, new hopes, new futures. I do this work with dirt under my nails, with curiosity, reverence and respect.—Georgina Reid

      What a great quote for a digital garden. Reminiscent of the philosophy of care seen in the book Braiding Sweetgrass.

    1. working with all of their classmates

      Standard for review

    2. They need to understand space and how to judge where different movements will fit

      Standard for review

  11. Dec 2021
    1. ‘Security’ takes manyforms. There is the security of knowing one has a statistically smallerchance of getting shot with an arrow. And then there’s the security ofknowing that there are people in the world who will care deeply if oneis.
    2. When archaeologistsundertake balanced appraisals of hunter-gatherer burials from thePalaeolithic, they find high frequencies of health-related disabilities –but also surprisingly high levels of care until the time of death (andbeyond, since some of these funerals were remarkably lavish).16
      1. Formicola, Vincenzo. 2007. ‘From the Sungir children to the Romito dwarf: aspects of the Upper Palaeolithic funerary landscape.’ Current Anthropology 48: 446–53.

      It will require some investigation, but on it's face this reference to Formicola seems to be about a small number of cases and doesn't point to or back up their claim about high frequencies of societal care and support. Where is their evidence within the archaeological record.

    3. Romito 2 is the 10,000-year-old burial of a male with a raregenetic disorder (acromesomelic dysplasia): a severe type ofdwarfism, which in life would have rendered him both anomalous inhis community and unable to participate in the kind of high-altitudehunting that was necessary for their survival. Studies of hispathology show that, despite generally poor levels of health andnutrition, that same community of hunter-gatherers still took pains tosupport this individual through infancy and into early adulthood,granting him the same share of meat as everyone else, andultimately according him a careful, sheltered burial.15
      1. Tilley, Lorna. 2015. ‘Accommodating difference in the prehistoric past: revisiting the case of Romito 2 from a bioarchaeology of care perspective.’ International Journal of Paleopathology 8: 64–74.

      In a case like this what might have been the reasons for keeping and helping such an individual?

      In an oral society, it's possible that despite his potential physical disabilities for hunting that he may have been an above-average store of knowledge from a memory perspective, thus making him potentially even more valuable to his society.

  12. Nov 2021
    1. I find some of XDG's default dirs, especially ~/.local/share/whatever, to be very annoying. (Almost as annoying as having ~/snap polluting my home dir, but for a different reason.) I shouldn't have to type such long paths or navigate three folders deep in order to access my data files. I therefore make use of the XDG_DATA_HOME environment variable for XDG-style programs, so they will put my files somewhere convenient. However, I don't think Snap can honor that variable, because AppArmor rules require fixed paths. Given 1 & 2, I think ~/.snap/data is a sensible compromise, at least until the underlying components are flexible enough to let the user choose.
  13. Oct 2021
    1. QueueStore
    2. export interface QueueInterface {   count(): number;   dequeue?(): any;   enqueue(...args: any): void;   flush(): any[];   reset(): void;   setFifo(fifo: boolean): void;   setLifo(lifo: boolean): void;   truncate(length: number): void; } export class queue {   protected elements: any[];   protected fifo = true;   constructor(…args: any) {     this.elements = […args];   }   count() {     return this.elements.length;   }   dequeue?(): any {     if (this.fifo) {       return this.elements.shift();     }     return this.elements.pop();   }   enqueue(…args: any) {     return this.elements.push(…args);   }   // Like dequeue but will flush all queued elements   flush(): any[] {     let elms = [];     while (this.count()) {       elms.push(this.dequeue());     }     return elms;   }   setFifo(fifo = true) {     this.fifo = fifo;   }   setLifo(lifo = true) {     this.fifo = !lifo;   }   reset(): void {     this.truncate(0);   }   truncate(length: number) {     if (Number.isInteger(length) && length > -1) {       this.elements.length = length;     }   } } export default queue;
  14. Sep 2021
    1. We believe that Kubernetes is the defacto standard for composing Pods and for orchestrating containers, making Kubernetes YAML a defacto standard file format.
  15. Aug 2021
    1. I have a rule that I won't allow Capybara to be monkey-patched in Poltergeist. This gives some indication to users about whether something is non-standard. So basically all non-standard stuff must be on page.driver rather than page (or a node).
    2. What seems more problematic is divergence between drivers. For example, capybara-webkit and poltergeist support several of the same things. Let's take resizing the window as an example. In capybara-webkit this is page.driver.resize_window(x, y) and in poltergeist it's page.driver.resize(x, y). This means that if a user wants to switch from one to the other they have to change their code. Now I don't know if selenium does or doesn't support resizing the window, but supposing it doesn't I think there's still a lot of value in the capybara project deciding what the blessed API is, because then all the drivers that support that feature can implement it using the same API, increasing portability.
  16. Jul 2021
  17. Jun 2021
    1. With GraphQL-Ruby, it’s possible to hide parts of your schema from some users. This isn’t exactly part of the GraphQL spec, but it’s roughly within the bounds of the spec.
    1. Because ISO code lists were not always free and because they change over time, a key idea was to create a permanent, stable registry for all of the subtags valid in a language tag.

      Why was it not free???

    1. KV is used in 8 of the overlay locales at the moment (CS, DE, HI, JA, PL, PT, SK, and CN). I don't agree with this and believe that Carmen should only reflect country codes that are part of the actual ISO standard.
  18. May 2021
    1. But in the dark world of HTML email, where the motto is "code like it's 1996" because Outlook uses the rendering engine from MS Word and Gmail removes almost everything, every method for making two elements overlap that I can think of is unsuitable due to poor client support
    1. I'm coding an email for a project and man! it's such a pain. Every other client has it's own implementation and supported rules. Some don't allow even simple properties like background-image while some support most advanced rules like media queries
    2. I haven't done much e-mail templating luckily, but like you said it's a PITA... It would be great if there was some kind of standard though, but that's not going to happen anytime soon
    3. That's something that has been bugging me too. I mean, it's fine if not everything is supported, but if everyone could agree on what is or should be supported then that would make a huge difference. But until then, it's going to be a struggle.
  19. Apr 2021
    1. The main difference is in the flow of how messages are ultimately sent to devices for output. The standard library Logger logic converts the log entries to strings and then sends the string to the device to be written to a stream. Lumberjack, on the other hand, sends structured data in the form of a Lumberjack::LogEntry to the device and lets the device worry about how to format it. The reason for this flip is to better support structured data logging. Devices (even ones that write to streams) can format the entire payload including non-string objects and tags however they need to.
    2. The logging methods (debug, 'info', 'warn', 'error', 'fatal') are overloaded with an additional argument for setting tags on the log entry.
    1. Write stderr and stdout to a file, display stderr on screen (on stdout) exec 2> >(tee -a -i "$HOME/somefile.log") exec >> "$HOME/somefile.log" Useful for crons, so you can receive errors (and only errors) by mail
    1. What you want is not to detect if stdin is a pipe, but if stdin/stdout is a terminal.

      The OP wasn't wrong in exactly the way this comment implies: he didn't just ask how to detect whether stdin is a pipe. The OP actaully asked how to detect whether it is a terminal or a pipe. The only mistake he made, then, was in assuming those were the only two possible alternatives, when in fact there is (apparently) a 3rd one: that stdin is redirected from a file (not sure why the OS would need to treat that any differently from a pipe/stream but apparently it does).

      This omission is answered/corrected more clearly here:

      stdin can be a pipe or redirected from a file. Better to check if it is interactive than to check if it is not.

    1. This question does not show any research effort; it is unclear or not useful Bookmark this question. Show activity on this post. I'm trying to filter the output of the mpv media player, removing a particular line, but when I do so I am unable to control mpv with the keyboard. Here is the command: mpv FILE | grep -v 'Error while decoding frame' When I run the command, everything displays correctly, but I am unable to use the LEFT and RIGHT keys to scan through the file, or do anything else with the keyboard. How do I filter the output of the program while retaining control of it?
    2. Quite a lot of programs actually detect if their output goes to a file (e.g. try man | grep -F a and you will not be able to scroll back and forth).
    1. i found that for the osx host "gonzo" , the vanished files (not the warning message itself) appear in stdout - for linux hosts they _both_ appear in stderr , but nothing in stdout (rsync.err.#num is stderr, rsync.log is stdout)
    1. I managed to do half the work. But that’s exactly it: It’s work. It’s designed that way. It requires a thankless amount of mental and emotional energy, just like some relationships.

      This is a great example of how services like Facebook can be like the abusive significant other you can never leave.

    2. I realized it was foolish of me to think the internet would ever pause just because I had. The internet is clever, but it’s not always smart. It’s personalized, but not personal. It lures you in with a timeline, then fucks with your concept of time. It doesn’t know or care whether you actually had a miscarriage, got married, moved out, or bought the sneakers. It takes those sneakers and runs with whatever signals you’ve given it, and good luck catching up.
    3. Pinterest doesn’t know when the wedding never happens, or when the baby isn’t born. It doesn’t know you no longer need the nursery. Pinterest doesn’t even know if the vacation you created a collage for has ended. It’s not interested in your temporal experience.This problem was one of the top five complaints of Pinterest users.
  20. Mar 2021
    1. My preference here is biased by the fact that I spend everyday at work building web components, so Svelte's approach feels very familiar to slots in web components.

      first sighting: That <template>/<slot> is part of HTML standard and the reason Svelte uses similar/same syntax is probably because it was trying to make it match / based on that syntax (as they did with other areas of the syntax, some of it even JS/JSX-like, but more leaning towards HTML-like) so that it's familiar and consistent across platforms.

    2. but I like that Svelte comes with a good CSS story out the box.

      comes with a good CSS story out the box

    1. Can we occupy technology with love?

      An interesting re-framing of the social media problem. Similar to the IndieWeb philosophy, but a bit more pointed.

    1. It does this by creating links to specially crafted URLs using custom schemes (ie. "txmt", "subl", "mvim"). I prefer to use standard CLI vim in iTerm.

      I have similar problem: want to use regular vim in tilix terminal

    1. the community is both endlessly creative and genuinely interested in solving big issues in meaningful ways. Whether it's their commitment to careful (and caring) community stewardship or their particular strain of techno-ethics, I have been consistently (and pleasantly) surprised at what I've seen during the last twelve months. I don't always see eye-to-eye with their decisions and I don't think that the community is perfect, but it's consistently (and deliberately) striving to be better, and that's a fairly rare thing, online or off.
    1. Will it also help accomplish another goal — communicating to my students that a classroom of learners is, in my mind, a sort of family?

      I like the broader idea of a classroom itself being a community.

      I do worry that without the appropriate follow up after the fact that this sort of statement, if put on as simple boilerplate, will eventually turn into the corporate message that companies put out about the office and the company being a tight knit family. It's easy to see what a lie this is when the corporation hits hard times and it's first reaction is to fire family members without any care or compassion.

    2. <small><cite class='h-cite via'> <span class='p-author h-card'>Remi Kalir</span> in Annotate Your Syllabus 3.0 (<time class='dt-published'>03/13/2021 14:18:33</time>)</cite></small>

    1. One thing that would be useful to this debate an analysis of a language ecosystem where there are only "macropackages" and see if the same function shows up over and over again across packages.
    1. jq uses the Oniguruma regular expression library, as do php, ruby, TextMate, Sublime Text, etc, so the description here will focus on jq specifics.
  21. Feb 2021
    1. identity theft

      Saw this while scrolling through quickly. Since I can't meta highlight another hypothesis annotation

      identity theft

      I hate this term. Banks use it to blame the victims for their failure to authenticate people properly. I wish we had another term. —via > mcr314 Aug 29, 2020 (Public) on "How to Destroy ‘Surveillance C…" (onezero.medium.com)

      This is a fantastic observation and something that isn't often noticed. Victim blaming while simultaneously passing the buck is particularly harmful. Corporations should be held to a much higher standard of care. If corporations are treated as people in the legal system, then they should be held to the same standards.

    1. Brian Nosek. (2020, December 5). We need a #2020goodnews trend. Here’s one: Science keeps getting more open. One indicator from @OSFramework: OSF users posted 9,349 files of data or other research content PER DAY OSF users made 5,633 files public PER DAY EVERY DAY in 2020 #openscience is accelerating [Tweet]. @BrianNosek. https://twitter.com/BrianNosek/status/1335210552252125184

    1. Programming to an interface means that when you are presented with some programming interface (be it a class library, a set of functions, a network protocol or anything else) that you keep to using only things guaranteed by the interface. You may have knowledge about the underlying implementation (you may have written it), but you should not ever use that knowledge.
  22. Jan 2021
    1. Great, I can use vw to scale text so it doesn't look puny on a desktop! Perfect... Oh. Huh, now the text is too small to read when viewed on a phone. Okay, well I can just use "max(x,y)" to make sure it doesn't get shrunk beyond a minimum size. Perfect... Oh. Hmm. Looks like "max" isn't supported properly by Chrome. Okay, well guess I'll just use "px" again.
    1. overflow-wrap: break-word; makes sure the long string will wrap and not bust out of the container. You might as well use word-wrap as well because as the spec says, they are literally just alternate names for each other. Some browsers support one and not the other.
    1. >Linux needs an app delivery format Yeah, it's incredible that it has managed to survive for so long without one.
    2. 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. If components gain the slot attribute, then it would be possible to implement the proposed behavior of <svelte:fragment /> by creating a component that has a default slot with out any wrappers. However, I think it's still a good idea to add <svelte:fragment /> so everyone who encounters this common use case doesn't have to come up with their own slightly different solutions.
  23. Dec 2020
  24. Nov 2020
    1. logInfoToStdOut (boolean) (default=false) This is important if you read from stdout or stderr and for proper error handling. The default value ensures that you can read from stdout e.g. via pipes or you use webpack -j to generate json output.
    1. All browers handle 302 incorrectly. Chrome 30, IE10. It became the de facto incorrect implementation; that cannot be changed because so many web-sites issue mistakenly issue 302. In fact ASP.net MVC incorrectly issues 302, depending on the fact that browsers handle it incorrectly.
  25. Oct 2020
  26. react-spectrum.adobe.com react-spectrum.adobe.com
    1. In addition, this example shows usage of the isPressed value returned by useButton to properly style the button's active state. You could use the CSS :active pseudo class for this, but isPressed properly handles when the user drags their pointer off of the button, along with keyboard support and better touch screen support.
    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).

    1. However, this would lead to further divergence. Tooling that is built around the assumptions imposed by template literals wouldn't work. It would undermine the meaning of template literals. It would be necessary to define how JSX behaves within the rest of the ECMAScript grammar within the template literal anyway.
    2. Why not just use that instead of inventing a syntax that's not part of ECMAScript?
    3. ECMAScript 6th Edition (ECMA-262) introduces template literals which are intended to be used for embedding DSL in ECMAScript.
    1. The problem is that the since both the JSX transpiler and the traceur compiler are actually parsing the full javascript AST, they would have to mutually agree on the syntax extensions you use: traceur can't parse the faux-xml syntax JSX adds, and JSX can't parse the async or await keywords, for example, or generator functions.
  27. Sep 2020
    1. and I keep up with the modern way

      Here we can clearly observe Betteredge's double standard. Just a few lines above, he ascribes a contradictory behavior to women, and now he exhibits it gloriously himself. It's very apparent throughout the story that Betteredge cares a great deal about whether someone is "a Dustman or a Duke." He never fails to talk highly about people of rank, and scarcely about people of no particular hereditary rank. It even manifests itself in the way he values himself (albeit with some insecurity), as opposed to his servants. But here, he so blatantly declares himself free of any prejudicial behavior... This is one of various instances in which his hypocrisy is showing face.

  28. Aug 2020
  29. Jul 2020
    1. It uses the new standardized format for code modules included in the ES6 revision of JavaScript, instead of previous idiosyncratic solutions such as CommonJS and AMD.
  30. Jun 2020
    1. the lowest copy number sample points impacted faster and sronger, then you just need to stabilize by adding a neutral nucleic acid background in your standard curve. I usually use water containig 10ng/microl yeast tRNA to perform serial dilutions. This will first create a reaction background similar to your RTQPCR reaction, but also stabilize your DNA copies; I can freeze and thaw (min 20C) more than 50 times the same standard curve sample without any loss in Cts, from 10E6 to 10E2 copies. When I tested the same standard curve but diluted in water only, then the 10E2 started to be slightly affected after one freeze and thaw and then crashed further; then higher copy numbers samples were also affected after 2 to 3 freeze and thaw.
    1. Slightly on a tangent, but https://github.com/hypothesis/h/issues/777 could be a good target for https://solidproject.org/ to address. The Web Annotation Vocabulary is defined in RDF, so there should be zero overhead.

      yes SOLID would be a neat backend for w3c annotations

  31. May 2020
    1. Once running, kaniko will then get the data from STDIN and create the build context as a compressed tar. It will then unpack the compressed tar of the build context before starting the image build.
    1. Pipes are great for taking output of one command and transforming it using other commands like jq. They’re a key part of the Unix philosophy of “small sharp tools”: since commands can be chained together with pipes, each command only needs to do one thing and then hand it off to another command.
  32. Apr 2020