Can not connect to server using self signed certificate

Summary
Can not connect to server using self signed certificate
Environment Information

Device Name: iPhone 7
OS Version: iOS 10.3.1
Mattermost App Version: 1.0 (26)
Mattermost Server Version: 3.8.2

Steps to reproduce
Set up a Mattermost server and point a domain to it that is using a self signed certificate.
Expected behavior
The app should be able to connect to the server.
Observed behavior
The only thing I can see is an error message that looks like this.

Possible fixes
Unfortunately not but the non beta version of the Mattermost app works fine towards the same server.
Also I tested connecting the beta app towards https://pre-release.mattermost.com which works fine.
Additionally the Android beta app doesn't seem to have this issue with self signed certificates.

Also doesn't work for cert issued by RapidSSL. I can send you domain I'm using in PM if you need it for tests.
I can connect to server using web browser.

Hi @ws141 and @Kinmarui thanks for the report.
We haven't added support for self signed certificates yet, if anyone would like to look into what's necessary to get this to work it would be extremely helpful!

@lfbrock thanks for response but since I had problem with cert issued by RapidSSL and not self signed and you didn't mention that it should not work for them I decided to create separate issue #519

@lfbrock can we add a help wanted ticket for this issue?

@Kinmarui I assume you've added your self-signed CA certificate to the iOS trusted store?
I assume the intention isn't to stop verifying the chain of trust to support self-signed certificates. HTTPS is pointless if you're not verifying the chain of trust.

Expected behavior
The app should be able to connect to the server.

This is a really bad idea -- if you mean blindly trusting the certificate.

@naggie I only added intermediate certificate to server configuration for more info please read comment https://github.com/mattermost/mattermost-mobile/issues/519#issuecomment-299919312
I believe chrome probably had this intermediate certificate in his cert store that's why it worked on web but not mobile app. Mobile had missing link in chain where chrome had access to this intermediate cert even when I didn't added it to server configuration.

@Kinmarui that makes sense, thanks.
Nonetheless, I think mattermost should not allow connection to an unverified HTTPS URL.

Totally agree with @naggie here, you can always include support for that and build the app from source ;)

Self signed certificated and unknown CA chain should not be accepted by default but it should be possible to authorize them. Many companies manage their own certificates.

@grp you are more than welcome to add support for it ;)

@enahum I'm not so familiar with mobile app development but I would be happy to contribute I will have a look to the doc

We've decided that we are not going to add support for self signed certificates, if you need it please consider using something like lets encrypt or perhaps you'll want to include the support for it in your own custom build ;)

@enahum We've gone over to using a proper certificate but thanks for answering :)


Broken styles in production

Steps taken:

npm install
npm run build
setup a docker container with nginx serving files from /dist

This is how the website looks:

This is what requests have been made:

Nothing failed so that's weird. Styles are loaded so it's not my nginx.conf's fault.
No errors in console.

npm run serve works fine tho, everything just fine

yeah and @lucko that's pretty urgent, i would really appreciate a quick support. this doesn't sound like a complicated issue. im also trying to figure it out myself right now

This is likely an issue with your setup or browser. Our live website is not having any issues, nor am I having issues with serving the built files on my local machine.
Have you tried using a different browser?

There are some points to consider when self-hosting the web interface:
https://github.com/LuckPerms/web-installer#important-things-to-know-if-you-are-self-hosting


RecsListTable tests improvement

use utils functions
remove hardcoded values
improve default tests: pagination, sorting and filtering

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


Error "The provided source directory does not exist" when using upload itch task

I created this simple routine to upload my games to itch.io. (see screenshot)

But it returns the error when I execute the routine

Im on Nobara OS and the path im using is on my hard drive. (Other directories like home etc also doesnt work)

The Source Folder is relative to project's directory, not absolute path.

Oh, okay that works. Is that mentioned somewhere? I might have missed it! But thanks!

It's not really mentioned, but the FileDialog when you are picking path operates in local mode. To use a global path you'd have to paste it in to the textbox, which I assumed most people wouldn't do.

It's not really mentioned, but the FileDialog when you are picking path operates in local mode. To use a global path you'd have to paste it in to the textbox, which I assumed most people wouldn't do.

I didn't paste the path tho, I used the file dialog, so i think it sets global path for some reasons.

The FileDialog works in global mode, but once you pick the path, it will trim the project path, so the resulting path is relative. However it only works if the build folder is inside project's directory, it won't work for folders outside the project. Not sure if there is a way to get a relative path to a parent folder.

If you added VDF file after creating Project Builder configuration, you need to run a manual scan. In Config tab, click the "Run Project Scan" button at the bottom.
Project Builder performs a scan automatically on first launch, but subsequent scans need to be started manually, for performance reasons.


Fix Quilt incompatibility

Solves #21.
You asked for a PR so here you go.
Note that I made this using github web editor so I didn't have any checks, but it should work.
I also removed this line
@Shadow public abstract TypedActionResult<ItemStack> use(World world, PlayerEntity user, Hand hand);

because it wasn't used anywhere, and was probably added by your IDE by accident.

I'm don't have time today, but will check this out soon :)

This is redy to be merged.

@dsfhdshdjtsb

Late response, but thanks. According to the docs the return type and the type of the singular parameter should match, so having the extra parameters is probably making the mcdev plugin throw an error. Works fine with the error suppressed so whatever.


Bridge and Explorer UIs not loading error

Describe the bug
Both the bridge and the explorer give the same error and can't load the contents.

Fixed by Coinhippo, there were dependency conflicts.


npm version not updated, refering to the issue scrollTo to scrollTop #80 which is resolved but not reflected on the published version https://www.npmjs.com/package/enjoyhint

Exception:
Uncaught TypeError: $(...).scrollTo is not a function

i have the same issue need npm of v3 , and if there is no npm v3 how to cover this problem with the exist npm version

having the same issue...

Same problem with me. The recent fixes do not reflect in the maven central repository. The Github does not show the 3rd release.


Add warnings/error when reading in uvfits files with invalid header entries

vis_header_extract.pro should generate warning messages if it doesn't find required uvfits header parameters, and should probably exit with an error.

Added with recent merge of development features.


Idea: Provide print/dbg macros that only print values of minimal examples

I'm thoroughly enjoying using proptest, but there's in particular one issue that makes it perhaps a bit harder than necessary to actually debug failing tests. When using e.g. println! or dbg! in a proptest, the output is printed for every test that proptest runs. It would be very, very practical if one could print only for the (minimal/shrunk) failing example. Then you could even leave these print/debug statements in the test as they anyway wouldn't be printing anything as long as the test is passing.
The C++ library rapidcheck has a similar feature. I imagine something like:
proptest! {
    #[test]
    fn test_whatever(value in strategy()) {
        prop_dbg!(&value);
        prop_println!("Value is: {:?}", value);
        prop_assert!(has_property(value));
    }
}

Perhaps there are also other workflows for debugging failing tests? Sometimes it's just excruciatingly painful to reconstruct the failing example in code and make a separate test for it.

As a follow up, it would perhaps be of far more general use if there was a way to invoke code only for the minimal counter-example. Something like
#[test]
    fn test_whatever(value in strategy()) {
        if minimal_witness {
            print_lots_of_debug_stuff(&value);
        }
        prop_assert!(has_property(value));
    }

I keep running into exactly this issue. For example, right now I have a failing test, and I'd like to print values only for that minimal test. I'm forced to put dbg! or similar in my main test body, which means my console is cluttered with output for thousands of tested cases even though I'm only interested in the minimal witness. It's also not clear to me if the "last run" example truly is the minimal example.
Is this really not a problem that others regularly run into?
Here are two more concrete suggestions for how to improve this situation:

Augment the test closure in TestRunner::run to additionally take a boolean parameter indicating whether the value provided to the closure is a minimal witness. This is a breaking change.
Alternatively, a way to provide this functionality without changing the API could be to use a thread-local boolean is set before the test is run, and which can be accessed through e.g. a macro `prop_is_minimal!().

In both cases, the syntax inside of a test might look like something like
if prop_is_minimal!() {
  // Print stuff, export debug/visualization info to files etc.
}

I'm not otherwise familiar with the code base, so perhaps there are much better solutions available.

+1 to this. I have the exact same problem and request.

It's also not clear to me if the "last run" example truly is the minimal example.

Definitely not 😆


main: override -admin.addr with HTTP_ADMIN_BIND_ADDRESS

I got the idea from https://github.com/moov-io/ach/pull/573 and after https://github.com/moov-io/paygate/pull/162

Codecov Report

Merging #174 into master will decrease coverage by 0.08%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #174      +/-   ##
==========================================
- Coverage   56.39%   56.31%   -0.09%
==========================================
  Files          27       27
  Lines        3704     3706       +2
==========================================
- Hits         2089     2087       -2
- Misses       1198     1201       +3
- Partials      417      418       +1

Impacted Files
Coverage Δ

main.go
0% <0%> (ø)
:arrow_up:

internal/database/mysql.go
71.25% <0%> (-2.5%)
:arrow_down:

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 bae407c...5ffed43. Read the comment docs.


Background image plotting not working, hooks fired in the wrong order

issue 3956
I am trying to make a chart with a background image that replots with the axis limits. For this I'm using a ImageData object with createImageBitmap()... strategy. I am also using the zoom plugin and I want the zoom box to draw after the image is drawn but this is not happening since the zoom function calls are happening before the image drawing calls even though I have the image plugin calling after the zoom plugin. Here is my code:
This code creates the chart options with the plugin code, imageDataPromise is the output of CreateImageBitmap made elsewhere:
                    curChartOptions.plugins = [{
                        afterRender: function(chart, options) {
                             //chart.setZoomPanToSelect(chart);
                            console.log("afterRender");
                            //console.log(chart);
                            if(!helpers.isNullOrUndef(chart.imageDataObject)) {
                                curChart.imageDataPromise.then(function(imgBitmap) {

                                    console.log('drawing image');
                                    chart.ctx.drawImage(imgBitmap,
                                        chart.chartArea.left,
                                        chart.chartArea.top,
                                        chart.chartArea.right - chart.chartArea.left,
                                        chart.chartArea.bottom - chart.chartArea.top);
                                    console.log('finished image');
                                });
                            }

This code is the zoom code:
beforeDatasetsDraw: function(chartInstance) {
...
console.log("zoom before datasets draw");
...
ctx.fillRect(startX, startY, endX - startX, endY - startY);
...
But the output in the console is:
zoom before datasets draw
afterRender
drawing image
finished image
Indicating that beforeDatasetsDraw is executing before afterRender, which isn't the order in the docs.
If anyone has some suggestions they would be most appreciated.
Thanks.

Oh I forgot to mention there are no datasets in the plot. I need it to work with and without datasets being present.

Please read the issue template: https://github.com/chartjs/Chart.js/blob/master/.github/ISSUE_TEMPLATE/SUPPORT.md
If you insist on posting the support ticked here, provide a interactive reproduction of your issue (using codepen.io, jsfiddle.net etc.).

Sorry about that.


beacon proximity

4.4.32-17-ev3dev-ev3
Python 3.4.2
The EV3  IR sensor has a Proximity, Beacon detect (-25 to 25) and a Beacon Proximity.
the beacon proximity has a higher range than just IR proximity. is there a way to access the beacon proximity mode?

You should be able to put the sensor into IR-SEEK mode (http://www.ev3dev.org/docs/sensors/lego-ev3-infrared-sensor/) and use value(1) to get distance to beacon on channel 1:
ir = InfraredSensor()
ir.mode = 'IR-SEEK'
print(ir.value(1)

Thanks. if i use the base software that comes from EV3, there is a Beacon Proximity mode that can detect a further distance (200cm or 79inch) -its also indicated their ev3 user guide..
I think when we do IR-SEEK, we still seem to be in the Proximity mode which is the 70cm / 27in case. so I was wondering if there was a way to get the 79in reach

another data point: if you look at port view, the IR-SEEK can only do smaller distances (27in). but if you open the EV3 Software from Lego and set the mode to Beacon Proximity, it can go to 79in.. so they must be doing some additional processing to extract this.

@dlech, do you have anything to say?

Our documentation on the website is incorrect. In IR-SEEK mode 100% is the same as the EV3-G software. The EV3 user manual says that this is about 200cm, however, I just measured it using the EV3-G software and found it to be about 110cm. I also measured it using the IR-SEEK mode in ev3dev and got the same result, so there is no difference between ev3dev and the official firmware that I can see.

Thanks David.  I am able to measure almost 78” for a 100% and able to see a similar value i can measure on the LegoEV3.

On Feb 5, 2017, at 1:42 PM, David Lechner<EMAIL_ADDRESS>wrote:
Our documentation on the website is incorrect. In IR-SEEK mode 100% is the same as the EV3-G software. The EV3 user manual says that this is about 200cm, however, I just measured it using the EV3-G software and found it to be about 110cm. I also measured it using the IR-SEEK mode in ev3dev and got the same result, so there is no difference between ev3dev and the official firmware that I can see.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/rhempel/ev3dev-lang-python/issues/291#issuecomment-277551953, or mute the thread https://github.com/notifications/unsubscribe-auth/AYPGYGsg-LsjuujJ3kskWCijYookhd-7ks5rZkIsgaJpZM4LzjJc.

Cool. I must have some strange ambient light conditions that are affecting my reading.


Add script to deploy OptimismMintableERC20 USDT token using OptimismMintableERC20Factory

What was the problem?
This PR resolves #153
How was it solved?
Added script with environment variable for testnet and mainnet
How was it tested?

Run the script from inside scripts folder bash 6_deployUSDTContract.sh
Add --nonce flag to specify the correct nonce in the command in script, in case there is a nonce mismatch reported
Supply private key at the prompt to sign and send the transaction
Wait for the process to finish, check the output transaction hex in block explorer

Except @ricott1 comment about extra cd ../ it looks fine!
The only question I have is if we want to automatically save newly deployed contract address somewhere like we do it for other contracts? (eg. deployment/testnet/l2addresses.json)

The thing is most of the times (atleast on Lisk Sepolia) cast doesn't return the deployed contract address but only a transaction hex which may have been added to the mempool


Change crunchbase of Curve to CNCF

Signed-off-by: zhanghuidinah<EMAIL_ADDRESS>Pre-submission checklist:
Please check each of these after submitting your pull request:

[ ] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[ ] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[ ] Have you picked the single best (existing) category for your project?
[ ] Does it follow the other guidelines from the new entries section?
[ ] Have you added your SVG to hosted_logos and referenced it there?
[ ] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[ ] Does your project/product name match the text on the logo?
[ ] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~30 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

can you sign off with DCO? e.g., git commit -s


Add images for pupil-docs blog post

@nathakits - please take a screenshot of pupil-docs-website and add to the draft of my blog post draft.
Please also do spell check and fix any typos if you find any and make a pr to dev branch.

@willpatera PR - https://github.com/pupil-labs/pupil-labs-website/pull/206
Spellchecked ( no typo found ) and added the screenshot to the draft


Segmentation and Style Transfer project

I found a useful class that provides several blending modes that would be useful for the project. it is PorterDuff.mode. You can find more info here

I did a quick research and it looks like iOS also natively support Porter-Duff image overlay in CoreGraphic. See this.

Could we please move this discussion to the project's GitHub? https://github.com/margaretmz/segmentation-style-transfer
I am closing this issue for now.


Twitter Share Count

Twitter Share count is not working? Is this a known bug? I think the API endpoint might be deprecated.

Twitter no longer expose share counts. See issue #3


fix: Correct types for transformsArrayToProps

Summary
Type TransformsStyle['transform'] has string added as option from React Native 0.71.9 onward. This breaks the logic of transformsArrayToProps.
This PR fixes this by scoping down the type, and removing a no-op usage of transformsArrayToProps
This has been broken for a while, but not immediately visible to users compiling using Metro and Babel.
This should fix #2135 .
(PR seems to have gotten a bit of clutter from the git commit hook removing trailing commas as well).
Test Plan

[X] Ran yarn test on the fork.
[X] Built with his patch in our internal code which was breaking on this when upgrading RN.

Checklist

[X] I updated the typed files (typescript)

When can we expect these changes to be added? That would be very helpful 😅


Error build new project Xcode 14

Description
create a new project with new version react native when it finished build crashed

Version
0.70
Output of npx react-native info
System:
OS: macOS 12.6
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Memory: 178.63 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.15.1 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 8.18.0 - /usr/local/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 14.0/14A309 - /usr/bin/xcodebuild
Languages:
Java: 11.0.15 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.0 => 0.70.0
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
.
Snack, code example, screenshot, or link to a repository
.

This is not related to XCode 14. I have the same with XCode v13.4.1 and react-native 0.70.0.

refer to https://github.com/facebook/react-native/issues/34673 and https://github.com/facebook/react-native/issues/34608#issuecomment-1246730507

I got the same same error. (The one on the image)
For me everything build on XCode v13.4.1 but not on XCode v14.
We use react-native: 0.70.3


Azure Resource Group Deployment fails on resource group delete (classic view)

Bug
Azure Resource Group deployment task fails when trying to delete a resource group with error:
##[error]Error: Task failed while initializing. Error: Location is required for deployment
NOTE: we're using the classic editor to configure this task as opposed to the YAML editor. There is no way to set the 'location' parameter in the classic editor for the delete resource group action. I also see in the documentation that 'location' is only mandatory for the create or update resource group action
Enter Task Name: Azure Resource Group Deployment V3
Environment

Server - Azure Pipelines
Agent - Private

@Jaffacakes82 thank you for reporting this I am able to reproduce on my end. We will try to fix this asap.

Looks like this is fixed, thanks!


[CI] Fixing gh-pages.yaml

Signed-off-by: Esteban Martinena<EMAIL_ADDRESS>

Closing in favor of https://github.com/open-rmf/rmf_ros2/pull/250


docs: move error-reporting/fluent sample

Moved from go/errorreportinggosample

@adg

I don't want to change any of this code. I'm just moving it. I think it's a pretty poor example, and I need to talk to the error reporting team to come up with a better one.

Okay, LGTM but please file a bug to fix this example.

Did some style changes to make it somewhat respectable, and added a TODO at the top.
Removed that log.Fatal. That's pretty bad.


Text disappears when highlighted in navigation bar

When you highlight text in the navigation bar, instead of graying out the highlighted text, the text disappears entirely.

This is a known issue in the current build on light mode. Works in dark mode. Will be fixed in the redesign. It actually sets the highlighted text to white which is why it looks like it disappeared.


Handling null slide children?

Is there a way to completely hide (Display: none) a slide container? In other words, i would like to give different slide containers different styles (SlideStyle applies the same style to all slide containers).
To get the same result, I tried to render some slides only if a certain condition was true (Even though I think it's not the greatest idea because the whole slide renders from scratch every time the condition is true ).
For that I had something like this:

    {slide1}
    {condition ? slide2 : null}

but apparently null renders a blank slide. which is bad for me :-(
Any thoughts??
Thanks :)

Sorry i had a mistake in my question, I meant SlideStyle and not ContainerStyle.
I want to use different SlideStyles for different slides, aka applying different to the div that wraps the slide (<div aria-hidden="false" data-swipeable="true"... ).
If it's not possible, is there a value i can send as a slide that won't render? (this relates to the second part of the question)

Right, you can use slideStyle as well as slideClassName to do that task.

but i still think that if a slide is null it shouldn't be rendered

That's a good question. What should be the expected result? I think that you are right here.

@oliviertassinari I'm using this library too and I have a similar issue, I have a modal that have 3 tabs but I want to hide the last slide if the object doesn't have nothing to show in that tab, but instead I get an empty slide. I think that in that case nothing should be rendered instead.

I'm gonna label that issue won't fix. Support it would mean complexifing the source code, I would rather have users providing the right list of children on userland. Still what can warn against such wrong usage.

Hey,
Sorry for late comment, but it might help @maximux13  .
When i was struggling with the problem i tried to play with the source code and this change in the render function solved my problem:
Sending null as a view will return null.
Didn't test it, so it might fail somewhere:
...
return (
      <div
        ref={(node) => { this.rootNode = node; }}
        style={Object.assign({}, axisProperties.root[axis], style)}
        {...other}
        {...touchEvents}
        onScroll={this.handleScroll}
      >
        <div
          ref={(node) => { this.containerNode = node; }}
          style={Object.assign({}, containerStyle, styles.container, containerStyleProp)}
          className="react-swipeable-view-container"
        >
          {Children.map(children, (child, indexChild) => {

          //CHANGE:
	   if(child == null){
	      return null;
	   }
	 //CHANGE END

            if (isFirstRender && indexChild > 0) {
              return null;
            }

            let ref;
            let hidden = true;
            ...

Just wanted to share

@ofirpeer I wish the complexity was as simple on the library end but it's not. That's why I have introduced a warning as it's much simpler for users to take care of it.

I came across with the same issue.
Basically if the child is null, undefined or not valid react-swipeable-views shouldn't render anything instead of rendering an empty <div> which becomes a blank swiping surface as it happens now.
This need is a common use case when the children you pass to react-swipeable-views are coming from iterating an array, and from some reason an array's position doesn't need to be rendered, then you return from that position null/undefined.
Wouldn't be a much time consuming task to make changes around L817 (plus updating tests) to return null when the child isn't valid?
If the changes are a more complex task then I think at least the ticket should be left opened. It looks like it's a feature with demand. It doesn't make much sense to render a blank swiping surface if a child is incorrect. With the warning in console is enough.

Any update on this as yet?

I do have to agree with @AntonioRedondo
Please re-open this and allow PR to improve this library!

I have found workaround for the null empty views. Normally you pass Swipeable view children as react elements:
<SwipeableViews>
    <Component1 />
    <Component2 />
    {condition && <Component3 />
</SwipeableViews>

The third one causes empty view so workaround is to take SwipeableView children to array first and pass computed array as child to it. Like this:
const views = [
    <Component1 />,
    <Component2 />
]
if (condition) {
    views.push(<Component3 />)
}
...
<SwipeableViews>
    {views}
</SwipeableViews>

This does not cause third empty panel if condition is falsy, because its not passed as child (not null, not passed at all)


Make Travis CI faster with shallow clone.

Pull Request Test Coverage Report for Build 3105

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.36%

Totals

Change from base Build 3086:
0.0%

Covered Lines:
7752

Relevant Lines:
8675

💛  - Coveralls


How to Implement React Tabular

Hi @bebraw How can I implement ReactTabular in tomcat server .
And how can I achieve React-Tabular features in my tomcat project. I am using react-bootstrap with bower-component.
Could you plz suggest

Hi,
I don't have any server specific advice to give. It is likely the best if you can consume it through npm.
Do you have some particular problems with it?

Hi I can download code from Github but how to implement in my project.
On Tue, Sep 8, 2015 at 7:40 AM, Juho Vepsäläinen<EMAIL_ADDRESS>wrote:

Hi,
I don't have any server specific advice to give. It is likely the best if
you can consume it through npm.
Do you have some particular problems with it?
—
Reply to this email directly or view it on GitHub
https://github.com/bebraw/reactabular/issues/75#issuecomment-138586898.

Could you please provide one example in single page with library so that I
will be grateful to u.
On Tue, Sep 8, 2015 at 9:27 AM, Ranjan Gochhayat<EMAIL_ADDRESS>wrote:

Hi I can download code from Github but how to implement in my project.
On Tue, Sep 8, 2015 at 7:40 AM, Juho Vepsäläinen<EMAIL_ADDRESS>
wrote:

Hi,
I don't have any server specific advice to give. It is likely the best if
you can consume it through npm.
Do you have some particular problems with it?
—
Reply to this email directly or view it on GitHub
https://github.com/bebraw/reactabular/issues/75#issuecomment-138586898.

Hi,
The demos and the README might be your best bets. Once you understand how various parts work together, it gets easier to use. It's one of those libraries you have to spend some time assembling to fit your purposes. :+1:

Hi that I have read but how to achieve
var Search = require('reactabular').Search;
I have problem with require.
Please help me, otherwise my job will be in trouble.. I have to
implement reactabular.
On Tue, Sep 8, 2015 at 10:54 AM, Juho Vepsäläinen<EMAIL_ADDRESS>wrote:

Hi,
The demos https://github.com/bebraw/reactabular/tree/master/demos and
the README https://github.com/bebraw/reactabular/blob/master/README.md
might be your best bets. Once you understand how various parts work
together, it gets easier to use. It's one of those libraries you have to
spend some time assembling to fit your purposes. [image: :+1:]
—
Reply to this email directly or view it on GitHub
https://github.com/bebraw/reactabular/issues/75#issuecomment-138648127.

I have problem with require.

What kind of problem? Can you provide more context or an error? If you can, please set up a little example on GitHub for me to study.

Hi Please find it.
"ReferenceError: require is not defined".
I have download the code from Git:-https://github.com/bebraw/reactabular
But in single page how to implement it.
Like below

I can access the method or .....present in library. so please how can
i achieve that
On Tue, Sep 8, 2015 at 11:09 AM, Juho Vepsäläinen<EMAIL_ADDRESS>wrote:

I have problem with require.
What kind of problem? Can you provide more context or an error? If you
can, please set up a little example on GitHub for me to study.
—
Reply to this email directly or view it on GitHub
https://github.com/bebraw/reactabular/issues/75#issuecomment-138653450.

Hi, which library will implement so that require will be available and
easily achieve
like
var Search = require('reactabular').Search;
On Tue, Sep 8, 2015 at 11:21 AM, Ranjan Gochhayat<EMAIL_ADDRESS>wrote:

Hi Please find it.
"ReferenceError: require is not defined".
I have download the code from Git:-https://github.com/bebraw/reactabular
But in single page how to implement it.
Like below

I can access the method or .....present in library. so please how can i achieve that
On Tue, Sep 8, 2015 at 11:09 AM, Juho Vepsäläinen <
<EMAIL_ADDRESS>wrote:

I have problem with require.
What kind of problem? Can you provide more context or an error? If you
can, please set up a little example on GitHub for me to study.
—
Reply to this email directly or view it on GitHub
https://github.com/bebraw/reactabular/issues/75#issuecomment-138653450.

Ah, I see the problem now.
var Search = require('reactabular').Search;

assumes that you operate within a Webpack environment. Similar would work for Browserify as well.
It might work better for you to work against the dist version. Then you can do something like this:
<script src="js/reactabular.min.js"></script>

var Search = Reactabular.Search;

This assumes you copy reactabular/dist/reactabular.min.js below your js directory. As you can see, using this approach it will inject itself as a global as per UMD wrapper. This version also works in AMD/CommonJS environments if needed.

Hi @bebraw , Thanks a lot for your help.
I am able to implement
var Search = Reactabular.Search;
var Table = Reactabular.Table;
but how to Implement
var highlight = require('reactabular/formatters/highlight');
I have highlight.js file in formatters what should write instead of  require('reactabular/formatters/highlight')

I provide some very basic styling you can copy. Ideally you'll write something to suit your purposes. You can also attach custom classes to the elements as you need.
I think var highlight = Reactabular.formatters.highlight should work. Note that you can inspect the object in browser through console.log(Reactabular) to figure out how it has been laid out.
Get the dist version. After that it's the same ideas as for Reactabular except in this case you can access the paginator object through ReactPagify global.

Thanks.
You have mention
data = sortColumn.sort(data, this.state.sortingColumn);
What sortingColumn includes.
could you please provide a simple example contains
Table contains paging inline editing, row edit, search,sorting
Your actual example contains less items, to make understand difficult. Plz.........

There are two parts to that. I.e. in demo I do:
header: {
    onClick: (column) => {
        // reset edits
        this.setState({
            editedCell: null
        });

        sortColumn(
            this.state.columns,
            column,
            this.setState.bind(this)
        );
    },
},

If you look at the code, you can see it resets class state and adjusts the state of the selection. That's why we do setState finally.
sortColumn.sort operates based on this during rendering to actually filter the data. This gives that data = sortColumn.sort(data, this.state.sortingColumn) in the demo.
You'll need these both parts for it to work.
I agree the demo/docs could be better but this is a casual project for me so I work only when I have some spare time. :+1:

Could you please prepare one example having paging inline editing, row edit, search,sorting, remove row for me , when you are free.
Its very important for me.

Hi,
The full table demo is probably the closest I can get on a volunteer basis. It has all the basic bits.
The way you implement Reactabular in your project depends on architecture (Flux, whatnot) so it's hard to give a single example that would work for each possible case. It's important to understand how the individual parts work and how to fit them together. After that you can adapt.

Hi I have that file full_table.jsx. How i can achieve in my jsx
var FullTable = require('./full_table.jsx');
It contains so many require command how can i avoid it.
var Form = require('plexus-form');
var validate = require('plexus-validate');
var SkyLight = require('babel!react-skylight/src/skylight.jsx'); // XXX: no proper build yet
var generators = require('annogenerate');
var math = require('annomath');
var Paginator = require('react-pagify');
var titleCase = require('title-case');
var findIndex = require('lodash/array/findIndex');
var Table = require('../src/table');
var Search = require('../src/search');
var editors = require('../src/editors');
var sortColumn = require('../src/sort_column');
var cells = require('../src/cells');
var FieldWrapper = require('./field_wrapper.jsx');
var SectionWrapper = require('./section_wrapper.jsx');
var countries = require('./countries');
var generateData = require('./generate_data');
var highlight = require('../src/formatters/highlight');

You can access all parts of the library through Reactabular global in your case. So instead of doing something like var editors = require('../src/editors');, you would go through the global instead. The global contains an object that maps to the functionality. You can try inspecting it through Chrome Inspector or a similar tool to understand how it has been laid out.

What I am trying to say I made a JSX file
I want to include this
var FullTable = require('./full_table.jsx');
What should write here instead of require('./full_table.jsx');

What should write here instead of require('./full_table.jsx');

It might be beneficial to pick up a module bundler to deal with all that. I go through a nice Webpack based setup at my book. Alternatively you could look into Browserify or jspm.
I know picking one up will take some time. That will allow you to use require etc. and end up with a bundle that's easy to serve. Over longer term it's a nice idea to learn to use one.

Hi For ReactPagify I am include react-pagify.js

but when I am declaring Paginator like below
var Paginator =ReactPagify.Paginator;
in console.log(Paginator ) showing undefined

Note that ReactPagify is the component itself. So you get
var Paginator = ReactPagify;
var paginate = Paginator.paginate;

and so on.
Again, printing through the console helps to understand how it's structured better. You can also try importing the modules through Node cli as that gives the same result.

Can I talk over phone ?

@ranjan653 gitter would work. Phone is expensive. :)

Its fine for me can we..

Hi I am on the way  to implement your ReactTabular full_table.jsx
Can you provide some information to implement below things with library. I have
field_wrapper.jsx,section_wrapper.jsx,generate_data.js  and I have added like

How to add for below things
var Form = require('plexus-form');
var validate = require('plexus-validate');
var SkyLight = require('babel!react-skylight/src/skylight.jsx'); // XXX: no proper build yet
var generators = require('annogenerate');
var math = require('annomath');
var titleCase = require('title-case');
var findIndex = require('lodash/array/findIndex');
var FieldWrapper = require('./field_wrapper.jsx');
var SectionWrapper = require('./section_wrapper.jsx');
var countries = require('./countries');
var generateData = require('./generate_data');
Could you provide information

Kindly go through my error

Is it possible for you to put a standalone project somewhere to study?
The demo relies on Webpack and you can get similar results with a bundler such as Browserify. These tools will evaluate require graphs and provide you a simple bundle you can link to. That's the way the demo works. Please see the free guide I linked to. It goes into great detail in how to achieve this. I've put a lot of time and effort to that and I hope you find it useful.

Yes @beraw I will provide my code to review. But I am going through the docs but to complete your full table I need little help by providing some information regarding how to implement and the library.
var Form = require('plexus-form');
var validate = require('plexus-validate');
var SkyLight = require('babel!react-skylight/src/skylight.jsx'); // XXX: no proper build yet
var generators = require('annogenerate');
var math = require('annomath');
var titleCase = require('title-case');
var findIndex = require('lodash/array/findIndex');
var FieldWrapper = require('./field_wrapper.jsx');
var SectionWrapper = require('./section_wrapper.jsx');
var generateData = require('./generate_data');
Will you do it for me..?

Getting all that work without some kind of a bundler would be pretty time consuming. It's likely better to pick up one as that will solve a lot of your problems.

I can't get you

I mean converting all that to a big list of <script src="js/findIndex.js"></script> references wouldn't be practical. You would have to look up each dependency and maintain it all by hand. npm and a bundler (webpack/browserify/jspm) can deal with all that for you. Did you check the book?

Hi Juho, I cannot access below site provided by you as well as gitter
http://survivejs.com/webpack_react/introduction/

Hi, I just go through the docs but could not find any solution that how to implement
I have generate_data.js file, but when I implemented its throwing error. As it is not finding.
var generators = require('annogenerate');
var math = require('annomath');
var properties2object = require('schema2object').properties2object;
COuld you please guide.

Hi,
That
var generators = require('annogenerate');
var math = require('annomath');
var properties2object = require('schema2object').properties2object;

part is related only the demo. You don't need to implement that. Instead, you'll pass your own data to it.

Hi,
You are right. But which library file to include,  like

so that I can achieve
var generators = require('annogenerate');
var math = require('annomath');
var properties2object = require('schema2object')

@ranjan653 Can you set up an example repo and add instructions there to show what you need to achieve? I need to understand what sort of data you are going to show and how.

Ok, I will create a repo and upload my code there. I just want to implement your given table with all functionalities with same data. i.e data Name,Position,Country,Salary.If I will able to finish this task then will try for other.

Hi ,
Could you please go through the code that I have check-in to git
https://github.com/ranjan653/Reactabular_Ranjan/blob/master/Reactabular.html
Thanks
Ranjan

The main problem is that you simply cannot use require like that within a script tag. As I explained many times already, you will likely want to use a bundler to deal with all the complexity.
I've spent enough of my time on this. Can we move this to my consulting side? I can give you a fair rate.

Could you please let me know about the rate and how can you help me.
Is it possible to solve this problem by coding like this ?

@ranjan653 Can you send an email (bebraw at gmail dot com) with a basic specification of what you need exactly? The more specific you can be, the better. I'll make an offer based on that.
Note that there are more popular alternatives like FixedDataTable and reactable. These may be easier to approach than reactabular. The design is more flexible but as a result it's harder to use. :)

That's right but thing is that I need below feature.
1/ individual column sorting
2/ individual column searching
3/ each column data can edit including date picker field
4/ each row can edit with popup
5/ each row can delete
6/ paging facility
7/ scrolling
8/ Onclick ?(add row) popup  data can add to table


parsing "ambiguous" cases in farm request

When submitting a farm query for an item that has more than one variation in-game (i.e. 0 Hyperspanner) datacore currently returns "There are 2 items matching that: Hyperspanner, Hyperspanner. Which one did you mean?" If you then follow up with "Hyperspanner DS9" or "Hyperspanner ENT", you'll get the proper result, but I'd like to see a prompt added to inform the user of what the variations are without having to look them up elsewhere (i.e. the STT Wiki). If I run the same command in got bot, it returns: "2 items matches. Did you mean Hyperspanner (DS9), Hyperspanner (ENT)?"
To my understanding there are several of these "ambiguous" items in the game. The ones I know of are: Combadge, Communicator, Desktop Monitor (3 cases), Hypospray, Hyperspanner, Klingon Armor, Medical Scanner, Phaser Type 1/2/3, Starfleet Uniform (5 cases), Tricorder, Writing PADD (4 cases).

So it turns out that Hyperspanner DS9 and Hyperspanner ENT don't actually return the proper result, they return a random result 🤨
I think I've got a better system worked out, about to make a pull request. Essentially it'll show you all the matches in more detail (including photo, which is best way to distinguish them), and include their unique "symbol" name, which you can use to select a specific item if there's multiple with identical name & rarity.

So it turns out that Hyperspanner DS9 and Hyperspanner ENT don't actually return the proper result, they return a random result 🤨
I think I've got a better system worked out, about to make a pull request. Essentially it'll show you all the matches in more detail (including photo, which is best way to distinguish them), and include their unique "symbol" name, which you can use to select a specific item if there's multiple with identical name & rarity.


PPAPi flash debug output

electron version 29.2
testing on windows 8 and linux
I'm using code similar to this to set the flash player path
app.commandLine.appendSwitch('ppapi-flash-path', '/path/to/libpepflashplayer.dll');

// Specify flash version, for example, v<IP_ADDRESS>
app.commandLine.appendSwitch('ppapi-flash-version', '<IP_ADDRESS>');

rather than using the flash player included with chrome i've downloaded the debug version and used that [instead] (https://www.adobe.com/support/flashplayer/downloads.html)
to confirm I have a working version of the debug player I replaced chromes libpepflashplayer.dll with the one installed from here
then I restarted chrome and went here and next to the version number I have (debug version) in red.
So in my electron app, I pointed ppapi-flash-path to this debug version and ran a swf that should generate some errors, however I don't see any errors in a pop-up or in the console.
How do you get the debug output from ppapi player?

How does the debug messages look like in Chrome? I think maybe we didn't have some debug interfaces implemented in Electron, having a screenshot should give us some clues on how to fix that.

I think I've solved this, it's another case of adobe having bad documentation; so I'll document things here.
You can create a file called mm.cfg in app.getPath('appData') /electron-app/Pepper Data/Shockwave Flash/System/
if you set the contents of that file to be:
ErrorReportingEnable=1
TraceOutputFileEnable=1

when the application is run it will create a flashlog.txt file in app.getPath('appData') /electron-app/Pepper Data/Shockwave Flash/WritableRoot/Logs/
the contents of that file will be the debug/trace output from any swf file played by the pepper flash plugin.

Thanks for sharing that!

can i use the flash debugger in electron ?  i used the debug flash player ,but it won't pop-up error ,and i can not get the stack error info.

after some time ,when i had wrote some code to parse the flashlog.txt and popped up error tip in my app ,i found i haven't used the flash debugger version!


Updating tempoross version.

Author of the existing repo seems to be away currently, so swapped it to my fork.
Added notification at 90% storm intensity.
Added InfoBox for the total number of fish in inventory.
Updated README photos.

@CasvM Can you confirm you're ok with this ownership transfer?
P.S. I've pinged you on Discord as well


Update the version number from 1.2.0 to 1.2.1

Commits

[x] Update the version number from 1.2.0 to 1.2.1

FreedCamp

[x] Release a new version of the pastel wallet app

I think it's better if we do this right after releasing, and it would be done by the person who published the release. Without another PR I mean.
Please refer to here.


Inconsistent public header directory structure

When installing SheenBidi, the headers go into SheenBidi subdirectory, e.g.:
/usr/local/include/SheenBidi/SBBase.h

To include it, one would write #include <SheenBidi/SheenBidi.h>
However, when using SheenBidi as a subproject (e.g. via CMake), there is no subdirectory, so the correct way to include it is #include <SheenBidi.h>.
It'd be great if there were no such discrepancy. One way to do that would be to move all the headers to Headers/SheenBidi subdirectory here, so that it's always #include <SheenBidi/SheenBidi.h>

Oh nevermind, I misunderstood. The correct way to include it is #include <SheenBidi.h> and I simply need to add /usr/local/include/SheenBidi to the include path


fix: remove version update check from version group commands

This line in env pipeline fails because, instead of a version number,REQUIRED_VERSION is assigned the output of the version update check i.e.
import re, sys; print('tag' if re.match(r'\d+\.\d+\.\d+', 'You are running platform-helper v10.9.1, upgrade to v10.10.0 by running run `pip install --upgrade dbt-platform-helper`.

I've rerun the regression tests now and they've passed. So I think this is an edge case and the solution definitely isn't to skip the package version check. Closing this and will consider creating a bug ticket around how we sequence running regression tests and creating a release.


Add StableHLO complex log to stablehlo-complex-math-expander pass

As in the title. This PR is created on top of the branch of https://github.com/openxla/stablehlo/pull/2679.

@GleasonK , please review.

Hey! The team is mostly OOO until ~Jan 3-6th
cc @sdasgup3 @ghpvnist @abhigunj if any of you are back before the 6th PTAL


Scala Common Enrich: convert transactions from given currency to "home currency"

Dependent on:

https://github.com/snowplow/snowplow/issues/362
https://github.com/snowplow/scala-ore-forex

This is being worked on by @AALEKH


Error in app android.

I downloaded the android app example, when selecting an image, which I sent, it shows a black screen and does not display the image.

Sorry for the late reply.
Please try to check the issue in latest sample.
Thank you.


Lose of precision in Transaction Details

Send someone 0.01158ETH.
Wait for it confirmed.
It shows 0.0116 ETH is sent.
Example:
https://etherscan.io/tx/0x75dcafbb0bd04c5e3d925ba38ee734622112f35c3d8c87aee76d7a0e49094502

If you read the transaction detail you see that the amount is correct. However, because the UI displays a wrong number (rounded up), the user is forced into thinking this is the cause that the payment is not accepted (the real reason is that user needs to wait a bit more). This can be reproduced by trying to pay Windscribe VPN with crypto.

@colourful-land: in iOS, the Transactions tab shows "0.0115 ETH" (inconsistent!) and the detail screen shows the correct amount. It was rounded up/down presumably in the original codebase because there isn't enough space to show the precise amount.
What should it be shown as in the Transactions tab instead then?
@JamesSmartCell: a while back, when we were working on multi-chain, you suggested that we could display something like "0.0000xx ETH" verbatim to indicate tiny/dust Ether amounts that would otherwise be shown as "0 Ethereum (ETH)" or "0.0000 Ethereum (ETH)" in the Wallet tab. Do you remember what was the format you proposed?

you suggested that we could display something like "0.0000xx ETH"

Oh, it's this format "~0.0000". https://github.com/AlphaWallet/alpha-wallet-ios/issues/1136.
So in this case "~0.0115" or "~0.0116"? Or is there a better way?

Android was updated to round down. Now is matching iOS.


Restore excluded integration test

We'd accidentally lost Should_be_able_to_use_a_fake_after_binary_deserializing_it because FEATURE_BINARY_SERIALIZATION was not defined in the integration test project.

Thanks for fixing this @blairconrad!

Of course!


Update esbuild to check new enum inlining perf

This is going to happen automatically overnight, but I want to see the effect of this change explicitly in a PR versus via the graphs.

@typescript-bot perf test this

Seems like it's about a percent or so. Nice.


Add switch for listen light

Added switch to enable or disable the listen light, could be useful if you have the device in the bedroom for example, and want to turn off the light at night.
(or if you just don't want the light at all).

@jesserockz I applied the requested change, but somehow it keeps showing Changes requested


broken site for python requests library in README.md

README.md states:
- [Python requests](http://python-requests.org).
That URL is now invalid as of 5/23/2022.   Maybe it should be replaced with https://pypi.org/project/requests/ ?

Thanks.  Until python-requests.org is working again, let's leave this issue open as a breadcrumb for anyone else who needs it.

Since the original site is still not working, I am pushing a change to fix this in the README.


chore: update CPasS script for PowerMon 0.2

This PR updates the following in the patch script:

Bump up the OCP version to 4.15
Bump up bundle version to 0.2
Update the subscription display name
Renames patch-cluster-with-rhpm-0.1.sh to /patch-cluster-with-rhpm.sh

/retest-required

/override ci/prow/security

/approve

/approve


Expose the truncate method on the adapter, test it and fix it.

The truncate method was already there, but with no access :-( That's sad because it would be pretty handy for one of my projects.
Although when exposing it I found a bug in it.

Thanks. Would you rebase and ship it?

Coverage decreased (-0.2%) to 95.341% when pulling bd25d9ae71796f81d4a7199ce1270a3406b6e85d on pcorpet:pcorpet-truncate into 1db47795d9f356f072c27e6272650c3b64a6e32e on Dynamoid:master.


Advise on how to get started with a README

Fixes issue #16
Point readers at how-we-work/explainer and provide some copy-pastable verbiage for linking to HTML via GH pages.

I just realized how-we-work is currently restricted.  I'm not sure what to do with this for now.

True; we should probably wait on this, then, until it's public.


[rag eval] some small bug fixes

fix some table rendering issues
add stage indicator
update overall options for RAG to be: irrelevant, somewhat relevant, relevant
update dc response options for RAG to be: does not match question, matches question
handle when there are no dc calls

does this fix the next/prev navigation issue?

does this fix the next/prev navigation issue?

it should fix that issue for when there are no calls in a query


Install was successful, but game is now stuck on "Loading"

To be clear, this is the game trying to load in the main menu, not a save file. Also, I get the 102 error trying to load up the mod through the browser. I don't know if this is the result of the game not having loaded in or not, but your workaround doesn't work for this.
I'm on Win7 and Experimental if that matters.

The 102 error is covered in troubleshooting.
Failing to load suggests you did not install the mod correctly; this is normally caused by the mod not finding files it needs to work. Please ensure you follow the full instructions.

Uh, yeah, no. I did use the full instructuons.  And like I said, your workaround for 102 didnt work. Please consider that an experimental update may have broken your mod on a clean install.

for the 100's of users that use Subnauticawatcher you are the only one Merik2013.
you might not be an "idiot" but this isn't MartinSGill's issue its on your end Merik2013.
make a checklist for yourself and look if you can locate the problem instead.
first time when i installed it i got the same problem of 102
then i figured it must be blocked somewhere so i checked my windows firewall i simply disabled it then tried again and it works on both experimental and live version.
MartinSGill
Very awesome idea and execution amazing feature/"mod" for this game.
Did you know you don't have to use the Steam in-game browser?
since i have multiple monitors i just take one of my side panels use Localhost:63030 and show the map there (in chrome browser) while playing.
maybe make a note of this somewhere in the "readme" thought it was more usefull then shift+tabbing all the time.
Also about the Data and map i know you take all the information from wikipedia but some of the stuff i found seemed to be moved or just simply not there certain lifepod locations are incorrect will this automatically be updated on the map? or would i have to wait for a new version?

Have exactly the same problem, so its not just Merik2013

Have exactly the same problem, so its not just Merik2013

Then perhaps you should also check the full instructions.
or perhaps check if it isn't your firewall that is blocking it like my windows did.

@ryanp20, @Merik2013 I fully re-installed Subnautica from scratch (all 4.9Gb of it) and installed the latest release. It worked perfectly.
The only time I have ever seen this freeze (outside of development bugs) is for a user who eventually admitted he was running a cracked copy of the game.
Without you providing me your output_log.txt there's nothing more I can do to help you troubleshoot, as I am unable to reproduce this.
@WarriorComic Thanks for the compliments. Yes I do know you can use it on another monitor. I've also tested it on Chrome running on an Android tablet, and I've heard of at least one user that uses it on an old laptop, next to his computer. The Steam Overlay is the closest I could easily come to a true "in-game" map; it's also best solution for players with only a single monitor.
Data updates come with a new version; or you can clone/build the project yourself and run the updater. All the data comes from a single JSON file, you could even edit it manually.

Did an uninstall and reinstall of game, all seems to work now, don't know what was causing the hang on start

Considering how old my install is, I might have to try that as well. Will report back.

Can confirm that reinstalling did nothing. I'll also add that my firewall is off (always is) and that I tried disabling Malwarebytes to no effect. There might be something in that output log that might clue us in to what is happening. If we can figure out a solution it might be appropriate to add it to the troubleshooting section.

Looking at it, there's a number of errors popping up with the mod that don't occur normally.
unmodded output log:
output_log.txt

Couple of errors to point out:

WARNING: Shader Unsupported: 'Hidden/VideoDecodeOSX' - Pass 'FLIP_RGBARECT_TO_RGBA' has no vertex shader
WARNING: Shader Unsupported: 'Hidden/VideoDecodeOSX' - Setting to default shader.

VR: OpenVR Error! OpenVR failed initialization with error code VRInitError_Init_PathRegistryNotFound: "Installation path could not be located (110)"!

Missing Steam DRM

Couldn't initialize Steamworks

SocketException: An attempt was made to access a socket in a way forbidden by its access permissions.

at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end) [0x00000] in :0
at System.Net.EndPointListener..ctor (System.Net.IPAddress addr, Int32 port, Boolean secure) [0x00000] in :0
at System.Net.EndPointManager.GetEPListener (System.Net.IPAddress addr, Int32 port, System.Net.HttpListener listener, Boolean secure) [0x00000] in :0
at System.Net.EndPointManager.AddPrefixInternal (System.String p, System.Net.HttpListener listener) [0x00000] in :0
at System.Net.EndPointManager.AddListener (System.Net.HttpListener listener) [0x00000] in :0
UnityEngine.Object:INTERNAL_CALL_Internal_InstantiateSingle(Object, Vector3&, Quaternion&)
UnityEngine.Object:Internal_InstantiateSingle(Object, Vector3, Quaternion)
UnityEngine.Object:Instantiate(Object, Vector3, Quaternion)
UnityEngine.Object:Instantiate(GameObject, Vector3, Quaternion)
SystemsSpawner:Awake()
(Filename:  Line: -1)

This looks like its an illegal copy to me :/
then again i don't have a reference point or experience with illegal copies but since its forbidden and cannot access Steams DRM it pretty obvious in my opinion.

Its not an illegal copy, I assure you. I also uploaded the unmodded log. drm isn't mentioned anywhere. So, it must be the mod tripping that flag.

Its not an illegal copy, I assure you. I also uploaded the unmodded log. DRM isn't mentioned anywhere in that one. Therefore, it must be the mod tripping that flag. I don't understand why trying to use this mod gives me so many errors.

keep in my mind that i'm not the creator nor do i have the experience as @MartinSGill.
I barely know anything about unity Engine and how it actually functions.
That being said...
then from what i can read from the log which was modded is that something is preventing a outgoing or incoming connection as said in the log .

SocketException: An attempt was made to access a socket in a way forbidden by its access permissions.

And because of this, it results into initial steam DRM verification failure including Couldn't initialize Steamworks and therefore resulting in a infinite loop of loading.
I'm just going to assume that you do have administrative privileges on your system since you pointed out firewall is off.
Unless its a UAC (User account control) which i doubt should be a issue like this.
it can't be a professional router since its "Localhost" so the port shouldn't matter.
this is some strange stuff, i really hope you can fix this.
the biggest problem is always the lack of information you could have a 3rd party anti-virus protection like AVG, McCaffee, norton, Kaspersky etc.. that could potentially see this as a threat and block it.
but then again i'm no expert, what i just can read from the modded log is it just shows as something is preventing it from working. and resulting in infinite loading loop.
the only other thing i can suggest is.. try this instead.
[insert feel's bad man meme]
Sorry i couldn't help very much.

I also assumed the socket error to be the problem, but the only antiviral/malware program I run is Malwarebytes and, as I said, I tried disabling that too. I really don't get what's going on here, but thanks for the suggestion of an alternative mod.

The socket error is the problem, as you've already identified. It's not one I've seen before, but here are the steps I would take to try and narrow down / resolve the problem:

Obvious culprits are firewall and anti-virus. Try running with both disabled. If it works, then you need to configure them correctly for this mod to work.
Try to run Subnautica with Admin rights.
See if something else is using the port (netstat -oa , or TCPView).

If that fails, then it might be a network driver or network card issue. Try following these troubleshooting steps, if you haven't already.

I too just encountered this issue, but oddly it only happened the second time I launched the game after installing the plugin. I played for 5 hours yesterday with your excellent map functioning perfectly, then today it is stuck on 'Loading...' when I try to launch. Removed the Subnautica_Data/Managed, validated, and it launched fine. Install the plugin again and 'Loading...'. Rebooted computer ala WarriorComic's mention of the Unity bug... problem went away.


How do I modify nginx.conf?

Hi @dracenliu,
You can either fork and modify the nginx.conf on your fork, or mount a volume to overwrite the nginx.conf.

I'm run with this cmd ,but it doesn't work with my config!What should I do?
docker run -it -p 1937:1935 -p 8088:80 -v /root/nginx.conf:/etc/nginx/nginx.conf:ro --rm alfg/nginx-rtmp

@dracenliu just in case you still needed assistance with customizing nginx.conf, you can just mount a volume:
docker run -it -p 1935:1935 -p 8080:80 -v /host/path/to/nginx.conf.template:/etc/nginx/nginx.conf.template --rm alfg/nginx-rtmp
Due to https://github.com/alfg/docker-nginx-rtmp/pull/50 you have to mount over nginx.conf.template


Amazing Marvin Inbox extension

Description
An extension that can create new tasks in an Amazing Marvin inbox
Screencast
https://user-images.githubusercontent.com/23617198/154806238-9779bf00-dbc2-4fd4-b2a8-abf540c0d8d2.mov
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast

Hey guys, I'm closing this PR because of inactivity. Feel free to reopen it again later and address the feedback.


Update Generic Pages “about”

Automatically generated by Netlify CMS

👷 Deploy Preview for tech-works-for-us processing.

Name
Link

🔨 Latest commit
659535d1741ad7efbf8d29795ad65cef54de48f5

🔍 Latest deploy log
https://app.netlify.com/sites/tech-works-for-us/deploys/63c8232e512a02000a2d79cb


Advance to stage 1

From the tc39 process

[x] Identified “champion” who will advance the addition

This would be me, with the much appreciated help of @domenic . Others (Uri Shaked and Elad Kats) have offered help with the process.

[x] Prose outlining the problem or need and the general shape of a solution

Done in the readme.

[x] Illustrative examples of usage

Done in the readme.

[x] High-level API

Done in the readme, including semantics and a polyfill and a spec to JS file. The semantics spec will likely be moved to ECMarkup format.

[X] Discussion of key algorithms, abstractions and semantics

This is a relatively simple proposal - covered in https://github.com/benjamingr/RexExp.escape/issues/3 and https://github.com/benjamingr/RexExp.escape/issues/4. A template tag is still considered but as it looks from #4 it seems inferior.

[X] Identification of potential “cross-cutting” concerns and implementation challenges/complexity.

Done, and updated the readme file to address these.

[ ]  Get TC39 to agree that we have advanced to stage 1, after meeting all the above requirements.

I've put up a polyfill at https://github.com/ljharb/regexp.escape and https://npmjs.com/regexp.escape, with tests, working in ES3. Once this is accepted as a stage 0 proposal I'll add it to the es7-shim and ES7 Compabilitity Table as well.

Just mentioning -  this has already been added to core.js.
The polyfill here should already work on ES3 by the way as far as I'm aware
(Only tested in one browser though), if you want to pick up publishing and
maintaining it that's awesome! Thanks!
On Sat, Jun 13, 2015 at 9:00 PM, Jordan Harband<EMAIL_ADDRESS>wrote:

I've put up a polyfill at https://github.com/ljharb/regexp.escape and
https://npmjs.com/regexp.escape, with tests, working in ES3. Once this is
accepted as a stage 0 proposal I'll add it to the es7-shim and ES7
Compabilitity Table as well.
—
Reply to this email directly or view it on GitHub
https://github.com/benjamingr/RexExp.escape/issues/2#issuecomment-111736981
.

Your polyfill here uses arrow functions, let, for..of, Array.from, and Symbol (which is impossible to truly polyfill in ES5 or below).
In order to be included in the es7-shim, a polyfill needs to implement a shim method which installs it (correctly non-enumerably, with the right length and name) in the environment, not modify the environment by default, and be published such that it's directly consumable in ES3. It also needs to be robust in case someone modifies the global Array.from (you may want to use the spread operator instead), or String.prototype.indexOf, Array.prototype.push, String,  and Array.prototype.join. I'm definitely happy to maintain all of these concerns in my polyfill :-)

@ljharb oh thanks, I see the confusion.
I have included two files:

polyfill.js which is a polyfill
specInJs.js which is a direct translation of the spec language.

Thanks for maintaining this and taking care of people trying it out - very helpful, be sure to let me know if you get any positive/negative feedback about it :)

Ah, thanks, I'd missed that :-)
Will do! I think this is a great proposal and am excited to see it land.

@ljharb note that the polyfill changed a little (String coerce and not escape /) so you might want to update it.

Thanks, all taken care of.

We're at stage 1.

We're at stage 1.


Allow for custom profiles when running as admin vs user

Description of the new feature/enhancement
Having the ability to create different profiles, can be a great visual clue as to what you are doing, or where you are doing it at, e.g dev vs production.  The same can be said about running as an administrator vs a regular user.  As an admin I can potentially make damaging changes to a system, while as a normal user, I would not have the permissions.  Having the ability to not only customize a profile, but have a separate profile that would load when it is detected that I launched the terminal as administrator would be a handy visual clue that I can do something potentially destructive.  A red background for admin, or a green background as a user for example.

Proposed technical implementation details (optional)
Add the ability to create a different profile section for running the terminal when I right click and select "Run As Administrator" vs just normally launching the Terminal as a normal user.

This I shockingly don't hate.
We'd need some way to convey that this profile is only visible when elevated (or only visible when un-elevated). Further, this setting would need to be clear that it's not running the profile as admin, just that it's only visible when the Terminal is elevated.
I know Sublime Text has the notion of context for keybindings, where you can define some arbitrary queries for when keybindings apply. Maybe a similar style could be applied? Though that does seem like overkill for a feature that really only has three states.
Related: #632 (but not a dupe)

(I was just looking for this today, wanted to add a +1)

@zadjii-msft  - Has there been any update (thought, consideration, testing) to this?

If we're trying to gather requirements for this that feel like they'd fit within the existing setup, I'd request:

in addition to the existing "defaultProfile" setting, we introduce an "defaultProfileWhenElevated" (optional and terminal will use defaultProfile if this not specified?)
in addition to the "defaults" in "profiles" that apply to all profiles, also have a "defaultsWhenElevated"

Somewhat selfishly, these two would satisfy what I'd want from this feature - in my case, I'd go for a red tab color and a default profile of Powershell when elevated, but command prompt and normal tab color when not - but it also seems like it might address the requirements of the OP too?

@ianabrown - This absolutely would fit my requirements, and I love the idea of the defaultsWhenElevated "section" of the configuration.  That way I can keep 99% of my settings (tab color, background, fonts, etc.), but only change those settings if 1. I am running as Admin, and 2, only if the defaultsWhenElevated are configured.
The way I see it is as follows:
Launch Terminal as Admin

Tab color is set to green (defaultProfile)
Background image is set to custom wallpaper (defaultProfile
Terminal detects that I am running as admin and checks for a defaultProfileWhenElevated

If that exists
Change Tab color to red (defaultProfileWhenElevated)
Change background wallpaper to admin customized wallpaper (defaultProfileWhenElevated)

        "defaults": {
            // Put settings here that you want to apply to all profiles
            "fontFace": "Cascadia Code PL",
            "fontSize": 10,
            "padding": "8, 8, 8, 8",
            "cursorShape": "bar",
            "backgroundImage": "ms-appdata:///Local/NonAdminWallpaper.jpg",
        },
        "defaultsWhenElevated": {
            // Put settings here that you want to apply while running as admin. Settings here will override any defaults defined
            "backgroundImage": "ms-appdata:///Local/AdminWallpaper.jpg",
            "tabColor":"Red"
        },

IMO this is more important now that Win11's Win+X A launches Windows Terminal in admin mode and not PowerShell/CMD. At a minimum, maybe we could just have a different defaultProfile when elevated?
(My default profile is a WSL shell, but for elevation I almost always want something native.)

That's actually a really good point.
<pseudo-spec>
Two settings changes:

elevatedDefaultProfile: The default profile when running as admin. This falls back to defaultProfile.
profile.hidden: changed to accept flags: ["none", "unelevated", "elevated", "all"], where true is none and false is all. So, you could hide profiles from one instance or the other.

I reopened #8311 for tracking scheme and other settings changes to existing profiles, since that wasn't really addressed in #8455. I may type these bits up as an addendum to that spec.

Not really. It's still just kinda parked on the backlog - we'd definitely accept it as a community contribution. Alas, I don't think we're about to get to this any time soon.
I'll tag it up for discussion to see if the rest of the team is cool with the pseudo-spec I posted above. If there's consensus, I can write up a walkthrough of what I'd do to implement this.
May want to xref #13929 when we have that discussion.

Note: for discussion
We add the above two settings.
At least the profile.hidden changes seems easier. The elevatedDefaultProfile one is still suspect to the combinatorial problem. For example: #13284. That's another variable.

I liked @carlos-zamora idea mentioned in #11111 where there's just a completely separate config json file for admin mode. Maybe there could just be another setting toggle to enable that behavior?
Then there's just two independent settings files, one used for non-admin and one for admin. Then users can just customize all their settings when Terminal is elevated? They'll basically just work in isolation. Maybe there's some infobar if the setting it turned on that reminds them when terminal is elevated that the settings are for elevated only?


⚠ SceneTime has degraded performance

In 136f265, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 2759 ms

Resolved: SceneTime performance has improved in e92fbf5 after 6 minutes.


How to accumulate metrics for multiple validation dataloaders

❓ Questions and Help
What is your question?
How to accumulate metrics for multiple validation dataloaders separately? Currently the metrics are accumulated for all dataloaders simultaneously.
Code
The validation step accepts dataset_idx parameter when running validation with multiple dataloaders.
def validation_step(self, batch, batch_idx, dataset_idx: Optional[int] = None):

However I'm not sure how to update the metrics separately for each dataloader. Would I have to create separate metrics, one for dataset A and second for B? Or maybe my metric could accept the dataset_idx parameter to know for which ds it should log given output.
This however wouldn't work with pl factory metrics like average precision, since they are dataset agnostic?
def update(self, preds: torch.Tensor, target: torch.Tensor):

Not sure how to approach this.

You would have to create seperate metrics per validation dataloader (similar to how you need seperate metrics for train/val/test). Something like this could maybe work for you
def __init__(self, ...)
    ...
    self.val_metrics = nn.ModuleList([pl.metrics.Accuracy() for _ in range(n_val_dataloaders)])

def validation_step(self, batch, batch_idx, dataset_idx):
    ...
    self.val_metrics[dataset_idx].update(preds, target)

You would have to create seperate metrics per validation dataloader (similar to how you need seperate metrics for train/val/test). Something like this could maybe work for you
def __init__(self, ...)
    ...
    self.val_metrics = nn.ModuleList([pl.metrics.Accuracy() for _ in range(n_val_dataloaders)])

def validation_step(self, batch, batch_idx, dataset_idx):
    ...
    self.val_metrics[dataset_idx].update(preds, target)

Maybe it would be a good idea to add it to the documentation or as an example?

Maybe it would be a good idea to add it to the documentation or as an example?

So there already is this note in the documentation:

@potipot do you think it is enough to just extend this note to also include multi-val/multi-test case?

So there already is this note in the documentation:

@potipot do you think it is enough to just extend this note to also include multi-val/multi-test case?

I was trying to find some information about this in the docs, but phrases "multiple dataloaders" or "metrics for multiple dataloaders" didn't get me what I was looking for.
Maybe it would be beneficial to add your response with some extension like:

NOTE: if you want to separately collect metrics for multiple dataloaders you have to create seperate metrics for each validation dataloader  (similar to how you need seperate metrics for train/val/test).
By default pytorch-lightning will aggregate metrics for multiple dataloaders into one.

def __init__(self, ...)
    ...
    self.val_metrics = nn.ModuleList([pl.metrics.Accuracy() for _ in range(n_val_dataloaders)])

def validation_step(self, batch, batch_idx, dataset_idx):
    ...
    self.val_metrics[dataset_idx].update(preds, target)

I have not yet tested your example but this is just something that I was hoping to find in the documentation :).

I was trying to find some information about this in the docs, but phrases "multiple dataloaders" or "metrics for multiple dataloaders" didn't get me what I was looking for.
Maybe it would be beneficial to add your response with some extension like:

NOTE: if you want to separately collect metrics for multiple dataloaders you have to create seperate metrics for each validation dataloader  (similar to how you need seperate metrics for train/val/test).
By default pytorch-lightning will aggregate metrics for multiple dataloaders into one.

def __init__(self, ...)
    ...
    self.val_metrics = nn.ModuleList([pl.metrics.Accuracy() for _ in range(n_val_dataloaders)])

def validation_step(self, batch, batch_idx, dataset_idx):
    ...
    self.val_metrics[dataset_idx].update(preds, target)

I have not yet tested your example but this is just something that I was hoping to find in the documentation :).

I think it is a great idea to add a second note. Would you be up for submitting a PR @potipot ?

I'm still not sure though if this is the default behavior with the new metrics API. I'm trying to verify this or maybe can you confirm?

If you have a metric object for each individual dataloader, then the metric should accumulate separately.

But if we just do
def __init__(self, ...)
    ...
    self.val_metrics = pl.metrics.Accuracy()

def validation_step(self, batch, batch_idx, dataset_idx):
    ...
    self.val_metrics.update(preds, target)

But if we just do
def __init__(self, ...)
    ...
    self.val_metrics = pl.metrics.Accuracy()

def validation_step(self, batch, batch_idx, dataset_idx):
    ...
    self.val_metrics.update(preds, target)

they would be evaluated across all dataloaders and computed only at the end?

Yes exactly :]


BUG: Wrong email validation

There were introduced breaking changes in minor release for email validation.
Previously emails such as<EMAIL_ADDRESS>were successfully validated using z.string().email()
In zod 3.21.4 such email is valid
But in zod 3.22.4 such email is invalid
Such emails should be valid, so this issue should be fixed I suppose.

Probably this commit did break this: https://github.com/colinhacks/zod/commit/2ba00fe2377f4d53947a84b8cdb314a63bbd6dd4#diff-52632a4861fc9d7dc2dacef13cd91d60286dd706c1bb57438b8ee6a579a8796a

I'd like to work on this, but unfortunately, I believe it's not going to happen:
https://github.com/colinhacks/zod/pull/3218#issuecomment-1945087788

Per https://github.com/colinhacks/zod/pull/2157 Zod now follows "Gmail rules" with vanilla .email() validation. That's the final word for now. For any other behavior I recommend .regex or a custom refinement.
For Zod 4 I plan to export several utility regexes, including some more forgiving email regexes. You'll be able to plug these into .email() to override the default behavior. Something like:
z.string().email(z.regex.RFC5322);

In the meantime here's how to customize the regex with superRefine:
const emailRegex =
  /^(?!\.)(?!.*\.\.)([A-Z0-9_'+-\.]*)[A-Z0-9_'+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;

const emailSchema = z.string().superRefine((data, ctx) => {
  if (!emailRegex.test(data)) {
    ctx.addIssue({
      code: z.ZodIssueCode.invalid_string,
      message: "Invalid email address",
      validation: "email",
    });
  }
});


Ftp command FEAT return code invalid?

Hello,
I'm trying to implement a minimal FTP Server and doing some tests with WinSCP.
i've found that the response code to a FEAT command is a 221 closing the underlying connection; but being the corrrect response code 211 according to the RFC https://datatracker.ietf.org/doc/html/rfc2389#section-3.2.
Thank you.

Hello.
Bug fixed. Update the package to version 1.3.6.
Thanks for the information.


mobile link icons

footer on mobile has weirdly spaced links

valid
also the footer should be affixed to bottom in mobile


Add note about guardrails on WHERE … IN …

For DOC-4062 (private)
Issue: One of my customer has encountered an issue while using more than 25 values in the IN clause.
Answer: “It is invalid pattern with Cassandra 4 and guardails. The problem is the load is transferred from the client to the coordinator. They should go with parallal queries and reduce on the client side: faster and dstribute the load on the nodes”

this looks good to me.
@absurdfarce

I do have a few questions.  @michaelsembwever I don't know if you can help with some/all of these... I can follow up other places if need be.

This change appears to stem from the work on CEP-3.  Does this only apply to OSS C* or does it also apply to DSE and/or Astra as well?
If it's just a C* thing is there a version dependency on when users need to worry about this behaviour?  It looks like most of the CEP-3 work came in with 4.1... should we limit this advice to specific versions (or describe differing behaviours for impls before and after CEP-3 came along)?
These docs reference a limit of 25 values in an IN clause.  Is that a fixed limit or is it configurable?  If it's configurable we might want to provide guidance to the user about how to configure it.
Seems like we might want to provide a pointer to other information about these constraints.  This could take the form of a pointer to CEP-3 but if there are other resources that explain this in a user-friendly way we should consider those instead.

I agree with your concerns.  I think the easiest way to address this is to change the language to be informative about server-side restrictions that the user may hit, reference the correct cassandra docs.  From the driver's PoV these restrictions are ultimately unknown.


Unexpected SQL generated by Select_Where_Navigation_Deep test

Steps to reproduce
Run this test: Select_Where_Navigation_Deep
The issue
This unexpected SQL is generated:
            Assert.Equal(@"SELECT [od].[OrderID], [od].[ProductID], [od].[Discount], [od].[Quantity], [od].[UnitPrice], [od.Order.Customer].[CustomerID], [od.Order.Customer].[Address], [od.Order.Customer].[City], [od.Order.Customer].[CompanyName], [od.Order.Customer].[ContactName], [od.Order.Customer].[ContactTitle], [od.Order.Customer].[Country], [od.Order.Customer].[Fax], [od.Order.Customer].[Phone], [od.Order.Customer].[PostalCode], [od.Order.Customer].[Region]
FROM [Order Details] AS [od]
INNER JOIN [Orders] AS [od.Order] ON [od].[OrderID] = [od.Order].[OrderID]
LEFT JOIN [Customers] AS [od.Order.Customer] ON [od.Order].[CustomerID] = [od.Order.Customer].[CustomerID]
ORDER BY [od].[OrderID], [od].[ProductID], [od.Order].[CustomerID]",
            Sql);

(This SQL is missing a where clause, and has no TOP statement)
Further technical details
EF Core version: 1.1.0-alpha1-22167
Operating system: Win 10
Visual Studio version: VS 2015 Update 3
Other details about my project setup:

@ErikEJ I ran build on both dev (1.1.0-preview bits) and our current WIP (1.2.0) and in both cases test passes. Are you still seeing this issue? If so, is it SQL server or a different provider?

It is the SQLCE provider, but possibly my expected results are out of sync. Will check and let you know (might be a couple of days)

Sorry for waitsing your time 😞

no worries, not much time was wasted - I had to run those builds anyway :)


Support Citatel helm toggle

This PR add support for toggling on/off the citadel/security generation by the helm chart.
Before this PR istio-citadel was always part of the helm template/install.
This is useful for fully controlling what Istio components are necessary for the installation by a user.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: andraxylia
Assign the PR to them by writing /assign @andraxylia in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests.sh
8ea9c0041db681e00dce0474bf7e107eb77d1e11
link
/test e2e-bookInfo

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

/test e2e-bookInfo

/assign @andraxylia

/assign @linsun

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: linsun, ymesika
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS [linsun]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


[d3d9] SIMPLIFIED: Only dirty frame buffer on render state changes if render area is impacted

Simplified version of #4349 that removes some tracking.
It removes some more tracking that has kind of bothered me.

I like this approach more, however I think we need to do two passes over the render target array:

one to determine the actual render area from only actively written RTV/DSV
one to filter out non-written RTV/DSV that are actually smaller than the render area

Otherwise we'll filter out false positives, especially if an active DSV is what actually limits the render area.


link-ipps depends on link-ippvm

Looks like link-ipps needs to depend on link-ippvm to statically build on Linux
In my last PR I was testing by manually linking in just the link-libvm instead of through ipps-sys. I'm not sure if there are other cross lib dependencies. But for what I was doing it was missing y8_ippsSin_32f_A24 (and a few similarly named functions), which are only referenced in libipps.a and libippvm.a

Thanks. Published in ipp-sys 0.4.5. Does this work for you?

Works now. Thank you.

Great, also all my tests are still passing on Linux, Mac and Windows from IPP 2017 to 2019. Thanks again.


 You can register a channel for "message" updates and then access the location (update.Message.Location). Before that you can send a message and ask the user for location.
To get user id :
You can get a user's id using "From" field. "From" field contains the information of the user that has sent the messags. For example in a messags type update you can access the id like this :
update.Message.From.Id

Thanks

Anytime!

Concerning the location i get an error each time I make a request
func locate() {
	bot.AddHandler("locale", func(u *objs.Update) {
		_, err := bot.SendMessage(u.Message.Chat.Id, fmt.Sprint(u.Message.Location.LivePeriod), "", u.Message.MessageId, false, false)
		if err != nil {
			log.Panic(err)
		}
	}, "private")
}

error message:
2022/04/08 05:09:05 | getWebhookInfo                    Success |610782µs
2022/04/08 05:09:06 | Update                            message |Parsed
2022/04/08 05:09:06 | Update                            message |Parsed
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x10 pc=0x7e37ee]

goroutine 10 [running]:
main.locate.func1(0xc00014c400)
        C:/Users/0xEarl/Desktop/Tgo - Copy/main.go:44 +0x2e
created by github.com/SakoDroid/telego/parser.checkTextMsgHandlers
        C:/Users/0xEarl/go/pkg/mod/github.com/!sako!droid/telego@v1.7.2/parser/handlers.go:61 +0xd8
exit status 2

C:\Users\0xEarl\Desktop\Tgo - Copy>

Concerning the location i get an error each time I make a request
func locate() {
	bot.AddHandler("locale", func(u *objs.Update) {
		_, err := bot.SendMessage(u.Message.Chat.Id, fmt.Sprint(u.Message.Location.LivePeriod), "", u.Message.MessageId, false, false)
		if err != nil {
			log.Panic(err)
		}
	}, "private")
}

error message:
2022/04/08 05:09:05 | getWebhookInfo                    Success |610782µs
2022/04/08 05:09:06 | Update                            message |Parsed
2022/04/08 05:09:06 | Update                            message |Parsed
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x10 pc=0x7e37ee]

goroutine 10 [running]:
main.locate.func1(0xc00014c400)
        C:/Users/0xEarl/Desktop/Tgo - Copy/main.go:44 +0x2e
created by github.com/SakoDroid/telego/parser.checkTextMsgHandlers
        C:/Users/0xEarl/go/pkg/mod/github.com/!sako!droid/telego@v1.7.2/parser/handlers.go:61 +0xd8
exit status 2

C:\Users\0xEarl\Desktop\Tgo - Copy>

To get location : Location is located in the message struct. You can register a channel for "message" updates and then access the location (update.Message.Location). Before that you can send a message and ask the user for location.
To get user id : You can get a user's id using "From" field. "From" field contains the information of the user that has sent the message. For example in a message type update, you can access the id like this : update.Message.From.Id

How do I go about it

i think i have gotten it
func locate() {

	//The general update channel.

	//Adding a handler. Everytime the bot receives message "hi" in a private chat, it will respond "hi to you too".

	bot.AddHandler("hi", func(u *objs.Update) {

		//Register channel for receiving messages from this chat.
		cc, _ := bot.AdvancedMode().RegisterChannel(strconv.Itoa(u.Message.Chat.Id), "message")

		//Sends back a message
		_, err := bot.SendMessage(u.Message.Chat.Id, "hi to you too, send me a location", "", u.Message.MessageId, false, false)
		if err != nil {
			fmt.Println(err)
		}

		var loction objs.Location

		//Waits for an update from this chat
		up := <-*cc
		if reflect.TypeOf(u.Message.Location) != reflect.TypeOf(loction) {
			locate()
		}

		//Sends back the received location
		_, err = bot.SendLocation(up.Message.Chat.Id, false, false, up.Message.Location.Latitude, up.Message.Location.Longitude, up.Message.Location.HorizontalAccuracy, up.Message.MessageId)

		if err != nil {
			fmt.Println(err)
		}
	}, "private")
}


Ensure backward compatibility of config_network files

Due to some recent changes (e.g. renaming the config key "weighted_cost_activate" to "weighted_cost-activate" in train_model.py, older version of config_network.json files (e.g. this one) are currently incompatible and cannot be run without manually renaming several keys, at least the following (might be incomplete):

weighted_cost_activate -> weighted_cost-activate
da-random_rotation-activate -> da-2-random_rotation-activate
da-noise_addition-activate -> da-5-noise_addition-activate
da-elastic-activate -> da-3-elastic-activate
da-shifting-activate -> da-0-shifting-activate
da-flipping-activate -> da-4-flipping-activate
da-rescaling-activate -> da-1-rescaling-activate

Edit: A few more keys that need to be changed re: #122

weighted_cost_boundaries_sigma -> weighted_cost_boundaries-sigma
weighted_cost_boundaries_activate -> weighted_cost_boundaries-activate

@alzaia I somewhat understand the renaming of weighted_cost-activate for consistency, but the need for the numbers in the data augmentation keys is puzzling to me (train_model.py fails without them). It's unclear if these numbers are also required for the keys of the optional da function argument/bounds.
We should either 1 - ensure that config keys are never changed for retrocompatibility, 2 - create patches for older config keys, or 3 - handle the multiple key names directly in the code where they are called.
On a separate but related note, there's a function that already exists that's meant to validate config_network.json files here, however it does not seem to work as intended. It compares if all the key in a pre-defined structure here are included in the config_network.json file you want to validate; however, not all those keys are required. The validate config file should only 1 - verify that the required (not optional) keys are included in the config_network.json file, and 2 - verify that all the keys in the config_network.json file are valid options.

@jcohenadad I'd like to keep them separate. The new config file is specific to the user's ADS setup as a whole, whereas the config network file is specific to the hyperparamters of a training session, which a user might want to have multiple config files (depending on if they're trying different hyperparameters for the training).

@mathieuboudreau I also changed the following keys in the config file because they were causing a bug:
weighted_cost_balanced_activate ==> weighted_cost-balanced_activate
weighted_cost_balanced_weights==> weighted_cost-balanced_weights

Closed because this issue is deprecated since our move to IVADOMED.


Override auto props controls

Clear and concise description of the problem
I want to be able to change the controls that get generated by histoire on the auto-props control generation. Right now they are fixed, so you have to create custom controls.
For example: I want to be able to create a custom control that replaces the HstText that's auto generated for color with a HstSelect.
Right now my current best option is to recreate all props as custom controls within the control template, and disable auto-props with auto-props-disabled. This obviously removes the benefit of the auto generated prop controls.
Suggested solution
It would be super cool if we could just override the auto generated prop controls without needing to recreate all of them individually in manually typed out controls, just to override 1 control option.
Alternative
Curious if the initial state is even necessary? If you could just override the auto generated controls with custom controls you could easily set the initial state through there.
I think you could take the best of the initial state controls and combine them with the auto prop generated controls, leading for a more uniform workflow.
Might be missing some key feature/usage of initial state though
Additional context

In this example there is overlap with both control sections having a control over the label/title. In this its clearly desirable for there only to be 1 control over the title, no need to confuse the user between initial state and override.
It would be a lot neater to combine into 1 section with
Label, Text, modelValue - Label having override the auto generated title. This way you could change Label to be any kind of control that you want
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

This is a good idea. I will have the same need when I use 'Histoire'. I would like the auto-generated components to be more user-friendly, for example enumerated types with less than 3 options could be in the form of button groups, for example numeric types use inputNumber, etc.
For this reason I wrote my own script to auto-generate documentation to parse my components, and gave up the ability of 'Histoire' to auto-generate controls. I think this is a shame. The idea you mentioned I think will help me to achieve the controls I want

This would be a feature i could also really use, because it is taking a lot of time now if you want to override 1 prop where for example the component has a total of 10 props. It means you have to write custom code for all 10 props instead of just the one you want to override.
It would also be a good option as stated above to have more complex mapping of the available custom controls to the types of the props.
Is there some kind of roadmap or place where the priority of this feature request is placed?


cigien: Watch pillsdaddy.com

cigien requests the watch of the watch_keyword pillsdaddy\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

pillsdaddy\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


Add :swap action to yum_package resource

Description
For folks who are running RHEL distros and need to swap in different packages from the IUS repository, this would give them the ability to do so natively in Chef Infra Client.
Example
yum_package 'git222' do
  swap_from 'git'
  action :swap
end

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have run the pre-merge tests locally and they pass.
[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] All commits have been signed-off for the Developer Certificate of Origin.

closing this since it seems to have stalled


Facebook login is always blocked before it can scrape data

https://www.facebook.com/checkpoint/block/

Hello @zchryy03
Facebook doesn't allow gathering the data without using API. So to solve this issue please try to change your IP Address, and then solve this checkpoint error.


Documentation for GridList properties is misformatted

Problem description
GridList documentation on http://material-ui.com looks like this here.  Seems like a tag wasn't closed perhaps, for that table.
I would've fixed it, but I couldn't find where the documentation for the properties exists.
Thanks for an awesome library!!

@cloudrave Thanks for the detailed report, but it's a dupe of #6612. Funnily enough, was just trying to get to the bottom of it. (Without much success!)
Just so you know, the prop docs are extracted from the comments before the PropTypes in the component.

Oh, sorry.  I was searching for issues at too low of a level.  Thanks!