Beginner looking for help

Hello guys, and greetings from France.
I know his post looks garbage compared to what's usual here, and I apologize for that, but I was not able to find the answers to my questions.
I am totally new to the ATC world, but I love the game. I am able to take aircrafts airborne and to the ground (mostly) safely, but I have trouble with SIDs and STARs.
SIDs first. I usually taxi the plane and caf them. Playing in KJFK, when they don't have an SID filed, I wish I could give them an accurate SID instead of just telling them to follow JFK3, which is all over the place... is there a way o do that?
Now, the big problem... STARs. I just don't know how to use it. I just use the rr command with a long pattern of fixes. Could anyone just give me an example of how to type the command for JFK, and tell me how can how know the STARs for a given airport? Or perhaps this STAR thing is only for already educated people, and I should keep workin the rr command?
Thanks for the help, and excuse my english.

Hello!
It's nice to see someone requesting clarification on here, so don't worry! The tutorial is somewhat 'outdated' so I'll try to answer some of your questions.
First of all, the wiki might help you (https://github.com/zlsa/atc/wiki), if you require any clarification on the commands. It's regularly updated and is (in my opinion) much more helpful than the tutorial in game.
SIDs
SIDs have 2 parts to them. There is the initial departure, which takes an aircraft to a specific point. After that, there is a transition, which basically leads them up to another branch or waypoint where they start their actual route towards their destination.
Think of it like a tree. The log is the initial departure, and the branches are the transitions. The apples then grow on the branches, which is their actual route to success.
Unfortunately, the JFK3 departure has a load of these transitions. Specifying their transition is a pain, but it is possible if you wish! The command for this is 'route',  'rr/reroute' or SID. The route and reroute commands have a parameter that is split into 3 sections with dots in between. An example for JFK would be: 'KJFK.JFK3.WHITE'.
The SID command is for departures that do not have a transition, like the SONIN departure in ESPA.
The 3 sections for the reroute/route command go as follows: airport.sid.transition.
Using route will add on what you have told the aircraft to do on the end of what they are currently doing, whereas reroute will clear all that and make the aircraft do what you have requested for it to do, immediately.  You can always check what they are going to do by using the command 'sr'.
STARs
JFK doesn't have any STARs that can be executed by the player in game, so apologies for that.
But, for many of the recent airports, STARs do exist.
Effectively, the player does not need to do anything about STARs. Aircraft will follow the STAR and descend on the STAR if it has altitude restrictions. You do not need to do anything about a STAR if it is already implemented in the airport, as STARs should start outside your airspace. You cannot issue STARs to aircraft outside your airspace, so they will enter your airspace whilst following a STAR.
If a STAR does fall inside your airspace, then you can attempt to assign that STAR to an aircraft using the 'STAR' command. The format is like the route and reroute commands, but reversed. This time, they are in this order: transition.star.airport.
STARs are not currently drawn on the screen. The only way to actually know what STARs there are in an airport is to check them in the individual coding of the airport on here. I'll take Changi for example.
Scroll down to the 'stars' section. Every STAR is listed on here. The name of the STAR is given in the 'name' section.
For KJFK, what I suggest you do is use the command 'sr' to see where the aircraft are going. In the case of KJFK, the arrivals are coded in a fashion that they will follow a number of fixes. If you look at where they are going, you can give reroute commands as required, and descend them when applicable. Not all airports are like this, as most airports use STARs instead.
I hope I've answered a few of your questions. If you've got any more questions, feel free to ask!

In some European airports, stars and transitions might exist! Generally a plane is cleared a STAR and you will have to re-clear it again onto it's transition or "second STAR". If you check out LOWW/Vienna, you will find planes arrive into BALAD, NERDU, MABOD, PESAT. These mark the clearance limit + local ATC has to clear a plane (theoretically out of the hold but this is not implemented yet) and assign it a transition to the runway (vectoring is possible too but that depends on the amount of traffic).
I highly recommend you looking at Fr24 and the routes planes take to land and check out airport files. VATSIM provides quite a few of them!

Correct, the 'second STAR' is known as the IAP, instrument approach procedure, which takes the aircraft onto the ILS or glidepath. This is being addressed in #653.

Whaouh, thanks for the replies. Unfortunately, I am not there yet.
Let's do it from scrap. I am on JFK. A plane is "apron" for "JFK3". There a a lot of exit points for JFK3, how can I now which one he wants to go?
Let's assume I would like this plane to go to "JFK3.WHITE", to stay with the one you mentioned, what's the command I need to type? I found out I can assign him to DEEZZ4, to JFK3 or to SKORR3 by typing "sid deezz4 / jfk3 / skorr3" but I wish I could assign a direct route.
I think I got it for STARs. Basically, when a plane enters my airspace, it already has a STAR, and most of times I don't have to care about that, I just need to route or rr them to the ground safely, correct? But then... isn't the STAR command useless? And if I play an airport that have STARs I can control, the only way to find them out is to open the code file.
Thanks for the help. Basically, I just wanted to know how to do it reallistically. I assumed the best way for planes taking off was "sid xxx" and then "cvs", so I wanted to use the "dvs" command for planes to land, but now my undesrtanding is that the good way to to it is with "route" or "rr".
Am I right? Merci beaucoup!

Planes will file a SID, you have to clear them on this SID with caf command (feared as filed). After that you would use the CVS. This is not something you should worry to much about. It'll go where it's supposed to!
The STARS are, what you should be "worried" about! You think about routing them and where the STAR is heading! In some US airports a star might go to the opposite end of your airport, not where you would need it and in some European airports you have to assign new ones.

Can I create an SID/STAR by command? Like in KSFO something like "faith..divec..ponke..wetor..rokme..heman..nepic" to an SID? Would be helpful :p

Fromt he wiki:"  sid
Information - This command tells the specified plane a standard instrument departure route (SID) it should follow. Each SID is a list of fixes to be flown in sequence. Having a standardized route often helps organize departing traffic, and maintain separation from arriving aircraft.
Syntax - AAL123 sid [SID name]"

@indianbhaji actually the IAP is the ILS, so this would be the third STAR! The transitions (when existing) would be nr. 2.

OK, so let's say I would like to create a standard path to 28L on KSFO following route "faith..divec..ponke..wetor..rokme..heman..nepic", can I create it as a personalized STAR route?

that would only work with the rr command but why would you do that? clear them to land and they will automatically land! No need to route them on/along the localiser!

Before clearing them to land, shouldn't I route them to the runways?

OK: this is the transition chart for LOWW http://charts.vacc-austria.org/LOWW/LOWW_Arrival_RNAV Transition 34_26052016.pdf
Let's say, I cleared a plane from the BALAD holding for the BALAD3N transition (aka STAR in game) and told it to descent via the SID. As there is no traffic, I told it to direct to WW972 and clear it to land on runway 34. The direct command gave it a heading that crosses the localiser and the cleared to land command told it, that it should catch the localiser and land as soon as close to the lcoaliser.
Alternatively, I could have given the plane a command like fly heading 070 and when within short range of the localiser tell the plane to fly a heading that is exactly in-between 10-30 ° +- of the localiser. So in this case anything between 350-010. If the plane would arrive via any of the transitions and I would vector it, the final heading would be 310-330.

Let's do it from scrap. I am on JFK. A plane is "apron" for "JFK3". There a a lot of exit points for JFK3, how can I now which one he wants to go?
Let's assume I would like this plane to go to "JFK3.WHITE"

You don't know which exit point it wants to go. Either you 'caf' it, or you make your mind up as to which exit point you want it to go to.
To get it to go to JFK3.WHITE, the command would be  rr KJFK.JFK3.WHITE

Before clearing them to land, shouldn't I route them to the runways?

On European airports, you should vector it with headings to the runway. Routing them to the runway is another option, but is only typically done in American airports.

only typically done in American airports.

I'm sorry @indianbhaji but thats actually absolutely not the case! Europe has transitions that are routes that are far more advanced, than American STARS+vectoring onto final. I can control an european airport without vectoring at all!

I think I got it for STARs. Basically, when a plane enters my airspace, it already has a STAR, and most of times I don't have to care about that, I just need to route or rr them to the ground safely, correct? But then... isn't the STAR command useless? And if I play an airport that have STARs I can control, the only way to find them out is to open the code file.

The STAR command is helpful, as the current situation is that the game is based off America. As such, the definition of a 'transition' defers from country to country. Essentially, the STAR command is useless at the current moment, as you have pointed out, as you'd have to check the code to know about what the different STARs are.

Thanks for the help. Basically, I just wanted to know how to do it reallistically. I assumed the best way for planes taking off was "sid xxx" and then "cvs", so I wanted to use the "dvs" command for planes to land, but now my undesrtanding is that the good way to to it is with "route" or "rr".

'caf', 'cvs' then 'to' is the way to do it the easy way, if you don't mind where the aircraft goes. But, if you are concerned about where it goes, 'route' or 'rr' it is the way for you! It's up to you whether you use 'dvs' or not, but the aircraft will descend itself if it has a STAR already.

Let's say, I cleared a plane from the BALAD holding for the BALAD3N transition (aka STAR in game) and told it to descent via the SID. As there is no traffic, I told it to direct to WW972 and clear it to land on runway 34. The direct command gave it a heading that crosses the localiser and the cleared to land command told it, that it should catch the localiser and land as soon as close to the lcoaliser.

OK, but how would that translate in the game, command wise?

@indianbhaji I think that vectoring is very situational! It depends on traffic, weather, runways in use and what ATC prefers! I have to admit to not have listened to any of the countries' atc but speaking for LOWW, vectoring is only used when there is only few traffic and to get planes faster onto the localiser when flying on the transitions parallel to the localiser.

@Vikchill balad.balad3n.loww dct ww972 dvs c 34
or h 070 c 50 after a while h 000 l 34

The ATC repository is being migrated to it's new home at https://github.com/openscope/openscope,
and thus, all issues are being closed. If this is still an issue with the latest version of the sim
(accessible at http://www.openscope.co), or is a feature you still think we are lacking,
please reopen the issue at the new repo.
Please note that the vast majority of these issues have been copied to the new repository, or else are covered by other issues created there. See the below screenshot for what it looks like when your issue is known in the new repo:

Thank you!
Closing this issue.


feat(kubernetes) add kubernetes official docs support

Description
This extension allows searching in the Kubernetes official documentation through the raycast.
Screencast
Extention Screenshot

Search List

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast

Hi @rpvsilva 👋
Thanks for the update, much better 🔥

Thank you for your review and your suggestions! I think the extension is more complete now


Adding more CloudLaunch CLI documentation

CloudLaunch CLI obtained from following QuickStart/README.md
Python 3.8.5
macOS Catalina 10.15.7

Description
I get errors using cloudlaunch deployments create and can't find docs to help me out (see below).
Background
I love the ease and utility of using CloudLaunch through the web interface and would like to learn more about using the CLI. The quick start guide worked as advertised and I can list my deployments with
cloudlaunch deployments list

and I see there is a create option but I don't see any documentation for that beyond what I can get with the --help flag.
cloudlaunch deployments create [OPTIONS] NAME APPLICATION CLOUD

Trying the cmd from the quickstart page and the README.md here yields an error for me (see below). I guess I am missing some "required parameters" like id and I have tried a few variants but would benefit from some documentation and/or guidance. Thanks!
> cloudlaunch deployments create my-ubuntu-test ubuntu amazon-us-east-n-virginia --application-version 16.04
Traceback (most recent call last):
  File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/bin/cloudlaunch", line 8, in <module>
    sys.exit(client())
  File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/cloudlaunch_cli/main.py", line 103, in create_deployment
    cloudlaunch_client = create_api_client(cloud)
  File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/cloudlaunch_cli/main.py", line 20, in create_api_client
    cloud_resource = cloudlaunch_client.infrastructure.clouds.get(cloud)
  File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/cloudlaunch_cli/api/endpoints.py", line 96, in get
    item = self._client.action(document, self.path + ['read'],
  File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/coreapi/client.py", line 160, in action
    _validate_parameters(link, params)
  File "/Users/barry/tmpwork/gvl-cmdlaunch/venv/lib/python3.8/site-packages/coreapi/client.py", line 80, in _validate_parameters
    raise exceptions.ParameterError(errors)
coreapi.exceptions.ParameterError: {'id': 'This parameter is required.', 'slug': 'Unknown parameter.'}

At present, the documentation is virtually non-existent. Possibly the best point of reference are the tests:
https://github.com/CloudVE/cloudlaunch-cli/blob/7641361c93610b29ae8aea180ebe48b64a5a7dac/tests/test_cloudlaunch_cli.py#L56
We've been intending to switch the cli from coreapi to openapi, and have the cli auto-generated, so that the documentation and examples also become clearer, but due to time pressure, that has gone into the backburner. PRs and doc updates would be most welcome.


Crash When Looking At Portal

Crash to desktop when looking at portal with HWYLA installed.
Mod version: alpha_a_02
Forge version: 1.12-<IP_ADDRESS>3
Crash report: pastebin/aDRLe9qS

Was going to report the same :) Hope this can be fixed quick :P

Updated, but not tested.
Please, write if the error is not fixed.

Yea sorry forgot to write its fixed.


Fixed popover show/hide calls to get rid of blinks

Found that #403 issue caused by not correct chains of calls for popover show and hide.
Fixed it to get rid of blinks.
https://youtu.be/aGWUrJaYQR0

Awesome, cheers mate!


Increase round_timeout_seconds for the APY e2e tests

Proposed changes
Increased the round_timeout_seconds, because the optimization occasionally times out.
Fixes
n/a
Types of changes
What types of changes does your code introduce? (A breaking change is a fix or feature that would cause existing functionality and APIs to not work as expected.)
Put an x in the box that applies

[ ] Non-breaking fix (non-breaking change which fixes an issue)
[ ] Breaking fix (breaking change which fixes an issue)
[ ] Non-breaking feature (non-breaking change which adds functionality)
[ ] Breaking feature (breaking change which adds functionality)
[ ] Refactor (non-breaking change which changes implementation)
[ ] Messy (mixture of the above - requires explanation!)

Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING doc
[x] I am making a pull request against the main branch (left side). Also you should start your branch off our main.
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have locally run services that could be impacted and they do not present failures derived from my changes

Further comments
n/a

TestTendermintResetInterrupt e2e test failed (not related to this PR). What happened is:

Reset and pause round timed out, however, all the agents had reset their node and therefore, the reset_index and the round_count had been increased.
The test interrupted the last agent before the reset and pause timed out. Its round_count and reset_index will now start from 0 again. The reset_index will be updated by its node's app hash when it manages to sync with it and the round_count will be automatically updated via the rounds' replay.
:warning: However, the app_hash of the last agent's node starts again from the initial state, i.e., it was 726F6F743A3172657365743A31 before killing the agent, and 726F6F743A3072657365743A30 when it was restarted.
:red_circle: When the last agent restarted, a consensus failure was caused at its node, because the other agents sent a block with an app_hash which was generated with a round_count != 0 and a reset_index != 0.

Tendermint's crash recovery section seems relevant and might give some insight to solve this edge case.

LGTM. Is the failing registration test marked as flaky or do we have plans for it?

It is the TestTendermintResetInterrupt test that fails. I have opened an issue for that: https://github.com/valory-xyz/open-autonomy/pull/1122#issuecomment-1197976368


Update sns, sso, ssooidc to 2.25.28

About this PR
📦 Updates

software.amazon.awssdk:sns
software.amazon.awssdk:sso
software.amazon.awssdk:ssooidc

from 2.25.0 to 2.25.28
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "software.amazon.awssdk" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #45.


Support for tracking commits pushed directly to branch

Problem
In certain cases, contributions are made to a project by pushing a commit to a branch. Leaderboard currently does not track such activities performed by the contributor.

Action Items

[ ] Update scraper to track commits pushed to a branch by a contributor. Tag those activities if it was made to the default branch or not.
[ ] Update the contributor page to reflect the new information being captured.

I want to work on this issue.

@rithviknishad  Please review the logic and the method used to fetch the default branch name in the provided code snippet.

Do events show PushEvents of fork branches?
If not, I don't think this will be a great value addition since most of the contributions are from fork branches.

Okay, So I need to track also a commits from contributors forked repositories and also show them in profile page, right ?

Yeah, but is it possible?

Yup, It's possible
Here are the steps

Fetch your main repository: First,  fetch information about the main repository.
Fetch the forks of the main repository
Iterate through forks: For each fork, you'll fetch the commits made by the contributors in their forked repositories.

We can create these two functions or one by merging these two and call this from  scrapper function.

@rithviknishad Even if we utilize the GraphQL API, we still encounter the same issue. We'd need to initially retrieve all repositories and their associated forks before we can access their commits. While pagination can help mitigate rate limit problems, it may not be applicable in this scenario since we're scraping data.

Yeah that'd be nice. That'd also bring ability to blend viewing of scrapped data with data from other sources


Anyone tested on recent firmware versions?

The docs say it runs on firmware 235; latest is 243. If anyone is running it on later firmware versions it would be great to update the docs.

It works

I run it on 243 with all FXs and Synths

Can also confirm it's working fine.

Just a heads up someone over at the forums confirmed it to also work on firmware 245. I haven't tested yet but will at some point.
https://op-forums.com/t/op-1-fw-245/22968/7


Background color change space issue

When you want to change the background color to a two word color like "light green" it will not register it if there is a space between the two words. It will only work if you type "lightgreen"

When you use a two word color in the line color change section it will change the line color in the graph, however the shape name next to the input box will stay they previous color.


Remove/Add with Reuse="Frame" on Each doesn't update the items

I don't recall seeing this on 1.2, so it's possibly an issue with the new linked list children. The problem doesn't appear to be in Each itself, I've track that already.

I'm having a hard time creating a unit test for this, even though the visual recreation is rather simple.


etcd keeps getting started in place of etcd2

I have one etcd2 cluster node that keeps starting etcd instead of etcd2 on reboot.
This causes all sorts of instability to the cluster such as units randomly failing and attempting to restart on a continual basis until they finally do.  The cycle repeats to other units scheduled in the cluster.
My cloud config in /usr/share/oem/cloud-config.yml is told to start etcd2 not etcd.  I've confirmed this many times.   However, before etc2 even gets a chance to start, etcd is already running.
There is nothing starting it in /etc/systemd/system either.
It also maybe highlighting a bug.  An etcd server is transitioning to master when joining an etcd2 cluster that it's meant to know nothing about.  It even has a different key.  Or should do.
I suspect this is some sort of hangover from transitioning to etcd2.  But I fail to see why it's being started at all.
systemctl status etcd shows:
● etcd.service - etcd
   Loaded: loaded (/usr/lib64/systemd/system/etcd.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2015-08-03 03:51:01 UTC; 16min ago
 Main PID: 974 (code=exited, status=2)

Aug 03 03:51:01 service4-1 etcd[974]: [etcd] Aug  3 03:51:01.910 INFO      | 9347e5d333af492caf1fb4835af1f6ee starting in peer mode
Aug 03 03:51:01 service4-1 etcd[974]: [etcd] Aug  3 03:51:01.910 INFO      | 9347e5d333af492caf1fb4835af1f6ee: state changed from 'initialized' to 'follower'.
Aug 03 03:51:01 service4-1 etcd[974]: [etcd] Aug  3 03:51:01.910 INFO      | 9347e5d333af492caf1fb4835af1f6ee: state changed from 'follower' to 'leader'.
Aug 03 03:51:01 service4-1 etcd[974]: [etcd] Aug  3 03:51:01.910 INFO      | 9347e5d333af492caf1fb4835af1f6ee: leader changed from '' to '9347e5d333af492caf1fb4835af1f6ee'.
Aug 03 03:51:01 service4-1 systemd[1]: Stopping etcd...
Aug 03 03:51:01 service4-1 systemd[1]: etcd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Aug 03 03:51:01 service4-1 systemd[1]: Stopped etcd.
Aug 03 03:51:01 service4-1 systemd[1]: etcd.service: Unit entered failed state.
Aug 03 03:51:01 service4-1 systemd[1]: etcd.service: Failed with result 'exit-code'.
Aug 03 03:51:33 service4-1 systemd[1]: Stopped etcd.

No other nodes are doing this.  How can I diagnose what could be starting etcd?

@hookenz You can try masking etcd with this in your cloud-config:
  - name: etcd.service
    mask: true

@camstrong - Good suggestion, I'll try that.

@camstrong - That helped, at least now etcd2 starts.  It just means I have a failed unit.  The result:
● etcd.service
   Loaded: masked (/dev/null)
   Active: failed (Result: exit-code) since Mon 2015-08-03 04:36:15 UTC; 2min 30s ago
 Main PID: 974 (code=exited, status=2)

/cc @marineam @crawford

FWIW, we saw this too. The suspicion was that there was some systemd dependency that explicitly listed etcd - maybe fleet? We worked around it by masking etcd as I showed you here, and not caring that the service failed.

@carmstrong - would still like to get to the bottom of it.  I wondered if it was fleet but a grep showed up nothing.  I even checked etcd keys.  I used to run a unit called etcd in place of the default i.e. /etc/systemd/system/etcd.service.  It was a the containerised version of fleet.  But this has been removed, and the install link as well.  So I'm baffled by it.

would still like to get to the bottom of it.

Oh, me too! I was just giving it a :+1: as confirmation that it wasn't isolated to you.

So I'm baffled by it.

Me too.

Can you try running systemctl list-dependencies etcd.service --reverse? This will show you everything that depends on etcd.service.

@crawford On 647.2.0 at least, fleet wants etcd:
core@deistest18-coreos-0 ~ $ systemctl list-dependencies etcd.service --reverse
etcd.service
● └─fleet.service
core@deistest18-coreos-0 ~ $ systemctl cat fleet.service
# /usr/lib64/systemd/system/fleet.service
[Unit]
Description=fleet daemon

Wants=etcd.service
After=etcd.service

Wants=fleet.socket
After=fleet.socket

[Service]
ExecStart=/usr/bin/fleetd
Restart=always
RestartSec=10s

# /run/systemd/system/fleet.service.d/20-cloudinit.conf
[Service]
Environment="FLEET_ETCD_REQUEST_TIMEOUT=3"
Environment="FLEET_PUBLIC_IP=<IP_ADDRESS>"

@carmstrong ah, in 653.0.0, we removed the dependency.

ah, in 653.0.0, we removed the dependency.

We're waiting on Docker 1.7.1 to land in stable because 1.6.x is fundamentally broken :(

core@service4-1 /usr/lib64/systemd/system $ systemctl list-dependencies etcd.service --reverse
etcd.service

@hookenz hmm, so something must be manually starting etcd. Can you check journalctl --boot --no-pager? That will show you roughly when it was started. Maybe it is a service started by coreos-cloudinit, or coreos-cloudinit itself.

It appears to be a dropin unit.  As at one time I was starting it from cloud-init.
-- Logs begin at Sat 2015-08-01 18:34:48 UTC. --
Aug 05 21:36:39 service4-1 bash[882]: 2015/08/05 21:36:39 Wrote drop-in unit "20-cloudinit.conf"
Aug 05 21:36:39 service4-1 bash[882]: 2015/08/05 21:36:39 Ensuring runtime unit file "fleet.service" is unmasked
Aug 05 21:36:39 service4-1 bash[882]: 2015/08/05 21:36:39 Ensuring runtime unit file "locksmithd.service" is unmasked
Aug 05 21:36:39 service4-1 bash[882]: 2015/08/05 21:36:39 Calling unit command "restart" on "docker.service"'
Aug 05 21:36:39 service4-1 bash[882]: 2015/08/05 21:36:39 Result of "restart" on "docker.service": done
Aug 05 21:36:39 service4-1 bash[882]: 2015/08/05 21:36:39 Calling unit command "start" on "etcd.service"'
Aug 05 21:36:39 service4-1 bash[882]: Failed to apply cloud-config: Unit etcd.service is masked.

It looks like your cloud-init is explicitly starting etcd.service.

That's what it looks like.  But can you see anywhere in my cloud-init where it's doing that?  here is my cloud-init.
#!/bin/sh
export NAME=service4-1

get_ipv4() {
    IFACE="${1}"
    PREFIX="${2}"
    local ip
    while [ -z "${ip}" ]; do
        ip=$(ip -4 -o addr show dev "${IFACE}" scope global |  grep "inet $PREFIX" | gawk 'NR==1 {split ($4, out, "/"); print out[1]}')
        sleep .1
    done

    echo "${ip}"
}

export COREOS_PRIVATE_IPV4=$(get_ipv4 ib0 "10.10.10")
export COREOS_PUBLIC_IPV4=$COREOS_PRIVATE_IPV4

workdir=$(mktemp --directory)
trap "rm --force --recursive ${workdir}" SIGINT SIGTERM EXIT

cat > "${workdir}/cloud-config.yml" <<EOF
#cloud-config

hostname: ${NAME}
ssh_authorized_keys:
  - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDlspbYZcWSUm5TYEawKdLpwVDKRo92AcrAiNcvl/5bNzMh+WTHbTgwDDeJGXfRpOtWKjcTHul+FtwyMbK1CLxhbq5RGGq1uYJA+sTIEMQ3/toD2mF8dkQszBDMPRj7RGY5HJ22yd8ozayFlFCGd/9je9KLj8m9YXzZfAoowzTGn0sYpD1/clOTxQQTyUtNlHnYYO8blJrkOncI0lU7XJ+Nhf5UQin1nXVRlsxG96WpmZuqewtqNqYXsx5HEM4hXqOFsslLC5vw5dNywRR9Io414s+N0HLfeffC7+BxEwYaP5rcgKtaGnnnU+EDBlcUKFoM/q19PWQ0TjMrGODcWC1r
write_files:
  - path: /root/.dockercfg
    owner: root
    permissions: 0644
    content: |
      {
          "registry.otoyserver.com": {
                "auth": "bm9kZTpwMlBVWk5BUA==",
                "email": ""
          }
      }
  - path: /etc/systemd/system/docker.service.d/increase-ulimit.conf
    owner: root
    permissions: 0600
    content: |
      [Service]
      LimitMEMLOCK=infinity
      LimitNProc=infinity
  - path: /etc/sysctl.d/10-disable-ipv6.conf
    permissions: 0644
    owner: root
    content: |
      net.ipv6.conf.ib0.disable_ipv6 = 1
coreos:
  etcd2:
    name: ${NAME}.cluster
    discovery-srv: cluster
    initial-cluster-token: cluster1
    initial-cluster-state: new
    initial-advertise-peer-urls: http://${COREOS_PRIVATE_IPV4}:2380
    advertise-client-urls: http://${COREOS_PRIVATE_IPV4}:2379,http://${COREOS_PRIVATE_IPV4}:4001
    listen-client-urls: http://<IP_ADDRESS>:2379,http://<IP_ADDRESS>:4001
    listen-peer-urls: http://<IP_ADDRESS>:2380
  fleet:
    public-ip: ${COREOS_PRIVATE_IPV4}
    metadata: role=services
  units:
    - name: etcd.service
      mask: true
    - name: etcd2.service
      command: start
    - name: fleet.service
      command: start
EOF

coreos-cloudinit --from-file="${workdir}/cloud-config.yml"

That's what it looks like.  But I can't see it starting from cloud-init.  Here is my /usr/share/oem/cloud-config.yml file:
That's what it looks like.  But can you see anywhere in my cloud-init where it's doing that?  here is my cloud-init.
#!/bin/sh
export NAME=service4-1

get_ipv4() {
    IFACE="${1}"
    PREFIX="${2}"
    local ip
    while [ -z "${ip}" ]; do
        ip=$(ip -4 -o addr show dev "${IFACE}" scope global |  grep "inet $PREFIX" | gawk 'NR==1 {split ($4, out, "/"); print out[1]}')
        sleep .1
    done

    echo "${ip}"
}

export COREOS_PRIVATE_IPV4=$(get_ipv4 ib0 "10.10.10")
export COREOS_PUBLIC_IPV4=$COREOS_PRIVATE_IPV4

workdir=$(mktemp --directory)
trap "rm --force --recursive ${workdir}" SIGINT SIGTERM EXIT

cat > "${workdir}/cloud-config.yml" <<EOF
#cloud-config

hostname: ${NAME}
ssh_authorized_keys:
  - ssh-rsa *** rsa-key here ***
write_files:
  - path: /root/.dockercfg
    owner: root
    permissions: 0644
    content: |
      {
          "registry.otoyserver.com": {
                "auth": "bm9kZTpwMlBVWk5BUA==",
                "email": ""
          }
      }
  - path: /etc/systemd/system/docker.service.d/increase-ulimit.conf
    owner: root
    permissions: 0600
    content: |
      [Service]
      LimitMEMLOCK=infinity
      LimitNProc=infinity
  - path: /etc/sysctl.d/10-disable-ipv6.conf
    permissions: 0644
    owner: root
    content: |
      net.ipv6.conf.ib0.disable_ipv6 = 1
coreos:
  etcd2:
    name: ${NAME}.cluster
    discovery-srv: cluster
    initial-cluster-token: cluster1
    initial-cluster-state: new
    initial-advertise-peer-urls: http://${COREOS_PRIVATE_IPV4}:2380
    advertise-client-urls: http://${COREOS_PRIVATE_IPV4}:2379,http://${COREOS_PRIVATE_IPV4}:4001
    listen-client-urls: http://<IP_ADDRESS>:2379,http://<IP_ADDRESS>:4001
    listen-peer-urls: http://<IP_ADDRESS>:2380
  fleet:
    public-ip: ${COREOS_PRIVATE_IPV4}
    metadata: role=services
  units:
    - name: etcd.service
      mask: true
    - name: etcd2.service
      command: start
    - name: fleet.service
      command: start
EOF

coreos-cloudinit --from-file="${workdir}/cloud-config.yml"

That looks fine. What provider are you using? Do you have any other cloud-configs floating around?

Bare metal.  There is only one yml file in /usr/share/oem.
Where else can I look?

/var/lib/coreos-install is the first thing that comes to mind.

Yes that's it.  There is a file called user_data in there that contains a command to start etcd.
Should I delete that?  Is this file created when you first install coreos and provide a config file?
It seems that providing a new one in /usr/share/oem doesn't mask that out entirely.  I didn't realise this.

Woo! That is created by coreos-install -c blah, so it's safe to consolidate the two files.
Yeah, there about a million different ways coreos-cloudinit can start. We are fixing this in Ignition.

Yes, looking forward to trying ignition when it comes into the stable release.  cloud-init is really problematic.

Yay, that fixed it!  there was nothing special in the user_data file.  Just the ssh pub key and the starting of etcd.

Excellent.
Ignition is in the Alpha channel if you want to take a peak. It should make it into the Stable release in about 3 weeks.

@carmstrong - check /var/lib/coreos-install/user_data removing that fixed it for me.

I had something similar happen to me, however due to a fault of my own.
I had fleetctl submit'ed a unit file where I had overlooked there being an 'After=etcd.service' instead of 'After=etcd2.service'.
To resolve I performed the following steps:

sudo systemctl stop fleet.service fleet.socket etcd
sudo systemctl start etcd2
sudo systemctl reset-failed
etcdctl rm/rmdir everything under and including /_coreos.com/fleetc/job/my_failed_unit.service
sudo systemctl start fleet

Hope this helps others.

Thank you very much, @jessegonzalez, your step-by-step instructions were a life-saver. Or sanity-saver, at least. :)


feat: add ability to serialize mdast node's to json

Description
This is a continuance of PR #30 that leverages serde's macros instead of explicit impls for serialize.
Closes

#10

Tests
Test have been taken from the mdast-util-from-markdown JS package. Tests that were failing have been #[ignore]d.

One more thing, is that I still think it’s good to have a build script, to take test fixtures, and generate test cases, like what you had inline before...

I am totally open to doing this; however, I am not sure how to handle:

the files that I've manually had to change to account for utf-8
the failing test cases that have been ignored using the ignore macro

the files that I've manually had to change to account for utf-8

The input is UTF-8, so I don’t understand why you need to account for this?

the failing test cases that have been ignored using the ignore macro

I’d go about this as follows: you could use this project itself in that build script to check if actual is expected, in which case you generate a normal test. Otherwise, you generate a skipped test: https://doc.rust-lang.org/book/ch11-02-running-tests.html#ignoring-some-tests-unless-specifically-requested

Hey so I have a couple of concerns:

do you feel like the build script is a good place for this? It gets run by rust-analyzer by default so downstream projects using the crate will have the tests get automatically downloaded and run when their LSP starts.
will having the build script automatically mark failing tests as ignored will hide regression? e.x. a change is made, the build script creates the test, marks a test that was previously okay as ignored when it starts to fail.
I manually fixed several inputs of the failing tests to account for the different positions in rust vs javascript, I don't know if this can be automatically done.

Alternatively,I could just remove the tests?

a) this is no longer the case since https://github.com/wooorm/markdown-rs/commits/main
b) it doesn’t run all the time anymore and the output is checked in so visible
c) you could remove positional info before testing
d) I am also okay with removing most tests. I don’t believe the core of the issue you are solving here is about matching the exact output of mdast-util-from-markdown

@wooorm ah nice I didn't realize that the test situation changed! that said, I went with option d since I agree that the tests I added were overkill for this feature.

Thanks for your hard work on this feature!!


Please Update Latest Code

import chrono
chrono.parse('5 days ago')
Chrono in Node is up to date.
But chrono-python isn't supporting various queries.
It would be great if this library can be updated.
And Please let me know, this library will be updated or not.

Have the same request

+1

+1

Sorry. I haven't got a chance to work on this, but I'll do something about this project this new year.


GC refactor - Moved garbageCollection.ts and associated files into a sub-directory

Description
Refactored garbage collector files:

Moved all gc related files into a sub-directory named "gc" under "container-runtime".
Moved all constants, interfaces, types and utility functions from "garbageCollection.ts" -> "gcDefinitions.ts".
Moved "UnreferencedStateTracker" class from "garbageCollection.ts" -> "gcUnreferencedStateTracker.ts".
Renamed "garbageCollection.ts" -> "garbageCollector.ts".

Once this PR goes in, we can move more functionality out of the GarbageCollector class if needed.
Reviewer Guidance
This is just a refactor. There is no logic change here. I would love your feedback on if this there is a better way to do this kind of refactoring. Also, should the GC unit tests be moved into this new folder as well?
Does this introduce a breaking change?
No, this is just a refactor.

Is it very advantageous to wait until we finish Tombstone (whatever we would backport for WB)? I haven't given much thought to what changes we'd need and how manual it will have to be already so maybe it's nbd. It will be good to have this moving forward for sure. Your call on when.


Resolve SAL warnings and suppress 4595

Resolve SAL annotations
Ignoring 4595 and removing the project DB auto-generated file
Ignore DB and opendb files.
Warning 4595 can be resolved by locally implementing "operator new and delete", but the change has been reverted following guidelines from Audio team.

Resolve SAL warnings and suppress 4595

commit 42cd81689c12, a982f7e243? Any insight on why suppress is chosen instead of new/delete override?


Add initial DB migration for PostgreSQL

PostgreSQL does not support AUTOINCREMENT. Instead it has the SERIAL type.
To generate the migration aerich init-db together with PostgreSQL 16.3 was used.

OK, now it works.

The better approach would be to update the initial migration than to delete it and to create a new one. aerich might not like having updates applied in a dev pc that no longer exist.
All dev dbs that have the initial migration applied don't need the postgres flavor.

The better approach would be to update the initial migration than to delete it and to create a new one. aerich might not like having updates applied in a dev pc that no longer exist.
All dev dbs that have the initial migration applied don't need the postgres flavor.

I don’t understand. Depending on the DB different migration code is used. Sounds perfect to me.

The aerich table stores the full file name. Not going to fully reverse engineer aerich to figure out if we play with the fire or not by renaming migration files while keeping the initial version. So ok for me.

Hate to be this guy after this is already ready, but is it possible we can support multiple databases in migrations by changing the tortoise config?  EG here - https://tortoise.github.io/setup.html#tortoise.Tortoise.init-parameters
They seem to show that you can have default db config, as well as possibly others, and choose between them.  I wonder if it would improve migrations if we added a postgres and sqlite DB in there (even if unused), because it would force aerich to generate schemas for both?

Hate to be this guy after this is already ready, but is it possible we can support multiple databases in migrations by changing the tortoise config? EG here - https://tortoise.github.io/setup.html#tortoise.Tortoise.init-parameters
They seem to show that you can have default db config, as well as possibly others, and choose between them. I wonder if it would improve migrations if we added a postgres and sqlite DB in there (even if unused), because it would force aerich to generate schemas for both?

I doubt that we can trick aerich in doing that. A quick try supports that assumption. Although aerich seems to support multiple DBs, you have to associate models to them: https://github.com/tortoise/aerich?tab=readme-ov-file#multiple-databases

Hate to be this guy after this is already ready, but is it possible we can support multiple databases in migrations by changing the tortoise config? EG here - https://tortoise.github.io/setup.html#tortoise.Tortoise.init-parameters
They seem to show that you can have default db config, as well as possibly others, and choose between them. I wonder if it would improve migrations if we added a postgres and sqlite DB in there (even if unused), because it would force aerich to generate schemas for both?

I doubt that we can trick aerich in doing that. A quick try supports that assumption. Although aerich seems to support multiple DBs, you have to associate models to them: https://github.com/tortoise/aerich?tab=readme-ov-file#multiple-databases

Makes sense.  Mildly annoying honestly, not sure why it doesn't seem to allow you to chose DBs (or even generate for all DBs)...

Hate to be this guy after this is already ready, but is it possible we can support multiple databases in migrations by changing the tortoise config? EG here - https://tortoise.github.io/setup.html#tortoise.Tortoise.init-parameters
They seem to show that you can have default db config, as well as possibly others, and choose between them. I wonder if it would improve migrations if we added a postgres and sqlite DB in there (even if unused), because it would force aerich to generate schemas for both?

I doubt that we can trick aerich in doing that. A quick try supports that assumption. Although aerich seems to support multiple DBs, you have to associate models to them: https://github.com/tortoise/aerich?tab=readme-ov-file#multiple-databases

Makes sense. Mildly annoying honestly, not sure why it doesn't seem to allow you to chose DBs (or even generate for all DBs)...

Well, it is an open source project, I bet they won’t be opposed to such contributions 😉


Rename feature

To rename files in SVN and project simultaneously.
Right now we need to rename it twice, in project and in SVN with restoring it`s old name to do it second time.

This functionality is already available, but you need to enable it.
Read more on the wiki page: Automatic file operations
Let me know if that matches your feature request!

Yes, thanks for wiki page.


Disallow widening of accessors for overridden methods

class Test {
	protected doSomething() {
	}
}
class SubTest extends Test {
	doSomething() {
		super.doSomething();
		alert("Something");
	}
}

This will give an error:
let test:Test = new SubTest();
test.doSomething();

This will not:
let test:SubTest = new SubTest();
test.doSomething();

Is your suggestion that it should not be possible to override a protected method with a public method?
If so, I think that will cause problem - in fact we have people like me asking for the opposite:
#471 Permit in implementing class to ignore private methods of implemented interface
#3854 Allow interface implementors to implement protected methods
#3598

Ah you bring up good points. I'm so used to writing C# where subclasses can't change the accessors of methods it's overriding that I found myself thinking that this might not be intended behaviour.
I thought about it some more and looked things up (it seems Java does allow this behaviour), e.g http://stackoverflow.com/questions/23081671/why-can-i-override-a-protected-method-with-public-method , http://stackoverflow.com/questions/10458142/why-a-function-with-protected-modifier-can-be-overridden-and-accessible-every-wh , http://stackoverflow.com/questions/12780779/why-java-allows-increasing-the-visibility-of-protected-methods-in-child-class
So in hindsight this might not be the best idea, I do wonder why C# does not allow this hmmm, something to read up on.


Can we upload large files with upload sessions to a sharepoint list

Category

[x] Question
[ ] Documentation issue
[ ] Bug

I want to upload large items (https://docs.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_createuploadsession?view=odsp-graph-online) and attach webhooks (https://docs.microsoft.com/en-us/sharepoint/dev/apis/webhooks/overview-sharepoint-webhooks) to it to keep track of all the updates.
But as webhooks are supported currently only for list items, I would like to upload to a lost. Is this supported? If yes what is the url to send the uploadSession request to?
POST /sites/{siteId}/Lists/{listId}/createUploadSession ?
Thank you.

File uploads are only supported within drives (document libraries in SharePoint).  If the list is a document library, you can get to the drive via the /drive relationship on the list.


[website] Add job listing for Technical Writer role

This PR adds a listing for the Technical Writer role that we've been discussing internally. This person would potentially be the next hire on the DevEx team, and they would take over for me as the primary editor of the MUI docs and blog. The thought is that this position might be easier to hire for than a second Developer Advocate, and it would free me up to focus on other tasks that are uniquely suited to the advocate role, like multimedia educational content and community building.
Preview: https://deploy-preview-36099--material-ui.netlify.app/careers/technical-writer/

@mnajdova yeah I guess so! Hopefully we'll be able to publish it one day!


🦊[Firefox] - Various issues with WYSIWYG edior

Hello,
I'll report one sure bug in the following, but it seems that it break other things.
Introduction
I've just pached my ghost instance with 2.31.0 and I started writing a new article.
As a French 🇫🇷 developer I used to use commons French chars like ^ (ê, â, …) but also the backtilde caracter to highlight some part on my words / code.
1st issue: Strange issue with caracters on Firefox
On chrome I'm almost sure it work well, but sometime i also get the bug, but on Firefox, things are getting complicated:
When I push

+space-> I get two ` (on chrome I get only one)
^ + e -> I get ^ê
one time backtilde and one more backtilde -> I get 3 backtilde

And so on, you can try with various combination of French letters (I know core team is French 🥖)
It could be related to the new release with the card but I'm sure of nothing, I could investigate deeper but I would like to know if I'm the only one facing those kind of issue (and it should be related to my environment) or someone else also got ?
Here on github everything seems fine :)
2nd issue: UI broke upon using those characters
I was trying to detect the issue using what we saw above, and by trying that I successfully broke my card UI into something like this:

For that bug, I'm not able to say if this is specific to firefox or also on chrome / others. But as you can see if my mouse hover the content, there is still the edition box

Technical details:

MacOS laptop
Ghost Version: 2.31.0
Firefox 70.0b4 (64-bit)(Aurora)
Chrome 76.0.3809.132

Thank you,
Andréas

Hi @ScreamZ :wave: I wasn't able to reproduce any of these issues on my local environment. Was able to type in développeur with no problem :smile: I suspect it's an issue with your local config. To figure that out would suggest posting on our forum https://forum.ghost.org/ :wink:

@gargol
Many issues get resolved by : https://www.foobarflies.io/backticks-on-the-mac-keyboard/
Looks like medium are ghost editor are very sensible to this.


Custom validation attribute is not working

✏ Describe the bug
I have a username field in my User model and I want to create reusable validation rule for it since i'm going to use it in a different places. I'm following this part of documentation: https://spatie.be/docs/laravel-data/v3/advanced-usage/validation-attributes#content-creating-your-validation-attribute.
My custom rule:
<?php

namespace App\Http\ValidationRules\User;

use Attribute;
use Spatie\LaravelData\Attributes\Validation\Max;
use Spatie\LaravelData\Attributes\Validation\Min;
use Spatie\LaravelData\Attributes\Validation\Regex;
use Spatie\LaravelData\Attributes\Validation\Unique;
use Spatie\LaravelData\Support\Validation\ValidationRule;

#[Attribute(Attribute::TARGET_PROPERTY)]
class UsernameRule extends ValidationRule
{
    public function getRules(): array
    {
        return [
            new Min(3),
            new Max(16),
            new Unique('users', 'username'),
            new Regex("/^\w*$/")
        ];
    }
}

And then I'm using it in my Request data:
class RegisterRequest extends RequestData
{
    public function __construct(
        #[Required, Email, Unique('users', 'email')]
        public string $email,

        #[Required, UsernameRule]
        public string $username,

        #[Required, Confirmed, Password]
        public string $password,
    ) {
    }
}

But when I did a request to the endpoint I got next error message:
"Object of class App\\Http\\ValidationRules\\User\\UsernameRule could not be converted to string"
So, it looks like it wants me to create a __toString method which returns a laravel validation string. I did so by imploding an array from getRules method:
public function __toString()
    {
        return implode("|", $this->getRules());
    }

And got next error:
The given value \"3|max:16\" does not represent a valid number..
It's because Min and Max rules are converted into "min:3" and "max:16" but I'm using them with string to check the length.
So, did I miss something or it's just a bug within the package?
🖥 Versions
Laravel: 10.10
Laravel Data: 3.9
PHP: 8.2.12

Just encountered the same issue. Fixed it by using:
https://github.com/spatie/laravel-data/issues/535


DBZ-2766 Remove Guava dependency

Replace guava range set with Debezium's native Intervals class

@kgalieva LGTM, thanks!


[FEAT] Adding a feature to simply add "unknown" people to trained persons

Hopefully i was not just to stupid, but i found no option to simply add unknown people from the "matches-tab" to people i already created in the "train" tab to improve their recognising-rate or even create a new known person. This would be an awesome feature.

This can already be done. Just click to select the photo on the matches tab then select a name in the drop-down and press the green check

Stupid me ;-) thx for the tip

Is there also a kind of "sync" all known Persons at once instead of selecting them all one by one and start the sync process?

Is there also a kind of "sync" all known Persons at once instead of selecting them all one by one and start the sync process?

Just hit the plus in the top right then the select all button

Is there a way to do the reverse of this? I want to basically untag false-positives.

+1 on @joestump's question.
Pretty much everyone that walks past my house is seen as a 90%+ match for a trained person. Despite looking very different.


Test checkout of all repos

BUILD_ALL

Description

Motivation and Context

Fixes/Closes/Resolves nanoFramework/Home#NNNN

Types of changes

[ ] Improvement (correction, content improvement, typo fix, formatting)
[ ] New Article (new document for docs website)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)

Checklist:

[ ] My doc follows the code style of this project.
[ ] I have read the CONTRIBUTING document.

Wrong repo.


pkill: implement

#27

Great start. Could you please add tests?

And also, more unit tests would be better. If it cannot run on Windows, you can disable it for Windows simply.
eg.
#[cfg(target_os = "linux")]
#[test]
fn test_something() {
...
}


use test-unit target

make test-cover takes over 17 minutes on master. Removing it will help unblock some CI builds.
><> time ./scripts/cover.sh
ok  	github.com/Azure/draft/cmd/draft	6.222s	coverage: 37.2% of statements
ok  	github.com/Azure/draft/cmd/draft/installer	1.642s	coverage: 0.0% of statements
?   	github.com/Azure/draft/cmd/draft/installer/config	[no test files]
?   	github.com/Azure/draft/cmd/draftd	[no test files]
?   	github.com/Azure/draft/examples/go	[no test files]
?   	github.com/Azure/draft/pkg/build	[no test files]
?   	github.com/Azure/draft/pkg/cmdline	[no test files]
ok  	github.com/Azure/draft/pkg/draft	1.860s	coverage: 6.4% of statements
ok  	github.com/Azure/draft/pkg/draft/draftpath	1.019s	coverage: 50.0% of statements
ok  	github.com/Azure/draft/pkg/draft/local	1.658s	coverage: 10.8% of statements
ok  	github.com/Azure/draft/pkg/draft/manifest	1.013s	coverage: 100.0% of statements
ok  	github.com/Azure/draft/pkg/draft/pack	1.086s	coverage: 83.1% of statements
?   	github.com/Azure/draft/pkg/draft/pack/generated	[no test files]
?   	github.com/Azure/draft/pkg/draftd/portforwarder	[no test files]
?   	github.com/Azure/draft/pkg/kube	[no test files]
?   	github.com/Azure/draft/pkg/kube/podutil	[no test files]
ok  	github.com/Azure/draft/pkg/linguist	1.170s	coverage: 40.3% of statements
ok  	github.com/Azure/draft/pkg/osutil	1.019s	coverage: 83.3% of statements
ok  	github.com/Azure/draft/pkg/plugin/installer	1.713s	coverage: 77.0% of statements
?   	github.com/Azure/draft/pkg/rpc	[no test files]
?   	github.com/Azure/draft/pkg/testing/helpers	[no test files]
ok  	github.com/Azure/draft/pkg/version	1.016s	coverage: 100.0% of statements

real	5m22.533s
user	17m37.082s
sys	1m55.250s
><> time make test-unit
go test  -cover -run . ./cmd/... ./examples/... ./pkg/...
ok  	github.com/Azure/draft/cmd/draft	2.046s	coverage: 37.2% of statements
ok  	github.com/Azure/draft/cmd/draft/installer	0.139s	coverage: 0.0% of statements
?   	github.com/Azure/draft/cmd/draft/installer/config	[no test files]
?   	github.com/Azure/draft/cmd/draftd	[no test files]
?   	github.com/Azure/draft/examples/go	[no test files]
?   	github.com/Azure/draft/pkg/build	[no test files]
?   	github.com/Azure/draft/pkg/cmdline	[no test files]
ok  	github.com/Azure/draft/pkg/draft	0.194s	coverage: 6.4% of statements
ok  	github.com/Azure/draft/pkg/draft/draftpath	0.008s	coverage: 50.0% of statements
ok  	github.com/Azure/draft/pkg/draft/local	0.110s	coverage: 10.8% of statements
ok  	github.com/Azure/draft/pkg/draft/manifest	0.016s	coverage: 100.0% of statements
ok  	github.com/Azure/draft/pkg/draft/pack	0.027s	coverage: 83.1% of statements
?   	github.com/Azure/draft/pkg/draft/pack/generated	[no test files]
?   	github.com/Azure/draft/pkg/draftd/portforwarder	[no test files]
?   	github.com/Azure/draft/pkg/kube	[no test files]
?   	github.com/Azure/draft/pkg/kube/podutil	[no test files]
ok  	github.com/Azure/draft/pkg/linguist	0.021s	coverage: 39.5% of statements
ok  	github.com/Azure/draft/pkg/osutil	0.012s	coverage: 83.3% of statements
ok  	github.com/Azure/draft/pkg/plugin/installer	1.643s	coverage: 77.0% of statements
?   	github.com/Azure/draft/pkg/rpc	[no test files]
?   	github.com/Azure/draft/pkg/testing/helpers	[no test files]
ok  	github.com/Azure/draft/pkg/version	0.006s	coverage: 100.0% of statements

real	0m39.130s
user	2m37.338s
sys	0m21.592s

@bacongobbler,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


[4.2] Fixes for batch mode diagnostics in Xcode

Cherry-pick of

#16489 (by me, reviewed by @huonw and @DougGregor)
#16485 (by @davidungar, reviewed by me and @graydon)
#16521 (by me, reviewed by @davidungar)
for the purpose of improving diagnostics in Xcode.

This is fallout from #14900, which was the first attempt to deal with batch mode being different from single-file mode in terms of what diagnostics get produced and where. There was a hole in that scheme, however: if processing B.swift results in a diagnostic being emitted in A.swift (and B.swift and A.swift are in different batches), that diagnostic would appear in every file in the same batch as B.swift. This (1) looks bad in Xcode's Log Editor, and (2) could result in a diagnostic that never goes away. (How? Fix the problem in A.swift, and A.swift and B.swift will get rebuilt…but not necessarily other files in B.swift's original batch.)
These changes together attempt to enforce two rules:

every diagnostic emitted in file A.swift while processing a different file B.swift would be emitted if we processed A.swift on its own

we actually do process A.swift on its own in the same build (or have previously done an incremental build and produced the same diagnostic)

and use those guarantees to avoid emitting diagnostics located in A.swift altogether if A.swift isn't in the current batch.

@swift-ci Please test

@swift-ci Please test source compatibility


[REQ] Component Request:

What's the full name of the component you'd like to see in Adafruit.io WipperSnapper?
INA219
What type of component is this (i.e.: Pin, I2C)?
Shunt
Product URL or Datasheet
Add a link to the product's URL or datasheet here.
Additional context
Thank you :)

Duplicate of https://github.com/adafruit/Wippersnapper_Components/issues/90
Please subscribe to that issue to be notified when we add the component.


Help with writing value to digital pin

Hello there!
Recently I've decided to play with Arduino in Rust and found your awesome crate. Thank you! I have zero prior knowledge of Arduino and some Rust knowledge (maybe advanced beginner level?). That said probably it would have been wise to go with C to avoid getting stuck.. But I really wanted to do it in Rust to sharpen my Rust mojo.
I am trying to build a small car and started with controlling just a single dc motor. I've managed to get everything working, however from the examples I am not sure what would be the right way to send some specific values to the digital pin to control speed.
Here is the code I am using, where ena pin is for speed control. Can you help me understand the API I should be using? Something like ena.write(123).
fn main() -> ! {
    let dp = arduino_hal::Peripherals::take().unwrap();
    let pins = arduino_hal::pins!(dp);

    let mut ena = pins.d5.into_output();
    let mut in1 = pins.d6.into_output();
    let mut in2 = pins.d7.into_output();

    in1.set_high();
    in2.set_low();

    // Here I would like to write some specific byte
    ena.set_high();

    arduino_hal::delay_ms(2000);

    in1.set_low();

    loop {
    }
}

My apologies if issue is the wrong way to ask this question. Didn't find any info about the proper channels in the readme and got no answer in official Rust discord.

I've managed to get everything working

I assume by that you mean "working with Arduino C"?  Can you share the working code if there is any?

what would be the right way to send some specific values to the digital pin to control speed.

This does not make any sense.  A digital GPIO pin is just that - a single digital bit.  It can be either 1 or 0, which means "on" or "off", also called HIGH or LOW.
You are looking to encode more than one bit of information on a single wire - this is possible by sending bit-patterns over time.  The exact way (=encoding) depends on what is connected, though, as the other side will need to "interpret" this bit-pattern.
Assuming that you have some kind of transistor/amplifier connected to the Arduino pin which drives your motor, an easy way to "encode" information which translates to motor speed is by only keeping the signal HIGH for a percentage of the time.  This is called "pulse width modulation" (PWM) and looks like this (x axis is time):
HIGH    --------------         --+  +--+  +--+         +   ++   ++
                                 |  |  |  |  |         |   ||   ||
                                 |  |  |  |  |         |   ||   ||
LOW                              +--+  +--+  +--       +---++---++---    -------------------

             100%                    50%                    25%                  0%

Because the motor cannot respond as fast as the signal is switching, it instead just runs at a lower speed as it keeps trying to accelerate and decelerate with the changing signal.
The simplest way to archieve this would be to just write some naive code to do it:
let pwm_percent = 50u8;
loop {
    pin.set_high();
    delay_us(pwm_percent);
    pin.set_low();
    delay_us(100u8 - pwm_percent);
}

Note that this would produce a PWM frequency of 1/100us = 10kHz.  This might not be ideal for your motor and driving amplifier circuitry.
There is one problem with the code above, though:  It constanly keeps the CPU busy for generating this signal - you cannot really do anything else in the meantime.  Luckily, there is a solution:  The MCU contains some hardware to generate PWM signals on its own - you just tell it the frequency and duty cycle (which is the "on percentage") and it'll do the rest.  This is a bit more complicated to set up and as of now, avr-hal unfortunately doesn't expose a clean API abstracting this.  So you'll have to get your hands a bit dirty.
As this question was asked before, I'm not going to reiterate the code here and instead just link you to #194 and #230 where some code examples are shown.  If those go completely over your head, just let me know - I'll walk you through it if you are interested.

First of all thank you for such a detailed response! I really appreciate you explaining all this given my poorly (as I now understand) explained issue 😅

I assume by that you mean "working with Arduino C"? Can you share the working code if there is any?

This was a miscommunication. What I meant is that I've been able to make a dc motor spin with the Rust code presented above. After your explanation it became clear to me that ena.set_high() just made it spin at the full speed.

As this question was asked before, I'm not going to reiterate the code here and instead just link you to #194 and #230 where some code examples are shown. If those go completely over your head, just let me know - I'll walk you through it if you are interested.

Thank you for the links! I've seen similar code in examples with servo motors, but apparently got confused and thought it is not what I actually wanted. What I was expecting is to be able to just pass some number between 0 and 255 to a pin method. Something like pin.set_value(123).
Your explanation made me realize this confusion. Then more googling led me to learn about timer interrupts.
You are right - those examples are a bit over my head now. However it feels they are making more and more sense as I read about timer interrupts. So my intention is to try and figure out everything by myself if possible first.
Not sure if the issue should be open or closed for now. Anyway big thanks for your help!

Looks like I was able to figure everything out. Now I am able to control the speed of both of my motors using single timer. Does it look sane?
#[arduino_hal::entry]
fn main() -> ! {
    let dp = arduino_hal::Peripherals::take().unwrap();
    let pins = arduino_hal::pins!(dp);

    let mut left_forward = pins.d4.into_output();
    let mut left_backward = pins.d2.into_output();

    let mut right_backward = pins.d12.into_output();
    let mut right_forward = pins.d13.into_output();

    let tc2 = dp.TC2;
    tc2.tccr2a.write(|w| w.wgm2().pwm_fast().com2a().match_clear().com2b().match_clear());
    tc2.tccr2b.write(|w| w.cs2().prescale_1024());

    // left speed
    pins.d3.into_output();
    // right speed
    pins.d11.into_output();

    left_forward.set_high();
    left_backward.set_low();

    right_forward.set_high();
    right_backward.set_low();

    let duty = 127u8;
    tc2.ocr2b.write(|w| unsafe { w.bits(duty) });
    tc2.ocr2a.write(|w| unsafe { w.bits(duty) });

    loop {
    }
}

Surprisingly .prescale_1024 worked best for me. If 256 is put motor stops spinning on values lower than 100. And the lower prescale is the higher the lower bound is. Dunno why lower update rates would yield better results 🤷♂
If I am not doing something terribly wrong than the issue can be closed. Thanks again for your help!

Glad you got it working!  Your code looks good, nothing wrong there.

I've seen similar code in examples with servo motors, but apparently got confused and thought it is not what I actually wanted.

There is more to this:  Servos are also controlled with a PWM-encoded signal, but differently - For your motor, you just vary the duty cycle between 0% and 100% and the frequency is largely not important.  Most of the simple servo motors want a PWM signal of exactly 50 Hz and a pulse length varying between 1ms (left stop, =5%) and 2ms (right stop, =10%).  Check out this diagram on Wikimedia.

Then more googling led me to learn about timer interrupts.

Not that this code involves a timer, but not a timer interrupt.  The timer runs next to the CPU, just doing its thing. The interrupt would come into play when the timer is instructed to "interrupt" the CPU whenever it overflows.  This means the CPU would then stop what it is doing, execute an interrupt service routine (ISR), and then return to where it left off. This is also really useful, but not needed here :)

Surprisingly .prescale_1024 worked best for me. If 256 is put motor stops spinning on values lower than 100. And the lower prescale is the higher the lower bound is. Dunno why lower update rates would yield better results

I would assume the pulses get so short that they are filtered out by your drive circuitry - but if it is working well with 1024 factor, there is no harm in using it.

If I am not doing something terribly wrong than the issue can be closed.

Feel free to close the issue once your question is answered!


mail/rspmd: redis port

use the redis port given in the config for redis.

@fichtner maybe but not now. For me it is important to have it working this way and we can discuss that after an initial release. I am still waiting for a postfix plugin release by @mimugmail as because without it, this plugin is nearly useless.


Cypress 6

Description 📝
Give a few lines on what you did with this PR!
Updated the version of Cypress to work with fetch requests.
updated the docker image to use the latest cypress included image.
Taiga Link 🔗
[ https://taiga.dts-stn.com/project/pond-dts-experimental-benefit-finder/us/260?kanban-status=146 ]
Checklist ✅

Also, I noticed that Cypress was being downloaded and installed as part of the app, which is not needed so I added a flag to ignore the dev dependencies. Please verify that none of the dev dependencies are needed for the app.

Also, I noticed that Cypress was being downloaded and installed as part of the app, which is not needed so I added a flag to ignore the dev dependencies. Please verify that none of the dev dependencies are needed for the app.


Ollama problem

Hi,
When I install Ollama  I can ask question via the prompt and it works. If I enable the checkbox Ollama and add: http://localhost:11434/api/generate and the I ask a question I get:  Unexpected end of input. (Line: 1 Col: 1
Hope you can help!
Thanks Edward

Did you pull a model for Ollama?
If so which model is it?

Thanks that works.
I also managed Ollama to listen from another machine. Default it works with localhost only.

On 5 Jul 2024, at 14:01, Ali Dehbansiahkarbon @.***> wrote:
Did you pull a model for Ollama?
If so which model is it?
image.png (view on web) https://github.com/AliDehbansiahkarbon/ChatGPTWizard/assets/5601608/e9c6f056-37e4-47c0-9892-bbd81ce892fa
—
Reply to this email directly, view it on GitHub https://github.com/AliDehbansiahkarbon/ChatGPTWizard/issues/66#issuecomment-2210750692, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADAS3VP3HENHTE67F7OLFHLZK2DIRAVCNFSM6AAAAABKDO7SJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJQG42TANRZGI.
You are receiving this because you authored the thread.


pass pull secret to observatorium res

fix: https://github.com/open-cluster-management/backlog/issues/12396
Signed-off-by: Marco<EMAIL_ADDRESS>

/retest

/lgtm


Wrapping code in a single-iteration loop changes the rendered image

[Shaders, screenshots, error log, reproduction steps, platform info, etc.] [ZIP]
WebGL links for easy reproduction:

Recipient
Variant

Recipient:

Variant:

Reported:
https://community.imgtec.com/forums/topic/bug-glsl-nexus-player-single-iteration-loop-changes-the-rendered-image/

ImgTech say they could not reproduce on their newer, internal drivers.

Closing this issue as Imagination reported that it doesn't manifest on their newer drivers, so likely independently fixed.


fix(ios): build failing in Xcode 12

Add version check around _mediaCapturePermissionGrantType.
Fixes #2262 and #2270

Don't know what the side effects are but I had to go to node_modules/react-native-webview/apple/RNCWebView.m and make the changes done in the PR to generate the app archive.
This is really important can we please get this merged and release a new version?

@#2Titozzz would be nice to get this patch :)

@Titozzz would be nice to get this patch :)


InterfaceDeclaration - getAllMembers to getMembers

I'm not sure why this has the word "All" in it.
As should be obvious, make sure to update the docs when making this change.

Done and also for ClassDeclaration.


Add a function to compute "Mean decrease in accuracy" feature importances

It seems it shouldn't be model-specific, and it should support metrics other than accuracy.
See https://github.com/scikit-learn/scikit-learn/issues/8898 for more details.

it can also be calculated on a held-out set, such that you measure
importance to generalisation
On 23 May 2017 12:56 am, "Mikhail Korobov"<EMAIL_ADDRESS>wrote:

It seems it shouldn't be model-specific, and it should support metrics
other than accuracy.
See scikit-learn/scikit-learn#8898
https://github.com/scikit-learn/scikit-learn/issues/8898 for more
details.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/TeamHG-Memex/eli5/issues/203, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEz64ZgiN7zuZxkvunvApNft2rtRvIvks5r8aI1gaJpZM4NieV6
.

Ah yeah, I was thinking such function should always receive a held-out dataset. Is there a way around it?
In random forests such datasets are available naturally, so for them MDA feature importances can be calculated as a part of training, without having an explicit held-out dataset. But I'm not sure it can be implemented with unchanged sklearn, xgboost and lightgbm.

well calculating on the training set will be no worse than current
feature_importances except where that is already based on oob estimates
On 23 May 2017 8:30 am, "Mikhail Korobov"<EMAIL_ADDRESS>wrote:

Ah yeah, I was thinking such function should always receive a held-out
dataset. Is there a way around it?
In random forests such datasets are available naturally, so for them MDA
feature importances can be calculated as a part of training, without having
an explicit held-out dataset. But I'm not sure it can be implemented with
unchanged sklearn, xgboost and lightgbm.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/TeamHG-Memex/eli5/issues/203#issuecomment-303237556,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEz6xjfft0G5zqsCa1PceEYh9FE63jmks5r8gx0gaJpZM4NieV6
.

Fixed by #227.


Create apps.svg

Adding an icon that is in figma for PUI but not in the library

Inadvertently made this request as our concourse user.

Hi @jbooherl, this site and repo actually aren't maintained at this point - I'm happy to merge in this request but it would be best to use the Pivotal UI Styleguide to keep track of which icons are currently available.


Error installing turicreate in wsl

pip3 install -U turicreate
Collecting turicreate
Using cached turicreate-6.0.tar.gz (1.9 kB)
Building wheels for collected packages: turicreate
Building wheel for turicreate (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uhaa883s/turicreate/setup.py'"'"'; file='"'"'/tmp/pip-install-uhaa883s/turicreate/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-86gbwz9b
cwd: /tmp/pip-install-uhaa883s/turicreate/
Complete output (31 lines):
running bdist_wheel
running build
installing to build/bdist.linux-x86_64/wheel
running install
      ==================================================================================
      TURICREATE ERROR

      If you see this message, pip install did not find an available binary package
      for your system.

      Supported Platforms:
          * macOS 10.12+ x86_64.
          * Linux x86_64 (including WSL on Windows 10).

      Support Python Versions:
          * 2.7
          * 3.5
          * 3.6
          * 3.7

      Another possible cause of this error is an outdated pip version. Try:
          `pip install -U pip`

      ==================================================================================

ERROR: Failed building wheel for turicreate
Running setup.py clean for turicreate
Failed to build turicreate
Installing collected packages: turicreate
Running setup.py install for turicreate ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uhaa883s/turicreate/setup.py'"'"'; file='"'"'/tmp/pip-install-uhaa883s/turicreate/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-3vjz28yd/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/devdarmok/.local/include/python3.8/turicreate
cwd: /tmp/pip-install-uhaa883s/turicreate/
Complete output (28 lines):
running install
        ==================================================================================
        TURICREATE ERROR

        If you see this message, pip install did not find an available binary package
        for your system.

        Supported Platforms:
            * macOS 10.12+ x86_64.
            * Linux x86_64 (including WSL on Windows 10).

        Support Python Versions:
            * 2.7
            * 3.5
            * 3.6
            * 3.7

        Another possible cause of this error is an outdated pip version. Try:
            `pip install -U pip`

        ==================================================================================

----------------------------------------

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uhaa883s/turicreate/setup.py'"'"'; file='"'"'/tmp/pip-install-uhaa883s/turicreate/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-3vjz28yd/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/devdarmok/.local/include/python3.8/turicreate Check the logs for full command output.
I have installed python 3.6 and upgraded pip to latest version still getting same error.

At least with the output you shared, you are using Python 3.8 not Python 3.6:
--install-headers /home/devdarmok/.local/include/python3.8/turicreate
We don't support Python 3.8 yet. We're tracking that issue in #3099.
You also tried it with Python 3.6? If so, please post the full output from that installation attempt. I suspect what's happening is it's still using python 3.8, not python 3.6.

I have downgraded the python version for my new environment but then also I am getting the same error.

@Akumar132232 - please post the full output you get when you trying to install with Python 3.6. As I said before I suspect it's still using Python 3.8.

The original issue here was the lack of Python 3.8 support. TuriCreate now support Python 3.8. The WSL issue mentioned here are already well documentation in other open issues: #3147 and #3149. So I'm going to close this issue.

Getting below error while installing Turicreate, I have installed Python 3.8 and Anaconda 3:-
ERROR: Failed building wheel for turicreate
Running setup.py clean for turicreate
Failed to build turicreate
Installing collected packages: turicreate
Running setup.py install for turicreate ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\Abhishek\anaconda3\envs\virtual_environment_name\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Abhishek\AppData\Local\Temp\pip-install-qhqi5iee\turicreate\setup.py'"'"'; file='"'"'C:\Users\Abhishek\AppData\Local\Temp\pip-install-qhqi5iee\turicreate\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Abhishek\AppData\Local\Temp\pip-record-92_w9hxx\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Abhishek\anaconda3\envs\virtual_environment_name\Include\turicreate'
cwd: C:\Users\Abhishek\AppData\Local\Temp\pip-install-qhqi5iee\turicreate
Complete output (28 lines):
running install
        ==================================================================================
        TURICREATE ERROR

        If you see this message, pip install did not find an available binary package
        for your system.

        Supported Platforms:
            * macOS 10.12+ x86_64.
            * Linux x86_64 (including WSL on Windows 10).

        Support Python Versions:
            * 2.7
            * 3.5
            * 3.6
            * 3.7
            * 3.8

        Another possible cause of this error is an outdated pip version. Try:
            `pip install -U pip`

        ==================================================================================

----------------------------------------

ERROR: Command errored out with exit status 1: 'C:\Users\Abhishek\anaconda3\envs\virtual_environment_name\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Abhishek\AppData\Local\Temp\pip-install-qhqi5iee\turicreate\setup.py'"'"'; file='"'"'C:\Users\Abhishek\AppData\Local\Temp\pip-install-qhqi5iee\turicreate\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Abhishek\AppData\Local\Temp\pip-record-92_w9hxx\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Abhishek\anaconda3\envs\virtual_environment_name\Include\turicreate' Check the logs for full command output.


Fix loading assets from app bundle on iOS

Summary
The method for loading named assets on iOS wasn't actually doing anything. I added a simple implementation using AnimatedView(name:) which does exactly what we want and also takes care of caching the loaded animation.
Test Plan

What's required for testing (prerequisites)?
None
What are the steps to reproduce (after prerequisites)?

Add an animation json to your xcode project
Add a lottie view like: `

Compatibility
N/A
Checklist

[x] I have tested this on a device and a simulator
[ ] I added the documentation in README.md
[ ] I mentioned this change in CHANGELOG.md
[ ] I updated the typed files (TS and Flow)
[ ] I added a sample use of the API in the example project (example/App.js)

@janicduplessis thanks! looking good to me


Retrocompatibility - Models and is_2d attribute

Retro-compatibility issue when using an old ivadomed model, eg exivvo_t2star.
Following error when using master:
AttributeError: 'UpConv' object has no attribute 'is_2d'

occuring at this line.
Reason: at the time of this model training: the attribute is_2d did not exist, which triggers the above error when calling forward().
Wondering if there is a way to avoid this.
If not... Is there an alternative to "run the model with the ivadomed version it has been generated with".
If not.. we really need to enforce the ivadomed version within the model json file. Otherwise it would be very messy to dive into history and found out this information.

we could add something like: if not hasattribute(self, is_2d): self.is_2d = True, this way it becomes retrocompatible


Application interface keeps disappearing

Microsoft PowerToys version
0.76.2
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
General
Steps to reproduce
When I open the settings, it randomly disappears. Like a crash but it is still running ok in the system tray so I can just try again and after 1 or 2 additional attempts it work. Then will randomly crash at any point
✔ Expected Behavior
Setting should open and stay open
❌ Actual Behavior
Random crash of interface
Other Software
No response

I have the same issue. The window opens blank and then crashes. This happens 99% of the time. If I run powertoys as administrator it does not happen.

/bugreport

@hoegge I can see the crash in one of those bug reports, but not the other. Have you been having this issue since updating to 0.77? /needinfo

@TheJoeFin - I have uploaded a new. Now it seems like, the first time you try to open settings the windows shows (blank) and then disappears, but the systray app does not crash and you can then open it again, and the second time it shows.
PowerToysReport_2024-01-17-06-54-33.zip

still a probelm and not stale

@TheJoeFin Samme issue on 0.79 - but worse. Now settings never stays open - not after second or more attempts as before.
PowerToysReport_2024-03-08-08-51-01.zip

@hoegge, unfortunatly it doesn't look like any new logs were capture by the settings crashes, probably crashes before it can log anything. I don't know where to go from here.

Looks like a WinUI3 issue? changing the region fixed it for some users in older version of WindowsAppSDK


Search function for mods

Is your feature request related to a problem? Please describe.
When having many different mods, it will be easier to find what you are looking for in your long list of mods.
Describe the solution you'd like
A search bar for the mods that filters the mods that are shown.
Describe alternatives you've considered
Scrolling is NOT a good alternative! 😂

Making an issue to yourself to make sure you remember to implement them... nice to know I'm not the only one who does it :P

When I have periods where I only work on university stuff, I might forget about it. Since I got a little bit of time on my hands now, I will try to push to get the next version ready. 😄

Implemented in branch appRework


attempt to fix CI

Using Xcode 8.3 in circle.yml should hopefully fix the error:

carthage: A full installation of Xcode.app 8.3 is required to compile this software.
Installing just the Command Line Tools is not sufficient.
Xcode can be installed from the App Store.
Error: An unsatisfied requirement failed this build.

Removing one of the references to the version module in bridge/github should fix the error:

Multiple rules generated for _build/default/bridge/github/version.o

Signed-off-by: David Scott<EMAIL_ADDRESS>

I have pushed more CI fixes directly to your branch. Let's make this green :-)

I have fixed the Dockerfiles and updated everything to use the latest version. Not sure why appveyor and CircleCI are complaining, need to have a closer look.

I've bumped appveyor and CircleCI to 4.05, hopefully this will fix the last issues.

The appveyor built is blocked on:
datakit -> hvsock >= 0.8.1 -> duration -> alcotest < 0.8.0

which should be solved once https://github.com/ocaml/opam-repository/pull/10770 is updated to the windows repository.

@talex5 would it be possible to remove the CI tests (as they are now tested with the main Dockerfile.ci) and to remove the check for the client library on 4.03 (or to use an image with opam2 instead of opam1)?

@samoth: I've pushed a fix to https://github.com/talex5/datakit/tree/fix-ci and deployed it.

@talex5 Thanks! Now all seems to be green apart the windows builds as we are waiting for https://github.com/fdopen/opam-repository-mingw to be updated.

Finally all green! Merging.


Most semicolons are not in the output, even though defaults are used (show semicolons)

function test() {
   console.log('z');
}

will output:
function test(){console.log("z")}
and
import Z1 from './module1.js';

function test() {
 console.log('z');
}

will output:
import Z1 from"./module1.js";function test(){console.log("z")}

You're misinterpreting the meaning of semicolons. From the documentation:

semicolons (default true) -- separate statements with semicolons. If you pass false then whenever possible we will use a newline instead of a semicolon, leading to more readable output of uglified code (size before gzip could be smaller; size after gzip insignificantly larger).

The option either outputs a semicolon or a newline. If neither is needed, neither will be output. Output for your second example with semicolons:false:
import Z1 from"./module1.js"
function test(){console.log("z")}

@Skalman OK, thanks for explaining it.

No worries :smile:


feat: Created table design 4

fixes #355
created table design 4

I can see your many contributions to this project. thank you.


Not Working

Hello!
I deployed Kafka+Clickhouse+Grafana Docker.
Config netflow on my Cisco router. But i don't see any graphs on grafana.
Please tell me what should I check and how?

Since it's NetFlow: maybe it needs to have the template?
To make sure, could you plot (either in Grafana or via Prometheus which should be accessible via http://localhost:9090) the following timeseries flow_process_nf_errors_count?

Hello, thank you for answer.
I'm sorry - a don't know how work with both systems (grafana and prometheus) :)
I don't know how to make these requests.
I tried in prometheus:

oh, sorry, was incorrect screenshot:

@SilverMax-82
Perfect, could you do the same with flow_process_nf_flowset_records_sum? In graph mode.
This will tell me if GoFlow2 is seeing actual data samples. It has templates so far.
Alternatively, you can run a goflow2 binary directly and observe the JSON output.
If you do not see traffic, could you provide me a packet capture?
One more thing to check: can you send me logs of the docker-compose command?
docker ps

This will tell me if something broke between GoFlow2 and ClickHouse.
As a side note: it might be hard to debug the whole stack since it's not the core project. You may want to have a look at Akvorado for a more bundled up solution (that uses exact same software under the hood).

docker ps
CONTAINER ID   IMAGE                                            COMMAND                  CREATED      STATUS      PORTS                                                                                NAMES
fc01aa377062   netsampler/goflow2                               "./goflow2 -transpor…"   5 days ago   Up 5 days   <IP_ADDRESS>:2055->2055/udp, :::2055->2055/udp, <IP_ADDRESS>:6343->6343/udp, :::6343->6343/udp, <IP_ADDRESS>:8080->8080/tcp, :::8080->8080/tcp   kcg_goflow2_1
07b56b7c30f0   clickhouse/clickhouse-server:<IP_ADDRESS>-alpine   "/entrypoint.sh"         5 days ago   Up 5 days   9000/tcp, <IP_ADDRESS>:8123->8123/tcp, :::8123->8123/tcp, 9009/tcp                                                                     kcg_db_1
97d6e6ece607   bitnami/kafka:3.4.0                              "/opt/bitnami/script…"   5 days ago   Up 5 days   <IP_ADDRESS>:9092->9092/tcp, :::9092->9092/tcp                                                                                kcg_kafka_1
7ec91add559e   grafana/grafana:9.4.3                            "/run.sh"                5 days ago   Up 5 days   <IP_ADDRESS>:3000->3000/tcp, :::3000->3000/tcp                                                                                kcg_grafana_1
73dfaa7db51b   prom/prometheus:v2.37.6                          "/bin/prometheus --c…"   5 days ago   Up 5 days   <IP_ADDRESS>:9090->9090/tcp, :::9090->9090/tcp                                                                                kcg_prometheus_1
2f7e8ec52fc5   bitnami/zookeeper:3.7.1                          "/opt/bitnami/script…"   5 days ago   Up 5 days   2888/tcp, 3888/tcp, <IP_ADDRESS>:2181->2181/tcp, :::2181->2181/tcp, 8080/tcp                                                           kcg_zookeeper_1

@SilverMax-82 thanks!
I am not seeing anything out of the ordinary and you should see data inside ClickHouse :(
Could you try the following command:
curl -XPOST --data 'SELECT count() FROM flows_raw' http://localhost:8123

Yes, i think problem with clickhouse. But i don't know how to debug it.
Also maybe incorrect query in grafana.
curl -XPOST --data 'SELECT count() FROM flows_raw' http://localhost:8123
56433314

From grafana:
SELECT
    if(etype = 0x800, IPv4NumToString(reinterpretAsUInt32(substring(reverse(src_addr), 13,4))), IPv6NumToString(src_addr)) as srcip,
    sum(bytes*sampling_rate) AS sumbytes
FROM $table
WHERE $timeFilter

Maybe incorrect SELECT?

So the data is making its way to ClickHouse.
What's the result of:
curl -XPOST --data 'SELECT sampling_rate,count() FROM flows_raw GROUP BY sampling_rate' http://localhost:8123

Also inside the Grafana query, could you click on Generated SQL and run it with the cURL like above?
I'd be curious to see if there is no data or it's just improperly counted.

curl -XPOST --data 'SELECT sampling_rate,count() FROM flows_raw GROUP BY sampling_rate' http://localhost:8123
0	56541584

What model of Cisco is this?
It's not passing the sampling rate (via OptionDataTemplate). As a result, any dashboard plotting the amount of bytes and packets that multiply by sampling_rate results to being zero.
I would need a capture of the template. It might be similar issue to #113.
Or it could be a router configuration issue.
There is a way of forcing the sampling rate via the enricher but setting up is less trivial (see #21).
Another way of solving it would be to hardcode (or use a dictionary) inside the ClickHouse queries: replacing sampling_rate by the actual number.

I use Cisco ISR4431
Can you write more detailed - what i must do?
Where apply the -samplingrate=1024 ?
or what the actual number of sampling rate? :)

So it appears by default the sampling is 1:1.
You have multiple solutions:

Try setting up sampling per the doc and hopefully the device will send the sampling information. This may be better in the future to reduce the load on the database.
You can change the SQL queries in the Grafana panels and remove sampling_rate. This is the quickest solution but may be difficult if you have a large diversity of network devices sending flows to keep consistency.
Pipe to an enricher that is configured to overwrite the sampling_rate field before being inserted inside the database, unfortunately I do not have a guide on this.

@lspgn I'm having this exact issue. I'm sending data using softflowd. When using a sampling rate of 0 which would get everything the graph is flat. I tried changing the sample rate and data doesnt show up even though running the queries above return results.
The only way I was able to get data in was using v5 with the legacy listener. When doing that the goflow internal dashboard would remain empty.
My cmd is something like: softflowd -d -s 0 -A mili -i eth0 -v 9


[Request] Can you add support for the Sonoff Touch?

Can you add support for the Sonoff Touch?

I Flashed my sonoff T1 wall switch, works perfectly!! :-)

Anyone try to flash the new Sonoff mini ?

Can I use it for the sonoff T3 smart light switch?

Anyone tried to flash the new Sonoff mini ?

I like to know that also, would be great if that was possible!

Yes, you need a usb to ttl adapter, you can find it on aliexpress.

Does it work on sonoff wall switch T1 - 2 gang ? I suppose it don’t

I flashed my T1, when it restarts, it advertises its own captive portal wifi, but when i select my router & password, nothing really happens, so the captive portal is constantly on. What could I do?

I flashed around 4 T1, 1 gang switches. The only time it happens that it stays on wifi is when I don’t erase the firmware before flashing.
Did you erase before you flashed? Also just to let you know it only supports 2.4GHz wifi, it will not connect to 5GHz.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: bubolino<EMAIL_ADDRESS>Sent: Monday, March 2, 2020 12:41:57 PM
To: Gruppio/Sonoff-Homekit<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [Gruppio/Sonoff-Homekit] [Request] Can you add support for the Sonoff Touch? (#4)
I flashed my T1, when it restarts, it advertises its own captive portal wifi, but when i select my router & password, nothing really happens, so the captive portal is constantly on. What could I do?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/Gruppio/Sonoff-Homekit/pull/4?email_source=notifications&email_token=ALSVHGHP3DWQDEA6QTNKZI3RFOSRLA5CNFSM4IJCXP4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPE4OA#issuecomment-593382968, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALSVHGH6K32Z7MBY35P7JXDRFOSRLANCNFSM4IJCXP4A.

I flashed around 4 T1, 1 gang switches. The only time it happens that it stays on wifi is when I don’t erase the firmware before flashing. Did you erase before you flashed? Also just to let you know it only supports 2.4GHz wifi, it will not connect to 5GHz. Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
…
________________________________ From: bubolino<EMAIL_ADDRESS>Sent: Monday, March 2, 2020 12:41:57 PM To: Gruppio/Sonoff-Homekit<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [Gruppio/Sonoff-Homekit] [Request] Can you add support for the Sonoff Touch? (#4) I flashed my T1, when it restarts, it advertises its own captive portal wifi, but when i select my router & password, nothing really happens, so the captive portal is constantly on. What could I do? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub<#4?email_source=notifications&email_token=ALSVHGHP3DWQDEA6QTNKZI3RFOSRLA5CNFSM4IJCXP4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPE4OA#issuecomment-593382968>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALSVHGH6K32Z7MBY35P7JXDRFOSRLANCNFSM4IJCXP4A.

Thank you!!! Hmmm... good idea, no i haven't erased the original FW. I'll try. The router is in 2,4 GHz mode, so that should not cause anything.

Try and let us know if it works, it worked for me.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: bubolino<EMAIL_ADDRESS>Sent: Monday, March 2, 2020 12:48:30 PM
To: Gruppio/Sonoff-Homekit<EMAIL_ADDRESS>Cc: gsvan<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [Gruppio/Sonoff-Homekit] [Request] Can you add support for the Sonoff Touch? (#4)
I flashed around 4 T1, 1 gang switches. The only time it happens that it stays on wifi is when I don’t erase the firmware before flashing. Did you erase before you flashed? Also just to let you know it only supports 2.4GHz wifi, it will not connect to 5GHz. Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
…
________________________________ From: bubolino notifications<EMAIL_ADDRESS>Sent: Monday, March 2, 2020 12:41:57 PM To: Gruppio/Sonoff-Homekit Sonoff-Homekit<EMAIL_ADDRESS>Cc: Subscribed subscribed<EMAIL_ADDRESS>Subject: Re: [Gruppio/Sonoff-Homekit] [Request] Can you add support for the Sonoff Touch? (#4https://github.com/Gruppio/Sonoff-Homekit/pull/4) I flashed my T1, when it restarts, it advertises its own captive portal wifi, but when i select my router & password, nothing really happens, so the captive portal is constantly on. What could I do? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub<#4https://github.com/Gruppio/Sonoff-Homekit/pull/4?email_source=notifications&email_token=ALSVHGHP3DWQDEA6QTNKZI3RFOSRLA5CNFSM4IJCXP4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPE4OA#issuecomment-593382968>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALSVHGH6K32Z7MBY35P7JXDRFOSRLANCNFSM4IJCXP4A.
Thank you!!! Hmmm... good idea, no i haven't erased the original FW. I'll try. The router is in 2,4 GHz mode, so that should not cause anything.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Gruppio/Sonoff-Homekit/pull/4?email_source=notifications&email_token=ALSVHGBBLVW25CGAILW5NUTRFOTJ5A5CNFSM4IJCXP4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPFN7I#issuecomment-593385213, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALSVHGDR4G36MMTHMON52TDRFOTJ5ANCNFSM4IJCXP4A.

Closing this because I moved to Home Assistant (quite a while ago)