How to disable CSS chunk hashes?

I want to remove CSS chunk hashes. So at the moment the files are generated with a chunk hash between the file name and the extension:
build/static/css/main.1e0a5858.css
build/static/css/content.3b0b2989.css

What I would like to have is the following output after executing the build script:
build/static/css/main.css
build/static/css/content.css

I found a solution working but only for the JS files. That's the craco.config.js:
module.exports = {
  webpack: {
    configure: (webpackConfig, { env, paths }) => {
      return {
        ...webpackConfig,
        entry: {
          main: [
            env === "development" &&
              require.resolve("react-dev-utils/webpackHotDevClient"),
            paths.appIndexJs,
          ].filter(Boolean),
          content: "./src/chromeServices/content.tsx",
        },
        output: {
          ...webpackConfig.output,
          filename: "static/js/[name].js",
        },
        optimization: {
          ...webpackConfig.optimization,
          runtimeChunk: false,
        },
      };
    },
  },
};

Decided to give it another try after some time and.. it was that simple:
module.exports = {
  webpack: {
    configure: (webpackConfig, { env, paths }) => {
      // Remove CSS file name hash
      webpackConfig.plugins[4].options.filename = 'static/css/[name].css';

      return {
        ...webpackConfig,
        entry: {
          main: [
            env === "development" &&
              require.resolve("react-dev-utils/webpackHotDevClient"),
            paths.appIndexJs,
          ].filter(Boolean),
          content: "./src/chromeServices/DOMEvaluator.tsx",
        },
        output: {
          ...webpackConfig.output,
          filename: "static/js/[name].js",
        },
        optimization: {
          ...webpackConfig.optimization,
          runtimeChunk: false,
        },
      };
    },
  },
};

I know it's not the best/safest implementation, but it's one which solved my issue.


FIX: native decimal catch

recently a new pool was added but it looks like Midgard isn't reflecting the pool decimals properly
midgard
"nativeDecimal": "-1", << xchain trys to create a crypto amount but with -1 for decimals which is against bignumber js.
for me its breaking at the affiliate fee level in the swap quote. But this could also break in other areas.
mitigation >> if the pool is returning -1 ... then make it not return -1

nvm Midgard needs to work harder to stay up to date.


gulp4 breaks build (after gulp was tagged latest today, from next)

Here's the relevant error (I think):
/Users/marius/p/wellplan/node_modules/gulp-help/index.js:81
    task = gulp.tasks[name];
                     ^

TypeError: Cannot read property 'help' of undefined
    at Gulp.gulp.task (/Users/marius/p/wellplan/node_modules/gulp-help/index.js:81:22)
    at module.exports (/Users/marius/p/wellplan/node_modules/gulp-help/index.js:97:8)
    at Object.<anonymous> (/Users/marius/p/wellplan/semantic/gulpfile.js:6:38)
    at Module._compile (internal/modules/cjs/loader.js:722:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
    at Function.Module._load (internal/modules/cjs/loader.js:552:3)
    at Module.require (internal/modules/cjs/loader.js:658:17)
    at require (internal/modules/cjs/helpers.js:22:18)

Gulp 4.x is not yet supported. Duplicate of #3793
Ensure that you use the latest gulp 3.x

I think there are dependencies of semantic-ui that now pulls in gulp 4, because it's now tagged as latest, and that breaks the build (gulp-help etc). At least that's what we're experiencing.

How are you rebuilding semantic ui?
Executing npx gulp build in the semantic ui directory works for me.
mkdir semantic-ui-test && \
  cd semantic-ui-test && \
  npm init && \
  npm i semantic-ui && \
  cd semantic && \
  npx gulp build

That happens if you don't select a value for "We detected you are using NPM Nice! Is this your project folder?"
No option is selected as a default

Yeah, just noticed, sry.

I noticed the latest version was 2.4.2, not 2.4.1 that I tested with. Upgraded to 2.4.2 and it worked as expected. Thanks!


Can you add the single-line command syntax for toggling mute to the help file examples?

For example, I thought it might be "Get-AudioDevice -Recording | Set-AudioDevice -RecordingMuteToggle" to mute my microphone. But I have the syntax wrong. Would help to add the single-line shortcut trickery to the help. Thanks!

'
Set-AudioDevice -RecordingMuteToggle
'
This line alone will toggle the default recording device's mute state. When yo say "the help" do you mean the README.md file? Because the project would be in need of an official PowerShell help file.


⚠ Bofrost.es has degraded performance

In eaaafa0, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1394 ms

Resolved: Bofrost.es performance has improved in de1a30c after 6 minutes.


Overhaul Gas & Cycles cost page

Thank you for your contribution to the IC Developer Portal.
Before submitting your Pull Request, please make sure that:

[ ] You have updated the .github/CODEOWNERS file according to your changes.
[ ] You have registered new documents to /sidebars.js if any.

@jessiemongeon1, thank you for iterating on this.
I have one high-level comment: can we keep the old file name "gas-cost". I agree with you that it is not a great name, but I think the url https://internetcomputer.org/docs/current/developer-docs/gas-cost has been widely shared and it probably appears in many forum posts, bookmarks, document. Breaking the URL might many people upset.


Added new argument to write json from mfile, added execution of argument to post processing

It is useful to have PROCESS dump the mfile to json for UQ work. I have added an argument to do this which is executed in postprocessing

I addressed the changes, let me know if further improvements are needed.


ecobee component doesn't match current mode

Home Assistant release (hass --version):
0.35.3
Python release (python3 --version):
3.4.2
Component/platform:
ecobee
Description of problem:
The ecobee component shows temperature ranges as if the thermostat were in Auto mode, which it is not. If a hold temperature is set via the thermostat or non-HASS method (Siri, Alexa), HASS will sometimes switch and start showing one temperature point, though this seems inconsistent.

Expected:
For HASS to show one temperature slider when the ecobee is in heat or cool mode.
Problem-relevant configuration.yaml entries and steps to reproduce:
ecobee:
  api_key: <key>

enable heat mode
view component

Traceback (if applicable):

Additional info:

https://github.com/home-assistant/home-assistant/pull/4981 includes the fix for this issue, but also includes a new feature where the implementation is discussed so not ready for merging. The fix for this issue could be broken out into a separate PR that would be easy to merge.

I am not sure whether #4981 completely addresses this. When I show the "Thermostat" widget, I see three sliders now. I think that this request asks hat the bottom 2 sliders are deleted.

However, I did not study how this slider is created from the configuration.

In case you wonder about the 400 degrees, my house is not that warm. For some strange reason, when you put the ecobee into vacation mode, it produces this bizarre upper limit.
Regarding progress on  #4981: I am planning to move this enhancement down in ecobee, as Paulus raised a concern about scalability, but stopped responding to comments. I am not sure his suggestion is wise due to the backwards incompatibility, so I will implement a version for ecobee only to avoid crap from other devices which I cannot test and don't want to impact.

This is what it switches to when a hold temperature is set:

Seems like this is what it should always be in Heat or Cool mode.

@Duoxilian, ah, correct, the fix needs tweaking a bit. The high and low target temperature properties should return None to only show the regular target temperature in heat or cool mode.

So I looked at some other thermostats, such as wink and nest. Nest returns either (i) a high and a low target when we are in a STATE_HEAT_COOL or in away_mode otherwise (ii) it returns just one target temperature. Wink returns (i) a high and a low target when we are in a STATE_AUTO, (ii) one target temperature if we are not in STATE_AUTO and not in away_mode, and (iii) all None if we are not in STATE_AUTO and away_mode is on (the latter seems a bug?).
To be honest, I am not sure what the intent of target_temperature is, from reading the other code. My original interpretation was that it was the real target temperature now active but that is not what the other thermostats seem to be doing. I cannot find any documentation as to the purpose of these three values. What you describe above does not match the logic in the other thermostats.
Note further that some thermostats do not have multiple target temperatures. My preference would be to get rid of these high and low and just show a single target temperature.
I wish whoever implemented this could have put some comments into the code or there were some requirements.

Different devices might have different features so the implementation will vary. It sounds as ecobee should return both high and low in auto mode, but only one of those when in heat or cool, ie high when cool and low when heat.

OK, that makes sense. Will do.

Just for reference for those without an ecobee, it does handle auto mode a bit uniquely. Here's what mine looks like in auto:

Auto mode uses the high and low points as a "comfort setting". If temp drops below the low point, heat kicks in. If it goes above the high point, cooling kicks in.
Heat and Cool modes should be the only ones to show a single temperature. I assume it uses target_temperature for the single modes, and low and high for auto, but I'm not sure. Is it possible that when it heat mode, the ecobee API still wants to receive the low point temp?

Also, when changing the temperature ecobee creates a "hold':

Hitting that 'x' calls a resume program which brings it back to the current schedule.
It seems like HASS doesn't have services to call a resume program, and I'm not sure how set_temperature is being used (is it creating a hold?). I'm not proficient enough with python or how HASS is built to look deep enough into it.

Please note that HASS does not attempt to emulate exactly what a thermostat is doing. Instead, it provides a similar interface to all types of thermostats. The closest thing to what you are discussing above is the away_mode (or the home_mode in the dev branch, see #4981). If in the UI you turn away_mode on, it is like getting the box with the little "x", and if you turn away_mode off, it is like clicking the little "x". I am planning to make this more generic so it works for all hold modes (including vacation, which is also not supported at this point).
But I think you should move your mindset away from "can I get a user interface just like the ecobee has now" to "what automation can I create" because that is where the power of HASS is.
For example, the ecobee "smart home" mode only kicks in after about 30 minutes of being at home. Why freeze for 30 min? Using HASS automation you can detect presence immediately and turn the heat on. (Note that this does not work as well with using the ecobee occupancy sensor for the opposite, sensing absence, as it takes ecobee 30 min to report an absence event, but if you have some kind of motion sensor that works more immediately, you can also kill the heat quicker after you leave.) Similarly, say you have your sleep mode set to start at 11pm, but you are still up. Why freeze because ecobee turned the heat off? You can kick the thermostat back into heating when it senses occupancy.
It is these kind of little things that make HASS (or any other home automation) great. You can adjust your home technology to your liking.

To answer your questions above, yes, set_temperature, just as in the ecobee thermostat, creates a hold. You will need to pass it a low and a high temperature, but only the appropriate one is considered. So we can definitely ignore the other one when in heat or cool modes.

And, yes, there is a resume_program function.

So I guess you want to see this in auto mode:

and this in other modes (in my case heating):

I'll create a pull request.

Pull request #5312


Remove vendor specific backends

Since lico evolved out of Kopano Konnect it currently still contains a Kopano Groupware Core specific backend. Since the idea of libregraph is to be as vendor agnostic as possible, this backend should be removed from lico and instead maintained on Kopano side in a dedicated project.

With the introduction of the generic "libregraph" backend, it might not be required to even have the kc backend anymore as Kopano Groupware Core could simply provid the "libregraph" endpoint.


introduce pre-commit typos check

@filipstrand I see you've already done some of this cleanup in #70, but here's the formal introduction to the repo.

Nice tool to have!


Push local change to server

Hello @ashwin-pc,
Just to be sure, right now it's not possible to edit the .json config file locally and to push it to the server so that other clients can get the latest version?
Thanks

Hmm that's an interesting use case. There are two different features in your question.

The ability to edit the config from the app and save it to the server. This is currently not possible and a lot tricker since this is a static start page. I'm working on alternative solutions for this but it won't be coming anytime soon.
The ability to push the changes to the other client automatically. This is possible, and can be achieved with some form of version control in the config. If you think this is useful without the first, I can open a separate issue and track it there :)

Thanks for your answer and thanks for seeing the problem in two features!
The second one makes a lot of sense but I'm not really a great judge... I actually use hiccup for my business so that all my colleagues can have the same start page but the "co-op feature" ("hey Adrien I changed a shortcut, can you see it?") is maybe very far from the original idea of this project.
Again thank you for your answer.

Yeah, it's not a use case it was built to support. The biggest challenge there is security. You only want a user with the right privileges to be able to change the startpage. I eliminated this issue by making it static, so that only the user who has access to the server where the config is hosted is allowed to edit the default config. This way it's the responsibility of the server to setup the correct privileges.
That being said if your immediate worry is the ability to share these changes, it should be fairly straightforward to download the latest config once it's edited locally and share that file to the server admin or anyone with permissions to modify the default config. It's not as simple as clicking save on the page, but it's an alternative for now.
Hope this helps. Closing this issue for now since I already have an issue open for the first use case. Feel free to reopen it if you have any other questions :)

Thank you Ashwin for the time taken for these answers. The alternative you propose is really interesting and easy to implement so yeah I agree 100% with you.


Detected Corners from point clouds and monocular camera can not match

I use VLP16 and Flea3 monocular camera to do the calibration. Corners detection of camera and VLP16 respectively is finish without any problems.
But after run the commend:
from ILCC import LM_opt
LM_opt.cal_ext_paras()
the calibration result is output as following:

I tried to change increase jdc_thre_ratio and agglomerative_cluster_th_ratio in config.yaml, but it is no works.
Could you please check the problem, and answer it? Thanks a lot! If you need any file or more information please ask me.

It's highly possible that  3D corners may not be correctly detected due to a wrong detection of chessboard' point cloud.
Can you check whether  3D corners were correctly detected with the following code?
    from ILCC import utility
    utility.vis_ested_pcd_corners(ind=1)

And how many image-pcd pairs did you use?

Thanks for reply and answer! Here is my figure after running the code:
from ILCC import utility
utility.vis_ested_pcd_corners(ind=1)

I think it can detect chessboard correctly.
My image-pcd pairs is 7 pairs, but the chessboard doesn't move, which is in same relative position between camera and VLP16 in these 7 pairs. it is OK?
And could you please explain more about  jdc_thre_ratio and agglomerative_cluster_th_ratio in config.yaml. What is their scope? And how should I adjust them in this situation?

From the image you uploaded, both the point cloud of chessboard and 3D corners are correctly detected as you thought.
I just noticed that the counting order of corners on the image differs from the request for running the program.
This will cause the mis-correspondence between image-pcd corners and further cause the failure of the optimization.
Currently, the counting order of 2D and 3D corners obeys to the rule: 1. starts from the lower left; 2. counts from lower left to upper right with the zigzag order.
You can check a sample image shown [here].(https://github.com/mfxox/ILCC/blob/master/readme_files/0001_cal_backproj_zoom.jpg).
Can you try to reorder the image corners and run the optimization again?
I am not sure why you didn't move the chessboard in 7 pairs.  If you don' t change the relative position/pose of the chessboard to increase variation, what is the meaning to increase the image-pcd pairs.
As for  jdc_thre_ratio and agglomerative_cluster_th_ratio, they relate to the segmentation of  the point cloud to get the chessboard. As the chessboard seems to be segmented correctly, I think it's fine of these two parameters for your situation.

I just received you reply! Thanks a lot!
Perhaps, the first detection point is mean reason as we though. I will check now!

I changed the first detection point to “lower left” in the image, and it works! Thanks so much for help!


Refactor SubgraphRunner (old InstanceManager) - Part 2

This is a continuation of #3245.
Related issue #3246
This Pull Request tries to address two problems / solves two things:

Make the whole Runner and it's member fields/structs more flat, easier to access and give more useful meaning in general to them;
Divide the run code into three clear paths, each handling a BlockStreamEvent variant.

Here's a pseudocode that exemplifies the second part:
impl SubgraphRunner {
    fn run(mut self) -> Result<...> {
        loop {
            let stream = BlockStream::new(...);

            loop {
                let event = stream.next();

                match self.handle_stream_event(event) {
                    Action::Continue => continue,
                    Action::Stop => return Ok(()),
                    Action::Restart => break,
                };
            }
        }
    }

    fn handle_stream_event(event: BlockStreamEvent) -> Result<Action> {
        match event {
            Some(Ok(BlockStreamEvent::ProcessBlock(block, cursor))) =>
                self.handle_process_block(block, cursor),

            Some(Ok(BlockStreamEvent::Revert(revert_to_ptr, cursor))) =>
                self.handle_revert(revert_to_ptr, cursor),

            Some(Err(e)) => self.handle_err(e),

            None => unreachable!("The block stream stopped producing blocks"),
        }
    }
}

enum Action {
    Continue,
    Stop,
    Restart,
}

trait StreamEventHandler<C: Blockchain> {
    async fn handle_process_block(
        &mut self,
        block: BlockWithTriggers<C>,
        cursor: Option<String>,
    ) -> Result<Action, Error>;

    async fn handle_revert(
        &mut self,
        revert_to_ptr: BlockPtr,
        cursor: Option<String>,
    ) -> Result<Action, Error>;

    async fn handle_err(
        &mut self,
        err: CancelableError<Error>,
    ) -> Result<Action, Error>;
}

impl<C, T> StreamEventHandler<C> for SubgraphRunner<C, T>
where
    C: Blockchain,
    T: RuntimeHostBuilder<C>,
{
    async fn handle_process_block(
        &mut self,
        block: BlockWithTriggers<C>,
        cursor: Option<String>,
        cancel_handle: CancelHandle,
    ) -> Result<Action, Error> {
        // current branching that handles a block to be processed
    }

    async fn handle_revert(
        &mut self,
        subgraph_ptr: BlockPtr,
        revert_to_ptr: BlockPtr,
        cursor: Option<String>,
    ) -> Result<Action, Error> {
        // current branching that handles the revert
    }

    async fn handle_err(
        &mut self,
        err: CancelableError<Error>,
    ) -> Result<Action, Error> {
        // current branching that handles the error
    }
}

There's still work to be done in:

Making the new IndexingState use methods instead of direct property access to its public fields, so that mutability is more controlled;
Moving the new trait to another module;
Extracting these methods from the Runner:

process_block;
process_triggers;
create_dynamic_data_sources;
persist_dynamic_data_sources;

etc.

We should make sure to test this in the integration cluster before merging.

@leoyvens agreed 👍

Same POI results against v0.25.2 on the integration cluster 🎉
Thanks for the review guys! 😊 ❤


Add key to the items in the array (as $id)

This way the key can be used to identify the items in the React output and tie updates back to the correct child(). See this fiddle for an example (clicking a Todo item removes it): https://jsfiddle.net/frankvanpuffelen/s27nz1hb/

Coverage increased (+0.06%) to 98.33% when pulling f098f7c133555fef60ec2dd01a17cdbae68c9d29 on puf:puf-add-id-to-array-items into e3bbf467cafe860fcb73889a21ecc9d9d76db3c2 on firebase:master.

Thanks for the PR @puf! Have you seen the discussion in #37? I think we should go with a more fully-fledged solution here. As noted in the issue, I'd like to do something very similar to what we do with AngularFire. Most notably, your solution won't work for primitive values since setting $id on the primitive value won't actually have the effect we want.

@jwngr quick double check here....
Case 1: array of objects; if you pass in:
firebaseRef.set({ first: { index:1 }, second: { index:2 }, third: { index:3 } });
you get:
{"items":[{"index":1,"$id":"first"},{"index":2,"$id":"second"},{"index":3,"$id":"third"}]}
Case 2: array of primitives; you pass in:
firebaseRef.set(["first", "second", "third"]);
You now get:
{"items":["first","second","third"]}
You propose:
{"items":[{$id: 0, $value: "first"}, {$id: 1, $value: "second"}, {$id: 2, $value: "third"}]}
That it? Or am I missing something? Test cases most welcome. :-)

Yup, that's pretty much it. That is what we do with AngularFire and I think it works out pretty well.

OK. I got that one working easily, but of course then some of the original
tests that use primitives are failing (since they don't do .$value). I'll
change those and update the PR.
On Wed, May 27, 2015 at 3:03 PM, Jacob Wenger<EMAIL_ADDRESS>wrote:

Yup, that's pretty much it. That is what we do with AngularFire and I
think it works out pretty well.
—
Reply to this email directly or view it on GitHub
https://github.com/firebase/reactfire/pull/40#issuecomment-106091835.

Sounds good. We definitely do need to update the test suite and will also probably need to list this as a breaking change. I'm totally up for doing that though since this is strictly improved functionality.

@jwngr Update the tests and fixed a few more case. Back to you.

Thank you for this!

Thanks for this PR @puf! I made a few changes myself (renamed $id to $key and fixed issue with sparse arrays) and then merged this in. Time to crank out a few more fixes for other issues and get an updated version of ReactFire out there.


Arrange a pipeline to simplify work and implement different algorithms, also plot visualizations for better understanding of dataset.

Feature description
Hello there, I am Prajwal Waykos, Data Science and ML enthusiast. I also am very keen on the stock market and have 2 years of stock trading experience.  You can visit my shared links for more information.
I have the following suggestions.

Re-arrange files and codes so that everything runs in a  single click.
Have a better understanding of data by the means of detailed, in-depth EDA and some good Data Visualizations.
Try a variety of other algorithms as discussed in a previous issue and then do a comparative study on them.
Also, as rightly mentioned in the PDF, nothing is certain in the stock market hence we will also need to keep on enlarging our Datasets with their quality.
Work on some EDA for better understanding.
Work on Data Preprocessing.

I am a GSSOC '22 Participant and want to work on this project for its betterment.
THE LINK HUB
Email
1 -<EMAIL_ADDRESS>2-<EMAIL_ADDRESS>Resume
https://drive.google.com/file/d/1XG5AX_hk46MBHciLqpEn3w2j_HqlpOev/view?usp=sharing
LinkedIn
https://www.linkedin.com/in/prajwal-waykos-a78105207/
My Website
http://prajtech.xyz/
Twitter
https://twitter.com/waykos_prajwal
Git Hub
https://github.com/Praj-17
Drive Sharable
https://drive.google.com/drive/u/2/folders/1WTgYq3rXPaE8_qHWLkPcmdkUkz_-ghWP
Tableau
https://public.tableau.com/app/profile/prajwal.waykos
Hacker Rank
https://www.hackerrank.com/prajwal_22010591
Phone -
1.- +917249542810
2. - +919405398736
Facebook
https://www.facebook.com/prajwal.waykos
Instagram
https://www.instagram.com/the_resurrection17/
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I agree to follow this project's Code of Conduct

Hi!
No need to add resume to PRs lol
Do you think you could break down your proposal in different issues? Let me just break down what you've proposed so far:
Re-arrange files and codes so that everything runs in a single click. (this would be awesome)
Have a better understanding of data by the means of detailed, in-depth EDA and some good Data Visualizations. (this would be awesome)
Try a variety of other algorithms as discussed in a previous issue and then do a comparative study on them. (#7 )
Enlarging our Datasets with their quality (I don't see how this could become an issue though)
Work on some EDA for better understanding. (redundant)
Work on Data Preprocessing. (#8 is working on this already?)
Let's further the discussion here and work on your proposed tasks!

Sure ill work on re-arrangement first and then on visualization with in-depth EDA. Please assign these issues to me. As separate issues or in a single issue, whichever you see fit.

It would be more interesting if you could split the tasks into separate issues - specifically for the GSSoC format, it would be beneficial.
I'll close this issue then and wait for your new ones - I'll assign you to them as soon as you've created them.

Sure! Go for it.. Waiting! 😇


Add Future::delay

Similar to https://github.com/async-rs/async-std/pull/309 we should add a method to Future that delays execution for a Duration. This method should be marked as "unstable".
This is useful in some cases where you want to define a Future that has a delay, rather than combining task::sleep with an async block and another future.
Examples
use async_std::future;

let a = future::ready(1).delay(Duration::from_millis(200));
let b = future::ready(2).delay(Duration::from_millis(100));
let c = future::ready(3).delay(Duration::from_millis(300));

dbg!(future::join!(a, b, c).await);

This is simlilar to this, but less nice to write:
let a = async {
    task::sleep(Duration::from_millis(200).await;
    future::ready(1).await
};
let b = async {
    task::sleep(Duration::from_millis(100).await;
    future::ready(2).await
};
let c = async {
    task::sleep(Duration::from_millis(300).await;
    future::ready(3).await
};

dbg!(future::join!(a, b, c).await);

I'll give it a try, not sure how long it will take me so anyone else feel free to make a PR  in the mean time :P


[5.0] Make attributes argument optional

You might just want to create a new model with simply an auto-incrementing id and/or timestamps.

Send this to master please. Actually would be breaking I think because not matching signature exactly if overriden.


Make apiclient.sample_tools optional

It depends heavily on oauth2client, which has been dropped as a required dependency
This seems to me like the quickest way to tackle #524, but it feels ugly. Maybe sample_tools needs to get re-written to use google-auth?

Should there be a sample_tools extra added in setup.py, with a dep on oauth2client for now?


GeoNode connection stuck in an inconsitent state if the first connection request goes wrong

I've faced this error several times. If the test connection or search functions do not obtain a valid response the plugin / layer manager remains stuck in a status where no further action is permitted or, if permitted, it throws the following exception.
Even closing and reopening QGIS doesn't fix the wrong status. A new connection must be configured from scratch.
If a network error happens during the initial configuration the connection status should be reset to let the user retry.
This can be replicated when the GeoNode instance is not available or when it returns a 50x error (for example it happens when a new deployment of a demo instance is running).

@giohappy I've merged kartoza/qgis_geonode#239, which I think is related to this and hopefully fixes it too. Please verify if the problem persists and let me know

Loos good @ricardogsilva


[Optimize-build] Replace Babel Compiler to SWC

Summary

Set rollup-plugin-visualizer for bundle size optimization
Replace compiler babel to SWC on Rollup with terser

Since using swc, the bundle size has increased slightly, I think we need to think about distribution.

https://github.com/Hal-ang/react-link-textarea/pull/21
해당 PR에서 작업 완료로 종결


Add regression tests for sqlite explain

Original: Fix SQLx+Sqlite incorrectly inferring column as nullable when using ORDER BY and LIMIT in the same query

Issue reproduction repo: https://github.com/0rvar/sqlx-sqlite-option-repro
Issue introduced in PR https://github.com/launchbadge/sqlx/pull/1816

Status: added a failing test, reading through the opcode state machine in explain.
Tips and ideas are appreciated.
Related:

https://github.com/launchbadge/sqlx/issues/1852

Semi-related:

https://github.com/launchbadge/sqlx/issues/2127
https://github.com/launchbadge/sqlx/issues/1294

It seems the original issue was already fixed in 0.7-dev.
I changed this PR to add more tests for the issues in 0.6 if they are of interest - otherwise, feel free to just close this.

Some opcodes for reference
sqlite> explain select accounts.name from accounts;
addr  opcode         p1    p2    p3    p4             p5  comment
----  -------------  ----  ----  ----  -------------  --  -------------
0     Init           0     8     0                    0   Start at 8
1     OpenRead       0     6     0     2              0   root=6 iDb=0; accounts
2     Explain        2     0     0     SCAN accounts  0
3     Rewind         0     7     0                    0
4       Column         0     1     1                    0   r[1]=accounts.name
5       ResultRow      1     1     0                    0   output=r[1]
6     Next           0     4     0                    1
7     Halt           0     0     0                    0
8     Transaction    0     0     20    0              1   usesStmtJournal=0
9     Goto           0     1     0                    0

==========================================================================================

sqlite> explain select accounts.name from accounts ORDER BY accounts.name;
addr  opcode         p1    p2    p3    p4             p5  comment
----  -------------  ----  ----  ----  -------------  --  -------------
0     Init           0     16    0                    0   Start at 16
1     SorterOpen     1     3     0     k(1,B)         0
2     OpenRead       0     6     0     2              0   root=6 iDb=0; accounts
3     Explain        3     0     0     SCAN accounts  0
4     Rewind         0     9     0                    0
5       Column         0     1     1                    0   r[1]=accounts.name
6       MakeRecord     1     1     3                    0   r[3]=mkrec(r[1])
7       SorterInsert   1     3     1     1              0   key=r[3]
8     Next           0     5     0                    1
9     OpenPseudo     2     4     3                    0   3 columns in r[4]
10    SorterSort     1     15    0                    0
11      SorterData     1     4     2                    0   r[4]=data
12      Column         2     0     2                    0   r[2]=accounts.name
13      ResultRow      2     1     0                    0   output=r[2]
14    SorterNext     1     11    0                    0
15    Halt           0     0     0                    0
16    Transaction    0     0     20    0              1   usesStmtJournal=0
17    Goto           0     1     0                    0

==========================================================================================

sqlite> explain select accounts.name from accounts LIMIT 1;
addr  opcode         p1    p2    p3    p4             p5  comment
----  -------------  ----  ----  ----  -------------  --  -------------
0     Init           0     10    0                    0   Start at 10
1     Integer        1     1     0                    0   r[1]=1; LIMIT counter
2     OpenRead       0     6     0     2              0   root=6 iDb=0; accounts
3     Explain        3     0     0     SCAN accounts  0
4     Rewind         0     9     0                    0
5       Column         0     1     2                    0   r[2]=accounts.name
6       ResultRow      2     1     0                    0   output=r[2]
7       DecrJumpZero   1     9     0                    0   if (--r[1])==0 goto 9
8     Next           0     5     0                    1
9     Halt           0     0     0                    0
10    Transaction    0     0     20    0              1   usesStmtJournal=0
11    Goto           0     1     0                    0

==========================================================================================

sqlite> explain select accounts.name from accounts ORDER BY accounts.name LIMIT 1;
addr  opcode         p1    p2    p3    p4             p5  comment
----  -------------  ----  ----  ----  -------------  --  -------------
0     Init           0     20    0                    0   Start at 20
1     OpenEphemeral  1     3     0     k(1,B)         0   nColumn=3
2     Integer        1     1     0                    0   r[1]=1; LIMIT counter
3     OpenRead       0     6     0     2              0   root=6 iDb=0; accounts
4     Explain        4     0     0     SCAN accounts  0
5     Rewind         0     15    0                    0
6       Column         0     1     2                    0   r[2]=accounts.name
7       Sequence       1     3     0                    0   r[3]=cursor[1].ctr++
8       IfNotZero      1     12    0                    0   if r[1]!=0 then r[1]--, goto 12
9       Last           1     0     0                    0
10      IdxLE          1     14    2     1              0   key=r[2]
11      Delete         1     0     0                    0
12      MakeRecord     2     2     5                    0   r[5]=mkrec(r[2..3])
13      IdxInsert      1     5     2     2              0   key=r[5]
14    Next           0     6     0                    1
15    Sort           1     19    0                    0
16      Column         1     0     4                    0   r[4]=accounts.name
17      ResultRow      4     1     0                    0   output=r[4]
18    Next           1     16    0                    0
19    Halt           0     0     0                    0
20    Transaction    0     0     20    0              1   usesStmtJournal=0
21    Goto           0     1     0                    0

Just as a heads up, you may want to base your pull request off of the "0.7-dev" branch instead of main.  Changes to type-inference are delayed until the next minor version, rather than a bugfix release.  And there is at least one fix for 'order by' type inference in that branch already.

@tyrelr well, it seems to be fixed in 0.7-dev. That's great news.
I'll add some more tests from the related issues I linked, maybe this PR will just be about adding some more tests in the end.
Thanks for pointing this out.

@0rvar can you rebase?

@abonander I now have capacity to rebase this, if you're still interested. Let me know


Build in home bases

Roads and airports... These need to be optional. We need options around this stuff to keep it simple or crank up the complexity.
This depends on Mo's scheduling plans.
Thoughts
@AkaMrmuffin @tbarchyn @KeeganShaw-GIS

I just received spatial data of all airports and cities&towns in Alberta, which can be used as home bases of ground-based LDAR and aircraft-based LDAR.
For airports, I think we should justify which are available for LDAR aircraft.

Awesome, that's exciting!
@AkaMrmuffin are you presenting on scheduling this week?? @KeeganShaw-GIS


Add miniscreen screensaver functionality to prevent OLED burn-in

Need to consider if this is based on idle timeout/called directly. OLED menu should allow user to configure OLED screensaver settings. Should screensaver settings be applied to all instances (sys oled and user code), or should they be treated separately? What about turning OFF display on timeout, but can wake up on button press?

I think turning off the display on timeout is a good idea. We could also just display a clock or something like that (some sort of dashboard maybe?) that is constantly changing to prevent the burn-in...
Also, providing the user means to set whatever he wants to be displayed as a screensaver is a good idea. Maybe blanking the OLED on timeout could be the default option, unless the user manually sets a GIF or a python script to run as screensaver.


TODO(test) Verify messages.

For now, I only verify that the messages are passed correctly, and the handlers are called.
We should try to verify the content of the messages later.

Newer tests have been added since for that purpose.


Fix bug where objects couldn't be updated via DAO Controller

High Level
I had only tested create yesterday, not viewing or updating, and
because of that I didn't realize that my changes had broken viewing and
editing via the GUI.
This commit fixes the issue.
Technical
Now we only use FObjectView in the create controller, not the update
controller. This allows users to select the subclass when creating a new
instance, but not when editing an existing object.
To respect the DAO Controller's feature of a custom detail view, this
commit updates FObjectView so that it supports changing the view used
for the FObject. In DAOCreateControllerView we set that view to the
custom detail view for the DAO controller if it's available.

What should we do if we want to replace a property of an existing object with something else? For example, in the Cron UI I'd like to have it be possible to change IntervalSchedule to TimeOfDaySchedule without re-creating the Cron job.


[Bug] Log4j2 doesn't print traceid(mutableLogEvent)

Search before asking

[X] I had searched in the issues and found no similar issues.

Apache SkyWalking Component
Java Agent (apache/skywalking-java)
What happened
Log4j2 doesn't print traceid. We've seen Log4j2 plugin doesn't enhance mutableLogEvent.
What you expected to happen
Logs can print traceid in all scenarios.
How to reproduce
log4j2: Use async tab print log asynchronously(not log4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector) and ENABLE_THREADLOCALS was true, will use mutableLogEvent.
Anything else
When logEvent is mutableLogEvent , field doesn't containt "_$EnhancedClassField_ws", so it always print traceid "N/A".
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

We don't declare we support mutableLogEvent. AFAIK.
I think this should not be an issue.

Why is it not supported? I see plugin only support log4jLogEvent and ringBufferLogEvent.

Why should? This is an open-source community. We don't have any responsibility to support anything.

It's simply not implemented, there's no reason on the "why". However, if you would like to support it, we welcome the contribution.

I just want to know if there's another reason because log is very important. I can try to support it.

I just want to know if there's another reason because log is very important. I can try to support it.

Nope, I think its just a missing point, feel free to file a PR to support it.


[4.0.0-4c.0] Provide full Swiper API

Feature Request
Ionic version:

[x] 4.0.0-rc.0
Describe the Feature Request

<ion-slides> is based on http://idangero.us/swiper/api, but do not implement all features (swipe effects other than slides, parallax, etc.). Mixing Swiper with Ionic lead to problems (and duplicate code).
Giving access to the entire Swiper component power would be awesome.
Describe Preferred Solution

As Swiper is modular, would be nice to have some way to import features on <ion-slides>, for example:
import SwiperParallax from "somewhere";

IonSlidesHTMLElement.modules = [SwiperParallax];

Or, at least, give access to the complete Swiper API (i.e.: make effect, parallax, etc. to work)
Describe Alternatives

No alternatives found, as importing Swiper seems to have side-effects on <ion-slides>.
Additional Context

Link to the original component: http://idangero.us/swiper/api
Link to the documentation: https://beta.ionicframework.com/docs/api/slides (it says it adopted the above library, but I think the build process have removed some features, as they can be optional)

Many broken options and features with the swiper.

PR #16616 is in the queue to address the missing effect modules.
I think the issue with dynamic importing of modules is that Ionic 4 is meant to be a static, standalone library. There is no intermediate step to dynamically build and pack a new core/dist/collection/components/slides/swiper/swiper.bundle.js for all the modules you want included.
If all modules are included in swiper.bundle.js, then <ion-slides> becomes as bloated (and buggy) as the entire Swiper library. Also, if the entire Swiper library is included, the other modules may introduce elements and behavior not yet styled consistently with the platform-specific themes in Ionic.
If you simply import the full swiper library and just not use the <ion-slides> component, does that not work for you? The following worked for me:
npm i swiper
page.html

Slide 1

Slide 2

Slide 3

(aside: a non-<ion-slides> .swiper-container doesn't swipe properly inside an <ion-content> — probably a separate issue there that needs to be addressed and may be related to #16579)
page.ts
import { default as Swiper } from 'swiper';

  // ...
  ngAfterViewInit() {
    new Swiper('#mySwiper', {
      navigation: {
        nextEl: '.swiper-button-next',
        prevEl: '.swiper-button-prev',
      },
    });
  }

As for changes that can be made to <ion-slides>, a possibility is to add a property that accepts an alternative Swiper library to be used when ion-slides is init'ed.
i.e. in slides.tsx, replace:
  const swiper = new Swiper(this.el, finalOptions);

with something like:
  @Prop() swiperlib: any;
  // ...
  const swiper = new (this.swiperlib || Swiper)(this.el, finalOptions);

With that additional property and after an npm i swiper in your project, in your page.html:
  <ion-slides [swiperlib]="mySwiperLib">

and in page.ts:
import { default as Swiper } from 'swiper';

export class Page {
  mySwiperLib = Swiper;
  // ...

Seems a tad ugly in my opinion though to have a property solely for passing a different version of the Swiper library. It would duplicate existing code as you've already pointed out. But doing so would allow you to use all the swiperOptions if you provide the proper library via the swiperlib property. Your project will have to have either a dependency on swiper or include a different custom built bundle.

I would like to submit a PR regardless, either exposing a swiperlib property as I described in my previous comment, or for my own sake, implementing parallax and navigation arrows (exposing parallax and navigation properties like we have for pager and scrollbar, or maybe more simply looking inside the options property to check if parallax and navigation are enabled in SwiperOptions).
Just need input from ionic-team (perhaps @paulstelzer can change label to ask for input?) prior to doing any of this work.

+1, as a user of Ionic long before swiper was implemented, it just seems silly to keep trying to stay up-to-date with the progress being made on that plugin.  Things like slideToLoop are critical for more complex slides and just aren't exposed or updated frequently enough to depend on ionSlides.
Exposure of the swiper instance would at least allow power user functionality of the current plugin, and would allow you to not have to spend as much time keeping up with the API.  Also, I'm pretty sure this was exposed in 3, so not sure why it became private.

FWIW, the solution I proposed on Dec 28, 2018 to expose a swiperlib property works fine for me and I have local changes that I can push towards a PR.
That may be the best solution going forward seeing how there is variable dependency among Ionic users on modules not included in the packaged Swiper bundle (see #16616, e.g.), and users wanting to use the latest Swiper code without having to wait on Ionic to update its bundle. It would resolve a bunch of Swiper issues at once.
I also have local changes for implementing just navigation and parallax properties alone which would resolve this issue and my particular issue (not logged) with missing navigation arrows. Just looking for feedback from @manucorporat or any of the Ionic team on how they want to proceed with Swiper integration before I submit any PRs.

there is any update of this?
i really want to use full swiper api, mostly the the virtual slide feature,
There is any way to use ionic slides with virtual slides?

Thanks for adding the getSwiper() method @liamdebeasi. My team and I are trying to use some of the other modules from Swiper but I found this line in the source code which indicates Ionic limits to AutoPlay, Pagination, Scrollbar and Zoom.
import { Autoplay, Pagination, Scrollbar, Swiper, Zoom } from 'swiper/dist/js/swiper.esm';
https://github.com/ionic-team/ionic/blob/master/core/src/components/slides/swiper/swiper.js
Is there or will there be away to configure the Slider to use additional modules?
Thanks!


@custom:oz-upgrades-unsafe-allow for external-library-linking not valid for contracts

DocstringParsingError: Documentation tag @custom:oz-upgrades-unsafe-allow not valid for contracts.
--> contracts/Vault.sol:17:1:
|
17 | /// @custom:oz-upgrades-unsafe-allow external-library-linking
| ^ (Relevant source part starts here and spans across multiple lines).
My implementation is:
/// @custom:oz-upgrades-unsafe-allow external-library-linking
contract Vault is .....

@custom tags are only available for Solidity >=0.8.3.


config: honor DEFSHAREDFS_QEMU_VIRTIOFS and CONFIG_QEMU_VIRTIOFS_IN

replace DEFSHAREDFS_QEMU_VIRTIOFS and CONFIG_QEMU_VIRTIOFS_IN
with their values on the generated configuration-qemu-virtiofs.toml
In addition, add configuration-qemu-virtio-fs.toml to .gitignore
and fix the virtiofsd name, as the binary built using our packaging scripts
is named virtiofsd and not virtiofsd-x86_64
Fixes: #2079

/test


Secure gateway:

This is designed for use by proxies in front of rippled. Configured IPs
can forward identifying user data in HTTP headers, including
user name and origin IP. If the user name exists, then resource limits
are lifted for that session. However, administrative commands are still
reserved only for administrative sessions.

Could use some minor style improvements but its good :+1:

unittest and npm test both worked locally for me. I've restarted the CI, assuming the errors are intermittent and localized to Travis.

@vinniefalco @nbougalis Your comments have been addressed.

Still :+1:

@vinniefalco @nbougalis @miguelportilla I just added the capability to check the port & role privileges through the ping command.

Current coverage is 49.34%

Merging #1411 into develop will decrease coverage by -0.04% as of 14b11a5

@@            develop   #1411   diff @@
=======================================
  Files           964     965     +1
  Stmts         67065   67125    +60
  Branches          0       0
  Methods           0       0
=======================================
+ Hit           33122   33125     +3
  Partial           0       0
- Missed        33943   34000    +57

Review entire Coverage Diff as of 14b11a5

Powered by Codecov. Updated on successful CI builds.

@miguelportilla I just push the fixes you suggested.

:+1:  :rabbit:

:+1:


Build folder is missing in 0.4.11

Latest 0.4.11  has build folder missing. Reverting to 0.4.10 works

Mistake looks like Module not found: Error: Can't resolve 'react-popover' in 'path'

0.4.11 also breaks eslint, probably because of this :)

Wow sorry about this people. Can someone give 0.4.14 a try?


Automated cherry pick of #3276: Use iptables-wrapper in Antrea container

Cherry pick of #3276 on release-1.2.
#3276: Use iptables-wrapper in Antrea container
For details on the cherry pick process, see the cherry pick requests page.

Codecov Report

Merging #3311 (4008941) into release-1.2 (e053ea6) will decrease coverage by 4.50%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           release-1.2    #3311      +/-   ##
===============================================
- Coverage        60.58%   56.07%   -4.51%
===============================================
  Files              285      285
  Lines            22397    22397
===============================================
- Hits             13569    12559    -1010
- Misses            7379     8492    +1113
+ Partials          1449     1346     -103

Flag
Coverage Δ

kind-e2e-tests
38.75% <ø> (-8.33%)
:arrow_down:

unit-tests
42.77% <ø> (+0.02%)
:arrow_up:

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


fix(accordion, card, grid, smart-select, treeview): added missing TS DOM Events definitions

View https://github.com/framework7io/framework7/pull/3896#issuecomment-850797197
Update accordion.d.ts, card.d.ts, grid.d.ts, smart-select.d.ts and treeview.d.ts

Thanks!


Let user define prior and likelihood functions

Is your feature request related to a problem? Please describe.
The user is limited to being able to define logprior and loglikelihood functions.  This is limiting for many applications, although it does keep the ui simple.
Describe the solution you'd like
Generalize the behavior to let the user define each, which still keeping the simplicity of the default behavior.

This is currently being worked on and is expected to be released by the end of July 2019.  We are currently working on a solution that will maintain backwards compatibility with the user interface, but depending on the level of changes required this may require releasing a 2.0 series of pymcmcstat.

@prmiles This would actually be great!
I was looking to use your code in a project I'm working on, but have measurements where the observations have different variances. I tried to hack it in but I'm not terribly confident I did it correctly.

@jasonmhite Thank you for the comment!  I had hoped to complete this issue before leaving my old job; however, I'm currently in transition.  I believe I will be able to address this issue as part of my new position, but it is difficult to put a timeline on it.
For your particular problem, are you dealing with two sets of observations that have different variances?  Or is the variance proportional to the magnitude of the response (or something else)?  The former issue can be accommodated if the error is independent and identically distributed for each set (see this example), but the latter issue will require a different statistical model.

@prmiles Ah I didn’t know you had left! Hope you are doing well in the transition.
For the problem in question, a single observation is the counts in a particular channel of a radiation response. The available data is the counts in four different channels. Errors are all mean zero, normally distributed and independent, but the variance is proportional to number of counts in that channel. I know how to set this up with a general Normal likelihood, but if I understand correctly the likelihood used here in pymcmcstat is assuming that each data point has the same error variance. In other words, in pymcmcstat the argument to the exponential in the likelihood is -SSQ / 2 * var, but what I want is to pull the variance inside the summation so that the argument to the exponential is -sum_i (| x^i_{predicted} - x^i_{data} |^2 / 2*var_i) (I think that is right, you get the idea at least I hope... it’s the variance weighted SSQ).
I could just be confusing myself, this discrepancy has always been a source of confusion for me.

@jasonmhite That makes complete sense and there might be a way to do it... However, you are correct in observing that the default behavior of pymcmcstat is to use -SSQ / 2 * var.  I'll try to look into this later this week.


#75: Introducing single sample endpoint, overhaul of constituent data…

… types, more specific endpoint path names.

The Parameter API Datatypes are changing from:

To:

Canceling PR due to need for more consideration to structural design issues.


Basic authentication was removed but kubectl config set-credentials can set basic auth infos

What happened?
Basic authentication was removed in v1.19 kubernetes/kubernetes#89069, but kubectl config set-credentials command remains, which can be used to set basic auth infos.
Some users may misuse this command to save password to kubeconfig file, this will lead a password leak issue.
What did you expect to happen?
Remove the basic auth flags password, and update all referenced documents.
How can we reproduce it (as minimally and precisely as possible)?
example from https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#-em-set-credentials-em-
kubectl config set-credentials cluster-admin --username=admin --password=uXFGweU9l35qcif
Anything else we need to know?
No response
Kubernetes version

$ kubectl version
v1.25+

</details>

### Cloud provider

<details>

</details>

### OS version

<details>

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here

Install tools

Container runtime (CRI) and version (if applicable)

Related plugins (CNI, CSI, ...) and versions (if applicable)

I run kubectl config set-credentials cluster-admin --username=admin --password=whatwillhappenhere which is set basic authn, and kubectl didn't warn me. and I run kubectl config view and it seems like set the user and password in.

I have a branch with the password option removed. what are the requirements here? Do we need to warn when user tries to set basic auth? I also need direction to make sure this does not cause auth problems other places? Thanks

/triage accepted
We will begin a deprecation process for this and add a warning for this.

@mpuckett159
how complicated is the deprecation process? do you think i can take this issue? thanks

I'm not 100% on the process but I believe we need to add a deprecation warning for 1 (2?) release cycles before we can actually remove the flag.

/assign

Deprecation policy for CLI is 12 months (or 2 releases, whichever is longer):
https://kubernetes.io/docs/reference/using-api/deprecation-policy/#deprecating-a-flag-or-cli

should username be deprecated as well as password mentioned in the issue. Since auth will need to be done with token. username will cause an error or be set to an empty string in the current implementation.

Should username be deprecated as well as password mentioned in the issue. Since auth will need to be done with token. username will cause an error or be set to an empty string in the current implementation.

Yeah.  Double check, but I'm pretty sure username is only used for basic auth, so it should be deprecated too.


[#3.1] Add comment functionality

Create a form to add a comment to each article's page

Stress points : 4 points


Update Temp DataFlow for 2.14.3

Update Temp DataFlow for 2.14.3

Reminder: Upon merging, also uncomment sync-main triggers in order to fully migrate to 2.14.3


rate_limit plugin: Decouple metrics and queue config

Prior to the change, rate_limit plugin metrics was created only if queue config is specified. However, it looks like metrics config doesn't require queue config.

selector.sni.queue
https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/rate_limit.en.html#cmdoption-rate-limit-arg-queue

selector.sni.metrics
https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/rate_limit.en.html#cmdoption-rate-limit-arg-metrics

Cherry-picked to v10.0.x


Failed to parse Join queries with subselect (Subselect's Alias)

Actual Behavior
Query like this doesn't parse :
SELECT C0 FROM T0 INNER JOIN T1 ON C1 = C0 INNER JOIN (SELECT W1 FROM T2) S1 ON S1.W1 = C0 ORDER BY C0
However this is a valid oracle SQL query.
Expected Behavior
Parser fails on subselect's alias, but it should not fail.
Steps to Reproduce the Problem

Try to parse the query: SELECT C0 FROM T0 INNER JOIN T1 ON C1 = C0 INNER JOIN (SELECT W1 FROM T2) S1 ON S1.W1 = C0 ORDER BY C0
Got an error:
net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "S1" <S_IDENTIFIER>
at line 1, column 78.

Was expecting one of:
")"
"EXCEPT"
"INTERSECT"
"MINUS"
"ORDER"
"UNION"

Specifications

Version: JsqlParser 1.4
Platform: eclipse, maven java project.
Subsystem: Ubuntu linux.

Using Version 2.1-SNAPSHOT it parses well.

Thanks, it works well with this use cases.


Failed to activate the html-significant-other package

[Enter steps to reproduce below:]

...
...

Atom Version: 0.187.0
System: Mac OS X 10.10.2
Thrown From: html-significant-other package, v0.4.2
Stack Trace
Failed to activate the html-significant-other package
At undefined is not a function

TypeError: undefined is not a function
  at /Users/Rick/.atom/packages/html-significant-other/lib/html-significant-other.js:16:18
  at Workspace.module.exports.Workspace.observeTextEditors (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:284:9)
  at Object.module.exports.activate (/Users/Rick/.atom/packages/html-significant-other/lib/html-significant-other.js:12:43)
  at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:240:19)
  at /Applications/Atom.app/Contents/Resources/app/src/package.js:221:30
  at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app/src/package.js:167:15)
  at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app/src/package.js:214:14)
  at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:465:21)
  at /Applications/Atom.app/Contents/Resources/app/node_modules/settings-view/lib/package-manager.js:268:29
  at exit (/Applications/Atom.app/Contents/Resources/app/node_modules/settings-view/lib/package-manager.js:43:16)
  at BufferedProcess.triggerExitCallback (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:63:47)
  at /Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:77:18
  at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/buffered-process.js:150:18)
  at Socket.emit (events.js:138:20)
  at Pipe.close (net.js:477:12)

Commands
     -1:02.3 command-palette:toggle (atom-text-editor.editor)
  5x -0:59.9 core:move-down (atom-text-editor.editor.mini)
     -0:58.1 core:confirm (atom-text-editor.editor.mini)
     -0:58.1 settings-view:install-packages-and-themes (atom-text-editor.editor)
     -0:40.0 core:confirm (atom-text-editor.editor.mini)

Config
{
  "core": {
    "disabledPackages": [
      "term2",
      "autocomplete-plus"
    ]
  }
}

Installed Packages
# User
atom-color-highlight, v3.0.8
file-icons, v1.5.1
git-log, v0.3.0
git-tab-status, v1.5.3
html-significant-other, v0.4.2
language-liquid, v0.2.0
linter, v0.12.0
linter-csslint, v0.0.11
terminal-panel, v1.10.0

# Dev
No dev packages

I'll be working on this this weekend. Thanks for letting me know!

Any chance you can take a look and see if that fixed it @rickydazla? The problem is that you don't have Atom's bracket-matcher installed in your ~/.atom directory, so I have to force that to install somehow. This is complicated by the fact that Atom's bracket-matcher doesn't exist on npm because there already exists a project with that name, so the Atom team has only hosted it via apm.
The only real question, if I understand what's going on here, is whether what I've done in using @travs's atom-package-dependencies will actually be run (and bracket-matcher installed and prepared) in time for significant-other to succeed.

hmm I'm actually now getting this issue
Atom Version: 0.189.0
System: Mac OS X 10.10.2
Thrown From: html-significant-other package, v0.4.2
Stack Trace
Failed to load the html-significant-other package
At Module version mismatch. Expected 43, got 41.

Error: Module version mismatch. Expected 43, got 41.
    at Error (native)
    at Object.module.(anonymous function) (ATOM_SHELL_ASAR.js:118:20)
    at Object.module.(anonymous function) [as .node] (ATOM_SHELL_ASAR.js:118:20)
    at Module.load (module.js:347:32)
    at Function.Module._load (module.js:302:12)
    at Module.require (module.js:357:17)
    at require (module.js:376:17)
    at Object.<anonymous> (/Users/Rick/.atom/packages/html-significant-other/node_modules/text-buffer/node_modules/pathwatcher/lib/main.js:6:13)
    at Object.<anonymous> (/Users/Rick/.atom/packages/html-significant-other/node_modules/text-buffer/node_modules/pathwatcher/lib/main.js:207:4)
    at Module._compile (module.js:452:26)

Commands

Config
{
  "core": {
    "disabledPackages": [
      "term2",
      "autocomplete-plus",
      "git-tab-status"
    ]
  }
}

Installed Packages
# User
atom-color-highlight, v3.0.8
file-icons, v1.5.1
git-log, v0.3.0
html-significant-other, v0.4.2
language-liquid, v0.2.0
linter, v0.12.0
linter-csslint, v0.0.11
terminal-panel, v1.10.0

# Dev
No dev packages

Sorry about my lack of responsiveness. School et. al. had been catching up with me.
I'll try and fix this this weekend.
Thanks for reporting all this, by the way. I wish I had made tests of some sort now, haha. Ah well. Maybe that'll be part of my patch work this weekend.

No worries, I won't nag like your significant other.


Add a chainService.checkChainId() and call during wallet creation

Closes #3332. Supercedes the work done in #3328.
Currently, we pass the chain id down to constructor for the ethereum JsonRPCProvider. This is good because errors will be thrown in the event that the chain reports a different id to the one passed to it's constructor. But it is bad because the constructor chain is all synchronous, and the errors are thrown asynchronously (they have to be, because they are triggered by RPCs). It's also bad that many errors are thrown. As a consequence, there is no test for this behaviour.
The approach of this PR is to allow the provider to setup without a named chain id (it will just use the one from the chain it talks to, eventually), but to expose an async method which can be used to ensure the chain has the expected id. This async method is called early on in the existing asynchronous wallet.create(). This way, a single error will be thrown and we will know precisely where to catch it. In the end, it's now easy to test.
How Has This Been Tested?
there is a new test.

Checklist:
Code quality

[x] I have written clear commit messages
[x] I have performed a self-review of my own code
[x] This change does not have an unduly wide scope
[x] I have separated logic changes from refactor changes (formatting, renames, etc.)
[x] I have commented my code wherever necessary (can be 0)
[x] I have added tests that prove my fix is effective or that my feature works, if necessary

Project management

[x] I have applied the appropriate labels
[x] I have linked to all relevant issues (can be 0)
[x] I have added all dependent tickets (can be 0)
[x] I have assigned myself to this PR
[x] I have chosen the appropriate pipeline on zenhub for the linked issue

Thanks @NiloCK. I decided against putting an async factory into the chain service now, although I'm open to the idea in general.


Tolerations setting not working as expected

I run a test RKE setup, using Rancher, consisting of 1 physical master (controlplane+etcd), and 2 physical workers, and am currently toying with running Longhorn.
I would like to have the master node run Longhorn replicas as well as the workers. I tried using the tolerations settings field, to allow scheduling on the master node, as it is tainted with the following:

node-role.kubernetes.io/controlplane=true:NoSchedule
node-role.kubernetes.io/etcd=true:NoExecute

However the unmarshaller, for the tolerations setting, will not accept this value:
"node-role.kubernetes.io/controlplane=true:NoSchedule; node-role.kubernetes.io/etcd=true:NoExecute"
After inspecting the unmarshal code, I managed to get it to partially work with the following value:
" :NoSchedule; :NoExecute"
It worked for all components except the longhorn-manager, as it does not get the correct tolerations set.
Inspecting longhorn-manager, I only see the following toleration:
tolerations:
      - effect: NoExecute
        operator: Exists

While inspecting other components, like csi-provisioner, gives me the expected tolerations:
tolerations:
      - effect: NoSchedule
        operator: Exists
      - effect: NoExecute
        operator: Exists

I understand the feature was intended for dedicated storage nodes with custom taints. But besides the fact that it seems broken for longhorn-manager, is there any reason to explicitly disallow kubernetes.io taints? To me, it seems a bit overly restrictive, and serves only to limit its practical use cases.

Version: v0.7.0

There is no kubelet on non-worker nodes. Hence Longhorn components won't be launched on the non-worker nodes.
Since Longhorn is not supposed to modify the default settings, it needs to distinguish the Kubernetes default taints from the taints set by users. Then Longhorn simply considers the taint whose keys contain kubernetes.io as the Kubernetes default taints and will reject this kind of taint setting.

Thanks for the reply. However it does not really address the issue. RKE does indeed run Kubelet on controlplane/etcd nodes, but that's a little bit off topic.
The issue is that there seems to be a problem setting tolerances correctly for longhorn-manager via settings.

I just tried to set tolerations to  :NoSchedule; :NoExecute. Then all Longhorn components contained the following toleration only (except for the existing Kubernetes tolerations):
  - effect: NoExecute
    operator: Exists

And this toleration was not shown:
  - effect: NoSchedule
    operator: Exists

Actually, the effect NoSchedule is included in the effect NoExecute. You can check the Kubernetes official doc for more details. Here are the explanations for these two effects:
if there is at least one un-ignored taint with effect NoSchedule then Kubernetes will not schedule the pod onto that node
if there is no un-ignored taint with effect NoSchedule but there is at least one un-ignored taint with effect PreferNoSchedule then Kubernetes will try to not schedule the pod onto the node
if there is at least one un-ignored taint with effect NoExecute then the pod will be evicted from the node (if it is already running on the node), and will not be scheduled onto the node (if it is not yet running on the node).

I don't know why effect: NoSchedule exists in your Longhorn components, it's weird...


Customization

Now I'm a little new to this but the code works really well, it's just that when I try to add my own pictures it doesn't generate any copies with them, how do I fix this?

Where do you add your pictures? Did you notice the total outputs increase? Unless you limit the outputs number it should generate all the copies. It would be great if you can folk the code and add the pictures so I can have a thorough look. Thanks


feat: add GitHub used by metric

GitHub introduced a new metric, which I find much more relevant than stars or downloads. It shows the number of times a dependency is used by other repositories.
It would be nice to have that metric added to Staticgen for static site generators distributed as a package.

Yeah I'm in agreement 👍👍

where can I find this metric ?

GitHub displays it on individual repos, check the top of ours for example. I assume it's available through their API as well.
Sent with GitHawk

How is this metric added to a repository?

I would also like to know how this metric is added to a repository.

After some digging it seems that this metric is reliant on https://github.com/netlify/staticgen/network/dependents
Which in this case is none, at least according to github.

@nticaric GitHub shows package metrics for projects that use a package manager, eg. if you're repo has a package.json.
@douglasg14b this issue isn't about the package metrics for the staticgen repo, it's about package metrics for the projects shown on the site.
Sent with GitHawk

Is there an api that will provide used by information, stars information?

The data is in this gist, updated daily and keeps 60 days history: https://gist.github.com/netlify-bot/99f2094783ddb2025bd1033f666c34cc#file-staticgen-archive-json
Sent with GitHawk

@erquhart  If it was addressed to me, i am very sorry, not clear... please elaboarate. I can only see code, no api info

There is no API, the site uses the GitHub Gist API to fetch and update the JSON file in that Gist.
Sent with GitHawk

As per this data, do we need to consider the array object which starts from second key ???

It’s an array arrays, each array has shape:
[
  timestamp, // timestamp from when this data was retrieved
  [
    {
      id, // unique identifier derived from filename
      s, // repo stars
      fk, // repo forks
      i, // repo issues
      f, // Twitter followers
    },
    ...
  ],
]

generators are objects of the following shape:
[
Sent with GitHawk


XCM UI support for iBTC and INTR to chains with highest volume

Add support for transferring iBTC and INTR to/from chains with the highest volume:

[x] iBTC, INTR - Moonbeam
[x] iBTC, INTR - Acala
[x] iBTC, INTR - Parallel
[x] iBTC, INTR - Astar

This has been done on the bridge


⚠ gorzdrav.org has degraded performance

In 8df99b5, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 5740 ms

Resolved: gorzdrav.org performance has improved in f94ced2.


games run very fast on web

You have a fix for this in this commit: https://github.com/raysan5/raylib-games/commit/553c7486c18024cec5befcdb6d570c92815d5700
But I think the samples in use on the website haven't been rebuilt since then?

@kavika13 Yeah, sorry, I haven't rebuilt them yet, I was waiting for raylib 3.5 release.


NginX Ingress Controller - provided digest did not match uploaded content

Environment
Device and OS: Debian bookworm
zarf version: v0.32.5
Kubernetes distro being used: from zarf
Other:
Steps to reproduce

Create a zarf.yaml withn ginx ingress controller.
Call zarf prepare find-images
zarf package create.
On target maschine call zarf package deplpy

Expected result
Nginx ingress is up and running
Actual Result
Zarf reports
Retrying (1/3) in 5s: PUT
http://<IP_ADDRESS>:34819/v2/ingress-nginx/controller/manifests/sha256:42b3f0e5d0846876b1791cd3afeb5f1cbbe4259d6f35651dcc1b5c980925379c:
DIGEST_INVALID: provided digest did not match uploaded content
Zarf.yaml
My zarf.yaml looks like:
kind: ZarfPackageConfig # ZarfPackageConfig is the package kind for most normal zarf packages
metadata:
  name: ingress-nginx
  version: v0.1.2
  description: |
    "A Zarf Package that deploys the nginx ingress controller"
components:
  - name: ingress-nginx
    description: |
      "Deploys nginx ingress controller"
    required: true
    charts:
      - name: ingress-nginx
        url: https://kubernetes.github.io/ingress-nginx
        version: 4.10.0
        namespace: ingress-nginx
    images:
      - registry.k8s.io/ingress-nginx/controller:v1.10.0@sha256:42b3f0e5d0846876b1791cd3afeb5f1cbbe4259d6f35651dcc1b5c980925379c
      - registry.k8s.io/ingress-nginx/kube-webhook-certgen:v1.4.0@sha256:44d1d0e9f19c63f58b380c5fddaca7cf22c7cee564adeff365225a5df5ef3334
      # Cosign artifacts for images - ingress-nginx - ingress-nginx
      - registry.k8s.io/ingress-nginx/controller:sha256-42b3f0e5d0846876b1791cd3afeb5f1cbbe4259d6f35651dcc1b5c980925379c.sig
      - registry.k8s.io/ingress-nginx/kube-webhook-certgen:sha256-44d1d0e9f19c63f58b380c5fddaca7cf22c7cee564adeff365225a5df5ef3334.sig

Any ideas?

Yeah there is currently a bug which is breaking pulling sha's by the index.json. We being work on the fix.
In the meantime, you can either remove the sha and just use a tag or use a sha for the platform you are building your zarf package for. For example, you could run the following command docker buildx imagetools inspect registry.k8s.io/ingress-nginx/controller:v1.10.0 will give the output
Name:      registry.k8s.io/ingress-nginx/controller:v1.10.0
MediaType: application/vnd.docker.distribution.manifest.list.v2+json
Digest:    sha256:42b3f0e5d0846876b1791cd3afeb5f1cbbe4259d6f35651dcc1b5c980925379c

Manifests:
  Name:      registry.k8s.io/ingress-nginx/controller:v1.10.0@sha256:67f647d99b087bebd5e8c7792cc7d5dd715343354698c43ea0edab81896b75f0
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/amd64

  Name:      registry.k8s.io/ingress-nginx/controller:v1.10.0@sha256:8ba60866fa132a2a6cef840f0c6f412b615f0f161455a1771f1e7432eaff1685
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/arm/v7

  Name:      registry.k8s.io/ingress-nginx/controller:v1.10.0@sha256:2e53c57c81ebad0263e98c98b66f0151217ce417eeeaacf911e62cc3dbae27e4
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/arm64

You can then add the sha of the platform, you are building the package for, usually amd64 or arm64.

In the latest release of Zarf we have decided to explicitly not support index image shas on create form the PR #2429. More context is on #2425, but TLDR moving an index image sha into the air gap would require bringing in all the pre-req images defined in that index sha which can be upwards of 10-20.


Vimeo: ERROR: Unable to extract info section;

Checklist

[x ] I'm reporting a broken site support issue
[ x] I've verified that I'm running youtube-dl version 2021.12.17
[ x] I've checked that all provided URLs are alive and playable in a browser
[x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ x] I've searched the bugtracker for similar bug reports including closed ones
[x ] I've read bugs section in FAQ

Verbose log

 youtube-dl --verbose https://player.vimeo.com/video/807388501
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://player.vimeo.com/video/807388501']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 2.7.18 (CPython) - Linux-5.4.0-139-generic-x86_64-with-Ubuntu-20.04-focal
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7
[debug] Proxy map: {}
[vimeo] 807388501: Downloading webpage
ERROR: Unable to extract info section; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/vimeo.py", line 652, in _real_extract
    r'\bconfig\s*=\s*({.+?})\s*;', webpage, 'info section'), video_id)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract info section; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Video download does not start and result in the error above.

[x] I've searched the bugtracker for similar bug reports including closed ones

Read #30839 (again?) to find out how.


[BUG] Progress bar crashes at the end of a song

Bug Description
If you use example code for progress bar and call it at the end of current song when there is no songs in queue the bot will crash.
Reproduction Steps
Steps to reproduce the behavior:

Use example command for progress bar
Call it at the end of current song when there is nothing more in queue

Expected Result
Error message: There is no music playing right now.
Versioning:
Node v15.12.0
Npm 7.6.3
<EMAIL_ADDRESS>Additional Comments
        message.channel.send(`**${newSong.name}** is now playing!`))
                                          ^

TypeError: Cannot read property 'name' of undefined
    at Player.<anonymous> (C:\Users\SzK\Documents\DBM\Karren\music.js:37:43)
    at Player.emit (node:events:369:20)
    at Player._playSong (C:\Users\SzK\Documents\DBM\Karren\node_modules\discord-music-player\src\Player.js:810:18)
    at StreamDispatcher.<anonymous> (C:\Users\SzK\Documents\DBM\Karren\node_modules\discord-music-player\src\Player.js:859:39)
    at StreamDispatcher.emit (node:events:381:22)
    at finish (node:internal/streams/writable:741:10)
    at processTicksAndRejections (node:internal/process/task_queues:81:21)

I will be looking into those crash reports!

I am working on a v7.0.1 update dropping today! Fix incoming.

Hey! Update time!
I hope everything got fixed, please check within v7.0.1 and let me know!
https://www.npmjs.com/package/discord-music-player
Thank you for the patience,
Sushi!


ExecuteTemplate中executor类型判断是否可以优化

Why you need it?
Is your feature request related to a problem? Please describe in details
ExecuteTemplate#execute中executor的类型判断代码，随着支持的SQL语句增加，代码长度会增长，是否可以考虑使用SPI等机制进行优化？

How it could be?
A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.
Other related information
Add any other context or screenshots about the feature request here.

1.dbtype_sqltype spi扩展

please assign it to me


Different Kaggle Dataset Support?

Hello, is it possible to train the model using different dataset from kaggle? I'm planning to use ASL Handsign dataset for this. Thanks

Hi @juzjus10,
You can adapt the training code (specifically the parser) for the target dataset, provided it has bounding box annotations. If the dataset only contains images with no bounding box annotations, it is not suitable for the model in this project.
Which Kaggle dataset do you want to use? If it is an image-only dataset, check out this earlier tutorial instead. It uses an image classification model rather than an object detection model.
If you want to use an image-only dataset for object detection, you can annotate the images using tools like CVAT.

How to Label Images for Object Detection with CVAT


genome tracks are pointing the wrong way

the vgenes-dir have < or arrows indicating direction of transcription, but they are pointing the wrong way (3'->5') in all the versions I have looked at.

Closed in https://github.com/VALIS-software/valis-hpgv/commit/e23690e6805afa203a6624a5b97fcae145429549


Notebooks not currently building on mybinder.org

Hi folks, both Frances and I tried to load up the Binder link today and it failed to build for either of us. More specifically, it looks like the C component of the igraph module is failing for some reason. Full build log here:
https://gist.github.com/jezcope/e0b558756e3c82097679e9445f45ffc3

Same here.

I think I have this fixed: pull request on the way soon.


FIX example objective in write benchmark

Checks before merging PR

[x] ~added documentation for any new feature~
[x] ~added unit test~
[x] ~edited the what's new (if applicable)~

Fixes #650, #651

Codecov Report

Merging #653 (a00740c) into main (d3d71b2) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head a00740c differs from pull request most recent head 7addbeb. Consider uploading reports for the commit 7addbeb to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@           Coverage Diff           @@
##             main     #653   +/-   ##
=======================================
  Coverage   55.97%   55.97%
=======================================
  Files          45       45
  Lines        2887     2887
  Branches      532      532
=======================================
  Hits         1616     1616
  Misses       1149     1149
  Partials      122      122


IPS 4.6 is deprecating this

See https://invisioncommunity.com/developers/docs/invision-community-46/deprecated-methods-r190/

thought i caught all them all, but i guess i missed this one.

Yea, it thought that you missed this one because everything else was properly using IPS::$ipsApps


Two language support?

I write English and Chinese but I can only set the language to one. Is it possible to have an array for spell checking?

How would the software know which to use for each passage?
If both languages are checked, I imagine English passages would have a bunch of errors from the Chinese check-er and vice-versa.

In a situation like Chinese and English, Unicode Multilingual Plane can help to determine what language script the text it is. For EU languages, it may be harder.

If both languages are checked, I imagine English passages would have a bunch of errors from the Chinese check-er and vice-versa.

For example, I use English in my OneNote which has the same configuration setting like LT, so it gives me a screen of errors everytime since a lot of text is in Chinese. To my view, I could imagine using more languages is quite common in today's world.

I understand the concern, but I would need to be presented a technical solution that would be generally workable before I would try implementing this myself.  Though, I will consider any PRs on their merits.

Unicode Multilingual Plane can help to determine what language script the text it is.

As you mentioned this could work to help with English vs Chinese, but it would not apply generally.  As I understand it, Unicode made a mess of CJK (Chinese/Japanese/Korean) scripts so even if we identified one of them we would still need to fall back on your array of enabled language and hope there is only one applicable.
It sounds like you want automatic language detection.  I could see this being potentially problematic in the context of a grammar checker since poorly-formed text may not correctly identify with the intended language.  Putting that concern aside, a language identification library would still need to be identified and rules proposed with respect to how to split the text for language identification.

I understand the concern, but I would need to be presented a technical solution that would be generally workable before I would try implementing this myself. Though, I will consider any PRs on their merits.

Of course, it's worth for discussion before heading into implementation.
Considered the fact, vscode is often used for programmers. So who uses languagetool are probably programmers or related with technical field. I wouldn't believe many will write CJK and English as the same time.
This reason of course is not strong enough, but it sounds practical approach to me.
But if language server is not subject to do so, if it has some context in analyzing sentences, Unicode isn't enough. But I don't think it's possible to do so called automatic language detection with a little cost. I would refrain to build such library in the first place. On internet, encoding is a lead to language but it's not perfect. Either detection is hard or UTF-8 is used. In HTTP, relying on accept-language header is better. But text editor only relies on the user setting.
In conclusion, I didn't find a way to detect languages at a small cost. But a word level spell checker for combining language is still practical for some users if language server does that.

In general, I understand what you have written; however, I'll admit I have a little bit of trouble understanding some of the specifics and I do not want to miss something.
To be sure I understand, the obvious places to "split" the language choice are:

Global (via the default or via user settings, currently exists)
Project/Workspace (via workspace settings, currently exists)
File
Paragraph
Sentence
Word

Which level(s) do you think are needed?

But a word level spell checker for combining language is still practical for some users if language server does that.

That is an interesting idea, but also sounds like a different project.  My intentions in bringing LanguageTool to VSCode was to have grammar checking.  I honestly considered disabling the spelling rules because there are other spell checkers for VSCode, but no one has complained about them yet.
Since LanguageTool does have spell checking capabilities, I suspect you could use it to accomplish your multi-language spell checker.  You could even fork this project to do so.  You would want to disable all the grammar rules, check the text against every enabled language, then inspect the results on a per word basis.  If one says valid valid mark it as valid, otherwise mark the spelling error. (Note: this assumes both language spell checkers present unknown words as errors.)

Thanks for your patience, I usually go on too fast in a conversion. Your questions and clarification make sense to me. I think I misunderstood your first intention.
To my particular need, I'm settled with the workspace level setting for my things at hand. Sometimes, file level settings come in handy. For example, a Jekyll site with multiple languages in different languages.
As of spell checker, it's quite common to me that combining English and Chinese. For example, when I write a technical post in Chinese, it's inevitable to have abbreviations in a Chinese sentences.  I wouldn't expect the grammar checker works in this case. But well, spell checkers, they are really useful.

Since LanguageTool does have spell checking capabilities, I suspect you could use it to accomplish your multi-language spell checker. You could even fork this project to do so. You would want to disable all the grammar rules, check the text against every enabled language, then inspect the results on a per word basis. If one says valid valid mark it as valid, otherwise mark the spelling error. (Note: this assumes both language spell checkers present unknown words as errors.)

I have no doubt it will give me too many false positives...I don't even notice the difference since I have installed your plugin yesterday. You have every right to make the decision towards disabling the spelling rules feature you've mention. Anyway it works so COOL, thank you.


Top summary data maybe better with a referring sites instead of urls total

as per subject
Thanks
-Dan

Received, thanks.
-Dan
Sep 23, 2024 16:02:32 0bi-w6n-K3nobi @.***>:

hi @par7133[https://github.com/par7133]
I see... this is can a possibility.
But if for you is so far important, now like workaround, you can /remove/ URI "slice" of URL request.
It is possible against tool like a SED, AWK, or PERL.
So (off course) the panel Referrer URLs will be turn useless.
—
Reply to this email directly, view it on GitHub[https://github.com/allinurl/goaccess/issues/2725#issuecomment-2368364576], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AFONMRCO2URBPJIZDJH3PIDZYANPHAVCNFSM6AAAAABOVUBAMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYGM3DINJXGY].
You are receiving this because you were mentioned.
[Tracking image][https://github.com/notifications/beacon/AFONMRAEWWJKQCRJPAWHUSLZYANPHA5CNFSM6AAAAABOVUBAMOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUNFJQCA.gif]


Add hash to the resulting image name to avoid conflict

[DT-1513]
When no image tag is specified on custom build, the default behavior was to take the base name of the folder containing the tgf config file where custom build instructions were located. The problem is that if many projects use the same name, that could result in a name conflict and override an image with an unrelated content. We compute a hash at each step and we now add the hash to the name. But to avoid generating too long name, we only keep the last hash in the final name.

Pull Request Test Coverage Report for Build 734

3 of 7 (42.86%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.02%) to 17.264%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

docker.go
0
4
0.0%

Totals

Change from base Build 728:
1.02%

Covered Lines:
159

Relevant Lines:
921

💛  - Coveralls


WIP Stack permissions for teams

Howdy, it's been probably a year since I last touched golang/a go Pulumi provider
We need https://github.com/pulumi/pulumi-pulumiservice/issues/51 because managing perms with the Pulumi service is not great, so I've started working on adding support for it. I don't handle deleting permissions, validating that the permission selected is valid (103, 102, 101), comparing permissions to see if its changed between old/new, and I don't think the schema looks great for it.
Posting this to start getting comments on it and see if Pulumi would like to take it over.

Hi! Thank you for submitting this! We are definitely interested in completing this feature as soon as we can schedule it. I'll check in with the team and see when we can get this work prioritized.

Hi, just wanted to let you know that I've begun working on this. I hit a snag in pulumi's codegen, so this will be blocked until https://github.com/pulumi/pulumi/issues/9813 is resolved.

Hello! Thanks again for the PR. I'm closing out this pull request in favor of https://github.com/pulumi/pulumi-pulumiservice/pull/81, which just merged (You're still a coauthor on the PR 😄). The publish SDK job is not quite done running, but it will be released in v0.1.6 shortly.
You can see an example of usage of this resource here. The implementation I went with is slightly different from yours, mainly that it creates a separate resource, instead of adding an array field to the team resource. This allows us to add stack permissions to a team without needing to directly access that team resource, which means you can manage team permissions for a stack inside of the stack itself.


TraceWebClient should report trace in case of cancellation

When using Sleuth with WebFlux we get traces for webclient calls on success and error but we don't get any trace on cancellation. The most common case of cancellation on a stream originating from a webClient would be timeout.
webClient.post()
                 .uri("http://example.com")
                 .retrieve()
                .bodyToMono(String.class)
                .timeout(Duration.ofSeconds(1))

It would be perfect if TraceWebClientBeanPostProcessor could be changed to handle cancellation and report them as a special type of error maybe?
I'm happy to raise a PR if you think it's a good idea.

Makes perfect sense. Be my guest


This fixes deprecation warnings for iOS 8-based targets

When building for a target with a minimum platform of iOS 8, additional deprecation warnings will occur.
This pull request fixes those warnings.

Will redo this. I saw that a commit intended for a separate pull request made it into here.

Fixed.

Is this going to be merged to master branch?


legend missing with evoked.plot_joint() and evoked.plot()

I am trying to plot evokeds using the super-cool spatial colors that Jona added. However, when the colors are not inferred from the layout, there is no legend. I think there should be a legend whenever there are colors. To reproduce, look at evoked from HCP / 4D systems ...
cc @jona-sassenhagen

can you share a -ave.fif file to replicate?

sure, here you go: https://www.dropbox.com/s/hwylpk72xfq1g6x/test.fif?dl=0

the pb comes from the fact that the magnesWH3600 layout has channels MEG001
etc. while your file uses the native BTi ch_names A22 etc. The cleanest
option would be to have new layout magnesWH3600A.lout for ch_names starting
with A and not MEG.

okay, but I think there's also a problem with the logic. It will recur when there's another file with missing layout if we don't fix the logic. @jona-sassenhagen do you have time to dig into it? Otherwise, I'll take a look in the coming days

see my attempt:
https://github.com/agramfort/mne-python/commit/1de18e27ab4aa39b614090c30c9f980c05b0f4c1
however the layout.names = ch_names is not good enough. The order of
channels don't match :(

I have a long backlog, would appreciate if somebody else could do this :(

option would be to have new layout magnesWH3600A.lout for ch_names starting
with A and not MEG.

that would be the solution, I confirm this. It was what I had already discussed with @jona-sassenhagen a months ago. It is in fact an mne-python problem, not an mne-hcp problem.

actually with @agramfort we realized that the spatial colors always use the location in info to infer the color. So, the layout won't fix the problem.
Therefore, the solution seems to be to have an apply_trans(info) method which converts the info into another coordinate system. For now, I'll just fix it for my processing pipeline. But it appears that a more permanent solution is to have something to map the infos back and forth between the two coordinate systems.

yes that was what I was suggesting in the chat; since bti native uses millimeter you can guess evrything