multiple same services

hi i want to create a hardware rev and software rev character to 'device info services', part of Bluetooth Base UUID (xxxxxxxx-0000-1000-8000-00805F9B34FB). i could advertise service with success, unfortunately there is multiple "Device Information" services on advertisement. I assume device already create a service  based on "Device Information UUID" with "PnP ID" character.
According to google this Pnp id;" This interface represents the Pn PID GATT Characteristic with uuid 2A50. It is referenced by the DeviceInformation service."
So the problem is, due to double "DEVICE INFO" services characteristic not found on central side. App found "Device Service" based on UUID unfortunately this service contains only PnP ID character.
I could not find a solution to add hardware rev and software rev char to single Device Information Service, and i need help.
Thank you.

hi, yes I also noticed that. Bluez is automatically doing that and it is not caused by this library. However, I haven't figured out a way to solve it...

ok, thanks for your answer. I am still digging.

What an awesome library, thank you! I am running into this issue as well as I build a Polar H10 emulator. Occasionally my DIS using bluez_inc works, but it too frequently fails. I've tracked it down to the doubly-linked GList in binc_service_get_characteristic. (it seems) bluez inserts a 2a50 as the first and last element in the list, so any search not for 2a50 fails.
I inserted a number of log_debug statements adding func at the start--
FAILS (apparently using bluez auto-installed service/chars)
DEBUG [Device] binc_device_get_characteristic: Found service 0000180a-0000-1000-8000-00805f9b34fb
DEBUG [Service] binc_service_get_characteristic: Searching for characteristic <00002a26-0000-1000-8000-00805f9b34fb>
DEBUG [Service] binc_service_get_characteristic: Found characteristic 00002a50-0000-1000-8000-00805f9b34fb
DEBUG [Device] binc_device_read_char, service 0000180a-0000-1000-8000-00805f9b34fb, characteristic 00002a26-0000-1000-8000-00805f9b34fb, is null
DEBUG [gymlink.c] on_services_resolved: (pi3dev) could not read characteristic 00002a26-0000-1000-8000-00805f9b34fb`
WORKS (same code, different run, iterates through the list properly apparently using my services/chars)
DEBUG [Device] binc_device_get_characteristic: Found service 0000180a-0000-1000-8000-00805f9b34fb
DEBUG [Service] binc_service_get_characteristic: Searching for characteristic <00002a26-0000-1000-8000-00805f9b34fb>
DEBUG [Service] binc_service_get_characteristic: Found characteristic 00002a50-0000-1000-8000-00805f9b34fb
DEBUG [Service] binc_service_get_characteristic: Found characteristic 00002a27-0000-1000-8000-00805f9b34fb
DEBUG [Service] binc_service_get_characteristic: Found characteristic 00002a26-0000-1000-8000-00805f9b34fb
DEBUG [Device] binc_device_read_char: service 0000180a-0000-1000-8000-00805f9b34fb, characteristic 00002a26-0000-1000-8000-00805f9b34fb, supports = 1
DEBUG [Characteristic] binc_characteristic_read: Reading characteristic <00002a26-0000-1000-8000-00805f9b34fb>
DEBUG [gymlink.c] on_services_resolved: (pi3dev) Read characteristic 00002a26-0000-1000-8000-00805f9b34fb
I'll keep poking around. Is there a way to delete a characteristic (binc_service_delete_characteristic?) ? Alternately is there a way to remove the 0x180a service and reinstall at run time (binc_application_delete_service)? I'll keep poking around.
First time ever commenting--please correct any impertinence!

SOLVED: Asked and answered. I think.
Disable the auto-registering of DIS(0x180a) and PnP (0x2a50) under bluetoothctl: 5.66
 https://github.com/bluez/bluez/issues/101
Tested lightly on Raspberry Pi 3 (peripheral) and 4 (central) bookworm 32 bit
Two mods to /etc/bluetooth/main.conf
DeviceID=false
Cache=no (probably not necessary but convenient when developing)
sudo systemctl daemon-reload
sudo systemctl restart bluetooth
sudo systemctl status bluetooth
(or reboot)

Ah great find. Will test this

Works! Closing issue....


Merge with master

This merge with master seemed to take care of the problems with TestGrounding and TestGrounderStability.  There was still infinite recursion in TestSRLGrounder, though.

@kwalcock though now after the merge I'm having compile isssues all the places where we are constructing a dependency graph, because now the constructor wants the roots.  e.g., when deserializing the sentenceObj from the jsonld.
Did you already make a fix for that and I messed it up? or should I work on it?

Uh oh.  It's supposed to not want the roots now.  I'll check.

i may be using the wrong procVersion or constructor

I just did a checkout srl_ner and built and ran tests with IntelliJ and it didn't have a problem.  Should I look harder?  Processors has been updated so that it calculates the roots automatically starting with 8.4.3.  Local changes that weren't yet at github could cause problems.

FWIW the dependency on processors is in a subproject, eidoscommon, and IntelliJ will not automatically detect a change to the build.sbt file in that directory.  IntelliJ needs to be manually instructed to reload the main project to notice the change.


Don't set default topics params in Quix apps

Problem
When an Application instance works with Quix Cloud and creates a new topic, it sets its number of partitions to 1.
When creating new topics in Quix Cloud, the Application instance shouldn't specify a default number of partitions and should let the cloud set the defaults.
Solution
Use None for num_partitions when creating topics in Quix Cloud.

just so we dont forget, may be a good idea to make an issue saying to remove the requests package version limit once it's fixed.

Yep, I'm subscribed to the original issue in requests.
We'll see what to do when it's resolved, because we might need to update a different lib instead.


[KeyVault] Disable parallel test execution

/azp run js - keyvault-keys - tests

/azp run js - keyvault-secrets - tests


Add option to include relationships getting authenticated user

This PR allows to include the objects related to authenticated user.
const response = client.authenticate('user', 'pw')
    .then(r => client.getUserAuth(['rel_one', 'rel_two']));

console.log(response.formattedData); // will contain in `data.relationships.rel_one` and `data.relationships.rel_two` the objects related.

Codecov Report

Merging #22 (3be8eb1) into main (6d480a6) will increase coverage by 1.37%.
The diff coverage is 85.49%.

@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
+ Coverage   83.75%   85.13%   +1.37%
==========================================
  Files          12       12
  Lines         979     1083     +104
  Branches       84      105      +21
==========================================
+ Hits          820      922     +102
+ Misses         78       63      -15
- Partials       81       98      +17

Impacted Files
Coverage Δ

src/interceptors/auth-interceptor.ts
88.23% <80.64%> (-3.07%)
:arrow_down:

src/bedita-api-client.ts
87.01% <87.00%> (+0.19%)
:arrow_up:

src/interceptors/refresh-auth-interceptor.ts
88.37% <0.00%> (ø)

src/interceptors/response-interceptor.ts
94.73% <0.00%> (+1.75%)
:arrow_up:

src/interceptors/map-included-interceptor.ts
73.73% <0.00%> (+10.10%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Is there a bower shrinkwrap command?

like npm shrinkwrap, lock down the version of the packages.
or, is there a way to do that? uh... except doing it manually.

There are plans to integrate a shrinkwrap feature but there is currently no implementation.
Here`s the latest rebase of the original PR: https://github.com/bower/bower/pull/2100.
Feel free to contribute if you want to! I think there are also some lightweight implementations as modules on npm, maybe try searching there if you need it now.

@BenMann ok! Thanks!


Fixed text contrast issues in Menu, Dropdown, ComboBox and ListBox and removed some deprecated token usage

Closes #4193

hopefully chromatic will catch this

hopefully chromatic will catch this

ListBox wasn't picked up so added it to #4134 but since it uses the same components as Dropdown and ComboBox there's some safety there


explain HKD in protocol parameters

Explaining the use of the HKD type family in the PParams' docstring.

Thanks for this!


New android and desktop icon

For next release it would be great to have better icon for desktop app as well as icon for planned android variant.
Project logo: https://bined.exbin.org/images/bined-logo.png
Currently used but not great desktop icon: https://bined.exbin.org/images/icon-test3.png

Hey, I would like to work on this issue!

Hi,
any contribution would be great.

I have made 3 iterations of a design I had in mind. The background is hexadecimal for BinEd. The shape I chose was a hexagon and the internal lines divide the hexagon into the letters H and E standing for BinEd as well. Please review and let me know what you think.

List of icon proposals: https://bined.exbin.org/?icon-proposals

Possible idea I would like could be for example: thick pencil in the front (like a symbol for editing), some "0"s and "1"s in background (as symbol for binary/digital data) like for example two rows like in currently used icon https://bined.exbin.org/images/icon-test3.png but with different font, maybe as lines and hollow rectangles or something...

Could you describe more on what you mean by the lines or hollow rectangles
part?
On Sun, Mar 7, 2021, 7:45 PM Miroslav Hajda<EMAIL_ADDRESS>wrote:

Possible idea I would like could be for example: thick pencil in the front
(like a symbol for editing), some "0"s and "1"s in background (as symbol
for binary/digital data) like for example two rows like in currently used
icon https://bined.exbin.org/images/icon-test3.png but with different
font, maybe as lines and hollow rectangles or something...
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/exbin/bined/issues/2#issuecomment-792286035, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIPQLWESNMMEYLEXL43QXTLTCOC77ANCNFSM4X4RS5NA
.

How about having the 0/1 format but instead of a simple forward slash
between 0 and 1, it could be the pencil you mentioned
On Sun, Mar 7, 2021, 8:05 PM Khyati Gupta<EMAIL_ADDRESS>wrote:

Could you describe more on what you mean by the lines or hollow rectangles
part?
On Sun, Mar 7, 2021, 7:45 PM Miroslav Hajda<EMAIL_ADDRESS>wrote:

Possible idea I would like could be for example: thick pencil in the
front (like a symbol for editing), some "0"s and "1"s in background (as
symbol for binary/digital data) like for example two rows like in currently
used icon https://bined.exbin.org/images/icon-test3.png but with
different font, maybe as lines and hollow rectangles or something...
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/exbin/bined/issues/2#issuecomment-792286035, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIPQLWESNMMEYLEXL43QXTLTCOC77ANCNFSM4X4RS5NA
.

Something like this, but it's just an example. If there is better font or completely different concept, I'm open for suggestions...
https://bined.exbin.org/images/icon/concept1.png

Could you describe more on what you mean by the lines or hollow rectangles part?

What about something like this?
On Sun, Mar 7, 2021, 8:21 PM Miroslav Hajda<EMAIL_ADDRESS>wrote:

Something like this, but it's just an example. If there is better font or
completely different concept, I'm open for suggestions...
https://bined.exbin.org/images/icon/concept1.png
Could you describe more on what you mean by the lines or hollow rectangles
part?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/exbin/bined/issues/2#issuecomment-792291208, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIPQLWGKHXQKAXKPN6ECE3TTCOHGRANCNFSM4X4RS5NA
.

Sorry, I can't say I like that. Well, I don't see any meaning in it neither mathematical nor graphical. But maybe it's me, because with technological background it evokes mathematical division and/or percentage sign, which neither makes sense to me....

Okay that's fair, I see what you mean.
I'll think of a few more ideas pertaining to what you want and I'll get
back to you.
On Sun, Mar 7, 2021, 11:00 PM Miroslav Hajda<EMAIL_ADDRESS>wrote:

Sorry, I can't say I like that. Well, I don't see any meaning in it
neither mathematical nor graphical. But maybe it's me, because with
technological background it evokes mathematical division and/or percentage
sign, which neither makes sense to me....
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/exbin/bined/issues/2#issuecomment-792319303, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIPQLWFLXNLEVYOXHCHUJODTCOZZZANCNFSM4X4RS5NA
.


Fix restore-file for deleted files in forks

LINKED ISSUES:
Fixes #3417

TEST URLS:
This PR

SCREENSHOT:
None

It worked! https://github.com/sindresorhus/refined-github/pull/3409#ref-issue-669171349


Cannot auto-generate int ids on Linux

I use mac to develop backend service.Auto-generate int ids is working well on mac. But the moment I run the program on Linux machine.The service send an error message, which shows that I did not provide the id field.

Hi,
Can you please give me a reproduction? Please share your schema(or a part of it) and please also tell me which connector you are using and which version of Prisma 2 are you using.
Also, details about your OS(paste output of uname -a, lsb_release -a) would also be appreciated.

I am also facing this issue on Windows.
Using Preview19.
SQLite DB
Schema:
datasource db {
  provider = "sqlite"
  url = env("SQLITE_URL")
  enabled = env("SQLITE_URL")
}

generator photon {
  provider = "photonjs"
}

model Book {
  id    Int  @default(autoincrement()) @id
  createdDate Int
  updatedDate Int?
  title String
  description  String?
}

model PenName {
  id    Int  @default(autoincrement()) @id
  createdDate Int
  updatedDate Int?
  name String
  bio  String?
  image String?
  facebookLink String?
  bookbubLink String?
  twitterLink String?
}

model User {
  id    Int  @default(autoincrement()) @id
  createdDate Int
  updatedDate Int?
  username String @unique
  emailAddress String @unique
  password String
  role Int
  canActAs User[] @relation(name: "canActAs")
  hasActingAs User[] @relation(name: "canActAs")
}

If I try to call
photon.users.create({
  data: {
	createdDate: Date.now(),
	updatedDate: dto.updatedDate,
	username: dto.username,
	emailAddress: dto.emailAddress,
	password: dto.password,
	role: dto.role,
	createdDate: 0
  }
})

It results in an error from regarding typ mismatch in SQLite DB.
The SQL Lite DB column is generated correctly as an Int NOT NULL PRIMARY KEY AUTOINCREMENT field.

@webnoob I am unable to reproduce this. Can you paste the screenshot of the type error here?
Your code contains createDate twice with different types of values assigned to it so that is likely is the cause of the type mismatch.

I'll take a look today and try to provide some more information.
This was a subset of the data (I was trying to insert another model and got this error) and granted this model is incorrect with that field showing twice but the error went away as soon as I reverted to using strings as ids.
Will come back to you ASAP.

I can no longer reproduce this - I must have been doing some strange the first time around .... 🤔

I can no longer recreate this so am not sure what the initial issue was - It must have been an error on my side which has since been fixed. Sorry.


Removed -c advice.detachedHead

Why?

Why?

I have git version 1.7.1 and I have some issues while running the script. I have attached the error message below. I also cant update my git. So I have removed that.
=> Unknown option: -c usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]            [-p|--paginate|--no-pager] [--no-replace-objects]            [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]            [--help] COMMAND [ARGS] Failed to clone nvm repo. Please report this!

That's because nvm doesn't support that git version. The readme states that v1.17.10 is required: https://github.com/nvm-sh/nvm#git-install
Please upgrade; v1.7.1 was released almost 10 years ago, and v1.7.10 8 years ago, so it's a pretty reasonable minimum.


Login using this scraper

Can i use this scraper to login  with username and password ?
is this scraper able to solve captcha?

I personally will not be implementing these features into this scraper unless it's deemed necessary for scraping the routes that exist already. However, pull requests are welcome.


Manually set handleCreate response.

Is it possible to set the status code and response text for 'handleCreate'? I try to mock a create request that should produce a validation error on server side, therefor my response should be something like:
status: 422
respsonseText:
{
   errors: {
      attr1: [error1, error2, ...],
      attr2: [error1, error2, ...]
    }
}

I am working on it now @kunerd, will have something like this later today

ok @kunerd  new version 0.9.11 has this ability to set the status and the errors in the response. Let me know how it goes, or if any problems with this release.

@danielspaniel: Thank you very much. I will try it as soon as possible.


Ignore .DS_Store

Does what it says in the title :)

Valid PR but Snowplow policy is to always put these kinds of excludes in your global .gitignore, so closing...


When is dynamic consent resetted?

I saw that with dynamic user consent, once the consent is given, it will be remembered and not asked again, even if the user had logged out in the meantime, and browser storage and cookies had been resetted. I wonder how this behaviour is compatible with the "least privilege" principle. I mean only because once a user needed the privilege to perform a certain critical action, shouldn't mean that from that moment on his access tokens always contain the scopes for that critical action. When is the given consent resetted?

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

ID: 0ac43307-75d4-cb6f-e561-0dd9008f28c6
Version Independent ID: 8fc47e76-5ee1-6aeb-73e2-c64c44e3e4ed
Content: Microsoft identity platform scopes, permissions, and consent
Content Source: articles/active-directory/develop/v2-permissions-and-consent.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

Hi @pbalzer Thank you for your feedback! We will review and provide an update as appropriate.

@pbalzer Thanks for your feedback.  I am checking internally with the product team if it is possible to reset the dynamic consent and update you back.

@pbalzer As per the products team once the consent is granted to an app via static or dynamic consent, it is applied until revoked. Least principle means "don't ask for more than you need", not "ask for what you need every single time you need it".

Ok so how can the consent be revoked?
From: SaurabhSharma-MSFT<EMAIL_ADDRESS>Sent: mercoledì 10 luglio 2019 00:28
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Balzer, Peter (DI SW MOM R&D 1 DO<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] When is dynamic consent resetted? (#34583)
@pbalzerhttps://github.com/pbalzer As per the products team once the consent is granted to an app via static or dynamic consent, it is applied until revoked. Least principle means "don't ask for more than you need", not "ask for what you need every single time you need it".
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/34583?email_source=notifications&email_token=ADLLNIDDATOZYYLQVJUBCU3P6UGH5A5CNFSM4H6J3W3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZRXAOI#issuecomment-509833273, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADLLNIEJVW4FVLVI5LAW6DTP6UGH5ANCNFSM4H6J3W3A.

Siemens Industry Software S.r.l.
Via Werner von Siemens 1
20128 - Milano
C.F. e P.IVA:<PHONE_NUMBER>3 – REA: MI 1545222 – Capitale Sociale: € 2.000.000,00 i.v.
Società con unico socio soggetta a direzione e coordinamento di Siemens AG

@pbalzer A user can go to account.activedirectory.windowsazure.com/r#/applications, find the app, and click remove in the dropdown. This should remove the consent.

Thank you Saurabh. However there is still something in this story that I don't understand.
I guess some 99.9% of the users don't have a real understanding of what's going on behind the scenes with the auth-n & auth-z mechanisms, and so I guess that hardly anyone would ever go there to actively revoke his or her consent. What I expected was that the consent would be revoked automatically after some time.
In my understanding, the whole concept of dynamic consent in a first-party scenario is about using access tokens with the least possible privilege. However if the consent isn't ever revoked - because even if they could, nobody will ever do it - consent will be accumulated and after some time, the access token will contain the maximum privilege instead of the minimum, exposing the user and his organization to unnecessary risk.
Going further into the details. OAuth2 originally was meant for delegated access to 3rd party APIs, and the question for consent was mainly about trust to the web app where the user was logged in to. In this scenario, the user declares that he delegates the web app to access the 3rd party API on his behalf. Once declared this kind of trust, I agree that it makes sense to remember it forever and to revoke it only on explicit request.
However, in a first-party scenario, the meaning of the question for consent changes, it's not about delegated access any more, it's only about the privileges contained in the access tokens which are used to access the SPA's own backend. These access tokens can compromise the system's security when they are stolen, and so should contain the least possible privilege in its scopes.
If, after some time, the scopes in the token accumulate and eventually happen to become equal to the set of permissions the user is assigned to, all this complicated mechanism of dynamic consent becomes equivalent with just impersonating to the backend with the user's identity, which is a much simpler and standard mechanism.
It's a bit like going round with a master key versus going round with specialized keys for every door you want to unlock.  Going round with the master key however is a security risk.
Please tell me if I got something wrong here.

@pbalzer Yes, I agree with you on the same.  I suggest you to please post this as a feedback https://feedback.azure.com/forums/169401-azure-active-directory.  This will allow the community to upvote and for the product team to include into their plans. We also have the "Give Product Feedback" button in our documents now to take you directly to the appropriate feedback page.

@pbalzer We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Should export a function

Getting this error with<EMAIL_ADDRESS>[nuxt] Module [@nuxtjs/name, [object Object]] should export a function

@ImadBoumzaoued Would you please check this file version? node_modules/nuxt/package.json It may be due to incorrect install. Also please provide your nuxt.cofing.js

Yup you're right it was still using<EMAIL_ADDRESS>even after i did rm -rf node_modules
Thanks a lot @pi0 👍


bst source-bundle should get better documentation and receive test cases

See original issue on GitLab
In GitLab by [Gitlab user @tlater] on Mar 20, 2018, 14:12
Currently, bst source-bundle only has documentation from bst --help, and has no tests at all. It makes up a fairly significant portion of our untested code.

In GitLab by [Gitlab user @danielsilverstone-ct] on Sep 13, 2018, 16:50
I tried to use this recently (b3ffcdc8fcc8d150cf6d75acbc660379b3fc0fcb) and it simply seems to crash
for me.
e.g.:
[--:--:--][][] BUG     [Errno 2] No such file or directory: '/home/danielsilverstone/.cache/buildstream/build/hello-hf8dr0o1/source/hello'

    Traceback (most recent call last):
      File "/home/danielsilverstone/.local/bin/bst", line 8, in <module>
        sys.exit(cli())
      File "/home/danielsilverstone/.local/lib/python3.5/site-packages/click/core.py", line 722, in __call__
        return self.main(*args, **kwargs)
      File "/home/danielsilverstone/buildstream/buildstream/_frontend/cli.py", line 162, in override_main
        standalone_mode=standalone_mode, **extra)
      File "/home/danielsilverstone/.local/lib/python3.5/site-packages/click/core.py", line 697, in main
        rv = self.invoke(ctx)
      File "/home/danielsilverstone/.local/lib/python3.5/site-packages/click/core.py", line 1066, in invoke
        return _process_result(sub_ctx.command.invoke(sub_ctx))
      File "/home/danielsilverstone/.local/lib/python3.5/site-packages/click/core.py", line 895, in invoke
        return ctx.invoke(self.callback, **ctx.params)
      File "/home/danielsilverstone/.local/lib/python3.5/site-packages/click/core.py", line 535, in invoke
        return callback(*args, **kwargs)
      File "/home/danielsilverstone/.local/lib/python3.5/site-packages/click/decorators.py", line 27, in new_func
        return f(get_current_context().obj, *args, **kwargs)
      File "/home/danielsilverstone/buildstream/buildstream/_frontend/cli.py", line 831, in source_bundle
        except_targets=except_)
      File "/home/danielsilverstone/buildstream/buildstream/_stream.py", line 723, in source_bundle
        self._write_element_sources(tempdir, elements)
      File "/home/danielsilverstone/buildstream/buildstream/_stream.py", line 1092, in _write_element_sources
        element._stage_sources_at(element_source_dir)
      File "/home/danielsilverstone/buildstream/buildstream/element.py", line 1374, in _stage_sources_at
        if not vdirectory.is_empty():
      File "/home/danielsilverstone/buildstream/buildstream/storage/_filebaseddirectory.py", line 179, in is_empty
        self._populate_index()
      File "/home/danielsilverstone/buildstream/buildstream/storage/_filebaseddirectory.py", line 61, in _populate_index
        for entry in os.listdir(self.external_directory):
    FileNotFoundError: [Errno 2] No such file or directory: '/home/danielsilverstone/.cache/buildstream/build/hello-hf8dr0o1/source/hello'

I think it would be valuable if, on this issue, we could collate:

What was bst source-bundle intended to do
Do we still need that?
What has happened to mean that it doesn't work?
How do we fix that?

In GitLab by [Gitlab user @LaurenceUrhegyi] on Oct 5, 2018, 14:11
I actually think we can close this since we decided to kill source-bundle - see #672

In GitLab by [Gitlab user @tristanvb] on Oct 8, 2018, 10:18

I actually think we can close this since we decided to kill source-bundle - see #672

For the record, #672 proposes a deprecation of bst source-bundle (which is different from "removal", which is an API break).
The functionality in bst source-bundle will have to appear somewhere, and for the sake of backwards compatibility will need to still be exposed from bst source-bundle (even if we hide it from bst --help and raise a warning in case people use a deprecated API).
I don't think closing this is the right approach, this functionality still needs better test coverage.

In GitLab by [Gitlab user @tristanvb] on Oct 8, 2018, 10:31

What was bst source-bundle intended to do

This piece of code is intended for the cross-bootstrapping case, it is unclear at this time if it is possible (or practical) to implement this with remote execution instead.
The workflow of using bst source-bundle is intended to work like this:

First tune your base kernel, compiler and C library to support this brand new machine architecture you just designed and have some test boards for

Cross compile your base stack to target your new machine architecture, for which we must assume that there is no already existing runtime environment you can already use on that machine

Repeat the first two steps until you have a booting system, with the kernel, compiler and C runtime, plus bash and busybox and perhaps a few things like GNU sed that you might need in the early compile stages.

Now run bst source-bundle on your project, using --except to exclude the base part of the bootstrap which you've already compiled and deployed to hardware. In theory, the project you use in bst source-bundle builds everything you need to run BuildStream.

Now unpack the output of bst source-bundle on your new, booting machine, and run the generated script on that machine.

This might fail, in which you may need to modify your project and repeat the last two steps. Finally the goal is to have booted a system on your new hardware which is capable of running BuildStream, and building things for that target platform.

Do we still need that?

Yes.

What has happened to mean that it doesn't work?

Cannot say for sure, I have been careful to smoke test it when making changes over the last year, but I have not run a complete bootstrap with it, I think the last person to do that is [Gitlab user @samthursfield].
I doubt that this stack trace happens in bst-1.2, probably only in master by the looks of the stack trace.
One thing contributing to this not working is certainly the blatant lack of test coverage (this is the one part which we have never added test coverage for, and probably accounts for our coverage only being around ~85%).

How do we fix that?

Good question :)

In GitLab by [Gitlab user @cs-shadow] on Oct 10, 2019, 13:52
Closing this based on previous comments.
For posterity, source-bundle command was retired and its functionality was moved to bst source checkout --include-build-scripts. It has basic tests asserting that scripts are generated as expected. In case anyone wants to add more tests, it might be worth orchestrating a setup where those scripts are actually exercised.

In GitLab by [Gitlab user @cs-shadow] on Oct 10, 2019, 13:52
closed


Redux migration

Types of changes

[ ] Bugfix (change which fixes an issue)
[ ] New feature (change which adds functionality)
[x ] Refactor (change which changes the codebase without affecting its external behavior)
[x ] Non-breaking change (fix or feature that would causes existing functionality to work as expected)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Purpose

Updated state from Context API to Redux Toolkit
Approach

Decreases prop drilling
Resources

N/A
Screenshot(s)

looks good!


Implementation for fetcharrowbatches

Potentially closes #168 and #133

Codecov Report

Merging #172 into master will decrease coverage by 0.91%.
The diff coverage is 28.57%.

@@            Coverage Diff             @@
##           master     #172      +/-   ##
==========================================
- Coverage   97.68%   96.76%   -0.92%
==========================================
  Files         145      141       -4
  Lines        2934     2383     -551
==========================================
- Hits         2866     2306     -560
- Misses         68       77       +9

Impacted Files
Coverage Δ

python/turbodbc/cursor.py
88.65% <28.57%> (-10.79%)
:arrow_down:

...urbodbc_arrow/Library/src/set_arrow_parameters.cpp

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d91204e...94a74a1. Read the comment docs.

Probably just better names?  This does work just fine though

I'm fine with this PR but @MathMagique will probably have some comments.

I'll try to have a look this evening (also at your PR, @xhochy)

@mariusvniekerk Thanks a lot for the efforts that you have already put in! Besides the nitpicking that I did, I think your PR is nearly there, and people will love it :-).

@MathMagique probably good enough now

@mariusvniekerk Thanks for the changes! Looking sufficiently good now :-)
Again, thanks a lot for a great contribution. I will probably make a new release mid of next week.

Oh great, thanks a lot for implementing this!


Model generated using VecNormalize, model predict use case

Do I need to convert observation sent by "real" physical environment in normalization form?  Any help/ pointers much appreciated.

Never mind got the answer while drilling down baselines3 release notes,
normalize_obs(obs: numpy.ndarray) → numpy.ndarray
Normalize observations using this VecNormalize’s observations statistics. Calling this method does not
update statistics.


Revert "Switch protobuf from submodule to subtree vendoring"

Reverts swiftlang/swift-llbuild#944

@swift-ci Please smoke test

this should be addressed by https://github.com/swiftlang/swift-llbuild/pull/946, but holding open just in case

#946 appears to have resolved the issue.


Update systemjs.config.js

Thanks for the PR, however we unfortunately cannot accept this one either.
Before submitting a patch, please make sure that you actually test it; see https://github.com/mozilla/pdf.js/wiki/Contributing
In this case, running gulp lint locally would've shown that these changes are breaking the accepted coding-style as enforced by ESLint/Prettier, see also https://github.com/mozilla/pdf.js/wiki/Style-Guide


Random behavior with TransitioningContentControl

Describe the bug
Switching content with the TransitioningContentControl works randomly. Sometimes it works, sometimes there's nothing at all shown, and sometimes the content shows up with a delay.
To Reproduce
I've put a minimal reproducible example here: https://github.com/chris835/tcctest
Expected behavior
The control should properly switch to the new content when set.
Desktop

OS: Windows
Version: 0.10.18 and 11.0.0-preview4

Should be fixed with https://github.com/AvaloniaUI/Avalonia/pull/9803

Tested


Transmission-qt-win not everything works

I am using the unofficial windows port of transmission 2.84 but not everything works.
I can start torrents, add torrents and can get all the torrent data, but I cannot stop them or delete them.
I don't know if this is because of a new version or because of the windows build. I hope it can be found out because this php project is really good.
P.S. English is not my first language

Hi there!
First: don't worry about your English, I can understand you just fine! Second: I think the issue is the fact that it is a port. I think that this port hasn't implemented the RCP-API fully, so that causes issues. Is it possible for you to check the API by hand? The documentation can be found here.

I tried to look to the api but i could find a way to do it. But the wierd thing is still that some things do work and the default remote server fully works.


Can't compile for mobile device

hi,
great library you have there, I have problem compiling it on mobile device it throughs an error. attached is a screen shot. Please help ASAP.
Thanks

Set ENABLE_BITCODE in project build settings to 'NO'

Already did...
Thank you very much 👍


path problem in role contract

Path problem in role contract
[Description of the issue]
import "../interaction/interface/IRoleAuth.sol";

Import path in the contract should be ../../interaction~~~
Versions
Latest

Please deep into the reason why it works well before.

Need to check the create_genesis.py.

first:
cd test-chain/template/contracts/src/role_management

then:
/usr/bin/solc-v0.4.24 --optimize common=/home/kaikai/Work/cita/target/install/test-chain/template/contracts/src/common lib=/home/kaikai/Work/cita/target/install/test-chain/template/contracts/src/lib interaction=/home/kaikai/Work/cita/target/install/test-chain/template/contracts/interaction RoleAuth.sol --hashes

It should be the bug of solc.


Fix raylib -- WIP..Need fixed mouse delta

For libretro... Switch between pointer input, and mouse relative movement.


Scale down image height - keeping the aspect ratio

I have a few slides, each composed of a big image (400px height) and couple of small (200px height) floated ones, but this is not relevant at this point as this happens with only one image per slide too (jsfiddle example at the bottom).
When Slick gets initialised, it sets the height of the biggest image on .slick-list container (400px in my case).
When I resize down, so if less than 600px, you would normally expect the images to shrink accordingly (using img{max-width: 100%;height: auto;}) as their width changes, keeping the ratio but it doesn't, I think it's because the set height in the container (.slick-list).
So the width changes (slightly as parts of the images get hidden too) as there's no set width on the containers but the height stays the same.
How would I go about this please?
This is an EXAMPLE ON JSFIDDLE.
p.s. Using v1.3.15, Chrome 39.0.xx.
Fantastic work btw, Ken.

The variableWidth option is what prevents your height from scaling


Port loader for Atlantic County Megasite from New Jersey

We should port the loader for New Jersey’s Atlantic County megasite into this project. See current loader in NJ: https://github.com/newjersey/nj-vaccine-scraper/blob/main/src/atlantic-county/index.js

The Atlantic County megasite is now closed, so this issue is no longer relevant.


Make a wip v3.2.0 branch

We need a WIP v3.2.0 branch, which has some of our code for upgrade testing / genesis import export, perhaps along with some of CLI improvements.
It should take the code in the v3.1.0 branch, and then add all the logic from the v1.0.4 and v1.0.3 branches that did not make it in. See v1.0.4 branch (see this PR https://github.com/osmosis-labs/osmosis/pull/371) , plus I think a few v1.0.3 commits didn't make it in.
If we've accumulated any other CLI improvements in main, we should also backport them to v3.2.0 as well.

TBD: Consider backporting events updates to v3.2.0. We need to talk to block explorers, data hub, and Imperator team before making a decision on that.


refactor ownership of setting up volumes into runtime

currently, the github.com/frantjc/sequence/runtime/github.com/frantjc/sequence/workflow relationship has the workflow owning the creation if the directories that get bound to the step containers. This has lead to the workflow package making some assumptions about the runtime having access to a local directory
if we desire a Kubernetes runtime (and we do) that will have to change

a Runtime should set up its own mounts
we can do away with the concept of mount Types e.g. bind, volume, tmpfs. We only really have 1 use for volumes

resolved by https://github.com/frantjc/sequence/pull/53


Add 'related_results' api, exposed tweet entities, update Tweet members

exposed 'get related' tweet api result set, see http://groups.google.com/group/twitter-api-announce/msg/34909da7c399169e
exposed include_entities parameter for timeline/search api
exposed embedded retweet, user profile json to tweet object
updated tweet deserializer logic to handle embedded json tree
added proper equals/hashcode to core tweet, user profile objects
tweet object is now serializable

I couldn't find related_results in Twitter's API documentation, so I dug a bit deeper and found this: https://dev.twitter.com/discussions/4163
As of about a month ago, this API endpoint is not officially supported and Twitter advises against using it, as it is subject to change. Therefore, I'm hesitant to include it in Spring Social's Twitter API binding, as it'd create a support liability for Spring Social should that endpoint change or be discontinued by Twitter.
If this endpoint is important to you, you are still welcome to use it. You may choose to continue using your own fork of Spring Social Twitter. Or, to avoid having to keep your fork up to date as new release of Spring Social Twitter become available, it may be better to make the endpoint call directly through the OAuth-ready RestOperations returned by Twitter.restOperations().
Should Twitter officially support this endpoint in the future, I'll be happy to reconsider this pull request.


clickOnButton should been called by id

From<EMAIL_ADDRESS>on July 27, 2011 19:29:09
What steps will reproduce the problem? 1.I only can access the clickOnButton by his show text
2. -
3. - What is the expected output? What do you see instead? I like can access the clickOnButton by his ID instead his show text What version of the product are you using? On what operating system? on version 2.1 Please provide any additional information below. Maybe I will try a newest version. I don't know if in a newest version this improvement is resolved
Original issue: http://code.google.com/p/robotium/issues/detail?id=131

From<EMAIL_ADDRESS>on July 27, 2011 23:49:45
Please see the javadoc.
Status: Invalid

From<EMAIL_ADDRESS>on July 11, 2013 05:26:39
If you want to click using id, u'll have to use clickOnView
try this:
solo.clickOnView(solo.getView(id));


Seems dead

You ever going to finish this? I've been waiting for this for years.

Just wanted to chime in that sdiehl has no obligations to us to finish this, and we are not entitled to it.
That said, I too would eagerly anticipate it being finished and think this book is an amazing contribution not just to open source or Haskell, but computer science at large. Thank you sdiehl—if we can support you in any way, financially or otherwise, to finish this, let us know :)

Also see #93

Just wanted to chime in that sdiehl has no obligations to us to finish this, and we are not entitled to it.

That's right and you make sure you remember that. sdiehl is under no obligation finish it. Please stop acting as if you're entitled to it.


Module has redundant call status setters

Everywhere where handle_call_status is called, there's a separate line of self._call_status = status. Can fold this line into the handle_call_status function with a bit of thought in terms of allowing overrides.

Changed handler to be internal, call a public method in fc6a69fc0a6168c86c909f4ae0f0ea55dd928886.


Selection Sort in c++ added

Added Selection Sort program in c++.

pull request merged, now please close the issue, you can also contribute to other repo's-https://github.com/avinash201199/Hacktoberfest-Guide
Note- only 2 pr per day on a single repo is accepted.
follow for more such repo to contribute


7.2.1

Use external string-similarity again
Update build script
Improve fetch control
Fix typo error on naming example packages

Coverage remained the same at 100.0% when pulling 38b8c108890719854b63a5a72a585aac1a092c32 on 7.2.1 into bcd6d36ab052fb62c3ac47720ba687424b249dd8 on main.


Facing Issue for RPCGenericError: Assignment to constant variable

Hi @mikuso,
Hope you're doing good!
I am trying to call one of method "StartTransaction" from server and want to receive response from client, but I am receiving error as below:
\node_modules\ocpp-rpc\lib\util.js:44
    const err = new E(message ?? '');
                ^

RPCGenericError: Assignment to constant variable.
    at createRPCError (D:\node_apps\node_ocpp_demo\node_modules\ocpp-rpc\lib\util.js:44:17)
    at RPCServerClient._onCallError (D:\node_apps\node_ocpp_demo\node_modules\ocpp-rpc\lib\client.js:841:25)
    at RPCServerClient._onMessage (D:\node_apps\node_ocpp_demo\node_modules\ocpp-rpc\lib\client.js:649:26)
    at WebSocket.<anonymous> (D:\node_apps\node_ocpp_demo\node_modules\ocpp-rpc\lib\client.js:369:42)
    at WebSocket.emit (node:events:527:28)
    at Receiver.receiverOnMessage (D:\node_apps\node_ocpp_demo\node_modules\ws\lib\websocket.js:1169:20)
    at Receiver.emit (node:events:527:28)
    at Receiver.dataMessage (D:\node_apps\node_ocpp_demo\node_modules\ws\lib\receiver.js:528:14)
    at Receiver.getData (D:\node_apps\node_ocpp_demo\node_modules\ws\lib\receiver.js:446:17)
    at Receiver.startLoop (D:\node_apps\node_ocpp_demo\node_modules\ws\lib\receiver.js:148:22) {
  rpcErrorMessage: '',
  rpcErrorCode: 'GenericError',
  details: {}
}

My Server Script as below:
const app = express();
const port = 3000;
const httpServer = app.listen(port, "localhost");
console.log(`OCPP Server started and listening on port ${port}...`);

const server = new RPCServer({
    protocols: ["ocpp1.6"],
    strictMode: false,
});
httpServer.on("upgrade", server.handleUpgrade);

server.auth((accept, reject, handshake) => {
    accept({
        sessionId: "XYZ123",
    });
});
server.on("client", async (client) => {
         client.handle(({ method, params }) => {
                console.log(`Server got ${method} from ${client.identity}:`, params);
            throw createRPCError("NotImplemented");
        });

       // Server Methods
       client.handle("BootNotification", ({ params }) => {
             console.log(
               `Server got BootNotification from ${client.identity}:`,
               params
            );
             return {
               status: "Accepted",
               interval: 300,
               currentTime: new Date().toISOString(),
            };
       });

         let resTrans = await client.call("StartTransaction", {
            connectorId: 0,
            idTag: "50-D6-BF-1A-D6-CC",
            meterStart: 20,
            timestamp: new Date().toISOString(),
        });
        console.log("Start Transaction Response: ", resTrans);
});

Client Script as below:
const app = express();
const httpServer = app.listen(3001, "localhost");

async function main() {
    const cli = new RPCClient({
        endpoint: "ws://localhost:3000",
        identity: "EXAMPLE123",
        protocols: ["ocpp1.6"],
        strictMode: false,
    });

    const transactionId = 0;

    cli.handle("StartTransaction", async ({ params }) => {
        if (params.idTag === "50-D6-BF-1A-D6-CC") {
            transactionId = Math.floor(Math.random() * 999999);
            return {
                idTagInfo: { status: "Accepted" },
                transactionId: transactionId,
            };
        } else {
            return { idTagInfo: { status: "Invalid" }, transactionId: -1 };
        }
    });

    cli.connect();

    try {

              let respBootNotification = await cli.call("BootNotification", {
                chargePointVendor: "ocpp-rpc",
                chargePointModel: "ocpp-rpc",
            });

            console.log(
               "Response from Server (BootNotification) => ",
               respBootNotification
           );
     } catch (err) {
        // Call failed
        console.error("Call failed because:", err.message);
        console.error("RPC Error code:", err.rpcErrorCode);
        console.error("Error details:", err.details);
        throw err;
    }
}

main().catch(console.error);

Can you please provide me suggestion regarding to required to do changes on above?
Thanks,

Hi,
Your client's StartTransaction handler is throwing an error.  This, in turn, is causing your server to crash because you haven't handled the error there.
I suggest 2 changes for you:

In the client script, change const transactionId = 0; to let transactionId = 0;. This will fix your error.

In your server's 'client' event listener, you should probably add some error handling to prevent crashes.  For example, wrapping the call in a try/catch block like so:

try {
    let resTrans = await client.call("StartTransaction", {
        connectorId: 0,
        idTag: "50-D6-BF-1A-D6-CC",
        meterStart: 20,
        timestamp: new Date().toISOString(),
    });

    console.log("Start Transaction Response: ", resTrans);

} catch (err) {
    // this catch block will prevent a crash
    console.error(`Error starting transaction:`, err);
}

Finally, you may also benefit from setting the option respondWithDetailedErrors: true in the constructors of both the client & server.  This might help in future trying to pinpoint the cause of tricky errors like these; It will add a stack trace from the other side, showing you where the error originated from.  (This should only be used for development purposes though, as it may be risky to expose this much information in a production environment.)

Hi @mikuso ,
Thanks a lot! It's working now.


Improve documentation

I plan to keep this issue open indefinitely - please leave any requests/comments about improving the documentation below.

A CHANGELOG.md for pub.dev would be nice, at least for future releases

A LICENCE.md would be good to have as well

A CHANGELOG.md for pub.dev would be nice, at least for future releases

Provided we stick to Conventional Commits, melos will auto-update the changelog for each package, so agree that this should be a commitment going forward.

A LICENCE.md would be good to have as well

All packages should be Apache-2.0 licensed (including the repository itself), the files are there but perhaps incorrectly named/not in the right location to get picked up by GitHub/pub.dev. Any help to fix it up is welcome :)

A LICENCE.md would be good to have as well

All packages should be Apache-2.0 licensed (including the repository itself), the files are there but perhaps incorrectly named/not in the right location to get picked up by GitHub/pub.dev. Any help to fix it up is welcome :)

Seems like it's just missing a LICENSE file at the root of the repository. #42 fixes that.

Should we add an example to thermion_flutter? Something like the one in the old flutter_filament?

Should we add an example to thermion_flutter? Something like the one in the old flutter_filament?

I moved all the example apps to https://github.com/nmfisher/thermion_examples (mainly to avoid storing binary sample assets in this repository).
The flutter folder contains both the old example project and the new quickstart project, are you referring to those?

I moved all the example apps to https://github.com/nmfisher/thermion_examples (mainly to avoid storing binary sample assets in this repository).

I see. The only downside is that pub.dev doesn't pick up on it, but as long as there is a way to find them that's probably fine. Perhaps we could add an example/README.md with a simple example, and a reference to the complete example in the other repo?

The flutter folder contains both the old example project and the new quickstart project, are you referring to those?

That's what I was referring to, yes.

Perhaps we could add an example/README.md with a simple example, and a reference to the complete example in the other repo?

I think this is a good idea

Perhaps we could add an example/README.md with a simple example, and a reference to the complete example in the other repo?

I think this is a good idea

I have some time in the next few days, so I can work on this if you'd like.

Perhaps we could add an example/README.md with a simple example, and a reference to the complete example in the other repo?

I think this is a good idea

I have some time in the next few days, so I can work on this if you'd like.

That would be great!


Create Admin Login workflow

[ ] Simple login page
[ ] Link to password reset form

Closing as out of date


Complete sample DOM for styles

I know you have some snippets of the DOM for each event and slot in the wiki, but I was wondering if you could include a complete sample DOM from the wrapper all the way down (ideally for each of the 7 view types) so I could recreate the layout and test out styling changes on it with custom.css?

Sorry, I have not enough time for that currently.(I should do my real job for nowadays) If I could, it would be a month or later.
I believe you can get whole the structure (and variation) by yourself with running MM on development environments like PC and Chrome or Firefox.

I was able to get through it by running magic mirror server only and opening the magic mirror page in Chromium so I could use Chrome Dev Tools. Thanks for the great module!


Resize Isometric puzzle to make it easier to see

Due Date
March 17th
Priority
High
Description
Isometric puzzle is too large, hard for users to see
Associated Requirement*
N/A

Completed in commit id: 8a3ece465b698b0aebd5ac5b672cd743432048a2


Invalid import

It seems that import «TheoremsAboutAlgorithms».Partitions.Partition points to a file that no longer exists.

Thanks for the feedback! :)
That import is a leftover from when i started the project and had the namespacing set up differently. There's a lot of stuff to clean up anyway, I'll make sure to fix that as well once i get to it 👍


Unreal Engine added

Access to the source of the Unreal engine requires a special step of connecting the GitHub account and accepting an invitation. The source of the engine is not easily accessible and for that reason, I prefer to leave it out of the list.


Port Decentracraft to Matic

Change decentracraft code base to make it compatible with Matic. This implies the following changes:

Change rng oracle to chainlink.
Change ipfs code to make it compatible with Matic.
Change infura endpoints to Matic.
Any other required changes to make Decentracraft work on Matic.

Umm... where is the code?

Code added. Complete project and demo can be found at https://gitlab.com/decentracraft

@vporton Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

[x]  reminder (3 days)
[ ]  escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

I am still communicating with the bounty issuer.

@vporton Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

[x]  reminder (3 days)
[ ]  escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

Please snooze warnings. I told it is impossible to work on it now particularly because the task is not well-formulated, but I may work later.


SysTime.toISOString formats the time zones incorrectly

issues.dlang (@jmdavis) reported this on 2016-02-08T03:02:15Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=15654
CC List

bugzilla (@WalterBright)

Description
The ISO Extended format for time zones other than UTC is +hh:mm, -hh:mm, +hh, or -hh. ISO non-Extended is the same but without the colons. However, currently SysTime uses colons for non-Extended (it correctly doesn't put the dashes or colons in the date or time portion, but it still puts the colons in the time zone portion).

So, we need to fix it so that toISOString does not use colons in the time zone, and fromISOString should not accept them either, though I think that we're going to have to accept them for a while in case existing code has been writing them out with toISOString and saving them to later read in with fromISOString.

github-bugzilla commented on 2016-03-19T20:22:38Z
Commits pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/7ded5fcf686c988c4d26869ac0e16a1fd0e5a446
Rename SimpleTimeZone.to/fromISOString to to/fromISOExtString.

https://github.com/D-Programming-Language/phobos/commit/2567a2493a168343be6be3050cd4bef90b320f58
Fix issue# 15654: SysTime.toISOString formats time zones incorrectly.

github-bugzilla commented on 2016-03-10T17:02:10Z
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/7ded5fcf686c988c4d26869ac0e16a1fd0e5a446
Rename SimpleTimeZone.to/fromISOString to to/fromISOExtString.

This is per issue# 15654.

https://github.com/D-Programming-Language/phobos/commit/2567a2493a168343be6be3050cd4bef90b320f58
Fix issue# 15654: SysTime.toISOString formats time zones incorrectly.

Previously, it formatted the time zone the same as toISOExtString and
put a colon between the hours and minutes - which is correct for the ISO
extended format, but not the non-extended format. Now, it formats it
correctly per the ISO 9601 standard.

fromISOString temporarily accepts both the extended and non-extended
formats to avoid breaking any programs that have been writing out ISO
strings to read back in later, but eventually, we'll make it so that it
only accepts the non-extended format like it's supposed to.

issues.dlang (@jmdavis) commented on 2017-08-08T23:42:17Z
It looks like I screwed up and only fixed the fromISOString portion of this so that it accepted the correct type without actually fixing what was emitted.

bugzilla (@WalterBright) commented on 2020-01-03T15:51:29Z
Could you provide an example?

I'm currently not sure if this is fixed or still a bug or not an issue anymore, because when I use toISOString, no timezone is printed at all...


Crawl queue as a Web Streams AIP?

Check out if this could work. Would need some extra work since the queue will be aborted each time someone click a link and go to another page.

https://developer.mozilla.org/en-US/docs/Web/API/Streams_API

Nope


flash attention is broken for cuda-12.x version

Despite using the nvidia-containers with cuda 12.4 and compiling from source, i still run into below error
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/scratch.btaleka_gpu_1/code/flash-attention/flash_attn/__init__.py", line 3, in <module>
    from flash_attn.flash_attn_interface import (
  File "/home/scratch.btaleka_gpu_1/code/flash-attention/flash_attn/flash_attn_interface.py", line 10, in <module>
    import flash_attn_2_cuda as flash_attn_cuda
ImportError: libcudart.so.11.0: cannot open shared object file: No such file or directory

Flash attention should consider upgrading to latest container stack without explicit dependency on particular cuda runtime version. Such dependencies are fragile and often breaks the pipeline once someone tries to upgrade.
Fixing such as reported in https://github.com/Dao-AILab/flash-attention/issues/208 or https://github.com/Dao-AILab/flash-attention/issues/728 are not correct solutions especially when compilation from source fails.

I thought it's your cuda lib is not included.
Try export LD_LIBRARY_PATH=/usr/lib/cuda/lib:$LD_LIBRARY_PATH or something like this.

Despite using the nvidia-containers with cuda 12.4 and compiling from source, i still run into below error
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/scratch.btaleka_gpu_1/code/flash-attention/flash_attn/__init__.py", line 3, in <module>
    from flash_attn.flash_attn_interface import (
  File "/home/scratch.btaleka_gpu_1/code/flash-attention/flash_attn/flash_attn_interface.py", line 10, in <module>
    import flash_attn_2_cuda as flash_attn_cuda
ImportError: libcudart.so.11.0: cannot open shared object file: No such file or directory

Flash attention should consider upgrading to latest container stack without explicit dependency on particular cuda runtime version. Such dependencies are fragile and often breaks the pipeline once someone tries to upgrade.
Fixing such as reported in #208 or #728 are not correct solutions especially when compilation from source fails.

Hi, did you find the solution?


Deleted Linodes persist on Linode Index page

On the index page, delete a Linode.
Then click add Linode, and create a new Linode.
Then go back to the Linode index page.
The deleted Linode is still displayed

It is in the process of being deleted, so after a few seconds it will in fact disappear. But yeah this is a bug. If the state of the linode is "deleting" or something like that, it should not be shown.

Unable to reproduce.

I am able to produce it the same way @na3d mentioned. Hard refreshing gets rid of it though.

No dice, tried three times.

Is this still a problem?


Underscore in claim values considered wildcard

Describe the issue:
When a user is searched with the claim value, having an underscore, it's considered as a single character wildcard when querying from the DB, in getUserListFromProperties() method, with the query configured for GetUserLisForPropertySQL.
Ex: Assume the givenName of a user is: test_one. When a user with test_one is searched, it returns users with the givenName values: test_one, test1one, testxone.
How to reproduce:

Create users as per the above example
Search with test_one from the management console for the particular claim.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Error when having use_frameworks! in Podfile

I'm migrating an Objective-C project to Swift and I added use_frameworks! to my Podfile but then I got an error in UIScrollView+infiniteScrolling.m in this line #import <UIView+TKGeometry/UIView+TKGeometry.h>. I was able to fix it by changing it to import the module like this @import UIView_TKGeometry;. I uploaded the fix and is in the following pull request https://github.com/ziryanov/CCInfiniteScrolling/pull/10

merged


bug(0.2.0): valid globs are refused

Using wax = "0.2.0", some globs are not properly parsed:
fn test_glob(s: &str) {
    match wax::Glob::new(s) {
        Err(e) => println!("{:?}", e),
        Ok(_) => println!("-"),
    };
}

fn main() {
    test_glob("**/**a/*.rs");
    test_glob("**a/*.rs");
}

$ cargo run
Parse(ParseError { expression: "**/**a/*.rs", kind: Eof })
Parse(ParseError { expression: "**a/*.rs", kind: Tag })

Is this intended? The EOF one is pretty weird too.

Thanks for reporting! This is intended behavior. The example globs are not valid, because tree wildcards must include separators (/) except at terminations (the beginning or end of a glob or sub-glob expression) where they are optional. **a is the problem in both of the example globs and is not allowed.
I suspect that what you're trying to match with **a is one or more directories that end with a. If that's the case, then you must use a repetition. The first example would become **/<*a/:1,>*.rs. Here, <*a/:1,> matches the glob expression *a/ one or more times. This can be shortened to **/<*a/:>*.rs.
The error reporting for parsing errors is pretty bad at the moment (especially when compared to rule errors, which are much more detailed). I plan to improve this! Eof and Tag refer to the most local parser combinator that failed, but that's never very useful and is simply the easiest thing to report.


Getting files from local paths

Hey guys,
I have a directory ./src/posts/ with a few *.md files that i'd like to be able to perform a $http.get on. How can I move the posts directory to static when using npm run dev ?
I'm sure there are smarter ways to handle this, any feedback would be appreciated.

@wuaiwuai, why not keeping them in static folder in the first place?

I have tried putting some files in static/posts/text.md but the sources do not appear when running a local server.

Am I missing something?

If you put it in static/posts/text.md it should be accessible on http://localhost:3000/posts/text.md, you can see that here.

@nickmessing thank you for your quick responses,
I created a new project with vue init webpack vue-webpack and put in a test file at static/posts/text.md

when running a local server, the .md file is not present at localhost:8080/posts/text.md. can anyone else confirm this?

Sorry, I was wrong, it should be http://localhost:8080/static/posts/text.md by default, you can find more information in docs.

@nickmessing this did the trick! Thank you for your help.


Temporary workaround for Newtonsoft.Json issues with AssemblyLoadContext

This is to unblock other teams.
Temporary workaround for https://github.com/dotnet/cli/issues/2514.
We may need to change dotnet-ef's execution strategy to permanently fix version issues with using AssemblyLoadContext from a tool. Until that lands, we can fix most issues by just pulling higher version of Newtonsoft.Json.

:shipit:


Block Solvers 2023

Additions:

Update to PartitonedArrays v0.3
Expanded library to include block-wise solvers.
Added Li2019 block preconditioner.

Codecov Report
Attention: Patch coverage is 0% with 1025 lines in your changes are missing coverage. Please review.

Project coverage is 0.00%. Comparing base (7f0f004) to head (fd8cf05).

Files
Patch %
Lines

src/parameters.jl
0.00%
191 Missing :warning:

src/weakforms.jl
0.00%
149 Missing :warning:

src/Applications/expansion.jl
0.00%
117 Missing :warning:

src/Applications/cavity.jl
0.00%
96 Missing :warning:

src/Applications/FCI_entrance.jl
0.00%
85 Missing :warning:

src/Main.jl
0.00%
76 Missing :warning:

src/Solvers/li2019.jl
0.00%
66 Missing :warning:

src/Solvers/petsc.jl
0.00%
65 Missing :warning:

src/Meshers/hunt_mesher.jl
0.00%
51 Missing :warning:

src/Meshers/expansion_mesher.jl
0.00%
50 Missing :warning:

... and 5 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #37       +/-   ##
==========================================
- Coverage   68.23%   0.00%   -68.24%
==========================================
  Files           5      15       +10
  Lines         721    1218      +497
==========================================
- Hits          492       0      -492
- Misses        229    1218      +989

Flag
Coverage Δ

unittests
0.00% <0.00%> (-68.24%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


fix: Avoid empty path for index.md redirect target

While deploying version 1.0.2 of the plugin that includes the changes from https://github.com/datarobot/mkdocs-redirects/pull/19 I noticed that in some situations the build of the site would fail:
$ mkdocs build
INFO    -  Cleaning site directory
INFO    -  Building documentation to directory: /home/prcr/git/docs/site
Traceback (most recent call last):
  File "/home/prcr/.local/bin/mkdocs", line 11, in <module>
    sys.exit(cli())
  File "/home/prcr/.local/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/prcr/.local/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/prcr/.local/lib/python3.6/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/prcr/.local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/prcr/.local/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/prcr/.local/lib/python3.6/site-packages/mkdocs/__main__.py", line 152, in build_command
    build.build(config.load_config(**kwargs), dirty=not clean)
  File "/home/prcr/.local/lib/python3.6/site-packages/mkdocs/commands/build.py", line 295, in build
    config['plugins'].run_event('post_build', config=config)
  File "/home/prcr/.local/lib/python3.6/site-packages/mkdocs/plugins.py", line 96, in run_event
    result = method(**kwargs)
  File "/home/prcr/.local/lib/python3.6/site-packages/mkdocs_redirects/plugin.py", line 131, in on_post_build
    dest_path = get_relative_html_path(page_old, page_new, use_directory_urls)
  File "/home/prcr/.local/lib/python3.6/site-packages/mkdocs_redirects/plugin.py", line 60, in get_relative_html_path
    relative_path = os.path.relpath(new_path, start=os.path.dirname(old_path))
  File "/usr/lib/python3.6/posixpath.py", line 457, in relpath
    raise ValueError("no path specified")
ValueError: no path specified

I found out that this would happen if:

You're using the default configuration use_directory_urls: true
You have a redirect target index.md or README.md

In this particular situation, after removing the index.html from the target path we would obtain an empty string and the call to os.path.relpath would subsequently fail:
https://github.com/datarobot/mkdocs-redirects/blob/b0d564bdc7f2364e4fec0cec6dcf4dc23ca8ea0f/mkdocs_redirects/plugin.py#L56-L60
My fix ensures that in this case the returned string is ./ so that os.path.relpath can correctly calculate the relative path.

@burkestar, perhaps you'll get a chance to review this fix soon? In the meantime, I updated the CHANGES.md and the README.md (as it was still mentioning absolute paths).

Released to PyPi as 1.0.3
Some day I'll get around to updating this package with better standards (PR tests, drop python 2 support, and auto-releasing logic on merge).

Many thanks for such a quick reply!
Yes, those things would come in handy before considering introducing more features (for example, this one https://github.com/datarobot/mkdocs-redirects/issues/16#issue-663705242 would be helpful for me as well).
But as it is, the plugin is already incredibly useful - I'm maintaining a medium/large documentation site and the redirects are crucial to avoid having broken links on the product UI. This plugin allows me to manage the redirects in a simple and sane way. :smile: :+1:

That's really cool to hear @prcr!  I built this for an internal developer docs site awhile ago and was like "you know, I bet others would find this useful".  The power of open source.  Thanks for your contributions to making this better.


Update README.md

Minor improvements to grammar.
Remove duplicated words.
Use [ticket] in more places.
Rearrange some words to help statements flow more predictably. Add some commas to separate * sentences into more recognizable statements.

(I intentionally tried to maintain original author's tone, cadence, intent, & delivery – it adds authenticity, is genuinely a part of the project's personality, and I hope that shows through in my edits.)

Very nice! Thank you.,


Update rus translation

Nice! Could you also replace line 41 and 42 with gui.refinedstorage:crafting_monitor.machine_does_not_accept and a new line after that. And also the key misc.refinedstorage:network_item.out_of_energy after line 103.
You can see it here https://www.diffchecker.com/msBgnwHJ

thx, fixed

Thanks!


Mark pod as failed if it is in ContainerCreating state for "x" amount of time

Describe the solution you'd like
[A clear and concise description of what you want to happen.]
AKS ImageCleaner user request:
In order to allow for cleanup and new ImageJobs to be scheduled, allow users to set a timeout for ImageJob to be marked as failed with pods stuck in ContainerCreating state for "x" amount of time.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:

Eraser version:
Kubernetes version: (use kubectl version):

If pod is stuck due to an issue on the node, a work around here can be to use the eraser.sh/cleanup.filter to skip that node so it doesn't run into the issue on each repeat period of ImageJob.

cc @WilliamRockwellEvans


Update intune.md

Learn Build status updates of commit 10346f2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerapps-docs/mobile/intune.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@sericks007

Learn Build status updates of commit 2d3528e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerapps-docs/mobile/intune.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit b969d60:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerapps-docs/mobile/intune.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit eaea51f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerapps-docs/mobile/intune.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


sync knative java with udpates made to openwhisk-runtime-java

@pritidesai had not planned on updating all of devtools to be compliant after removal of short header in scancode... but will have to I suppose....

@pritidesai tyvm!


Does the mixtral 7x8b's setting works for 7x22b?

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
As Mixtral released a new 8x22b version: https://huggingface.co/mistral-community/Mixtral-8x22B-v0.1. I wonder if the current llama-factory implementation for inference/sft can be directly used for it without any changes? Thanks.
Expected behavior
No response
System Info
No response
Others
No response

I think it should work for the new mixtral model


"Did you know...?"

Add new MessageBox based DidYouKnowFeature, disconnected from current Marquee-based Guide, which at launch informs user of a random high-value but “often missed” feature. Dialog should include opt-out checkbox to “disable tips” (persist), “next tip” (new random draw, unequal to prev), and “learn more” (link to appropriate section in online manual).
Mark can provide list of tips. Biggest question is honestly how to persistently link to sections (not page numbers) of constantly updated PDF.
sourced from Issue-20220927-4

Biggest question is honestly how to persistently link to sections (not page numbers) of constantly updated PDF.

This seems like a good reason to export our manual to HTML format. Is there any reason we've chosen not to do so in the past?
example:
https://wasatchphotonics.com/documents/enlighten-manual-4.x-beta/#h.w3pjtnvn6rdn

I personally don't think the exported HTML looks nearly as good as the PDF.
Or are you talking about maintaining the document in HTML directly?
Ultimately, this is a Marketing as well as Engineering discussion, and not suitable for a Git issue.

Is this blocked in any way?
One way to organize this would be to create a Msgbox class with (at least) three descendants.

one to be used for the stylized common.msgbox function
one for the "Are you sure you want to exit Enlighten?" prompt and possibly for a generic common.msgboxConfirm function
one for this "Did you know...?" prompt

"Are you sure you want to exit?" prompt with question-mark icon

I don't think the pop-up messagebox aspect of it is blocked.  I just don't see a way to maintain links into sections of an automatically exported PDF unless Google provides a way to set bookmark ID (which they currently don't).
We could do this if we maintained the manual in HTML, but I don't want to. We could do this if we manually edited PDF exports using a commercial PDF editor to "forcibly apply" important bookmarks to specific sections (probably only 1-2 dozen such links needed, wouldn't actually be that hard). Or we could probably do this if we moved the Google Doc manual from our ERP drive to a public URL.  That could be the simplest compromise.  Maybe I'm missing something?

I have zero preference how this is done--but I'm leaning towards options that don't generate recurring work. Here I show some more detail about the Google Docs options. Can you elaborate about commercial pdf editors? Can they link to specific sections or specific pages? I think linking to a specific page might be good enough if that's an easy option.
Google Document options

Anyone with Link
If we use Google Doc > Share > Anyone with Link then we get a result like this one.
This has the drawback that it shows other users and editors inline with the document:

This is the option I've seen used by some other open source projects.
Publish to Web
The result looks like this.

The "Published using Google Docs" banner looks kind of bad, and it looks like the link is slightly off from the actual target section, but still this option may work.
It updates every 5 minutes, which is kind of annoying if you are trying to make a change and see how it looks in the final output.

You know, you're right, page numbers should work fine. And all browsers support adding #page=28 to PDF URLs.
Let's just do that. We can add a help.json file to the distro that maps feature names to page numbers, so we just have to update one file when releasing a new manual. And/or keep help.json on our website so users who have online access enabled can always access the latest page number mapping, even from older programs.
Or, possibly simplest of all, keep old manual versions online and include manual version in the URL so the page numbers are always the same for that ENLIGHTEN version. When they upgrade to a newer ENLIGHTEN it will have links to a (possibly) newer manual, with appropriate page numbers.
Our website will always provide access to the LATEST manual, but context/sensitive help links will remain "hardcoded" to the manual version in use at the time of that program's release. That's actually a pretty sensible behavior.

Aye to linking to the current revision of manual.
A url scheme would be something like this?
/manual/latest
/manual/4.0.18
/manual/4.0.17
/manual/4.0.16

We should get the hosted version of the manual ready for this before we implement any changes to Enlighten.
It would be solid if we can use a simple HTML view for this window so it can include gifs/pngs of UI, rich text, plus it's easier to make new pages.
Mockup:

Maybe we can curl latest upon build?

For reference, ISE has a start up hints window that looks like this.

Resolved in #378


Fix builder docstring

Currently, the args of DatasetBuilder do not appear in the docs: https://huggingface.co/docs/datasets/v2.1.0/en/package_reference/builder_classes#datasets.DatasetBuilder

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


⚠ Bofrost.at has degraded performance

In cc68487, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2531 ms

Resolved: Bofrost.at performance has improved in e599264 after 31 minutes.


Add inference code for user-defined data

Thanks for your great work.
Can you add a script for model inference on a single input image? Thanks in advance

Hello,
Thank you for your interest in our work.
Sure, I will try to add the script for it ASAP, and will let you know. Please stay tuned, and you may also opt in to "Watch" this repository in the meanwhile.
Thanks

Interested in your work. Thank you very much for it.
It is the same request with @chau25102001.
I would like to compare with results of other model as qualitative.
Can I know your plans for this?

Thank you for your interest.
Before I make that, I would like to make a note that in the "novel object detection" setting (i.e. Table 1 results), we use MaskRCNN weights trained on COCO images/labels (80 objects), and GDINO-SwinT (trained on O365,GoldG,Cap4M).
Further, during inference we evaluate for 1203 LVIS classes using class synonym information along with the class names.
Thus, hope it will be okay for you guys if I push a script that works on your custom image data, but still you would be detecting LVIS class objects in the image, and using the above two existing model weights itself.
If you would like more customization, I hope you would be able to make the necessary/required changes? @ralpyna @chau25102001

@ralpyna, @chau25102001
I have added the code for inference on custom images.
Please follow the instructions mentioned in the README to test it on your images.
I hope this will help you, and you would be able to modify or make other changes depending on your use case.
Please let me know whether I can close this issue or not.

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
scrambled2, @micheleriva, @AlexanderKaraberov, @jianan1104, @chitoya, @microboym, @lichuang, @wbjang, @Dandelight, @8times4, @msau9, @daoxuliu, @antx-code, @ieshreya, @neilyoung2008, @Quantribution, @Srini-98, @simplyjaga, @vioxcd, @zkbqhuang


Could we delete (or rename) example.m?

example is a generic name, likely to conflict other functions elsewhere. Also, it doesn't seem especially important. Furthermore, it is shadowing a core function in Octave:
-- example ("NAME")
-- example ("NAME", N)
-- [S, IDX] = example (...)

    Display the code for example N associated with the function NAME,
    but do not run it.

    If N is not specified, all examples are displayed.

For the case it is not clear, I refer to this function DynaSim/functions/dependencies/Coverage/Coverage/example.m

What is "Coverage"?
On Fri, Oct 6, 2017 at 2:29 AM, kupiqu<EMAIL_ADDRESS>wrote:

For the case it is not clear, I refer to this function DynaSim/functions/
dependencies/Coverage/Coverage/example.m
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DynaSim/DynaSim/issues/231#issuecomment-334669945,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB8qCeuJ_NSs0zezre_45tLGXT_YLZr8ks5spci9gaJpZM4PwDXl
.

Nobody knows, should we delete it? ;-)

This is what the coverage toolbox is about:
https://www.mathworks.com/matlabcentral/fileexchange/33972-coverage-report-generator
So: "This packages uses the profiler to generate a Cobertura-style XML coverage report"
Is anybody using it or want to use it in the next future?
So far nobody even replies to comments in this issue. Whoever introduced it to DynaSim is completely missing...

I vote for renaming it. I can't find any functions that call it, and I
think it's only there as an example for users to learn from.
On Oct 8, 2017 2:50 PM, "kupiqu"<EMAIL_ADDRESS>wrote:

This is what the coverage toolbox is about:
https://www.mathworks.com/matlabcentral/fileexchange/33972-
coverage-report-generator
So: "This packages uses the profiler to generate a Cobertura-style XML
coverage report"
Is anybody using it or want to use it in the next future?
So far nobody even replies to comments in this issue. Whoever introduced
it to DynaSim is completely missing...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
http://t.sidekickopen69.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XX48p-YszW64QZjY2zGJWPW7fRL1x56dR7Sf83FkD602?t=https%3A%2F%2Fgithub.com%2FDynaSim%2FDynaSim%2Fissues%2F231%23issuecomment-335029277&si=4782755602235392&pi=55a74c52-7eb0-4d8d-fee5-82108872e41c,
or mute the thread
http://t.sidekickopen69.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XX48p-YszW64QZjY2zGJWPW7fRL1x56dR7Sf83FkD602?t=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAB8qCdgCMHBMV2B_X-3xFFK0icnUQud_ks5sqRligaJpZM4PwDXl&si=4782755602235392&pi=55a74c52-7eb0-4d8d-fee5-82108872e41c
.

renamed to coverage_example.m in dd09e5d

Coverage was for checking what % of the code the unit tests cover. It would spit out a number that would be made into a badge found here. Currently the unit testing framework has not been updated so it's not being used presently, but it's nice code to have. Changed the example name is fine.


您好，请问您是如何处理论文中关于MR的数据呢？

Hello weirdoYun,
The preprocess for prostate dataset is the similar with polyp dataset, and I have updated the prostate_dataset.py. You can refer to it.


BGISEQ-500 platform demultiplexing

Thank you so much for your very helpful package. I was wondering if you have any idea how can I do demultiplexing of 50 based paired reads sequenced from BGISEQ-500 platform?

Can you give me a demo?

thank you so much for quick reply. I am going to reproduce the fragment files from this paper. As they mentioned in the paper, Raw sequencing reads from BGISEQ-500 sequencer were filtered and demultiplexed using PISA and aligned to the rat genome. Unfortunately, I couldn't find read structure of BGISEQ-500 sequencer. Can you please, help me with this?

[root@ip-172-31-107-90 demo]# zcat Auditory_cortex_1_1.fq.gz | head -n 4
@CL100166824L1C001R002_1/1
GTACAGAGACAGGAAAATCAGAAGTTCAAAGTCATCCTGGTCCACATAGG
+
CDECBCCCDCDCBCCCCDCDCCDDCCDECCDDCDCCCDDCCCCDDCCCDC
[root@ip-172-31-107-90 demo]# zcat Auditory_cortex_1_2.fq.gz | head -n 4
@CL100166824L1C001R002_1/2
AGTGAAGACAGCACTTAACTACTATTTACTTGTTTACCTAAAATCCTAAGCAATCCGGAGAACGCATAAGCGTGGC
+
DCCDBBC@BBBCDCCCCBCBDCCDCBCCCBCCBCCCCCDCCBBBCDDBCDCDCCCCDCAC8*3<@/CDBCBCCCCC

Pull master repo, and reinstall updated PISA
Try the following commend
PISA parse2 -rule 'CR,R2:51-60,./config/DNBelabC4_barcodes.txt,CB,1;CR,R2:61-70,./config/DNBelabC4_barcodes.txt,CB,1;R1,R1;R2,R2:1-50' Auditory_cortex_1_1.fq.gz Auditory_cortex_1_2.fq.gz -1 reads_1.fq -2 reads_2.fq

Notes:
"./config/DNBelabC4_barcodes.txt" can be found in PISA/config folder. I just upload it.

Hello, I've encountered an issue recently. The researcher uploaded fastq data from snATAC-seq sequenced by the DNBSEQ-T7 and BGISEQ-500 platforms. For R1, the length is 50bp, and for R2, it is 76bp. I attempted the parameters you mentioned, specifically using 51-60bp as well as 61-70bp of R2 as a barcode, which seemed to result in an error. When I used 10bp as the barcode with PISA bam2frag, it yielded no results in fragment.tsv. Furthermore, when using the combination 10+10 as specified in the -list barcodes.txt parameter, there were only very few reads (<100) for almost every cell, despite there being millions of cells. The fragment.tsv uploaded in the study contained tens of thousands of reads for each of the 551 cells. I suspect that the parameter settings of -rule may not align with the read structure of the BGISEQ-500 sequencer. Could you please provide information regarding the read structure of the BGISEQ-500 sequencer and its basis? Or can you provide some other parameter settings?


Add Passio Nutrition AI Food Search Tool to LLAMA_index

Description
Add Passio Nutrition AI Food Search Tool to LLAMA_index
Type of Change
Please delete options that are not relevant.

[X] New feature (non-breaking change which adds functionality)
[X] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[X] Added new unit/integration tests
[X] Added new notebook (that tests end-to-end)
[X] I stared at the code and made sure it makes sense

Suggested Checklist:

[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] I ran make format; make lint to appease the lint gods

@logan-markewich , Please someone assist with PR. Thank you so much!


Planned to integrate the new camera stack?

Hi,
is it planned to integrate  the new camera streaming setup based on "camera-streamer"?
Thanks.
Regards, Thorsten

That camera stack is specific to OctoPi and using a Raspberry Pi. In that sense, there is no way to directly replicate the camera stack, and really no need because octoprint_deploy/install has its own method for creating camera service (that is better, IMO, since the new camera stack has you pick a camera from a list rather than detect a camera directly). I have looked into including camera_streamer which is used by the new camera stack. There are issues there with dependencies and which features can be made available to camera_streamer. I am not well enough versed in how it functions to include it at this time.

Thank you very much for the reply.
I think that camera-streamer itself isn't OctoPi specific, but the scripts and systemd magic around camera-streamer.
But it seems to be the same thing with the current camera setup in your installation script. The OctoPi "magic" is stripped down to a very basic camera setup.
Maybe I will do some tests with camera-streamer  on my own an will keep you in the loop about the results...
Regards, Thorsten

closing for archive


help with camera feed live processing

Hi there,
I’m working on MS Holoens 2, my goal is to analyze in realtime the frames coming from the webcam feed to process them with Barracuda ML engine. I’m following this tutorial to view to camera feed on a MeshRenderer component: https://microsoft.github.io/MixedReality-WebRTC/manual/unity/helloworld-unity-localvideo.html.
However, my problem is to get a texture2d with the raw images from the camera live streaming. Any suggestions?
Thanks,
Davide

Hi there, I’m working on MS Holoens 2, my goal is to analyze in realtime the frames coming from the webcam feed to process them with Barracuda ML engine. I’m following this tutorial to view to camera feed on a MeshRenderer component: https://microsoft.github.io/MixedReality-WebRTC/manual/unity/helloworld-unity-localvideo.html. However, my problem is to get a texture2d with the raw images from the camera live streaming. Any suggestions? Thanks, Davide

This is my solution:
First I create a RenderTexture and use Graphics.Blit() to get the render result.
It will like this:
"Graphics.Blit(renderTexture, videoMaterial);"
And you can get image form renderTexture.
My method is transfer to Base64 it will like this:
Texture2D tex = new Texture2D(renderTexture.width, renderTexture.height, TextureFormat.RGB24, false);
RenderTexture.active = renderTexture;
tex.ReadPixels(new Rect(0, 0, renderTexture.width, renderTexture.height), 0, 0);
tex.Apply();
var bytes = tex.EncodeToJPG();
var str = Convert.ToBase64String(bytes);
UnityEngine.Object.Destroy(tex);
Hope this helps you and forgive me for being terrible in my English.

Excuse me, I'm a newbie iin Unity. I have the renderTexture on a RawImage object. I'm confused about the "Graphics.Blit" commands.
How can I get a Textture2d containing the camera feed frame by frame?
Thanks
Davide

Excuse me, I'm a newbie iin Unity. I have the renderTexture on a RawImage object. I'm confused about the "Graphics.Blit" commands. How can I get a Textture2d containing the camera feed frame by frame? Thanks Davide

Did you want to get camera image or only Textture2D?
You can open the MR-WebRTC "VideoRender.cs" source code.
The function "TryProcessI420Frame" will help you.
You can not use one Textture2D to get raw image.
Because the toturial teaching the video frames coming from the webcam source are encoded using the I420 format. This format contains 3 separate components : the luminance Y, and the chroma U and V.
And you need to uploading the video data for the Y, U, and V channels into 3 separate Texture2D objects,and the material is using a custom shader called to sample those textures and convert the YUV value to an ARGB value on the fly before rendering the quad with it.
The material is the real raw image.
So I use "Graphics.Blit" to render the material result to a renderTexture object then I can get the raw image.
I use this to process face recognition

Sorry  for the delay, I want the current camera image on a Texture2D.
Thanks,
Davide

Sorry for the delay,I was on New Year's holiday.
This is my test project.
https://github.com/Xiink/UnityWebRTC-Take-Photo-Sample
You can try to see this example.
Note:
You need to chage MySignaler Local Peer Id and Server-Http Server Address to your own Peer Id and own ip.


[DNM] Add ARC cache support and refactor cache system

Add an ARC cache implements based on LRU.
Refactor cache system introduce Cache interface for ARC and LRU.
Use a variable to change default cache type as ARC or LRU

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

My purpose is:

provide a plugable cache framework
add ARC cache engine under cache framework
maybe some case use ARC is better than LRU, we can support it.

For ARC cache, it is more suitable for cache hot point than LRU. For LRU such as a full scan may flush full cache to new entry. If we have hot point and random access ARC will be more efficient.

Yes, please add [DNM] to the title of this PR.

Could you split the PR into two parts? One for providing a plugable cache framework, and the other for the implementation of ARC.

@ngaut Sure, I will split it into two. In addition ARC cache is referenced by https://github.com/hashicorp/golang-lru/blob/master/arc.go

Thanks @blacktear23 , but I guess we will not accept the ARC cache mainly due to legal concerns. You may want to refer https://en.wikipedia.org/wiki/Adaptive_replacement_cache

In 2006, IBM was granted a patent for the adaptive replacement cache policy.
...
PostgreSQL used ARC in its buffer manager for a brief time (version 8.0.0), but quickly replaced it with another algorithm, citing concerns over an IBM patent on ARC.

@disksing Gotcha


Depth First Search | Go

Title -
what will change - Add go implementation for a simple depth first search algorithm
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] Go

Self Check

Ask for issue assignment before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Happy Coding,

Please assign this issue to me, thanks!

Please check https://github.com/div-bargali/Data-Structures-and-Algorithms/pull/740


feat: add gzip support for static filter

for #1866
enable gzip response when static files are hosted by casdoor.
app.conf (same with beego): enableGzip = true | false

@jump2cn fix CI:

@jump2cn PR merged. Can you add this new option to docs? https://casdoor.org/docs/basic/server-installation#via-ini-file


Breadcrumbs for RELENG_2_3_3

I have cherry-picked the commits needed to implement the breadcrumb links on 2.3.3
Tested on a current 2.3.3 VM by adding each of these 3 commits with the System Patches package.
This is an example of how to do it. It is too late for the 2.3.3 release process. If others want to do similar, then I suggest that you make these cherry-picks in your own GitHub account/repo and then apply the patches from there using System Patches. Do not rely on my GitHub repo, because in a few months/years I might have removed the branch from my repo.

Hi @phil-davis. Could you please re-submit it against RELENG_2_3?

See PR https://github.com/pfsense/pfsense/pull/3527

Too late for 2.3.3, closing it in favor of #3527


fix: Ignore additional tags added for VPC and subnets outside the module.

Description
Currently, additional tags added to VPC and subnet resources outside the module will be remove when re-apply, even there's no change to the network topology. To prevent tags from removal unexpectedly, this PR added lifecycle ignore_changes to tags for resource aws_vpc and aws_subnet.
Steps to reproduce the behavior:

Applied any of the example
Manually add tags to the VPC and subnets created by this module. This simulate an external process (eg. INFOSEC) adding additional tags.
Re-apply the same example and will see terraform plan to remove additional tags added outside the module.

Motivation and Context
Additional tags can be added post applied.
Breaking Changes
No.
How Has This Been Tested?

[X] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[X] I have tested and validated these changes using one or more of the provided examples/* projects

This will not make it into the module because we want users to be able to manage tags across resources created by this module.
Closes #986


[ENG-1961] Fix styling on SPAM Data pre in preprints.html

Purpose
Fix the Admin App styling issues from ENG-1961
Changes
Add white-space:pre-wrap styling to the pre tag for SPAM data

Contents of the SPAM Data pre exceeding the width of the display were causing the table distortions (as the table elements tried to stretch out to match the full width of the un-displayed text).
Text wrapping resolves this issue by limiting length of lines within the pre

Added a table-responsive class to the div containing the top-level table

This causes a horizontal scroll-bar to appear in the case that something else stretches out the page in the future.

QA Notes

How can QA verify? (Through UI, API, AdminApp or AdminAdminApp?)

https://admin.staging.osf.io/preprints/bar76/ is a good example of a previously broken page

Documentation
N/A
Side Effects
N/A
Ticket
https://openscience.atlassian.net/browse/ENG-1961

Cherry-picked in as https://github.com/CenterForOpenScience/osf.io/commit/95079f797fce995a9c0e2b1f1e9b7b7ac709187c, consider this merged 🍒