GH-151 Allows removal of headers

Fixes #151
I have added a couple of factory methods into HeaderFilters to allow removal of headers, though I am not sure that it is a good idea to remove headers in general.

:+1:


New endpoints and a fix

Fixed ratelimit headers not being in UTC
Added the endpoints citation, presentation, stroke and sword
Added font bmmini for citation + image assets

Random thought, is there a reason for rate-limits to be in string format? Why not just a unix timestamp?

@AndyTempel If you're referring to why stuff like timestamp is stringified etc, it's because large ints tend to cause overflow in other languages and database applications (rethink, javascript etc). Strings preserve the value and allow other languages to handle them appropriately.

@Devoxin
What I meant was, why does it need to covert a stringified date that is saved in cache to a datetime obj then do the math and then covert it to string back. If it's an RFC then my bad, but it'd be still more efficient to use the time module and multiply it by 1000 to get epoch in ms like in js. Then to the math and return a timestamp. Headers are "strings" anyway. : ^)

@AndyTempel @Devoxin Actually, I've found that the date header is formatted as per "Fri, 04 Jan 2019 21:29:08 GMT", so I'll use strftime to return it in this format, I feel that's the best solution here.
Also, dates stored are stringified because the redis library will only take in strings, bytes or numbers.
Considering utcnow and the unix epoch, they are not related, utcnow simply makes sure we use GMT instead of the server's local time. HTTP dates should always be GMT, so having our ratelimits use local time is bad, especially since timezone was never given with the ratelimit.


Checkpoint

The link to download the checkpoint is not working. Is it possible to share a new link to perform the download of the checkpoint, please?

Hi everyone, I'm facing the same problem! would you please update the link to checkpoint?

facing the same problem!

same problem again！


error report while launching follow_target

after colcon build workspace and source it successfully,when I tried to launch it, as tutorial guides,
ros2 launch ign_moveit2_examples ex_py_follow_target.launch.py
ignition gazebo got crashed and I got these error report.

It confused me.Then I open model.sdf and other sdf file,and change version1.9 to 1.8,but it doesn't work.
Could anyone help me? Deeply  appreciated

Hello @clebschcrt,
Thank you for opening this issue.
What ROS 2 distribution do you use? This repository was written for galactic.

Closed due to inactivity


Riffmaster Thumbstick not working

Using the program with the PDP Riffmaster works good, only 2 things that are kinda wonky.
First one isnt really a bug but more a feature request. It would be nice to get the Thumbstick working (for example for quickly activating star power) right now only pressing the thumbstick down (R3) seems to be working, the movement itself not.
I also have to restart my guitar after switching driver, but thats a whole other issue lol

The joystick should already work, I'll need a packet log to verify though. Can you enable packet logging, then hit Start and move the joystick around, then hit Stop and send the resulting packet log file here?

The driver switching process is quite janky and I don't think I can really make it much smoother lol, as long as you can make it work without too much trouble I'll be satisfied. I'm unable to reproduce any of the issues people have reported with it, and I don't have a Riffmaster to properly test things with.

I would love to, but if i enable those options, press on start (restart my guitar because it wont get picked up otherwise) the programm just "Crashes" i guess. I cant click on anything and it doesnt update, but its still working as in i get gamepad output to Yarg. Might just try a restart of my PC real quick, maybe that fixes it.

Okay, reinstalled the program, and the joystick does now work! Maybe i wasnt running latest (i thought i was, but who knows). Still the other issues tho. Solved itself then

Oh nice!
I tried to fix that lock-up bug, but if it's still happening in the latest pre-release I'll need to look further into it. Just not sure what it's hanging on.

Made #19 to track the lock-up issue, so I'll be closing this one.


EVP_CIPHER_meth_get_XXX functions

Many of EVP_CIPHER_meth_get_XXX functions documented in doc/man3/EVP_CIPHER_meth_new.pod don't exist.
In the RETURN VALUES section these are mentioned but they aren't described anywhere and they don't exist in the code base:

EVP_CIPHER_meth_get_input_blocksize,
EVP_CIPHER_meth_get_result_size,
EVP_CIPHER_meth_get_app_datasize,
EVP_CIPHER_meth_get_flags,
EVP_CIPHER_meth_get_update,
EVP_CIPHER_meth_get_final and
EVP_CIPHER_meth_get_copy

The first question, is should these functions exist or should these references be removed?
Additionally, EVP_CIPHER_meth_get_do_cipher, EVP_CIPHER_meth_get_get_asn1_params and EVP_CIPHER_meth_get_set_asn1_params are mentioned in the NAME and SYNOPSIS sections, are implemented but don't get a description.

I just found out...  it's an unfortunate copy'n'paste error.  If you look in doc/man3/EVP_MD_meth_new.pod, you'll see where they came from.
Both these manuals were written more or less at the same time, together with the functionality, and there are a lot of similarities, that's why this ended up happening.
I'll do some cleaning.

It looks like those two manuals are incomplete in more ways :-/

Thanks for the cleaning.


Improve "You" Language in User Guide

Could you launch a github page on this for easier reviewing,


Minor: Tab Load White Page Flash

Reported by Fabia Serra on the Discord:
https://discord.com/channels/517362899170230292/890894521817260052/1176891667010297866

There appears to be a small issue where when clicking on ShotGrid Sync from another tab in AYON gives a quick flash of white background page colour before loading the addon ui.
https://github.com/ynput/ayon-shotgrid/assets/1258632/8ab41ebd-5d79-40a9-bbc5-caec16afab29

this might have been an issue on frontend of AYON server. @martastain or @Innders, was there any report on this? Was this already addressed?

Closing the issue since it is frontend related.


Provide option to ignore x509: certificate signed by unknown authority

Hi
We would like to use Kubernetes-Vault controller to access external vault with https.
This environment is not production but we also use https.
Is there a way to add parameter to ignore X509 certificate issue error.

Will provide ca.key for best practice


Portal UI - EastUS

The Azure portal has the option to create VMs on AZ on EastUS, which is currently not available.
Is that a bug? Also, is there any roadmap to deploy AZs on EastUS?
B.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: cca70845-100f-2cfd-aba3-34b7fa4a5264
Version Independent ID: 475b26e5-9e23-f769-3bd5-cbc4a678dbf0
Content: What are Azure Availability Zones?
Content Source: articles/availability-zones/az-overview.md
Service: azure
GitHub Login: @cynthn
Microsoft Alias: cynthn

Hello! Just want to add that this issue is still present. EastUS, I have the option to select availability zone. However, VM creation fails, with error: The resource type 'publicIPAddresses' does not support availability zones at location 'east's' and api-version '2018-08-01'.

Thanks @diannemg
I am investigating. Will update shortly.

Just FYI, I am working offline to address this. Will provide updates when I have them.

FYI, I have confirmed this bug and work is being implemented to correct this. It should be deploying soon (Next week or so)

Was this corrected? We are getting an AZ not supported when deploying to eastus


Grog cart

Still WIP.
TODOs:

[ ] image quality of the test dataset (test/reconstruct_grog.jl) does not match the nuFFT yet
[ ] rename griddedBackProjection to griddedBackProjection! as the current implementation changes data and trj to the gridded values. The modified variable should, by convention, come first, i.e., trj should be the second argument
[ ] move reshape of data into the functions scGROG and griddedBackProjection such that all functions take data in the same format

Just saw this blog post that says the thread local state is not recommended, do we need to fix this here?
https://julialang.org/blog/2023/07/PSA-dont-use-threadid/


Add way to disable showing album art in miniplayer

Hey, the mini player is great but you can only make it so small before it stops letting you shrink it.  It would be nice for there to be a hide album art button so that it would only be the controls kind of like how Skype has control window open on top of everything. Maybe hovering over the controls could make a preview window appear below it that would show the album art and the song/band.

I agree, but we have an issue for this already: #701.


The MongoDB connector should support the prisma introspect command

When using the MongoDB connector with an existing database, I currently need to model my data by hand. It would be great if the prisma introspect command could help me with this by sampling a number of documents from the collections inside my database and suggest a datamodel based on that.

Hello,
Proposed design goals
The introspection process ...

should not be interactive
should create a datamodel file that's easy to tweak, e.g. by inserting useful comments
should yield an equivalent datamodel when run against a database created by prisma from an existing datamodel,

Proposal tasks
All mentioned Todos only affect the CLI component.
First, some cleanup should be done. This is optional but recommended, to avoid duplication.

[ ] Define an abstract internal format for the representation of database datamodels, opposing to the current relational-focused model. This model should also support representing error states, e.g. invalid schemas which can occur with NoSql databases.
[ ] Refactor the SDL inferrer to support the new format, make use of abstraction for different database types.
[ ] Refactor (or wrap) the existing postgres connector to support the new datamodel.
[ ] Look for duplicate definitions and utility methods through the code, especially related to pluralization and capitalization. Move those to some central utility module.

After this, we can implement the MongoDB connector:

[ ] Create a base class for the fetching schemas from any NoSql Database. This class should already support an interface for abstract sampling strategies, intersection strategies and as well as an interface for resolving relations.
[ ] Create sampling strategies: First, Random-N1
, All.
[ ] Create relation resolver strategy: Index-Lookup2
[ ] Implement the actual MongoDB connector

Notes on Sampling:
1: Samples N random documents from each collection and tries to find a useful intersection.
Multiple samples are merged. Fields that are found in all samples are made required, fields that are found in some samples are made optional.
Notes on Resolving Relations
2: For fields of type UUID or ObjectID, performs an index lookup on all collections to guess if a relation exists. Alternatives/possible additions would be: Guessing relations by name, or to include other types to the lookup as well.
Relations for embedded documents are recursively resolved.
Handled corner cases

When there are documents with the same field, but different primitive types, we simply generate a comment which indicates the conflict.
MongoDB allows '.' and '$' in variable names. We sanitize the type name.
When we find embedded types with equal schema, we summarize them to a single embedded type.

Unhandled corner cases
If we encounter such a case, we abort.

Duplicate field names.
_id fields which are not a primitive type.

Dependencies
Existing databases might have embedded types without any _id field. Related to #3575.

This PR implements an alpha version of Mongo introspection. I've abstracted the concept of document databases, so it should be super easy (150 LOC) to add other document databases in the future.
Resolving Behavior
The default behavior is: Sample one element from each collection to infer a flat schema, then do a lookup of all fields of 50 randomly selected items to find relations.
Let's see how well this works with real-world data.
For now, we try to infer relations on all ObjectID and string fields. I'll test that with real-world data.
Open Todos

[ ] Type naming: It might be desirable to singularize type names when inferred from an array type field (Example: embedded type for field orders should be called Order).
[ ] Refactor primitive type inference to a separate class or module.
[ ] More tests, especially complicated or messy datasets.

There are currently the following open questions for this feature. I suggest we wait for input of some users who tried the new beta release to answer this questions:

[ ] It might make sense to use random sampling for inferring the flat model as well.
[ ] Is it desirable to infer required/not required? E.g. when a field was set on any sampled document, we could mark it as required.
[ ] Bi-directional relations are not considered right now. I'm not sure if it's a good idea to infer that from the data model.
[ ] Type naming, as mentioned above. Do we have any reference implementation for regularizing stuff?
[ ] I am not sure if all primitive types supported by mongo/BSON are mapped in the best possible prisma type right now.

I just tested the introspection with this data that was structured according to this datamodel:
type User @db(name: "users") {
  id: ID! @id
  email: String @unique
  name: String!
  posts: [Post!]! @relation(link: INLINE)
}

type Post @db(name: "posts") {
  id: ID! @id
  wasCreated: DateTime! @createdAt
  wasUpdated: DateTime! @updatedAt
  title: String!
  published: Boolean @default(value: false)
  author: User
  comments: [Comment!]!
}

type Comment @embedded {
  text: String!
  writtenBy: User!
}

This was the output that was generated:
type posts {
  _id: ID! @id
  published: Boolean
  title: String
  wasCreated: postsWasCreated
  wasUpdated: postsWasUpdated
}

# type postsWasCreated @embedded {

# }

# type postsWasUpdated @embedded {

# }

# type User {

# }

type users {
  _id: ID! @id
  email: String
  name: String
  posts: [ID!]!
}

One general consideration might be that we generate model names that follow the Prisma conventions, i.e. start with uppercase letter and use singular version and use the @db directive to map to the underlying collection.

We have some scarce docs for naming conventions (it actually doesn't mention the uppercasing of models) here. The data was produced using the following three mutations:
Create two new users
mutation {
  user1: createUser(data: {
    email<EMAIL_ADDRESS>    name: "Alice"
    posts: {
      create: {
        title: "Join us for GraphQL Conf 2019 in Berlin"
        published: true
      }
    }
  }) {
    id
  }

  user2: createUser(data: {
    email<EMAIL_ADDRESS>    name: "Bob"
    posts: {
      create: [{
        title: "Subscribe to GraphQL Weekly for community news"
        published: true
      } {
        title: "Follow Prisma on Twitter"
      }]
    }
  }) {
    id
  }
}

Add comments to two posts from Bob (send twice)
mutation {
  updatePost(
    where: {
      id: "__ID_FROM_BOBS_POST__"
    }
    data: {
      comments: {
         create: [{
          text: "Love it 👏"
          writtenBy: {
            connect: {
              email<EMAIL_ADDRESS>            }
          }
        }]
      }
    }
  ) {
    id
  }
}

The problem can be split into the following issues:

[ ] Only the first item in a collection is sampled for model resolution by default, therefore the comments embedded type is missing completely. I will change that default to random sampling.
[ ] DateTime scalar type is not handled correctly. I will re-work the scalar handling.

I tried the mongo introspection with a customer. The database has many nested embedded fields. The introspection result has many errors(Especially look TenantStoreDataMappingMappedColumns which had some interesting results): https://pastebin.com/E3UPd8J6
Even when I corrected and deployed the datamodel manually I got an error saying Prisma can't handle ObjectId('....').
I used prisma version 1.24-beta.

Thanks for your bug report - it's super helpful to have some real-world examples.
Are there other documents in the database that look differently? I don't think the introspection would generate a TenantStoreDataMappingMappedColumns type at all from the given sample.
If so it would be incredibly helpful if you could share those with us.

Unfortunately I had a pretty limited access so I was only able to extract the above info. The tenant document is the only thing that he gave me as an example. I will try to extract more info from him though.

I think we support this now. Any other introspection related bug reports should be separate now.
Closing :)


Message too long

Testing #6331
Tried the question What are my most popular issues? in a repository with only 16 issues and the model responded with this message is too long.

Worked around by https://github.com/microsoft/vscode-pull-request-github/pull/6349#pullrequestreview-2384704973, new pre-release on it's way.

New pre-release with the work around is available.

I think this is working now. Tried in vscode repo.


Fixed player sprite and changed color. Initial start text, WIP: press enter

Collision area may still need some fixing, please check.

The initial screen could be a couple of seconds longer, so that the music has completely loaded when starting the game. On my computer, the game is not smooth at all while the music is loading.

Closed the pull request by accident :) Let's try merging now...


cigien: Watch cbd[\W_]+turmeric[\W_]+canada(?:[\W_]+(?:\d++|[\da-f]{5,}+)s?)

cigien requests the watch of the watch_keyword cbd[\W_]*+turmeric[\W_]*+canada(?:[\W_]*+(?:\d++|[\da-f]{5,}+)s?)*. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

cbd[\W_]*+turmeric[\W_]*+canada(?:[\W_]*+(?:\d++|[\da-f]{5,}+)s?)* has been seen in 1 true positive, 0 false positives, and 0 NAAs.

cbd[\W_]*+turmeric[\W_]*+canada(?:[\W_]*+(?:\d++|[\da-f]{5,}+)s?)* has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ

Approved by tripleee in Charcoal HQ


Consider implicit coercions, e.g. to_str for String

For instance, instead of requiring that String values are actually T_STRING we could use implicit coercions (to_str) on the provided object. This would definitely be more Ruby-like in behavior.
Is this something we'd want to do? What are the drawbacks, if any?

I wrote something like this for Rutie, but rather than using the to_str method call syntax I followed the try_convert design:

Array.try_convert
Hash.try_convert
String.try_convert
Regexp.try_convert
IO.try_convert

These do implicit conversions or return a nil object.  The trait in that project looks as follows:
pub trait TryConvert<T>: Sized {
    /// The type returned in the event of a conversion error.
    type Nil;

    fn try_convert(value: T) -> Result<Self, Self::Nil>;
}

I like using the Result type with a valid Ruby object in either branch because using the ? operator can allow for a direct return from Rust to Ruby scenario where Rust doesn't have to handle the Result.
In that project I've only implemented this trait for ruby string so far.  Implicit conversions are more of a rare thing but I believe they're worthwhile.
Hope my input was helpful!

try_convert is also a useful approach, but this sort of use case is literally to_str and friends' raison d'être, so I think the original proposal is a better fit.


Example pipeline in a non-SDK-supported language using a GraphQL client

Create an example using a GraphQL client to write a CI pipeline in a language we don't yet have an SDK for such as Java, Rust, or Ruby

I'm not sure if I am misunderstanding the task...just a quick ping that we already have two (albeit simple) examples of this at https://devel.docs.dagger.io/api/254103/build-custom-client using Rust and PHP.

Yeah that's a good point @vikram-dagger , I forgot about those. This one will be a more advanced pipeline to dig into more of the api. Maybe too much depth to try to cover in a guide, I'm not sure yet

@kpenfound, I agree that it would be nice to have a more in-depth example with even a starter app. I followed the steps to create a client in Rust and was successful. However, I needed to learn how to build my app with this client. Part of it has more documented examples for the GraphQL API, which you can reference in the client.

Closing this as https://github.com/dagger/dagger.io/issues/1769, which envisages a similar result, is in progress.


The queue naming notification message is incompleted

Storage Explorer Version: 1.13.0
Build: 20200504.7
Branch: master
Platform/OS: Windows 10/ macOS Catalina / Linux Ubuntu 16.04
Architecture: ia32/x64
Regression From: Previous release(1.13.0)
Steps to reproduce:

Expand one storage account -> Queues.
Click 'Create' -> Type 2 characters in name box.
Check the result.

Expect Experience:
The notification message is completed.

Actual Experience:
The notification message is incompleted.

This is by design. It's easier on users when the error message explains exactly what's wrong instead of giving them a big list of requirements. Please observe what happens when you type three or more characters but with the wrong arrangement of alphanumerics and hyphens.


Fix Random.Next collection extensions being unable to return their last element

@LukeFZ Changes look good, but I was just reviewing some other uses of .Next and found this:
https://github.com/SapiensAnatis/Dawnshard/blob/c17b7f482cc5f2643ed86f9d84977ebbbde15c55/DragaliaAPI/DragaliaAPI/Features/DmodeDungeon/DmodeDungeonService.cs#L178
I think this suffers from the same problem with the exclusive upper bound -- is this not basically equivalent to
int talismanAmount = floorNum switch
{
    < 50 => 1,
    < 60 => 3,
    _ => 6
};

If so could you adjust that as part of this please?

Fixed all remaining Random.Next calls, including that talisman one


Docs build check stopped working in github actions (GHA)

When creating new PRs and checking them we can see the docs build check from readthedocs is always stuck at "Expected -- Waiting for status to be reported" as shown in the following picture. This is affecting merge capabilities for new PRs, we need to figure out what is going on.

Just noticed this in readthedocs settings:

Here are the relevant links to the config file and build.tools.python.

That looks like a warning for openff-toolkit, but that screenshot tells the story that  builds stopped working ~5 days ago. There are no errors in the log so I might just have to re-sync the webhook or re-make the integration.
It looks like re-syncing is all that was needed, it is building docs on pull requests again! :tada:


No way to upgrade Snowflake VoiceChannel to VoiceChannel

It seens like it's currently impossible to upgrade Snowflake VoiceChannel to VoiceChannel.
Sorry, if I just missed the intended solution.
My workaround so far was to create my own orphan instance
instance Upgradeable VoiceChannel (Snowflake VoiceChannel) where
    upgrade s = upgrade (coerceSnowflake @_ @Channel s) <&> \case
            Just (GuildChannel' (GuildVoiceChannel vc)) -> Just vc
            _ -> Nothing

Yeah the current way is probably to do that, adding Upgradeable instances for all the channel types would definitely be useful though


Add welcome page to root path

See https://github.com/neurobagel/api/blob/84c0e99d7c797bb8b5c79ba2aeeeed404045695f/app/main.py#L31-L43 for reference

:rocket: Issue was released in v0.2.1 :rocket:


upgrade dependencies

Allows gdu to work in tmux ($TERM == 'tmux-256color')

https://github.com/gdamore/tcell/commit/d699c7e5101acf73122e221616de4962d4be3b8e is in tcell 2.5.0+

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 96.192%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
2349

Relevant Lines:
2442

💛  - Coveralls

Thanks for your contribution!


Not able to use unity-catalog in spark job

Could someone help on how to get unity catalog to work in a spark job?
after I start the unity catalog server on my laptop, I created my spark session with below code:
`
conf.set('spark.sql.extensions', 'io.delta.sql.DeltaSparkSessionExtension')
conf.set(f'spark.sql.catalog.unity', 'org.apache.spark.sql.delta.catalog.DeltaCatalog')
conf.set(f'spark.sql.catalog.unity.uri', 'http://localhost:8080/api/2.1/unity-catalog/')
conf.set(f'spark.sql.catalog.unity.type', 'rest')
conf.set('spark.databricks.sql.initial.catalog', 'unity')
conf.set('spark.sql.warehouse.dir', f's3a://aaa/main/warehouse')
conf.set('fs.s3a.access.key', ACCESS_KEY)
conf.set('fs.s3a.secret.key', SECRET_KEY)
session = SparkSession.builder.config(conf=conf)
.getOrCreate()
session.sql(f"USE CATALOG 'unity'")

`
I got the following error:
Traceback (most recent call last):
File "/Users/xxx/tmp/images/unity-catalog/main.py", line 98, in
spark = create_spark_session()
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/xxx/tmp/images/unity-catalog/main.py", line 77, in create_spark_session
session.sql(f"USE CATALOG 'unity'")
File "/Users/xxx/anaconda3/envs/pyspark-3.5/lib/python3.11/site-packages/pyspark/sql/session.py", line 1631, in sql
return DataFrame(self._jsparkSession.sql(sqlQuery, litArgs), self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/xxx/anaconda3/envs/pyspark-3.5/lib/python3.11/site-packages/py4j/java_gateway.py", line 1322, in call
return_value = get_return_value(
^^^^^^^^^^^^^^^^^
File "/Users/xxx/anaconda3/envs/pyspark-3.5/lib/python3.11/site-packages/pyspark/errors/exceptions/captured.py", line 185, in deco
raise converted from None
pyspark.errors.exceptions.captured.ParseException:
[PARSE_SYNTAX_ERROR] Syntax error at or near ''unity'': extra input ''unity''.(line 1, pos 12)

We're working on this, see this PR 🤓.

IMHO DeltaCatalog does not support any of the provided params (they seem like "borrowed" from an Iceberg-based setup).

Thanks for all the responses. Any progress on this issue @MrPowers ?

@MrPowers , I saw a new connectors module was added to the repo. But it seems to have the following problems:

The spark connector use Scala 2.13 and Spark-sql 4.0.0 preview version. DO you have plan to add Scala 2.12 support and Spark 3.3, 3.4 and 3.5? Even though Spark 4.0 may backward compatible with Spark 3.x, but it does reduce the confidence level, especially with a preview version. Similarly for the scala version, it will be great if you can confirm the connector works both with Scala 2.12 and 2.13. This would be more important for Pyspark developers, since so far Pypi's pyspark is still on Scala 2.12
There seems no document for the new connector module(forgive me if I missed out). I went into the test and see how spark session should be created, still, it would be much better to have full/detailed document about how the connector should be used
Thanks for your help

@cloud-fan can you assign this to yourself please.

I can't update the Assignees field. Maybe only the repo owner can do so?

@cloud-fan - assigned this one to you.  Thanks for working on this 🤓

it will be supported in the upcoming UC v0.2 release


Human Activity Recognition

Aim: Identifying different human activities based on accelerometer data.
Evaluating the performance of deep learning models on the UCI-dataset  and comparing the performance of each.
I would like this issue to be assigned to me as part of GSSoC'24. Thank you.

Please consider assigning me to the Human Activity Recognition project. I'm eager to contribute and confident in my ability to evaluate deep learning models.

@tushtithakur Hi, I am Disha Mukhopadhyay, currently persuing BTech in Computer Science and Engineering (CSE). I have done an internship as an AI intern. and published an IEEE paper in Machine Learning domain,  also have 3 papers in proceeding in Machine Learning and data science domain, one of them is based on Human Action Recognition only. It will be very helpful if you could assign me this project, so that I can work on this project.
The project will be aimed to conduct a survey on human posture identification in order to examine previous studies about the
application of computer vision techniques based on Convolutional
Neural Network (CNN) and Recurrent Neural Network (RNN)in Human posture recognition, while methodically analysing its advantages and disadvantages.
I would like you to assign me this project,so that I can work on it.
Thank You.

Identify  human activity  and posture recognition  using a  ConvolutionalNeural Network (CNN) and Recurrent Neural Network (RNN).  I would like you to assign me this project

The issue has been assigned to you , Please follow project guidelines for PR. issue assigned BAsed on FCFS

The issue has been assigned to you , Please follow project guidelines for PR. issue assigned BAsed on FCFS

Thank you for assigning this issue to me  and  please mark this issue with appropriate tags to GSSoC'24 contributors and level (1/2/3)


ssh: update README for ssh-askpass

Proposed Changes
Added Requirements section for ssh-askpass on Linux machine

Thanks @crivotz!
Also wondering if we should have guards around implicit calls to ssh-askpass so that we don't rely on users to read the README explicitly.
Historically, prezto hasn't documented explicit requirement for a feature to work. It is meant to just work™ if the requirements are available.
NB: I am not against explicitly documenting Requirements, but there isn't any right now (so this might be a first). And we don't want to end up being sloppy over time and deviate from just works™ principal by relying more on users having to read README to get started.

Thanks @indrajitr
I am agree with you. I thought a lot about the word 'requirements' and I looked in the other modules to find alternatives.
Without the package you have no error but the agent will not work properly and will continue to require. the passphrase.
I try to look deep in the ssh-askpass ;)

I hope to be on the right track
I cleaned the README and only for linux machines if askpass is not present I use the old way.

Hi @crivotz ,
in order to reduce code lines and checks, I think that you can first create a "local variable" (ssh_id_path) for example, by checking if there is any _ssh_identities (if there isn't, this local variable could be just 'empty'.
Then you check the SO and check for ASKPASS and use this variable.
I'm not good at all with shell/zsh syntax, but it would be something like:
  if (( ${#_ssh_identities} > 0 )); then
    local_ssh_id = "$_ssh_dir/${^_ssh_identities[@]}"
  else
    local_ssh_id = ""
  fi
  # Check for Linux system and ssh-askpass presence
  if [[ $(uname -s) == Linux* ]] && [[ ! -a /etc/X11/app-defaults/SshAskpass ]]; then
    ssh-add "$local_ssh_id"  2> /dev/null
  else
    ssh-add "$local_ssh_id"  < /dev/null 2> /dev/null
  fi

Sorry if it does not make sense, just trying to help. ;)

Changes made

Looks good, thanks! Would you please squash the changes into a single commit?

@indrajitr done

ssh: update README for ssh-askpass

The commit message might have to be adjusted a bit. For example, the first line mentions updating README, which isn't the case anymore :)

Sorry I left the standard message from the squash just for history.
I fix with a single and clear commit

Thank you very much @crivotz for your contribution and for dealing with these review requests patiently :)

Thanks @indrajitr for your advice and for your help


Attribute used when declare property

I noticed that you declare the UIColor property with attribute assign, I wonder why not strong but assign?

How can I have the popup load the previously entered data into the textfields upon launch?

@tomisacat you're right, should be strong. Fixing it now and will be in next commit

@magdics you wouldn't be able to do that since every Popup gets reinitiated every time you call it, gets added to the view and removed. You can mess with the initiation process a bit and perhaps remove some instances where I show/add and dismiss/remove. But what would be easier is just calling the same block of code everywhere you need it.
I'll look into it more and if anything seems like it'll work i'll commit and/or you can submit a pull request if you get it to work!
Thanks!


Counting microsecond intervals

✅ Pre-submission Checklist

[X] 📖 I have thoroughly reviewed the relevant sections of the WM_IoT_SDK Programming Guide documentation but have not found a solution to my issue.
[X] 🔄 I have updated my wm_iot_sdk branch (master or release) to the latest version and confirmed that the issue still exists.
[X] 🔍 I have searched through the Issues and Discussions sections but have not found a similar issue.

📝 Issue Details
Hi! This function should be rewritten like this :
void udelay(uint32_t us)
{
if (us > WM_CLK_MS_UNIT) {
    mdelay(us / WM_CLK_MS_UNIT);
    us = us % WM_CLK_MS_UNIT;
}

if (us == 0) {
    return;
}

_delay(us);

}
Because I have often encountered the problem of rtos hanging if I call _delay() function with parameter more than 1000

Thank you for your feedback 😊. We have already taken note of the issue with the old version SDK. The _delay interface has been optimized and adjusted in the new version v2.2-beta.2. Please use the latest SDK version v2.2-beta.2 for testing to confirm whether the issue has been resolved. Thank you.

Yes, it works stable. But I'll figure something out :)

Based on the "hello_world" example, I have followed your method and it has been running stably for a full two days.
int count = 0;

static void test_task(void *parameters)
{
    while (1) {
        // wm_log_info("hello world.");

        // vTaskDelay(pdMS_TO_TICKS(1000));
        printf("Count = %d \n\r",count);
        count ++;
        udelay(5000000);
    }

    vTaskDelete(NULL);
}

int main(void)
{
    xTaskCreate(test_task, "test", 512, NULL, 5, NULL);

    return 0;
}


Wireless charging for microcontroller

A possibility for powering the microcontroller for e.g., the color sensor:
https://www.canadarobotix.com/products/2761?srsltid=AfmBOooxDHrNvKuctEIGHWXeIHusmvp-t7ae6e-OptdjdnoMbGhULSo7
https://www.adafruit.com/category/331
(https://ca.robotshop.com/products/5v-700ma-wireless-charging-pcb-module looks nice but seems to be out of stock everywhere)
Power requirements would be pretty low.
https://shop.pimoroni.com/products/pico-lipo-shim?variant=32369543086163 and (https://shop.pimoroni.com/products/lipo-battery-pack?variant=20429081991 or https://shop.pimoroni.com/products/lithium-ion-battery-pack?variant=23417820359)
Thoughts?
Related to #26

I think I'll get some of these items ordered today

I think you can assume in advance that Pico W microcontroller, PiCowbell, and LiPo Shim are already soldered together (i.e., if you have the design files on hand, great, otherwise you could treat it as a box with maybe little extrusions for some of the ports)

3D CAD files update:

PiCowbell: (original stp file is x10 scale, scaled down to actual size)

Pico W: (details are slightly different)

AS7341:

I have not found a detailed LiPo Shim board CAD model. It has a geometry of 21 x 21 x 7 mm (with the connector), may create one later with detailed connector geometry when the item is arrived.
I also made an assembled block model for the microcontroller with the PiCowbell and LiPo Shim(since it stays at the middle I do not need the detail size of it), with the largest connector on Y and X direction.

We'll also need a charger for the parking spot, and any other connections that would need to be made to attach to the transmitter.

We'll also need a charger for the parking spot, and any other connections that would need to be made to attach to the transmitter.

Added a CAD model on Fusion for the assembled block with P5905

What I'm planning to get: https://www.digikey.com/short/877rfv28 (and a 5V / 2A charger)

A bunch of battery options at https://www.digikey.com/short/p9vn9dhv, but all are through Digikey.com (none available through Digikey.ca). Something 40 mAh, 150 mAh, 400 mAh, or 500 mAh would probably be enough. Even the 400 mAh isn't more than ~1.5" in the largest dimension, and the wireless receiver is ~2" in the largest dimension I think (i.e., the limiting factor).

@Neil-YL thoughts on https://www.digikey.ca/en/products/detail/pimoroni-ltd/PIM578/15851381 vs. the shim?

Wireless charging transmitter:
https://www.digikey.ca/en/products/detail/adafruit-industries-llc/2162/6827104

(power supply from micro-usb port, red arrow)
Receiver:
https://www.digikey.ca/en/products/detail/adafruit-industries-llc/1901/5629432

Both C1 and C2 give 5V while tested with multimeter

We can use https://github.com/pimoroni/pimoroni-pico/blob/main/micropython/examples/pico_lipo_shim/battery_pico.py?rgh-link-date=2024-10-02T16%3A50%3A05Z for validation

The battery cannot power PicoW (Power LED not on) and the Pico shim cannot charge the battery (Charging indicator LED not on, noticing smoke and heat when plugged into the USB charger)
https://forums.adafruit.com/viewtopic.php?t=95370

You might be seeing a threshold issue. The MCP738xx series of chargers wait for the battery voltage to fall below a given level before they start a new charging cycle. The LiPo connected above is higher than the nominal 3.7v level.
Have you tried connecting a discharged battery.. one whose output voltage is around 3.3v?

The MCP73871 does automatic load sharing. When an external power source is connected, that power goes to the load first. Only current beyond what the load needs will go to charging the LiPo.

However, I do not think these discussion related to our situation (worth knowing though)
This KDA3 on our Pico Shim is bulging and I think this is where the heat and smoke come out.

I have tried to look for it on the schematic: https://cdn.shopify.com/s/files/1/0174/1800/files/lipo_shim_for_pico_schematic.pdf?v=1618573454
It could be one of these capacitors for the Lipo charger connector since the power trigger works normally when the battery is not connected, and battery is not powering the Pico nor getting charged when connected.

We may have to purchase another Pico Shim for further test.

I think I'll purchase a few more shims and at least one other type of LiPo charger (probably an adafruit one). I'm a bit worried about the batteries as well, in particular the reading of 0 volts for at least one.

I think I'll purchase a few more shims and at least one other type of LiPo charger (probably an adafruit one). I'm a bit worried about the batteries as well, in particular the reading of 0 volts for at least one.

I think so, though the smoke came out when I plugged in the one with a 3.7V readout, which is supposed to function normally.

I think I'll purchase a few more shims and at least one other type of LiPo charger (probably an adafruit one). I'm a bit worried about the batteries as well, in particular the reading of 0 volts for at least one.

I think so, though the smoke came out when I plugged in the one with a 3.8V readout, which is supposed to function normally.
Edit: I measured all four batteries; only one has a 0V readout, while the other three are around 3.87V.

OK, good to know. Maybe the one with 0V reading is from when it started getting hot during some of your early tests.
Some parts I'll probably buy (lmk if you think there are others I should look at):

https://www.adafruit.com/product/4410
https://www.adafruit.com/product/1904

Interesting note here..

For use with Adafruit LiPoly/LiIon batteries only! Other batteries may have different voltage, chemistry, polarity or pinout. Lipo/Lipoly/LiIon Batteries not included, but we've got tons in the shop.

https://www.adafruit.com/product/1304

Maybe just skip the battery piece until we get some more parts in, and focus on the wireless transmission (i.e., powering the Pico via VSYS directly from the wireless receiver)

The polarity of the battery connector are indeed opposite to those of the shim

I can't seem to find batteries with both a JST connector and the correct polarity that can be shipped within or to Canada 🥲. Digikey.ca, Digikey.com, and Adafruit all have tight restrictions - so no shipping options. https://www.canadianbatteries.com/ has batteries, but they're
I also ordered https://www.amazon.ca/gp/product/B083NWXLTK, but these are coming late Oct/early Nov.

The new Pico Shim has arrived. I soldered the shim with PicoW and conducted following tests with one battery (reversed its original connection):

Power supply from battery: The battery successfully powered the PicoW, and the power button on the shim functioned correctly, allowing me to switch the power on and off.
USB charging: The red charging indicator LED on the shim lit up after connecting to the USB supply.

Then I connect the PicoW with the Picowbell and the wireless charging receiver:

Wireless charging: The blue charging indicator LED on the transmitter turned on, but the red charging indicator LED on the shim did not light up when the receiver was placed on the transmitter.”

https://github.com/user-attachments/assets/55cfca82-5f49-48c0-a5f6-7ec8c5b1210b
https://github.com/user-attachments/assets/100ecbad-92ac-45e4-8b76-cbe54acba02d

I tried to test the wireless charging part with a short script to get the battery volume and storage it in a log on RB Pi.
https://github.com/pimoroni/pimoroni-pico/blob/main/micropython/examples/pico_lipo_shim/battery_pico.py
from machine import ADC
import time

vsys = ADC(29)                      # reads the system input voltage
conversion_factor = 3 * 3.3 / 65535

full_battery = 3.7                # reference voltage for a full battery, in volts
empty_battery = 0               # reference voltage for an empty battery

log_file = "battery_log.txt"         # file to store battery data
interval = 180                      # 3 minutes interval (180 seconds)
count = 1                           # counter for the number of readings

# Function to write data to a file
def log_battery_data(voltage, percentage):
    current_time = time.localtime()
    timestamp = "{}-{:02d}-{:02d} {:02d}:{:02d}:{:02d}".format(current_time[0], current_time[1], current_time[2],
                                                               current_time[3], current_time[4], current_time[5])

    with open(log_file, "a") as file:
        file.write("Reading {}: Time: {}, Voltage: {:.2f}V, Percentage: {:.2f}%\n".format(count, timestamp, voltage, percentage))

while True:
    voltage = vsys.read_u16() * conversion_factor
    percentage = 100 * ((voltage - empty_battery) / (full_battery - empty_battery))
    if percentage > 100:
        percentage = 100.00
    elif percentage < 0:
        percentage = 0.00

    log_battery_data(voltage, percentage)

    count += 1  # increment the reading counter
    time.sleep(interval)

These following values should be determined if we want to have a correct percentage readout, now I am testing if you have a power gain.
full_battery = 3.7                # reference voltage for a full battery, in volts
empty_battery = 0               # reference voltage for an empty battery

Here is what I have now:

Reading 1: Time: 2024-10-21 12:47:59, Voltage: 0.07V, Percentage: 1.83%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.76%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.83%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.76%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.76%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.89%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.83%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.89%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.96%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.76%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.83%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.76%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.76%
Reading 2: Time: 2021-01-01 00:03:01, Voltage: 0.07V, Percentage: 1.83%
Reading 3: Time: 2021-01-01 00:06:01, Voltage: 0.07V, Percentage: 1.76%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.89%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.83%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.76%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.89%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.83%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.83%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.89%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.96%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.89%

The first line of log is measured with connecting to the USB port on my computer, so the Time is correct. The rest of the log are written with the battery/wireless charging power supply so the time is initialised for every measurement. If the measurement is correct then the battery is not charged, but I believe this code is little buggy because I also got similar random readout when using USB charging (with Red indicator LED on).

👍 maybe also worth briefly reaching out to Pimoroni to see if they can comment.

Maybe try powering via VBUS instead of VSYS. Like you mentioned, it might be related to the USB power. I think VBUS is connected directly to USB power. Normally, powering through VSYS is safer because you're less likely to send an electrical spike back up the USB cable, potentially damaging the USB electronics. However, in this case VBUS might be what's required for the Pico Shim to work.
Do you mind giving this a try?
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Yanghuang Liu @.>
Sent: Monday, October 21, 2024 4:48:41 PM
To: AccelerationConsortium/ac-training-lab @.>
Cc: Sterling Baird @.>; Author @.>
Subject: Re: [AccelerationConsortium/ac-training-lab] Wireless charging for microcontroller (Issue #60)
I tried to test the wireless charging part with a short script to get the battery volume and storage it in a log on RB Pi.
https://github.com/pimoroni/pimoroni-pico/blob/main/micropython/examples/pico_lipo_shim/battery_pico.py
from machine import ADC
import time
vsys = ADC(29)                      # reads the system input voltage
conversion_factor = 3 * 3.3 / 65535
full_battery = 3.7                # reference voltage for a full battery, in volts
empty_battery = 0               # reference voltage for an empty battery
log_file = "battery_log.txt"         # file to store battery data
interval = 180                      # 3 minutes interval (180 seconds)
count = 1                           # counter for the number of readings
Function to write data to a file
def log_battery_data(voltage, percentage):
current_time = time.localtime()
timestamp = "{}-{:02d}-{:02d} {:02d}:{:02d}:{:02d}".format(current_time[0], current_time[1], current_time[2],
current_time[3], current_time[4], current_time[5])
with open(log_file, "a") as file:
    file.write("Reading {}: Time: {}, Voltage: {:.2f}V, Percentage: {:.2f}%\n".format(count, timestamp, voltage, percentage))

while True:
voltage = vsys.read_u16() * conversion_factor
percentage = 100 * ((voltage - empty_battery) / (full_battery - empty_battery))
if percentage > 100:
percentage = 100.00
elif percentage < 0:
percentage = 0.00
log_battery_data(voltage, percentage)

count += 1  # increment the reading counter
time.sleep(interval)

These following values should be determined if we want to have a correct percentage readout, now I am testing if you have a power gain.
full_battery = 3.7                # reference voltage for a full battery, in volts
empty_battery = 0               # reference voltage for an empty battery
Here is what I have now:
Reading 1: Time: 2024-10-21 12:47:59, Voltage: 0.07V, Percentage: 1.83%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.76%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.83%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.76%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.76%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.89%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.83%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.89%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.96%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.76%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.83%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.76%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.76%
Reading 2: Time: 2021-01-01 00:03:01, Voltage: 0.07V, Percentage: 1.83%
Reading 3: Time: 2021-01-01 00:06:01, Voltage: 0.07V, Percentage: 1.76%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.89%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.83%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.76%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.89%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.83%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.83%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.89%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.96%
Reading 1: Time: 2021-01-01 00:00:01, Voltage: 0.07V, Percentage: 1.89%
The first line of log is measured with connecting to the USB port on my computer, so the Time is correct. The rest of the log are written with the battery/wireless charging power supply so the time is initialised for every measurement. If the measurement is correct then the battery is not charged, but I believe this code is little buggy because I also got similar random readout when using USB charging (with Red indicator LED on).
—
Reply to this email directly, view it on GitHubhttps://github.com/AccelerationConsortium/ac-training-lab/issues/60#issuecomment-2427689293, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK25ABPDKTJJHGKTUQD3SATZ4VSCTAVCNFSM6AAAAABO7EYZBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRXGY4DSMRZGM.
You are receiving this because you authored the thread.Message ID: @.***>

Maybe try powering via VBUS instead of VSYS. Like you mentioned, it might be related to the USB power. I think VBUS is connected directly to USB power. Normally, powering through VSYS is safer because you're less likely to send an electrical spike back up the USB cable, potentially damaging the USB electronics. However, in this case VBUS might be what's required for the Pico Shim to work. Do you mind giving this a try?

I will try this out later.
I drained the battery overnight. Now I am trying to see if I can get it charged with the transmitter.

https://forums.pimoroni.com/t/pico-lipo-shim-used-pins/21995

40 - VBUS ,used to charge the battery

Using VBUS can light up the charging indicator:

Code to measure VSYS with PicoShim and PicoW:
https://www.reddit.com/r/raspberrypipico/comments/xalach/measuring_vsys_on_pico_w/
Note: The wlan should be disabled in order to get a normal readout, tested with this code and here is what I have:
Voltage: 4.769855
the readout seems to be at a reasonable range but we still need the reference value of the battery to calculate the percentage.

Test of the charging port and the (semi)assembled sensor package:
https://github.com/user-attachments/assets/5e4756c6-b193-4693-a8a2-a2e4f58f586e
With light color 3d printing material, the indicators could be visible from outside:

Things to purchased:

Qi wireless charging pairs https://www.adafruit.com/product/2162 https://www.adafruit.com/product/1901
Short micro-USB to USB 2.0 cable (I will use the short angled one you bought before, seems quite good to fit in the port design)
PiCowBell P5905 https://www.adafruit.com/product/5905

Have we been using a "regular" 5V / 1A power supply, or are you using a 5V / 2A one? Should I get another?

I am using the USB port on the power stripe next to the Nokia so I think it is 5V/1A. I have a power supply with an output of 5V/2A though(not sure if the angled USB cable supports 2A or not.)

Cables we have: [1] [2]

[1] This one supports 5V/2.4A if we find the efficiency is an issue

This is my current shopping cart: https://www.digikey.ca/short/fjrh0vbq

DigiKey

It seems Digikey only sales the same configuration with one meter or two meters length.

Ordered https://www.amazon.ca/gp/product/B073PQWY2B/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1 and https://airtable.com/appTUMy18WlaGHrTJ/tblxxujYNzi0ebwui/viw46XHCvnOKA3jM1/rece1L52DosUhBEbJ/fldZn7KulHwIoWokF?copyLinkToCellOrRecordOrigin=gridView (also has a solenoid and some electromagnets, unrelated to this).

The rated 5V/1A USB cable can power both receivers for battery charging, though it’s unclear how this setup affects efficiency

The dual-charging design is finished, here is the test video:
https://github.com/user-attachments/assets/7caff239-0f2c-4b0a-bf39-425b64f7bc08
I finished most of the write-up for the sensor package assembly last Friday. I plan to complete the section for the charging port tomorrow and start taking photos/videos after that.
We could find some time to review the draft (with the parts in hand) to see if there’s anything to add or adjust for the design and assembly documentation.


ALCOM Compatibility With Flatpak Unity Hub

Description of the bug / バグの説明
During the setup of ALCOM it doesn't detect that I have the flatpak version of the Unity Hub installed, it seems to not be satisfied until I point it to an executable file so pointing it to either of the executables in the .ld.so (in ~/.var/app/com.unity.UnityHub/) folder let me continue but doesn't actually work for launching Unity itself. Attempting to open a project just results in it saying that I don't have a valid active Unity license.
Steps to Reproduce / 再現手順

Install flatpak Unity Hub
Open ALCOM
ALCOM complains of being unable to find Unity Hub
Point to the only executable within the app folder

Expected Behavior / 想定される挙動
It'd be nice if it could automatically detect the flatpak install, otherwise some documentation on what to point to for the flatpak install would also work just fine.
Screenshots / スクリーンショット
No response
Software Version / バージョン情報
v0.1.13
OS
Fedora 40 KDE Plasma Spin
Additional context / 補足
No response

license problem might be related to #653
For unity hub path detection, could you let us know the absolute path of unity hub executable installed with flatpak?

license problem might be related to #653
For unity hub path detection, could you let us know the absolute path of unity hub executable installed with flatpak?

I genuinely have no clue which executable in the flatpak is the unity executable I'll be honest.

I think good to support flatpak installation of unity hub l however I currently doesn’t have enough time for researching flatpack and flatpack distribution of Unity Hub so I need more information or help for fixing this problem.

For unity hub path detection, could you let us know the absolute path of unity hub executable installed with flatpak?

/var/lib/flatpak/app/com.unity.UnityHub/current/active/files/extra/unityhub
current and active are both symlinks. The real path to the flatpak app's folder without symlinks can be found with the following command flatpak info -l com.unity.UnityHub which will output something like:

/var/lib/flatpak/app/com.unity.UnityHub/x86_64/stable/174c4c04a73215d38a16aba984fd9c414be0a9c33801b3eb536357badc590f47

files/extra/unityhub will need to be appended to the output of the command to actually launch unity hub.
#!/bin/sh
# This will launch unity hub
$(flatpak info -l com.unity.UnityHub)/files/extra/unityhub

Since flatpak info -l outputs the real path to the app which involves the commit hash, this path will change when the app gets updated by flatpak which will make storing the path on disk bad. It'll be best to use the path that points to symlinks instead.
I was not able to reproduce the unity license error after I signed into the unity hub installed via flatpak with my account.

there is no problems with symlinks so we can use /var/lib/flatpak/app/com.unity.UnityHub/current/active/files/extra/unityhub.

Hello!
I wanted to provide more information due to #1551 to clarify what file is what.
This command will most likely be what you're looking for to add flatpak support.
/var/lib/flatpak/exports/bin/com.unity.UnityHub --

Here's images for more information if needed.

Below are the paths to different shell scripts and symlinks involving flatpak.

I made sure arguments would be passed correctly to unity hub via flatpak

Regularly passing arguments to a unity hub install for comparison

The key difference between the last two images is the -- after the script. Therefore it seems /var/lib/flatpak/exports/bin/com.unity.UnityHub -- is the right choice. I hope this helps!
I'm sorry for the confusion! I will admit I don't use flatpak therefore I am inexperienced with how it works, but I like learning. Thank you for your work on vrc-get!

Umm... I feel it is bad behavior (close to bug in flatpak or flatpak distribution of unity hub) to needing '--' to call flatpak version of unity hub. I was not planned to add '--' to call unity hub.
I want to hear why wrapper needs '--' before '--headless'

Sorry for confusion.
I mean I want to hear why flatpak developers desgined wrapper script to needs '--' before '--headless'.
If the wrapper is intended to be used as an original, then I think flatpak should put '--' in the com.unity.UnityHub file as follows.
#!/bin/sh
exec /usr/bin/flatpak run --branch=stable --arch=x86_64 com.unity.UnityHub -- "$@"

oooh I see! I can only guess, but /var/lib/flatpak/export/bin is meant to be added to the PATH env so something like com.unity.UnityHub can be called. It would allow the user to add additional flatpak arguments after com.unity.UnityHub. If the -- was added in the shell script, the user would no longer be able to pass flatpak arguments which may not sound like the intended behavior that flatpak devs would want.
A flatpak issue would most likely be for the best to get an official answer from a flatpak maintainer.

I created flatpak/flatpak#5955 and flatpak team told us it's flatpak package problem. I'll create issue on unity hub package on flathub later.

I went ahead and read the linked issue and tried out their suggestion of calling --version. I conveniently have blender installed via flatpak so I tried the argument on that to confirm.

Successfully passing --version to org.blender.Blender

com.unity.UnityHub ignoring arguments and launching normally

I have created issue for unity hub on flathub.
flathub/com.unity.UnityHub#126
When upstream issue is fixed, I'll simply add /var/lib/flatpak/export/bin/com.unity.UnityHub to default unity hub search path

Upstream issue is kept for 3 weeks. I don't know flatpak much so I'm happy if someone create pull request for unityHub on flathub.
Or let me know if it's already resolved.

Hello flatpak users!
Sorry for no update on this issue. I still is waiting on fixing flathub/com.unity.UnityHub#126.
Anyway, I'm frustrating on slow response from unity hub so I'm working on rewriting logic to get list of unity-hub installed / known unity in #1808 recently.
However, it might be incompatible with sandbox like flatpak so I want to discuss if it would break compatibility with flatpak, and how should we fix if it broke in #1808.
Could you help us please?
New implementation will look for ~/.config/UnityHub and /usr/share/unity3d/config for unity hub settings, and ~/Unity/Hub/Editor and configured path in settings for actual installation.
If sandbox of flatpak hides one of them, it would be incompatible with new logic.
I don't understand flatpak but I'm happy if flatpak has some way to steal /usr of one sandbox from other application.


More detailed WebSocket upgrade errors

WebSocketUpgrader.buildUpgradeResponse throws an invalidUpgradeHeader error in three cases:

The Sec-WebSocket-Key or Sec-WebSocket-Version headers are absent
The Sec-WebSocket-Key or Sec-WebSocket-Version  headers have multiple values
The Sec-WebSocket-Version value is not 13

A caller that catches this error, has no way to determine which one of the three cases caused the error. This caller (server) may want to return a detailed error message to the client that requested the invalid upgrade.
Two ways of implementing this would be:

Split invalidUpgradeHeader into fine-grained cases in the NIOWebSocketUpgradeError enum
Provide an associated value (an error code or an error message) for invalidUpgradeHeader

Are there any other ways of getting this next detail of information from the upgrader, in its current form?
cc @Lukasa

Ah, actually, the first option doesn't work, as we have no pipeline context with which to return the additional errors.

Ok, I think a flag on init is bad. So let's re-evaluate.
To get this to work today, @pushkarnk, you can write a small delegate object like this:
public final class WrappingWebSocketUpgrader: HTTPProtocolUpgrader {
    private let _wrappedUpgrader: WebSocketUpgrader
    public var supportedProtocol {
        return self._wrappedUpgrader.supportedProtocol
    }

    public var requiredUpgradeHeaders: [String] {
        return self._wrappedUpgrader.requiredUpgradeHeaders
    }

    // You'd need to provide an init here, I'm not writing it because it's not germane to the example

    public func upgrade(ctx: ChannelHandlerContext, upgradeRequest: HTTPRequestHead) -> EventLoopFuture<Void> {
        return self._wrappedUpgrader(ctx: ctx, upgradeRequest: upgradeRequest)
    }

    public func buildUpgradeResponse(upgradeRequest: HTTPRequestHead, initialResponseHeaders: HTTPHeaders) throws -> HTTPHeaders {
        do {
            return try self._wrappedUpgrader(upgradeRequest: upgradeRequest, initialResponseHeaders: initialResponseHeaders)
        } catch NIOWebSocketUpgradeError.invalidUpgradeHeader {
            let keyHeader = upgradeRequest.headers[canonicalForm: "Sec-WebSocket-Key"]
            let versionHeader = upgradeRequest.headers[canonicalForm: "Sec-WebSocket-Version"]

            if keyHeader.count == 0 {
                // throw appropriate sub-error
            } else if keyHeader.count > 1 {
                // throw appropriate sub-error
            } else if versonHeader.count == 0 {
                // throw appropriate sub-error
            } else if versionHeader.count > 1 {
                // throw appropriate sub-error
            } else if version.first! != "13" {
                // throw appropriate sub-error
            } else {
                throw error
            }
        } catch {
            throw error
        }
    }
}

The code could be cleaned up slightly, but this would basically work. This gives you a special-case upgrader that delegates its behaviour to the backing upgrader but transforms the errors where necessary. It should be the easiest thing to do without a semver-major.

For 2.0 I think we need to remove this error enum and replace it with the error pattern we've been using elsewhere involving protocols and structs. We also then obviously need to address the lack of granularity in this error.

@Lukasa I agree with everything you said really but maybe instead of a flag for init, we could maybe

deprecate the old init (and make it set an self.newErrorStyle = false)
deprecate the old error itself
make up a new init (and make it set self.newErrorStyle = true)
in case of error we check the newErrorStyleFlag and propagate the appropriate errors

Yeah, we could do that. I don't think the flag was the bit of this I liked least, really: I think my biggest problem is that it essentially becomes a boolean flag passed at one line of code to change the return value of a function at a completely different place. In essence this function just has two APIs, which is pretty sad and weird.

@Lukasa agreed. Your call if the status quo or the flag is worse :)

Thanks @Lukasa for helping me work around this limitation!

Splitting this into two issues. We'll move to the struct errors in 2.0, but will delay adding the more detailed errors until after the 2.0 release. This issue will track the more detailed errors: #839 will track the move to structs. Removing from 2.0.


feat: add command history support

Thanks for your contribution @iloveitaly - will try and take a closer look this weekend!

Hey @iloveitaly - sorry about the delay here. Been a busy past few months for me and didn't quite get around to giving this a proper review. I really like what you've done here but think the history file location should be configurable. As it works now, it just writes to .jqp_history in pwd. What do you think?


Arch.exe closes when you use run argument

Describe the issue
I'm not sure if it is a bug but also I would like to ask about it.
When you use Arch.exe run "echo 'hello'" the Arch Linux instance is closed. I would like to prevent this closing because I'd like to do something like
Arch.exe run "termite & && disown (pgrep termite) && exit"
That way I'd be starting directly my favorite terminal into my xming instace but keeping the Arch Linux instance running in background.
To Reproduce
Using the run argument for Arch.exe produces an unexpected closure (in my opinion)
Expected behavior
I'd like to run a particular command but not closing Arch.exe after that execution.
Screenshots

Enviroment:

Windows build number: 10.0.18363.778
Security Software: Windows Defender
WSL version 1/2: I don't know because wsl -l -v just shows the same than wsl --help so I guess the WSL1
ArchWSL version <IP_ADDRESS>
ArchWSL Installer type zip/appx/other clean/update I'd say via appx but I don't remember right now
Launcher version wsldl, version 20040300

Additional context
Maybe this is an intenctional/wanted behaviour, but I would like at least to know how to prevent that closure.

This issue will not be fixed.
You can prevent the close by devising the command line.
e.g.
Arch.exe run "echo 'hello';bash"


Non-deterministic test failures on vim-v8.0.0027 for test_command_chain.vader

This issue tracks the non-deterministic test failures noted in pull requests #411 and #409.
On Arch Linux I can locally reproduce with:
git clone https://github.com/w0rp/ale
cd ale
make test # if successful, keep running a few more times
make test
make test
....

Eventually one test case fails for me non-deterministically but only in the case of vim-v8.0.0027 and never for vim-v8.0.0000. I have a failure on 5 / 10 runs. The only test case I can reliably reproduce failure on, and the one seen in PR #411, is copied here:
  Starting Vader: /testplugin/test/test_command_chain.vader
    (1/1) [  GIVEN] Some imaginary filetype
    (1/1) [EXECUTE] Check the results of running the chain
    (1/1) [EXECUTE] (X) The final callback was not called
  Success/Total: 0/1

There is a travis log showing the failure on my PR #411 branch here. But I can reproduce on the upstream master as well.

In fact, the master build failed when my README change was merged in it looks like! Despite the change passing checks when I pushed it.
Here is the travis log showing the same test case failing on the tests triggered by that merge.

I believe I have fixed this now, but if this happens again, I'll re-open this issue. I believe the issue was caused by not being able to read data from stdin when the Vader tests were being run from inside of the docker image when the echo commands just so happened to run before Vader had finished writing its output to the terminal... or something like that. The commands in that test file don't need to read from stdin at all, so that was easy to fix.


Not an Issue: Group Header Pinned to top

Dear Volkan
Is it possible to pin Group Header to top , so that it will be seen on top of the grid even after scrolling,
and will be replaced with next header?
regards
Shailesh

No, i don't think there is such


improving path guided SGD

Various hacks.

use xoshiro+ as a PRNG (we generate lots of random numbers)
use a "fast pow" to speed up our zipf distribution sampling

This is good for a ~40% speedup.

Let me test this again.

Works on my side :)


Email server / notifications

reference for email notifications:
https://docs.google.com/spreadsheets/d/1OSvi8ge-pghkIzBgVKfafXxxXeBYpaDX0U8xIZZjuoc/edit#gid=0

Azure doesn't have a builtin email service like AWS SES, it relies on 3rd party SMTP relay. This example uses SendGrid: https://docs.microsoft.com/en-us/azure/sendgrid-dotnet-how-to-send-email

old, close for now


New flake: grpclb_end2end_test --gtest_filter=UpdatesTest.ReresolveDeadBackend

Failing on linux opt.
Most likely introduced recently, let's track it down.
https://sponge.corp.google.com/invocation?id=880fd426-9165-47f3-9997-9b5a5e47c0a4
https://sponge.corp.google.com/invocation?id=c7a1d491-9b17-4dbe-a8ca-b72463aff084
https://sponge.corp.google.com/invocation?id=c7a1d491-9b17-4dbe-a8ca-b72463aff084
https://sponge.corp.google.com/invocation?id=908aa634-ff89-455d-8f4a-feece4fddf2f
First occurrence ever is here:
https://sponge.corp.google.com/invocation?id=86203bd0-1c62-42c7-89c9-3b0a084c6653

Easily reproduced with tools/run_tests/run_tests.py -l c++ -c opt -r 'UpdatesTest.ReresolveDeadBackend' -n 100

@AspirinSJL , it looks like the culprit is
https://github.com/grpc/grpc/pull/13671.

Ah, apparently - the test was actually added in that PR:
https://github.com/grpc/grpc/pull/13671/files#diff-9c7f9543d2e67573f1e8a091c8f52b46R1093
Please fix ASAP or revert.

I0207 13:48:09.713155740    2854 grpclb_end2end_test.cc:1191] ========= BEFORE FIRST BATCH ==========
I0207 13:48:09.713512308    2854 subchannel.cc:603]          New connected subchannel at 0x117bdd0 for subchannel 0x117ab70
I0207 13:48:09.713893736    2881 grpclb_end2end_test.cc:187] LB[0x11722f0]: BalanceLoad
I0207 13:48:09.714175325    2881 grpclb_end2end_test.cc:191] LB[0x11722f0]: recv msg 'initial_request {
  name: "servername_not_used"
}
'
I0207 13:48:10.213667350    2854 subchannel.cc:603]          New connected subchannel at 0x117cf90 for subchannel 0x7fa9ac001750
I0207 13:48:10.215168237    2854 grpclb_end2end_test.cc:1193] ========= DONE WITH FIRST BATCH ==========
I0207 13:48:10.215192072    2854 grpclb_end2end_test.cc:1198] ********** ABOUT TO KILL BACKEND 0 *************
I0207 13:48:10.215196209    2854 grpclb_end2end_test.cc:140] Backend: shut down
I0207 13:48:10.215199967    2854 grpclb_end2end_test.cc:574] backend about to shutdown
I0207 13:48:10.215365312    2854 grpclb_end2end_test.cc:577] backend shutdown completed
I0207 13:48:10.215377106    2854 grpclb_end2end_test.cc:1200] ********** KILLED BACKEND 0 *************
I0207 13:48:10.215429136    2881 grpclb_end2end_test.cc:251] LB[0x11722f0]: done
I0207 13:48:10.215667036    2854 subchannel.cc:641]          Connect failed: {"created":"@1518011290.215648461","description":"Failed to connect to remote host: OS Error","errno":111,"file":"src/core/lib/iomgr/tcp_client_posix.cc","file_line":198,"os_error":"Connection refused","syscall":"connect","target_address":"ipv4:<IP_ADDRESS>:5028"}
I0207 13:48:10.215711373    2854 subchannel.cc:466]          Subchannel 0x7fa9ac001750: Retry in 1000 milliseconds
I0207 13:48:10.215939133    2854 subchannel.cc:603]          New connected subchannel at 0x117c720 for subchannel 0x117a1d0
I0207 13:48:11.215682604    2891 grpclb_end2end_test.cc:187] LB[0x11728c0]: BalanceLoad
I0207 13:48:11.215762638    2891 grpclb_end2end_test.cc:191] LB[0x11728c0]: recv msg 'initial_request {
  name: "servername_not_used"
}
'
I0207 13:48:11.215773737    2891 grpclb_end2end_test.cc:305] LB[0x11728c0]: sleeping for 0 ms...
I0207 13:48:11.215793400    2891 grpclb_end2end_test.cc:311] LB[0x11728c0]: Woke up! Sending response 'server_list {
  servers {
    ip_address: "\177\000\000\001"
    port: 19633
  }
}
'
I0207 13:48:11.215868054    2891 grpclb_end2end_test.cc:251] LB[0x11728c0]: done
I0207 13:48:11.215961545    2854 grpclb.cc:551]              Missing LB token for backend address 'ipv4:<IP_ADDRESS>:19633'. The empty token will be used instead
I0207 13:48:11.216209520    2854 subchannel.cc:603]          New connected subchannel at 0x1178f10 for subchannel 0x1176370
test/cpp/end2end/test_service_impl.cc:130: Failure
Value of: context->IsCancelled()
  Actual: true
Expected: false
I0207 13:48:11.216499593    2854 grpclb_end2end_test.cc:1222] ========= BEFORE SECOND BATCH ==========
I0207 13:48:11.217719646    2854 grpclb_end2end_test.cc:1224] ========= DONE WITH SECOND BATCH ==========
I0207 13:48:11.217735636    2854 grpclb_end2end_test.cc:140] Backend: shut down
I0207 13:48:11.217739660    2854 grpclb_end2end_test.cc:140] Backend: shut down
I0207 13:48:11.217743032    2854 grpclb_end2end_test.cc:574] backend about to shutdown
I0207 13:48:11.217922251    2854 grpclb_end2end_test.cc:577] backend shutdown completed
I0207 13:48:11.217928615    2854 grpclb_end2end_test.cc:140] Backend: shut down
I0207 13:48:11.217931821    2854 grpclb_end2end_test.cc:574] backend about to shutdown
I0207 13:48:11.218020036    2854 grpclb_end2end_test.cc:577] backend shutdown completed
I0207 13:48:11.218026264    2854 grpclb_end2end_test.cc:140] Backend: shut down
I0207 13:48:11.218030204    2854 grpclb_end2end_test.cc:574] backend about to shutdown
I0207 13:48:11.218199189    2854 grpclb_end2end_test.cc:577] backend shutdown completed
I0207 13:48:11.218214851    2854 grpclb_end2end_test.cc:266] LB[0x11722f0]: shut down
I0207 13:48:11.218218804    2854 grpclb_end2end_test.cc:574] balancer about to shutdown
I0207 13:48:11.218562976    2854 grpclb_end2end_test.cc:577] balancer shutdown completed
I0207 13:48:11.218570983    2854 grpclb_end2end_test.cc:266] LB[0x11728c0]: shut down
I0207 13:48:11.218574171    2854 grpclb_end2end_test.cc:574] balancer about to shutdown
I0207 13:48:11.218842342    2854 grpclb_end2end_test.cc:577] balancer shutdown completed
I0207 13:48:11.218852673    2854 grpclb_end2end_test.cc:266] LB[0x1172a40]: shut down
I0207 13:48:11.218857521    2854 grpclb_end2end_test.cc:574] balancer about to shutdown
I0207 13:48:11.218951678    2854 grpclb_end2end_test.cc:577] balancer shutdown completed
[  FAILED  ] UpdatesTest.ReresolveDeadBackend (1518 ms)
[----------] 1 test from UpdatesTest (1518 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (1518 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] UpdatesTest.ReresolveDeadBackend

 1 FAILED TEST
D0207 13:48:11.219780875    2854 ev_posix.cc:140]            Using polling engine: poll
D0207 13:48:11.219802880    2854 dns_resolver.cc:334]        Using native dns resolver
Command exited with non-zero status 1
real 1.52
user 0.02
sys 0.05

2018-02-07 13:48:11,226 FAILED: bins/opt/grpclb_end2end_test --gtest_filter=UpdatesTest.ReresolveDeadBackend  GRPC_POLL_STRATEGY=poll [ret=1, pid=2843, time=1.5sec]

I'll try to fix it in 1 hour. If I can't fix it, I will revert it.

@AspirinSJL  thanks!

Reverting..

After the backend is shut down, we keep sending RPCs until the re-resolution is finished. The first RPCs will fail because there are no working backend. Right after the client receives a serverlist from the new balancer, the next RPC can reach the server, but may trigger this check because the RPC is somehow cancelled. I don't know why this RPC can be cancelled but it already arrives at the server...
Wait for 500ms before WaitForBackend(1); can make the test pass.


Mods not loading in game

I have downloaded a mod which requires ModEngine2 to work. i have put the mod files into the mod folder and clicked the EldenRing.BAT, it loads into the game but the mods are not there. Any ideas why this is happening?

I'm having the same issues. Can't find any help online.

Same, version 1.05


⚠ Mobitopup has degraded performance

In ddd3ea5, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 5407 ms

Resolved: Mobitopup performance has improved in 408cd99.


[SUGGESTION] Add something like Dynamic Trees or Treecapitator Updated

Something that allows you to mine trees in one go.

No


Embedded window using ParentWindowId setting does not show FreeRDP client

I am trying to embed FreeRDP windows client inside of a panel in my windows forms application using C#. The rdp context is created fine, but when I start the client using client_start function call, it is not showing up inside the parent window. Without the embed option, it works.
I have a fix for embed option in my local.
This is what I have done so far (Steps to reproduce):

Downloaded rc4 source
Compiled FreeRDP source using CMake and built using visual studio
I had to change the "client\Windows\wfreerdp-client.vcxproj" to create a dll instead of exe since I want to consume it's functions in my windows application
I call these functions of the wfreerdp-client.dll -> "freerdp_client_context_new" function to get context and then "freerdp_client_start" function with rdp settings like Desktop_Height, Desktop_Width, ParentWindowId, Hostname set
The FreeRDP windows client is not visible since client_width and client_height is 0 when I debug the code in "wf_client_thread" function in "wf_client.c" file

Fix proposed
After making this change here in this commit, it seems to work - https://github.com/anbukart/FreeRDP/commit/b1921714349affd04d4a1bcc61ce24d97473f033
I have this fix I am using. Can you please check.

Hi @anbukart your fix looks good. Care to create a pull request for that?

Hi, @akallabeth I have created a pull request here-> https://github.com/FreeRDP/FreeRDP/pull/5269
Thanks :)

actually thank you ;)

oh, and a little trick, -DWITH_CLIENT_INTERFACE=ON for the cmake run should automatically create a library for you

Oh ok. Cool. Thanks


aarch64 workflow fails OOM

For some reason the Action building and testing the code for aarch64 started failing a few days ago. I didn't make any changes so I don't know why it now is failing. It seems like the machine gets an OOM error and the job gets killed. I'm not sure how this could be fixed. One way would be to build it natively without QEMU but that is currently not possible.
https://github.com/actions/virtual-environments/issues/2552 would make it possible.

Currently it doesn't fail. Seems like it needs close to the available memory and sometimes fails and sometimes succeeds

No failures since then


Sci-hub metadata

Is there any feature that gives metadata about an article?to be more specific giving an DOI  I want to know how many times it has been downloaded from Sci-hub.
thanks

Sci-Hub doesn't provide any metadata like how many times an article has been downloaded.


Task4

Checking whether the entered year is Leap year or not

@gayathrigundaveni
Task -4
Code verified.
Task -5
Code verified.
Task -6
Code verified.
Task -7
Code verified.
Task -8
Code verified.


Feature/styling

@tokland In this PR, we are only missing this card https://app.clickup.com/t/dn1db0 Basically, we just need to add a 'tick' icon on the left of the selected profile. For now, until we have implemented the logic, can you please add the tick to the 'General' profile? The highlight effect will show up on hover as is now. It would be great if you can have a look as well to the rest of the PR. If everything is correct I will merge it to your branch if it is fine with you.


carp ai should be smarter

Description

on salvage wrecks carp ignore anyone in space unless theyre within the same tile or so
on expeditions carp dont try to break windows or anything to chase players (they cant pry doors so theyd have to break doors too if there are no windows) - would also affect fishops
carp love to wander off of grids by flying off the edge for some reason???

Their space movement needs to feel more like magboots, same with space bears
space carps need the same stuff xenos have for breaking stuff (maybe just add it to simplemobbase)
space pathfinding is hard for the last one but I might tackle it with pathfinder refactor.

adding to simplemobbase would probably make shiva/cats break windows to get to mice - not good


Document Missing Template Error: The operation couldn’t be completed

hi,I try to build TraceUtility with Mac OS X 10.10.5 ,Xcode7.0 ,but I got an error:
Error: Error Domain=com.apple.instruments Code=-6 "Document Missing Template Error: The operation couldn’t be completed. (com.apple.instruments error -6.)"
have you ever meet this problem?

Not yet. Was that a valid trace document? Can you open it in Instruments?

On Oct 15, 2015, at 14:54, zhangweike<EMAIL_ADDRESS>wrote:
hi,I try to build TraceUtility with Mac OS X 10.10.5 ,Xcode7.0 ,but I got an error:
Error: Error Domain=com.apple.instruments Code=-6 "Document Missing Template Error: The operation couldn’t be completed. (com.apple.instruments error -6.)"
have you ever meet this problem?
―
Reply to this email directly or view it on GitHub.

I just found I use the wrong directory of my trace document……now it run successfully!
I'm trying to find a way to parser the data of an Energy Diagnostics Template  trace,but the methods of XRStreamedPowerRun are totally different.So I decompiled XRPowerInstrument.xrplugin, trying to find something useful.


浏览器不支持document.registerElement方法了

浏览器不支持document.registerElement方法了

If you just need to quickly use this without fixing this bug, use an older version of Chrome/Chromium:
eg:
https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Mac/690231/

older version Chrome is ok?

Yeah, click that link above and download an old version of chromium


Wallet - Left side bar is LHN instead of Settings after adding a bank account

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.61-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
Issue found when executing PR https://github.com/Expensify/App/pull/39038
Action Performed:

Go to staging.new.expensify.com
Go to Profile > Wallet
Add /add-bank-account-refactor to the URL and navigate to it
Add a bank wallet

Expected Result:
After adding a bank account, the left side bar and the right screen will open settings page
Actual Result:
After adding a bank account, the left side bar is LHN, while the right screen is Wallet page
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/88a8dd49-78be-4420-89c6-dbc1835bc0d2
View all open jobs on GitHub

@rlinoz  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

Looking at the videos in the original PR it looks like it is working as intended, maybe @mountiny or @shawnborton can confirm?

Hmm I don't think anyone would directly access the page called /add-bank-account-refactor  - that might just be something temporary as we work through all of the styles here? Definitely curious for @mountiny 's take but I have a feeling we can close this one out?

I think we map the central pane to RHP in these cases for deeplink cases. In this case by adding
SCREENS.SETTINGS.ADD_BANK_ACCOUNT_REFACTOR,

here
https://github.com/Expensify/App/blob/dd30d137b485482bb8e4c61700b58d2e03683124/src/libs/Navigation/linkingConfig/CENTRAL_PANE_TO_RHP_MAPPING.ts#L35
Also, this route being sub-part of wallet shouldn't this be in WALLET here
https://github.com/Expensify/App/blob/dd30d137b485482bb8e4c61700b58d2e03683124/src/SCREENS.ts#L70
instead of directly in SETTINGS here
https://github.com/Expensify/App/blob/dd30d137b485482bb8e4c61700b58d2e03683124/src/SCREENS.ts#L35

@rlinoz thanks for the ping
This is not used flow yet and its middle of development hence the special route. We can close this
@koko57 will address this in the future work, the page needs to be added to the correct mapping

yes, it's temporary as the refactor is being worked on - I'll take care of that in one of the following PRs
cc @mountiny @shawnborton


Dispatch scroll events

Feature
Perfect scrollbar will dispatch custom events:
ps-scroll-y
This event fires when the y-axis is scrolled in either direction.
ps-scroll-x
This event fires when the x-axis is scrolled in either direction.
ps-scroll-up
This event fires when scrolling upwards.
ps-scroll-down
This event fires when scrolling downwards.
ps-scroll-left
This event fires when scrolling to the left.
ps-scroll-right
This event fires when scrolling to the right.
Technical
All modifications of scrollTop and scrollLeft are done by the new updateScroll() function. This is also the function which detects the scroll direction, and dispatches the events. updateScroll() can be found in /src/js/plugin/update-scroll.js
Improvements
This addresses issue no. #94

Looks superb :thumbsup: Can you add an example too? If you're busy, I can do.

And I'd like to add you as a contributor of this project, thanks to your wonderful helps. Please feel free to tell me if you like it.

Sure thing, I'll make the changes to the documentation, and I'll also add an example.
I'm happy to be added as a contributor, thanks!

@noraesae Fixed the documentation and added an event.

Great :smile: I added you as a collaborator too :+1:

From now on, please feel free to push any commit, resolve any issue and so on. I will also review the work and leave a comment.
Thanks!

Thanks @noraesae, I actually realised there could also be the need for events when the user hits the top / bottom of the chart. I was initially thinking of calling ps-scroll-top and ps-scroll-bottom, but this wouldn't be semantic for events on the x-axis.
Any suggestions for some better naming?

Til now I've recommended user using the custom callback to handle the event, like this, but I think now we have a custom event interface and there's no reason not to implement that.
I'm also not sure about the event name, but may using reach in the names looks okay?

You can call it ps-scroll-start and ps-scroll-end – it is used by CSS' flexbox.

@zomp, good suggestion. I like calling these sides start and end. Now these events could occur both on y as well as the x axis.
Also start or end could imply something is starting/ending, but with the usage of the word reach this could be solved:
Bringing it all together I think we could use something like:
ps-x-reach-start, ps-x-reach-end ?

@DanielApt, I like the names. Infinitive reach is consistent with click, load, focus and other event names. The order (infinitive + specification) is consistent with mouseover, keydown...

Alright, I'll implement the events ps-x-reach-start, ps-x-reach-end, ps-y-reach-start and ps-y-reach-end

Just added the new events as well.

Great work.


User Story/ACC

User Story:
AS A project team member with multiple tasks to organize
I WANT a task board
SO THAT I can add individual project tasks, manage their state of progress and track overall project progress accordingly
Acceptance Criteria:

GIVEN a task board to manage a project
WHEN I open the task board
[x] THEN the list of project tasks is displayed in columns representing the task progress state (Not Yet Started, In Progress, Completed)
WHEN I view the task board for the project
[x] THEN each task is color coded to indicate whether it is nearing the deadline (yellow) or is overdue (red)
WHEN I click on the button to define a new task
[x] THEN I can enter the title, description and deadline date for the new task into a modal dialog
WHEN I click the save button for that task
[x] THEN the properties for that task are saved in localStorage
WHEN I drag a task to a different progress column
[x] THEN the task's progress state is updated accordingly and will stay in the new column after refreshing
WHEN I click the delete button for a task
[x] THEN the task is removed from the task board and will not be added back after refreshing
WHEN I refresh the page
[x] THEN the saved tasks persist

Issue completed


./DeepOniond: error while loading shared libraries: libboost_system.so.1.55.0: cannot open shared object file: No such file or directory

./DeepOniond: error while loading shared libraries: libboost_system.so.1.55.0: cannot open shared object file: No such file or directory
lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 17.04
Release:	17.04
Codename:	zesty

you might try to install following libraries :
libboost-system1.55-dev - Operating system (e.g. diagnostics support) library
libboost-system1.55.0 - Operating system (e.g. diagnostics support) library


Property type "boolean" with "enum" doesnt work/wont show an error

{
"properties": {
"boolVal": {
"type": "boolean",
"enum": [
"false"
]
}
}
}
This code with literally crash the whole editor, no matter if there is more code or not. The Editor wont load. Basic Idea was to make only "false" available from a bool object by setting an enum with the only option bool.

Use false without quotes. The string "false" is not a valid Boolean value.


Fix redis/http triggers

chore: Drop trigger-new leftovers
If this is intentional, I'll drop this commit.
fix(spin-redis-engine): Fix error during startup
Steps to reproduce:
spin main $ cargo build
$ cd ..
$ spin/target/debug/spin new redis-rust spin-redis-rust-example
Project description:
Redis address: redis://localhost:6379
Redis channel: messages
$ cd spin-redis-rust-example
spin-redis-rust-example $ ../spin/target/debug/spin build --up --follow-all
Executing the build command for component spin-redis-rust-example: cargo build --target wasm32-wasi --release
Successfully ran the build command for the Spin components.
Error: Failed to configure Redis trigger

Caused by:
    metadata error: missing required "redis_address"
Error: exit status: 1

Closes #799.
chore(spin-http): Fix base mapping
Set base path in spin-http rather than joining it as part of the route.
Split test configs in spin-testing because the trigger's configuration
is different for http and redis.
The latter isn't a user-facing bug, but the base is set internally to / (because there is no such key in metadata) and all routes have a base prefix in their paths. This commit makes the behavior consistent with the redis trigger.
Also, out of the current testing crate, it looks like it's possible to have different triggers (http and redis) simultaneously in one spin app. According to the current templates, I couldn't figure out how to do this, so I split testing configs for now.

I can confirm the redis-rust trigger template works with a build from this PR.

chore: Drop trigger-new leftovers

Thanks. This must have been a bad rebase conflict resolution from right before merging.


package not found when installing with yarn 4

➤ YN0000: · Yarn 4.1.0
➤ YN0000: ┌ Resolution step
➤ YN0035: │ ast-mlkit-translate-text@npm:1.0.0: Package not found

It's not published on npmjs yet:
https://www.npmjs.com/search?q=fast-mlkit-translate-text
temp solution with yarn 4: yarn add fast-mlkit-translate-text@https://github.com/yaaliuzhipeng/fast-mlkit-translate-text

sry, forgot to publish it to NPM 😂 fixed!


release-21.2: ui/cluster-ui: fix routing to statement details page

https://github.com/cockroachdb/cockroach/pull/70804 --- Release note (ui change): For statement detail URLs, the app name and database name are now query string parameters. The route to statement details is now definitively /statement/:implicitTxn/:statement?{queryStringParams}.  e.g. statement/true/SELECT%2520city%252C%2520id%2520FROM%2520vehicles%2520WHERE%2520city%2520%253D%2520%25241?database=movr&app=movr

This is a bug fix that does not affect user documentation.


Enclose file name variable in quotes

If I am not mistaken (I am far from a Bash expert :-) ), the $file variable must be enclosed in quotes to ensure proper handling of spaces in the name. Otherwise each chunk of characters separated by a space are seen as a different argument by basename.
For example (a real case), if $file is not enclosed in quotes and its value is ./tests/karma-coverage/PhantomJS 2.1.1 (Linux 0.0.0)/lcov.info the arguments received by basename would be ./tests/karma-coverage/PhantomJS, 2.1.1, (Linux and 0.0.0)/lcov.info instead of a single one.

It looks like this PR fixes #105

Will deploy asap

Thanks @stevepeak


Inconsistent representation of 'this' when debugging javascript

It seems that the debugger is converting lambda/arrow functions into regular anonymous functions which has a different this context. So it's not a true representation of the context at runtime.

By changing the inner lambda function to a regular function() {} in the code above it works as expected.
Similar issue to this https://github.com/Microsoft/vscode/issues/6866 only it effects ES6 not just Typescript.

VSCode Version: 1.12.2
OS Version: Mac OSX (Sierra - 10.12.3)
Nodejs Version: 8.0.0

Note:
Debugging with legacy protocol because Node.js v7.7.1 was detected.
node --debug-brk=11009 --nolazy src/index.js
Steps to Reproduce:

Create a function scope.
Inside the function declare a lambda function which uses this inside it.
Ensure you call the lambda
Put a breakpoint inside the lambda function
this in the locals/debug window is showing the inner anonymous function scope where as in the actual runtime; this is referring to the outer function scope (like it should in lambda functions)

@marc-costello please note that you are using node.js 7.7.1 and not 8.0.0.
The VS Code node-debugger does not transform anything, so what you see is what the node.js runtime provides.

I will verify that what you see with VS Code is the same as what you see in the Chrome dev tools.

same issue

We no longer support node.js 7.7.1.


MatBottomSheet with EventEmitter

Feature Description
I want to be able to call a function of the Component the Bottom Sheet was called from.
For example, Ionic has methods as parameters of a Modal Instance:
`
    openModal(item) {
        const modal = this.modalCtrl.create(ModalComponent, {
          someModalMethod: (parameter) => {
            this.someComponentFunction();
          },
          someData: this.someComponentData
        });
        modal.present();
      }
`

Use Case
If the Bottom Sheet has some action, which can be useful for the component, from which the Bottom Sheet was opened.

MatBottomSheetRef has an afterOpened stream for this.

Dear Angular Team!
From the docs:
afterOpened
Gets an observable that is notified when the bottom sheet has opened and appeared.
That doesn't really show how it works, now, does it?
Of what use is an api if there is no implementation example in the docs?
I don't see how afterOpened can enable me calling a function of the Component from which the Bottom Sheet was called.
Ok, I found it here:
https://github.com/angular/components/issues/3593#issuecomment-286397115
`
  const sub = bottomSheet.instance.onSelect.subscribe((val) => {
     console.log(val);
  });

   etc...
`


Like and Dislike Functionality

On video.html page like and dislike functionality is non functional. i want when some one likes or dislike the video it should show the count of likes and dislikes on that video also one person can either like or dislike and that too only once.

Hey @Rishabh32700 I can do this task, Please can you assign it to me.
Thanks !

Hey @Rishabh32700 , Can you please assign this task to me under Hacktoberfest tag . I would love to work on this.

hey @Rishabh32700 , can you please assign this task to me under Hacktoberfest Tag!


Add data from Illinois Traffic Stops?

https://illinoistrafficstops.com/ is a website put together by volunteers who have acquired data for all Illinois traffic stops through 2019. They have made the data available on Dropbox: https://www.dropbox.com/sh/u2qq21gib0py19k/AAB4_7fKHjDBWZ2V_2mGH3_ca?dl=0
We could include this data in our tool if we created a dropbox data loader and used the dropbox package to download the CSV files.

Code for testing dropbox loading of Illinois data.
Install dropbox
pip install dropbox
You need an access token.

Go here: https://www.dropbox.com/developers/apps
Click Create App
Select Scoped Access
Select Full Dropbox
Name app (doesn't matter name but has to be unique to you) and click Create App.
According to this, the scope settings must be set prior to generating the access token.
Go to Permissions tab
Turn on sharing.read
Go to Settings tab
Click Generate under Generate Access Token. This token will be need to use the dropbox Python package

Test code for access data:
import dropbox
token = "string with your token"
dbx = dropbox.Dropbox(token)

# https://stackoverflow.com/questions/66528683/download-file-from-shared-dropbox-using-dropbox-apierror
shared_link = "https://www.dropbox.com/sh/u2qq21gib0py19k/AAB4_7fKHjDBWZ2V_2mGH3_ca?dl=0"
metadata, res = dbx.sharing_get_shared_link_file(url=shared_link, path="/raw/2004 Raw Data - Individual Agencies/ADDISON Police Year2004.txt")

# metadata.link_permissions.allow_download indicates if the file can be downloaded
k = 0
for line in res.iter_lines():
    print(line)
    if k==1:
        break
    k+=1

res.close()

Sent out an email to find the provenance of this data

Sent out an email to find the provenance of this data

No response. Closing issue.


small doc changes

A couple of small changes.
I debated how to document the extras installation of tiled server. [complete] was the easiest way to get this tutorial to work...it needs arrow and dask[dataframe] and maybe more. And for a tutorial, I thought ease of installation might beat dependency isolation.

Thanks!