Feat 174 connect UI with contract

Detailed Information
Issue #174
Hello!! This is just to show the progress of the task and to request feedback about some problems I found (I let them down). Still not ready for merge.
This PR has:

All logic for login with wallet is ready, and corner cases like refresh and keeps logged in, re-request access when wallets logout after X time, etc. are managed.
The UI of all views is builded (Some of them still has mock data).
To interact easily with contracts, I create a hook "useLandverContract" that return a ready to use contract instance, that allows to read-write contract.

I found some problems:

The create functionality is failing due to the registration fee conditionals, we should wait for that issue to be fixed to fully test it.
Any function that requieres the land_id as parameter, is failing because of such id is a too big number, so JS cannot handle correctly. I tried to send it like a string but gives me error that expects a number. And when I send it as a bigInt it fails because it modifies the value. I know it should be a way because in Voyager if you send it, it works perfectly! but I don't find the way to make it work here.
The data returned from contract does not match the desing. For example, the statuses of the land in design are different from the ones return from the contract. By know, I worked with what the contract returns.

Type of Change

[ ] 🐛 Bug fix or ⚙ enhancement
[x] ✨ New feature or Chore (change with no new features or fixes)
[ ] 📚 Documentation update

Checklist (select as many as applicable)

[x] The code follows the style guidelines of this project.
[ ] This pull request is ready to be merged and reviewed.

@jorgezerpa Nice work! Please proceed accordingly. The issue with the land ID has been noted and is undergoing modifications. However, I noticed a few problems:

You have typed multiple items as any. While this works during development, it will cause build issues as we do not allow explicit use of any. Please create a types folder and define types appropriately.
I also noticed that you upgraded the Next.js version from 14.2.15 to 15.0.3. Was there a specific reason for this? If not, kindly revert these changes.
Thank you, and once again, great work!

Nice progress @jorgezerpa.

👨🚀GN!!
All designed views are builded. Almost all the views has its functionality except for the points mentioned below.
What is left:

In Dashboard logged as owner -> In the best seller section, I fetch the LandSold event to get the data for the table. But I could not test it because I can not buy a land due to errors on the buy_land function. If I call from owner address I get the error "Cannot buy own listing" and if I call from another address I get "Only Owner can transfer". By now mock data is showed. But I let it ready just to uncomment the real state when the problem is fixed.
Collections-detail logged as ownner -> There is no way to get the data for the land transaction history. There is a land_transaction_history function, but just returns an array of ids so it is missing data showed in the designed table.
Inspector views -> the UIs are developed. Not show real data because I dont have from where to get the data for the view. For example: In dashboard, things like Registration Request, verified lands...
The create and update land logic is already implemented. Just wating for test when the land ids issue get fixed.
(Sugestion): Add timestamp to all events so we can show the date on the list.

Aside that, I think adding keys to the events could solve most of the missing points, because it will make possible query for events more specifically. For example, request for approved lands by an specific inspector, etc.
Please test and let me know what are the priorities or what is missing aside the mentioned points above. I'm attentive😀

LGTM


[BUG] Type Error on Methods.php on line 147

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
$onfleet = new Onfleet("valid_api_key",6000);
$data = [
"name" => "User Name",
"phone" => "+1XXXXXX", #valid phone number
"notes" => " ",
"skipPhoneNumberValidation" => false,
"skipSMSNotifications" => false,
]

$recipient = $onfleet->recipients->create($data);
TypeError: Onfleet\errors\HttpError::__construct(): Argument #2 ($cause) must be of type string, array given, called in /home/my_project_folder/vendor/onfleet/php-onfleet/src/Methods.php on line 147

Expected behavior
It should create and return a new recipient

HI @rudiullon!
Could you let me know if you're still getting this error?
I have just tried and used your data object:
$data = [ "name" => "User Name", "phone" => "+380946547392", #valid phone number "notes" => " ", "skipPhoneNumberValidation" => false, "skipSMSNotifications" => false, ];  $recipient = $api->recipients->create($data);
This code worked as expected and I received a recipient object in response.


GH-43382: [C++][Parquet] min-max Statistics doesn't works well when one of min-max beging truncated

Rationale for this change

See https://github.com/apache/arrow/issues/43382
What changes are included in this PR?

Change stats has min-max from min || max to &&
Are these changes tested?

[ ] TODO

Are there any user-facing changes?
Might affect interface using

GitHub Issue: #43382

This is just a try, I can also extract has-min and has-max

@pitrou @wgtmac would you mind take a look whether this fixing is ok or there is better api? I'll draft testing once api is stable

I'm fine to be conservative. So this change looks good. However, the encoded_min and encoded_max are still set. I'd propose to deprecate virtual bool HasMinMax() const = 0; and add virtual bool HasMin() const = 0; and virtual bool HasMax() const = 0;

Updated: I'll separate the implemetation into two separate patch:

The first one is test and remove the || in HasMinMax, changing the syntax to both has-min and has-max
The second one is add HasMin and HasMax.

Anyway this is a bug rather than feature so we should fix it first

@kou @emkornfield @wgtmac would you mind take a look? This patch only change || -> &&


Add u-posFullscreen

Would make an element cover the viewport, using position:fixed (as long as the element is not within an element that has a 3D transform). Pretty similar to u-posAbsoluteCenter but using fixed.

Do we think there is still value in adding this? Browser support has gotten quite good since
@timkelty @giuseppeg

So would this be using width: 100vw; height: 100vh then?

I added a similar utility at work u-sticky that sets top, right, bottom, left to 0 (I also have utilities for single directions) and it can be used with both u-posAbsolute and u-posFixed, but maybe u-posFullscreen is a better name.

So would this be using width: 100vw; height: 100vh then?

Not sure how you mean? Replicating posAbsoluteCenter does the trick, but just change the position to fixed.
http://codepen.io/simonsmith/pen/wMRemG

@simonsmith got it now, thanks.
If u-posAbsoluteCenter changes, as proposed here, you could use that for centering, and u-posFullscreen for top/bottom/left/right: 0 "pinning".
Proposal:

add u-posCenter, setting top/bottom/left/right: 0 (not declaring a position).
u-posFullscreen would "pin" as well, but with position: fixed
u-posAbsoluteCenter would change to centering with top/left/transform

In your proposal would u-posCenter actually be misleading, because it doesn't move anything to the centre?
I like the idea of changing u-posAbsoluteCenter to your proposed one, and adding u-posFullscreen (maybeu-posFullScreen?) though.

@simonsmith I suppose that's true.
I like u-posFullScreen, then.

:+1:


Add experimental Docker Stack CLI commands

Adds experimental stack commands for deploying a bundle

@dnephin where can we read up on this feature?

@duglin I'm going to try and write a doc page today, sorry for the delay!

Can we have // +build experimental added to all the new stack files to avoid compiling them when building the non experimental version?

@mlaventure done

LGTM (IANAM)
Only nitpick I've got is:
func getNetworks(
 	ctx context.Context,
 	apiclient client.APIClient,
 	namespace string,
 ) ([]types.NetworkResource, error) {
 	return apiclient.NetworkList(
 		ctx,
 		types.NetworkListOptions{Filters: getStackFilter(namespace)})
 }

we have no other code with the above style as we don't enforce the 80 columns rule

LGTM

Added some docs in #23544.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "swarm-stack" git@github.com:docker/docker.git somewhere
$ cd somewhere
$ git rebase -i HEAD~3
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

LGTM :+1:

Mush better with some docs thanks @icecrime
LGTM

LGTM moving to docs

So @thaJeztah is on a plane, and this is experimental, soooooooo... :innocent:


Custom characters

`  HOMEKIT_SERVICE(SWITCH, .primary=true, .characteristics=(homekit_characteristic_t*[]){
        HOMEKIT_CHARACTERISTIC(NAME, "Switch"),
        &switch_on,
        &volts,
        &watts,
        &amps,
        &ota_trigger,
        &wifi_reset,
        &ota_beta,
        &lcm_beta,
        &task_stats,
        &wifi_check_interval,
        NULL

`
I coulnt understand &volts, &watts ...
Can i see in home app or in other apps like eve?
Please can you send a screenshot if possible..

Custom characteristics don't show in the home app, but so show in the Eve app.


ESP8266 SPIFF

What is the reason of using LittleFS instead of SPIFF for ESP8266?
I have encounter problem in parsing Json using SPIFF with large data. and while searching for solution i found your library.
do you have explanation why to use LittleFS?
#if defined(ESP8266)
#include <LittleFS.h>

SPIFFS is now depreciated


DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead

(node:50821) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
    at HardSourceWebpackPlugin.apply (/Users/.../node_modules/hard-source-webpack-plugin/index.js:443:12)
    at webpack (/Users/.../node_modules/webpack/lib/webpack.js:37:12)
    at startDevServer (/Users/.../node_modules/webpack-dev-server/bin/webpack-dev-server.js:379:16)

Environment
node 9.3.0
"hard-source-webpack-plugin": "^0.6.4",
"webpack": "^4.2.0",

Seeing the same here - looks like a Webpack 4 compatibility issue

It is webpack 4 relates. It's still working, I suspect this will break with webpack 5.

Thanks all!

Have time to fixe this?

Fixed in 0.7.0-alpha.0


need your help.

I have successfully using v1.0 before, after the new releases available I tried to reinstall from the beginning. So I type brew uninstall protobuf and deleted pogo optimizer from my library, after that I'm once again install it from beginning, start from "brew install --devel protobuf" (success) then "sudo npm install -g bower" (success) until "sudo npm install -g gulp" I'm getting this error:
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained. Upgrade to<EMAIL_ADDRESS>npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
help me, I like THIS very much. Thanks a lot

I think those are just warnings. I don't believe that they will hurt anything.

thanks a lot, it's work perfectly, love the update. 👍


SETTINGS_HEADER_TABLE_SIZE validation?

while there is configuration option for :settings_header_table_size https://github.com/igrigorik/http-2/blob/70a8a2eed17091e311322f28a7378bba744ad2a6/lib/http/2/connection.rb#L13
there is no validation upon it for coming frames
https://github.com/igrigorik/http-2/blob/70a8a2eed17091e311322f28a7378bba744ad2a6/lib/http/2/connection.rb#L580
May we have validation on coming frames :settings_header_table_size value be lower or equal to the limit set by the SETTINGS_HEADER_TABLE_SIZE parameter?
https://http2.github.io/http2-spec/compression.html#encoding.context.update

closing this, as it's fixed in 1.0.0 . The patch is a bit more involved than the linked one.


Container Environment

Hello Again :),
unfortunately, the container environment is not working correctly either. RCON password and server password are not being taken over, as well as the number of players or CS2_MAXPLAYERS. I have already adjusted them multiple times, but the server always shows 64 slots. The RCON password and server password need to be passed into the server config. If possible, please also add an environment variable for the hostname :)
Kind Regards
kevjaN

Hey @kevjaN89 :)
Thanks again for the feedback.
Server password is working for me, I must admit I haven't tested RCON though.
CS2_MAXPLAYERS bug confirmed, doesn't work for me either. Will look into all of the above after work.

CS2_MAXPLAYERS reports 64 in the server STDOUT but I am not able to connect more than the specified number, e.g. 10, players in practice. Possibly a CS2 bug?
Server Password is working for me. The only gotcha that may make it appear like it doesn't work is that CS2 remembers the password you used to connect to a server previously (based on IP/hostname) and offers it automagically.
RCON doesn't work for me at all though. Forget the Docker container, I cant get it to work on a regular Linux server.
Any suggestions on what the correct configuration is beyond -usercon and  +rcon_password? I've tried setting rcon_password in server.cfg too.

Actually, scratch that. RCON is working, just not in game. I can see other reports of similar online.
I can access RCON with the password using an alternative client, such as: https://github.com/forewing/csgo-rcon

@kevjaN89 I've pushed a new version of the Docker image. Fixes:

Server name support added
pw now written to server.cfg
rcon_pw now written to server.cfg

I've validated that rcon works using an alternative client. Seems busted in CS2 proper right now.
I've validated that password is being set correctly.
CS2_MAXPLAYERS seems to have the desired effect (limiting the number of players), even though stdout reports a different value.
Please test and let me know how you get on :)

@joedwards32

Server name env working fine
Server pw env working fine
rcon_pw env working fine
max players env is still being ignored; I think there's still a bug.
Server Log: SV:  64 player server started

But already, thank you very much for everything else :)
Kind regards
kevjaN89


[stable/postgresql] helm install --set persistence.storageClass=nfs-client doesn't work

Is this a request for help?:
Yes
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Either it's a bug, or I'm just doing something wrong
Version of Helm and Kubernetes:
Helm v2.13.0
Kubernetes v1.13.4
Which chart:
stable/nfs-client-provisioner
stable/postgresql
What happened:
I first installed stable/nfs-client-provisioner to utilize my local NAS server for PersistentVolumes, using this command:
helm install --name nfs-provisioner --set nfs.server=<IP_ADDRESS> --set nfs.path=/data/Kubernetes --set storageClass.defaultClass=true stable/nfs-client-provisioner

Then I tried to install Postgres using this command:
helm install --name postgres --set persistence.storageClass=nfs-client stable/postgresql

This then returns a STATUS: DEPLOYED saying Please be patient while the chart is being deployed however it never actually finishes.
What you expected to happen:
I would expect that when I type kubectl get pods I would see something like this:
NAME                     READY   STATUS
nfs-client-provisioner   1/1     Running
postgres-postgresql      1/1     Running

What actually happens:
Instead of seeing that, I see something like this:
NAME                     READY   STATUS
nfs-client-provisioner   1/1     Running
postgres-postgresql      0/1     Pending

It just stays on "Pending" forever. If I run kubectl get events I can see these two messages recurring:
REASON           KIND                    MESSAGE
FailedBinding    PersistentVolumeClaim   no persistent volumes available for this claim and no storage class is set
FailedScheduling Pod                     pod has unbound immediate PersistentVolumeClaims

How to reproduce it (as minimally and precisely as possible):

Have a local NAS server at <IP_ADDRESS> (or change the IP in step 3, below)
Set up a share on it at /data/Kubernetes and make sure it allows access to Kubernetes
Run this command: helm install --name nfs-provisioner --set nfs.server=<IP_ADDRESS> --set nfs.path=/data/Kubernetes --set storageClass.defaultClass=true stable/nfs-client-provisioner
Run this command: helm install --name postgres --set persistence.storageClass=nfs-client stable/postgresql

Anything else we need to know:
I was surprised to see the error in the logs say "no storage class is set" since I can verify that the stable/nfs-client-provisioner chart did, indeed, set the default storage class. And moreover I'm specifying the storage class explicitly to the stable/postgresql chart. Any ideas why this isn't working?
Please note that my knowledge of Kubernetes is still pretty amateurish, so if you need me to get logs or do something else, please include the exact kubectl command you'd like me to run. I will gladly provide any additional detail.

I was unable to reproduce the issue. These are the steps I followed:

Ensure my cluster has NFS packages installed (run this on every node):

$ sudo apt-get install nfs-common

Install the NFS provider:

$ helm install --name nfs-server-provisioner stable/nfs-server-provisioner --set persistence.enabled=true,persistence.size=10Gi

Install PostgreSQL using NFS PVCs:

$ helm install --name postgres stable/postgresql --set persistence.storageClass=nfs --set persistence.accessMode=ReadWriteMany --set persistence.size=2Gi

As you can check the pods are running with a RWX PV mounted:
$ kubectl get pods
NAME                       READY   STATUS    RESTARTS   AGE
nfs-server-provisioner-0   1/1     Running   0          3m57s
postgres-postgresql-0      1/1     Running   0          3m10s
$ kubectl describe pod postgres-postgresql-0
...
Conditions:
  Type              Status
  Initialized       True
  Ready             True
  ContainersReady   True
  PodScheduled      True
Volumes:
  data:
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
    ClaimName:  data-postgres-postgresql-0
    ReadOnly:   false
...
$ kubectl get pv
NAME                                       CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM                                   STORAGECLASS   REASON   AGE
pvc-90dc8dc8-4630-11e9-988a-080027921c48   2Gi        RWO            Delete           Bound    default/data-postgres-postgresql-0      nfs                     3m50s

Based on your comment here I was able to get it working. I think the problem was that I had omitted specifying the persistence.size variables on both charts when I was launching them. Now that I've included them both charts are working together harmoniously. Thank you!

Great @soapergem !!
I'm glad you were able to setup everything once you specified the persistence.size!!


use local data build in codespace

This solution is cludgy but workable as a stopgap. The codespace user has two points of friction:

they must set the visibility of the 3141 port to public
they must manually refresh their data in the advanced tab when it is updated rather than just refreshing their browser


How to Banned instagram accounts

1.Open the Instagram app or go to the Instagram website.
2.Go to the profile of the account you want to report.
3.Tap the three dots (vertical ellipsis) located at the top right corner of the profile (next to the "Follow" button).
4.A menu will appear; select "Report."
5.Choose the reason for reporting the account (e.g., "It's spam," "It's inappropriate," "It goes against Instagram's Community Guidelines," etc.).
6.Follow the on-screen instructions to provide more details and submit your report.


vite

stderr | src/__tests__/App.test.tsx > toggle
Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Check your code at App.test.tsx:60.
Error: Uncaught [Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.]
    at reportException (/path/to/project/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/path/to/project/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/path/to/project/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/path/to/project/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/path/to/project/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/path/to/project/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/path/to/project/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/path/to/project/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/path/to/project/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/path/to/project/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
    at createFiberFromTypeAndProps (/path/to/project/node_modules/react-dom/cjs/react-dom.development.js:28439:17)
    at createFiberFromElement (/path/to/project/node_modules/react-dom/cjs/react-dom.development.js:28465:15)
    at reconcileSingleElement (/path/to/project/node_modules/react-dom/cjs/react-dom.development.js:15750:23)
    at reconcileChildFibers (/path/to/project/node_modules/react-dom/cjs/react-dom.development.js:15808:35)
    at reconcileChildren (/path/to/project/node_modules/react-dom/cjs/react-dom.development.js:19174:28)
    at updateHostRoot (/path/to/project/node_modules/react-dom/cjs/react-dom.development.js:19883:5)
    at beginWork (/path/to/project/node_modules/react-dom/cjs/react-dom.development.js:21615:14)
    at HTMLUnknownElement.callCallback (/path/to/project/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/path/to/project/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/path/to/project/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.3%

Covered Lines:
940

Relevant Lines:
940

💛  - Coveralls


Add WebSocket Connection Status Label

Looks like it does the job. I have a CSS alignment issue but that may be given I'm not testing the latest commit (which hasn't built yet - might be because of the conflict?). I can't give a great review of the approach, so it'd be great if @richski wouldn't mind taking a look from that perspective.


Ability to generate a JFR event configuration as a Map from a .jfc file

This PR adds the ability  to generate a JFR event configuration as a Map from a .jfc file
Cc @dsgrieve @trask

Hi @dsgrieve, this PR adds the ability to generate a JFR event configuration as a Map from a .jfc file.
Today, Microsoft JFR steaming requires using a  .jfc  file to define the wanted JFR events. This PR is complementary to #16 that will allow to have a programmatic configuration and write code like this:
        Supplier<Map<String, String>> allocationEvents = () -> {
            Map<String, String> recordingConfigAsMap = new HashMap<>();

            if (JVM.INSTANCE.version.isLessThanTo16()) {
                recordingConfigAsMap.put("jdk.ObjectAllocationInNewTLAB#enabled", "true");
                recordingConfigAsMap.put("jdk.ObjectAllocationOutsideTLAB#enabled", "true");
            } else {
                recordingConfigAsMap.put("jdk.ObjectAllocationSample#enabled", "true");
            }

            return recordingConfigAsMap;
        };

        RecordingConfiguration recordingConfiguration = new RecordingConfiguration.MapConfiguration(allocationEvents);

This PR would help the current Microsoft JFR streaming users migrate from a .jfc file configuration to a programmatic configuration.
I can understand that this PR may not fit with the main goal of Microsoft JFR streaming. Splitting out the Microsoft JFR streaming project into several modules and adding code to release the new dependency would demand significant extra work. The new dependency would only contain one small feature.
So, if this feature would not really fit with Microsoft JFR streaming, this PR could perhaps be closed?

Closed this PR to create later new ones with the new project structure.


Window is not defined

Whenever trying to build, the error ReferenceError: window is not defined comes up. Now, this is actually in powerbi-client, not powerbi-client-react, but I can't raise an issue there, and I am also using powerbi-client-react as well since it's a Gatsby (or NextJS project potentially).
But, in the powerbi-client code there should be the following where the instances of window are used
if (typeof window !== 'undefined') {
  console.log('You are on the browser')
  // ✅ Can use window here
} else {
  console.log('You are on the server')
  // ⛔ Don't use window here
}

Just ran into this issue myself when trying to use Next! Also stumbled upon the workaround thread that @mcdowellalex was also in, link here if anyone else sees this issue and needs a workaround solution with Next: https://github.com/microsoft/powerbi-client-react/issues/28#issuecomment-1074409428

I had to do one more tinker, and that was to fully turn off SSR to the dashboard component. In the linked issue, a user suggested:
const DynamicDashboard = dynamic(() =>
    import('../components/dashboard/dynamicDashboard').then((dashboard) => dashboard.default),
  );

Which led to the window is not defined error happening only every other refresh now instead of all the time (because of SSR trying to store this component). I fully resolved the issue by turning off SSR for this component, which is just adding an argument to the above snippet:
const DynamicDashboard = dynamic(() =>
    import('../components/dashboard/dynamicDashboard').then((dashboard) => dashboard.default),
    { ssr: false }
  );

But this totally destroys the point of having SSR benefits with Next, so this is very much an issue still.

Hi there,
Thanks for reaching out! We understand that you are experiencing an error due to the absence of the window object, which is not available in server-side rendering.
We have the following 2 options to resolve this issue:
Option 1: Check if the window object exists before using it in the code. However, this approach may require to skip code that relies on the window object, which may not be ideal for our use case.
Option 2: Use dynamic imports or lazy loading to only load the code that uses the window object on the client-side. This approach ensures that the code is executed only in the browser, where the window object is available, without requiring to skip any code.
You can try the following code for using dynamic importing:
import dynamic from 'next/dynamic'
import { EmbedProps } from 'powerbi-client-react';
import { models } from "powerbi-client";
const PowerBIEmbed = dynamic<EmbedProps>(() => import('powerbi-client-react').then(m => m.PowerBIEmbed), { ssr: false });
Please let us know if you need any further assistance or clarification.
Thank you for bringing this to our attention. We appreciate your feedback and support.

ainda estou tendo o problema de window is not defined, mesmo após todas as dicas dinamicas mencionadas acima.
Meu código abaixo:
import React from 'react';
import { NextPage } from 'next';
import { models } from 'powerbi-client';
import Head from 'next/head';
import styles from '../../../styles/powerbi.module.scss';
import {PowerBIEmbed} from 'powerbi-client-react';
const DynamicDashboard: NextPage = () => {
const storageTokenData = sessionStorage.getItem('tokenData');
const tokenData = storageTokenData ? JSON.parse(storageTokenData) : null;
console.log(tokenData);
return (
<>

Indicadores de Desempenho

  <div className={styles.pbiContainer}>
          <PowerBIEmbed
            embedConfig={{
              type: 'report',
              id: tokenData.reportId,
              embedUrl: tokenData.embedUrl,
              accessToken: tokenData.accessToken,
              tokenType: models.TokenType.Embed,
              settings: {
                panes: {
                  filters: {
                    expanded: false,
                    visible: false,
                  },
                },
                background: models.BackgroundType.Transparent,
              },
            }}
            cssClassName={styles.pbiContainer}

          />
  </div>
</>

);
}
export default DynamicDashboard;

import dynamic from 'next/dynamic';
import { NextPage } from 'next';
import '../powerbi/dynamicPbi';
const Dashboard: NextPage = () => {
const DynamicDashboard = dynamic(() =>
import('../powerbi/dynamicPbi').then((dashboard) => dashboard.default),
{ssr:false}
);
return (
<>

</>
);
};
export default Dashboard;


Windows 10.0.18362.657 x64 - Not listening, but Fully supported

Hi, everyone
I've been using this tools years and years, but since a couple of days, system updated and service went down, I updated ini file and arrived this point

And there is no way, I've tried rebooting, reinstalling, etc...
The only thing that left is to substitute system32 files termsrv.dll and rfxvmt.dll, but I'd like to know your opinion
Thank you!

but in my case is just opposite, my listener state is Listening but not supported!

but in my case is just opposite, my listener state is Listening but not supported!

Try on #988

whats is solution for this

Finally, Remote Desktop Service was misconfigurated !!! It wasn't granted for Network Service, as it should be at Session Tab.
You can setup this at Services Console, services.msc.
Thank you all


S3 support for AWS Seoul region

Support S3 Seoul region. In addition, this PR includes modification about Amazon signature V4 due to Seoul region does not support signature V2.
Modification that S3 requires:

Removed HTTP method restriction from AWSRequestSignerAlgorithmV4
Added hash of the request payload as X-AMZ-Content-SHA256 header
Prevent Host / Accept-Encoding header duplication

Hi @encyphered this PR is missing a small change before it can be merged. please see the build status light.

Thanks @encyphered LGTM :+1:


[IA-3971] CloudProvider to CloudPlatform changes for UI-based code

Closing as this is very out-of-date now.


Clean and re-configure Rspec with SimpleCov gem for test coverage

I removed the spec directory, reconfigured rspec and set up a simple test of the speaker model to make sure things were running smoothly, then added simplecov for test coverage which is also running well.

I think I fixed the conflicts


Update

:tada: This PR is included in version timeclicker_server-v1.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version timeclicker_client-v1.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


update(beeswarm): return figure object if show=False

@slundberg
This is a tiny PR that supports your documented functionality. It's been sitting for near 8 months. Is this repo unmaintained?

Hi @jlarsen-usgs ,
This repo was indeed unmaintained for a time, but glad to say that we have a new tiny group of maintainers who are eager to help patch things up.
Thanks for the PR! We're working on standardising the the plotting API, and this particular feature was recently addressed by #3561. So, I'll close this as already completed.


AP-3739: Move proto markdown utils to api

Current dependencies on/for this PR:

main

PR #12   👈

This comment was auto-generated by Graphite.


StatsTracker example - Existing FabriRechtExample fails to run

RinSim version: 4.3.0
I would like to request an additional example/tutorial on how to retrieve statistics after running a RinSim experiment or simulation.
The only example using StatsTracker seems to be FabriRechtExample, which at the moment of writing fails to run.
A few remarks on the FabriRechtExample:

The main method is called 'main2'
The line
new File("../scenario-util/files/test/fabri-recht/lc101.scenario"),
throws a FileNotFoundException.
Likely this is an issue with me using IntelliJ instead of Eclipse, which can use a different execution root when running a file from inside the IDE. Changing the file path to "scenario-util/files/test/fabri-recht/lc101.scenario" fixes this problem.
When running the example after fixing the issues above above another exception is thrown:

Exception in thread "main" java.lang.IllegalArgumentException: A provider for interface com.github.rinde.rinsim.pdptw.common.StatisticsProvider already exists: Dependency-StatsTracker.builder().
	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:146)
	at com.github.rinde.rinsim.core.model.DependencyResolver.add(DependencyResolver.java:75)
	at com.github.rinde.rinsim.core.model.ModelManager$Builder.doAdd(ModelManager.java:231)
	at com.github.rinde.rinsim.core.model.ModelManager$Builder.add(ModelManager.java:212)
	at com.github.rinde.rinsim.core.Simulator$Builder.addModel(Simulator.java:324)
	at com.github.rinde.rinsim.examples.fabrirecht.simple.FabriRechtExample.main(FabriRechtExample.java:76)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)

I do not know how to resolve this last issue.
Would it be possible to write a tutorial on how to use the StatsTracker or is there another way to retrieve and calculate statistics, evaluation results, etc. in RinSim?
The reason for this is that it would be extremely useful to get access to statistics after an experiment (using the RinSim experiment API) or other simulation has been completed. Statistics such as throughput, latency, package distribution, etc. would be very helpful in the evaluation of multi agent systems.

The reason that this example is disabled is because it is broken and I have currently no plans to fix it. Adding an example/tutorial about gather statistics in general and StatsTracker in particular is a good idea. I'll take a look at it in the following weeks, I'll update this thread when I've made progress.


docs: [IAC-2558]: Update reference architecture

Description

Update IaCM reference architure to set IaCM module instead of Platform
JIRA

PRs must meet these requirements to be merged:

[x] Successful preview build.
[x] Code owner review.
[x] No merge conflicts.
[x] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66fbcdb2fe44a706e9d3084e--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66fbdcf6d9202c0dc4db0677--harness-developer.netlify.app


add support for connection tracking

Codecov Report

Merging #52 (e340d0d) into main (caf33c2) will increase coverage by 0.64%.
The diff coverage is 63.33%.

@@            Coverage Diff             @@
##             main      #52      +/-   ##
==========================================
+ Coverage   45.13%   45.78%   +0.64%
==========================================
  Files          25       26       +1
  Lines        1274     1411     +137
==========================================
+ Hits          575      646      +71
- Misses        669      736      +67
+ Partials       30       29       -1

Flag
Coverage Δ

unittests
45.78% <63.33%> (+0.64%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/pipeline/transform/location/location.go
16.79% <2.12%> (-72.00%)
:arrow_down:

pkg/pipeline/transform/transform_network.go
64.70% <69.56%> (+1.16%)
:arrow_up:

...ansform/connection_tracking/connection_tracking.go
97.50% <97.50%> (ø)

pkg/pipeline/decode/decode_json.go
90.47% <0.00%> (+14.28%)
:arrow_up:

pkg/pipeline/decode/decode.go
100.00% <0.00%> (+100.00%)
:arrow_up:

pkg/pipeline/decode/decode_aws.go
100.00% <0.00%> (+100.00%)
:arrow_up:

Continue to review full report at Codecov.

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


Not depend on .minecraft Directory

After failing to get MiEx to run on macOS, I tried it on Windows and ran into another issue: MiEx seems to fully depend on a .minecraft Folder existing, and I don't have the official Minecraft installed, since I almost exclusively use Prism Launcher (as that makes it easier to deal with separate instances)
So it would be great, if MiEx could run without one directly present. The version_manifest_v2.json should be available on Mojang's Servers (which you could fall back to if none is present) and for anything else (such as assets), you could just let the user specify a path to a Minecraft Instance.

I have just released a new version which should now allow you to tell it where the "versions" folder it that has all of the Minecraft version installs. This should then also allow it to work with other launchers.
https://github.com/BramStoutProductions/MiEx/releases/tag/v1.2.0
The MIEX_MINECRAFT_VERSIONS_DIR environment variable or the -mcVersionsDir <path> argument allows you to tell MiEx where all of the versions are located.
You can read more about it here: https://github.com/BramStoutProductions/MiEx/wiki/3.-Pipeline-Integration-and-Customisations
Please let me know whether this works!

So, e.g. Prism Launcher (and MultiMC, which it is a fork of) actually doesn't have a versions Directory at all. You have the PrismLauncher folder which has all the Instances, which then each have a .minecraft, but no versions in each of them.

Aaah, I didn't know that. The versions folder is only needed in order for MiEx to extract the base_resource_pack from the Minecraft jar file. You can also do this manually. Just extract the assets and data folders from inside the jar file (you can open it up as a zip file) into the base_resource_pack folder. Then also create another file called packInfo.json inside of the base_resource_pack folder to tell MiEx that you have already set up the base_resource_pack yourself. In that packInfo.json file put the following text {"version":"1.20.4"}
Please let me know if this works for now and I'll look in the future whether I can add in support for different Minecraft launchers.

MiEx now has support for alternative launchers. All that you have to do is tell it where the root directories of these launchers are via environment variables or command-line arguments. You can find out more about it here: https://github.com/BramStoutProductions/MiEx/wiki/3.-Pipeline-Integration-and-Customisations#environment-variables
You can get the latest version of MiEx with this feature here: https://github.com/BramStoutProductions/MiEx/releases/tag/v1.4.0
One quick note, I just noticed that there is a small mistake in the code where the MIEX_MODRINTH_ROOT_DIR environment variable won't do anything, because it's instead looking at the MIEX_TECHNIC_ROOT_DIR environment variable for the Modrinth root directory. This will get fixed in the next release planned for tomorrow.


Cannot copy an invitation link on mobiles and tablets

Description

Cannot copy an invitation link on mobiles and tablets, while it works on desktop. This issue happens both on iOS and Android.
Steps to Reproduce

Environment

OS:
Browser:
Device:

Notes

It is not working with iPad, but there is no error message shown which should be if fail.
https://github.com/nishiki-tech/nishiki-frontend/assets/142355969/24987089-d8bc-4bc0-a765-14d74e864de3

This issue is going to be solved once https://github.com/nishiki-tech/nishiki-frontend/pull/339 is merged. I have deployed my test branch after merging the branch of that PR, and it worked correctly.


[Feature request/bug?] Taking action on a notification does not got to workspace.

When a notification appears and one clicks on the action to go to the window instead of going to that workspace the window is moved from it's workspace to the current workspace.

Does using the fixed group option provide the desired behavior? That should maybe be the default...
<Group>
  <Option>fixed</Option>
</Group>

:facepalm: it does exactly what is expected. My bad, sorry for not reading through all the options. I agree it should be a default. Sorry again


[release/1.2 backport] bump selinux v1.2.1

backports of https://github.com/containerd/cri/pull/1101 and https://github.com/containerd/cri/pull/1113 for the 1.2 branch

/ok-to-test
Do we need this in containerd 1.1?

updated to reference the new commit-sha (https://github.com/containerd/cri/pull/1113/commits/5e7d59fc9dc23c6a6c11e1158fb9bb4009d69ad4) from https://github.com/containerd/cri/pull/1113 (after rebasing)

Yes, I think we should have this in 1.1 as well, I'll do a backport for that branch


[BUG] DaffModelFactory Type is Required

:bug: Bug report
Current Behavior

The type constructor param of the DaffModelFactory is required.
Expected Behavior

DaffModelFactory should be more flexible and that arg should be optional.
What is the motivation / use case for changing the behavior?

Sometimes models will just override the create method for more custom behavior; the type param is never used in this case.

Closed by #1942


Added login/signup frontend + backend

Closes #28

implemented backend routes for login, logout and signup
designed frontend for login and signup page
implemented context for global access of user's state across whole site

https://github.com/user-attachments/assets/84b24881-5841-4469-9707-7bff523b4dfd

@jahnvisahni31 can you please check it? i have implemented all the changes

Failed to compile.
./app/front-navbar.tsx
Error:
x Unexpected token Navbar. Expected jsx identifier
,-[/vercel/path0/app/front-navbar.tsx:59:1]
error

make sure to do npm run build before pushing

make sure to do npm run build before pushing

actually @jahnvisahni31 ut current  ./app/front-navbar have some issue can u see this files code please

Failed to compile. ./app/front-navbar.tsx Error: x Unexpected token Navbar. Expected jsx identifier ,-[/vercel/path0/app/front-navbar.tsx:59:1]
error

can u check line no. 49 and 186

@jahnvisahni31 please check now, i have fixed the issues and runed npm run build before pushing :

Hello @jahnvisahni31 can you check this pr?

This branch has conflicts that must be resolved
Use the web editor or the  to resolve conflicts.
Conflicting files
app/front-navbar.tsx
it showing this only that's why unable to merge

This branch has conflicts that must be resolved Use the web editor or the to resolve conflicts. Conflicting files app/front-navbar.tsx it showing this only that's why unable to merge

resolved conflicts

now this error

 now this error

i guess it's because of prisma

 i guess it's because of prisma

As in line 678, can u add prisma generate command at build command?

Lemme check it

hey @jahnvisahni31 its deploying fine

Just add this to your build command:
"prisma generate && next build"

Hey @jahnvisahni31 thanks for merging it but considering its frontend+ backend can you increase level of issue?

okay will give level 2

okay will give level 2

Thanks really appreciated 😊


kcp: NRE in RawReceive

as per discord:

"It is not reproduced in the test environment, and the log is printed only on servers in the open beta environment (30 simultaneous connectors). Once printed, 10 to 100 are printed, and the server works well. The situation of the client related to the error is unknown."
mirror LTS 70.0.1 with all the recent kcp fixes.
the only thing in RawReceive which could be null is OnData / OnError.
OnData is called via ?.Invoke.
which leaves only OnError.
asking user to change to OnError?. and report back.

should probably pass OnError etc. in constructor and make them readonly, so they can never be null.


More explicit check for dtype roundtripping in backends

[x] tests added / passed
[x] passes git diff upstream/master | flake8 --diff

@shoyer, should this PR be merged before #1198, just in case to make sure that there aren't any "gotchas" that I've missed in #1198?

Thanks!


Add prototype2 screencast

Signed-off-by: Andy Goldstein<EMAIL_ADDRESS>

Where are we with this?


#356 Limit Resource Families

Suggested improvements for "SHOULD Limit number of Resources [146]" rule as discussed in #356.
Also some initial changes to update Zally accordingly:
https://github.com/zalando/zally/compare/master...roxspring:feature/limit-resource-families

:+1:

@tkrop, @tfrauenstein, @maxim-tschumak - trying to pull the unresolved conversations out hidden sections...

I've had another edit and now the example is introduced, presented and only then explained - hopefully clearly showing why the numbers and text match.
I very nearly added some example POST|GET|PUT|DELETE prefixes but noticed there's only one example within this chapter that uses those where most don't. For now I've left them off to stick with the majority.
I got a bit frustrated with the circular discussions but am determined to get back to a constructive frame of mind ;)

I think the not-entirely-resolved topics are:

/customers/{id}/preferences is part of /customers
/customers/{id}/addresses and /addresses are separate resources
"Resource Types" vs "Resource Families"
Example has no METHOD prefixes.

Please take another look and let's see if we can agree 1st on the interpretation, 2nd on the terminology, and 3rd work through the explanation to make sure it's clear enough.

👍

:+1:


Could not convert 'destroyed' to ChangeAction breaking change

Hello!
try await tmdbClient.GetMovieChangesAsync(435470, new DateTime(2017, 1, 17));
Newtonsoft.Json.JsonSerializationException: Error converting value "destroyed" to type 'TMDbLib.Objects.Changes.ChangeAction'. Path 'action', line 1, position 177. ---> System.ArgumentException: Requested value 'destroyed' was not found.
   at System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument)
   at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
   at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
   --- End of inner exception stack trace ---
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer)
   at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType)}

await tmdbClient.GetTvShowChangesAsync(1920)

await tmdbClient.GetMovieChangesAsync(435470, new DateTime(2017, 1, 17));

And one wonders what the difference of Destroyed and Deleted is ....

@agoretsky do you know of any documentation for this?
It seems the value could be a dictionary of String->JToken og String->String

No, I don't

@LordMike Could you please publish version with this fix to nuget?

I just did. It's 1.0.4-alpha.

Thanks


Postponing to load individual datasets

I'm concerned that many datasets are loaded in advance regardless of their necessities.
https://github.com/red-data-tools/red-datasets/blob/master/lib/datasets.rb#L3-L34
How do you think about postponing to load individual datasets?

Are you thinking about start-up time?
I agree with less start-up time is better. But I don't want users to force requiring each dataset explicitly such as require "datasets/iris".
We can use autoload for this case but I don't like autoload a bit... For example, autoload doesn't work in Ractor.
Do you have any idea to implement this proposal?

I don't know how to overcome the problem due to non-main Ractors.  I guess we need a mechanism that non-main Ractors let the main Ractor load libraries.

I've implemented this.
We can postpone to load by datasets/lazy:
require "datasets/lazy"
# Datasets::Iris isn't loaded yet
Datasets::Iris # Datasts::Iris is loaded now


[Question] Is there a way to upload/download multiples files at once?

Hi @vincent-duret,
There's no support in the library for uploading/downloading multiple files.
As far as I understand, it's not a part of the WebDAV specification and I don't know how many WebDAV servers even support this.
Could you explain me your use case, please? Does multiple calls to PutFile/GetFile can solve your problem or you specifically need to send them as a part of a single HTTP request?

Hi @skazantsev,
Thank you for your feedback.
I am trying to outsource the storage of the files from the db to a webdav endpoint for a web application.
However this application also provides a bulk import/export module.
Inside this module I was wondering the best way to download/upload the files from/to the webdav endpoint. Of course, doing multiple calls still remain a possibility but I am a bit concerned about performance.


Set/Cancel

This PR is ready for merging when set/cancel functions are complete.

Ready for another review?

Ready for another review?


filenamePattern specific priority for custom editors

Right now, the priority seems to be a property of the editor as a whole rather than for different extensions. However, for my editor, we may want to use either a generic extension (json) or a more specific one (haven't decided on that yet actually). I'd like to set my editor as option for the generic extension (json) but the default for the more specific one so it would be nice to be able to set different priority for different patterns for the same editor.

It doesn't look like this will get enough upvotes.
In case anyone is looking for a workaround,
you can do this by registering the same editor twice using different ID's, like so:
"customEditors": [
	{
		"viewType": "my-extension.myCustomEditor",
		"displayName": "My Custom Editor",
		"selector": [
			{
				"filenamePattern": "*"
			}
		],
		"priority": "option"
	},
	{
		"viewType": "my-extension.myCustomEditorDefault",
		"displayName": "My Custom Editor",
		"selector": [
			{
				"filenamePattern": "*.something"
			}
		]
	}
]

export function activate(context: ExtensionContext) {
	let disposable;

	disposable = window.registerCustomEditorProvider('my-extension.myCustomEditor', new MyCustomEditor(context));
	context.subscriptions.push(disposable);

	disposable = window.registerCustomEditorProvider('my-extension.myCustomEditorDefault', new MyCustomEditor(context));
	context.subscriptions.push(disposable);
}

Remember to include both editor ID's in activation events:
"activationEvents": [
	"my-extension.myCustomEditor",
	"my-extension.myCustomEditorDefault"
]

And if you reference an editor ID in a when clause, you might want to include both ID's:
"commandPalette": [
	{
		"command": "my-extension.myCommand",
		"when": "activeCustomEditorId == my-extension.myCustomEditor || activeCustomEditorId == my-extension.myCustomEditorDefault"
	}
]


Hello World from GCP Scanner Visualizer

Description
This is the first PR for creating the visualization tool for the GCP scanner output
Changes Made

Create the React project in the visualization_tool folder
Setup linting and formatting
Add the gui folder in the GCP scanner to include static files and Python script to launch a flask server to host the tool
Add new command gcp-scanner-visualizer to launch vis tool
Add Flask to Python requirements

Additional Notes
Currently the build script for the react project outputs static files in src/gcp_scnneer/gui/static but this folder is not getting added to the final gcp scanner package after the build because of this issue #186

Looks great!


Is it possible to generate several output bindings, so they can be processed independently?

[Queue("functionstesting2", Connection = "AzureWebJobsStorage")] OutputBinding<Book> book will let you add one book to the queue. What if I want to add many books, so they can trigger separate events, and can be processed independently?
Regards,
Jose.

You should be able to use OutputBinding<IEnumerable<Book>> but this is not working in preview3. Tracking this here: https://github.com/Azure/azure-functions-dotnet-worker/issues/124


The partial update for an invitation does not work

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Expected Behaviour

The patch method should do a partial update of the fields in the invitation. (PATCH /api/invitations/{key})

PatchedInvitationWrite{
role	RoleEnumstring
                       Enum:
                       Array [ 4 ]
email	string($email)
}

Current Behaviour

The partial update request for some fields in an invitation does not affected to the exist field value.
After sending the patch request, 200 ok is received, but the field value is not changed.
It seems that the relevant code is incomplete. (InvitationWriteSerializer class)

    def update(self, instance, validated_data):
        return super().update(instance, {})

Possible Solution

Complete the relevant code or mention in the documentation(and/or api doc) that this feature is not yet available.

Steps to Reproduce (for bugs)

make an invitation for a user (with role : worker)
try to partial update for that user (with role : supervisor)

Context

Your Environment

Git hash commit (git log -1): b0e6074c
Docker version docker version (e.g. Docker 17.0.05):
Are you using Docker Swarm or Kubernetes?
Operating System and version (e.g. Linux, Windows, MacOS): ubuntu 18.04
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container

Next steps
You may join our Gitter channel for community support.

hi @bsekachev,
If no one is currently working on it, I’d love to take it on.
I’ve identified that incomplete/partial update() method inside serializers.py . I’d love to work on it :- )


Task/refactoring

[x]  Refactoring code structure
[x] Add a DummyPipelinePreprocessor
[x] Simplify the public API
[x] Better choice for grid search param

Additional remarks:

a Error (Analyzer) Tree instead of an Error in error_analyzer.py (l.26, 145, 147, 245, 247) and README.md (l.131)
Model Performance Predictor still appears in the pydoc (error_visualizer.pyl.209, 77, 106 and error_analyzer.py l.193), IIRC this wording is outdated
could be done in another PR I guess, several instances of casting to float to ensure ratios yield floats instead of integers, buut that is only necessary in py2 that is no longer supported

@AgatheG

The wording is updated in 149ca1b

Let's do the float casting in another PR yep


Sponsor logos should have a consistent size for a given level

At the moment, the sponsors logos have not the same size: Zenika is smaller than others of the same level.
Each level should have maximum and minimum size.

They have fix height (defined by level) and auto width, what rule do you think we should apply?

Fixed width and max-height would probably be more faire (logos are either square or landscape, but not usually portrait).


.envrc ignored by direnv

Apparently, eval "$(direnv hook <shell>)" needs to be run, in which case it has be mentioned in the README.md.
This command can also be added to the respective ~/.<shell>rc, or, better yet, to the shellHook of the shell.nix (probably along with direnv allow?):
    shellHook = drv.shellHook + ''
      export PGDATA=$PWD/database/pgdata
      mkdir -p $PGDATA

      mkdir -p $PWD/logs

      eval "$(direnv hook $SHELL)"
      direnv allow
    '';

Hey, thanks! I'll give it a shot later this evening. I really need to do a little testing with --pure to make sure that the nix setup is as plug and play as I'd like it to be.
Did you otherwise get it running OK? My other concern is the PostgreSQL setup ... I get a hanging pid file from time to time.

No worries. I've been meaning to share this around for a couple of weeks actually, so I'm really glad you found it. There are still a few more things I'd like to have before it's really complete. I'd really like metrics and error reporting (or something along those lines).
Thanks for the link, I'm very keen to see more NixOps strategies. Also Hydra, I haven't look into setting up a Hydra server at all yet. This Nix stuff, it's real good :)


Explicitly add content type header.

If CNS Client happen to use a library which checks for the content type before decoding the response ( ex: Python -aiohttp, then reading the response will always fail.
We are defaulting to "Content-Type: text/plain; charset=utf-8"

Considering the response is always JSON encoded, I think it is fine.


feat: upgrade exoplayer to v2.17.1

Describe the changes
Upgrade ExoPlayer to version 2.17.1
Provide an example of how to test the change
Tested with a forked of react-native-video-test

I tested this with react native version 0.65.1. Working fine except seeking, seeking behavior is slow.

@tailt94 Can you update this to use 2.17.1 so that we jump directly to the current latest version? I promise a quick review!

@hueniverse sure, but it may take some time since there's a lot of changes from v2.15.1 to v2.17.1

@tailt94 Do you think it is worth waiting? Is there enough value in moving to 2.15.1 first? I am trying to find the best way to move forward. Do you have any idea of how long it will take you to update the PR?
And again, much appreciated!

@tailt94 That would be great. Let me know if you were able to find the time. I promise a quick review and merge this time! I would love to include this in a 6.0.0-alphax release so we get as much community feedback as possible.

@hueniverse I've updated most of deprecated ones except this line and I didn't figured out how to update this, any suggestion?
https://github.com/react-native-video/react-native-video/blob/3dd73ba97e1b18ab9767a90b116681be91caab64/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ExoPlayerView.java#L191

@cobarx Can you help review this and @tailt94 open question? I would really like to move to the most recent version of the player.

@hueniverse @tailt94 What is the plan to merge this feature? Exoplayer solves many defects in 2.17 and we want to release our app with this merge.

@tailt94 We finally got the big Android PR merge done. As soon as you resolve the conflicts this will be the next PR to get merged! I promise!

Thanks @armadilio3! This is great. As soon as we get two more approvals we'll get v6 published.

@hueniverse @cobarx any update on this?


No troubleshooter?

[Enter feedback here]
What if it simply doesn't work?  Even with the firewall disabled, Browser doesn't work.

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

ID: 24e49fc4-1101-0d6f-e16a-52242616287b
Version Independent ID: df5e0042-2137-3309-a957-de5f556f5c84
Content: Lesson 2: Connecting from Another Computer - SQL Server
Content Source: docs/relational-databases/lesson-2-connecting-from-another-computer.md
Service: sql
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

Are you running into this problem? https://techcommunity.microsoft.com/t5/azure-sql-blog/ssms-19-and-can-t-reach-this-page-message/ba-p/4010256

No, I don't use Azure
From: Randolph West MSFT @.>
Sent: Wednesday, January 3, 2024 5:03 PM
To: MicrosoftDocs/sql-docs @.>
Cc: SDMol @.>; Author @.>
Subject: Re: [MicrosoftDocs/sql-docs] No troubleshooter? (Issue #9570)
Are you running into this problem?
https://techcommunity.microsoft.com/t5/azure-sql-blog/ssms-19-and-can-t-reac
h-this-page-message/ba-p/4010256

Reply to this email directly, view it on GitHub
<https://github.com/MicrosoftDocs/sql-docs/issues/9570#issuecomment-18756017
75> , or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3NIVVSHMZ46XVALDXZW65TYM
V6MTAVCNFSM6AAAAABBCOMLMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGYYDC
NZXGU> .
You are receiving this because you authored the thread.
<https://github.com/notifications/beacon/A3NIVVXKFUEX5FLRMWTH23LYMV6MTA5CNFS
M6AAAAABBCOMLMGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT
PZNUW6.gif> Message ID:
@.***
@.***> >

In that case, please direct your query to Microsoft Support, or a third-party service. This is the documentation repository, and we aren't able to provide technical support.


Bug? areaWidth() and areaHeight() always return zero

See:

logging the areaWidth() and areaHeight() returns zero, even though debug shows that there's a non-zero width and height.
Version<EMAIL_ADDRESS>

Ah. OK got it. Thank you @slmjkdbtl


vaadin-message-list auto-scrolling

When you’ve already scrolled to the bottom, and there’s a new message, the component should automatically scroll to the bottom.

There be a threshold how close to the end of the list the scroll position is after which auto-scrolling is effective.

There be a threshold how close to the end of the list the scroll position is after which auto-scrolling is effective.


Check for memory leaks caused by strong reference cycles

Many strong reference cycles are caused by using self in a closure. Let's check our code for any closures that refer to self and ensure that they do not cause a strong reference cycle.
If they do, then we should use weak if the class is optional and unowned when it isn't.

Closing this as some time has passed and we are several majors ahead now.


Timer improvements

I noticed that the timer was making my timers inaccurate with respect to real time, so I added an option for turning the deltaT smoothing off.
I also fixed a bug where if deltaT was greater than maxDeltaTime, it would fall back to the previous frame's calc_tmod.

I think you can already disable smoothing by setting tmod_factor=0

Ah, that's what the code was intended to do. I've changed it so that setting tmod_factor to 0, it will behave as if there was no smoothing. For some reason, heaps had previously had (1 - tmod_factor) * deltaT * wantedFPS, making the reported dt really broken. That's where the issues I was having with timing were coming from.
I also fixed fps() reporting wantedFPS times the current framerate rather than the actual current framerate.

I don't want to change calc_tmod at all, the idea of the tmod is that is should = 1 when your actual FPS  match the wantedFPS.

I was confused because App calls update with tmod passed in as dt: update(hxd.Timer.tmod);
I assumed that meant it was supposed to be some other form of deltaT.
Is that intended as well?

Yes


Punchbots not always using melee appropriately

Reported by Harkonnen in closed-3437 on RT discord:
~400 dmg punchbot decided not to melee ~900 dmg punchbot
2020-04-09 01:14:13.706 -  meleeDamageRatio: 0.2453977 = target: 240.4846 / attacker: 59.01437 vs. cap: 1.1
2020-04-09 01:14:13.706 -  potential melee damage too high, skipping melee.
It was still by far the best action it could have taken

clever_girl.log.1.zip

Added semantic that rawMelee >= 2x rawRanged (as weapon.DamagePerShot * weapon.ShotsWhenFired) means you're a punchbot harry. And you'll always want to melee regardless of retaliation.

Should be fixed in 0.4.5. CBTBE units with CBTBE_Punch_Is_Physical_Weapon stat will ignore retaliation. If CBTBE melee not used, calculation is controlled by mod.config.weights.PunchbotDamageMulti.


ANC Subs Visit - History - Outside Care [4h]

Issue
It is possible that a patient will have gone to another health center and/or received care outside of E-Heza during their pregnancy. They could have been diagnosed with a condition and received medication. We need to document this in E-Heza. To do this, we have added a sub-activity called "Outside Care" under the "History" activity. This sub-activity will follow the "Partner Information" sub-activity.
The first screen will determine if a patient sought outside care. If so, a series of questions will populate. It is followed by a screen to validate the medication that was prescribed.  This information should then populate in the correct section on the progress report.

One
Two
Three
Four

Design Files:

You can see the Figma file for ANC @ Health Centers here.

Supporting Documents

You can view progress report placement for various conditions via the Logic Master here.

To Do:

Create Outside Care subactivity
Style screens per design
Update logic for to update the progress report

@jeanette-pelizzon

Subsequent encounter introduces new set of diagnoses. Shouldn't they appear as well.
There can be multiple diagnoses selected, therefore, the medication for needs to reflect it as well.
Will be there a separate issue for presentation at Progress report?
Effort estimation for this is 12h. If you dont plan separate issue for Progress report, add another 4.

@jeanette-pelizzon

Subsequent encounter introduces new set of diagnoses. Shouldn't they appear as well?

Per our meeting yesterday, we present only the set of diagnoses that appear at design.

There can be multiple diagnoses selected, therefore, the medication form needs to reflect this.

I'll make this similar to Medication distribution activity, where we stack medications for multiple diagnoses.
When there's only one option for medication (like HIV for example, will make it Yes/No question).

Will be there a separate issue for presentation at Progress report?

Please open separate issue with detailed requirments for presentaioan.

@anvmn after talking with wendy there have been changes made to this.

Screen 3 has been updated
Stacking sounds like a good idea.
#268 is the exsisting progress report issue

@jeanette-pelizzon

Screen 3 has been updated

'None of these' also needs to be removed (because partient decalred there was new diagnsis).

Stacking sounds like a good idea.

Please provide one example of how stacking should look.
Also, from my analysis, there are 5 diagnoses we can get medications for:

Hypertension
Malaria
Syphilis
HIV
Anemia

We have design for Hypertension - seems to me that Carvedilol and Amlodipine should also Appear there.
It's pretty clear to me what Malaria and Syphilis shoul look like.
Please provide a design for HIV and Anemia.

https://github.com/TIP-Global-Health/eheza-app/issues/268 is the exsisting progress report issue

I don't see any requirements for Outside care there.

(1) None of these means that they were diagnosed with something not on this list. Since we are trying not to have health care workers type in we are just having the "none of these" check box there for data keeping purposes.
(2) I will have to work on these screens today and get back to you
(3) outside care is giving a new diagnosis from that list. we already have progress report instructions for all those diagnoses. I'm confused what else you need here?

(1) Other works for me.
(2) I would say in this case we tweak it a bit to be
diagnosis + diagnosed by outside care + medication given (if any) + added to patient record on XX/XX/XXX
Example: Malaria diagnosed by outside care treated with Coartem added to patient record on 10/07/2021

@jeanette-pelizzon

Other works for me.

I'm now thinking, maybe we need to make it Others, as there may be more than one.

I would say in this case we tweak it a bit to be ...

Looks good to me. Lets add these requirements to #268.
What would you like to present if Other(s) was selected?
So far, #268 was about 11 new diagnoses that were intruduced by subsequent visit.
Now we want it to support another 18 diagnoses from outside care.
We need to develop the logic to pull data from Outside Care activity, and present it.
Please add 4h to #268 estimation.

@jeanette-pelizzon

Other works for me.

I'm now thinking, maybe we need to make it Others, as there may be more than one. It makes more sense to just be other in English because that can mean 1 other or multiple

I would say in this case we tweak it a bit to be ...

Looks good to me. Lets add these requirements to #268. What would you like to present if Other(s) was selected? ** if other was selected I think we can just say in medical diagnosis**

Received a diagnosis from a different health care facility  - please follow up with patient

So far, #268 was about 11 new diagnoses that were intruduced by subsequent visit. Now we want it to support another 18 diagnoses from outside care. We need to develop the logic to pull data from Outside Care activity, and present it. Please add 4h to #268 estimation. DONE

@jeanette-pelizzon
Are these only options for Hypertension, or they could get Methyldopa 4x + other medicine(s), as per
https://github.com/TIP-Global-Health/eheza-app/issues/256#issuecomment-1131799771?

I don't know how common it would be that they get the higher doses elsewhere but perhaps so let's include them for continuity at the very least.

I will update the image in the main screen.
Do you need screens for the other diagnosis with meds or can this be a template? Let me know.

@jeanette-pelizzon

Do you need screens for the other diagnosis with meds or can this be a template?

Ineed the ones of HIV and Anemia.

@anvmn
Screens below. The checkboxes should be able to have multiple selected so that the health care worker can choose the right combination of medication that the patient is receiving.

Hypertension (updated)
Anemia
HIV

@jeanette-pelizzon
Well, this will require a considerable rework. So far we had single selection everywhere. Supporting multiple selection alone will require additional 4h.
Also, we have some new options that are not perscribed at our APP - additioanl variant of Iron, Lamivudine and Tenofovir.
After seeing these changes, I'll have to ask you for designs for Malaria and Syphilis, and please mention if there should be single or multiple selection on these forms.

New screens per our call today. Please note HIV has been updated. All should be multiple choice.
Hyptertension (updated) | Anemia | HIV (Updated) | Anemia | Syphilis | Malaria
--|--|--|--|--
 |  |  |  |
// @anvmn  @adamhstewart

https://nutrition-ihangane.pantheonsite.io/
QA Review
Questions:

Wording for some diagnoses is a bit different from design. Is this OK?

Checked and approved:

Outside care displays under History.  When the option of new diagnosis is selected, HIV, Syphilis, Malaria, Mild to Moderate Anemia, Chronic Hypertension, Gestational Hypertension trigger display of Were you given medicine? question.

Chronic hypertension:

Severe anemia doesn't display the Were you given medicine question. Is that OK?

My understanding is that this is incorrect
@anvmn can you please check?
also can you fix the spelling and the rephrasing from design?

@adamhstewart

can you please check?

There's no medication treatment for severe Anemina.

can you fix the spelling and the rephrasing from design?

These diagnoses are displayed throughiut the APP, and it seems to me that we better have common label.
@jeanette-pelizzon can we remain with what we have right now, or we need to have special name for some of diagnoses on Outrside care activity?

as we discussed, it should be whatever is a possible diagnosis in the app. Thanks!

@balagan73
Please retest point 2 from you QA review

@jeanette-pelizzon FYI I have updated #268 issue requirements with outside care info.

https://nutrition-ihangane.pantheonsite.io/
QA Review
Checked and approved:

Typo was fixed, now it is Mild to moderate anemia.

Thanks @balagan73 we can tackle that problem in the issue you linked. I'll move this to client acceptance.


Feature request: set download dependency root directory

Would it be possible to set the download directory instead of always being ${CMAKE_BINARY_DIR}/*-download
to something like ${CONFU_DEPENDENCIES_SOURCE_DIR}/*-download don't mind doing it myself if you are happy with that name and CONFU_DEPENDENCIES_SOURCE_DIR defaults to CMAKE_BINARY_DIR

Did you try to set CONFU_DEPENDENCIES_BINARY_DIR? IIUC, the default download directory is CONFU_DEPENDENCIES_BINARY_DIR/project-name where project name is from cmake/*.cmake

Correction: the actual download directory is ${CONFU_DEPENDENCIES_SOURCE_DIR}/dependency-name. ${CMAKE_BINARY_DIR}/*-download is a build directory for a CMake project that downloads the dependency.

Ok is that download project directory necessary after the project has built for the first time? If not the Cmake for MXNet can delete it, otherwise I aiming to put those *-download directories under ${CMAKE_BINARY_DIR}/3rdparty/NNPack/dep/*-download

It is not necessary, but I think CMake with download dependencies again if it doesn't find expected files in *-download directories

Would it work for you if *-download files will be in ${CONFU_DEPENDENCIES_BINARY_DIR}/*-download instead of ${CMAKE_BINARY_DIR}/*-download?

Yeah that would be perfect

Ok, I will move on with this change. It will take a while as I have to update all NNPACK dependencies.

Shipped in 04d045a2efe3785edcd7ccc72c2e81dc7a3377c3

awesome thanks.


Build fixes for 1.70

Includes #6340 changes for 1.70

@mvaligursky I made sure to only include those same changes in case you are merging in other build changes to 1.70

Looks good. I assume this was well tested against 1.70

Yep checked the build and the importing too with ts and vite


An error while running './fuzzbuild.sh'

My platform is Ubuntu16.04, and i met an error while running './fuzzbuild.sh'. The info are as follows:
(base) xibeiidaxue@xibeiidaxue-X299-WU8:webkit$ ./fuzzbuild.sh
+  cmake -DPORT="JSCOnly" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Debug -G Ninja -DDEVELOPER_MODE=ON -DENABLE_STATIC_JSC=ON -DCMAKE_C_COMPILER='/usr/bin/clang' -DCMAKE_CXX_COMPILER='/usr/bin/clang++' -DCMAKE_CXX_FLAGS='-fsanitize-coverage=trace-pc-guard -O3 -lrt'  -DENABLE_FTL_JIT=ON "/home/xibeiidaxue/ty/webkit"
-- The C compiler identification is Clang 4.0.0
-- The CXX compiler identification is Clang 4.0.0
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The CMake build type is: Debug
-- Found Perl: /usr/bin/perl (found suitable version "5.22.1", minimum required is "5.10.0")
-- Found PerlModules_JSON::PP: TRUE
-- Found PerlModules: TRUE  found components:  JSON::PP
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.12", minimum required is "2.7.0")
-- Could NOT find Ruby (missing: RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found suitable version "2.3.0", minimum required is "1.9")
-- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing
-- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing - Success
-- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions
-- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wcast-align
-- Performing Test C_COMPILER_SUPPORTS_-Wcast-align - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wformat-security
-- Performing Test C_COMPILER_SUPPORTS_-Wformat-security - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute
-- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith
-- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wundef
-- Performing Test C_COMPILER_SUPPORTS_-Wundef - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wwrite-strings
-- Performing Test C_COMPILER_SUPPORTS_-Wwrite-strings - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wcast-align
-- Performing Test CXX_COMPILER_SUPPORTS_-Wcast-align - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wformat-security
-- Performing Test CXX_COMPILER_SUPPORTS_-Wformat-security - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wmissing-format-attribute
-- Performing Test CXX_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wpointer-arith
-- Performing Test CXX_COMPILER_SUPPORTS_-Wpointer-arith - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wundef
-- Performing Test CXX_COMPILER_SUPPORTS_-Wundef - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wwrite-strings
-- Performing Test CXX_COMPILER_SUPPORTS_-Wwrite-strings - Success
-- Performing Test C_COMPILER_SUPPORTS_-Qunused-arguments
-- Performing Test C_COMPILER_SUPPORTS_-Qunused-arguments - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-maybe-uninitialized
-- Performing Test C_COMPILER_SUPPORTS_-Wno-maybe-uninitialized - Failed
-- Performing Test C_COMPILER_SUPPORTS_-Wno-noexcept-type
-- Performing Test C_COMPILER_SUPPORTS_-Wno-noexcept-type - Failed
-- Performing Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality
-- Performing Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-psabi
-- Performing Test C_COMPILER_SUPPORTS_-Wno-psabi - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-Qunused-arguments
-- Performing Test CXX_COMPILER_SUPPORTS_-Qunused-arguments - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-noexcept-type
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-noexcept-type - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-psabi
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-psabi - Failed
-- Performing Test C_COMPILER_SUPPORTS_-Wall
-- Performing Test C_COMPILER_SUPPORTS_-Wall - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wextra
-- Performing Test C_COMPILER_SUPPORTS_-Wextra - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wall
-- Performing Test CXX_COMPILER_SUPPORTS_-Wall - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wextra
-- Performing Test CXX_COMPILER_SUPPORTS_-Wextra - Success
-- Performing Test C_COMPILER_SUPPORTS_-fcolor-diagnostics
-- Performing Test C_COMPILER_SUPPORTS_-fcolor-diagnostics - Success
-- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always
-- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics
-- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always
-- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
-- Performing Test ATOMIC_INT64_IS_BUILTIN
-- Performing Test ATOMIC_INT64_IS_BUILTIN - Failed
-- Performing Test ATOMIC_INT64_REQUIRES_LIBATOMIC
-- Performing Test ATOMIC_INT64_REQUIRES_LIBATOMIC - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_GSPLIT_DWARF
-- Performing Test CXX_COMPILER_SUPPORTS_GSPLIT_DWARF - Success
-- Looking for features.h
-- Looking for features.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for langinfo.h
-- Looking for langinfo.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for pthread_np.h
-- Looking for pthread_np.h - not found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/timeb.h
-- Looking for sys/timeb.h - found
-- Looking for linux/memfd.h
-- Looking for linux/memfd.h - found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- Looking for IsDebuggerPresent
-- Looking for IsDebuggerPresent - not found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for malloc_trim
-- Looking for malloc_trim - found
-- Looking for strnstr
-- Looking for strnstr - not found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for regexec
-- Looking for regexec - found
-- Looking for pthread_main_np
-- Looking for pthread_main_np - not found
-- Looking for SIGTRAP
-- Looking for SIGTRAP - found
-- Performing Test HAVE_STAT_BIRTHTIME_value
-- Performing Test HAVE_STAT_BIRTHTIME_value - Failed
-- Performing Test HAVE_TM_GMTOFF_value
-- Performing Test HAVE_TM_GMTOFF_value - Success
-- Performing Test HAVE_TM_ZONE_value
-- Performing Test HAVE_TM_ZONE_value - Success
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int128_t
-- Check size of __int128_t - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found the following ICU libraries:
--   data (required)
--   i18n (required)
--   uc (required)
-- Found ICU: /usr/include/x86_64-linux-gnu (found version "55.1")
-- Platform-specific CMakeLists not found: /home/xibeiidaxue/ty/webkit/Source/bmalloc/PlatformJSCOnly.cmake
-- Using platform-specific CMakeLists: /home/xibeiidaxue/ty/webkit/Source/WTF/wtf/PlatformJSCOnly.cmake
-- Using platform-specific CMakeLists: /home/xibeiidaxue/ty/webkit/Source/JavaScriptCore/PlatformJSCOnly.cmake
-- Performing Test CXX_COMPILER_SUPPORTS_-ffp-contract=off
-- Performing Test CXX_COMPILER_SUPPORTS_-ffp-contract=off - Success
-- Platform-specific CMakeLists not found: /home/xibeiidaxue/ty/webkit/Source/JavaScriptCore/shell/PlatformJSCOnly.cmake
-- Using source list file: Sources.txt
-- Platform-specific CMakeLists not found: /home/xibeiidaxue/ty/webkit/Source/ThirdParty/gtest/PlatformJSCOnly.cmake
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-undef
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-undef - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-stringop-truncation
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-stringop-truncation - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-suggest-attribute=format
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-suggest-attribute=format - Failed
-- Platform-specific CMakeLists not found: /home/xibeiidaxue/ty/webkit/Source/PlatformJSCOnly.cmake
-- Platform-specific CMakeLists not found: /home/xibeiidaxue/ty/webkit/Tools/PlatformJSCOnly.cmake
-- Using platform-specific CMakeLists: /home/xibeiidaxue/ty/webkit/Tools/TestWebKitAPI/PlatformJSCOnly.cmake
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-dangling-else
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-dangling-else - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-sign-compare
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-sign-compare - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-unused-parameter
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-unused-parameter - Success
-- Platform-specific CMakeLists not found: /home/xibeiidaxue/ty/webkit/PerformanceTests/MallocBench/MallocBench/PlatformJSCOnly.cmake
-- Platform-specific CMakeLists not found: /home/xibeiidaxue/ty/webkit/PerformanceTests/PlatformJSCOnly.cmake
-- Enabled features:
--  ENABLE_STATIC_JSC ............................. ON
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xibeiidaxue/ty/webkit/FuzzBuild/Debug
+  cmake --build FuzzBuild/Debug --config Debug -- jsc testb3 testair testapi testmasm testdfg -j16
[718/1496] Building CXX object Source/...sources/UnifiedSource-23a5fd0e-9.cpp.o
FAILED: /usr/bin/clang++  -DBUILDING_JSCONLY__ -DBUILDING_JavaScriptCore -DBUILDING_WITH_CMAKE=1 -DHAVE_CONFIG_H=1 -DSTATICALLY_LINKED_WITH_WTF -IDerivedSources/ForwardingHeaders -I. -I../../Source/JavaScriptCore -I../../Source/JavaScriptCore/API -I../../Source/JavaScriptCore/assembler -I../../Source/JavaScriptCore/b3 -I../../Source/JavaScriptCore/b3/air -I../../Source/JavaScriptCore/bindings -I../../Source/JavaScriptCore/builtins -I../../Source/JavaScriptCore/bytecode -I../../Source/JavaScriptCore/bytecompiler -I../../Source/JavaScriptCore/dfg -I../../Source/JavaScriptCore/disassembler -I../../Source/JavaScriptCore/disassembler/ARM64 -I../../Source/JavaScriptCore/disassembler/udis86 -I../../Source/JavaScriptCore/domjit -I../../Source/JavaScriptCore/ftl -I../../Source/JavaScriptCore/heap -I../../Source/JavaScriptCore/debugger -I../../Source/JavaScriptCore/inspector -I../../Source/JavaScriptCore/inspector/agents -I../../Source/JavaScriptCore/inspector/augmentable -I../../Source/JavaScriptCore/inspector/remote -I../../Source/JavaScriptCore/interpreter -I../../Source/JavaScriptCore/jit -I../../Source/JavaScriptCore/llint -I../../Source/JavaScriptCore/parser -I../../Source/JavaScriptCore/profiler -I../../Source/JavaScriptCore/runtime -I../../Source/JavaScriptCore/tools -I../../Source/JavaScriptCore/wasm -I../../Source/JavaScriptCore/wasm/js -I../../Source/JavaScriptCore/yarr -IDerivedSources/JavaScriptCore -IDerivedSources/JavaScriptCore/inspector -IDerivedSources/JavaScriptCore/runtime -IDerivedSources/JavaScriptCore/yarr -IDerivedSources -I../../Source/ThirdParty -fdiagnostics-color=always -fcolor-diagnostics -Wextra -Wall -Wno-parentheses-equality -Qunused-arguments -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -fsanitize-coverage=trace-pc-guard -O3 -lrt -fno-strict-aliasing -fno-exceptions -fno-rtti -gsplit-dwarf -g -fPIC   -ffp-contract=off -std=c++1z -MD -MT Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/DerivedSources/JavaScriptCore/unified-sources/UnifiedSource-23a5fd0e-9.cpp.o -MF Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/DerivedSources/JavaScriptCore/unified-sources/UnifiedSource-23a5fd0e-9.cpp.o.d -o Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/DerivedSources/JavaScriptCore/unified-sources/UnifiedSource-23a5fd0e-9.cpp.o -c DerivedSources/JavaScriptCore/unified-sources/UnifiedSource-23a5fd0e-9.cpp
In file included from DerivedSources/JavaScriptCore/unified-sources/UnifiedSource-23a5fd0e-9.cpp:1:
../../Source/JavaScriptCore/b3/B3Type.cpp:62:20: error: no template named 'is_pod_v' in namespace 'std'; did you mean 'is_pod'?
static_assert(std::is_pod_v<JSC::B3::TypeKind>);
              ~~~~~^~~~~~~~
                   is_pod
/usr/bin/../lib/gcc/x86_64-linux-gnu/5.5.0/../../../../include/c++/5.5.0/type_traits:656:12: note: 'is_pod' declared here
    struct is_pod
           ^
In file included from DerivedSources/JavaScriptCore/unified-sources/UnifiedSource-23a5fd0e-9.cpp:1:
../../Source/JavaScriptCore/b3/B3Type.cpp:62:47: error: expected '(' for function-style cast or type construction
static_assert(std::is_pod_v<JSC::B3::TypeKind>);
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
2 errors generated.
[718/1496] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/DerivedSources/JavaScriptCore/unified-sources/UnifiedSource-23a5fd0e-10.cpp.o
ninja: build stopped: subcommand failed.

I don't know what should i do, can anyone help me? If you need more detailed information, you can contact me. Thanks in advance. Thx!!!

I tried it on another machine and it worked. But I didn't type patch into the specified commit version of JSC. Will this have any effect?

As long as webkit.patch applies without any failures it should work fine. Fuzzilli will also do some startup tests to verify that the engine behaves as expected

@saelo Thanks for ur reply.
When i run swift run -c release -Xlinker='-lrt' FuzzilliCli --profile=jsc --logLevel=warning --numIterations=1 --storagePath=/home/ty/fuzzilli/mutated_data_3 ~/new_webkit/webkit/FuzzBuild/Debug/bin/jsc
The output info as follows:
Fuzzer Statistics
-----------------
Total Samples:                500
Interesting Samples Found:    216
Valid Samples Found:          373
Corpus Size:                  217
Success Rate:                 74.60%
Timeout Rate:                 0.40%
Crashes Found:                0
Timeouts Hit:                 2
Coverage:                     8.76%
Avg. program size:            104.13
Connected workers:            0
Execs / Second:               0.00
Total Execs:                  11651

Does it means everything is ok?

Yep, looks good

@saelo Thanks for your reply. Closed.


New version: listen1.listen1.fluent version 2.28.0

Pull request has been created with komac v2.1.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

https://github.com/microsoft/winget-pkgs/pull/142030#issuecomment-1977122523

This also supports win 10, 11


ingest/ledgerbackend: Fix captive core toml history entries

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
services/friendbot, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.
[ ] I've updated any docs (developer docs, .md
files, etc... affected by this change). Take a look in the docs folder for a given service,
like this one.

Release planning

[ ] I've updated the relevant CHANGELOG (here for Horizon) if
needed with deprecations, added features, breaking changes, and DB schema changes.
[ ] I've decided if this PR requires a new major/minor version according to
semver, or if it's mainly a patch change. The PR is targeted at the next
release branch if it's not a patch change.

What
Remove trailing slash from history archive urls when generating the captive core toml file.
Why
If you ran the horizon db reingest range command with a NETWORK configured to pubnet, the command would fail because the history archive urls we use all have trailing slashes:
https://github.com/stellar/go/blob/master/network/main.go#L26-L28
This would result in core making curl requests to invalid urls.
Known limitations
[N/A]

Considering whether removing the trailing slash here is a better option as it seems to be used in this?

@urvisavla history archive urls can be configured via command line. So, even if we strip the trailing slash in https://github.com/stellar/go/blob/master/network/main.go#L26-L28 , it is still possible for horizon to fail a reingest command because the history archive urls provided by the user contain a trailing slash