156 Matching Annotations
  1. Jul 2021
    1. Inodes do not contain its hardlink names, only other file metadata.
    2. ls -i command.
    3. i-number or inode number
    4. A directory is a list of inodes with their assigned names.
    1. It does not have anything to do with processes having an opened socket; local delivery is controlled by the "local-delivery" routing table: ip route show table local.
    2. five available Netfilter hooks
  2. Jun 2021
    1. query verbs

      Is Select, Get etc. meant?

    2. a value is scannable if it is a struct with no exported fields (eg. time.Time)
    1. When you have to start building your applications specifically to run within Kubernetes, Kubernetes can no longer be considered a “container orchestrator”

      Important aspect in evaluation of approaches to solve the sidecar container lifecycle issues

    2. If you’re interested in other alternatives that have been considered, I recommend taking a look at the Design Doc for the Sidecar Containers KEP.

      Link to other approaches to solve the sidecar container lifecycle issues

    3. who attempted to standardize a tombstone approach that can be built into their application images

      Another approach to solve the sidecar container lifecycle issues

    1. Start by defining the presentation class, ShoppingListItem:
      • How the type of a function is defined
      • How private methods are defined (_)
      • What I can do with the buildContext, e.g., access the theme of the app
      • How to pass method as argument to constructor or method
      • How to get a character from a string (by accessing it like an array)
      • Ternary operator like in TS
      • Optionals like in TS
      • Classes for building data containers (Product)
    2. Start by defining the presentation class, ShoppingListItem:
      • Is <constructor signature> : <expression>; a general shorter syntax for a constructor or even a method in general?
      • What is ObjectKey and key of StatelessWidget?
      • What influence does the leading _ of some method names have on the visibility of that method?
    3. The following slightly more complex example shows how this works in practice:
      • How do return types and parameter types of overridden methods interrelate with those of the overriding methods?
      • Why is there a this qualifier in the parameters of the constructors? Does it reference the instance of the widget, i.e. does the whole qualified parameter reference the final member variable?
      • VoidCallback is an interesting type. How would other functions with other return types and parameters be typed?
    4. Consider this basic example, using the ElevatedButton mentioned earlier:
      • Return type comes before method name just like member variables / fields
    5. Consider this basic example, using the ElevatedButton mentioned earlier:
      • Are anonymous functions just like arrow functions in TS, only without arrows?
      • Is the type of a variable written before instead of after variable? (If so, dislike)
      • The StatefulWidget class seems redundant as it only holds the state where the actual methods, fields and the build() method reside. What other functions besides wrapping the state does it have?
      • Is string interpolation like in TS, only without braces for stuff to interpolate and normal single quotes?
    6. Below are some simple widgets that combine these and other widgets:
      • Constructor syntax, especially that parameters are written like an object (in TS) and that there is no body
      • Why does every field in a Widget subclass need to be final? Does that mean it is immutable?
      • What is the meaning of const keyword setting the padding? This does not exist in TS.
      • title is accessed inside build() without a qualifier, e.g., this. Does this mean that the Widget class is the default namespace?
      • What is the build context (for)?
    7. objects

      Instances of classes are also called objects

    8. Stateless widgets receive arguments from their parent widget, which they store in final member variables. When a widget is asked to build(), it uses these stored values to derive new arguments for the widgets it creates.
    9. Many widgets use a GestureDetector to provide optional callbacks for other widgets.

      How do they use that (code)? Are these widgets actually wrapped in a GestureDetector?

    10. A SafeArea widget is also used to properly pad the text so it appears below the display on the top of the screen.

      What is this for?

    11. device-independent pixels
    12. In addition, a Container can be transformed in three dimensional space using a matrix.
    13. A widget’s main job is to implement a build() function, which describes the widget in terms of other, lower-level widgets.

      What is the build method?

    1. A widget is an immutable object that describes a specific part of a UI.

      What is a widget?

    1. Firestore

      Can I use only one Firestore instance within a GCP project? If not, i.e., I can use multiple instances within the same project, is there a best practice of how many instances to use?

    1. In fact, Actions on Google projects are also GCP projects (if you’re working with DialogFlow).
    2. providing additional SDKs for mobile clients, additional tooling with the Firebase CLI, and a way to configure security rules to control access to data through the provided SDK
    3. These products are Cloud Storage, Cloud Firestore, and Cloud Functions. While each product is the same at its core, regardless of where you’re viewing it, they are each organized and managed in very different ways between the Firebase console and the Cloud console.
    4. all the APIs and services that power Firebase products will be automatically enabled in your project, and you’ll be able to use the Firebase console to work with those products
    5. if you delete the project using either Firebase or the Cloud console, you will delete everything in that container, no matter where it was configured or created
    6. A Firebase project is also a GCP project
    7. Firebase, Google’s mobile application development platform
    1. this allows you to interact with Firestore using the default Firebase App used whilst installing FlutterFire on your platform
    1. Cloud Functions integrates with Firebase Hosting which you can use as an edge-caching proxy. What you do here is effectively direct web requests to Firebase Hosting, which checks to see if it already has a response in its cache. It will either serve previously-cached content, or forward the request to Cloud Functions.
    2. HTTP chunked transfer encoding
    3. if you need to control the data coming in and out of your code deployed to Cloud Functions

      How is it controlled when using client SDK?

    4. Firebase Admin SDK
    5. Cloud Memorystore
    6. “projection” in SQL

      I thought that they were possible using the client SDKs.

      After some research, the author seems to be right for the client SDKs. But this limitation doesn't seem to apply for neither server SDKs nor the REST API.

    7. node

      What is ...?

    8. Firebase Performance Monitoring
    9. Realtime Database or Cloud Firestore

      I thought that they were the same.

    10. Room

      What is ...?

    1. customize their operation through the use of struct tags

      How can I access struct tags myself, e.g., to write a library using these for decoding and encoding special formats?

    2. special value - as the value argument to a json: struct tag

      How to ignore field entirely in json. Does this work with both, marshalling and unmarshalling?

    3. you can suffix the desired name of your field with ,omitempty to tell the JSON encoder to suppress the output of this field when the field is set to the zero value

      Json struct tags are more versatile than I thought. But is there a way to further differentiate between the zero value set by default or set intentionally? Maybe, I sometimes want it to be omitted but other times not.

    4. example struct tag

      How to speak about struct tags and differentiate them verbally

    5. Since the encoding/json package is a separate package from the main package we’re using, we must uppercase the first character in order to make it visible to encoding/json.

      Example of how important the casing is in Go

    6. backtick ` characters

      What data type is a tag of?

    1. CloudEvent functions are conceptually similar to background functions
    2. http, and one of event or cloudevent

      So I can actually use the Functions framework to test not only http but also event and cloudevent functions.

    3. function's directory,

      Module? Or install it globally?

    4. CloudEvents

      What is the reason for the CloudEvent and background functions not being available for all runtime? Can they both be used interchangeably or do they have two different use cases so that I have to use two different runtimes to be able to serve both use cases?

    5. Choosing an abstraction layer

      What about an abstraction layer for CloudEvents Functions and background functions?

    6. webhooks

      What are "webhooks"?

    7. atop Cloud Functions, Cloud Run, and other container-based platforms

      So there is actually no real vendor-lock-in, correct?

    8. Multi-cloud function deployments

      How high is the risk of downtime? "Multi-cloud" really means using not only GCP but also, e.g., AWS, Azure etc.?

  3. kubernetes.io kubernetes.io
    1. finalizers

      Run after the job terminated?

    2. capacity-based cleanup policy
    3. Note: If your job has restartPolicy = "OnFailure", keep in mind that your container running the Job will be terminated once the job backoff limit has been reached. This can make debugging the Job's executable more difficult. We suggest setting restartPolicy = "Never" when debugging the Job or using a logging system to ensure output from failed Jobs is not lost inadvertently.

      Is it because when using OnFailure the container instead of the pods are restarted and while finished/failed pods are kept around for inspection, contains are not kept? Is there any good reason to use OnFailure as the restart policy for containers used inside jobs?

    4. when using .spec.completionMode="Indexed", each Pod gets a different index in the range 0 to .spec.completions-1.

      What practical implications does this have?

    1. Deploy the API Backend: You deploy ESP or ESPv2 and your API backend to a supported Google Cloud backend, such as Compute Engine. ESP coordinates with Endpoints backend services to secure and monitor your API at runtime.

      Why is the deployment of the configuration not enough?

    1. When using API keys, the principal must be authenticated by other means.

      How does this work?

    2. Google Cloud APIs only accept requests from registered applications

      What about humans (User accounts?)

    1. the build list is not saved in a "lock" file

      Does not seem right. There is a go.sum file.

    2. revisions for which no semantic version tags are available. They may be used to test commits before creating version tags, for example, on a development branch.

      What are ground for semantic version tags not being available?

    3. Pre-release versions sort

      How are multiple pre release versions (with different pre-release strings) sorted? Using alpha-numerical order?

    4. may or may not be part of the subdirectory name

      How does go find out which option was chosen? By checking if there is a subdirectory?

    1. needing to keep keys with a longer Time to Live, even if the system is out of memory

      How does this work?

    1. percentage of memory the container uses on the node as compared to what it requested plus the oom_score_adj score
    2. If the node runs out of memory before the Kubelet can reclaim it,

      When does that happen? When pods are not evicted in time?

    3. When responding to DiskPressure node condition, the Kubelet first evicts BestEffort pods followed by Burstable pods. Only when there are no BestEffort or Burstable pods left are Guaranteed pods evicted.
    4. Both Guaranteed and Burstable pods whose resource usage is lower than the requested amount are never evicted because of the resource usage of another pod. They might, however, be evicted if system daemons start using more resources than reserved. In this case, Guaranteed and Burstable pods with the lowest priority are evicted first.

      If I want to make it as unlikely as possible that a pod is evicted, I have to make sure that the request is higher or equal than the highest possible use of resources within that pod.

    5. BestEffort

      As BestEffort pods do not have any requests (more specifically, the containers inside the pod), they are always above their requests. Does that mean, they are always evicted first?

    6. order of eviction depends on the priority assigned to each pod and the amount of resources being consumed above request
    7. system out of memory

      Is there something like a system of cpu event?

    8. pods

      Error in text: nodes instead of pods?

    9. priority

      How is the priority determined?

    1. Das Global Portfolio One verzichtet überwiegend auf den Einsatz von synthetischen ETFs anstelle von physisch replizierenden ETFs.

      Unnötig komplizierter Satz oder? Es werden also eher physisch replizierende ETFs eingesetzt oder sollen zumindest eingesetzt werden?

    2. Die vollständige Replikation ist jedoch nicht immer möglich.

      Warum?

    1. Transaktionskosten deutlich gesenkt

      Ich hätte eher höhere Transaktionskosten erwartet? Warum hier geringer?

  4. May 2021
    1. function ButtonWrapper(props) { return <CustomButton {...props} />; }

      We don't need the function as we export the buttonWrapper or do we?

    2. {...props}

      Is that JSX syntax?

    3. Notice the “T” is sans-serif because we added global font styles.

      To me it seems like nothing has changed

    4. <GlobalStyle />

      Is this react-specific?

    5. + export const fontUrl = 'https://fonts.googleapis.com/css?family=Nunito+Sans:400,700,800,900';

      Where do we use this?

    6. “component”

      How is this a "component"? Isn't it a constant?

    1. Omit one-offs that aren’t currently being reused.

      How don't you fall in trap of creating one-offs of components that have already been created but that you don't know of?

    2. using other view layers

      What are "view layers"? Examples?

    1. JavaScript doesn’t insert a semicolon after return and break our code

      Does JS always insert a semicolon after an empty line?

    2. this.setState

      When should I set the state directly, e.g., by assignment ("this.state = {/Some entries/}"), vs. by using this setter? I guess for initialisation I use assignment and after that the setter. What is the difference between both? Why did React developers create an extra setter as there are setters in JS that would have been called on assignment? Why was this distinguishing necessary?

    3. hierarchy of views

      How is a "view" defined here?

    1. export const actionsData = { onPinTask: action('pin-task'), onArchiveTask: action('archive-task'), };

      Why do we need to export this?

      Reuse when reusing the component

    2. excludeStories

      Why is this necessary? Example?

    1. security flaw

      Is it really a security flaw since we do not evaluate the path as far as I can see or do we? Can someone sketch out a potential attack.

  5. Apr 2021
    1. setup is designed to be stateless so you don't need the PVCs

      How can that be? Do I need to change this?

    2. include k

      Needs to be included?

    3. create a new dashboard

      Fixed?

    4. prometheus-ksonnet/ lib is still not functional
    5. bug in alertmanager.jsonnet

      Still existing?

    6. For the direct references of ksonnet-lib code, this is an issue and needs to be fixed. Please open issues when you find this and tag me or @malcolmholmes.

      Already fixed?

    7. kausal-shim

      Where can I find this?

    1. Jahr, der Name und der Titel der Arbeit

      Wie müssen die USB-Sticks beschriftet werden?

    1. forward local port 3000

      How can I access the service then?

    2. ingress

      Is this actually an ingress?

    3. In this tutorial we’ll forward ports,

      Do I need an ingress controller? How do I set this up with an ingress controller?

    4. StatefulSet

      How do I add my blockstorage as persistent volumes here?

    5. export

      How do these env variables enter kubernetes?

    1. downsamples

      Does that mean that samples are removed?

    1. PV

      Don't I need the persistent volume as well? Or is this provisioned by the cloud provider etc.?

    1. Highly available

      Does this mean we have to run multiple instances?

    2. as a package as well as a library

      What is the difference? Is that jsonnet specific?

    1. Include PodMonitors

      The manifest is exactly the same as the manifest provided for the ServiceMonitors

    2. Prometheus Pods

      What about Prometheus itself?

    3. were created in the example Prometheus Operator manifest above

      Where?

    1. provided by the authentication layer.

      Do I provide them and then the layer provides them or are they set by the layer?

    2. If any authorizer approves

      Sentence seems wrong. "If any authorizer denies a request, ..." seems to be the correct start

    1. cluster monitoring stack

      Is that only for monitoring the cluster or also applications inside the cluster? Because the first thing I could already achieve in my cloud env.

    2. Deploy kube-prometheus#

      Which kind of storage does the whole thing use?

    3. For your own applications we recommend running one or more other instances.

      Why? How can I integrate applications into the existing instance?

    1. configuration language

      Is this so difficult or what?

    2. Kubernetes Custom Resources

      What are the Kubernetes Custom Ressources?

    1. local storage

      Simply the disc storage on that particular machine?

    2. is kept in memory

      or in WAL or also in WAL? Memory-overflow possible with a lot of data coming in?

  6. Mar 2021
    1. If you only want apps to be installed on a specific cluster, or if your cluster’s scope does not match production, you can override the environment name in your .gitlab-ci.yml file:

      I guess we shouldn't need to set the environment then :D

    1. message body

      Which format's can I use here? Possibility to use javascript?

    2. $user

      What is this? The user's id?

    3. popup

      Are there other things than popup and email?

    1. is type appeared in San Franc

      What is going on?

  7. Feb 2021
    1. machine learning backends included in core do not yet support multiclass classification or regression

      I believe that multiclass classification is supported from version 3.8 on looking at https://tracker.moodle.org/browse/MDL-58992

  8. Jan 2021
    1. This provides a way to identify which observer is in play in case a target is tied to multiple observers.

      E.g., if I use the same callback for multiple observers

    2. such as the viewport

      So this does not work with the viewport?

  9. Nov 2020
  10. Oct 2020
    1. Install database. Use Moodle admin password you have set up when running admin/cli/install.php script above.

      Somehow the moodle db (pg) was already initialized. In PHP Storm I had to force a refresh to see them, though.

    2. /usr/local/var/postgres/data/pg_hba.conf

      In my case it is /usr/local/var/postgres/pg_hba.conf (PG 13, installed with Homebrew).

    1. during file creation

      Only during file creation or also if the file has already been created (, e.g. using chmod)?

  11. Sep 2020