segfault at at ../ccstruct/matrix.h:256

gdb --args lstmtraining -U ~/tess4training/eng/eng.unicharset \
>   --script_dir ../langdata   \
>   --append_index 5 --net_spec '[Lfx256 O1c105]' \
>   --continue_from ~/tess4training/englayer_from_eng/eng.lstm \
>   --model_output ~/tess4training/englayer_from_eng/englayer \
>   --train_listfile ~/tess4training/eng/eng.training_files.txt \
>   --target_error_rate 0.01 \
>   --debug_interval  -1
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from lstmtraining...done.
(gdb) run
Starting program: /usr/local/bin/lstmtraining -U /home/shree/tess4training/eng/eng.unicharset --script_dir ../langdata --append_index 5 --net_spec \[Lfx256\ O1c105\] --c
ontinue_from /home/shree/tess4training/englayer_from_eng/eng.lstm --model_output /home/shree/tess4training/englayer_from_eng/englayer --train_listfile /home/shree/tess4t
raining/eng/eng.training_files.txt --target_error_rate 0.01 --debug_interval -1
warning: Error disabling address space randomization: Success
warning: linux_ptrace_test_ret_to_nx: PTRACE_KILL waitpid returned -1: Interrupted system call
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Loaded file /home/shree/tess4training/englayer_from_eng/eng.lstm, unpacking...
Warning: LSTMTrainer deserialized an LSTMRecognizer!
Continuing from /home/shree/tess4training/englayer_from_eng/eng.lstm
Other case É of é is not in unicharset
Appending a new network to an old one!!Setting unichar properties
Setting properties for script Common
Setting properties for script Latin
Num outputs,weights in serial:
  Lfx256:256, 394240
  Fc105:105, 26985
Total weights = 421225
Built network:[1,0,0,1[C5,5Ft16]Mp3,3Lfys64Lfx128Lrx128Lfx256Fc105] from request [Lfx256 O1c105]
Training parameters:
  Debug interval = -1, weights = 0.1, learning rate = 0.0001, momentum=0.9
[New Thread 0x7fea20f40700 (LWP 1158)]
Loaded 104/104 pages (1-104) of document /home/shree/tess4training/eng/eng.Arial.exp0.lstmf
[Thread 0x7fea20f40700 (LWP 1158) exited]
[New Thread 0x7fea1bff0700 (LWP 1159)]
Loaded 104/104 pages (1-104) of document /home/shree/tess4training/eng/eng.Times_New_Roman.exp0.lstmf
[Thread 0x7fea1bff0700 (LWP 1159) exited]
[New Thread 0x7fea1bff0700 (LWP 1160)]
[New Thread 0x7fea20f40700 (LWP 1161)]
[New Thread 0x7fea1acf0700 (LWP 1162)]
Iteration 0: ALIGNED TRUTH : used through € between NEW % J. should when High when We it
Iteration 0: BEST OCR TEXT : St$Zv#kv#qSZ]$vUZUyvHvkyEHkSZUZtvyvyvHvq$Rwq,qtHgE#gqZUSUZ#EqgqSqSqyvHvt$q£$R$RqtS$U,#,v$USUHZq,c$U$qSq,$#vyvHvSHZSZ=Z$[ [vESUSZUyvHvSqSqyHZ
vt,q€U€vlvyvySyHvqtSUZtyHvSqSqvqHq,U$U,UegqgqveZS
File /tmp/tmp.E8R3inud3B/eng/eng.Arial.exp0.lstmf page 6 :

Program received signal SIGSEGV, Segmentation fault.
operator+= (addend=..., this=0xb92048) at ../ccstruct/matrix.h:256
256               (*this)(x, y) += addend(x, y);
(gdb) backtrace
#0  operator+= (addend=..., this=0xb92048) at ../ccstruct/matrix.h:256
#1  tesseract::WeightMatrix::Update (this=0xb92048, learning_rate=<optimized out>, momentum=0.89999997615814209, num_samples=<optimized out>) at weightmatrix.cpp:261
#2  0x00007fea254b7083 in tesseract::Plumbing::Update (this=0xb91e80, learning_rate=1.24999988e-05, momentum=0.899999976, num_samples=1) at plumbing.cpp:219
#3  0x00007fea254b7083 in tesseract::Plumbing::Update (this=0xb91230, learning_rate=9.99999975e-05, momentum=0.899999976, num_samples=1) at plumbing.cpp:219
#4  0x00007fea254a8469 in tesseract::LSTMTrainer::TrainOnLine (this=this@entry=0x7ffff03ebaf0, trainingdata=<optimized out>, batch=batch@entry=false)
    at lstmtrainer.cpp:813
#5  0x0000000000406ff4 in TrainOnLine (batch=false, samples_trainer=0x7ffff03ebaf0, this=0x7ffff03ebaf0) at ../lstm/lstmtrainer.h:273
#6  main (argc=1, argv=0x7ffff03ec488) at lstmtraining.cpp:198
(gdb) up
#1  tesseract::WeightMatrix::Update (this=0xb92048, learning_rate=<optimized out>, momentum=0.89999997615814209, num_samples=<optimized out>) at weightmatrix.cpp:261
261       if (momentum > 0.0) wf_ += updates_;
(gdb) print num_samples
$1 = <optimized out>
(gdb) print momentum
$2 = 0.89999997615814209
(gdb) print wf_
$3 = {_vptr.GENERIC_2D_ARRAY = 0x7fea257bf230 <vtable for GENERIC_2D_ARRAY<double>+16>, array_ = 0xb92230, empty_ = 0, dim1_ = 16, dim2_ = 26, size_allocated_ = 416}
(gdb) print updates_
$4 = {_vptr.GENERIC_2D_ARRAY = 0x7fea257bf230 <vtable for GENERIC_2D_ARRAY<double>+16>, array_ = 0x0, empty_ = 0, dim1_ = 0, dim2_ = 0, size_allocated_ = 0}
(gdb) quit

How can I reproduce this crash?

When I run all but the last step with older executables, I get an error from lstmtraining:
Deserialize failed: tess4training/eng/eng.Arial.exp0.lstmf read 0/72 pages

That might confirm that the last commits introduced some incompatibility.

I could confirm that commit 8e79297dcefecdb929d753d28554fec51417ec39 introduced a regression. Before that commit, lstmtraining did run the iterations.

https://github.com/tesseract-ocr/tesseract/commit/83588bc7a18e50fb435b5ca8a45fd7e00ab2ccdf#commitcomment-22019959

Now back to finding out why training isn't working properly...

Thanks, Amit. I had seen that comment but thought that it was related to training of new language models.

Here language_ is added to the serialized data, so old and new data are incompatible (this is the reason why I get the above error message). The new data is correctly handled in ImageData::DeSerialize and in ImageData::SkipDeSerialize.
Does the training process use old files which contain old incompatible ImageData?

I am not sure what is included in ImageData.
The first part of the training commands (tesstrain.sh) runs text2image and creates box/tiff pairs and these are then used to create unicharset, dawg and lstmf files. I have not used any external box/tiff pairs.
These lstmf files are used along with the extracted lstm file from the traineddata from the repo.
combine_tessdata -e ../tessdata/eng.traineddata \   ~/tess4training/englayer_from_eng/eng.lstm
Possibly, this could be the cause of incompatibility, since these files were built with earlier code.

You could try training from scratch with the new code. I have recompiled an older commit, so can't test it myself.
training/tesstrain.sh --fonts_dir ~/.fonts --lang eng  \
   --noextract_font_properties \
   --linedata_only \
   --exposures "0" \
   --langdata_dir ../langdata \
   --tessdata_dir ./tessdata \
   --fontlist "Arial"  "Times New Roman,"  \
   --output_dir ~/tess4training/eng

mkdir -p ~/tess4training/engoutput

training/lstmtraining -U ~/tess4training/eng/eng.unicharset \
  --script_dir ../langdata \
  --debug_interval -1 \
  --net_spec '[1,36,0,1 Ct5,5,16 Mp3,3 Lfys64 Lfx128 Lrx128 Lfx256 O1c105]' \
  --model_output ~/tess4training/engoutput/base \
  --train_listfile ~/tess4training/eng/eng.training_files.txt \
  --max_iterations 5000 &>~/tess4training/engoutput/basetrain.log

First command is the same - it builds the lstmf files etc.
Second command does not use lstm file from earlier traineddata.

Is there an easy way to have two different versions of tesseract on same PC?
Keep them in different folders and make install to change ????

the lstmtraining command for this issue is for replacing a top layer.

Working after the changes by Ray.
 lstmtraining -U ~/tess4training/eng/eng.unicharset \
>   --script_dir ../langdata   \
>   --append_index 5 --net_spec '[Lfx256 O1c105]' \
>   --continue_from ~/tess4training/englayer_from_eng/eng.lstm \
 >   --model_output ~/tess4training/englayer_from_eng/englayer \
>   --train_listfile ~/tess4training/eng/eng.training_files.txt \
>   --target_error_rate 0.01 \
>   --debug_interval  -1
Loaded file /home/shree/tess4training/englayer_from_eng/eng.lstm, unpacking...
Warning: LSTMTrainer deserialized an LSTMRecognizer!
Continuing from /home/shree/tess4training/englayer_from_eng/eng.lstm
Other case É of é is not in unicharset
Appending a new network to an old one!!Setting unichar properties
Setting properties for script Common
Setting properties for script Latin
Num outputs,weights in serial:
  Lfx256:256, 394240
  Fc105:105, 26985
Total weights = 421225
Built network:[1,0,0,1[C5,5Ft16]Mp3,3Lfys64Lfx128Lrx128Lfx256Fc105] from request [Lfx256 O1c105]
Training parameters:
  Debug interval = -1, weights = 0.1, learning rate = 0.0001, momentum=0.9
Loaded 104/104 pages (1-104) of document /home/shree/tess4training/eng/eng.Arial.exp0.lstmf
Loaded 104/104 pages (1-104) of document /home/shree/tess4training/eng/eng.Times_New_Roman.exp0.lstmf
Iteration 0: ALIGNED TRUTH : (GeneRIF) World and ABOUT time October the service through is Help
Iteration 0: BEST OCR TEXT : #yvtEktgqtHv$gqy$g$ScqESvq,UgU,UZHZtZ€U Zq,yqaqtqHt SUctéHS$Ht:HtS$Uu5,q,UvUtHSqgqtqH\t$gZUHZtZHZqZqZqEZUyHEqgq€EgtqZtZv#
v\EyZqgqEUyHvHEHZHSZ$ZtvyHZvUv#qtq€U€e#qevZH
File /home/shree/tess4training/eng/eng.Arial.exp0.lstmf page 0 :
Mean rms=8.666%, delta=100%, train=301.515%(100%), skip ratio=0%
Iteration 1: ALIGNED TRUTH : through they not this our English ° 14 ® Development of 8 What's an
Iteration 1: BEST OCR TEXT : kZyHZkEZkSZ$ZtqtyHZq]UtyHESqS#tHvZ:ZSZqUZyHZvk#t4SZSZqZqyq4,q,eHvZvtv€yveS#tyHZq$qSq4$SU,Uq#R#$SHtU,$,H\Sq7Zt#q¥SHtvtktaH
vHSZtHZSZqS:SZSv#$S,tU$U5UH\HvZSZUHvqEyqHZH
File /home/shree/tess4training/eng/eng.Times_New_Roman.exp0.lstmf page 0 :
Mean rms=8.647%, delta=100%, train=303.743%(100%), skip ratio=0%
Iteration 2: ALIGNED TRUTH : good 25 now this [J User INDEX had help 6 all iGoogle if in Ca¥ years
Iteration 2: BEST OCR TEXT : StvEHE#Zt]$v4#kqUklvtEHEHZSUZ#tEZUyHvZv#vq,uc$,4[$[e#v#ZqZqyq$Sq$u$H\R$q$w$,tyHv#qHSc ZUtHvHZgqZvZHq]UlvE4qZ[$vUvUv$vHg\E
H\tv\HZqgq4SvUvevHqt$,SqHS$,q,S#taqSqHqH$S
File /home/shree/tess4training/eng/eng.Arial.exp0.lstmf page 1 :
Mean rms=8.648%, delta=100%, train=301.046%(100%), skip ratio=0%
Iteration 3: ALIGNED TRUTH : were jobs BBC get is" University A 1998 fixed Search And under .
Iteration 3: BEST OCR TEXT : ,SkZ]EoZqyES$qEvyvtHZRHZHkvqt$u$vt/$He}$,$vt,tvytZqZHqUvkv#$q]oq4U$tetHvHvZtZtqZtZHv#veZSyS#tq#}éHSqU [$Uk$SCpH.$vqUyHv$H
#qS€ Sv,$évEqg€qZqyt$tyHSqU$téHtHZHc SU,SvZtvHc]$eSZqZqy{q,S
File /tmp/tmp.2xbvLE29x7/eng/eng.Times_New_Roman.exp0.lstmf page 25 :
Mean rms=8.696%, delta=100%, train=306.644%(100%), skip ratio=0%


Feature/update datamodel

Pull Request
Description
Update to datamodel 0.0.26
How Has This Been Tested?
normal unittests

[x] Yes

Checklist:

[x] My code follows OCF's coding style guidelines
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have checked my code and corrected any misspellings

Codecov Report

Merging #49 (b8fc6bb) into main (0900d5a) will not change coverage.
The diff coverage is 100.00%.

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

@@           Coverage Diff           @@
##             main      #49   +/-   ##
=======================================
  Coverage   94.29%   94.29%
=======================================
  Files           9        9
  Lines         368      368
=======================================
  Hits          347      347
  Misses         21       21

Impacted Files
Coverage Δ

nowcasting_forecast/__init__.py
100.00% <100.00%> (ø)

...st/models/nwp_simple_trained/nwp_simple_trained.py
91.20% <100.00%> (ø)

nowcasting_forecast/models/nwp_solar_simple.py
93.50% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Duplicated strings in the new MTC streaming room part of the locale file

There are duplicated strings present in the source language file... (The ones in the screenshot are just an example. There are more of the duplicates.)

Ah good catch thank you! Should be fixed here: https://github.com/Neos-Metaverse/NeosLocale/commit/99927d67dca61fa908f603d44d7c86e09070657f
I'll have to wait on a word from @RueShejn to see if those are fully correct, but I think they should be.


Can I Deploy On Cloudlafre Pages?

if can I need know can you give me the example of the weebhook

I try deploy using connect to git and set the environment
before that I have changed the username in wrangler.toml
OPENAI_API_KEY=sk-xxxxxxxxxxxxxxx
TELEGRAM_BOT_TOKEN=6046×××××:××××××××××
and I automatically deploy
I Visit The Site And Its Say HTTP_ERROR_404
here my site
https://cf-workers-chatgpt-telegram-bot.pages.dev/

When you do wrangler deploy, it should show the link? You can click that to test it.

No thats right url,Hmm I Think Pages its different between Workers When Using The Pages Im not using wrangler its automatically deploy

Huh that's weird, why is it being deployed to pages.
Did you add the repository on Cloudflare Pages UI or run the Wrangler CLI commands on the README?
This project does not support adding the repository Cloudflare Pages UI. You have to run the terminal commands.

I just fork and edit wrangler.toml then deploy. Hmm I Think Im Wrong, I Should Be Deploy On Workers Not Pages


feat: support sql.Scanner and sql.Valuer

database/sql is the standardized and the most widely used custom type definition protocol among go world, including GORM and pgx supports it.
This PR added those features to support seamlessly sql.Scanner and sql.Valuer support, including:

Generate (*XXX).Scan and (XXX).Value methods.
Add []byte type in ParseXXX function, treat []byte as byte string.
Add options to switch int or string(corresponding to int and varchar/text in database) as valuer implementations.

As per change, README.md is updated, and using flag to parse cli options.
As for nullable columns, it's should be trivial to support it since go1.22 introduced sql.Null[T], so this PR do not introduce NullXXX types.

I have added the Scan and Value interfaces implementations.


Ensure semver for software versioning and github releases

Version has been added to the library via #234.  Need to see about GitHub tagging on release.   Need more of a release publication process.


Mismanaged fish list

Hi! I can catch any fish of any season as long as they appear on the map; on the first screen, you can see that I can catch fish that are only available during the night market (Fish 3, 4, and 5)

The problem is that this prevents me from catching Jelly (Sea Jelly, River Selly and Cave Jelly), as well as breaking the balance of the game, since rare (and even legendary!) fish can be caught without limit!
The fish list interface is also a bit problematic, as its height is far too high for what it contains (see screen 2), so if I want to display a few fish, it encroaches on the game interface and its notifications

Any way to fix this, please?

me having this problem either. waiting for update

Unfortunately, this part of the mod might require a larger rewrite. I will take a look at it during the weekend.


Suggestion: Smarter subject stub cop

I wonder if it would be feasible to checking for stubbing the SUT even when subject isn't used, e.g.:
it "..." do
  loan = Foo.new
  allow(loan).to receive(:bar).and_return(:baz)
  expect(loan.bar).to eq(:baz)
end

Related to #311


django-autoslug-iplweb version requirement (1.9.4.dev0)

Hi there,
Is there any chance of getting the iplweb requirement updated to the fully released 1.9.4? It was conflicting with some other applications, and there doesn't seem to be much difference.
Thanks
Edit: Looks like this is just #184

By now django-autoslug-iplweb version 1.9.5 has been released and still getting the annoying warning regarding the version 1.9.4.dev0
ERROR: django-cities-light 3.5.0 has requirement django-autoslug-iplweb==1.9.4.dev0, but you'll have django-autoslug-iplweb 1.9.4 which is incompatible.

Also looking forward to the requirement's upgrade.

It was upgraded in latest releases


Wrapping helper properties into multiple lines

It's not included on emblemjs.com, so I've looked into the test specs, and I've found that it is possible to wrap properties into more lines with the use of brackets.
But it doesn't seem to work properly with Ember helpers, for example with Ember.Select
Static attributes are good (class="something"), however attribute bindings doesn't seem to work either in the form of value=something or valueBinding="something".
This is what I tried:
Ember.Select [
  content=something
  optionValuePath="content.value"
  optionLabelPath="content.label"
  value=somethingValue
  class="something" ]

Converting:
= inline-edit-select selectedOption=model.supervisorUser allOptions=filteredUsers prompt="Supervisor" name="supervisorUser" saveAction="updateControlsDatum"

To:
inline-edit-select [
  selectedOption=model.supervisorUser
  allOptions=filteredUsers
  prompt="Supervisor"
  name="supervisorUser"
  saveAction="updateControlsDatum" ]

fails for me using ember-cli / emblem 0.5.0 and ember-cli-emblem-hbs-printer 0.2.1 with the following error:
File: soxhub-client/templates/controls-datum/inline-form.emblem (16)
Expected _1BeginStatement, _1DEDENT or end of input but "\uEFEF" found.

I have tried various positions on the brackets as well as indenting, but I cannot seem to get this to compile.  Am I doing something wrong?  inline-edit-select is an ember component


Raise type error in to_cpu if array is neither numpy.ndarray nor cupy.ndarray

This PR fixes #491

Would you add a test?

LGTM

Thank you!


couldn't find file 'underscore'

It seems the 'vendors' folder files aren't available in the asset pipeline.
I'm using 0.5.4 with all needed dependencies. I can see the vendors folder with all the needed JS files in my rails gem folder.

No wonder my tests were still passing! If only someone could write a gem to remind me when to restart the rails server and save me from myself.

Sarcasm? To a noob? That's like punching a baby.

(If I didn't specify, I'm a noob too, so any sarcasm was directed squarely at myself)

:) thanks for taking the time to say so. +1 for being a good netizen

That happened to me. I've restarted the server (I'm using Pow) and problem was solved.


fix: stable monitor connections in c sshnpd

Pinned to atsdk PR: https://github.com/atsign-foundation/at_c/pull/479
- What I did
First, some of the changes I did in at_c which contribute to this PR:

Separate sockets from connections (connection code contains specifics to atDirectory and atServers)
Ensure the connection message is always well formed, by changing the way we read from the socket

Previously we read whatever was available and null terminate the string at a new line,
Now, we read until the newline, ensuring the read buffer is always well aligned

Revised socket reading approach as part of the new socket layer

NoPorts changes

Uptake changes in at_c
Set monitor connection read timeout to 5 seconds
Add a timeout counter to the monitor loop

Monitor will try reconnect if it exceeds a threshold
Non-error reads reset the counter
Error reads set the counter above the threshold triggering a reconnect
This relies on the monitor heartbeat, to reset the counter before it reaches the threshold

heartbeat is ~15 seconds
threshold is 40 seconds
(marginally greater, as there's some synchronous calls in between counts)

No more noops on the monitor connection!

- How I did it
- How to verify it

Run c sshnpd (in verbose mode) on a device with multiple internet adapters
Disable / disconnect the primary connection
Wait for the threshold and watch it reconnect

- Description for the changelog
fix: stable monitor connections in c sshnpd

@cpswan @cconstab from what I can tell this monitor connection is resilient to:

changes in network adapter
loss of connection

In both cases, it seems to recover once the timeout reaches the threshold (and network connectivity is restored on an adapter)

Looks like the e2e tests are failing, it's timing out on the Dart tests before it even get's to the C ones...

I've had a C daemon from commit f1a9132 running since last night.
I am keeping it up in tmux for as long as I can to determine if we have any long-term hangs.
edc2cb fixes two bugs:

When atDirectory responds with "@null", the prompt parser is still considered a non error, since it should be considered an error later on.
Make sure the notification RECV: debug log is printed with the correct length since it's not null terminated


Always Scale :class:~.Text according to the screen size

Changelog / Overview
This should help people because they don't need to scale
every time instead it will automatically scale.
It's an initial implementation, only for Text now. It
can be extended to other implementations also.
This also fixes https://github.com/ManimCommunity/manim/issues/1327
by adding an option to disable word wraps.

:class:Text now scales itself according to Video Size or Screen Size it renders on.
This would generate videos differently as compared to the previous versions.
Also, a new option called :attr:wrap_text is added to :class:Text, which can
be used to disable word wraps, and is enabled by default.

Motivation
Improves the Text object. Also, if this comes good, the same would be added to MarkupText also.
Explanation for Changes
Previously, this script produced this output.
from manim import *

lorem_ipsum = """Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."""

class Test(Scene):
    def construct(self):
        a = Text(lorem_ipsum[:60])
        self.play(FadeIn(a))

With these changes, it produces this output.

Testing Status
Works locally, on Windows.
Checklist

[x] I have read the Contributing Guidelines
[x] I have written a descriptive PR title (see top of PR template for examples)
[x] I have written a changelog entry for the PR or deem it unnecessary
[x] My new functions/classes either have a docstring or are private
[ ] My new functions/classes have tests added and (optional) examples in the docs
[ ] My new documentation builds, looks correctly formatted, and adds no additional build warnings

Reviewer Checklist

[ ] The PR title is descriptive enough
[ ] The PR is labeled correctly
[ ] The changelog entry is completed if necessary
[ ] Newly added functions/classes either have a docstring or are private
[ ] Newly added functions/classes have tests added and (optional) examples in the docs
[ ] Newly added documentation builds, looks correctly formatted, and adds no additional build warnings

I will make these change optional by a flag called scale_automatically.

My feeling is that this is overkill and also partially unwanted.
Let me explain:
It does not have to be a global config... but it could be.
It could also just be a keyword argument to Text. We already have so many keyword arguments for various options that are not all accessible through global config, why should this one be? It seems a lot of overhead when I could just do: def myText(*args, **kwargs): Text(*args, scale_to_fit_screen="always", **kwargs)
Secondly, I really don't like the idea of automatically scaling text to be LARGER in order to fit the screen.  This seems unwanted behaviour.
In my view, a minimally invasive solution would be the following:

add a keyword argument to Text scale_to_screen that takes values always, never, and auto with default auto.

In auto mode, when text is encountered that would overflow the page, scale it down to fit the screen and print a warning message that the text was scaled down.

optionally make the default settable in the global config.

It does not have to be a global config... but it could be.

The main reason I did so, was that examples would have a lot of the same keyword argument which may confuse users.

It could also just be a keyword argument to Text.

It already is, scale_automatically it is called and accepts either True or False. If True(by default), it is scaled to fit the screen, while if it False the older method is used.

Secondly, I really don't like the idea of automatically scaling text to be LARGER in order to fit the screen. This seems unwanted behaviour.

Yeah. I think one way for this is that our SVG parser should look for the size specified in the SVG file itself. For now, both Text and Tex object just scale with an arbitrary constant. I need to look into what can be done here.

If True(by default), it is scaled to fit the screen, while if it False the older method is used.

Yes, and I think it is really unhelpful if a small text is suddenly scaled to fit the screen.
I understand why you might want to automatically scale down if otherwise it does not fit the screen, but not to scale up single words or phrases

I still think this can be improved still about not enlarging text to fit the screen. Until it is ready I am having is as a draft.

The issue I have with auto-enlarging is that it will be near impossible to have small text snippets be of the same size. If I do
t1 = Text("Hi")
t2 = Text("Hello")
t3 = Text("How do you do")

will the first be huge, the second large, and the third normal? And how much would I need to scale them to make them the same font size?
That is why I think we should only offer scaling down to fit the screen automatically.

It would be rather easy to implement this after https://github.com/ManimCommunity/manim/issues/1390 so closing till then.


Question: Will this Resize then SaveToGallery?

Does this plugin resize the image before saving to the gallery or is it just like the nativescript-camera plugin and it saves to gallery first and then just returns a resized image asset?

@LorenDorez - I just glanced through the source; sorry it saves it (as-is) first then reload a new image at the requested size.


Consolidate anti-aliasing behavior with browsers

geometricPrecision now uses anti-aliasing
no special handling for rectangles with rounded edges
conforms to rendering in major browsers
see #960

@H1Gdev - I used your example as a test image.
I also had to adapt another rectangle test image which is now rendered anti-aliased (which is consistent withe browsers, but was intentionally not ant-aliased before). I'm not 100% that this is the correct thing to do...

@mrbean-bremen
I will check this PR.


MSSQL time is not round-tripable

Please first make sure you have looked at:

Documentation: https://github.com/mkleehammer/pyodbc/wiki
Other issues

Environment
To diagnose, we usually need to know the following, including version numbers.  On Windows, be
sure to specify 32-bit Python or 64-bit:

Python: 3.11
pyodbc:  4.0.35
OS: Windows
DB: Microsoft SQL Server 2019
driver: MSQL ODBC v18

Issue
python datetime.time is not round-tripable.. Getting precision loss when reading back the value thay was sent to the server
Often it is easiest to describe your issue as "expected behavior" and "observed behavior".
The below code fails with AssertionError: datetime.time(1, 23, 45, 12345) != datetime.time(1, 23, 45)
def test_time_round_trip(self):
    import pyodbc
    conn = pyodbc.connect("Driver=ODBC Driver 18 for SQL Server;Server=.;TrustServerCertificate=yes;Trusted_Connection=yes;MARS_Connection=yes;ConnectRetryCount=30")
    cursor = conn.execute("DECLARE @FOO TIME='01:23:45.012345678';SELECT @FOO AS [FOO];")
    expected = cursor.fetchone().FOO
    cursor.close()
    cursor = conn.execute("DECLARE @FOO TIME=?;SELECT @FOO AS [FOO];", [expected])
    actual = cursor.fetchone().FOO
    self.assertEqual(expected, actual)

https://github.com/mkleehammer/pyodbc/wiki/Tips-and-Tricks-by-Database-Platform#time-columns

Also note that time resolution in SQL Server only reaches 0.1us.

Hi @gordthompson  and @v-chojas . Thx!! I didn't know it was "by-design"... I'll close. Thx for the "tips and tricks" link... I was unaware of the setinputsizes function. Very good to know.


working config v1.0

I think it a template repo, those commented lines are intended for customization.
so why do you want to merge your configuration here?


useDirectusRealtime cannot establish connection to the Websocket

Version
nuxt-directus-next v0.0.15
nuxt: v3.12.2
Reproduction Link
https://github.com/Lucas-Gruber/nuxt-directus-reproduction-websocket
Steps to reproduce

Install the packages (yarn install)
Set the Directus link in nuxt.config.ts
Start the dev-server with yarn dev
Look in the browser-console

What is Expected?
The socket should connect and print this in console.
What is actually happening?
An error appears and the connection cannot be established.
Error:
t.globals.WebSocket is not a constructor

at new Promise ()
at connect (https://raw.githubusercontent.com/directus/directus/v10.10.5/sdk/src/realtime/composable.ts:231:28)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async setup (./app.js:15:84)

Sorry @Lucas-Gruber for not reaching out earlier, had a busy week.
Yes, indeed it is an SSR related issue (the composable tries to establish a connection while still server-side). I got the fix mostly drafted but I need to investigate if I'm able to hook the id generation from the sdk ws composable (to prevent from sending queued messages and new messages with same ids)

No problem! And thank you for your work on this issue!

Are there any news on this?

Are there any news on this?

Yes, but unfortunately they do require a custom implementation that could easily break with future SDK updates. On this subject I do plan to write a comment in #215 in the upcoming days/week to get some feedback on future plans I have.
Sorry for the delay, but I've also taken a few weeks off from basically everything (actually I'm still on holidays)


Auto-hide Cmdprompt server window after start? And auto-exit adb.exe at scrcpy exit?

As far as I can see scrcpy starts at first its local server and opens a CmdPrompt window for it.
Can I somehow prevent the visibility of this window? It should run hidden in background (or at most in Systray)
Related to this: when I exit scrcpy the adb.exe process continues to run in background.
How can I auto-exit adb.exe when I exit scrcpy window in foreground?

Can I somehow prevent the visibility of this window?

Use scrcpy-noconsole.vbs: https://github.com/Genymobile/scrcpy/blob/master/doc/windows.md#run
More details: https://github.com/Genymobile/scrcpy/pull/1988#issuecomment-760768688

How can I auto-exit adb.exe when I exit scrcpy window in foreground?

--kill-adb-on-close #2580


BarcodeScanner.java Error

Hello. I'm Jane. I will make a BarcodeScanner App but I have a problem.
After Installing BarcodeScanner plug, BarcodeScanner.java had Errors.
so.. I added com.google.zxing.client.android.captureacitivity.jar.
but I still have errors.
intentScan.putExtra(Intents.Scan.CAMERA_ID, obj.optBoolean(PREFER_FRONTCAMERA, false) ? 1 : 0);
intentScan.putExtra(Intents.Scan.SHOW_FLIP_CAMERA_BUTTON, obj.optBoolean(SHOW_FLIP_CAMERA_BUTTON, false));
if (obj.has(FORMATS)) {
intentScan.putExtra(Intents.Scan.FORMATS, obj.optString(FORMATS));
}
if (obj.has(PROMPT)) {
intentScan.putExtra(Intents.Scan.PROMPT_MESSAGE, obj.optString(PROMPT));
}
if (obj.has(ORIENTATION)) {
intentScan.putExtra(Intents.Scan.ORIENTATION_LOCK, obj.optString(ORIENTATION));
}

CAMERA_ID cannot be resolved or is not a field
ORIENTATION_LOCK cannot be resolved or is not a field.

Could you  reply my errors?

Hi @KangJane, could you please see if the solution in #224 helps?

Closing, inactivity. Please comment/re-open if you have more details.

I am also getting this exact error in Android at the moment. Cordova version 6.4.0

Same here.


error

The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

sunxy@sunxy-mini iOSPlayerExample % pod install
Analyzing dependencies
Pre-downloading: LvNormalSlider from https://github.com/pgbo/LvNormalSlider.git
[!] Error installing LvNormalSlider
[!] Failed to download 'LvNormalSlider': [!] /usr/bin/git clone https://github.com/pgbo/LvNormalSlider.git /var/folders/55/k0jb0mhj7m94fljbkc7s1gl00000gn/T/d20220401-418-m9awux --template= --single-branch --depth 1
Cloning into '/var/folders/55/k0jb0mhj7m94fljbkc7s1gl00000gn/T/d20220401-418-m9awux'...
fatal: unable to access 'https://github.com/pgbo/LvNormalSlider.git/': LibreSSL SSL_read: error:02FFF03C:system library:func(4095):Operation timed out, errno 60
[!] The abstract target Pods is not inherited by a concrete target, so the following dependencies won't make it into any targets in your project:
- LvModelWindow (~> 0.1.1)
- LvNormalSlider (from https://github.com/pgbo/LvNormalSlider.git)


Only load df once

When plotting, especially with exoplanets it's quite slow. If we somehow can only load it once, it would speed up the plotting process. Can this maybe be stored in cache?

This might only work on development server. But it works quite well. There are more options out there too.
Did not include caching for the database of main page, only plotting pages (for no good reason).

The database on the main page is also cached. The caching is handled in the functions that creates them.


add RD allen-oneill

Docs Build status updates of commit 3b881de:
:warning: Validation status: warnings

File
Status
Preview URL
Details

rd/index.yml
:warning:Warning

Details

rd/map.yml
:warning:Warning

Details

rd/allen-oneill.yml
:white_check_mark:Succeeded

rd/media/profiles/allen-oneill.jpg
:white_check_mark:Succeeded

rd/toc.yml
:white_check_mark:Succeeded

rd/index.yml

Line 0: [Warning-InvalidFileLink] Invalid file link:(~/about).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/CodeOfConduct).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/map).

rd/map.yml

Line 0: [Warning-InvalidFileLink] Invalid file link:(~/about).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/CodeOfConduct).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/map).

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


[MRG] DOC: update email address + use as_numpy

Codecov Report

Merging #403 (2c3e3d5) into master (af26624) will decrease coverage by 0.47%.
 Consider uploading reports for the commit 7108a46 to get more accurate results

@@            Coverage Diff             @@
##           master     #403      +/-   ##
==========================================
- Coverage   90.39%   89.91%   -0.48%
==========================================
  Files          17       17
  Lines        3060     3055       -5
==========================================
- Hits         2766     2747      -19
- Misses        294      308      +14

Impacted Files
Coverage Δ

hnn_core/cells_default.py
100.00% <ø> (ø)

hnn_core/dipole.py
93.96% <ø> (ø)

hnn_core/drives.py
92.15% <ø> (ø)

hnn_core/network.py
92.00% <ø> (ø)

hnn_core/network_builder.py
92.65% <ø> (ø)

hnn_core/params.py
89.61% <ø> (ø)

hnn_core/params_default.py
100.00% <ø> (ø)

hnn_core/utils.py
100.00% <ø> (ø)

hnn_core/viz.py
83.29% <ø> (ø)

hnn_core/parallel_backends.py
81.79% <0.00%> (-4.17%)
:arrow_down:

... and 1 more

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 af26624...7108a46. Read the comment docs.

Looks good to me. Going to go ahead and merge since this is super straightforward.


Implement the new search experience

Search-a-licious

#991

### Coordinate with the server to integrate the new search experience
- [ ] https://github.com/openfoodfacts/openfoodfacts-dart/issues/833

PoC @raphael0202
### Implement the mobile part of the new search experience according to mockups
- [ ] https://github.com/openfoodfacts/smooth-app/pull/4833

Part of

#4795

I'm wondering to what extent converting those queries to the search-a-licious backend could make them faster.


ENH: Session type, parse_session, new ExchangeCalendar methods

Introduces:

Session type for parameters requiring a session label.
parse_session function for verifying input.
NotSessionError raised by parse_session when session parses to UTC midnight but does not represent a session (only raised if parse_session strict parameter is True).

Only implemented on public methods that would have otherwise raised an error for the given input. Note: Error type raised may differ from error type previously raised.
To avoid breaking changes, not implemented on public methods that return regardless of receiving a session_label as input that does not represent a session, for example, sessions_in_range('2021-06-07', '2021-06-16 23:55'). Note: such input is ambiguous - in this example, if the 2021-06-17 session opened 2021-06-16 23:00 then should it be included?
On any breaking release might be worth losing this ambiguity by verifying session inputs to ensure no time component, although allowing non-sessions so that the likes of sessions_in_range('2021-01-01', '2021-12-31') is valid. This can be handled by the strict parameter of parse_session(calendar, session, param_name, strict=False).
PR also:

moves 'ExchangeCalendar._trading_minutes_nanos' to 'ExchangeCalendar.all_minutes_nanos' property. Exposes nanos and allows for benefit of lazyval decoration of 'ExchangeCalendar.all_minutes' (was being called by the constructor to evaluate ExchangeCalendar._trading_minutes_nanos)

type annotations to some ExchangeCalendar methods (for documentation purposes)

new ExchangeCalendar methods:

has_breaks -> bool.  Does any session of calendar have a break.
session_has_breaks -> bool.  Does a given session have a break.

@maread99 Sorry for the delay here. Overall - looks good to me, but two small questions.

Not sure what caused those two conflicts?? In each case the first version is correct.

Ack - I seem to have just messed up the conflict fix rebase here - apologies.
Would it be easier to close this, rebase https://github.com/gerrymanoim/exchange_calendars/pull/32 and I'll just approve + merge that (since IIRC it has all the same commits as this)? Sorry for the trouble.

No worries, the merge was always going to fail on a test that I introduced test_has_breaks. The recently merged revisions to XKRX (nice PR!) included breaks although, naturally, didn't provide for the test. Whichever PR were to be have merged first, the other would have failed. I've added a single-line commit to resolve this.
Separately I've popped my 'Update XSES holidays' commit onto the end here and closed #32.
I believe the commits under this PR are now clean and that it should all merge without an issue.
References for the XSES holidays update:
https://www.sgx.com/securities/trading#Trading Hours & Opening/Closing Routine
https://www.mom.gov.sg/employment-practices/public-holidays


Feature/UI ds 77 card component

Closes #77
Figma link: https://www.figma.com/file/471iS3QrpPtXZpS1xbsJ20/Components?node-id=1252%3A792
Adds Card component with variants no padding, active, and ruled.
Examples:

@rroppolo leaving this as a draft since I'm not sure how holistic this initial Card addition should be - I think we have some other styles of Cards in the app that may not be considered default. I just implemented the styles in this figma link  as a starting point, but let me know what you think if you get a chance!

@jojolee1996 @fausgaitan should the horizontal rule go above or below the subtitle text?

@arlemagne The divider should go right under the card title. Do we currently have any cards that uses subtitle text? The closest thing I can think of is something like Technical requirements in the new builder (link)

@jojolee1996 I think the projects browse page (/researcher) has what would be considered subtitle text:

either way I'll make that change and move the divider under the subtitle 👍

@arlemagne this looks great!! Just have a few tweaks for you:

Can we change the horizontal rule's border to border-top: 1px solid rgba(0,0,0,.1)? (Pulled this from new builder work since the line is currently looking a bit thick)
Update the subtitle to be $ux-gray-800 and with font-weight: 300
Add a border-radius of 4px to each card

totes! I'll make those changes @jojolee1996

@jojolee1996 made those updates btw, let me know what you think but no rush


update 0.13?

are u updating to 0.13 anytime soon and upload it to modportal ?

0.13 was published basically at the same time my master's degree's exam period started, so I'll get on it as soon as that ends on Wednesday.


[Outlook] (API requirement set) Remove 1.7 as supported requirement set for Outlook 2019

Removed 1.7 as a supported API requirement set for Outlook 2019 one-time purchase (volume-licensed). See ADO task 5720690 for change details.

Docs Build status updates of commit 266697d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/requirement-sets/outlook-api-requirement-sets.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit a6a566d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/requirement-sets/outlook-api-requirement-sets.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Added PaliGemma notebook examples for zero-shot object detection and instance segmentation.

Added notebook examples for PaliGemma for zero-shot object detection and instance segmentation on images and videos. Please review, thanks. :)

Thanks for this, Nitin! I'll take a look now at what you've done.

Hey Nitin, thanks again for your work. Unfortunately the notes in CONTRIBUTING.md envisage you actually uploading your notebooks into this repository, not just linking out to yours - apologies if this wasn't clear.
As to why this is required, it's such that we can make sure everything that Gemma users encounter in the cookbook is known  by us to run - if we allow a link out to a notebook somewhere else, we have no visibility into any of that.
If you'd be okay with it, I'd encourage you to please:

add sections to your notebooks for how to get Kaggle/HF/etc tokens and set them as Colab secrets
add a byline section to your notebooks such that anyone reading them knows that you are the original author (and knows where to find you!)
resubmit this PR with your notebooks in it

Best,
Jetha

Hi @jethac, I've just made the changes suggested by you.

Added a section to my notebooks to configure HF token in Colab Secrets.
Added a byline section about me at the top of the notebooks.

Could you please review?

Haven't looked at the code in detail, but for the 2 notebooks involving videos, is there any way to add a sample video?

Haven't looked at the code in detail, but for the 2 notebooks involving videos, is there any way to add a sample video?

@windmaple: Do you want me to add the original video I used for the demo or any video would do? Also, where do I add these videos? Any specific folder within the repo?

@NSTiwari could you create an 'assets' subfolder in PaliGemma folder and add the video you have?

@NSTiwari could you create an 'assets' subfolder in PaliGemma folder and add the video you have? Assuming the vid is not too big (say, a few MB?)

@windmaple: I just added a couple of videos as sample. Could you please check?

 Let's leave them out for now. Sorry for going back and forth on this.
I'll merge once you remove the vids.

 Let's leave them out for now. Sorry for going back and forth on this.
I'll merge once you remove the vids.

Thanks, @windmaple. I just deleted videos. Please check.


bit of a cleanup of Example 01_dirty_categories

Describe the issue linked to the documentation
The example contains this passage:
X["date_first_hired"] = pd.to_datetime(X["date_first_hired"])
X["year_first_hired"] = X["date_first_hired"].apply(lambda x: x.year)

At first I wanted to remove the .apply passage, but then I realised that when you run
from skrub.datasets import fetch_employee_salaries

salaries = fetch_employee_salaries()

X = salaries.X

X.columns

Then you notice that "year_first_hired" is already there. I guess you could just remove that altogether? I checked the original source in OpenML and it definitely is there:

Suggest a potential alternative/fix
No response

Closed by #684


Tracks not loading in Marimo

The IGV browser is loading in correctly now, but is not loading in tracks for some reason in Marimo; I tried a couple configs that worked in JupyterLab, but are Marimo is just not showing any tracks at all. When I add console.log(model.get("_tracks")) in the widget.js file, it is still printing the right track array I think, so I'm not sure why this is happening unfortunately

Thanks for reporting... I am able to reproduce. I'll sort it out!

I haven't been able to sort out what's going on. I'm thinking there might be some global state issue (maybe something internal in IGV). Sadly probably won't have time to explore further until the new year!


If the editor's window is too small changing to the script tab will cutoff part of the editor's right side

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Godot 3.0 master https://github.com/godotengine/godot/commit/9a78efc7c270211e49fd7b2f071b61c706febffc
Issue description:

Not sure if this should be fixed or not... it also happens if there isn't enough space in the editor in any tab so I guess the script tab needs more space than the other tabs:

Maybe the script contents should have the same minimum size?

Duplicate of #31133.


Provides a slot in bevy_render to grabing screen texture for achieve blend mode or glass effect in bevy_sprite.

What problem does this solve or what need does it fill?
As i me mentioned in discussions Does bevy provide an API similar to unity's GrabPass?, i need bevy to expose a slot in RenderCommand which can perform an additional operation before draw PhaseItem, in this way, I can grab the screen and achieve the blend mode effect in shader.
What solution would you like?
I have initially implemented this slot and applied it to my own project, and it works fine.
The main changes are in https://github.com/Ahuang0107/bevy/blob/elase/release-0.14.2/crates/bevy_render/src/render_phase/mod.rs line 770.
Additional context
The reason why I am obsessed with implementing blend mode is because I need blend mode to express the glass effect, reflective effect, shadow effect and night and day effect. Unity has these functions but I prefer to use bevy to complete my game. The following is a comparison of my implementation in unity and bevy, blend mode can bring good effect to glass in 2d game.

This will allow to implement what is described in this blogpost, am I right?
https://www.elopezr.com/photoshop-blend-modes-in-unity/

This will allow to implement what is described in this blogpost, am I right?
https://www.elopezr.com/photoshop-blend-modes-in-unity/

Yes, you are right.
Interesting! This solution avoid performance problems when frequently grabbing the screen. It seems that it is indeed a better solution to achieve blend mode. I will try to use the solution mentioned in the article to implement blend mode and see the final effect.
But on the other hand, I think a function similar to unity’s grab pass is still necessary. It can be used to achieve some glass distortion or blurring effects. Moreover, in 2D projects, performance generally does not become a bottleneck, and the cost of using grab pass is acceptable.

Interesting! This solution avoid performance problems when frequently grabbing the screen. It seems that it is indeed a better solution to achieve blend mode. I will try to use the solution mentioned in the article to implement blend mode and see the final effect.

Oh, I totally didn't mean to suggest changing the solution, I asked just out of curiosity but I don't know enough to judge what solution is better
In any case, I'm glad it helped!


Add database migrations to postgresql data base

https://github.com/open-contracting/ocdsdata/issues/48

Ok, some feedback would be good!
(Should probably write the downgrade path for the one DB migration we have! Do we tend to do those? I know some people don't.)

There is now DB migrations ...
The tests use them.
There is a new central config file to get DB stuff, ocdsdata/maindatabase/config.py

I took the database commands out of the CLI - it's in readme. Could put the back in CLI?
It's maybe a bit dumb to have both the package odcsdata/maindatabase and the file odscdata/database.py - could deal with that later, or move database.py into odcsdata/maindatabase/lib.py or something?

Oh wait, I need to add this to setup.py. Working out how to do that ...

Did setup.py.
Put CLI commands back in at request of @kindly

Good point, done, want to review again? :-) @kindly


能否创建几个QQ ,wechat，or facebook等技术交流群

Q
A

Bug report?
yes/no

Feature request?
yes/no

Swoft version
x.y.z (by php bin/swoft -V)

Swoole version
x.y.z (by php --ri swoole)

PHP version
x.y.z (by php -v)

Runtime environment
Win10/Mac/CentOS 7/Ubuntu/Docker etc.

Describe the bug
A clear and concise description of what the bug is.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Details

Describe what you are trying to achieve and what goes wrong.

// paste output here

Provide minimal script to reproduce the issue

// paste code

能否创建几个QQ ,wechat，or facebook等技术交流群，大家有问题多多交流？

qq wechat 都是有的 https://learnku.com/articles/35189


State what required key is missing a value.

The error message for the MissingAttribute that is raised in Type.Validate is not very descriptive. It would be better if it mentioned the key that it could not find a value for.
       if value is None:
         raise MissingAttribute('Missing value is required.')

Validated.CheckInitialized has an example of a more ideal error message:
       except MissingAttribute, e:
         e.message = "Missing required value '%s'." % key
         raise e

With a more descriptive message, users will more clearly see where validation failed. The current implementation is too vague.

I signed it!


O11y ha cluster

After the other branches land, this needs to be rebased to remove cherry-picked changes


Why not implement it based on weblux?

Why not implement it based on webflux?

duplicate of gh-152

Oh, well, thank you for your answer.


Error on download_files : "CD not found in remote archive"

Since the latest "upgrade" of the THEIA web service, it looks like single file download is broken.
DEBUG:theia-picker:HTTP GET range start at -100, length 100
DEBUG:theia-picker:Returning 100 bytes
WARNING:theia-picker:Failed to grab remote archive information: CD not found in remote archive

Following THEIA server update, it not does not support anymore range requests. The server always sent the first bytes of the files, disregarding the byte range asked.

Just got a mail from THEIA exploitation team: problem on their side, pending investigation by CNES


Flat earth view

with a zoom flat isometic earth we would not have a repeat flat map....
like a clock you would simply spin it an zoom down.....
it needs to be an  isometic world view as you zoom in 2 or 3 layers it becomes flat or stay  isometic...
with the  isometic  flat earth  map  you could draw a moon  object and run trajectory data..... or earthquake data.... or fires.....
a flat earth map is  just an unwrap globe as you zoom in
Fake 3d ...... you simply spin the map wheel and zoom down...
map edge has N S E W S spin it and it changes........
you now added a programmable tiled sky layer.....
like where is the sun.... or moon in the sky at your angle .... the data is online.....
with   isometic map  layers i could build a layer on the map at full zoom in... zoom out and its gone....
zoom in and tigger. loads....
https://www.mapeditor.org/

Hi, I'm closing this issue because the quality is not good enough. I suggest reading "How To Ask Questions The Smart Way" and "How to Report Bugs Effectively" so you can make good bug reports.


Dependency with cuda 9.0

Hi everyone,
How can I solve Sonnet dependencies?
My Cuda=9.0
and when I installed  Sonnet as the given in installation part as following, I could not use GPU.
$ pip install tensorflow-gpu tensorflow-probability
$ pip install "dm-sonnet>=2.0.0b0" --pre
Could you give me some idea to solve this problem? I need to use Cuda 9.0.
How can I install sonnet using which dependencies and versions?
Thanks

Hi, what dependencies did you work with to solve this?


fix copy-pasted typo in filter docstrings

The public documentation of the filters contained the typo "appying".

Thanks!


Update devfile 2.1 API in the operator

For now, the devworkspace operator is consuming devfile 2.1 API specified at
https://github.com/devfile/devworkspace-operator/blob/main/Makefile#L26
which is https://github.com/devfile/api/commit/1f335562c475972132851c68227dd36558317bb3
I'm interested in having global attributes changes
https://github.com/devfile/api/tree/ff3c01bf82927e2936d66f31b93e9463f9be25b3
so if you could please bump to a more recent 2.1 specification

Fixed by https://github.com/devfile/devworkspace-operator/pull/409


Failed to install on Laravel 6.4

composer require gloudemans/shoppingcart
Using version ^2.6 for gloudemans/shoppingcart
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for gloudemans/shoppingcart ^2.6 -> satisfiable by gloudemans/shoppingcart[2.6.0].
- Conclusion: remove laravel/framework v6.4.0
- Conclusion: don't install laravel/framework v6.4.0
- gloudemans/shoppingcart 2.6.0 requires illuminate/events 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.|| 5.6. || 5.7.* -> satisfiable by illuminate/events[5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, 5.6.x-dev, 5.7.17, 5.7.18, 5.7.19, 5.7.x-dev, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44, v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.23, v5.6.24, v5.6.25, v5.6.26, v5.6.27, v5.6.28, v5.6.29, v5.6.3, v5.6.30, v5.6.31, v5.6.32, v5.6.33, v5.6.34, v5.6.35, v5.6.36, v5.6.37, v5.6.38, v5.6.39, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9, v5.7.0, v5.7.1, v5.7.10, v5.7.11, v5.7.15, v5.7.2, v5.7.20, v5.7.21, v5.7.22, v5.7.23, v5.7.26, v5.7.27, v5.7.28, v5.7.3, v5.7.4, v5.7.5, v5.7.6, v5.7.7, v5.7.8, v5.7.9].
- don't install illuminate/events 5.1.x-dev|don't install laravel/framework v6.4.0
- don't install illuminate/events 5.2.x-dev|don't install laravel/framework v6.4.0
- don't install illuminate/events 5.3.x-dev|don't install laravel/framework v6.4.0
- don't install illuminate/events 5.4.x-dev|don't install laravel/framework v6.4.0
- don't install illuminate/events v5.7.9|don't install laravel/framework v6.4.0 install illuminate/events v5.7.26|don't install laravel/framework v6.4.0
- don't install illuminate/events v5.7.27|don't install laravel/framework v6.4.0
- don't install illuminate/events v5.7.28|don't install laravel/framework v6.4.0
- don't install illuminate/events v5.7.3|don't install laravel/framework v6.4.0
- don't install illuminate/events v5.7.4|don't install laravel/framework v6.4.0
- don't install illuminate/events v5.7.5|don't install laravel/framework v6.4.0
- don't install illuminate/events v5.7.6|don't install laravel/framework v6.4.0
- don't install illuminate/events v5.7.7|don't install laravel/framework v6.4.0
- don't install illuminate/events v5.7.8|don't install laravel/framework v6.4.0
- don't install illuminate/events v5.7.9|don't install laravel/framework v6.4.0
- Installation request for laravel/framework (locked at v6.4.0, required as ^6.0) -> satisfiable by laravel/framework[v6.4.0].

Installation failed, reverting ./composer.json to its original content.

for laravel 6 you can use https://github.com/darryldecode/laravelshoppingcart
or
https://github.com/hardevine/LaravelShoppingcart

#575
#581
#589
#569
#556
#548
#521
#587
#579
#573
#572
#571
#568

I'm working on a fork that's compatible with Laravel 7 - everything seems to be working at the moment, but please submit a pull request if not;
https://github.com/olimortimer/LaravelShoppingcart

I'm working on a fork that's compatible with Laravel 7 - everything seems to be working at the moment, but please submit a pull request if not;
https://github.com/olimortimer/LaravelShoppingcart


Yesterday's data is missing in state_wise_daily.csv

Yesterday's data is missing in https://api.covid19india.org/csv/latest/state_wise_daily.csv . Could you please check the issue.
thanks, Sahsi

Please create an issue in the API repository. Though it seems to be fixed now


Question in CoarseReg class

Hello,
Thank you for your generosity to share the code. However I got stuck when I come to the forward() function of CoarseReg class.

What I understand about line 249 and line 255 is that you want to gather k nearest cosine neighbors in src for keypoints in dst and k nearest neighbors in dst for keypoints in src. I didn't understand why you used src_knn_idx  for both cases? I assume it should be dst_knn_idx  instead in line 249,  because it gathers k nearest neighbors in src to keypoints in dst.
Best regards.

Hello,
This operation does not aim to gather k nearest cosine neighbors in src for keypoints in dst and k nearest neighbors in dst for keypoints in src. We only search k nearest neighbors in dst for each keypoint in src, and this operation aims to obtain the bilateral similarity of the candidate corresponding points (from src_dst_cos_norm and dst_src_cos_norm).

Hello,
I understand, thank you for the answer

Resolved, close.


KAFKA-14009: update rebalance timeout in memory when consumers use st…

When consumers use static membership protocol and do not happen rebalance, consumers can not update rebalance timeout when users want to reduce rebalance timeout
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@guozhangwang Can you help review this code?

@Stephan14 I will review it next week.

@Stephan14 Thanks for the patch. Nice catch! I have two high level comments:

Could we add a unit test for this?
Do we have a similar issue with the session timeout?

I have added test for this
I update session timeout at the same time

@dajac I have modify the code.

@dajac Can you help me review it? Thanks.

@dajac I have fixed it again and can you help me review it ?

@dajac I have fix it and can you review it?

@Stephan14 Many tests, related to your change, failed in the last build. Could you please take a look?
Build / JDK 11 and Scala 2.13 / staticMemberRejoinWithUnknownMemberIdAndChangeOfProtocolWhileSelectProtocolUnchangedPersistenceFailure() – kafka.coordinator.group.GroupCoordinatorTest
<1s
Build / JDK 11 and Scala 2.13 / staticMemberRejoinWithUnknownMemberIdAndChangeOfProtocolWhileSelectProtocolUnchangedPersistenceFailure() – kafka.coordinator.group.GroupCoordinatorTest
4s
Build / JDK 8 and Scala 2.12 / staticMemberRejoinWithUnknownMemberIdAndChangeOfProtocolWhileSelectProtocolUnchangedPersistenceFailure() – kafka.coordinator.group.GroupCoordinatorTest
<1s
Build / JDK 8 and Scala 2.12 / staticMemberRejoinWithUnknownMemberIdAndChangeOfProtocolWhileSelectProtocolUnchangedPersistenceFailure() – kafka.coordinator.group.GroupCoordinatorTest
3s
Build / JDK 17 and Scala 2.13 / staticMemberRejoinWithUnknownMemberIdAndChangeOfProtocolWhileSelectProtocolUnchangedPersistenceFailure() – kafka.coordinator.group.GroupCoordinatorTest
<1s
Build / JDK 17 and Scala 2.13 / staticMemberRejoinWithUnknownMemberIdAndChangeOfProtocolWhileSelectProtocolUnchangedPersistenceFailure() – kafka.coordinator.group.GroupCoordinatorTest

@Stephan14 Many tests, related to your change, failed in the last build. Could you please take a look?
Build / JDK 11 and Scala 2.13 / staticMemberRejoinWithUnknownMemberIdAndChangeOfProtocolWhileSelectProtocolUnchangedPersistenceFailure() – kafka.coordinator.group.GroupCoordinatorTest
<1s
Build / JDK 11 and Scala 2.13 / staticMemberRejoinWithUnknownMemberIdAndChangeOfProtocolWhileSelectProtocolUnchangedPersistenceFailure() – kafka.coordinator.group.GroupCoordinatorTest
4s
Build / JDK 8 and Scala 2.12 / staticMemberRejoinWithUnknownMemberIdAndChangeOfProtocolWhileSelectProtocolUnchangedPersistenceFailure() – kafka.coordinator.group.GroupCoordinatorTest
<1s
Build / JDK 8 and Scala 2.12 / staticMemberRejoinWithUnknownMemberIdAndChangeOfProtocolWhileSelectProtocolUnchangedPersistenceFailure() – kafka.coordinator.group.GroupCoordinatorTest
3s
Build / JDK 17 and Scala 2.13 / staticMemberRejoinWithUnknownMemberIdAndChangeOfProtocolWhileSelectProtocolUnchangedPersistenceFailure() – kafka.coordinator.group.GroupCoordinatorTest
<1s
Build / JDK 17 and Scala 2.13 / staticMemberRejoinWithUnknownMemberIdAndChangeOfProtocolWhileSelectProtocolUnchangedPersistenceFailure() – kafka.coordinator.group.GroupCoordinatorTest

@dajac  I have fixed it.

@Stephan14 Thanks for the patch!

Merged to trunk and 3.3.


Don't run these benchmarks forever by default

Running forever is useful for profiling but makes these scripts less useful for
measurement.  :)

lgtm


init example for spectra intermezzo

First version of a suggested intermezzo for spectral processing.
In the script, there is usage of the following concepts

custom data types
specialising functions for these data types
plot recipe
fancy data pipelines
usage of DrWatson to simulate and store simulation data

Not yet in the form of a Pluto notebook, waiting for some content feedback.
I see this as an advanced example for the second day

Wow, that is very long for an intermezzo. Can you see this fit in the 30 min slot allocated for this? https://docs.google.com/spreadsheets/d/1ilkRrCHDSRzEm7S8CZ_NMoiL8Ed5_3MVJaFCLAFgu1c/edit#gid=2059960846

Wow, that is very long for an intermezzo. Can you see this fit in the 30 min slot allocated for this? https://docs.google.com/spreadsheets/d/1ilkRrCHDSRzEm7S8CZ_NMoiL8Ed5_3MVJaFCLAFgu1c/edit#gid=2059960846

Maybe we can merge it with the macro's intro? #49

Maybe we can merge it with the macro's intro? #49

It has a bit of everything. That's the issue atm.
It uses some macros, but I think it is a little light at this moment to call this an intro to macros

It has a bit of everything. That's the issue atm.
It uses some macros, but I think it is a little light at this moment to call this an intro to macros

Note: force push because of bad credentials

Note: force push because of bad credentials

@DaanVanHauwermeiren  I'm going to wait to review this as mentioned in slack we already have way too much content.

@DaanVanHauwermeiren  I'm going to wait to review this as mentioned in slack we already have way too much content.


Using the new beta Stackdriver Kubernetes Monitoring

Enable new monitoring and logging
Make an alert from a Prometheus metric
Implement some of the default cluster assumptions that gcloud makes
Update README to reflect a focus on the new Stackdriver features

test this please

test this please

/lgtm


Slide image

The slide images on the homepage of the website are not functioning correctly. After clicking the 'Next' button, the images should slide to the right, but this is not happening

@VJ12More  assigned!


Syntax highlighting does not apply properly

Hello, I have some trouble while using this plugin.
It seems jsx syntax highlighting does not work as I expected:

As above, when I use jsx tags without surrounding brackets ({}) then it seems working fine. (even, it works fine when strip off brackets on the second code) But if with surrounding brackets, it seems syntax highlighting is not applied properly. Also even it doesn't apply any autocompletion.
Anyone has some idea about this issue?
Versions:

Windows 10
<EMAIL_ADDRESS><EMAIL_ADDRESS>

I'm seeing this too, with the latest version the syntax highlighting is not working properly

1

me too

@orktes could you take a look??

I have the same problem but since I have two Atom's versions installed I tested with 1.8.0 and it's working properly, both the highlight and autocomplete.

Atom: 1.8.0
Atom-React: 0.15.0
System: Ubuntu64 14.04 LTS

Sorry for delay was on vocation. Should be fixed now https://github.com/orktes/atom-react/issues/188


Lower CPU model for Intel

Running mkcloud in a VM on the ECP is currently only possible if the
hypervisor is at least Haswell based. A large fraction of our hardware
is older than that and libvirt fails with
libvirt.libvirtError: the CPU is incompatible with host CPU: Host CPU does not provide required features: fma, movbe, fsgsbase, bmi1, avx2, smep, bmi2, erms, invpcid
on those hypervisors. This change lowers the default CPU model to
SandyBridge.
Signed-off-by: Nicolas Bock<EMAIL_ADDRESS>

also, this doesn't match the currently defined plan of action of replacing mkcloud(1) with a heat stack and only running qa_crowbarsetup.sh.
Not sure what this was aiming for, can you clarify ? we should not run nested kvm.

Closing.


nano-wallet: 18.0 -> 19.0

Motivation for this change
Update Nano cryptocurrency wallet.
NOTE: This is still work in progress! Any help appreciated. EDIT: Works now.
I'm getting the following error when running nano_wallet:
$ nano_wallet
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa.

Any ideas how to solve this?
Things done

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

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

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

Hmm.. I think I found all relevant help from here: https://github.com/NixOS/nixpkgs/pull/68309
Let's see if it works now..

Works now!

Oh, thanks for the heads up! Have to fix my key at some point then.

@GrahamcOfBorg build nano-wallet

If this is a qt application entirely, it should use mkDerivation which is from qt and it automatically adds wrapQtAppsHook. The aforementioned PR #68309 actually has changes to reflect that which I requested there also.


chore(master): release 1.3.1

:robot: I have created a release beep boop
1.3.1 (2024-05-21)
Documentation

update readme (c683a5a)
update README (58826b6)
updating readme (bd3801c)
updating readme (27f9eb7)

This PR was generated with Release Please. See documentation.

Summary by CodeRabbit

Chores

Updated internal version from "1.3.0" to "1.3.1" for release management.

:robot: Release is at https://github.com/wayofdev/php-cs-fixer-config/releases/tag/v1.3.1 :sunflower:


Create Runbook-Network-Changes.md

Chatgpt 4o solution via voice chat.
Coach B Fullmer
CoachF

Merge approved

X


fix: 🐛 the started jobinfo always contained priority=NORMAL

Now we get the value as expected. This means that the backfill function will create jobs at the same level of priority, instead of moving everything to the NORMAL priority queue

Codecov Report
Patch coverage: 100.00% and project coverage change: -1.04 :warning:

Comparison is base (3cb7724) 90.14% compared to head (a3b3d0c) 89.11%.

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1205      +/-   ##
==========================================
- Coverage   90.14%   89.11%   -1.04%
==========================================
  Files         180       90      -90
  Lines        9994     4464    -5530
==========================================
- Hits         9009     3978    -5031
+ Misses        985      486     -499

Flag
Coverage Δ

jobs_cache_maintenance
99.08% <ø> (ø)

jobs_mongodb_migration
83.33% <ø> (ø)

libs_libcommon
91.39% <100.00%> (+<0.01%)
:arrow_up:

services_admin
86.83% <ø> (ø)

services_api
?

services_worker
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

libs/libcommon/src/libcommon/queue.py
89.78% <ø> (ø)

libs/libcommon/tests/test_queue.py
100.00% <100.00%> (ø)

... and 90 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

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


Fix styling on "sort by" select on articles page

Context
We recently integrated the Catalyst component library into the project. However, the global styles in globals.css were conflicting with the new input components. To resolve this, PR #1042 was implemented, scoping the old styles under the "old-input" class. While this successfully fixed the issue on the settings page and editor, it inadvertently affected the styling of the "sort by" dropdown on the articles page.
Expected Behavior
The "sort by" dropdown on the articles page should retain its original styling, unaffected by the changes introduced in PR #1042
Screenshots

Additional info
The articles page can be found at :
app/(app)/articles

@John-Paul-Larkin can you assign me?

Thanks NawinKumarSharma.
I assigned you.


Any built-in way to just ship some files along with a pre-built site?

Hey there,
Is there an easy (I mean built-in) way to just drop some files in a folder to be shipped with a static site?
E.g. I need to put favicons in a root folder of generated site.

Looks like putting files simply into /_src folder does the trick.
I wonder if this directory is cleaned sometimes?

putting files in /_src or newly /_generated is not a right way to do it since it's not part of the git repository and should contain only, well, generated files.
Do you need to put it in the root? Would putting the favicon in /assets/img/favicon work for you?

I do need putting some files to the root folder. Favico is just an example, but there is also robots.txt file that needs to be versioned and lay exactly in a generated root folder, it might also be CNAME record for Github pages, or verification files for different mail services

yea, this sounds like a good idea. I implemented it, just update enduro(npm i enduro -g) and put your files into /assets/root folder. Whichever you put here will get copied into the root of the _generated folder.
Let me know if this works for you :-)


UI improvements

Various visual fixes

Codecov Report

Merging #236 (50790ca) into master (a526d8a) will decrease coverage by 0.09%.
The diff coverage is 20.83%.

@@            Coverage Diff             @@
##           master     #236      +/-   ##
==========================================
- Coverage   61.92%   61.82%   -0.10%
==========================================
  Files          50       50
  Lines        4714     4726      +12
==========================================
+ Hits         2919     2922       +3
- Misses       1795     1804       +9

Impacted Files
Coverage Δ

lumen/ui/views.py
42.78% <0.00%> (-1.18%)
:arrow_down:

lumen/ui/sources.py
50.67% <26.66%> (-0.02%)
:arrow_down:

lumen/ui/main.py
34.78% <33.33%> (-0.22%)
:arrow_down:

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 a526d8a...50790ca. Read the comment docs.


[SPARK-49790] Support HPA template for SparkCluster

What changes were proposed in this pull request?
This PR aims to support HPA template for SparkCluster.
Why are the changes needed?
Although SparkCluster needs generated values for the following HPA field.s
  maxReplicas:
  minReplicas:
  scaleTargetRef:
    apiVersion: apps/v1
    kind: StatefulSet
    name:

We still can allow the users to tune HPA for their cluster usage pattern like the following.
    horizontalPodAutoscalerSpec:
      metrics:
      - type: Resource
        resource:
          name: cpu
          target:
            type: Utilization
            averageUtilization: 10
      behavior:
        scaleUp:
          policies:
          - type: Pods
            value: 1
            periodSeconds: 10
        scaleDown:
          policies:
          - type: Pods
            value: 1
            periodSeconds: 1200

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CIs. And, do the manual review.

Delete the existing CRD because it's changed.

$ kubectl delete crd sparkclusters.spark.apache.org

Build and Install

$ gradle build buildDockerImage spark-operator-api:relocateGeneratedCRD

$ helm install spark-kubernetes-operator -f build-tools/helm/spark-kubernetes-operator/values.yaml build-tools/helm/spark-kubernetes-operator/

Create a SparkCluster with HPA template via the given example.

$ kubectl apply -f examples/cluster-with-hpa-template.yaml

$ kubectl get hpa cluster-with-hpa-template-worker-hpa -oyaml
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
  creationTimestamp: "2024-09-25T21:11:40Z"
  labels:
    spark.operator/name: spark-kubernetes-operator
    spark.operator/spark-cluster-name: cluster-with-hpa-template
  name: cluster-with-hpa-template-worker-hpa
  namespace: default
...
spec:
  behavior:
    scaleDown:
      policies:
      - periodSeconds: 1200
        type: Pods
        value: 1
      selectPolicy: Max
    scaleUp:
      policies:
      - periodSeconds: 10
        type: Pods
        value: 1
      selectPolicy: Max
      stabilizationWindowSeconds: 0
  maxReplicas: 2
  metrics:
  - resource:
      name: cpu
      target:
        averageUtilization: 10
        type: Utilization
    type: Resource
  minReplicas: 1
...

Was this patch authored or co-authored using generative AI tooling?
No.

cc @viirya

Thank you, @viirya . Merged to main.


Breaking change in v0.18.0

The type signature of msdn.Parse changed from returning three values to two values in this commit.
Was this intentional?

yes @PeteBassettBet365 moved the parameters to be part of the returned config structure.

Got it. Thanks.


Balldevice problems

Just tests. Three out of four currently fail because of the count_balls() problems.

added a fix for both problems


Code generated is only compliant with ES2019 and above

When used, this plugin is inserting code compliant with ES2019 (ES10), consequently some older browsers won't support it.
E.g. catch without error param
try{
...}
catch {...}

Thanks for the report @razvan-g-nutu! This is fixed in the 0.0.7 release.


Add flag to Analytics instance that disables analytics for that specific run

fyi @bwilkerson

Sorry for the miscommunication, but I don't need a flag on the Analytics instance. I need to add a command-line flag to the analysis server that will cause it to not create an Analytics instance. By not creating an instance at all we guard against any bugs that might cause an event to be sent.


Cache file with laravel version 5.8 works randomly

Laravel Version: 5.8.11
PHP Version: 7.2
Database Driver & Version: Mysql 8

Description:
We recently have updated to Laravel 5.6 to 5.8 and we randomly have this error.
Warning: filesize(): stat failed for storage/framework/cache/data/aa/ba/aabaeafdb90f0d93adc97d019d71de3fd2045953
in /public/index.php - line 55
$request = Illuminate\Http\Request::capture()
Here is the full stack trace : https://anopetia.tinytake.com/sf/MzQ2NDAzN18xMDM4MjM1OA
We try every permissions , every chown, chmod 777 and so on on folder, we changed the cron folder and the user of the storage folder.
We cleared cache, every of them config, routes, view, app.... We removed files manually, we call composer update and dump-autoload
A thing which is very strange is that the datetime of the file is after the datetime of the error, like the file do not exist at the time the request was called?! It was working fine on version 5.6, I really do not understand why now it's broken.
Sometimes the error can be fopen failed to open stream: No such file or director
Thank you very much!
Steps To Reproduce:
Launch a call to a api routes, calling controller crash on cache.

Please see my comment here: https://github.com/laravel/framework/issues/28228#issuecomment-483638531

Just to clarify: the issue tracker here isn't a support forum. I believe the above might be related to something in user land that's why I'd like you to first try on a support channel from the above link where others can help you figure out the problem. If the problem turns out to be a bug with Laravel then feel free to respond back and we'll figure out a solution.


Capture Patient Telcom information

Describe the bug
Add capability to find and convert the following patient information

Patient.telecom / PID-13 (home), PID-14 (work)
Moved from #94

To Reproduce
Create a sample HL7V2.6 patient PID segment with aforementioned patient information.
Expected behavior
Patient information should be detected and added to corresponding fields in HL7 FHIR resources.
Examples:
Telcom (both home and work):  follow the Extended Telephone Communication XTN format  (should allow for multiple)
  "telecom": [
    {
      "system": "phone",
      "value": "(203) 555 6473",
      "use": "home",
      "rank": 1
    },
    {
      "system": "phone",
      "value": "(203) 555 6473",
      "use": "work",
    }
    }
  ],

The following references PID.13, but the same applies to PID.14, or anything of type XTN

Logic for what Data to put into ContactPoint.value:
Use 13.5, 13.6, and 13.7 if 13.7 if not blank
else use 13.12 if not blank
else use 13.1 if not blank

We will not check if these fields have inconsistent information, but use the first one that has data

Format of data in ContactPoint.value:

if using 13.5, 13.6, 13.7, and 13.5 is not blank, format like this:
(607) 123 4567
if using 13.5, 13.6, 13.7, and 13.5 is blank, format like this:
+22<PHONE_NUMBER>
Otherwise take the value as it is (do not alter the format)

We will not use the FHIR extensions at https://build.fhir.org/ig/HL7/v2-to-fhir/ConceptMap-datatype-xtn-to-contactpoint.html
Use 13.18 Preference Order as the rank.
If 13.3 is "CP" then set  Patient.telecom.use to "mobile" and Patient.telecom.system to "phone"

Screenshots
N/A
Additional context
Add any other context about the problem here.

In Release 1.0.9


⚠ Bofrost.at has degraded performance

In a6248e4, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1317 ms

Resolved: Bofrost.at performance has improved in 6b480f2.


PORT-5598 | Jira integration - support sprints | Change priority to name

Description

Added support for sprints (and boards)
Linked existing blueprints to boards and sprints
Change issue priority to name

Type of change

[ ] New feature (non-breaking change which adds functionality)

Can you add screenshots to the description ?

Looks great, is there a way to add tests to verify this change?

Nothing's impossible. I'll write some tests for it then


Html5Video: explicit call play() when autoPlay option

video.paused remains true initially even if autoplay attribute set, but flips to false immediately after a play() call.
Refs #1076

Coverage increased (+0.2%) to 71.121% when pulling ded3e88e33cd29dc48b4fd1b6e47a054a580b763 on html5-autoplay-call-play into 8ec0eaaf4f44501b385c22207ecc5fd404a33afa on master.

I added a test as well and just realised its not here I'll push that tomorrow

Coverage increased (+0.3%) to 71.187% when pulling edc0c41b9b8203e6fec5b151cd972de079f49cc1 on html5-autoplay-call-play into 8ec0eaaf4f44501b385c22207ecc5fd404a33afa on master.

Took some time to test whether this would affect anything else. Seems ok to merge this.
Perhaps we should try to increase playback state test coverage so we don't have these issues again.

Thanks, @tjenkinson!


Sentinel-2 products are returned when specifically searching for landsat collection

Hi
I have updated to the new sat-search 0.2.0 version, and met some problems. I want to specifically search for landsat scenes by specifying a area of intersection, datetime, cloud and cloud cover percentage. My search is:
L8results = Search(intersects=footprint,
                   datetime=datetime,
                   property=["eo:cloud_cover<10"],
                   collection='landsat-8-l1'
                   )

where datetime is for instance '2018-04-04/2018-05-05', and the footprint is
{"coordinates": [[[-5.712890625, 75.95223506623554], [65.7421875, 75.95223506623554], [65.7421875, 82.04574006217713], [-5.712890625, 82.04574006217713], [-5.712890625, 75.95223506623554]]], "type": "Polygon"}

The problem is that this search returns both sentinel-2 and landsat-8 products, when I specifically ask for only landsat-8 scenes.
print(L8results.found())
238796

print(L8results.items()._collections)
[sentinel-2-l1c, landsat-8-l1]

What am I doing wrong?
Best,
Vebjørn

Hi @vka012 , the issue is that you need to use the Search.search() when using the alternate querying syntax, so:
L8results = Search.search(intersects=footprint,
                   datetime=datetime,
                   property=["eo:cloud_cover<10"],
                   collection='landsat-8-l1'
                   )

I didn't want to overload the Search constructor so much it could take any combination of STAC queries, or the alternate syntax so I split it up.

Search(): use the normal constructor when creating a Search using standard STAC query terms
Search.search(): use this when creating a Search using the sat-seach alternative query terms.


solving issue #9

ISSUE #9 solved completely.
Changes Made

Used sphinx to create the documentation for the project.
There seems to be a path routing problem for python-sphinx but all docstrings have been parsed.
The documentation is available at docs/build/html/index.html
Theme applied is of ReadTheDocs, can be changes in the conf.py file in the docs directory.

NOTE
Please consider this submission as a part of Hacktoberfest 2021 and add the hacktoberfest-accepted label.

Hiya, thanks for doing this.
You've pushed a lot of files in this commit that don't need to be in this PR I think.
Can you remove your .venv folder and the resulting documentation, and if there isn't one, replace the documentation with a Makefile so I can build it myself and plug it into GHA?
Once thats done I can do a proper review of this :)

Hi, I made some changes, do have a look 😃

Thanks! Can you also remove the docs/_build output from the Makefile and then I'll have a proper look tomorrow

I'm sorry I didn't understand. What outputs do you want me to remove?

The built documentation, only the Makefile will be needed as the documentation will be built with a Github Action and put on readthedocs automatically soon.

Hi @LonelyCat124, have a look

Sorry for delay, its first on my list to look at tomorrow!


tnbuser.com / tnbeverything.com - Layout of content / Complete Sitemap wireframe - 2

Link to the milestone and objectives table.
#167
Detailed log of all completed objectives including valid proof of work.
Sitemap wireframe & content layout including descriptions:
https://www.figma.com/file/HXFGXqSMWwv9tP0hsr6OGc/tnbeverything.com-content?node-id=0%3A1
MVP: Preview & testing site:
www.tnbeverything.com
Project Wallet
3a115cb6d87edb299e0ca95393465d171768bb5c2c08c4b27e1cfb4c3141f8ec

@stweyel, the original milestone was approved for 76k TNBC which had 10 objectives. Please submit a milestone payout request once all 10 have been completed.

@tspearing
sorry i don't understand what you mean?
The approved project proposal included 10 milestones, so it sounds like i have to completely finish the project before submitting a payment request for a milestone?

@stweyel, yes, on the original proposal milestones and objectives are crossed over, but milestones are supposed to relate to payouts and objectives are goals.
On the original proposal (https://github.com/thenewboston-developers/Projects/issues/167), Justin wrote "approved, and milestone 1 (all 10 objectives) approved for 76,000! (https://github.com/thenewboston-developers/Projects/issues/167#issuecomment-851775898)".
The original payout for milestone 1 for 4000 TNBC was an exception because it included the purchase of the domain.

@tspearing
ok so if i understand it right the reason for the payout reject is that what initially was proposed as a project including 10 milestones was approved as a project with 1 milestone including 10 objectives?
To be honest i missed that phrasing in Justins comment. However this was never introduced by me and doesn't make sense at all. I guess this was written by mistake by Justin? Maybe @angle943 can comment on this?
The project is a website. So was written the proposal and the milestones have been layed out clearly.  Considering the final release including all content and all works as the one and only milestone of this project would contradict all common means of a milestone in context of a website. It also would be contrary to Buckys statement on discord: "To clarify, this does not mean that the entire project has to be completed at once in order to receive a milestone payout. Only that the project has to be in a working state to provide value to the community."
Maybe you could discuss this issue with the audit team. I think this is not the right way to go on with the project.

yes, when I wrote that comment, I meant that milestone1, which encompasses all ten objevtives that you have listed, are approved for 76,000. Not individually.
Sorry that wasn't clearer. BTW, i've been out of the project review process, so it'll probably be best to discuss this further with @tspearing and @manishram for further clarification

@angle943 Thanks for answering.
@tspearing @manishram this has to be sorted! Not just for this project but also for future reference on how we (the community) deal with such matters.
Sum up of facts:

The project was clearly proposed with 10 milestones if you look at the roadmap #167. These follow common concepts of milestones in context of a website as you e.g. can find here: https://digitalagencynetwork.com/website-design-process-milestones-timeline/ or here: https://www.idesignstudios.com/milestones/
It also complies with general understanding of a milestone.
The project was approved with just one milestone containing 10 objectives instead. That little change was missed by me.
The reason for the milestone/objective exchange is still unclear and the modified approval of the proposed concept wasn't clarified or explained in any way. (if done on purpose)
The consequence is that the whole project including all works has to be finished completely before any further payout will be accepted. This contradicts any idea of milestones (bounded to payouts) and also comparable project proposals/approvals.

IMHO due to the mentioned reasons it doesn't make sense to handle the project/milestones that way and i kindly ask to revert back to the original milestone submission. If this is not acceptable i request an comprehensible explanatory statement which clears things up and can be taken as reference for others to prepare for such issues.
I think this is an important matter of transparency for all contributors.

@stweyel we will follow the old pattern for this project only as it was set up this way. It is not how future projects will be run.
Approved for 6000 TNBC.


Cargo make not installing dependencies

For some reason, cargo make won't install clippy/rustfmt if they aren't installed, contrary to its documentation. Needs investigation, but won't do now because I won't have internet soon so I just installed them manually.

clippy and rustfmt are rustup components.