Roadmap for this project?

First of all, many thanks to @tafelnl  for the good work on this module :clap: :bowing_man: :rocket: :beers:
Currently this module is probably the only reliable option, since the old Cordova module repo has already been archived and the pure web-based solutions (e.g. zxing-js) are not really suitable for Capacitor/Ionic (among other things because of the iOS WebRTC v>=14.3 issue).
We are currently using this module in a project and therefore somewhat depend on it. So it would be great to know what developments are planned, preferably with a rough timeline. Especially features like Frame in Camera view or torch integration are mission critical for us and it's not clear if or when this will be addressed.
Again, we are grateful for all the work that has already been done :pray: Now we just want to find out if we can stick with the module :slightly_smiling_face:

First of all, thank you very much for this excellent plugin, it has been very helpful for a feature of the app I'm working on.
Currently we need to use the flashlight and the cordova plugin I use conflicts with barcode scanner.
If this functionality of the flashlight is implemented in barcode scanner it would be excellent because it would not need another plugin.
It would be great to know when this flashlight functionality would be released to negotiate with my product owner hehehe.
Thank you very much for these wonderful plugins.

It seems to be priority 2. I assume that means that it is on the roadmap. Not sure when it'll be completed. If you look at the mentioned pull request you can try and install that version to get it working with the flashlight.

Quick update: I updated the priority labels on the different issues. Priority 1 issues are either important or easy to fix. These will be implemented in ~1 month. Priority 2 labels I cannot say for sure now. But I'll try to fix it in ~2 months. I am very busy right now, so any help is very welcome!

If you look at the mentioned pull request you can try and install that version to get it working with the flashlight.

I'm very interested in this feature, as my users work in construction and scan stuff where lighting is poor / no lighting… Maybe not the best place to ask, but what is the best way to install the feat/torch branch via npm somehow?
I googled and found this, that kind of works:
npm install git://github.com/capacitor-community/barcode-scanner#feat/torch
Only smallish problem is it has no dist/ folder

Found out how to checkout the branch, build it (separately) and copy in the dist/ folder… But maybe this can be done automatically somehow?
Turns on the torch with enableTorch() in android!
Doesn't turn off with disableTorch() though, but stopScan() serves :smile:

I've just created a new PR based on the latest code from the main branch adding the ability to enable, disable and toggle the torch on both android and iOS. There is also a method to get the current torch state.
@tafelnl Would be awesome if you could find some time to have a look and maybe create a new version as installing without a new npm release is really a pain (due to the missing dist folder)
@arnotixe Just so you know: The dist folder normally gets published on npm during a new release, which is why it works if you install an official version via the npm registry. If you try to install a specific branch / PR etc. directly from github that dist folder is missing.

i think it would suffice to add a prepare npm script to build the package.
like here:
https://github.com/ec-lmayr/barcode-scanner/commit/71399f0282ba7aa59966e1df794cd77cf6aae99f
the you can install from github.

Hi, is there an ETA for the torch capability to be published via npm? I'm trying to add the torch branch via git to my project but it fails the dependency check...
Does this feature need more work or it's ready to be published?
Thanks!

First of all, many thanks to @tafelnl for the good work on this module 👏 🙇♂ 🚀 🍻
Currently this module is probably the only reliable option, since the old Cordova module repo has already been archived and the pure web-based solutions (e.g. zxing-js) are not really suitable for Capacitor/Ionic (among other things because of the iOS WebRTC v>=14.3 issue).
We are currently using this module in a project and therefore somewhat depend on it. So it would be great to know what developments are planned, preferably with a rough timeline. Especially features like Frame in Camera view or torch integration are mission critical for us and it's not clear if or when this will be addressed.
Again, we are grateful for all the work that has already been done 🙏 Now we just want to find out if we can stick with the module 🙂
Could you elaborate why pure-web based solutions are not really suitable for Capacitor? It seems that WebRTC issue has been solved.

As of now, there is no roadmap... I just became a new maintainer of this plugin and I will try to clean up things and merge the open PRs in the coming weeks.
Once I am up2date what have to be done, whats already done and not merged aso. I will try to add some sort of roadmap and plan the additionally wished features.

Thanks for your effort!

I was able to merge most of the open PRs today...
Still need to test all the changes next week, once this is done I will release 2.1.0.
For now I will close this issue, since there are multiple inputs/questions which makes it kinda hard for me to handle.
If i missed something here or you have missing features/questions after the 2.1.0 release please open a new issue!
Thank you guys!


Get latest tx data

This is a way of ensuring all data from transactions explorer is the
same period. The previous commit represents a way of ensuring that
within a service (for all data points of a service) we take the same
period but it doesn't ensure all data is the same period as this does.
This could now be refactored to reduce the transactions explorer data to
just those values which represent the latest quarter/year and then go
through them dashboard by dashboard rather than going through each metric and
then going through the records for each dashboard to pull out the data
for the given metric. This might be slightly more efficient and clearer but I'm not sure. Thoughts?
This has been tested in preview.

About time!
Hope it actually works... Good luck!


Face training results "training has been filed"

Hi, face training filed as shown below. Anyone can help me to solve this?

Did you solve it


Updates for Unity 5 compatibility.

According to the Unity 5 docs, renderer and camera shortcut properties are deprecated in Unity 5, to be replaced by GetComponent() and GetComponent() respectively. After making these changes below, I was able to successfully build the project in Unity 5.
https://github.com/OSVR/OSVR-Unity/issues/26

CC issue 26: https://github.com/OSVR/OSVR-Unity/issues/26

Thanks!


Windows TaskCluster runs fail on error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

The Windows TaskCluster runs are failing on error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version when cloning the repo from GitHub, for example on this run:
[taskcluster 2018-03-08T01:32:57.293Z] Worker Type (win2012r2) settings:
[taskcluster 2018-03-08T01:32:57.293Z]   {
[taskcluster 2018-03-08T01:32:57.293Z]     "aws": {
[taskcluster 2018-03-08T01:32:57.293Z]       "ami-id": "ami-9fb400e7",
[taskcluster 2018-03-08T01:32:57.293Z]       "availability-zone": "us-west-2c",
[taskcluster 2018-03-08T01:32:57.293Z]       "instance-id": "i-0f7d1ab1505da33e3",
[taskcluster 2018-03-08T01:32:57.293Z]       "instance-type": "m3.2xlarge",
[taskcluster 2018-03-08T01:32:57.293Z]       "local-ipv4": "<IP_ADDRESS>",
[taskcluster 2018-03-08T01:32:57.293Z]       "public-hostname": "ec2-54-202-165-106.us-west-2.compute.amazonaws.com",
[taskcluster 2018-03-08T01:32:57.293Z]       "public-ipv4": "<IP_ADDRESS>"
[taskcluster 2018-03-08T01:32:57.293Z]     },
[taskcluster 2018-03-08T01:32:57.293Z]     "config": {
[taskcluster 2018-03-08T01:32:57.293Z]       "deploymentId": "b_-9AJBeQ6CPhqsSxu-VeQ",
[taskcluster 2018-03-08T01:32:57.293Z]       "runTasksAsCurrentUser": false
[taskcluster 2018-03-08T01:32:57.293Z]     },
[taskcluster 2018-03-08T01:32:57.293Z]     "generic-worker": {
[taskcluster 2018-03-08T01:32:57.293Z]       "go-arch": "amd64",
[taskcluster 2018-03-08T01:32:57.293Z]       "go-os": "windows",
[taskcluster 2018-03-08T01:32:57.293Z]       "go-version": "go1.9",
[taskcluster 2018-03-08T01:32:57.293Z]       "release": "https://github.com/taskcluster/generic-worker/releases/tag/v10.4.1",
[taskcluster 2018-03-08T01:32:57.293Z]       "revision": "c0f768e3d1017032aa417400215ff5f422ab686f",
[taskcluster 2018-03-08T01:32:57.293Z]       "source": "https://github.com/taskcluster/generic-worker/commits/c0f768e3d1017032aa417400215ff5f422ab686f",
[taskcluster 2018-03-08T01:32:57.293Z]       "version": "10.4.1"
[taskcluster 2018-03-08T01:32:57.293Z]     },
[taskcluster 2018-03-08T01:32:57.293Z]     "machine-setup": {
[taskcluster 2018-03-08T01:32:57.293Z]       "maintainer"<EMAIL_ADDRESS>[taskcluster 2018-03-08T01:32:57.293Z]       "script": "https://raw.githubusercontent.com/taskcluster/generic-worker/6ff29c340888215bd3c212e7ecfb66dffe95c18b/worker_types/win2012r2/userdata"
[taskcluster 2018-03-08T01:32:57.293Z]     }
[taskcluster 2018-03-08T01:32:57.293Z]   }
[taskcluster 2018-03-08T01:32:57.293Z] Task ID: O1NtUhUpQrS0WZpsIhYUrw
[taskcluster 2018-03-08T01:32:57.293Z] === Task Starting ===
[taskcluster 2018-03-08T01:33:00.520Z] Uploading redirect artifact public/logs/live.log to URL https://g3fkk2qaaaawea3uki3wlumamjxt6hatdcjsro54afj7uzib.taskcluster-worker.net:60023/log/MVRH32cxQ3Oai0OwV2zZDA with mime type "text/plain; charset=utf-8" and expiry 2018-03-08T02:32:57.655Z
[taskcluster 2018-03-08T01:33:01.020Z] Executing command 0: git clone https://github.com/mykmelez/qbrt.git repo

C:\Users\task_1520472698>git clone https://github.com/mykmelez/qbrt.git repo
Cloning into 'repo'...
fatal: unable to access 'https://github.com/mykmelez/qbrt.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
[taskcluster 2018-03-08T01:33:27.076Z]    Exit Code: 128
[taskcluster 2018-03-08T01:33:27.076Z] Success Code: 0x0
[taskcluster 2018-03-08T01:33:27.076Z]    User Time: 0s
[taskcluster 2018-03-08T01:33:27.076Z]  Kernel Time: 0s
[taskcluster 2018-03-08T01:33:27.076Z]    Wall Time: 26.0482038s
[taskcluster 2018-03-08T01:33:27.076Z]  Peak Memory: 1703936
[taskcluster 2018-03-08T01:33:27.076Z]       Result: FAILED
[taskcluster 2018-03-08T01:33:27.077Z] === Task Finished ===
[taskcluster 2018-03-08T01:33:27.077Z] Task Duration: 26.0572061s
[taskcluster 2018-03-08T01:33:27.617Z] Uploading redirect artifact public/logs/live.log to URL https://queue.taskcluster.net/v1/task/O1NtUhUpQrS0WZpsIhYUrw/runs/0/artifacts/public/logs/live_backing.log with mime type "text/plain; charset=utf-8" and expiry 2019-03-09T01:24:53.138Z
[taskcluster 2018-03-08T01:33:27.628Z] Task not successful due to following exception(s):
[taskcluster 2018-03-08T01:33:27.628Z] Exception 1)
[taskcluster 2018-03-08T01:33:27.628Z] []
[taskcluster 2018-03-08T01:33:27.628Z]
[taskcluster 2018-03-08T01:33:27.628Z] Exit code: 128
[taskcluster 2018-03-08T01:33:27.628Z]

#143 works around this issue by switching to a custom Git, but I'm going to leave this open to switch back to system Git once https://github.com/taskcluster/generic-worker/pull/76 lands.

That change has now landed upstream, so #147 undoes the workaround in #143.


strange behavior of loc_list related to g:syntastic_cpp_checkers

my vimrc
" syntastic config
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_loc_list_height = 4
let g:syntastic_cpp_checkers = ["clang++"]

when I use this and put the compile_commands.json under the src dir, it won't show any loc_list, only like

If I rm let g:syntastic_cpp_checkers = ["clang++"]
It will be like this

However, if there is  no error, if I left let g:syntastic_cpp_checkers = ["clang++"] out, it would be like this

No error, but shows loc_list.
Basic Info

OS: ARCH LINUX
syntastic version: 3.10.0

Syntastic is dead, you might consider using ALE instead.
Even when it was alive syntastic was a general framework, it was never great at checking C/C++.  Specialized plugins such as YCM would make a lot more sense.
Still, if you insist on using syntastic: there is no such thing as a checker clang++, there is only gcc.  To enable checking by clang++ you need to set the list of checker to gcc, and set syntastic_cpp_compiler to clang++.


Bring table.load functionality up to par with bq command line

Things we need:
Missing flags: field_delimiter, encoding, max_bad_records, skip_leading_rows
These are things we can do already but not directly:

support for local files, not just GCS
ability to set a table schema from a local file containing JSON

Load also supports a list of sources.

There may be some overlap here with the changes needed for federated data (issue #644).


Updating HTML responder page

Is there an example that could point me how to update an HTML responder page?
https://developer-docs.citrix.com/projects/netscaler-nitro-api/en/11.1/configuration/responder/responderhtmlpage/responderhtmlpage/
Can this be done with this module, or do I need to use the URI module as shown in uri-nitro-api-calls.yaml?

I was able to accomplish this with the citrix_adc_nitro_request module.
---
- name: Updates the Netscaler HTML responder page content.
  hosts: all
  connection: local
  gather_facts: no
  vars:
    input_filename: "filename_in_repo"
    input_file_contents: "{{ lookup('file', '{{ input_filename }}') }}"
    responder_filename: "filename_on_netscaler"
    responder_directory: "/var/download/responder"

  tasks:
  - name: Delete existing file on Netscaler
    citrix_adc_nitro_request:
      nsip: "{{ nsip }}"
      nitro_protocol: "https"
      nitro_user: "{{ nitro_user }}"
      nitro_pass: "{{ nitro_pass }}"
      operation: delete_by_args
      resource: systemfile/{{ responder_filename }}
      args:
        filelocation: "{{ responder_directory | replace('/','%2F') }}"
      expected_nitro_errorcode: [0, 3441]

  - name: Copy new file to Netscaler
    citrix_adc_nitro_request:
      nsip: "{{ nsip }}"
      nitro_protocol: "https"
      nitro_user: "{{ nitro_user }}"
      nitro_pass: "{{ nitro_pass }}"
      operation: add
      resource: systemfile
      attributes:
        filename: "{{ responder_filename }}"
        filelocation: "{{ responder_directory }}"
        filecontent: "{{ input_file_contents | b64encode }}"

  - name: Reload content on Netscaler
    citrix_adc_nitro_request:
      nsip: "{{ nsip }}"
      nitro_protocol: "https"
      nitro_user: "{{ nitro_user }}"
      nitro_pass: "{{ nitro_pass }}"
      operation: action
      action: update
      resource: responderhtmlpage
      attributes:
        name: "{{ responder_filename }}"

It can run like follows:
ansible-playbook update_netscaler.yml -i localhost, -e "nsip=<IP_ADDRESS>" -e "nitro_user=abc" -e "nitro_pass=123"


width can't be less than or equal to zero. tizen

Hello,
can't draw QR code on Tizen.Tv platform, receiving an error: "width can't be less than or equal to zero"
Nuget version: 3.0.1

the problem related to the BarcodeImageConfiguration:
options => EncodingOptions => width = 0;
need to change width to something is not equal 0,
that solves the problem.


Crushed with notenoughIDs (1.7.10)

I installed two mods below.
-CustomPlayerModels-1.7.10-0.6.5a
-notenoughIDs-1.7.10-1.4.6.
When loading game (Displayed loading screen), minecraft crashed.
↓Crash Report↓
crash-2023-03-14_18.34.13-client.txt

Where did you get the notenoughids mod? Curseforge doesn't have that version.


When you click on "Send Max" it puts a dot instead of a comma and until you replace it with a comma you can't send a transaction:

When you click on "Send Max" it puts a dot instead of a comma and until you replace it with a comma you can't send a transaction:

Fixed


[flutter_tools] support powershell style help request

Description
I've seen a number of crash reports due to the tool treating -? as a positional argument and not a help command (trying to use it as a directory for flutter create). Since this is commonly a help request for Powershell commands, treat it like providing -h.
Fixes https://github.com/flutter/flutter/issues/67232

Interested in hearing thoughts on whether this is appropriate. @goderbauer @DanTup

I never knew you could use -? in PowerShell (though I use Windows much less these days). If people are typing it it seems reasonable to me to support it to reduce friction, though I don't know where the line should be if there are other PowerShell-isms we don't support.


Intellij issues after version 0.10

It seems that Intellij doesn't like versions 0.11 and 0.12.
With versions 0.09 and 0.10 no issues at all.
Tested on: Ubuntu, Intellij 2017.2.5, Gradle 4.2.1

I'm using IntelliJ IDEA 2017.2.5 and gradle-apt-plugin (various versions, though I try to migrate all my projects to Gradle 4.2.1 –or 4.3 when released– and gradle-apt-plugin 0.12) and do not have any problem.
Could you please give more details about what you're experiencing?
Could it just be that you didn't apply the net.ltgt.apt-idea plugin? That one is new in 0.11. See the README for details.

Basically I am using it with the Immutable library.
When I updated to v0.12 from v0.09 I didn't notice anything strange.
Days later after deleting the generated source folder in Intellij, I started having compilation issues.
After some tests in the gradle file with the version numbers followed by an reimport all gradle project, It was easy to conclude that. v0.09 and v0.10 was generating the *.java and *.class files, while the v0.11 and v0.12 not.
I checked in my .gradle/cache and all the versions were there, from v0.09 to v0.12.
Using the command line gradle compileJava, everything works fine regardless the version, and all the *.class files are generated. (The *.java aren't, which is fine.)
Note that I am using many projects in my settings.gradle, but only one has this plugin:
plugins {
  id 'net.ltgt.apt' version '0.10' // 0.12 has issues with IntelliJ
}

same issue with idea 2017.2.5, gradle 4.2, apt-plugin 0.12

So, I'll assume you're using the IntelliJ integration for importing your Gradle project into IntelliJ (vs. the idea task), and configure IntelliJ to do the annotation processing.
Using the net.ltgt.apt-idea plugin (either with the plugins DSL or apply plugin) should be enough then (and then go enable and configure annotation processing in IntelliJ settings).
BTW, a Gradle build should generate the Java sources into build/generated/source/apt/…; if that doesn't happen, then (unless your annotation processor directly generate bytecode, but that's not the case of Immutables) you have a problem.

I recommend that you update the information of the plugin in two chapters:

Basic/Minimum configuration (useful for probably the majority of the people)
Advanced configuration: All the details and depth of configurations

The problem is that the "basic/minimum" configuration itself varies greatly. I, for one, recommend using IntelliJ's integration along with Delegate build/run actions to Gradle (and I might very well make it “the default” in the next version; you currently need additional configuration in this setup). Others will prefer IntelliJ's integration without Delegate build/run actions to Gradle (or have an IntelliJ version that doesn't support it anyway), and then some of them will happily run Gradle to re-generate the sources whenever they make changes to their code that requires it, while others will want to have annotation processing done by IntelliJ. And finally, there will be those who prefer using the idea task (or have to use it for various reasons; e.g. Gradle itself). And a future version of IntelliJ might make use the Gradle 3.4's compileJava.options.annotationProcessorPath and Gradle 4.3's compileJava.options.annotationProcessorGeneratedSourcesDirectory to configure the IDE automatically, adding even more “basic” setup combinations.
I agree that a rework of the documentation might make it easier to comprehend, but I've done that several times already, and can't come up with something “satisfying”.
Also please note that IDE support is provided on a “best effort” basis.
That said, if you can share a project that reproduces the problem, I'll give it a look to try to understand what's happening.

Thanks @tbroyer for your effort.
My request is very simple. I would like to configure v0.12 to have the same behaviour as v0.10!
Saying that, what is the easy way to upgrade from v0.10 to v0.12 and maintain the same behaviour?
At the moment I am using it v0.10 without issues, however, let me see if I can create a simple project with this issue.

Applying the net.ltgt.apt-idea plugin should get you the exact same behavior as in 0.10, without any other configuration.

applying the net.ltgt.apt-idea do not work, no files generated at build/generated/source/apt
below is my gradle build.gradle file:
plugins {
    id 'org.springframework.boot' version '1.5.8.RELEASE'
    id 'io.franzbecker.gradle-lombok' version '1.10'
    id 'java'
    id "net.ltgt.apt" version "0.12"
    id "net.ltgt.apt-idea" version "0.12"
}

apply plugin: "net.ltgt.apt"
apply plugin: "net.ltgt.apt-idea"

jar {
    baseName = 'myproject'
    version = '0.0.1-SNAPSHOT'
}

repositories {
    jcenter()
}

configurations {
    compile.exclude module: "spring-boot-starter-tomcat"
    compile.exclude module: "spring-boot-starter-websocket"
}

dependencies {
    compile("org.springframework.boot:spring-boot-starter-web")
    // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-redis
    compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-redis', version: '1.5.8.RELEASE'
    compile group: 'org.springframework.boot', name: 'spring-boot-starter-logging', version: '1.5.8.RELEASE'
    compile group: 'org.springframework.boot', name: 'spring-boot-starter-jetty', version: '1.5.8.RELEASE'
    compile("org.springframework.boot:spring-boot-devtools")
    // https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
    compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.6'

    testCompile("org.springframework.boot:spring-boot-starter-test")

    compileOnly 'org.immutables:value:2.5.5'
    apt 'org.immutables:value:2.5.5'
}

help me out, thx

Finally, i figure out how to make it work. I am newbie in using the plugin.
`buildscript {
repositories {
maven {
url "http://maven.aliyun.com/nexus/content/repositories/gradle-plugin/"
}
}
dependencies {
classpath "net.ltgt.gradle:gradle-apt-plugin:0.12"
}
}
apply plugin: "net.ltgt.apt"
apply plugin: "net.ltgt.apt-idea"
apply plugin: 'java'
repositories {
maven {
url 'http://maven.aliyun.com/nexus/content/repositories/central/'
}
jcenter()
}
dependencies {
compileOnly "com.google.auto.value:auto-value:1.5"
apt         "com.google.auto.value:auto-value:1.5"
testCompileOnly   "com.google.auto.value:auto-value:1.5"
// https://mvnrepository.com/artifact/org.testng/testng
testCompile group: 'org.testng', name: 'testng', version: '6.11'
}
`
this works, it generated java code at directory build/generated/source/apt/ which is relative to my project root.
the normal steps is

go to intellij, check the option Enable annotation processing at location: File - Settings -  Build, Execution, ... - Compiler, Annotation Processors
delegates the IDE  build/run actions to gradle
write a class using AutoSave
manually run the compile process

Then you will get the generated java file the location build/generated/source/apt/


Failed to load config.xml on production build for browser

Short description of the problem:
We build our app for browser and production doing this ionic build browser --prod we copy the files from platforms/browser/www to our webserver. We mapp the webserver app not to the root but to a subfolder.
So the app is deployed something like that:

http://<IP_ADDRESS>/subfolder/index.html

On open the app from browser we got this error:
Failed to load resource: the server responded with a status of 404 (Not Found)
http://<IP_ADDRESS>/config.xml

What behavior are you expecting?
The app is searching the config.xml file from root but this is not this case, it is deployed under subfolder where the whole app is.
I think it could also be possible the config.xml should not be included and also not be loaded? It does not make sense have a file with <allow-navigation href="http://<IP_ADDRESS>:8100" /> Could this be a potentially security problem?
Which @ionic/app-scripts version are you using?
1.1.4

We don't support the browser platform currently.
Thanks,
Dan

Hooo man, very bad to know that. What about that blog post about PWA?

I'm intersted in  it too

@bruno-barros,
We'll have a better PWA story soon.
Thanks,
Dan


[CORE][VL] Support RewriteTransformer Rules and DeltaLake Scan

What changes were proposed in this pull request?

support DeltaLake 2.2 scan
support the column mapping mode
provide RewriteTransformerRules to extend if needed.

(Fixes: #2891)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Moving my comment from old #3376:
I think _metadata is not heavily used in 2.2, or not at all, but may be needed to replace the input_file_name UDF. In recent versions like 2.4 it is used for deletion vectors, as it needs the _metadata_row_index.
I created this repro:
class TestGluten extends QueryTest
  with SharedSparkSession with DeltaSQLCommandTest {
  test("mytest") {
    withTempDir { inputDir =>
      val testPath = inputDir.getCanonicalPath
      spark.range(10)
        .write
        .format("delta")
        .save(testPath)

      spark.sql(s""" ALTER TABLE delta.`$testPath` SET TBLPROPERTIES (
    'delta.minReaderVersion' = '2',
    'delta.minWriterVersion' = '5',
    'delta.columnMapping.mode' = 'name'
  )""")

      spark.sql(s"""SELECT id, _metadata.file_name FROM delta.`$testPath`""").show(false)
    }
  }
}

It fails because we try to replace every column, and _metadata fields are not in the mapping:

[info] - mytest *** FAILED *** (7 seconds, 852 milliseconds)
[info]   java.util.NoSuchElementException: key not found: file_name
[info]   at scala.collection.MapLike.default(MapLike.scala:236)
[info]   at scala.collection.MapLike.default$(MapLike.scala:235)
[info]   at scala.collection.AbstractMap.default(Map.scala:65)
[info]   at scala.collection.mutable.HashMap.apply(HashMap.scala:69)
[info]   at io.glutenproject.extension.RewritePlanIfNeeded.$anonfun$transformColumnMappingPlan$4(ColumnarOverrides.scala:109)
[info]   at scala.collection.immutable.List.map(List.scala:297)
[info]   at io.glutenproject.extension.RewritePlanIfNeeded.io$glutenproject$extension$RewritePlanIfNeeded$$transformColumnMappingPlan(ColumnarOverrides.scala:107)
[info]   at io.glutenproject.extension.RewritePlanIfNeeded$$anonfun$apply$1.applyOrElse(ColumnarOverrides.scala:64)
[info]   at io.glutenproject.extension.RewritePlanIfNeeded$$anonfun$apply$1.applyOrElse(ColumnarOverrides.scala:59)

val newAttr = o.withName(columnNameMapping(o.name))

@felipepessoto  I have tested this case, and can work correctly. Please check if there is this patch https://github.com/oap-project/gluten/pull/2563 in gluten you used. And to support metadata column is tracked by https://github.com/oap-project/gluten/issues/2618. So let this pr focus on the common cases.

@YannByron LGTM except need to add documentation for this support, like additional configurations, etc.

@YannByron LGTM except need to add documentation for this support, like additional configurations, etc.

@yma11 thank you for your review. There is no configuration needed. Users just put the additional gluten-delta jar into the class path, then can query delta table in gluten/velox env.

@yma11 thank you for your review. There is no configuration needed. Users just put the additional gluten-delta jar into the class path, then can query delta table in gluten/velox env.

Yeah. Then just doc what you said in location like here. You may can also make a short introduction about what cases supported.

@yma11 Doc is done. PTAL again.

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_3646_time.csv
log/native_master_11_12_2023_5b632f64e_time.csv
difference
percentage

q1
33.87
35.06
1.191
103.52%

q2
24.17
24.58
0.412
101.70%

q3
37.63
37.43
-0.200
99.47%

q4
36.33
36.90
0.571
101.57%

q5
70.32
71.39
1.068
101.52%

q6
7.11
7.07
-0.041
99.42%

q7
84.63
82.01
-2.625
96.90%

q8
86.26
86.35
0.097
100.11%

q9
122.48
121.45
-1.036
99.15%

q10
46.12
44.24
-1.876
95.93%

q11
19.75
20.06
0.311
101.57%

q12
26.64
25.25
-1.392
94.77%

q13
45.82
46.66
0.841
101.84%

q14
18.20
14.90
-3.294
81.90%

q15
27.32
27.08
-0.233
99.15%

q16
15.41
14.92
-0.498
96.77%

q17
100.53
99.68
-0.852
99.15%

q18
147.32
147.54
0.211
100.14%

q19
13.09
12.97
-0.115
99.12%

q20
27.35
28.14
0.786
102.87%

q21
219.02
220.95
1.925
100.88%

q22
13.07
13.04
-0.027
99.80%

total
1222.45
1217.68
-4.775
99.61%


Add the code which can judge whether the user currently logged on has specified permission.

Fix: https://github.com/jcasbin/shiro-casbin/issues/1

lgtm

lgtm


Some fsck messages show up on display on production images

The production image should show only the splash logo and no other message on the display

[gelbal] This issue has attached support thread https://jel.ly.fish/#/support-thread~44a0b654-f2eb-45bf-922e-fb6dd883a52c

[gelbal] This issue has attached support thread https://jel.ly.fish/#/support-thread~26334be8-1dfc-4580-a455-11cdacca5c43


Add the ability to pass inner navigator observers

Is your feature request related to a problem? Please describe.
The problem is that Navigator 1.0 had observers which allowed, for example, to set up a FirebaseAnalyticsObserver
Describe the solution you'd like
Screen tracking would be easier with the opportunity to pass observers to inner navigator.
Describe alternatives you've considered
Custom logic in onGeneratePages does not look like an attractive solution.

Found it here https://github.com/felangel/flow_builder/pull/35 , looking forward to the new version!


MudDataGrid inline filter input doesn't clear

Bug type
Component
Component name
MudDataGrid
What happened?
We are using the inline filter row in the datagrid and trying to add a 'clear all filters' feature.
We have tried using the method on the datagrid and on the FilterContext.Actions for each of the RenderedColumns.
In both cases the filtering is cleared from the display (all rows shown) however the filter text still shows up in the input.
Expected behavior
The FilterHeaderCell needs to update the private value fields when the filter is cleared from the datagrid
Reproduction link
https://try.mudblazor.com/snippet/cEwoOxYsTMnKLwiS
Reproduction steps

In the sample enter a value in the filter box that causes rows to be filtered (i.e. p)
Click one of the buttons
Repeat 1-2 with the other button

Relevant log output
No response
Version (bug)
6.0.16
Version (working)
No response
What browsers are you seeing the problem on?
Chrome, Microsoft Edge
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

This looks like a duplicate of #6951.

I have just submitted #9801 which addresses this issue.


to_unicode_optional_iterator() is broken in python 2.4.3

This snippet doesn't work right in python 2.4.3. It appears again in get_normalized_parameters().
except TypeError, e:
        assert 'is not iterable' in str(e)

The problem is that the string describing the TypeError does not contain 'is not iterable' in 2.4.3:
Python 2.4.3 (#1, May  5 2011, 16:39:09)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> l = list(1)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: iteration over non-sequence

Python 2.6.4 (r264:75706, Jun  4 2010, 18:20:16)
[GCC 4.4.4 20100503 (Red Hat 4.4.4-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> l = list(1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'int' object is not iterable

The snippet seems like it's pretty fragile... depending on the string contents of a built-in exception seems like a very bad idea, but maybe that's just me. More importantly, it seems very unpythonic; while it's short and sweet, it borders on the arcane.
This bit me pretty hard, since there's no note anywhere (that I could find) that mentioned a minimum python version. I had put my interface code together on python 2.6.4, but needed to implement some OAuth stuff on an appliance with 2.4.3... ouch!
Overall I love this project, though. Keep up the good work! I'll post a workaround patch if I come up with a decent solution.

this looks like the same problem I am having.


Restructure projects app models

Moved specific models to specific files. Similar to what we follow through-out Hypha.
Makes it easy to read code and to make changes on specific part of the codebase.
This also allows us to put the vendor model in a separate file.
Would be doing more of structuring/cleanup as we proceed further but this is a good first step.

@sks444 Since no one is using projects we can do what we need.
I think this might be a good PR to rename "payment" to "invoice".

This pr already has a good amount of changes. Doing that here could mess things up a bit.
I also need to some time to understand what's going on with Payment and how the invoicing workflow would be.
Was thinking of finishing the first version of vendor and then taking up the invoicing related issues. .


Replays break when decks are junked

This bug makes it hard to triage issues that are reported.

Yeah agreed. I really need to get this fixed soon.

This might possibly be fixed by doing https://github.com/micahstairs/bga-innovation/issues/1268

I suspect this has to do with the issue where dialogs don't work in replays. In the case of the score and forecast zones, we should don't put the cards on those dialogs. We need to do something similar for the junk zone, but the cards still need to live somewhere. Maybe we need to figure out the underlying issue with the dialogs.

It's also worth noting that this bug happens when anything is junked, not just decks.


E031 should allow screen-reader content inside glyphicon

According to E031, an element with the .glyphicon class should not contain any content.  However, it seems like it should allow for elements containing content that is targeted only to screen readers using the .sr-only class so that they can make sense of the icon element.
As an example:

    (*)

You would want to do something such as the following, rather than nesting the items:

star

Here's an example directly pulled from the documentation:

  Error:
  Enter a valid email address


Release/v4.2 Esp idf issue Importing an existing projects other than examples in eclipse

I am facing an issue while Importing an existing project other than examples in eclipse Esp idf 2.6 and also in eclipse Esp idf 2.8. both versions run examples and build with no errors,
but whenever I add new > header and C files in the existing example project it is unable to add and find header and C files in the project, I also put these files in the main folder too.
after searching on forums :
I also tried to add these files CMakeLists.txt but the problem not solved.
2nd: whenever I existing project other than examples , all files [.C files and .H files ] are added but this time
eclipse will unable to add these fils in the project ,
#include <stdio.h>
#include "sdkconfig.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_system.h"
#include "esp_spi_flash.h"
and also
c:/users/fuuast/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/esp32/libesp32.a(cpu_start.c.obj):(.literal.main_task+0x18): undefined reference to app_main' c:/users/fuuast/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/esp32/libesp32.a(cpu_start.c.obj): in function main_task':
C:/Users/FUUAST/Desktop/esp-idf/components/esp32/cpu_start.c:592: undefined reference to `app_main'
is any way I can import my existing projects without facing the problems. I only want to use eclipse right now.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 16 committers have signed the CLA.:x: aditi_lonkar:x: antmak:x: shenjun7:x: espxiehang:x: jack0c:x: igrr:x: ginkgm:x: xiongweichao:x: GYC-Espressif:x: hanxifu:x: koobest:x: blueMoodBHD:x: KonstantinKondrashov:x: suren-gabrielyan-espressif:x: projectgus:x: david-cermakaditi_lonkar seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @naveedabbasi,
I think you meant to report this as a GitHub Issue rather than open a Pull Request. The pull request is for merging changes into the code. The GitHub docs has some information about this here: https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/quickstart-for-communicating-on-github#issues
I see you've also reported this issue on the idf-eclipse-plugin repo. This is the best place to report it. I'm going to close this Pull Request, and a colleague should respond to the linked issue shortly:
https://github.com/espressif/idf-eclipse-plugin/issues/267


Fails to use lucky egg

Expected Behavior
Bot uses lucky egg on start
Actual Behavior
Bot fails to use lucky egg
I checked on the app and I have 3 lucky eggs available.
Your config.json (remove your credentials and any other private info)
      {
        "type": "EvolvePokemon",
        "config": {
            "evolve_all": "all",
            "first_evolve_by": "iv",
            "evolve_above_cp": 0,
            "evolve_above_iv": 0,
            "logic": "or",
            "evolve_speed": 20,
            "use_lucky_egg": true
        }
      }

Steps to Reproduce
pull latest dev
Other Information
OS: Windows
Git Commit: b8af467f8e694adf3e2353876e27159d4f16daee
Python Version: Python 2.7.12

Connecting on the mobile app and then restarting the bot did the trick for some reason


"[input1.txt] file could not be opened"

I had the problem,always get this error "[input1.txt] file could not be opened"
can you teach me how to solve it?

I have the same problem!!


css modules allow "module.css" instead of "*.module.css" @next

Testing out the newest CRA alpha react-scripts 2.0.0-next.66cc7a90 with support for CSS modules.
I want to suggest slightly relaxing the webpack loader regex for css modules to allow for "./module.css" in addition to the current "*.module.css".
The most common use case with css modules is to have one module per component, and in terms of easily / quickly creating new components, I try to keep as much of the naming of files as generic as possible between components, so for the css file "styles.css" or "module.css" instead of "MyComponent.css".  With this naming convention, it's just one less thing to have to change when copying & pasting to create a new component.
Currently with the new alpha, I find myself with a ton of files named "styles.module.css" whereas I would prefer the simpler "module.css" for each of my components.  I know this is a nit, but it's worth bringing up.

how would you differentiate with css files that you don't want to preprocess through css modules?


UI - Multiple chat messages seen when starting a chat with public assistants.

Electron built with commit id - b9114fe5c503cbd26
Steps to reproduce the problem:

Click on "Chat" to launch chat thread with default chat assistant.
Notice that we see 2 chat messages in there

This behavior is also seen when testing with public assistants that we create

This issue is not seen when testing with commit id bc8130a1e935b97a


Cannot find module './instagramBasicApi' in production (ubuntu)

Locally this does not cause any errors, however when starting in production on ubuntu 22.04:
Error: Could not load js config file<EMAIL_ADDRESS>Cannot find module './instagramBasicApi'
Require stack:
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>    at loadJsFile (/home/github/strapi/node_modules/@strapi/strapi/lib/core/app-configuration/load-config-file.js:18:11)
    at loadFile (/home/github/strapi/node_modules/@strapi/strapi/lib/core/app-configuration/load-config-file.js:35:14)
    at Object.loadPlugins (/home/github/strapi/node_modules/@strapi/strapi/lib/core/loaders/plugins/index.js:103:26)
    at async Strapi.loadPlugins (/home/github/strapi/node_modules/@strapi/strapi/lib/Strapi.js:341:5)
    at async Promise.all (index 2)
    at async Strapi.register (/home/github/strapi/node_modules/@strapi/strapi/lib/Strapi.js:377:5)
    at async Strapi.load (/home/github/strapi/node_modules/@strapi/strapi/lib/Strapi.js:487:5)
    at async Strapi.start (/home/github/strapi/node_modules/@strapi/strapi/lib/Strapi.js:217:9)

Might have to do with the import not having an extension and cannot be resolved on certain systems?
Note that I haven't done anything yet with this strapi instance; clean install without configuring anything.
Node Version: 19.5.0
Strapi Version: 4.6.0

Same error as https://github.com/webvibe-io/strapi-plugin-instagram/issues/11

I don't understand why Strapi can't load `instagramBasicApi.js because the file is there. Maybe there is some issue with Node version 19. As I can see Strapi don't support this version yet.
https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/installation/cli.html

I figured out there were some camel case issue. I fixed it in version 1.2.3 just upgrade package with npm upgrade @webvibe-io/strapi-plugin-instagram

That would make sense that it fails on Ubuntu. Windows & Mac do correct this, but Ubuntu/Linux doesn't. Thanks for fixing it @kepes!


Typing comments always pops up the 'intellisense' drop-down

Issue Type: Bug
(I'm not sure if this is a bug or a feature change - I went off the limited choices of the 'Report Issue' dialog in ADS).
Typing comments always pops up the 'intellisense' drop-down.  I always use a tab after a line comment (--\t), followed by the comment I want to write, e.g.
--	My comment here.

What I'm getting, really annoyingly, is:
--ASMy comment here.

...due to the fact that the 'AS' keyword is first in the intellisense list. Could we have it so that the intellinsense list is not available when we type a comment, please (either -- or /*...*/)?
Kind regards,
Paul.
Azure Data Studio version: azuredatastudio 1.35.1 (fab63efd307e54c063c8af03474bbb5d77f5fd11, 2022-03-15T18:03:38.261Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

@paweston70  I am not able to reproduce the issue, for me, as soon as I type the second - the suggestion list will go away

could you please record your repro steps?

please reopen when you have the information that we requested.

@alanrenmsft - Many apologies, I've been elsewhere doing other stuff since I posted this.
I'm not, presently, able to reproduce the issue. As soon as I can, I'll post a file to show the steps I took. One point of note is that this occurs when SQL is the language being used, but I have no SQL extensions installed.
There is a possibility that this could be coming from other parts of the same document.
Thanks for your time, Alan.


Publish to Maven Central

Starting from May 1, 2021 JCenter will stop working. Do you publish only to JCenter? Are there any plans to move away?

Yes, I'm planning to publish the most recent version of this lib to Maven Central, though I can't tell you the ETA.
But I'm sure I can do this until May 1.

@barnhill
Yes, I have a Sonatype account. Actually, this lib was once distributed from Maven Central.
Regarding contribution, of course, I really appreciate it if you can send a PR!
I've already migrated one of my libs with vanniktech/gradle-maven-publish-plugin, and was really easy.
So please use vanniktech/gradle-maven-publish-plugin when you create a PR.

K will do in the next few days.  I'll have to have you test with your sonatyoe account once it's up there.

@yshrsmz and @esdrasdl have a look at the PR and see if it works for publishing to MavenCentral.  I cant test it since I dont have the correct credentials but should be easy enough to test.

FYI I've just uploaded all releases to Maven Central.
https://repo1.maven.org/maven2/net/yslibrary/keyboardvisibilityevent/keyboardvisibilityevent/

@yshrsmz thank you!!


Expired SSL Certificate (ERR_CERT_DATE_INVALID)

I believe that the SSL certificate for feednami.com expired on Jan 1 2017.  As a result, the API has stopped working.

Should be fixed now.


Allow comments to exist within Task Reports

Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~015ba918486501d5a2
Upwork Job ID:<PHONE_NUMBER>126491136
Last Price Increase: 2023-05-11

Added as part of another PR, so no need for this one


[Bug]: Migration failed: wrong starting version 1: wrong kv version

What happened?
Current Behavior:
After trying to upgrade from v.0.90.1 to v0.102.2, I have executed
lakefs migrate up (with the new version).
As a results I've got
Migration failed: wrong starting version 1: wrong kv version
Expected Behavior
Expected Behavior:
I'd expect that migrate up runs successfully.
lakeFS Version
v0.102.2
Deplyoment
on-premise with minio
Affected Clients
lakectl
Relevant logs output
Migration failed: wrong starting version 1: wrong kv version

Contact Details
<EMAIL_ADDRESS>

@N-o-Z the fix https://github.com/treeverse/lakeFS/pull/6039 probably will probably fix one too

@nopcoder Thanks, @ingoke This is fixed in v0.103.0

Thank you so much for fixing this issue ad hoc. I really appreciate the immediate response.


try fix wrong deallocation

According to http://man7.org/linux/man-pages/man3/strdup.3.html, strdup should return a pointer allocated by malloc, which should be safe to be passed to free. However, when switching to https://github.com/alexcrichton/jemallocator, free can lead to core. Hence here invokes malloc explicitly.

seem that strdup and libc::free use different allocator if we switch to jemallocator. This may be dangerous in other FFI interfaces.

This is fixed by alexcrichton/jemallocator#4


How to predict label and θ when testing

How to predict label and θ when testing

To predict labels from D, you can achieve it by
import torch
_, logits = attgan.D(img)
predictions = torch.sigmoid(logits)

As for the θ, Extension for Attribute Style Manipulation is not implemented. You will find no θ here.
However, in my implementation, only weights of G is saved. It is not feasible to predict labels from my pretrained weights. You have to change this line from saveG() to save() and train a model yourself to get a good D.

Thank  you very much!


Feature: Customer Accounts

The Shopify Storefront API allows for customer authentication and creation. This would provide the headless template with a feature every Shopify Theme has.
Overview
Typical routes on the Shopify theme to be implemented are:

/account/register: form with required fields for the createCustomer mutation.
/account/login: login form with required fields for the customerAccessTokenCreate mutation.
/account/login#recover: form to send a password reset link with the CustomerRecover mutation.
/account/reset: the URL customerRecover send to the customer with the password reset token to be used with the customerReset mutation.
/account: customer portal where customer's can see their information, such as, orders, addresses, and basic information. This would use the Customer query to load information and order history. Mutations like customerAddressCreate, customerAddressUpdate, customerAddressDelete, customerUpdate would be implemented here to allow customers to CRUD their addresses.

Reference: Any Shopify Theme Store. See Dawn Demo.

Great overview! Issue #1270 also requested login/register.
Hopefully it will get added soon.


Remove (now empty) pyregion/extern

Coverage remained the same at 63.13% when pulling 16414348a739a998bac8d537883ddadce057312b on cdeil:cleanup into ba54a16ec8718628071c6e66e54df54d07ac4949 on astropy:master.

Merging as CI is all green.


No compile error for invalid use of ? in destructure

To reproduce:
fn : { x : Str } -> Str
fn = \{ x ? ""} -> x

This should report an error, because it's using a non-optional record field as an optional one. However, it does not!

This program:
fn : { x : Str } -> Str
fn = { x ? ""} -> x
main =
Stdout.line "Hello, World!\n"
now returns an error:
── TYPE MISMATCH ────────────────────────────────────────────────── test16.roc ─
The 1st argument to fn is weird:
9│  fn = { x ? ""} -> x
^^^^^^^^^
The argument is a pattern that matches record values of type:
{ x ? Str }

But the annotation on fn says the 1st argument should be:
{ x : Str }

────────────────────────────────────────────────────
I think this issue is solved. @Anton-4 ?

app "test"
    packages {
        pf: "https://github.com/roc-lang/basic-cli/releases/download/0.4.0/DI4lqn7LIZs8ZrCDUgLK-tHHpQmxGF1ZrlevRKq5LXk.tar.br",
    }
    imports [
        pf.Stdout,
    ]
    provides [main] to pf

main = Stdout.line "foo"

fn : { x : Str } -> Str
fn = \{ x ? ""} -> x

% roc dev test.roc

── TYPE MISMATCH ──────────────────────────────────────────────────── test.roc ─

The 1st argument to fn is weird:

13│  fn = \{ x ? ""} -> x
           ^^^^^^^^^

The argument is a pattern that matches record values of type:

    { x ? Str }

But the annotation on fn says the 1st argument should be:

    { x : Str }

────────────────────────────────────────────────────────────────────────────────

1 error and 1 warning found in 17 ms.

You can run the program anyway with roc run test.roc


Alpha fade combat status

hey,
could you be so kind and advice me where (or could it be done) to configure the alpha fade option for player/target? Asking this, as i use your unitframes on almost mid screen with some auras, and need to adjsut this.
any help will be much appreciate
thanks in advance

Yeah it's a good idea, not quite sure how to handle it though. When should the frames be hidden?
Out of combat, have a target, not at max health?

out of combat, no target, full hp is a good start


[Bug] Blank page loads when app is forked or imported

Description
Blank page loads when app is forked or imported
Steps to reproduce the behaviour:

Fork an app and observe empty page being loaded
Import an app and observe an empty page being loaded

Important Details

Version: Cloud
OS: Win10
Browser: Chrome
Environment: Release

@ramsaptami can we close this?

We can close this now. The RTS update seems to have fixed things right now. I'm able to fork/import apps successfully.


Modify the header menu bar

Describe the bug
The shape of the header menu bar changes significantly when viewed on smartphones/small screen devices.
To Reproduce
Steps to reproduce the behavior:

Make narrow screen in developer mode
Click on the upper-right humberger menu

Expected behavior
The hamburger menu is intact and each menu is nicely displayed.
Screenshots

The component is supposed to be in the red box

Desktop (please complete the following information):

OS: Windows
Chrome

Additional context
One of the possible solution is to change the way the menu bar is displayed on smartphones and other devices

e.g. dropdown button/Offcanvas

I found out it's difficult to solve this problem, and the priority now should be dealing with i18n, so currently decided to close this issue.


Hide GeoJson* interfaces and replace with Azure.Core.GeoJson for Azure.Maps.Search

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

/check-enforcer evaluate

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Maps.Search


Support payment free order request as feature toggle

Needed to allow https://github.com/all3dp/printing-engine/issues/328

Use this query parameters:
http://localhost:3000/?feature:invoice&invoice_key=geheimeschnitzelparty

https://print.all3dp.com?feature:invoice&invoice_key=rovbanan-schnitzel-party


Add tests for cluster subcommand

Adds basic BATS tests for cluster subcommand.  Doesn't assume anything about the running cluster, other than there is one (accessible via STORAGEOS_HOST)

May be my misunderstanding, but don't the BATS tests here require run $prefix to ensure they actually get run on the remote hosts? Or is this the desired behaviour for some reason?

@JoeReid yes, quite possibly.  I was running them on my laptop going to a remote cluster (also on my laptop), just using the STORAGEOS_HOST var.  I don't think these tests needed to be run on the cluster itself so I left that out.  What I'm unsure about is whether the CLI binary will be up-to-date on the local machine and whether I can reply on the binary in the PATH.

@croomes Not if we want to also be able to run the BATS locally. I'm not sure about the Jenkins environment but my assumption is that it won't work there either as there will be no special behaviour around using the binaries built from the new CLI_BRANCH env_var and the old VERSION env_var.

I have POC'ed this branch on the release/0.8 pipeline to prove that it shouldn't break the pipelines, and the release candidate passes these tests.

Ok. If you haven't seen it yet, it's possible to specify the specific branch for any pipeline, you just have to edit the config_build.groovy to do it - it's not surfaced in the pipeline-add-product-build-branch job yet.
If you're satisfied it won't break feature_etcd=true branches, I'm good with it.


Skip Version Verification and Update in BOM Releases

Updates the BOM archetype YML to skip version verification and update during the release pipeline. This is done as YMLs are released on a different cadence and won't be using the same versions listed in the versioning scripts.

/azp run java - boms


Independent props validator

What problem does this feature solve?

Reduce packet size

not every component need it.

Reused validator

If I want to validate the params. I don't need to introduce another validator

What does the proposed API look like?
const Vue = require('vue');

// defined customer validator
Vue.validator = function (schema, input){
  //
}

// run validator
Vue.validate({
  name: {
    type: String,
  },
  age: {
    type: Number,
  },
});

Removing a feature is a breaking change so we won't do it in 2.x.
It does not reduce much packet size, if any.


Additional localization needs

Is your feature request related to a problem? Please describe.
We have launched a new set of languages on our website, and found that the Adyen SDK does not support these languages. As a result, we have to fall back to English, which is not a great customer experience.
Describe the solution you'd like
We would like to add translations for the following locales:
bg-bg,
ca-es,
et-ee,
lv-lv,
lt-lt,
sr-rs,
sl-si,
uk-ua,

Is this doable on Adyen's side? We could also translate this file with professional translators ourselves and contribute to this SDK, but would need a confirmation that the translations will indeed be added if we provide them.
Describe alternatives you've considered
Forking the library, but it won't change our approach and others can benefit from having the translations, too.

Hello @huguenin
Thank you for the question. As far if you translating these and creating a PR it wouldn't work for our translation workflow. What happens is that we would need to enable these languages as part of our translation pipeline, since it's likely they will have changes in the future. Therefore this is product decision.
I have sent this request to product, I will updated you if there's a decision about any of these languages.
That being said what I would recommend is to use these translations as custom translations, you can learn more in the docs: Web Integration Step 4 > Localisation.
Hope this helps.

Thank you @m1aw @sponglord I appreciate the input! This should be a workable way forward for us. Could you additionally provide guidance on how the localizations for adyen-web are best transferred to adyen-ios and adyen-android, and if these offer similar capabilities? From our research, it seems like the translations are structured differently, and it would be good to know if there are any guidelines on how to re-use localized strings across platforms.

@huguenin
FYI: In v6 we will be adding the languages: Catalan, Icelandic, Bulgarian, Estonian, Latvian and Lithuanian
Some of these are languages you've requested - these have coincided with other requests we've had for these localisations.
Regarding the remaining translations (Serbian, Slovenian and Ukrainian) - we have a policy of waiting for multiple requests for a language before we add it.
In the meantime @m1aw detailed how you can add these yourself.
Once the new localisations have been created we will inform the iOS & Android SDK teams and they will be able to add these to their products in a new releases.

Thank you @sponglord we are looking forward to those changes! What I am still not sure about is how we can best tackle localization changes across all three SDKs (web, iOS, Android) - how do you handle this? I'd imagine most of the strings are shared, but I haven't seen a centralized source for the translations. Do you translate for each SDK in isolation? And are the new languages that you've mention also coming for iOS and Android, or only web? What's the expected release date for V6?

@sponglord thanks for the quick response! It would be very beneficial for us if we could implement our translations using a more centralized solution as well; I understand the private repository you've mentioned and the underlying build process are probably not easy to make public and replicate for our customizations. What I would appreciate is if you could share the underlying principles - for example, are the translation keys being used identical across the three platforms/is no further transformation applied to import them into the apps? If so, could the current file be provided? What we would like to achieve is share a single sheet with our localization department to then import the new translations in all three SDKs - without doing double or even triple work.

@huguenin

are the translation keys being used identical across the three platforms/is no further transformation applied to import them into the apps... we would like to achieve is share a single sheet with our localization department to then import the new translations in all three SDKs

I'm afraid that you want is currently not possible - we are 3 separate projects, with 3 separate open-source repos, and 3 different ways of working and implementing.
We do share a centralised repo for our translations but these strings are then applied & transformed in different way for each projects. Although there have been some discussions on aligning this process - they are very much in their early days; and nothing will be changing around this process any time soon

@sponglord I understand. Thank you for the clarification! I do want to point out this would be an important step forward for Adyen and it would makes things easier on our end, but it's clear this won't be in place today nor tomorrow. With that in mind, I'll close this issue and trust you and the team will keep it in mind as you continue to evolve the platform.


Link is broken

This link in the main page is broken
... generating the in silico Hi-C maps can be found [here](https://github.com/junioreif/OpenMiChroM/blob/Tutorials/Tutorial_Single_Chromosome.html)

Single Chromosome Simulation tab on readthedocs also with broken links.


Question: How to validate value props with complex object only when it contains required rules?

Versions:

VueJs: v2.5.16
Vee-Validate: v2.1.0-beta.9

Description:
Is possible validate value with complex object only when it has required rules?
e.g. A date range check range is valid only when it contain required rule.
Steps To Reproduce:
https://codesandbox.io/s/l211pn8n0l

It is possible but first, you would need to define what is an invalid date range since you've decided to combine them into 1 input.
A few constrains would be:

Both fields must be not empty.
Both fields must have valid dates.
Start date should be always before the end date.

I've handled the first case by invalidating the value emitted when any field is empty, this is because required will consider an object as a valid value so you would need to invalidate/transform the value like this:
if (!val || !val.begin || !val.end) {
  val = null; // invalidate the value.
}

this.$emit("input", val);

https://codesandbox.io/s/15ln0505q
It's up to you to handle the other cases, but a custom validator would be better here since you are dealing with a custom object (value type).


NamedArguments: Exclude Lambdas

The rule or changes you're looking for might have already been suggested!
Please search in the issues before creating a new one.
Expected Behavior of the rule

When I configure the rule NamedArguments with threshold: 1 I start getting warnings for lambda functions as well
Named arguments are required for function invocation with many parameters.
require(n == 2) {
  "N is not 2"
}

Context

Can we have a configuration to ignore lambdas?

I agree, that this does not feel right. But it may not be as easy as that. Consider a function that takes multiple lambdas as arguments. In such a case I want (most likely) all of them to named.
fun doSomething(onSuccess: (String) -> Unit, onError: (Exception) -> Unit) {
    // ...
}

I think the rule should exclude a single trailing lambda from counting towards the threshold.
I vote to change the rule without an additional config parameter.

We could have a new rule to avoid trailing lambda notation in cases that there are multiple lambdas at the end... But for this rule I agree that the trailing lambda shouldn't count towards the threshold.


UTF-8 MISO Error

import gridstatus
miso = gridstatus.MISO()
miso.get_interconnection_queue()

This code returns the following error, unknown if an issue with the API or MISO:
Traceback (most recent call last):
  File "c:\Users\User\Desktop\Code\help.py", line 3, in <module>
    miso.get_interconnection_queue()
  File "C:\Users\User\AppData\Local\anaconda3\Lib\site-packages\gridstatus\miso.py", line 304, in get_interconnection_queue
    data = json.loads(raw_data.read().decode("utf-8"))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\User\AppData\Local\anaconda3\Lib\json\__init__.py", line 335, in loads
    raise JSONDecodeError("Unexpected UTF-8 BOM (decode using utf-8-sig)",
json.decoder.JSONDecodeError: Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0)

Just appeared in the last few hours. Similar is occuring with all_queue requests.
Upon further inspection, it seems like MISO has changed their reporting format for date-time values, as I am having trouble accessing the info directly using the link. Unsure how to fix though, I will leave that up to you all.

Thanks for letting us know. We are currently looking into a MISO outage so that may be related.

https://www.misoenergy.org/planning/resource-utilization/GI_Queue/gi-interactive-queue/
Thanks for getting right on it! Does seem to be a MISO issue not Grid Status.

Thanks for reporting the issue! MISO data is back up and your code snippet worked for me. If you confirm, I'll close this out.

Closing as the issue was related to MISO not gridstatus.


ported_syntax_1c_verb-Causal is overall not good

Partly due to #265, which is quite common, but also due to a number of other issues, the vast majority of ported_syntax_1c_verb-Causal extractions are incorrect. Since this rule accounts for ~18% of all extractions, putting some effort into improving it would make a big difference.
I found many cases where a causal relation was warranted like:

supplementation of work oxen is likely to lead to improved tillage
job-seekers leading to low real wage levels
political instability have themselves contributed further to difficulties
CO2 concentrations will lead to complex
campaign also contributed to peace and security
access to food have contributed to political instability

but in each of these cases, the cause and effect were flipped i.e. tillage causes supplementation of work oxen.
There are also a large number of cases where there isn't a causal relation mentioned but we get extractions from sentences like:

hunger has spread to locations
remote rural locations that had limited to no basic services
searches were limited to publications in Popline

Then I found some cases where the causal relation is essentially correct but the polarity of one of the arguments is incorrect:

Hot days induced by precipitation -> here "hot days" for some reason comes with a negative polarity

thanks, I'll dig into these -- this is helpful!
On Thu, Apr 5, 2018 at 11:58 PM, Benjamin M. Gyori<EMAIL_ADDRESS>
wrote:

Partly due to #265 https://github.com/clulab/eidos/issues/265, which is
quite common, but also due to a number of other issues, the vast majority
of ported_syntax_1c_verb-Causal extractions are incorrect.
I found many cases where a causal relation was warranted like:

supplementation of work oxen is likely to lead to improved tillage
job-seekers leading to low real wage levels
political instability have themselves contributed further to
difficulties
CO2 concentrations will lead to complex
campaign also contributed to peace and security
access to food have contributed to political instability
but in each of these cases, the cause and effect were flipped i.e.
tillage causes supplementation of work oxen.

There are also a large number of cases where there isn't a causal relation
mentioned but we get extractions like:

hunger has spread to locations
remote rural locations that had limited to no basic services
searches were limited to publications in Popline

Then I found some cases where the causal relation is essentially correct
but the polarity of one of the arguments is incorrect:

Hot days induced by precipitation -> here "hot days" for some reason
comes with a negative polarity

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/issues/266, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFIniSwgYifiXrWoeryOof9NO8reFEOzks5tlxIngaJpZM4TJlaW
.

Most of this issue has been resolved as of 93ce22e (everything in the first list above is correct now)! In addition, this rule now only accounts for 5% of extractions. However, the issues I listed in the two latter lists are still there, and so I'm not closing this yet.

thanks! very much appreciated!
On Fri, Apr 6, 2018 at 5:02 PM, Benjamin M. Gyori<EMAIL_ADDRESS>wrote:

Most of this issue has been resolved as of 93ce22e
https://github.com/clulab/eidos/commit/93ce22ed4d570a3c136a14a49b68fe1e5e11a211
(everything in the first list above is correct now)! In addition, this rule
now only accounts for 5% of extractions. However, the issues I listed in
the two latter lists are still there, and so I'm not closing this yet.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/issues/266#issuecomment-379414973, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFIniQrgBxkDVeBHDsM4WerAhezGUDLaks5tmAH_gaJpZM4TJlaW
.

I fixed list 2 with a PR, but couldn't replicate list 3 (i.e., Hot days induced by precipitation).  If you have problems still, can you reopen with another example?
thanks!


64bit cleanup

This is just some general cleanup for https://github.com/sidorares/node-dbus/pull/152. I filled in some test conditions and added a note to the readme. I also realized that since options only had one truthy default, it was probably not necessary to bring in object-assign to merge that one object. (I left an object assign line commented out in case object assign gets added later or nodejs 0.12 is dropped.) I also realized that the marshaller was parsing to Long objects twice (in check and then again) so I just had check return the Long to avoid the redundant conversion. Also had Long conversion handle instances of String and Number just to be thorough. Hope that has it covered for the time being.

Might be overkill, but I threw in marshalling of hexadecimal strings prefixed with '0x'. I should probably stop fiddling with it now :)
If anyone has special string needs, they can probably use Long.js fromString directly in their own code and just pass the Long.js object without bloating this library too much.

thanks, lgtm!


Missing multibyte extension in composer.json

As you are using the multibyte extension in the string wrapper, this should also be mentioned in the composer.json file, like described in this blog post. I am running a project on heroku using this library, and I have to add this extension now to my project, although it would belong here.
Is there any reason not to add this? Otherwise I would provide a PR.

It can be added under the suggest section, but should not be under the require section. The reason is because all functionality in zend-stdlib is opt-in, and many components are using only ArrayUtils or the various SPL extensions.

Ok, we are using the zend search library, so should it be there in the require section?

@danrot Add it to the require section of your application; since your application requires it, that's the place to put it.

@danfinnie should be added to https://github.com/zendframework/ZendSearch, although that library is not maintained

@Ocramius Ok, any chance to add it there although it is not maintained? And I am just curious, but do you know any maintained alternative?

Not aware of any

Ok, then I gonna close this issue... Maybe I'll try to add that later to zend search, if that is ok, and there is any chance of anybody merging it.


for x in json_data["errors"]: KeyError: 'errors'

I am using Zenora with flask and hosting it with gunicorn. Everything is fine when i locally test it, but when hosting I am always getting this error:
Traceback (most recent call last):
File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
worker.init_process()
File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 134, in init_process
self.load_wsgi()
File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
self.wsgi = self.app.wsgi()
File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
return self.load_wsgiapp()
File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
return util.import_app(self.app_uri)
File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/util.py", line 359, in import_app
mod = importlib.import_module(module)
File "/app/.heroku/python/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/workspace/mcoc.py", line 19, in <module>
client = APIClient(token=token, client_secret=client_secret)
File "/app/.heroku/python/lib/python3.9/site-packages/zenora/client.py", line 57, in __init__
self._validate_token()
File "/app/.heroku/python/lib/python3.9/site-packages/zenora/client.py", line 61, in _validate_token
self.users.get_current_user()
File "/app/.heroku/python/lib/python3.9/site-packages/zenora/impl/userapi.py", line 55, in get_current_user
payload = Request.make_request(self._token, url, "GET")
File "/app/.heroku/python/lib/python3.9/site-packages/zenora/request.py", line 83, in make_request
return req.execute()
File "/app/.heroku/python/lib/python3.9/site-packages/zenora/request.py", line 74, in execute
return raise_error_or_return(r)  # type: ignore[return-value]
File "/app/.heroku/python/lib/python3.9/site-packages/zenora/errors.py", line 49, in raise_error_or_return
for x in json_data["errors"]:
KeyError: 'errors'

I am pretty sure this is some error/bug coming from errors.py but can't seem to find out. I have double checked my credentials and there seems to be nothing wrong that.

Thanks for making this issue, I will take a look at it

Thanks for making this issue, I will take a look at it

Thnx for replying! But seems like this issue is fixed!
Thank you


Is the project dead or not maintained

Hello,
Is the project still being maintained? I don't see activity and even the simplest of issues are not fixed (eg: 534).
If so, thank you for your effort so far, if not, how can I help?

The project is maintained, but mostly only the critical issues (when it gets incompatible with new IntelliJ versions) are fixed right now.
You are welcome to send a PR, all the PRs get reviewed.


TS: fix translation of some binary expression

TypeScript BinaryExpressions were always mapped to the Java class BinaryExpression, but in some cases the subclasses AssignmentExpression and LogicalExpression were needed.
This doesn't affect the QL AST, but the CFG extractor relies on the difference. Most notably, short-circuiting and guard node insertion didn't work for logical operators.
🤷♂

No difference for security queries on typescript.slugs.

As Esben says, an extractor version bump would be nice, but isn't essential since TypeScript isn't trap-cached anyway. If there aren't (m)any changes, we don't even necessarily need a change note, so LGTM, but PR checks haven't run yet.

Looks like I forgot to push my changes; they're up now but note that GitHub's timeline is a bit confusing since the commits are 14 days old.

@esben-semmle, do you feel that your suggestions have been adequately addressed?


Fixed https://github.com/couchbase/couchbase-lite-android/issues/888

Issue: Crash during 1.1 to 1.2 migration causes permanent loss of data
Changes:

Instead of migrate to actual new name, create temporary database and migrate to temporary db, then rename temporary name to actual name.
If temporary database exists, rollback it to old name before continue to migration. Rollback actually rollback attachment files.
Because of calling backOut() for rollback, importData() method do move file attachment instead of copy file. <- No change.

Do we also need to handle the current broken database upgrade that user is encountering?

If user does not use the app after crash during db upgrade, recovering it is useful. But If user has kept using app after data loss, recovering could cause another data loss. Because of this, I did not add the code to handle current broken database. What do you think?

Actually I don't know the best way to handle this case. Based on the issue (https://github.com/couchbase/couchbase-lite-android/issues/888), it seems like users want to recover the data.

@snej could you do a second review and provide your opinion about handling the current broken database after database update crash?


Improve error message for empty start_parameter.

This option was renamed more than a year ago. Bots that are developed today are likely to work with the updated Bot API specification, i.e. use start_parameter instead of the previous option switch_pm_parameter.
The error message should be updated in order to be more helpful. This pull request does that.

Thank you, @KnorpelSenf!

Happy to help 🎉


Backup list operation should ignore badly named files

We should ignore badly named files instead of erroring, since the files don't match our search pattern we don't need to concern ourselves with them (we filter them out)
depends on longhorn/backupstore#42
longhorn/longhorn#1410

will update to released backupstore version once longhorn/backupstore#42 is merged

@yasker updated to the release version


docs: Add steps for configuring message retention policy in the docs.

This PR adds the steps for configuring message retention policy
for an organization and for individual streams in message retention
policy docs.
Fixes #15495.

GIFs or Screenshots:

Merged, thanks @sahil839!


path/to/binary is the required argument

Thanks! I see that you've also updated the docs, but those are autogenerated, and the timestamp should be updated as well. Can you please run go run ./scripts/gen-usage-docs.go please?

@custa ping.

Closing via https://github.com/derekparker/delve/commit/a90893f53284c7a699c0a2f20af326664b5bd1b8 -- thanks!


Migrations do not give sufficient information about error cases

I'm unsure if we ever actually expect migration failures to be handled. Perhaps we should actually be unwraping from these functions. If not, we need to make sure our errors have sufficient information to be useful without a stacktrace, and not: QueryError(DatabaseError("near \"(\": syntax error"))

Today our output looks like this:

We should be able to assume that errors will only occur because of a bad connection, or an error running a specific migration. It's clear in the output when a connection error occurred (though the output could be better here), and when an error occurs running a migration, it immediately follows the migration version. I'm not sure that there's much else we can do here.


Where do I put the PhantomJS binary?

In the PATH, in the directory?
You'd think this would be in the install instruction :wink:

In the Path. I'll leave this issue open to update the documentation, and see about exposing a way to specify the location.


In version 1.6.0-rc02, Chinese fonts are garbled

Describe the bug
Platform:Mac Sonoma 14.3.1
Browser:Microsoft Edge 121.0.2277.128(arm64)
Chinese fonts are loaded with garbled characters
Affected platforms

Web (K/Wasm) - Canvas based API

Thanks for an Issue.
I will ask our colleagues to help with it.

Duplicate of: https://github.com/JetBrains/compose-multiplatform/issues/3967

Consider using a workoarund for now: https://github.com/JetBrains/compose-multiplatform/issues/3967#issuecomment-1846879073
The proper fix is planned TODO.

Consider using a workoarund for now: #3967 (comment)
The proper fix is planned TODO.

ok，it's work!

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Update StringArray.i

Two new functions have been added:
StringArrayHandle_append_string: This function appends a new string to the existing StringArray. It takes the handle of the StringArray and the content of the string to be appended. The function returns 0 on success and -1 in case of failure.
StringArrayHandle_clear: This function clears the content of the StringArray. It takes the handle of the StringArray and removes all the stored strings.

@microsoft-github-policy-service agree

@microsoft-github-policy-service agree company="Microsoft"

StringArrayHandle_append_string: This function appends a new string to the existing StringArray. It takes the handle of the StringArray and the content of the string to be appended. The function returns 0 on success and -1 in case of failure.
StringArrayHandle_clear: This function clears the content of the StringArray. It takes the handle of the StringArray and removes all the stored strings.
These are the features which add new features to it.

he code snippet provided earlier is a SWIG interface file that wraps the StringArray class for usage in the LightGBM project.

the code snippet provided earlier is a SWIG interface file that wraps the StringArray class for usage in the LightGBM project

That does not explain how these added methods improve LightGBM.
And in fact these changes do not even compile successfully on macOS (link), Linux (link), or Windows (link)
[ 96%] Building CXX object CMakeFiles/_lightgbm_swig.dir/java/lightgbmlibJAVA_wrap.cxx.o
/Users/runner/work/1/s/build/java/lightgbmlibJAVA_wrap.cxx:967:57: error: no member named 'append' in 'StringArray'
        return reinterpret_cast<StringArray *>(handle)->append(std::string(content));
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
/Users/runner/work/1/s/build/java/lightgbmlibJAVA_wrap.cxx:977:50: error: no member named 'clear' in 'StringArray'
        reinterpret_cast<StringArray *>(handle)->clear();
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
2 errors generated.
make[2]: *** [CMakeFiles/_lightgbm_swig.dir/java/lightgbmlibJAVA_wrap.cxx.o] Error 1
make[1]: *** [CMakeFiles/_lightgbm_swig.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 98%] Linking CXX executable /Users/runner/work/1/s/lightgbm
[ 98%] Built target lightgbm
make: *** [all] Error 2

I'm closing this.

From this, #5911, and your recent GitHub history, it appears to me that you're just getting started learning how to contribute to open source projects. Welcome!
Please:

follow the advice and read the links provided in https://github.com/google/guava/pull/6525#issuecomment-1571544495
try to test your changes locally before opening pull requests
stop opening pull requests here with changes whose benefit you cannot explain


Unable to build the solution

Hello!
I see that just two days ago you implemented .net standard 2.0 support, congrats on that!
I'm trying to implement some djvu reading functionality in my UWP app, and i want to use this library.
However, i wasn't able to build the solution neither following the tips in readme with a command line, nor with VS2017. I get a lot of different errors, and some of them seem like there are some libraries missing in my system.
Can you please tell me if the current version works and the problem is on my side?
Also, which tools, frameworks, libraries do one need in order to build the solution or specifically .net core/.net standard projects?
Thank you!

Sorry for late reaction I have just returned from my vacations.
To build for .Net Standard 2.0 it is necessary to use at least VS 2017 v15.3 Preview 2. VS 2017 Preview currently is in Preview 4 release. The link directs to VS 2017 15.3 Community edition download. VS 2017 RTM release which has version 15.2 will not work since there is no support for .NET Core 2.0 SDK yet. I suspect it will come in RTM releases not earlier than with final release of Core .NET 2.0 RTM what is expected in fall this year. If you want to use library for UWP app it will work only with UWP 6.0 which will be released together with Windows 10 Fall Creators Update. Until then due to multiple missing APIs in netstandard1.4 which is the latest API set supported by UWP DjvuNet will not work. However, it will work on preview versions of .NET Core 2.0 SDK.
Build instructions in README are currently out of date and I have to put there all necessary info on build system changes and required build steps to enable hassle free build experience for everyone.
Build on .NET Framework v4.6.1 works out of the box for VS 2017 RTM if one follows AppVeyor continous integration script instructions which are located in .appveyor.yml file. To build for netstandard2.0 target first build for .NET Framework to restore all dependencies. Build depends on two other libraries which have to be cloned into subdirectories according to git clone instructions from .appveyor.yml
I will update both BUILD.cmd and README to reflect all this changes very soon.

Current README build description reflects what is working for netstandard2.0 and necoreapp2.0 targets. Please test .NET Core 2.0 build instructions and give feedback in case of any problems.

Thank you very much for your response, i will test it soon!


Do you know when the  ./configure file is generated?

When I get clone the httpd and going to compile it,  I get the error : cannot find the ./configure.

I have read your dockerfile , I think we are the same. But when use your docker, the file is generated. Do you know when the  ./configure file is generated? It's not in the apache's httpd source.

It's not included in the repo. Only the tarball releases contain the generated configure.

As your screenshot shows, buildconf complains that autoheader and autoconf are not installed.

We haven't found a way to have it running non-trivially yet.

We haven't found a way to have it running non-trivially yet.

What does  non-trivially  mean？
Besides, I found that after httpd is built  it seems that it cannot run which means it cannot run normally.
output:

I have test your binary in docker, it is same with me.

By non-trivially I meant processing a request and sending the response somewhere we can see. Notice that the server under test is patched and should behave somehow differently from out-of-box Apache.

By non-trivially I meant processing a request and sending the response somewhere we can see. Notice that the server under test is patched and should behave somehow differently from out-of-box Apache.

I notice that the httpd process start and exit quickly.

As I didn't use such as tcpdump to see the network data, I guess what cause the result is that the apache httpd cannot runs as normal. Wish you find the reason.
Beside, do you want to fuzz other web servers such as nginx? Maybe it is a good change to study nginx and hunting cves in it.

I'd suggest running the server manually and analyse at code level. If the patched server is to process one request and exit, such "exit quickly" behaviour is actually expected.
We're happy to fuzz other commodity web servers for research purposes, provided the engineering effort is worth it.

OK. I think that  analyse at code level is difficult and I don't know how to do it at present.
By the way, I use tcpdump to capture the lo and eth0 interface by tcpdump -i lo -s 1500 -v -w /root/123.pcap.Then, I start honggfuzz to fuzz and there is no data transfered . So I think the httpd exit with code 1 is not to out expected.
However, while there is a will, there is a way. Wish you can analyse the reason and solve it .

I'm afraid I have to give this project a low priority, until it's on the critical path of my research.

I'm afraid I have to give this project a low priority, until it's on the critical path of my research.

The same. :)

I have read the author's blog and change the fuzzing bash script:
honggfuzz  -Q  -f corpus_http1/ -w ./httpd.wordlist -- /root/Hackit/apache/dist/bin/httpd -X -f /root/Hackit/apache/dist/conf/httpd.conf.h1

You can use it and check the output log.
Now my output seems a little better than before but still have some errors such as AH00016: Configuration Failed.

Hi,
Author of honggfuzz here, I was redirected to this project througgh some issue entry in google/honggfuzz.
So, your apache is exiting early, due to some problem with configuration, I'd suggest removeing everything related to proxying there, e.g
ProxyStatus On
ProxyVia On
<Location "/proxy/">
    ProxyPass "http://<IP_ADDRESS>:8080/index.html"
    SetEnv force-proxy-request-1.0 1
    SetEnv proxy-nokeepalive 1
</Location>

Maybe it'll help. BTW, you shouldn't be seeing "EXITED, exit code: 1" during normal operation, it means that httpd is probably not even processing your requests.
As for crashes, I just tried it with newest httpd from git, and it crashed for me with the httpd.conf.h2
$ ~/src/honggfuzz/honggfuzz -P -f IN/ -- ./httpd/httpd -DFOREGROUND -f /home/jagger/fuzz/apache/dist/conf/httpd.conf.h2
------------------------[  0 days 00 hrs 00 mins 02 secs ]----------------------
  Iterations : 2,767 [2.77k]
  Mode [1/2] : Feedback Driven Dry Run
      Target : ./httpd/httpd -DFOREGROUND -f /h.....che/dist/conf/httpd.conf.h2
     Threads : 8, CPUs: 16, CPU%: 660% [41%/CPU]
       Speed : 915/sec [avg: 1,383]
     Crashes : 3 [unique: 2, blacklist: 0, verified: 0]
    Timeouts : 0 [10 sec]
 Corpus Size : 907, max: 1,048,792 bytes, init: 7,129 files
  Cov Update : 0 days 00 hrs 00 mins 00 secs ago
    Coverage : edge: 16,651 pc: 404 cmp: 186,494
---------------------------------- [ LOGS ] ------------------/ honggfuzz 1.7 /-
Size:1024 (i,b,hw,edge,ip,cmp): 0/0/0/1/0/0, Tot:0/0/0/16534/403/185248
Size:128 (i,b,hw,edge,ip,cmp): 0/0/0/1/0/0, Tot:0/0/0/16535/403/185248
Size:17865 (i,b,hw,edge,ip,cmp): 0/0/0/1/0/0, Tot:0/0/0/16536/403/185248
Size:1024 (i,b,hw,edge,ip,cmp): 0/0/0/2/0/34, Tot:0/0/0/16538/403/185282
Size:24353 (i,b,hw,edge,ip,cmp): 0/0/0/0/0/1, Tot:0/0/0/16538/403/185283
Size:32000 (i,b,hw,edge,ip,cmp): 0/0/0/33/0/491, Tot:0/0/0/16571/403/185774
Size:238 (i,b,hw,edge,ip,cmp): 0/0/0/0/0/3, Tot:0/0/0/16571/403/185777
Size:8631 (i,b,hw,edge,ip,cmp): 0/0/0/2/0/1, Tot:0/0/0/16573/403/185778
Size:1024 (i,b,hw,edge,ip,cmp): 0/0/0/1/0/1, Tot:0/0/0/16574/403/185779
Size:1024 (i,b,hw,edge,ip,cmp): 0/0/0/1/0/1, Tot:0/0/0/16575/403/185780
Size:53 (i,b,hw,edge,ip,cmp): 0/0/0/1/0/0, Tot:0/0/0/16576/403/185780
Size:127 (i,b,hw,edge,ip,cmp): 0/0/0/0/0/2, Tot:0/0/0/16576/403/185782
Crash: saved as './SIGSEGV.PC.ade00e.STACK.f022cd7e1.CODE.1.ADDR.0x70.INSTR.mov____(%r14),%rbx.fuzz'
Size:229 (i,b,hw,edge,ip,cmp): 0/0/0/1/0/0, Tot:0/0/0/16577/403/185782
Size:429 (i,b,hw,edge,ip,cmp): 0/0/0/8/1/90, Tot:0/0/0/16585/404/185872
Size:304 (i,b,hw,edge,ip,cmp): 0/0/0/1/0/1, Tot:0/0/0/16586/404/185873
Size:59 (i,b,hw,edge,ip,cmp): 0/0/0/1/0/0, Tot:0/0/0/16587/404/185873
Size:578960 (i,b,hw,edge,ip,cmp): 0/0/0/0/0/4, Tot:0/0/0/16587/404/185877
Size:57 (i,b,hw,edge,ip,cmp): 0/0/0/2/0/1, Tot:0/0/0/16589/404/185878
Size:287 (i,b,hw,edge,ip,cmp): 0/0/0/2/0/3, Tot:0/0/0/16591/404/185881
Size:64246 (i,b,hw,edge,ip,cmp): 0/0/0/1/0/0, Tot:0/0/0/16592/404/185881
Size:128 (i,b,hw,edge,ip,cmp): 0/0/0/2/0/31, Tot:0/0/0/16594/404/185912
Size:1024 (i,b,hw,edge,ip,cmp): 0/0/0/2/0/1, Tot:0/0/0/16596/404/185913
Size:393508 (i,b,hw,edge,ip,cmp): 0/0/0/52/0/565, Tot:0/0/0/16648/404/186478
Crash (dup): './SIGSEGV.PC.ade00e.STACK.f022cd7e1.CODE.1.ADDR.0x70.INSTR.mov____(%r14),%rbx.fuzz' already exists, skipping
Size:461 (i,b,hw,edge,ip,cmp): 0/0/0/1/0/3, Tot:0/0/0/16649/404/186481
Crash: saved as './SIGSEGV.PC.ade00e.STACK.f022cd7e1.CODE.0.ADDR.(nil).INSTR.mov____(%r14),%rbx.fuzz'
Size:429 (i,b,hw,edge,ip,cmp): 0/0/0/0/0/2, Tot:0/0/0/16649/404/186483
Size:779 (i,b,hw,edge,ip,cmp): 0/0/0/1/0/4, Tot:0/0/0/16650/404/186487
Size:8662 (i,b,hw,edge,ip,cmp): 0/0/0/0/0/6, Tot:0/0/0/16650/404/186493
Size:30852 (i,b,hw,edge,ip,cmp): 0/0/0/0/0/1, Tot:0/0/0/16650/404/186494
Size:20 (i,b,hw,edge,ip,cmp): 0/0/0/1/0/0, Tot:0/0/0/16651/404/186494
Size:59839 (i,b,hw,edge,ip,cmp): 0/0/0/0/0/1, Tot:0/0/0/16651/404/186495
^CSignal 2 (Interrupt) received, terminating
Terminating thread no. #1, left: 8
Terminating thread no. #5, left: 7
Terminating thread no. #2, left: 6
Terminating thread no. #3, left: 5
Terminating thread no. #7, left: 4
Terminating thread no. #4, left: 3
Terminating thread no. #6, left: 2
Terminating thread no. #0, left: 1
All threads done
Summary iterations:2810 time:3 speed:936


Cannot build with Gradle 8.x

After upgrading Gradle to 8, I get an error below when trying to build.
If I understand correctly, all plugins must now declare a namespace in build.gradle
FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':flutter_asa_attribution'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
   > Namespace not specified. Specify a namespace in the module's build file: /Users/lukasnevosad/.pub-cache/hosted/pub.dev/flutter_asa_attribution-0.0.3/android/build.gradle. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

     If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Failed to query the value of property 'buildFlowServiceProperty'.
> Could not isolate value org.jetbrains.kotlin.gradle.plugin.statistics.BuildFlowService$Parameters_Decorated@5c23b7fc of type BuildFlowService.Parameters
   > A problem occurred configuring project ':flutter_asa_attribution'.
      > Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
         > Namespace not specified. Specify a namespace in the module's build file: /Users/lukasnevosad/.pub-cache/hosted/pub.dev/flutter_asa_attribution-0.0.3/android/build.gradle. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

           If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================

BUILD FAILED in 1s

I'm stuck on the same issue. Have you managed to resolve it? Could you please share your solution?


Instance: Context menu (label, copy label, section, rows)

This ticket is for the menu that will be used by the dropdown and selector.
Instances

[ ] label
[ ] copy–label
[ ] section
[ ] row
[ ] row-interactive
[ ] row-buttons
[ ] context-menu (Radix component)

More resources
All components documentation

@fbwoolf @markmhendrickson ticket has been updated, please review it and let me know

To rename everywhere to content menu (we don't use context menu's anywhere in the app currently).

From a development perspective, this is quite a broad task to tackle as it touches content from many different components.
I wonder if "ActionItem" might be a better name as it suggests interactivity. Suggesting waiting until Storybook is merged so these can be created and reviewed in the tool.
I'm not sure what "Section" means here. Is this content for within an input? If so, I don't think we need a component for this?

@kyranjamie thanks for the review.
Section is the equivalent of " <Select.Label>Vegetables</Select.Label>" in radix: https://www.radix-ui.com/themes/docs/components/select

@kyranjamie in relation to the naming, if we could keep the initial root the same for all would be helpful for Figma documentation.

Can we follow the same naming as Radix, and call it Select.Label?

I believe this touches the Dropdown Menu and Select components I've built already? I have built the basic list item here and the select label: https://github.com/leather-wallet/extension/pull/4765

Cool. let us know which names you will be using on the frontend so we can also update on Figma

@kyranjamie @fbwoolf Just checking in: Did you already settle on the names?

@kyranjamie @fbwoolf Just checking in: Did you already settle on the names?

We followed what @kyranjamie mentioned ^ Select.Label and DropdownMenu.Label.

@mica000 is this ready to work on as a possible first step here? https://github.com/leather-wallet/extension/issues/4313
For context, Pete asked me to start with rebuilding the settings menu.

To give context here. I'll be happy if we can even just swap out the settings menu components without doing a big re-style now if they mostly look the same.
I need to change the app Header and the settings menu is a part of that. At the moment, clicking to show the menu touches some logic in the state using jotai atoms (useShowSettingsStore).
That logic is a bit complex so I would like to put efforts into instead adding the new menu and then making things work

@fbwoolf how are we re-naming item-interactive, item–buttons and item-address?

Would decompose issue as follows:
Notes from call

Create reusable styles for a kind of InteractiveRow component, that can be shared between Radix and our own uses
Create reusable layout-only components to handle the repeating layout patterns
Create new buttons for the item buttons


[OA] Light editing on llm serving template

Small format / wording tweaks on intro page from user walkthrough
Move sub-pages into examples/ folder
Convert .md to .ipynb
Make sure all examples have aws and gcp yamls

Ok, gonna merge and iterate because it's kind of annoying to keep syncing changes between my laptop and workspace


Upgrade to Embedded hal 1.0.0

Upgrade deps for embedded-hal 1.0.0.

Seems we are good to go :)))

Very nice, thanks a lot. I'm currently still holding off on merging this PR because it means all HALs still on 0.2.x will no longer be supported. Trying to coordinate with other people right now to ensure a smooth transition and will merge once everyone is ready.

I think this is compat layer that is supposed to fix this particular problem:
https://github.com/ryankurte/embedded-hal-compat


improve e911 robustness

update the dial identifier argument, is it correct? Make it match docs. Are we just getting a random sip outgoing channel?
SIP/exten@voipms-ctrlh
SIP/${EXTEN}@${outgoingchannel}
update e911 info for each provider/DID to be "Payphone User"
is there a way to find out the e911 address of a call? The voip.ms recording just indicates that 911 is working.
use the same dial string for 911 as for other calls. Safer, the filter and timeout won't affect 911.

voip.ms had an 'e911 default caller ID' which was sent when caller ID did not match any 911 DIDs. Set to none.