Sandip Dutta | Sorting / Bucket Sort / | Code and Documentation

Added Code and Documentation for Bucket Sort in Python.

Amazing! Add the functionality of taking the input of the tuple from the user, rather than statically, and I will merge it!

Okay so I am closing this pull request and sending another one.


Why did i get epoch didn't improve although i got better accuracy?

while training the model i got for epoch 1
epoch 1    loss: 4.8241 - accuracy: 0.2311 - val_loss: 4.2223 - val_accuracy: 0.2823
and for epoch 2
epoch 2    loss: 3.8093 - accuracy: 0.3265 - val_loss: 3.8047 - val_accuracy: 0.3204 but didn't save the model and got that
epoch 2 didn't improve from  0.2823  in which place in the code i should check it ?

@SamMohel Can you please share a simple standalone code to reproduce the issue? Thanks!

thanks for replying
the model is
def define_model(vocab_size, max_length, curr_shape):

    inputs1 = Input(shape=curr_shape)
    fe1 = Dropout(0.3)(inputs1)
    fe2 = Dense(512, kernel_regularizer=regularizers.l2(1e-4), activation='relu')(fe1)
    inputs2 = Input(shape=(max_length,))
    se1 = Embedding(vocab_size, 256, mask_zero=True)(inputs2)
    se2 = Dropout(0.3)(se1)
    se2=BatchNormalization()(se2)
    se3 = LSTM(512)(se2)
    decoder1 = Concatenate()([fe2, se3])
    decoder2 = Dense(512, activation='relu')(decoder1)
    outputs = Dense(vocab_size, activation='softmax')(decoder2)
    model = Model(inputs=[inputs1, inputs2], outputs=outputs)
    opt =tf.keras.optimizers.Adam(learning_rate=1e-4)
    model.compile(loss='categorical_crossentropy', optimizer=opt, metrics=['accuracy'])
    model.summary()
    return model

the results are
epoch 1     loss: 5.3386 - accuracy: 0.1759 - val_loss: 4.9454 - val_accuracy: 0.2214
epoch 2     loss: 4.2776 - accuracy: 0.2832 - val_loss: 3.9343 - val_accuracy: 0.3105
epoch 3     loss: 3.5354 - accuracy: 0.3599 - val_loss: 3.8278 - val_accuracy: 0.3210
epoch 4     loss: 3.2257 - accuracy: 0.4039 - val_loss: 3.9480 - val_accuracy: 0.3101
epoch 5     loss: 3.0297 - accuracy: 0.4326 - val_loss: 4.1156 - val_accuracy: 0.3072
epoch 6     loss: 2.9005 - accuracy: 0.4505 - val_loss: 4.2219 - val_accuracy: 0.3053
epoch 7     loss: 2.8103 - accuracy: 0.4622 - val_loss: 4.2751 - val_accuracy: 0.3020
epoch 8     loss: nan - accuracy: 0.1060 - val_loss: nan - val_accuracy: 0.0000e+00

@SamMohel Thanks for the code but it is not complete standalone, i guess. Can you share a standalone so that I can try to find the root-cause of the issue?
Are you using any keras callbacks like ModelCheckpoint?
What do you meant by

and for epoch 2
epoch 2 loss: 3.8093 - accuracy: 0.3265 - val_loss: 3.8047 - val_accuracy: 0.3204 but didn't save the model and got that
epoch 2 didn't improve from 0.2823 in which place in the code i should check it ?

Please add as many details as possible to describe the problem you are facing. Thanks

@SamMohel Thanks for the code but it is not complete standalone, i guess. Can you share a standalone so that I can try to find the root-cause of the issue?
Are you using any keras callbacks like ModelCheckpoint?
What do you meant by

and for epoch 2
epoch 2 loss: 3.8093 - accuracy: 0.3265 - val_loss: 3.8047 - val_accuracy: 0.3204 but didn't save the model and got that
epoch 2 didn't improve from 0.2823 in which place in the code i should check it ?

Please add as many details as possible to describe the problem you are facing. Thanks

i post the last modifications with its result .. i got from epoch 5 until finished that the model didn't improve . i can change the title as the problem changed after the modifications
callback = tf.keras.callbacks.EarlyStopping(monitor='loss', patience=3)
checkpoint = ModelCheckpoint(filepath, monitor='val_loss', verbose=1, save_best_only=True, mode='min')
history = model.fit(train_generator, epochs=50, steps_per_epoch=train_steps, verbose=1, callbacks=checkpoint, validation_data=val_generator, validation_steps=val_steps,batch_size=64)

@SamMohel Looks like this is more of support question (not a bug/performance related). GitHub is mainly for bug and performance related issues.
For support kind of questions, please post them on TensorFlow Forum. TF Forum has large community to support and learn from each other and responses will be faster. Thanks!


Partiko users seeing error when making posts and comments

Hello SteemConnect team!
We're seeing the below error when making posts and comments via SteemConnect:
FetchError: invalid json response body at https://steemconnect.com/api/broadcast reason: Unexpected token < in JSON at position 0

Any idea what happened?
Thanks!

This may help you: https://steemit.com/steemconnect/@cadawg/for-developers-have-your-sc2-login-votes-posting-stopped-working

Don't think it's this because it says your url is https://steemconnect.com/api/broadcast, but it could be this if you are making requests to https://v2.steemconnect.com/api/broadcast
https://steemit.com/steemconnect/@cadawg/for-developers-have-your-sc2-login-votes-posting-stopped-working

make sure you are using the latest steemconnect library. Their was a package rename for steemconnect for node.js stuff.

There was probably a downtime with steemconnect API server, is this issue still happening by now?

Closing due to inactivity. If you're still having issues please open another issue.


How to use this with Firefox?

I want to directly apologize, I'm aware that this issue might be offtopic.
BlueALSA on its own is working great on my system, but to be really useful I would need a way to let it play html5 audio over Firefox. I was unable to find a alsa-configuration or tool support to get the sound of Firefox to the bluealsa plugin. Is there a known or coming solution for FF, or is that something that would need support in the browser?

To be honest I don't know if it is possible to specify which ALSA device FF should use. For example, there is an option for chrome-based browsers (e.g. chromium, opera) which allows to specify ALSA device:
chromium --alsa-output-device=my-device

If there is no way to set such an option (via command line, about:config page, or add-on), you can set bluealsa as a default ALSA device, as follows:
pcm.!default {
	type plug
	slave.pcm {
		type bluealsa
		device "XX:XX:XX:XX:XX:XX"
		profile "a2dp"
	}
}

However, I'm not recommending this - at least not now. Currently, bluealsa is not able to handle more than one audio client and the dmix or dshare plugins won't help, because they require hardware device (hw) as a backend.
Regardless of the above, I've just tried to play HTML5 video using FF and.... there is no sound. I'm using FF 45.5.0. Connection with the bluealsa server works fine (FF uses the default ALSA device), however it seems there is a bug in the bluealsa PCM plugin. I will have to check it. It looks like a deadlock related to the alsa-lib >= 1.1.2 (mentioned in the readme - troubleshooting section), but I'm not sure, since I'm using alsa-lib-1.0.29. You may try this approach (setting bluealsa as a default device) by yourself, but you may hit the same issue as I did.

There is the multi plugin, see http://alsa.opensrc.org/TwoCardsAsOne for an example. This would copy all audio to all slaves. Would that work @Arkq?

thanks for the answer.

You may try this approach (setting bluealsa as a default device) by yourself, but you may hit the same issue as I did.

I did that already :) Sadly it did also not work for me. I was not sure though whether that was because someone was blocking the device or whether it does not work at all. dmix was my next try, I found out the hard way it does not work with bluealsa…

@infirit, it seems that the multi plugin is for quite a different purpose. It combines many devices into one, nothing more.
The problem with connecting more than one client is different. In order to play multiple streams through single device, one has to mix audio signals - hence the dmix plugin name. It is not a new problem. Every hardware sound card has to overcome it. So, ALSA guys have created mixing plugins for sounds cards which lack mixing, but these plugins are tailored for hardware devices. So, right now I'm not sure how should I proceed. The easiest way, it is to implement mixing within bluealsa PCM plugin (based on dmix). However, this will bond bluealsa server and PCM plugin very tightly and I don't want that. The other approach is to mix signals within bluealsa server, but it will require slight refactoring. So, I've decided to postpone this feature until bluealsa-1.2.0 will be released. For this to happen I have to fix #8, #10 (hopefully) and this FF issue :)

it seems that the multi plugin is for quite a different purpose. It combines many devices into one, nothing more.

Well, you have two output devices and a new pcm output that send all audio to both the normal audio card and to bluealsa. Sounds (no pun intended) like a reasonable solution to this issue.
Here is another example of someone with 2 audio cards one for normal speaker and another for his headphones. The only difference being for this issue is that we are dealing with a bluetooth headphone.
http://www.6by9.net/output-to-multiple-audio-devices-with-alsa/

Hmm... maybe it is indeed worth a try. However, my guts tells me, that connecting more than one client will still require mixing... I will check it maybe tomorrow, or during the next week.

@onli, I've managed to partially overcome the issue with Firefox. Now, audio should start correctly. However, there is still a problem - it seems that the audio is going out of sync, and Firefox is trying to resync, which produces audio glitches (samples are lost).
I've pushed this commit already, because right now it is "possible" to watch vlogs. Unfortunately, watching everything else is still problematic (especially music videos...).

Thanks for working on that.
I tried to test it. Downloaded the source current git master, compiled, replaced my bluealsa-binary in /usr/bin/ with the one that got compiled (so there might have been an issue introduced by compiling manually this time, and not via the ebuild). Restarted bluealsa, reconnected the headset, restarted firefox after in the .asoundrc bluealsa was set as default – and it does not work for me. I get this error when trying to play something with aplay (that worked before swapping the binaries):
onli@Fallout:~/bluez-alsa/build$ aplay Downloads/a2002011001-e02.wav
ALSA lib bluealsa-pcm.c:594:(_snd_pcm_bluealsa_open) Couldn't get BlueALSA transport: Invalid argument
aplay: main:786: audio open error: Invalid argument

Just to report back. Of course also possible that just the bluetooth system is not working properly right now and it would work after a restart, wouldn't be the first time. If not getting suggested otherwise, I'll test again when this ends up on my system via portage.

replaced my bluealsa-binary in /usr/bin/
OK, but bluealsa server is only a part of the whole bluez-alsa. You have to overwrite all files, otherwise you might end up with API incompatibilities.

And for the record, the change I've made for Firefox was in a ALSA PCM plug-in :)
Simple make install might suffice. However, if you don't like to run make install (personally, I'm avoiding this as much as possible), you might make symlinks for crucial bluez-alsa components (bluealsa server and ALSA plug-ins). I'm using such an approach for developing.
$ ls -l /usr/bin/bluealsa
lrwxrwxrwx 1 root root   87 Oct 21 14:04 bluealsa -> /home/[...]/bluez-alsa/build/src/bluealsa

$ ls -l /usr/lib/alsa-lib/
lrwxrwxrwx 1 root root   87 Oct 21 14:04 libasound_module_ctl_bluealsa.so -> /home/[...]/bluez-alsa/build/src/asound/.libs/libasound_module_ctl_bluealsa.so
lrwxrwxrwx 1 root root   87 Oct 21 14:04 libasound_module_pcm_bluealsa.so -> /home/[...]/bluez-alsa/build/src/asound/.libs/libasound_module_pcm_bluealsa.so

And then, restart bluealsa service.
PS.
I've sent this comment via email, but it did not appear here, so, I'm adding it manually. Sorry for notifying you twice.

Thanks again for your work :)

No problemo :)
Please let me know if this fix works for you. For the record, I've tested it on FF 45.5.1.

Sure, least I can do.
So, I uninstalled bluez-alsa, pulled the master and compiled, this time with make clean, make, make install. Then starting bluealsa, setting the pcm.!default to it and connecting the headset. My .asoundrc looks like this:
pcm.!default {
  type bluealsa
  interface "hci0"
  device "00:1E:7C:2A:B1:3B"
  profile "a2dp"
}

It does not work for me. The audio element in FF, like before, gets stuck when starting pressing play. Youtube videos play, but without sound. This is the console output after FF starts:
bluealsa: ../../src/ctl.c:544: New client accepted: 10
bluealsa: ../../src/ctl.c:547: +-+-
bluealsa: ../../src/ctl.c:547: +-+-
bluealsa: ../../src/ctl.c:516: Client closed connection: 10
bluealsa: ../../src/ctl.c:547: +-+-
bluealsa: ../../src/ctl.c:544: New client accepted: 10
bluealsa: ../../src/ctl.c:547: +-+-
bluealsa: ../../src/ctl.c:547: +-+-
bluealsa: ../../src/ctl.c:516: Client closed connection: 10
bluealsa: ../../src/ctl.c:547: +-+-

aplay does work (I can't properly control its volume, but that's another story).
I'm on FF 50.1.0. If I can help debug, just tell me how, I'll take the time.

Damn...
Your .asoundrc is same as mine, so it is OK.
The output from the bluealsa seems to be OK as well. However, it is not very important (I think). The important stuff in in the output from the firefox itself. I've just downloaded FF 50.1.0, and everything works fine:
$ /tmp/firefox/firefox --safe-mode --private-window  # and then playing some youtube video
../../../src/asound/bluealsa-pcm.c:103: Getting transport for 1C:48:F9:9D:81:5C type 1
../../../src/asound/bluealsa-pcm.c:587: Setting constraints
../../../src/asound/bluealsa-pcm.c:356: Closing plugin
../../../src/asound/bluealsa-pcm.c:103: Getting transport for 1C:48:F9:9D:81:5C type 1
../../../src/asound/bluealsa-pcm.c:587: Setting constraints
../../../src/asound/bluealsa-pcm.c:366: Initializing HW
../../../src/asound/bluealsa-pcm.c:140: Requesting PCM open for 1C:48:F9:9D:81:5C
../../../src/asound/bluealsa-pcm.c:157: Opening PCM FIFO (mode: WR): /var/run/bluealsa/hci0-1C:48:F9:9D:81:5C-1-0
../../../src/asound/bluealsa-pcm.c:389: FIFO buffer size: 4096
../../../src/asound/bluealsa-pcm.c:394: Selected HW buffer: 17640 ?= 5 periods x 3528 bytes
../../../src/asound/bluealsa-pcm.c:425: Prepared
../../../src/asound/bluealsa-pcm.c:319: Starting
../../../src/asound/bluealsa-pcm.c:243: Starting IO loop
../../../src/asound/bluealsa-pcm.c:212: Requesting PCM pause for 1C:48:F9:9D:81:5C

Try to use --safe-mode, maybe one of your add-an is doing funky stuff. If running in a safe mode doesn't help I'll prepare brunch with extra debugging.

I'm getting this (also just playing a Youtube video):
onli@Fallout:~$ firefox --safe-mode --private-window
../../../src/asound/bluealsa-pcm.c:103: Getting transport for 00:1E:7C:2A:B1:3B type 1
../../../src/asound/bluealsa-pcm.c:587: Setting constraints
../../../src/asound/bluealsa-pcm.c:356: Closing plugin
../../../src/asound/bluealsa-pcm.c:103: Getting transport for 00:1E:7C:2A:B1:3B type 1
../../../src/asound/bluealsa-pcm.c:587: Setting constraints
../../../src/asound/bluealsa-pcm.c:356: Closing plugin
../../../src/asound/bluealsa-pcm.c:103: Getting transport for 00:1E:7C:2A:B1:3B type 1
../../../src/asound/bluealsa-pcm.c:587: Setting constraints
../../../src/asound/bluealsa-pcm.c:356: Closing plugin

Will now try with the other .asoundrc.

Great, we're getting there! With your .asoundrc youtube (https://www.youtube.com/watch?v=7mXg9Vkd3OE) works.
What does not work is the audio element. I'm using a software of mine as media player, https://github.com/onli/music-streamer. Clicking on play there still lets the audio element stay stuck, it is using a normal html5 audio element, and normally works. If you need a test-case, I could make you an account on my installation.
The strange thing is that http://hpr.dogphilosophy.net/test/ does work.

What does not work is the audio element.

There is a limitation in a current bluealsa version. It is not possible to stream more than one autio at a time. If something is not working, check for the debug output like this (from the audio application, e.g. firefox):
../../../src/asound/bluealsa-pcm.c:371: Couldn't open PCM FIFO: Device or resource busy

I remove the PCM switch to bluealsa and restart firefox

You've lost me there completely :) Does music-streamer works without plug plugin? What "PCM switch" you are talking about?

There is a limitation in a current bluealsa version.  …

It should be only one audio element. This seems to be the related output in FF:
console.log: apply headers on URL : http://stream.paskuda.biz/track/832?supportMP3=maybe&supportOGG=maybe
console.log: cjs    : false
../../../src/asound/bluealsa-pcm.c:103: Getting transport for 00:1E:7C:2A:B1:3B type 1
../../../src/asound/bluealsa-pcm.c:587: Setting constraints
../../../src/asound/bluealsa-pcm.c:356: Closing plugin
../../../src/asound/bluealsa-pcm.c:103: Getting transport for 00:1E:7C:2A:B1:3B type 1
../../../src/asound/bluealsa-pcm.c:587: Setting constraints
../../../src/asound/bluealsa-pcm.c:356: Closing plugin

But I do see the "device busy" line when it got stuck at the audio element and then trying to play a youtube video at the same time. So I think this is another bug (I first I thought "yes, that will be it", but then remembered that I removed the code that generates multiple audio elements at the same time, it is only one single audio element).
But if you want, I can revisit this later when mixing works? Seems like a strange bug that defies logic, maybe doesn't need to have highest priority.

What "PCM switch" you are talking about?

I worded that complicated. I meant emptying the .asoundrc, so FF uses the normal audio system again. Like, switching away from bluealsa.

+1 for dmix


Fix broken sandbox preview in react-three-fiber

related to https://github.com/pmndrs/react-three-fiber/issues/3290, https://github.com/pmndrs/react-three-fiber/discussions/3154
Currently, there are issues that the 'react-three-fiber' official document does not show the preview screen of the Codesandbox properly.(e.g. https://r3f.docs.pmnd.rs/getting-started/your-first-scene#the-result)
So I solved the above error by changing the embed of Codesandbox to true.
However, I think Codesandbox is also using it in other off-source besides react-three-fiber, so I would like to ask for your opinion if there will be no problem.
export function Codesandbox({
  id,
  title = '',
  description = '',
  screenshot_url,
  tags = [],
  //
  hideTitle = false,
  embed = true, // false -> true

before
after

If you are concerned about the side effects of modifying the code of Codesandbox, I think there is also a way to modify the code of the mdx file of react-three-fiber as below.
// https://github.com/pmndrs/react-three-fiber/blob/master/docs/getting-started/your-first-scene.mdx?plain=1#L159C1-L159C27

<Codesandbox id="12q81" embed />

I've added the embed option lately, but hadn't enabled it until now, since it automatically "runs" the CSB which is ressource intensive (specially when there are many CSBs in the page)
we should rather investigate why there is a broken screenshot I think...

@abernier

I've added the embed option lately, but hadn't enabled it until now, since it automatically "runs" the CSB which is ressource intensive (specially when there are many CSBs in the page)
we should rather investigate why there is a broken screenshot I think... (or how to regenerate them)

Preview O
Preview X

https://r3f.docs.pmnd.rs/advanced/scaling-performance
https://r3f.docs.pmnd.rs/getting-started/your-first-scene

https://codesandbox.io/p/sandbox/color-grading-wvgxp
https://codesandbox.io/p/sandbox/getting-started-01-12q81?file=%2Fpackage.json

Currently, there are both cases in which the react-three-fiber official document has a preview or not.
So I compared 'Scaling performance > On-demand rendering with preview' and 'Your first scene > The result without preview'.
I think the preview looks different depending on whether thumbnail.png is ready or not.
To troubleshoot an issue that does not currently show a preview of the react-three-fiber official document

Add a thumbnail image to all examples, or
adding embed
I think there are two ways.

I think it's a cumbersome task to add thumbnail to every example, so I'd like you to consider the embed.

in your 2 examples:

one CSB screenshot is ok: https://codesandbox.io/api/v1/sandboxes/wvgxp/screenshot.png

one is broken: https://codesandbox.io/api/v1/sandboxes/12q81/screenshot.png

@drcmda as the owner of this CSB, can you force this? (the regeneration of its screenshot)

so I close the PR, as enabling preview does not really solve the png screenshot issue

@anonymousRecords if you know a way of individually forcing csb screenshot regeneration, please share it here

@anonymousRecords if you know a way of individually forcing csb screenshot regeneration, please share it here

Thank you! I will share when I find a way of individually forcing CSB screenshot regeneration.


Add support for disk.count hardware requirement

Pull Request Checklist

[ ] implement the feature
[ ] write the documentation
[ ] extend the test coverage
[ ] update the specification
[ ] adjust plugin docstring
[ ] modify the json schema
[ ] mention the version
[ ] include a release note

for this issue:https://github.com/teemtee/tmt/issues/2536 ^^


fix(k8s/application): refreshing yaml panel doesn't change the selected panel

Fix #4488

@pull-dog down


Training Error

There seems to be an error with the training.
In both examples provided the loss doesn't improve or even gets worse

Fixed with #7


heatmap color different problem

I download heatmap.js v2.0.5 to drawing heatmap, but there is a problem.
When I use setData function with the same data input, the heatmap result of the first and the second time  are different...
The codes are attached. someone could fix the problem!?
issue.txt

@jyhyen could you provide some more context? What browser are you using? What OS?

chrome 54.0.2840.99 m (64-bit)
win7 professional sp1
I find that use firefox and IE wouldn't have this problem


Escaping column names that are keywords in Postgres

When accessing the vector tiles with additional properties endpoint:
services/postgis/TABLE/GEOMETRY/vector-tiles/Z/X/Y.pbf?fields=COLUMN1,COLUMN2
and COLUMN1 is a keyword in PostgreSQL (e.g. natural) then the application stops with this error:
Error: Postgis Plugin: ERROR:  syntax error at or near ","
LINE 1: ...

Quoting(") all column names when builinding the SQL statement will solve the problem.
E.g. patching the args.fields from endpoints/tiles/index.js

When I tried to get the endpoints to return with the geometry I get:
There was an error with the web service. Please try your operation again.


Revert "build(deps): bump actions/github-script from 3.1.0 to 6.3.1"

Reverts uutils/coreutils#4021
Broke the comment https://github.com/uutils/coreutils/pull/4021#issuecomment-1274135706

Well it's back, but also we need to fix it so that the output is nicer when it's empty :)


unread-anywhere - Add feature

Closes https://github.com/refined-github/refined-github/issues/7442

Test URLs
anywhere :)
Screenshot

This feature has been added as a shortcut for now. We can work it into the UI at a later stage. I just want it in the next release 🙂


Fix to remove a dataset from a space #349

Signed-off-by: Dipannita Dey<EMAIL_ADDRESS>Description

Review Time Estimate

[ ] Immediately
[ ] Within one week
[x] When possible

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[x] I have updated the CHANGELOG.md.
[ ] I have signed the CLA
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

can you update the CHANGELOG, and add a line that due to this bug, counts might be off and users should run the fixcounts script

changelog
info -> debug

Done


"TypeError: unsupported operand type(s) for |: 'NoneType' and 'type'"

I get this error in version 3.11 installed via pipx:
  File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "c:\users\USER\.local\bin\ofscraper.exe\__main__.py", line 4, in <module>
  File "C:\Users\USER\.local\pipx\venvs\ofscraper\lib\site-packages\ofscraper\__main__.py", line 3, in <module>
    import ofscraper.start as start
  File "C:\Users\USER\.local\pipx\venvs\ofscraper\lib\site-packages\ofscraper\start.py", line 14, in <module>
    import ofscraper.commands.scraper as scraper
  File "C:\Users\USER\.local\pipx\venvs\ofscraper\lib\site-packages\ofscraper\commands\scraper.py", line 35, in <module>
    import ofscraper.utils.download as download
  File "C:\Users\USER\.local\pipx\venvs\ofscraper\lib\site-packages\ofscraper\utils\download.py", line 93, in <module>
    def _(func:abc.Callable,input_sem:None|semaphoreDelayed=None):
TypeError: unsupported operand type(s) for |: 'NoneType' and 'type'

You may have Python 3.11 installed but based on that error its trying to use 3.9 which will not work for this scraper. I would remove all version of python and pipx you have installed and then install python 3.11 and pipx and see if that helps.

I meant to say ofscraper version 3.11 in python 3.9

Well either way this scraper requires python 3.10 or 3.11 to work. If you only have Python 3.9 installed it will not work


[Release][Minor] Bump development versions to 5.0.0-SNAPSHOT

Codecov Report

Merging #10165 (1a94666) into master (69870b9) will decrease coverage by 0.00%.
The diff coverage is n/a.

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

@@            Coverage Diff             @@
##           master   #10165      +/-   ##
==========================================
- Coverage   78.87%   78.87%   -0.01%
==========================================
  Files         286      286
  Lines       64808    64808
==========================================
- Hits        51119    51117       -2
- Misses      13689    13691       +2

Impacted Files
Coverage Δ

rust/arrow/src/array/transform/fixed_binary.rs
78.94% <0.00%> (-5.27%)
:arrow_down:

rust/parquet/src/encodings/encoding.rs
94.86% <0.00%> (-0.20%)
: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 887d8f9...d5e6267. Read the comment docs.


Add dartdoc to basic.dart

This patch starts working through the missing dartdocs in widgets.dart.

@Hixie
I started using @required in this patch in a couple cases:

Argument that can't be null and don't have default values.
The child argument to widget that don't make sense without a child (e.g., ParentDataWidgets).

548 public members lack documentation

Anything that isn't a RenderObjectWidget should have a required child.

Anything that isn't a RenderObjectWidget should have a required child.

We often use Container without a child.

This is great.

Anything that isn't a RenderObjectWidget should have a required child.
We often use Container without a child.

Let me try again.
An argument X of type Widget in a subclass W of Widget is not required if:

W is a RenderObjectWidget
W's build function does not use X if X is null.
W's build function uses X as an argument to a constructor of another Widget subclass, and that argument is itself not required.

In all other cases, an argument of type Widget in a subclass Widget should be required.

That sounds roughly right but something I'd probably need a tool to help me with.  :)


Update README.md

test

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Update bytemonitor widget

Updated the widget so that the sizing of LEDs now more accurately replicates CSStudio sizing. I have also improved the 3D effect appearance and updated tests.
This is their appearance now in cs-web-lib

versus how the same widgets look in CSStudio

That now looks much better. Saves us having to tweak a lot of screens to make alignments work.
I note that there is a difference between the WebUI and CSS version: The text boxes contain 0's whereas the CSS textboxes are blank. Is this a deliberate change in the behaviour of textboxes?

I'm not sure if it's a deliberate change in behaviour as I didn't write the original code, but it looks like if the format_type field for TextUpdate is set to "default" and the value is "" this gets coerced into a double, which causes the 0 to appear by this section of code in readback.tsx:
if (value.display.choices) {
      // Enum PV so use string representation.
      displayedValue = DType.coerceString(value);
    } else if (prec !== undefined && !isNaN(DType.coerceDouble(value))) { // this evaluates to true
      if (formatType === "exponential") {
        displayedValue = DType.coerceDouble(value).toExponential(prec);
      } else {
        displayedValue = DType.coerceDouble(value).toFixed(prec); // here "" is converted to 0
      }
    } else if (formatType === "string") {
      const valarr = value.getArrayValue();
      if (valarr !== undefined) {
        displayedValue = DType.byteArrToString(valarr);
      } else {
        displayedValue = DType.coerceString(value);
      }
    } else {
      displayedValue = DType.coerceString(value);
    }

If this behaviour is not what is wanted and not deliberate I could look into changing it in future.

Yes it looks like the coerceDouble function is not quite working properly. On line 203, see https://github.com/dls-controls/cs-web-lib/blob/d7a71b3c72282d42eb0f0872a7a08ceda5fd3c1a/src/types/dtypes.ts#L203 it checks if the string value is undefined but should probably also check that it is not empty before trying to parse it as a Number because Number("") will return 0. I think this was probably an oversight and so should be fixed.
Otherwise I've run a few test locally and all looks good to me.


Refactors – Yanni

[x] Split CSS and JS from all HTML files (including webcomps)
[x] See lawand's /docs/refactors.md > /public/sites/calender.html:
[x] Fix do while loop code duplications in /public/src/aet-prompt > promptTimeChange()
[x] Shorten /public/src/aet-prompt > submitAetInputPrompt()
[x] SPLIT UP /public/src/global-update-calendar!!!
[x] Eliminate multiple client s in routers and move all DB-related functionality into DatabaseService

Finished.


Uncaught Exception: listen EADDRINUSE <IP_ADDRESS>:5672

An uncaught exception was reported.
Info:
OS: win32
Arch: ia32
GPMDP Version: 3.2.4
Time: Sat May 14 2016 15:38:21 GMT-0600 (Mountain Daylight Time)
Error:
listen EADDRINUSE <IP_ADDRESS>:5672
Error: listen EADDRINUSE <IP_ADDRESS>:5672
    at Object.exports._errnoException (util.js:890:11)
    at exports._exceptionWithHostPort (util.js:913:20)
    at Server._listen2 (net.js:1234:14)
    at listen (net.js:1270:10)
    at net.js:1379:9
    at _combinedTickCallback (internal/process/next_tick.js:77:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

This issue was created automatically inside the uncaughtException handler

The Magical Unicorn is going to close this, but why are we still getting this error? I thought there was an error exception to catch this?

Closing this automatically reported issue as a duplicate of #325

@jostrander Because I forgot that a WSS is an emitter so a try { } catch () {} doesn't help


will there be any 4.1 update?

I can post a 4.x update soon, however the multistart option no longer work. I haven't found the solution yet.

there is another plugin for multistart.
https://github.com/xiezi5160/MultirunForGodot4

I posted a version of the plugin Project Resolution for Godot 4.x


story map

identify the minimum viable product – that is, the features that are absolutely required, as well as desired features that will be address / developed if budget allows.

[ ] capture the primary goal of the software
[ ] define the main process for goal
[ ] create list of features for the process
[ ] prioritize the features
[ ] define MVP


Fix conditional inclusion of SSH task-collection endpoints (in code and/or testing)

Right now, we are using an import-time check of settings to determine whether the standard or SSH task-collection endpoints should be included in the API.

router_api_v2 = APIRouter()

router_api_v2.include_router(dataset_router_v2, tags=["V2 Dataset"])
router_api_v2.include_router(job_router_v2, tags=["V2 Job"])
router_api_v2.include_router(images_routes_v2, tags=["V2 Images"])
router_api_v2.include_router(project_router_v2, tags=["V2 Project"])
router_api_v2.include_router(submit_job_router_v2, tags=["V2 Job"])

settings = Inject(get_settings)
if settings.FRACTAL_RUNNER_BACKEND == "slurm_ssh":
    router_api_v2.include_router(
        task_collection_router_v2_ssh,
        prefix="/task",
        tags=["V2 Task Collection"],
    )
else:
    router_api_v2.include_router(
        task_collection_router_v2, prefix="/task", tags=["V2 Task Collection"]
    )
router_api_v2.include_router(task_router_v2, prefix="/task", tags=["V2 Task"])
...

This can be improved, and for sure it doesn't play well with this fixture:
@pytest.fixture
async def register_routers(app, override_settings):
    from fractal_server.main import collect_routers

    collect_routers(app)

TO DO: do not perform the settings check at import time.

Note that this also the reason for how we wrote test_exclude_v1_api (as part of https://github.com/fractal-analytics-platform/fractal-server). At the moment we don't have a nice way to load the app after updating settings.

One option here is to have the two endpoints (ssh or non-ssh) share the exact same signature, and then switch from one to the other from within the endpoint code.


IOSXE workaround for reload and disconnect

Hi Klaus,
This pull request is about two IOS-XE workarounds for reload and disconnect.

We found once in a blue moon that we need to hit  several times or the 'reload' command is not received by the IOS-XE. This has been seen to occur in both manual mode and using Condoor.  It clear that the problem is in the IOS-XE driver and not Condoor.

During the device reload, connection via the console is kept but not if it is via the management interface. To gain the consistent behavior, the plugin manager will disconnect after the reload is started and re-connect.

We try to commit the change to 0.1.6 first. Committing to the master branch will allow us to demo on CSM 3.3 code base.  We will proceed to port the change (if there is any) to Condoor 1.0 or branch 2.0 for CSM 3.4 release.
Best Regards,
-James

Hi James,
ad 1) Fixed by IOS Reload added
I have worked out the FSM to cover the save config question and repeat the reload command after timeout (it will be repeated max 5 times)
ad 2) Fix proposed by Controller disconnect simplification
Simplified the disconnect method in the controller object..
Cheers,
Klaus


pitivi runtime error on master

Issue description
pitivi segfaults on startup. Well, it actually manages to show the "Welcome" window, but when clicking past that it aborts with a segfault.
$ PYTHONPATH= ./result/bin/pitivi
Missing soft dependency:
- pycanberra not found on the system
    -> enables sound notifications when rendering is complete
Missing soft dependency:
- GnomeDesktop not found on the system
    -> file thumbnails provided by GNOME's thumbnailers
Missing soft dependency:
- Notify not found on the system
    -> enables visual notifications when rendering is complete
Traceback (most recent call last):
  File "/nix/store/bvxl6d2wjs8v7rcxkyicj84zawzg3yif-pitivi-0.95/lib/pitivi/python/pitivi/titleeditor.py", line 394, in tabSwitchedCb
    self._connect_signals()
  File "/nix/store/bvxl6d2wjs8v7rcxkyicj84zawzg3yif-pitivi-0.95/lib/pitivi/python/pitivi/titleeditor.py", line 326, in _connect_signals
    self.app.gui.viewer.target.connect(
AttributeError: 'NoneType' object has no attribute 'viewer'

(.pitivi-wrapped:23820): GLib-GIO-CRITICAL **: g_action_print_detailed_name: assertion 'g_action_name_is_valid (action_name)' failed

(.pitivi-wrapped:23820): Gtk-CRITICAL **: gtk_application_set_accels_for_action: assertion 'detailed_action_name != NULL' failed

(.pitivi-wrapped:23820): GLib-GIO-CRITICAL **: g_action_print_detailed_name: assertion 'g_action_name_is_valid (action_name)' failed

(.pitivi-wrapped:23820): Gtk-CRITICAL **: gtk_application_set_accels_for_action: assertion 'detailed_action_name != NULL' failed

(.pitivi-wrapped:23820): GLib-GIO-CRITICAL **: g_action_print_detailed_name: assertion 'g_action_name_is_valid (action_name)' failed

(.pitivi-wrapped:23820): Gtk-CRITICAL **: gtk_application_set_accels_for_action: assertion 'detailed_action_name != NULL' failed

(.pitivi-wrapped:23820): GLib-GIO-CRITICAL **: g_action_print_detailed_name: assertion 'g_action_name_is_valid (action_name)' failed

(.pitivi-wrapped:23820): Gtk-CRITICAL **: gtk_application_set_accels_for_action: assertion 'detailed_action_name != NULL' failed

###
### At this point the pitivi GUI is up, and the "welcome" window/dialog is shown.
### I close the dialow and the below segfault happens....
###

(.pitivi-wrapped:23820): Gtk-WARNING **: Allocating size to pitivi+viewer+TransformationBox 0x3d922f0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
Segmentation fault

Steps to reproduce
On git master (51f479465c22de490fe0e55ae6ae41cade6f771a):
$ nix-build -A pitivi
$ PYTHONPATH= ./result/bin/pitivi
### ... and close the "welcome" dialog to witness pitivi dying due to segfault.

Technical details

System: NixOS 16.09.git.15072e8 (Flounder)

There is a Debian issue about this: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819291

Apparently an issue with gtk 3.20. The dev version of pitivi is supposed to have a fix.

I tried updating to latest dev version (0.95-430), but it has grown a new (hard) dependency:
$ PYTHONPATH= ./result/bin/pitivi
ERROR - The following hard dependencies are unmet:
==================================================
- GstTranscoder not found on the system
...

FYI, I asked if upstream could make a new release: https://sourceforge.net/p/pitivi/mailman/pitivi-pitivi/thread/CAEYzJUF2_4Fp1%3DqUAAQFST0N-%3DjX%3DCfEW%2B8CHVsx5gMb0Cx8eg%40mail.gmail.com/#msg35123823

So the pitivi 0.96 release is out, it should fix the gtk-3.20 incompatibility. Unfortunately, pitivi grew another dependency, gst-transcoder (a package written by pitivi developers, AFAICS). gst-transcoder uses the meson (+ ninja) build system and my first build attempts fail:
Traceback (most recent call last):
  File "/nix/store/fcspzg0k86dfl9x6mkav4y0q6i736q1w-meson-0.26.0/bin/meson", line 208, in run
    app.generate()
  File "/nix/store/fcspzg0k86dfl9x6mkav4y0q6i736q1w-meson-0.26.0/bin/meson", line 149, in generate
    intr.run()
  File "/nix/store/fcspzg0k86dfl9x6mkav4y0q6i736q1w-meson-0.26.0/share/meson/interpreter.py", line 954, in run
    self.evaluate_codeblock(self.ast)
  File "/nix/store/fcspzg0k86dfl9x6mkav4y0q6i736q1w-meson-0.26.0/share/meson/interpreter.py", line 976, in evaluate_codeblock
    raise e
  File "/nix/store/fcspzg0k86dfl9x6mkav4y0q6i736q1w-meson-0.26.0/share/meson/interpreter.py", line 970, in evaluate_codeblock
    self.evaluate_statement(cur)
  File "/nix/store/fcspzg0k86dfl9x6mkav4y0q6i736q1w-meson-0.26.0/share/meson/interpreter.py", line 1041, in evaluate_statement
    return self.assignment(cur)
  File "/nix/store/fcspzg0k86dfl9x6mkav4y0q6i736q1w-meson-0.26.0/share/meson/interpreter.py", line 1766, in assignment
    value = self.evaluate_statement(node.value)
  File "/nix/store/fcspzg0k86dfl9x6mkav4y0q6i736q1w-meson-0.26.0/share/meson/interpreter.py", line 1039, in evaluate_statement
    return self.function_call(cur)
  File "/nix/store/fcspzg0k86dfl9x6mkav4y0q6i736q1w-meson-0.26.0/share/meson/interpreter.py", line 1747, in function_call
    return self.funcs[func_name](node, self.flatten(posargs), kwargs)
  File "/nix/store/fcspzg0k86dfl9x6mkav4y0q6i736q1w-meson-0.26.0/share/meson/interpreter.py", line 67, in wrapped
    return f(self, node, args, kwargs)
  File "/nix/store/fcspzg0k86dfl9x6mkav4y0q6i736q1w-meson-0.26.0/share/meson/interpreter.py", line 59, in wrapped
    return f(self, node, args, kwargs)
  File "/nix/store/fcspzg0k86dfl9x6mkav4y0q6i736q1w-meson-0.26.0/share/meson/interpreter.py", line 1000, in func_import
    module = importlib.import_module('modules.' + modname).initialize()
  File "/nix/store/dbrlplrwxf21yhqymhcdr3l0r9yry9x5-python3-3.5.1/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 956, in _find_and_load_unlocked
ImportError: No module named 'modules.pkgconfig'

I ran some sanity checks on meson by following the official "getting started" tutorial: https://github.com/mesonbuild/meson/wiki/Tutorial. It seems to work fine at that. I'm afraid that there is a python dependency that leaks in and messes up the gst-transcoder build. Or something else. I just don't know yet.
My current WIP branch:
https://github.com/bjornfor/nixpkgs/tree/pitivi-0.96

@bjornfor the issue is caused by meson being too old and not having modules.pkgconfig. I've updated meson at https://github.com/NixOS/nixpkgs/pull/17217.
After that update, your pitivi builds, but fails to run with:
ERROR - The following hard dependencies are unmet:
==================================================
- Gst version <IP_ADDRESS> is installed but Pitivi requires at least version 1.8.2
- GES version <IP_ADDRESS> is installed but Pitivi requires at least version 1.8.2
- gstgtk version 1.8.1 is installed but Pitivi requires at least version 1.8.2
Missing soft dependency:
- pycanberra not found on the system
    -> enables sound notifications when rendering is complete

Well. These dependencies were updated in master. Rebasing on it fixes the pitivi.
@bjornfor, would you like to open a PR with your changes?

@rasendubi: Thanks for finding the reason for the meson build issue!
Here is my PR for upgrading and fixing pitivi: https://github.com/NixOS/nixpkgs/pull/17228

Fixed in master as of<PHONE_NUMBER>72cf84ce34fae8af6402b948d33689.


Adding custom RecoveryScenarios in custom event handlers breaks the login flow.

When a custom recovery scenario is persisted in the database as shown below:

When the user tries to login the PRE_AUTHENTICATION event triggers the adminForcedPasswordReset handler in this handler flow the following point in the code hits[1].
Since the custom recovery scenario is not available in the org.wso2.carbon.identity.recovery.RecoveryScenarios enum class the following exception is seen.

[1]https://github.com/wso2-extensions/identity-governance/blob/master/components/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/store/JDBCRecoveryDataStore.java#L260

Hi @tharakawijekoon, at the moment this is not considered as an extension point. However, we can consider this as an extension point and add this improvement.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


!!!!! Directory need to change !!!!!

😂😂😂
Files should be under src folder,
and it will be change something.[e.g. config-file.field, ...]
reference from nuxtjs.
It will be release with version 2.0.0-alpha.14, also decide move vue to peerDependency.

And the second problem is, how about enhancements change to plugins for App

Decide plugins in srcDir
Fix in ceb5a6
And
No pagesDir only srcDir in 9566ca


Add deduplication for consecutive signal reports from the same location

Currently, the maps kind of serve as both a map of signal strength, and also a map of where you stop at a red light. It would be good to detect when a new sample is within, say, 20 feet of the previous sample, and skip the read if so.

Closed with #3


Add cibuildwheel workflow

This re-adds the cibuildwheel workflow (and related changes to setup.py) from PR #27
PR #27 was merged prematurely - I missed the discussion around patching __version__. This new PR has a fix incorporated so that __version__ matches the same version metadata encoded by setup(...).

The __version__ adjustment works! @wence- (cc @jakirkham @gmarkall @vyasr ), this resolves the conversation from the last PR: https://github.com/rapidsai/ptxcompiler/pull/27#discussion_r984378278
(ptxcompiler-cp38-test) sevagh@pop-os:~/Downloads/ptxcwheel$ pip install ./ptxcompiler_cu11-<IP_ADDRESS>8704666-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Processing ./ptxcompiler_cu11-<IP_ADDRESS>8704666-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Installing collected packages: ptxcompiler-cu11
Successfully installed ptxcompiler-cu11-<IP_ADDRESS>8704666
WARNING: You are using pip version 22.0.4; however, version 22.3.1 is available.
You should consider upgrading via the '/home/sevagh/venvs/ptxcompiler-cp38-test/bin/python -m pip install --upgrade pip' command.
(ptxcompiler-cp38-test) sevagh@pop-os:~/Downloads/ptxcwheel$
(ptxcompiler-cp38-test) sevagh@pop-os:~/Downloads/ptxcwheel$
(ptxcompiler-cp38-test) sevagh@pop-os:~/Downloads/ptxcwheel$
(ptxcompiler-cp38-test) sevagh@pop-os:~/Downloads/ptxcwheel$
(ptxcompiler-cp38-test) sevagh@pop-os:~/Downloads/ptxcwheel$ python -c 'import ptxcompiler; print(ptxcompiler.__version__)
'
<IP_ADDRESS>8704666

Think we still need a very basic pyproject.toml here

Think we still need a very basic pyproject.toml here

@jakirkham could you explain why you think it is necessary in this PR? We definitely want to update the build system eventually, but I don't think it is necessary for the wheel building to work. With no pyproject.toml the build just falls back to the legacy setuptools-based builds, which will still produce valid wheels.

For clarity am just meaning something like this
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta

For clarity am just meaning something like this
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta

Yup, and I'm happy to make that change to this repo soon, but I'm not sure why it's in scope for this PR. This project is still using a fully legacy setuptools-based build since it has a setup.py file and no pyproject.toml, and all of our tooling should still support that, including pip wheel (just with deprecation warnings). If it isn't necessary to get wheel building to work I think it's out of scope for this PR and can be done in a follow-up. Do you see a reason why the current state of the code might fail to build correctly without the file?

If we'd prefer to use the legacy backend, that seems fine

[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta:__legacy__"

The build tooling in the Python ecosystem is already moving in this direction. It would be better to get out ahead of it than get bitten later by something changing on us
Also being explicit about what build backend we are using will help communicate this to others as well as to keep track ourselves. Especially when doing the work to migrate to the newer (preferred) build backend


Search project files for the Settings.bundle file

I have my build directory in the same folder as my project and using Dir.glob("**/*Settings.bundle").first is matching the Settings.bundle file from a previous build.
This seems to fix the issue for my use case.

+1

Yeah, that seems good to me, thanks for the +1, I missed this
@jhildensperger can you add a CHANGELOG entry please? Other that that, it's good to go 👍

Wondering if this is good to merge, it might fix #32 too

Ah yeah, sorry, didn't notice it was updated :D


nativescript ui-image plugin with svelte native

I am trying to use https://github.com/nativescript-community/ui-image with svelte native but keep getting different errors.
There is  plugin initialization part and then using the actual code in tags etc. But, I cant seem to figure what to put in page tag as described in the plugin documentation.
Can you provide an example on how to use it? Vue demo is at https://github.com/nativescript-community/ui-image/tree/master/demo-vue

You need to assign a tag name to the plugin, see https://svelte-native.technology/docs#using-nativescript-plugins

@halfnelson thanks for your response. I had already tried that.
import { registerNativeViewElement } from "svelte-native/dom";
registerNativeViewElement("@nativescript-community/ui-image:Img", () => require('@nativescript-community/ui-image/vue'));

During build, I get:
SvelteNativePreprocessor/ParseError: Expected valid tag name (57:3)

There is weirdness in that tag name.
<@nativescript-community/ui-image:Img width="250" height="250"
  src="https://picsum.photos/200"/>

In fact, VS code complains even before building with "Expected valid tag name".
I am on NS 6.7.8

The tag namespace thing isn't really supported. You can pick your own tag name, like uiimage


Allow toggling Metrics Server installation

Resolves #1054

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1068   +/-   ##
=======================================
  Coverage   35.13%   35.13%
=======================================
  Files          59       59
  Lines        3393     3393
=======================================
  Hits         1192     1192
  Misses       2039     2039
  Partials      162      162

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 e2fb8d4...d9fe738. Read the comment docs.

Manually verified this to work by updating my cluster toggling metrics-server several times.


Second, could there be an option for darker text? The white text is a little tough to read.
Thanks for the awesome program.
I hope this helps.

The cut sprite is normal. The assets come from the Monika After Story mod for DDLC, which have the same "issue".
And about the darker text: maybe some kind of outline like in DDLC would be better. Unless that can't be done in plain C#.

https://stackoverflow.com/questions/4200843/outline-text-with-system-drawing
^
new GraphicsPath (creates an empty GraphicsPath)
GraphicsPath.AddString (the GraphicsPath object now represents the outline of the text)
Graphics.DrawPath (draws the outline in any Pen you want)
I hope this helps.

Sprite has been fixed in latest update! Outlining text in WPF is really difficult, so that may be a task for another time.


cross out button not working with certain symbols

Neil mentioned this was linked to Mathlive.io, but still wanted to document the issue.
to replicate:

select the is equal to (= sign with ? on top) from the palette
try to cross out the is equal to sign
notice how the bottom = gets crossed out, but the ? remains; the entire expression (including the ?) should be crossed out

Fixed with update to mathlive.


Traefik container does not grab marathon config if consul DNS isn't up properly

Occassionally the traefik container starts up while the consul container is still booting and tries to access marathon.service.consul resulting in -
time="2016-01-05T13:43:47Z" level=error msg="Failed to register for subscriptions, all the Marathon hosts are presently down"
time="2016-01-05T13:43:47Z" level=error msg="Failed to create a client for marathon, error: all the Marathon hosts are presently down"

We need to add a wait / check in around consul DNS

Closing via #616


Improve switching between brushes

Default to TRUE brush, shift key held makes brush FALSE, get rid of INVERT brush

If we can, improve the cursor design to indicate a TRUE vs. FALSE brush. Many Adobe apps have a little - sign when a brush is taking away something, and a + sign or no sign when it is adding something.


Generating age/sex/cancer type figure for pediatric cancer models

Do you think it is worth including a similar plot for an adult count, although that would require fitting 61 different cancer types?

I think this is low priority, in my opinion. We could generate something to match the current style, but what would it give us beyond what is already present in #28 ?
If you'd like to give it a try, feel free! All the code here should be able to be repurposed.
Also, feel free to use these figures in your poster - so it might make sense to modify slightly. up to you!


MefAttributedModel: TypeLoadException in .NET Framework 4.6.1

After upgrading to the latest NuGet package versions:
    TypeLoadException: Could not load type 'System.ComponentModel.Composition.ExportFactory``1' from assembly 'DryIocAttributes, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=dfbf2bd50fcf7768'.
At this line:
 var container = new Container().WithMefAttributedModel()
I'm using System.ComponentModel.Composition from GAC (the NuGet package just adds a reference to the GAC). All projects in the solution currently target net461.
New package versions (not working): DryIoc.dll v4.5.0, DryIocAttributes.dll v6.0.1, DryIoc.MefAttributedModel.dll v6.0.1
Old package versions (working): DryIoc.dll v4.2.0, DryIocAttributes.dll v5.0.0, DryIoc.MefAttributedModel.dll v5.0.0

@OronDF343
:( sigh, 2will try out when I have time

@OronDF343 Huh, I know what the problem is.
The DryIocAttributes was updated but not the DryIoc.MefAttributedModel.dll which still expects the ExportFactory in Attributes but not in the System.ComponentModel.Composition.
So I need to update DryIoc.MefAttributedModel.dll

@OronDF343
I have released the DryIoc.MefAttributedModel.dll v6.0.2, try it out.

@dadhi
Issue resolved, thanks for the quick fix!


[WFCORE-6341]: YAML: MapAttributeDefinition not properly processed for existing resources.

A MapAttributeDefinition or an ObjectAttributeDefinition wasn't
properly handled.

Jira: https://issues.redhat.com/browse/WFCORE-6341
Please note that this commit also integrates https://github.com/wildfly/wildfly-core/pull/5489

@yersan I'm fine with targetting 21.Beta1 for this.

Core -> Full Integration Build 12324 outcome was UNKNOWN using a merge of 7d5fc78872c8d30a25a75b7110f16a4c23d19cc3
Summary: Canceled (Error while applying patch; cannot find commit 659ef33d26ae60598946b5e9c501a709b39aaa54 in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/5494/merge branch was updated and the commit selected for the ... Build time: 00:00:19

Core -> WildFly Preview Integration Build 12420 outcome was UNKNOWN using a merge of 7d5fc78872c8d30a25a75b7110f16a4c23d19cc3
Summary: Canceled (Error while applying patch; cannot find commit 659ef33d26ae60598946b5e9c501a709b39aaa54 in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/5494/merge branch was updated and the commit selected for the ... Build time: 00:00:13


Luscious ripper is broken

Ripme version: 1.7.92
Java version:
Operating system: Windows 10

Exact URL you were trying to rip when the problem occurred: any collection
Please include any additional information about how to reproduce the problem:

Expected Behavior
Must download any collection with the https://old.luscious.net/ url format.
Actual Behavior
Can't download any collection using the https://old.luscious.net/ format because it return an Internal Server Error :
Btw it's a bit off topic but I really like your software and it's very handy for some website, very great job 👍 !

Nvm, as this bug was from website side they fixed the old.luscious.net so no need to try to fix it for now.


Non-Interactive StraightLines - Programmatically creating trend lines on highs and lows

I want to do this programatically... it seems the only way to do it (based on the examples) is interactively using the mouse.
https://dailypriceaction.com/free-forex-trading-lessons/how-to-trade-equidistant-channels
Interactive example: https://codesandbox.io/s/github/rrag/react-stockcharts-examples2/tree/master/examples/CandleStickChartWithEquidistantChannel
I am digging through the code to see how i can get the xy points of the candlesticks from the series, but I don't see any straightforward way.
Any tips?
Thanks for the AWESOME library!

Taken from this example.
const trendlines = [
  // start: [x, y], end: [x, y] - you should be able to find correct values with `xAccessor` and `yAccessor`
  { start: [1606, 56], end: [1711, 53], appearance: { stroke: "green" }, type: "XLINE" }
];

return <TrendLine
  enabled={false}
  type="RAY"
  snap={false}
  trends={trendlines}
/>

you would have to create a custom component to draw a line between (x1, y1) to (x2, y2)
no built in non interactive series exists


Grey border around widgets in desktop client

In the desktop client, there is a grey border around all tkinter widgets.

Its a design choice


[fix]     #159

Hi, @U-C4N. Thank you very much for your contributions!
If I understand correctly, your PR provides users with some suggested dataset options in case they don't have a specific dataset name or path. Great job!
I was wondering, whether it might be even more helpful to suggest some relevant datasets tailored to the user's requirements, instead of presenting a list of fixed datasets.
What are your thoughts on this? Looking forward to hearing your perspective! @U-C4N

Hi, @U-C4N. Thank you very much for your contributions!
If I understand correctly, your PR provides users with some suggested dataset options in case they don't have a specific dataset name or path. Great job!
I was wondering, whether it might be even more helpful to intelligently suggest some relevant datasets tailored to the user's inputs / requirements, instead of presenting a list of fixed datasets.
What are your thoughts on this? Looking forward to hearing your perspective! @U-C4N

How we will create the dataset pool ?

Hi, @U-C4N. Thank you very much for your contributions!
If I understand correctly, your PR provides users with some suggested dataset options in case they don't have a specific dataset name or path. Great job!
I was wondering, whether it might be even more helpful to intelligently suggest some relevant datasets tailored to the user's inputs / requirements, instead of presenting a list of fixed datasets.
What are your thoughts on this? Looking forward to hearing your perspective! @U-C4N

How we will create the dataset pool ?

Yeah, that's a great idea! We could set up a dataset pool as the RAG service and let the agent select the most helpful datasets to suggest to users. However, I'm not sure how difficult it would be to gather enough public datasets.
I am thinking that is it feasible to have the agent recommend some public datasets based on users' blur requirements?
For example, if a user inputs "sentiment analysis datasets," the agent could respond with some detailed public datasets for the user to choose from. What do you think about this?

Hi, @U-C4N. Thank you very much for your contributions!
If I understand correctly, your PR provides users with some suggested dataset options in case they don't have a specific dataset name or path. Great job!
I was wondering, whether it might be even more helpful to intelligently suggest some relevant datasets tailored to the user's inputs / requirements, instead of presenting a list of fixed datasets.
What are your thoughts on this? Looking forward to hearing your perspective! @U-C4N

How we will create the dataset pool ?

Yeah, that's a great idea! We could set up a dataset pool as the RAG service and let the agent select the most helpful datasets to suggest to users. However, I'm not sure how difficult it would be to gather enough public datasets.
I am thinking that is it feasible to have the agent recommend some public datasets based on users' blur requirements? For example, if a user inputs "sentiment analysis datasets," the agent could respond with some detailed public datasets for the user to choose from. What do you think about this?

The agent may not be able to evaluate the quality or currency of the listed datasets and also t may not fully understand the user's specific needs and context hmm


How to identify the "Submission messages" to track down why they are being blocked

How can you identify the "Submission messages".  "that are being blocked"
Is it a email? then what email address dose it come from or go to?
Is it a network connection?  Then what IP address and port is it connecting to?
Or other method?  what identifies it?

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: fa523787-105c-f155-2b06-4bf4e6305f26
Version Independent ID: fa523787-105c-f155-2b06-4bf4e6305f26
Content: Errors during admin submissions
Content Source: microsoft-365/security/office-365-security/submissions-error-messages.md
Service: microsoft-365-security
Sub-service: mdo
GitHub Login: @chrisda
Microsoft Alias: chrisda

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


LCCD

Description
Add spinorbital LCCD to Psi4Numpy so @loriab has a nice reference implementation when standardizing CEPA tests.
What are your new additions? Please provide a brief list.

New Features

[x] LCCD code

Status

[x] Click when ready for review-and-merge

don't worry about the RHF_symmetry fail -- I've fixed that in a local psi.
but since you made a new folder for cepa, do please create a file analogous to https://github.com/psi4/psi4numpy/blob/master/tests/test_RI_CC.py with a 3-line section to trigger your script to run.

I'm seeing a test failure due to CURRENT CORRELATION ENERGY not being available out of fnocc's wavefunction. Let me guess: that change was more recent than the version of Psi that P4N Travis uses?

Yes, filling in of fnocc vars happened with https://github.com/psi4/psi4/pull/1850 . I did get a clean test suite locally on the reference implementation side last night after
diff --git a/psi4/src/export_mints.cc b/psi4/src/export_mints.cc
index 1af1647..9e08a59 100644
--- a/psi4/src/export_mints.cc
+++ b/psi4/src/export_mints.cc
@@ -964,10 +964,10 @@ void export_mints(py::module& m) {
         // One-electron
         .def("ao_overlap", oneelectron(&MintsHelper::ao_overlap), "AO basis overlap integrals")
         .def("ao_overlap", oneelectron_mixed_basis(&MintsHelper::ao_overlap), "AO mixed basis overlap integrals")
-        .def("so_overlap", &MintsHelper::so_overlap, "SO basis overlap integrals")
+        .def("so_overlap", &MintsHelper::so_overlap, "SO basis overlap integrals", "include_perturbations"_a = true)
         .def("ao_kinetic", oneelectron(&MintsHelper::ao_kinetic), "AO basis kinetic integrals")
         .def("ao_kinetic", oneelectron_mixed_basis(&MintsHelper::ao_kinetic), "AO mixed basis kinetic integrals")
-        .def("so_kinetic", &MintsHelper::so_kinetic, "SO basis kinetic integrals")
+        .def("so_kinetic", &MintsHelper::so_kinetic, "SO basis kinetic integrals", "include_perturbations"_a = true)
         .def("ao_potential", oneelectron(&MintsHelper::ao_potential), "AO potential integrals")
         .def("ao_potential", oneelectron_mixed_basis(&MintsHelper::ao_potential), "AO mixed basis potential integrals")
         .def("so_potential", &MintsHelper::so_potential, "SO basis potential integrals",

Should I change this to use something friendlier to older Psi, or is it fine as-is?
Once this is merged in, I can start on LCCSD.


Configurable behavior for ObjectPersistTemplateInfo handler

Hi,
Please make configurable behavior for applying ObjectPersistTemplateInfo provisioning handler. The point is ObjectPersistTemplateInfo writes to web's property bag so requires FullControl permissions to execute. So when you try to execute only those handlers that require less permissions (e.g. ObjectPages or ObjectFiles) you still need FullControl to apply the template.
This is just a proposal of implementation, feel free to implement it another way.
__
Br, Ivan

thx Ivan, would have got automatically merged, but has merge conflicts. We'll get this merged soon.

Just merged, good addition Ivan, thx for that!


Global analysis of FSM to prevent unnecessary exception handling and detect always failing actions in sessions

Session specifications allow the use of global sequences, which can be accessed and modified in multiple states. Sequences have a limited size, thus appending or extending a sequence can fail. All states modifying sequences need an exception transition to handle these cases (#544). For all cases which are independent of external input the exception handling should not be needed, as it should be possible to statically prove that an error cannot happen or will always occur (e.g., the sequence size in the generated code will always be insufficient). A global analysis of the FSM would be needed to determine the maximum memory requirement for sequences.

@treiher How does this ticket relate to #1131?

I think we can close this ticket in favor of the more generic tickets #1131 and #633, which cover the same problems.


Token tracker substream added

Substream tracks the token transfer events of erc20, 721 and 1155 contracts

@anshulforyou  Please add a transfer event for base token transfer.

can you move overall project to specific folder. We are going to use this one repo for many substreams.


Add inverse_weibull_cdf Presto function

Resolves https://github.com/facebookincubator/velox/issues/5495

@aditi-pandit - Could you please review this PR from your end? Thanks.

Thanks @Krishna-Prasad-P-V. This code is looking good but build is broken. Please rebase with the code fix for the broken test and get a green run. I will approve after that.

Thanks @Krishna-Prasad-P-V. This code is looking good but build is broken. Please rebase with the code fix for the broken test and get a green run. I will approve after that.

Rebased. Will wait for pipelines to hit green.

I need to check why their are fuzzer test errors. Will work on it.


Toyota Connected Services 2.0.3 - Detected blocking call to open inside the event

I installed the last Toyota 2.0.3 version from HACS, it failed when I added my Toyota credentials, look below the error message:
Detected blocking call to open inside the event loop by custom integration 'toyota' at custom_components/toyota/init.py, line 56: client = MyT( (offender: /usr/local/lib/python3.12/site-packages/mytoyota/controller.py, line 56: with open(str(CACHE_FILENAME), "r", encoding="utf-8") as f:), please create a bug report at https://github.com/DurgNomis-drol/ha_toyota/issues Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in  sys.exit(main()) File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request resp = await request_handler(request) File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle resp = await handler(request) File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 77, in forwarded_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware return await handler(request) File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware response = await handler(request) File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle result = await handler(request, **request.match_info) File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 120, in post await hass.config_entries.async_reload(entry_id) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1897, in async_reload return await self.async_setup(entry_id, _lock=False) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1821, in async_setup await entry.async_setup(self.hass) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/toyota/init.py", line 56, in async_setup_entry client = MyT(

Yep, I stopped by to confirm I have the same issue

Same here

have the same issue too

same issue, my traceback looks different, but in addition I see this link in my log - as a hint, may be useful:
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open

I'll check this out on Monday when I'm back home.
Didn't get this in 2024.6 which I used for the fixing #293.

I've got probably similar/connected issue:
Detected blocking call to open with args ('/root/.cache/toyota_credentials_cache_contains_secrets', 'r')
also at custom_components/toyota/init.py, line 56, my traceback looks different tho, but in addition I see this link in my log - as a hint, may be useful: For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open

Try updating to version 2.0.5, this should be fixed in the latest version.

updated to 2.0.5, I've noticed that fuel level is back [it dissapeared few days earlier and I couldn't bring it back no matter what ;)], but still can see some issue similar to the above mentioned, but now it's another line in code. current warning in log:
2024-08-25 20:18:31.729 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args ('/root/.cache/toyota_credentials_cache_contains_secrets', 'w') inside the event loop by custom integration 'toyota' at custom_components/toyota/__init__.py, line 77: vehicles = await asyncio.wait_for(client.get_vehicles(metric=metric_values), 15) (offender: /usr/local/lib/python3.12/site-packages/mytoyota/controller.py, line 203: with open(str(CACHE_FILENAME), "w", encoding="utf-8") as f:), please create a bug report at https://github.com/DurgNomis-drol/ha_toyota/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 271, in _async_update_data
    return await self.update_method()
  File "/config/custom_components/toyota/__init__.py", line 77, in async_get_vehicle_data
    vehicles = await asyncio.wait_for(client.get_vehicles(metric=metric_values), 15)

This is not really a problem with the ha_toyota custom integration, but rather with the mytoyota Python lib used.
This lib does write (non async) a file with the cached request responses to the file system when it is initialized, which causes a blocking call.

This is not really a problem with the ha_toyota custom integration, but rather with the mytoyota Python lib used. This lib does write (non async) a file with the cached request responses to the file system when it is initialized, which causes a blocking call.

understood. thanks for clarification


Add Proxy

Add proxy to the whatsapp-web puppeteer.
to use a normal whatsapp-web if is necessary

Here on this link you will find great material on how to add a proxy to the puppeteer feel free to implement this configuration as it is the browser itself!
https://www.zyte.com/blog/how-to-use-a-proxy-in-puppeteer/