Module not found: Error: Can't resolve 'crypto'

The module crypto (built in to Node) doesn't work, and the instructions are extremely vague and unclear as to how to resolve this
Module not found: Error: Can't resolve 'crypto' in '/home/jeremy/code/RichTextEditor/src/components'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
	- add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }'
	- install 'crypto-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
	resolve.fallback: { "crypto": false }

I tried ejecting and adding that line to my webpack config, which only gave me another error.
Googling around, all the answers seem to suggest random hacks like installing some other random package named react-app-rewired, which definitely should not be necessary to use an npm module that is already built in to Node.js.
I'd like to know specifically how to fix this. Also the error message should be modified to make the solution clearer.

Duplicate of #12143

Thsnks and i will check

React runs in a web browser and not on node. Browsers would not be implementing node's own APIs such as crypto, instead browsers implement the Web Crypto API https://www.w3.org/TR/WebCryptoAPI/#crypto-interface. Note that node also has an implementation of the Web Crypto API https://nodejs.org/api/webcrypto.html.
Essentially what you should be doing is to use a package that was designed to be run on a browser instead of running on node.
The message tells you that if you still wish to do so, you would need a polyfill, and it lists crypto-browserify which essentially provides a node crypto implementation that can run in a browser. Since CRA doesn't allow you to modify the webpack configuration to include the polyfill, your options is to either eject or use something like craco or react-app-rewired that allows you to modify the webpack configuration without ejecting.

Stack overflow this answer solves this issue for me

Duplicate of #12143

IS NOT ANY ANSWER

Mine is not working

Any particular answer to resolve this issue? If anyone has any idea it will be a great help.

@tusharagrawal3011
I was unable to find a solution to this nor a suitable client-side library to do this. But I was able to find  a github gist with a solution that works fine for my use-case
https://gist.github.com/ifandelse/3031112

@tusharagrawal3011
I was unable to find a solution to this nor a suitable client-side library to do this. But I was able to find a github gist with a solution that works fine for my use-case https://gist.github.com/ifandelse/3031112

Not sure if this is the answer... but I used crypto-js:
npm i crypto-js
npm i --save-dev @types/crypto-js
..
import HmacSHA256 from 'crypto-js/hmac-sha256';
import Hex from 'crypto-js/enc-hex';
..
const hmac = HmacSHA256(input, secret);
hmac.toString(Hex);

My project already uses crypto-js and I was able to resolve this by adding the following to my webpack.config.js file:
config.resolve.alias['crypto'] = 'crypto-js';

Up

The below code fixed it for me.
import * as crypto from 'node:crypto';

any idea :/


Write the Download page in MDX syntax so that it's easy to extend

This comes from an offline discussion with @BewareMyPower that it's clumsy to edit JSX page manually while the Download page is almost MDX fit - just like All Releases.


SQL Database - The dataset doesn't register a new version of the data when parameter "create_new_version" is set to true

Hi,
I created a dataset pointing to a table in the SQL Database. When adding a new column in the table I tried to generate a new version of the dataset, however the data was modified and the version continued as 1.
Does anyone know how to solve this problem using the SDK? Through the web interface it was possible to register the new version, but when I switch to version 1, the change from version 2 is displayed, which is also wrong.
Below is the step by step used:
1. Create dataset pointing to a SQL Database table

Table

Dataset

2. Check data and version
Version 1 of the dataset was created successfully

3. Create a new column in the table

4. Run the same code to create a new version of the dataset

5. Check data and version
The version hasn't changed but the column has been added

6. Create a new column in the table

7. Generate a new version of the dataset via the web interface
The new version was generated as expected.

But when I switch to version 1 the new column is also there, which is wrong.

Best regards,
Cristina

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

ID: e258128c-b871-72b0-34e2-e5157977aa17
Version Independent ID: 08a2917b-e921-2a39-9385-ca4ef4bb25d9
Content: Create Azure Machine Learning datasets - Azure Machine Learning
Content Source: articles/machine-learning/how-to-create-register-datasets.md
Service: machine-learning
Sub-service: core
GitHub Login: @ynpandey
Microsoft Alias: yogipandey

@crisansou
Thanks for your feedback! We will investigate and update as appropriate.

@crisansou  Thanks for the feedback. We have forwarded to the product team, you can also raise an issue  in azure machine learning notebooks.
Dataset is a reference to the files to your data in storage. We are not able to detect the change in content at the moment. Here is an article that explains how dataset versioning works: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-version-track-datasets#versioning-best-practice
When you load data from a dataset, the current data content referenced by the dataset is always loaded. If you want to make sure that each dataset version is reproducible, we recommend that you not modify data content referenced by the dataset version. When new data comes in, save new data files into a separate data folder and then create a new dataset version to include data from that new folder.


[CPU] Enforce 512-bit vector registers if target supports AVX-512

The default vector width used in LLVM for AVX-512 is 256 bits due to frequency throttling issues when 512-bit vectors are used. However, despite the throttling, 512-bit vectors should be more performant on intensive computation scenarios (e.g., ML). This PR enforces 512-bit vector when AVX-512 support is detected in the CPU target.
This should only impact the performance of generic ops as we were already using 512-bit vector registers for matmuls and convolutions due to the fixed tile sizes (e.g., 32 for the matmul vectorized dims or vectorSize * 2 for convolutions).

Observing [-4.5%,+10%] performance variation internally so let's go with it.


Update main to uncompiled script.

Updates main to the uncompiled version for a few reasons:

bower does not allow minified main files, so installing sometimes yields an error
it should be in the user's hands to minify their scripts
users can ultimately still access the minified version, so nothing it lost

Sounds good!

Thanks!


Investigate chunking for bundle size

What does chunking do for bundle size? Can we implement it in our app? Does Vite do anything for us here? Answer these questions, decide if we should try implementing it in our app. If so, write a ticket.

Notes
As far as I can tell, chunking and code splitting are the same thing.
The following applies to single page applications.
By default, we import modules at the top of each file, which tells the builder that "the code in these imports is necessary for this file to function". Each of those modules might import further modules and so on, meaning that the build will combine all this code into the one file.
Dynamic loading is a technique where, instead of importing dependencies at the top of a file, we can instead import a dependency only when it is needed. For example, if the app involves routing between several "pages", then we can import the component for a specific page only when it is needed by the user. This causes the build to be split into chunks - where the page component code is a separate file from the main index.js. For the user, this means that when they load the main page of the app, their browser will download and run the main website code. Then only when the user tries to open a new "page" will the browser download and run the chunk for that page. This reduces the initial load time for the website, with the drawback of increasing the load time on changing pages.
Chunking can happen wherever you like. Perhaps a part of the page opens only when you press a button. You could move that into a separate chunk.
Now, consider SpyLogic. We have only one "page", where you can access the same stuff mostly. As you move to level 3 and sandbox, you see more stuff on the page. Those bits could be chunked? However I think the most value will be in separating the code that uses external modules. So which external modules are most hefty? You can find out with certain tools, but that's for tomorrow

The Vite frontend build output:

'''bash
vite v4.5.0 building for production...
node_modules/pdfjs-dist/build/pdf.js (1982:23) Use of eval in "node_modules/pdfjs-dist/build/pdf.js" is strongly discouraged as it poses security risks and may cause issues with minification.
✓ 1473 modules transformed.
dist/index.html                                        0.60 kB │ gzip:   0.38 kB
dist/assets/UserAvatar-b2331cdf.svg                    0.72 kB │ gzip:   0.41 kB
dist/assets/ResetProgressIcon-b363708c.svg             0.82 kB │ gzip:   0.41 kB
dist/assets/GettingStarted-bf0d26c7.svg                1.13 kB │ gzip:   0.57 kB
dist/assets/Outbox-52eda066.svg                        1.91 kB │ gzip:   0.66 kB
dist/assets/Handbook-f3fef0e4.svg                      2.57 kB │ gzip:   1.14 kB
dist/assets/BotAvatarDefault-2b733540.svg              6.82 kB │ gzip:   2.45 kB
dist/assets/BotAvatarError-3832a85a.svg                9.97 kB │ gzip:   3.79 kB
dist/assets/SmolFace_sm-1ca7e9ff.png                  11.16 kB
dist/assets/SpyLogicLogo_Affirmative-5640804c.png    101.46 kB
dist/assets/SpyLogicLogo-64bfd856.png                101.92 kB
dist/assets/lawyer-6b5663a5.png                      259.48 kB
dist/assets/handler-d4ef693e.png                     265.93 kB
dist/assets/manager-bed549be.png                     367.06 kB
dist/assets/CombinedFonts-bcd34977.ttf             1,177.74 kB
dist/assets/index-b6969a53.css                        43.44 kB │ gzip:   7.92 kB
dist/assets/index-65a4a862.js                      2,570.60 kB │ gzip: 752.97 kB
(!) Some chunks are larger than 500 kBs after minification. Consider:

Using dynamic import() to code-split the application
Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ built in 17.38s
'''

react's lazy method doesn't seem to be working in vite / react. We are reluctant to add a 3rd party module (though loadable-components does do the trick)
I've posted a question to stackoverflow to try and sort the lazy problem


Adds support for twitter videos

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

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


Geofence logs not sent any more for certain locations

Since 02.06.2016 18:38:54 my 'work' fence is no longer logged on the server. Only my 'home' fence still logs.
Needs some more investigation but could be related to the latest updates, also the 'trigger on enter/exit' options are enabled by default but the url entered is empty.
It is unclear from the ui if this applies only to the local callbacks or also to serverside fence logging

This has been fixed after some discussion with @kimar , see caa3576e7d555a5d3538aaec6a4d62229d2a1183
Available as beta release


npm run devserver Doesn't work

Hi Julien, first of all thanks a lot for sharing your knowledge with us. Your tutorial is great.
I'm having some troubles to get it running. When I try: npm run devserver, I get the following error:

<EMAIL_ADDRESS>devserver /Users/davidgaldonhernandez/Documents/AppsMaster/MyApps/WP1/wordpress-hybrid-client
webpack-dev-server --port 8080 --json --progress

0% compileevents.js:154
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE <IP_ADDRESS>:8080
at Object.exports._errnoException (util.js:856:11)
at exports._exceptionWithHostPort (util.js:879:20)
at Server._listen2 (net.js:1227:14)
at listen (net.js:1263:10)
at net.js:1372:9
at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:63:16)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:82:10)
npm ERR! Darwin 13.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "devserver"
npm ERR! node v5.6.0
npm ERR! npm  v3.6.0
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>devserver: webpack-dev-server --port 8080 --json --progress
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>devserver script 'webpack-dev-server --port 8080 --json --progress'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the wordpress-hybrid-client package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     webpack-dev-server --port 8080 --json --progress
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs wordpress-hybrid-client
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls wordpress-hybrid-client
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/davidgaldon/Documents/AppsMaster/MyApps/WP1/wordpress-hybrid-client/npm-debug.log
And if even after the error I go to http://localhost:8080/webpack-dev-server/  I get the following error:
Cannot find module 'node-sass'
@ ./lib/scss/bootstrap.scss 4:14-435
Not sure if the error is clear for your.
Any idea? I've tried with a fresh "npm install", also with "killall node", and it seems there is nothing running in the same port. I've also tried with "sudo", but nothing works and I'm stuck.
Thanks a lot in advance! I will really appreciate any help.

Your port 8080 is already in use
On Apr 22, 2016 6:01 AM, "davidgaldon"<EMAIL_ADDRESS>wrote:

Hi Julien, first of all thanks a lot for sharing your knowledge with us.
Your tutorial is great.
I'm having some troubles to get it running. When I try: npm run devserver,
I get the following error:
<EMAIL_ADDRESS>devserver
/Users/davidgaldonhernandez/Documents/AppsMaster/MyApps/WP1/wordpress-hybrid-client
webpack-dev-server --port 8080 --json --progress
0% compileevents.js:154
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE <IP_ADDRESS>:8080
at Object.exports._errnoException (util.js:856:11)
at exports._exceptionWithHostPort (util.js:879:20)
at Server._listen2 (net.js:1227:14)
at listen (net.js:1263:10)
at net.js:1372:9
at GetAddrInfoReqWrap.asyncCallback as callback
at GetAddrInfoReqWrap.onlookup as oncomplete
npm ERR! Darwin 13.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "devserver"
npm ERR! node v5.6.0
npm ERR! npm v3.6.0
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>devserver: webpack-dev-server
--port 8080 --json --progress
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>devserver
script 'webpack-dev-server --port 8080 --json --progress'.
npm ERR! Make sure you have the latest version of node.js and npm
installed.
npm ERR! If you do, this is most likely a problem with the
wordpress-hybrid-client package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! webpack-dev-server --port 8080 --json --progress
npm ERR! You can get information on how to open an issue for this project
with:
npm ERR! npm bugs wordpress-hybrid-client
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls wordpress-hybrid-client
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!
/Users/davidgaldon/Documents/AppsMaster/MyApps/WP1/wordpress-hybrid-client/npm-debug.log
And if even after the error I go to
http://localhost:8080/webpack-dev-server/ I get the following error:
Cannot find module 'node-sass'
@ ./lib/scss/bootstrap.scss 4:14-435
Not sure if the error is clear for your.
Any idea? I've tried with a fresh "npm install", also with "killall node",
and it seems there is nothing running in the same port. I've also tried
with "sudo", but nothing works and I'm stuck.
Thanks a lot in advance! I will really appreciate any help.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/shprink/wordpress-hybrid-client/issues/215

You were absolutely right. I don't know why I though this port was free. Another version of the same app was in 8080. Thank you so much!
Just in case someone has the same error:
You can find what is in the 8080 with:
lsof -i :8080 | grep LISTEN
Then you get a pid, and you can see what this pid is with:
ps -ef (your_pid)
If the pid is not an important process, you can kill it with:
kill (your_pid)
Then try again "npm run devserver" and hopefully it will works.


Make it work with Typescript

I'm making use of exonum-client using Typescript on NodeJS v10.
I did:
$ npm i @types/node --save
$ npm i exonum-client --save
Now TSLint is giving me this error:
[ts] Could not find a declaration file for module 'exonum-client'. '/Users/username/workarea/node_proj/project/node_modules/exonum-client/lib/index.js' implicitly has an 'any' type.   Try 'npm install @types/exonum-client' if it exists or add a new declaration (.d.ts) file containing 'declare module 'exonum-client';'
I'd request that $ npm i @types/exonum-client is made available. If not, then kindly supply a exonum-client/index.d.ts with exports and declarations done properly.

@sim4life Could you please add your code example? And the way how you connect to Exonum lib in your app. Thanks for your feedback

Thanks for getting back.
The basic import of exonum-client doesn't work with typescript:
import Exonum = require('exonum-client') //doesn't work
import * as Exonum from 'exonum-client'; //doesn't work

@sim4life I tried to repeat your problem, but my connection to Exonum works correctly. I use exonum-client ^0.10.0, typescript ~2.7.2 and angular ^6.0.3 for sample. So if it possible I need more information about your project (What framework do you use Angular or React?) and about versions of Exonum-client and TS.

I'm getting this error, with a red curly underlining, on Visual Studio Code with TSLint:
[ts] Could not find a declaration file for module 'exonum-client'. '/Users/username/workarea/node_proj/silsilah/node_modules/exonum-client/lib/index.js' implicitly has an 'any' type.   Try 'npm install @types/exonum-client' if it exists or add a new declaration (.d.ts) file containing 'declare module 'exonum-client';

@sim4life Now we don't have the normal support of ts and we don't have @types/exonum-client. Now you can have a solution to the problem like this https://github.com/Microsoft/TypeScript/issues/15031
We will appreciate if you can help us with support ts 😌


Creating new character and not saving info breaks app

Looks like the app increments character index too early before any actual info is saved/character generated. This can be replicated by creating a new character without saving any information and then closing the tab. It then has an index of one greater than it should without a character to load which results in a JS error.

Thanks for the issue post. I'm sorry, I can't replicate the described bug. It would be really helpful if you could provide more details so I can investigate. I would really appreciate what computer/device you are using, the OS, the browser and its version number. Also, detailed step by step instructions to reach the JS error. And what the error in the console reads if possible.
Thanks for taking time to feedback, I appreciate it.

Unable to replicate bug, closing the issue.


vague Custom Authenticator

Hi.
I created a java class that implements IAuthenticator interface to do a custom process.
Where do I have to place this class now?Because When I added it to moquette.conf file , it gives me ClassNotFoundException.
thanks a lot...

Pack your class as jar
Put jar into lib folder.
Using full class name in .conf

I just did it yesterday. :>

can you show me an example for step(3)?
I did these steps too and use the below in the .conf file:
authenticator_class mypackageName.myClassName

But I will receive ClassNotFoundException error.

It's my setting in .conf,
authenticator_class net.turbidness.mqtt.IAuthenticator
authorizator_class net.turbidness.mqtt.IAuthorizator

thank you very much.
I solved it.
My problem was due to miss-typing in the path.


Higher dimension data support

Hi,
I just started to look into your work and really like it.
I started out with the LUCAS example, and wonder if you have any plan to support high dimension features?
For example: I have a data set where feature 1 is an array of length L but feature 2 is just a single number.
Thanks for the great work, and thanks for using Pytorch.
Cheers,

Hi,
Thanks for your interest. Not many algorithms manage this kind of data ;
only one that I know of would be RCC, but I haven't done the adaptation I
think. (I'll do it at the end of the month).
However, it might bring some biased results to perform causal discovery on
data unbalanced in the number of dimensions, as an asymmetry is given by
the dimensions of the data. It's my take on this though, and it would be
interesting to check.
Best,
Diviyan
On Wed, Aug 1, 2018, 22:00 thongnnguyen<EMAIL_ADDRESS>wrote:

Hi,
I just started to look into your work and really like it.
I started out with the LUCAS example, and wonder if you have any plan to
support high dimension features?
For example: I have a data set where feature 1 is an array of length L but
feature 2 is just a single number.
Thanks for the great work, and thanks for using Pytorch.
Cheers,
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Diviyan-Kalainathan/CausalDiscoveryToolbox/issues/8,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATuWdHCJLjTlCPbn7UnckOkFOTFXlITdks5uMdeZgaJpZM4Vq1GB
.

Honestly, I don't think we'll implement this into the CDT any time soon. I will close the issue, but refer to it if I ever adapt all the algorithms to a generic multidimensionnal input.


Is there a way to detect Automated install?

Since user input validators do not work in unattended mode, I've added Panel validator, which is triggered after specific Panel switch.
The problem is that in GUI/console mode both validators are invoked, while unattended install only uses Panel validator.
So I am trying to get some sort of flag when automated installation is triggered, which can be passed to condition as variable and later be used in validator class="some class" conditionid="automated" tag.
I have not found any traces of such flag in sources, but think that this line can be added:
https://github.com/yukron/izpack/commit/9ca9cdd4583b201028f5db642db61cb99f38f043

This is not necessary. There is a static public method
com.izforge.izpack.installer.bootstrap.Installer.getInstallerMode()

available. Just pick the correct value to compare:
Installer.getInstallerMode() == Installer.INSTALLER_AUTO

Running in Windows:
java -jar myInstaller.jar -options C:\some.properties

Installer.getInstallerMode() returns 2 (INSTALLER_CONSOLE), while Installer.INSTALLER_AUTO equals 1.
Omitting -options c:\some.properties makes Installer.getInstallerMode() returns 0 (INSTALLER_GUI).

OK, I think I got it: 'real' automated instllations only works with some-file.xml input, not *.properties files. Which means that unattended installations triggered by -options file.properties are being proccesed by launchConsoleInstaller and in fact are 'fake' automated installations.
Looks like I need another way of detecting if -options argument was called so I can set my conditions.

Yes, the - options mode is different.
Currently, the AUTO_MODE is really set just if you use an auto-install xml record file as parameter.
Could be probably improved, not sure at the moment.
Not for 5.0, there should come in just major bugs to release it soon.
But we can file a change for 5.0.X bug fix releases or 5.1.

I think this can be added to resolve my issue:
https://github.com/yukron/izpack/commit/611916a3154a9393eb48baef00efb01c13f7bca4
Just allowing to get current consoleAction (in my case it is 2 or CONSOLE_FROM_TEMPLATE, which corresponds to -options argument), so we can do the following compare:
// Let's skip Panel validation in case no there is no -options argument.
if (Installer.getConsoleMode() != Installer.CONSOLE_FROM_TEMPLATE) {
    return Status.OK;
}

Should do a pull-request?

You can send pull requests whenever you want.
Unfortunately I cannot review this immediately, maybe someone else can.
In each case this is an API change, should not go to 5.0.0 release in case it will be reviewed successfully, but to a later one (probably 5.0.1 or 5.1).

Ok, thanks.


[Feat] adding --version

adding a --version flag to the program would be a valuable enhancement.
Versions communicate changes, improvements, and fixes in the software, allowing users to be informed about what has changed in each release.

The project is currently unstable and unversioned and will not be versioned until a stable v1.0 is released.

We can still support a version flag, but there is not plan to release official "alpha" or "0.1.x" versions before v1.0.


Standarize exit codes to constants across console commands

From discussion in #1622.
Right now, all console commands (with the slight exception of error codes for status) use magic integers for returns of exit codes. Phinx should define constants under a class to have a central place for where these constants are defined. My vote would be in the AbstractCommand base class, and would include moving the two existing commands in the Manager to there as well:
https://github.com/cakephp/phinx/blob/6b1c0edb507bb5b3ffb5056015a75b32052b6489/src/Phinx/Migration/Manager.php#L76-L84
Finally, there should be a consensus on when a command should throw an exception and when to print <error> and return an exit code and it seems somewhat inconsistent at this point with some potentially only throwing exceptions (create, seed:create), some doing a mix (rollback) and some only doing error codes(migrate).

Do you want to make a PR here?


Blank settings editor when offline

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.86
OS Version: W10 22H2

Steps to Reproduce:

Install in offline Environment
Open Settings
No settings (loading after 1-2 minutes)
Connect via ssh to server
Open Settings
No settings (never loading)

I have the exact same problems with 1.86 as in #195722.
The settings might load after around 1-2 minutes.
When connecting via remoteSSH addon from offline PC to offline server, the settings never load.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Could you open devtools by running the "Developer: Toggle Developer Tools" command in the Command Palette and replying back with any settings or Settings editor errors or warnings that show up?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

Updated to 1.87.0 still in offline environment.
Still a blank page
Developer Tools show error in console
It takes around 30-60s for the settings to appear. The exact moment they appear, an error appears in Console of dev tools.
I looks like it waits for a timeout to occur.


Cant Control Rocket After Clicking on SAT Dish or Antenna

its described in the title. When clicking on the SAT dish or antenna, no matter what, even if a capsule is there, it removes control of the rocket. video - https://drive.google.com/file/d/1s5gHCPw1kq_u1eBnJOFRQsBNUAbDvH-Y/view?usp=sharing
so far its happened on both 2.0.0 and 2.1.0 (Recording was on 2.1.0)

@Juses-Official , I watched the video and everything looks fine. The telecommunications dish and antenna have a special behavior, they are not decorative parts. You can see how it works in this link, the tutorial say this:

Once activated, the antenna will connect to the space center antenna and allow the rocket to be controlled.

Oh, that makes sense, thanks. I must've not paid attention to the tutorial as I kind of glossed over it, lesson learned!


Fix/update es mapping

Update elasticsearch mapping to rm non-required fields, as per issue #243.
The PUT req to configure elasticsearch should update the template. Note: This applies to indices created after mc-search-00001
Made an update to get elasticsearch keys from the index template (single source of truth)

Thought/question: have you tested querying across indices with different schemas to make sure it isn't an issue (as it was with solr)?

Thought/question: have you tested querying across indices with different schemas to make sure it isn't an issue (as it was with solr)?

Tested this without an issue, the workaround in such a scenario would be to specify the fields to return in the query using _"source": ["field1","field2"]`


if a future required task throws a warning, report the date when that task is required

https://issues.redhat.com/browse/RHTAPBUGS-1079

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (8b69612) 100.00% compared to head (16584f7) 100.00%.
Report is 4 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff            @@
##              main      #848   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           91        91
  Lines         4095      4127   +32
=========================================
+ Hits          4095      4127   +32

Files
Coverage Δ

policy/lib/tekton/pipeline.rego
100.00% <100.00%> (ø)

policy/lib/tekton/task.rego
100.00% <100.00%> (ø)

policy/lib/tekton/task_test.rego
100.00% <100.00%> (ø)

policy/pipeline/required_tasks.rego
100.00% <100.00%> (ø)

policy/pipeline/required_tasks_test.rego
100.00% <100.00%> (ø)

policy/release/attestation_task_bundle.rego
100.00% <100.00%> (ø)

policy/release/attestation_task_bundle_test.rego
100.00% <100.00%> (ø)

policy/release/buildah_build_task.rego
100.00% <100.00%> (ø)

policy/release/buildah_build_task_test.rego
100.00% <100.00%> (ø)

policy/release/lib/attestations_test.rego
100.00% <100.00%> (ø)

... and 3 more

... and 2 files with indirect coverage changes

@joejstuart, can you squash the commits before merging?


Coredumps when drawing Unicode block characters

Description
When attempting to draw box drawing characters, contour attempts to free() an invalid pointer and dumps core.
Environment

Contour Version or Git commit hash: 2814f42f705756cd2dbaeb8579618801c714c7fd
Operating System (name / distribution / version): Debian GNU/Linux 11
Contour configuration: None
TERM environment variable: xterm-256color
Compiler version: g++ 10.2.1

Steps to Reproduce

Install ugrep
Try running ugrep 0..10FFFF which will show every assigned unicode character.
Eventually, Contour will crash

The point appears to be in the range of box drawing glyphs (U+2500) as I'm able to get it to coredump immediately when I type:
ugrep box draw

Update:
This does not crash:
ugrep 2500..70

Nor does this:
ugrep 2580..FF

But this crashes:
ugrep 2570..F

Tested with embedded FT and HB (-DCONTOUR_BUILD_WITH_EMBEDDED_FT_HB=ON).
ugrep box draw - can't reproduce
ugrep 2570..F - can't reproduce
$ ugrep 0..10FFFF > out it's too long, so I interrupted it.
It will be very useful to know the versions of FreeType, HarfBuzz and UnicodeData.txt

That's interesting! Font rendering could be the issue. In particular, perhaps my machine is using a corrupt font for just those characters. The weird thing is that it doesn't affect any other terminals. I'm using FreeType 2.10.4:

$ apt policy libfreetype6-dev
libfreetype6-dev:
Installed: 2.10.4+dfsg-1
Candidate: 2.10.4+dfsg-1
Version table:
*** 2.10.4+dfsg-1 500
500 http://deb.debian.org/debian bullseye/main amd64 Packages
100 /var/lib/dpkg/status

I just tried XTerm (which is linked with the same version of FreeType) and it had no issue. It is not linked with harfbuzz, though. My harfbuzz is 2.7.4-1.

$ apt policy libharfbuzz-dev
libharfbuzz-dev:
Installed: 2.7.4-1
Candidate: 2.7.4-1
Version table:
*** 2.7.4-1 500
500 http://deb.debian.org/debian bullseye/main amd64 Packages
100 /var/lib/dpkg/status

My UnicodeData.txt is version 13.0.0, but I'm pretty sure that is unrelated.

So, I ran it under a debugger and have narrowed the crash down to src/terminal_renderer/BoxDrawingRenderer.cpp:512. The name of the file implies Contour is treating box drawing characters special, which leads me to think the problem is not in FreeType, HarfBuzz, or UnicodeData.txt.
gdb
(gdb) run
Starting program: src/contour/src/contour/contour
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[error] Superfluous config key found: profiles.main.font.regular
[error] Superfluous config key found: profiles.main.hyperlink_decoration.default
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff649d537 in __GI_abort () at abort.c:79
#2  0x00007ffff64f6768 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff6604e2d "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#3  0x00007ffff64fda5a in malloc_printerr (str=str@entry=0x7ffff660305a "free(): invalid pointer") at malloc.c:5347
#4  0x00007ffff64ffca6 in free_check (mem=0x1b1cb10, caller=<optimized out>) at hooks.c:255
#5  0x000000000056e450 in __gnu_cxx::new_allocator<unsigned char>::deallocate(unsigned char*, unsigned long)
    (__t=<optimized out>, __p=<optimized out>, this=0x7fffffffcd80) at /usr/include/c++/10/ext/new_allocator.h:133
#6  std::allocator_traits<std::allocator<unsigned char> >::deallocate(std::allocator<unsigned char>&, unsigned char*, unsigned long)
    (__n=<optimized out>, __p=<optimized out>, __a=...) at /usr/include/c++/10/bits/alloc_traits.h:492
#7  std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_M_deallocate(unsigned char*, unsigned long)
    (__n=<optimized out>, __p=<optimized out>, this=0x7fffffffcd80) at /usr/include/c++/10/bits/stl_vector.h:354
#8  std::_Vector_base<unsigned char, std::allocator<unsigned char> >::~_Vector_base() (this=0x7fffffffcd80, __in_chrg=<optimized out>)
    at /usr/include/c++/10/bits/stl_vector.h:335
#9  std::vector<unsigned char, std::allocator<unsigned char> >::~vector() (this=0x7fffffffcd80, __in_chrg=<optimized out>)
    at /usr/include/c++/10/bits/stl_vector.h:683
#10 std::_Optional_payload_base<std::vector<unsigned char, std::allocator<unsigned char> > >::_M_destroy() (this=0x7fffffffcd80)
    at /usr/include/c++/10/optional:260
#11 std::_Optional_payload_base<std::vector<unsigned char, std::allocator<unsigned char> > >::_M_reset() (this=0x7fffffffcd80)
    at /usr/include/c++/10/optional:280
#12 std::_Optional_payload<std::vector<unsigned char, std::allocator<unsigned char> >, false, false, false>::~_Optional_payload()
    (this=0x7fffffffcd80, __in_chrg=<optimized out>) at /usr/include/c++/10/optional:401
#13 std::_Optional_base<std::vector<unsigned char, std::allocator<unsigned char> >, false, false>::~_Optional_base()
    (this=0x7fffffffcd80, __in_chrg=<optimized out>) at /usr/include/c++/10/optional:474
#14 std::optional<std::vector<unsigned char, std::allocator<unsigned char> > >::~optional() (this=0x7fffffffcd80, __in_chrg=<optimized out>)
    at /usr/include/c++/10/optional:659
#15 terminal::renderer::BoxDrawingRenderer::getDataRef(unsigned char) (this=0x80c5c8, _id=113 'q')
    at src/contour/src/terminal_renderer/BoxDrawingRenderer.cpp:512
#16 0x000000000056e83b in terminal::renderer::BoxDrawingRenderer::render(crispy::boxed<int, terminal::detail::tags::LinePosition>, crispy::boxed<int, terminal::detail::tags::Column>, unsigned char, terminal::RGBColor) (this=this@entry=0x80c5c8, _line=..., _column=..., _id=<optimized out>, _color=...)
    at src/contour/src/terminal_renderer/BoxDrawingRenderer.cpp:456
#17 0x000000000057b635 in terminal::renderer::TextRenderer::renderCell(terminal::RenderCell const&) (this=this@entry=0x80c540, _cell=...)
    at src/contour/src/terminal_renderer/TextRenderer.cpp:137
#18 0x00000000005751ea in terminal::renderer::Renderer::renderCells(std::vector<terminal::RenderCell, std::allocator<terminal::RenderCell> > const&)
    (this=this@entry=0x80c278, _renderableCells=<optimized out>) at src/contour/src/terminal_renderer/Renderer.cpp:340
#19 0x0000000000575341 in terminal::renderer::Renderer::render(terminal::Terminal&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l,<PHONE_NUMBER>l> > >, bool) (this=this@entry=0x80c278, _terminal=..., _now=..., _pressure=_pressure@entry=false)
    at src/contour/src/terminal/RenderBuffer.h:61
#20 0x0000000000561307 in contour::opengl::TerminalWidget::paintGL() (this=0x80c1f0) at src/contour/src/contour/opengl/TerminalWidget.cpp:449
#21 0x00007ffff7951c5d in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff7933fae in QWidget::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x0000000000564ea8 in contour::opengl::TerminalWidget::event(QEvent*) (this=0x80c1f0, _event=0x7fffffffd140)
    at src/contour/src/contour/opengl/TerminalWidget.cpp:571
#24 0x00007ffff78f415f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007ffff6c17fca in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007ffff792c116 in QWidgetPrivate::sendPaintEvent(QRegion const&) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff7904ba8 in  () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff79346d7 in QWidget::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff78f415f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007ffff6c17fca in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007ffff6c1aa01 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007ffff6c6fe93 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007ffff62dae6b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007ffff62db118 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007ffff62db1cf in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007ffff6c6f51f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007ffff6c1698b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007ffff6c1ec00 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00000000004d6a09 in contour::terminalGUI(int, char const**, crispy::cli::FlagStore const&) (argc=<optimized out>, argv=0x7fffffffe638, _flags=...) at src/contour/src/contour/ContourGuiApp.cpp:188
#40 0x0000000000581edd in std::function<int ()>::operator()() const (this=0x668230) at /usr/include/c++/10/bits/std_function.h:622
#41 crispy::App::run(int, char const**) (this=this@entry=0x7fffffffe360, argc=argc@entry=1, argv=argv@entry=0x7fffffffe638) at src/contour/src/crispy/App.cpp:242
#42 0x00000000004d4852 in contour::ContourGuiApp::run(int, char const**) (this=this@entry=0x7fffffffe360, argc=argc@entry=1, argv=argv@entry=0x7fffffffe638) at src/contour/src/contour/ContourGuiApp.cpp:52
#43 0x000000000048e7fb in main(int, char const**) (argc=1, argv=0x7fffffffe638) at src/contour/src/contour/main.cpp:24
(gdb) up
#1  0x00007ffff649d537 in __GI_abort () at abort.c:79
79      abort.c: No such file or directory.
(gdb)
#2  0x00007ffff64f6768 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff6604e2d "%s\n") at ../sysdeps/posix/libc_fatal.c:155
155     ../sysdeps/posix/libc_fatal.c: No such file or directory.
(gdb)
#3  0x00007ffff64fda5a in malloc_printerr (str=str@entry=0x7ffff660305a "free(): invalid pointer") at malloc.c:5347
5347    malloc.c: No such file or directory.
(gdb)
#4  0x00007ffff64ffca6 in free_check (mem=0x1b1cb10, caller=<optimized out>) at hooks.c:255
255     hooks.c: No such file or directory.
(gdb)
#5  0x000000000056e450 in __gnu_cxx::new_allocator<unsigned char>::deallocate (__t=<optimized out>, __p=<optimized out>, this=0x7fffffffcd80)
    at /usr/include/c++/10/ext/new_allocator.h:133
133             ::operator delete(__p
(gdb)
#6  std::allocator_traits<std::allocator<unsigned char> >::deallocate (__n=<optimized out>, __p=<optimized out>, __a=...)
    at /usr/include/c++/10/bits/alloc_traits.h:492
492           { __a.deallocate(__p, __n); }
(gdb)
#7  std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_M_deallocate (__n=<optimized out>, __p=<optimized out>, this=0x7fffffffcd80)
    at /usr/include/c++/10/bits/stl_vector.h:354
354               _Tr::deallocate(_M_impl, __p, __n);
(gdb)
#8  std::_Vector_base<unsigned char, std::allocator<unsigned char> >::~_Vector_base (this=0x7fffffffcd80, __in_chrg=<optimized out>)
    at /usr/include/c++/10/bits/stl_vector.h:335
335             _M_deallocate(_M_impl._M_start,
(gdb)
#9  std::vector<unsigned char, std::allocator<unsigned char> >::~vector (this=0x7fffffffcd80, __in_chrg=<optimized out>)
    at /usr/include/c++/10/bits/stl_vector.h:683
683           }
(gdb)
#10 std::_Optional_payload_base<std::vector<unsigned char, std::allocator<unsigned char> > >::_M_destroy (this=0x7fffffffcd80)
    at /usr/include/c++/10/optional:260
260             _M_payload._M_value.~_Stored_type();
(gdb)
#11 std::_Optional_payload_base<std::vector<unsigned char, std::allocator<unsigned char> > >::_M_reset (this=0x7fffffffcd80) at /usr/include/c++/10/optional:280
280               _M_destroy();
(gdb)
#12 std::_Optional_payload<std::vector<unsigned char, std::allocator<unsigned char> >, false, false, false>::~_Optional_payload (this=0x7fffffffcd80,
    __in_chrg=<optimized out>) at /usr/include/c++/10/optional:401
401           ~_Optional_payload() { this->_M_reset(); }
(gdb)
#13 std::_Optional_base<std::vector<unsigned char, std::allocator<unsigned char> >, false, false>::~_Optional_base (this=0x7fffffffcd80,
    __in_chrg=<optimized out>) at /usr/include/c++/10/optional:474
474         struct _Optional_base
(gdb) up
#14 std::optional<std::vector<unsigned char, std::allocator<unsigned char> > >::~optional (this=0x7fffffffcd80, __in_chrg=<optimized out>)
    at /usr/include/c++/10/optional:659
659         class optional
(gdb)
#15 terminal::renderer::BoxDrawingRenderer::getDataRef (this=0x80c5c8, _id=113 'q') at src/contour/src/terminal_renderer/BoxDrawingRenderer.cpp:512
512             auto tmp = build(_id, gridMetrics_.cellSize, gridMetrics_.underline.thickness);
(gdb) list 500,524
500             }();
501             auto const supersamplingSize = gridMetrics_.cellSize * supersamplingFactor;
502             auto const supersamplingLineThickness = gridMetrics_.underline.thickness * 2;
503             auto tmp = build(_id, supersamplingSize, supersamplingLineThickness);
504             if (!tmp)
505                 return nullopt;
506
507             //buffer = downsample(*tmp, gridMetrics_.cellSize, supersamplingFactor);
508             buffer = downsample(*tmp, 1, supersamplingSize, gridMetrics_.cellSize);
509         }
510         else
511         {
512             auto tmp = build(_id, gridMetrics_.cellSize, gridMetrics_.underline.thickness);
513             if (!tmp)
514                 return nullopt;
515             buffer = move(*tmp);
516         }
517
518         return textureAtlas_->insert(
519             _id,
520             gridMetrics_.cellSize,
521             gridMetrics_.cellSize,
522             move(buffer)
523         );
524     }
(gdb) up
#16 0x000000000056e83b in terminal::renderer::BoxDrawingRenderer::render (this=this@entry=0x80c5c8, _line=..., _column=..., _id=<optimized out>, _color=...)
    at src/contour/src/terminal_renderer/BoxDrawingRenderer.cpp:456
456         auto data = getDataRef(_id);
(gdb) down
#15 terminal::renderer::BoxDrawingRenderer::getDataRef (this=0x80c5c8, _id=113 'q') at src/contour/src/terminal_renderer/BoxDrawingRenderer.cpp:512
512             auto tmp = build(_id, gridMetrics_.cellSize, gridMetrics_.underline.thickness);
(gdb) p _id
$6 = 113 'q'
(gdb) p gridMetrics_ .cellSize
$7 = {
  width = {
    value = 10
  },
  height = {
    value = 19
  }
}
(gdb) p gridMetrics_.underline.
position   thickness
(gdb) p gridMetrics_.underline.thickness
$8 = 2

Holy weck? You can disable built-in box drawing per config. But that should be fixed ASAP. Thanks.

Note, I was trying to reproduce your box drawing crash but I couldn't. I think this bug report in general is about two things (right?)

[ ] box drawing crash (at least on your side)
[x] ugrep 0..10FFF will crash (reason known, fix is available in my WIP grid branch.

While the latter I think i cannot add into a bugfix release (0.2.1) the other one I try to fix within this ticket for 0.2.1.
I'm currently on OS/X, will be trying to reproduce the box drawing crash on Linux.

I had intended this bug report to only be for the box drawing crash. I did not know about the other bug.
By the way, I checked out the improvement/grid branch and I still get "free(): invalid pointer" at BoxDrawingRenderer.cpp:512 when showing the box drawing characters (ugrep box draw).

i am seeing a similar minmap_chunk(): invalid pointer SIGABRT when running notcurses-info in current contour, and have been for a minute:
[schwarzgerat](0) $ contour
[error] Superfluous config key found: scrollbar.position
[error] Superfluous config key found: scrollbar.hide_in_alt_screen
[error] Superfluous config key found: scrollbar
[error] Superfluous config key found: profiles.main.font.only_monospace
[error] Superfluous config key found: profiles.main.tab_width
[error] Superfluous config key found: profiles.main.hyperlink_decoration.default
[vt.parser:dankamongmen/contour/src/terminal/Sequencer.cpp:1271] Unknown VT sequence: CSI > u
[vt.parser:dankamongmen/contour/src/terminal/Sequencer.cpp:1271] Unknown VT sequence: CSI = 1 u
[vt.parser:dankamongmen/contour/src/terminal/Sequencer.cpp:1271] Unknown VT sequence: CSI ? u
[vt.parser:dankamongmen/contour/src/terminal/Sequencer.cpp:1304] Unsupported VT sequence: CSI = c
[vt.parser:dankamongmen/contour/src/terminal/Sequencer.cpp:1301] Invalid VT sequence: CSI ? 8452 h
[vt.parser:dankamongmen/contour/src/terminal/Sequencer.cpp:1304] Unsupported VT sequence: CSI > 1 s
munmap_chunk(): invalid pointer
Aborted (core dumped)
[schwarzgerat](134) $

i am seeing a similar minmap_chunk():

I need more unit tests. I think that is the next ticket i gonna tackle.

Talking to my very self here: I could repro it, thanks to godlike notcurses-info :)

it's all about my crappy box drawing. will locate and fix it.

$ ugrep 0..10FFFF > out it's too long, so I interrupted it.

@data-man reason for the "too long" is that current glyph and text cache is an unordered_map. That has changed in the grid branch to an LRU cache (on many places). But branch sadly isn't ready yet (due to other reasons).

It will be very useful to know the versions of FreeType, HarfBuzz and UnicodeData.txt

freetype: 2.10.4+dfsg-1
harfbuzz: 2.7.4-1
unicode-data: 14.0.0-1
standard debian unstable

Meh. It is most likely nothing to do with FT or HB. But thanks. 💟

@dankamongmen if you check out the above branch from #436 then notcurses-info at least does not SEGV for me anymore. thanks to your awesome project I keep hardening my code :+1:
@hackerb9 not sure this will also satisfy your bug report, I hope so. so maybe you want to give that branch a test as well?
On the other hand, I'll be merging that fix for sure into master, so if you don't read me within the next 5 minutes, you can as well just test latest master :-)
Happy hacking.

@christianparpart confirmed fix for notcurses-info, thanks!
btw i saw some comments about line/box drawing; if you get those sextants done, let me know, so i can credit contour with 3x2 cell blitting.

@christianparpart confirmed fix for notcurses-info, thanks!
btw i saw some comments about line/box drawing; if you get those sextants done, let me know, so i can credit contour with 3x2 cell blitting.

Are you referring to #419 (especially this) Help me catching up, please :)

https://www.unicode.org/charts/PDF/U2580.pdf is the new eighths cells. i use them for plots. i refer to 1FB00 through 1FB3B. here's a screenshot of notcurses-info in kitty, with the sextants circled:

yours are probably using the font, and look much less tidy.

btw the kitty/foot renderings are pretty much the reference renderings

here's what i see for you

@dankamongmen let me do that pixel-perfect for you, let me make you happy ;-)

i refer to 1FB00 through 1FB3B. here's a screenshot of notcurses-info in kitty

For 2580..2590 I have just implemented (see draft PR linked above). The rest will follow.
BUT I just realized that the emoji line in kitty looks evenly spaced. But how's that possible when the codepoint's width is not alwasy 2 but 1 for a few. I currently strictly obey to EA width. Do you do anything different or is this kitty? (p.s.: there's a draft spec to have those oddities sorted out in https://github.com/contour-terminal/terminal-unicode-core that I want to push for soon - I just need to eat and sleep first though :) )

I think this one is fixed now. Ideally @hackerb9 would confirm it for his case. But i'm closing as I'm pretty confident it is. :-)

BUT I just realized that the emoji line in kitty looks evenly spaced. But how's that possible when the codepoint's width is not alwasy 2 but 1 for a few. I currently strictly obey to EA width. Do you do anything different or is this kitty? (p.s.: there's a draft spec to have those oddities sorted out in https://github.com/contour-terminal/terminal-unicode-core that I want to push for soon - I just need to eat and sleep first though :) )

kitty does all kinds of crap under the hood regarding wide chars, which you can find in its docs (don't have time to pull it up atm sorry). others draw everything a single column wide. emoji are kind of a crapshoot. i have some ideas regarding how to deal with them better, but it's notcurses 4 material.
wezterm recently changed how it did emoji and they look awesome there.

I am all open for your feedback on the above unicode cute proposal that i drafted.
It isn't hard to implement but gives us some beers good guarantees that were undefined since ever. So far i only got (constructive)positive feedback from jerch and j4james, but i did not ask a library/app devs yet. Maybe see #404 :)

@christianparpart

reason for the "too long" is that current glyph and text cache is an unordered_map.

It's slow in any terminal. :)

It is most likely nothing to do with FT or HB.

I asked about the versions because support Unicode 14.0 was only added to HarfBuzz 3.0.

I think this one is fixed now. Ideally @hackerb9 would confirm it for his case. But i'm closing as I'm pretty confident it is. :-)

Yup, you fixed it!
[Sorry for the delay. I hadn't been able to recompile contour as cmake's package manager was hanging on trying to install catch2. I gave up on trying to figure out why and just did an apt install catch2; git clean -f and now all is well.]

I think this one is fixed now. Ideally @hackerb9 would confirm it for his case. But i'm closing as I'm pretty confident it is. :-)

Yup, you fixed it!
[Sorry for the delay. I hadn't been able to recompile contour as cmake's package manager was hanging on trying to install catch2. I gave up on trying to figure out why and just did an apt install catch2; git clean -f and now all is well.]

@data-man This is due to the CPM related dependency updates. Is this a CPM thingy or is there any way to mitigate this? I keep having the same issue and it sometimes drives me nuts
Can you add some leading space(s) in front of your ugrep lines. This is sometimes so unreadable. Also fonttable would be nice to accept a list of ranges of Codepoints that i want it to print. Do you want me to create a ticket for these?

Yes, please create tickets. I'm not clear on what the readability problem is.

@christianparpart
I think the built-in tests should be disabled in all third-party libraries. I'll check.

@data-man I didn't have Catch2 installed before and didn't have the problem until suddenly I did. I'm not sure what I did differently, perhaps make clean after a git pull? Except I'm sure that's worked before. Also, something in the CPM cache was stubbornly stuck and I had to nuke it to get cmake to recognize my system now has Catch2.
Is there a way people can disable CPM and instead simply list any missing libraries? (Besides this weird error, I prefer using libraries my distribution's security team has vetted.)

@hackerb9 How do you compile Contour?
Unit tests are enabled by default. Please try with -DCONTOUR_TESTING=OFF.
@christianparpart

I think it isn't a too bad idea to first check via find_package()

We use Catch2 v3. I doubt this version exists in all popular OS repositories.

@hackerb9 How do you compile Contour? Unit tests are enabled by default. Please try with -DCONTOUR_TESTING=OFF.

I'm building with:
cmake -DCMAKE_BUILD_TYPE=RELWITHDEBINFO .  &&  make -j

It's compiling fine at the moment , but I'll try turning off unit tests if it gives me more guff.

We use Catch2 v3. I doubt this version exists in all popular OS repositories.

Oh, I see that you are correct. Cmake was ignoring the system version of catch2 I had installed. I guess the git clean -f` was what cmake needed to be able to get past whatever was hanging up CPM.


Added Playground Test File

Closes Issue #6019
Changes proposed

I have created a Basic Test for the Playground Page of LinkFree.

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Hey @eddiejaoude I have created Draft PR for the Basic Test for Playground Page. Please review it and if everything is fine then I will raise the PR.


The latest version of the plugin is completely buggy on the mobile version.

In the latest version, when you try to open the calendar both with commands and with the icon, not only does the calendar not open, but on some occasions, it completely crashes Obsidian, preventing access to the vault as well (iOS iPad mobile version). In addition, I have noticed that now the task checkboxes do not work correctly, making it impossible to check or uncheck a task. (lates version windows)

@Akira7118 please submit one issue per bug and please use the bug report template. I'm closing this issue for lack of specificity.


Wrong elevation values when driving in tunnel

I got this interesting bug from a friend yesterday. The elevation seems to report wrong value when driving in a tunnel. The correct elevation here should be approx 20 to 30 meters, but it reports over 320 meters.

Any insight on how this is actually calculated and measured?

The elevation is not directly reported by the Tesla API. TeslaMate uses an open dataset providing terrain heights (SRTM data). The great thing about this is that querying locations for elevation data takes place locally on your machine. Therefore, no third party gets your location data. The drawback is that for routes with bridges or tunnels, the elevation cannot be determined correctly.


ERROR setup.sh

The first time you run setup.sh due to the absence of the ./__env/ directory, dependencies are installed in the user's directory, which later causes an error in the start.sh script
WTT-Bridge Setup
./setup.sh: line 9: python: command not found
./setup.sh: line 9: python: command not found
./setup.sh: line 9: python: command not found
./setup.sh: line 10: python3: command not found
./setup.sh: line 10: python3: command not found
Creating virtual environment for python ...
Ensuredip is not created
available. On Debian / Ubuntu systems, you need to install the python3-venv
package using the following command.
apt-get install python3-venv
You can use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.
Failing command: ['/root/WTT-Bridge/__env/bin/python3.6', '-Im', 'ensurepip', '--upgrade', '--default-pip']
./setup.sh: line 36: ./__env/bin/activate: No such file or directory
Requirement already up-to-date: pip in /usr/local/lib/python3.6/dist-packages (19.1.1)
Requirement already satisfied: requests in /usr/local/lib/python3.6/dist-packages (from -r requirements.txt (line 1)) (2.22.0)
Requirement already satisfied: tqdm in /usr/local/lib/python3.6/dist-packages (from -r requirements.txt (line 2)) (4.32.1) ....

Additionally, it may be worth adding the presence of the config.json file in setup.sh and, if it exists, perform only a limited set of commands, without creating whatsapp keys and telegrams if they are already present in config.json

Can you check that you have the python virtual environment module installed by running
apt-get install python3-venv

the module installed but it does not create directory ./__env/
a catalogue appeared after setup.sh but the dependencies are already installed there

I may have broken the installation, sorry

No worries :)
I just see this problem happened here as well, might help you as well.


Using markdown as articles?

Hi,
I'm using a custom-made vue static blog and I wish to migrate to nuxt to get a full static html generation.
The key is all the posts are made with markdown files, with some metadatas. And I’d like to avoid manually making vue files for each post.
How hard would it be to implement? For now I guess I must add a parser as a middleware and add a custom webpack directive to catch md files, am I right?
Thanks for your help!

Hi @EmmanuelBeziat
There is plenty of solutions, hard to say which one is the best.
For nuxtjs.org, I chose to use a microservice which parse all the .md files an create a REST API which serve the HTML directly, for example: https://docs.api.nuxtjs.org/en/guide/commands
See https://github.com/nuxt/docs
You can also store your mardown files to the static folder, use axios to fetch them and use some library to parse the mardown and render the html via the v-html directive.
If you need help don't hesitate :)

Thanks. I know what to do now.
I’m currently mergin all my stuff into Nuxt; it’s fairly simple and powerful. I just tried with some dummy content API for the moment, but I’ll check later how to get my own content.
For the moment, I’m trying to find every answer to my (many) questions in the docs. I’ll let you know if anything bugs me.
Thanks again!

Hi @EmmanuelBeziat , did you solve this?
I am trying to achieve the same thing too. Would be nice if you can share the solution with me 😁

@muhajirframe hi
I did exactly what @Atinux did: I created a rest api in nodejs (here it is if you want)
Then I call the result with axios (example)

Hello @Atinux, I'm trying to achieve fairly same thing to use Nuxt.js for my blog. While figuring out the way to use markdown, I found this issue.
While reading the thread I was wondering: why implement API at all anyway, when we can just include all markdown files into generated outcome and let file system do the job?
In other words, what is, if any, the shortcoming of letting page directly read & parse markdown file by its own compared to making implement API doing just that and call the endpoint instead?
I thought it would be better if I can notice and dodge some pitfalls with this approach before I actually start implementing 😅

Hi @heejongahn
It's a good point, I decided to create an API for multiple points:

Not include libraries to parse Markdown and to highlight the code = Smaller JS bundles sizes (look at this MD page and its result from the API)
The API is synchronised with the Github repository (every commit refresh the content of the API) = No need to rebuild my Nuxt application everytime I update a page.
No markdown parsing on client-side = Faster rendering on client-side
Custom logic to translate the website: https://docs.api.nuxtjs.org/lang (it's a mix a every lang.json from every folder)
I only need to scale my API if I have more traffic, and also use some caching until a new commit comes

Some pitfalls:

I have to start 2 servers (Nuxt.js application + API)
I need to include axios to make API call (but it still lighter that a mardkown parser + hightlight.js)

@Atinux
Thanks for the detailed answer! I'm still not sure which route I'll take (as I would be happier if I can keep nuxt generate + gh-pages = zero server` scheme), but all the points you've made looks perfectly valid to me.
Thank you again for helping out, have a nice day 😇

@heejongahn For exact reason and simplification next releases will include a new option serverMiddleware so there won't needed using an extra API, both benefits of flexibility from dynamic serving and zero server in one place :)

@pi0 That sounds great, can't wait! Thanks for the heads up 👍

I came across this issue whilst looking for a similar solution as @EmmanuelBeziat's original post.
I have also found https://github.com/nuxt-community/nuxtent-module which seems very attractive for this use case. I am wondering:

what is the status of serverMiddleware mentioned by @pi0
would people recommend using nuxtent-module?

many thanks!

I am also interested on @phivk questions. I have not been able to get nuxtent to work. Thanks for any insight! I'd love to create a solid blog with Nuxt that uses local markdown files :)

+1 to this. Nuxtent is currently broken as it's not updated to the new hooks system (issue here, but it seems stale).
The nuxt generate option is very exciting for people (like me) who are looking to port an existing Jekyll site to nuxt. However, existing sites come with a bunch of markdown files and converting them all to vue files is not exactly fun. Furthermore, it raises the bar for non-technical people to contribute fixes to your site's content.
In addition, running a server-side API is goes against the idea of having a statically generated site in the first place.
Is there documentation on what it would take to port nuxtend to the new hooks system?  I'm a bit of a noob when it comes to JS development, but I wouldn't mind putting in the effort as I think this is really a missing piece of the puzzle for me, and many others in a similar situation.

@pi0 I know this thread is pretty old. But could you further explain how serverMiddleware can help achieving a fully static (no api) site in Nuxt?
I mean how could it help avoiding a separate microservice when, say, you are using nuxt generate? Could it be used to somehow preprocess all markdown files and make them accessible as html in static folder?
I also wonder, how to create compound pages? Like a blog post overview page containing a list of the summaries of all posts?
My guess is that as of right now, Nuxt generate is not a good fit for something like that. Because it would involve reading all markdown files at build time and create some kind of date structure (json file?) containing a list of all "posts" to be consumed during generate or during spa mode...

@thenickname Nuxtent now works with the new hooks system and does what you want: https://github.com/nuxt-community/nuxtent-module
I have a fork called nuxtdown that has some more experimental stuff in it: https://github.com/joostdecock/nuxtdown-module


Added Sprint 3 report and video -RC

Completed Sprint 3 report
Completed Sprint 3 video

Merging immediately due to importance


[Bug]: Broken links at HowTo_ImportSBBIcons.md

Preflight Checklist

[X] I have read the Contributing Guidelines for this project.
[X] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Bug type
Other
It affects the following repositories
Other
It affects the following platform (only for flutter)
None
Which release are you using
No response
Additional settings
No response
What happened?
The https://digital.sbb.ch/ links at https://github.com/SchweizerischeBundesbahnen/mobile-ios-design-swiftui/blob/develop/HowTo_ImportSBBIcons.md are broken
Steps to reproduce the issue
Access https://github.com/SchweizerischeBundesbahnen/mobile-ios-design-swiftui/blob/develop/HowTo_ImportSBBIcons.md, click on a https://digital.sbb.ch/ link -> Error
Relevant log output
No response

I opened https://github.com/SchweizerischeBundesbahnen/mobile-ios-design-swiftui/pull/101, will be fixed as soon as it is merged.

PR merged


Update to Sass.js v0.11.1

Update to Sass.js v0.11.1 built on 2019-10-20 (from https://github.com/medialize/sass.js/tree/master/dist)
NOTE: I did not update sass.sync.spk.js which it looks like would be needed to complete this update.

I'm hoping updating sass.js would address #43

Updating to the latest version of sass.js does NOT fix the issue with using CSS's min() / max() functions (see #43 for details) but is still probably a wise idea.


remove stray copyright

https://github.com/apache/openserverless-operator/blob/e4a1acdf9f5c72d6008cb4df4af443cd61c12853/.github/workflows/image.yml#L18
A similar Nuvolaris LLC copyright was added to a similar file in the openserverless-streamer repo.
The Nuvolaris code was granted to the ASF so we shouldn't have Nuvolaris copright statements.

Hi @pjfanning thanks for reporting this issue. A PR has been created for the opernserverless-operator project to fix the issue. Similarly we will fix under the openserverless-streamer

The erroneous Nuvolaris LLC copyright notes have been removed.


Initial Data acquisition

Find and test a basic way to gather data for the project.

[ ] WebToon
[x] Anime #10
[ ] Manga

The file was downloaded and sliced using Webtoon Downloader (https://github.com/Zehina/Webtoon-Downloader), and the characters and speech bubbles were removed using the site's(https://www.photoroom.com/tools/remove-object-from-photo) functions.
The data is in the jhs_dataset branch.

#10

The file was downloaded and sliced using Webtoon Downloader (https://github.com/Zehina/Webtoon-Downloader), and the characters and speech bubbles were removed using the site's(https://www.photoroom.com/tools/remove-object-from-photo) functions.
The data is in the jhs_dataset branch.

We might want to consider not uploading any data, but only the code that generates it and instructions on how to do it.

#12

#14


Adds TS API TSHttpTxnCacheDiskPathGet

This is a backport of the API added by PRs #7783 and #7806.

Closing since @zwoop cherry-picked the original commits into 9.1.x.


[opencl] Update to support OpenCL 3.0

Updates OpenCL library to support OpenCL 3.0

What does your PR fix?
Fixes #23254

Which triplets are supported/not supported? Have you updated the CI baseline?
all: Yes

Does your PR follow the maintainer guide?

Yes

Fixed the license type and changed version to version-semver which more accurately aligns with the OpenCL specification.
I can change it to date based versioning if @Cheney-W disagrees with my reasoning behind my use of the semantic versioning argument I used in my last comment.

Addressed all feedback.


Determine whether a message has been received

From the given options, I'm unable to tell if there is a way for the producer to tell whether his sent message has been picked up by any consumer. Is that supported by this programming model?

I suppose I'm looking for something like a messageExists or isDeleted method, but can't find anything along those lines.

This is implementation/clone of RSMQ in python, which, as far as I remember, did not have this functionality - but it seems like it should be easy one to implement - it is just checking for an ID in Redis...
If you care to submit a patch, I would happily accept it otherwise I will try to get to this and #4 as soon I get some time :-)


[DOCFIX] Fix typo in cn/core-services/Caching.html #14053

Fix #14053
What changes are proposed in this pull request?
Typo:  alluxio.worker.memory.size -> alluxio.worker.ramdisk.size
Why are the changes needed?
fix docs
Does this PR introduce any user facing changes?
documents in Chinese

alluxio-bot, merge this please


Remove version: Redisant.KafkaAssistant version <IP_ADDRESS>

All InstallerUrls returned 404 Not Found

https://github.com/chenjing1294/kafka-assistant-release/releases/download/v<IP_ADDRESS>/KA-<IP_ADDRESS>-windows.zip

Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/chenjing1294/kafka-assistant-release/releases/download/v<IP_ADDRESS>/KA-<IP_ADDRESS>-windows.zip
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 924)

URL: https://github.com/chenjing1294/kafka-assistant-release/releases/download/v<IP_ADDRESS>/KA-<IP_ADDRESS>-windows.zip
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 924)


Relationships doesn't invalidate the cache

Describe the bug
When using Laravel Nova to attach a model to a hasMany relationship, it doesn't invalidate the cache, and the new model doesn't show up until it's manually cleared.
Eloquent Query
Please provide the complete eloquent query that caused the bug, for example:
$model->setRelation(
    $model->{$request->viaRelationship}()->getPivotAccessor(),
    $pivot = $this->findPivot($request, $model)
);
[$pivot, $callbacks] = $resource::fillPivot($request, $model, $pivot);

$pivot->save();

I believe this may be due to the fact that it doesn't really touch the parent tables, as the actual query looks like this:
insert into `complimentary_products` (`coupon_id`, `product_id`) values ('1', '3')

where it then should invalidate the cache for coupon 1 or atleasts it's products, and for product 3 or atleast for it's coupons.
Any thoughts on this?
PHP Version | 7.2.4
Laravel Version | 5.6.34
Nova Version | 1.0.5

Duplicate of #127 albeit not lazyloading

Reopening as it doesn't seem to be related afterall. I think it may be because it's being inserted through the eloquent relationship, and therefore it doesn't fire the static::pivotAttached that is being listener for in the ModelCaching.
I'll look for ways to solve this.

It's possible to overpower this, if you set the $touches array on the pivot Model, but it's not optimal

The best way i found was to add disableCache() to the relationship declaration...
I'll investigate whether it happens with other relationships too.
PS. this has nothing to do with Laravel Nova. I tested it with Tinker too, and same thing happened, the cache wasn't invalidated/

@JapSeyz Thanks, I will look into this as soon as I get some time. :)

@JapSeyz I believe this is because setRelation does not persist the relationship data, and I don't think it is meant to. Rather, it is a method to override associated objects during run-time.
I would look into another way of persisting your relationships other than using setRelation. At this time this is not something that I believe needs to be addressed in this library.
However, $pivot->save() should trigger this clearing of the cache. Can you provide more information about what your $pivot object is? If it's a model it will need to use Cachable as well. It is good practice to use explicit models instead of inserting things via pivot methods on relationships. If a pivot table holds more than just the relationship IDs, then it should act as a full model. This principle has saved me a ton of work and worry over the years.
I'm closing this for now. Feel free to reopen with additional information.


Does this module support running in cluster mode with more than one task?

Hi,
I couldn't find explicit information about this module saying it does support running more than one task in mongo cluster mode..
Can you tell me if it is supported?
Thanks.
Regards,

Hello @marcossv9
This module is a basic single node implementation of Mongo on ECS. Currently, there is no support for running more than one Mongo task on the cluster.
Thanks & Regards


Privilege "Data Warehouse Data Integration"  with READ perimission is a GLOBAL privilege.

Issue description
Privilege "Data Warehouse Data Integration"  with READ perimission is a GLOBAL privilege.
For“creating DATA Product" from DataSharingcockpit >>"My Data Products”,  the developers would need below two roles:

DW scoped Modeler role plus
READ permission for GLOBAL privilege  "Data Warehouse Data Integration" .

As per SAP's documentation, privilege "Data Warehouse Data Integration"  with "READ" perimission is a SCOPED privilege.
Kindly check  and let us know.
Feedback Type (Optional)
None
Page Title on SAP Help Portal (prefilled)
Privileges and Permissions
Page URL on SAP Help Portal (prefilled)
https://help.sap.com/docs/SAP_DATASPHERE/9f804b8efa8043539289f42f372c4862/d7350c6823a14733a7a5727bad8371aa.html

Dear user
thank you for your feedback. We are having a look at it and will provide an answer soon.
best regards
cindy for the UA team

Dear User,
After a discussion with the development team, we can confirm that the privilege “Data Warehouse Data Integration” is a scoped privilege.
The scoped role “DW Scoped Modeler” that is delivered with SAP Datasphere includes the “Data Warehouse Data Integration” scoped privilege with the Read permission.
Does this answer your question?
Thanks again for your feedback.
Cindy for the UA team
Best regards

Hi Cindy,
If I assign the scoped role “DW Scoped Modeler”, to a user – will he/she be able to create a DATA PRODUCT using “Data Sharing cockpit” ?
The answer is “NO”. We tested this scenario and realized that if we give Read permission for privilege “Data Warehouse Data Integration” at GLOBAL custom role, the user can create data product.
Attached an email for your reference.
Thanks
Anu
From: CindyVenet @.>
Sent: Thursday, June 06, 2024 3:26 PM
To: SAP-docs/sap-datasphere @.>
Cc: Karimbil, Anupama (623) @.>; Author @.>
Subject: Re: [SAP-docs/sap-datasphere] Privilege "Data Warehouse Data Integration" with READ perimission is a GLOBAL privilege. (Issue #47)
[EXTERNAL E-MAIL]
Dear User,
After a discussion with the development team, we can confirm that the privilege “Data Warehouse Data Integration” is a scoped privilege.
The scoped role “DW Scoped Modeler” that is delivered with SAP Datasphere includes the “Data Warehouse Data Integration” scoped privilege with the Read permission.
Does this answer your question?
Thanks again for your feedback.
Cindy for the UA team
Best regards
—
Reply to this email directly, view it on GitHubhttps://github.com/SAP-docs/sap-datasphere/issues/47#issuecomment-2151880574, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BG7UGKMYGTIOFA6QPV4GO7TZGAW4DAVCNFSM6AAAAABIRQMNFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJRHA4DANJXGQ.
You are receiving this because you authored the thread.Message ID: @.***>
If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.

Dear Customer,
After discussing with the development team, we confirm that the privilege "Data Warehouse Remote Connection (CRUD--S-)" is required for the Data Marketplace.
During the installation of a data product, a remote connection is established between the customer's target tenant (the one purchasing the product) and the data provider's source tenant.
The business user's ID is used to establish a remote connection in the selected target space. Therefore, the user installing a product needs this permission.
Does it help? I could not see your attached mail (I supposed that this is not supported by github)
best regards

Dear user,
To create a data product using the Data Sharing Cockpit, a user must have the scoped privilege “Data Warehouse Data Builder” with the permissions Create, Read and Update.
It would be interesting to view all the privileges and permissions that your user has.
Maybe, this is what you’ve included in the attached email, which unfortunately we were not able to see. Could you please send it again or send the whole list of privileges?
thank you and best regards
cindy for the UA team

What privilege does a user need to   >>> Create a DATA PRODUCT using “Data Sharing cockpit” ?

Dear user,
We’ve answered to this question in a previous email:
To create a data product using the Data Sharing Cockpit, a user must have the scoped privilege “Data Warehouse Data Builder” with the permissions Create, Read and Update.
You can find documentation on scope role under this link: https://help.sap.com/docs/SAP_DATASPHERE/9f804b8efa8043539289f42f372c4862/b5c4e0b6c462414783ebbfc053815521.html
If this still does not help, it would be interesting to view all the privileges and permissions that your user has to identify the missing ones.
Thank you and best regards
Cindy

Hi
Closing this ticket as no reaction from the customer. So I assume problem is now solved.
best regards

[like]  VALEANO, Olivia reacted to your message:

From: CindyVenet @.>
Sent: Monday, August 26, 2024 11:11:56 AM
To: SAP-docs/sap-datasphere @.>
Cc: VALEANO, Olivia @.>; Assign @.>
Subject: Re: [SAP-docs/sap-datasphere] Privilege "Data Warehouse Data Integration" with READ perimission is a GLOBAL privilege. (Issue #47)
Hi
Closing this ticket as no reaction from the customer. So I assume problem is now solved.
best regards
—
Reply to this email directly, view it on GitHubhttps://github.com/SAP-docs/sap-datasphere/issues/47#issuecomment-2309951991, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BAISX7WBS3LAATG2EYOX66TZTMEPZAVCNFSM6AAAAABIRQMNFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBZHE2TCOJZGE.
You are receiving this because you were assigned.Message ID: @.***>


fix(AbstractGraph): instantiation of Azure GPT models

Closes #498

ok the modfification looks good to me


Can I deactivate manual Swipe?

Hi, I would like to control the swipe only by functions. So the user should not be able to swipe manually. Is this possible?
Thanks!

physics: const NeverScrollableScrollPhysics()

itemBuilder中使用GestureDetector覆盖原本的手势即可
Swiper(
                  itemBuilder: (BuildContext context, int swiperIndex) {
                    return GestureDetector(
                      // 覆盖本来的滑动翻页
                      onPanStart: (DragStartDetails details) {},
                      child: Container(),
                    );
                  },
                  axisDirection: AxisDirection.right,
                  controller: states.swiperController,
                  itemCount: 10,
                  itemWidth: 300,
                  itemHeight: 300,
                  loop: false,
                  layout: SwiperLayout.TINDER,
                )


How to add a map to a mosaic as an editor?

I am not finding the controls...

For Wikimaps Warper - Mosaics are Categories
Thus, add the map to the category in Commons and re-import the category. Any new maps will be added.

In this case the map is in the category but it was imported before the category import.

This issue has the description of a question which was answered, so I am closing this issue. I am also removing the bug label as it was a question, not a bug :)
I will create an additional issue to add individual maps to mosaics: #59

(You can also add comments without the need to re-open the issue, just click the green button)

Thanks!


Update maintainers list

Description
Add new maintainer @ykmr1224 according to nominating voting from @vamsi-amazon @rupal-bq @ps48 @mengweieric @seankao-az following becoming a maintainer
Welcome!
Issues Resolved
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Can somebody reach out to @pjfitzgibbons to figure out whether we should move him to emeritus?

@zelinh Could you please help adding permission for @ykmr1224 , thanks!

Can somebody reach out to @pjfitzgibbons to figure out whether we should move him to emeritus?

Per removing-a-maintainer I think an admin need to make a PR to update

Added @ykmr1224 with maintainer access.


[Fix-9921] Add the mechanism to increment the workerWaitingTaskCount in HeartBea…

Purpose of the pull request
Add the mechanism to increment the workerWaitingTaskCount inside HeartBeat class to fix #9921

Brief change log
When HeartBeatTask is run priodically from heartBeatExecutor, then it will increment the workerWaitingTaskCount

Verify this pull request

This pull request is code cleanup without any test coverage.

Codecov Report

Merging #9980 (53b3b9b) into dev (e51d0fb) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##                dev    #9980      +/-   ##
============================================
- Coverage     40.68%   40.67%   -0.01%
- Complexity     4577     4578       +1
============================================
  Files           834      834
  Lines         33832    33837       +5
  Branches       3745     3745
============================================
+ Hits          13763    13764       +1
- Misses        18747    18752       +5
+ Partials       1322     1321       -1

Impacted Files
Coverage Δ

...olphinscheduler/server/registry/HeartBeatTask.java
0.00% <0.00%> (ø)

...dolphinscheduler/remote/future/ResponseFuture.java
83.60% <0.00%> (+1.63%)
:arrow_up:

Continue to review full report at Codecov.

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

I restarted the failed CI

close due to #11232


Roll Flutter Engine from a9194f0f01f4 to 7099a99ad036 (7 revisions)

https://github.com/flutter/engine/compare/a9194f0f01f4...7099a99ad036
2024-06-27<EMAIL_ADDRESS>Roll Skia from e2f68b30ea63 to fb1458ac7bfd (1 revision) (flutter/engine#53606)
2024-06-27<EMAIL_ADDRESS>Roll Skia from 7b55cb1afe40 to e2f68b30ea63 (1 revision) (flutter/engine#53605)
2024-06-27<EMAIL_ADDRESS>Roll Skia from 001694095f1b to 7b55cb1afe40 (1 revision) (flutter/engine#53603)
2024-06-27<EMAIL_ADDRESS>Roll Dart SDK from 8dd486ebfab4 to d825219c0ce1 (1 revision) (flutter/engine#53602)
2024-06-27<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from n2dgSmMCaCO7ujvmr... to gBWzGuicxu76K82lg... (flutter/engine#53601)
2024-06-27<EMAIL_ADDRESS>Roll Dart SDK from c01f907d34d8 to 8dd486ebfab4 (1 revision) (flutter/engine#53599)
2024-06-26<EMAIL_ADDRESS>Roll Skia from 55ada83438cd to 001694095f1b (3 revisions) (flutter/engine#53598)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from n2dgSmMCaCO7 to gBWzGuicxu76
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jimgraham@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

AutoRoller is stopped; closing the active roll.


Small rendering differences between architectures for vtp file

Describe the bug
Same execution of f3d across different architecture leads to slightly different images.
To Reproduce
Steps to reproduce the behavior:
All files (input, output and diff)  are in cube_diffs.zip.

open the cube.vtp file with f3d: f3d -s --resolution=640,480 --output=output.png cube.vtp
compare the image against the reference from amd64: compare amd64_cube_vtp.png output.png diff.png
diff.png contains differences (in red) for the following architectures: arm64, i386, ppc64el, s390x. F3D on the other platform looks fine: armel, armhf.

Expected behavior
No difference.
System Information:

OS: Debian
GPU and GPU driver: various from Debian CI

F3D Information
Paste the content of f3d --version:
f3d 1.3.1

F3D - A fast and minimalist 3D viewer
Version: 1.3.1.
Build date: 2022-10-02 10:20:26.
Build system: Linux.
Compiler: GNU 12.2.0.
External rendering module: OFF.
Raytracing module: OFF.
Exodus module: ON.
OpenCASCADE module: OFF.
Assimp module: OFF.
Alembic module: OFF.
VTK version: 9.1.0 (build 0).

Additional context
Using idiff, the output is:
  Mean error = 8.48482e-06
  RMS error = 0.000182411
  Peak SNR = 74.779
  Max error  = 0.00392157 @ (254, 301, R)  values are 0.552941, 0.478431, 0.27451 vs 0.556863, 0.478431, 0.27451
  1994 pixels (0.649%) over 1e-06
  1994 pixels (0.649%) over 1e-06

The differences are really subtle and I can't detect them looking at the files, so feel free to close this bug if you think it's not significant.
In addition, it may be an issue in the VTK library itself.

It depends on the OpenGL implementation of the driver. Is it the same mesa/vendor driver version?

As this is different platforms, the vendor driver version is likely not the same, which would explains the small differences.
Out of curiosity, what is your comparison criterion when we use the --ref option in F3D? and what does the --ref-threshold mean?
My current criterion is that no more than 1% of the pixel should be strictly different at 1e-6, but I don't know if this is relevant.
Thanks

The treshold we use correspond to this:
https://vtk.org/doc/nightly/html/classvtkImageDifference.html#a7dd3f6f2599d1dd55bdf16165ae1f71f
vtkImageDifference::GetThresholdedError

The thresholded error is the error for a given pixel minus the threshold and clamped at a minimum of zero.

The vtk doc is not super clear about this. By default, the threshold we use is 50, which let us avoid issue with driver and such.

Thanks for the information!
You can close the issue, unless you want to keep track of these differences?


Using identifiers as the keys of ValueMaps with TOML

Hey there! there's an issue with toml serialization detailed here that I want to inquire about.
We have a <String,String> valuemap where each side are stringified arbitrary Identifiers.
Identifiers can legally include . in their paths, which means that the string keys may include . - these are arbitrary additions into the config by the user, we do not know what block or item IDs will be used and whether they will include ..
This of course means that on latest it's garbled into nonsense like so:

Is there any way for this to work and not totally fail serialization in TOMLSerializer? or should we switch to JSON5?

ah hold on, this issue might be invalid - I think our dependencies didn't refresh when updating to latest.

Yep, no problems now, oops - great job on the new changes btw! :P


feat(trace): named tracer factory prototype 2

Which problem is this PR solving?

Original PR: #420

This is my take (just a prototype) on named tracers for #403.

The factories (TracerFactory and MeterFactory) need to be a singleton object as ubiquitous points to request Tracer and Meter instances.

I just updated the basic example to show the actual usage.

/cc @bg451

Codecov Report

Merging #434 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #434      +/-   ##
==========================================
- Coverage   95.88%   95.87%   -0.02%
==========================================
  Files         108      108
  Lines        5347     5331      -16
  Branches      433      435       +2
==========================================
- Hits         5127     5111      -16
  Misses        220      220

Impacted Files
Coverage Δ

...opentelemetry-base/test/resources/resource.test.ts
100% <0%> (ø)
:arrow_up:

LGTM

The duplication between BasicTracerFactory and NodeTracerFactory seems like a good candidate for inheritance
class AbstractTracerFactory<T extends types.Tracer> {
  private static _singletonInstance: types.TracerFactory;
  private readonly _tracers: Map<String, T> = new Map();

  protected abstract create(): T;

  getTracer(name: string = "", version?: string): T {
    const key = name + (version != undefined ? version : "");
    if (this._tracers.has(key)) return this._tracers.get(key)!;

    const tracer = this.create();
    this._tracers.set(key, tracer);
    return tracer;
  }

  static get instance(): types.TracerFactory {
    return this._singletonInstance || (this._singletonInstance = new this());
  }
}

class NodeTracerFactory extends AbstractTracerFactory<NodeTracer> {
  protected create() {
    return new NodeTracer();
  }
}

class BasicTracerFactory extends AbstractTracerFactory<BasicTracer> {
  protected create() {
    return new BasicTracer();
  }
}

Hey @dyladan original PR is #420, feel free to add comments on that. @bg451 has already merged changes from this to #420. Please ignore this PR, will close it soon.

Closing this in favor of #420


Don't use prefix as key name for revisions list

It's confusing that the plugin uses the prefix as the key name for the revisions list. One expects a "prefix" to be before something. Let's change it to prefix + ":revisions"

@achambers let us know what you think and if you wanna tackle this or if should I
I'll probably have a bit of time this week


handler() expects {requestContext} argument

I recently migrated from @swarmion/serverless-contract v0.5.6 to v0.7.1 to use getLambdaHandler function to instantiate lambda handlers.
However, handler() now expects an argument {requestContext}

In a unit test context, I becomes painful to call handler()
As a temporary fix, I added a ts-ignore but it would be great if swarmion could provide a documentation on the best practices to:

mock the {requestContext} argument
Unit test a handler

Hello
I think you could define some base mock values for requestContext depending on the version of ApiGateway you are using. For instance:
const baseV2RequestContext: APIGatewayEventRequestContextV2WithAuthorizer<undefined> =
    {
      authorizer: undefined,
      accountId: '',
      apiId: '',
      domainName: '',
      domainPrefix: '',
      http: {
        method: '',
        path: '',
        protocol: '',
        sourceIp: '',
        userAgent: '',
      },
      requestId: '',
      routeKey: '',
      stage: '',
      time: '',
      timeEpoch: 0,
    };

const requestContext: APIGatewayEventRequestContextV2WithAuthorizer<APIGatewayProxyCognitoAuthorizer> =
    {
      ...baseV2RequestContext,
      authorizer: { claims: { foo: 'claimBar' } },
    };

const baseV1RequestContext: APIGatewayEventRequestContextWithAuthorizer<undefined> =
    {
      accountId: '',
      apiId: '',
      authorizer: undefined,
      protocol: '',
      httpMethod: '',
      identity: {
        accessKey: null,
        accountId: null,
        apiKey: null,
        apiKeyId: null,
        caller: null,
        clientCert: null,
        cognitoAuthenticationProvider: null,
        cognitoAuthenticationType: null,
        cognitoIdentityId: null,
        cognitoIdentityPoolId: null,
        principalOrgId: null,
        sourceIp: 'string',
        user: null,
        userAgent: null,
        userArn: null,
      },
      path: '',
      stage: '',
      requestId: '',
      requestTimeEpoch: 0,
      resourceId: '',
      resourcePath: '',
    };

const requestContext: APIGatewayEventRequestContextWithAuthorizer<APIGatewayProxyCognitoAuthorizer> =
    {
      ...baseV1RequestContext,
      authorizer: { claims: { foo: 'claimBar' } },
    };

Otherwise, you can still use type cast, but only if you need to do it in a few tests. For instance:
const requestContext = {
  authorizer: { claims: { foo: 'claimBar' } },
}  as unknown as APIGatewayEventRequestContextWithAuthorizer<APIGatewayProxyCognitoAuthorizer>;

Thanks @Sc0ra !


How to install plugins and restart sonar properly?

Hi guys,
Congrats for the amazing job!
However I am having some problems to install plugins into sonar instance started inside the docker container. Could you help me, please?
After request the plugin installation using the sonar Update Center GUI, I need to restart sonar. However, if I restart the containers using fig stop and fig up, the containers are recreated and I loose the pending installations. I've tried to use fig up --no-recreate but then a got an error and the sonar container does not start. I have seen nothing in the logs that explains to me which error causes the sonar container abortion.
Could you please tell me, how did you project this couple of containers to expect plugins installations? Perhaps some data volume containers strategy can solve my problem. Is that an option?
Thanks in advance.

Fixed at commit: 5e6559a
Now the container has VOLUMES declared, so there is no need for external volume management. It should work out-of-the-box now.
As an example, you should be able to do fig up, install plugins, fig stop, fig start (or fig up) and it should pick them up.

Thanks man,
It worked fine!

:smiley:


Update to 1.9.6

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge/staged-recipes : Could you please review and merge.

@conda-forge-admin, please rerender.

@sannykr Merge approval for individual feedstocks would be from @conda-forge/django-extensions , not staged-recipes.

...or another team name derived from the feedstock (for different feedstocks).

Thanks. I just changed the comment.

Would have preferred a clean commit history but I'm feeling rather nice today :smiley: :smiley:


Legend disappears on some mobile viewports

.map-legend class has a height of 30px that's why the legend disappears.
You should add 30px height after @media only screen and (min-width: 1000px)

@paizai What do you think ?  @TTeRzY Thank you :)

@TTeRzY So I discussed this with @paizai he is concerned that the fix you proposed would generate problems with a tablet layout.
As a workaround we absolutely positioned the legend on mobile and even if we are not 100% happy with it for now will do!
We are planning a mobile / tablet ui 're-think' soon-ish and this will be addressed better there


feat (elastic): add basic multiget support to BaseElasticMapper

Codecov Report

Merging #15 into dev will decrease coverage by 0.02%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##              dev     #15      +/-   ##
=========================================
- Coverage   26.32%   26.3%   -0.03%
=========================================
  Files         303     303
  Lines        7820    7826       +6
  Branches      682     682
=========================================
  Hits         2059    2059
- Misses       5703    5709       +6
  Partials       58      58

Impacted Files
Coverage Δ

...tack.Services.Elastic/Mappers/BaseElasticMapper.cs
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Expressions of abstract enum values have a cast

See here for example:

The source code doesn't have that cast, so it shouldn't appear in the docs.

We could address this in Haxe but I'm not sure if we should. It's probably an easy fix to make in Dox.
Waiting for a pull request!


Update README.md

Project URL

Category

Description

Why it should be included to awesome-ios (optional)
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[ ] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 4 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

Added "Awesome ML" open source app for demonstrating different image processing CoreML models on iOS to "Machine Learning" section.

Hello @eugenebokhan, thanks for contributing!
Unfortunately, we cannot accept example apps, but you can submit a PR to @dkhamsing's open source apps list

          2 Warnings

:warning:
Too many changes (when adding, please keep it to one project per Pull Request)

:warning:
Please update the Pull Request title to contain the library name

  Generated by :no_entry_sign: Danger

Hello @lfarah, thanks for reply!


Gaussian noise

In your paper, you say that you introduce Gaussian noise to the retrieved semantic distribution, but, in query_semantics.py, you introduce random noise to the retrieved semantic distribution. Maybe I don't see the Gaussian noise？

Thanks for pointing this out! I have changed torch.rand_like into torch.randn_like, and I expect that this would not affect the performance a lot.