Cubrid Plugin Extension

Create Cubrid plugin
Connection & driver properties
Categorized folders by users
Display table/system table based on user
Display view/system view based on user

First PR

Create cubrid plugin
Connection & driver properties
Categorized folders by users
Display table/system table based on user
Display view/system view based on user

Second PR

Display a list of indexes
Display a list of functions & procedures
Display a list of serials
Display a list of synonyms
Display a list of triggers

Third PR

Create & edit table using UI
Query plan

Fourth PR

Export DB SQL
Export Excel

First PR

Create Cubrid plugin
Connection & driver properties
Categorized folders by users
Display table/system table based on user
Display view/system view based on user

Second PR

Display a list of indexes
Display a list of functions & procedures
Display a list of serials
Display a list of synonyms
Display list of triggers

Third PR

Create & edit table using UI
Query plan

Fourth PR

Export DB SQL
Export Excel

Except for the above content, the first PR works well without any problems.
Please just correct those.


add love calculator code

Related Issue
JavaScript Love Calculator
Closes: #469
Describe the changes you've made
I had added The code of Love Calculator, It includes Event listeners, pre-loader, audio file control from js and various inbuilt functions of JavaScript like Math.random etc
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] New and existing unit tests pass locally with my changes.

Screenshots

@ridsuteri sir can you plz merge my pull request.

Conflicts Resolved.

Thank you @ridsuteri Sir :)


how to solve this

CHROME DRIVER INITIALISED: Try not to exit the script before it detaches.
Step 01 - Backup restored successfully.
Step 01 - Attempting to verify if we are logged in (hopefully QR code is not present).
Step 01 - nothing found to action. The QR code test passed.
Step 02 - Attempting to check for the start button (should not be present)...
Step 02 - Timeout while trying to check for the start button (should not be present).
Step 03 - Attempting to open a link for the app...
Step 03 - Failed to find the 'Open Wallet' button within the expected timeframe.
Step 03 - Attempting to find the chat window/message input box...
Step 03 - Timeout while trying to find the chat window/message input box.
Step 03 - Failed to find the message input box.
Step 03 - Attempting to restore from backup and retry.
CHROME DRIVER DETACHED: It is now safe to exit the script.
Session released: ./selenium/Wave:Wallet2
Session started: ./selenium/Wave:Wallet2 in status.txt
CHROME DRIVER INITIALISED: Try not to exit the script before it detaches.

I haven't connected my Telegram account to the bot

Hey Joey,
There was an error connecting the script to Telegram accounts for around 2 days after Telegram changed their layout. I have corrected the issue, so you should be able to pull the latest version from GitHub and log into Telegram.
Thanks


does not display css custom properties without a value defined

On Storybook doc, storybook-addon-cssprops does not display css vars that do no have a value properties

parameters: {
    cssprops: {
      'alert-width': { control: 'text' },
    },
  },

On Canvas panel using the same configuration in the previous case, when you click on set string nothing happen

Happy to contribute to this project and cover the above use cases

Welcome a pr if you'd like to work on this 😃

sorry @ljcl, I was thinking to contribute but I end up using storybook controls in the end.


IAP purchase ACK

Proposal
IAP purchase validation was added here, as a good adition, It'd be good to have the same token generated to do the purchase acknowledgment such as this.

@arxdsilva I think this proposal could be useful but it would be helpful if you can describe in more detail the use case and typical usage pattern for that API in the server. We try to frame feature requests with real use cases that provide the context and motivation for the change; and ultimately help us prioritize items on the engineering roadmap.


The abnormal class description information in the checkEngineConnDist…

What is the purpose of the change
The abnormal class description information in the checkEngineConnDistHome method supplements the path information
Related issues/PRs
Related issues: #4280
Related pr:#4283
Checklist

[x] I have read the Contributing Guidelines on pull requests.
[ ] I have explained the need for this PR and the problem it solves
[ ] I have explained the changes or the new features added to this PR
[ ] I have added tests corresponding to this change
[ ] I have updated the documentation to reflect this change
[ ] I have verified that this change is backward compatible (If not, please discuss on the Linkis mailing list first)
[ ] If this is a code change: I have written unit tests to fully verify the new behavior.

LGTM.


"g" in stargazer cut off

this is fixed with the latest version of the website, thank you for reporting.


fix(HLS): Fix lazy-loading of TS content

We assume before a playlist is loaded that the content is MP4.  But once a single playlist is loaded with TS, we should then assume that all the other playlists of that type (video/audio) are also TS. Otherwise, as-yet-unloaded playlists are filtered out of the variants list as "incompatible".

This works in manual testing.  I'm adding a regression test now, and will update the PR with that soon.

I confirmed that the regression test fails without the fix.  PTAL!


Unable to download images

Expected behavior
To be able to download images from Docker Hub.
Actual behavior
-Happens on ANY image

Information about the Issue
Unable to download images from Docker Hub.
Steps to reproduce the behavior

Try to download Docker Image from Docker Hub via Kitematic
Be sad

It is maybe because of Windows Defender. Turn off the threat and virus protection to see if it helps. If it does then add the Kitematic folder as the exclusion in the Defender settings.

It is maybe because of Windows Defender. Turn off the threat and virus protection to see if it helps. If it does then add the Kitematic folder as the exclusion in the Defender settings.

If that were the case, wouldn't this also fail from the cmd line? (pulling images via cmd line works fine)..


Record Collection challenge does not pass all tests

Challenge Name
.freecodecamp.com/challenges/record-collection
Issue Description
Even with the solution from the challenge guide the 2nd test does not pass
After updateRecords(5439, "tracks", "Take a Chance on Me"), tracks should have "Take a Chance on Me" as the last element.
Browser Information

tested on Windows 10 with firefox and edge and chrome
Your Code
// If relevant, paste all of your challenge code in here
function updateRecords(id, prop, value) {
  if (prop === "tracks" && value !== "") {
    collection[id][prop].push(value);
  } else if (value !== ""){
    collection[id][prop] = value;
  } else {
    delete collection[id][prop];
  }

  return collection;
}

Screenshot

![screenshot-www freecodecamp com 2016-06-07 21-32-40](https://cloud.githubusercontent.com/assets/1762608/15881945/89af329c-2cf7-11e6-8c0b-1d4a31a27c49.png)

I found out the correct solution to this does not use push for that 2nd test but the solution in the guide has not been updated to not use push

Yeah, seriously. This one been driving me up the walls! So Frustrating.

This is a duplicate of  #8970
@xboudsady If you follow the thread in above mentioned issue, it talks about a solution and proposes an update in instructions. I also know that in future this will no longer be a problem as our tests are being updated in a way to do a fail safe check for existence of this array.
Sending this message primarily so that @xboudsady doesn't stay blocked with this challenge by looking at hints in other issue.

What do I use if i take out PUSH? This challenge is rough. Lol.

Did you solve it yet?

else if (prop === "tracks" && collection[id].hasOwnProperty("tracks") === false) {   collection[id][prop] = [];     collection[id][prop].push(value);       }
you should create an empty array. after hasOwnProperty test it sees that there is no array tracks for id 5439.


Some glitch on second page

The html  https://mike.quarto.pub/demo-taylor-and-francis-template/ has some glitch on second page

Thanks; I can't seem to reproduce this locally but I do also see it in the demo PDF. I'll keep looking.

Thanks for the report! This seems to be fixed with newer versions of Quarto, and is now fixed on the demo.


Move Login Details To Env. Variables

Reformat Intent & Handler names according to the format used in official Alexa repositories and move login details to environment variables.

Closed by pull request #8


Generation projection layer fixes

What does this PR do?

Do not add index buffer to the model state dict when wrapping the projection layer with _IndexedInputLinear
Ensure projection layer is always wrapped for calls to the decoder

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


[Enhancement] Change code highlight colors

Discord allows you use markdown to include syntax highlighted code, like
for(int i = 0; i < 10; i++){
    printf("This is highlighted");
}

Would it be difficult to modify the css to highlight code from the wal color pallet?
I have done something similar in vim.reaper with the markdown preview vim plugin.

This is actually possible, but I'd need to get the full color palette imported from the colors file, which would require a rewrite of the backend.
@guglicap How do you feel about this?
If we do this I'll make another pass over the current CSS and create a bit more colour variation.
Had a quick look on the colours used, more colours means better readability and it seems we're working with a palette of 6 at most.
That'd effectively mean integrating the entire colors file into the backends and just changing the order of priorities?
If you could implement the following variables in the backends we have, I can work on implementing it over the next week and seeing if I can add some variation into the existing CSS.
$colorHighlight (primary colour to compliment the accent colour)
// other than that I suppose we could just import 3 more basic colours, so a basic variable would suffice. (I don't really care for the variable names, but if you could confirm the structure I can begin writing the changes. Maybe something like this;
$colorHighlightAlt
$colourUrgentAlt
$colourAccentAlt

Sure, have a go, I'm sure something will come of it :)

Made a couple of changes to the variables, as having alt colours without using them as their main variable isn't very sensible.
So my current draft looks like this;
@import 'colors.scss';
$bg: $background;
$bgDarker: mix($background, #000, 90%); // for sidebars and titlebars
$colorUrgent: $color6; // for new messages notifications and the alike
$colorAccent: $color1; // "encourages user interaction", I just copied from android colors
$colorHighlight: $color4; // for highlighting and complementing the accent color
$fg: $foreground; // text color

// additional colors for syntax highlight variation
$syntaxone: $color2;
$syntaxtwo: $color3;
$syntaxthree: $color5;

I'm not going to be touching the backends much more than this. I'll leave it up to you to swap the colours around once I finish writing my PR.


Changing loading paths of pretrained model

Hey again @liznerski !
I wish to change the path where the pretrained model (vgg11_bn-6002323d.pth) is loaded from.
From my understanding, the default path is data\\models\\vgg11_bn-6002323d.pth
Where should I edit to do so?
Once again, thank you very much for taking your time!

I was able to find it.
It is at here, that you can set the path where the vgg model is stored.
Thank you!


Treat skipped steps as optional for validity

When a MetaDeploy plan is run that includes preflight checks with the skip action, and the conditions are met to skip that step, MetaDeploy presents an error:

Invalid steps for plan

This PR aims to fix the issue by correcting the identification of optional steps to include those in SKIP status.

@davidmreed I'm not sure why the builds didn't get triggered. Could you try pushing a new commit and see if that helps?


I got this error while installing

AH00526: Syntax error on line 43 of /etc/apache2/modsecurity-crs/coreruleset/rules/REQUEST-922-MULTIPART-ATTACK.conf:
Error creating rule: Unknown variable: &MULTIPART_PART_HEADERS

Hi @abhijith-neork,
unfortunately you haven't followed any of our issue templates, but I'm sure you have an old version of ModSecurity for the used CRS. Since 3.3.4 CRS needs ModSecurity 2.9.6 or libmodsecurity3 3.0.8 at least.
Please read the announcement here.
I'm closing this issue.


Add AdventOfCode2016 challenges to the categories

https://adventofcode.com/2016

That sounds like a good idea.  Would you be able to supply a patch (or patches) to help us get the ball rolling?


Add @Service for HttpClient annotation

Now if you refer  HTTP Interface as bean in IntelliJ IDEA, and IDEA will report Could not autowire. No beans of 'HttpBinService' type found. .

spring-boot-http-clients relies on Spring, and @Service could be added in HttpClient annotation, and make HTTP interface as a bean.
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE})
@Documented
@Service
public @interface HttpClient {

    /**
     * Name of the {@link WebClient} bean to use with http client
     * @return bean name
     */
    String value();
}

Could you please show what's inside of the HttpBinService?

@uladzislau-ulasovich  The code as following:
@HttpClient("httpbin-client")
public interface HttpBinService {
    @GetExchange("/ip")
    Mono<MyIp> myIp();

    record MyIp(String origin) {
    }
}

But have you tried to run the code?
IntelliJ might complain about missing bean definition just because it doesn't know anything about @HttpClient, and that classes annotated with @HttpClient will become beans.
Spring work in exactly the same way, during startup it just scans for classes annotated with @Component, @Bean, @Service, etc, then create bean definitions, factories, and then create beans. Annotations itself, without a code that knows how to use them, is just a meta data, they do nothing.

If you add a @Service on HTTP interface, and IDEA will treat the interface as bean.
@HttpClient("httpbin-client")
@Service
public interface HttpBinService {
    @GetExchange("/ip")
    Mono<MyIp> myIp();

    record MyIp(String origin) {
    }
}

Adding a @Service also makes the interface a subject to all sorts of annotation processing that search for service annotations.
Perhaps there is a better way to make Intellij recognize these beans - some extra metadata?

@linux-china you see this error only because the Spring plugin in your IDE knows only about annotations from Spring. Adding @Service annotation does not solve any problem at all (because there are no problem). As @maciejwalkowiak mentioned, it might make things even worse.

Spring HTTP Interface just an interface, and these is no class to implement the HTTP interface at all

Also not true, Spring will create proxies with implementation of http client. I'm 90% sure it works exactly the same as Spring Data JPA Repositories.
@maciejwalkowiak it seems like it's known problem that IntelliJ IDEA (the Spring plugin especially) doesn't recognize custom Beans as candidates for injection. It also does not show a gutter icon to jump to bean definition. I think there should be a way to somehow provide a meta-data to make it works in a nice way, I'm looking into this.

I hope Intellij figures out better how to detect beans registered in less usual way. I've decided to not add any stereotype annotation as it could have side effects that are not welcome.


DBZ-2152 Fix test failure

https://issues.redhat.com/browse/DBZ-2152
This fixes the test failure introduced by the initial changes for DBZ-2152.

@Naros Applied, thanks

Thanks for merging -- still hoping for an answer re my question above :)

why not prior during the PR phase is still weird.

Indeed. Was it actually green (the checkmark) or did it remain yellow?
There seem to be issues lately where Travis fails to update the PR status,
it remains yellow, although the build already has failed long time ago.

I just double checked the PR, it was in fact green.

Strange, strange.


get the group information from an environment variable

We need a way to get the group information from an environment variable, so user don't need to specify the --group in the CLI.
if the group information is not specified, the --group in the CLI would be mandatory.
Idea:
The default environment variable for that would be: SUGAR_GROUP_NAME
but the user can specify a custom environment variable name, for example:
version: 1.0.0
config:
  env:
    SUGAR_GROUP_NAME: ENV

it looks  bit extensive/verbose in this way .. but it would be easy to extend for other custom configuration in the future

additionally, if the corresponding environment variable is present (the default or the custom one), it should be displayed in the help text as an information, something like:
Note: Default services' group: <the value from the environment variable>


Annotations are not saved

Describe the bug
I am trying to annotate data for pairwise regression on images.
Template used: Ranking and Scoring --> Pairwise regression
Template Code:

Annotation:

Tasks:

Expected behavior
List of task is not showing the annotation.
Exported File Data: Exported File also does not contain the annotation.
[
{
"profile_face": "/data/local-files/?d=face-matching/1092.jpg",
"appointment_face": "/data/local-files/?d=face-matching/92202_0.jpg",
"appointment_id": 92202,
"agent_id": 1092,
"id": 1230783,
"annotator": 4,
"annotation_id": 23670,
"created_at": "2024-03-29T05:39:54.721157Z",
"updated_at": "2024-03-29T05:52:32.001770Z",
"lead_time": 37.426
}
]
Environment (please complete the following information):

OS: Ubuntu
Label Studio Version : 1.11.0

<View>
  <Header>Set how likely these images represent the same thing:</Header>
  <View style="display: grid; column-gap: 8px; grid-template: auto/1fr 1fr">
    <Image name="image1" value="$image1" />
    <Image name="image2" value="$image2" />
  </View>
  <View style="margin-left: auto; margin-right: auto; width: 16em">
    <Rating name="rating" toName="image1"/>
  </View>
</View>

Please change your labeling config to this one, there is an error in toName="image1,image2", it should be toName="image1"`.


Fetch locale information for Telemetry

What type of PR is this?
/kind feature
What does this PR do / why we need it:
$subject
Which issue(s) this PR fixes:
Fixes part of #4994
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

[ ] I have read the test guidelines

How to test changes / Special notes to the reviewer:
Look at the data being captured in Segment. You should see "locale" information in the "Raw" data.

Not sure why, but I don't see any locale data in segment console

Not sure why, but I don't see any locale data in segment console.

Did you check in the "Raw" tab? Even the time zone data that's added via #5067 shows in the "Raw" tab in context. I'm curious to understand why we're using traits when context struct already provides keys of our interest:
// This type provides the representation of the `context` object as defined in
// https://segment.com/docs/spec/common/#context
type Context struct {
	App       AppInfo      `json:"app,omitempty"`
	Campaign  CampaignInfo `json:"campaign,omitempty"`
	Device    DeviceInfo   `json:"device,omitempty"`
	Library   LibraryInfo  `json:"library,omitempty"`
	Location  LocationInfo `json:"location,omitempty"`
	Network   NetworkInfo  `json:"network,omitempty"`
	OS        OSInfo       `json:"os,omitempty"`    <------------------------------
	Page      PageInfo     `json:"page,omitempty"`
	Referrer  ReferrerInfo `json:"referrer,omitempty"`
	Screen    ScreenInfo   `json:"screen,omitempty"`
	IP        net.IP       `json:"ip,omitempty"`
	Locale    string       `json:"locale,omitempty"`    <------------------------------
	Timezone  string       `json:"timezone,omitempty"`    <------------------------------
	UserAgent string       `json:"userAgent,omitempty"`
	Traits    Traits       `json:"traits,omitempty"`

	// This map is used to allow extensions to the context specifications that
	// may not be documented or could be introduced in the future.
	// The fields of this map are inlined in the serialized context object,
	// there is no actual "extra" field in the JSON representation.
	Extra map[string]interface{} `json:"-"`
}

I'm curious to understand why we're using traits when context struct already provides keys of our interest:

Have you been able to get to the context data from Woopra?

Have you been able to get to the context data from Woopra? I was not able to see it there.

Woopra is not making much sense to me, tbh. In the sense, I'm not good at using it, yet.

If you check how vscode telemetry does it, they send locale and timezone info in both context and traits. I assume that the reason is that you can't see the all the context data in Woopra.

Yeah, I assumed the same that adding it to traits could be for Woopra. I can add it to traits as well in the same PR if it helps.

Yeah, I assumed the same that adding it to traits could be for Woopra. I can add it to traits as well in the same PR if it helps.

yes please

/approve

@dharmit It seems that %w is not supported by Infof
pkg/segment/segment.go:171:3: Infof call has error-wrapping directive %w

@dharmit It seems that %w is not supported by Infof
pkg/segment/segment.go:171:3: Infof call has error-wrapping directive %w

I think I should revert it to the way it was, that is, use err.Error() in that call. WDYT?

@dharmit It seems that %w is not supported by Infof
pkg/segment/segment.go:171:3: Infof call has error-wrapping directive %w

I think I should revert it to the way it was, that is, use err.Error() in that call. WDYT?

Yes, and also using %s instead of %w I think

/lgtm


Embed etcd in the integration tests directly.

This PR does the following:

Updates etcd and it's dependencies to get to a newer version with working deps to run the embedded version of etcd.
Removes etcd start call from integration script
Adds start etcd for integration tests via TestMain

f4be44e8df57abaa737a1dcb9fcf7de152202265 said
test/integration/etcd_test.go:67: possible formatting directive in Println call

but all the integration tests ran successfully.

I see a lot of logging output like
2017-11-14 23:59:07.433400 I | etcdserver/api/v3rpc: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp: missing address"; Reconnecting to { <nil>}

Can we do anything to quiet that?

Now that etcd is inside the process we will see it's logs too.


Update request: forgejo 1.21.6-0 → 1.21.7-0

Package name: forgejo
Latest released version: 1.21.7-0

Current version on the unstable channel: 1.21.6-0
Current version on the stable/release channel: 1.20.6-1-unstable-2024-02-22

[x] Checked the nixpkgs pull requests

Notify maintainers
@emilylange
@urandom2
@bendlas
@adamcstephens

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

I've opened a PR. FYI Forgejo (and many other packages) has an update script which can simplify this process, and contributions are welcome!

@adamcstephens I will try that next time. :)


sublime3: fix icon

Motivation for this change
GNOME Shell no longer showed icon of Sublime Text for me,
nixos-rebuild switch with this followed by touching ~/.local/share/icons
fixed it.
Perhaps the icon cache introduced in https://github.com/NixOS/nixpkgs/pull/48116 excludes /share/icons?
cc @hedning @romildo
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Yeah, gtk.iconCache.enable = true; fixes the Sublime Text icon but breaks most of others.

We need a more systemic solution, I opened an issue https://github.com/NixOS/nixpkgs/issues/57134


block nbsphinx to execute

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.18%. Comparing base (10be288) to head (1c04329).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #210   +/-   ##
=======================================
  Coverage   85.18%   85.18%
=======================================
  Files          18       18
  Lines        1802     1802
=======================================
  Hits         1535     1535
  Misses        267      267

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.