Hello folks, Export functionality is working on local but not working on server why this is happening I don't understand ?

generateExcelFile(res: any[]){
var response = res[0];
const workbook = new ExcelJS.Workbook();
//#region Common COC Worksheet
const commonCoCWorksheet = workbook.addWorksheet('worksheetA');
const commonCoCHeaders =['test1','test2','test3'];

const commonDtRow = commonCoCWorksheet.addRow(commonCoCHeaders);

commonDtRow.eachCell((cell) => {
  cell.style = {
    font : {bold: true},
    fill: {
      type: 'pattern',
      pattern: 'solid',
      fgColor: { argb: 'FFFFC000' },
      bgColor: { argb: 'FFFFC000' }
    }
  };
});

const CommonCoCRows = response['commondatas'].map((row) => [row.test1,row.test2,row.test3]);

  commonCoCWorksheet.addRows(CommonCoCRows);

  commonCoCWorksheet.columns.forEach((column) => {
    const values = column.values.map((cell) => cell.toString());
    //const maxLength = Math.max(...values.map(value => value.length));
    const maxLength = Math.max(...values.filter(str => typeof str === 'string' && str.length > 0).map(str => str.length));
    column.width = maxLength + 5;
  });

//#endregion

workbook.xlsx.writeBuffer().then((data:any) => {
  console.log("workbook data lpgdom :", data);
  const blob = new Blob([data], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' });
  console.log("workbook blob");
  FileSaver.saveAs(blob, 'test.xlsx');
});

}

I am also facing same issue.

@guyonroche @alubbe Hi Guys, Good morning!. I am also facing the same issue as reported by @prasadaher1999 Can you please help us to solve this item? It's wired behavoiur like code is working correctly on local and after deployment on server it is not working.

Same I am having this error "Cannot call a class as a function" when using const workbook = new ExcelJS.Workbook()

Same I am having this error "Cannot call a class as a function" when using const workbook = new ExcelJS.Workbook()

It is working on development side, but when building in production this error occurs

Hey everyone 👋
Any got steps to replicate this issue?
Eager to write a patch, but haven't been able to trigger the error.

Sure:

Install latest next.js (13.5.3 and above)
add a react-component using exceljs
call const workbook = new ExcelJS.Workbook();
Make sure it doesn't cause an error when running yarn dev
Build the production version yarn build and start the build locally yarn start

The error now appears when visiting the page. As mentioned in #2557 , a workaround is currently to use react-use-exceljs, which lazily loads the libraries.

I am also facing this issue. I can't use the react-use-exceljs wrapper as I primarily use this package to read Excel files and have no idea how to migrate in my case

Unfortunately, I was still unable to replicate this issue.
I created a new next app and made page.tsx the following:
import { Workbook } from "exceljs";

export default function Home() {
  const workbook = new Workbook();
  return Home;
}

With my package.json looking like
{
  "name": "next-playground",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "exceljs": "^4.3.0",
    "next": "13.5.3",
    "react": "^18",
    "react-dom": "^18"
  },
  "devDependencies": {
    "@types/node": "^20",
    "@types/react": "^18",
    "@types/react-dom": "^18",
    "autoprefixer": "^10",
    "eslint": "^8",
    "eslint-config-next": "13.5.5",
    "postcss": "^8",
    "tailwindcss": "^3",
    "typescript": "^5"
  }
}

Desafortunadamente, todavía no puedo replicar este problema.
Creé una nueva aplicación siguiente e hice que page.tsx fuera lo siguiente:
import { Workbook } from "exceljs";

export default function Home() {
  const workbook = new Workbook();
  return Home;
}

Con mi paquete.json luciendo así
{
  "name": "next-playground",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "exceljs": "^4.3.0",
    "next": "13.5.3",
    "react": "^18",
    "react-dom": "^18"
  },
  "devDependencies": {
    "@types/node": "^20",
    "@types/react": "^18",
    "@types/react-dom": "^18",
    "autoprefixer": "^10",
    "eslint": "^8",
    "eslint-config-next": "13.5.5",
    "postcss": "^8",
    "tailwindcss": "^3",
    "typescript": "^5"
  }
}

pruebe con 13.5.4 o 13.5.5

I raised the version to 4.4 and it worked

@lss3070 @stx-chris Thank you. 🙏🏽
The combination of both solutions worked in my case. Yes, our site using Exceljs lib.
I had been struggling with this for the past two days, and finally, the site is working on the server.
The problem I encountered was upgrading Next.js from v13.4.2 to v14.1.4 (the latest version).
An error was appearing on the console: "Cannot call a class as a function".


Visualization problem

Hi, thank you for sharing the great work!
I trained the model with nuPlan Mini Split. How can I get visualizations like Closed-loop Planning (nuPlan) shown in https://mczhi.github.io/GameFormer/?
Bests.

Hi, @ChenjieWang. Thank you for your interest in our work. Once you've completed the test, you can easily access your results through nuBoard. This feature will automatically pop up, allowing you to view your test results and analyze your performance.

@MCZhi. Thanks for your reply, I have successfully obtained the visual result with your help.


Add transfer_more, todo, and wikicr

👍 thx

Oh yes, it was an error to put that into this section ^^


[FLINK-11162][rest] Provide a rest API to list all logical operators

FLINK-11162

What is the purpose of the change
This pull request is a followup of #11162 and provide a rest API to list all logical operators.
Brief change log
Provide a rest API to list all logical operators
Verifying this change
This change added tests in JobOperatorsHandlerTest
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? docs

@tillrohrmann can you review

@jinglining Thanks for your contribution. You should probably be more patient, we need to agree on the implementation, and then come back to review code.

@yanghua code is one way to show the method

@zentol can you review it.

As out-lined in the JIRA I would like to have this but the required changes for a proper implementation (that covers metrics, backpressure, the web UI, etc....) are so significant that I don't believe anyone has time for this right now.


Remove mention of preview status

Do not merge until PQs are in GA.

Thanks!

Do not merge until PQs are in GA.

Want to make this a draft so that no one clicks the "merge" button by mistake?

@martinbonnin Would you like us to prepare the backport PR and merge it along with the others we'll be merging, or are you on top of that? We're tracking all the PRs that are part of the release in https://github.com/mdg-private/planning/issues/2661

@glasser either works! First one to do it, adds the checkbox to the planning issue?


Update references to balenaCloud application

Look for and rename any references of balenaCloud application to fleet

Done!

Thanks @alanb128! :)


Release of 3.0

Are there any plans for releasing 3.0? Or isn't this maintained anymore?

@barryvdh on packagist 3.0 is only available with dev stability.

+1 for this, wondering if you have any plans on making this compatible with 3.0?

+1. Please, when is a new release planned?


fix: delete promise

The delete action is currently unpredictable because the promise is not resolved properly.  I added the change in the generator and regenerated all resources. I tested it with our shop application and it seems to solve our issues.

Hi @glemmal can you explain which kind of action showed the unpredictable behaviour? we'd like to add a spec for it

Hey @pviti, sure thing! We currently have to restrict the number of line items we have in an order to 1. That's why we have to delete line items after adding new ones. That's why it's important to know the exact time when a line item was deleted.
On another note: Does CL support "include" on update requests? The SDK doesn't seem to support this attribute in the options.

Ok, clear!
Regarding the "include" option, the API doesn't currently support it on updates

Sorry @glemmal , just a clarification: the API supports the "include" option to include related resources in the response object but it cannot be used to update (or create) included resources. However the SDK does not currently support it, this feature will be added as soon as possible


Email verification

https://github.com/CoderDojoChi/coderdojochi/issues/203

Mandatory email verification when registering via email
Auto login enabled on verification confirm

@bkellgren this has been on hold for a while because of me. Is it still valid and ready to merge?

@karbassi should be good to go code wise.  I still think it's a good idea to validate email on registration to ensure no one gets registered with a typo


Improve the app.js file

Over time, the number of contributors could exceed a thousand. We should separate the Card details from the app.js file by creating a separate json file. So, any new contributor who wishes to add their card will do so in the json file. This would easily maintain the contents of the app.js.
How to proceed ?

Create a cardDetails.jsonfile
Move the content of cardDetailsArray into cardDetails.json file
Update the cardDetailsArray varaible so that it import cardDetails.json

I would like to be assigned the above task

Hi @Wesley-waka
I have assigned the task to you! x

It's done have a look at the implementation i have made.

PR reviewed, approved and merged
Thank you for contributing! @Wesley-waka

Issue Fixed!


feat: launch at system startup - auto run models - config schema

Problem
As a user I want the program launch at system start up with certain model loaded - it would be great if we can have a config schema for it
Success Criteria
A clear and concise description of what you want to happen.
Additional context
Add any other context or screenshots about the feature request here.

This is more or less system startup config?


Update ZDB5100 config to expand on parameter 1

@zwave-js-bot semantic?

@zwave-js-bot semantic?

Okay, there was an error getting swallowed...


Duplicate search results when using Search in Directory

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
This is kind of an edge case. I have multiple projects added to the Tree View. A couple of them use the same final folder name (e.g. C:\path\to\www and C:\another\path\www). Furthermore, these are similar websites with similar directory structures. For example, I work on multiple WordPress sites that share some plugins in common.
When I use the "Search in Directory" function I get a path that looks like this: www\public_html\wp-content\plugins\woocommerce. However, since that path could be referring to multiple projects, I get duplicate search results.
Steps to Reproduce

Add multiple projects to the Tree View with the same name for the final directory
Search inside one of the projects for a string that would occur in the same place in more than one project

Expected behavior: Return only the results from the project you selected to search within.
Actual behavior: Results from multiple projects are returned.
Reproduces how often: 100%
Versions
Windows 10 1607
Atom    : 1.12.9
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0
Additional Information
I know it seems like kind of a corner case, but I can't tell you how frustrating it is to find a file, start editing it, and then try to understand why your changes aren't being reflected. Only later do you realize that you've been editing code for a completely different project. :)
Thanks for the great editor, btw.

This issue was moved to atom/find-and-replace#846


Cmake warnings when installing from source (unclear if they are problematic)

I get the following warnings when installing from source.
It seems that I can still run ggcaller without error, but should I be worried about any unexpected behaviour?
CMake Warning at .../mamba/envs/ggc_env/lib/python3.9/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:22 (message):
  static library kineto_LIBRARY-NOTFOUND not found.
Call Stack (most recent call first):
 .../mamba/envs/ggc_env/lib/python3.9/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:127 (append_torchlib_if_found)
  CMakeLists.txt:81 (find_package)

-- Configuring done
CMake Warning at ..../mamba/envs/ggc_env/share/cmake/pybind11/pybind11Tools.cmake:177 (add_library):
  Cannot generate a safe runtime search path for target ggCaller_cpp because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libmkl_intel_ilp64.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
     .../mamba/envs/ggc_env/lib
    runtime library [libmkl_sequential.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
     .../mamba/envs/ggc_env/lib
    runtime library [libmkl_core.so] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      .../mamba/envs/ggc_env/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):

  CMakeLists.txt:22 (pybind11_add_module)

Hi Ben, I wouldn't expect this warning to affect results if ggCaller runs to completion. If the wrong MKL library were to be loaded, it would likely cause a runtime error and crash.

great, thanks for the advice 👍


Add tokenizer backend

I am running a local server that functions as a proxy for other models. On the client side the server is OpenAI compatible, i.e., it accepts code written against the OpenAI api.
I would like to point lm_eval to this proxy in order to run evaluations.
Today if I set base_url, lm-eval assumes that the model is local and looks for the local model directory, which in my case does not exist given that it's just a proxy server.
With this change users can change base_url without requiring a local model.

The only change here is to the tokenizer, right?
If so, I’d like to handle this a different way. Will PR it

Yup exactly.
The way I was thinking about it was setting a base url and testing a local model are separate things, which is why I ended up implementing it this way.

I’d prefer to have this controlled by a tokenizer_backend: Literal[“tiktoken”, “huggingface”] = “tiktoken”
kwarg rather than “local” in the class init if that’s alright—would you be willing to make this change?
Some remote APIs may provide models that are open source + have tokenizers uploaded to HF.

This LGTM, thanks!


Add Smooth and attractive transition on buttons

@BamaCharanChhandogi We Can improve the user experiance by adding smooth transition to buttons

Hey @BamaCharanChhandogi i can help you to do this, could you please assign this task to me.

Do not need


How to trigger "post" action in the Sales Order to create Posted Invoice and Shipment

Hi everyone,
I don't know how to trigger post action in the Sales Order to create posted Invoice and posted shipment. I tied to send POST request and I got the "Entity does not support insert" error. So I am thinking that is it possible trigger the post in sales order to create Shipment in AL.

The answer to #3140 will cover this one as well. Let's track only one of the issues.


default background image for organizations and users should be dark

E.g. https://opencollective.com/xdamman, https://opencollective.com/bugsnag
The problem is that most background images tend to be dark. E.g. https://opencollective.com/operationcode
So we need a light color for the text. But the default image we have for users and organizations is mostly white.

Closing in favor of https://github.com/opencollective/opencollective/issues/1241


[WIP] Browse on home page

Summary of Changes
Adds the browse tags component on to the home page. This was done by moving the main logic for tags into a new BrowseTags component which then could be reused on both the BrowsePage and the HomePage.
Tests
Moved the tests for BrowsePage to BrowseTags
Documentation
What documentation did you add or modify and why? Add any relevant links then remove this line
CheckList
Make sure you have checked all steps below to ensure a timely review.

[ ] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[ ] PR includes a summary of changes, including screenshots of any UI changes.
[ ] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public python functions and the classes in the PR contain docstrings that explain what it does

[ ] PR passes all tests documented in the developer guide
[ ] I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message"

Codecov Report

Merging #199 into master will increase coverage by 14.8%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #199      +/-   ##
==========================================
+ Coverage   58.53%   73.33%   +14.8%
==========================================
  Files         123       24      -99
  Lines        3053     1024    -2029
  Branches      345       85     -260
==========================================
- Hits         1787      751    -1036
+ Misses       1235      246     -989
+ Partials       31       27       -4

Impacted Files
Coverage Δ

...ication/static/js/components/common/Tabs/index.tsx

...ndsen_application/static/js/ducks/search/api/v0.ts

...ication/static/js/components/common/Flag/index.tsx

...ts/common/ResourceListItem/TableListItem/index.tsx

...sen_application/static/js/ducks/allTags/reducer.ts

...tatic/js/components/common/ScrollTracker/index.tsx

...pplication/static/js/ducks/popularTables/api/v0.ts

...static/js/components/common/ResourceList/index.tsx

...tic/js/components/common/ResourceList/constants.ts

...tatic/js/components/common/PopularTables/index.tsx

... and 86 more

Continue to review full report at Codecov.

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

@ttannis @danwom this should be good to go

@ttannis created that third component, this should be good to look at again

@ttannis this should be good to look over again, just made one TagsList component that is used both on HomePage and BrowsePage (which have their own unique titles)

@ttannis @danwom should be good to look at again, addressed comments


esp_eth: Cache disabled but cached memory region accessed (IDFGH-2263)

esp_eth is using plain calloc to allocate the driver structures. This causes problems when SPIRAM_MALLOC_ALWAYSINTERNAL is set to 0 (or some other small value).
This happens in the latest master (93a8603c545fb8e54741d6685146e2f3b874378d).
For example,
https://github.com/espressif/esp-idf/blob/93a8603c545fb8e54741d6685146e2f3b874378d/components/esp_eth/src/esp_eth_phy_lan8720.c#L381
Perhaps there are more similar problems. I think the codebase should be tested with SPIRAM_MALLOC_ALWAYSINTERNAL set to 0.

Problems like this are relevant not only in the SPIRAM_MALLOC_ALWAYSINTERNAL = 0 case. They can also occur under heavy load, when the memory is nearly exhausted.

Cool, nice found! Yes we should make sure Ethernet driver can run under cache disabled (OTA with Ethernet).

With the current master it's much worse. Lots of InstrFetchProhibited, all seem to be ethernet related. Wifi doesn't work either.

Thanks for your reporting! @szmodz
Could you post your backtrace, sdkconfig and test code here? Or could you tell us how to reproduce this issue based on any of the examples inside esp-idf?

Ok, but this is going to take a while. It's not as simple as it seemed initially.

Guru Meditation Error: Core  0 panic'ed (Unhandled debug exception)
Debug exception reason: BREAK instr
Core 0 register dump:
PC      : 0x400803c0  PS      : 0x00060c36  A0      : 0x00000000  A1      : 0x3ffc58e0
0x400803c0: _DoubleExceptionVector at /Users/xxx/esp-idf/components/freertos/xtensa_vectors.S:542

The rest is nonsense. I'm not excluding an issue on my side.

my application uses Lua, which relies on setjmp:
https://github.com/espressif/newlib-esp32/issues/5#issue-541855220

seems this is the cause:
https://github.com/espressif/esp-idf/issues/4541

@szmodz Thanks for reporting, feel free to reopen if the issue still happens. Thanks.

@Alvin1Zhang The problem is not solved. My last comment was referring to this:
https://github.com/espressif/esp-idf/issues/4406#issuecomment-566337445
Instead, that turned out to be caused by https://github.com/espressif/esp-idf/issues/4541. The original problem remains. Sorry for the confusion.
I can't reopen the issue myself.

I test the basic Ethernet example with SPIRAM_MALLOC_ALWAYSINTERNAL set to zero, everything is OK.
PSRAM will take GPIO16 and GPIO17, Please Make Sure your Ethernet board won't use these GPIOs for other purpose.

@suda-morris did you try OTA?
Guru Meditation Error: Core  0 panic'ed (Cache disabled but cached memory region accessed)
Core 0 register dump:
PC      : 0x400853d8  PS      : 0x00060034  A0      : 0x80085328  A1      : 0x3ffb1380
0x400853d8: emac_hal_isr at /Users/szmodz/xxx/esp-idf/components/soc/esp32/emac_hal.c:564

A2      : 0x3f80a634  A3      : 0xb0000000  A4      : 0x00000000  A5      : 0x00000000
A6      : 0x3ff42000  A7      : 0x70000005  A8      : 0xbad00bad  A9      : 0x90000000
A10     : 0x00002000  A11     : 0xb0000000  A12     : 0x3ffc0ff0  A13     : 0x3ffc0fd0
A14     : 0x001a0f80  A15     : 0x3ffc100c  SAR     : 0x0000001f  EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000  LBEG    : 0x40087aac  LEND    : 0x40087ada  LCOUNT  : 0x00000000
0x40087aac: memcpy at /builds/idf/crosstool-NG/.build/HOST-x86_64-apple-darwin12/xtensa-esp32-elf/src/newlib/newlib/libc/machine/xtensa/memcpy.S:168

0x40087ada: memcpy at /builds/idf/crosstool-NG/.build/HOST-x86_64-apple-darwin12/xtensa-esp32-elf/src/newlib/newlib/libc/machine/xtensa/memcpy.S:201

Core 0 was running in ISR context:
EPC1    : 0x4008a5eb  EPC2    : 0x00000000  EPC3    : 0x00000000  EPC4    : 0x400853d8
0x4008a5eb: esp_rom_spiflash_read_status at /Users/szmodz/xxx/esp-idf/components/spi_flash/esp32/spi_flash_rom_patch.c:221

0x400853d8: emac_hal_isr at /Users/szmodz/xxx/esp-idf/components/soc/esp32/emac_hal.c:564

ELF file SHA256: 0d0bd0baad0bd0baad0bd0baad0bd0baad0bd0baad0bd0baad0bd0baad0bd0ba

Backtrace: 0x400853d5:0x3ffb1380 0x40085325:0x3ffb13b0 0x40083326:0x3ffb13d0 0x4008a5e8:0x3ffc0ef0 0x4008a636:0x3ffc0f20 0x4008a66e:0x3ffc0f50 0x4008a6f0:0x3ffc0f80 0x4008a812:0x3ffc0fa0 0x4008a8ba:0x3ffc0fd0 0x400843e7:0x3ffc0ff0 0x40131c4d:0x3ffc1050 0x40115bc6:0x3ffc1070 0x400df088:0x3ffc10c0 0x400db669:0x3ffc10e0 0x401118b9:0x3ffc1100 0x40111bf6:0x3ffc1130 0x40111d4f:0x3ffc1150 0x401120c6:0x3ffc1190 0x400df35a:0x3ffc11b0 0x4008eced:0x3ffc11e0
0x400853d5: emac_hal_isr at /Users/szmodz/xxx/esp-idf/components/soc/esp32/emac_hal.c:564

0x40085325: emac_esp32_isr_handler at /Users/szmodz/xxx/esp-idf/components/esp_eth/src/esp_eth_mac_esp32.c:365

0x40083326: _xt_lowint1 at /Users/szmodz/xxx/esp-idf/components/freertos/xtensa_vectors.S:1153

0x4008a5e8: esp_rom_spiflash_read_status at /Users/szmodz/xxx/esp-idf/components/spi_flash/esp32/spi_flash_rom_patch.c:221

0x4008a636: esp_rom_spiflash_wait_idle at /Users/szmodz/xxx/esp-idf/components/spi_flash/esp32/spi_flash_rom_patch.c:42

0x4008a66e: esp_rom_spiflash_enable_write at /Users/szmodz/xxx/esp-idf/components/spi_flash/esp32/spi_flash_rom_patch.c:299

0x4008a6f0: esp_rom_spiflash_program_page_internal at /Users/szmodz/xxx/esp-idf/components/spi_flash/esp32/spi_flash_rom_patch.c:171

0x4008a812: esp_rom_spiflash_write at /Users/szmodz/xxx/esp-idf/components/spi_flash/esp32/spi_flash_rom_patch.c:475

0x4008a8ba: esp_rom_spiflash_write_encrypted at /Users/szmodz/xxx/esp-idf/components/spi_flash/esp32/spi_flash_rom_patch.c:520

0x400843e7: spi_flash_write_encrypted_in_rows at /Users/szmodz/xxx/esp-idf/components/spi_flash/flash_ops.c:476
 (inlined by) spi_flash_write_encrypted at /Users/szmodz/xxx/esp-idf/components/spi_flash/flash_ops.c:506

0x40131c4d: esp_partition_write at /Users/szmodz/xxx/esp-idf/components/spi_flash/partition.c:398

@suda-morris you don't need a test case for this. Visual inspection shows what the problem is.
https://github.com/espressif/esp-idf/blob/7a7c4a5486d85242a6b515e300c89197f1c2f62d/components/esp_eth/src/esp_eth_mac_esp32.c#L378
emac_esp32_t (which contains emac_hal_context_t) is allocated using calloc, which returns a PSRAM pointer.
Later, there's
https://github.com/espressif/esp-idf/blob/7a7c4a5486d85242a6b515e300c89197f1c2f62d/components/esp_eth/src/esp_eth_mac_esp32.c#L419
(ESP_INTR_FLAG_IRAM)

@suda-morris The driver works fine after fixing the PSRAM usage bugs. GPIO setup is ok.

@szmodz Ah yes, thanks for your detailed reporting, now we can reproduce it.


Add options to DirectionsRenderer

I'd like to add options to DirectionsRenderer through an attribute in directions-element. I thought maybe as an object that is passed to the DirectionsRenderer:
In markup:

<directions ... renderer-options="'{routeIndex: 1}'"...>

In code:

var showDirections = function(request) {
    directionsService.route(request, function(response, status) {
        if (status == google.maps.DirectionsStatus.OK) {
            $timeout(function() {
                renderer.setDirections(response);
                renderer.setOptions(rendererOptions);
                ...

The routeIndex is stored in an entity when the user clicks through the different routes. Is that possible?

This approach is little different from the original design, getting options from attribute individually.
Please try it with route-index or options.

Have tried both but they don't make it into the options variable in updateRoute-function (line 740) where I could pick them up.

Have found another solution which does not require any changes on ngMap-code.


BUG: Quick links and other links at the footer can be added hovering effect

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Quick links and other links at the footer can be added hovering effect
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

please assign me this issue under gssoc 24


Blending from one animation to another in AnimationPlayer while a longer blend is already active yields incorrect results.

Godot version
4.0 beta 9, 3.5 and earlier
System information
Windows 10, GLES 3
Issue description
If you play an animation with a long blend time and, while that blend is still happening, play one with a short (or zero) blend time, the long blend time will continue to be used (logic is sort of reversed). Also, if you played an animation with a 0 blend time while a blend was active, it still tried to blend.
In 4.x, the behavior is slightly different in that it will blend faster to the new anim, then pop back to the original anim and end up in the wrong location.
I already have a fix for this, but entering a bug to make it official.  PR: https://github.com/godotengine/godot/pull/37001
Steps to reproduce
Have an AnimationPlayer with at least 3 animations.
Play animation 1.
Play animation 2 with a long blend time, like 5 seconds.
Play animation 3 with a short blend time, like .1 seconds.
Note that it doesn't blend to animation 3 in .1s.
Minimal reproduction project
Attached: https://github.com/godotengine/godot/files/10264210/test_anim_blend_g4.zip
func _ready():
	$test_anim/AnimationPlayer.play("up_front")
	var timer = Timer.new()
	add_child(timer)
	timer.wait_time = 1.0
	timer.one_shot = true
	timer.connect("timeout", start_anim2)
	timer.start()

func start_anim2():
	print("Starting anim 2")
	$test_anim/AnimationPlayer.play("up_side", 5.0) # 5 second blend time
	var timer = Timer.new()
	add_child(timer)
	timer.wait_time = 1.0
	timer.one_shot = true
	timer.connect("timeout", start_anim3)
	timer.start()

func start_anim3():
	print("Starting anim 3")
	$test_anim/AnimationPlayer.play("up_back", 0.1) # 100ms blend time (should be very fast)

Fixed by #37001.


--disable-march-native seem to be ignored

Hello,
When running the container on a Xeon E5-2620 suricata will exit with error: 132 that looks like to be a SIGILL.
I've tried building the container myself on a i5-6200U and I got the same error when running it on a Xeon.
Looking at the build logs it seems GCC ignores the --disable-march-native and builds suricata specifically for the CPU on the build machine. I've fixed the problem by replacing --disable-march-native with --disable-gccmarch-native

Thanks, looks like I made a typo. Fixed and pushed.


Call with Katie (Data Science at OvoEnergy)

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/489
Originally created by @valexieva on 2019-03-18 02:19:33

Questions

What tools do you currently use in order to ETL and Analyze?
What are some of the pain points that you currently experience? Are there tools that address these?
Would you consider having an all-in-on tool and if yes what are the minimum features you would expect?
Do you expect the tool to work seamlessly on the cloud and locally?
How you see the tool interactive with Jupyter/ Zeppelin?
What languages do you write in?

@dmor do you have any additional questions you would like to ask?

View 2 previous comments from the original issue on GitLab


send out alert immediatly and send out resolved alert after all the 5 minutes are good

what I want is

if I get an alert,  I can send out the alert immediately.  （ALERT xxx IF 1s?)
if the alert is resolved in the following 1 data point, I would not say it is really resolved.  I want to think the alert is really resolved until all the data points in the following 5 minutes are good. In this case, I want to receive a resolved alert. (group_interval ？)
If in the following 5 minutes, it is not resolved, I don't want to receive the alerts again and again. I can wait for 3 hours at least before receive the same alert again.  (shall repeat_interval be used here?)

what I did is:
prometheus:
  scrape_interval:     15s

  ALERT OSSlowIO
  IF rate(node_disk_write_time_ms{device="vdb"}[30s]) / rate(node_disk_writes_completed{device="vdb"}[30s])>5
  FOR 1s
  ANNOTATIONS {
       summary = "[P2] {{$labels.cluster_name}} {{$labels.hostname }}"
  }

simple.yml (alertmanager):
global:
  resolve_timeout: 5m
route:
  group_by: ["alertname", "instance"]
  group_wait: 15s
  group_interval: 5m
  repeat_interval: 3h
  receiver: 'alert'
receivers:
  - name: 'alert'
    webhook_configs:
      - send_resolved: true
        url: 'http://slc4b03c-0543.stratus.slc.xxxx.com:9002/dbaas/api/alert/webhook2'

then I usually get firing alert in time 1,  and get resolved alert in time 1 + 1s.
maybe I have several places wrong,  could you guide me for this purpose?

@zhihuiFan This sounds like a usage question to me, which should be asked in the Prometheus users Google group. Please feel free to reopen here, in case I am wrong.

thanks, add the link https://groups.google.com/forum/#!topic/prometheus-users/8VpN2jVh1rg here so that it can help others.

Having the same issue


Expand tut4.ne to a fully-commented tutorial

More of the same - fleshed out to a full tutorial and syntax changed in line with documentation.

Sorry for the delay on this, it's been an extra busy PhD week.
I've changed the description of the regex number matching, and reworded the tutorial so it doesn't assume the type of number being input by the user.
Hopefully this is an improvement!


Move comparison series into math package

Unfortunately this removes the geomteric zoom behaviour but this is something we're going to revisit with the next release.

Thanks @chrisprice, I've been meaning to do something similar.
I've added zooming with rebase of the comparison index to the visual test in tlsim@7cd9a4a786c48d90c01883b24387f7c3f66e910e

Looks good - just a few minor comments

I've added zooming with rebase of the comparison index to the visual test in tlsim@7cd9a4a

Awesome - thanks @tlsim

Thanks @tlsim & @ColinEberhardt, I think I've addressed your comments. Nice work on the visual-test additions as well, I've pulled them into this PR.

LGTM :+1: thanks @chrisprice


Removing a set of edges and plotting the resulting graph

Problem description (what did you do, what did you expect to happen, and what actually happened)
Hi Geoff, it is really an amazing experience using OSMnx.
Now I want to do some subgraphs/patterns analysis so I want to remove the edges with culdesacs.
With your package, I can highlight the nodes with culdesacs and loops. What I want to do is to remove all the edges which contain culdesacs to obtain and plot a new graph with culdesacs edges (ie. the edges with red points) removed.
The result shows that plotting the graph after removing the edges is not successful.
I am not sure which part went wrong, the way I removed the edges or any problems with the plotting function.
Thanks for helping me in advance. :)
Here is my code for conducting the above steps:
import os
os.environ["PROJ_LIB"]="C:\Anaconda\Library\share"
import osmnx as ox
import networkx as nx
import matplotlib

place = 'Hillview, Edmonton, Canada'
# Graph2: network type = drive
G2 = ox.graph_from_place('Hillview, Edmonton, Canada', network_type='drive',simplify=True)
gdf_nodes, gdf_edges = ox.graph_to_gdfs(G2)

# create a list of tuples which contains all the edges (not include parallel edges, but include directional edges) in the Graph.gdf
i=0
edges_tuple = []
while i < len(gdf_edges.u):
    edges_tuple.append((gdf_edges.u[i], gdf_edges.v[i]))
    i=i+1

edges_tuple = list (set(edges_tuple)) # delete dupilcate tuples in the list, ie. remove parallel edges

print (" ")
print ("------------------------print list of edges--------------------------------")
print (edges_tuple)
print ("------------------------print length of the list of edges------------------")
print (len(edges_tuple))
print (" ")

# show culdesacs:
culdesacs = [key for key, value in G2.graph['streets_per_node'].items() if value==1] # return the key in the dictionary{G2.graph['streets_per_node'].items()} if value == 1
loops = [edge[0] for edge in G2.selfloop_edges()] #Return a list of selfloop nodes.
nc = ['r' if node in culdesacs else 'm' if node in loops else 'b' for node in G2.nodes()]
fig3 = ox.plot_graph(G2, node_color=nc)

print ("--------------------------print list of culdesacs nodes-----------------------")
print (culdesacs)
print ("--------------------------print length of culdesacs nodes list--------------------")
print (len(culdesacs),"  ( #of culdesacs is",len(culdesacs),")" )
print (" ")

# get a list of edges of culdesacs: culde_edges
m=0
culde_edges = []

for nodes in culdesacs:
    for edges in edges_tuple:
        if nodes == edges[0] or nodes == edges[1] :
            check_edge = (edges[0],edges[1])
            culde_edges.append (check_edge)
            reverse_edge = (edges[1], edges[0])
            if reverse_edge in culde_edges:
                culde_edges.remove(check_edge)

print ("--------------------print the list of edges of culdesacs-------------------")
print (culde_edges)
print (" ")
print ("--------------------length of the list culde_edges-------------------------")
print (len(culde_edges))
print (" ")

# Removing the culdesacs edges from the graph G2, and plot the graph after removing:
Gc = G2.copy()
G2_Del_Cul = Gc.remove_edges_from(culde_edges)
fig4, ax4 = ox.plot_graph(G2_Del_Cul, node_color='b', node_zorder=3)

Best to ask these "how-to" questions on StackOverflow. Here's a short snippet to demonstrate how to do this:
import osmnx as ox
ox.config(use_cache=True, log_console=True)
G = ox.graph_from_place('Piedmont, CA, USA', network_type='drive')
fig, ax = ox.plot_graph(G)

# remove culs-de-sac and plot again
G2 = G.copy()
deadends = [k for k, v in G.graph['streets_per_node'].items() if v==1]
G2.remove_nodes_from(deadends)
fig, ax = ox.plot_graph(G2)

Sorry for posting the question here, I will do this on StackOverflow in the future.
Thanks so much for your reply.

Best to ask these "how-to" questions on StackOverflow. Here's a short snippet to demonstrate how to do this:
import osmnx as ox
ox.config(use_cache=True, log_console=True)
G = ox.graph_from_place('Piedmont, CA, USA', network_type='drive')
fig, ax = ox.plot_graph(G)

# remove culs-de-sac and plot again
G2 = G.copy()
deadends = [k for k, v in G.graph['streets_per_node'].items() if v==1]
G2.remove_nodes_from(deadends)
fig, ax = ox.plot_graph(G2)

I tried this but I keep getting the error "KeyError: 'streets_per_node'"


Download button

There should be a button for one-click download of the generated Swift code as a .swift file.

Moved to a website issue


Singlethreaded but unoptimized sumeragi able to perform consensus

All other tasks in the sumeragi refactor depend on this being completed. It's a big task because it breaks a lot of existing code.


how to send last 5 message by user_id ?

Describe the feature
I want to know is there a way to send last 5 message of the user in sendMessage method
let options: any = {
   completionParams: {
      model: openAIModelDB,
      messages: [{
            role: 'user',
            content: 'when obama was born'
         },
         {
            role: 'assistant',
            content: 'Barack Obama was born on August 4, 1961.'
         },
         {
            role: 'user',
            content: 'when obama was born'
         },
         {
            role: 'assistant',
            content: 'Barack Obama was born on August 4, 1961.'
         }
      ]
   }
};

   options.completionParams = {
      ...options.completionParams,
      stop: data?.stopSequences,
      temperature: data?.temperature,
      top_p: data?.topP,
      presence_penalty: data?.presencePenalty,
      frequency_penalty: data?.frequencyPenalty,
   };

const res = await ChatGpt.ChatGPTClient.sendMessage(message, options);

right now Messages are omit in sendMessage method
what i am trying to do is create a chat message like chatgpt and i want to get all message by user id then send last 5 message to chatgpt right now we can only send last message parent id to chatgpt. and parent message is change every time new message is return is there is a possibility to keep parent message id same but change the chat message id

anyone help me here @transitive-bullshit

maybe this pr can help you.

This project is undergoing a major revamp; closing out old issues as part of the prep process.
The chatgpt package is pretty outdated at this point. I recommend that you use the openai package or the openai-fetch package instead.


Read the file from the device

Hello, I'm new to flutter. I tried to read the file from the device. I'm working on an e-book application, and I download books and then display it. Can you help me please?

epub_view or native_pdf_view?

Hi how can i  read the file from the device using epub please help me for this!

``> Hi how can i read the file from the device using epub please help me for this!

add the epub file to your /assets folder
in pubspec.yaml add the file to your assets
follow the following:

_epubController = EpubController(
document:  EpubReader.readBook(_loadFromAssets('assets/4.epub')),
);
Future _loadFromAssets(String assetName) async {
final bytes = await rootBundle.load(assetName);
return bytes.buffer.asUint8List();
UI:


ui/networking: more closely match NetworkManager state

Inspired by https://github.com/commaai/openpilot/pull/29378, but fixes a few existing bugs and tries to match the NM state more closely. Gets connected and connecting status from NM signals rather than managing it ourselves. Allows us to:

automatically hide network when you press forgot
get connecting ssid when network manager decides to change networks on its own (like when forgetting one and it auto connects to another)
show connecting only when it's actually activating connection (quicker), from https://github.com/commaai/openpilot/pull/29378

This is more lines obviously, but I think it's better manage as little state as possible. What do you think @deanlee?

Yes, I think it's better that way, too

I would also suggest that after this PR, move all networking related files to a separate directory, e.g. selfdrive/ui/qt/networking. so that it's easier to maintain afterward.

Probably introduces bugs due to the mixed nature of signals/slots and getters, closing for now. There's still a lot we can improve/clean up if we switch more functionality over to signals/slots (for example, we can read AP changes instead of clearing and rebuilding the list each time).


Maybe Functor map

I'm just playing around with some category theory stuff and I can't define Maybe.map. I'm confused by the phrase "some incompatible instantiation of" because I'm explicitly using the inferred types:
type _map = <V1,V2>(f: (v: V1) => V2) => (m: _Maybe<V1>) => _Maybe<V2>
export const map : _map = f => m =>
  m.__type === 'Just' ?
  Just(f(m.value)) :
  Nothing()

While I'm at it, do you know of any examples of algebraic data types like Maybe and Either?

flow-static-land: implementation of common algebraic types in JavaScript + Flow

Whoa @gcanti those are some epic posts. Thanks for sharing your knowledge! I read the paper, had no idea what was going on, then read your post on Higher Kinded Types, and it all make complete sense. Really cool. THANK YOU!


refactor(switch): refactor css vars

closes #1000

Deploy preview for pf-next ready!
Built with commit 0c03f7e3fe9718193f321b9787bf9bcd434e0ffb
https://deploy-preview-1077--pf-next.netlify.com

Looks like we have for on the switch label that matches the id of the input[type="checkbox"]. Do we need that, since the input is nested in the label? Or if we want to keep these attrs, should we add them to the a11y table? cc @jgiardino

Looks like we have for on the switch label that matches the id of the input[type="checkbox"]. Do we need that, since the input is nested in the label?

Deque suggests that even when inputs are nested inside labels, that we still explicitly associate them with the id and for attributes.

Or if we want to keep these attrs, should we add them to the a11y table?

Yes! Thanks for catching that!

@mcoker ok updated this stylesheet with those variable names back, and included the changes under the ~ .pf-c-switch__toggle blocks

Looks good to me. The only thing we may change, is following the "if it changes, it's a variable" rule, update https://github.com/patternfly/patternfly-next/blob/0f91d8859cd0df030e18e1498db321ca59b5b5ee/src/patternfly/components/Switch/switch.scss#L37
to use --pf-c-switch__input--Cursor, then on line https://github.com/patternfly/patternfly-next/blob/0f91d8859cd0df030e18e1498db321ca59b5b5ee/src/patternfly/components/Switch/switch.scss#L60
use --pf-c-switch__input--Cursor: var(--pf-c-switch__input--disabled--Cursor);
what do you think?

@mcoker I was wondering that. I thought cursor:pointer was similar to things such as position:absolute and display: inline-block where we don't assigned property variables to them? Could you explain this to me?

Yeah, traditionally we would have only assigned things to variables that we think a customer would want to override. Things like display, we wouldn't want a customer to change, for the most part. This update includes a change that "if it changes, we overwrite a variable instead of a property", and we got that from this article ("If it changes, it's a variable) but I'm fine only defining vars for properties that we also want the user to change. I think this is a safe one to ignore. Plus the current way is less lines of code :)


Fastnlight: Watch reminiapkmod.in

Fastnlight requests the watch of the watch_keyword reminiapkmod\.in. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

reminiapkmod\.in has been seen in 2 true positives, 1 false positive, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


R13 Bugbash: After creating a publishing profile, the Notification window should open by default

Describe the bug
Right now after creating a publishing profile, the notification panel is closed by default. It was not clear to me that the creation is actually in process, since when I clicked "done", there was almost nothing shown on the screen. Then I realized that I should open the Notification panel to check the progress.

Version

Browser

[ x] Electron distribution

OS

[x ] Windows

Expected behavior
Notification panel is open by default after user completes creating a publishing profile

Resolved in latest build.


add the ability to customize icon_url, icon_emoji, and username

This adds the ability to easily set your own icon_url, icon_emoji, and
username, overriding the defaults without needing to specify your own
custom messaging class.
see #68 (tldr; @hajder was right)

🎉 🍻
Thank you for this 😄


⚠ Bofrost.de has degraded performance

In 4d81468, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1013 ms

Resolved: Bofrost.de performance has improved in e884764.


Generate the correct amount of tabs

When generating the tabs, do it based on how many titles there are. If I select a h2 title and h3 it will have two tabs instead of 1 and 2

Implemented solution so that the first title always has no tabbing.
The rest keeps the converted number for its respective header type. This is to keep the intention of the user when using those header levels.


x/lint: warn about unnecessary detailed verbs in format strings

Context:
People with C/C++ background tend to do unnecessary detailed verbs in format strings, i.e.:
fmt.Sprintf("%s %d %f", person.Name, person.Age, person.Salary)

instead of:
fmt.Sprintf("%v %v %v", person.Name, person.Age, person.Salary)

which leads to additional iterations and manual comments on pull requests. I was asked if this can be checked with a linter instead (https://github.com/google/syzkaller/pull/678#discussion_r211080513).
Using %v unless something special is needed feels more idiomatic and looks better to me because:

no need to remember types of all fields
more robust on var type changes
also prints arrays and structs

But now I can't actually find any documentation anywhere that %v is indeed more idiomatic and the recommended way. So is it really the recommended way? Are there any advantages in using %d/f/s in common case? Does it make sense to make lint to warn when %v would give the same format?
@dominikh

Personally I've always preferred using exact verbs. Vet complains when the types of arguments don't match the verbs, which acts as a kind of soft static checking of Printf calls. For example, it can protect against incorrect order of arguments.

Okay, then I guess we can close this because it does not seem that we will come to unanimous consensus here.


Automatically add 'release-note-none' label to PRs created by dependabot

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
I updated the config for the dependabot so that the dependabot creates PRs with a release-note-none label.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

None

Since the bot can already add ok-to-test, I suppose it wouldn't have permission issues for this too.
/lgtm
/approve


Future of html5 in Godot? Might it completely be removed?

Hello,
i just want to get some clarification, as the following is not clear for me:

Until the OpenGL ES 3 renderer is removed from Godot in favor of Vulkan, HTML5 export uses WebGL 2 when the GLES3 option is selected.
Warning
Using WebGL 2 is not recommended due to its expected removal from Godot without replacement.

Source: https://docs.godotengine.org/en/stable/getting_started/workflow/export/exporting_for_web.html
Well, it seems clear that OpenGL ES 3 will be removed, same as WebGL 2.
But what means "in favor of Vulkan", will Web export become possible BECAUSE/USING the Vulkan API, or will Web export basically completely be removed from Godot (because of Vulkan) ?
Cheers
D

The GLES2 renderer (and WebGL 1.0) are here to stay.
That said, Safari is working on adding WebGL 2.0 support (at last). See also discussion in this proposal.

Thank you for your statement! I didn't know a better place than here to ask my question.
I will follow your request to post "question like this" on other "community channals" in the future...


enable to require "cutorch"

I have installed cuda7.5 and "cutorch", but can't require 'cutorch'. I have tried several solutions that I've found on the web, but, with no success.
This is what I get:
modprobe: ERROR: could not insert 'nvidia_352': No such device THCudaCheck FAIL file=/tmp/luarocks_cutorch-scm-1-8998/cutorch/lib/THC/THCGeneral.c line=16 error=38 : no CUDA-capable device is detected /usr/local/share/lua/5.1/trepl/init.lua:383: cuda runtime error (38) : no CUDA-capable device is detected at /tmp/luarocks_cutorch-scm-1-8998/cutorch/lib/THC/THCGeneral.c:16 stack traceback: 	[C]: in function 'error' 	/usr/local/share/lua/5.1/trepl/init.lua:383: in function 'require' 	[string "_RESULT={require 'cutorch'}"]:1: in main chunk 	[C]: in function 'xpcall' 	/usr/local/share/lua/5.1/trepl/init.lua:650: in function 'repl' 	/usr/local/lib/luarocks/rocks/trepl/scm-1/bin/th:199: in main chunk 	[C]: at 0x00406260

this is not cutorch specific, if you run the CUDA provided samples, you'll have the same error. The error is exactly what it says.


[expat] Update to 2.3.0

Fix #17842
Update expat to the latest version 2.3.0
Note: no feature need to test

@JonLiu1993 any idea what the fontconfig error at https://dev.azure.com/vcpkg/public/_build/results?buildId=53511&view=logs&j=c7e67a25-2047-5d01-7913-57de0573f534&t=0e07d234-e12f-5893-a7f1-2767a24f64ae&l=2815 is about? Is the CMake error log available somewhere?

The logs are in the artifacts of that build.
Fontconfig doesn't find expat.  Since fontconfig is based autoconf, not cmake, I suspect that the pc files from expat are no longer working. You removed patches related to pkg-config on Windows.

The logs are in the artifacts of that build.

I don't see any artifacts when I click on artifacts. Please not that I'm new to Azure and vcpkg.

Fontconfig doesn't find expat. Since fontconfig is based autoconf, not cmake, I suspect that the pc files from expat are no longer working. The PR removed patches related to pkg-config on Windows.

That's a good hint. There were patches upstream for vcpkg in https://github.com/libexpat/libexpat/pull/414 precisely, so -DEXPAT_BUILD_PKGCONFIG=ON seems needed in vcpkg for Expat 2.3.0 now, regarding the if(1) part of the patch.
Regarding the _EXPAT_OUTPUT_NAME part of the patch, upstream code https://github.com/libexpat/libexpat/blob/0ee4a6a94e50fef516addcca066349b365614e5c/expat/CMakeLists.txt#L374-L375 makes me guess that that part of the patch is probably no longer needed.
To summarize, I would try adding -DEXPAT_BUILD_PKGCONFIG=ON and stick to dropping the patch and see how far that takes us.
CC @JonLiu1993

I don't see any artifacts when I click on artifacts. Please not that I'm new to Azure and vcpkg.

Your link pointed to a particular job in the build. You can click on the build number in the top line ("20210512.13") or use the back button before "Jobs in run #2021..."
Now in the overview of the build, there is "12 published", which refers to, and links to, the artifacts.
In the "failure logs for x64-windows" line, click the vertical three dots on the right side, than "Download artifacts".

I don't see any artifacts when I click on artifacts. Please not that I'm new to Azure and vcpkg.

1. Your link pointed to a particular job in the build. You can click on the build number in the top line ("20210512.13") or use the back button before "Jobs in run # 2021..."

2. Now in the overview of the build, there is "12 published", which refers to, and links to, the artifacts.

3. In the "failure logs for x64-windows" line, click the vertical three dots on the right side, than "Download artifacts".

Thank you!
I would have never seen those three dots without your mention, given how far they are away in a full screen browser window…
In log file config-x64-windows-dbg-out.log I find confirmation that fontconfig's configure script does indeed fail to find Expat:
checking for EXPAT... no
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_SetDoctypeDeclHandler... no

A quick note that I have updated issue #17842 to be about Expat 2.4.1 with security fixes for CVE-2013-0340 now.

@hartwork , @dg0yt .I am sorry to reply to you so late, I have seen your discussions and suggestions. And I will upgrade the issue assign of expat to 2.4.1 to myself. I will seriously consider your suggestions, thank you

@JonLiu1993 that is great news, thank you!

@JonLiu1993 any news?

@JonLiu1993 I overlooked your changes updating to 2.4.1 — sorry! It seems like fontconfig is still failing. I wonder if that because of the…
+set(_EXPAT_OUTPUT_NAME ${_EXPAT_OUTPUT_NAME}${CMAKE_${BUILD_TYPE_UPPER}_POSTFIX})

…bits now gone. We could either try reintroducing the patch cut down to that line or see if fontconfig is the better place to patch. What do you think?

@JonLiu1993 I overlooked your changes updating to 2.4.1 — sorry! It seems like fontconfig is still failing. I wonder if that because of the…
+set(_EXPAT_OUTPUT_NAME ${_EXPAT_OUTPUT_NAME}${CMAKE_${BUILD_TYPE_UPPER}_POSTFIX})

…bits now gone. We could either try reintroducing the patch cut down to that line or see if fontconfig is the better place to patch. What do you think?

I made a mistake. After checking, I found that I deleted the required patch. I will re-add the patch and submit it.thanks for your reminder

@hartwork Upstream must make sure that the pc file is correct at least for the build types where it modifies CMAKE_<CONFIG>_POSTFIX. And this modification happens for "debug" on WIN32:
https://github.com/libexpat/libexpat/blob/a28238bdeebc087071777001245df1876a11f5ee/expat/CMakeLists.txt#L342-L346
And that's why the patch remains necessary at the moment.
(Ideally upstream would always care about CMAKE_<CONFIG>_POSTFIX because it could be set by the user for custom config types.)

I'm happy to fix things upstream but I'll first need to understand things in detail. (Build system issues like this one was why I opened #17842 before the release of 2.4.0 but now things will have to go into 2.4.2.)
What I don't understand is:

from a CMake point of view, is WIN32 AND MINGW what we have here?
what is the expected postfix — is this about postfix "d" or postfix "w" or ..?

What I don't understand is:

from a CMake point of view, is WIN32 AND MINGW what we have here?

I don't understand the question. Basically there is an issue on WIN32 targets, including MINGW.

what is the expected postfix — is this about postfix "d" or postfix "w" or ..?

I guess this cannot be answered here. vcpkg policy is to follow upstream, assuming that upstream knows what it users want or are used to (mind users that don't use cmake config or pc files).
For the record, some upstreams use the same name for all toolchains on WIN32, but others prefer to treat MINGW as POSIX.
But I don't think the answer is needed. You are not asked to change the name.
The point is, expat provides wrong information about the name in the pc files:

in particular for build type Debug, due to its own POSTFIX settings (breaking the build of fontconfig here)
in general for users which set CMAKE_<CONFIG>_POSTFIX.

Example from a quick build of expat 2.4.1 on Linux with mingw toolchain, CMAKE_BUILD_TYPE=Debug
$ ls <REMOVED>/install/lib
cmake  libexpatd.dll.a  pkgconfig
$ cat <REMOVED>/install//lib/pkgconfig/expat.pc
prefix=<REMOVED>/install
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: expat
Version: 2.4.1
Description: expat XML parser
URL: http://www.libexpat.org
Libs: -L${libdir} -lexpat
Cflags: -I${includedir}

So the binary is libexpatd.dll.a but the pc file says -lexpat.

So the binary is libexpatd.dll.a. The pc file says -lexpat when it should say -lexpatd.

@dg0yt I see, thanks!

@dg0yt @JonLiu1993 I'm still figuring this out. I have a draft pull request up at https://github.com/libexpat/libexpat/pull/495 now. I appreciate feedback and uncovering any remaining misunderstandings. Thanks :pray:

Thanks for your help to review @hartwork and @dg0yt.

Is anything left to do before a merge?

Thanks @JonLiu1993 :)


fix typo

Motivation

As it is
Modifications

Checklist

[+] Format your code according to the Contributor Guide.
[+] Add unit tests as outlined in the Contributor Guide.
[+] Update documentation as needed, including docstrings or example tutorials.

Please fix lint issue

@merrymercy @zhyncs what is going on, lint failed on these 2 files, that I did not touch originally.

rebase to the main, the buggy commit is reverted  https://github.com/sgl-project/sglang/commit/32318178611b2cbbeddb272e8388ea25f4b64cf5

@merrymercy done.


Add discussion of operator[] and operator()

Addressed in: https://github.com/jbcoe/value_types/pull/153


bazel: Add example consuming pydrake

This change is

+@jwnimmer-tri for review, please.

Review status: 0 of 3 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

FYI remember to run buildifier by hand, since I don't think its automated yet in Shambhala.

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

drake_bazel_external/apps/BUILD.bazel, line 43 at r1 (raw file):

)

# Make a simple Python application.

FYI You could imagine adding a short comment here indicating to run bazel-bin/apps/simple_logging_example when a user wants to invoke this, since that might not be what users would naively assume, especially more novice Bazel users.

drake_bazel_external/apps/BUILD.bazel, line 53 at r1 (raw file):

# Run the applications to make sure they complete successfully.
# N.B. For actual development, you should prefer `*_test` targets.

BTW This is a bit confusing, because the below targets are *_test targets already, but this seems to imply actual development should do otherwise.

drake_bazel_external/apps/BUILD.bazel, line 62 at r1 (raw file):

sh_test(
    name = "simple_logging_example_test",
    srcs = ["py_binary_test.sh"],

FYI I think this could be called just exec.sh, for simplicity / clarity?

drake_bazel_external/apps/py_binary_test.sh, line 3 at r1 (raw file):

#!/bin/bash

# Copyright (c) 2017, Massachusetts Institute of Technology.

Copyright is Toyota Research Institute.
BTW 2018 (unless you copied this from somewhere else?)

Comments from Reviewable

Review status: 1 of 4 files reviewed at latest revision, 4 unresolved discussions.

drake_bazel_external/apps/BUILD.bazel, line 43 at r1 (raw file):
Previously, jwnimmer-tri (Jeremy Nimmer) wrote…
FYI You could imagine adding a short comment here indicating to run bazel-bin/apps/simple_logging_example when a user wants to invoke this, since that might not be what users would naively assume, especially more novice Bazel users.

Done. Added to README to expand on this a bit more. I'm a bit hesitant to say that users should always use bazel run, because we may have not yet fully proofed all of our binaries against the PWD that a script is run in.
(e.g. AFAIK FindResource works under bazel test, but not bazel run - which is something we'd probably want to fix soon.)

drake_bazel_external/apps/BUILD.bazel, line 53 at r1 (raw file):
Previously, jwnimmer-tri (Jeremy Nimmer) wrote…
BTW This is a bit confusing, because the below targets are *_test targets already, but this seems to imply actual development should do otherwise.

Done.

drake_bazel_external/apps/BUILD.bazel, line 62 at r1 (raw file):
Previously, jwnimmer-tri (Jeremy Nimmer) wrote…
FYI I think this could be called just exec.sh, for simplicity / clarity?

Done.

drake_bazel_external/apps/py_binary_test.sh, line 3 at r1 (raw file):
Previously, jwnimmer-tri (Jeremy Nimmer) wrote…
Copyright is Toyota Research Institute.
BTW 2018 (unless you copied this from somewhere else?)

Done. D'oh!

Comments from Reviewable

Reviewed 3 of 5 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks pending.

Comments from Reviewable


Dynamic objects behave incorrectly when an emitter is in the scene

I tried to combine dynamic objects and emitters in the same file and could not get it to work properly.
Add an emitter to the example "MotorScene.json", and the dynamic motor blade starts to free fall without being constrained by the TargetVelocityMotorHingeJoints.
Correct behavior with only dynamic objects:

Incorrect behavior when combined with an emitter:

Attached is my modified json file:
{
	"Configuration":
	{
		"particleRadius": 0.025,
		"numberOfStepsPerRenderUpdate": 4,
		"density0": 1000,
		"simulationMethod": 4,
		"gravitation": [0,-9.81,0],
		"cflMethod": 1,
		"cflFactor": 1,
		"cflMaxTimeStepSize": 0.005,
		"maxIterations": 100,
		"maxError": 0.05,
		"maxIterationsV": 100,
		"maxErrorV": 0.1,
		"stiffness": 50000,
		"exponent": 7,
		"velocityUpdateMethod": 0,
		"enableDivergenceSolver": true,
		"particleAttributes": "velocity",
		"boundaryHandlingMethod": 2
	},
	"Materials": [
		{
			"id": "Fluid",
			"colorMapType": 1,
			"surfaceTension": 0.2,
			"surfaceTensionMethod": 0,
			"viscosity": 0.01,
			"viscosityMethod": 1
		}
	],
	"RigidBodies": [
		{
			"id": 0,
			"geometryFile": "../models/UnitBox.obj",
			"translation": [0,1,0],
			"rotationAxis": [1, 0, 0],
			"rotationAngle": 0,
			"scale": [2, 2, 2],
			"color": [0.1, 0.4, 0.6, 1.0],
			"isDynamic": false,
			"isWall": true,
			"mapInvert": true,
			"mapThickness": 0.0,
			"mapResolution": [25,25,25]
		},
		{
			"id": 1,
			"geometryFile": "../models/UnitBox.obj",
			"translation": [0,0.1,0],
			"rotationAxis": [1, 0, 0],
			"rotationAngle": 0,
			"scale": [1,0.1,0.2],
			"color": [0.1, 0.4, 0.6, 1.0],
			"density": 10000,
			"isDynamic": true,
			"isWall": false,
			"mapInvert": false,
			"mapThickness": 0.0,
			"mapResolution": [20,20,20]
		}
	],
	"TargetVelocityMotorHingeJoints": [
		{
			"bodyID1": 1,
			"bodyID2": 0,
			"position": [0,0,0],
            "axis": [0,1,0],
            "target": -6
		}
	],
	"FluidBlocks": [
		{
			"denseMode": 0,
			"start": [-0.5, -0.5, -0.5],
			"end": [0.5, 0.5, 0.5],
			"translation": [0.0, 0.6, 0.0],
			"scale": [1,0.75,1]
		}
	],
	"Emitters": [
		{
			"width": 7,
			"translation": [0.9,0.3,0.0],
			"rotationAxis": [0, 1, 0],
			"rotationAngle": 3.1415926535897932384626433832795,
			"velocity": 0.2,
			"type": 1,
			"emitStartTime": 0,
			"emitEndTime": 5
		}
	]
}

I just tested your model and for me everything works fine:

Can you give me some more information about your configuration (cmake, system)?

CMake version
cmake version 3.10.2
CMake output
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- If your CPU does not support AVX, turn off the USE_AVX flag.
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Build type: Release
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found GLUT: /usr/lib/x86_64-linux-gnu/libglut.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/haowensh/Projects/blaser/fluid/SPlisHSPlasH/build-test

System information
Linux [redacted] 5.3.0-46-generic #38~18.04.1-Ubuntu SMP Tue Mar 31 04:17:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Package version:
commit 20bef647c69b28d0c7a35e57296c34e4c9c59a09 (HEAD -> master, origin/master, origin/HEAD)
I am running the Python binding splash though, could that be a problem?

I don't know if you found the problem/ solution already but for me this works with the current version of pysplishsplash on windows. I'll try the scene on linux as soon as I get the chance.

I don't know if you found the problem/ solution already but for me this works with the current version of pysplishsplash on windows. I'll try the scene on linux as soon as I get the chance.

Thanks, I will test it on Windows too and try to figure out why this happens in the mean time

Interesting... On linux I get the same issue that you described. I guess we'll have to look into this.

@janbender I'he got the same issue as described by @harveybia
I have compiled Package: commit https://github.com/InteractiveComputerGraphics/SPlisHSPlasH/commit/f46998f11c36e3735ac44560b49e2c85dcf3e9b4 (HEAD -> master, origin/master, origin/HEAD)
Runned ./SPHSimulator ../data/Scenes/Honey.json
This is my config Honey.json
Without Emitters, TargetVelocityMotorHingeJoints rotates fine
But with Emitters it's just infinitelly falls

Each emitter also adds a rigid body to the scene. I just wonder if this is initialized with id 0. Can you try to give your rigid bodies other IDs, e.g. 2 and 3?
Am 30. Oktober 2022 17:11:23 MEZ schrieb Bohdan Mykhailenko @.>:
@. I'he got the same issue as described by @harveybia

I have compiled Package: commit https://github.com/InteractiveComputerGraphics/SPlisHSPlasH/commit/f46998f11c36e3735ac44560b49e2c85dcf3e9b4 (HEAD -> master, origin/master, origin/HEAD)
Runned ./SPHSimulator ../data/Scenes/Honey.json
This is my config Honey.json
Without Emitters, TargetVelocityMotorHingeJoints rotates fine
But with Emitters it's just infinitelly falls
--
Reply to this email directly or view it on GitHub:
https://github.com/InteractiveComputerGraphics/SPlisHSPlasH/issues/67#issuecomment-1296292971
You are receiving this because you were mentioned.
Message ID: @.***>

It works, Set it to 1 and 2
Thanks for an instant responce with right fix
Happy that the issue has been resolved
And that the pacage is stable and it's more like missuse than a bug

I will add that to the documentation. Thanks for reporting it.


refactor: change message status from enum to tagged union

Motivation
New protocol versions return the root a message was proven under. We should capture and expose this in the TS SDK
Solution
Change MessageStatus from an enum to a union with discrimanator.
This is an API-breaking change (major version bump) however, given that we are in RCs this is still a candidate for the current non-RC release (i.e. we don't need to bump to 3.0.0 as 2.0.0 is not finalized)
PR Checklist

[ ] Added Tests
[ ] Updated Documentation
[x] Updated CHANGELOG.md for the appropriate package

turning on auto-merge pending approval from indexer folks :)


Request for echo option

It would be nice with an echo option which outputs commands as they are executed?

Check out the README for use of the reporter.


01-prepare-data-with-power-query-in-power-bi-desktop.md

English:
Notice that the last five columns contain Table or Value links.
Current Translation:
最後五個資料行包含 資料表 或 值 連結
Suggested Translation:
最後五個資料行包含資料表或值連結
Description:
Space issue

Hello contributor,
Thank you for your contribution! We are processing your suggestions and we will update you shortly.
Kind regards,
Microsoft Worldwide Learning Team

This string has bold format, so this is by-designed. can't fix.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1593 ms

Resolved: Bofrost.at performance has improved in c6944ac after 6 minutes.


Probably this will fix user-agent

Didn't test this, but it should work.
Initial problem: https://discord.com/channels/664971400678998016/699642379266686997/971112109054255224

Oh, already. Alright thank you


CellContext: add 'CommitItemChanges' action

Description
When an EditTemplate is provided for a Column there is currently no way to hook into MudDataGrid's event callback for CommittedItemChanges.  This change adds the relevant action to CellContext.
How Has This Been Tested?
Manually tested as no unit tests were available for the existing actions.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[X] The PR is submitted to the correct branch (dev).
[X] My code follows the code style of this project.
[ ] I've added relevant tests.

Hi @DragonSA
As long as the Datagrid is in beta status, we won't review PRs for this component


Use pubspec_overrides.yaml to improve dev productivity

Currently using dependency_overrides in pubspec.yaml file to improve local development experience. However, it become hassle to comment it so it can be run in CI.
Waiting for this feature to land on stable.

https://github.com/dart-lang/pub/pull/3215

Done


Jvenstad/remove old job status

@mpolden please review.
This is WIP, and there is quite some cleanup to do. Nevertheless, I think this all works now, i.e., the new deployment spec syntax, with nested parallel and serial blocks of steps, and with declared production tests.
Some APIs need to remain until replacements have been available for a while, and some cleanup will have to wait for this as well.
@bratseth FYI.

Great! If/once we have enough testing to know this works we need to put out a post letting people know about these new capabilities. There are many hacks out there to compensate for not having multiple instances, and more people should have prod tests.

I'm pretty confident it works, with the unit scenario tests we have, but documentation is not done. I would also like to have this verified in the CD system, of course.
In any case, we should ask anyone with production tests to declare these with the new syntax, so we may stop running them as part of the deployment job.

Ok, so there are some kinks to straighten out ... Expect some more commits :)


Unable to retrieve bigquery metrics

Running 0.5.1.
Config:
            - name: GOOGLE_APPLICATION_CREDENTIALS
              value: /var/secrets/google/credentials-stackdriver-exporter-sa.json
            - name: STACKDRIVER_EXPORTER_GOOGLE_PROJECT_ID
              value: xxxxx
            - name: STACKDRIVER_EXPORTER_MONITORING_METRICS_TYPE_PREFIXES
              value: bigquery.googleapis.com/query/count,bigquery.googleapis.com/query/execution_times,bigquery.googleapis.com/query/scanned_bytes,bigquery.g
  oogleapis.com/query/scanned_bytes_billed,bigquery.googleapis.com/slots/allocated_for_project_and_job_type,bigquery.googleapis.com/slots/allocated_for_reser
  vation,bigquery.googleapis.com/slots/total_allocated_for_reservation,bigquery.googleapis.com/slots/total_available,bigquery.googleapis.com/storage/stored_b
  ytes,bigquery.googleapis.com/storage/table_count,bigquery.googleapis.com/storage/uploaded_bytes,bigquery.googleapis.com/storage/uploaded_bytes_billed,bigqu
  ery.googleapis.com/storage/uploaded_row_count
            - name: STACKDRIVER_EXPORTER_WEB_LISTEN_ADDRESS
              value: :8080

The metrics endpoint doesn't show me any Bigquery metrics. Changing this to compute.googleapis.com gives me all the compute metrics. Bigquery is in active use.
Logging looks a bit like this and no errors are displayed when accessing /metrics
Starting stackdriver_exporter
Build context
Listening on :8080

client side issue I believe


Skillmap Page Views - might need to be classified?

Trying to get Page Views across all our Skillmap pages, but the numbers coming back are really low so I think there's something wrong.
Using this query -
RawEventsPageviews
| where timestamp > ago(120d)
| where url contains "skillmap"
| summarize dcount(user_Id) by monthofyear(timestamp)

I see telemetry now. Seems fixed.


travis-cli: no git fetch to make base and source available as dedicated remotes

Expected Behavior

Make base and source available as dedicated remotes

Current Behavior
https://github.com/marionebl/commitlint/blob/d063f653b858954e61ef926975277a50febd7229/%40commitlint/travis-cli/src/cli.js#L34-L40
Looking at the comment & code, I believe there should be a git fetch (or 2, in the PR build case), but I don't think it happens because the Promise resolves to an array of 2 functions, but the functions themselves are not called. I'm just curious - is this to basically ensure that you fetch the latest commits from the remote?

Affected packages

[x] travis-cli

Possible Solution

await Promise.all([
- 	() => fetch({name: 'base', url: `https://github.com/${REPO_SLUG}.git`}),
+ 	fetch({name: 'base', url: `https://github.com/${REPO_SLUG}.git`}),
- 	IS_PR
- 		? () => fetch({name: 'source', url: `https://github.com/${PR_SLUG}.git`})
- 		: async () => {}
+	IS_PR && fetch({name: 'source', url: `https://github.com/${PR_SLUG}.git`})
 ]);

Context

I was just looking at the implementation of travis-cli.

Your Environment

Executable
Version

commitlint --version
VERSION

git --version
VERSION

node --version
VERSION

Thanks for reporting, I'll investigate deeper next week and come back to this.

Closing this assuming it's fixed


EnsureNuGetPackageBuildImports Target Always Causes Errors

There are many project types created by Visual Studio that add a "EnsureNuGetPackageBuildImports" target element to csproj files. In this case the element is defined in a Xamarin Forms project. It was newly minted in the last week or so from a standard VS template. The target looks something like this in the csproj file:
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
    <PropertyGroup>
      <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
    </PropertyGroup>
    <Error Condition="!Exists('..\packages\Xamarin.Forms.<IP_ADDRESS>\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Xamarin.Forms.<IP_ADDRESS>\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets'))" />
  </Target>

The element is usually benign until you move the project to a different location on the hard drive, or another developer tries to compile the code. When this happens, you get:
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is packages\Xamarin.Forms.<IP_ADDRESS>82\build\portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10\Xamarin.Forms.targets.
This error message is very misleading and untrue. I've wasted countless hours in many projects trying to get Visual Studio to refresh the packages, but the error just keeps coming up even though there are no other compilation problems in the project. I don't know if the element is useful or not, but the various teams that create the templates need to either remove this element from the templates, or correct the element so that it doesn't cause errors. I can't even count how days I sat there scratching my head over this error until I finally found the error text in the csproj file. Yesterday, my colleague experienced it when she opened up an ASP MVC app. The whole point of NuGet is supposed to be that if the other person doesn't have the libraries, the libraries are silently downloaded and compilation ensues.
Other people can recreate this problem, and there are people reporting this problem all over the place. Here is my original MSDN thread on the topic:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/300b0549-58c9-4c50-bd64-7c82516495a9/nuget-error?forum=visualstudiogeneral&prof=required

This issue was moved to NuGet/Home#3320


[THIS DEPENDS ON #188 BEING MERGED] CI link update

Ignore the changes for CONTRIBUTING.md as they are for #188 . The README.md change updates the CI link.
@shaleman can you review this. And may be we can merge #188 and #189 together

closing this in favor of #190


1.2.4 cmd + r error

when I press cmd + r in version 1.2.4 this is the error - http://screencast.com/t/IU4HB1oNlwH

It looks like there's a file missing from the Atom.app bundle. How did you install Atom? Can you try re-installing it and report whether this still happens to you?

I just re installed atom and it is fixed. thanks


Mix removing duplicate CSS lines

Laravel Mix Version<EMAIL_ADDRESS>Node Version: v15.0.1
NPM Version : 7.0.3
OS: Ubuntu 20.04

Description:
I'm having an issue with what I believe is the postcss-discard-duplicates. I'm trying to remove or at least disable it and I'm not having any luck.
The reason I need to disable this is because when creating gradients, you need to add fallbacks for other browsers. For example:
.foo
    background: -moz-linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(0,212,255,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(0,212,255,1) 100%);
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(0,212,255,1) 100%);

However, with postcss-discard-duplicates being on, it removes everything before the last line, meaning that gradients won't work on certain browsers.
I'm figuring I can probably configure mix to not remove duplicates somehow but I've been searching and I can't seem to find anything.
I have also tried removing the module with npm but that just wipes my lock file which is fun.

You shouldn't need to manually add all of those prefixes. If necessary, Autoprefixer will add and remove them automatically based on the Browserlist settings.


EmberPlusViewer v<IP_ADDRESS> crash when copying values in Windows 7

When copying a large value such as an SDP the application will freeze and then crash. I have noticed this in Windows 7, but not in Windows 10.

This issue is present on one of 3 Windows 10 machines I have tested with, so may be due to available libraries or some other system configuration issues.


PowerShell: remove line numbers

Done and live in Staging

I'm still seeing line numbers. Maybe that got regressed?

@shobak101 was was the commit ID for previous change? It's good to have it in issue when closing it, for later reference. Thanks!

closed with this commit
0f888016569ca2f2e1ca1f6038d41ca4cfda2ba0


Better oracle interfaces #16

Fixes #16
🚀 Description
Introduces ability to designate the oracle, with ability to fund the contract to be pulled by oracle if data was submitted according to the predefined rules: frequency of the update and amount of updates.
Flow:

owner creates a contract, designating the oracle, minimum and maximum frequency of the updates, amount of data to be updated, and the reward
owner funds the contract, and activates it, allowing oracle to start updating the data.
3a) if oracle followed frequency rules, it could claim the reward
3b) if oracle missed the maximum frequency (was late), owner could claim funds back

[x] 📘 I've reviewed the OpenZeppelin Contributor Guidelines
[x] ✅ I've added tests where applicable to test my new functionality.
[x] 📖 I've made sure that my contracts are well-documented.
[x] 🎨 I've run the JS/Solidity linters and fixed any issues (npm run lint:all:fix).

Hi @miktam, thanks for your contribution! I think this is not receiving enough attention because the code may be a bit complex and unintuitive (an Oracle contract holding an oracleStorage struct, with an oracle member variable, variables with the frequency suffix that have time units, etc.)
I have two suggestions for you (feel free to follow either!):

We could split this PR in smaller chunks (e.g. a simpler Oracle with no frequency restrictions that we'd add stuff on top of later) so that it's easier for people to review/comment on, or
We could open a discussion issue to arrive at a design we agree on, and then do a follow-up PR (or even continue work on this one) to implement said design.

What do you think?

@nventuro, thank you for the feedback!
let's try with the splitting it to the smaller chunks (p1), so we could test ideas from practical perspective faster.

Awesome! I look forward to reviewing those :)

I'd just like to remark that there is a draft EIP about oracles being discussed over at https://github.com/ethereum/EIPs/issues/1161

Thanks for letting us know @cag! Could you provide us with a rough estimate on how long you think that EIP might take until it's finalized?
Not sure how I feel about this PR now that I know that discussion is taking place: the contract proposed here is a bit more complex than the minimal EIP interface (e.g. it adds rewards). @frangio @shrugs care to share thoughts on this?

I would prefer that we implement as base contract that conforms to the eventual standard, as well as any enhancements via inheritance/composability.

@shrugs, @nventuro thank you for the feedback!
what would you recommend - to wait till standard will be finalized, or to start implementing it at the proposal stage?

@miktam good question, it's always a hard choice. If you don't think the interface will deviate much, I'd say go for it, otherwise wait for it to settle. Usually there just ends up being one or two small issues holding an EIP back, so you can make a judgement call on it and start implementing, eventually updating it.
But totally up to you :)

@cag could you please take a look if current implementation covers the draft version of EIP 1154?
also, how would you recommend to check:
receiveResult MAY revert if the id or result cannot be handled by the handler?

@miktam Hey, thanks for considering the EIP! As you may be aware, the proposal's still pretty unstable. I hope this is fine for you, as you may have to make some updates. For example, there is an additional metadata parameter being discussed right now.

I want to note two changes that will affect this PR:

OracleHandler is being renamed to OracleConsumer
The type of result is being changed from bytes32 to bytes

how would you recommend to check:

receiveResult MAY revert if the id or result cannot be handled by the handler

That statement means whether or not a report is acceptable is up to the OracleConsumer. Basically, there's no one-size-fits-all way of checking that. A contract which implements OracleConsumer can revert during receiveResults if what that contract expects for an id or result is invalid.
For example, lets say you have some sort of ConditionalPaymentProcessor which is an  OracleConsumer. There are conditions which this payment processor may recognize given some id, and there are, let's say, two values which makes sense to this ConditionalPaymentProcessor: 0 and 1. Then, in this example, the ConditionalPaymentProcessor would revert if it received an id which does not correspond to some condition the contract has on file, or if the value of result parsed to neither 0 nor 1.

I think them being in tidbit makes sense, unless @cwhinfrey would rather us merge it here and handle maintenance?

@nventuro Either one works for me. We are actively maintaining the repo and are aiming to have some of the oracles deployed as an EVM package on ZOS soon. We are also considering adopting a simpler interface and having a contract that adds the EIP 1154 functions on top of the simpler interface.

I'll leave it up to you guys to decide then! Closing this for now, but feel free to open a separate PR to bring those contracts here :)


:seedling:  Rename and relocate cluster related roles files.

Summary
Rename the clusterrole related files varibles to better reflect its usage. For the clusterrole that every mangaed cluster needs, use CommonClusterRoleFiles, and for the cluster specificed rbac files, we use ClusterSpecificRbacFiles.

/assign @qiujian16

/approve
/lgtm


Incompatible with Tabs Plugin

In testing out this plugin, I found that it causes issues with docsify-tabs. I end up getting tab groups with nothing selected by default.

Hi @Kaelten! How's going?
I'm searching about it, and I believe thats caused by how docsify-tabs render the content.
That sounds me like an after render, and we're losing the page content. But need a deep investigate. Can you provide me a sample use of it?


[STORM-1273]  port backtype.storm.cluster to java

port cluster.clj to ClusterUtils/StormClusterState/StateStorage/ZKStateStorage/ZKStateStorageFactory
Update all the callings to cluster
Mock the java static functions for test purposes.

@revans2 @abhishekagarwal87  can you help review these commits ?

We would also like @knusbaum to review this one.

This is a really big pull request and things are changing all of the time with others merging things in.  Perhaps we should break this up into smaller pieces.  Like just doing each state factory one at a time, and then some of the other pieces?  IF you want to keep this all together that is OK, but it is going to take longer to really review it and get it in.

@revans2  thanks for your review, I have addressed your comments and removed  any clojure internals.
I want to keep this all together. I will keep merging with the master all time. Of course, I really hope  every one can review it and help me get it in.

@hustfxj OK I will try to get through the entire thing today.  So we can get it in soon.

OK I made it all of the way through.  Things look fairly good, but there are a few places that need to be updated/fixed.

@revans2  Thank you again. I have addressed your comments.

+1 looks god to me.  Did some manual testing and things look good.


New version: vim.vim.nightly version 9.1.0386

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

Hi @chrisbra,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 880.)

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-05-01 16:50:33.167 [FAIL] Installer failed security check. Url: https://github.com/vim/vim-win32-installer/releases/download/v9.1.0386/gvim_9.1.0386_x86.exe Result: 0x80004005

(Automated response - build 880.)

@wingetbot run


fix(plugins/plugin-s3): ibm s3 provider registers too late

Fixes #7560

Description of what you did:

My PR is a:

[ ] 💥 Breaking change
[x] 🐛 Bug fix
[ ] 💅 Enhancement
[ ] 🚀 New feature

Please confirm that your PR fulfills these requirements

[x] Multiple commits are squashed into one commit.
[x] The commit message follows Conventional Commits, which allows us to autogenerate release notes; e.g. fix(plugins/plugin-k8s): fixed annoying bugs
[x] All npm dependencies are pinned.

/lgtm


Upgrade Faraday

https://trello.com/c/e2ahRTtX/2475-upgrade-faraday-gem-to-version-2x

I see you skipped this:
https://github.com/unboxed/bops-applicants/blob/88db4d6d47ff88071399337514af44f5ab55a02d/app/services/request.rb#L67
😂

Out of scope!


Why can't the menu bar display completely

I try it in the Android 4.4.4(API 19), and the menu bar can't display completely.Like this: the part of menu was gone.

And i try it in the Android emulator (API 23)again and everything is all right. Why?
one more thing, i found it have lag when you click the button to go to other Activity.(the same in API 23 and API 19)
Another question, how could the TapBarMenu can applied to all Activity?(I'm newcomer)
Thank you !

Did you manage to resolve this ? I might be able to help

Closing due to inactivity. If anyone still got related problems please open new issue.


On miniscope, waiting for pll to settle might be causing instability

This is a purely empirical result done on a very limited set of devices.
However, I have noticed that when removing the waiting times on PLL activation, set on:
https://github.com/open-ephys/bonsai-onix1/blob/cd87fc45d58b87e92598ff037144c3f98a5befd2/OpenEphys.Onix1/ConfigureUclaMiniscopeV4Camera.cs#L222
register access to the atmega registers become much more reliable.
The old library did not include these waits, so they might be creating some unintended consequence.

I would be happy to remove them, but of course, they were added for the same reason (in inverse) in the first place. It's possible both of these empirical tests are just spurious and we are looking at device to device variability.
In that case they should be removed anyway.


Not all movies appearing in playlist when multiple versions of media

I'm honestly not sure if this is an emby issue, or something that can be addressed in this plugin. I have a playlist of all of my 4K movies. It's quite simple:

Media Type is Movie
Resolution Width is greater than 2000

When I run the playlist, I get some movies. However, it's not ALL of my 4K media.

For every movie that I have in 4K, I also have a 1080p version

You can see above that I have Deadpool in 4K (resolution is 3840x2160), however it does not appear in the playlist.
I've pulled a CSV report of my media from Emby before, and seen similarly confusing data for these "Versioned" examples.

I do a similar thing on my media library, So I can see if there is a better way to identify video streams rather. I have just introduce and audio stream filter, so perhaps I could do one on the video stream. Will let you know. (i.e. "Where video stream contains '4K')

Okay, so On this, I have added a new Criteria called "Stream: Video Display Title" so you could do a "contains" filter with "4K"

This one appears to still be an issue. It definitely is helping to get a few more of the 4K movies, however it is still not getting Deadpool 1 and 2. I'm sure there are other examples.

Did you have a look through the log to see why it’s not including dead
pool? It might help us try narrow this down.
On Wed 11 Oct 2023 at 15:46, nuentes @.***> wrote:

This one appears to still be an issue. It definitely is helping to get a
few more of the 4K movies, however it is still not getting Deadpool 1 and
2. I'm sure there are other examples.
[image: image]
https://user-images.githubusercontent.com/13895384/274313241-0fec78b0-101c-4fda-bf57-27041db0db37.png
[image: image]
https://user-images.githubusercontent.com/13895384/274313351-0d146c66-d5ee-4a70-b2ed-dd3838389161.png
[image: image]
https://user-images.githubusercontent.com/13895384/274313652-008556a2-372c-4b4e-88ff-e1c327d8dcc8.png
[image: image]
https://user-images.githubusercontent.com/13895384/274314803-e4090883-1549-4574-87be-d09e9c4bea5f.png
—
Reply to this email directly, view it on GitHub
https://github.com/ShanePe/Emby.SmartPlaylist.Plugin/issues/4#issuecomment-1757850478,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2HFSN4M2QQXHRT5LCGEE3X62WL3ANCNFSM6AAAAAA5S3DUFI
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

This is good, thanks, helps narrow it down. I’ll see what I can find.
On Wed 11 Oct 2023 at 18:09, nuentes @.***> wrote:

[image: image]
https://user-images.githubusercontent.com/13895384/274359986-f4418048-b07d-4bbf-ad62-a61cbc7122b6.png
—
Reply to this email directly, view it on GitHub
https://github.com/ShanePe/Emby.SmartPlaylist.Plugin/issues/4#issuecomment-1758131784,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2HFSOKDAHD3ZUKDCGOB43X63HETANCNFSM6AAAAAA5S3DUFI
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Could you please re-open this issue, as I don't believe this is resolved.


feat: added ability to set wait_til and wait_till_timeout

Description

added ability to set wait_til and wait_till_timeout (fix for https://github.com/terraform-ibm-modules/terraform-ibm-observability-da/issues/212)

Release required?

[ ] No release
[ ] Patch release (x.x.X)
[x] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

:tada: This PR is included in version 2.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Hi, @Huishou TIMIT is a speech dataset aligned with its phonemes, the net1 is a speech recognizer trained with the speech and the phoenemes equivalent, then pass the recognized from net1 to net2, net2 is just synthetizing net1 prediction. That's why is important to use a dataset for net1 with lots of speakers to get a good prediction of what the speaker said.

Hi, @Huishou TIMIT is a speech dataset aligned with its phonemes, the net1 is a speech recognizer trained with the speech and the phoenemes equivalent, then pass the recognized from net1 to net2, net2 is just synthetizing net1 prediction. That's why is important to use a dataset for net1 with lots of speakers to get a good prediction of what the speaker said.
Originally posted by @carlfm01 in https://github.com/andabi/deep-voice-conversion/issues/52#issuecomment-459856993

Hi，@Sun-Ziyi，I can add  your weixin .

@Huishou Can I consult some issues about  running program ?
18683664029WEIXIN


render/gles2: make EGL context current in bind_buffer

Instead of requiring callers to manually make the EGL context current
before binding a buffer and unsetting it after unbinding a buffer, do
it inside wlr_renderer_bind_buffer.
This hides renderer-specific implementation details inside the
wlr_renderer interface. Non-GLES2 renderers may not use EGL.
This removes almost all EGL dependencies from the backends, the only
remaining one is wlr_renderer_autocreate args.
References: https://github.com/swaywm/wlroots/issues/2618
References: https://github.com/swaywm/wlroots/pull/2615#issuecomment-756687006
cc @bl4ckb0ne @any1

This is not a breaking change because wlr_renderer_bind_buffer is a private wlroots API.

With this I should be able to do what you suggested in https://github.com/swaywm/wlroots/pull/2615#issuecomment-756398842, right?

With this I should be able to do what you suggested in https://github.com/swaywm/wlroots/pull/2615#issuecomment-756398842, right?

Yes, I believe this should work.

Yes, I believe this should work.


Server Re-write

[x] Server setup
[x] Schema added
[x] Controllers added
[x] GitHub OAuth2
[x] Discord OAuth2
[ ] Google OAuth2

How to check

Add the env variables (discord and github client keys)
Go to /server
Run yarn install
yarn start
Open http://localhost:5000/auth/github/callback

It should ask you your acc permissions
It returns success with access-token and your profile details
Store it with react in localStorage/Cookie idc

Env variables sample
NODE_ENV=development

GITHUB_CLIENT_ID=abcd
GITHUB_CLIENT_SECRET=efgh

DISCORD_CLIENT_ID=hijk
DISCORD_CLIENT_SECRET=lmno

Are we not adding Google auth?

Google Auth is needed for calendar events, which can be put on low priority


chrome plugin: Error saving bookmark: Validation error: {"description":["该字段不能为 null。"]}

Error saving bookmark: Validation error: {"description":["该字段不能为 null。"]}
Soem website just don't have description, but it is somehow required.

That is fixed with the latest version, which should be available soon.


error 15 when running under gnu make 3.81 ubuntu 14.04 LTS x86_64

hi,
I haven't been able to learn/see/figure out why flow seems to behave differently when I run it via make. Is it bash vs. sh? Is is something about npm? Is it something about make? Any clues/thoughts/hints/help/fixes would be appreciated.
x@x:~/Dev/z$ flow version ; flow check src ; echo $?
Flow, a static type checker for JavaScript, version 0.29.0
Found 0 errors
0
x@x:~/Dev/z$ make check
flow version
Flow, a static type checker for JavaScript, version 0.29.0
flow check src
make: *** [check] Error 15

cc @gabelevi

if that error message is because flow check src is exiting w/ code 15: flow's exit code 15 means "out of shared memory"

I had exactly the same issue

There are a few comments on the linked issue, #2017 and I'm adding mine - I also get this consistently on WSL.


setup updated

Coverage remained the same at 28.733% when pulling 02a69a3a846191ffdb04164d3dba6671cd900e71 on development into f5e6a92cd48d82a9a46718bcde68655810e3b88b on master.


chore: adaptations for nightly-2024-01-25

https://github.com/leanprover/lean4/pull/3195 (adaption by @joehendrix)

Waiting on #10002

bors merge


Handle multiple groups setting permissions on same resource

Index:

U = user
G = group
P = permission
R = resource
a(P) = allow(permission)
d(P) = deny(permission)

Preconditions:

U is in G1 and G2

Several cases:

G1 sets a(P) on R, G2 also sets a(P) on R: U inherits a(P) from G1 or G2, or both?
G1 sets a(P) on R, but G2 sets d(P) on R: does U inherits a(P) or d(P)?

To handle this, we need to check permissions for every groups a user is in.

Moved in Deavelleye/dj-CerberusAC#2, closing