Suricata EVE Json Parser doesn't work in North America

In my research using the cscli explain command I realized that Crowdsec would not parse my Suricata EVE Json based logs. Looking at the parser I see that the grok command looks for a + sign in the timestamp, meaning only UTC+ timezones (ie.. Europe through Asia) would work.
I replaced this line:
pattern: '%{SURICATA_EVE_TS:time}+%{INT}'
with:
pattern: '%{SURICATA_EVE_TS:time}-%{INT}'
and now is parses..  I am UTC-5 in the Eastern Timezone.
Should be able to create a pattern which works with both + and - timezones so it works everywhere.
Thank you!

Great catch, we are all utc+. Easy fix should be but I will test and implement a test for + timestamps so we make sure not to break in future
pattern: '%{SURICATA_EVE_TS:time}(\-|\+)%{INT}'


PDF-output with xline/yline leads to italics character misplacement in TEXT objects with long STRING

I'm using MATLAB R2019b 64bit on Windows, export_fig updated, Ghostscript 9.50.
Consider this code and the PDF output:
plot(0:5);
xlabel('fooooooooooooooooooooo {\itbar}')
export_fig('test1.pdf');

xline(3);
export_fig('test2.pdf');

xlabel('foo {\itbar}')
export_fig('test3.pdf');

test1.pdf
test2.pdf
test3.pdf
Note that in test2.pdf, 'bar' overlaps with the preceding characters.
It seems that italicized characters get misplaced in text objects if all of these apply:

There is a yline or xline object in the same figure
The text's string property exceeds a certain length (I did not test at which length this begins to happen)
The string is partly italicized ('{\itfooooooooooooooooooooo bar}' will display correctly)
The output format is PDF

The workaround is obviously to not use xline or yline, which is not too hard; still, I find this curious.

It works correctly on my Win10 R2019b, so I'm guessing that either (1) there was an internal bug in Matlab that was fixed by R2019b, or (2) it's platform specific, or maybe (3) it depends on your graphic device driver. In any case it doesn't seem to be a bug in the code but rather some specific edge-case on your system, so I'm closing this issue.


Inference doesn't work for Promises, sometimes

This actually comes from https://github.com/rpl/flow-coverage-report/ where the current master code fails to check with flow v0.54. I made a PR there to fix this, but I don't get why Flow doesn't infer this properly.
I made a reduced testcase on try.
function renderHTMLReport(opt/* : Object */) {
  if (opt.filename &&
      opt.filename.indexOf('..') >= 0) {
    return Promise.reject(new Error(
      'filename is not relative to the projectDir: ' +
        [opt.projectDir, opt.filename].join(' - ')
    ));
  }

  function summaryReportContent() {
    return new Promise(resolve => {
      const reportFilePath = 'path';
      const reportFileContent = 'content';
      resolve({
        reportFilePath,
        reportFileContent
      });
    });
  }

  function sourceReportContent() {
    return new Promise(resolve => {
      const reportFileContent = 'content';
      const reportFilePath = 'path';
      resolve({
        reportFilePath,
        reportFileContent
      });
    });
  }

  let waitForReportContent;

  switch (opt.type) {
    case 'summary':
      waitForReportContent = summaryReportContent();
      break;
    case 'sourcefile':
      waitForReportContent = sourceReportContent();
      break;
    default:
      return Promise.reject(new Error('Unknown report type: ' + opt.type));
  }

  return waitForReportContent.then(res => {
    const reportFilePath = res.reportFilePath;
    const reportFileContent = res.reportFileContent;
    console.log(reportFilePath, reportFileContent);
  });
}

export default {
  render: renderHTMLReport
};

But my try to reproduce from scratch doesn't show any error.
function test(option): Promise<*> {
  var promise;

  if (option === 'foo') {
    promise = new Promise(resolve => {
      resolve({
        foo: 'bar'
      });
    });
  } else {
    promise = Promise.reject('hello world');
  }

  return promise;
}

var promise = test('bar');
promise.then(res => console.log(res));

Other notes:

if I remove the export in the first example, then Flow passes.
in the second example, when I look at the infered type, I can see that res line 18 is properly infered as {foo: string}. However the promise line 5 is just a Promise, line 2 or 17 it doesn't give me anything. When I mark the function as returning Promise<*> then line 17 it's infered properly as Promise<{foo: string}>.

So I don't get why Flow properly infers res but not promise in the second example. And I don't get hwy the first example doesn't work unless I "help" Flow by typing the return value of renderHTMLReport.
Thanks !

My guess is Flow starts infering by looking at how a method is called, and then checks whether it works with the existing code. But in an exported function in a library we can't know how it's called so it can't infer properly.

Seems to be a regression:
export const y = () => 1; // this is fine
export const x = () => Promise.resolve(1); // this isn't

I believe there is a similar bug with Map.
Any progress on this ?

Problem with Map:
This doesn't work:
export const map = new Map();
map.set(1, 'foo');

This works:
export const map: Map<*, *> = new Map();
map.set(1, 'foo');

In the first example, Flow see map is Map, and so it fails because now generic types should be explicitely specified. But because merely manually adding <*, *> makes it work, I think Flow should be able to do the same automatically.

@julienw this is not a bug, Flow requires explicit annotations for exports

I have a few questions:

How is it different than https://github.com/facebook/flow/issues/4923#issuecomment-330830217 where you said it's a bug ?

Flow can actually infer than map is a Map. Why can't it infer it's a Map<*, *> instead so that it can infer even more.


Lazy, version catalog based dependency definitions

Expected Behavior
User-friendlier API.
Current Behavior (optional)
No response
Context
See the workaround proposed in

https://github.com/gradle/gradle/issues/22468

To write a precompiled script plugin, which expects the presence of a version catalog and defines dependencies based on that, the following is the only way we have at the moment:
val Project.libs: VersionCatalog
    get() = extensions.getByType(VersionCatalogsExtension::class.java).named("libs")

dependencies {
    addProvider("testImplementation", provider { libs.findLibrary("junit4").get().get() })
}

Needs a better API.

Thank you for your interest in Gradle!
This feature request is in the backlog of the relevant team, but this area of Gradle is currently not a focus one, so it might take a while before it gets implemented.

The solution to this should be more generic and applicable to any extension, not just version catalogs. The solution might be to add lazy access to the extensions container.


Add circuits for CALLVALUE and CALLER opcodes

Specs: already done in https://github.com/appliedzkp/zkevm-specs/pull/96.
Fixes https://github.com/scroll-tech/zkevm-circuits/issues/51 and https://github.com/scroll-tech/zkevm-circuits/issues/54

close the pr as it's implemented in the upstream


using ssl in light backend modules

Currently there is a problem with the new light backend-modules, when using ssl in backend. The module iframe will be generated with a http-url, even though the backend is opened via https. Browsers will block this unsafe request.
I dont know if this is a proper solution, because shopware-backends with ssl not enabled will probably break.

This was fixed in commit https://github.com/shopware/shopware/commit/74d89327153 and will be released in Shopware 5.1.2 soon.
Sorry for not including your commit, this was fixed using a ticket from our issue tracker.


RebalancingLibrary - Refactor to allow flattening

Pull Request Test Coverage Report for Build 6098

15 of 15 (100.0%)  changed or added relevant lines in 3 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 99.827%

Files with Coverage Reduction
New Missed Lines
%

contracts/core/lib/RebalancingLibrary.sol
2
0.0%

Totals

Change from base Build 6095:
-0.2%

Covered Lines:
841

Relevant Lines:
843

💛  - Coveralls


[Bug] My Remotes, Switches, Buttons and Sensors do not work anymroe.

I've installed the latest version, 1.2.0.
I can control everything through HomeKit.
Zigbee2Mqtt is display the proper logs.
My philips hue remotes, switches + aqara sensors do not work although they are triggered in homekit (i.e. I can see that the button is pressed but it's not doing anything).
Any suggestions would help
Conbee 2,
Zigbee2MQTT version 1.18.2

So your automations aren't working, or what's the problem you are experiencing exactly?

Yes. Exactly and the last thing that I changed was updating the plugin. FYI
I downgraded and it still doesn't work.
I'm at a loss... My xiaomi motion sensor shows that it is detecting motion
but its not doing the homekit automation. Everything is set up mostly
through z2m.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/itavero/homebridge-z2m/issues/183#issuecomment-847290057,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACE66L7JEQ4I4ZMQXOXKKVTTPKUHPANCNFSM45NYQQMQ
.

--
Sent from Gmail Mobile

Yes. Exactly and the last thing that I changed was updating the plugin. FYI I downgraded and it still doesn't work.
I'm at a loss... My xiaomi motion sensor shows that it is detecting motion but its not doing the homekit automation. The hue switches dont trigger although I see the feedback that they are pressed. Everything is set up mostly through z2m.
And yes, the accessories seem to work just through the home app.
Sorry as this might not have anything to do with the plugin, just another effing rabbit hole for me to die in

Sorry, this can be deleted. I think I got some bad juju before ios 14.6? Might've been a homepod mini issue
Thanks @itavero for replying :)

No worries. Glad to hear it's resolved.


Use regexp replace to remove http prefix in HttpUri

Okay let me get this merged after my recent connector splitup


Crash after taking pictures on devices before Android 5.0

You can reproduce this bug by click to save button (tick) after taking photo on before Android 5.0. Error says
java.lang.SecurityException: Permission Denial: opening provider android.support.v4.content.FileProvider from ProcessRecord{42992670 2928:com.android.gallery3d/u0a52} (pid=2928, uid=10052) that is not exported from uid 10151

By any chance, was the app running on a Stock Android device or was it a Xiaomi/OPPO/Huawei/Letv etc.?

I heard some inconsistencies about this bug, my test device was Lenovo, Android 4.0.2. I have sent the solution on PR #878 . At least it solved the situation on my device :). Here is the related SOF link https://stackoverflow.com/questions/24467696/android-file-provider-permission-denial/24467912

Ah, haven't worked with a FileProvider before so that Security Exception straight up reminded me of the permission management systems in place in quite a few non stock android devices especially the ones I mentioned earlier.
The solution provided in the SO post makes sense. I followed the chain and found that the issue has been reported to google's issue tracker as well here -> https://issuetracker.google.com/issues/37005552. Unless reported otherwise, I think the changes made should fix the problem for all.


Docker Compose Issue

When I run the Compose provided, I get the following error
services.gallery.expose is invalid: should be of the format 'PORT[/PROTOCOL]' : exit status 1

Hi @kebanks
Thanks for this hint and reporting this issue. I guess 'expose' should be 'port'. But I will check that in detail after my vacation.

I had the same problem and it got fixed after I changed expose to ports.

Thanks again for the report. I've fixed it in 9512e5c


"Uncaught TypeError: Cannot set property 'effectAllowed' of undefined" when attempting to drag

               {{item.label}}

$scope.models = {           selected: null,           lists: {"A": [], "B": []}       };       // Generate initial model       for (var i = 1; i <= 3; ++i) {           $scope.models.lists.A.push({label: "Item A" + i});           $scope.models.lists.B.push({label: "Item B" + i});       }
That is my js and html... pretty much copied it straight out of the basic demo. list A is displayed just fine, but once I click and hold on an item, I get a ton of console logs with this error: "Uncaught TypeError: Cannot set property 'effectAllowed' of undefined"
Any ideas?

In my case same issue was caused by conflict with another drag&drop library (jquery.event.drag, which hijacks drag events)

I am having same conflict issue,...is there a way to fix this problem?


Added OpenJRE image w/ Shenandoah patch

This is the same as debian/openjdk-13-shenandoah, except the Dockerfile specifies the 11 tag to provide JRE11 w/ Shenandoah instead of JRE13, (the default image for that repo)


Direnv version 0.2.2 is not compatible with new pycharm-pro version 2021.3

Will be fixed with PR #20, but no reactions from maintainers so far...


[TB] Week of April 19

[x] Weekly Meeting
- Estimate: 2hrs
- Actual: 1hr

Closing this from last week.


SEO optimization and more

First of all: great piece of software guys.
Very easy to set up and use.
Just two questions:

Is it possible to prevent variation pages to be reached by their own url?
This is not a good thing for SEO: crawler can reach the pages and find duplicate content.

I suggest hiding the variantions folder. Variations node should be editable only from experiment page. It would make everything easier to understand.

What do you think about?

Hi @alecrt,
thanks for the compliments and for the great suggestions!

I suggest you check our user guide, the section titled Creating a variations folder (optional)

Basically create a new "folder" under the root of your site and store all your variations there (simply move them there)
Then add a URL rewrite rule to block all content under the variations folder

You have a good point there. I have created a new issue here to track it separately. Check #6 in a few minutes for a reply.

Let me know if you are having problems getting the above sorted ;)
Best Regards,
Ondrej.

Hi @ondrejpialek,
thanks for your reply.
For the very first point i had already created the variations folder under the root but for some strange reasons the url of the variations inside it doesn't inherit the parent folder url segment.
i.e.
Variation folder name: "Variantion" -> url-> "/variations"
Variation node name: "PageB"
Url expected for the variation node: /variations/pageb
Umbraco generated url: /pageb
Any ideas?
p.s. About hiding the variations container folder: i will fork the project and try to give my contribute after completing a big project i'm involved in at the moment. :D

Hi @alecrt,
Why do you need the Url for the variation?  When the test is running your users should see their variation, but not be redirected to another URL.
Barry

NB: regarding the "variations" folder not appearing in URLs: this may be due to Umbraco's umbracoHideTopLevelNodeFromPath setting (https://our.umbraco.org/documentation/reference/config/webconfig/)


[Documentation]: Where is the getting started guide?

Description of errors
Where is the helm repo url?
Attach any links, screenshots, or additional evidence you think will be helpful.
No response

We are working to release a new version of the GPU Operator in the coming days and have created a new documentation site for this that should have all the information you need to get started: https://dcgpu.docs.amd.com/projects/gpu-operator/en/latest/. This repository's readme has been updated to reflect this as well.


 IF YOU DO NOT FOLLOW THE FORMAT OR MAKE A GENERIC TOKEN REQUEST YOUR ISSUE WILL BE DELETED WITHOUT COMMENT
YOUR JUSTLIST MUST FOLLOW THE JSON SPECIFICATION
https://github.com/justswaporg/justlists/example.justlists.ts
Checklist

[x] I understand that this is not the place to request a token listing.
[x] I have tested that my JustList is compatible by pasting the URL into the add a list UI at justswap.org.
[x] I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

Please provide the following information for your token.
JustList URL must be HTTPS.
JustList URL:
JustList Name:
Link to the official homepage of the JustList manager:

please close

what close?
On Tue, Jul 13, 2021, 04:48 Steven Cabrera Londoño @.***>
wrote:

please close
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/justswaporg/justlists/issues/1569#issuecomment-878584568,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU2FJD72YUPKBQS2JC2MPWTTXNIJHANCNFSM5AGZKEUQ
.


Arming status badges aren’t showing red and orange colors anymore only green and blue

Home Assistant 2023.2.5 Frontend 20230202.0 - latest
HACS Integration version:	1.30.1
AlarmDotCom v2.20
Running as a docker instance in Ubuntu 22.04.2 LTS
After an upgrade somewhere along the line (sorry I know that part isn’t helpful) the AlarmDotCom integration changed how the badge colors indicate the status of the system, meaning:
In HAS it used to be that:
Red=Away
Orange=Stay and
Green=Disarmed
Now the badge in HAS shows:
Green = Armed Stay as well as Armed Away
Blue with a line through it = Dis-Armed
Is this the intended result?
If so, is there a way to configure it to the way it used to be indicating via color of the status, meaning Red=Away, Orange=Stay and Green=Disarmed?
Thank you in advance,
—bh

This is likely due to an upstream change in the Home Assistant frontend and, potentially, with a theme that you have installed. I can't replicate the issue on my end and don't believe that integrations are able to set theme colors in this way. home-assistant/frontend#14831 made alarm control panel states themeable. It's possible that your existing HA frontend theme is now able to apply colors in ways that it had not before.

Howdy and thank you for the response.
I don't have any themes loaded.
Just so I am sure, on your end you see your Alarm.com state badges as Red, Orange(Armed), and Green(DisArmed) and not what I am seeing meaning Green(Armed) and Blue(Disarmed)? I just want to make sure of this before I chase this down any further.
Meaning, I want to make sure what I am experiencing is abnormal.
Thank you in advance,
-bh

I see green for armed and gray for disarmed, which appears to be the new Home Assistant standard. See the discussion at home-assistant/frontend#14802.

Thank you sooooo much! That got me on the right track!
For alarm systems, Green (for the most part) is the desired color for 'Disarmed' (Meaning safe to enter). Having green as armed is counter intuitive for most users.
Anyway ....
Activating themes and adding the below into my themes.yaml returned functionality to the desired result.
Thanks again!!
themes.yaml below for has ver 2023.2.5
---------------------------------------------
Classic:
state-alarm_control_panel-armed_home-color: '#F44336' # Red
state-alarm_control_panel-armed_away-color: '#F44336' # Red
state-alarm_control_panel-arming-color: '#FF9800' # Orange
state-alarm_control_panel-disarmed-color: '#4CAF50' # Green
state-alarm_control_panel-pending-color: '#FF9800' # Orange
state-alarm_control_panel-triggered-color: '#F44336' # Red
state-alert-color: '#F44336' # Red
---------------------------------------------


DreamFusion

This is less of an issue and more of a timesaver for me but if one wanted to swap StableDiffusion for Imagen, any advice on the easiest way to accomplish that?

@Shikamaru5 Hi, since imagen is not publicly available, I don't think there is a way to accomplish it...

Is that more of a copyright thing? I was just asking because there is an Imagen proxy on github that can be trained and was wondering the best way if I were to go in that direction. https://github.com/lucidrains/imagen-pytorch


Support tuples in T::Struct props

Motivation

Fixes #1991.
Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_JqbOWAwlXDuvcB
→ https://go/builds/bui_JqbObAsmOlbxFr


policy: Corrected an inverted documentation for Older and After

A small typo I noticed on docs.rs

This was swapped in #37, but the comments are not fixed. Looks like comments here for miniscript opcodes are also incorrect https://github.com/rust-bitcoin/rust-miniscript/blob/e98989c4c1d4140f755dfaf09f0297ba50fc0243/src/miniscript/decode.rs#L75-L79


Section <IP_ADDRESS> and <IP_ADDRESS> wording

The first sentence of the TSS and AGD EAs reads a little awkwardly.
Suggested edit: “For distributed TOEs, the evaluator shall verify that the TSS describes...”

Language updated in line with suggestion.

Issues resolved with PR #209


Localize ParseControlErrorInfo.

Teach ParseControlError info the to_string protocol.
Localize that output.
Implement ParseControlErrorInfo::format_errors with that. Note that this is a behavior change, since errors are grouped by file rather than by error type.

After some discussion in person I'm not sure I'm happy with this change right now, so setting to draft.

I've partially moved the needle on this in https://github.com/microsoft/vcpkg-tool/pull/516 (https://github.com/microsoft/vcpkg-tool/pull/516/commits/3ff332ca9add4b295092c0ea596d3eae5c5986a4). It preserves existing behavior while also creating an approximate api of std::string format(View<ParseControlErrorInfo>).

Unfortunately https://github.com/microsoft/vcpkg-tool/pull/516 damaged what this PR is trying to do beyond repair.

Unfortunately #516 damaged what this PR is trying to do beyond repair.

Upon further reflection I think this is salvagable.

After some discussion in person I'm not sure I'm happy with this change right now, so setting to draft.

I tried to do what we discussed that led me to drafting this, eliminating ParseControlErrorInfo entirely. Unfortunately that change ends up being HUGE and I think this moves the needle in a positive direction, so undrafting.

Upon reflection I think we should print everything in the error block in the error color rather than looking for "error:" as was added in https://github.com/microsoft/vcpkg-tool/pull/516 but I didn't change that for now.


Issue#155 - Sequence flow is removable now

For more details see https://github.com/ahome-it/lienzo-core/issues/155
Clean up formatting and redundancies

Let me know which PR's I can merge and push to maven

Hey @SprocketNYC ,
This PR is fine for merging for me, but we do not need yet a release don't worry! So there is another PR, and I'll provide a third one, and at that point probably will ask for a release. ( CC @hasys  )
Thanks in advance!


Allow removal of cron log file.

Conflicts:
manifests/client.pp
Line conflict, incoming and HEAD preserved.

I'm not sure how to fix the failing check - any ideas anyone?!


Zip download filename needs to be updated

This is not a big deal, but I think you might want to change the filename of the downloaded file at https://lucide.dev.
At the moment hitting the Download All button downloads a file called feather.zip, where I expected it to be lucide.zip.
Unless this was for some reason intentional, then feel free to close this issue.

@mikeott Thanks for reporting. No this was not intentional, I think we forgot to rename this.


ItemCollection loses selection when consumed with SlidePanelManager (with squish panelBehavior)

Bug Report
Description

When ItemCollection is used with SlidePanelManger and we select an Item from ItemCollection, the Item is not selected anymore.
Steps to Reproduce

use ItemCollection with SlidePanelManager with squish panelBehavior.
Select an item in ItemCollection, when the panel opens, the Item in not selected in ItemCollection (see screenshot). This happens only on the first selection.
When you select another Item or the same Item now, it will be selected. (see second screenshot)

Additional Context / Screenshots
First selection

Second selection

Expected Behavior

On initial selection, the listItem should be selected.
Environment

Component Name and Version: ItemCollection (3.14.0)
Browser Name and Version: All
Node/npm Version: Node 8.9.2/npm 5.6
Webpack Version: 4.16.5
Operating System and version (desktop or mobile):

@mayurikini This issue is due to the ItemCollection's transition from a Table to a List when the SlidePanel is opened. In your onSelect() implementation, you will need to re-render the ItemCollection with the proper ItemCollection.Item'sisSelected prop set. That will ensure the item remains selected as the ItemCollection transitions between its two implementations.
I don't believe you are setting the isSelected prop at all today. Your second image is showing the 'focus' style for the list item, not the 'selected' style. You can see how the List selections should look in the example here: https://engineering.cerner.com/terra-core/#/components/terra-list/list/selectable-list
I'm going to close this issue, but please reach out if you have more questions regarding your implementation.


jsonschema draft 7 string format not supported

Hello I encountered something weird. I was trying to do validation on date. It didn't catch wrong date format.
@expects_json({
    'type': 'object',
    'properties': {
        'date_from': {
            'type': 'string',
            'format': 'date'
        }
    }
}

This pattern is flawed but it works, it does catch some errors.
@expects_json({
    'type': 'object',
    'properties': {
        'date_from': {
            'type': 'string',
            'pattern': r'^\d{4}-\d{2}-\d{2}$'
        }
    }
}

Is this a bug or it isn't implemented. Thank you.

json-schema does not require checking for format. And as their documentation says it is up to validation library to hook on FormatChecker instance. I've managed to fork your project and add the format_checker myself. I will leave this issue opened. Please comment before closing. Thank you.

Hi,
i looked up related resources:

python-jsonschema FAQ: My schema specifies format validation. Why do invalid instances seem valid?
jsonschema spec: Format Vocabulary
python-jsonschema: how to enable format validation

Summary: the default is off. This is required by the spec. python-jsonschema provides a format checking interface including a FormatChecker for the most common formats.
I think it is a nice optional feature to have. At this point I'd rather have this library to be a proper stateful flask extension. But for starters another kwarg does the job (e.g enable_formats and format_checker). Would you like to work this out in a pull request?

Yeah I can do that this weekend. Will PR my changes.

PR merged, format validation now possible via check_formats=True


NETOBSERV-984 - KafkaInterBrokerProtocalVersion throws warning and has ingestion errors

Rely on TimeFlowEndMs for kafka delay as the Decode function returns a GenericMap that doesn't contains TimeFlowEnd.
Related PRs:
https://github.com/netobserv/flowlogs-pipeline/pull/203/files
https://github.com/netobserv/network-observability-console-plugin/pull/153/files

@jpinsonneau @OlivierCazade i can test this on a fresh cluster tmrw, let me know if you seen any issues with the fix on the Baremetal cluster

/label qe-approved

/approve


Extend Chiang tests across languages

This changelist extends testing of Chiang Hair BSDF nodes across shading languages, allowing render comparisons to include the complete Examples and TestSuite folders.
In order to avoid shader compilation errors, placeholder OSL implementations of these nodes have been added, and these should be replaced with accurate implementations once they are supported.

Here's a new GLSL/OSL comparison with the changes in this PR:
MaterialXRenderTests_11_02_2024.pdf

@ld-kerley That's the approach we've taken with previous MaterialX nodes, where we allow our render test suite to run without failures, even when individual features aren't yet implemented in every language that we're testing (e.g. thin-film interference in OSL, surface displacement in GLSL, and so forth).
It's worth discussing whether we can propose a better approach going forward, but this is the approach that we've used historically when developing new MaterialX nodes, where implementations across languages are usually staggered in time.


zabbix-agent2-plugin-postgresql: 6.0.25 -> 6.4.12

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/zabbix-agent2-plugin-postgresql/versions.
meta.description for zabbix-agent2-plugin-postgresql is: Required tool for Zabbix agent integrated PostgreSQL monitoring
meta.homepage for zabbix-agent2-plugin-postgresql is: https://www.zabbix.com/integrations/postgresql
Updates performed

Golang update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.4.12 in filename of file in /nix/store/y7za27d0s36cj0h83m2bjdy91ps3fq0s-zabbix-agent2-plugin-postgresql-6.4.12

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
zabbix-agent2-plugin-postgresql

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/y7za27d0s36cj0h83m2bjdy91ps3fq0s-zabbix-agent2-plugin-postgresql-6.4.12 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A zabbix-agent2-plugin-postgresql https://github.com/r-ryantm/nixpkgs/archive/f5b4ced02c51b05d009e55ba98eb63a371ac7ac2.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/f5b4ced02c51b05d009e55ba98eb63a371ac7ac2#zabbix-agent2-plugin-postgresql

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/y7za27d0s36cj0h83m2bjdy91ps3fq0s-zabbix-agent2-plugin-postgresql-6.4.12
ls -la /nix/store/y7za27d0s36cj0h83m2bjdy91ps3fq0s-zabbix-agent2-plugin-postgresql-6.4.12/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

zabbix-agent2-plugin-postgresql

Maintainer pings
cc @gador for testing.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 294036 run on x86_64-linux 1

1 package built:

zabbix-agent2-plugin-postgresql

@NixOS/nixpkgs-merge-bot merge

@NixOS/nixpkgs-merge-bot merge


Unremovable node with name starting with '-'

Well, somehow we created a node and client with the following name "-r"
Example hosts:
freebsd1.example.com
freebsd2.example.com
freebsd3.example.com
-r
centos1.example.com
centos2.example.com

When I try to remove it the knife executable understands as a parameter even when I use double or single quotes and outputs the USAGE of the knife, the commands I've tried:
knife node delete -r
knife node delete "-r"
knife node delete '-r'
knife client delete -r
knife client delete "-r"
knife client delete '-r'

How can I remove this node/client from chef server?
Thanks

knife raw -m DELETE /nodes/-r and similar for clients.

And in the future this is not the right place to ask for user support, this is for bug reports only. You can use the mailing list or Slack channels to ask for help.


Use the column data type as the NULL data type in the row filter

Which issue does this PR close?

Closes #3469
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@thinkharderdev  PTAL

Codecov Report

Merging #3470 (8b53342) into master (9fbee1a) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #3470      +/-   ##
==========================================
- Coverage   85.73%   85.73%   -0.01%
==========================================
  Files         299      299
  Lines       55170    55175       +5
==========================================
+ Hits        47298    47302       +4
- Misses       7872     7873       +1

Impacted Files
Coverage Δ

...n/core/src/physical_plan/file_format/row_filter.rs
87.30% <100.00%> (-0.31%)
:arrow_down:

datafusion/common/src/scalar.rs
85.11% <0.00%> (-0.07%)
:arrow_down:

datafusion/expr/src/logical_plan/plan.rs
77.68% <0.00%> (ø)

datafusion/expr/src/window_frame.rs
93.27% <0.00%> (+0.84%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks for all the good work @liukun4515 and @thinkharderdev
I would be fine with merging this PR if we change it according to @thinkharderdev 's suggestion here https://github.com/apache/arrow-datafusion/pull/3470/files#r970907156)
In either case, I think the most compelling solution would be to write some sort of end to end test that hits this condition so we don't have to discuss hypotheticals of what might/might not happen,
For example, perhaps we can adapt one of the tests that runs against parquet files with a projected column and ensure predicates on those projected columns work when row filtering is enabled.

tracked a issue for this https://github.com/apache/arrow-datafusion/issues/3492


Previous cues aren't cleared on seek

Have you read the FAQ and checked for duplicate open issues? Yes
What version of Shaka Player are you using? Master
Can you reproduce the issue with our latest release version? Dont' apply
Can you reproduce the issue with the latest code from master? Yes
Are you using the demo app or your own custom app? Demo app
If custom app, can you reproduce the issue using our demo app?
What browser and OS are you using?
Any with MSE support
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?

What configuration are you using?  What is the output of player.getConfiguration()?

https://livesim.dashif.org/dash/vod/testpic_2s/multi_subs.mpd
What did you do?

Load the previous stream and enable ENG subtitles
Make some seek operations
What did you expect to happen?
The previous cues are cleared
What actually happened?

The previous cues are shown when seek operation is done
https://user-images.githubusercontent.com/8983024/140272145-87ac9714-0ec3-47f5-bfbd-c5ca78ef8639.mov

Maybe related to https://github.com/google/shaka-player/issues/3701

@theodab , resolved with https://github.com/google/shaka-player/commit/4bdd3bb65a62df3ca91dc340cac5b5d699b56b9c


SCRAM-SHA-1 authentication

Support for SCRAM-SHA-1 authentication protocol. It was introduced in MongoDB 2.8 and became default in 3.0+.
ConnectionPool.authenticate() now accepts mechanism optional argument that might be used to force MONGODB-CR auth protocol with MongoDB 3.0+. Default is to autodetect protocol from server wire protocol version.

This code uses various private functions from pymongo.auth. What do you think about this practice?
New version of PyMongo may break compatibility at any time (although unlikely). But duplicating these functions from PyMongo doesn't looks good to
(By the way, txmongo's authentication code already used pymongo.auth._auth_key long before any my changes)

Before we merge this, I would advise that we first merge my branch and that you rebase. Otherwise, again, great work. :)

I did the rebase of my changes on top of the current master

How about this one?

Just got in, it looks good but I can't test it at the moment.  Is there anyway to get some coverage here? Is MongoDB3 backward compatible with older methods? Is there a way to get version information out of MongoDB?

This implementation does same as current PyMongo does. It looks on [maxWireVersion field of isMaster command] (http://docs.mongodb.org/manual/reference/command/isMaster/#isMaster.maxWireVersion) and decides which auth method to use (this can be overwritten by mechanism='MONGODB-CR' if needed).
test_auth.py starts distinct mongod instance for each test and creates users at runtime. But there is no way to create MONGODB-CR users in v3.0¹ or SCRAM-SHA-1 users in v2.x. So it seems impossible to test both auth mechanisms on a single host. Actual auth method that will be tested by test_auth.py is choosen at runtime depending on which MongoDB version you have installed.
¹ MongoDB v3.0 is compatible with MONGODB-CR but only for existing user accounts which were created by v2.x.

That is real pity that we are in an exclusive or position considering that most platforms will not come with two mongodb binaries. So we'll never be able to reach the theoretical 100% coverage in one run.

Yeah, but we are not worse here than official PyMongo that doesn't seems to test MONGODB-CR on v3.0
https://github.com/mongodb/mongo-python-driver/blob/master/test/test_auth.py
May be it would be more honest to add two tests: test_MONGODB_CR and test_SCRAM_SHA_1 that will test specific auth mechanisms if they are supported by current MongoDB installation and will be skipped otherwise. This would not help coverage, but will make absense of 100% coverage visible to person running tests by reporting that some tests was skipped.
Another crazy idea is to generate minimal database with MONGODB-CR users using MongoDB v2.x and to place it as blob into TxMongo's code tree. Then testing code can run mongod against these files and test both MONGODB-CR and SCRAM-SHA-1 thanks to backward compatibility for existing users (assuming we have v3.0 installed).

While I'm a big fan of crazy, I rather not pollute the repo. Another solution would be to have travis-ci to pull in custom built versions of mongodb (v2 and v3) but I think this is rather overkill.
So long as we can run the tests manually, with the understanding that some parts of version dependent is good enough for us developers.
I think at this point, we should just document it. What do you think if I (or you) create a new .rst file explaining the new MongoDB3 support with what you've already written here. That way it will show up in readthedocs.org and we can link to in the changelog.
Right, going to merge this unless you (or anyone) has any objections. Again, thank you! :)

What do you think if I (or you) create a new .rst file

May I ask you to do this? I'm not familiar (yet) with python documentation infrastructure and its good practices.

Sure, no worries.


Fix : User login data persist problem

Describe changes
Once user finish creating repository, not only the repository data but also the user data was being missing.
Now it has been fixed.
Issue number or link
#139
Types of changes
What is the type of code change?
Put an x in the boxes that apply

[ ] Bugfix (changes that resolve errors)
[ ] New feature (changes which adds functionality)
[ ] Breaking change (big changes that affect existing functionality)
[ ] Documentation Update

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have read the "README.md"
[ ] My code follows the style guidelines of this project
[ ] My changes generate no new warnings
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
Please let me know if there's anything else to explain

please check if this works in three cases:

logout out by pressing logout button
logout by time-out
after finishing repository create


Is it possible to have virtual field in apollo-android ?

Is it possible to have a virtual field in apollo-android, like described here?
If not, what are the best practices, if any, to manage local states with graphql?

Well it's not so simple as it in JS client. It requires to support custom resolver first.
Plus not sure that using Apollo with custom resolvers and virtual fields as the source of state for the app is a good idea. Apollo android is more like network/data layer rather than app state.

Okay, thank for the answer.
I think we'll manage some parts of the data state with Room. Synchronizing everything will be kind of challenging I guess.

Closing, out of date.


Multiple vEvents broken with location properties set

When you include the 'location' property on a list of events, the extension only displays the first one.
Example:
http://grasshopperinn.co.uk/whats-on

I think I have a related issue: it seems the location element is not being parsed properly. In my mark-up, I have the following:

Malaga, Spain

But it, and any other location elements, don't seem to be getting parsed correctly, as when I use the extension to export to Google Calendar, the entry in my Calendar is [object Object] and not "Malaga, Spain" as would be expected.


Resource Injection

Allow us to inject data into ResourceManager with a fake filename. When the fake filename is requested, the data will be returned. This allows us to do things like building an entity or an image file inside a script.

Done in fcb4fba61713c55c9647047612b9758cc6a6ad33.


Update to work with new SBOLFactory submodules

As of SBOLFactory v1.0a5, ontologies are generated in their own dedicated module namespace.  This means that package configuration in the init.py follows a new pattern.

Resolved in 4fd14c084999bd2ee08251f5bbee7aad40f78c90


fix(dbm-services): 错误匹配windows os name

关联研发信息
dev_branch: fix/match_windows_os_name/#6984
target_branch: v1.5.0


Testkube-api-server Liveness/Readiness Faile

NAME                                                    READY   STATUS    RESTARTS        AGE
testkube-api-server-86dc8dc8b4-97v2b                    0/1     Running   7 (5m57s ago)   17m
testkube-dashboard-59497c8f8d-9l92c                     1/1     Running   0               17m
testkube-minio-testkube-7dddff9494-9qfh4                0/1     Pending   0               17m
testkube-dashboard-59497c8f8d-9l92c                     1/1     Running   0               17m
testkube-minio-testkube-7dddff9494-9qfh4                0/1     Pending   0               17m
testkube-mongodb-6475c59c5f-l9f8j                       0/1     Pending   0               17m
testkube-nats-0                                         3/3     Running   0               17m
testkube-nats-box-5789c4b55f-vxl7h                      1/1     Running   0               17m
testkube-operator-controller-manager-5fff8d9888-vv8s2   2/2     Running   0               17m

when i kubectl describe Pod/testkube-api-server, it has liveness/readiness issues.
will minio & mongodb both in pending status cause testkube-api-server /health malfunctional???

hey @Jim0530 Yes, mongodb is critical dependency and minio is optional one. Testkube will not work without mongodb

Thanks! How should i fix the pod unbound issues?? Can i use our own mariadb instead of installing a new one?? Thanks!

hey, @Jim0530 You can either check logs for pending pods (either it's lack of resources or security constraints). Or you can use external MongoDb or might even DocumentDB in aws. At the moment we don't support SQL databases for stroing test execution results

if I understand correctly from other issue,  Testkube is up and running


Excessive spaces when using "Copy monosyllabic" button

"The quick brown fox jumps over the lazy dog" is an English language sentence that contains all the letters of the alphabet. The phrase is commonly used for touch typing practice, testing typewriters and computer keyboards, displaying examples of fonts, and other applications involving text where the use of all letters in the alphabet is desired.
... becomes ...
"The   quick   brown   fox   jumps   vohdh   the   bleelz   dog"   is   an   glish   gwuj   stes   that   ruktntz   all   the   legtz   of   the   feft.   The   phrase   is   ahmk   used   for   touch geyept   strahrs,   tengst   preyept   and   turkst   krawrjdz,   spahrngspst   plizmdz   of   fonts,   and   udhd   klarnz   vlahrng   text   where   the   use   of   all   legtz   in   the   feft   is   deyerdzdzd.
Firefox 120.0.1 on Linux.

I think this has been fixed!


Replace docs with correct Gradle syntax

Replaces our refdocs with correct Gradle syntax.
Fixes #2545.
cc/ @jamesward

LGTM


Add Arch Linux support

This is incomplete since it's lacking tests, but I'm also unsure how if https://github.com/voxpupuli/modulesync_config/blob/4d4be4b600632c2fda96dde7f9ee53b4d248e078/moduleroot/spec/acceptance/nodesets/archlinux-2-x64.yml.erb#L12-L13 needs to be here as well.

Can one of the admins verify this patch?

My goal for this was to replace the EC2 nodesets, but we have since removed those. I don't have Arch, but this may be interesting for those who do. I don't have time to pick this up, but I can probably give hints to those who are interested. It should also list the docker nodeset and how to build it up.

new commit message:
For the Vagrant backend, this creates the following Vagrantfile:
Vagrant.configure("2") do |c|
  c.ssh.insert_key = false
  c.vm.define 'archlinuxrolling-64-1' do |v|
    v.vm.hostname = 'archlinuxrolling-64-1'
    v.vm.box = 'archlinux/archlinux'
    v.vm.box_check_update = 'true'
    v.vm.synced_folder '.', '/vagrant', disabled: true
    v.vm.network :private_network, ip: "<IP_ADDRESS>", :netmask => "<IP_ADDRESS>", :mac => "0800278B1C64"
    v.vm.provider :virtualbox do |vb|
      vb.customize ['modifyvm', :id, '--memory', '1024', '--cpus', '1', '--audio', 'none']
    end
  end
end

This PR also creates the correct Dockerfile, but I wasn't able to catch
the terminal output and the file isn't written to disk.
The correct usage is:
BEAKER_setfile=archlinuxrolling-64{hypervisor=docker}
BEAKER_setfile=archlinuxrolling-64{hypervisor=vagrant}

while this looks a bit odd, it matches the current design with other
operating systems where the version number isn't separated from the OS
name.
This in general works, but requires some updates to beaker-puppet to
install the correct puppet package.

There are a few related PRs that I want to document here:

fix facter 3.11/3.14 facts in facterdb for Arch Linux to contain "rolling" https://github.com/camptocamp/facterdb/pull/162
Update beaker to install patches on Arch boxes before installing puppet https://github.com/voxpupuli/beaker/pull/1688
Always install puppet via pacman on arch boxes https://github.com/voxpupuli/beaker-puppet/pull/154
Enable Arch Linux support in puppet_metadata https://github.com/voxpupuli/puppet_metadata/pull/15

I can't approve my own PR, but :+1:


main.js for 0.4.22 and 0.4.26 releases are identical

What happened?
I was on dataview 0.4.22
I checked for updates and updated.
The manifest file changed to 0.4.26 but no other files changed.
I manually downloaded the release files for the two releases and diffed them in Araxis Merge.
It said they were identical.
Links downloaded and compared:
https://github.com/blacksmithgu/obsidian-dataview/releases/download/0.4.22/main.js
https://github.com/blacksmithgu/obsidian-dataview/releases/download/0.4.26/main.js
DQL
No response
JS
No response
Dataview Version
0.4.22 and 0.4.26
Obsidian Version
0.14.3 - not relevant as downloaded in Safari
OS
MacOS

I manually downloaded the release files for the two releases and diffed them in Araxis Merge.

I also compared in Beyond Compare, in case any of my filters in Araxis Merge hid the diffs.
The files still showed as identical.

4.26 was a revert to 4.22. It was described in the release notes IIRC.

4.26 was a revert to 4.22. It was described in the release notes IIRC.

Hahahah - I must admit I didn't consider that possibility. Thank you.
I see there isn't a version number in the source code, so there was no sign of the change.
It is clear from the release page too... So I guess I just got lucky by skipping over the intervening versions...

Closing as no action required....


Document Tooling API behavior regarding composite builds

@bot-gradle test rFM

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test rFM

OK, I've already cancelled the old build and triggered a new ReadyForMerge build for you.

@bot-gradle test rFM

OK, I've already triggered ReadyForMerge build for you.


PlayStation Plus app compatible

Since the new PlayStation Plus app, the PS Now app no longer exists.
You have to modify the Config.ini file and change like this:
ActivateOnlyInWindow=PlayStation Plus

Ok, thanks

I have updated the archive, could you please check the full screen mode with keys ALT + F10?


flow: enable TCP metric through API instead of config file

rerun tests

rerun tests

rerun tests

I reviewed the code. The code looks fine and it is good that now we enable it via API!

rerun functional-tests-backend-orientdb

run skydive-functional-tests-backend-orientdb


Flux breaks down on a conversion error and stops processing messages

Describe the issue
If I provide a functional binding with a generic, and I receive a message which is not properly formatted, the application will stop reading. new messages.
Based on this stackoverflow question: https://stackoverflow.com/q/66304153/2924784
To Reproduce
Steps to reproduce the behavior: see the question for the relevant code
Expected behavior
Should discard the improperly formatted message and process the following ones properly.

Would it be possible to drop a message to dlq on error? @olegz

As a workaround for now I use something like
    @Bean     fun consumer() = Consumer<Message<String>> { msg ->         val header = msg.headers[AmqpHeaders.RECEIVED_ROUTING_KEY]         val payload = msg.payload         logger.info { "Received payment profile message $payload" }         when (header) {             "drop" -> Mono.error(IllegalArgumentException("should be dropped"))             "empty" -> Mono.empty()             else -> Mono.just("good")         }.block()     }

I countered the same problem. It will be nice if there is a way to do following:
NACK the message if exception.
after serveral retrying, still exception, put the message to DLQ and ACK the message.

This is a known and documented issue. There is nothing we can do since we have no control over the reactive stream. I know it could be confusing but in the case of reactive s-c-stream only acts as a facilitator to connect stream from binder to a stream defined by the user. That is happening during the startup. Once done s-c-stream plays no role or has any control over the stream processing. That is a far cry from the imperative model where functions are message handlers invoke by the s-c-stream on each arriving message.


Add experimental question rephrase and chunks rerank

Question rephraser, changes the user question before the embeddings, improving what is retrieved. It also allows multi-turn conversation as it rephrases the question using the context and the prompt. Very useful for assitants.
https://github.com/mckaywrigley/chatbot-ui/assets/98839443/96d6b0fa-c0d5-47a0-84ab-ce60ad262e7f

Love the idea. Going to dig into this a bit more on Thursday.

Love the idea. Going to dig into this a bit more on Thursday.

Right, then I will try also push in the reranker by today.

Added the re-ranker in this PR as well. The re-ranker will take all the chunks and evaluate them under the question light and will return the Top chunks to the LLM. It's based on this post: https://medium.com/@foadmk/enhancing-data-retrieval-with-vector-databases-and-gpt-3-5-reranking-c58ec6061bde

Hi @fkesheh , I was having cost blow-outs with GPT4 and users (kids) who NEVER start a new conversation.  To fix this,
I recently modified build-prompts to only include the last 30 prompts and that fixed my issue.
I really can't code, as a Noob this PR seems to not only fix that issue with the MAX HISTORY TOKENS and MAX HISTORY MESSAGES, but also adds the rephrase and re-ranker.
Have I understood this correctly?  If so a bloody brilliant idea.
    parseInt(process.env.REPHRASER_MAX_HISTORY_TOKENS || "2048")

Found a small typo in route.ts that I corrected, still didn't result in the REPHRASER working.
"process.env.RAPHRASER_MODE as any," should be "process.env.REPHRASER_MODE as any,"

Hello, indeed, this functionality is activated only when there are files present in the chat.
The purpose of the rephraser is to modify your query by considering the surrounding conversation. The parameters you mentioned adjusts how much of the conversation history it's allowed to view. This is particularly handy for follow-up questions where the context might be minimal, such as when asking for further details on a specific point. The rephraser also proves useful in cases where the initial question lacks sufficient context. You can find more details about its application here (https://twitter.com/FKesheh84/status/1767184356009710029?t=68zSSXNMdQV-0ty5c5Z66w&s=19). Essentially, the rephraser aims to generate text that improves the retrieval of relevant information from databases.
On the other hand, the reranker operates towards the end of the process. It assesses the information chunks pulled from the database and selects the most appropriate ones in response to the query. This function is somewhat similar to the reranking process by Cohere. Due to its need to process extensive information, the reranker utilizes nearly the entire context capacity (16k tokens), which incurs costs. While this may be costly in GPT-4, it is manageable in GPT-3.5. For a detailed explanation of the reranker, refer to this article: https://medium.com/@foadmk/enhancing-data-retrieval-with-vector-databases-and-gpt-3-5-reranking-c58ec6061bde.
After the reranker, then the selected chunks are passed back to the user selected model (i.e. GPT-4) to generate the final answer.
These methodologies significantly enhance the Retrieval-Augmented Generation (RAG), making it effective and reliable for answering straightforward questions. However, this approach is not flawless. A more robust alternative for production environments might be the ReAct agent.

Thanks for the reply.  I don't expect you to debug why it doesn't work for myself, have you tested against the current code base?
I have tested against the current main branch, monitoring the outbound API calls, and I do not see any calls for GPT-3.5-Turbo.  The calls to GPT-4 are not honoring the max_message_history.
I am testing with a PDF attachment and querying the contents.

Thank-you, this is working really well!!

Amazing job @fkesheh

This is certainly a scope creep suggestion but is there any chance there's the ability for something like this to be re-factored to customize the model responding? Ie if the user wants to ask about an image, but the model isnt 4o, can we make it send the request to 4o instead so the user gets a response that isn't just "I cant do that..." ?


Problems with iOS 13.3?

Is anyone else seeing issues since upgrading to iOS 13? The image often doesn't seem to be centered now, especially when running in the iPhone 11 simulator. Note the big gap at the top, which wasn't there before. It should look like the second image by default.

Do you still have the problem?

Yes

I have tried to investigate this issue before but I wasn't able to find exactly what causes the issue to be able to reproduce it so I haven't been able to put it in a sharable example, although I may try again if I have time at some point in the next few days. Like #57 (maybe also worth merging the two issues to keep this all in the same place), I have found that it may be related to when it's embedded in a UINavigationController. However, it affects me with any size of image - both portrait or horizontal.
One weird thing to add to this is that after using around with this in my app a lot, very, very occasionally (maybe only 2 or 3 times out of hundreds or thousands), it has worked as it should. My app uses taps to hide/show the navigation bar so may be related to this as that has happened after hiding and showing the navigation bar, zooming in and out and panning around the image a lot.
This is still happening to me on iOS 13.6.0. I'm not running the iOS 14 or Xcode 12 betas yet, but I was wondering if anyone else who is is still experiencing these issues on iOS 14? It would make a big difference into how much of a problem this is and could maybe help a bit in finding the cause.

It also happen on my side. I was try to fix it in half day of yesterday but still couldn't fix it. I will try fix it today.

I just update new version 1.9.1 that fix this bug. It is not related to UINavigationController. It happen because displayImage is called when frame is not updated.


Range removal fails with specific bits, when runlength encoding was applied/removed

When addding these bits and then runOptimize and removing it, range removal does not empty the bitset. But i only found this combination, that does not work.
	@Test
	public void testRangeRemovalWithEightBitsAndRunlengthEncoding() {
		final MutableRoaringBitmap bitmap = new MutableRoaringBitmap();
		bitmap.add(1); // index 1
		bitmap.add(2);
		bitmap.add(3);
		bitmap.add(4);
		bitmap.add(5);
		bitmap.add(7); // index 7

		bitmap.runOptimize();
		bitmap.removeRunCompression();

		// should remove from index 0 up to index 7 (excluding 8th)
		bitmap.remove(0, 8);
		assertTrue("fails with cardinality: "+bitmap.getCardinality(), bitmap.isEmpty());
	}

Should be fixed in release 0.5.18. Please verify.

Wow. Thanks!


How to make the database primaryKey returned according to the natural number

First of all, I would like to thank you the great work you do to mantain this wonderful plugin ;)
Usually,we return the id in table like:

ID
NAME

1
Jack

3
Mike

9
Jordan

$('#xxx').dataTable({
    serverSide: true,
    processing: true,
    ajax: {
        url: 'xxx/xxx',
    },
    columns: [
       {data: 'id', name: 'id'},
       {data: 'name', name: 'name'}
    ]
});

however,I want to sort by natural number like:

ID
NAME

1
Jack

2
Mike

3
Jordan

I tried to use the laravel getAttribute model method,but it can't work well.
How could I acomplish this?

Operating System: Windows 10
PHP Version: PHP 5.6
Laravel Version: 5.4
Laravel-Datatables Version 7.0

Looking forward to your reply,thanks.

I think what you need is indexColumn for the display but sorted using the actual id?
$('#xxx').dataTable({
    serverSide: true,
    processing: true,
    ajax: {
        url: 'xxx/xxx',
    },
    columns: [
       {data: 'DT_Row_Index', name: 'id'},
       {data: 'name', name: 'name'}
    ]
});

Wow,thank you very much.
Sorry, I blame myself not carefully read the document ;)


Supports multi-level nested lists

I wish to write my projects fields like this, but items in highlights can only be strings:
    projects:
      - name: Multi-User Drawing Tool
        date: '[github.com/name/repo](https://github.com/sinaatalay/rendercv)'
        highlights:
          - Work 1
              - details 1
              - details 2
          - Work 2
              - details 1
              - details 2
          - 'Tools Used: C++, MFC'

Is there any solutions to make it?

Support a more general section in which I could write things using little complex structure?
make a special field support multi-level nested lists(so i can use it to replace highlights)?

Yes, this is discussed in #177.


Add McKinney Independent School District

@miguelf Pull request merged. Please notice that free educational license for JetBrains tools is for high and higher schools students, i.e. those who are over 13 of age. Thank you!

Well, I am just a parent who uses a paid license for IntelliJ IDEA at work and am a fan... Thought I give that bit of heritage to my son which is in high school taking an introductory computer science class. :-)
However, I have no other affiliation to the McKinney ISD and this school domain, which I believe covers the whole K-12 schools. I know fifth and sixth graders have student.mckinneyisd.net domain accounts. I hope that this is not a problem in the validation process.
Thanks!


Add option to auto push when committing

Hi,
I feel there should be an option to allow push automatically after a commit, without having to click manually on the bottom buttons.
Something like this, maybe?
{
    // Automatically perform a git push after a commit
    "git.autoPush": true
}

Thanks! 😃

Not a VSCode feature, but you can achieve this behavior by using a post-commit git hook that does git push:
https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks

Close as there is a standard way to do this in Git.

@rebornix Sorry, but I don’t get your point here…
This is not about having a way to do this already or not… I mean, there are standard ways to do commit, pull, push, merge, diffs; and yet, these are implemented in VScode "the easy way".
So, I feel this isn’t about "is there already a way to do this with some other tool or not", but "Would such an option be uesful to users?".
Now if you tell me "we think nobody but you have any interest on this feature, thus we don't want to waste timework on this", I'm fully okay with that. But I can't just be okay with "we don't implement features if there are other ways to do it", otherwithe I'd be pretty happy with the simple Notepad, as there are other ways to do git commands, running tasks, validate code, preview files, and so on.
Thanks anyway :)

@EmmanuelBeziat sorry for the misleading, let me do a better clarification.
This feature is quite similar to pre commit checks. Some ppl want to make sure linting or tests pass before they make a commit so they put things into pre-commit hook file. And then if they try to commit in Code or in terminal, both Code and Terminal will not commit if the pre-commit fail because it's all done by Git. Code doesn't know what you put in the pre-commit file and it just follows Git's default behavior.
That's also the same for auto push. You may just want to push current branch to remote always so it's a single line of script in post-commit hook file. To this particular request, a autoPush is enough. But some users may want to do a rebase before they push to remote, or they may not want to have the same name in their remote, it makes the post-commit a little bit complicated but you can always to that. But a auto-push no longer works in these cases.
That's basically why personally I suggest to leverage git's hooks instead of implementing these features again in Code as they are not just a single option.
I'll reopen this first and see @joaomoreno 's input on this.

Okay, thanks for the explanations. I got it better.
So, if I want this possibility, the nice answer would be an extension, right? I’m willing to give it a try, but I just wanna know if you think this is possible or not in the first place? I don’t know how much "power" extensions can have on built-in functions.
Thanks!

Yeah... I'd absolutely recommend the post-commit hook, it is by far the best option. It comes with the added benefit that if you ever commit from the command line, you'll still benefit from the automatic push.


Please allow key remapping in specific apps, now only shortcut keys can be remapped

Type of issue
Typo
Feedback
Currently only specific apps are allowed to remap shortcut keys, not keys.
I hope to add this function
Page URL
https://learn.microsoft.com/zh-cn/windows/powertoys/keyboard-manager#keys-that-cannot-be-remapped
Content source URL
https://github.com/MicrosoftDocs/windows-dev-docs/blob/docs/hub/powertoys/keyboard-manager.md
Author
@alvinashcraft
Document Id
890589e7-751b-9a0e-bda9-c7b1aa3f5102

This feels not so much like feedback specifically about the documentation, but rather like a question, or feedback, about the PowerToys product. I don't have any additional content for your scenario, over and above what's in the documentation. So, it might be worth pursuing this as a question or feedback about the product. If you visit the PowerToys repository, then you'll be able to create an issue to leave product questions/feedback.


Question about AssemblyScript version support

I upgraded my AS WASM app to 0.18.23 (latest AssemblyScript version), it compiles/installs fine, but timer no longer works (it works fine on 0.17.15).

Any idea on what could possibly cause that?
What should we expect in terms of version compatibilty between WAMR and AssemblyScript in general? Is it possible to create some CI to make sure things don't break?

Hi, I tested the timer sample on latest AssemblyScript, and it works well
2 seconds passed
4 seconds passed
6 seconds passed
8 seconds passed
10 seconds passed
12 seconds passed
14 seconds passed
16 seconds passed
18 seconds passed
20 seconds passed
Stop Timer

The asc version is : Version 0.18.27
Have you modified the code in your local repo ?


Support variable substitution for doc example code

Something like example build files for documentation will often want to substitute current version variables from the project build. Paradox vars are not replaced for included snippets, and we probably want to first substitute variables and test the example, then pull into the docs via snippets. What we've done in other projects is build simple substitution/templating steps into the build for this. Also see discussion.

Antora supports this out of the box. For the cloudstate machine docs, I've set up a file to keep variable definitions all in the same place, see https://github.com/lightbend/cloudstate-docs/blob/master/docs/modules/ROOT/partials/include.adoc. I also have added variables that are in PR #62  for :minimum_kubectl_version: 1.17.0
:minimum_protoc_version: 3.0.0
:minimum_docker_version: 19.03
I am also adding to the readme to remind contributors where to update these values.

We're aiming for something a little different in this case: not just variable substitution in the docs, but in code that first has the substitutions, and is then built, compiled, tested, and then is just a regular snippet include for the docs. Having these examples tested is much easier for maintaining the docs.

Got it, thanks!
On Wed, Jun 3, 2020 at 4:45 PM Peter Vlugter<EMAIL_ADDRESS>wrote:

We're aiming for something a little different in this case: not just
variable substitution in the docs, but in code that first has the
substitutions, and is then built, compiled, tested, and then is just a
regular snippet include for the docs. Having these examples tested is much
easier for maintaining the docs.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cloudstateio/cloudstate/issues/306#issuecomment-638478174,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFOUG64D3XDQGROUWWNBSZTRU276RANCNFSM4M26FA5A
.

--
Ruth Stento
User Experience Lead
Lightbend
512-696-1448
http://lightbend.com


Is it possible to keep viewers count stable?

I mean I get too much views. All I need is 30-40 views. Your tool is works too awesome 👍 , how can I make it stable?
If we had a stop when its option or like that, will be awesome!

I mean I get too much views. All I need is 30-40 views. Your tool is works too awesome 👍 , how can I make it stable?
If we had a stop when its option or like that, will be awesome!

you need good paid proxies

I mean I get too much views. All I need is 30-40 views. Your tool is works too awesome 👍 , how can I make it stable?
If we had a stop when its option or like that, will be awesome!

you need good paid proxies

also if u need 30-40 views - set threads count to 5-10

also if u need 30-40 views - set threads count to 5-10

I mean I get too much views. All I need is 30-40 views. Your tool is works too awesome 👍 , how can I make it stable?
If we had a stop when its option or like that, will be awesome!

https://discord.gg/u9awvwAVRF This guy sold me bot it give me 3400 live viewers in 6min it is not free but it is fvcking awesome ! :D

I mean I get too much views. All I need is 30-40 views. Your tool is works too awesome 👍 , how can I make it stable?
If we had a stop when its option or like that, will be awesome!

https://discord.gg/u9awvwAVRF This guy sold me bot it give me 3400 live viewers in 6min it is not free but it is fvcking awesome ! :D


suggestion: save the training history in model.train_history_

For example, if we are using verbose and validation:
'''
Demonstration of validation_split
'''
model.fit(X_train, y_train, nb_epoch=3, batch_size=16, validation_split=0.1, show_accuracy=True, verbose=1)
# outputs
'''
Train on 37800 samples, validate on 4200 samples
Epoch 0
37800/37800 [==============================] - 7s - loss: 0.0385 - acc.: 0.7258 - val. loss: 0.0160 - val. acc.: 0.9136
Epoch 1
37800/37800 [==============================] - 8s - loss: 0.0140 - acc.: 0.9265 - val. loss: 0.0109 - val. acc.: 0.9383
Epoch 2
10960/37800 [=======>......................] - ETA: 4s - loss: 0.0109 - acc.: 0.9420
'''

But after the fitting is finished, we could only get the final model performance. So, my suggestion is that, save the performances inside a new variable (inside the class), for example:
model.fit(X_train, y_train, nb_epoch=3, batch_size=16, validation_split=0.1, show_accuracy=True, verbose=1)

model.train_history_
# outputs
'''
{
  'epoch': [0, 1, 2],
  'loss': [0.0385, 0.0140, 0.0109],
  'acc': [0.7258, 0.9256, 0.9420],
  'val_loss': [0.0160, 0.0169, 0.0170],
  'val_acc': [0.9136, 0.9383, 0.9400]
}
'''

So that we can analyze the history, like drawing the lines of the changes of loss and val_loss, to try to select the best epochs to prevent the overfit.

I agree that it is absolutely necessary to analyze training history.
However, considering that some people use separate models for training and running, (like https://github.com/fchollet/keras/issues/41), I don't think that saving training history inside class is a right choice of place. Alternative approach might be changing fit function to return the equivalent information.

I see it as being in within the scope of the visualization tools we're building. But having code-level access to that data would be useful too...
Having it as output of the fit function sounds like a good idea. Having a train_history property wouldn't quite work since a model won't necessarily have a single training history: you can call fit several times, call a mixture of fit and train, etc.

Well, I am just a newbie of keras and deep learning. I just follow the example and have never used train yet. So I do not know what we happen.
But I have looked your source code. It seems that at least the design of keras provides some capability for scikit-learn, right? Because at least the Sequential() class has .fit(), .describe(), .predict(), .predict_proba(). And in scikit-learn, it is common to save some kind of .train_history_ inside the class after a fit(), instead of returning a value.
And I do not think it is a trouble to fit serval times. After all, naturally you have a different training history in a different fit, and it's developers' responsibility to save out the training history before they fit it again.
Last but not least, I am using a custom sub-class to provide numerical information. val_loss and val_acc work as expected, but loss and acc don't, since loss and acc is actually average of something in Progbar`, and I could not figure out the correct information. Would you provide some help? I think it is useful to save some time for future development to solve this issue.
It is almost the same as the original Sequential(), but I add a line train_history = [] in the middle, and I add lines for train_history in the end of each epoch. I always use show_accuracy and do_validation so I do not insert the codes inside the if else.
from keras.models import *
class MySequential(Sequential):
    def fit(self, X, y, batch_size=128, nb_epoch=100, verbose=1,
            validation_split=0., validation_data=None, shuffle=True, show_accuracy=False):
        y = standardize_y(y)

        do_validation = False
        if validation_data:
            try:
                X_val, y_val = validation_data
            except:
                raise Exception("Invalid format for validation data; provide a tuple (X_val, y_val).")
            do_validation = True
            y_val = standardize_y(y_val)
            if verbose:
                print("Train on %d samples, validate on %d samples" % (len(y), len(y_val)))
        else:
            if 0 < validation_split < 1:
                # If a validation split size is given (e.g. validation_split=0.2)
                # then split X into smaller X and X_val,
                # and split y into smaller y and y_val.
                do_validation = True
                split_at = int(len(X) * (1 - validation_split))
                (X, X_val) = (X[0:split_at], X[split_at:])
                (y, y_val) = (y[0:split_at], y[split_at:])
                if verbose:
                    print("Train on %d samples, validate on %d samples" % (len(y), len(y_val)))

        index_array = np.arange(len(X))
        train_history = []
        for epoch in range(nb_epoch):
            if verbose:
                print('Epoch', epoch)
                progbar = myProgbar(target=len(X), verbose=verbose)
            if shuffle:
                np.random.shuffle(index_array)

            batches = make_batches(len(X), batch_size)
            for batch_index, (batch_start, batch_end) in enumerate(batches):
                epoch_loss.append(0)
                epoch_acc.append(0)
                if shuffle:
                    batch_ids = index_array[batch_start:batch_end]
                else:
                    batch_ids = slice(batch_start, batch_end)
                X_batch = X[batch_ids]
                y_batch = y[batch_ids]

                if show_accuracy:
                    loss, acc = self._train_with_acc(X_batch, y_batch)
                    log_values = [('loss', loss), ('acc.', acc)]
                else:
                    loss = self._train(X_batch, y_batch)
                    log_values = [('loss', loss)]

                # validation
                if do_validation and (batch_index == len(batches) - 1):
                    if show_accuracy:
                        val_loss, val_acc = self.test(X_val, y_val, accuracy=True)
                        log_values += [('val. loss', val_loss), ('val. acc.', val_acc)]
                    else:
                        val_loss = self.test(X_val, y_val)
                        log_values += [('val. loss', val_loss)]

                # logging
                if verbose:
                    progbar.update(batch_end, log_values)

            train_history.append([log_values])
        self.train_history_ = train_history

@fyears: this code would only return the loss and accuracy as computed on the last batch (for training data). I think it would be more appropriate to return the weighted average of the metrics over all batches, which is also what the progbar currently displays.
FYI I just pushed changes that introduce a history dictionary getting returned by the .fit() method.
The model API is vaguely sklearn-like (fit and predict_proba) but we are definitely not trying to be sklearn-compatible, since that would be way too constraining. Also what is up with the trailing underscore in train_history_?

Hi,
I implemented this solution for tracking the training history.
`
from keras.models import Sequential
from keras.models import load_model
from collections import defaultdict
def _merge_dict(dict_list):
dd = defaultdict(list)
for d in dict_list:
for key, value in d.items():
if not hasattr(value, 'iter'):
value = (value,)
[dd[key].append(v) for v in value]
return dict(dd)
def save(obj, name):
try:
filename = open(name + ".pickle","wb")
pickle.dump(obj, filename)
filename.close()
return(True)
except:
return(False)
def load(name):
filename = open(name + ".pickle","rb")
obj = pickle.load(filename)
filename.close()
return(obj)
def load_model_w(name):
model_k = load_model(name)
history = load(name)
model = Sequential_wrapper(model_k)
model.history = history
return(model)
class Sequential_wrapper():
"""
%s
"""%Sequential.doc
def __init__(self, model=Sequential()):
    self.history = {}
    self.model = model

    # method shortcuts
    methods = dir(self.model)
    for method in methods:
        if method.startswith('_'): continue
        if method in ['model','fit','save']: continue
        try:
            exec('self.%s = self.model.%s' % (method,method))
        except:
            pass

def _update_history(self,history):
    if len(self.history)==0:
        self.history = history
    else:
        self.history = _merge_dict([self.history,history])

def fit(self, x, y, batch_size=32, epochs=10, verbose=1, callbacks=None,
        validation_split=0.0, validation_data=None, shuffle=True,
        class_weight=None, sample_weight=None,
        initial_epoch=0, **kwargs):
    """
    %s
    """%self.model.fit.__doc__
    h = self.model.fit(x, y, batch_size, epochs, verbose, callbacks,
                 validation_split, validation_data, shuffle,
                 class_weight, sample_weight,
                 initial_epoch, **kwargs)
    self._update_history(h.history)
    return h

def save(self, filepath, overwrite=True):
    """
    %s
    """%self.model.save.__doc__
    save(self.history,filepath)
    self.model.save(filepath, overwrite)

`


iOS write and erase tags

Hello,
This is a pull request for #52
Kindly review and give me your feedback,
Thank you!

Cancelled. Another one was opened.


About data_preparation.ipynb in nsd.

Hello, I don't understand this part:
"Run the code(https://github.com/styvesg/nsd/blob/master/data_preparation.ipynb) to obtain the textual descriptions of the stimulus images from NSD in the COCO dataset. Rename the corresponding file as "trn_cocoID_correct.npy" or "test_cocoID_correct.npy" and save it in the path "your_folder/data/utils_data/"."
The file(data_preparation.ipynb) has too much code, should I run all this code in sequence?
Or can you provide me the “trn_cocoID_correct.npy” and “test_cocoID_correct.npy” files?
Thanks  a lot.

https://github.com/ReedOnePeck/MindDiffuser/tree/main/data/utils_data

Download this file cocoID.zip

Download this file cocoID.zip下载此文件 cocoID.zip

Thaks. I download the cocoID.zip then unzip it, it only contains four files: cocoId_correct_sub1.npy, cocoId_correct_sub2.npy, cocoId_correct_sub5.npy and cocoId_correct_sub7.npy, should I rename these four files to "trn_cocoID_correct_sub*.npy" or "test_cocoID_correct_sub*.npy”"?

No, thanks for you reminder, I have revised the readMe

Okay, I'll try that in a minute. Thank you. By the way, there is a slight error here:

It should be "environment_1.yaml", haha.

Thanks for your reminder

@ReedOnePeck I find another question when I run python Feature extractor/Structural_feature_extraction.py:
Traceback (most recent call last):
File "Feature extractor/Structural_feature_extraction.py", line 113, in
main()
File "Feature extractor/Structural_feature_extraction.py", line 89, in main
stim_sub1_val_CLIP = CLIP_extraction(args.stim_sub1_val_multi, args.target_layers)
File "Feature extractor/Structural_feature_extraction.py", line 59, in CLIP_extraction
feature_maps = FE.get_all_feature_maps(model, stimulus_loader, layers_to_retain=target_layers,
File "/data/zhangdf/sihuo/MindDiffuser/packages/feature_extraction_detach.py", line 230, in get_all_feature_maps
feature_maps = get_empty_feature_maps(model, next(iter(inputs))[:3], input_size,
File "/data/zhangdf/sihuo/MindDiffuser/packages/feature_extraction_detach.py", line 196, in get_empty_feature_maps
empty_feature_maps = get_feature_maps(model, inputs, layers_to_retain, remove_duplicates)
File "/data/zhangdf/sihuo/MindDiffuser/packages/feature_extraction_detach.py", line 169, in get_feature_maps
model(inputs)
File "/home/inspur/anaconda3/envs/MindDiffuser/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1128, in _call_impl
result = forward_call(input, **kwargs)
File "/data/zhangdf/sihuo/MindDiffuser/src/CLIP/clip/model.py", line 224, in forward
x = self.conv1(x)  # shape = [, width, grid, grid]
File "/home/inspur/anaconda3/envs/MindDiffuser/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1128, in _call_impl
result = forward_call(*input, **kwargs)
File "/home/inspur/anaconda3/envs/MindDiffuser/lib/python3.8/site-packages/torch/nn/modules/conv.py", line 447, in forward
return self._conv_forward(input, self.weight, self.bias)
File "/home/inspur/anaconda3/envs/MindDiffuser/lib/python3.8/site-packages/torch/nn/modules/conv.py", line 443, in _conv_forward
return F.conv2d(input, weight, bias, self.stride,
RuntimeError: Input type (torch.cuda.DoubleTensor) and weight type (torch.cuda.FloatTensor) should be the same
What should I do to solve this question?

RuntimeError: Input type (torch.cuda.DoubleTensor) and weight type (torch.cuda.FloatTensor) should be the same
As you can see from this, the incoming data is in a different format that causes the error, and you should use pycharm's debug to check the points where the error occurred by hitting the breakpoint.
Go to CSDN or Google to find a solution to the problem.

@ReedOnePeck Hello, sorry to trouble you again. When I run python Feature extractor/Structural_feature_selection.py, I get "cuda out of memory", could you share files from "index_save_path" in the code? Thanks a lot.

Sorry for replying you so late. I have uploaded the required documents for participant 1.

Sorry for replying you so late. I have uploaded the required documents for participant 1.

Thanks for your reply. I want to run "python Feature decoding/Semantic_feature_decoding.py", but I don't know where is the file in the code.

Could you tell me where are these files? Are they root in "Feature extractor"?
By the way, I modify the "ROIs" to ["nsd_train_fmriavg_nsdgeneral_sub1"], am I right?

（1）'trn_file_ex'  and 'val_file_ex' refer to the folders where the preprocessed fMRI data are stored
（2）The other four file names refer to the path where you save the semantic features. You should run the files in "Feature extractor" to save the features first.
（3）You don't need to pay attention to recons_img_idx, it seems to be a mistake I made when organizing the code.

ROI refers to different brain region numbers, such as V1, V2, IT, etc. It depends on the format of your preprocessed fMRI data. For specific ROI entries, you can refer to line 21of MindDiffuser/Feature decoding /Semantic_feature_decoding.py


(Improvement request) logs() function is missing ability to pick namespace

Would be awful nice if it was possible to select namespace while using the logs function. Great work!!
Kind regards

@carlhosttra closed in #26 :)


Move acceptance tests to acceptance tests project in IOpipe

Change out the token in CI to the acceptance tests project
Will also need to update alerts in the move

Closing, see acceptance directory for current suite.


TypeError: 'int' Object is not subscriptable

In Ch. 16: https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-xvi-full-text-search
When you tell us to write the search.py file (which is identical to the search.py file found here in the final version), the last line is:
return ids, search['hits']['total']['value']
Which consistently caused a TypeError to return in the interpreter upon execution of:
query_index('posts', 'testing', 1, 100) (I replaced your search text with 'testing' as this was more relevant to the posts in my index)
I looked up an example of the dictionary which returns from the elasticsearch.search() method to see that there is a value assigned to ['hits']['total'] to realize that the code was trying to get the ['value'] index of ['total'] which is an integer and is obviously not subscriptable.
I could not move on/resolve this until I removed ['value'] from the last line of the query_index function defined in app/search.py

This took me a long time to find and fix, and was mind-numbingly frustrating but also forced me to learn SO. MUCH. MORE. about what was happening here, list comprehension in python, problem solving, debugging, etc. I'm not sure if I'm missing something/if it should somehow work with ['value'] still in there, considering it has remained in your final project -- but I thought to open an issue in case it is pertinent/helpful to point out or assist anyone else going through this to learn.
P.s. Thank you for this tutorial, it is amazing and I've learned a ton already. I highly appreciate you putting in the work and offering this to those of us who are beginning.

My elasticsearch version:
{
  "name" : "VwGa4rY",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "y671ORXfQziDcTxt51NRaQ",
  "version" : {
    "number" : "6.8.5",
    "build_flavor" : "oss",
    "build_type" : "tar",
    "build_hash" : "78990e9",
    "build_date" : "2019-11-13T20:04:24.100411Z",
    "build_snapshot" : false,
    "lucene_version" : "7.7.2",
    "minimum_wire_compatibility_version" : "5.6.0",
    "minimum_index_compatibility_version" : "5.0.0"
  },
  "tagline" : "You Know, for Search"
}

(as I am suspecting since no one else has brought this up, it somehow is supposed to work but maybe in a different version of something? I'm quite new to all this)

@Anandoham You are correct. The tutorial is designed to work with Elasticsearch version 7 and up. The format of that search response is different in this version from previous versions unfortunately, this is the reason you are seeing this error.
The change that you've made is actually correct for the old releases of ES. There was another thing that was used in older versions called doc_type that you needed to provide every time you added a document. I don't recall, but maybe that one had a default and for that reason you did not experience that problem.

Thank you @miguelgrinberg ! Do you know what I have done incorrectly/how I could have ensured Elasticsearch version 7 was installed? (I realize this may be vague and difficult to answer but am also unsure what info to include to make it more clear)
Might it have been since when I first attempted to brew install elasticsearch I was told I needed to install Adoptopenjdk8 in order to get around not having Java installed -- and then from there Elasticsearch is forced to install an older version as it is the one compatible with Adoptopenjdk8?
(my best guess as I think everything else I've done followed the tutorial)

@miguelgrinberg I had the same problem as @Anandoham, resulting from brew install elasticsearch on my Mac. I fixed it by installing from the elastic tap, brew install elastic/tap/elasticsearch-full


MAINT: Workaround hook bug

Should work aroun the weird checkout hook bug, which I assume is due to some misconfiguration of git or something in an updated CI image. Should be safe enough since we trust the authors (and if something weird does happen, it just happens in a CI run).

Pushed a commit to fix CircleCI main failure, too


Template autoload fix

I generalized a function so the waiting for the data from the backend can be done using a reusable function instead of writing similar code multiple times.

Can you please fix the missing declaration from lgtm?

Closes #179


pseudo Devtools and newtab added in edge

#32 improve browser

Hi @MalayGain Thankyou for your contribution to the project. I was wondering how you launch Devtools as I can't seem to find a button.

@andrewstech I will take care of this pull request. I will test it locally and will make the required changes.

@andrewstech I will take care of this pull request. I will test it locally and will make the required changes.

Ok

yes locally it was there, I will check and try to fix the issues .


Menue not clickable

Describe the bug

A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Device information

Type [Desktop/tablet/smartphone]: Mac
OS: [e.g. windows], including version: Mojave 10.16.4
Browser [e.g. chrome, firefox], including version: Firefox

Additional context

Add any other context about the problem here.

strange, because it should look like:

from browserstack.com MacOSX Mojave Chrome 83

Seems to be resolved. There is now an option to mention number of multiple sims.
Tested on BrowserStack (MacOS Mojave):

@Thorlogy is the problem solved? Please check it again. If there is still an issue, please document it in reproducable way.

problem seems to be solved. Thx.


Twitter messages fill entire screen. There are no tabs visible

I have read the troubleshooting tips and tried the ones that I could but I don't know if this is happening to anyone else. I use a Chromebook and ever since the new Twitter debuted, the middle section with the Tweets fills the entire screen. I mean that there are no tabs at the top. I can't even access the Google menu to take a screenshot.  There is a symbol to enlarge or make Twitter smaller but when I make it smaller, there are still no tabs. If I try to take a screenshot that way, it minimizes completely.  It is nearly impossible to use with it malfunctioning this way, which I can only assume it's a malfunction because while I know many people don't like the new Twitter I don't get the impression they are having the same problem. At first, Good Twitter worked for me but every time I closed it, when I re-opened it it was back to new Twitter. Now even if I remove it in the web store and reinstall, it will not work. I can't do a hard refresh without a tab. I have pretty much stopped using Twitter altogether because it is really not usable in the way it shows on my Chromebook. Just trying to scroll down it flips to a reply screen.

I'm having similar issues. Twitter is all wide and spread out-not exactly like new Twitter, but similar. For some reason it's only quit working for me in Chrome. Using GoodTwitter in Firefox still seems to work for me. I use an ancient Lenovo laptop if that helps.

Thanks. It's good to know I'm not the only one. Unfortunately, I use a Chromebook so I don't think I can download another browser since there's very little storage. But I will try it.
Sent: Wednesday, September 04, 2019 at 8:02 PM
From: "coldandtopaz"<EMAIL_ADDRESS>To: ZusorCode/GoodTwitterChrome<EMAIL_ADDRESS>Cc: Hampshirian<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [ZusorCode/GoodTwitterChrome] Twitter messages fill entire screen. There are no tabs visible (#11)
I'm having similar issues. Twitter is all wide and spread out-not exactly like new Twitter, but similar. For some reason it's only quit working for me in Chrome. Using GoodTwitter in Firefox still seems to work for me. I use an ancient Lenovo laptop if that helps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Structure question

Hi I was looking for a good start for a project like this. However I have a question surrounding the indexers.
This project both uses Jackett and Prowlarr for indexers. However is this not overcomplicating it and should you not just leave Jackett out of it and just use prowlerr to setup your indexers and then sync them to both Radarr and Sonarr instead of setting them up manually?

Hello @timmermansjoy,
Indeed, it’s not necessarily required to use Jackett. However, in my case, I’ve had several instances where Prowlarr stopped performing searches on the indexers. That’s why I added Jackett. While it does make synchronization with Sonarr and Radarr a bit more complex, Jackett still provides added value in those situations. That said, configuring Jackett is entirely optional.


Weave reset fails

When running /weave --local reset the command fails with the following error message:
Cannot find device "vethwepl14191@if322"
Looking at the weave code you always try to escape such error by adding || true at the end so we don't understand why we are stuck on that error.

It would be helpful if you could run the weave script with debug info turned on, like this:
WEAVE_DEBUG=1 weave --local reset

However I can see at least one line that does not have || true, in this section:
    for LOCAL_IFNAME in $(ip link show | grep v${CONTAINER_IFNAME}pl | cut -d ' ' -f 2 | tr -d ':') ; do
        ip link del $LOCAL_IFNAME
    done

If the interface goes away for some other reason (e.g. the container exits) between the grep and the ip link del, then this will fail.

As the weave command are run inside a binary we cannot run them manually like this.
The only workaround for that issue was to run  /weave --local reset || true
The problem is that even when restarting weave we get the same error it was failing all the time. That interface wasn't even listed.

OK, I think that @if322 may be to the problem - the interface shouldn't have that in its name.
Can you run ip link show on that machine and post the output?

However I can see at least one line that does not have || true

That is certainly a bug and produces errors as seen by the OP. To reproduce, apply the patch
diff --git a/weave b/weave
index cc4a74a..3d8303e 100755
--- a/weave
+++ b/weave
@@ -1573,6 +1573,8 @@ case "$COMMAND" in
         conntrack -D -p udp --dport $PORT >/dev/null 2>&1 || true
         destroy_bridge
         for LOCAL_IFNAME in $(ip link show | grep v${CONTAINER_IFNAME}pl | cut
+            docker rm -f foo >/dev/null || true
+            sleep 1
             ip link del $LOCAL_IFNAME
         done
         ;;

and then
$ weave launch
$ weave run --name=foo -ti ubuntu
$ weave reset
Cannot find device "vethwepl15633"

Note that the sleep is necessary; looks like there is some asynchrony somewhere.
I have raised #1364 for the weird interface name issue.


Bluetooth: Mesh: Modularizing the proxy feature

Introduction
The Bluetooth proxy feature includes proxy client and proxy server. In addition to the proxy pdu message used above, pb-gatt also uses the same proxy pdu message.
Currently zephyr bluetooth mesh couples them in one file.
Proposed change
I prefer to separate it in different files and refer to @trond-snekvik 's suggestions in https://github.com/zephyrproject-rtos/zephyr/pull/28422#discussion_r503856774.
Detailed RFC
A file at the separation is called gatt_services.c, which is used to contain Mesh Provisioning Service and Mesh Proxy Service.
Another file in the separation is called proxy_msg.c, which is used to process Proxy pdu messages.
Proposed change (Detailed)
+---------------------------------+----------------------------------+
| proxy_srv.c |    pb_gatt_srv.c   | pb_gatt_cli.c |    proxy_cli.c  |
+--------------------------------------------------------------------+
|                            proxy_msg.c                             |
+--------------------------------------------------------------------+

Part of the client plan starts after the structure modularizing is completed, this is just a placeholder.
Also according to Trond's suggestion:

Rename CONFIG_BT_MESH_PROXY to CONFIG_BT_MESH_GATT.
Create an additional promptless entry CONFIG_BT_MESH_GATT_SERVER that selects CONFIG_BT_MESH_GATT and is selected by CONFIG_BT_MESH_GATT_PROXY or CONFIG_BT_MESH_PB_GATT.
Replace all uses of CONFIG_BT_MESH_GATT_PROXY || CONFIG_BT_MESH_PB_GATT with this.

Thumbs up from me, at least :slightly_smiling_face:
CC @andrewpini

@trond-snekvik
Before starting PB-GATT Client development, there are some questions to be communicated:

At present, our provisioner function depends on local node provisioned, but the specification does not impose constraints. Ideally, provisioner can be enabled as long as CDB has been configured.

And our current unprovisioned_beacon,  The beacon callback cannot distinguish between PB-ADV and PB-GATT. Is it necessary to modify or add a new callback?

Zephyr Bluetooth host GATT client needs to turn off scanning when establishing a connection. How does this coexist with other functions of Bluetooth mesh functionality, such as relay, friend..

@LingaoM

I think this limitation might simplify future provisioning bearer implementations, and should be kept around, but if someone has a usage scenario where this needs to be possible, we could support it. I would imagine that it's a rare usage scenario, since you'll normally need to configure the models after provisioning anyway
Good point. If we can add a second callback that has a reasonable name, we wouldn't have to break the API. Not sure if a reasonable name exists though. We don't have any known scenarios that would require us to add a third callback like this, so I'm not very worried about scalability either.
True, this will be a bit annoying. I think we'll just have to accept this for now. Perhaps this can be changed in the controller in the future

@jhedberg @joerchan  @Thalley @carlescufi
I wonder if we can change the connection logic of the host first?
According to the third description, if we do not require Host to make changes, the implementation of Bluetooth mesh is a bit complicated.

@jhedberg @joerchan ping on @LingaoM 's comment above.

I guess it depends on whether controllers (or rather the HCI spec) allows connections while scanning is active, or what exactly is the change request for the host? We can't just change something for the Zephyr controller and design the host around that, rather the host must follow what's allowed by the HCI spec. We do have an API do disable scanning for mesh: bt_mesh_suspend(), however I don't remember how that behaves when we're not provisioned.


[#3740] Update dotnet samples to target Net 6 - Teams samples

Addresses # 3740
#minor
Description
This PR updates the Teams samples to target .NET6
Specific Changes

Updated the following samples to target .NET6

Message reaction
Teams-auth
Teams-messaging-extensions-search
Teams-messaging-extensions-action
Teams-messaging-extensions-search-auth-config
Teams-messaging-extensions-action-preview
Teams-task-module
Teams-link-unfurling
Teams-file-upload
Teams-conversation-bot
Teams-start-new-thread-in-channel

README files updated to target .NET6

Testing
Teams samples working

/Promoted 3751