Initial setup

It contains:

Base template for landing page
Add fontawesome kit configured with my DU email account. Done to be have more logos available. The template already had JAM.
Add basic instructions to execute locally
Add DU logo, basic details and social media links
Fixing template issues

@symeneses Thanks for this PR!
Do you want to go ahead and merge this in?  I can review the temp website and then open up issues.


social: accept url to mastodon profile

mastodon accounts can exist on many different servers besides
mastodon.social, so this should really just accept a url to some
profile.
e.g.:
mastodon = "https://freeradical.zone/@foobar"

absolutely, thank you.


Fix packages recipe syntax

I am really sorry for this

Works fine.
Could you please merge it and release a new version ?

Thanks for the fix, @kamaradclimber.


feat: extra performance and stabilization options for autoscroll

Related Issues
#10
Description
This PR introduces new set of performance and stabilization related options for an AutoScroll:

fpsLock number (optional) - when fpsLock is set AutoScroll renders will perform as if device has real fps value equal to it. This includes skips render for frames if real fps is higher and proper calculation for an expected render position if real fps is lower than fpsLock value. This option solves an issue of different frame rates on different devices as well as known problem of requestAnimationFrame() potential skipping animation frames.
virtualSpeed boolean (optional) - when virtualSpeed flag is set to true AutoScroll will perform animation as if slider component has its size equal to virtualViewportSize regardless of real slider size. This also includes scaling of a speed value up or down during position calculations to stabilize animation speed across different screen sizes. virtualSpeed and virtualViewportSize options pair solves an issue of original algo being bound to a px per frame resulting in a different slide per frame speed on different screen sizes or different slider size (which created an illusion of different scroll speed)
virtualViewportSize number (optional, default = 1000) - when virtualSpeed flag is set to true this option value is used to determine virtual size of a slider component for further calculations (see virtualSpeed option description)

Example of usage
https://codepen.io/d-nazaratiy/pen/dywywyq

Thank you very much, the website is now running much faster


LPC: embassy-lpc55 hal base with gpio and pint driver

Overview
This pull request implements a simple embassy-lpc55 hal based on lpc55-pac. This PR only implements the GPIO driver and the PINT (pin interrupt) driver, which is, in turn, used internally to detect edge & level changes for input GPIO.
TODO / Help Wanted
While there are many drivers that are yet to be implemented (most notably a time driver, which I want to tackle soon!), I'm going to limit this PR to GPIO and PINT. Despite the limited scope, there are some design decisions of which I am unsure about.
First, how should the hal be organized in terms of chip-specific details? I thought about making this hal similar to how embassy-nrf does it (each nrf family has a .rs file that creates the unique configuration, but the drivers are more or less identical). However, I am not that familiar with the other chips in the lpc series. I would personally leave it as-is, and deal with this when the problem of another chip arises, but I thought I should get your feedback on this first.
Note:  although I named the hal embassy-lpc55, it only functions for a subset of these: the LPC55S6X, LPC55S2x and LPC552X series. There are other series as shown here. However, of these I have tested the hal only on the LPC55S69, as I have the LPCXpresso55S69 board or sometimes LPC55S69-EVK.
Second, what are  the differences between Pin and SealedPin inside of the GPIO driver? When creating this hal, I took inspiration from the embassy-nrf hal and the embassy-rp one. However, I'm unsure of the distinction between these two? My guess would be that SealedPin has something to do with the fact that it doesn't need to be implemented on a Peripheral? I'm unsure. If I can understand what the deal with it is, I can document the driver properly, and perhaps cut down on the amount of abstraction.
Thirdly, I noticed in the other hals that pac access is usually done by getting a raw pointer to the relevant register block. This seems fine to me, I've integrated this idea in the pac_utils.rs file, but I'm unsure if it is actually safe. If the underlying pac handles read/writes atomically, then this isn't an issue. If the opposite is true, registers could end up in an unexpected state if modified from different threads - a race condition. That being said, the current code would not be affected by this due to the fact that each PIO is owned exactly once. The only time the .modify() action is  taken on a register, is when the registers are specific to each pin. As such (unless a circumvented by unsafe rust), only one thread could ever modify a pin-specific register. However, putting pac access behind an Arc<RefCell<...>> wouldn't be that difficult either.
And a final issue I'd like your feedback on - how should we detect level changes? In this PR I used the Pin Interrupts, but these are designed so they trigger an interrupt only for a specific, user-configured, pin. In total there are only 8 pin interrupts, so if a user wants to wait on more than 8 input changes at a time, they can't.
The LPC55S6X/LPC55S2x/LPC552X user manual also mentions a "Group Interrupt" peripheral (GINT). This allows for multiple pins to contribute to an interrupt, however after the interrupt triggers there is no way to know which pin was the cause. A software implementation that determines the differences between pre-interrupt and post-interrupt would be needed.
So yhea, that's about it. It works, but with a lot of unanswered questions :D - any feedback on this would be appreciated!
Acknowledgements
The memory.x file was based on lpc55-hal's but I'm unsure how to insert that attribution inside of the .x file itself.

The simple answer as to why "lpc55" is because this is the only chip family I have at my disposal right now. Of course, I am not married to the idea of having a very specific hal for the lpc55. I would personally favour having an embassy-lpc. Other NXP chip families might be substantially different, though that is based more on a hunch. I'm unsure how the stm32 hal functions to be able to cover so many chip families, but if it is possible for the stm32 chips, it might be possible for nxp chips too.

Apologies, I only read the code, not your entire comment :sweat_smile:

Overview
This pull request implements a simple embassy-lpc55 hal based on lpc55-pac. This PR only implements the GPIO driver and the PINT (pin interrupt) driver, which is, in turn, used internally to detect edge & level changes for input GPIO.
TODO / Help Wanted
While there are many drivers that are yet to be implemented (most notably a time driver, which I want to tackle soon!), I'm going to limit this PR to GPIO and PINT. Despite the limited scope, there are some design decisions of which I am unsure about.
First, how should the hal be organized in terms of chip-specific details? I thought about making this hal similar to how embassy-nrf does it (each nrf family has a .rs file that creates the unique configuration, but the drivers are more or less identical). However, I am not that familiar with the other chips in the lpc series. I would personally leave it as-is, and deal with this when the problem of another chip arises, but I thought I should get your feedback on this first.

I think it should go as widely as possible, at least if if it's to be put inside the embassy repo, because we don't want to end up with many hals for very similar chip families.
IMHO the distinction should be on 'peripheral similarity'. If a UART across all NXP MCUs share 90% of the code, they should be in the same HAL.

Note: although I named the hal embassy-lpc55, it only functions for a subset of these: the LPC55S6X, LPC55S2x and LPC552X series. There are other series as shown here. However, of these I have tested the hal only on the LPC55S69, as I have the LPCXpresso55S69 board or sometimes LPC55S69-EVK.
Second, what are the differences between Pin and SealedPin inside of the GPIO driver? When creating this hal, I took inspiration from the embassy-nrf hal and the embassy-rp one. However, I'm unsure of the distinction between these two? My guess would be that SealedPin has something to do with the fact that it doesn't need to be implemented on a Peripheral? I'm unsure. If I can understand what the deal with it is, I can document the driver properly, and perhaps cut down on the amount of abstraction.

You can read more about the reason for sealed traits here https://predr.ag/blog/definitive-guide-to-sealed-traits-in-rust/

Thirdly, I noticed in the other hals that pac access is usually done by getting a raw pointer to the relevant register block. This seems fine to me, I've integrated this idea in the pac_utils.rs file, but I'm unsure if it is actually safe. If the underlying pac handles read/writes atomically, then this isn't an issue. If the opposite is true, registers could end up in an unexpected state if modified from different threads - a race condition. That being said, the current code would not be affected by this due to the fact that each PIO is owned exactly once. The only time the .modify() action is taken on a register, is when the registers are specific to each pin. As such (unless a circumvented by unsafe rust), only one thread could ever modify a pin-specific register. However, putting pac access behind an Arc<RefCell<...>> wouldn't be that difficult either.

It is the 'job' of the HAL to build safe abstractions on top of the PACs. I.e. ensure that registers are written in the correct order, and only by 1 'thread' (the borrow checker will help you with that).
There's always the case that someone writes unsafe code and accesses the registers directly, but that's outside the scope of the HAL.

And a final issue I'd like your feedback on - how should we detect level changes? In this PR I used the Pin Interrupts, but these are designed so they trigger an interrupt only for a specific, user-configured, pin. In total there are only 8 pin interrupts, so if a user wants to wait on more than 8 input changes at a time, they can't.

Often with a HAL, you need to figure out the "sweet spot" of how much flexibility you give in the API vs. how common the use case is. Maybe a limit of 8 is OK, it can be reworked later if someone has the use case.

The LPC55S6X/LPC55S2x/LPC552X user manual also mentions a "Group Interrupt" peripheral (GINT). This allows for multiple pins to contribute to an interrupt, however after the interrupt triggers there is no way to know which pin was the cause. A software implementation that determines the differences between pre-interrupt and post-interrupt would be needed.
So yhea, that's about it. It works, but with a lot of unanswered questions :D - any feedback on this would be appreciated!
Acknowledgements
The memory.x file was based on lpc55-hal's but I'm unsure how to insert that attribution inside of the .x file itself.

You should be able to write comments in linker scripts using '/* */', just stating the attribution.

IMHO the distinction should be on 'peripheral similarity'. If a UART across all NXP MCUs share 90% of the code, they should be in the same HAL.
Thinking about it, it should be safer to start off broad (embassy-nxp) and if in time we discover if chip families are so different that they require drastically different code, we can split them off much more easily then to merge different hals

For what it's worth, NXP has gone through multiple acquisitions, and has a couple of very different chip families active at the moment: https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/general-purpose-mcus:GENERAL-PURPOSE-MCUS
The biggest three are the Kinetis (formerly freescale), i.mxrt, and LPC.
I would be somewhat surprised if there was a meaningful amount of IP to share across these families, but I also do not use any of them actively (I've used all three in passing in the past, I don't remember them being particularly similar.
embassy-nxp might work, but embassy-lpc, embassy-imxrt, and embassy-kinetis might be better splits.

Searching around google a bit and speaking with a coworker who worked with more NXP boards, it should be possible to have a single hal. There is a C hal for the zephyr project that groups all of NXP chips in one (https://github.com/zephyrproject-rtos/hal_nxp), and I understood that the Kinetis and i.mxrt ones should be similar enough. LPCs are bit newer and do break away those two, but not completely.


ag-grid enterprise license key

https://stackoverflow.com/questions/74155349/where-do-we-insert-an-ag-grid-enterprice-license-when-using-it-via-justpy/74255210#74255210
I hope this instruction could be added to the ag-grid introduction tutorial regarding the license key usage.

see #685


VIM Plugins with the <some_name>/vim format result in duplicate plugin error.

Related Issues
None
Description
Duplicate plugin warning when there are more than 1 plugin that follows the repo format of <some_name>/vim. For example:
call dein#add('dracula/vim',
            \ {'merged' : 0,
            \ 'normalized_name' : 'dracula'})

and
call dein#add('catppuccin/vim',
            \ {'merged' : 0,
            \ 'normalized_name' : 'catppuccin'})

will result in the following error:
[dein] plugin 'vim' already defined

To Reproduce
Just try installing the plugins listed above.
Expected behavior
Ability to have both plugins installed.
Screenshots
None
Desktop:
Please complete the following information, when reporting bugs related to the
Dein.vim.

OS: Linux
Vim or Neovim version: Vim 9.1 (1-954)

Minimal Config
" Add your minimal .vimrc or init.vim here.
" Example:
set runtimepath^=~/path/to/dein.nvim/
call dein#begin(path)
call dein#add('dracula/vim',
            \ {'merged' : 0,
            \ 'normalized_name' : 'dracula'})
call dein#add('catppuccin/vim',
            \ {'merged' : 0,
            \ 'normalized_name' : 'catppuccin'})
call dein#end()

Additional context
Add any other context about the problem here.

It is feature.
Because name is not same with normalized_name.
If you want to use normalized_name as name, please enable g:dein#enable_name_conversion for it.


China login

Proposed change
Add a new nonce algorithm for the China region login, automatically complete the login graphic verification code, restore the login function for the China region, and update the refresh token method.
Type of change

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (which adds functionality to this library)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests

Additional information
Due to the public disclosure of the x-login-nonce algorithm in the Chinese region, the logic has been added to the library. Currently, password login requires a graphical captcha.
The solution we have incorporated allows for automatic bypassing of the graphical captcha obtained from https://gitee.com/cvnc/BMW/blob/master/lib/BMWLogin.js
The refresh token also needs to be included in the header with the x-login-nonce encoded using gcid.

This PR fixes or closes issue: fixes #504
This PR is related to issue:

Checklist

[x] The code change is tested and works locally.
[ ] Tests have been added to verify that the new code works.

To make the refresh token work, we will need to store gcid in the HA registry as well.


vtctl: add workflow commands

Add two new vtctl commands WorkflowShow and WorkflowNames which expose the contents of running workflows to the CLI.
This is based on #3382. Will rebase once that merges but I wanted to get initial thoughts.

can vtctlclient do this already?

@arthurnn Ha! Apropos to the conversation in Slack I just learned about vtctlclient.
The changes in #3382 look like they're completely unnecessary in a vtctlclient world because they'd already be registered in vtctld and thereby exposed through vtctlclient.
These two are new commands however and would be exposed through both clients.

tests need fixing.

@sougou This has now passed travis and is ready for review.
I again disagree with the CodeClimate complaints.

Can you write tests that prove that this works? You should be able to piggy-back on an existing flow, and show that these commands print out the necessary info.

This has been lingering. Did you still want to push this through? If so, conflicts need resolving, and tests needed.

Yeah I know — this isn’t actually important for us any more as we’ve stopped using Workflow.
I’d be fine to just close it and we can always reopen if someone finds the desire to pick it up.


⚠ Contemporanea B2B has degraded performance

In 3547d5b, Contemporanea B2B ($SITE_CNTMB) experienced degraded performance:

HTTP code: 200
Response time: 10793 ms

Resolved: Contemporanea B2B performance has improved in 8598d7c.


Allow configuring empty value similarly to @CsvSource

JUnit 5 @CsvSource allows configuring empty value using a dedicated annotation parameter:
public @interface CsvSource {
    // ...

    /**
    * The empty value to use when reading the {@linkplain #value records}.
    *
    *
This value replaces quoted empty strings read from the input.
    *
    *
Defaults to {@code ""}.
    *
    * @since 5.5
    */
    String emptyValue() default "";

    // ...
}

A similar approach could be adopted here.

To be released with the next library version.

Released in 0.2.0.


Tolerations as a list not a object

Hi 👋🏼 I would like to apply tolerations like this:
      tolerations:
        - effect: NoSchedule
          operator: Exists
        - effect: NoExecute
          operator: Exists

Most charts I see tolerations support via [] not {} and [] is the official way: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/

should work, tolerations are generated like that:
{{- toYaml . | nindent 8 }}

So you can pass freeform yaml to that variable

Ah right, I am getting a error though...
reconciliation failed: Helm upgrade failed: error while running post render on files: map[string]interface {}(nil): yaml: unmarshal errors:
  line 84: mapping key "tolerations" already defined at line 24

Helm values:
    container_runtime: containerd
    lapi:
      env:
        - name: DISABLE_ONLINE_API
          value: "true"
      persistentVolume:
        data:
          enabled: true
          accessModes:
            - ReadWriteOnce
          storageClassName: ceph-block
          size: 1Gi
        config:
          enabled: true
          accessModes:
            - ReadWriteOnce
          storageClassName: ceph-block
          size: 100Mi
      metrics:
        enabled: true
        serviceMonitor:
          enabled: true
      resources:
        limits:
          memory: 100Mi
        requests:
          cpu: 150m
          memory: 100Mi
    agent:
      env:
        - name: DISABLE_ONLINE_API
          value: "true"
        - name: COLLECTIONS
          value: "crowdsecurity/nginx"
      acquisition:
        - namespace: networking
          podName: ingress-nginx-controller-*
          program: nginx
      metrics:
        enabled: true
        serviceMonitor:
          enabled: true
      tolerations:
        - effect: NoSchedule
          operator: Exists
        - effect: NoExecute
          operator: Exists

That's interesting. I checked on my install and it applies correctly (diff no-tolerations vs tolerations)
        - name: crowdsec-config
          persistentVolumeClaim:
            claimName: crowdsec-config-pvc
+       tolerations:
+         - effect: NoSchedule
+           operator: Exists
+         - effect: NoExecute
+           operator: Exists
        nodeSelector:
          node-role.kubernetes.io/worker: "true"

Tolerations are also properly applied to workloads, both for lapi and agents.
Here is my full config (in helmfile format)
repositories:
  - name: crowdsec
    url: https://crowdsecurity.github.io/helm-charts
bases:
  - ../../environments/environments.yaml
---
releases:
  - name: crowdsec
    namespace: crowdsec
    kubeContext: {{ .Environment.Values.global_kubecontext }}
    createNamespace: true
    chart: crowdsec/crowdsec
    values:
      - container_runtime: containerd
      - agent:
          acquisition:
            - namespace: ingress-nginx
              podName: ingress-nginx-controller-*
              program: nginx
          env:
            - name: PARSERS
              value: "crowdsecurity/cri-logs"
            - name: DISABLE_ONLINE_API
              value: "true"
            # As we are running Nginx, we want to install the Nginx collection
            - name: COLLECTIONS
              value: "crowdsecurity/nginx"
          metrics:
            enabled: true
            serviceMonitor:
              enabled: true
          nodeSelector:
            node-role.kubernetes.io/worker: "true"
          tolerations:
            - effect: NoSchedule
              operator: Exists
            - effect: NoExecute
              operator: Exists
      - lapi:
          metrics:
            enabled: true
            serviceMonitor:
              enabled: true
          dashboard:
            enabled: true
            image:
              tag: "v0.41.5"
            ingress:
              enabled: true
              ingressClassName: nginx
              host: crowdsec.{{ .Environment.Values.global_ingress_basedomain }}
          persistentVolume:
            data:
              storageClassName: local-path
              size: 1Gi
            config:
              storageClassName: local-path
              size: 100Mi
          nodeSelector:
            node-role.kubernetes.io/worker: "true"
          tolerations:
            - effect: NoSchedule
              operator: Exists
            - effect: NoExecute
              operator: Exists

given reconcile i guess you use some kind of gitops stuff (argo?) maybe it checks against base variables and compare type before rendering final manifests? I never touched those, but bare helm / helmfile works.

I also have this issue.  I think it may be because tolerations is defined twice in the agent-daemonSet:

https://github.com/crowdsecurity/helm-charts/blob/715f388e51171a82521095a87aeb003f6323741c/charts/crowdsec/templates/agent-daemonSet.yaml#L21
https://github.com/crowdsecurity/helm-charts/blob/715f388e51171a82521095a87aeb003f6323741c/charts/crowdsec/templates/agent-daemonSet.yaml#L97

damn i missed that when making PR. Shoulda probably create another.

@rlex - is this something you might have time to fix?  I can take a shot but I don't have a full grasp of helm templates and I don't want to break things.

@ahgraber @rlex Hey guys, my PR should solve the issues at hand. Any potential in getting that merged?


How to save the data of rancherHA deployed by rke

Do as the instruction of the official website  found that when I execute helm install rancher rancher-stable/rancher  --namespace cattle-system  --set hostname=hostname , there is no argument like dburl to save my ha rancher's data, how can I do that when I deployed a rancher ha on rke kubernetes clusters by helm

This is described on https://rancher.com/docs/rancher/v2.x/en/installation/how-ha-works/. Rancher will use cluster resources to store data and those are stored in the cluster's datastore (in case of RKE, etcd). How to manage backups/snapshots is described on https://rancher.com/docs/rancher/v2.x/en/backups/


DDT-1273 get booking by carrierbookingrequest reference

Resolves: DDT-1273

Test fail:
    [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.013 s - in org.dcsa.edocumentation.itests.ebl.ShippingInstructionSummaryIT

    [INFO]

    [INFO] Results:

    [INFO]

    Error: Failures:

    Error:    BookingIT.testCreate:28 1 expectation failed.

Expected status code <201> but was <400>.


Symbols in generated xxxPubSubTypes.h files are not exported (on Windows) [4485]

Thanks for the nice work on fastrtps. In the below minimal example, the generated PubSubType class has no export macros. Without the relevant export macros, I am unable compile all the fastrtpsgen generated files into a dll. The EPROSIMA_USER_DLL_EXPORT only has an effect when compiling the generated .h and .cxx files and those symbols seem to be exported.  Would it be possible for the generater to add eProsima_user_DllExport  macros to the PubSubTypes as well ?
If this is by design, it would be useful to know the driving arguments. For now I am now resorting to compiling all fastrtpsgen generated files along with multiple executables.
IDL
    struct ddschar{
        char val;
    };

Generated PubSubtype has no export macros (bad):
    class ddscharPubSubType : public eprosima::fastrtps::TopicDataType {
    public:
            typedef ddschar type;

    	ddscharPubSubType();
...
...
    };

Generated PubSubtype has eProsima_user_DllExport macros (good):
    class ddschar
    {
    public:

        /*!
         * @brief Default constructor.
         */
        eProsima_user_DllExport ddschar();

Hi @kannode
From #460 these symbols are exported.


Add build and pr-check job

This PR adds necessary files for building docker image and CI jobs.
Signed-off-by: Feng Huang<EMAIL_ADDRESS>

LGTM


<EMAIL_ADDRESS>causes [TypeError: object.hasOwnProperty is not a function]

This is a heads up that the dependency query-string at version 3.0.2 has a different return value for the parse method than 3.0.1 did - https://github.com/sindresorhus/query-string/issues/50.  Specifically, it causes line https://github.com/mjackson/history/blob/master/modules/useQueries.js#L13 to throw [TypeError: object.hasOwnProperty is not a function].
It appears that calling hasOwnProperty on the object returned from parse will not be supported going forward (since a qs param could be named hasOwnProperty).

I put up https://github.com/mjackson/history/pull/248 (against v2). Let's see how https://github.com/sindresorhus/query-string/issues/50 goes – if @sindresorhus doesn't roll back that change, we'll need @mjackson to publish a new v2.x release.

Sorry, fixed in 3.0.3.

np, thanks for the quick fix @sindresorhus :D


Notifico refuses to send commits to multiple channels on the same network

For the project http://n.tkte.ch/GLolol/PyLink, I have two channels set up: #dev and #PyLink on irc.overdrivenetworks.com.
However, Notifico will only deliver commit notifications to one of the two channels whenever something is done. The Notifico bot will join both channels, but in my case, only sends commits to the first channel, #dev.

@GLolol is your second channel blocking messages with colors or unverified users?

No.
-- | Mode #PyLink [+ACfnt 7:5]

And the ban list is empty.

Not pylink, but this is funny. A few dozen of these in the logs:
parsed_line(prefix='io.overdrive.pw', command='404', args=['Not-9da9', '#dev', 'Cannot send to channel (your message contained a censored word)'])

I currently see no errors for #pylink in the logs.

I used +g to block labelling / unlabelling of issues (which I do very frequently), because I'm unable to turn those off explicitly in GitHub's settings without disabling announcements for issues being created. Ironically, #dev is the channel where Notifico actually works, and #PyLink simply gets ignored...

+g is InspIRCd's IRCd-side message filters, by the way. I also use it as a workaround for #139 so it doesn't flood my channels!
10:24 -- #dev *The?Travis?CI?build?is?in?progress* GL<PHONE_NUMBER>
10:24 -- #dev *labeled?issue*git.io* na.hub.overdrive.pw<PHONE_NUMBER>
-- #dev :End of channel spamfilter list

It's a new year! Now, Notifico is only sending messages into #pylink and ignoring #dev entirely...

Are you sure it is not your network configuration, judging from the Website the only 2 channels which are configured for this network are yours.
That means notifico is using one connection and there should be no technical reason that announcing works for one but not the other. Reasons why it might not work, notifico can't even join the channel, it can't send messages because of channel modes etc.

The bot is present in both channels and is able to speak in both. It's back to announcing commits to only #dev...

Issue seems to have fixed itself, strange.


Bug: Updating a group to another group

Am I allowed to update a group to another existing group since this is the behaviour if i do so but there is no error handling to the user
https://github.com/AY2324S1-CS2103T-T12-1/tp/assets/60029664/9c3c6bdd-5271-4ee7-844a-3957e27e7658

Please provide the exact steps to replicate this error, as I am unable to do so.

Please provide the exact steps to replicate this error, as I am unable to do so.

https://github.com/AY2324S1-CS2103T-T12-1/tp/assets/60029664/64483302-e092-4b3e-8417-fedd09b255cd


Relax some over-constrained impl bounds

Most of these are removing K: Hash + Eq and/or S: BuildHasher where
we don't actually need to hash anything.
In some cases, we only get away with that because we have a saved hash
in each entry Bucket. I suspect we still kept the constraints as API
protection, in case we ever wanted to change our mind and stop saving
the hash. However, there are a few other unconstrained methods that also
need the saved hash, like swap_remove_index going back long before
version 1.0 of the crate, so that ship has sailed.

However, there are a few other unconstrained methods that also
need the saved hash, like swap_remove_index going back long before
version 1.0 of the crate, so that ship has sailed.

Reference: commit 67a04b20b7ee83f1299f9531418adc79f4065a90


Issue while installing TF-comb

Im trying to install TF-comb using mamba i'm facing an error saying
Could not solve for environment specs
mamba create -n tfcomb_env --file required_packages.txt
The following packages are incompatible
├─ pybigwig   does not exist (perhaps a typo or a missing channel);
├─ pysam   does not exist (perhaps a typo or a missing channel);
├─ tobias   does not exist (perhaps a typo or a missing channel);
└─ uropa   does not exist (perhaps a typo or a missing channel).

while trying to installing using pip
pip install TF-COMB
im facing an error with matlab

can you help to fix this issue.

Hi @VenkateshLab,
thank you for your interest in TF-COMB.
Regarding the mamba issue: it seems like you missing the bioconda channel on your mamba installation, can you please try
mamba create -n tfcomb_env --file required_packages.txt --channel bioconda  and see if it works for you?
Regarding the matplotlib Issue: can you please check you matplotlib version, e.g. with pip show matplotlib ? If it's below 3.6.0 you will encounter this deprecation warning. Updating matplotlib to a version above 3.6.0 should make the warning disappear.
However you should be able to use tfcomb besides the warning. Can you please try  tfcomb.__version__  after the warning? like
>>> import tfcomb
/python3.9/site-packages/tfcomb/network.py:16: MatplotlibDeprecationWarning:
The mpl_toolkits.axes_grid module was deprecated in Matplotlib 2.1 and will be removed two minor releases later. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist, which provide the same functionality instead.
  from mpl_toolkits.axes_grid.inset_locator import inset_axes
>>> tfcomb.__version__
'1.0.3'

If you see a version like 1.0.3 you could proceed with the usage of tfcomb.
Please note we highly recommend to use the newest version, if you see a version below 1.0.3 please consider updating tfcomb as well.
I hope this solves your problem, if not please let me know and I'm happy to assist you further.

Hi !
I can not see the folder you are executing python from. Are you executing python from within the TF-COMB folder ?
For the mamba installation: After pip install . can you try moving to another folder (e.g. one folder up)?
The reason for this is: the python interpreter tries to import the local module from the folder you are in instead of the installed module (see my attached screenshot).

The same problem exists when installed via pip but python is executed from within the TF-COMB folder.
I see this is a caveat we should mention in the installation section,  I will update our Readme accordingly, thank you.
If this does not solve the problem in your case, please let me know.


Add support for half-open ranges

@icambron  I'm opening this as a very minimal PR because I'd like your feedback on the implementation approach.  If you like what you see here, I'll work on updating the docs and adding some simple tests.
I've added support for an "containEndpoints" configuration option when constructing a new Twix range.  There are four valid values for the containEndpoints option:

true:  construct a fully closed range, where the range contains both its start and end moments
"end":  construct a half open range, where the range contains its end but not its start moment
"start":  construct a half open range, where the range contains its start but not its end moment
false:  construct a fully open range that contains neither its start nor end moments

This is implemented by twiddling the values of _trueStart and _trueEnd in Twix's constructor, minimizing the impact on code complexity.  I haven't tested everything comprehensively yet, but based on some informal testing of various API methods, I feel like the resulting behavior matches my expectations quite nicely — formatting functions are generally unaffected, while mathematical functions appear to consistently respect the munged endpoints.
It is worth noting that Twix's set algebra functions (e.g. Twix.intersection) will currently always act on the _trueStart and _trueEnd values to create a mathematically-correct closed range, even if one of the source ranges was a half-open or fully open range.  This might be unintuitive for some formatting-centric use cases.
The default value of containEndpoints is true, for backward compatibility with previous versions of Twix.
This PR is largely motivated by our discussion in #44.  Sorry it took me so long to follow up on this!

I like it, and I also like how small it is. Thanks for working on it.

formatting functions are generally unaffected, while mathematical functions appear to consistently respect the munged endpoints.

This sounds right to me; I don't think it should affect formatting.

It is worth noting that Twix's set algebra functions (e.g. Twix.intersection) will currently always act on the _trueStart and _trueEnd values to create a mathematically-correct closed range, even if one of the source ranges was a half-open or fully open range. This might be unintuitive for some formatting-centric use cases.

Yeah, that's a bit thorny, since we don't provide any way to turn a closed range into a half-open range. I don't want to add an argument to all of those functions, though. I think perhaps it should just inherit the openness of the first range. I'd suggest stashing @openness (or whatever) in the constructor and passing it to the constructors in the algebra methods.
One minor thing I haven't thought about hard enough: I adjusted those functions to do some funny stuff because we didn't have open or half open ranges. See, e.g., #8, which makes overlaps() return true for adjacent ranges, even though they're closed. It's tempting to change that to false now that there are open ranges for which it should return true. But I guess I don't want to break reverse compat, so let's table that.
Final thing is that we should make equality take endpoint inclusion into account. A half-open range between two times is not the same as a fully closed range between those two times. So need to change equals().
So if you make the set functions "inherit" their inclusiveness, change equals and add some tests, I'll gladly mere this.

Thanks for the awesome feedback!  I think I agree with all your suggestions, so I'll keep working on this over the next few days.

You guys are here in Cambridge, right? When you get this done I'll buy you and @benesch a beer.

Re: the behavior from #8 in overlaps, I feel like the right way to fix that is to strip out the funky logic and just change the default to create half-open ranges instead of fully-closed ranges.  But as you say, that obviously breaks backward compatibility, so it makes sense to consider the tradeoffs of that change separately.

Yep!  I'd totally be up for a beer at some point.  :+1:

Checkpoint:  I've updated .equals() and .union(), including tests for .union().  I still need to do similar updates for the other set functions and their tests.  I also still need to evaluate other portions of the API to figure out what else deserves additional tests, and write those tests.

:+1:

Just checking in on this. I've sort of lost track of this, but IIRC, there's still a few things to do?

Yep, thanks for poking me -- this slipped off my radar too.  My recollection is that I just need to finish up support for several of the set operators (.xor looked a bit more involved than most of the others).
I just got back from vacation so I'm a bit busier than usual this week, but I'll try to bring this up to date and finish the remaining work by the end of the month or so.

I'm closing this PR.  I'm definitely still interested in the idea, but I'm not sure if/when I'll get time to work on it again.  Also, while there's a lot of ideas that could be usefully copied from these commits, I suspect it'd be easier to re-implement instead of trying to directly merge these commits with the current codebase.


Skill Dialog processes incoming activities from the skill while still loaded

Version
current
Describe the bug
When a host bot uses the Skill Dialog to call a skill which results in activities sent back to the parent, state can get corrupted.
To Reproduce
Created a repo here: https://github.com/EricDahlvang/SkillDialogIssue/blob/master/RootBot/Dialogs/MainDialog.cs#L177
EndOfConversation received from a skill while the SkillDialog is still processing the original message, results in a 2nd instance of the SkillDialog being loaded to process EndOfConversation.  The 2nd dialog finishes first, and the first instance saves over the 2nd instance's state.
Expected behavior
Activities received from a skill during a SkillDialog should be processed after the skill dialog completes, not while it is still processing the initial message.
Screenshots

Additional context
Tom has a fix for this here: https://github.com/microsoft/botbuilder-dotnet/pull/3952
[bug]

@Zerryth (who ran into this creating functional tests)
do you have anything to add?


Jquery can return HTMLCanvasElement too

The following canvas angular directive code throw me an error on typescipt compilation :
error TS2339: Property 'getContext' does not exist on type 'HTMLElement'.
export function myCanvasDirective(): ng.IDirective {
    return {
      ...
      link: (scope: ng.IScope, elt: JQuery, attr : ng.IAttributes) => {
        var ctx = elt[0].getContext('2d');
        ...
    };
  };

This is because when JQuery is called with an index number, it returns an HTMLElement. Line 3559 jquery.d.ts
    [index: number]: HTMLElement;

Replace "HTMLElement" by "HTMLCanvasElement" or "any" works here. But I'm wondering if we can declare HTMLElement or HTMLCanvasElement as a return of JQuery ?

@paulsouche I think this is not a bug. you should use var ctx = (< HTMLCanvasElement >elt[0]).getContext('2d');

Yes ! Thank you for the advice


Installation instructions

Hi!
First of all thanks for creating this package, it looks pretty awesome.
I want to refactor one of my projects so I can use it, but it seems the package is not available via the elm package install command, and checking out your example app, it is importing it using a partial file path. How can I install it?
Cheers!

Hey,
the package is not yet released on elm package, because I'm still gathering some feedback, but it should be released in the next week or so.
In the meantime there are two ways to install the package:

You just copy the files in your local project.
You clone the project and specify the relative path to the project in the elmBrunch part of the the brunch-config.js (probably the cleaner / better solution)

I hope this helps and let me hear if you have any problems or ideas for improvements :)

Hey,
I finally managed to install it downloading the files and adding them into a vendor folder inside my project. Here's the repo where I'm using it https://github.com/bigardone/phoenix-and-elm/tree/phoenix-channels :)
I have a question, though. The only thing I'm missing is to leave a channel manually. I've found a leaveMessage function in the ChannelHelpers module, but I'm not quite sure how to use it. I'd like to use it for example when a user navigates to a different route, and I want him to disconnect from the current channel he is connected to. How would you do that?
Cheers!

You simply don't include the channel in your channel list anymore :) (Probably I should make it clearer that it is this simple.) If you want to do something after you left a channel you can set an onLeave callback on the channel.
Here is the code snippet in the example application:
subscriptions : Model -> Sub Msg
subscriptions model =
    case model.state of
        JoiningLobby ->
            Phoenix.connect socket [ lobby model.userName ]

        JoinedLobby ->
            Phoenix.connect socket [ lobby model.userName ]

        _ ->
            Phoenix.connect socket []

If model.state is not JoiningLobby or JoiningLobby you will leave the room:lobby channel, but keep the socket connection open.

Oh, now I get it!
I really love the approach you've taken for this library. My favorite elm/phoenix client so far, congrats!
Cheers!

@saschatimme is this ready for elm package yet?

@dustinfarris  The package would be ready for elm package but it's not in my hands (effect-managers need to be whitelisted). I started a discussion on elm-dev but so far nothing went from there.
So if anyone wants to see this on elm package you should advocate for it in the elm-dev discussion.


Typo in "Bayes rule for Gaussians"

In the third line in equation 3.37 it should be the inverse of the posterior matrix.
Instead of \Sigma_{z|y} is should be \Sigma_{z|y}^{-1}

No it is correct as it is. The derivation follows from eqn 3.28.


Performance - Text Rendering: Use texture atlas for characters

Rendering text is currently very expensive in Revery, because it involves lots of context-switches to jump between shaders (this is made even worse by the fact that we currently regenerate textures every frame - but that's a separate issue).
The text rendering could be significantly improved by having a texture atlas that contains all the rendered glyphs - then, we could render a line of text in a single pass (or at least, a more minimal set of passes), as opposed to the situation today - where we always render each quad / texture in a single pass.
There's an excellent TextureAtlas implementation by @cryza in Oni here: https://github.com/onivim/oni/blob/master/browser/src/Renderer/WebGLRenderer/TextRenderer/GlyphAtlas/GlyphAtlas.ts that could be useful here 👍

I've started working on a Reason port of the v1 texture atlas. I'll tell you once I've come up with something reviewable! It will probably require some changes in reason-fontkit and reglfw as well, though 😅

@Cryza - awesome! Thank you very much for your help with this 💯

It took me quite some time but I think I now have fiddled around enough in a very diffuse way so that I now have a good understanding of what we can do to get a similar approach working as we had in oni v1.

Awesome! Thanks for the update @Cryza .

I decided to postpone that to keep this issue focused for now though. Just writing everything into the buffer as a float should be sufficient for now. We might want to revisit this later.

Sounds reasonable to me for now.

This means for now, we need to decide:

Keep one render pass per glyph and stay compatible with IE, Edge and Safari
Optimise to one render pass per text node and drop compatibility with IE, Edge and Safari

Thanks for calling out the options here! Given that the first option sounds like it is less effort to implement for now, I'm on-board with that. Getting a 'texture atlas' gives us a big leg-up when we decide to implement more aggressive optimizations, and we can follow up with other approaches.
One thing to note - there is an extension for WebGL 1 for ANGLE_instanced_arrays, which I believe would add sufficient instancing support for our scenarios. It seems to be very widely supported according to webgl stats: https://webglstats.com/webgl/extension/ANGLE_instanced_arrays - so that might be a future possibility.  I logged an issue in the reason-glfw repo to pick this up eventually: https://github.com/bryphe/reason-glfw/issues/27


Feature add ssl

Ported SSL implementation from https://github.com/logstash-plugins/logstash-output-tcp/pull/3
with inspiration from https://github.com/aaw/logstash-output-syslog/commit/ae091c0b0b7dc75b27b7e336e87f24e11ba99360
Fixes #15

Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then  say 'jenkins, test it'.

Could please someone give me some feedback?

@jsvd Would you mind to have a look at this one as well (or may be #6)?

LGTM

@breml can you rebase from master? I am geting conflicts

@suyograo I just rebased this one. I will wait with the rebase of #17 until this one is merged. (Over the last two months I resolved the same merge conflicts over and over again to keep my own branch in sync with master on one side and to get my pull requests merged on the other.)


[MJX] Difference between training model in MJX and Evaluating in Mujoco with Height Map Activated

Hi,
I wanted to ask if there was any analysis (or attempt) made to evaluate the model trained in MJX (specifically with the height map) and evaluate this trained model in Mujoco (with the height map applied in Mujoco as well)? I am mostly asking because I was successfully able to train our Biped robot on the height map in MJX, but this policy did not work in the regular Mujoco. However, a flat terrain in regular Mujoco did work. So I just want to double check if this is an error on my end, or if the height map in MJX vs Mujoco have some difference? Maybe on way to check if someone already has done is to see if the barkour example in MJX trained on the height map works in regular Mujoco with the height map.
Thanks,
Sincerely,
Alex

Hi @AlexS28 , I have not tried this personally. The contacts between heightmaps in MJX vs MuJoCo are not equivalent. In MJX we use the separating axis test with one-shot contact manifolds (4 points), and cull these to a max of 4 points. In MuJoCo, we use MPR and can use up to 50 contact points FWIU. In the MJX tutorial, we do show transfer for the humanoid between MJX and MuJoCo, but the collision detection in that case is equivalent (capsules, planes, spheres). Hope that helps

I see, thanks for the answer, I guess in that case it make sense why the behavior could be different between the two then.


Host file watch needs to include shared modules as well as function entrypoint files

The host is pretty good at watching for changes in the function and json files but it fails to spot changes in shared modules.
For example, I've quite a few javascript files in a _modules folder (underscore indicates private, not a Function). When these change the function app is not reloaded. It should be.
I suggest also watching functionApp/**/*.js would probably be good enough. Possibly functionApp/*.json too

I have a workaround using nodemon to restart the host

If you want to watch other directories, you should add them to watchDirectories: https://github.com/Azure/Azure-Functions/issues/454

@lindydonna Azure/Azure-Functions#454 doesn't seem at all relevent?

Oops, copy-paste error. You can customize watchDirectories in host.json: https://github.com/Azure/azure-webjobs-sdk-script/wiki/host.json

I hadn't grocked webjob options would be available with core tools. Cool. Thanks for the headsup. I'll explore.


PIR

Good Evening,
today we have try to implement a PIR Sensor with sonoff/tasmota. It Works on the tasmota side very easy and finde but when we want to integrate it on the iobroker with the adapter, the datafield will not generated
Howto
https://github.com/arendst/Tasmota/wiki/PIR-Motion-Sensors
MQTT sends:
21:06:25 RUL: SWITCH1#STATE=0 performs "publish stat/nodemcu-pir1/PIR1 OFF"
21:06:25 MQT: stat/nodemcu-pir1/PIR1 = OFF
21:06:28 RUL: SWITCH1#STATE=1 performs "publish stat/nodemcu-pir1/PIR1 ON"
21:06:28 MQT: stat/nodemcu-pir1/PIR1 = ON
21:08:10 RUL: SWITCH1#STATE=0 performs "publish stat/nodemcu-pir1/PIR1 OFF"
21:08:10 MQT: stat/nodemcu-pir1/PIR1 = OFF
21:08:12 RUL: SWITCH1#STATE=1 performs "publish stat/nodemcu-pir1/PIR1 ON"
21:08:12 MQT: stat/nodemcu-pir1/PIR1 = ON
Config of rules:
SwitchMode1 1
SwitchTopic 0
Rule1 on switch1#state=1 do publish stat/%topic%/PIR1 ON endon on switch1#state=0 do publish stat/%topic%/PIR1 OFF endon
Rule1 1
Is there any option to get the data inside, with a other topic?

I have exactly the same problem !
Do you have already a solution that is working that the values inside iobroker sonoff are updating ?


Refactor core, ecdsa, tbtc and tbtc-dapp Installation Into Their Own Script

When we restart geth, we need to re-deploy all of our contracts.
Unfortunately, running install.sh is going to try to refetch master
which may not be what we want (we might be making changes) and also
takes time.
Instead, we refactor the installation of core, ecdsa, tbtc and tbtc-dapp
into their own install-applications-with-contracts.sh script which is
invoked from install.sh. This allows us to simply run
install-applications-with-contracts.sh if geth was restarted at some
point.
tagging @dimpar for review since we spit-balled it a bit

Verified that everything is working - gave this a test drive today when I re-installed and ran everything from complete scratch.
I was also able to shut down geth and bitcoind, start them back up, and then run install-applications-with-contracts.sh and have it work :tada:


Open source attribution to adapted repos

:scroll: Description
_#skip-changelog
:bulb: Motivation and Context
https://github.com/getsentry/team-mobile/issues/96
:green_heart: How did you test it?
:pencil: Checklist

[ ] I reviewed submitted code
[ ] I added tests to verify changes
[ ] No new PII added or SDK only sends newly added PII if sendDefaultPii is enabled
[ ] I updated the docs if needed
[ ] All tests passing
[ ] No breaking changes

:crystal_ball: Next steps
Thanks @ueman

You're welcome!


One global variable

[ ] Not use more than one global variable. Think about it. You will have to explain its purpose.

If we work with the struct, i believe we don't need to use global variable.

Don't use global variables.


Add spellcheck for commit message input box

The built-in source control system interface has an input box for commit message.

It would be nice to have a spellcheck tool for that input, for commit messages cannot be easily changed once a typo has been made.

/duplicate #35571


add gobblin-compaction module

Modify compaction src to work for both Hadoop 1 & 2. Rewrite the part that used Hadoop 2-only API such as GlobFilter and LocatedFileStatus.
Modify build script to accommodate gobblin-compaction.
There are two dependencies (jpox-core-1.2.2.jar, jpox-rdbms-1.2.2.jar) that are needed by Hive embedded server, but don't seem to exist in a remote repo. So I included them in the commit. (gobblin-compaction/lib)
gradlew clean build passed.

All problems resolved and everything now works. I've updated the pull request.

Please add the DataNucleus license in NOTICE file.

Modified build script to generate tarball, instead of separate files
Added entry to NOTICE for datanucleus.

Looks good.

Just one last comment, everything else LGTM


WSO2 Android Agent cannot be unregister if we removed the device using 'Device Management' UI

Steps to reproduce.

Enrolled an Android Device to IoTS.
Go to the 'Device Management' UI and removed the enrolled android device.
Check WSO2 Agent on the enrolled device.

Results

Still WSO2 Agent app shows the 'Unregister' button on the agent
Once click on the 'unregister' button it loads the popup message 'Unregistering Device' and keeps loading for a several minutes and disappear leaving the same activity (UI) on the screen.

Expected Behaviour

WSO2 agent should display the UI with 'Register' button

Observed the same in 3.1.0 M7 pack. Also, the below log keeps getting printed.
[2017-05-16 14:38:47,668] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier 'd9a562eafd6164c'
[2017-05-16 14:38:53,147] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier '359775055443349'
[2017-05-16 14:39:47,614] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier 'd9a562eafd6164c'
[2017-05-16 14:39:53,184] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier '359775055443349'
[2017-05-16 14:40:44,262] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier '359775055443349'
[2017-05-16 14:40:48,207] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier 'd9a562eafd6164c'
[2017-05-16 14:41:20,888] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier '359775055443349'
[2017-05-16 14:41:47,205] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier 'd9a562eafd6164c'
[2017-05-16 14:41:56,976] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier '359775055443349'
[2017-05-16 14:42:47,696] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier 'd9a562eafd6164c'
[2017-05-16 14:42:57,155] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier '359775055443349'
[2017-05-16 14:44:04,842] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier 'd9a562eafd6164c'
[2017-05-16 14:44:31,342] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier '359775055443349'
[2017-05-16 14:44:57,030] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier '359775055443349'
[2017-05-16 14:45:24,760] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier 'd9a562eafd6164c'
[2017-05-16 14:45:59,609] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier '359775055443349'
[2017-05-16 14:46:04,469] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier 'd9a562eafd6164c'
[2017-05-16 14:46:57,156] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier '359775055443349'
[2017-05-16 14:47:06,924] [IoT-Core] ERROR - {org.wso2.carbon.mdm.services.android.services.impl.DeviceManagementServiceImpl} Device not found for identifier 'd9a562eafd6164c'

I think the best way to solve this issue is by updating the agent to do a check if the device has been removed from the server side and update the agent status accordingly.
P.S: Sending a push notification to the device might not work if in case the device is offline at the removal time.

Fixed with https://github.com/wso2/carbon-device-mgt/pull/781/commits/58b2bf8b3c33e1d74a332650fc56f7da3c3a80e5


Add definition parser factory

Purpose
Add definition parser factory

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.krish seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


uniq is too easy to trick

Only checks the exit status of the run. Could easily add output checking into test harness (by generating expected outputs using a prepare script). A fixed version of the original program is required to produce the expected output for the negative test case.

Checking the output of the positive test cases seems to reject all of the false, plausible patches


BUG Link Datenschutz (Telegram Onboarding)

Wrong Links: Allgemeine Geschäftsbedingungen should be https://tactile.news/100eyes-agb/
Datenschutz should be: https://tactile.news/100eyes-datenschutz/

@drjakob Are you sure the links above are correct this time? Both documents seem to be aimed at newsrooms, not contributors. Also, just to clarify, we’d need to update links for all channels, not only Telegram.

I‘ll check tomorrow.
--
Dr. Jakob J. E. Vicari
Freelance Creative Technologist
@.***
+49 (0)4131 799 85 61
Reporterpreis 2019, Kategorie Multimedia
Ernst-Schneider-Preis 2018, Innovation
*** NEU: Das Buch ***
Journalismus der Dinge. Strategien für den Journalismus 4.0
Herbert von Halem Verlag. Jetzt bestellen: www.halem-verlag.de/journalismus-der-dinge

Am 16.05.2021 um 23:13 schrieb Till Prochaska @.***>:

@drjakob Are you sure the links above are correct this time? Both documents seem to be aimed at newsrooms, not contributors. Also, just to clarify, we’d need to update links for all channels, not only Telegram.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Makefile: Add microk8s make target

This will build and push a new image tag based on the code that is
currently checked out, ready for you to update your cilium image in your
microk8s setup:
$ make microk8s
There's no official documentation for setting up microk8s to work with
Cilium just yet, but here's the preliminary notes:
https://gist.github.com/joestringer/60a5f53d59e57274ed4c2a1736a7b101
(I plan on streamlining this, tidying this up, and submitting proper docs at some point but for now I was just working through the issues with it.)

This change is

Not running CI as I'm currently the only user of this make target.

Coverage increased (+0.008%) to 43.233% when pulling dfbbdbd6a754db50ac1cf1974071c48028c151e7 on joestringer:submit/make-microk8s into a59a7c48da527724bfb1f1169b166b046ba89fba on cilium:master.


describes new OIT certificate approval email

With the new system, we reliable receive an email with links to approved certificates for SSL. We don't have to copy and paste any more (hurrah!).
This change updates the documentation to describe which links to use when creating certificates for our load balancer.

Superseded by #200. We have an entirely new system for creating certs now.


Argocd Image Updater complains "Image seems not to be live in this application, skipping"

kubectl logs pods/argocd-image-updater-5dd76865f6-pgg7s -n argocd
time="2023-05-08T20:44:30Z" level=info msg="Starting image update cycle, considering 1 annotated application(s) for update"
time="2023-05-08T20:44:30Z" level=debug msg="Processing application nginx-image-updater-app"
time="2023-05-08T20:44:30Z" level=debug msg="Image 'yeskay16/nginx' seems not to be live in this application, skipping" application=nginx-image-updater-app
time="2023-05-08T20:44:30Z" level=info msg="Processing results: applications=1 images_considered=0 images_skipped=1 images_updated=0 errors=0"
But this application "ginx-image-updater-app" has nginx deployed using the image yeskay16.nginx:v0.1.0. Not sure what I am missing and why argocd complains this ?
Have added docker hub registry details to the argocd-image-updater-configmap:
registries.conf: |
registries:
- name: Docker Hub
ping: yes
api_url: https://registry-1.docker.io
prefix: docker.io
credentials: secret:argocd/dockcreds#.dockerconfigjson
defaultns: library
Could you please help me here. have been struggling for 2 days to get past this point.

Im currently trying to setup Argocd with dockerhub, and getting the same error. How did you manage to fix it?


UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 4895: character maps to

C:\Users\sterg\Documents\GitHub\sparks-baird\CrabNet\crabnet>code2flow model.py
Code2Flow: Found 1 files from sources argument.
Code2Flow: Implicitly detected language as 'py'.
Code2Flow: Processing 1 source file(s).
Code2Flow:   model.py
Traceback (most recent call last):
  File "C:\Users\sterg\AppData\Local\Programs\Python\Python39\Scripts\code2flow-script.py", line 33, in <module>
    sys.exit(load_entry_point('code2flow==2.2.0', 'console_scripts', 'code2flow')())
  File "c:\users\sterg\appdata\local\programs\python\python39\lib\site-packages\code2flow\engine.py", line 625, in main
    code2flow(
  File "c:\users\sterg\appdata\local\programs\python\python39\lib\site-packages\code2flow\engine.py", line 531, in code2flow
    file_groups, all_nodes, edges = map_it(sources, language, no_trimming,
  File "c:\users\sterg\appdata\local\programs\python\python39\lib\site-packages\code2flow\engine.py", line 317, in map_it
    raise ex
  File "c:\users\sterg\appdata\local\programs\python\python39\lib\site-packages\code2flow\engine.py", line 312, in map_it
    file_ast_trees.append((source, language.get_tree(source, lang_params)))
  File "c:\users\sterg\appdata\local\programs\python\python39\lib\site-packages\code2flow\python.py", line 155, in get_tree
    tree = ast.parse(f.read())
  File "c:\users\sterg\appdata\local\programs\python\python39\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 4895: character maps to <undefined>

Interesting. Code2flow handles Python files encoded in standard unicode ok so my guess (not sure) is that your file has a non-standard encoding.
Do you have any more details or, better yet, could you share the file?

CrabNet model.py
My guess is probably the emoji 😅
E.g. ♻🗑

I downloaded your file and it actually processes for me. Based on the traceback, it looks like on your machine, the file might be encoded in Windows-1252. Code2flow processes basic Unicode files and doesn't currently have any special mechanisms to deal with other encodings.
I'm not familiar with Windows so don't immediately know how to address this. A simple temporary workaround might be if you can manually convert the file(s) to Unicode but I don't know how you would do this in Windows.
I'm swamped on all sorts of things right now so probably won't be able to investigate further for a week or two.

Thank you! That's perfect. Didn't consider that it might be a Windows-specific issue.

Could you spare me two favors? It would be very helpful to help me figure out what's wrong here:

Run this and let me know what comes out python3 -c "import locale; print(locale.getpreferredencoding())". This command is to determine how files are read by default with your Python.
Install this https://pypi.org/project/charset-normalizer/ pip3 install charset-normalizer and run normalizer path\to\crabnetmodel.py. This command should output a small JSON blurb which will let me know that specific file's encoding

How files are read by default in Python
python3 -c "import locale; print(locale.getpreferredencoding())"python3 -c "import locale; print(locale.getpreferredencoding())"

cp1252

Normalizer Outputs
model.py
normalizer .\CrabNet\crabnet\model.py

{
    "path": "C:\\Users\\sterg\\Documents\\GitHub\\sparks-baird\\ElM2D\\CrabNet\\crabnet\\model.py",
    "encoding": "utf_8",
    "encoding_aliases": [
        "u8",
        "utf",
        "utf8",
        "utf8_ucs2",
        "utf8_ucs4",
        "cp65001"
    ],
    "alternative_encodings": [],
    "language": "English",
    "alphabets": [
        "Basic Latin",
        "Control character",
        "Emoticons range(Emoji)",
        "Miscellaneous Symbols",
        "Miscellaneous Symbols and Pictographs",
        "Transport and Map Symbols",
        "Variation Selectors"
    ],
    "has_sig_or_bom": false,
    "chaos": 0.0,
    "coherence": 100.0,
    "unicode_path": null,
    "is_preferred": true
}

kingcrab.py
Note that code2flow crabnet/kingcrab.py produces out.png:

normalizer .\CrabNet\crabnet\kingcrab.py

{
    "path": "C:\\Users\\sterg\\Documents\\GitHub\\sparks-baird\\ElM2D\\CrabNet\\crabnet\\kingcrab.py",
    "encoding": "ascii",
    "encoding_aliases": [
        "646",
        "ansi_x3.4_1968",
        "ansi_x3_4_1968",
        "ansi_x3.4_1986",
        "cp367",
        "csascii",
        "ibm367",
        "iso646_us",
        "iso_646.irv_1991",
        "iso_ir_6",
        "us",
        "us_ascii"
    ],
    "alternative_encodings": [],
    "language": "English",
    "alphabets": [
        "Basic Latin",
        "Control character"
    ],
    "has_sig_or_bom": false,
    "chaos": 0.0,
    "coherence": 100.0,
    "unicode_path": null,
    "is_preferred": true
}

train_crabnet.py
And finally, one more file from the same repository (train_crabnet.py):
normalizer .\CrabNet\train_crabnet.py

{
    "path": "C:\\Users\\sterg\\Documents\\GitHub\\sparks-baird\\ElM2D\\CrabNet\\train_crabnet.py",
    "encoding": "utf_8",
    "encoding_aliases": [
        "u8",
        "utf",
        "utf8",
        "utf8_ucs2",
        "utf8_ucs4",
        "cp65001"
    ],
    "alternative_encodings": [],
    "language": "Unknown",
    "alphabets": [
        "Basic Latin",
        "Control character"
    ],
    "has_sig_or_bom": false,
    "chaos": 10.0,
    "coherence": 0.0,
    "unicode_path": null,
    "is_preferred": true
}

DiffChecker
(https://www.diffchecker.com/)
kingcrab.py vs. train_crabnet.py

train_crabnet.py vs. model.py

Looks like it was the emoji. After getting rid of it:
code2flow crabnet/model.py

@sgbaird I think I have a fix. Could you pull it down and verify? https://github.com/scottrogowski/code2flow/pull/31


Can't seem to make this work

If I understand correctly -

Installation is to copy the unzipped dir into community
The audible minimums are included
This should work fine with any other mod (ie. liveries) which don't contain panel.xml for the TBM

Despite this - I set a minimum for (say) 100' and specify RA to avoid baro offsets but I never hear any audible altitude callouts when landing.
I am on a Steam install with a bespoke install dir (d:\msfs) instead of the default MS one. There is also a MS default hierarchy on C;\user\appdata.... but I put all my other (working) mods into the d:\msfs\community and it's fine. I did try this one in the c:\ folder but nada.
I'm pretty certain the mod is loaded because I don't think I get the SEP alert in CAS when switched on. All my volumes other than music are 100% and on some planes I get the 500' callout but never the TBM.
Any thoughts on what I can try?
Any way to put an "eyecatch" in the mod so that I can confirm at a glance that the mod itself is loaded? Like a piece of text on the panel?
Many thanks
Mike (@b3lt3r on forum/discord)

For me the "minimum warning" is very quiet. So take a "closer look". (:

ok. Solved... My go-to livery for the TBM includes a panel for some reason. Tried deleting that but ended up with blank Garmins :-) so I've asked the livery author if it's required or not.
It now works fine with default plane and my other livery, and yes, the alert for minimums is quiet but happens.
Thanks!

good to hear.
if all is fixed please close the issue. (:

Can you advise what livery this was occurring on before closing the issue?

On Oct 7, 2020, at 3:05 PM, mikebakke<EMAIL_ADDRESS>wrote:

ok. Solved... My go-to livery for the TBM includes a panel for some reason. Tried deleting that but ended up with blank Garmins :-) so I've asked the livery author if it's required or not.
It now works fine with default plane and my other livery, and yes, the alert for minimums is quiet but happens.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

The livery which appears to clash is the carbon-gold TBM - from here: https://flightsim.to/file/555/tbm-930-carbon-gold-4k-2k
Rgds


problem with import React

Hi,
I Have problem with command npx create-react-app.
After initialize project, Eslint report problem " error  'React' must be in scope when using JSX  react/react-in-jsx-scope" for App.js for All line.
I don't see in App.js "import React from 'react'" after create project.

@radek-zaborski - I do not see this error when I create npx create-react-app my-project. About not having import React from 'react' in App.js, this is intentional with React 17, and the next big change React did with addition of react/jsx-runtime and react/jsx-dev-runtime for the new JSX transform through this PR.
Perhaps you're using a custom CRA template or your own ESLint rule?

ok, sorry i don't read info :/. Its all ok :)


use runhaskell instead

bash> nix-shell -A env release.nix
nix-shell> runhaskell Setup.hs configure
nix-shell> runhaskell Setup.hs build

you need a minimal Setup.hs for this,
-- Setup.hs
import Distribution.Simple
main = defaultMain

This resolves the original problem. I have updated the readme with the new problem description.


extra q threads

I have a few python scripts interacting with q on a CentOS 7.7.1908 server with PyQ 4.2.1 on python 2.7.5. I noticed that running "pyq" spins up as many threads with name "q" as I have cpus on the server. None of the threads appear to be doing anything. I can also get the same behavior by running q and then doing "p)1+1". Upon pressing enter the threads appear.
I tried replicating this on an AWS instance with the same CentOS version, but it behaves as expected there.
Any suggestions?
Thank you,

Perhaps it's configuration issue with your system. Unfortunately, we are unable to replicate  issue without any additional information, therefore labeling this as invalid. Feel free to add useful troubleshooting information so we could replicate it and re-open.


added missing dependency lodash

correct me if I am wrong. I think you might missing the lodash in your package.json

Thanks, merged.


ROI Calculator

We are looking at creating a calculator page similar to how ContentStack does theirs (see link below). Can you do a bit of research into this and let us know how much effort you think this will be? If you can find out how they built it and then how long you think it might take to build something similar, we can then provide content.
https://www.contentstack.com/roi-calculator/

@Katiemoser
how about the data is the computation done on client or server?

Time Saved
Total Revenue Gained = revenueGainedLaunchDevelopment + revenueGainedOngoingContent
Total Savings = moneySavedLaunchDevelopment +
moneySavedOngoingDevelopment +
moneySavedOngoingContent +
moneySavedMultichannelContent +
moneySavedInfrastructure
ROI Business Plan = totalRevenueGained + totalSavings) / 42000  ratio is always to 1
time Saved
Launch Development = 20% fix
Ongoing Development =  0.25 * 176 * engineerCount
Ongoing Content =              0.425 * 176 * contentEditorCount
Multichannel Content = totalDigitalProperties > 0 ? 40 : 0
Infrastructure
money  Saved
Launch Development =  (engineerCount * 200000 +contentEditorCount * 160000) *
0.2 *
0.5 *
0.5,
)
Ongoing Development = [0.25 * 176 * engineerCount  * 200000 * 12] / 2080
Ongoing Content =      [0.425 * 176 * contentEditorCount  * 160000 * 12] / 2080
Multichannel Content =         0.4 *
moneySavedOngoingContent *
(totalDigitalProperties - 1) *
(newRangeValue / 100),
Infrastructure =  annualSpending * 0.7,
Revenue Gained
Launch Development =    [evenueMultiplier * 0.5 * 0.2] *annualRevenue,
Ongoing Content =    annualRevenue *
(evenueMultiplier +
unpublishedContent / 100),
Resources
Launch Development = 0.2 * engineerCount
Ongoing Development = 0.25 * engineerCount
Ongoing Content = contentEditorCount * 0.425
Multichannel Content =     engineerCount *(timeSavedMultichannelContent / 100)

@chloespilotro

@Katiemoser ~2 - 3 days if data and design is ok