HSet method hanging

I'm trying to use hset command, but it hangs there all the time. Here is my code,
startup_nodes = [
{"host": "XX.XX.XX.XX", "port": 6379},
{"host": "XX.XX.XX.XX", "port": 6379},
{"host": "XX.XX.XX.XX", "port": 6379},
]
redis = StrictRedisCluster(startup_nodes=startup_nodes, decode_responses=True)
for data in datalist:
redis.hset("hashname", data.lower(), data)
Any ideas?

Not really, you need to dig further to see where it gets stuck. If the code is stuck on the client side or not. At least check if the command is reaching the server side or not, try to run MONITOR on all nodes and see if the client recieves the command. If you find a spot where it is stuck on client side then you need to post and show where. The client should not just get stuck like this, maybe investigate if a timeout can be set and if that unblocks your client.

Thanks for your reply. But I can use set and get command, I don't think I got blocked.

Just becuase another command path works as you expect, do not mean that a different command path works the exact same way. Please verify on the redis side with the command is recieved by the server, and you need to dig into where the code gets stuck, becuase this is not replicatble in either unittests or in local dev on my side. That basic code works as is.


Default rails console strategy configuration

Remove default setting of :urgent strategy for console if there is another current strategy.

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[ ] Squashed related commits together.
[x] Updated tests.
[x] Added an entry to the changelog if the new code introduces user-observable changes. See changelog entry format for details.

Will it close https://github.com/toptal/chewy/issues/495?

@barthez Yes, this PR will solve this issue https://github.com/toptal/chewy/issues/495
I am going to leave the accompanying comment there after merging.

@Vitalina-Vakulchyk I guess @barthez asked about solving that issue because then you can follow that check on PR description: Commit message starts with [Fix #issue-number] (if the related issue exists). and rename your PR description accordingly.
It helps us to keep track of PRs and Issues and I believe it automatically closes the issue once this PR is merged

Thank you! I have changed the PR name.

Ruby 2.5 support was dropped in this PR according to discussion in the team Slack chat https://toptal-core.slack.com/archives/C6C64B7H8/p1617365634490100

@rabotyaga how do you think this should be tested?
Adding rails as a test dependency just to invoke Rails::Console.new like is tested at Rails itself just to capture its IO?
Do you think that it worth? Or have other idea about how to do it?

@rabotyaga how do you think this should be tested?
Adding rails as a test dependency just to invoke Rails::Console.new like is tested at Rails itself just to capture its IO?
Do you think that it worth? Or have other idea about how to do it?

We could add just a couple of lines to https://github.com/toptal/chewy/blob/master/spec/chewy/config_spec.rb

I added test for default console_strategy.

@rabotyaga I have added setter spec.


Foot note for a list item shows up before it is supposed to

Is your feature request related to a problem? Please describe.
I've a list and a footnote on the third list item, and I can't see to figure out a way to hide the footnote till the actual item comes up.
The slide content looks like:
<v-clicks>

- Cloud Development Kit
- Define cloud resources using code
- Not a DSL, same language that you might be familiar with
- CDK Supports:
  - TypeScript
  - JavaScript
  - Python
  - .net
  - Go [^dev]

</v-clicks>

[^dev]: in developer preview

This is what I see:

Describe the solution you'd like
The footnote should be shown till the corresponding list item is shown.
Describe alternatives you've considered
I tried applying v-after but doesn't seem to work.

IIRC you can do:
---
clicks: 7
---

<v-clicks at="3">

...

</v-clicks>

the list will start showing after you click 3 times.
You can refer to my slides: https://github.com/antfu/talks/tree/master/2021-10-20

Yeah, the problem is that the footbote is shown immediately on slide load and using <v-clicks at="3"> doesn't show the specific list item till click 3 but the footnote is shown all times

I updated the issue to highlight the problem, sorry to have gotten it wrong.


21BCAD51(login issue)

Issue/Feature Description:
when i try login it shows error
Why this issue to fixed / feature is needed(give scenarios or use cases):
because i cant login
How to reproduce, in case of a bug:
just try to login using admin admin id pass
Other Notes /  Environment Information: (Please give the env information, log link or any useful information for this issue)
fix this asap

@skdwriting


feat(ecmascript): add ConstantEvaluation

#6549  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Boshen and the rest of your teammates on  Graphite


Discover page: depict number of matches and pages in list view

The current list view does not expose the number of matches or number of pages to the user. This makes it difficult to decide whether to limit choices by faceting.  The discovery list view should depict page number links.

Closed, as current 1.14RC now has the feature and it works.


Setting bound in kernel parameters

Hi experts,
Thanks for this wonderful package. I was wondering if there are any functionalities on how to set bound on the kernel parameter space when I do optimize without going into messing up functions COptimiser.cpp? Thanks!
Yvonne

Hi Yvonne,
The parameter transformations are actually handled in CTransform,
https://github.com/SheffieldML/GPc/blob/master/CTransform.cpp
These different classes (exponential transforms, negloglogit (which today people call soft-relu!) and sigmoid).
My memory is that a sigmoid transformation should enable you to fix bounds.
But while I wrote the code and was once an expert, that was a while ago!
Neil

Hi Neil,
I tried using the addTransformation of sigmoid in _init to add in the bound, however, it appears that the bound not applied as the optimized kernel printed out later is not of the correct bound. Wondering if made a mistake I tried to apply the defaultZeroOne bound to the code. but it appears that the optimized kernel params is out of the 0,1 bound as well. I wonder if I misunderstood the logic and the addTransformation needs to be applied somewhere else?
Thanks, any pointers from you will be greatly appreciated.
Yvonne

Hi Yvonne,
Can you provide a gist for me to have a look at showing how you've done it?
(https://www.youtube.com/watch?v=wc2NlcWjQHw)
I can't promise I'll remember how it all works, but I can take a look at least!
Neil

Hi Neil,
https://github.com/Yvonne-Ng/gpc_root
Check out branch: dev
to compile: make dummy_main
execute: ./dummy_main
You will likely need this tool to compile, likely a package manager from your OS will work.  But maybe the logic on its own is not too hard to read.
https://root.cern.ch/downloading-root
The lines are here:
dummy_main.cpp: line 80 (the learn function) ->
gp_TH1.cpp: line 353 (only testing on rbf) ->
and CKern.cpp: line 1096
The biggest mystery to me right now is why setting transformation with defaultZeroOne  in CKern.cpp stills gives me a post-optimise rbfinverseWidth=1.51499 (out of the 0/1 bound? )
I wonder if I am missing something obvious...
I am also attaching an output.log from running ./dummy_main.
Sorry that the code is messy, I hope to rewrite once I figure out how it works. I greatly appreciate your offering to take a look!
output.log
Yvonne

Missing TH1D.h ...

Did you install the Root package?
Yvonne
On Apr 8, 2020, 4:19 AM +0800, Neil Lawrence<EMAIL_ADDRESS>wrote:

Missing TH1D.h ...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Doh! Should read further in instructions ;-)

Let me know if it works :)
Yvonne
On Apr 8, 2020, 4:34 AM +0800, SheffieldML/GPc<EMAIL_ADDRESS>wrote:

Missing TH1D.h ...

Hmmm ... struggled to get Root to compile on my machine (I'm on a mac, but it doesn't seem to like my C++ compiler .. it seems to want a newer one ...)
Can you point me at the lines in the code where the problem is?

Ah yes! it's here (also in the comment above) :
The lines are here:
dummy_main.cpp: line 80 (the learn function) ->
gp_TH1.cpp: line 353 (only testing on rbf) ->
and CKern.cpp: line 1096
The biggest mystery to me right now is why setting transformation with defaultZeroOne  in CKern.cpp stills gives me a post-optimise rbfinverseWidth=1.51499 (out of the 0/1 bound? )
I wonder if I am missing something obvious...
I am also attaching an output.log from running ./dummy_main.
output.log
Sorry that the code is messy, I hope to rewrite once I figure out how it works. I greatly appreciate your offering to take a look!
Yvonne

So to be clear, these are line numbers in gpc_root (the other repo).
Looking at your line 353 in gp_TH1.cpp
    kernels[i]->setBound(0, min(LS2IW(lower_LS), LS2IW(upper_LS)), max(LS2IW(lower_LS), LS2IW(upper_LS)));

My first question is: are you sure that 0 is the right index for the parameter (the lengthscale)? Maybe we started changing this practice in later code bases ... but normally index the kernel variance first because it's always there ...

Hi Neil,
I think it's right since in line 1143 in CKern.cpp, case 0 = inverseWidth and case 1 is variance. In any case I have tried putting a bound on the variance as well, but the variance optimized still ended up going beyond. Does the effect of addTransform gets propagated into optimise()? Thanks!
Yvonne


Consider expanding error P1012 description

We've had a suggestion to expand our docs for error code P1012 to include invalid schema errors (when parsed with Prisma 4 or later).
Wrinkle: errors page is generated content, so we'll need to be careful about preserving any new material we add.
Slack thread: https://prisma-company.slack.com/archives/C5Z9TH6N9/p1660549192661239
Example:

User has Prisma 3.12.0 with a valid schema
User upgrades to Prisma 4.0.0  (or newer) which now considers their schema file to be invalid. Here is an example error;

Error code: P1012
error: Error parsing attribute "@relation": A one-to-one relation must use unique fields on the defining side. Either add an `@unique` attribute to the field `profileId`, or change the relation to one-to-many.
  -->  schema.prisma:14
   |
13 |   id        Int      @id @default(autoincrement())
14 |   profile   Profile? @relation(fields: [profileId], references: [id])
15 |   profileId Int?

The P1012 section of the docs already contains:
Error parsing attribute @{}: {}
But it might be helpful to direct users to our upgrade guide, because some of these errors are not considered to be errors with all Prisma versions.

I'll investigate this one, now that I understand how our error doc is generated. I'll see how viable it is to add this information and if it isn't viable, what we can do to improve the situation

It does appear (but I am not certain) that the P1012 error material has been put in manually, and separately from the script output. I'll proceed on this basis, and add the material requested in this Issue.


Display files in list view

Users will be able to see all files in list view.

I am working on this.


Delete function for exclusion report

#1422 #1423 #1424
Delete should now be working for exclusion report
Changelog:

I added a destroy method to explicitly call the serializer, it was skipping it in some instances
Notification alert is reused from compliance reporting

 Exclusion Report | Delete a draft |2|

 Confirmation Alerts | Delete a Saved Draft Exclusion Report |1|

 System Alerts | Delete a Saved Draft Exclusion Report |1|


coral-web: enabled data sources and tools in composer

Description:
Part 1 of moving composer usability changes to toolkit. This PR includes:

showing enabled data sources from the composer and ability to deselect
allowing file selection from the drawer
IconButton UI updates like adding a tooltip

Note: there are some drawer selection inconsistencies (e.g. I added the logic to deselect all files if you remove it from the composer) that will be addressed when I port over the drawer changes in the next PR.
https://github.com/cohere-ai/cohere-toolkit/assets/5898755/1495623d-2209-4381-85e5-825089b63d2d
AI Description

This PR makes changes to the UI components of the Coral web interface, specifically related to file uploading, configuration, and conversation.
Files

Adds a handleToggle function to enable/disable the default file loader tool and update the list of file IDs.
Updates the Files component to include a Checkbox for each file, allowing users to select/deselect files.
Updates the UploadedFile component to include a checkbox and handle file selection.
Introduces the ComposerError component to display file upload errors.
Modifies the ComposerFiles component to use the MessageFile component for displaying files.
Adds the DragDropFileUploadOverlay component to handle drag and drop file uploads.
Creates the ComposerToolbar component to manage file uploads and data sources.
Implements the EnabledDataSources component to render enabled data sources in the composer toolbar.
Updates the Conversation component to include the ComposerToolbar and ComposerError components.
Removes the isDragDropInputActive state and related drag and drop event handlers from the Conversation component.
Updates the Conversation component to use the chatWindowRef for dynamic textarea height adjustment.

Configuration

Updates the ConfigurationDrawer component to include a tooltip label for the close drawer icon button.

Conversation

Updates the Composer component to include the ComposerError and ComposerToolbar components.
Removes the ComposerMenu component and replaces it with the ComposerToolbar component.
Adds the DragDropFileUploadOverlay component to handle drag and drop file uploads.
Updates the handleKeyDown function to prevent sending messages when composing is in progress.
Introduces the handleCompositionStart and handleCompositionEnd functions to manage composition events and update the textarea value.
Updates the ComposerFiles component to filter out files with errors and display them separately.
Removes the useFileActions hook and related file actions.
Updates the Conversation component to use the chatWindowRef for dynamic height adjustment.

Other Changes

Updates the IconButton component to include a tooltip label prop and render the tooltip using the Tooltip component.
Updates the MessageContent component to use the MessageFile component for displaying files.
Adds a new tooltip class to the tailwind configuration.

works as advertised ✅
question: how come disabling search_file from underneath the composer disables the file but doesn't do the same when disabled from the right side panel?

Yea I mentioned it in the description but I wanted to keep the changes a bit more contained, will address when I port over the drawer changes!


"Open Folder" activates "Open File" dialog instead

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
File -> Open Folder opens the "Open File" dialog instead.
Steps to Reproduce

File -> Open Folder

Expected behavior: Open Folder dialog appears
Actual behavior: Open File dialog appears
Reproduces how often: 100%
Versions
Atom    : 1.37.0-dev-363741a88
Electron: 3.1.3
Chrome  : 66.0.3359.181
Node    : 10.2.0

Windows 10 x64
Additional Information

application:open-folder and Ctrl+Shift+O work as expected.

Add Project Folder is fine.

Fix is here: https://github.com/atom/atom/pull/18855

I'm on linux (ubuntu 16.04), I just updated today to atom version today and I get the same problem.
atom --version
Atom    : 1.35.0
Electron: 2.0.18
Chrome  : 61.0.3163.100
Node    : 8.9.3

@ruesier: Sorry for the trouble. We're tracking this regression in https://github.com/atom/atom/issues/18971 and we're actively working on a fix. Please subscribe to https://github.com/atom/atom/issues/18971 if you'd like to get updates on the status of the fix.


Turndown Scheduling Build Failure

Hi guys,
I am trying to use Turndown in a GKE Cluster (v1.22.8-gke.200) but unfortunately on this version I am
experiencing an issue when creating a schedule I see this error......"kubectl create -f example-schedule.yaml
-n turndown error: unable to recognize "example-schedule.yaml": no matches for
kind "TurndownSchedule"
in version "kubecost.k8s.io/v1alpha1"
This has worked for me in lower versions previously!
Thanks for your help.
Cheers,
John

https://github.com/kubecost/cost-analyzer-helm-chart/pull/1429
Very similar to this-- we'll want to get this repo up-to-date as well!

Hi @CyberC0P, thanks for the report. I've opened a PR to fix this issue here: https://github.com/kubecost/cluster-turndown/pull/44. Once that's been merged, I'll cut a new release of cluster-turndown and let you know here.

Hi @CyberC0P we've addressed this issue in v2.0.0 of cluster-turndown. You can find the latest releases here: https://github.com/kubecost/cluster-turndown/releases.
Unfortunately, as you'll see in the release notes, this fix necessitated breaking changes to the turndown CRDs. This shouldn't affect new deployments of cluster-turndown that start at v2.0.0.
I'm closing this issue because it should be resolved. If v2.0.0 of cluster-controller does not address your issue, please feel free to reopen!


Add additional navigation to Step Challenges

The GIF Style challenges are great for short introductions, but more challenging for longer content, like "Get Set for Basejumps" there are several improvements that would make them easier to use:

[x] Enable "Previous" button on final screen
Right now there is no "Previous" button on the "Finish Challenge" screen.  If I accidentally double-clicked or wanted to go back, I should be able to go back from the final slide.

[x] Add (Step X of Y) somewhere on the screen
It would be helpful to be able to see how many steps there are and how many are to go.  As I am clicking through the "Get Set for BaseJumps" set, it seems interminable and there is no clear end in sight.

[ ] Add sidebar navigation
This would require giving each slide a title, but would make it significantly easier to go back and forth between slides if you missed something or just want to review. On first view, unvisited slides could be grayed out until visited.  This would also reinforce (or possibly replace) 1 above.

[ ] Add navigable anchors and windows.history entries for each slide
This would make it possible to link to a specific slide, ties into the navigation above.
Examples #slide1,  #slide-title-slug-here, or #slideX-title-here

[ ]   Disable force "Click To Open" if Waypoint has been previously completed
I shouldn't be forced to click to open another window if I've completed the challenge.  If I'm just looking for a specific piece of information (especially in longer step challenges), it's a drag to have to open all those windows.

Checking off two of these via @SaintPeter's PR #4467

Disable force "Click To Open" if Waypoint has been previously completed

Is this a valid concern? How often does someone need to repeat a step challenge?

A key use of the step challenges are as "how to" type instructions.  If you need to go back to review these instructions at all - for example the c9 setup instructions - you have to click every single "click to open" in order to get back to a specific step.
These instructions and links are not available elsewhere.  Having recently tried to step through several of these, the requirement that you click again is a huge pain.
What I have not yet investigated is how visible the completion status of a given challenge is to the client.  That was my next investigation.

@SaintPeter fair enough. I think there is another issue open to add a "skip" step button which would do the same thing.
Some challenges should not be skippable as well (earn front end/full stack cert step challenges).

Click to open closed by #5121

@SaintPeter do we still need those two or they are just nice to have (meaning we can close this issue)?

While those last two are nice features, they don't really bring a lot of value to users and would clutter a clean and simple UI.
Happy Coding!

Yeah, I agree with Berkeley - I think the X of Y is probably enough, especially now that we can skip "required" steps once we've already completed them.


New spin rotation and ip sampling (only Gaussian yet)

Response to #292.
I made a non-OLA version and o cuDNN of rigid rotation convolution and IP (Gaussian) sampling.
In this algorithm, we need top make "vr_array" to preallocate to compute rotational kernel:
   #settings before HMC
   vsini_max = 100.0
   vr_array = velocity_grid(res, vsini_max)

then, in HMC you can run
    F0=rtrun(dtau,sourcef)
    Frot = convolve_rigid_rotation(F0, vr_array, vsini, u1, u2)
    mu=response.ipgauss_sampling(nusd,nus,Frot,beta_inst,RV)

Thank you very much! I have confirmed that the code works.

While this is not related to the commits made in this pull request, there seems to be a failure in the unit test due to the lack of src/exojax/special/_special.py.

Thank you very much for the PR.
There is a minor error due to a redundant comma:
============================================ ERRORS ============================================
___________ ERROR collecting tests/integration/comparison/premodit/comp_lsd_test.py ____________
../../../miniconda3/lib/python3.9/site-packages/_pytest/python.py:578: in _importtestmodule
    mod = import_path(self.fspath, mode=importmode)
../../../miniconda3/lib/python3.9/site-packages/_pytest/pathlib.py:524: in import_path
    importlib.import_module(module_name)
../../../miniconda3/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
../../../miniconda3/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:161: in exec_module
    source_stat, co = _rewrite_test(fn, self.config)
../../../miniconda3/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:354: in _rewrite_test
    tree = ast.parse(source, filename=fn_)
../../../miniconda3/lib/python3.9/ast.py:50: in parse
    return compile(source, filename, mode, flags,
E     File "/home/tako/ghR/exojax/tests/integration/comparison/premodit/comp_lsd_test.py", line 36
E       from exojax.spec.premodit import make_elower_grid,
E                                                          ^
E   SyntaxError: trailing comma not allowed without surrounding parentheses

In addition, in my environment, pytools was not installed until just now...
ModuleNotFoundError: No module named 'pytools'

Do you want to add it to INSTALL_REQUIRES in setup.py?


Basic async support

This seems to work for me now. :)

Fixes https://github.com/danr/proptest/issues/11


Prepare for the next release and the mechanics for doing that

[ ] Need to decide what makes the next release the next release (mechanics)
[ ] Need to decide how we cut a release from trunk to live (dev-stage-prod)
[ ] Different from a patch, major and minor release

Add items related to the task in following link: https://docs.google.com/document/d/1fbZPobMMw2znSir-NxtpBm3AJ1sUHbuUl1Uih9iwbdA/edit


QSIPrep not combining same-session dwi scans

Hi Matt,
First off - thanks for all the hard work you put into this program and for your responsiveness to user issues. Here is my issue:
Out lab collects DSI in 2 back-to-back runs: 53 volumes and 52 volumes each, for a scan total of 105 volumes containing 4 b0s. We also collect anatomical scans (T1) and a fieldmap. We want to combine these DSI scans into one concatenated scan during pre-processing. It is my understanding that QSIPrep should combine all dwi scans in the same session (ses-1). However, I have been unsuccessful at getting QSIPrep to concatenate scans - all outputs are always broken into run-1 and run-2.
I have tried using the -combine-all-dwis flag, but that is no longer a valid flag. I have also tried to use the -denoise-after-combining and/or -distortion-group-merge concat, but I get thrown the following error that I have been unable to resolve (See Error 1, listed below). When I add no flags related to combining files, such as in the code below, QSIPrep does not combine my dwi scans even though they are in the same session.
Would it be best to concatenate my files prior to sending to QSIPrep? If so, what would be best practice?
Please let me know if you see where I am making an error here, or if you have any suggestions.
Thank you
Code
#!/bin/bash
#User inputs:
bids_root_dir=/home/user/QSIPrep_directory
subj=BR371
nthreads=4
mem=25 #gb
container=docker #docker or singularity
#Convert virtual memory from gb to mb
mem=echo "${mem//[!0-9]/}"
mem_mb=echo $(((mem*1000)-5000)) #reduce some memory for buffer space during pre-processing
export FS_LICENSE=/home/user/license.txt
#Run qsiprep
qsiprep-docker $bids_root_dir $bids_root_dir/derivatives
participant --participant-label $subj
-w $bids_root_dir/derivatives/work/qsiprep
--mem_mb $mem_mb --nthreads $nthreads
--output-resolution 2.0 --output-space T1w
--stop-on-first-crash
--hmc-transform Affine --hmc_model 3dSHORE
--fs-license-file /home/user/license.txt
FileTree (passes bids validator)
├── dataset_description.json
├── derivatives
│   └── work
│       └── qsiprep
├── participants.tsv
├── README
└── sub-BR371
└── ses-1
├── anat
│   ├── sub-BR371_ses-1_T1w.json
│   └── sub-BR371_ses-1_T1w.nii.gz
├── dwi
│   ├── sub-BR371_ses-1_dir-AP_run-1_dwi.bval
│   ├── sub-BR371_ses-1_dir-AP_run-1_dwi.bvec
│   ├── sub-BR371_ses-1_dir-AP_run-1_dwi.json
│   ├── sub-BR371_ses-1_dir-AP_run-1_dwi.nii.gz
│   ├── sub-BR371_ses-1_dir-AP_run-2_dwi.bval
│   ├── sub-BR371_ses-1_dir-AP_run-2_dwi.bvec
│   ├── sub-BR371_ses-1_dir-AP_run-2_dwi.json
│   └── sub-BR371_ses-1_dir-AP_run-2_dwi.nii.gz
└── fmap
├── sub-BR371_ses-1_dir-PA_epi.json
├── sub-BR371_ses-1_dir-PA_epi.nii.gz
Note: epi file json file includes the following line to indicate that it should be used for both dwi runs:
"IntendedFor": ["ses-1/dwi/sub-BR371_ses-1_dir-AP_run-1_dwi.nii.gz","ses-1/dwi/sub-BR371_ses-1_dir-AP_run-2_dwi.nii.gz"]
Error 1 - when calling on -distortion-group-merge concat
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/plugins/multiproc.py", line 344, in _send_procs_to_workers
self.procs[jobid].run(updatehash=updatehash)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 521, in run
result = self._run_interface(execute=True)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 639, in _run_interface
return self._run_command(execute)
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/pipeline/engine/nodes.py", line 750, in _run_command
raise NodeExecutionError(
nipype.pipeline.engine.nodes.NodeExecutionError: Exception raised while executing Node concat.
Traceback (most recent call last):
File "/usr/local/miniconda/lib/python3.8/site-packages/nipype/interfaces/base/core.py", line 398, in run
runtime = self._run_interface(runtime)
File "/usr/local/miniconda/lib/python3.8/site-packages/qsiprep/interfaces/confounds.py", line 53, in _run_interface
combined_out, confounds_list = _gather_confounds(
File "/usr/local/miniconda/lib/python3.8/site-packages/qsiprep/interfaces/confounds.py", line 172, in _gather_confounds
raise Exception("Gradients don't match. File a bug report!")
Exception: Gradients don't match. File a bug report!

What version of qsiprep is this? The issue might be related to https://github.com/PennLINC/qsiprep/pull/403

What version of qsiprep is this? The issue might be related to #403

When I check my docker images, I see that I have two versions: 0.15.3 and 0.15.1.  I will remove these images and pull the latest version, which appears to be 0.15.1 on the Github page.
If I want dwi scans to be combined, is it mandatory to use the --distortion-group-merge flag?
Thanks!

I have had success with 0.14.3 and not specifying anything, just letting the default behavior (concat) happen.
There's some other open issues with 0.15.X so I've not upgraded yet.
To your last question, I don't know the code as well as Matt but I think you do need the option for your data. When using eddy, the scans get concatenated without any --distortion-group-merge because eddy requires concatenated input, but shoreline defaults to separating the scans, so you need the explicit option. I base this on:
https://github.com/PennLINC/qsiprep/issues/277#issuecomment-892069360

Thanks, Phil! I will try running 0.14.3 to see if that works better.

OK, I'm going to see if I can reproduce this once #417 is merged.

Hi @pmd84, are your run-1 and run-2 scanned with the same PhaseEncodingDirection and TotalReadoutTime? If not, they are in different distortion groups and will be processed differently.  Also, you'd officially be the first person to try to concatenate SHORELine outputs from different PE directions! Currently SHORELine will only write out separate files, but you can combine these yourself afterwards with 3dTcat, fslmerge or mrcat.

Hi Matt!
Yes, my run-1 and run-2 have the same PhaseEncodingDirection (-j) and TotalReadoutTime (0.060189) They do, however, have different number of volumes (53 and 52, respectively).
I wonder if there might be an issue using one fieldmap with 2 dwis, because I was able to get QSIPrep to run all the way through when I made a copy of the fieldmap and assigned one to each dwi (i.e. run-1_fmap with run-1_dwi and run-2_fmap with run-2_dwi), and I ended up with separate output files. Would this make sense as a potential issue?
Combining scans after preprocessing might be the best option if I can't get QSIPrep to combine them for me.

aha! The fieldmap file can have "IntendedFor": ["dwi/run-1.nii.gz", "dwi/run-2.nii.gz"] with the actual file names. This will result in both runs being distortion corrected and possible concatenated

I did have that field listed in my fieldmap json file, and unfortunately I have not yet gotten it to work.
"IntendedFor": ["ses-1/dwi/sub-BR371_ses-1_dir-AP_run-1_dwi.nii.gz","ses-1/dwi/sub-BR371_ses-1_dir-AP_run-2_dwi.nii.gz"]

It seems you are missing the other fieldmap. You should have a pair of fieldmaps i.e. dir-AP and dir-PA. I am not sure if that is the culprit.


feat(app): support merge when sending and restoring backup

:tada: This PR is included in version 2.23.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


hardware acceleration problem

name: focal
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/focal...
crouton: version 1-20200428114634~master:67dc8d77
release: focal
architecture: amd64
xmethod: xorg
targets: audio,xorg,xiwi,x11,extension,keyboard,core,touch
host: version 13020.44.0 (Official Build) beta-channel coral
kernel: Linux localhost 4.4.217-17430-g387e55c6a0e3 #1 SMP PREEMPT Mon May 11 02:09:50 PDT 2020 x86_64 x86_64 x86_64 GNU/Linux
freon: yes

Please describe your issue:
hi all, I've recently upgraded my chroot to ubuntu focal (which is not supported yet) and after a few tweaks, manage to make everything working. I still have a little problem though:
whatever I try, my steam games are pretty laggy, which was not the case in bionic. i've tried several config in /usr/share/X11/xorg.conf.d/xorg-intel-sna.conf (I had to copy the file from /etc/crouton as it was not working from here)
It now look like this:
Section "Device"
   Identifier "Intel Graphics SNA+TearFree"
   Driver     "intel"
#   Driver     "modesetting"
   Option     "AccelMethod" "uxa"
   Option     "TearFree"    "true"
EndSection

which is giving  me the right result from glxinfo:
glxinfo | grep vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: Intel

but glxgears and steam just wont run:
Abandon (core dumped)

if I try modesetting driver,  glxgears will run at ~160 fps, but steam is very laggy.
and i get VMWare in the vendor of glxinfo
I've also tried switching Option "AccelMethod" "uxa" to Option "AccelMethod" "sna" with similar kind of results
If you have any clue or resources to help me with that, I'll be glad.
thanks a lot

small up
nobody got any ideas on that? do I need to leave more infos?

Do you use your chroot in a chrome tab? Xiwi? https://github.com/dnschneid/crouton/blob/master/README.md#i-want-to-open-my-desktop-in-a-window-or-a-tab-but-i-dont-have-the-xiwi-targetxmethod

Hi,
Thanks for taking time to reply.
No I'm using it normally (using Ctrl+alt+shift+left/right arrow to switch back and forth)
Do you think it can make a difference?
I can try with xiwi if so.

@akabaka74 Then it is ok, you are using xorg. xiwi doesn't have hardware acceleration. It could be that you are missing some kernel module. Only kernel modules bundled with chromeos are available.
Problem also is you are sharing resources with chromeos.
IMHO if you want to do something resource heavy on a chromebook, best is to install a dual boot with for example gallium OS https://wiki.galliumos.org/Installing
Then you have access to all the kernel modules that are maybe needed and you won't have to share your resources with chromeos.
Just my 2 cents, maybe someone else has another better idea.

Thanks for the reply, but I don't think it's related to that as that issue
was not here in 14.04, appears in 16.04, then disappear in 18.04 and
reappeared in 20.04 so I'm pretty sure it's just related to some
driver/configuration/something else that is different between releases. I'm
not familiar enough with xorg stuff to find it yet.
I will check around kernel module to see if I can spot any differences
between the versions
Le lun. 22 juin 2020 à 19:16, Maurice van Kruchten<EMAIL_ADDRESS>a écrit :

@akabaka74 https://github.com/akabaka74 Then it is ok, you are using
xorg. xiwi doesn't have hardware acceleration. It could be that you are
missing some kernel module. Only kernel modules bundled with chromeos are
available.
Problem also is you are sharing resources with chromeos.
IMHO if you want to do something resource heavy on a chromebook, best is
to install a dual boot with for example gallium OS
https://wiki.galliumos.org/Installing
Then you have access to all the kernel modules that are maybe needed and
you won't have to share your resources with chromeos.
Just my 2 cents, maybe someone else has another better idea.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dnschneid/crouton/issues/4287#issuecomment-647659486,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRDR7NLEVD4IPX63LQWRETRX6GYBANCNFSM4NKASN2Q
.

@akabaka74 Ok, that wasn't clear to me if it works in ubuntu 18.04 then I guess it should be possible to let it work in 20.04. I would go and check changes in xorg config files between ubuntu 18.04 and 20.04 and or xorg/driver updates between the 2.
Sorry I can't help you much.

i had issues in bionic with my drivers in the same way and downgrading them mesa:dri to 18 kindaaa worked but fucked my wine


Add to the README how to run the local tests

I'm playing around with this implementation and I'm wondering how to turn the tests in my local environment.
I'm not a python experienced developer so it may be something easy but I'd appreciate it if you could add that information to the README.
This kind of information helps to receive contributions.

@ifraixedes
Instructions to run unit-test cases on local has been added to README.
[Run Unit Test Cases on Local][https://github.com/storj-thirdparty/uplink-python#run-unit-test-cases-on-local]


Feature/settings from common

Coverage decreased (-5.7%) to 84.77% when pulling 1ac2ac71ab71fda6e07e9a1d1c23f587aad7af93 on feature/settings-from-common into 98c2d6f37811f939f3a500520b5d6461a71accd1 on develop.

Coverage decreased (-5.7%) to 84.493% when pulling 42a7fd368aaadc060d4578766dc72bdcdaa77c5d on feature/settings-from-common into 366910e9cd6d593a5e43edc2127b0eb2efc170bf on develop.


[OPENJDK-3046] Turn off Crypto checks by default for now. Tweak JDK21 check to support two different build numbers.

Set new crypto checks to disable for now. Also changesjdk21 check due to build mismatch between rhel 8 and rhel 9.

Yup. Gave sense. Even if the test fails, the skip string is still cosnidered?

Hmm, good point. I will try against jdk8 to see what happens s.

In case it is not skipped, then just return/exit after the echo.

I was wondering about the same thing as @judovana, otherwise looks good to me.

Thank you both. Here is the updated results file when run against jdk 8
Passed 420_runS2iLocaBasic.sh
Passed 600_newUserCheck.sh
Ignored 700_listCryptoAlgorithms.sh
Ignored 701_listCryptoAlgorithmsWithFipsSet.sh
Ignored 702_listCryptoProviders.sh
Ignored 703_listCryptoProvidersWithFipsSet.sh

setAlgorithmTestsVars
echo '!skipped!' broken right now '!skipped!'
!skipped! broken right now !skipped!
exit


Feature/mongo db integration

add mongodb integration
fix typescript lint errors
add bounties api request

Merging as this was reviewed


Enhancement request: fix jump nav sidebar indicators

Currently, the sidebar jump nav indicators (i.e. s1, s2) interfere with my ability to click the arrow indicator to collapse/expand blocks. Can you move the Jump Nav indicators for the sidebar 10 pixels to the left?

We have made some adjustment to this, and hopefully its better. You can also customize this with CSS if you like to tailor it to your environment. You can find a working example here of changing the color of the numbers, which helps a lot under certain themes.
https://roamresearch.com/#/app/roamhacker/page/KOvMfG-wc


New package: Games v0.1.0

Registering package: Games
Repository: https://github.com/SPSUnipi/Games.jl
Created by: @davide-f
Version: v0.1.0
Commit: 3aa586145f3b12a0b35081c1a545d7f3f90aeea6
Reviewed by: @davide-f
Reference: https://github.com/SPSUnipi/Games.jl/commit/3aa586145f3b12a0b35081c1a545d7f3f90aeea6#commitcomment-113892983
Description: A package for game theory

I believe the similarity of the name is only artificial and due to the specific algorithm for comparing the names.
The proposed name is easily differentiable from those from a human perspective, therefore I think the name of the package does not require changes

The name is misleading. Please consider changing it since the community is comprised of people with various fields of expertise and study, and naturally everyone doesn't know about the "Game Theory". This is unrealistic if you expect people to imply "Game Theory" from Games.jl.

I understand and it is concistent to history: I googled, the original developers of GameTheory.jl proposed Games.jl as name but you suggested GameTheory instead (though they mostly do Nash-like using an interface to a library).
Are there suggestions on names? Because I believe we both would like to avoid a ping-pong of PRs to find the name.
SharingGames, StrategyGames?
Though I don't like them...

Maybe TheoryOfGames?
https://en.m.wikipedia.org/wiki/Theory_of_Games_and_Economic_Behavior
Clear, straightforward, and to the point.

I like it! many thanks.
I close this PR and reopen as I am ready. Many thanks!


Static linking breaks build of a2play and tests

Static linking currently breaks the Audiality 2 build, as "in-tree" linking of a2play and the test programs won't get the necessary linker flags to handle the libaudiality2.a dependencies.
The "proper" fix is probably to not build a2play and the tests as part of the library build, but instead be configured and built like independent projects, after the library has been installed. Not sure if there is any other remotely reliable or portable way of doing it.

Wouldn't it work to keep the tools and tests as a separate CMake project, but add support for it "detecting" the built-but-not-installed A2 library within the build directory? Then there would be no special case linking weirdness; just grabbing the lib from different locations.

CMAKE_ARCHIVE_OUTPUT_DIRECTORY and CMAKE_RUNTIME_OUTPUT_DIRECTORY? It is supposedly possible to make this work properly...


Made the icon look better

Not that this is a big problem but it looks bit off in a modern website like youtube.
It would be nice if it has the same style and colors as the YouTube logo

Thank you for taking the time to leave some feedback. If you'd like to contribute new art assets, I'd consider using them. But I'm not very motivated to create anything new myself. And at this point some people have been using this extension for 8 years, and. I don't want to confuse people by changing the interface unless there's a very compelling reason. It's not terribly pretty (I think it did look pretty in 2010 :joy:), but it works how it's supposed to. If it ain't broke, don't fix it.


First internship report of juzibot project

https://github.com/wechaty/wechaty.js.org/pull/1459

LGTM


Remove built file

Remove built files from versionned files.
These files are generated by gulp.

Good point. My intention was that someone would be able to clone the project and run a composer install and use it. I guess the same can be said for an NPM install :)
I'll merge this, and update the travis ci file to include an NPM install as well as a postinstall script.

Ok thank you


Docs QA Items

Add padding between the copy and the subnav bar throughout - 2
SideNav spacing is too close to the content - 2
Horizontal rules are all missing - see design mocks - 3
Subhead copy links are not in monospace typeface - 2
Edit link is in wrong style (should be like orange arrow link) - 1
Typesafe Invariants is in the wrong typeface, wrong size - 1
GraphQL API section - number indents should align with bullet indents - 2
Mina Protocol Architecture > Lifecycle of a Payment, Consensus -
Note is in the wrong format (should be in a purple-headed box) - 1
Mina Protocol Architecture > Consensus -
Under Local_State paragraph needs a period - 3
SNARKs > Which SNARK is right for me? - Illustration for Overview of the Landscape has not been placed - 1
Where there's a purple note with "See" below it, add more space between these 2 elements - 2

Combining with #6301


Typo fixes

A few typos I stumbled upon when checking out the source. Nothing important.

@pantsel is there anything holding this and #551 back?

Just the lack of time lately man. I will try to find some time during the weekend  for the stale PRs

I hear you. Thanks if you can find the time :-)


Dev/mip 583/dummy encoder

Implement DummyEncoder class which replaces categorical variables with the corresponding dummy variables in a table. It also adds optionally an intercept column. Useful as a preprocessing step in regressions.
Refactor Linear Regression to accept categorical variables
Lower tolerance in tests due to some tests randomly failing in CI

You made some valid points.

1. Is it possible for the `create_dummy_encoded_design_matrix` ouput to be transformed into a view?

This is a good idea. I will look into it. If it is feasible (probably yes) this should be the standard practice for primary data transformations in general.

2. Many changes in the `udfgenerator` are more or less hacks to make this new logic work. By hacks I mean that
   a) they are used specifically for that and probably won't be used for anything else and
   b) you can't understand their purpose at all without knowing about the `DummyEncoder`, thereby linking the udfgenerator to a specific algorithm/algorithm step, which is a first.
   At least it could follow the logic of `func_name`/`tensor` where it's clearly stated that it's something separate.

You are correct. The UDF generator has accumulated a number of hacks over time. I will gather various points and create a ticket for refactoring the whole module.
Concerning your points: we have a system for translating python functions into SQL code. These functions can be very algorithm specific but this poses no problem since they are defined together with the algorithm flow. On the other hand, some operations can be written in pure SQL. These also can be very algorithm specific but we have no mechanism to tie them to a particular algorithm flow. As a result they reside in the UDF generator and this is bad. Apart from refactoring, this issue should also be addressed by creating a mechanism for the algorithm dev to create pure SQL factory functions.


Add pivot_offset_ratio property to Control

Spiritual salvage of #35493
This PR adds a pivot_offset_ratio property, which is pivot_offset, but expressed as 0-1 range mapped on Control's size. The new property is now serialized to scene instead of the old one. pivot_offset is now a wrapper for setting absolute offset (kind of like rotation_degrees) and will correctly get loaded if previously saved in scenes. Changing Control's size will preserve the offset ratio.
I added compat label, because you can no longer set pivot offset when control size is 0. Also changing control size will change the pivot_offset, which is technically new behavior.

I added an alternate approach in a separate commit, which makes it more similar (same?) to #35493
The final pivot is now combination of the pixel offset and ratio offset.
For whatever reason changing ratio if the node is not rotated nor scaled won't update the editor viewport.

To be entirely honest, I would make this a bit more similar to the other changes we made to control or even Nod3D:

pivot_mode (exposed as enum), could have options (with beautiful icons we already have for other container stuff) like:

PIVOT_TOP_LEFT
PIVOT_TOP_RIGHT
PIVOT_BOTTOM_LEFT
PIVOT_BOTTOM_RIGHT
PIVOT_CENTER
PIVOT_OFFSET
PIVOT_RATIO

pivot_offset
pivot_ratio

You can still save pivot_mode (that would most likely be ignored outside the editor) and pivot_offset like in this PR.

Since this is mostly useful for animations, I find that offset + offset ratio to be the most flexible and direct way to set it up. We can offer presets for the ratio as a QoL enhancement, but this can also be done later.

This is one of the desired feature. Animation of dialogs and other has to calculated otherwise to set the pivot position. This will really help.

Any reason this is still stuck? Seems like a simple MR.
Been waiting for this for a while.

Rebased, squashed and fixed a bug. I also realized the user might want to use the editor's pivot tool to change the pivot as ratio, but that can be done in follow-up and probably requires additional discussion.

Rebased, squashed and fixed a bug. I also realized the user might want to use the editor's pivot tool to change the pivot as ratio, but that can be done in follow-up and probably requires additional discussion.

Tested, works as expected, except for resizing
If there's non-default rotation or scale there's a problem (doesn't happen with the pixel-based pivot offset):
https://github.com/godotengine/godot/assets/60579014/9f4ccc36-8f1a-42c9-a953-fa0161e52b40

I checked it and I have no idea how to fix this :/
When you change size of the Control, the relative pivot will move and cause the whole Control to "move". The editor needs to account for the pivot position change somehow.
After further testing, it's partially a pre-existing bug. When you change pivot of a scaled Control, it will also behave in a weird way.

When you change size of the Control, the relative pivot will move and cause the whole Control to "move". The editor needs to account for the pivot position change somehow.
After further testing, it's partially a pre-existing bug. When you change pivot of a scaled Control, it will also behave in a weird way.

Is this bug logged in a separate issue? To wrap my head around the problem, I tried to record it on 4.3.beta1:
https://github.com/godotengine/godot/assets/9957987/0cc3c785-58a8-40c4-8c37-b9eede392fa7

0:00 - Scale is (1, 1), and I move the X pivot offset around. The PanelContainer itself doesn't move at all, but you can see the pivot point moving as expected.
0:12 - Scale is (2, 1), and I move the X pivot offset around more. Now the PanelContainer does move. From what I can tell, it's trying to keep the pivot point at the true coordinates given to it (i.e., a pivot offset of (50 px, 0 px) is 50 px to the right of the parent's position, regardless of this object's scale). The PanelContainer is offset so that its visual scaled pivot offset matches the location of the true unscaled pivot offset.

This is made a bit clearer at 0:26 when I set the pivot offset to (50 px, 0 px), (100 px, 0 px), and (0 px, 0 px), before resetting the scale to (1, 1).

Does this sound like the behavior you were describing as the "pre-existing bug"? If so, what would the expected behavior be? I think the current behavior would also be what enables scaling around the pivot point. (I am rather tired at the moment, though, so I could very well be misunderstanding something 😅)

The issue is more prominent when you use the Pivot tool. The pivot position does not match cursor position.
https://github.com/godotengine/godot/assets/2223172/7601637f-dd62-40eb-b2f7-e1141deda84c
I think setting Pivot Offset should adjust the position to keep the Control in place.

To me this sounds more like an issue with the Pivot tool itself - it should factor in the object's scale when calculating where to place the pivot.


Can't download nodejs/npm with Kibana

I'm trying to add some custom plugins to my kibana, all of which require me to npm install. How can I install node after pulling in the oss:6.2.4 version?
Code:
FROM docker.elastic.co/kibana/kibana-oss:6.2.4

I've tried:
FROM node:9
RUN yum -y update && yum -y install nodejs npm
RUN apt-get -y update && apt-get -y install npm nodejs
to no avail.
After building, I get this error docker-test1_kibana_1 exited with code 0. When I remove the nodejs installations, I don't get the error anymore.
Is this a bug? I can't seem to make these work together.

You can't use FROM node:9, this image does not contain Kibana.
Elastic images are based on CentOS, not Debian, so you have to use the package manager from CentOS.

Hmm interesting.. What would the command look like. Sorry for my ignorance
:)
On Wed, Jun 20, 2018, 11:17 PM Antoine Cotten<EMAIL_ADDRESS>wrote:

You can't use FROM node:9, this image does not contain Kibana.
Elastic images are based on CentOS
https://github.com/elastic/kibana-docker/blob/master/templates/Dockerfile.j2#L19,
not Debian, so you have to use the package manager from CentOS.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/deviantony/docker-elk/issues/289#issuecomment-398988743,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWTRl638ZlCsJvJuEJuMgZP4MtdPDTpCks5t-zqFgaJpZM4UxDSn
.

@seanziee this is documented in the link above.
In case of difficulties I kindly redirect you to https://wiki.centos.org/Documentation because general Linux questions are way outside of the scope of this repo.


Add custom link function

Adds a new :link_fun option to set the link function.   Defaults to Phoenix.HTML.link/2.
This will allow to use Scrivener with Phoenix LiveView which has own link generation function for "live navigation".
I've replaced some common arguments with page_opts map and now not sure it was needed :) If you don't like it I'll try to turn it back.
P.S. I've been using Scrivener for years! Such a handy library, thank you!

It works really well, except that live_link currently doesn't allow to pass class to it, so on :bootstrap_v4the page-link class isn't rendered.

Hi 👋
We are also using  Scrivener here & Live View. Comparing with another solution I'd rather this one since it's more flexible - as far as I understood we could even define live_link as default. But both are good IMO and it's up to the maintainers to decide 😅.
What I may add here is that I tested both and they worked well in our application . Just want to know if there are plans to move forward with Live View support and if so, what else we can do to help with that 😄.
Thanks 🙌

This looks fine to me. I don't have an application to try it out in other than the unit tests, can anyone confirm this branch is backwards compatible against a real application?

@mgwidmann :+1: confirmed backwards compatible, and the link override looks good.  I look forward to seeing this land!

I think this should be merged and created a new release.

Any news on this?

Tested this today - worked great here 😃

@mgwidmann We using this branch for both normal pagination and LV-based. Works great. It would be cool if you can merge this.

Tested with my application and worked perfectly, still pointing to the forked version though. Looking forward to see it merged 🍻

@mgwidmann what would it take to get some of these open PR's merged in?


How do i separate the date from the ID numbers?

let userIds2 = [
    FrostflakeIdentifier(7168280054584076289),
    FrostflakeIdentifier(7168280054584078337),
    FrostflakeIdentifier(7168280054584080385),
    FrostflakeIdentifier(7168280054584082433),
    FrostflakeIdentifier(7168280054584084481)
]

then i tried
print(userIds2[0] >> Frostflake.secondsBits) //<PHONE_NUMBER>
print(userIds2[1] >> Frostflake.secondsBits) //<PHONE_NUMBER>
print(userIds2[2] >> Frostflake.secondsBits) //<PHONE_NUMBER>
print(userIds2[3] >> Frostflake.secondsBits) //<PHONE_NUMBER>
print(userIds2[4] >> Frostflake.secondsBits) //<PHONE_NUMBER>

They all give the same result.  How do i pull out the date from the ID?

After investigating further, i am wondering if i didnt understand the documentation properly.
I generated those IDs in a loop. So maybe the time stays the same? hmm.. thinking.

Ok. i think i understand now.
So i guess my next question is, is it configurable such that, have each generated ID have the exact time it was hit?
I know this will make generation slower because you are getting the Date() each time. But I'm wondering if its possible to configure this, as the date is important

It is possible, by setting forcedTimeRegenerationInterval to 1 - it's in main (don't know if it's in the released version yet, have to check) - that being said, the time stamp portion is only second granularity so in a tight loop you will get the same during the same second...

Thanks for the explanation.
I've got it now.

Just FYI, you can put in that integer you shifted out using e.g. https://www.unixtimestamp.com
1668995259 --> Mon Nov 21 2022 01:47:39 GMT+0000

Thanks. Yea, i found out how to pull out the date by compying one of the functions in your code. (the one that produced the description)


🧹 Post-migration: s3 buckets left from the removed apps

User Story
This is the follow-up ticket for https://github.com/ministryofjustice/data-platform/issues/1757
This ticket is ticket holder for
All the s3 buckets which linked to the apps removed from above ticket

alpha-app-adjudicatons-webapp
alpha-app-anvil-access-tool
alpha-auto-dash
alpha-app-ccmbpt-directory-app
alpha-app-cfo-activity-hubs-lot-allocation
alpha-app-commuter-timeline
alpha-app-commuter-sandbox
alpha-app-companies-house-api-tool
alpha-app-ctsc-call-data-explorer
alpha-app-dash-website
alpha-app-data-discovery
alpha-app-data-discovery-dev
alpha-eu-exit-contract
alpha-app-evidence-repository-data
alpha-app-scorecard-form-dev
alpha-app-hmcts-moj-crown-consolidation-webapp
alpha-app-hmps-retention-app
alpha-app-inflation-tool
alpha-app-innovation-partner-lot-allocation
alpha-app-judicial-wm
alpha-app-kpi-s3-proxy
alpha-app-laa-cm-db
alpha-app-laa-fas-qc-dsa
alpha-app-laa-cm-db
alpha-app-laa-special-reasons-nlp
alpha-app-legalaiddatatool
alpha-app-legalaidtools
alpha-msps-monitoring-dashboard
alpha-app-novel-drug-words
alpha-app-segmentation-tool-probation
alpha-app-pqip
alpha-app-pp-reports-tool
alpha-demographic-tables
alpha-app-pp-reports-tool
alpha-app-public-pp-reports
alpha-app-reoffending-evidence-repository-app
alpha-app-sentencing-remarks-data
alpha-court-travel-time-analysis
alpha-upw-regional-backlog
alpha-victims-bill-consultation
alpha-app-wellbeing-comments-dashboard
alpha-app-wellbeing-pulse
alpha-yjb-stats
alpha-app-workforce-planning
alpha-rr-strategy-dashboard
alpha-app-mags-returners-sankey

Update the universal login page
Remove the isApp logic from the auth0’s universal login page once the gold-scorecard-app is removed from alpha
Archive the following repos

workforce-planning-app
rr-strategy
mags-returners-sankey-s3

Other tasks

Should we put all those related documents somewhere? confluence and google spreadsheets
How about trello board?

Value / Purpose

Make sure the s3 buckets are handled properly : keep the buckets if people still use the data there, remove redundant s3 buckets to save space. etc
Make sure the documents were kept somewhere or removed rather than being forgotten

Useful Contacts
No response
User Types
No response
Hypothesis
No response
Proposal
No response
Additional Information
No response
Definition of Done

[ ] The current status of s3buckets have been checked
[x] Universal page has been updated
[ ] conclusion has been made for other parts in this ticket

interventions-deploy can also be deleted as part of this activity.

Last time the above S3 buckets were updated:
alpha-app-adjudicatons-webapp - 5/1/23
alpha-app-anvil-access-tool - 1/3/24
alpha-auto-dash - 15/9/21
alpha-app-ccmbpt-directory-app - 7/7/21
alpha-app-cfo-activity-hubs-lot-allocation - 12/8/20
alpha-app-commuter-timeline - 13/4/22
alpha-app-commuter-sandbox - 14/4/22
alpha-app-companies-house-api-tool - 28/9/22
alpha-app-ctsc-call-data-explorer - 16/8/21
alpha-app-dash-website - 18/1/22
alpha-app-data-discovery - 7/3/23
alpha-app-data-discovery-dev - 7/3/23
alpha-eu-exit-contract - 29/9/21
alpha-app-evidence-repository-data - 18/5/22
alpha-app-scorecard-form-dev - 26/2/24
alpha-app-hmcts-moj-crown-consolidation-webapp - 23/6/21
alpha-app-hmps-retention-app - empty
alpha-app-inflation-tool - 16/6/23
alpha-app-innovation-partner-lot-allocation - 17/2/21
alpha-app-judicial-wm - 7/9/21
alpha-app-kpi-s3-proxy - Doesn't exist
alpha-app-laa-cm-db - 3/5/22
alpha-app-laa-fas-qc-dsa - 8/4/22
alpha-app-laa-special-reasons-nlp - 29/6/23
alpha-app-legalaiddatatool - doesn't exist
alpha-app-legalaidtools - 14/9/22
alpha-msps-monitoring-dashboard - 25/10/23
alpha-app-novel-drug-words - 21/3/23
alpha-app-segmentation-tool-probation - 27/2/24
alpha-app-pqip - 14/3/22
alpha-app-pp-reports-tool - 16/10/21
alpha-demographic-tables - 20/6/22
alpha-app-public-pp-reports - 1/11/21
alpha-app-reoffending-evidence-repository-app - 13/10/21
alpha-app-sentencing-remarks-data - 06/12/19
alpha-court-travel-time-analysis - 1/2/24
alpha-upw-regional-backlog - 1/6/22
alpha-victims-bill-consultation - 30/8/23
alpha-app-wellbeing-comments-dashboard - 1/7/21
alpha-app-wellbeing-pulse - 28/6/21
alpha-yjb-stats - 7/5/21
alpha-app-workforce-planning - 5/7/21
alpha-rr-strategy-dashboard - 3/11/22
alpha-app-mags-returners-sankey - 3/11/21

Running tool to archive the following buckets:
alpha-auto-dash
alpha-app-ccmbpt-directory-app
alpha-app-cfo-activity-hubs-lot-allocation
alpha-app-commuter-timeline
alpha-app-commuter-sandbox
alpha-app-companies-house-api-tool
alpha-app-ctsc-call-data-explorer
alpha-app-dash-website
alpha-eu-exit-contract
alpha-app-evidence-repository-data
alpha-app-hmcts-moj-crown-consolidation-webapp
alpha-app-hmps-retention-app
alpha-app-innovation-partner-lot-allocation
alpha-app-kpi-s3-proxy
alpha-app-laa-fas-qc-dsa
alpha-app-legalaiddatatool
alpha-app-pqip
alpha-app-pp-reports-tool
alpha-demographic-tables
alpha-app-public-pp-reports
alpha-app-reoffending-evidence-repository-app
alpha-app-sentencing-remarks-data
alpha-upw-regional-backlog
alpha-app-wellbeing-comments-dashboard
alpha-app-wellbeing-pulse
alpha-yjb-stats
alpha-app-workforce-planning
alpha-rr-strategy-dashboard
alpha-app-mags-returners-sankey
The following buckets have been updated in the past year so keeping for now:
alpha-app-adjudicatons-webapp
alpha-app-anvil-access-tool
alpha-app-data-discovery
alpha-app-data-discovery-dev
alpha-app-scorecard-form-dev
alpha-app-inflation-tool
alpha-app-laa-special-reasons-nlp
alpha-msps-monitoring-dashboard
alpha-app-novel-drug-words
alpha-app-segmentation-tool-probation
alpha-victims-bill-consultation
These buckets still have linked apps in control panel so have left alone:
alpha-app-judicial-wm
alpha-app-legalaidtools
Universal login page has been updated to remove isForApp logic

Reverted the isForApp logic in the Universal login page. This caused issues with a number of apps when attempting to access them.

I have messages the data source admins on slack with regards to archiving the following buckets:
alpha-app-adjudicatons-webapp
alpha-app-data-discovery
alpha-app-data-discovery-dev
alpha-app-inflation-tool
alpha-app-laa-special-reasons-nlp
alpha-msps-monitoring-dashboard
Awaiting response

The following additional buckets have been archived:
alpha-app-adjudicatons-webapp
alpha-app-data-discovery
alpha-app-data-discovery-dev
The admins of the following buckets have requested they stay for now:
alpha-app-inflation-tool
alpha-msps-monitoring-dashboard
Waiting on an update on alpha-app-laa-special-reasons-nlp

Archived alpha-app-laa-special-reasons-nlp


Docker Install - no modules seems working v2019-03-04

Hello,
I create this issue but the problem can be on my side ;),
I install Leon on my ArchLinux with docker, The build and installation looks good, leon start on Leet's port ;) so when I want to speak with leon It looks like no modules work as we see on the screen capture :)
I think the problem can be on my side, I have archLinux with deepin and docker don't have the reputaton to work good on it :P, I create this issue because if an other person have the same problem as me He can add it to this issue ;)
Don't see it as a big priority, I have a lot of time to see what you do ;)
My english is not perfect as you can see, I speak better french than English but I work on ;)

Have a Nice day and be happy !!!!

Hi, I have the same issue on Windows with Docker. Although in the log I can see, the preinstall and the other scripts can be ran since they are not found.

I restart the installation tommorow, I can't see the logs today, I confirm if I have the same with preinstall scripts and the other ;)

I investigated further, the problem was that the user had no permissions to run the scripts inside the container..

Hello @rioukkevin,
Thanks for opening this issue. To understand what is happening, could you please do the following:

Run: npm run docker:build
Run: npm run docker:run
Run: docker logs -f <YOUR_CONTAINER>
Send one message to Leon
Paste the full output of your terminal in a Pastebin
Share this Pastebin here

Hi,
same problem here. I get the following error with docker logs -f ...
  File "bridges/python/main.py", line 4, in <module>     import utils   File "/app/bridges/python/utils.py", line 11, in <module>     from tinydb import TinyDB, Query, operations ModuleNotFoundError: No module named 'tinydb'

Sorry, I don't find time yesterday :( Normally this evening I can reinstall Leon ;) and give you logs

I restart from Scratch, here is the docker:build logs https://pastebin.com/5Te3MVA7 and now here the docker:run log https://pastebin.com/VyMHLfwB I make multiple request because the response don't look logic, With reinstall today and git update, no problem ;)

Hello @bjadel,
Thanks for reporting. Could you please do the following?
@rioukkevin, alright, it looks good then. Some answers don't seem logic now simply because Leon needs new skills, but once he gets it, it'll be logic. Don't hesitate to suggest and contribute.

Okay, perfect, I don't know python today, I'm going tout study it tout understand how module work ;)
Have a nice day

Alright, I spotted the issue and made a fix for that: https://github.com/leon-ai/leon/commit/c8a68ab02eec9ddaf803b6e36cd7e91a4989cdea.
While installing with Docker, if the .env file was already existing when Leon was processing to the postinstall script, then at the moment where it was asking to overwrite the .env file, Leon was directly quitting the process and was not continuing the installation. So Leon was not fully installed and was resulting to a broken one.
Leon was saying that he had errors with some of his modules when we were trying to talk to him, and there was the following error in the logs:
"File "bridges/python/main.py", line 4, in <module> import utils File "/app/bridges/python/utils.py", line 11, in <module> from tinydb import TinyDB, Query, operations ModuleNotFoundError: No module named 'tinydb'"

So for the folks who have this behavior when you run Leon inside Docker:

Git clone Leon from the latest develop commit
npm run docker:build
npm run docker:run
You should be ready to go

 🐞 [1.0.0-beta.2] Leon is not fully installed if a .env file is already existing while building with Docker

With beta2 release the problem is gone. Thanks


Added include_locale in Web APIs

Hi, thank you for building such a great package!
Not sure this is handled by other PRs, but I added include_locale in several APIs so that Slack returns locale by default.
According to Slack doc, the locale is opt-in and doesn't seem to have any side-effect, therefore using it as default is reasonable.
Looking forward for your comments!

would prefer this being a provided option but fine as is. Thanks.


Color-strip the Scss

Strips colors from layout files to _variables.scss
Creates some new palette colors and substitutes them in
Expands some hex codes to the long form
Removes an unused selector

Passes testing with wraith


Support space separated list in ALLOWED_HOSTS environment file

Before this change it wasn't possible to use multiple entries in the ALLOWED_HOSTS variable from the .env file. Especially by using pillar data from the alcali-formula. With his change it's easily possible to use:
ALLOWED_HOSTS="one two three"

Same goes for the pillar data:
alcali:
  config:
    allowed_hosts: 'one two three'

Thanks for the PR!

LGTM


Sync/Send Partition and VirtualProcessor

We'd like to be able to send those structures between threads. Those are using RefCell, which isn't thread safe.
I did the mistake of simply declaring Partition as Send/Sync, which obviously is incorrect and will have to be sorted out.

This was covered in a25536523711f2511ac64465ece267f281f51c1a


Create service installer

InstallUtil not allow to users change name, displayname, description, startup mode etc.
In addition, for most users, this method is not convenient (go to installutil folder, then write path of service.exe (which then will be locked by Windows, so best way is (IMHO) move it before install), then if you wanna delete it, you must do same thing with "/u" attribute...

I'm not interested in creating service installer - running ASF as a service should be done only by advanced users, and it's offered as an extra instead of core functionality.
I'm accepting PRs regarding this if somebody is interested in making it happen, but I won't implement it myself due to no interest.


mapObject not accessible in L.GeoJson in IE11

Description
I'm making a map with a line that changes after click. All works fine in Chrome, Safari, Firefox and Edge, but not in IE11.
The LGeoJson is stored as ref="line"
<l-geo-json ref="line" :geojson="line" :options-style="options"></l-geo-json>

In my method I want to access the line like this.$refs.line.getBounds(), the ref exists but has no .mapObject or getBounds() in IE11.

@sstenn  thank you for the issue, could you provide a reproduction codesandbox ? it would help me a lot

@sstenn thank you for the issue, could you provide a reproduction codesandbox ? it would help me a lot

https://codesandbox.io/embed/qlljl3voj9
@DonNicoJs

@sstenn Thank you, very much I will look into it during the next days ( yay easter is here and I have free time )


heron-desktop: 0.0.2-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository heron-desktop to 0.0.2-0:

upstream repository: https://github.com/heron/heron_desktop.git
release repository: https://github.com/clearpath-gbp/heron_desktop-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.6.4
previous version for package: null

heron_desktop
* Updated to include config and other changes in heron_description.
* Heron rename.
* Contributors: Tony Baltovski

heron_viz
* Updated to include config and other changes in heron_description.
* Heron rename.
* Contributors: Tony Baltovski

This branch has conflict, can you please rebase it ?

@mikaelarguedas rebased!

:+1:


TaskExecutor: Add concurrency limit functionality

The new scheduler needs to be able to limit how many of a specific task can be executed at the same time.
The task coordinator already know's how to take a limit function but doesn't really know what kind of limit's it can expect. On creation of the executor it expects to receive a type LimitFunc func(*influxdb.Run) error. So we need to be able to write a limit function for the executor that allow's us to limit task concurrency.

Lyon will investigate and propose a design for this and update issue

I propose we look at a list of "currently running" run's in the system. Then just determine how many current run's are ScheduledFor in front of the current run. If the number of run's scheduled ahaid of our's is greater then the current run's we have reached our limits. This could allow us to add to a run's log's messages so its clear when we have hit the limit. We could eventually even add a "you are x in queue to run" type messages. This should also work even when we switch to a different type of worker system.


question: use as a library

Use Case:
i am writing code that talks to S3 and local.
The code will be deployed locally and on s3.
So can this code be used as a library?
Is the interface for S3 and local the same ?
thanks in advance !!

If you look at the main rclone program you'll see it just uses the rest of the code as a library.
https://github.com/ncw/rclone/blob/master/rclone.go
You specify which remotes you want compiled in by the includes.
The interface for the local an s3 are identical and defined in https://github.com/ncw/rclone/blob/master/fs/fs.go
Those interfaces have been very stable, but I don't guarantee I won't change them!
If I was making some code to run with rclone internals then I'd probably copy rclone.go and start from there.  Using the rclone config file and concept of remotes will simplify your life (as in you configure stuff with rclone).

@ncw awesome stuff. thanks. I will dig in in the new year.


[bug] config.sort_fields_by = :definition causes SystemStackError: stack level too deep

Is there an existing issue for this?

[X] I have searched the existing issues

Is this a regression?

[ ] Yes, this used to work before

Current Behavior
When i call .render_as_json(<model_instance>, view: :default) with this config:
Blueprinter.configure do |config|   config.sort_fields_by = :definition end
I get:
SystemStackError: stack level too deep
from /usr/local/bundle/gems/blueprinter-1.0.2/lib/blueprinter/view_collection.rb:87:in `block in add_to_ordered_fields'
Expected Behavior
The created json is supposed to be sorted by fields definition. Instead a SystemStackError occurs.
Steps To Reproduce

Use this config: Blueprinter.configure do |config| config.sort_fields_by = :definition end
call render on a Blueprint

Environment
- OS: macOS 13.2.1
- Ruby Version: 3.2.3

Anything else?
No response

Can you provide a minimal example to be able to reproduce the bug
I was not able to recreate it on a fresh rails new project with blueprinter

I can't reproduce it either. Can you find the exact version of blueprinter where this behavior starts?


Why neo4j-jdbc-http driver request two times

Sorry for my poor English.
 I am so confused about this. Whats wrong with my java coding? (By the way, i mavened jdbc driver which version is 3.0.0)
Thanks in advance

Please share the code you’re using

i coding a very simple example as follows:
public static void main(String... args) throws Exception
{
    	Connection connection = null;
    	PreparedStatement prepareStatement = null;

	connection = DriverManager.getConnection("jdbc:neo4j:http://<IP_ADDRESS>:7474", "neo4j", "9189800aZ");
	String cypher = "create (user:User{uid:?})";
	try {
    		prepareStatement = connection.prepareStatement(cypher);
        	prepareStatement.setInt(1, 1234);
        } catch (SQLException e) {
			throw new RuntimeException("无法执行graphic.db数据库cypher语句（" + cypher + "）", e);
	}

	try {
		prepareStatement.executeUpdate();
	} catch (SQLException e) {
		throw new RuntimeException("无法获取graphic.db数据库cypher语句（" + cypher + "）的结果集", e);
	}finally {
	        if (prepareStatement != null) try { prepareStatement.close(); } catch (SQLException e) {throw new RuntimeException("无法关闭analysis数据库prepareStatement", e);}
	        if (connection != null) try { connection.close(); } catch (SQLException e) {throw new RuntimeException("无法关闭analysis数据库连接", e);}
	}
}

the Authorization header of first request is missing, so it respond "HTTP1.1 401 Unauthorized":

@eingmarra are you using the version 3.0.0?

yes, my jdbc-dirver version is 3.0.0

only difference is "Authorization: Basic bmVvNGo6OTE4OTgwMGFa" ? I am so confused about this. Whats wrong with my java coding? (By the way, i mavened jdbc driver which version is 3.0.0)

I have tried 3.3.1 and 3.4.0 neo4j-jdbc-driver, but the problem is not solved.
I changed my pom.xml and get the driver from github as follows:

	<repositories>
	    <repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>
...
	<dependencies>
		<dependency>
		    <groupId>org.neo4j</groupId>
		    <artifactId>neo4j-jdbc-driver</artifactId>
		    <version>3.4.0</version>
		</dependency>

Hi @eingmarra and thanks for the catch!
Can you try to use this fix?
https://jitpack.io/#conker84/neo4j-jdbc/issue_188-SNAPSHOT
Looking forward to your feedback!

I have tried it again, but it seems not be fixed. Hope your next fix version.   :-)

That's wired looking at the image seems you downloaded the v 3.0.1 which is an old one (not fixed).
Please try with the attached jar.
neo4j-jdbc-driver-3.4.0.jar.zip

I've download the v3.4.0-driver which is from the link you give. And maven it as local jar file:

But the problem is still there (the Authorization header is missing):

Please, can you share your sample project?

Hi , i am very sorry!
I found I've made a big mistake yesterday. I maven it with my as local jar file, but eclipse seems to not clean absolutely, it also use the 3.4.0 from remote site (I found it this morning).
So i recreate a new project, and test my code with the jar file you give me. It works !!!!

Thank you very much!!!

By the way, the 3.4.0 driver on https://jitpack.io seems not fix this problem.

<repositories>
	    <repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

       <dependency>
	       <groupId>com.github.conker84</groupId>
	       <artifactId>neo4j-jdbc</artifactId>
		<version>3.4.0</version>
       </dependency>

Closed via a4b6b47


Bug: profile /contributions and /highlights do not show social card

Describe the bug
These URLs do not product social cards
https://insights.opensauced.pizza/user/bdougie/highlights
https://insights.opensauced.pizza/user/bdougie/contributions
This URL does
https://insights.opensauced.pizza/user/bdougie
Steps to reproduce
Allow social cards to be generated when highlights and contributions are appended.
Affected services
insights.opensauced.pizza
Platforms
No response
Browsers
No response
Environment
No response
Additional context
No response
Code of Conduct

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

Contributing Docs

[ ] I agree to follow this project's Contribution Docs

I tried to reproduce this on Twitter but it worked here are the screenshots:
Contributions:

Highlights:

Profile:

Is it social media specific or I could not reproduce the bug?

.take

What's the expected behavior here? is it to show the profile image in the social cards?

What's the expected behavior here? is it to show the profile image in the social cards?

It is to show the social card. But I had a chat @OgDev-01 and the issue is the speed at which the image is return is slow. Sunday can you share the benchmarks if you have them handy?

I was going through the Sept  5 Launch board, and tried posting both these URLs on twitter. I got social cards for both.
Contributions

Highlights

So is this still an issue?


Need docs for TFJobs UI

From @jlewi on April 3, 2018 18:33
Need docs for TFJobs UI.
At a minimum need to specify what URL to use (at lest until we have central UI).
Looks like we need to use tfjobs/ui/
/cc @wbuchwalter
Copied from original issue: kubeflow/kubeflow#573

From @jlewi on May 26, 2018 18:23
Looks like the port its listening on is 8080

/area docs
/area training
/priority p1
/release 0.2.0

/area 0.4.0

@sarahmaddox this is something that we would definitely like to have for 0.4 Do you think we will be able to do this for 0.4?

@chrisheecho I'm sorry, I'm a little out of touch at the moment due to other priorities. Do you have a date for 0.4. Also do you or @jlewi have some idea of the scope of the docs needed, to help us decide on the size of this task?

@sarahmaddox We will cut 0.4 by mid December.
The scope is what you mentioned in the initial comment of this issue. So fairly narrow.

Thanks Jeremy. Yes, let's aim to have this doc update done for v0.4.

/assign

URL is:
https://.endpoints..cloud.goog/tfjobs/ui/


Create Code of Conduct

I would like to add code of conduct file as code of conduct is a necessary file which the contributors need to follow so that everyone follows a decorum.

I would love to work on this issue as a part of Cross-woc. Kindly assign it to me.

@shagun25 Please assign it to me as a part of Cross Woc.

@shagun25 Please assign it to me as a part of Cross Woc.

I would like to work on this issue as a part of GSSOC'21

Can I please contribute to this issue? (GSSoC)

@chinmoy12c you first need to ask for an issue ....you can not directly make a PR.

@chinmoy12c you first need to ask for an issue to assign ....you can not directly make a PR.

Oh, sorry for that  😅 😅

Thanks for assigning @shagun25 :) , could you also please add the gssoc21 label 😄


Help directs to non existent web site

influx
Connected to http://localhost:8086 version 1.8.10
InfluxDB shell version: 1.8.10

help
Usage:
connect host:port   connects to another node specified by host:port
auth                  prompts for username and password
...
A full list of influxql commands can be found at:
https://docs.influxdata.com/influxdb/latest/query_language/spec/

" https://docs.influxdata.com/influxdb/latest/query_language/spec/"  produces a 404 error.

Duplicate of #4505.


Subtitles issue

I have a strange issue with the subtitle portion, everything else works great, thank you for all the effort.
When running the subtitler, it will constantly translate to "Thank You", "Thank you for watching!" "hello hello hello" and even "Please subscribe to my channel"
Is this a DeepL issue, or something else?

Reason
This happens, because Whisper AI is trained on YouTube videos and it's subtitles. Some people add a "Thank you for watching!" at the end of their video into their subtitles even tho nothing is said in the video. So it translates most of the noise which it can't translate to "Thank you for watching!".
Why does it happen with you?
I think your microphone isn't the best one on the market and it maybe produces a lot of noise. That causes it to translate the noise to some random stuff which is used to end a Video on YT.
Another reason might be that you have a lot of background noise and your microphone is just too sensitive and that causes it to do the random stuff.
Maybe record yourself and listen to the audio and check that it isn't full with random noise.


Add CellWindow previews

Codecov Report

Merging #164 (e4574e6) into main (9ee78ec) will increase coverage by 0.91%.
The diff coverage is 77.77%.

@@            Coverage Diff             @@
##             main     #164      +/-   ##
==========================================
+ Coverage   81.05%   81.96%   +0.91%
==========================================
  Files          42       42
  Lines        1805     1841      +36
  Branches      264      270       +6
==========================================
+ Hits         1463     1509      +46
+ Misses        205      187      -18
- Partials      137      145       +8

Impacted Files
Coverage Δ

.../kotlin/com/alexvanyo/composelife/ui/CellWindow.kt
82.73% <77.77%> (+15.74%)
:arrow_up:

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 9ee78ec...e4574e6. Read the comment docs.


Unified docs: add SDK index and move _static images

MacOS tests are failing for reasons independent of this PR (something to do with the latest version of dimod on macOS, it seems).


Invalid manifest on 'warmtransformer' building a carton project

I have tried to build & run a default project using carton, and it failed at parsing (?) the manifest on 'warmtransformer' package.
Reproduction
> mkdir hello_swiftwasm && cd hello_swiftwasm
> swift package init --type executable --name hello_swiftwasm
Creating executable package: hello_swiftwasm
Creating Package.swift
Creating .gitignore
Creating Sources/
Creating Sources/main.swift
> swift --version
Apple Swift version 6.0.3-dev (LLVM 81a2745a5c40b5f, Swift 8f95e04bb5d9d9a)
Target: arm64-apple-macosx14.0
> swift package add-dependency https://github.com/swiftwasm/carton --from 1.0.0

The error
> swift run carton dev
Building for debugging...
Build of product 'carton' complete! (0.13s)
- checking Swift compiler path: /Users/antonin/.carton/sdk/wasm-6.0-SNAPSHOT-2024-06-19-a/usr/bin/swift
- checking Swift compiler path: /Users/antonin/.swiftenv/versions/wasm-6.0-SNAPSHOT-2024-06-19-a/usr/bin/swift
- checking Swift compiler path: /Users/antonin/Library/Developer/Toolchains/swift-wasm-6.0-SNAPSHOT-2024-06-19-a.xctoolchain/usr/bin/swift
Inferring basic settings...
- swift executable: /Users/antonin/Library/Developer/Toolchains/swift-wasm-6.0-SNAPSHOT-2024-06-19-a.xctoolchain/usr/bin/swift
Apple Swift version 6.0-dev (LLVM de395d39a90ed7a, Swift 490cf64aee23f13)
Target: arm64-apple-macosx14.0
Running "/Users/antonin/Library/Developer/Toolchains/swift-wasm-6.0-SNAPSHOT-2024-06-19-a.xctoolchain/usr/bin/swift" "package" "--triple" "wasm32-unknown-wasi" "--scratch-path" "/Users/antonin/Devel/hello_swiftwasm/.build/carton" "--disable-sandbox" "plugin" "carton-dev" "--pid" "42095"
error: 'wasmtransformer': Invalid manifest (compiled with: ["/Users/antonin/Library/Developer/Toolchains/swift-wasm-6.0-SNAPSHOT-2024-06-19-a.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/vf/qs0d0q2j4d5cqld9x11d1m_h0000gn/T/TemporaryDirectory.vRySPF/vfs.yaml", "-L", "/Users/antonin/Library/Developer/Toolchains/swift-wasm-6.0-SNAPSHOT-2024-06-19-a.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Users/antonin/Library/Developer/Toolchains/swift-wasm-6.0-SNAPSHOT-2024-06-19-a.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "arm64-apple-macosx13.0", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk", "-F", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks", "-I", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-L", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-swift-version", "5", "-I", "/Users/antonin/Library/Developer/Toolchains/swift-wasm-6.0-SNAPSHOT-2024-06-19-a.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk", "-package-description-version", "5.4.0", "/Users/antonin/Devel/hello_swiftwasm/.build/carton/checkouts/WasmTransformer/Package.swift", "-o", "/var/folders/vf/qs0d0q2j4d5cqld9x11d1m_h0000gn/T/TemporaryDirectory.XQHTEP/wasmtransformer-manifest"])
error: compile command failed due to signal 6 (use -v to see invocation)
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:58:10: note: while building module '_string' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:58:
56 |  */
57 |
58 | #include <_string.h>
   |          `- note: while building module '_string' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:58:
59 |
60 | #ifdef _USE_EXTENDED_LOCALES_
...

I did not know if the best would be to submit here, or in wasmtransformer project.

What happens if you use recent 6.0 snapshots?

I just found out that carton is checking / using an old version of a snapshot (06-19) instead of my latest (10-08).
Despite forcing the path & removing the old toolchain it seems that the build continues to look for the old toolchain...
...
- checking Swift compiler path: /Users/antonin/.carton/sdk/wasm-6.0-SNAPSHOT-2024-06-19-a/usr/bin/swift
- checking Swift compiler path: /Users/antonin/.swiftenv/versions/wasm-6.0-SNAPSHOT-2024-06-19-a/usr/bin/swift
- checking Swift compiler path: /Users/antonin/Library/Developer/Toolchains/swift-wasm-6.0-SNAPSHOT-2024-06-19-a.xctoolchain/usr/bin/swift
...

My toolchains:
> ls /Library/Developer/Toolchains
swift-6.0-DEVELOPMENT-SNAPSHOT-2024-10-08-a.xctoolchain swift-latest.xctoolchain

Is there an internal cache of something?
I deleted Package.resolved, the .build directory and the .carton directory too, but nothing changes.

Same thing actually:
> ls /Library/Developer/Toolchains
swift-6.0-DEVELOPMENT-SNAPSHOT-2024-10-08-a.xctoolchain swift-latest.xctoolchain

> cat .swift-version
6.0-DEVELOPMENT-SNAPSHOT-2024-10-08-a

> swift --version
Apple Swift version 6.0.3-dev (LLVM 81a2745a5c40b5f, Swift 8f95e04bb5d9d9a)
Target: arm64-apple-macosx14.0

> swift run carton dev
Fetching https://github.com/swiftwasm/carton from cache
Fetched https://github.com/swiftwasm/carton from cache (0.43s)
Computing version for https://github.com/swiftwasm/carton
Computed https://github.com/swiftwasm/carton at 1.1.2 (0.65s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/swiftwasm/WasmTransformer from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/swiftwasm/WasmTransformer from cache (0.48s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.48s)
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
Fetched https://github.com/apple/swift-nio.git from cache (0.50s)
Computed https://github.com/swiftwasm/carton at 1.1.2 (0.00s)
Computing version for https://github.com/swiftwasm/WasmTransformer
Computed https://github.com/swiftwasm/WasmTransformer at 0.5.0 (0.54s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.1 (0.41s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.37s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.75.0 (0.58s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.41s)
Fetched https://github.com/apple/swift-collections.git from cache (0.42s)
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.39s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.2 (0.37s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.59s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.75.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/swiftwasm/carton
Working copy of https://github.com/swiftwasm/carton resolved at 1.1.2
Creating working copy for https://github.com/swiftwasm/WasmTransformer
Working copy of https://github.com/swiftwasm/WasmTransformer resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.2
Building for debugging...
[58/58] Applying carton
Build of product 'carton' complete! (15.06s)
- checking Swift compiler path: /Users/antonin/.carton/sdk/wasm-6.0-SNAPSHOT-2024-06-19-a/usr/bin/swift
- checking Swift compiler path: /Users/antonin/.swiftenv/versions/wasm-6.0-SNAPSHOT-2024-06-19-a/usr/bin/swift
- checking Swift compiler path: /Users/antonin/Library/Developer/Toolchains/swift-wasm-6.0-SNAPSHOT-2024-06-19-a.xctoolchain/usr/bin/swift
Inferring basic settings...
- swift executable: /Users/antonin/Library/Developer/Toolchains/swift-wasm-6.0-SNAPSHOT-2024-06-19-a.xctoolchain/usr/bin/swift
Apple Swift version 6.0-dev (LLVM de395d39a90ed7a, Swift 490cf64aee23f13)
Target: arm64-apple-macosx14.0
Running "/Users/antonin/Library/Developer/Toolchains/swift-wasm-6.0-SNAPSHOT-2024-06-19-a.xctoolchain/usr/bin/swift" "package" "--triple" "wasm32-unknown-wasi" "--scratch-path" "/Users/antonin/Devel/hello_swiftwasm/.build/carton" "--disable-sandbox" "plugin" "carton-dev" "--pid" "58666"
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/swiftwasm/WasmTransformer from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.02s)
Fetching https://github.com/swiftwasm/carton from cache
Fetched https://github.com/swiftwasm/WasmTransformer from cache (0.02s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.03s)
Fetched https://github.com/apple/swift-collections.git from cache (0.03s)
Fetched https://github.com/apple/swift-log.git from cache (0.03s)
Fetched https://github.com/swiftwasm/carton from cache (0.02s)
Fetched https://github.com/apple/swift-nio.git from cache (0.03s)
Fetched https://github.com/apple/swift-system.git from cache (0.06s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/swiftwasm/WasmTransformer
Working copy of https://github.com/swiftwasm/WasmTransformer resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/swiftwasm/carton
Working copy of https://github.com/swiftwasm/carton resolved at 1.1.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.75.0
error: 'wasmtransformer': Invalid manifest (compiled with: ["/Users/antonin/Library/Developer/Toolchains/swift-wasm-6.0-SNAPSHOT-2024-06-19-a.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/vf/qs0d0q2j4d5cqld9x11d1m_h0000gn/T/TemporaryDirectory.cvIlsH/vfs.yaml", "-L", "/Users/antonin/Library/Developer/Toolchains/swift-wasm-6.0-SNAPSHOT-2024-06-19-a.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Users/antonin/Library/Developer/Toolchains/swift-wasm-6.0-SNAPSHOT-2024-06-19-a.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "arm64-apple-macosx13.0", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk", "-F", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks", "-I", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-L", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-swift-version", "5", "-I", "/Users/antonin/Library/Developer/Toolchains/swift-wasm-6.0-SNAPSHOT-2024-06-19-a.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk", "-package-description-version", "5.4.0", "/Users/antonin/Devel/hello_swiftwasm/.build/carton/checkouts/WasmTransformer/Package.swift", "-o", "/var/folders/vf/qs0d0q2j4d5cqld9x11d1m_h0000gn/T/TemporaryDirectory.d2ONtz/wasmtransformer-manifest"])

However, when I take a look at your example, it seems to use this toolchain too:
> Local installation of Swift version wasm-6.0-SNAPSHOT-2024-06-19-a not found
Swift toolchain/SDK download URL: https://github.com/swiftwasm/swift/releases/download/swift-wasm-6.0-SNAPSHOT-2024-06-19-a/swift-wasm-6.0-SNAPSHOT-2024-06-19-a-macos_arm64.pkg
Archive size is 1468 MB
...

Did the carton build "packager" needs to download something?
Is it "hardcoded" to use the 06-19 snapshot or something?

So, if I delete the sdk from Users/user/Library/Developer/Toolchains, and put the .swift-version in it with the 10-08 snapshot it will try to download again the 06-19 snapshot again.

Any update on this issue @kateinoigakukun please? :)

I will try this weekend, thanks @kateinoigakukun

I just tried quickly, and yes it works 🥳
So, updating to a recent 6.0 snapshots is required it seems.
I am closing the ticket as there is no issue with the build anymore.
Thanks again @kateinoigakukun !


DSD-472: Chakra Breadcrumbs

Fixes JIRA ticket DSD-472
This PR does the following:

Updates Breadcrumbs component to be composed with Chakra's Breadcrumb component.
Adds id prop to Icon component to allow for successful snapshot testing.

How has this been tested?

Storybook in local DS build

Checklist:

[x] I have updated the Storybook documentation accordingly.
[x] All new and existing tests passed.

Front End Review:

[ ] View the example in Storybook

Tugboat has finished building the preview for this pull request!
Link:

https://pr704-ebvj6ydeomkrrd8a9ksphe49iav21kmo.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/6154c7e07207f23c4d2df304

Tugboat has finished building the preview for this pull request!
Link:

https://pr704-ebvj6ydeomkrrd8a9ksphe49iav21kmo.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/6154c7e07207f23c4d2df304

Tugboat has finished building the preview for this pull request!
Link:

https://pr704-ebvj6ydeomkrrd8a9ksphe49iav21kmo.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/6154c7e07207f23c4d2df304

Tugboat has finished building the preview for this pull request!
Link:

https://pr704-ebvj6ydeomkrrd8a9ksphe49iav21kmo.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/6154c7e07207f23c4d2df304


Fix readme to get wit files

Fixing instructions to get the requred wit files.

Thanks for the PR!


[Identity] Add new function to update admin app permissions for Azure Stack; update GraphAPI.psm1 to latest internal version

Updating the Azure Stack AAD Home Directory (after installing updates or new Resource Providers)
After installing updates or hotfixes to Azure Stack, new features may be introduced which require new permissions to be granted to one or more identity applications. Granting these permissions requires Administrative access to the home directory, and so it cannot be done automatically.
$adminResourceManagerEndpoint = "https://adminmanagement.<region>.<domain>"

$homeDirectoryTenantName = "<homeDirectoryTenant>.onmicrosoft.com" # this is the primary tenant Azure Stack is registered to

Update-AzsHomeDirectoryTenant -AdminResourceManagerEndpoint $adminResourceManagerEndpoint `
-DirectoryTenantName $homeDirectoryTenantName -Verbose


integrated-cowswap

Added some functions to make request from the central server , inorder to integrate the central server with cowswap protocol .

This PR seems to be superseeded by #32