error when using veff2 with basenji

I am trying to use this VEF tool but I'm getting an error when I try it on the Basenji model.  This is my code below:
from kipoi_veff2 import variant_centered

vcf_file = input.vcf'
fasta_file = hg19.fa'
model_name = 'Basenji'

output_file = 'output.vcf'

model_group = model_name.split("/")[0]

model_group_config_dict = (variant_centered.VARIANT_CENTERED_MODEL_GROUP_CONFIGS.get(model_group, {})
                           )

model_config = variant_centered.get_model_config(model_name, **model_group_config_dict)

#model_config.batch_size = 5

variant_centered.score_variants(
    model_config=model_config,
    vcf_file=vcf_file,
    fasta_file=fasta_file,
    output_file=output_file,
)

However, I get the following error
Traceback (most recent call last):
  File "<stdin>", line 5, in <module>
  File "/gpfs/commons/home/clakhani/gitProjects/kipoi-veff2/kipoi_veff2/variant_centered.py", line 251, in score_variants
    vcf_file, fasta_file, sequence_length, model_config.batch_size
  File "/gpfs/commons/home/clakhani/gitProjects/kipoi-veff2/kipoi_veff2/variant_centered.py", line 204, in batch_dataloader
    for interval in intervals
  File "/gpfs/commons/home/clakhani/gitProjects/kipoi-veff2/kipoi_veff2/variant_centered.py", line 204, in <listcomp>
    for interval in intervals
  File "/gpfs/commons/home/clakhani/.conda/envs/kipoi_veff2/lib/python3.6/site-packages/kipoiseq/extractors/vcf_seq.py", line 162, in extract
    seq = self._fetch(interval, istart, iend)
  File "/gpfs/commons/home/clakhani/.conda/envs/kipoi_veff2/lib/python3.6/site-packages/kipoiseq/extractors/vcf_seq.py", line 260, in _fetch
    Interval(interval.chrom, istart, iend))
  File "/gpfs/commons/home/clakhani/.conda/envs/kipoi_veff2/lib/python3.6/site-packages/kipoiseq/extractors/fasta.py", line 49, in extract
    rc=rc
  File "/gpfs/commons/home/clakhani/.conda/envs/kipoi_veff2/lib/python3.6/site-packages/pyfaidx/__init__.py", line 1046, in get_seq
    seq = self.faidx.fetch(name, start, end)
  File "/gpfs/commons/home/clakhani/.conda/envs/kipoi_veff2/lib/python3.6/site-packages/pyfaidx/__init__.py", line 635, in fetch
    seq = self.from_file(name, start, end)
  File "/gpfs/commons/home/clakhani/.conda/envs/kipoi_veff2/lib/python3.6/site-packages/pyfaidx/__init__.py", line 657, in from_file
    "Requested start coordinate must be greater than 1.")
pyfaidx.FetchError: Requested start coordinate must be greater than 1.

Any idea why this might be the case?

Hello, sorry about the late reply. Unfortunately I have not seen this error before. However, it seems there is a discrepancy between your vcf file and what pyfaidx expects. Specifically, it is coming from - this and this. Maybe printing out the start and end coordinate of the specific interval in question can offer some more idea?

Thanks, I will look into it out and let you know what happens.

Hi! Its been a while and I was wondering if you still need help. If your issue has been resolved may I close it?

Closing due to no acitivity


Would the image based gym code also be released?

Hi, thanks for open source the codebase. It looks to me that the gym code is using the state directly (not from image). https://github.com/elicassion/StARformer/blob/main/gym/models/starformer.py#L266
Would the image based gym code also be released? Thanks

Hi @Wangweiyao,
Thanks for your interests and the kind reminder! I have updated the code for DMC w/ image input in atari_and_dmc/run_star_dmc.py.  (Note: I changed the directory name from atari to atari_and_dmc)
To run on DMC, you will need to install dm-control and mujoco dependencies. I have updated the environment file atari_and_dmc/conda_env.yml and the corresponding instructions in README.
Basically the usage is be similar to atari as they both take image input. The only differences are data loading and things related to action prediction head (discrete / continuous). Ideally you can unify two files (run_star_dmc.py and run_star_atari.py) in one, but here I am providing two due to its clearness and easiness for editing.
Please let me know if you have any further questions 🌟


TabbedListMediator: Fix logcat messages: "RecyclerView: An instance o…

TabbedListMediator: Fix logcat messages:

"RecyclerView: An instance of  was started more than once. Each instance of is intended to only be used once. You should create a new instance for each use"
"Smooth Scroll action is being updated too frequently"
used mRecyclerView.smoothScrollToPosition(position) instead of separate SmoothScroller.

@OndrejMalek
Hi Ondrej, thanks for the pull request, I appreciate your time fixing the issue.
However, I do not get the Logcat messages that you've mentioned. Is there any specific scenarios you do that get them printed?
More over, using the smoothScrollToPosition(int position) has been an old implementation of the smooth scrolling feature in the library, and had to be replaced with the separate SmoothScroller object. Your method does fulfill the need of smooth scrolling BUT it does not scroll to an offset of 0, just like how the normal scrolling is implemented using layoutManager.scrollToPositionWithOffset(int position, int offset).
You can see the difference by starting the sample app, and pressing on a tab which is following the one selected. You will notice that the category stays snapped at the bottom of the screen, and that's not the behavior expected from the synchronizer.
If you can come up with a way to make the Logcat messages disappear, and the scroll is snapped to a position with an offset of 0 using another method, I'll gladly merge it to the library, but if not, I'm gonna have to leave it the way it is.

Thx for comment. You are right. Creating Scroller object per scroll instead of in field declaration does trick of removing.


Add mal_id and pagination for Anime/Manga News

https://myanimelist.net/anime/21/Cowboy_Bebop/news?p=2
Unsupported in AnimeNews
https://github.com/jikan-me/jikan/blob/3.0.0/src/Request/Anime/AnimeNewsRequest.php

➕mal_id
author -> author.username, author.url
intro -> excerpt


sample form

Thank you for joining #hacktoberfest. Please take it as opportunity to level up your coding skills.


updated macvim (7.4.102)

Also, check out cask-repair, it makes Cask updates like this quite easy (details in CONTRIBUTING)


[Datepicker] Format not maintaining

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
I set a format used in the EU for the date
mask="__-__-____"
inputFormat="DD-MM-YYYY"

However after changing the value e.g (feb 3rd) the format of the date picker reverts back the original america format (MM-DD-YYYY)
Expected behavior 🤔
I expect the format to be applied on change and for default value.
Steps to reproduce 🕹
https://codesandbox.io/s/basicdatepicker-material-demo-forked-2p2uw0
Steps:

Set the date to febuary (3rd)
expect to see (03-02-2022)
but instead see (02-03-2022)

Context 🔦
No response
Your environment 🌎

`npx @mui/envinfo`
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Hey @kaykhancheckpoint , I'm getting the same bug, do you mind sharing how did you fix it?

@LazeBear
hmm i forgot what is specifically was but here is the code that eventually worked for me.
<LocalizationProvider dateAdapter={AdapterDateFns}>
      <DatePicker
          disableFuture
          value={searchState.date}
          onChange={(value) => {
              setSearchState({
                  ...searchState,
                  date: DateFnsFormat(value, "yyyy-MM-dd"),
              });
          }}
          mask="____-__-__"
        inputFormat="yyyy-MM-dd"
        label="Date"
        renderInput={(params) => <TextField {...params} />}
    />
</LocalizationProvider>

Thanks for the reply, but this is a different date format, I will open another issue about this.

Hi, Probably not the best solutions but, it works for me.
The problem is that value can only be in "MM-DD-YYYY". It Doesn't matter what format your onChange return. So I save another const which is responsible for keeping a preserved value for the Datepicker. May be the code would make more sense.
@kaykhancheckpoint Sandbox is the perfect place to test the workaround. ( https://codesandbox.io/s/basicdatepicker-material-demo-forked-2p2uw0 ). Please make sure to install moment dependency before you test it.
import * as React from "react";
import TextField from "@mui/material/TextField";
//import DateAdapter from "@mui/lab/AdapterDateFns";
import LocalizationProvider from "@mui/lab/LocalizationProvider";
import DatePicker from "@mui/lab/DatePicker";
//import { format } from "date-fns";
import DateAdapter from "@mui/lab/AdapterDayjs";
import moment from "moment";

export default function BasicDatePicker() {

  const [value, setValue] = React.useState("");
  const modifiedValue = moment(moment(value,"DD-MM-YYYY"),"MM-DD-YYYY");
  console.log("modifiedValue",modifiedValue);
  console.log("value",value);

  return (
    <>
      {"DD-MM-YYYY = " + value}
      <LocalizationProvider dateAdapter={DateAdapter}>
        <DatePicker
          label="Basic example"
          value={modifiedValue}
          onChange={(newValue) => {

            console.log(newValue.format("DD-MM-YYYY"));
            setValue(newValue.format("DD-MM-YYYY"));
          }}
          renderInput={(params) => <TextField {...params} />}
          mask="__-__-____"
          inputFormat="DD-MM-YYYY"
        />
      </LocalizationProvider>
    </>
  );
}

Hi, Probably not the best solutions but, it works for me.
The problem is that value can only be in "MM-DD-YYYY". It Doesn't matter what format your onChange return. So I save another const which is responsible for keeping a preserved value for the Datepicker. May be the code would make more sense.
@kaykhancheckpoint Sandbox is the perfect place to test the workaround. ( https://codesandbox.io/s/basicdatepicker-material-demo-forked-2p2uw0 ). Please make sure to install moment dependency before you test it.
import * as React from "react";
import TextField from "@mui/material/TextField";
//import DateAdapter from "@mui/lab/AdapterDateFns";
import LocalizationProvider from "@mui/lab/LocalizationProvider";
import DatePicker from "@mui/lab/DatePicker";
//import { format } from "date-fns";
import DateAdapter from "@mui/lab/AdapterDayjs";
import moment from "moment";

export default function BasicDatePicker() {

  const [value, setValue] = React.useState("");
  const modifiedValue = moment(moment(value,"DD-MM-YYYY"),"MM-DD-YYYY");
  console.log("modifiedValue",modifiedValue);
  console.log("value",value);

  return (
    <>
      {"DD-MM-YYYY = " + value}
      <LocalizationProvider dateAdapter={DateAdapter}>
        <DatePicker
          label="Basic example"
          value={modifiedValue}
          onChange={(newValue) => {

            console.log(newValue.format("DD-MM-YYYY"));
            setValue(newValue.format("DD-MM-YYYY"));
          }}
          renderInput={(params) => <TextField {...params} />}
          mask="__-__-____"
          inputFormat="DD-MM-YYYY"
        />
      </LocalizationProvider>
    </>
  );
}

Thank you so much for this solution, it was so helpful for me


Operator policies

[x] Functionality
[x] HTTP API
[x] Definitions export/import
[ ] HTTP UI
[ ] Specs

@carlhoerberg need any help for the last features? E.g. UI.

It was the work on the UI that triggered me to do #374


Kubebench crd

Could you please add more details about the issue?

@gaocegege we were in discussion of creating a kubebench crd to wrap around Argo API. I briefly mentioned the idea on the community meetup, I will post a more formal proposal about this for discussion. The basic idea is to create a dedicated kubebench API that wraps around the Argo workflow. This way we could get rid of the complex ksonnet package we are currently using to create the workflow, and also make kubebench more configurable.

a proposal has been made in #123. we can close this and move discussion to there.


Add rows.Tag() to enable access to the completion tag.

Enable access to the command completion tag for statements executed via
conn.Query.
TODO: Add a test. And is this the interface we want? It works nicely for https://github.com/cockroachdb/cockroach/issues/3993, but perhaps we should be parsing the completion tag and providing access to a driver.Result. The downside to that approach is that we'd have to reconstitute the tag if we want to mirror the psql output.

I don't think we need to mimic the psql output by printing the tag (e.g. mysql doesn't have anything analogous). I would prefer to expose driver.Result instead of the raw tag.
How is the caller supposed to know when Tag() (or its driver.Result analogue) has a meaningful value?

See the latest commit in https://github.com/cockroachdb/cockroach/pull/4081. I always retrieve the tag from the rows. If the result had 0 columns I output the tag instead of any results. I could do something similar with driver.Result. Any thoughts on what the text should say? %d row(s) affected?

The mysql tool reports output like:
mysql> insert into test.test values (1), (2);
Query OK, 2 rows affected (0.00 sec)
Records: 2  Duplicates: 0  Warnings: 0

There is an edge case with checking for zero columns: It is possible (but maybe nonsensical?) for a SELECT to return no rows and no columns. We support tables with no columns, so CREATE TABLE empty (); SELECT * FROM empty will return an empty result set. In this implementation it would retain the result and tag from the last non-select command.

@bdarnell Yeah, that isn't handled properly. This is what is currently output:
root@:15432> select * from test;
SELECT 3

Do you think this is worth detecting? I could detect when the operation was a SELECT and always output the rows, but that leads to this confusing output:
root@:15432> select * from test;
+
+

That rendering of that "pretty" table is wrong. It could be fixed in some manner, but I think outputting the tag and count of matching rows is preferable.

And here is the behavior using the -e flag:
~ ./cockroach sql --insecure -e 'select * from test.test'
3 rows

I'd be fine with either SELECT 0 or the weird (but logically consistent) +\n+ thing for this edge case. I wouldn't match on tag == "SELECT" but would prefer to see whether we have gotten an empty RowDescription or not (although that is tricky with the prepared-statement protocol). That would also cover zero-column SHOW` statements (etc) if there are any.
I had also missed that even selects send a command tag, so it wouldn't bleed through from the previous statement. But then where's the 3 coming from?

We return SELECT <num-rows> as the tag when performing a select. Didn't you write that code?
I prefer SELECT <num-rows> over the oddly formatted table.

Yes, but why is the row count 3 instead of 0? Can you actually insert into a zero-column table? (I guess that should be possible now that I think about it, but both cockroach and postgres fail with a syntax error). If you can actually have zero columns with non-zero rows, then I'd prefer to output a blank line for each row (decorated however the "pretty" formatter wants to mangle it)

Yes, you can insert into a zero-column table:
INSERT INTO test (rowid) VALUES (1), (2), (3)

The count was 3 because I did the above.

Ah, OK. (We should really disallow inserts into the hidden rowid column IMHO). I think that if the server gave us any DataRow messages then we should print the response in tabular form instead of tag form, although since #4548 the server also skips sending any rows back when there are no columns (and I don't think it's worth digging any deeper here)
LGTM


apacheHttpd: 2.4.37 -> 2.4.38

Motivation for this change
Version bump. I also notice that apacheHttpd hasn't been bumped in 18.09 for a while. Any reason?
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg test proxy

I'll also note that there are 3 CVE security items mentioned, 2 of which likely apply to us:
https://www-us.apache.org/dist/httpd/CHANGES_2.4
If there is no specific reason against I would suggest be backport this to 18.09.

@peti I just noticed this was merged into staging 21 data ago https://github.com/NixOS/nixpkgs/pull/54862 but not master. Is apache supposed to go into staging before master? What is the workflow for apache so I don't make this mistake again?
My question regarding backport to 18.09 still stands... do you know why 18.09 hasn't received apache updates in a while?
Thanks!

I just noticed this was merged into staging 21 data ago #54862 but not master. Is apache supposed to go into staging before master?

No, I wouldn't do it that way. I'd merge directly to master.

My question regarding backport to 18.09 still stands... do you know why 18.09 hasn't received apache updates in a while?

We don't update the stable branch unless the new version is backwards-compatible with a high degree of certainty. We don't want to break anyone's installation.

I just noticed this was merged into staging 21 data ago #54862 but not master. Is apache supposed to go into staging before master?

No, I wouldn't do it that way. I'd merge directly to master.

My question regarding backport to 18.09 still stands... do you know why 18.09 hasn't received apache updates in a while?

We don't update the stable branch unless the new version is backwards-compatible with a high degree of certainty. We don't want to break anyone's installation.

@peti thanks for clarification! Apache minor version updates are supposed to be backwards-compatible. Have issues happened in the past which makes you think a minor version update in apache will cause breakage? This seems especially worth while to push into 18.09 because of the 2 CVEs which potentially impact us.


feat(cmd): add the instance option to more commands

Context
Currently, we can login to a specific instance by using the --instance option.
We want to also be able to use a specific instance for other commands
What has been done
The --instance option has been added to all secret scan command, as well as api-status and quota commands
Validation
Use commands specified above using the --instance with a non default instance and an API KEY for the instance in the .env. Verify that the command succeeds.
PR check list

[x] As much as possible, the changes include tests (unit and/or functional)
[x] If the changes affect the end user (new feature, behavior change, bug fix) then the PR has a changelog entry (see doc/dev/getting-started.md). If the changes do not affect the end user, then the skip-changelog label has been added to the PR.

Hey @gg-jonathangriffe,
I saw you opened this PR and it was somehow related to options and where they are propagated in the command. Just wanted to share with you the bug I encountered and fixed last week. It may also bite you in this case (I did not test though). Cheers

Thank you @pierrelalanne  for your comment, I didn't know that !
It seems not to have an impact here, I believe that is because my option is not a flag, therefore it defaults to None and not False.


Support UDS for nonroot user

Signed-off-by: Chun Lin Yang<EMAIL_ADDRESS>this PR is for UDS support for nonroot user.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[X] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@clyang82: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-framework-k8s-tests_istio
3fac1b8eba99292e0604f1bcb72d1cc856d06841
link
/test integ-framework-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@fpesce Thanks for your comments. I just moved it from proxy image to the base image. Actually, I have opened a question about the different between root with sudo - https://discuss.istio.io/t/what-is-different-between-root-with-sudo/4065

Let me close this PR. Let us discuss the root vs sudo in https://discuss.istio.io/t/what-is-different-between-root-with-sudo/4065 Thanks for your time.


No loading indication

Loading data from the ItemsProvider is currently not visually indicated.
There should be some kind of overlay to show that the component is busy.

Fixed in 0.9.7-preview


Mod cluster fixes

Linux Build 7842 is now running using a merge of 4a954de112ef7016ed16b5a1957ef361bd3816eb

Windows Build 2883 is now running using a merge of 4a954de112ef7016ed16b5a1957ef361bd3816eb

Linux Build 7842 outcome was SUCCESS using a merge of 4a954de112ef7016ed16b5a1957ef361bd3816eb
Summary: Tests passed: 3055, ignored: 358 Build time: 00:48:35

Windows Build 2883 outcome was SUCCESS using a merge of 4a954de112ef7016ed16b5a1957ef361bd3816eb
Summary: Tests passed: 3055, ignored: 358 Build time: 00:54:26


Arrow functions cannot be used as user-defined type guards

User defined type guards work perfectly well for classic function statements, as in the release notes:
interface Animal {name: string; }
interface Cat extends Animal { meow(); }

function isCat(a: Animal): a is Cat {
  return a.name === 'kitty';
}

However, it appears that the arrow function equivalent isn't acceptable:
// Doesn't compile
var isReallyCat: (a: Animal) => a is Cat = (cat) => cat.name === 'kitty';

This gives "Type '(cat: Animal) => boolean' is not assignable to type '(a: Animal) => a is Cat'. Signature '(cat: Animal): boolean' must have a type predicate". I'm not clear how I would give that arrow function a 'type predicate', beyond what's already included here.
Is there a good reason for this? I can't seem to find it documented anywhere.

Using a type assertion instead of type annotation does work
var isReallyCat = <(a: Animal) => a is Cat>((cat) => cat.name === 'kitty');

so I imagine it's just an oversight rather than deliberate.

The issue is that you don't want a boolean-returning function to be assignable to a type-guard.
function isHippopotamusFood(a: Animal): boolean {

}

let isReallyCat: (a: Animal) => a is Cat = isHippopotamusFood;

For that reason, type predicates need to be placed on the return type of the function proper. The declaration itself needs to opt in.

The following also works:

```ts
var isReallyCat: (a: Animal) => a is Cat = (cat): cat is Cat => cat.name === 'kitty';

or just
var isReallyCat = (cat): cat is Cat => cat.name === 'kitty';

We could contextually type the return type to be a type predicate when appropriate, but I don't know if it'd really be worth it, and we usually never touch return types when performing contextual typing.

The issue is that you don't want a boolean-returning function to be assignable to a type-guard.

Why not? Nothing prevents me from implementing a x is Foo function with Math.random() either.

Sure, but you have to intentionally opt in to that, and if you're totally sure you want to sabotage your users' experiences, more power to you. We're trying to avoid people from accidentally assigning an arbitrary function to a type predicate.


Invalid Price Cache

Problem statement:
As a trader on the mangos DEX I need to be able to place orders into the book timely so that I can protect my capital and earn profits to pay the DEX and increase revenue for mango holders.
Impact
This issue is making it borderline impossible to place orders or perform other actions on mangos v3. Even when Solana network is hovering above 1700TPS. Keep in mind all other Dapps/smart contracts I use are functioning flawlessly at these speeds.

Anecdotally: I have tried over 200 times to write a SOL-PERP order ( of type Stop Loss ) while Solana is hovering above 1700 TPS (4/3/22 4-5AM MST) and haven't gotten a single order through in the last hour.  TOW there are multiple people complaining about the issue in the discord. It is becoming a common theme which may be costing mangos holders.
Dev considerations

Research into why pyth/Switchboard are having such an issue inserting price data into blocks.

Research possibility of writing the following order types without a cached price?
(assuming a pricecache is indeed just a cached price)
Stop loss
Limit
Stop limit
take profit
Take profit limit
Assuming a pricecache is indeed what its name suggest and contains a "cached price".
Also assuming these do not need a reference "price" at the time of writing the order, it should go on the books and doesn't need to know the market value of SOL.

Research an estimated Solana Txn/s speed above which it will be safe to use Mangos.
I suggest implementing a warning or some sort of user facing message stating orders have a very high likelihood of failing to confirm below XXXXTPS. This will ensure users are educated about the REAL risk they may be taking on, at least until the research items (1 & 2 ) can be completed.

Acceptance Criteria:
The issue in item 1 is fully understood and the partners pyth/switchboard are aware and incentivized to work with mango on a resolution.
The invalidpricecache issue does not affect order types listed in item 2, if deemed possible possible.
Users should be able to reliably place and remove orders on mangos.v3 when solana TPS are above the TPS researched in item 3.

User Ken/M reporting this issue on 4/3.


Use lockdown logger for Lockdown messages

Extending the concept of the lockdown logger to async connections so that we can disable these kinds of lockdown messages even if we use async connections.

Ahh, good catch. As you can see I do most local testing with async off. :(

No worries, I'm glad that these messages are being addressed. Any idea when this will make it to a release?

@zliau I just pushed 7.8.4 to Maven Central, it may take a few hours for it to hit mirrors.

Thanks!


Batch size

Hi. If I change the training batch size, how do the learning rate, steps, and max_ietr parameter change?  Thanks.

@InstantWindy You need to check https://github.com/facebookresearch/Detectron/blob/master/configs/getting_started/tutorial_1gpu_e2e_faster_rcnn_R-50-FPN.yaml#L14-L30


djv Core FileIO Cannot open

[ERROR djv::Core::FileIO] Cannot open file: "P:\2019\Render\C0.tga"
Seems broken, can not load sequences of TGA,  or any other format for that matter, windows 10
Latest DJV installed, seems to be happening with older version too, this I think might be down to latest Windows 10 (V-1809 Build-17763.379)
https://ibb.co/d4PmH7J

Found the problem, it was just down to the naming. It did not like:
C1-0001.tga
once I changed it to:
C-10001.tga
it worked fine :)

I did some investigating.
I cannot open files with a "-" and a number on both sides of the "-".
For example:
1-1.jpg Doesn't work: [ERROR JPEG] Cannot open file [ERROR] Cannot open image: /home/oliver/1.jpg
a1-1.jpg Doesn't work: [ERROR JPEG] Cannot open file [ERROR] Cannot open image: /home/oliver/a1.jpg
1a-1.jpg works!
1-a1.jpg also works!
I've been testing on Linux with djv 1.3.0 and djv 2.0.2.
1.3.0 gives the error above while 2.0.2 fails silently.
Thanks for your awesome tool!

I just checked 2.0.3 and this seems to be fixed. It's working now. Thank you very much.

Filed for me, Tried this on windows 10 loading C-20000.TGA and it wont load the sequence.

oweissbarth: I was just going to suggest trying the new version since there are a number of fixes, happy to hear it works now!
absconcept: Sorry I haven't ported the TGA file reader to the new version, I'll get that in for the next version in a week or so. I also meed to add error messages so it's not so mysterious.
Darby

New version looking great, very happy with such an amazing program, it has helped me loads with many 3D animation projects :)

New issue to track adding TGA and other file formats:
https://github.com/darbyjohnston/DJV/issues/63

2.0.8 won't open at all. When I hover over the icon on the task bar just a white box appears in the preview popup.


Investigate KeyChain issues on DNCENGMAC045

@LoopedBard3 reports problems with the KeyChain on DNCENGMAC045 in queue OSX.13.Amd64.Iphone.Perf. So far, all I've done is disable that particular machine. Will need to investigate tomorrow and bring the system back online.
May be similar to prior issue last November.

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description

recreated the keychain file by rerunning the macos-signing-certs artefact. reenabled the machine but it's now clear these steps were enough. waiting for updates from @LoopedBard3…

reported as working again


Use pydantic 2 with v1 sub-package.

Hi,
Thank you for the amazing pre-trained models and all the work you put into making them easily available!
I was hoping that we can simply bump pydantic to version 2 and use pydantic.v1 inside go-nuclear. This would allow me to make use of pydantic2 features in my own config files :nerd_face:
Note: I did not run any tests with this change.
What do you think?
Cheers

OMG @tibuch, I’m so sorry for completely overlooking this PR! It looks fantastic—thank you for sharing this information. It’s really helpful. I’m merging it now.


Add-Mercenary-deaths-counter

Add a merc deaths counter in game_stats.py.

Trigger: put it in bot.py while Check if merc needs to be revived.

Hello, Sorry! I don't know what the next step is.
Should I wait for you to merge this request?
or could I merge and commit it on by myself?

Hello, Sorry! I don't know what the next step is.
Should I wait for you to merge this request?
or could I merge and commit it on by myself?

I just forgot to press the merge btn, sry. But you could have also done if you wanted.


Update UG to include mail

The user guide currently does not include documentation for mail. Let's add the mail command to the user guide so that potential users can understand the usage and constraints.

Codecov Report
Base: 67.86% // Head: 68.03% // Increases project coverage by +0.16% :tada:

Coverage data is based on head (f418ba7) compared to base (b4493e0).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #156      +/-   ##
============================================
+ Coverage     67.86%   68.03%   +0.16%
  Complexity      610      610
============================================
  Files           106      106
  Lines          1976     1980       +4
  Branches        217      217
============================================
+ Hits           1341     1347       +6
+ Misses          577      575       -2
  Partials         58       58

Impacted Files
Coverage Δ

...intrack/model/internship/UniqueInternshipList.java
84.05% <0.00%> (+4.05%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


filterRowRenderer example

Are there any examples of implementing a filterRowRenderer?
I keep getting "Uncaught TypeError: Cannot read property 'val' of undefined.
I have multiple nested/grouped grids and would like to filter on children and child properties.

Could you provide more details?
Where exactly do you get this error?
Having access to a public resource (jsfiddle or alike) demonstrating the issue would be helpful.

@tabalinas Could you please provide an example link or reference link for your statement?


Size priority, smaller widgets always above smaller widgets

Hi, I'd like to request a new feature/enhacement to the add_widget method. Specificaly, the enhancement is to the auto selection of columns/widths for new widgets. If new widgets are added to a grid that has a larger, full spanning widget already added, the smaller widgets should be added above the full spanning widget to enhance the aesthetics of the grid, regardless of the order to which they were added to the grid.
For example, if on a 3-width grid I add the following widgets
add_widget(el, 0, 0, 3, 1, true)
add_widget(el, 0, 0, 1, 1, true)
add_widget(el, 0, 0, 2, 1, true)
The layout would be the two smaller 1x1 and 2x1 widgets on row 1. The 3x1 widget would be on row 2. Instead, the current implementation puts the 3x1 widget on row 1, since it was added to the grid first. Row 2, would have the 1x1 and 2x1 widgets on row 2, since they were called after.

I'm closing this issue because proper usage should enable this sort of functionality if you'd like. If you need to, please reopen this ticket - but in that case, provide a jsfiddle providing some more information.


About the usage of Image Picker & problems on SystemChrome.setEnabledSystemUIOverlays([])

I am using Image Picker plugin into my app.
I found that when the following instruction has been issued and returned from the Camera user interface,
File imagePath = await ImagePicker.pickImage(source: ImageSource.camera);

The original setting of 'system UI overlays' has been reset!!
My app uses SystemChrome.setEnabledSystemUIOverlays([]) to hide both system status bar and navigation bar but once ImagePicker.pickImage is called and it enters Camera UI, sometimes the system status bar and navigation bar cannot be hidden after the return from Camera UI for some reason.
Is there any way to enforce to recover back the state of system UI overlays after the usage of ImagePicker?

Please add the output of flutter doctor -v.
To investigate we would need a minimal runnable reproduction
as a single file so that we can just copy your code into lib/main.dart of a new project and run to reproduce.

The following is my output from 'flutter doctor -v' :
[√] Flutter (Channel beta, v1.1.8, on Microsoft Windows [Version 10.0.17763.316], locale zh-TW)
• Flutter version 1.1.8 at C:\Projects\Flutter\flutter
• Framework revision 985ccb6 (6 weeks ago), 2019-01-08 13:45:55 -0800
• Engine revision 7112b72
• Dart version 2.1.1 (build 2.1.1-dev.0.1 ec86471ccc)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at C:\Users\XXXX\AppData\Local\Android\Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = C:\Users\XXXX\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
• All Android licenses accepted.
[√] Android Studio (version 3.3)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 32.0.1
• Dart plugin version 182.5124
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
[√] IntelliJ IDEA Community Edition (version 2018.2)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.2.5
• Flutter plugin version 30.0.2
• Dart plugin version 182.4892.25
[√] VS Code
• VS Code at C:\Users\XXXX\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 2.22.1
[√] VS Code, 64-bit edition (version 1.30.1)
• VS Code at C:\Program Files\Microsoft VS Code
• Flutter extension version 2.22.1
[√] Connected device (1 available)
• LG H830 • LGH830b443707e • android-arm64 • Android 8.0.0 (API 26)
• No issues found!

Before applying the instruction "File imagePath = await ImagePicker.pickImage(source: ImageSource.camera);", I have setup my app properly to hide the system status bar and navigation bar by SystemChrome.setEnabledSystemUIOverlays([])... but after calling that instruction and returning from it it seems that somehow my app does not hide those two bars "sometimes"... Sometimes it can hide but sometimes cannot.... (timing issue?)...

To investigate we would need a minimal runnable reproduction
as a single file so that we can just copy your code into lib/main.dart of a new project and run to reproduce.

The following is my 'build' & 'takePicture' method implementation in the main.dart file. Please refer to it.
It just happened when the user clicked the navigation tab where the code handles different types of tab.
Just focus on the portion of my takePicture method...
You can see after calling 'imagePath = await ImagePicker.pickImage(source: ImageSource.camera);' and the camera capture screen comes out and the user can take a photo there... after confirmed and finished, the screen will be back to my main screen page where is supposed to hide the system status bar and the navigation bar at bottom but actually it may or may not hide them with something which depends...
@override
Widget build(BuildContext context) {
print(MODULE+'=> build');
// Widget - not _isReady
//-------------------------------------------------------------------------
if (!_isReady)
  //  Since _isReady is false, display a circular progress indicator with its valueColor as a fixed color
  return createProgressIndicator();

// Define the list of widgets resident in BottomNavigationBar
// Notice that the potential changing named parameter will be passed to the tab so that its didUpdateWidget method will be called once that parameter has been changed
List<Widget> widgetList = <Widget>[
  MaterialApp(
    home: MapTab(
      category: ScopedModel.of<AppModel>(context, rebuildOnChange: true).mediaCategory,
      markers: ScopedModel.of<AppModel>(context, rebuildOnChange: true).markers,
    ),
    // localizationsDelegates for MaterialApp
    localizationsDelegates: [
      // Put app-specific localization delegate[s] here
      const TranslationsDelegate(),
      GlobalMaterialLocalizations.delegate,
      // can be ignored for non-material app as widget app
      GlobalWidgetsLocalizations.delegate,
    ],
    // supportedLocales for MaterialApp
    supportedLocales: [
      const Locale('en', 'US'),
      // English
      // The following is for Chinese simplified and traditional for different countries
      const Locale.fromSubtags(languageCode: 'zh'),
      const Locale.fromSubtags(languageCode: 'zh', scriptCode: 'Hans'),
      const Locale.fromSubtags(languageCode: 'zh', scriptCode: 'Hant'),
      const Locale.fromSubtags(
          languageCode: 'zh', scriptCode: 'Hans', countryCode: 'CN'),
      const Locale.fromSubtags(
          languageCode: 'zh', scriptCode: 'Hant', countryCode: 'TW'),
      const Locale.fromSubtags(
          languageCode: 'zh', scriptCode: 'Hant', countryCode: 'HK'),
    ],
  ),
  CameraTab(category: ScopedModel.of<AppModel>(context, rebuildOnChange: true).mediaCategory),
  CamcorderTab(category: ScopedModel.of<AppModel>(context, rebuildOnChange: true).mediaCategory),
];

return AnnotatedRegion<SystemUiOverlayStyle>(
  value: SystemUiOverlayStyle.dark,
  child: Scaffold(
    // Display current focused widget in the list
    body: SafeArea(
      top: true,
      bottom: true,
      left: false,
      right: false,
      child: widgetList[_index],
    ),
    // Define the BottomNavigationBar with a Theme object where there is no bottomNavigationBar shown when isOnEULA is on
    bottomNavigationBar: Theme(
      // Define the ThemeData with well-defined canvasColor
      data: ThemeData(canvasColor: Color(0xFF333333)),
      // Define the child of Theme which is the BottomNavigationBar
      child: hideNavigationBar ? Container(height:0, width:0) :BottomNavigationBar(
        // Define current index for the current focused widget
        currentIndex: _index,
        // Define fixedColor for label of the focused widget
        fixedColor: Color(0xFFFFFFFF),
        // Define onTap and set the internal index state here
        onTap: (int index) async {
          // Tap and change navigation bar index (page switching)
          if (this._index == index && index == 0) {
            // Specific handling on MapTab will not be applied across page switching => handle mediaCategory change
            // Advance mediaCategory and update appModel, which will trigger MapTab's didUpdateWidget and thus createAllMarkers will be called there!
            appModel.updateMediaCategory(
              (appModel.mediaCategory + 1) % MEDIA_CATEGORY_ICONS.length);
          }
          else {
            if (!USE_IMAGE_PICKER) {
              // For non-specific case just set the state for _index
              setState(() {
                this._index = index;
              });
              return;
            }
            // The following code is for USE_IMAGE_PICKER only
            if (index == 1) {
              setState((){
                hideNavigationBar=true;
              });
              await preprocessCameraTab();
              String filePath = await takePicture();
              await postprocessCameraTab(filePath);
              setState((){
                hideNavigationBar=false;
              });
            }
            else if (index == 2) {
              setState((){
                hideNavigationBar=true;
              });
              await preprocessCamcorderTab();
              String filePath = await recordVideo();
              await postprocessCamcorderTab(filePath);
              setState((){
                hideNavigationBar=false;
              });
            }
            else;
          }
          // Try to keep the system status bar and navigation bar hidden
          print(MODULE+'=> build: onTap: setEnabledSystemUIOverlays to be []');
          await SystemChrome.setEnabledSystemUIOverlays([]);
        },
        // Define items in the BottomNavigationBar
        items: <BottomNavigationBarItem>[
          // Item - "Map"
          BottomNavigationBarItem(
            icon: genMapIcon(), // generate an ImageIcon widget
            title: genMapTitle(), // generate a Text widget for title
          ),
          // Item - "Camera"
          BottomNavigationBarItem(
            icon: CAMERA_ICON,
            title: Text(Translations.of(context).cameraTab_title, style: TextStyle(color: Color(0xFFFFFFFF))),
          ),
          // Item - "Camcorder"
          BottomNavigationBarItem(
            icon: CAMCORDER_ICON,
            title: Text(Translations.of(context).camcorderTab_title, style: TextStyle(color: Color(0xFFFFFFFF)))
          ),
        ],
      ),
    ),
  )
);

}
}
Future takePicture () async {
print(MODULE+'=> takePicture: start to take picture');
// Start to take a picture
String destPath;
String filePath;
File imagePath; // for USE_IMAGE_PICKER only
try {
// Prepare destPath in a format from current date time
var date = DateTime.now();
filePath = date.year.toString() +
date.month.toString().padLeft(2, '0') +
date.day.toString().padLeft(2, '0') +
'' +
date.hour.toString().padLeft(2, '0') +
date.minute.toString().padLeft(2, '0') +
date.second.toString().padLeft(2, '0') +
'.jpg';
destPath = await MEDIA_PHOTO_PATH + '/IMG' + filePath;
// Start to take a photo
// Retrieve current  file path list in CAPTURED_MEDIA_PATH
List oldListFiles = Directory(await CAPTURED_MEDIA_PATH).listSync().map((file)=>file.path).toList();
// Open an ImagePicker with source from the camera, which will return a File object called imagePath
imagePath = await ImagePicker.pickImage(source: ImageSource.camera);
if (imagePath == null) {
// This may happen when either the user cancels the captures (not confirmed OK) or clicks the back tab
print(MODULE+'=> takePicture: no picture was taken!');
// For this case we want to delete all of the possible generated temporary files from ImagePicker in the TEMP_MEDIA_PHOTO_PATH folder
List listFiles = Directory(await TEMP_MEDIA_PHOTO_PATH).listSync();
for (int i = 0; i < listFiles.length; i++) {
print(MODULE+'=> takePicture: temp file ${listFiles[i].path} is deleted');
listFiles[i].deleteSync();
}
// Also we need to delete any just captured files (the difference from oldListFiles) in the CAPTURED_MEDIA_PATH folder
listFiles = Directory(await CAPTURED_MEDIA_PATH).listSync().where((file)=>!oldListFiles.contains(file.path)).toList();
for (int i = 0; i< listFiles.length; i++) {
listFiles[i].deleteSync();
print(MODULE+'=> takePicture: captured file ${listFiles[i].path} is deleted');
}
return null;
}
print(MODULE + '=> takePicture: rename the captured photo file into the well-defined and preferrable destPath');
imagePath.renameSync(destPath);
// Also we need to delete any just captured files (the difference from oldListFiles) in the CAPTURED_MEDIA_PATH folder
List listFiles = Directory(await CAPTURED_MEDIA_PATH).listSync().where((file)=>!oldListFiles.contains(file.path)).toList();
for (int i = 0; i< listFiles.length; i++) {
listFiles[i].deleteSync();
print(MODULE+'=> takePicture: captured file ${listFiles[i].path} is deleted');
}
} catch (e) {
print(MODULE+'=> takePicture: no picture was taken: '+e.toString());
return null;
}
// Return the file path after taking a picture successfully
return destPath;
}

Can you please make it a minimal runnable reproduction
as a single file so that we can just copy your code into lib/main.dart of a new project and run to reproduce and ensure it does not contain code that is not required to reproduce the issue.

flutter_app_Feb27_2019.zip
Hello,
Please check the attached zip file which contains the working main.dart and pubspec.yaml files.
While launching the app, you can see the bottom where there are TWO tabs: one for help and the other one for camera. Initially at the code I have used SystemChrome.setEnabledSystemUIOverlays([]) to enforce the app to hide system status and navigation bar.... But after clicking Camera tab it will enter Camera UI screen, once it is finished and the screen will be back to our main screen; unfortunately it MAY or MAY not keep previous HIDE state even I am trying to add another call to SystemChrome.setEnabledSystemUIOverlays([])  just right after calling ImagePicker... You can try to reproduce it by tapping Camera tab back and forth, the HIDE state is not consistent... Sometimes it can HIDE but sometimes it cannot.

@goldenhuang I do want to help but unfortunately, we can't just download the zip and try your code. If you may, could you try to reduce your code as minimum as possible to reproduce the issue, and post the main.dart code here?

Here is my main.dart file. I have zipped it into main.zip.
main.zip

The following is the post of the main.dart code :
import 'package:flutter/material.dart';
// => add the code (to use the following plugins)
import 'package:flutter/services.dart';
import 'dart:async';
import 'dart:io';
import 'package:image_picker/image_picker.dart';
// <= end the code
void main() async {
// =>  add the code (to hide the system status and system navigation bar)
await SystemChrome.setEnabledSystemUIOverlays([]);
// <= end the code
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
// This is the theme of your application.
//
// Try running your application with "flutter run". You'll see the
// application has a blue toolbar. Then, without quitting the app, try
// changing the primarySwatch below to Colors.green and then invoke
// "hot reload" (press "r" in the console where you ran "flutter run",
// or simply save your changes to "hot reload" in a Flutter IDE).
// Notice that the counter didn't reset back to zero; the application
// is not restarted.
primarySwatch: Colors.blue,
),
home: MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);
// This widget is the home page of your application. It is stateful, meaning
// that it has a State object (defined below) that contains fields that affect
// how it looks.
// This class is the configuration for the state. It holds the values (in this
// case the title) provided by the parent (in this case the App widget) and
// used by the build method of the State. Fields in a Widget subclass are
// always marked "final".
final String title;
@override
_MyHomePageState createState() => _MyHomePageState();
}
// class _MyHomePageState extends State {
class _MyHomePageState extends State with SingleTickerProviderStateMixin {
int _counter = 0;
// => add the code
int _index; // index for page selection
// Method : initState
// - Initialize states used in the class
//---------------------------------------------------------------------------
@override
void initState() {
super.initState();
_index = 0; // set as page 0
}
// <= end the code
void _incrementCounter() {
setState(() {
// This call to setState tells the Flutter framework that something has
// changed in this State, which causes it to rerun the build method below
// so that the display can reflect the updated values. If we changed
// _counter without calling setState(), then the build method would not be
// called again, and so nothing would appear to happen.
_counter++;
});
}
@override
Widget build(BuildContext context) {
// Define the list of widgets resident in BottomNavigationBar
List widgetList = [
MaterialApp(
home:  Scaffold(
appBar: AppBar(
// Here we take the value from the MyHomePage object that was created by
// the App.build method, and use it to set our appbar title.
title: Text(widget.title),
),
body: Center(
// Center is a layout widget. It takes a single child and positions it
// in the middle of the parent.
child: Column(
// Column is also layout widget. It takes a list of children and
// arranges them vertically. By default, it sizes itself to fit its
// children horizontally, and tries to be as tall as its parent.
//
// Invoke "debug painting" (press "p" in the console, choose the
// "Toggle Debug Paint" action from the Flutter Inspector in Android
// Studio, or the "Toggle Debug Paint" command in Visual Studio Code)
// to see the wireframe for each widget.
//
// Column has various properties to control how it sizes itself and
// how it positions its children. Here we use mainAxisAlignment to
// center the children vertically; the main axis here is the vertical
// axis because Columns are vertical (the cross axis would be
// horizontal).
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
'You have pushed the button this many times:',
),
Text(
'$_counter',
style: Theme.of(context).textTheme.display1,
),
],
),
),
floatingActionButton: FloatingActionButton(
onPressed: _incrementCounter,
tooltip: 'Increment',
child: Icon(Icons.add),
), // This trailing comma makes auto-formatting nicer for build methods.
),
),
Container(),
];
return Scaffold(
  body: widgetList[_index],
  bottomNavigationBar: Theme(
    data: ThemeData(canvasColor: Color(0xFF333333)),
    child: BottomNavigationBar(
      currentIndex: _index,
      fixedColor: Color(0xFFFFFFFF),
      onTap: (int index) async {
        if (this._index == index && index == 0) {
          print('Do nothing');
        }
        else {
          if (index == 1) {
            print('Start to enter Camera UI screen');
            // => Need to investigate system status bar and navigation bar from here (HIDE those two bars)
            File imagePath = await ImagePicker.pickImage(source: ImageSource.camera);
            // <= Need to investigate system status bar and navigation bar from here (HIDE or SHOW those two bars for some reasons)
            print('Enable system UI overlays again');
            await SystemChrome.setEnabledSystemUIOverlays([]);
            print('Leave Camera UI screen');
          }
        }
      },
      items: <BottomNavigationBarItem>[
        BottomNavigationBarItem(
          icon: Icon(Icons.help, color: Colors.white),
          title: Text('Help', style:TextStyle(color: Colors.white)),
        ),
        BottomNavigationBarItem(
          icon: Icon(Icons.camera, color: Colors.white),
          title: Text('Camera', style:TextStyle(color: Colors.white)),
        ),
      ],
    ),
  ),
);

}
}

Hi @goldenhuang,
I tried the official image_picker plugin example by adding the SystemChrome.setEnabled..() and took a picture and selected image from gallery and observed that the setting remains intact, ie, the statusbar and bottom bar remain hidden.
void main() {
  WidgetsFlutterBinding.ensureInitialized();
  SystemChrome.setEnabledSystemUIOverlays([]);
  runApp(MyApp());
}

27890.mp4.zip
Tested on latest stable (1.20.2) and on Android 8.1.0 device.
code sample: https://pub.dev/packages/image_picker/example
Can you confirm at your end if this is still an issue ?
Thanks.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


CssParser ParseSelector?

Hi, I'm upgrading some code from AngleSharp v0.9.x to v0.11. Earlier we could do:
CssParser parser = new CssParser();
ISelector selector = parser.ParseSelector("p > a");

But now it looks like CssParser is not part of the core lib, so is the ParseSelector method still available in the core lib, or do I need AngleSharp.Css, and how will the above code change?

Thank you.
While trying a few things, I noticed that this seems to work too:
CssSelectorParser parser = new CssSelectorParser();
ISelector selector = parser.ParseSelector("p > a");

Any reason not to use CssSelectorParser directly?

Because it may depend on other things coming from context. Also implementation of this (constructor) may change, but the interface is there for you. As long as you do not depend on the specific implementation details it always makes sense to go for the abstraction (plus in your code you can easily mock it, e.g., for unit testing).
I could also ask "why not use the interface"? :)

Landed in devel.


fix for python 3.10

Hi I tried to use this project, however, this type hint does not work in my older Python 3.10

Hello @david58! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file curseforge/base.py:

Line 99:80: E501 line too long (88 > 79 characters)

🚀


No indentation in interactive window command line

Applies To

[ ] Notebooks (.ipynb files)
[X] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
I could swear that up until recently (I have coded in another language for a couple of months), the interactive window's command line would correctly indent code, but now it appears it does not:

I could not find any setting that controls this behaviour. Am I wrong in remembering it did indent? If I am wrong, then I would like to transfer this to a feature request, as I think it really should indent automatically.
VS Code Version
Version: 1.92.2 (user setup) Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9 Date: 2024-08-14T17:29:30.058Z Electron: 30.1.2 ElectronBuildId: 9870757 Chromium: 124.0.6367.243 Node.js: 20.14.0 V8: <IP_ADDRESS>-electron.0 OS: Windows_NT x64 10.0.19045
Jupyter Extension Version
v2024.7.0
Jupyter logs
No response
Coding Language and Runtime Version
No response
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
None

I found out about this.
The issue happened with the Interactive Window: Execute With Shift Enter option ticked off. In this case, pressing "enter" still created a new line (instead of executing the code), and this new line was unindented as shown in my screenshot.
Using shift-enter in this case to create the line, correctly indented the cursor.
Likewise, if I have the  Interactive Window: Execute With Shift Enter option ticked on, then pressing "enter" creates a new line which is correctly indented.
So my conclusion is that this behaviour is correct and sensible. The problem lies in "enter" creating a new line instead of executing the code, which I reported in another issue (https://github.com/microsoft/vscode-jupyter/issues/15945).
I think this issue can be closed.


Make docs on using serializer in a non-static way easier to find

After spending a few minutes, I was unable to find docs on how to use this library without using the static JsonConvert helper class.
It's not a huge deal since for most applications; JsonConvert is absolutely sufficient, and you can always check its source for the non-static equivalent, but it is frustrating that the documentation on what should be a fairly simple thing is not readily available.

What is wrong with http://www.newtonsoft.com/json/help/html/SerializingJSON.htm ?

@JamesNK that's pretty much exactly what I would like to see...but I didn't find it :(
I think that its beneath the JsonConvert example and scrolled off the page initially is the problem. Could be addressed simply by adding two shortcuts at the top something like

Simple static serialization with JsonConvert
More complex serialization with JsonSerializer

JsonConvert
.....
JsonSerializer
....

Done https://github.com/JamesNK/Newtonsoft.Json/commit/b7e77700acb288f596ba13b64fb1bc419f69dce5


30 allow fit kwargs for custom callbacks

This PR allows to pass keyword arguments in the interface in order to trigger callbacks in the models fit methods during training.
I implemented a dedicated callbacks keyword which is type hinted as well as additional kwargs to fit and to the model constructors. Therefore, people can decide what other stuff they want to pass to their models for special cases.
Additionally I incorporated the neptune-sklearn integration to make regression summaries.

LMER test seems to freeze 👎

This PR allows all kinds of nice stuff that wasnt possible before:

neptune-xgboost callbacks and other generic callbacks to the models
neptune-sklearn integration regression summaries


Point cloud cannot be displayed successfully

I use jupyter-lab and cannot successfully show that the point cloud has only a string of prints. I don't know if it is because of the code or because of a problem with the environment of jupyter-lab.
I want to show pointcloud but it just give me like this prints no pointcloud view:
Renderer(camera=PerspectiveCamera(aspect=1.6, fov=90.0, position=(0.008728588931262493, 1.520455745747313, 10.…
HBox(children=(Label(value='Point size:'), FloatSlider(value=0.001, max=0.01, step=1e-05), Label(value='Backgr…
Can you give me some advice,thanks very much.

Hola. It seems like an issue with the jupyter lab environment. Please check the comments in #187 to see if your problem is related with that.

Specifically: https://github.com/daavoo/pyntcloud/issues/187#issuecomment-400776966

Thank you for your reply．Point clouds can be displayed normally in notbook．But not in the lab, only 2d pictures can be displayed in the lab．

but when I execute command 'jupyter labextension install @jupyter-widgets/jupyterlab-manager' and 'jupyter lab build' give me the same error:'NameError: name 'CoreConfig' is not defined'

It looks like there is an issue with the nodejs version installed. See:
https://github.com/quigleyj97/jupyterlab-spreadsheet/issues/19
Following the comments, could you run:
conda install -c conda-forge nodejs
To see if that uptades your node version and resolves the problem?

I updated nodejs to the latest，And successfully executed:
'jupyter labextension install @jupyter-widgets/jupyterlab-manager'.
Now its different befor.its succellfully display buttons:
'Point size:-------------- 0.01'  and  'Background color: black'
but there is still no pointcloud its show me the error:
'Error displaying widget: model not found'.

I updated nodejs to the latest，And successfully executed:
'jupyter labextension install @jupyter-widgets/jupyterlab-manager'.
Now its different befor.its succellfully display buttons:
'Point size:-------------- 0.01' and 'Background color: black'
but there is still no pointcloud its show me the error:
'Error displaying widget: model not found'.
tegra-ubuntu:~$ jupyter labextension list
JupyterLab v2.0.1
Known labextensions:
app dir: /usr/local/share/jupyter/lab
@jupyter-widgets/jupyterlab-manager v2.0.0 enabled OK
jupyterlab-datawidgets v6.2.0 enabled OK

I also have the same issue - extension is enabled, and shows basic controls but plotting fails with message "Error displaying widget: model not found"


Publish new release via new CI

TODO:

#277
#283
#286
#288
What version? 10.4.0 ?
OK with new icon?

ping @stakx
After that I can push 10.4.0 tag via GitHub releases to trigger CI.

Done
https://github.com/PublicApiGenerator/PublicApiGenerator/releases/tag/10.4.0
https://github.com/PublicApiGenerator/PublicApiGenerator/releases/tag/10.4.1


Remove workaround for updating old connection info

Removed the workaround for updating connection info as the credentials dialog now does this automatically. Also, fixed an issue with comparing the enum dialogresult.

@gregg-miskelly @rajkumar42

:shipit:


Isolate main is already scheduled on mutator thread 0xa8f9f400, failed to schedule from os

I have a listview, I use Executor to run a task to get data in background for continuous scroll listview, the code run ok, but it's random crash on real device, release build with error message from the log:
../../third_party/dart/runtime/vm/dart_api_impl.cc: 1708: error: Isolate main is already scheduled on mutator thread 0xa8f9f400, failed to schedule from os thread 0x5b27
if I remove worker_manager, the app run well without crash, I dont know why the crash occured by chance, not by request data because the app run well without create isolate.
 Flutter (Channel master, 1.25.0-5.0.pre.106, on Mac OS X 10.14.6
    • Flutter version 1.25.0-5.0.pre.106 at /Users/admin/dev/flutter/flutter
    • Framework revision bd68225598 (10 hours ago), 2020-12-07 19:58:04 -0500
    • Engine revision a26e80c931
    • Dart version 2.12.0 (build 2.12.0-125.0.dev)

addition logs:
pthread_create failed: couldn't allocate 528384-bytes mapped space: Out of memory
W/libc    ( 9741): pthread_create failed: couldn't allocate 528384-bytes mapped space: Out of memory

Hello, @winterdl did you tried compute method instead? Can you clarify your device model? The issue looks weird and looks like it came from dart VM, not a library around isolates. After your clarifying, I will send logs and all information to dart VM team, thx!

Sorry for late reply, for the release of my app, I have to removed code related to isolate, the exception occured when creating isolate manual, not using your lib. Thank you for your help.


Update installation instructions

This is something that is not intuitive but very seems very important when installing leptos libraries. Leptos allows you to build applications that are generated, at least:

On client side with...

Client side rendering (csr feature): This means that the component is built on the browser.
Hydration (hydrate feature): The component is rendered first on the server (ssr) and then is hydrated on the client, so it runs 2 times.

On server side (ssr feature).

So, in an SSR + hydrate application, we build two versions of the code: to render on the server and to hydrate on the client. Because of that, we need to allow all features to be optionally enabled to make sure that the application can be built for server, hydrated and rendered on client side.
See "Hydration bugs" chapter of the Leptos book :

Each time you reload the page, where do I run? should log once on the server and once on the client.

Following that seems that almost all Leptos libraries should recommend to install for all contexts from the beginning. So the installation instructions should be something like:
[dependencies]
leptos_hotkeys = "0.1.6"

[features]
csr = ["leptos_hotkeys/csr"]
hydrate = ["leptos_hotkeys/hydrate"]
ssr = ["leptos_hotkeys/ssr"]

This is what leptos-use recommends for SSR, with the difference that leptos-use does not have an csr feature. If a library has a csr feature because needs mutually exclusive functionalities or because it prefers to explicitly obligate app consumers to enable the csr feature, it should recommend the features approach from the beginning. That's what I'm doing in leptos-fluent.

Thoughs about this @friendlymatthew?

Thoughs about this @friendlymatthew?

Yeah this was definitely a todo. Funny enough, I was chatting with Mr. Leptos-use about this today.
Completely agree this is needed

We will probably have to clean up the CFG imports.
'''
It seems you really don't need the hydrate or csr features. You can safely have web-sys and wasm-bindgen as dependencies on the server as long as you don't try and instantiate sth from them
'''

Correct me if I'm wrong but I think this is fixed? Via #63 and #64


Publish swagger documenation with nodejs

$BASE_URL/api-docs/saral/frontend/
$BASE_URL/api-docs/saral/maintenance/
with above url we can view swagger documentation of API.


Closed Beta Testing Access

Context
As early beta testing user I want to have access to GameDAO protocols so I can test the platform.
Tasks
[ ] create discord bot which sends NFTs to a wallet address
[ ] create NFTs on RMRK and send them to discord bot sender address
[ ] access restriction on beta.gamedao.co #310
[ ] quests page #311
[ ] success messages #312
[ ] quest page icon #331
Additional Information
beta test user process should work like this:

beta test user gets into a private discord channel
beta test user asks discord bot with a message to receive an access key by providing his address (only 1 key per address)
beta test user receives access key into his wallet (best case with a link to see the key)
beta test user goes to beta.gamedao.co and sees a landing page where he can enter the beta and is redirected to the /app page
4.1 /app page consists of a teaser, "Access key needed" container, how to get started container, connect wallet container
4.2 on wallet connect the platform checks if the key is in one of the wallets and allows the user to interact with the page (logs in the user, wallet is connected)
4.3 if there is no  access key in the users wallet addresses the user receives a snack bar message about there is no key in the wallet and how to obtain the key link (/app page) (wallet is not connected) (same page
A new navigation point (Quests) is visible in the left navigation for loggedin users
Quests page contains  welcome message, quests in boxes, quest status visible and links provided to the feedback form

Info: added additional task to replace icon in navigation


Fix cargo check for pallet-contracts-proc-macro

close #12705
I don't know if this works yet, but I'm opening the PR without Draft for testing the CI.

Curious about why this wasn't being caught before. Are we not running cargo check for each individual crate on CI? That's important for publishing because each crate is published (and therefore checked) individually

Curious about why this wasn't being caught before

Cargo is merging features in the workspace. Meaning we already have the full feature somewhere enabled in the workspace and thus, it gets enabled here as well when building stuff in the workspace.

bot merge


Update create-node-pools.md

--nodepool-name can contain at most 12 characters

#please-open

@MGoedtel
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

sign-off


注解的格式太诡异了，而且有些测试方法的注释过多了

can u provide some sample code or snapshot ?
this will help others to know what u want to say.


[Automation] Generate Fluent Lite from azurestackhci#

[Automation] Generate Fluent Lite from azurestackhci#

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-resourcemanager-azurestackhci


Active Scan callback / Add/Update the logs in Mac class

This PR has two different commits:
Change Mac::ActiveScan() callback to provide otActiveResult
This commit changes the active scan callback to directly provide a pointer to otActiveScanResult struct instead of a beacon Frame. The code which converts the beacon frame into an otActiveScanResult is moved into Mac class as a new method Mac::HandleBeacon()
Add/Update the logs in Mac class
This commit contains the following changes:

Updates logs for a failed tx or rx to include info about the frame (len, seq number, type, src/dst address, etc.).
Adds detailed logs about transmitted or received Beacon frames (network name, xpanid, protocol id, version, joinability, native flag, ...)
Adds helper method ToInfoString() to Frame and BeaconPyalod classes to provide a debug info string representation of the object.

Codecov Report

Merging #1623 into master will decrease coverage by 0.98%.
The diff coverage is 42.85%.

@@            Coverage Diff             @@
##           master    #1623      +/-   ##
==========================================
- Coverage   71.16%   70.17%   -0.99%
==========================================
  Files         155      159       +4
  Lines       18495    19362     +867
  Branches     2264     2396     +132
==========================================
+ Hits        13162    13588     +426
- Misses       4511     4919     +408
- Partials      822      855      +33

Impacted Files
Coverage Δ

src/core/mac/mac_frame.hpp
86% <ø> (+18.65%)
:arrow_up:

include/openthread/types.h
100% <ø> (ø)
:arrow_up:

src/core/mac/mac.hpp
83.33% <ø> (ø)
:arrow_up:

src/core/mac/mac_frame.cpp
79.37% <0%> (-6.89%)
:arrow_down:

src/core/api/link_api.cpp
31.45% <0%> (+11.04%)
:arrow_up:

src/core/thread/panid_query_server.cpp
92.72% <100%> (-0.13%)
:arrow_down:

src/core/mac/mac.cpp
80.27% <96%> (+1.99%)
:arrow_up:

src/core/common/timer.cpp
87.5% <0%> (-2.78%)
:arrow_down:

src/core/thread/mle_router.cpp
77.77% <0%> (-0.27%)
:arrow_down:

src/ncp/ncp_uart.cpp
71.6% <0%> (ø)

... and 24 more

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 fc931e9...babfee9. Read the comment docs.

Closing this for now to change the two commits


Clocking on Pool Share should take user to the pool

Wallet->Pools Share - when the user clocks on a pool they are in, it would be good if the if it took the user to the pool (same as the "+ Liquidity" button from the pools page)
I went to the pools share area so I could quickly find the pool I wanted to withdraw from.

Filed as #910


Added support for null geometry to return valid GeoJSON

Thanks. I hope to review this and make a release this weekend.


Inheriting from a custom class

Question
How can I create a custom class inheriting another custom class [from the same project]?
I could not find any example of this in the examples. Inheriting from an engine class is pretty much this:
const CustomSprite = struct {
	pub usingnamespace Godot.Sprite2D;
	godot_object: *Godot.Sprite2D,
};

But I'm not sure how to go about exposing a class as being child of another custom one.
Proposal
Unless I'm missing something obvious, here are my thoughts:
I've attempted to make my own WIP bindings by taking inspiration from yours, but could not see how you would handle this case. I ended up with the following idea, which however has some differences in how you did things:
const CustomSprite = struct {
	base: godot.Sprite2D,
	some_variable: i32,
	//...
};

const CustomDerivedSprite = struct {
	base: CustomSprite
	other_variable: i32,
	//...
};

The idea is that every subclass contains its parent with a field conventionally named base. usingnamespace cannot work here, because it only applies to non-instance members (like functions, constants, but not fields). Engine classes however can keep using usingnamespace because they don't have custom fields outside godot_object and it makes them easier to use.
Instead of directly getting .godot_object, Bindings can still lookup the godot_object when necessary by recursing base members with a comptime function:
// Note, might not compile, but it's just to illustrate the idea
pub fn getGodotObject(comptime TClass: type, obj: anytype) *TClass {
	if (@hasMember(obj, "godot_object")) {
		return obj.godot_object;
	}
	return getGodotOject(TClass, &obj.base);
}

About usingnamespace
Something you might notice is how I removed usingnamespace in the base class too. The introduction of such base convention means there are two ways you could implement the "first" custom class: either you do it like now, or you do it with just base: GodotClassOrCustomClass. Both could work as a result of the bindings recognizing base. I like being able to do this, because I can decide whether I mix all Godot methods in my namespace or not. While before, I had no choice because that's how you accessed the API (or you had write the class name explicitely each time, while now you can just do self.base.x()).
However, classes deriving from the "first" custom class cannot use usingnamespace at all, because that would assume the inherited methods can use self to access their fields, which won't work because it's now behind base.*. I'm not aware of something in Zig allowing to bypass that to have actual field+methods "mixins".
That leads to some awkwardness if you have a deep inheritance tree and need to access fields or methods of a grand-grandparent:
self.base.base.base.some_variable = 42;

Which could be made clearer by using a comptime helper like this:
// Non-ambiguous, compile-time "upcast"
// Note, might not compile, but it's just to illustrate the idea
pub fn as(comptime TClass: type, obj: anytype) *TClass {
	if (@TypeOf(obj) == TClass) {
		return obj;
	}
	return as(TClass, &obj.base);
}

as(self, BaseClass).some_variable = 42;

Polymorphism
Derived classes means polymorphism comes up.
What if you have an API that is exposed to Godot as taking BaseCustomClass*, and pass a DerivedCustomClass* to it?
Instance bindings would hold a pointer to the most derived one, but the Zig method has to receive a BaseCustomClass*. So once again, the base approach can work by having the method receive the address of the base field corresponding to BaseCustomClass somehow:
// In the wrapper calling the Zig method (pseudo-code)
obj_function(obj_self, &most_derived.base);

Casting would also work in a similar way:
// "downcast" which would return null on failure (same as in C++)
const derived_instance: DerivedCustomClass?* = godot.cast_to(DerivedCustomClass, base_instance);

I haven't gone to this point in my investigations, so I'm not sure what kind of wrinkles would be involved here.
I'm also aware of how you could do interfaces with vtables in pure Zig, and I have no idea yet how that would be put into place here. But I feel like it might make things a lot more complicated. Maybe this could be done in a way that is optional or up to the developer.
Radical alternative
An opinionated alternative is to just not support this at all, on the principle that Zig doesn't really favor it, and that composition must be used instead. While that option might have good reasons in Zig land, and might not matter much if you make a game, that severely limits what can be exposed to Godot. I already restrict the use of inheritance in my own projects because I'm not a fan, I prefer using it in specific situations where it's actually useful. But half of my use cases for GDExtension is to make plugins, which are used by other people. Therefore, I often have to expose APIs making use of inheritance, and not being able to use it at all makes things harder.

I struggled with this also before, Zig does not and will never embrace OOP, I don't think supporting OOP is a good idea, though you may provide a solution in some tricky way, but finally the end user will face more challenges because of different philosophy behind. Composition is prefered way to go in Zig, otherwise why not use C++ in the first place?

I've already been using C++ for a long time, and outside of Godot architectures I work with are essentially composed/ECS/interfaces-only/very shallow inheritance trees. I just started using Zig recently and I really like it, to the point I'd like to make my future projects in Zig instead of C++. But since a lot of my current projects involve Godot that's how I ended up trying to use Zig in Godot, which then involves OOP. So I thought I'd write down my investigation so far here.
I stopped my investigation for now, but if I find something later on I'll post it here.

Welcome aboard, though I miss features from D&Nim from time to time, I never miss any feature from C++ :) And Zig is by far very simple and powerful

get improved to some extent in 6aef5de0ece32f5b6e7a6f055a2ad38da268cd9d

What was the changes? I see you added the concept of base instead of the godot_object pointer, but it doesn't seem to handle inheriting a custom class. I also havent seen yet what was the "callback stuff" in your bindings.
I've been thinking more about polymorphism and came to a point where I'm sort of re-implementing dynamic_cast in Zig. The main reason being mostly that it doesn't seem easy to set instance bindings to be a pointer to most-derived, because then it's unclear how to get a pointer to any base when that's what a function expects (i.e passing a *MyDerivedSprite to a function expecting *MyBaseSprite). Instance bindings are opaque, so since pointers to derived could point to anything, it's unsafe to cast. So instead instance bindings could be a pointer to the same known "bottom base" (i.e the address of the struct field containing the engine class binding). That base would then not just godot_object, but also a sort of ID or pointer that can be used to list all derived classes and their offsets relative to the base pointer. Then depending on which function is being called by Godot (i.e GDScript or whatever), the right offset can be picked, or an error can be produced if the caller actually sent the wrong object type. But that's mostly theory I've been thinking about, I still need to experiment that stuff eventually to see if that's what needs to happen or not.

I dont implement dynamic dispatching, you can check https://github.com/yglcode/zig_interfaces for reference


(PDB-2890) Allow dumping pdb log on test failures

If PDB_TEST_DUMP_LOG_ON_FAILURE is set to true, and the
clojure.test report-counters register any change in the error or
failure count while inside call-with-log-suppressed-unless-notable, dump
the log to err.
Set PDB_TEST_DUMP_LOG_ON_FAILURE=true for the Travis and Jenkins tests.

@puppetlabs-jenkins test this please

Test FAILed

@rbrw can you try rebasing this?

Test FAILed

Test PASSed

Moving to stable.


No connection after updating Linux system

General information

Version: 1.9.5
Device: RaspberryPi 3 with LAN/Eth0
Linux Version: Debian 8
Server software: DietPi 1.5.5
Resolvers: DNSCrypt.eu
Other used software: Pi Hole 3.1.4
DNSCrypt source: https://download.dnscrypt.org/dnscrypt-proxy/
guide: https://github.com/pi-hole/pi-hole/wiki/DNSCrypt

Steps to reproduce

Running system
apt update && apt upgrade
reboot

Expected result
Should run normally.
Debug output
No connection to DNS-Server,
systemctl status -l dnscrypt-proxy@\*
says Services are aktive and runnig but it's not possible to get any connction
only if i add a new resolver, i can solve this Problem. Then DNSCrypt uses only the new resolver although there are runnig resolvers available.

Have any cache app running too (eg. unbound, dnsmasq ) ?
What does netstat -tupan | grep 53 say?

dnsmasq is running
System knows that listen on <IP_ADDRESS>:53 but
nslookup google.de
says no connection.

You did setup dnsmasq to forward queries to the dnscrypt-proxy port, right?
Your /etc/resolv.conf has nameserver <IP_ADDRESS>, right?

I don't know how to do that, but try disabling DNSSEC validation in dnsmasq.

Same issue with Orange Pi Zero ARMBian (actually, it's Debian Jessie). I was using DNSCrypt along with Pi-Hole. I thought I messed up something, currently installing from scratch. Please ket me know if I can assist or test something in any way.

Debian Jessie => dnsmasq is obsolete and broken (DNSSEC verification doesn't work).
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805596

Also, may this also be the reason ? (please see the logs of .dk below)
> systemctl status -l dnscrypt-proxy@\*
●<EMAIL_ADDRESS>- DNSCrypt client proxy
   Loaded: loaded<EMAIL_ADDRESS>enabled)
   Active: active (running) since Sun 2017-09-10 23:52:59 CEST; 2min 11s ago
     Docs: man:dnscrypt-proxy(8)
 Main PID: 18685 (dnscrypt-proxy)
   CGroup<EMAIL_ADDRESS>           └─18685 /usr/local/sbin/dnscrypt-proxy --resolver-name=dnscrypt.eu-nl --user=dnscrypt

Sep 10 23:52:59 orangepizero dnscrypt-proxy[18685]: Sun Sep 10 23:52:59 2017 [INFO] + Provider supposedly doesn't keep logs
Sep 10 23:52:59 orangepizero dnscrypt-proxy[18685]: Sun Sep 10 23:52:59 2017 [NOTICE] Starting dnscrypt-proxy 1.9.5
Sep 10 23:52:59 orangepizero dnscrypt-proxy[18685]: Sun Sep 10 23:52:59 2017 [INFO] Generating a new session key pair
Sep 10 23:52:59 orangepizero dnscrypt-proxy[18685]: Sun Sep 10 23:52:59 2017 [INFO] Done
Sep 10 23:53:01 orangepizero dnscrypt-proxy[18685]: Sun Sep 10 23:53:01 2017 [INFO] Server certificate with serial '0001' received
Sep 10 23:53:01 orangepizero dnscrypt-proxy[18685]: Sun Sep 10 23:53:01 2017 [INFO] This certificate is valid
Sep 10 23:53:01 orangepizero dnscrypt-proxy[18685]: Sun Sep 10 23:53:01 2017 [INFO] Chosen certificate #808464433 is valid from [2017-09-10] to [2018-09-10]
Sep 10 23:53:01 orangepizero dnscrypt-proxy[18685]: Sun Sep 10 23:53:01 2017 [INFO] The key rotation period for this server may exceed the recommended value. This is bad for forward secrecy.
Sep 10 23:53:01 orangepizero dnscrypt-proxy[18685]: Sun Sep 10 23:53:01 2017 [INFO] Server key fingerprint is 72DF:BE14:531F:F2AD:FD0F:BC8B:F711:B93D:799F:E4D0:34EC:D26B:8BF9:FFA9:32E7:2B79
Sep 10 23:53:01 orangepizero dnscrypt-proxy[18685]: Sun Sep 10 23:53:01 2017 [NOTICE] Proxying from <IP_ADDRESS>:41 to <IP_ADDRESS>:443

●<EMAIL_ADDRESS>- DNSCrypt client proxy
   Loaded: loaded<EMAIL_ADDRESS>enabled)
   Active: active (running) since Sun 2017-09-10 23:52:55 CEST; 2min 15s ago
     Docs: man:dnscrypt-proxy(8)
 Main PID: 18682 (dnscrypt-proxy)
   CGroup<EMAIL_ADDRESS>           └─18682 /usr/local/sbin/dnscrypt-proxy --resolver-name=dnscrypt.eu-dk --user=dnscrypt

Sep 10 23:54:13 orangepizero dnscrypt-proxy[18682]: Sun Sep 10 23:54:13 2017 [INFO] This certificate has expired
Sep 10 23:54:13 orangepizero dnscrypt-proxy[18682]: Sun Sep 10 23:54:13 2017 [ERROR] No useable certificates found
Sep 10 23:54:34 orangepizero dnscrypt-proxy[18682]: Sun Sep 10 23:54:34 2017 [INFO] Refetching server certificates
Sep 10 23:54:35 orangepizero dnscrypt-proxy[18682]: Sun Sep 10 23:54:35 2017 [INFO] Server certificate with serial '0001' received
Sep 10 23:54:35 orangepizero dnscrypt-proxy[18682]: Sun Sep 10 23:54:35 2017 [INFO] This certificate has expired
Sep 10 23:54:35 orangepizero dnscrypt-proxy[18682]: Sun Sep 10 23:54:35 2017 [ERROR] No useable certificates found
Sep 10 23:54:59 orangepizero dnscrypt-proxy[18682]: Sun Sep 10 23:54:59 2017 [INFO] Refetching server certificates
Sep 10 23:55:00 orangepizero dnscrypt-proxy[18682]: Sun Sep 10 23:55:00 2017 [INFO] Server certificate with serial '0001' received
Sep 10 23:55:00 orangepizero dnscrypt-proxy[18682]: Sun Sep 10 23:55:00 2017 [INFO] This certificate has expired
Sep 10 23:55:00 orangepizero dnscrypt-proxy[18682]: Sun Sep 10 23:55:00 2017 [ERROR] No useable certificates found

Manual running gives the same results:
root@orangepizero:~# dnscrypt-proxy -R dnscrypt.eu-dk -m 7
Mon Sep 11 00:08:39 2017 [INFO] + DNS Security Extensions are supported
Mon Sep 11 00:08:39 2017 [INFO] + Provider supposedly doesn't keep logs
Mon Sep 11 00:08:39 2017 [NOTICE] Starting dnscrypt-proxy 1.9.5
Mon Sep 11 00:08:39 2017 [INFO] Generating a new session key pair
Mon Sep 11 00:08:39 2017 [INFO] Done
Mon Sep 11 00:08:41 2017 [INFO] Server certificate with serial '0001' received
Mon Sep 11 00:08:41 2017 [INFO] This certificate has expired
Mon Sep 11 00:08:41 2017 [ERROR] No useable certificates found
Mon Sep 11 00:08:42 2017 [INFO] Refetching server certificates
Mon Sep 11 00:08:44 2017 [INFO] Server certificate with serial '0001' received
Mon Sep 11 00:08:44 2017 [INFO] This certificate has expired
Mon Sep 11 00:08:44 2017 [ERROR] No useable certificates found
Mon Sep 11 00:08:47 2017 [INFO] Refetching server certificates
Mon Sep 11 00:08:49 2017 [INFO] Server certificate with serial '0001' received
Mon Sep 11 00:08:49 2017 [INFO] This certificate has expired
Mon Sep 11 00:08:49 2017 [ERROR] No useable certificates found
^CMon Sep 11 00:08:52 2017 [NOTICE] Stopping proxy
Mon Sep 11 00:08:52 2017 [INFO] TCP listener shut down
root@orangepizero:~# dnscrypt-proxy -R dnscrypt.eu-nl -m 7
Mon Sep 11 00:08:57 2017 [INFO] + DNS Security Extensions are supported
Mon Sep 11 00:08:57 2017 [INFO] + Provider supposedly doesn't keep logs
Mon Sep 11 00:08:57 2017 [NOTICE] Starting dnscrypt-proxy 1.9.5
Mon Sep 11 00:08:57 2017 [INFO] Generating a new session key pair
Mon Sep 11 00:08:57 2017 [INFO] Done
Mon Sep 11 00:08:59 2017 [INFO] Server certificate with serial '0001' received
Mon Sep 11 00:08:59 2017 [INFO] This certificate is valid
Mon Sep 11 00:08:59 2017 [INFO] Chosen certificate #808464433 is valid from [2017-09-10] to [2018-09-10]
Mon Sep 11 00:08:59 2017 [INFO] The key rotation period for this server may exceed the recommended value. This is bad for forward secrecy.
Mon Sep 11 00:08:59 2017 [INFO] Server key fingerprint is 72DF:BE14:531F:F2AD:FD0F:BC8B:F711:B93D:799F:E4D0:34EC:D26B:8BF9:FFA9:32E7:2B79
Mon Sep 11 00:08:59 2017 [NOTICE] Proxying from <IP_ADDRESS>:53 to <IP_ADDRESS>:443
^CMon Sep 11 00:09:05 2017 [NOTICE] Stopping proxy
Mon Sep 11 00:09:05 2017 [INFO] UDP listener shut down
Mon Sep 11 00:09:05 2017 [INFO] TCP listener shut down

@Dionis0s can you please also check the status by running systemctl status -l dnscrypt-proxy@\* on your terminal, too?
I'm guessing dnscrypt.eu's dk servers somehow messed up.

Indeed, dnscrypt.eu-dk certificates are all expired :(
Simon, who is operating it, has been notified.

My issue got resolved after .dk certificate update.

Awesome!
Thanks for reporting this!


[Article] Missing title

Reported by @sarahscott. The used example is Joshua Citarella.
However, what is interesting is that on Force they actually do show a title. Judging by the data available in metaphysics, this is the ‘thumbnail title’.

What is the difference between title and thumbnail_title?
Are we supposed to always use the thumbnail_title or only if the title is missing?

From @craigspaith: "title is the title when you click through the article. thumbnail_title is what's used in the list views"
https://artsy.slack.com/archives/dev/p1464438122000563

So we should use thumbnail one instead.


Make prometheus modular[WIP]

Thank you for the review and I will make sure I add that. However, the working branch has moved from here to nodebreaker-carlsagan:prometheus_v0.1 due to substrate v2.0 upgrade. I will add new PRs to this.

@hskang9 any update?

Now Prometheus supports macros for data types to return Gauge, Histogram, and Counter as telemetry does it with telemetry! here. Unifying them with polymorphism is on-going. I am trying to make prometheus macro work in runtime with offchain worker callback, collecting event values and send it. Package info is here. After working on runtime, I will integrate it to this current branch.


Logging utils no longer exported

Which ones in particular?

dodal was using
from ophyd_async.log import (
    DEFAULT_DATE_FORMAT,
    DEFAULT_FORMAT,
    DEFAULT_LOG_COLORS,
    ColoredFormatterWithDeviceName,
)
from ophyd_async.log import logger as ophyd_async_logger

None of these are exported in 0.5.0
ophyd_async_logger was used to configure the logging level of ophyd-async and set it as part of a logging hierarchy
The rest were used to construct a DEFAULT_FORMATTER to make logging consistent between all loggers there (graylog, file, stdout)

While I'm in this issue, other things that dodal was using but that are no longer private:
_merge_gathered_dicts, SoftConverter,

class ApertureConverter(SoftConverter):
        # Ophyd-async #311 should add a default converter for dataclasses to do this
        def reading(
            self, value: SingleAperturePosition, timestamp: float, severity: int
        ) -> Reading:
            return Reading(
                value=asdict(value),
                timestamp=timestamp,
                alarm_severity=-1 if severity > 2 else severity,
            )

SoftConverter was being overriden to allow returning a SingleAperturePosition, a dataclass, which I believe would not actually be allowed as it's not returning one of the types allowed by DataKey? I can only assume this was required previously for it to work and it was working.
@dataclass
class SingleAperturePosition:
    name: str
    GDA_name: str
    radius_microns: float | None
    location: ApertureFiveDimensionalLocation

merge_gathered_dicts was being used to gather softsignal metadata for devices

@DiamondJoseph can this be closed?


java.io.IoException: Manifest string is not a valid JSONObject or JSONArray: OK

Build/Submit details page URL
https://expo.dev/accounts/stevepath/projects/blockplot-mobile/builds/dd3ad4bb-eb76-4b5c-98c6-06d96818bd27
Summary
after running eas build, the build is completed but the standalone app keeps stopping in my device. i ran the codebase with npx expo start --no-dev minify, works perfectly. when i run the standalone app on expo go it shows the error java.io.IoException: Manifest string is not a valid JSONObject or JSONArray: OK
Managed or bare?
Managed
Environment
expo-env-info 1.0.5 environment info:
System:
OS: Windows 8.1 6.3.9600
Binaries:
Node: 16.15.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.14.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version  <IP_ADDRESS> AI-201.87<IP_ADDRESS>42882
npmPackages:
expo: ~46.0.9 => 46.0.10
react: 18.0.0 => 18.0.0
react-dom: 18.0.0 => 18.0.0
react-native: 0.69.5 => 0.69.5
react-native-web: ~0.18.7 => 0.18.9
Expo Workflow: managed
expo doctor output
🎉 Didn't find any issues with the project!
Error output
No response
Reproducible demo or steps to reproduce from a blank project
there is nothing wrong with my codebase. I actually created a new expo without inputting any code and built it with eas build and it is still showing same error

I am experiencing the same error, when running eas build -p android --profile preview where preview targets apk on a managed clean app right from tabs template. Apparently no app I try this command is avoiding the issue.

I actually solved the error

@bernborgess I don't understand. Is your  android APK not working?

I actually solved the error

What step did you take to solve it? I am having the same problem even on a new app.

I get this exact error when I try to run the apk. It just crashes on start

Wrap your app with SafeAreaProvider from react-native-safe-area-view. Call the registerRootComponent method with your App component

Then change your main script in your package.json file to your root component


Fused RNN Operators have nonsupport of add grad_req with mkl-dnn

Currently, we have not integrated the add grad_req routine in FusedRNNCell with mkl-dnn fusion. It will be highly appreciated if anyone could tell us the application scenario using add during the training process.
FYI, https://github.com/apache/incubator-mxnet/issues/568 and https://github.com/apache/incubator-mxnet/issues/725. When weights are updated every batch, add and write will produce the same results.

@mxnet-label-bot, add [Feature]

@mxnet-label-bot, add ["Feature request"]

@mxnet-label-bot add [MKLDNN]

@TaoLv , I suggest you got this issue verified once you have [Upgrade MKL-DNN dependency to v1.0 #16555] merged.

@zixuanweeei does the issue resolve by MKLDNN upgrade PR?

@zixuanweeei does the issue resolve by MKLDNN upgrade PR?

This issue exists in the upgrade PR. It will give an error message when uses add.

OK, is there a workaround for the user and what's the plan for the next step?

OK, is there a workaround for the user and what's the plan for the next step?

It will be appreciated that users could report their usage with add. But we couldn't force everyone to do this. So I will put it on the list. I plan to fix it in one week.

Should be fixed via #17075. Feel free to re-open if the problem is still there.  @zixuanweeei


Custom Linux

Currently this guide "requires access to Google Compute Engine". Why, and are there any plans to make the guide not require this?
I'm interested in not relying on Google and just using my own Linux VPS for everything.

You simply need to do your homework by searching for fork related projects.
I managed set it up on vagrant with shutit link.
Although this has external Loadbalancer which can be used in place of GCE builtin loadbalancer functionality.
Step1 - Create python virtualenv:

mkdir ~/Project && cd ~/Project
virtualenv env
. env/bin/activate
pip install shutit

Note: you may need gawk and gnu-tar if is not already installed, in my case is MacOS.
Step1 - Vagrant clone the repo:

git clone --recursive https://github.com/ianmiell/shutit-k8s-the-hard-way
cd shutit-k8s-the-hard-way
./walkthrough.sh

Management

cd ~/shutit_k8s_the_hard_way_XXXXX/
vagrant up/halt

Note: shutit_k8s_the_hard_way_XXXXX is shutit auto generated vagrant directory, XXXXX can be any string.
Well, with this at hand you can learn the inner workings of Kubernetes but still 'The Hard Way'!

@snap9
I'm writting a series documents about installing k8s cluster on CentOS 7 or Ubuntu 16.04 in chinese,
you can find here;

I've updated all the docs. This should be fixed now. But I only plan to support a single OS. I only have so much time.


Player name "Undefined" when entering pot

Player name "Undefined" when entering pot.
Is this a know issue? And any idea how to fix it?

I think, do some if (if not undefined) when adding to pot.


Christie - push all data to data.argosdb

This is for HIVE3 testing. Once done testing/HIVE3 works well the data will be pushed.

Blocked until HIVE3 is updated

We will push some of the successful data to Argos tomorrow 05/15

Data push was a success. One sample in ngsQC_HIVE that was computed through HIVE3. See change log for details https://github.com/FDA-ARGOS/data_release_notes_and_changeLog_documentation-/blob/cwoodside1278-ChangeLog/may_15_changelog


Fix shield sprite and timer logic <bug,logic,naming

Fix for the previous fish sprite appearing when the player eats a shield powerup. Also improve the timer logic by canceling an active timer when removing the shield.

Thanks for fixing the sprite! Also the cancelling of the active timer when removing the shield is a good idea. Merging.


Pretrained model ?

Hello, many thanks to your excellent work!  I can't download weight in server baidu. Can you upload on google driver or send by email<EMAIL_ADDRESS>Thank so much.

Hi, I have sent you an email.

Thank so much

Hello @ThorPham
I also couldn't download the pre-trained model using Baidu. Could you please send it to my email<EMAIL_ADDRESS>

Sorry  i has deleted weight and link down no longer .

Hello @ThorPham I also couldn't download the pre-trained model using Baidu. Could you please send it to my email<EMAIL_ADDRESS>
Hi, I have sent you the pretrained model.

Thanks @RuijieJ  , well received :)