Two differents image of the same text, a one that perfecly function, the other one absolutly no.

Environment

Tesseract Version: 4.00.00Alpha
Commit Number: ?
Platform: Windows 64-bit

Current Behavior:
I have two image with the same text. I think that the first one (Image1) is more complicated that the second one (Image2).

For the first one, tesseract return the perfect text, and for the second one, a full-wrong text.
Image1 return :
"
The (quick) [brown] {fox} jumps!
Over the $43,456.78  #90 dog
& duck/goose, as 12.5% of E-mail
from<EMAIL_ADDRESS>is spam.
Der ..schnelle" braune Fuchs springt
uber den faulen Hund. Le renard brun
«rapide» saute par-dessus le chien
paresseux. La volpe marrone rapida
salta sopra il cane pigro. El zorro
marron rapido salta sobre el perro
perezoso. A raposa marrom rapida
salta sobre o cao preguigoso.
"
Image 2 return :
"
mm bui mert Teel o i lae ht Tok Cent
E w al 9 Count To arial te Ifo Gr Cao
be fate od" Ct mre tn ns have rar nn t Phe
nits redtt ln anion a ee mom
E i Aimin Tom ania s
"
Expected Behavior:
I think that the second image should return a more accurate return, isnt'it ?
Suggested Fix:
A issue of font ? A issue of size ?

Read the docs
2, Use the resent version of project
Use user forum for asking question.


Create 2255 trans main power till open info

Why:
Closes [issue link]

What's being changed:

Check off the following:

[ ] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[x] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

make trans power electric number tiil open requst
5522 by oppiste anbmer circule


[BUG] conf.yml is there in public/ but it is not read...

Environment
Self-Hosted (Bare Metal)
Version
2.1.0
Describe the problem
I'm running the non-docker version of Dashy with "npm start". Everything seems to run fine: I'm able to customize the dashboard  with the links to my web apps, and save them to the disk, but if I stop and run the service again, the public/conf.yml seems not to be read. Everything is there, saved, but dashy doesn't read it.
Additional info
No response
Please tick the boxes

[X] You are using a supported version of Dashy (check the first two digits of the version number)
[X] You've checked that this issue hasn't already been raised
[X] You've checked the docs and troubleshooting guide
[X] You agree to the code of conduct

Am working on this atm
But in the meantime, just run yarn build
Or from the UI, go to Config → Rebuild.

Linked to #799

Hi
This problems seems to be related to dashy not automatically rebuilding on changes, see #1479 and https://github.com/Lissy93/dashy/issues/1290#issuecomment-1884249018
A new release has just been published, which should fix this issue, so please upgrade to the latest version.
If this is not the case just respond back to this ticket and I'll reopen this issue.
Thanks and have a nice day.


Add startup option "--public_credentials_only" and on use do not encrypt (at least) issue_credential messages

Use the flag to reduce the pack()ing of issue_credential messages.  Could also be used for eliminating the pack()ing of offer_credential and request_credential messages.

Done and I think we agree this is a bad idea.  Correct?
I'm closing, let me know if we should reopen.


upgrade stuck in postinst

Ubuntu xenial 16.04 with the lxd-stable PPA. I had 2.15-0ubuntu6~ubuntu16.04.1~ppa1 and it's being upgraded to 2.16-0ubuntu1~ubuntu16.04.1~ppa1.
My morning dist-upgrade got stuck upgrading lxd:
Setting up libimage-magick-q16-perl (8:<IP_ADDRESS>-7ubuntu5.8) ...
Setting up libimage-magick-perl (8:<IP_ADDRESS>-7ubuntu5.8) ...
Setting up libmagickcore-6.q16-2-extra:amd64 (8:<IP_ADDRESS>-7ubuntu5.8) ...
Setting up lxd-client (2.16-0ubuntu1~ubuntu16.04.1~ppa1) ...
Setting up lxd (2.16-0ubuntu1~ubuntu16.04.1~ppa1) ...

Progress: [ 85%] [##############################################################################################################################.....................]

 Also, maybe it's relevant, the laptop was resumed from suspend, but that's not remarkable and just works.
UPDATE
While I was filing this bug, something eventually gave up:
Setting up lxd (2.16-0ubuntu1~ubuntu16.04.1~ppa1) ...
Job for lxd-containers.service failed because a timeout was exceeded. See "systemctl status lxd-containers.service" and "journalctl -xe" for details.
lxd-containers.service couldn't restart.
Setting up perlmagick (8:<IP_ADDRESS>-7ubuntu5.8) ...
Setting up xserver-common (2:1.18.4-0ubuntu0.3) ...
Setting up xserver-xorg-legacy (2:1.18.4-0ubuntu0.3) ...
setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
Setting up xserver-xorg-core (2:1.18.4-0ubuntu0.3) ...
Setting up libruby2.3:amd64 (2.3.1-2~16.04.2) ...
Setting up ruby2.3 (2.3.1-2~16.04.2) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...

root@nsn7:~# systemctl status lxd-containers.service
● lxd-containers.service - LXD - container startup/shutdown
   Loaded: loaded (/lib/systemd/system/lxd-containers.service; enabled; vendor preset: enabled)
   Active: failed (Result: timeout) since Qua 2017-07-26 09:26:34 BRT; 3min 4s ago
     Docs: man:lxd(1)
 Main PID: 11155 (code=killed, signal=TERM)

Jul 26 09:16:34 nsn7 systemd[1]: Starting LXD - container startup/shutdown...
Jul 26 09:26:34 nsn7 systemd[1]: lxd-containers.service: Start operation timed out. Terminating.
Jul 26 09:26:34 nsn7 systemd[1]: Failed to start LXD - container startup/shutdown.
Jul 26 09:26:34 nsn7 systemd[1]: lxd-containers.service: Unit entered failed state.
Jul 26 09:26:34 nsn7 systemd[1]: lxd-containers.service: Failed with result 'timeout'.

And this is all I have in lxd.log:
root@nsn7:~# cat /var/log/lxd/lxd.log
lvl=info msg="LXD 2.16 is starting in normal mode" path=/var/lib/lxd t=2017-07-26T09:26:35-0300
lvl=warn msg="CGroup memory swap accounting is disabled, swap limits will be ignored." t=2017-07-26T09:26:35-0300
lvl=info msg="Kernel uid/gid map:" t=2017-07-26T09:26:35-0300
lvl=info msg=" - u 0 0<PHONE_NUMBER>" t=2017-07-26T09:26:35-0300
lvl=info msg=" - g 0 0<PHONE_NUMBER>" t=2017-07-26T09:26:35-0300
lvl=info msg="Configured LXD uid/gid map:" t=2017-07-26T09:26:35-0300
lvl=info msg=" - u 0<PHONE_NUMBER>6" t=2017-07-26T09:26:35-0300
lvl=info msg=" - g 0<PHONE_NUMBER>6" t=2017-07-26T09:26:35-0300

Trying to get it running now.

Can you show systemctl status lxd, please?

It's kaput:
# systemctl status lxd
● lxd.service - LXD - main daemon
   Loaded: loaded (/lib/systemd/system/lxd.service; indirect; vendor preset: enabled)
   Active: activating (start-post) (Result: exit-code) since Qua 2017-07-26 09:33:34 BRT; 37s ago
     Docs: man:lxd(1)
  Process: 26078 ExecStart=/usr/bin/lxd --group lxd --logfile=/var/log/lxd/lxd.log (code=exited, status=1/FAILURE)
  Process: 26064 ExecStartPre=/usr/lib/x86_64-linux-gnu/lxc/lxc-apparmor-load (code=exited, status=0/SUCCESS)
 Main PID: 26078 (code=exited, status=1/FAILURE);         : 26079 (lxd)
    Tasks: 10
   Memory: 412.2M
      CPU: 106ms
   CGroup: /system.slice/lxd.service
           ├─ 5201 dnsmasq --strict-order --bind-interfaces --pid-file=/var/lib/lxd/networks/lxdbr0/dnsmasq.pid --except-interface=lo --interface=lxdbr0 --listen-address
           ├─ 5361 [lxc monitor] /var/lib/lxd/containers squid-ds216
           ├─23131 [lxc monitor] /var/lib/lxd/containers slapd-provider
           ├─24332 [lxc monitor] /var/lib/lxd/containers slapd-consumer
           └─control
             └─26079 /usr/bin/lxd waitready --timeout=600

Jul 26 09:33:34 nsn7 systemd[1]: Starting LXD - main daemon...
Jul 26 09:33:34 nsn7 lxd[26078]: lvl=warn msg="CGroup memory swap accounting is disabled, swap limits will be ignored." t=2017-07-26T09:33:34-0300
Jul 26 09:33:34 nsn7 lxd[26078]: error: Unable to list containers on zpool: nsn7/lxd
Jul 26 09:33:34 nsn7 systemd[1]: lxd.service: Main process exited, code=exited, status=1/FAILURE

I'm now yielding the kill/restart hammer, trying to beat things into shape, but I might have to reboot.

Yeah, so this is the same bug as #3594. Closing this as a duplicate of it. Please track it over there.

I missed the "kaput" joke. Excellent! :)


HDI Private link doc updates 1

Change log:
Splitted /hdinsight/private-link doc into two separate docs
/private-link
/private-inbound-cluster
updated sidebar with new doc
added one new image to media for HDI
@JasonWHowell  - I am not sure why my images are not showing up in preview as well as [!NOTE] that I added. Can you cofirm accuracy there as well. Thanks.
@yanancai  for awareness

Hi @anchawl - This pull request was opened in the public repo. New content needs to be submitted in the private repo. Also, in general, PMs typically work in the private repo. Would you submit the new content and updates in a new pull request in the private repo? We'll close this one.
Let me know if you need information about working in the private repo; I can send you a link to the new Get started contributor guide.
Thanks!

I'll send a link to the Get started guide via email; it has detailed information about working in the private repo.


'libpq-fe.h' file not found when compiling via Xcode

I'm not sure if this belongs here or on the main Vapor project, but hopefully someone can direct me.
Problem
When including the postgresql package with vapor, the project will not compile with the generated Xcode project.
How to Reproduce

Create a blank Vapor project
Add the the vapor-community/postgresql package
Generate an xcode project using vapor xcode
Attempt to build inside of Xcode

Notes
vapor build works fine, so it seems like it's an Xcode project generation issue (missing a framework/header search path).
However, I'm only just getting into Vapor right now and I'm not sure if various packages/plugins have the ability to provide cues to project file generator or not (i.e "please add these search paths", etc.)

If you are using it with Vapor you should be adding the https://github.com/vapor-community/postgresql-provider to the project. This is a dependency but you shouldn’t use it directly in Vapor.

@natebird yep -- I'm using that one, which but the compilation error was within this project so I decided to start looking here.

I think I'll close this issue for now, and look into what's really going on -- I don't think this belongs here anymore -- the compilation error was in the PostgresQL target but this dependency comes from CPostgreSQL.

No problem. We be all been there. I’m glad you resolved it.


udp-forwarder debug port should be configurable

What
As a CF operator
I want to know which ports system components are using on the TCP Router VM
So that I can make sure they don't overlap with tcp router ports
So that my tcp router doesn't silently break. See issue here.
Steps to reproduce

Deploy with the udp-forwarder on any VM
ssh onto that VM
run netstat -tlpn | grep udp-forwarder
note the port it is running on
run monit restart loggr-udp-forwarder
run netstat -tlpn | grep udp-forwarder
see that the port here does not match the port from step 4

Expected
I want to be able to set the debug port as a bosh property and to have it respected.
Actual
The debug port is any random open port.
Technical Details
jobs/loggr-udp-forwarder/templates/bpm.yml.erb link

here a bunch of env vars are set that get passed to the udp-forwarder
METRICS_PORT and UDP_PORT are set based on bosh properties
No DEBUG_PORT is mentioned

src/cmd/udp-forwarder/app/config.go  link

here the env vars are read into the golang config that the udp-forwarder uses
It reads in DEBUG_PORT and UDP_PORT.
Given that DEBUG_PORT is never set to anything in the bpm.yml this will default to 0.
Note that METRICS_PORT is not read-in here. I think this is a different bug that it always uses this default value and not the bosh property. I have not tested this though.

Then in the logs it says
Config.DebugPort        int     DEBUG_PORT                        false      0.

This leads me to believe debug_port is started with port 0, which seems to mean that it just choses a random (ephemeral?) port.
I will submit a PR for this soon.

Per this doc, we should try to have the default port be 14830. If that is impossible, please update said doc.

https://github.com/cloudfoundry/loggregator-agent-release/releases/tag/v6.0.3


origin_transacting_asset and destination_transacting_asset are incorrect

Describe the bug
This tx is Gnosis [nextUSDC] -> Arbitrum [nextUSDC] but explorer shows USDC sent on Gnosis: https://connextscan.io/tx/0x82a283ccaff18524e246f78422c33ebd585d82f761fbac43315edc12a5abb685

origin_transacting_asset in DB is incorrect:

destination_transacting_asset in DB is incorrect too (but somehow showing nextUSDC in explorer):

Another example tx for Arbitrum [WETH] -> Polygon [nextWETH]: https://connextscan.io/tx/0xaa58bb123fc8c5eaa2e57615a18b4dc4ff122ca5bd60b96e2288c4f4df361693

For this one, origin side is correct for everything bc it's sending adopted. But in DB, destination_transactin_asset is still wrong.

Dupe of https://github.com/connext/monorepo/issues/3444


add identifications to the ES index

This will allow us to

Open up /identifications
Make an endpoint that shows taxa similar to other taxa based on misidentifications (#1138)
???
Profit

@loarie, if there are other use cases for IDs in ES you can think of, please holler, b/c re-indexing identifications will be time consuming, so we should get as much as we need in there on the first go.

Things I'm aware of...
General site scalability:
5. reduce performance hit from taxonomy curation
Obs Detail revamp:
6. Make endpoint that shows people who can help ID an observation based on past IDs (for new obs detail screen)
Missions Roadmap:
7. Make endpoint that shows 'iNat records' https://github.com/inaturalist/inaturalist/issues/630#issuecomment-245181664 (if approach seems reasonable and feasible) for a place/time-cutoff
8. We'll need a way to make sure a Science Mission for species X only gets sent to a person who has improving IDs for species X, but not all details of 'Generating Science Targets for User / Location'  endpoint worked out (see missions roadmap)

This ticket as worded is done since there is an IDs index that is populated. Some of Scott's items are also done, but they don't all have separate tickets. Please create them as separate tickets if they still need to be tracked


Update TypeScript to 2.0 and use @types

TypeScript 2.0 has been officially released ( https://blogs.msdn.microsoft.com/typescript/2016/09/22/announcing-typescript-2-0/ ).
Among the long list of new features ( https://www.typescriptlang.org/docs/release-notes/typescript-2.0.html ), it does not require tools such as typings and tsd making the project configuration easier and more coherent using the @types scoped package.
It would be great to upgrade to TypeScript 2.0 and to remove typings.

1.0.0-rc1 has been released this week end including TypeScript 2.0.2.
But I agreed not to be an expert and I didn't noticed the changes about typings. In addition, I noticed some outdated typings deps.
A bit of cleaning about this would be great.

@Swiip using @types you don't have to worry any more about having the same package versions in the package.json and the typings.json files since this last one is not yet used.
Please note that the stable version of TypeScript is 2.0.3 (2.0.2 was a sort of RC).


Colorizing of indent line is not working

Is there anything wrong with?
I've tried to load it before and after my colorscheme plugin.
~/.config/nvim/lua/user/plugins.lua:
-- Show vertical indent lines for blocks:
use({
  'lukas-reineke/indent-blankline.nvim',
  require = function()
    require('user.plugins.indent-blankline')
  end,
})

~/.config/nvim/lua/user/plugins/indent-blankline.lua:
------------------------------------------------------------------------------
-- Indent Blankline Plugin
------------------------------------------------------------------------------

-- Import Indent Blankline with a protected call:
local indent_blankline_status_ok, indent_blankline = pcall(require, 'indent_blankline')
if not indent_blankline_status_ok then
  return
end

------------------------------------------------------------
-- Appearance

-- Set color of indent-blankline plugin for vertical lines:
vim.cmd([[highlight IndentBlanklineChar guifg='#252525' gui=nocombine]])

indent_blankline.setup({
  char_highlight_list = {
    -- Call color variable:
    'IndentBlanklineChar',
  },
    filetype_exclude = {
    'help',
    'terminal',
    'dashboard',
    'packer',
    'lspinfo',
    'TelescopePrompt',
    'TelescopeResults',
  },
  buftype_exclude = {
    'terminal',
    'NvimTree',
  },
  show_trailing_blankline_indent = false,
  show_first_indent_level = true,
})

...termguicolors is already activated.
If I manually source indent-blankline.lua, my color works. But not if I start Neovim regularly.

I was having the same problem and setting the highlight groups in after/plugin works for me.  For example, I have the following file: after/plugin/colors.lua
vim.api.nvim_set_hl(0, "IndentBlanklineIndent1", {fg = "#E06C75"})
vim.api.nvim_set_hl(0, "IndentBlanklineIndent2", {fg = "#E5C07B"})

etc, etc
This enables the colors on start of opening the buffer rather than re-sourcing indent-blankline (I'm using lazy plugin manager but not sure if that matters)

Hi @bradfordleak :)
Thanks for your reply!!
I've tried that (I'm using Packer). It doesn't work for me :/
I've created ~/.config/nvim/after/colors.lua which schould work properly too.
Then I've tried:
vim.api.nvim_set_hl(0, 'IndentBlanklineIndent', { fg = '#252525 })
and
vim.cmd([[highlight IndentBlanklineChar guifg=#252525]])
Both doesn't work, so I've put it in my own color scheme on line 17.
Now it works. I don't understand why. I've switched the order of loading the color scheme and indent-blankline in my plugins.lua in all circumstances without any success. ..crazy behavior?!

This is not really related to indent-blankline. Whatever highlight group is set last takes priority. If you get a wrong color, it means there is an issue with the order you set the highlight groups.
When you load indent-blankline doesn't matter.
You can check where a highlight group was last set with :verbose highlight IndentBlanklineChar
I'll close this ticket, this is nothing I can fix. It's a problem with your config.

Thanks for the hint and the command, @lukas-reineke :)
No I'm able to go fishing :)

@MannyFay Did you figure this out?
I am having the same issue. I tried defining the highlight groups I want before and after sourcing the plugins with no success.
I can get it to stay only by setting it in a callback passed to vim.schedule().

I tried defining the highlight groups I want before and after sourcing the plugin with no success.

When you source indent-blankline does not make a difference.
It is probably your color scheme that overwrites the highlight groups, you want to define them after you load that.


Top level sw.js is not served

Consider this example:
https://some-worker.workers.dev/sw.js will return 404 instead of /sw.js

Checked again and sw.js works on my worker sites.
No longer reproducible. Probably fixed by Cloudflare.


The same ceph primary storage can't be added to 2 Zones

If try to add same ceph ps to 2 different zones, zstack will raise exception.
2015-08-18 19:39:15,746 DEBUG [apibinding.api] async call[url: http://<IP_ADDRESS>:8080/zstack/api/, response: {"org.zstack.header.storage.primary.APIAddPrimaryStorageEvent":{"success":false,"error":{"code":"SYS.1000","description":"An internal error happened in system","details":"result returns more than one elements; nested exception is javax.persistence.NonUniqueResultException: result returns more than one elements"}}}] after 76000ms

primary storage is designed per zone

Okay. So in ZStack, we can not attach same ceph BS  to different Zones. This need to be highlighted.


#11428 (oci) speedup SQL SELECT in findColumns

#11428

Hi, I have worked on that a bit more. Should I put it on this Number, or create a new one?

this one has been merged, please open a new pull request.


ARROW-13168: [C++][R] Enable runtime timezone database for Windows

This allows for runtime configuration of the timezone database on Windows for C++ and R. Python will be handled later because it's available timezone libraries use the binary rather than text format, which is not yet supported the vendored date library.
For R, Windows will only support the "C" locale, since (as far as I can tell) that's the only locale supported by the MingW std::locale implementation. I think R itself gets around this by implementing a completely custom version of strftime() and friends.

So timezone database seems to work, but methods that rely on std::local currently error with:
Error (test-dplyr-funcs-datetime.R:344:3): extract month from timestamp
Error: Invalid: Cannot find locale 'English_United States.1252': locale::facet::_S_create_c_locale name not valid
C:/Users/voltron/arrow/cpp/src/arrow/compute/kernels/scalar_temporal_unary.cc:1085  GetLocale(options.locale)
C:/Users/voltron/arrow/cpp/src/arrow/compute/kernels/scalar_temporal_unary.cc:1105  Make(ctx, *in.type)
C:/Users/voltron/arrow/cpp/src/arrow/compute/exec.cc:700  kernel_->exec(kernel_ctx_, batch, &out)
C:/Users/voltron/arrow/cpp/src/arrow/compute/exec.cc:641  ExecuteBatch(batch, listener)
C:/Users/voltron/arrow/cpp/src/arrow/compute/exec/expression.cc:547  executor->Execute(arguments, &listener)
C:/Users/voltron/arrow/cpp/src/arrow/compute/exec/expression.cc:533  ExecuteScalarExpression(call->arguments[i], input, exec_context)
C:/Users/voltron/arrow/cpp/src/arrow/compute/exec/project_node.cc:91  ExecuteScalarExpression(simplified_expr, target, plan()->exec_context())
C:/Users/voltron/arrow/cpp/src/arrow/compute/exec/exec_plan.cc:484  iterator_.Next()
C:/Users/voltron/arrow/cpp/src/arrow/record_batch.cc:336  ReadNext(&batch)
C:/Users/voltron/arrow/cpp/src/arrow/record_batch.cc:347  ReadAll(&batches)

These do work if you set Sys.setlocale("LC_TIME", "C"). If I don't find a fix for this, I may consider only supporting the "C" locale on Windows.

CI failure is unrelated Flight error.

cc @pitrou

Are there any outstanding comments that we need to resolve before merging?
The failures in CI both look unrelated. I'm happy to merge if no one objects

Follow-up Jira created: https://issues.apache.org/jira/browse/ARROW-16054


Remove deprecated global flags.

No need to keep these flags around since nameinitializers serve the
same purpose and our internal apps have migrated away from global
flags.

:star: :horse_racing: Thanks for cleaning this up!

:star: :flags:


Derive Types only apply to crate in which they were derived

I am having trouble with using my TTest struct to deserialize the body of a request.
If I place the following code in my main crate it works correctly.
use poem_openapi::{Object};
use serde::{Deserialize, Serialize};
#[derive(Object, Serialize, Deserialize)]
pub struct TTest {
    ok: bool
}

However when I move this code to another "common" crate, I end up with an error that ToJSON and ParseFromJSON are not implemented.
error[E0277]: the trait bound `common::TTest: ToJSON` is not satisfied
  --> speexdp/src/web/mod.rs:69:15
   |
69 |         body: Request<TTest>,
   |               ^^^^^^^^^^^^^^ the trait `ToJSON` is not implemented for `common::TTest`
   |
   = help: the following other types implement trait `ToJSON`:
             &'a str
             &T
             &[T]
             Arc<T>
             BTreeMap<K, V>
             BTreeSet<T>
             Box<T>
             HashSet<T>
           and 35 others
note: required by a bound in `api::Request`
  --> speexdp/src/web/api.rs:49:45
   |
47 | pub enum Request<T>
   |          ------- required by a bound in this
48 | where
49 |     T: ParseFromJSON + Send + Sync + Type + ToJSON + for<'b> Deserialize<'b>,
   |                                             ^^^^^^ required by this bound in `api::Request`

If I try to manually implement ToJSON for I get a conflicting implementation error because it is already implemented from the derived Object type.
It seems that the derived ToJSON implementation only exists in the crate is was derived in...

This is weird, are you sure both your crates depend on the same version of poem-openapi?

Amazing, that was it. You're amazing, thank you!
Jeez I wish I had known that after spending a few hours yesterday trying to figure this out.
One crate was pointed to git the other to crates.io. Interestingly both has the same version attribute.
I've seen where errors tell you you have 2 different versions, don't know why I didn't get that this time.


VIM navigation shortcuts don't work within code block

Environment data

VS Code version: 1.66.2
VScodeVim version: v1.22.2
Jupyter Extension version (available under the Extensions sidebar): v2022.3.1000901801
Python Extension version (available under the Extensions sidebar): v2022.4.1
OS (Windows | Mac | Linux distro) and version: Mac
Python and/or Anaconda version: 3.9.9
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Jupyter server running: Local

Expected behaviour
Vim navigation doesn't work in Jupyter Notebooks.
Example of vim navigation shortcuts I tried: "z,z", "ctrl, y" and "ctrl, e".
Expected behavior on pressing zz in a python file:

Actual behaviour
Vim navigation shortcuts should move the view based. For example, zz should center the view based on the cursor location.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

create a new code block
add enough lines to reach to the end of the screen
press zz while inside the code block
view is not moving

Pycharm Jupyter Notebook behavior
Just for the reference, this is correct VIM behavior of same keys on a Jupyter notebook in Pycharm:

Thank you - I tested the same scenario on Pycharm (using intellij vim plugin) and attached the expected flow to the issue.

This would mean that the Vim extension needs more knowledge of the notebooks.

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.
Happy Coding!


When I 'Run' the game after defeated, the state isn't refreshed unless I reload the page for several times

Environment

Steps to reproduce
Expected Behavior
Actual Behavior

Closing as it's lacking info.


engine: revert RocksDB update and update raft-engine

What is changed and how it works?
Issue Number: Ref #13095
What's Changed:

Revert the update and restore RocksDB version to 6.4
Update raft-engine for a bugfix of tikv/raft-engine#250

None

Related changes

Need to cherry-pick to the release branch

Check List
Tests

Unit test

Release note
None

/build

@tabokie  From CI's error info:
'storage::test_titan::test_delete_files_in_range_for_titan' panicked at 'called `Result::unwrap()` on an `Err` value: Engine("Not implemented: ")', tests/integrations/storage/test_titan.rs:334:10

It seems we need update rust-rocksdb's titan.

/build /build_release

/run-build

/cc @VelocityLight

/run-tests

/merge

/run-tests retry=6

/release

/run-build


Hanging Import

Setup: I want to translate with just one specific TMX
Steps:

deletion of previous TMXs:
rm engines/<engineName>/models/context/*/* engines/<engineName>/models/decoder/memory/*

import of the specific TMX:
mmt import -e <engineName> -d <domainName> -x <specificTMX>

Now the engine is supposed to work as expected; on the contrary, if I run:
curl "http://localhost:8045/translate?q=world&context=computer" | python -mjson.tool
I got this error:
{
"error": {
"message": "Could not open index directory<EMAIL_ADDRESS><EMAIL_ADDRESS>"type": "ContextAnalyzerException"
},
"status": 500
}
On the contrary, if, after the import step, I stop the engine and then I restart it, it works properly.

Hi @cettolo
this is definitely not a bug. Removing the Lucene index while the index is running means corrupting the system. This is true both for the Context Analyzer and the TranslationMemory.
When you restart the system however, the Lucene engine re-create an empty index, that's why the system operates as expected.


chore(nxext): migrate workspace to nx 20

Nice work @pawel-twardziak!
Note for before merge: we should squash and create a commit including the BREAKING CHANGE: ... in order to bump a major version.

Sure thing, will sqush all the commits soon 👍

@edbzn squashed 👍


How to encode as an empty element

I have a need to output an empty element, such as the PhoneNumbers element in this example:
<Person>
    <FirstName><![CDATA[BART]]></FirstName>
    <LastName><![CDATA[SIMPHSON]]></LastName>
    <Address1><![CDATA[122 ELMARCH AVE, CYNTHIANA, KY, 41031]]></Address1>
    <City><![CDATA[CYNTHIANA]]></City>
    <Zip><![CDATA[41031]]></Zip>
    <BirthDate><![CDATA[1950-05-01]]></BirthDate>
    <PhoneNumbers />
</Person>

Here is the struct:
struct Person: Encodable {
    let FirstName: String
    //. . .
    let PhoneNumbers: ???? //what goes here?
    //. . .
}

struct PhoneNumber: Encodable {
    let type: Int
    let number: String
}

I have tried the following values, but none appear in the encoded XML at all:
    let PhoneNumbers: [PhoneNumber] = []()
    let PhoneNumbers: [PhoneNumber]? = nil

I want the encoded XML to include the PhoneNumber element even when empty. Is that possible? If so, how?
Thanks!

Hey @ksoftllc, have you tried something like this?
struct Person: Encodable {
    //. . .
    let PhoneNumbers: PhoneNumbers
    //. . .
}

struct PhoneNumbers: Encodable {
    enum CodingKeys: String, CodingKey { case items = "PhoneNumber" }
    let items: [PhoneNumber]
}

struct PhoneNumber: Encodable {
    let type: Int
    let number: String
}

This assumes that elements contained within a non-empty PhoneNumbers element are called PhoneNumber, I hope the code can be easily adjusted otherwise.
Does that resolve your issue?

That was the key. Problem solved. Thanks Max. Nice utility.


Update to the contact footer

needs to be like this:

Specifically:

[ ] Change "Operator Contact" to "UKSA Contact"
[ ] Add "If you require help with your application..."
[ ] Put email / phone / address in a column rather than inline
[ ] Add the role of the contact e.g. "Licensing Manager"

An example is here https://uksa-alpha.cxp.io/operator/operator-overview-unlocked

Done


Takes X keyboard focus upon startup

Which operating system does the issue occur on?
Linux/X11
I have my window manager configured to not give focus to new windows. alacritty seems to be taking it anyways.

Possibly related, but alacritty also shows up on the monitor that has keyboard focus, not where focus currently is (e.g., the mouse has moved focus to an empty monitor, but the keyboard focus stays on a window on another monitor, alacritty shows up beside the keyboard focus window, not the mouse focus monitor).


Fix check go version

Fix check go version in Makefile since go 1.10

Fixed in pull requests #51

done in #51


Dynamic image url is not picked up by webpack

Version
3.0.1
Node and OS info
node 8.9.4, npm 6.2.0, win10 latest
Steps to reproduce
I need to calulcate the avatar image url of the current user but can't get it to work inside the template of a .vue file. This seems to be a pretty basic task but I can't figure it out with the documentation https://cli.vuejs.org/guide/html-and-static-assets.html#static-assets-handling. Is my syntax wrong or is there another syntax for dynamic paths not known at buildtime?

What is expected?
webpack picks up the link and includes the asset / rewrites the url
What is actually happening?
webpack doesn't modify the link and doesn't include the asset in the build

Your syntax is correct, but it won't work as expected since your assets URL is dynamic.
In the link you posted, there is a section about using a public folder, this should resolve your issue.


Features request: Add pivot table save option and export to excel options

Features request: Add pivot table save option and export to excel options

@lokeshmyadav Do you have xlsxwriter installed?
If you do, you should have the save as excel option available;

I wanted download option for pivot table .. if I save with option above, it
will download queries results, not the pivot table
On Sun 3 Oct, 2021, 1:50 AM Mark Walker, @.***> wrote:

@lokeshmyadav https://github.com/lokeshmyadav Do you have xlsxwriter
installed?
If you do, you should have the save as excel option available;
[image: Screenshot 2021-10-02 at 21 18 45]
https://user-images.githubusercontent.com/1461191/135730792-ac4b9664-f2d9-433b-818d-25be0d1980f7.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/groveco/django-sql-explorer/issues/459#issuecomment-932815410,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGYSRCJPS4CZLB5WEQ5M27LUE5SRVANCNFSM5D7DB5HA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@marksweb is this one ok to close now?


Update mssql driver to last working version<PHONE_NUMBER>2330-6a30f4e59a44

Following investigation done in #7294, I found the last version working of mssql driver. In the meantime, that we found why the next commit fail we can still update the mssql driver.
Changelog: https://github.com/denisenkom/go-mssqldb/compare/e32ca5036449...6a30f4e59a44

Codecov Report

Merging #7306 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #7306   +/-   ##
=======================================
  Coverage   41.24%   41.24%
=======================================
  Files         464      464
  Lines       62841    62841
=======================================
  Hits        25917    25917
  Misses      33533    33533
  Partials     3391     3391

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update edc94c7...74fcb6f. Read the comment docs.


[patch] Fix incorrect handling of Error objects in handleError() and add test…

Fix incorrect handling of Error objects in handleError() and add test to prevent regression of same. With this change the error response created by the default response hooks will include more information when an error is encountered while processing a request.  The body of the HTTP response will include a message and stack (if not in production.)

@tapuzzo-fsi awesome, thank you!


Allow driver conf override

prev. PR developed an incorrect diff vs. main
Closes #562
If a driver image is set using --image this will propagate to the config TOML as the driver_image

^ This doesn't technically need a bumpversion as there's no change to the CLI, just a release to the server which is manual anyway


renode-dts2repl: 0-unstable-2024-12-12 -> 0-unstable-2024-12-20

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for renode-dts2repl is: Tool for converting device tree sources into Renode's .repl files
meta.homepage for renode-dts2repl is: https://github.com/antmicro/dts2repl
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0-unstable-2024-12-20 in filename of file in /nix/store/kzl0kr9hhzkp3yqcwwr2anv7vkfb4hqf-renode-dts2repl-0-unstable-2024-12-20

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

renode-dts2repl

Instructions to test this update (click to expand)

Either download from the cache:
nix-store -r /nix/store/kzl0kr9hhzkp3yqcwwr2anv7vkfb4hqf-renode-dts2repl-0-unstable-2024-12-20 \
  --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
  --option trusted-public-keys '
  nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A renode-dts2repl https://github.com/r-ryantm/nixpkgs/archive/672973d6b59d33ad721044bc704eafbc3d80b095.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/672973d6b59d33ad721044bc704eafbc3d80b095#renode-dts2repl

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/kzl0kr9hhzkp3yqcwwr2anv7vkfb4hqf-renode-dts2repl-0-unstable-2024-12-20
ls -la /nix/store/kzl0kr9hhzkp3yqcwwr2anv7vkfb4hqf-renode-dts2repl-0-unstable-2024-12-20/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 2 packages built:

renode-dts2repl
renode-dts2repl.dist

Maintainer pings
cc @otavio for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge


Replacement %llu and %zu format specifiers

Problem

64-bit %llu format specifier not supported for newlib nano printf library.
Only used currently to print 64-bit NodeId type.

size_t %zu format specifier also not supported.
Only used in non test code for an actual 16-bit defined value.

Note:
Remaining cases still exist for code not used on constrained devices.
Should not pose an issue there as larger printf libraries are used.
Summary of Changes

Replaced prints of NodeId with hex %08lx%08lx 32-bit counterparts
Replaced %zu specifier to %u as sufficient for the type

Fixes #5314

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


updated README

Short Description:
Fixes:

added -m variable in USAGE
removed obsolete spaces after [-w] in USAGE
removed obsolete [-s] variable in USAGE

Thanks!


[FR] - Docker image for arm arch

External
Other   Any other topic (Delegation, Ranking, ...).
Describe the feature you'd like
It would be helpful to have arm64 build of docker image for cordano-node.
Additional context / screenshots
It is impossible to launch official inputoutput/cardano-node docker image on Mac M1.
% docker run --platform=linux/amd64 -e NETWORK=testnet inputoutput/cardano-node
Starting: /nix/store/aginrkjcnlzbxsvla5bd8lnx73a475yi-cardano-node-exe-cardano-node-1.33.0/bin/cardano-node run
--config /nix/store/5b6pry15w93fv0r0x9rc3r1ii5871lvr-config-0-0.json
--database-path /data/db
--topology /nix/store/dpajyi2vaychwps1x7d20c2ddls4kf62-topology.yaml
--host-addr <IP_ADDRESS>
--port 3001
--socket-path /ipc/node.socket

+RTS
-N2
-I0
-A16m
-qg
-qb
--disable-delayed-os-memory-return
-RTS
..or, once again, in a single line:
/nix/store/aginrkjcnlzbxsvla5bd8lnx73a475yi-cardano-node-exe-cardano-node-1.33.0/bin/cardano-node run --config /nix/store/5b6pry15w93fv0r0x9rc3r1ii5871lvr-config-0-0.json --database-path /data/db --topology /nix/store/dpajyi2vaychwps1x7d20c2ddls4kf62-topology.yaml --host-addr <IP_ADDRESS> --port 3001 --socket-path /ipc/node.socket      +RTS -N2 -I0 -A16m -qg -qb --disable-delayed-os-memory-return -RTS

% docker ps -a
CONTAINER ID   IMAGE                      COMMAND                  CREATED          STATUS                        PORTS                      NAMES
3f1c311ac88d   inputoutput/cardano-node   "entrypoint"             34 seconds ago   Exited (137) 31 seconds ago                              ecstatic_keldysh

Hello,
is it somehow planned in the roadmap? I see many people started receiving their M1s (including myslef) so this would be beneficial to have.

Would be nice to have with Docker for sure. For now, the instructions in https://developers.cardano.org/docs/get-started/installing-cardano-node/ are sufficient to build darwin/arm64 native binaries with cabal from source.
If you really must run it with Docker, you can look into options like . This way Docker can run the linux/arm64 image with only a slight decrease in performance as far as I'm aware. Or you can cross-compile the node from source to linux/arm64, then run that in Docker without any issues.

As https://hub.docker.com/r/nessusio/cardano-node/tags does not have the latest node I created Dockerfile to build the arm64 image directly on the system[M1 or Rpi4 or any arm64].
here are the steps to build your own arm64 docker image -
https://github.com/koolwithk/cardano-node-build#build-arm64-cardano-node-docker-image
Or you can use the already build cardano-node docker image.
docker run -it -e NETWORK=testnet koolwithk/cardano-node:1.35.5-arm64

Closing this. If this is still relevant please reopen.


Miscellaneous front matter updates

Will complete #326

Converted to a draft while I make some further additions.

@jhkrug should we merge it? seems good to me

@jhkrug should we merge it? seems good to me

I think so. It's a largish change so I'll do it in the morning and keep an eye on it. Just to make sure.


dsnp.createNewDSNPRegistration returning a URI instead of a Registration

Steps to reproduce
When you call dsnp.createNewDSNPRegistration.
Expected behavior
You would expect to receive an object of type Registration.
Actual behavior
Instead, a URI is returned.
Any other comments?
I would like to receive a registration instead of a URI upon create registration becuase that data type is reflecive of what was just made.  When we receive a URI we would have to call another function to get what we just created, which seems like an extra step, especially becuase the new registration is available to be returned in the SDK function.

Fixed in #179


incompatiable code with redis py

hi
so i want to fork django-redis package and turn into django-valkey
this parts of redis_py package is not available in your project.
some parts of it are used in django-redis so i was wondering if there is a reason why these are not presented.
Version: latest

Hi Amirreza! Thanks for reaching out.
Since the fork happend, valkey-py and redis-py diverged a little bit.
They are still very similar, but they are also evolving independently.
I think that the code you are looking for is now here:
https://github.com/valkey-io/valkey-py/blob/fd7a56a8b9abcabe1f2b1e148244b8fcc7db4382/valkey/_parsers/url_parser.py#L14-L100

oh thanks
it makes sense
i was assuming that the projects go exactly the same way for the moment
I'll fix the import then

No problem,
feel free to re-open this issue if you encounter any other problem.

hello @aiven-sal
i wanted to know what version of python are you supporting?
i have some typing headaches coming from valkey_py and wanted to write a patch
need to know what syntax i can and can't use

We support from 3.8 to 3.12 (https://github.com/valkey-io/valkey-py/blob/main/setup.py#L50-L54),
BTW there is another issue related to typing you if you want to take a look https://github.com/valkey-io/valkey-py/issues/84

ah i was hoping for 3.10 to use | :)
ok then
also i know you are busy but if you ever find the time to reflect on django-valkey i would very much appreciate it
I'm new to caching and still trying to figure out stuff

ah i was hoping for 3.10 to use | :)

I think it will probably take a couple of years before we drop 3.9. :(

also i know you are busy but if you ever find the time to reflect on django-valkey i would very much appreciate it I'm new to caching and still trying to figure out stuff

What do you mean by "reflect on django-valkey" ?

ah i just meant feedback on what can be added or fixed on the project
which i just realize i hadn't posted the link before

but again
i understand that it's not a small codebase and you are busy, so don't feel pressure

I'm not very much involved in django development.
I'd suggest to reach out to the original django-redis's devs. They might have some feedback and they may be even interested in cooperating on django-valkey.


[CONTEXT-222] Add timeseries querying in frontend

Timeseries was not paginated before and it was difficult to find the right one. Now we have added querying so they are much easier to find.

[pr-server]
View this change on PR Server

[pr-server]
View this change on PR Server

[pr-server]
View this change on PR Server

[pr-server]
View this change on PR Server

[pr-server]
View this change on PR Server


can`t run osxphotos after killing it

using latest version 0.68.5 I was running osxphotos on a very large database 140000 photos, mostly online.
Then osxphotos gives an error about disk space and stops running, not even Crtl-C could stop the app, had to kill the id.
Tried to rerun it, with --update, now it won`t start.
I know log says I have run out of space, but that is not the case, I triple checked on my local disk and the destination as well.
osxphotos_crash.log
Filesystem                              Size    Used   Avail Capacity iused ifree %iused  Mounted on
/dev/disk3s1s1                         460Gi    19Gi    24Gi    45%    404k  252M    0%   /
devfs                                  199Ki   199Ki     0Bi   100%     688     0  100%   /dev

export command was run with --directory "{created.year}/{created.mm}-{created.month}/{place.name.country,{created.dd}}" --exiftool --touch-file --strip --verbose --download-missing --use-photokit --filename "{created.date}{created.hour}{created.min}{created.sec}{place.name.city}_{original_name}{favorite?_favorite,}" --retry 3 --update --verbose

Hello @nbcjr. Yes, crash log does indicate::
Diagnose

sqlite3.OperationalError: database or disk is full

... when trying to open the osxphotos export database named .osxphotos_export.db  which osxphotos is trying to read in order to be able to continue but it can't.
I see the output of your df. Just to double check, the destination folder '/Volumes/raiz/osxphotosexport' is on that same internal disk (raiz)?
FYI... my 106K Photos is currently using a 2GB .osxphotos_export.db
Recommendations

Do see if the file  '/Volumes/raiz/osxphotosexport/.osxphotos_export.db' exists and, if you have sqlite3 command utility available. if you can open it and run:

$ sqlite3 '/Volumes/raiz/osxphotosexport/.osxphotos_export.db
SQLite version 3.37.0 2021-12-09 01:34:53
Enter ".help" for usage hints.
sqlite> SELECT osxphotos, exportdb, max(id) FROM version;
0.68.5|10.0|1
sqlite> .quit
$

Other than that, this post sqlite3.OperationalError: database or disk is full makes several recommendations on lack of disk space in other areas like TEMP and not the main disk.

@nbcjr , were you able to make it work?


Admin: link to survey_visit in home table if complete

In the admin home table, we want to link to any complete survey visits alongside the homes, so you can see what responses we've gotten from a given home. Relies on #405

Assign to Efrain Davila when added to the organization


Feeding server from an HTTP request

I'm using the osmand format to push a position update to my traccar server.
Eg.
http://server:5055/?id=123&lat=38.0001&lon=145.001&timestamp=1424231173&hdop=1&altitude=1&speed=0
I'm using tasker to generate the url. (Because the android client doesn't have tasker support ... hint hint)
Problem: my lat is negative. Osmand doesn't seem to work with a negative latitude - how do I work with that?
Thanks

Is the issue resolved?


[WIP]I'm trying to make a semantic UI stylesheet/theme, not quite sure how…

… it works and can't wrap my head around it.   I am only using index for testing.
Description
Trying to make a theme with semantics
What
I want to make it so that we can edit the default values of colours
Why
So we can use the colours that we want
How
Making a semantic stylesheet and linking it to pages
Verification Steps
Opening/refreshing a browser
Checklist:

[ ] This pr is linked to the related trello card
[x] My code follows the style guidelines of this project
[ ] I have requested a code review from (at least) two team members
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] This change has been verified by another team member

@laurafitzgerald @ciaranRoche @dimitraz @JameelB @judyobrienie

Hi @dominikkawka. The way we currently use Semantic we can't use themes. To use themes the Semantic package needs to be installed rather than just linked as we have it. I did some investigations into this myself on a site I was tinkering with. I wouldn't worry about this too much though as the styling we have on the color scheme on the site isn't too heavy right now. The main thing we are using Semantic for is the layout. I think this is a good idea to investigate this but I would suggest waiting to see if we have some time at the end of the sprint. There's still a few cards left that we want to get completed first.

So how can we change colours then without having the themes?


Normalize page format

Currently, the index page is a list of other pages, and the other pages are a plist of the form {"title":"foo","ps":[...]}.
Change this to a uniform plist, similar to Lisplog's:
(:COMMENTS (3) :ALIASES ("welcome.html") :NID 1 :TITLE
 "Welcome to the Lisplog Blog" :UID 1 :STATUS 1 :CREATED<PHONE_NUMBER> :CHANGED
<PHONE_NUMBER> :PROMOTE 1 :BODY
 "Lisplog is a templating system for using Apache and Hunchentoot to maintain a blog. It writes content as static HTML files, which Apache serves very quickly, and uses a Lisp process running Hunchentoot to add and edit posts and comments.

I wrote Lisplog as an improvement on Drupal for maintaining my political blog. It has served that purpose well. I've been eating my own dog food for over two months now. Time to start documenting so others can follow suit.

One Lisplog process can serve multiple web sites, currently on a separate port for each. The process serving Lisplog.org also serves my political blog, and will likely support a third blog soon.

See the FAQ for information about navigating the blog. See the Documentation for information about installing and maintaining your own Lisplog blog.

Thanks to Jayanath Rodrigo for his \"Simply\" theme from which I created this layout."
 :FORMAT 1)

The format should be "json" or "md", for now.
{ "title": "Welcome to the XosBow blog."
, "url": "welcome"
, "node":1
, "created":<PHONE_NUMBER>
, "changed":<PHONE_NUMBER>
, "promote": true
, "comments": [<list of comment numbers>]
, "format": "md"
, "body": "XosBow is..."
}

Lisplog depended on directory listings to find all posts. XosBow needs to work with a simple key/value store as its backend. This means it will have to keep lists of nodes in the key/value store, likely in some kind of binary tree.

Done.


Outputs an error when retrieving data from the database.

The plugin works like this, the player leaves - the data are stored in the database, the player enters - the data are obtained from the database.
When you save the data on exit - no error. But when receiving data from the database when the player enters - in the console appears such an error: https://pastebin.com/iTE7Nynu
Methods get and save:
public void save(DialogData data) {
  repository.upsertAsync(data);
}

public DialogData getOrCreate(UUID uuid) {
  DialogData dialogData;

  try {
    dialogData = repository.getAsync(uuid).getResultFuture().get();
  } catch (InterruptedException | ExecutionException e) {
    throw new RuntimeException(e);
  }

  return dialogData == null ? new DialogData(uuid) : dialogData;
}

DialogData class:
@NTable(name = "dialog_data")
public class DialogData extends NEntity<UUID> {
    @JsonProperty("dialogs")
    private List<DialogStatus> dialogs = new ArrayList<>();

    public DialogData(UUID uuid) {
        super(uuid);
    }

    public DialogData() { }
}

DialogStatus class:
public class DialogStatus {
    private final String name;
    private int part = 0;
    private boolean finished = false;

    public DialogStatus(String name) {
        this.name = name;
    }

    public void setPart(int part) {
        this.part = part;
    }

    public void partIncrement() {
        part++;
    }

    public void partReset() {
        part = 0;
    }

    public void finish() {
        finished = true;
    }

    public String getName() {
        return name;
    }

    public int getPart() {
        return part;
    }

    public boolean isFinished() {
        return finished;
    }
}

It would be more convenient if there was a discord server where I could ask what the problem could be.

Hello,
I think the issue here is that your subobject DialogStatus doesn't have a default constructor, so when NDatabase try to decode from database, you get this error.
I already planned to add a data model validation mechanism in future to avoid getting runtime encoding error but it's not finished yet.

Yes, it works now, thanks for the help!


README.md - updated Shortcuts

use keystroke format, added GnuCOBOL shortcut to complement c63c364161a50e26eeb3a0aebe75f41ae9470bec / #71

note: from reading README.md I have no clue what is meant by "COBOL syntax" considering the alternatives. You maybe want to elaborate on this.

Changes included while I was changing the README for something else


libvirt: adapt kcli download image command

to latest changes in 029e24f55859dc67bd585e41d6e8af87558788f9

dnm until avoiding also the breakage of the CI

Hey @snir911 - what is the reason for reverting to an older version of kcli before the params change was made?

arrr closing, i was wrongly thought my kcli was up to date and this was a fresh change /o\


[23.11] hercules-ci, cachix: nix 2.18

Description of changes
Update to Nix 2.18

hercules-ci-agent nix evaluator

reinstating the original attribute, ie without conditions for using it safely outside of a NixOS context

cachix store access library, hercules-ci-cnix-store

fixing channel blocking build problem

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build hercules-ci-agent
@ofborg build cachix
@ofborg build haskellPackages.hercules-ci-cnix-expr

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/error-setup-the-pkg-config-package-nix-store-version-2-4-2-17-is-required-but-the-version-installed-on-the-system-is-version-2-18-1/41082/3


fix: fixed error finding refs in an object with a length property

Hi! we bumped into this error (our library depends on a third-party library that depends on json-refs).
json-refs fail to traverse through an object that contains a length property, because of a wrong usage of lodash (see this).
We found the bug when objects like the following took a very long time to be processed:
{ "someObject": { "value": "hi", "length": 1000000} }

The issue was on this line, lodash's each on an object like someObject in the example above will invoke the callback 1000000 times with:
[undefined, 0], [undefined, 1], ..... [undefined, 999999]

instead of two times with:
["hi", "value"], ["length", 1000000]

as it assumes it is a collection because of the length property. To iterate key, values in an object forOwn should be used instead.

Any update on this?

Can we please merge this? It is causing bugs in our codebase as well. Thank you.

Hello, any news on this? We are very keen to see this one fixed. Cheers!

Do you know of any other places where _.each is used that should be turned into a _.forOwn?

I did a search of .each throughout the codebase and found some others that might have the same issue, but I'm not familiarized with the code and didn't want to change them and possibly introduced a bug by doing so. Anyways, after fixing that single .each I could not longer reproduce the issue.


Adapt security support to be aligned with SCDF's OAuth-only design

This would be similar to the DataFlowTemplate sample, and there's no extra customization in this sink, so it should continue to work as expected.


add an option to not fetch the description

maybe might speed up things since its less data

Ah, yeah, good idea! But instead of specifying levels I would prefer to just have an optional option object with the option description which is true by default. Would you mind also updating the readme?

Ah I didnt think about mixing strings with an object in the args list. That would be better so I can add a custom formatter as well.

@sindresorhus updated

@eddiemonge Added some inline comments. Thanks for enduring my perfectionism :)


Lock times limit

修改ChunkArena里的死等锁机制，为只尝试三次，经过测试，修改后插入的耗时比原来降低59%

实验数据：

BTW, you can use
git remote add upstream https://github.com/apache/doris.git
git pull upstream/master --rebase
git push -f

to sync the master to follow upstream master.
git merge will make you branch mess.

BTW, you can use
git remote add upstream https://github.com/apache/doris.git
git pull upstream/master --rebase
git push -f

to sync the master to follow upstream master.
git merge will make you branch mess.

ok，thank you


Clear problems on file close

Currently, when a file is closed, this extensions does not clear the problems it generated, polluting the "problems" view in VSCode.
On big projects one ends up with a massive amount of errors which might belong to files that can't be fixed (files for other libraries, for instance).
It would be great if the Problems were cleared when closing the file.

Hi,
Thank you for reporting, I will look into this issue.

I have the same problem. Is there anything I can provide to help?

Hi,
Any help with maintaining this extension is appreciated, you're more than welcome to fork the repo and submit a PR for any functionality you wish to see added to the extension, or any bug fixed. If you need help setting up a dev environment feel free to contact me, e.g. through gitter. Another way to help would be to make days last more than 24 hours for me or put more than 7 days in a week for me, but I guess that's a little bit harder than the fork-PR thing ;).
Anyway, regarding this issue I just created a fix which is working on my dev machine now. I'll ship a new version somewhere in the coming days. Just need to create some unit tests and add a config value so the new behaviour can be disabled if needed.

Resolved in PR #39.  Fix will be in next release.

Thank you for this fix!


Docs: widgets overview / tutorial for simple app

Hi,
I'm new to React Native and ExponentJS. I've started a new project like a charm (really excellent work!), but now I'm struggling with what can I do with it. I'm missing  list of all GUI widgets, how to use router / navigation in the app, etc., etc.
I've googled a bit but didn't find anything useful. Do you have any up-to-date link to some tutorial?

Hello! Did you look at the documentation?
https://docs.getexponent.com/versions/v14.0.0/introduction/additional-resources.html
https://docs.getexponent.com/versions/v14.0.0/guides/routing-and-navigation.html
https://docs.getexponent.com/versions/v14.0.0/sdk/index.html
https://docs.getexponent.com/versions/v14.0.0/guides/index.html
You can also use components listed in the React Native docs:
https://facebook.github.io/react-native/docs/getting-started.html
Let me know what you think is missing from here! Sorry for the late reply.


React Guess the Number Game

The "Guess the Number" game allows users to guess a randomly generated number within a specified range. After each guess, the game provides feedback on whether the guess is too high or too low until the user correctly guesses the number.

@MohanRoot66  awesome project mohan, can you please list your in index.html file of the repo.


The google-cloud-cpp::*-mocks targets are not exported

These targets are not exported.  In practice it does not matter much, because using the library gets you the same -I flags, but the applications are missing the -lgtest* and -lgmock* options.
We need to fix at least the following problems:

[ ] We need to separate the CMake and pkg-config files for mocks vs. runtime libraries.  If we add the mocks to the existing config files then we need to add find_dependency(gtest) (and its equivalent in pkg-config lingo) to the config files. It would be very strange to require googletest when all you want is to link against the runtime version of the libraries.
[ ] We need to decide if installing these libraries is optional or not.  I think we should not make it optional, we have too many knobs already.
[ ] We need to install these libraries as part of the "development" component (for CMake)
[ ] We need to add something to the CI builds to verify these libraries are usable once installed.

We need to revisit this in 2022-06 when we will drop CMake 3.5.

I will try to do this on my next operator week.

Soon (2023-05-01) we will drop CMake 3.10 and I think this gets easier.

Only compute remains. We probably want to install all compute_<resource>_mocks in a google_cloud_cpp_compute_mocks module.
If we want to use the helper, we would need to generalize it.
Unassigning because my operator shift is over.

We need to finish out compute.


chore(main): release 0.10.0

:robot: I have created a release beep boop
0.10.0 (2024-02-28)
Features

figure: add 3000 Tg runs to figures (55bbd30)

Bug Fixes

figure: keep ens1 for the highlat case (6436261)
ob16: small bug in the peak finding strategy (e1680ef)

Miscellaneous

docs: change repo name (32d74a8)
figure: small adjustment to fig4 (29316de)

Styles

format (637e654)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/engeir/code-to-radiative-forcing-by-super-volcano-eruptions/releases/tag/v0.10.0 :sunflower:


feat: first iteration of the purity data model and purity analysis

Closes #5
Summary of Changes
Added the first iteration of the purity data model and the purity analysis. The analysis is capable of analyzing the purity of simple function definitions, as well as function that interact with files (via stings).
Testing Instructions
The tests for file interaction are not properly working (test_file_read()) - there seems to be a problem with the return value of infer_purity()

🦙 MegaLinter status: ❌ ERROR

Descriptor
Linter
Files
Fixed
Errors
Elapsed time

✅ PYTHON
black
6
4
0
1.58s

❌ PYTHON
flake8
6

6
0.56s

✅ PYTHON
isort
6
5
0
0.34s

❌ PYTHON
mypy
6

46
3.05s

❌ PYTHON
pylint
6

16
6.1s

✅ REPOSITORY
git_diff
yes

no
0.05s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff
MegaLinter is graciously provided by

@lukarade I pushed a fix that should resolve some test failures.

I want to close this PR

Do you want the PR to be merged or closed without being merged?


Enabling Registercallback APIs in L1 test case

Enable the Registercallback  apis, it was disabled in previous release.

merged to develop


adding Pet cards

@akshitagupta15june Can add pet cards where there will be description of each breed .
Kindly assign it to me so that i can work on that.

@akshitagupta15june please assign me this issue under GSSOC'24
I am really good with this part.

Its not required currently in website.


Update to install test proxy irrespective

API change check
API changes are not detected in this pull request.


No email in user profile

Hi,
I see no email address in user profile returned from twitch after authentication.
I verified my email after registration in twitch.
Thanks for help.

try using the scope for reading email: user:read:email


Copyright?

Hi,
The LICENSE file for this project shows that it is copyright David Tesar.
Could someone take a look to confirm that that is correct - if this is a new Microsoft open source project it should follow the guidance given from the open source approval tool for copyright, etc.

Whoops, yes it should follow MSFT guidelines. Thanks for the catch - will get fixed asap.

Resolved. https://github.com/Microsoft/AzureBot/blob/master/LICENSE

Thanks!


No possibility to reset the grid

Hi
Currently I am using your grid for a search. I have the requirement to first clear the grid for a new search and then add the search results. Therefore I need a possibility to clear the cached articles.
How about adding the following code?
$(this.element).on('babylongrid:remove', function() {
    self._removeArticles();
});

/*
 Remove articles
 */
_removeArticles: function() {
    this.cached.articles = [];
    this._setColumns(this.__currentColumns);
},

Do you want to send PR on this?

done in: https://github.com/turboMaCk/Babylon-Grid/commit/d8ba8070698581429d8d42e7a0f2ab777f896c43


Implement On premises Signer instead of GCPKMs

GCPKMs is not allowed to be used in our country
We need an on-premise implementation reference for signing export files.
Solution: Have an on-premise implementation of a KeyManager interface
In the reference code there is gcpkms.go when an implementation using the Google Cloud service. We are expecting a similar option to be used locally.
We already have a custom implementation for the KeyManager interface and it seems to be working well but we would like to be sure of being using the right implementation for signing.
Our current implementation
`// Package signing defines the interface to and implementation of signing
package signing
import (
"context"
"crypto"
"crypto/ecdsa"
"crypto/x509"
"encoding/pem"
"fmt"
"io"
"io/ioutil"
"os"
)
// GCPKMS implements the signing.KeyManager interface and can be used to sign
// export files.
type LocalSigner struct{}
func NewLocalSigner() (KeyManager, error) {
return &LocalSigner{}, nil
}
func (ls *LocalSigner) NewSigner(ctx context.Context, keyID string) (crypto.Signer, error) {
return &LocalSigner{}, nil
}
func (ls *LocalSigner) Public() crypto.PublicKey {
pubkey, _ := ReadPublicKeyFromFile()
return string(pubkey)
}
func ReadPublicKeyFromFile() (string, error) {
file, ok := os.LookupEnv("SIGN_PUBLIC_KEY_FILE")
if !ok {
file = "exposure-uy.pub"
}
encPubb, err := ioutil.ReadFile(file)
if err != nil {
return "", err
}
return string(encPubb), nil
}
func (ls *LocalSigner) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) (signature []byte, err error) {
file, ok := os.LookupEnv("SIGN_PRIVATE_KEY_FILE")
if !ok {
file = "exposure-uy.priv"
}
encPrivb, err := ioutil.ReadFile(file)
if err != nil {
return nil, err
}
encPub, err := ReadPublicKeyFromFile()
if err != nil {
return nil, err
}
encPriv := string(encPrivb)
priv2, _, err := decode(encPriv, encPub)
if err != nil {
return nil, fmt.Errorf("unable to decode: %w", err)
}
r, s, err := ecdsa.Sign(rand, priv2, digest[:])
if err != nil {
return nil, fmt.Errorf("unable to sign: %w", err)
}
sig := r.Bytes()
sig = append(sig, s.Bytes()...)
return sig, nil
}
func decode(pemEncoded string, pemEncodedPub string) (*ecdsa.PrivateKey, *ecdsa.PublicKey, error) {
block, _ := pem.Decode([]byte(pemEncoded))
x509Encoded := block.Bytes
privateKey, err := x509.ParseECPrivateKey(x509Encoded)
if err != nil {
return nil, nil, err
}
blockPub, _ := pem.Decode([]byte(pemEncodedPub))
x509EncodedPub := blockPub.Bytes
genericPublicKey, err := x509.ParsePKIXPublicKey(x509EncodedPub)
if err != nil {
return nil, nil, err
}
publicKey := genericPublicKey.(*ecdsa.PublicKey)
return privateKey, publicKey, nil
}
`

Would support for signining via hasicorp vault be sufficient?
We’ve already added support for vault secret management and could do the same for signing?
Or do you require loading keys from local storage?

/kind enhancement
/priority important-soon

/assign

With Vault is great and enough for us, we are using the Vault
implementation for secrets.
El El vie, 22 de may. de 2020 a la(s) 02:21, Mike Helmick <
<EMAIL_ADDRESS>escribió:

Would support for signining via hasicorp vault be sufficient?
We’ve already added support for vault secret management and could do the
same for signing?
Or do you require loading keys from local storage?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/exposure-notifications-server/issues/414#issuecomment-632487940,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEZB7WU5NONFZBVDVBTO23RSYDUVANCNFSM4NHPGIEA
.

--
Gaston Milano
CTO | GeneXus
[image: GeneXus] http://www.genexus.com/

Actually - I’m going to hand this off
/assign @sethvargo


Fix invalid condensed light italic font paths

Scss source does not compile when including condensed light fonts, as the folder names are not corresponding to the name in the repository and npm package.
This means that I cannot include open-sans simply like this:
$FontPathOpenSans: './open-sans'; @import "../../node_modules/open-sans-fonts/open-sans.scss";
where I just copy the whole font directory to ./open-sans.

When do you plan to deploy this fix to npm?

Never mind, I see it's already released. Thanks.


Publish: [Admin area]:Folders with one symbol after dot in name inside nested structure has incorrect name in Approve require section

EPAM AI DIAL chat version
0.10.0
How to reproduce
Preconditions:
there is a nested folder structure folder1->folder1.1->folder1.1.1->folder1.1.1->chat1
Steps:

create publish request from folder1
create publish request from folder1.1
create publish request from folder1.1.1
create publish request from folder<IP_ADDRESS>
go to Admin area and view requests

Actual result
in request for folder1.1 names of folders displayed in wrong way, like .1->.1.1->.1.1.1

for other folders from structure publish requests has correct folders' names
NOTE: the same case reproducible for nested folders with less folders, like
folder3->folder3.3->folder3.3.3 - reproducible on folder3.3
folder4->folder4.4 -  reproducible on folder4.4
Expected result
Folders' names should be displayed in the same way as it was in original publish request
Confidential information

[X] I confirm that do not share any confidential information

Issue is fixed - verified on STG


Need. While you're in the vicinity, any ideas about https://github.com/IainNZ/Coverage.jl/issues/81?

Not without some digging. Will have to be later---got Colors to fry!

:+1:


[Meta] Images and other resources

This issue holds resources such as images, which are to be used in the README and other places (f.e. NuGet).


Improve MSVC support in cygwin compiler.

Patch from https://bugs.python.org/issue25251
Fixes https://github.com/pypa/setuptools/issues/2704

Changes to _distutils need to be contributed to pypa/distutils and they will be merged into here.


Add playbook for glance security fix

Not exactly DRY, however this is the safest way to just do the required
parts for mitigating the traversal bug.

Tests passed, but didn't report here.

+1


Add LockedUntil column

If a job's connection dies, then the advisory lock will be released and another worker can lock the job and start working it, leading to a situation where multiple workers could be working the same job.
This change minimises that risk by adding a locked_until column which is bumped in a goroutine whilst a job is being worked, so even if the advisory lock goes away, the job can remain locked until it is done.

@titanous updated to use the time from the server, plus some test fixes.

@titanous comments addressed

LGTM


Link to News under the home page featured items

from Natalia (08/08)
" -Could you please add a link on the homepage under the featured stories that says "See more news" and takes you directly to the news page?"

This is done


Review: Add Filesystem::filename

Add Filesystem::filename, and use it in place of a few tricky boost ifdefs.  Also add Filesystem::extension that is like file_extension but includes the dot (and thus is compatible with boost).

LGTM


Lyrics Plugin is not a good url wikia no longer exists

Hi, how to use say lyrics.com in this vs the one installed, ty!

Yeah, unfortunately the wiki is no longer available, the replacement is no longer compatible and hostile to scraping (they want to show you advertisements). This plugin is permanently broken and will eventually be deleted. The whole thing would need to be rewritten with some easily accessible source if one even exists...


Table zoom and Rows property

Hello, I have 2 questions/issues:
1- When I use css zoom on a table the height keeps the same for clusterize and it breaks the code. Is there any way to pass row height to clusterize so it can scale with table zoom based on user code instead of capturing it automatically with refresh() ?
2- I'm constructing a table with local data arrays that append to clusterize rows property, so on clusterize object instance how can I access rows property with all my data and be able to change it ?
( I prefer to avoid update because maintaining and updating an too big global array may cost a lot to process)
Thanks

Hi

Saying zoom do you mean this one. It's low supported property by browsers. Why don't use transform: scale? It shouldn't affect height measurements.
p.s. apply it to <tr> or <td>

Data rows were made private inside clusterize instance intentionally to prevent direct mutation of it. You should use supporting functions like .append/.prepend/.update to give a hint to clusterize about your intentions regarding desirable changes. How would you inform clusterize when it should update without them? It didn't use observables so it won't know when to update by itself.

Hello
thanks for the fast response
1- Yes, this is the property, css zoom. It's better than scale because at least in my tests when the table is fixed to 100% of parent's table i can zoom the table an it will keep parent's bounds, contrary to what happens with transform:scale(), so in my tests bounds were not respected. About the browsers, the supported ones are enough for the user experience.
So finally, because zoom really doesn't change height and clusterize captures it automatically, the visualization gets wrong position results. The solution i thought for this problem was to change clusterize row height relative to zoom, then if my zoom value is 0.5 the I would change: clusterize.rowHeight*=0.5 so the library recognizes it as the same proportion as the user.
2- I use append() to inform clusterize about the changes (and it is great) but large arrays push() may get slow with time to maintain and use update() every time, because my table updates data dynamically So clusterize loads rows data persistent with the object I think. Then i would like to change directly from this resource. This would be useful to change classes, rows selected row's background color and etc...

1 - well in theory it's possible to determine zoom property and apply this formula clusterize.rowHeight*=zoom but to do so we'll need to look for all styles of all parents considering such cases like (1 parent may has zoom: .2, upper one may has zoom: 1.3, etc), doesn't we?
2 - Sorry but I still did not get your idea with object. .update method isn't such resource-intensive method,  everything it does - updates current visible cluster layout in DOM for current scroll position. Common task. Furthermore if changes didn't affect visible cluster - it won't touch DOM at all, new data will be simply stored to clusterize instance and used once scroll reaches it. How many times per second you planning to call .update?

1 - You would have these steps applied to all users if use an auto value catcher, even them not using the zoom property (wich is a rare case).
So, a less structure invasive and not limitating solution would be just give access to clusterize.rowHeight property and let users of the library change values on zoom change callbacks.
The zoom property to keep watching would be scrollId>table zoom only.
2- The problem with update is not the DOM syncronization, but the data array changes. If I use update with 2 giant arrays (one mine, one from Clusterize), passing mine to clusterize object every 0.2 secs, would be slow and consume too much memory. I'm dealing with data>100000 bases.
So my sugestion for both cases is: give access to rowHeight and rows[ ] properties trought clusterize object. It would make the library even more incredible and useful for big quantities of data. :+1:

Well, I am sorry but I still don't think this is good idea.
Since you need this for your purposes you able to fork library, change this line to this.rows = isArray(data.rows) so you'll have access to rows by clusterize.rows and you actually already have access to item_height and cluster_height by clusterize.options.item_height
After applying changed you may publish it to npm so that it'll be easily accessible by npm


Vive support

We added Vive controller support.
Have a look and merge if good.
Thanks!
Jens

Hey,
I'll have be able to test it on a Vive tomorrow afternoon so I'll let you know then.
Thanks!

Works great! Thanks.


hmdb edges pointing the wrong direction

Match (c:biolink:PhenotypicFeature {id:"HP:0002017"})-[a]-(x)-[b]-(d:biolink:ChemicalEntity {id:"PUBCHEM.COMPOUND:3776"}) return *
Shows a number of cases where x is a gene and there is an edge saying that the gene affects the abundance of d (the chemical).  The edge is coming from HMDB.

This is almost certainly turned around the wrong way.

See also https://github.com/NCATSTranslator/Feedback/issues/749.
I'm not sure that this is related.  And looking back at this ticket, I'm not sure why I was convinced that the abundance edge was pointed the wrong direction.  It could go either way, really.  But I think we need to review the chemical/gene directions in HMDB overall.

These edges are pointed in the other direction now. We did previously switch the direction of the affects_abundance_of edges too though, so we should double check that was correct.

For the affects_abundance_of edges I agree with Chris's above comment, it could go both ways. I am not sure how we would clarify which way the specific edge is pointing.

I think it's a question of going back to HMDB and reviewing whatever documentation they have about what their tables mean, and making sure that it's consistent with how we represent the dat.


Properties defined as non-nullable with a default value are still marked as required in the swagger schema

As said in the title, I have looked into the code up to io.github.smiley4.schemakenerator.reflection.steps.ReflectionTypeProcessingStep#parseProperty
    private fun parseProperty(
        member: KProperty<*>,
        resolvedTypeParameters: Map<String, TypeParameterData>,
        typeData: MutableList<BaseTypeData>
    ): PropertyData {
        return PropertyData(
            name = member.name,
            type = resolveMemberType(member.returnType, resolvedTypeParameters, typeData).id,
            nullable = member.returnType.isMarkedNullable, // <-- This definition here
            annotations = parseAnnotations(member).toMutableList(),
            kind = PropertyType.PROPERTY,
            visibility = determinePropertyVisibility(member)
        )
    }

and its usage in io.github.smiley4.schemakenerator.swagger.steps.SwaggerSchemaGenerationStep#buildObjectSchema
    private fun buildObjectSchema(typeData: ObjectTypeData, typeDataList: Collection<BaseTypeData>): SwaggerSchema {

        val requiredProperties = mutableSetOf<String>()
        val propertySchemas = mutableMapOf<String, Schema<*>>()

        collectMembers(typeData, typeDataList).forEach { member ->
            propertySchemas[member.name] = schema.referenceSchema(member.type)
            if (!member.nullable) { // <-- Used here to define the property as required
                requiredProperties.add(member.name)
            }
        }

        return SwaggerSchema(
            swagger = schema.objectSchema(propertySchemas, requiredProperties),
            typeData = typeData
        )
    }

So there seem to be no distinction between the notions of "nullable" and "required" in the PropertyData class. It would be great to have a distinct "required" boolean field that takes into account non-nullable fields with default values such as :
data class MyClass(
    val myField: Int = 42
)

Hi,  thanks for the suggestion,
i added an automatic detection of optional properties (only for properties declared via constructor) when using reflection. By default, they are still handled as required during schema-generation, though this can be changed via the config at the generation step:
val result = typeOf<MyExampleClass>()
    .processReflection()
    .generateJsonSchema {
        optionalHandling = OptionalHandling.NON_REQUIRED // same for swagger-schema
    }
    .compileInlining()

Since this works only for constructor parameters, i added two annotations "@Optional" and "@Required" that are handled in the "handleCoreAnnotations"-step (and overwrite any other behavior, e.g. from nullability or optional from constructor).
The changes will be included in the next version.
I hope these changes make sence. If you have any other idea, please let me know :)


Cannot install on Kibana 5.2

Don't know if Kibana 5.2 is supported?
ubuntu@kb-01:/usr/share/kibana$ sudo -u kibana bin/kibana-plugin install https://github.com/elasticfence/kibrand/archive/master.tar.gz
Attempting to transfer from https://github.com/elasticfence/kibrand/archive/master.tar.gz
Transferring unknown number of bytes
Transfer complete
Retrieving metadata from plugin archive
Error: Could not find the End of Central Directory Record
Plugin installation was unsuccessful due to error "Error retrieving metadata from plugin archive"

HI @packet-rat unfortunately 5.x support is not yet planned, but definitely at some point.

I would like this functionality for kibana 5 as well. I'll follow and keep an eye out.

+1

+1

There are no plans to port this plugin to 5.x or higher at this time.
You guys can consider this instead, tested with 5.x: https://github.com/ErikvdVen/kpd-custom-theme


Group component missing title i the generated PDF

Description of the bug
The title shows up in the page when we run the app, but not in the generated PDF.

Steps To Reproduce

Add a Group component with title to an app
Add a Panel component, and add it to the Group component
Run the app
Check that the Group component shows on page with the title
Submit the data
Check the generated PDF for the Group title

Additional Information
      {
        "id": "H-01-Group-Virksomhet",
        "type": "Group",
        "textResourceBindings": {
          "title": "H-01-Group-Virksomhet.title"
        },
        "children":
        [
          "H-01-Panel-Virksomhet"
        ]
      },
      {
        "id": "H-01-Panel-Virksomhet",
        "type": "Panel",
        "textResourceBindings": {
          "title": "H-01-Panel-Virksomhet.title",
          "body": "H-01-Panel-Virksomhet.body"
        },
        "variant": "success",
        "showIcon": false
      },

Slack thread: https://altinn.slack.com/archives/C02EJ9HKQA3/p1711097239720639
The problem seems to be in how the group component is handled in summary, likely the case where the GroupComponent is used with the prop isSummary: true


[Bug]: הפעיל לי את האנטי וירוס על Malware

What happened?
The file C:\Users\kutzd\AppData\Local\vibe\ffmpeg.exe is infected with Gen:Variant.Lazy.540663 and was moved to quarantine. It is recommended that you run a System Scan to make sure your system is clean.
🤷♂🤷♂🤷♂
Steps to reproduce

step one...
step two...

What OS are you seeing the problem on?
Window
Relevant log output
No response

Thanks for letting know about that issue!
Looks like Microsoft Defender detects ffmpeg.exe as a Torjan / Virus.
I reported to Microsoft that it's a false positive at wdsi/filesubmission
And also created an issue in avbuild/issues/70
Hope they will whitelist vibe (again) soon.

2.8.0 is now signed with self signed cert. should be solved


Modify ci.yml 'on' to run on pull request

Lets see if this works!

There you go! This is now running the CI on a PR

OK re-pushed to add ubuntu also. Lets see!

This is now running the CI on a PR

To a be a jerk, it probably was going to work anyway, as you were no longer a first time contributor!
But you are right, pull_request was removed here, maybe due to some annoyance with it firing twice with push sometimes?

OK re-pushed to add ubuntu also.

letsgooooo, going for gold!!!

yeah lemme try a bit!

i think that error was mentioned here: https://github.com/sudara/melatonin_inspector/issues/93#issuecomment-1735496758
I thiiiink related to the precompiled binary asset stuff — it might a bit of cleanup, but lol, surprise it's managed by [copy_cmake_assets.rb](https://github.com/sudara/melatonin_inspector/blob/main/copy_cmake_assets.rb)

OK looks like that will work. let me squash it and rewrite the comment.

OK this is ready!

Oooh actually hold on a second.

So the precompiled thing. You are treating them as part of your main module whereas juce cmake usually makes them a separate library it compiles itself (with different flags). So it ejects code which doesn't work with error and standard juce warnings.
That's OK though. You can wrap the inclusion of the CPP in a suppress-that-error GCC block I think and have a change to do that
Add edgeGap -> _edgeGap in the ctor argument and in theory you can run linux CI with warnings are errors on.
Lets see!

OK now this is really really good to go! :)


Translucent rectangles very slow when switching to 2D

Rendering several stacked translucent rectangles seems to severely decrease scene performance, but only when switching to 2D from other scene modes - starting the scene in 2D doesn't seem to have the same performance drop.
I'm not seeing the same performance drop in 1.49 as in master (42 -> 30 FPS vs. 42 -> 14 FPS), so this seems like a recent regression as opposed to a bug we never found before.
var viewer = new Cesium.Viewer('cesiumContainer');

viewer.scene.debugShowFramesPerSecond = true;

// Tropics of Cancer and Capricorn
var coffeeBeltRectangle = Cesium.Rectangle.fromDegrees(-180, -23.43687, 180, 23.43687);

// Add rectangles to show bounds
var rectangles = [];

for (var i = 0; i < 10; i++) {
    rectangles.push(viewer.entities.add({
        rectangle : {
            coordinates : coffeeBeltRectangle,
            material : Cesium.Color.RED.withAlpha(0.1),
            height : i * 5000.0
        }
    }));
}

Sandcastle.addToolbarButton('Show/Hide Rectangles', function() {
    var rectanglesLength = rectangles.length;
    for (var i = 0; i < rectanglesLength; i++) {
        var rectangleEntity = rectangles[i];
        rectangleEntity.show = !rectangleEntity.show;
    }
});

Related? #5026

git bisect points to https://github.com/AnalyticalGraphicsInc/cesium/pull/6957/commits/4633ea6b10132066e222a73a1e6a3fd639c8071e. I'll look into this.


Save unchanged content

UserTask checks to see if a repo's dirty before it tries to commit it, and returns a boolean indicating whether it committed or not.
closes #539

Looks great. Love the test.


Revert "Confirmation Dialog before deleting something from the tickets/ trips or transportation mean table"

I'm reverting this, since it's not successfully deleting the items, I'll push the new change and you can see in the Mean of Transport how I changed it ! Thank you for your work nonetheless

Mam can  you tell me wether the changes which i made was working for any other table or it was working for none of them .

Mam can you tell me wether the changes which i made was working for any other table or it was working for none of them .
You did fix a couple of things, but you did miss where instead of setting toBeDeleted as a state of true or false, I changed it to track the item_id that will be deleted.
When you click on the delete icon it will fire this :
<button                 onClick={(e) => {                   console.log(item._id);                   settobeDeleted(item._id);                   setShowDelete(true);                 }}
-> It will both show the modal + settobeDeleted to the specific item_id, because if you don't do it, it'll delete the last row of the table.
Here's the modal :
 {showDelete && (                   <Modal                     open={showDelete}                     setOpen={setShowDelete}                     content="Are you sure you want to delete this Transport from your list ?"                     handle={(e) => handleDelete(tobeDeleted)}                     button={"Delete"}                   />                 )}
-> I'm passing tobeDeleted in the handleDelete
Do you want to try again with the tickets and trip table ? I have only fixed the TransportTable

mam i have a doubt the functioning related to the handle is working can you please explain it to me . And yeah I can again give it a go to tickets and trip table.

I did not get the point you are making : (

I hope these images will explain what I'm trying to say, When I click here the delete icon

The modal shows up

Which is what you've done right ? but when I click on the delete button that I highlighted in the picture, nothing happens. It basically doesn't delete the item in the row. So basically the modal shows up but the delete method isn't working.

Is it still happening with the solution you come up with ??

No I think I've fixed it, but you try it in case there's an issue ;)

Okay I will try it thanks for so much information
And sorry also I have wasted so much of your time 🥲🥲 , further can I still deal with the same for other table as well or you have done it

No it's no problem, I'm happy that someone is contributing to my project. I probably should have reviewed your code well before merging, except I'm new to open source. Thank you and good luck ! Think of this project as a space to learn ^^


Include the runtime system in the bootstrapped files

Currently the compiler is bootstrapped by keeping the llvm bitcode of the compiler in source control, building the current version of the C/C++ code constituting the runtime system, and compiling and linking the bitcode with the runtime. This makes it possible for the bootstrap compiler and runtime system to get out of sync, and either fail to build or produce a buggy executable.
This PR changes the compilation of the 64-bit runtime system to produce llvm bitcode instead of a native archive, adds this bitcode to the files maintained in the compiler/bootstrap directory, and adjusts the build accordingly.
One side benefit is that the prelude no longer needs to build the runtime from source, it can simply use the bitcode version.

CI is happy up until the last commit, so I suspect that there is something that is not independent enough between aarch64 and x86_64 bitcode.
I've put up https://github.com/SkipLabs/skdb/pull/65 as an alternative work-around for the main problem this PR was trying to solve.

Is the memory issue you're seeing with the build happening only on this PR or it's orthogonal?

Orthogonal. I have tried building the compiler at each point in the git history where the bootstrap bitcode was updated back for about a year to the point where Lucas moved the runtime directory. None of them build reliably for me. Makes me very suspicious that it is my environment/hardware.


update react-dom to 16.4.1 (same as react)

Fixes calls to UNSAFE_* lifecycle methods, which have been introduced in v16.3

Sorry but can you make PRs to the devel branch?

Oh sorry I was thinking of the core repo! No you're right for the starter repo it should be to master, I'll delete devel in fact.


make OkApacheClient.execute() method react to httpHost paramater

Some code, especially some library code such as thrift, put host info in HttpHost and only path info in HttpRequest, that makes OkApacheClient got an MalformedURLException when calling Request.url() method.

(CLA is good. From 2013!)

I don't know why CI build always failed. Building is success on my local environment.
I can't open the CI web page.

Please reopen if this is still an issue.


ACR phantom with 4 resolution inserts

Hi, thanks for this it is a really nice front end to hazen, we have a medium ACR phantom from proMRI ( https://www.standardimaging.com/products/pro-mri-acr-phantom ) but it has 4 resolution inserts. Thus, the analysis fails for our resolution task.

Could this be fixed? The other tasks tested so far work really well. I can send the .dcms if you let me know where to send them as they wouldn't attach
BW
Maria

cmd line output: " Running SNR
Slice order inversion not required.
LR orientation swap not required.
Optimization terminated successfully.
Current function value: -254873.000000
Iterations: 49
Function evaluations: 122
SNR :70.69
Normalised SNR :2760.1
Progress 1/7
Running Geometric Accuracy
Slice order inversion not required.
LR orientation swap not required.
Optimization terminated successfully.
Current function value: -254873.000000
Iterations: 49
Function evaluations: 122
Slice 1 Hor Dist: 174.8    Vert Dist: 176.27
Slice 5 Hor Dist:176.27    Vert Dist:178.71    Diag SW Dist:176.76   Diag SE Dist:176.27
Progress 2/7
Running Spatial Resoloution
Slice order inversion not required.
LR orientation swap not required.
Optimization terminated successfully.
Current function value: -254873.000000
Iterations: 49
Function evaluations: 122
Could not calculate the spatial resolution for IB_Ax_8_1 because of : Error: The number of found resolution square does not equal exactly 4.
Traceback (most recent call last):
File "hazenlib\tasks\acr_spatial_resolution.py", line 128, in run
File "hazenlib\tasks\acr_spatial_resolution.py", line 942, in get_ContrastResponse
File "hazenlib\tasks\acr_spatial_resolution.py", line 81, in GetROICrops
File "hazenlib\tasks\acr_spatial_resolution.py", line 670, in GetResSquares
Exception: Error: The number of found resolution square does not equal exactly 4.
Exception in Tkinter callback
Traceback (most recent call last):
File "hazenlib\tasks\acr_spatial_resolution.py", line 128, in run
File "hazenlib\tasks\acr_spatial_resolution.py", line 942, in get_ContrastResponse
File "hazenlib\tasks\acr_spatial_resolution.py", line 81, in GetROICrops
File "hazenlib\tasks\acr_spatial_resolution.py", line 670, in GetResSquares
Exception: Error: The number of found resolution square does not equal exactly 4.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tkinter_init_.py", line 1967, in call
File "GUI.py", line 449, in RunAnalysis
File "MedACRAnalysis.py", line 139, in RunAnalysis
File "hazenlib\tasks\acr_spatial_resolution.py", line 150, in run
Exception: Error: The number of found resolution square does not equal exactly 4.
"
IB_AX_0008.zip

Hi Maria
I Had a look at your phantom data. Firstly it seems to be scanned back to front (which is part of the reason why it can’t find all 4 resolution blocks). Also, it seems to not be the same ACR style phantom we expect. In the image below you can see the differences in the first slice and on the second image you can see the distortion insert is also quite different

Looking at the link in your post it seems to suggest it should have a 3x3 holes array (like the one on the right), so I’m a bit surprised your DICOM shows the lines.
Also, your DICOM dimensions are a bit strange, I expect the medium ACR to have a diameter of 165mm but yours seems to have a diameter of 175mm. This seems to be least part of the reason why the resolution is struggling (it relies on the geometry to find the squares). I'm not sure if this is caused by the distortion though, you can really see it in the first slice.
With that being said if you run the spatial res method as "MTF" and the Geo Acc method to "ACR Method" it does seem to give some reasonable results. Although since the phantom is different to what is expected it doesn't come with any guarantees!
Thanks
John

Hi John, so sorry i posted the wrong link. This ( as you discovered ) is ours: https://www.southernscientific.co.uk/products-by-manufacturer/diagnomatic/mri/pro-mri#technical-specifications. It would be great if it could, in the future be adapted to work with the distortion grid in case you see a lot of other people using the same acr phantom as us. Thanks again! /Maria