text:
Label Appear without Showing Icon

i have put all require file like, dist/css/map-icons.css , dist/js/map-icons.js, then i make maker like this:

    var marker = new google.maps.Marker(
    {
        position: myLatLng,
        map: map,
        icon: {
            path: SQUARE_ROUNDED,
            fillColor: '#00CCBB',
            fillOpacity: 1,
            strokeColor: '',
            strokeWeight: 0
        },
        map_icon_label: ''
    });

but icon is not appear, just label like this:

anyone can help me to fix this?
thank you

I'm having the same issue, any help?

Markers are created just like a normal Google Maps Marker, however, the class is extended for the map_icon_label property to add in markup for marker labels.
Note: You should be creating an instance of Marker rather than google.maps.Marker in order for the functionality added by map_icon_label to work.
var marker = new Marker({
map: map,
position: new google.maps.LatLng(-27.46577, 153.02303),
icon: {
path: SQUARE_PIN,
fillColor: '#00CCBB',
fillOpacity: 1,
strokeColor: '',
strokeWeight: 0
},
map_icon_label: ''
});

i have try with

var marker = new Marker({

but if i use that, it not show anything...

How are you using var marker ? . I mean you should be passing it along google.maps.event below is the one way of doing it. You can also pass it like   google.maps.event.addListenerOnce(window , 'load , function(){ . please check the GoogleMap API to create simple map.
`$scope.map=new google.maps.Map(document.getElementById("map") , mapOptions);
google.maps.event.addListenerOnce($scope.map , 'idle' , function(){
  var marker = new Marker({
    map : $scope.map,
    animation : google.maps.Animation.DROP,
    position : LatLang ,
    icon: {
           path: SQUARE_PIN,
	fillColor: '#0c60ee',
	fillOpacity: 1,
	strokeColor: '',
	strokeWeight: 0,
            scale: 5

},
map_icon_label: '' });

});`
If this dint fix. Please share the code or snippet if possible. Thanks.

@fasidOnGit please review my code on https://codeshare.io/aJpBYZ
thank you...

Wow awesome project, well done.
But I having the same issue as well. In your example.html everything works well, but not in my angular 2 project.
var mapOptions = {
		zoom: 16,
		center: center,
		scrollwheel: false,
		mapTypeId: google.maps.MapTypeId.ROADMAP,
		styles: [
			{stylers: [{ visibility: 'simplified' }]},
			{elementType: 'labels', stylers: [{ visibility: 'off' }]}
		]
	};

const marker =  new Marker({
      position: position,
      map: map,
      icon:  {
        path: ROUTE,
        fillColor: '#00CCBB',
        fillOpacity: 1,
        strokeColor: '',
        strokeWeight: 0
      },
      map_icon_label: ''
    });

The font icon is shown on the upper left. Some CSS Issue?

I had the same issue.
Adding codes and Script tags in the same order as Example worked for me.

The forked version of https://github.com/bmauser/map-icons works much better. Would be nice if the author should accept the pull request. :)

marker = new mapIcons.Marker({
map: map,
title: markers[i][0],
position: position,
icon: {
path: mapIcons.shapes.SQUARE_PIN,
fillColor: '#c61f1f',
fillOpacity: 1,
strokeColor: '',
strokeWeight: 0,
},

authors: DavoodAmini SpinGit fasidOnGit fuzha latifcakra uzenith360

repo: scottdejonge/map-icons


text:
Clean-up and made bitfinex module independent of decouple

I like to use my own way of storing key/secret pair. Pass them to TradeClient when creating an object.
bitfinex_test.py changes are not tested.
Also did small clean-ups.

Thanks @Fatsie :)

source: gharchive/pull-request

authors: Fatsie scottjbarr

repo: scottjbarr/bitfinex

license: mit

license_type: permissive

license_source: bigquery


text:
key-mon freezes on 1st mouse click.

I've installed with: $ pip install git+https://github.com/scottkirkwood/key-mon
When I run key-mon all is well until the 1st mouse click I make and it freeze key-mon. It no longer registers anything I do:

I can right click and get the menu still and quit it, but the sub-menu names are prefixed with a _:

Right after it freezes, these line appear if I run it in a terminal window:
   ~  key-mon
Traceback (most recent call last):
 File "/home/retro/.local/lib/python3.10/site-packages/keymon/key_mon.py", line 478, in on_idle
   self.handle_event(event)
 File "/home/retro/.local/lib/python3.10/site-packages/keymon/key_mon.py", line 503, in handle_event
   self.handle_mouse_button(event.code, event.value)
 File "/home/retro/.local/lib/python3.10/site-packages/keymon/key_mon.py", line 664, in handle_mouse_button
   self.mouse_indicator_win.center_on_cursor()
 File "/home/retro/.local/lib/python3.10/site-packages/keymon/shaped_window.py", line 88, in center_on_cursor
   self.show()
 File "/home/retro/.local/lib/python3.10/site-packages/keymon/shaped_window.py", line 101, in show
   pm = gtk.gdk.Pixmap(None, self.get_size()[0], self.get_size()[1], 1)
NameError: name 'gtk' is not defined. Did you mean: 'Gtk'?

I'm running it on Manjaro Linux KDE Plasma.

Also having this issue, on Linux Mint 20.2 Cinnamon

Thanks, I missed this bug in the beginning of march. I'm not seeing this issue right now (but another issue).
Clearly something has changed with GTK that has affected the old code.

I installed Linux Mint 20.3 Cinnamon 64 bit on a virtual machine and pip installed key-mon and it worked for me.
Unable to reproduce.
:-(

Not sure of all the intricacies involved, but it looks like GDK pixmaps are being/have been phased out, and so maybe depending on various library versions the missing object is just not present?
https://docs.gtk.org/gtk3/migrating-2to3.html#replace-gdkpixmap-by-cairo-surfaces
For what it's worth, this bug only happens to me when I have the 'Highly visible click' feature enabled.

I installed Linux Mint 20.3 Cinnamon 64 bit on a virtual machine and pip installed key-mon and it worked for me. Unable to reproduce. :-(

I'm not using Linux Mint so I have no input on that.

So I did reproduce the bug when turning on the "Highly visible click" feature. If you turn it off it doesn't crash (at least on my machine).
As naclomi@ mentioned, it's related to pixmap that is being deprecated.
I'm going to have to read about that and figure out how to fix it. I also see some other minor bugs like the menus having underscores instead of the character being bolded.

Had a spare minute and looked into it. Based on this deprecation warning:
https://github.com/ruby-gnome/ruby-gnome/blob/master/gtk3/lib/gtk3/deprecated.rb#L1043
It seems that input_shape_combine_mask was replaced with input_shape_combine_region, with the latter now taking a Cairo "Region" rather than a pixmap, which is a purpose-built data structure for interaction masks:
https://pycairo.readthedocs.io/en/latest/reference/region.html
Submitted pull request #97 to fix this. Since the purpose of the code seems to be to set the clickable region to effectively null, I just send input_shape_combine_region an empty region.

This is fixed, thanks for all the help.

source: gharchive/issue

authors: eGax naclomi scottkirkwood

repo: scottkirkwood/key-mon


text:
Garbage results are duplicated for flattened columns

305 items affected - 15.2% of 'suggestions' values contain </b>, <b>: 604, 949, 239, 967, 394, 1287, 1953, 1737, 1348, 1961

1742 items affected - 87.1% of 'suggestions' values contain &amp, </b>, <b>: 1619, 339, 1481, 655, 1927, 1187, 691, 1497, 1242, 1469

1693 items affected - 84.7% of 'suggestions' values contain &amp, </b>, <b>: 1497, 806, 1589, 1769, 638, 1381, 1482, 892, 342, 1673

1607 items affected - 80.3% of 'suggestions' values contain &amp, </b>, <b>: 7, 1651, 1718, 1980, 1570, 1694, 450, 1595, 1031, 1549

1561 items affected - 78.0% of 'suggestions' values contain &amp, </b>, <b>: 369, 163, 1417, 1718, 177, 341, 1526, 1581, 1212, 1822

1494 items affected - 74.7% of 'suggestions' values contain &amp, </b>, <b>: 1656, 839, 611, 57, 24, 1417, 382, 642, 339, 1314

1434 items affected - 71.7% of 'suggestions' values contain &amp, </b>, <b>: 866, 13, 1049, 1396, 1628, 1169, 355, 1438, 979, 1381

1389 items affected - 69.5% of 'suggestions' values contain &amp, </b>, <b>: 229, 629, 296, 853, 308, 326, 693, 88, 996, 1089

1337 items affected - 66.8% of 'suggestions' values contain &amp, </b>, <b>: 1173, 857, 1870, 1036, 1446, 1627, 127, 1103, 37, 62

1299 items affected - 65.0% of 'suggestions' values contain &amp, </b>, <b>: 860, 157, 1110, 623, 1934, 1500, 112, 213, 451, 1372

The error repeats because count is different for nested columns.
Solution - apply(str) and throw away flatten.

repo: scrapinghub/arche

license: MIT

license_source: github-api


text:
Problem in Danish

Hi man. Can you add handling of this phrase in Danish: "Mindre end 1 minut siden". On English: "Less then 1 minutes ago".
Thx!

This is already in there:
https://github.com/scrapinghub/dateparser/blob/eb9614aca39ad9b4cc11ac84fb405af0f4a36b06/dateparser/data/date_translation_data/da.py#L294

authors: elgehelge leentheone

repo: scrapinghub/dateparser


text:
s/nose_parameterized/parameterized

"The nose-parameterized package is deprecated and has been renamed to parameterized."
I simply followed the instructions from https://pypi.python.org/pypi/nose-parameterized.

Thank you for bringing the repo closer to the present.

authors: asadurski dotlambda


text:
Object not synced if you remove and add the same file in the bucket

In the following scenario, object FOO doesn't sync properly:

:green_circle:  FOO object is uploaded to the bucket -> objinsync add them
:green_circle: FOO object is deleted from the bucket -> objinsync remove them
:red_circle: The same FOO object is uploaded again to the bucket -> objinsync doesn't add them
If I restart objinsync after this step, it will sync properly.
:green_circle: FOO object is uploaded with a modified content -> objinsync add them

I think it's because of the uidCache that is not purged when a file is deleted.
Maybe adding a delete in this for works:
		for f, _ := range self.filesToDelete {
			os.Remove(f)
			uidKey, err := uidKeyFromLocalPath(self.LocalDir, f)
			if err == nil {
				self.uidLock.Lock()
				delete(self.uidCache, uidKey)
				self.uidLock.Unlock()
			}
		}

Disclaimer: I'm not a Go expert

I think you are a go expert, that is the right fix. good catch! could you send a PR?

This bug fix should be included in release v2.4.1

authors: houqp ron-damon

repo: scribd/objinsync


text:
Debugging the scripts

Hello,
what do I have to change in the sample project in order to enable debugging into the script that is called by the sample application?
In the Debug → Windows → Modules of Visual Studio I can see, that the assembly was created without symbols. Therefore I assume, that debugging is not possible with the current settings/code.
So what I ask for is that pressing F11 in the line greeter.Greet("Hello MEF!"); - I want to step into the Greet Method that is defined in the Text.csx
I use Win10 64 bit OS and Visual Studio 2019.
Best regards
Kilian

Hi,
It's been a while since I step a foot in this project, but if I remember correctly the debug is indeed not possible, sorry.
It is one of the con of a script.

Hi @laedit,
this is not the answer I'd hoped for :(
I found out, that the ScriptCsCatalogOptions class has a ScriptArgs property which takes for example "-loglevel" as input.
I think this parameter will be used as cmdline argument for the scriptcs.exe, which has to be called at some point, correct?
So scriptcs.exe does have a "-debug" parameter, too. This parameter "emits PDB symbols allowing for attaching a Visual Studio debugger" as written in the documentation. Does the ScriptCsCatalog not forward this parameter to the scriptcs.exe?
Best regards
Kilian

The ScriptArgs property is just args for the scripts imported through MEF.
This repository only allows to use MEF to "import" scripts, it doesn't launch ScriptCs.
I think for debugging scripts launched through ScriptCs you better be asking on the main repository.

authors: Kilian-E laedit

repo: scriptcs-contrib/scriptcs-mef


text:
Pandas 2.0 Empty column read write bug

Hi @ivirshup , as I stated in the meetings when comparing empty columns it gives this error now. I set exact_columns on assertion function to False in my concatenation PR but this might not be desired.
It fails this function
def test_column_dataframe(tmp_path, diskfmt):
    pth = tmp_path / f"adata.{diskfmt}"
    read = lambda pth: getattr(ad, f"read_{diskfmt}")(pth)
    write = lambda adata, pth: getattr(adata, f"write_{diskfmt}")(pth)

    def gen_index(n):
        return [f"cell{i}" for i in range(n)]

    orig = ad.AnnData(np.ones((2, 8)), obs=pd.DataFrame(index=gen_index(2)))

    write(orig, pth)
    curr = read(pth)
    assert_equal(orig, curr)

when this line is added it passes
@assert_equal.register(pd.DataFrame)
def are_equal_dataframe(a, b, exact=False, elem_name=None):
    if not isinstance(b, pd.DataFrame):
        assert_equal(b, a, exact, elem_name)  # , a.values maybe?

    report_name(pd.testing.assert_frame_equal)(
        a,
        b,
        check_index_type=exact,
        check_column_type=exact, # this line
        check_exact=exact,
        _elem_name=elem_name,
        check_frame_type=False,
    )

Closing this PR as the test itself was the problem, so no need to merge

repo: scverse/anndata


text:
Subsampling Tutorial

A tutorial showing some subsampling strategies, as multiple questions appear on how this may be done.

Ongoing work, at this stage only placeholders

Hi, fyi in the more recent scvi-tools you can set train and validation indices to custom values. Happy to provide support in integrating these into your notebook.

authors: canergen eroell

repo: scverse/scverse-tutorials


text:
没有单独androidx的版本吗，现在的类都引用support包，会引发编译问题

没有单独androidx的版本吗，现在的类都引用support包，在特定情况会引发编译问题。
直接使用类库是没问题的，因为gradle会处理，但是我的库引用了SmartRefresh后，我的类全部是androidx的。这个时候用我的库就会出现问题，gradle的androidx处理无法嵌套多层类库，希望修改下：
E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.seallive.app, PID: 21033
    java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/view/NestedScrollingParent;
        at com.seallive.app.App.onCreate(App.kt:15)
        at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1202)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7387)
        at android.app.ActivityThread.access$2400(ActivityThread.java:251)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2280)
        at android.os.Handler.dispatchMessage(Handler.java:110)
        at android.os.Looper.loop(Looper.java:219)
        at android.app.ActivityThread.main(ActivityThread.java:8387)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055)

说了要把那两行加上

authors: li-xiaojun woitaylor


text:
cqlsh: Add extension handler for "scylla_encryption_options"

Refs scylladb/scylla-tools-java#731
Scylla encryption options are not stored with "normal" options. Because these are 100% intertwined with drivers, and adding stuff there breaks things.
Instead they are extensions. The python driver allows adding extension handlers to print info about these.
This adds a handler, and while the end result will not be the actual cql statement to recreate the table, it at least will provide feedback to the user.
v2:

format comments
indentation

Some enterprise dtest started failing cause the encryption options are missing, seem like I've missed one commit during the transfer from scylladb/scylla-java-tools

repo: scylladb/scylla-cqlsh


text:
How to get batch LWT statement result?

Hi!
I'm running 3 statements in a batch and I'd like to get to know if batch was applied or not.
Please, advise.
Thanks.

You can know it based on Result obtained from batch().await call:

Ok(QueryResult) means success in applying batch,
Err(QueryError) means that batch might not have been applied, depending on particular error kind. See specification of errors that the DB can return.

Thank you for such quick response, but it is not 100% clear to me.
Could you please point to the actual error code when one of batch statement correct, executed, but not applied (IF condition of one of the statements returned false, and the whole batch is not applied)?
When I'm experimenting in db console, such batch returns "ok":

[2024-05-13 19:00:33] 1 row retrieved starting from 1 in 31 ms (execution: 17 ms, fetching: 14 ms)

And the first column in that returned row contains status "applied: false", so it looks like result with the rows, not the error.
Can it be retrieved somehow, may be with maybe_first_row_typed::<???>() in order to check value of the first column with statement status?

@Lorak-mmk any ideas?

Well, I wrote minimal repro of my case, and yes - on a batch query there is a QueryResult that looks like:
OK2 QueryResult { rows: Some([Row { columns: [Some(Boolean(true)), None, None, None] }]), warnings: [], tracing_id: None, paging_state: None, col_specs: [ColumnSpec { table_spec: TableSpec { ks_name: "examples_ks", table_name: "cf" }, name: "[applied]", typ: Boolean }, ColumnSpec { table_spec: TableSpec { ks_name: "examples_ks", table_name: "cf" }, name: "account_d", typ: Int }, ColumnSpec { table_spec: TableSpec { ks_name: "examples_ks", table_name: "cf" }, name: "updated_at", typ: Timestamp }, ColumnSpec { table_spec: TableSpec { ks_name: "examples_ks", table_name: "cf" }, name: "value", typ: BigInt }], serialized_size: 21 }

And got every statement status in a batch like this:
let (value_idx, _) = query_result.get_column_spec("[applied]").expect("No value column found");
let mut row_index = 1;
for row in query_result.rows.expect("no rows found") {
    println!("row #{}: applied = {:?}", row_index, row.columns[value_idx]);
    row_index += 1;
}

output:
row #1: applied = Some(Boolean(true))

I can't say this is very convenient, and hardcoded "[applied]" column name seems not elegant, but it is working.
May be you can add one more example about how to work with batches?
Full code:
use scylla::{FromRow, Session, SessionBuilder};
use scylla::batch::Batch;
use scylla::transport::errors::QueryError;
use serde::{Deserialize, Serialize};
use time::OffsetDateTime;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    // Create connection
    let uri = "127.0.0.1:9042".to_string();
    println!("Connecting to {} ...", uri);

    let session: Session = SessionBuilder::new()
        .known_node(uri)
        .user("cassandra", "cassandra")
        .schema_agreement_interval(std::time::Duration::from_secs(1)) // check every second for schema agreement if not agreed first check
        .build()
        .await?;

    let schema_version = session.await_schema_agreement().await?;

    println!("Schema version: {}", schema_version);

    session.query("CREATE KEYSPACE IF NOT EXISTS examples_ks WITH REPLICATION = {'class' : 'NetworkTopologyStrategy', 'replication_factor' : 1}", &[]).await?;

    match session.await_schema_agreement().await {
        Ok(_schema_version) => println!("Schema is in agreement in time"),
        Err(QueryError::RequestTimeout(_)) => println!("Schema is NOT in agreement in time"),
        Err(err) => panic!("Query error {}", err),
    };

    session
        .query("DROP TABLE IF EXISTS examples_ks.cf", &[])
        .await?;

    session
        .query("CREATE TABLE IF NOT EXISTS examples_ks.cf (account_d INT, updated_at TIMESTAMP, value BIGINT, PRIMARY KEY ( (account_d) ))", &[])
        .await?;

    session.await_schema_agreement().await?;
    println!("OK1");
    // add row
    let mut batch: Batch = Default::default();
    batch.append_statement("UPDATE examples_ks.cf SET value = 1, updated_at = currentTimestamp() WHERE account_d = 20 IF updated_at = null AND value = null;");
    let prepared: Batch = session.prepare_batch(&batch).await?;
    let res = session.batch(&prepared, ((), (20, "some data1"), )).await?;
    println!("OK2 {:?}", res);

    let (value_idx, _) = res.get_column_spec("[applied]").expect("No value column found");
    let mut row_index = 1;
    for row in res.rows.expect("no rows found") {
        println!("row #{}: applied = {:?}", row_index, row.columns[value_idx]);
        row_index += 1;
    }

    println!("OK3");
    Ok(())
}

Did you try with more than one statement in batch? If memory serves me right there will always be one row in response, which indicates if the batch was applied or not. Your code looks like you assume there will be a row per a statement in batch.
Regarding the docs / examples, this is a question about LWT, not batches. We can extend LWT docs, I see we have nothing about [applied] column in docs/source/queries/lwt.md. I'll leave this issue open so we don't forget to do this.

Quick test with two statements in a batch:
  let mut batch: Batch = Default::default();
    batch.append_statement("UPDATE examples_ks.cf SET value = 1, updated_at = '2024-05-13 15:08:59.152' WHERE account_d = 20 IF updated_at = null AND value = null;");
    batch.append_statement("UPDATE examples_ks.cf SET value = 2, updated_at = '2024-05-13 16:08:59.152' WHERE account_d = 20 IF updated_at = '2024-05-13 15:08:59.152' AND value = 1;");
    let prepared: Batch = session.prepare_batch(&batch).await?;
    let res = session.batch(&prepared, ((), (), )).await?;
    println!("OK2 {:?}", res);

    let (value_idx, _) = res.get_column_spec("[applied]").expect("No value column found");
    let mut row_index = 1;
    for row in res.rows.expect("no rows found") {
        println!("row #{}: applied = {:?}", row_index, row.columns[value_idx]);
        row_index += 1;
    }

Output:
OK2 QueryResult { rows: Some([Row { columns: [Some(Boolean(false)), None, None, None] }, Row { columns: [Some(Boolean(false)), None, None, None] }]), warnings: [], tracing_id: None, paging_state: None, col_specs: [ColumnSpec { table_spec: TableSpec { ks_name: "examples_ks", table_name: "cf" }, name: "[applied]", typ: Boolean }, ColumnSpec { table_spec: TableSpec { ks_name: "examples_ks", table_name: "cf" }, name: "account_d", typ: Int }, ColumnSpec { table_spec: TableSpec { ks_name: "examples_ks", table_name: "cf" }, name: "updated_at", typ: Timestamp }, ColumnSpec { table_spec: TableSpec { ks_name: "examples_ks", table_name: "cf" }, name: "value", typ: BigInt }], serialized_size: 38 }
row #1: applied = Some(Boolean(false))
row #2: applied = Some(Boolean(false))

So, we have row per statement, but actually I expected only one row in query result because first statement has not been applied, and batch should be stopped because of all or nothing rule.

@fortunado  - I encourage you to ask questions over https://forum.scylladb.com/ (if you feel there's a bug in the driver, that is the right place though to discuss it)

authors: Lorak-mmk fortunado mykaul wprzytula

repo: scylladb/scylla-rust-driver


text:
Improve search widget style

Motivation
Make the search widget min-width at least the width of the search box:

I will fix this directly on the homepage repo once we update Sphinx 7.0

Closing, we are not showing the searchbox in the homepage anymore but in the header.

repo: scylladb/sphinx-scylladb-theme


text:
fastclick 有些有时 form 元素相应未加速 比如 radio

有可能是fastclick版本问题，
有可能是实例化时机的问题，太早，document ready之后？

加载时机是OK的，fastclick官方版本的bug我们也修复了一些。
你说的case哪里可以看到？可以给个链接吗

authors: Mickey- mingyili

repo: sdc-alibaba/SUI-Mobile


text:
0.6.2关于表单提交，造成的路由返回的问题

一个内页里的表单，是一个普通的表单，多次提交后，想返回上一页，需要多次点击返回，才能返回上一页！！！
请问有什么解决办法！

DOM上定义的class=”back"是历史状态返回，你只需要，设置href="/camnpr/index.html" 会自动使用路由（前提设置里没有过滤）。 你也可以通过js的方式来跳转指定页，如：$.router.load('/camnpr/index.html');

我设置了class="back" 同时也设置了href。
我只是想表单post提交的时候，能不能不要改变路由？

back 和 href，最好不要一块用。 back是浏览器自己返回的，href能指定。  你可以贴一下代码，看看。


text:
Compiler errors if i include the fixed crate with feature num-traits enabled.

I use the kiddo crate with f32 and f64 types, and NOT with any of the fixed types.
I also use the fixed crate for separate calculations, not involved with Kd-Trees or kiddo crate.
But, when I use fixed with the feature num-traits enabled, like this: fixed = { version = "1.24.0", features = ["serde", "num-traits"] }, then I get a BUNCH of errors from the kiddo crate sources, when I try to build my project.
PLEASE HELP! Or I cannot build my project! :(
$  cargo build

   Compiling kiddo v2.1.1
error[E0034]: multiple applicable items in scope
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/common/generate_best_n_within.rs:17:27
   |
17 |           let mut off = [A::zero(); K];
   |                             ^^^^ multiple `zero` found
   |
  ::: /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/query/best_n_within.rs:15:5
   |
15 | /     generate_best_n_within!(
16 | |         LeafNode,
17 | |         (r#"Queries the tree to find the best `n` elements within `dist` of `point`, using the specified
18 | | distance metric function. Results are returned in arbitrary order. 'Best' is determined by
...  |
41 | | ```"#)
42 | |     );
   | |_____- in this macro invocation
   |
note: candidate #1 is defined in the trait `fixed::kdtree::Axis`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/kdtree.rs:26:5
   |
26 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `num_traits::Zero`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.2.16/src/identities.rs:20:5
   |
20 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
   = note: this error originates in the macro `generate_best_n_within` (in Nightly builds, run with -Z macro-backtrace for more info)
help: disambiguate the associated function for candidate #1
   |
17 |         let mut off = [<A as fixed::kdtree::Axis>::zero(); K];
   |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: disambiguate the associated function for candidate #2
   |
17 |         let mut off = [<A as num_traits::Zero>::zero(); K];
   |                        ~~~~~~~~~~~~~~~~~~~~~~~~~

error[E0034]: multiple applicable items in scope
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/common/generate_best_n_within.rs:30:20
   |
30 |                   A::zero(),
   |                      ^^^^ multiple `zero` found
   |
  ::: /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/query/best_n_within.rs:15:5
   |
15 | /     generate_best_n_within!(
16 | |         LeafNode,
17 | |         (r#"Queries the tree to find the best `n` elements within `dist` of `point`, using the specified
18 | | distance metric function. Results are returned in arbitrary order. 'Best' is determined by
...  |
41 | | ```"#)
42 | |     );
   | |_____- in this macro invocation
   |
note: candidate #1 is defined in the trait `fixed::kdtree::Axis`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/kdtree.rs:26:5
   |
26 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `num_traits::Zero`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.2.16/src/identities.rs:20:5
   |
20 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
   = note: this error originates in the macro `generate_best_n_within` (in Nightly builds, run with -Z macro-backtrace for more info)
help: disambiguate the associated function for candidate #1
   |
30 |                 <A as fixed::kdtree::Axis>::zero(),
   |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: disambiguate the associated function for candidate #2
   |
30 |                 <A as num_traits::Zero>::zero(),
   |                 ~~~~~~~~~~~~~~~~~~~~~~~~~

error[E0034]: multiple applicable items in scope
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/common/generate_nearest_n.rs:11:27
   |
11 |           let mut off = [A::zero(); K];
   |                             ^^^^ multiple `zero` found
   |
  ::: /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/query/nearest_n.rs:16:5
   |
16 | /     generate_nearest_n!(
17 | |         (r#"Finds the nearest `qty` elements to `query`, using the specified
18 | | distance metric function.
19 | |
...  |
40 | | ```"#)
41 | |     );
   | |_____- in this macro invocation
   |
note: candidate #1 is defined in the trait `fixed::kdtree::Axis`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/kdtree.rs:26:5
   |
26 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `num_traits::Zero`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.2.16/src/identities.rs:20:5
   |
20 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
   = note: this error originates in the macro `generate_nearest_n` (in Nightly builds, run with -Z macro-backtrace for more info)
help: disambiguate the associated function for candidate #1
   |
11 |         let mut off = [<A as fixed::kdtree::Axis>::zero(); K];
   |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: disambiguate the associated function for candidate #2
   |
11 |         let mut off = [<A as num_traits::Zero>::zero(); K];
   |                        ~~~~~~~~~~~~~~~~~~~~~~~~~

error[E0034]: multiple applicable items in scope
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/common/generate_nearest_n.rs:22:20
   |
22 |                   A::zero(),
   |                      ^^^^ multiple `zero` found
   |
  ::: /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/query/nearest_n.rs:16:5
   |
16 | /     generate_nearest_n!(
17 | |         (r#"Finds the nearest `qty` elements to `query`, using the specified
18 | | distance metric function.
19 | |
...  |
40 | | ```"#)
41 | |     );
   | |_____- in this macro invocation
   |
note: candidate #1 is defined in the trait `fixed::kdtree::Axis`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/kdtree.rs:26:5
   |
26 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `num_traits::Zero`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.2.16/src/identities.rs:20:5
   |
20 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
   = note: this error originates in the macro `generate_nearest_n` (in Nightly builds, run with -Z macro-backtrace for more info)
help: disambiguate the associated function for candidate #1
   |
22 |                 <A as fixed::kdtree::Axis>::zero(),
   |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: disambiguate the associated function for candidate #2
   |
22 |                 <A as num_traits::Zero>::zero(),
   |                 ~~~~~~~~~~~~~~~~~~~~~~~~~

error[E0034]: multiple applicable items in scope
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/common/generate_nearest_one.rs:11:35
   |
11 |                   let mut off = [A::zero(); K];
   |                                     ^^^^ multiple `zero` found
   |
  ::: /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/query/nearest_one.rs:14:5
   |
14 | /     generate_nearest_one!(
15 | |         LeafNode,
16 | |         (r#"Queries the tree to find the nearest element to `query`, using the specified
17 | | distance metric function.
...  |
41 | | ```"#)
42 | |     );
   | |_____- in this macro invocation
   |
note: candidate #1 is defined in the trait `fixed::kdtree::Axis`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/kdtree.rs:26:5
   |
26 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `num_traits::Zero`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.2.16/src/identities.rs:20:5
   |
20 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
   = note: this error originates in the macro `generate_nearest_one` (in Nightly builds, run with -Z macro-backtrace for more info)
help: disambiguate the associated function for candidate #1
   |
11 |                 let mut off = [<A as fixed::kdtree::Axis>::zero(); K];
   |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: disambiguate the associated function for candidate #2
   |
11 |                 let mut off = [<A as num_traits::Zero>::zero(); K];
   |                                ~~~~~~~~~~~~~~~~~~~~~~~~~

error[E0034]: multiple applicable items in scope
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/common/generate_nearest_one.rs:20:28
   |
20 |                           A::max_value(),
   |                              ^^^^^^^^^ multiple `max_value` found
   |
  ::: /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/query/nearest_one.rs:14:5
   |
14 | /     generate_nearest_one!(
15 | |         LeafNode,
16 | |         (r#"Queries the tree to find the nearest element to `query`, using the specified
17 | | distance metric function.
...  |
41 | | ```"#)
42 | |     );
   | |_____- in this macro invocation
   |
note: candidate #1 is defined in the trait `Bounded`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.2.16/src/bounds.rs:12:5
   |
12 |     fn max_value() -> Self;
   |     ^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `fixed::kdtree::Axis`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/kdtree.rs:24:5
   |
24 |     fn max_value() -> Self;
   |     ^^^^^^^^^^^^^^^^^^^^^^^
   = note: this error originates in the macro `generate_nearest_one` (in Nightly builds, run with -Z macro-backtrace for more info)
help: disambiguate the associated function for candidate #1
   |
20 |                         <A as Bounded>::max_value(),
   |                         ~~~~~~~~~~~~~~~~
help: disambiguate the associated function for candidate #2
   |
20 |                         <A as fixed::kdtree::Axis>::max_value(),
   |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

error[E0034]: multiple applicable items in scope
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/common/generate_nearest_one.rs:22:28
   |
22 |                           A::zero(),
   |                              ^^^^ multiple `zero` found
   |
  ::: /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/query/nearest_one.rs:14:5
   |
14 | /     generate_nearest_one!(
15 | |         LeafNode,
16 | |         (r#"Queries the tree to find the nearest element to `query`, using the specified
17 | | distance metric function.
...  |
41 | | ```"#)
42 | |     );
   | |_____- in this macro invocation
   |
note: candidate #1 is defined in the trait `fixed::kdtree::Axis`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/kdtree.rs:26:5
   |
26 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `num_traits::Zero`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.2.16/src/identities.rs:20:5
   |
20 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
   = note: this error originates in the macro `generate_nearest_one` (in Nightly builds, run with -Z macro-backtrace for more info)
help: disambiguate the associated function for candidate #1
   |
22 |                         <A as fixed::kdtree::Axis>::zero(),
   |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: disambiguate the associated function for candidate #2
   |
22 |                         <A as num_traits::Zero>::zero(),
   |                         ~~~~~~~~~~~~~~~~~~~~~~~~~

error[E0034]: multiple applicable items in scope
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/common/generate_within.rs:11:27
   |
11 |           let mut off = [A::zero(); K];
   |                             ^^^^ multiple `zero` found
   |
  ::: /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/query/within.rs:16:5
   |
16 | /     generate_within!(
17 | |         (r#"Finds all elements within `dist` of `query`, using the specified
18 | | distance metric function.
19 | |
...  |
41 | | ```"#)
42 | |     );
   | |_____- in this macro invocation
   |
note: candidate #1 is defined in the trait `fixed::kdtree::Axis`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/kdtree.rs:26:5
   |
26 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `num_traits::Zero`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.2.16/src/identities.rs:20:5
   |
20 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
   = note: this error originates in the macro `generate_within` (in Nightly builds, run with -Z macro-backtrace for more info)
help: disambiguate the associated function for candidate #1
   |
11 |         let mut off = [<A as fixed::kdtree::Axis>::zero(); K];
   |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: disambiguate the associated function for candidate #2
   |
11 |         let mut off = [<A as num_traits::Zero>::zero(); K];
   |                        ~~~~~~~~~~~~~~~~~~~~~~~~~

error[E0034]: multiple applicable items in scope
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/common/generate_within.rs:23:20
   |
23 |                   A::zero(),
   |                      ^^^^ multiple `zero` found
   |
  ::: /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/query/within.rs:16:5
   |
16 | /     generate_within!(
17 | |         (r#"Finds all elements within `dist` of `query`, using the specified
18 | | distance metric function.
19 | |
...  |
41 | | ```"#)
42 | |     );
   | |_____- in this macro invocation
   |
note: candidate #1 is defined in the trait `fixed::kdtree::Axis`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/kdtree.rs:26:5
   |
26 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `num_traits::Zero`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.2.16/src/identities.rs:20:5
   |
20 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
   = note: this error originates in the macro `generate_within` (in Nightly builds, run with -Z macro-backtrace for more info)
help: disambiguate the associated function for candidate #1
   |
23 |                 <A as fixed::kdtree::Axis>::zero(),
   |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: disambiguate the associated function for candidate #2
   |
23 |                 <A as num_traits::Zero>::zero(),
   |                 ~~~~~~~~~~~~~~~~~~~~~~~~~

error[E0034]: multiple applicable items in scope
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/common/generate_within_unsorted.rs:11:27
   |
11 |           let mut off = [A::zero(); K];
   |                             ^^^^ multiple `zero` found
   |
  ::: /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/query/within_unsorted.rs:15:5
   |
15 | /     generate_within_unsorted!(
16 | |         (r#"Finds all elements within `dist` of `query`, using the specified
17 | | distance metric function.
18 | |
...  |
41 | | ```"#)
42 | |     );
   | |_____- in this macro invocation
   |
note: candidate #1 is defined in the trait `fixed::kdtree::Axis`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/kdtree.rs:26:5
   |
26 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `num_traits::Zero`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.2.16/src/identities.rs:20:5
   |
20 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
   = note: this error originates in the macro `generate_within_unsorted` (in Nightly builds, run with -Z macro-backtrace for more info)
help: disambiguate the associated function for candidate #1
   |
11 |         let mut off = [<A as fixed::kdtree::Axis>::zero(); K];
   |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: disambiguate the associated function for candidate #2
   |
11 |         let mut off = [<A as num_traits::Zero>::zero(); K];
   |                        ~~~~~~~~~~~~~~~~~~~~~~~~~

error[E0034]: multiple applicable items in scope
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/common/generate_within_unsorted.rs:23:20
   |
23 |                   A::zero(),
   |                      ^^^^ multiple `zero` found
   |
  ::: /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/query/within_unsorted.rs:15:5
   |
15 | /     generate_within_unsorted!(
16 | |         (r#"Finds all elements within `dist` of `query`, using the specified
17 | | distance metric function.
18 | |
...  |
41 | | ```"#)
42 | |     );
   | |_____- in this macro invocation
   |
note: candidate #1 is defined in the trait `fixed::kdtree::Axis`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kiddo-2.1.1/src/fixed/kdtree.rs:26:5
   |
26 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `num_traits::Zero`
  --> /home/rendar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.2.16/src/identities.rs:20:5
   |
20 |     fn zero() -> Self;
   |     ^^^^^^^^^^^^^^^^^^
   = note: this error originates in the macro `generate_within_unsorted` (in Nightly builds, run with -Z macro-backtrace for more info)
help: disambiguate the associated function for candidate #1
   |
23 |                 <A as fixed::kdtree::Axis>::zero(),
   |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
help: disambiguate the associated function for candidate #2
   |
23 |                 <A as num_traits::Zero>::zero(),
   |                 ~~~~~~~~~~~~~~~~~~~~~~~~~

For more information about this error, try `rustc --explain E0034`.
error: could not compile `kiddo` (lib) due to 11 previous errors

Hi Rendarz - I'll take a look into this for you today and see what I can do 👍🏼

Fix released as https://crates.io/crates/kiddo/2.1.2.
Thanks for reporting! 👍🏼

Thank you for your promptly response. Your work is great. Keep it on!

authors: rendarz sdd

repo: sdd/kiddo


text:
🛑 Creative Slice is down

In 12713cf, Creative Slice (https://creativeslice.com) was down:

HTTP code: 502
Response time: 79 ms

Resolved: Creative Slice is back up in 83e4caa after 7 minutes.

repo: sdevore/upptime


text:
Fix "Renaming Columns" section in docs

Hi @sdispater,
In the example of how to rename columns, you pointed out the wrong method. Instead of
with schema.table('users') as table:
    table.rename('from', 'to')

It should be:
with schema.table('users') as table:
    table.rename_column('from', 'to')

Thanks.

Thanks for reporting this.
You can report errors and typo in docs to the official repository : https://github.com/orator-orm/docs

Thanks @sdispater! You've been doing a great job, btw :smile:

authors: joaobarbosa sdispater

repo: sdispater/orator


text:
-bash: /Users/.../.sdkman/bin/sdkman-init.sh: No such file or directory

After executing curl -s "https://get.sdkman.io" | bash success. I executed /Users/.../.sdkman/bin/sdkman-init.sh, but the resust is
-bash: /Users/.../.sdkman/bin/sdkman-init.sh: No such file or directory

Did you source or execute? The sdkman init script is not executable so can't be executed. It must always be sourced.

Closing this as it's a user issue. In future, please try our Gitter user-issues channel first.

I have the same problem , and  i really don't know how to solve it .

same for me,
scripts fails on gitlab ci

source ~/.sdkman/bin/sdkman-init.sh

/root/.sdkman/bin/sdkman-init.sh: No such file or directory

Have solved?  help....

+1 I have same problem

Please give more details about the environment you are running in. Also the OS, shell and anything else that might help so we can try to replicate this. Without information and context we can't do much.

Hello @marc0der ,
I'm using Ubuntu Budgie 17.10 and use Tilix as my terminal.
I live in Iran and you know some websites are blocked BUT sdkman.io IS NOT BLOCKED and i can access it by my browser.
I try to install SDKMAN! by curl -s "https://get.sdkman.io" | bash
After that, i saw message Enjoy!
Then i use command source "$HOME/.sdkman/bin/sdkman-init.sh"
but get this error:
.../.sdkman/bin/sdkman-init.sh: No such file or directory

Hi @Mehran-Abghari, your problem is almost certainly down to blocked IPs. The script you are calling in turn pulls a binary down from bintray. From what I can see, you are getting the script successfully but can't proceed because the zip wasn't successfully downloaded.
That said, the installer should guard against this and give a more descriptive error message.

Hello @marc0der ,
Yes, Bintray is blocked in IRAN (Bintray blocked IRAN IP actually).
Is there other repository to download zip file manually or a mirror ?
about this "the installer should guard against this and give a more descriptive error message": Installer should say some error message, not "Enjoy!" :laughing: and if can, download from other source.
Thanks for help

same problem

same problem

How to install -> https://sdkman.io/install

Using root

@wissnusetiawan Never use root to install SDKMAN.

Same here

ty

same here

If you don't see:
❯ curl -s "https://get.sdkman.io" | bash

                                -+syyyyyyys:
                            `/yho:`       -yd.
                         `/yh/`             +m.
                       .oho.                 hy                          .`
                     .sh/`                   :N`                `-/o`  `+dyyo:.
                   .yh:`                     `M-          `-/osysoym  :hs` `-+sys:      hhyssssssssy+
                 .sh:`                       `N:          ms/-``  yy.yh-      -hy.    `.N-````````+N.
               `od/`                         `N-       -/oM-      ddd+`     `sd:     hNNm        -N:
              :do`                           .M.       dMMM-     `ms.      /d+`     `NMMs       `do
            .yy-                             :N`    ```mMMM.      -      -hy.       /MMM:       yh
          `+d+`           `:/oo/`       `-/osyh/ossssssdNMM`           .sh:         yMMN`      /m.
         -dh-           :ymNMMMMy  `-/shmNm-`:N/-.``   `.sN            /N-         `NMMy      .m/
       `oNs`          -hysosmMMMMydmNmds+-.:ohm           :             sd`        :MMM/      yy
      .hN+           /d:    -MMMmhs/-.`   .MMMh   .ss+-                 `yy`       sMMN`     :N.
     :mN/           `N/     `o/-`         :MMMo   +MMMN-         .`      `ds       mMMh      do
    /NN/            `N+....--:/+oooosooo+:sMMM:   hMMMM:        `my       .m+     -MMM+     :N.
   /NMo              -+ooooo+/:-....`...:+hNMN.  `NMMMd`        .MM/       -m:    oMMN.     hs
  -NMd`                                    :mm   -MMMm- .s/     -MMm.       /m-   mMMd     -N.
 `mMM/                                      .-   /MMh. -dMo     -MMMy        od. .MMMs..---yh
 +MMM.                                           sNo`.sNMM+     :MMMM/        sh`+MMMNmNm+++-
 mMMM-                                           /--ohmMMM+     :MMMMm.       `hyymmmdddo
 MMMMh.                  ````                  `-+yy/`yMMM/     :MMMMMy       -sm:.``..-:-.`
 dMMMMmo-.``````..-:/osyhddddho.           `+shdh+.   hMMM:     :MmMMMM/   ./yy/` `:sys+/+sh/
 .dMMMMMMmdddddmmNMMMNNNNNMMMMMs           sNdo-      dMMM-  `-/yd/MMMMm-:sy+.   :hs-      /N`
  `/ymNNNNNNNmmdys+/::----/dMMm:          +m-         mMMM+ohmo/.` sMMMMdo-    .om:       `sh
     `.-----+/.`       `.-+hh/`         `od.          NMMNmds/     `mmy:`     +mMy      `:yy.
           /moyso+//+ossso:.           .yy`          `dy+:`         ..       :MMMN+---/oys:
         /+m:  `.-:::-`               /d+                                    +MMMMMMMNh:`
        +MN/                        -yh.                                     `+hddhy+.
       /MM+                       .sh:
      :NMo                      -sh/
     -NMs                    `/yy:
    .NMy                  `:sh+.
   `mMm`               ./yds-
  `dMMMmyo:-.````.-:oymNy:`
  +NMMMMMMMMMMMMMMMMms:`
    -+shmNMMMNmdy+:`

                                                                 Now attempting installation...

Looking for a previous installation of SDKMAN...
Looking for unzip...
Looking for zip...
Looking for curl...
Looking for sed...
Installing SDKMAN scripts...
Create distribution directories...
Getting available candidates...
Prime platform file...
Prime the config file...
Installing script cli archive...
* Downloading...
######################################################################## 100.0%
* Checking archive integrity...
* Extracting archive...
* Copying archive contents...
* Cleaning up...

Installing script cli archive...
* Downloading...
######################################################################## 100.0%
* Checking archive integrity...
* Extracting archive...
* Copying archive contents...
* Cleaning up...

Set version to 5.18.2 ...
Set native version to 0.4.6 ...
Attempt update of interactive bash profile on regular UNIX...
Added sdkman init snippet to /root/.bashrc
Attempt update of zsh profile...
Updated existing /root/.zshrc

All done!

You are subscribed to the STABLE channel.

Please open a new terminal, or run the following in the existing one:

    source "/root/.sdkman/bin/sdkman-init.sh"

Then issue the following command:

    sdk help

Enjoy!!!

You need rm -rf ~/.sdkman/，then reinstall it. May you need export https_proxy="http://127.0.0.1:10809"

authors: BabyMelvin Mehran-Abghari aqude boybeak crusy demon101 jeremylbq marc0der mark5566 ultravires wissnusetiawan wonderdev007

repo: sdkman/sdkman-cli


text:
Implement parse_url_params

This is very early implementation of parse_url_params. It should be implemented more elegant way.

Looks great! Just some minor stuff thanks :+1:

authors: f sdogruyol

repo: sdogruyol/kemal


text:
handle operator split

"
"

Codecov Report
Attention: Patch coverage is 45.58824% with 74 lines in your changes are missing coverage. Please review.

Project coverage is 74.06%. Comparing base (cd8e469) to head (f7bf685).

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

Files
Patch %
Lines

...al_experiment/torch_interpreter/_aten_functions.py
37.50%
45 Missing :warning:

...mental_experiment/torch_interpreter/interpreter.py
55.26%
17 Missing :warning:

experimental_experiment/xbuilder/graph_builder.py
47.82%
12 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #95      +/-   ##
==========================================
- Coverage   74.22%   74.06%   -0.16%
==========================================
  Files          85       85
  Lines        9198     9325     +127
==========================================
+ Hits         6827     6907      +80
- Misses       2371     2418      +47

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

authors: codecov-commenter xadupre

repo: sdpython/experimental-experiment


text:
[JavaFX-Part 3] Refactor class DialogBox and method handleUserInput

Current:

Problem:
Label and ImageView is created in handleUserInput and passed to DialogBox, which may increase dependency and reduce readability of code.
Proposed:
Constructor of DialogBox can be something as below:
public DialogBox (String s, Image i) {
    text = new Label(s);
    displayPicture = new ImageView(i);
    // ...
}

handleUserInput can be something as below:
private void handleUserInput() {
    String userText = userInput.getText();
    String dukeText = getResponse(userInput.getText());
    dialogContainer.getChildren().addAll(
            new DialogBox(userText, user),
            new DialogBox(dukeText, duke)
    );
    userInput.clear();
}

@JiaXinEu You can send a PR for this.

authors: JiaXinEu damithc

repo: se-edu/guides


text:
🛑 mail.jaegr.de is down

In 0cbe82d, mail.jaegr.de (https://mail.jaegr.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: mail.jaegr.de is back up in a996870.

repo: se-jaeger/uptime


text:
update for util-libs/seL4_Libs/musllibc/kernel master

The manifest changes depends on:
https://github.com/seL4/refos/pull/4
https://github.com/seL4/seL4/pull/39
https://github.com/seL4/seL4_libs/pull/1

alex wharton, on IRC indicated that most of the changes were already incorporated in his local branch.
so it seems prudent to wait on this to avoid creating a bunch of conflicts for him.
I'll address the comments as needed when i've had a chance to look through his branch

Pretty much superseded by Alex's recent commits so closing.


text:
Update build configuration

The build configuration of this project is outdated and may no longer work.
This pull request will be merged automatically if there are no conflicts.

:tada: This PR is included in version 5.1.24 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: sealsystems/node-consul


text:
change style sheet, design, logo, front end

test the new name works

Can you please use semantic, useful names for PRs and branches? Describe what it does and why you are opening the PR.

@ColeDCrawford Please review, thx cole

@lucyzsunshine Can you throw some screenshots in the description please? I don't plan on pulling this down locally to check out how it renders.

@lucyzsunshine Can you throw some screenshots in the description, please? I don't plan on pulling this down locally to check out how it renders.
I add it in JIRA, by feature: JIRA. not able to add image here.

authors: ColeDCrawford lucyzsunshine rcavezza

repo: searchrx/searchrx


text:
another implementation

https://github.com/Chandler/atom-js2coffee
You and @Chandler are basically building the same plugin in parallel (both of you even have the same security policy error). The two of you should look into working together.

@slang800 It looks like @Chandler is abandoning his version.
https://github.com/Chandler/atom-js2coffee/issues/3

Both this and the other have been deprecated completely.
I have created an early but working version using the new js2coffee api.
https://github.com/LucasKA/coffee-porter


text:
optimize: nested loop retries

close #257
Nested loops cause retries 100 times, so I optimized it in this PR

Codecov Report

Merging #261 (ea8b090) into master (94225ea) will decrease coverage by 0.14%.
The diff coverage is 90.00%.

@@            Coverage Diff             @@
##           master     #261      +/-   ##
==========================================
- Coverage   50.99%   50.85%   -0.15%
==========================================
  Files          61       61
  Lines        3106     3093      -13
==========================================
- Hits         1584     1573      -11
+ Misses       1445     1444       -1
+ Partials       77       76       -1

Impacted Files
Coverage Δ

pkg/tm/transaction_executor.go
70.00% <90.00%> (-3.02%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

repo: seata/seata-go


text:
Field case problem in SQL statement

数据库表不是自增主键，自己写的SQL,insert 语句里主键名称用了大写，在使用SEATA代理数据源的时候，他从数据库表取出的元信息里主键是小写，然后SEATA就判定这是个自增主键表，就会提示数据库需要自增字段

Could you provide more details?like exception traces or some code to reproduce this problem?Thanks.

@yangom I don't think this is a bug if you're using Windows (I'm not sure), in Mac OS (and possibly Linux), the column name is case insensitive, I've tested like this and it works well:

based on the seata-samples, make the storage_tbl not to auto increment:

alter table storage_tbl modify column id int(11) not null;

modify io.seata.samples.dubbo.starter.DubboStorageServiceStarter and start it:

public class DubboStorageServiceStarter {
    /**
     * 1. Storage service is ready . A seller add 100 storage to a sku: C00321
     *
     * @param args the input arguments
     */
    public static void main(String[] args) {
        ClassPathXmlApplicationContext storageContext = new ClassPathXmlApplicationContext(
            new String[]{"spring/dubbo-storage-service.xml"});
        storageContext.getBean("service");
        JdbcTemplate storageJdbcTemplate = (JdbcTemplate) storageContext.getBean("jdbcTemplate");
        storageJdbcTemplate.update("delete from storage_tbl where commodity_code = 'C00321'");
        storageJdbcTemplate.update("insert into storage_tbl(ID, commODity_code, count) values (200, 'C00321', 100)");
        new ApplicationKeeper(storageContext).keep();
    }
}

pay special attention to line storageJdbcTemplate.update("insert into storage_tbl(ID, commODity_code, count) values (200, 'C00321', 100)");, it use ID instead of id, and the sql executes normally.
@yangom if you're not sure whether it's a bug of seata, try to replace the datasource with the original (that doesn't proxied by Seata), and see whether the problem exists or not.
cc @xingfudeshi

@yangom I don't think this is a bug if you're using Windows (I'm not sure), in Mac OS (and possibly Linux), the column name is case insensitive, I've tested like this and it works well:

based on the seata-samples, make the storage_tbl not to auto increment:

alter table storage_tbl modify column id int(11) not null;

modify io.seata.samples.dubbo.starter.DubboStorageServiceStarter and start it:

public class DubboStorageServiceStarter {
    /**
     * 1. Storage service is ready . A seller add 100 storage to a sku: C00321
     *
     * @param args the input arguments
     */
    public static void main(String[] args) {
        ClassPathXmlApplicationContext storageContext = new ClassPathXmlApplicationContext(
            new String[]{"spring/dubbo-storage-service.xml"});
        storageContext.getBean("service");
        JdbcTemplate storageJdbcTemplate = (JdbcTemplate) storageContext.getBean("jdbcTemplate");
        storageJdbcTemplate.update("delete from storage_tbl where commodity_code = 'C00321'");
        storageJdbcTemplate.update("insert into storage_tbl(ID, commODity_code, count) values (200, 'C00321', 100)");
        new ApplicationKeeper(storageContext).keep();
    }
}

pay special attention to line storageJdbcTemplate.update("insert into storage_tbl(ID, commODity_code, count) values (200, 'C00321', 100)");, it use ID instead of id, and the sql executes normally.
@yangom if you're not sure whether it's a bug of seata, try to replace the datasource with the original (that doesn't proxied by Seata), and see whether the problem exists or not.
cc @xingfudeshi

Good!

@yangom I don't think this is a bug if you're using Windows (I'm not sure), in Mac OS (and possibly Linux), the column name is case insensitive, I've tested like this and it works well:

based on the seata-samples, make the storage_tbl not to auto increment:

alter table storage_tbl modify column id int(11) not null;

modify io.seata.samples.dubbo.starter.DubboStorageServiceStarter and start it:

public class DubboStorageServiceStarter {
    /**
     * 1. Storage service is ready . A seller add 100 storage to a sku: C00321
     *
     * @param args the input arguments
     */
    public static void main(String[] args) {
        ClassPathXmlApplicationContext storageContext = new ClassPathXmlApplicationContext(
            new String[]{"spring/dubbo-storage-service.xml"});
        storageContext.getBean("service");
        JdbcTemplate storageJdbcTemplate = (JdbcTemplate) storageContext.getBean("jdbcTemplate");
        storageJdbcTemplate.update("delete from storage_tbl where commodity_code = 'C00321'");
        storageJdbcTemplate.update("insert into storage_tbl(ID, commODity_code, count) values (200, 'C00321', 100)");
        new ApplicationKeeper(storageContext).keep();
    }
}

pay special attention to line storageJdbcTemplate.update("insert into storage_tbl(ID, commODity_code, count) values (200, 'C00321', 100)");, it use ID instead of id, and the sql executes normally.
@yangom if you're not sure whether it's a bug of seata, try to replace the datasource with the original (that doesn't proxied by Seata), and see whether the problem exists or not.
cc @xingfudeshi

我查看过源码，问题出在TableMeta的containsPK，在这个方法里，直接用从数据库元素据里获得的主键信息和SQL里的字段进行了比对，没有忽略大小写。所以如果库表里是小写，而SQL语句里是大写的时候，就会判断错误，认为插入语句中没有主键字段的值

containsPK

OK.i will check.

@yangom Hey,i just tested what you described before.but i don't see any problems.Can you provide a example code to reproduce this problem?like a zip file or github repo.

this bug does exist,will be fixed in next release.

谢谢，期待早日修复

authors: kezhenxu94 xingfudeshi yangom

repo: seata/seata


text:
Using jrebel makes GlobalTransactionScanner throw exception.

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
I'm using jrebel to reloading class changes, but the GlobalTransactionScanner throw java.lang.NoSuchFieldException: advised while start the application.
Ⅱ. Describe what happened
Here is the stack trace(Omitted non key parts):
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'logOperationDao': Post-processing of FactoryBean's singleton object failed; nested exception is java.lang.RuntimeException: java.lang.NoSuchFieldException: advised
	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:119)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1654)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1174)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:327)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
	at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1135)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:581)
	... 90 common frames omitted
Caused by: java.lang.RuntimeException: java.lang.NoSuchFieldException: advised
	at io.seata.spring.annotation.GlobalTransactionScanner.wrapIfNecessary(GlobalTransactionScanner.java:245)
	at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:304)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:431)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.postProcessObjectFromFactoryBean(AbstractAutowireCapableBeanFactory.java:1836)
	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:116)
	... 98 common frames omitted
Caused by: java.lang.NoSuchFieldException: advised
	at java.lang.Class.getDeclaredField(Class.java:2070)
	at io.seata.spring.util.SpringProxyUtils.getAdvisedSupport(SpringProxyUtils.java:98)
	at io.seata.spring.util.SpringProxyUtils.findTargetClass(SpringProxyUtils.java:42)
	at io.seata.spring.annotation.GlobalTransactionScanner.wrapIfNecessary(GlobalTransactionScanner.java:216)

Using jrebel:

Not using jrebel:

I think this may be what the problem is, jrebel will create a proxy for the spring bean, that affect the method getAdvisedSupport to get actual proxy which contians "advised" field. Maybe  other frameworks who creates proxy will cuase the same exception.
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
Ⅵ. Environment:

JDK version :1.8
OS :windows 10
Others:

Hello!
Could you send an email with all this information to support@jrebel.com so we could take a look at what exactly is going wrong?
Thanks

Hello!
Could you send an email with all this information to support@jrebel.com so we could take a look at what exactly is going wrong?
Thanks

@MarkusPunnar I don't think this is the problem of jrebel, proxy is a very common way to to some work, if seata only try to look up it's own proxy in super class directly, other framework or tools which using proxy may cuase the same exception.

I encountered the same error  when I start application with JRebel
Caused by: java.lang.NoSuchFieldException: advised
Here is the full stack trace
[2020-06-02 18:15:40.419 +0800] [ebaogi] [DEV] [plan] [25430] [main] [] [] [] [] [] [ERROR] org.springframework.boot.SpringApplication 858 :Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'notificationRestful': Unsatisfied dependency expressed through field 'productReceiveRestful'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'productReceiveRestful': Unsatisfied dependency expressed through field 'mediaService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mediaServiceImpl': Unsatisfied dependency expressed through field 'documentReceptionRepository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'documentReceptionRepository': Post-processing of FactoryBean's singleton object failed; nested exception is java.lang.RuntimeException: java.lang.NoSuchFieldException: advised
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:596)
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:374)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1411)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:849)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877)
	at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:549)
	at org.springframework.context.support.AbstractApplicationContext.jrLockAndRefresh(AbstractApplicationContext.java:40002)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:41008)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248)
	at com.ebao.unicorn.platform.lib.LibAdapterGatewayApplication.main(LibAdapterGatewayApplication.java:14)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'productReceiveRestful': Unsatisfied dependency expressed through field 'mediaService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mediaServiceImpl': Unsatisfied dependency expressed through field 'documentReceptionRepository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'documentReceptionRepository': Post-processing of FactoryBean's singleton object failed; nested exception is java.lang.RuntimeException: java.lang.NoSuchFieldException: advised
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:596)
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:374)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1411)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
	at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1247)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1167)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:593)
	... 21 common frames omitted
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mediaServiceImpl': Unsatisfied dependency expressed through field 'documentReceptionRepository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'documentReceptionRepository': Post-processing of FactoryBean's singleton object failed; nested exception is java.lang.RuntimeException: java.lang.NoSuchFieldException: advised
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:596)
	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:374)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1411)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
	at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1247)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1167)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:593)
	... 34 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'documentReceptionRepository': Post-processing of FactoryBean's singleton object failed; nested exception is java.lang.RuntimeException: java.lang.NoSuchFieldException: advised
	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:119)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1674)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1249)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:330)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
	at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1247)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1167)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:593)
	... 47 common frames omitted
Caused by: java.lang.RuntimeException: java.lang.NoSuchFieldException: advised
	at io.seata.spring.annotation.GlobalTransactionScanner.wrapIfNecessary(GlobalTransactionScanner.java:249)
	at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:299)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:429)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.postProcessObjectFromFactoryBean(AbstractAutowireCapableBeanFactory.java:1920)
	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:116)
	... 55 common frames omitted
Caused by: java.lang.NoSuchFieldException: advised
	at java.lang.Class.getDeclaredField(Class.java:2070)
	at io.seata.spring.util.SpringProxyUtils.getAdvisedSupport(SpringProxyUtils.java:99)
	at io.seata.spring.util.SpringProxyUtils.findTargetClass(SpringProxyUtils.java:42)
	at io.seata.spring.annotation.GlobalTransactionScanner.wrapIfNecessary(GlobalTransactionScanner.java:220)
	... 59 common frames omitted

Debug with JRebel

Debug without JRebel

这个问题，还没有解决吗？

@slievrly io.seata.spring.util.SpringProxyUtils#getAdvisedSupport这个方法拦截了jrebel的aop方法。
请看下处理这个问题

So am I. This problem hasn't resolved yet.

这个问题还没解决吗?同样的问题?有没有可能通过排除seata的aop的扫描范围来解决这个问题

还是没有解决....

可以在本地开发环境禁用掉seata就能用jrebel起来了，逻辑代码不用改动

https://github.com/apache/incubator-seata/pull/2852

authors: DongJigong MarkusPunnar cay914 fangzhengjin funky-eyes l97069947 liuzhen9327 lzxgyh wang-liqiang


text:
[task] Clean up and reduce Seata configuration items

Why you need it?
Is your feature request related to a problem? Please describe in details
Clean up and reduce Seata configuration items
清除和减少 Seata 配置项
At present, Seata has too many configuration items. In the past, the function of the new version is decided by the configuration switch, but in the later version such switch has not been cleared for a long time, resulting in the expansion of configuration items and model. It is time to clean some useless configuration items of Seata.
目前Seata的配置项过多，在过去对于新版本的功能都是通过配置开关来决定是否开启，但是在之后的版本此类的开关长期未清理，造成了配置项和模型的膨胀，是时候对Seata一些无用的配置项进行清理了。
The principle of cleaning is that you can disable the configuration switch for long-term stable functions and clear the configuration switch that is not exposed to the user service layer.
清理的原则是长期稳定的功能可废除配置开关，对用户业务层不透出的配置开关开清理。
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.

I'm working on https://github.com/seata/seata/issues/4366 , plz assign to me

几个问题先在这里记录一下
1.去除的配置我们要在哪里讨论和确认（是不是建个discussion页面）
2.去除的配置是否可以有个过度方案（我能想到最简单的是在启动的时候去集中扫描一下已经去掉的配置，打出warn日志给用户）
3.ConfigurationKeys 里的server和client是否需要拆分管理，毕竟有点多
4.ConfigurationKeys 的注释是否应该把key完整的样子写上，方便管理
5.配置开发规范：必须收敛在ConfigurationKeys，必须补充文档

authors: Bughue slievrly


text:
can seata work with sharding-jdbc?

I thought sharding-jdbc can't integrate with seata, cause both of them require unique datasource(ProxyDatasource&ShardingDatasource)
But I'm not sure about this.
So can seata work with sharding-jdbc?

It is in plan.

authors: nexxxxxxx zhangthen


text:
[WIP] Admin can create repeated questions

Description
Update QuestionController, QuestionForm, and QuestionEditView to enable defining repeated questions in the Admin UI.
Doubly nested repeated question from /dev/seed:
{
  "id" : 12,
  "version" : 1,
  "name" : "hm job address",
  "path" : {
    "segments" : [ "applicant", "household[]", "jobs[]", "hm_job_address" ],
    "empty" : false,
    "arrayElement" : false
  },
  "repeaterId" : 11,
....[omitted a bunch of other things]
}

Screenshot: repeater id options available when creating a new question

Screenshot: repeater id is an immutable member of question so only the question's repeater id is available when editing a question (across versions).

Checklist

[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

Issue(s)
Fixes #671

This is blocked because of how Path is used by the question definition builder and each question form. Opening a separate PR to fix that first.

repo: seattle-uat/civiform


text:
fix: too strict password input validation on /authorize

fixes #406

lgtm; Awesome! :D

...the clippy from the 1.78 update was the most amount of work here... :D

repo: sebadob/rauthy


text:
LazyVim isn't adding keybindings

From what I can see, I think LazyVim uses the LspAttach event to add it's keybindings such as goto reference, code action etc. Is the LspAttach event getting fired by this plugin?

I don't know how that specific method wrapping the autocmd is used in LazyVim, but yes. LspAttach is called. This is not something I am doing. Neovim is doing all of this when a server attaches


text:
本地启动secretpad，然后远程连接访问kuscia api失败问题

windows本地启动secretpad，目前已经在linux环境搭建kuscia三个节点（master、alice、bob），现在想要在本地启动的secretpad远程访问kuscia api，应该如何配置kuscia api的地址和证书呢？用于连接的相关证书和token，可以直接使用master节点下面的证书和token吗？我目前在本地使用master节点下的证书和token，配置kuscia api的地址是宿主机的地址和端口，但是tls一直失败

失败的报错如下：

你好，请确认下使用的证书是否如文档所述：https://www.secretflow.org.cn/docs/kuscia/latest/zh-Hans/tutorial/run_secretflow_with_api_cn#cert-and-token

是这些文件，把kusciaapi-client.crt重命名为client.crt，kusciaapi-client.key重名为client.pem

你好，请确认下

secretpad 访问 kusciaapi 使用的是哪个 IP，是 kusciaapi 主机上的 IP 吗？
尝试使用命令 curl -v --cacert ca.crt --cert kusciaapi-client.crt--keykusciaapi-client.key https://${KUSCIA_API_IP}:${PORT} 查看下结果输出

您好 这远程的jks文件哪里获取的

authors: Jinlongclass angang007 cho-chem

repo: secretflow/kuscia


text:
[Languages]How to Create a Doubly Linked List in Python

Topic Suggestion
How to Create a Doubly Linked List in Python
Proposal Submission
Proposed title of article
How to Create a Doubly Linked List in Python
Proposed article introduction
In Python, we also have doubly linked lists, which allow us to traverse in both directions. With a single linked list, we can only traverse in one direction, but with a doubly linked list, we can traverse in both directions, forward and backward. When we talk about a doubly-linked list in general, it always has three components inside it: data, a reference to the previous node, and a reference to the next node. However, this is not the case with a single-linked list. We can also traverse and search elements in both directions by using it. In the following section of the tutorial, we will see how to implement the linked data structure in Python so that beginners can better understand it.
Key takeaways
How does doubly link work in python
Advantages and disadvantages of DLL
Steps needed to implement the linked list in python
Article quality
How is your article unique? Tell us what makes your approach different from similar articles that have published on the same topic?
Is yours more in-depth? Does it cover additional topics? Do you provide handy tips or anecdotal advice?
References
N/A
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Please fill in the article quality section so we can review your article.

Hello @louisefindlay23
Unlike the other articles, my article will cover a bit of Doubly Linked List in Python, its advantages and disadvantages. I'll take the reader step by step through how to create a Doubly Linked List in Python, i will also use simple grammar hence my article will be beginner-friendly

There are other articles that exist that cover all the topic you plan to cover such as this one. Please extend your article to make it more unique or suggest another topic.

hey I've checked the article.....it talked more about singly linked list.....i believe my article will be unique just give me a chance

There are several articles, not just the one I used as an example. Are there any other areas you could add to make yours unique?


text:
Building a Password Strength Classifier Model Using Machine Learning

Article checklist
Attention
Our Peer Reviewer and Content Moderator teams do NOT provide any revisions services. All revisions and edits should be completed on your own forked repo (as to not take up room in the queue) in order for our team to review them all in a timely manner.
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.

As a rule of thumb - please be sure to only submit articles (pull requests) that are fully polished and ready to be published. Be sure to go through our resources documents for extra and 3rd party (vetted) resources to help improve overall technical writing.

Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #5722

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

@hectorkambow, I'd like to review this article.

Plagiarism check done ✅

🚀 awesome article @kelvinkimani501, please ensure you go through the changes I made in the commits to help improve flow and format for your future articles. Thanks.

Awesome article @kelvinkimani501.
Thank you for the review @M0nicah.


text:
Stop suppressing gandlf config errors

If gandlf config cannot be parsed properly (typos, wrong values, etc), now the error is just suppressed without any meaningful error and gandlf_config variable is just broken.
Fix ensures

runner fails if gandlf config cannot be parsed,
if any errors, they are printed to logs with their stack trace

Thanks for the contribution @VukW! Approved and merged.

authors: VukW psfoley

repo: securefederatedai/openfl


text:
Update README.md

Fixing a spelling mistake.

Thanks @ewaldhorn !!!

Gotta take your wins where you can - having one PR accepted this week is a win 🤣


text:
Include tests to check for ; separators with , decimals

I couldn't see if there are tests available for that, but it would be good to include tests to assess that

It sadly doesn't work: https://github.com/pola-rs/polars/issues/6698
I will need to fix that with some extra code

repo: seedcase-project/seedcase-sprout


text:
Support export-name property to set case-sensitive variable names

This provides a simple fix for #20 - that the plugin can't set lower-case or mixed-case environment variables using the env configuration (it can with JSON).
Specifically, this PR adds an optional way to specify an export name directly as a value, rather than a property key (because those have their case munged to UPPER_CASE when placed in BUILDKITE_PLUGIN_*).
This new supported config type looks like this:
steps:
  - commands: 'echo \$someSecret'
    plugins:
      - seek-oss/aws-sm#v2.4.0:
          env:
            foo:
              export-name: someSecret
              secret-id: my-secret-id
            bar:
              export-name: TF_VAR_some_other_secret
              secret-id: another-secret-id

Closes #20.

I went with export-name because that's what the local variable was called, but I'm open to changing it

Hey, sorry this took a while to get to! Would it be possible to circumvent the ignored foos and bars like so:
steps:
  - commands: 'echo \$someSecret'
    plugins:
      - seek-oss/aws-sm#v2.4.0:
          env:
            - export-name: someSecret
              secret-id: my-secret-id
            - export-name: TF_VAR_some_other_secret
              secret-id: another-secret-id

Probably would be, but I've moved on from the employer where I was using this plugin, sorry. I might have time one day to revisit, but no firm plans right now

Closed this PR but will revisit when have time to test and have a known use-case for mixed-case variables.

authors: 72636c dominics gitlon

repo: seek-oss/aws-sm-buildkite-plugin


text:
allow setting mutability

Adding an option to set the mutability for the repository. This is a backwards compatible change, omitting the option will not change the existing configuration.

Thanks for the PR @athurn!
Do you think it would make more sense to align with the AWS API and CLI here?
image-tag-mutability: IMMUTABLE

@72636c @faizhasan Thank you for your review! Sorry, I totally forgot about this PR.
I've applied your suggestions, could you please take another look? Thanks.

@athurn thanks for this change and your patience.
I made some minor amendments directly into your branch and ran tests against these, as that seemed fastest to facilitate release.

added a test of the input against the enum values
added a type (string) to the enum schema definition, to match JSON Schema specification (enums should have a type)
added region to logging header to match other headers (from a PR recently merged to master).

authors: 72636c athurn gitlon

repo: seek-oss/create-ecr-buildkite-plugin


text:
多个子图时显示异常

在使用这个组件创建图谱时，当一张图中有两个互不连通的子图时，只有包含root节点的子图能够正常显示，其他的结点会全部重叠在左上角，如 1 to 2，3 to4 时，节点3和节点4会重叠，请问是否能通过设置多个Root节点，使用每一个root节点对应一个非联通子图的方式来解决？

在使用这个组件创建图谱时，当一张图中有两个互不连通的子图时，只有包含root节点的子图能够正常显示，其他的结点会全部重叠在左上角，如 1 to 2，3 to4 时，节点3和节点4会重叠，请问是否能通过设置多个Root节点，使用每一个root节点对应一个非联通子图的方式来解决？

大佬，能问下你解决了吗，谢谢

你好，目前我的解决方法是设置一个透明的根节点，需要设置多个root节点时将这些节点与透明根节点间使用透明的线连接，希望能帮到你

在使用这个组件创建图谱时，当一张图中有两个互不连通的子图时，只有包含root节点的子图能够正常显示，其他的结点会全部重叠在左上角，如 1 to 2，3 to4 时，节点3和节点4会重叠，请问是否能通过设置多个Root节点，使用每一个root节点对应一个非联通子图的方式来解决？

大佬，能问下你解决了吗，谢谢

你好，目前我的解决方法是设置一个透明的根节点，需要设置多个root节点时将这些节点与透明根节点间使用透明的线连接，希望能帮到你

在使用这个组件创建图谱时，当一张图中有两个互不连通的子图时，只有包含root节点的子图能够正常显示，其他的结点会全部重叠在左上角，如 1 to 2，3 to4 时，节点3和节点4会重叠，请问是否能通过设置多个Root节点，使用每一个root节点对应一个非联通子图的方式来解决？

大佬，能问下你解决了吗，谢谢

你好，目前我的解决方法是设置一个透明的根节点，需要设置多个root节点时将这些节点与透明根节点间使用透明的线连接，希望能帮到你

好的，谢谢大佬

大佬，请问如何解决的，可以更加细致的请教一下吗

您好，在v1中的确存在这个问题，主要是因为v1版本无法展示与根节点没有直接或间接关系的节点。
目前新版v2.x中这个问题已经解决，可以直接展示这些孤点。
示例：https://seeksdream.github.io/#/demo/line

authors: GekiKaraa a99463820 seeksdream wookpecker

repo: seeksdream/relation-graph


text:
按了浏览器F12后，所有节点就不能拖动了

按了浏览器F12后，所有节点就不能拖动了

解决了，移动端不支持鼠标mousedown事件导致的

👍🏻，之前v1版本问题不少，代码也很乱，v2重构了代码，也对触摸屏有简单的支持，但还需完善，欢迎发送pull request，一起完善

authors: niuyannet seeksdream


text:
Fix not detecting databases

Is your feature request related to a problem? Please describe.

When after you build the project and when you try to run the project core.war won't run because it doesn't recognize the database.

Describe the solution you'd like

Add spring.jpa.hibernate.ddl-auto = update to application.properties.example

I'm working on it.

repo: sef-global/sef-core


text:
Implements/heartbeat delegate

I basically took the logic Brennan built out for the android component and implemented it here.

This isn't the same as what we did for Android. On Android the delegate is provided via a factory during the "Video Playback Started" event. In here, the delegate is created during initialization instead.

See here https://github.com/segment-integrations/analytics-android-integration-adobe-analytics/blob/master/src/main/java/com/segment/analytics/android/integrations/adobeanalytics/AdobeIntegration.java#L574-L575

@f2prateek updated with requested changes — let me know if I'm on the right track here!

@f2prateek  added tests

@f2prateek I think the issue was I needed to set these values here.
I thought maybe I needed to initialize each instance variable in my SEGPlaybackDelegate implementation with 0, but that didn't seem to do the trick. Only by setting these values in the tests prior to asserting against the outcome did this seem to pass.
My understanding is the the instance variables are automatically initialized with a value of 0 with the instance ([SEGPlaybackDelegate alloc] init] in this case)

I thought maybe I needed to initialize each instance variable in my SEGPlaybackDelegate implementation with 0, but that didn't seem to do the trick. Only by setting these values in the tests prior to asserting against the outcome did this seem to pass.

That seems like a bug, no? The tests are only passing under these certain conditions setup in tests - but these conditions are not being setup in a real app so that means in a real app this behaviour would break.

@f2prateek Updates from yesterday!


text:
update send-json with timeout support

Bump the send-json dependency to v4 so we can use the new timeout functionality. Currently we only set a timeout on the retry path to preserve legacy behaviour, though it would be a good idea to set a value here in the future as well.
Another improvement for the future would be to be able to set per project timeout values so customers can pick and choose. For now, we're using a default of 10 seconds to minimize changes to this code path.
Note - we need the changes from v4.0.1 (https://github.com/segmentio/send-json/blob/master/HISTORY.md#401--2018-04-16).

Closing in favor of #42


text:
Add actions event testing information

Proposed changes
Added a section to the destination actions to discuss testing events. Examples of how to test within the mapping as well as information on a common response from the event tester that is due to a missing mapping or a mapping being disabled.
Merge timing

ASAP once approved

Related issues (optional)
n/a

@ashton-huxtable we removed the images and replaced them with clearer instructions on how to test a destination

authors: ashton-huxtable stayseesong

repo: segmentio/segment-docs