Does not work with osx 10.5.8

Is it possible to use this wrapper with osx 10.5.8?

I would have expected it to work correctly under 10.5, but I have never had a version of Leopard to test against.

Are you using reattach-to-user-namespace under tmux or some other environment?
How are you using it?

wrapping your shells via tmux default-command? (as described in the README)
directly with a program that needs access to the bootstrap namespace?
e.g. path/to/reattach-to-user-namespace pbpaste

How, exactly, does it fail?

Are there any error messages from reattach-to-user-namespace?
Note that if you are using it via default-command any messages from reattach-to-user-namespace would show up when tmux is starting a new pane/window/session, not when you try to use a program that needs the user bootstrap namespace (i.e. not when you use pbpaste).

If you want to experiment, the test program included with the code offers ways to emulate various situations (e.g. the post-daemon environment that tmux uses) and various techniques to attempt to regain access to the user bootstrap namespace. The section titled “ The Diagnostic Program” in the README offers some examples (though, you will probably want to use move-to-user=10.5 instead of move-to-user=10.6.

The core technique that I use in reattach-to-user-namespace is the same thing that the Apple-patched, 10.5-bundled version of screen does: call _vprocmgr_move_subset_to_user(uid, "Background") (see screen-12/screen/screen.c). Under 10.5 I make nearly the exact same call as Apple published. Under 10.6 the function acquired an extra parameter, so the only difference under 10.6 and 10.7 is to add an extra parameter to the call: _vprocmgr_move_subset_to_user(uid, "Background", 0). The value of the extra parameter actually seems to be irrelevant since it is never used when the second parameter is "Background" (see the 10.6 implementation of _vprocmgr_move_subset_to_user in launchd-328/launchd/src/libvproc.c; the only use of flags is conditional on ! is_bkgd, which is false the second parameter is "Background").

Hi Chris,

yes I try to use it under the tmux
I am wrapping it via default-command
I don't see any error messages. When I open new window I do see reattach-to-user-namespace echoed in status bar and the window name is renamed to 1:zsh (I normally use bash)

This is a result of the test command:
$ ./test daemon=sys system=pbpaste
$ system(pbpaste) process exited 1

$ ./test daemon=sys move-to-user=10.5 system=pbpaste
$ system(pbpaste) process exited 1

The temporary appearance of reattach-to-user-namespace in the status line is normal with the default tmux automatic-rename setting (it periodically renames the window according to the tty’s currently active process). You can, of course, change zsh to bash in your default-command value if you would rather use Bash by default in your tmux sessions.
The wrapper and test programs have error/warning messages for pretty much every possible error situation; so, apparently, none of the functions they call (including _vprocmgr_move_subset_to_user) are returning an error result.
Here are some “sanity checks” and possible avenues for investigation:

First, verify that pbaste works in a “plain” Terminal window (i.e. not inside a tmux session, so that tmux is not involved).
If this fails, then you may be dealing with some other problem:

Does pbcopy work? Maybe the problem is just with pbpaste.

In TextEdit, type “foobar”, select it, and Copy it.
Type echo testing 1 2 3 | pbcopy into a Terminal window that is not running tmux.
Paste into TextEdit.
Did you get “foobar” or “testing 1 2 3”?

Are you sure you are running pbpaste (and pbcopy) from /usr/bin?
Maybe some other versions are earlier in your PATH?
Type type pbpaste to find out where the one you are running actually lives.
If you are not running the ones from /usr/bin, then try the ones from there (by giving the whole path in your shell commands; e.g. /usr/bin/pbpaste instead of just pbpaste).
Is your /usr/bin/pbpaste the correct version for your OS release?
This can be difficult to determine. See below.
Not many other “tty mode” programs access the pasteboard, but if you are familiar with Vim, then you might try MacVim (or some other build of Vim 7.3; e.g. from MacPorts).
In Vim 7.3 the * and + registers use the pasteboard even when not running in GUI mode (e.g. rename the mvim script that comes with MacVim to just vim and run it inside a Terminal window).

If your previous ./test runs were done inside tmux: Try those ./test commands in a plain Terminal window to avoid tmux for the moment.
The daemon=sys part executes the action that tmux takes that usually causes the problem for programs running inside tmux.
Where did your tmux binary come from? Is it possible that it is some kind of patched version that is causing some additional problem?

Verifying System-Installed Files
I think Pacifist can verify system files against their receipts, but I have never used it.
Here is how I would do it from the command line:
If1 you have the “receipts” for your OS installation and updates, then you can extract the expected checksums for pbpaste and pbcopy with this command:
1 These receipts should usually be present, but I have a vague memory that some third-party “system cleanup” programs delete the receipts.
find /Library/Receipts /var/db/receipts \
  -name \*.bom \
  -exec sh -c 'for f; do lsbom "$f" |
      awk -v F="$f" "/pbpaste|pbcopy/{if(F)print F;F=\"\";print}"; done' \
    0 {} +

(/Library/Receipts is used in 10.4, and /var/db/receipts is used in 10.6; I am not sure which one 10.5 uses, you will see a find: /path: No such file or directory message if one of them does not exist on your system.)
On a 10.6 system, I get this output:
/var/db/receipts/com.apple.pkg.BSD.bom
./usr/bin/pbcopy	100755	0/0	72016<PHONE_NUMBER>
./usr/bin/pbpaste	100755	0/0	72016	25541152
./usr/share/man/man1/pbcopy.1	100644	0/0	3025<PHONE_NUMBER>
./usr/share/man/man1/pbpaste.1	100644	0/0	18	536112003
/var/db/receipts/com.apple.pkg.update.os.10.6.5.combo.bom
./usr/bin/pbcopy	100755	0/0	72016<PHONE_NUMBER>
./usr/bin/pbpaste	100755	0/0	72016	832584555

From this, I can see that pbpaste was installed as part of the com.apple.pkg.BSD package. It was later updated by the 10.6.5 combo system update. The last two numbers are the size of the file and a checksum. You can verify the size with ls -l, but the checksum is not quite as straight forward. Here is how you can generate and dump a BOM based on your existing files:
mkdir /tmp/pb && cp /usr/bin/pbpaste /usr/bin/pbcopy /tmp/pb &&
  mkbom /tmp/pb /tmp/pb.bom && lsbom /tmp/pb.bom

What you want to look for is that the last two columns are identical from the receipts output. Here is the output from the same 10.6 system:
.	40755	506/0
./pbcopy	100755	506/0	72016<PHONE_NUMBER>
./pbpaste	100755	506/0	72016	832584555

The middle column is different because my user owns the copies of the files instead of root, but the last two columns match the ones from the 10.6.5 combo updater receipt.

1.1 pbcopy is working fine in "plain" terminal window, also in the vim running from terminal window.
1.2. Both pbcopy and pbpaste are in /usr/bin:
$ which pbcopy
/usr/bin/pbcopy
1.3 This is the output that I got:
 $ find /Library/Receipts /var/db/receipts \
 >   -name \*.bom \
 >   -exec sh -c 'for f; do lsbom "$f" |
 >       awk -v F="$f" "/pbpaste|pbcopy/{if(F)print F;F=\"\";print}"; done' \
 >     0 {} +
 find: /var/db/receipts: No such file or directory
 /Library/Receipts/boms/com.apple.pkg.BSD.bom
 ./usr/bin/pbcopy    100555  0/0 55264   392921465
 ./usr/bin/pbpaste   100555  0/0 55264<PHONE_NUMBER>
 ./usr/share/man/man1/pbcopy.1   100644  0/0 2297<PHONE_NUMBER>
 ./usr/share/man/man1/pbpaste.1  100644  0/0 18  536112003
 /Library/Receipts/BSD.pkg/Contents/Archive.bom
 ./usr/bin/pbcopy    100555  0/0 46772<PHONE_NUMBER>
 ./usr/bin/pbpaste   100555  0/0 46772<PHONE_NUMBER>
 ./usr/share/man/man1/pbcopy.1   100644  0/0 2297<PHONE_NUMBER>
 ./usr/share/man/man1/pbpaste.1  100644  0/0 18  536112003

 mkdir /tmp/pb && cp /usr/bin/pbpaste /usr/bin/pbcopy /tmp/pb &&
>   mkbom /tmp/pb /tmp/pb.bom && lsbom /tmp/pb.bom
.	40755	501/0
./pbcopy	100555	501/0	55264	392921465
./pbpaste	100555	501/0	55264<PHONE_NUMBER>

1.4. I am using MacVim version, in plain terminal system clipboard does work

I tried both under tmux and without tmux. Both results where equal.

I installed tmux with brew, I believe there is nothing special in the recipe:

https://github.com/mxcl/homebrew/blob/master/Library/Formula/tmux.rb
Thanks again for your help. Maybe it is worth to notice that under screen I can't use clipboard as well (and as I remember well screen should be patched by Apple). I start to suspect that it sometimes maybe worked but some change in recent osx upgrade prevent this from working.

Thanks for verifying the fundamentals. Everything looks reasonable:

Your copies of pbpaste and pbcopy seem to be what the receipts expect (system installed versions are intact).
They work correctly if they are not run under tmux.
MacVim in tty-mode can also access the pasteboard if it is not run under tmux.

It does seem odd that you can not use the pasteboard inside the Apple-supplied screen though (/usr/bin/screen, right?). The reattach-to-user-namespace  wrapper program was developed specifically around the technique Apple applied in their Leopard patch to screen, and it works under 10.6 (and 10.7, I am told). Like I said, I have never had a 10.5 system, but there is every reason to think that it should work on Leopard (since it was adapted from Apple-supplied, Leopard-targeted code).
The fact that ./test daemon=sys system=pbpaste fails in a non-tmux environment seems to strongly indicate that the inability to access the pasteboard is still coming from the “usual” location: the system-supplied daemon(3) library function. It is provided in libSystem, which is (mostly) derived from Libc. Apple has published four versions of the Libc code between 10.5 and 10.5.8 (pull up all the 10.5 links at www.opensource.apple.com and search for Libc), but the implementation of daemon(3) is identical in all of them (1, 2, 3, 4). The problematic bit is (at least on 10.6, and 10.7) the move_to_root_bootstrap function. The test program includes an alternate version of daemon(3) that basically just skips the problematic part.
So, here is another experiment (to be run outside of tmux):
./test daemon=ours system=pbpaste
./test daemon=ours move-to-user=10.5 system=pbpaste

The first one should work since it avoids the problematic bit of daemon(3). If the second one fails, then it at least tells us that the call to _vprocmgr_move_subset_to_user is doing something, but still not why it does not work like I expected.
Looking at the 10.5 launchctl(8) manpage indicates that it supports the bslist command. You could use this to confirm that the underlying issue is a bootstrap namespace issue.
You should seen an entry for the pasteboard service when you run the command outside of tmux.
launchctl bslist | grep -i pasteboard

When you emulate running it inside of tmux (or actually run in inside tmux), the service should no longer be accessible:
./test daemon=sys system='launchctl bslist | grep -i pasteboard'

You will probably see a reported exit code of 1 (because grep did not find any matching lines).
You might as well try it with the post-daemon(3) call to _vprocmgr_move_subset_to_user, too (it will probably be the same as without it: no accessible pasteboard service):
./test daemon=sys move-to-user=10.5 system='launchctl bslist | grep -i pasteboard'

You could also try it without any daemon(3) call to see if _vprocmgr_move_subset_to_user is “damaging” the bootstrap namespace binding on its own:
./test move-to-user=10.5 system='launchctl bslist | grep -i pasteboard'

The _vprocmgr_move_subset_to_user function is implemented in the launchd source, but it is provided in libSystem. Apple has released seven versions of 10.5 launchd code, but _vprocmgr_move_subset_to_user was not changed in any of them (launchd/src/libvproc.c versions: 1, 2, 3, 4, 5, 6, 7).
It seems that Apple only every released one version of screen for Leopard: 10.5 through 10.5.8 all use screen-12.
So, overall, there are no good leads at to what might have changed between Leopard releases that might have caused a change in this behavior.
Okay, one more shot in the dark: Can you create a fresh user on the system, login to that user through the GUI (i.e. the normal OS login screen), and try some of this stuff under that user? Maybe some bit of user-specific configuration is keeping it from working. This seems unlikely, but it is a fairly easy thing to eliminate.

Here are outputs from commands above:
$ ./test daemon=ours system=pbpaste
$ ./test daemon=ours system=pbpastesystem(pbpaste) process exited 0
$  ./test daemon=ours move-to-user=10.5 system=pbpaste
$ system(pbpaste) process exited 1

$ launchctl bslist | grep -i pasteboard
A  com.apple.pasteboard.666
A  com.apple.pasteboard.1
$ ./test daemon=sys system='launchctl bslist | grep -i pasteboard'
$ system(launchctl bslist | grep -i pasteboard) process exited 1

$ ./test move-to-user=10.5 system='launchctl bslist | grep -i pasteboard'
system(launchctl bslist | grep -i pasteboard) process exited 1

I am going to create new user now to test with fresh settings. By the way I didn't reinsatll screen (as far as I know), version is:
$ which screen
/usr/bin/screen
$ screen --version
Screen version 4.00.03 (FAU) 23-Oct-06

I just tested another osx 10.5.8 machine, this one is clean from 3rd party libraries (such as macports, etc.).
Also, it does not have tmux or pasteboard installed.
When I started screen, pbcopy did not work, while outside the screen it worked as expected.
That leads me to think that osx 10.5.8 or some earlier update changed something in the way that broke their own patch around problem and it does not allow your workaround to be working.

Since daemon=ours seems to retain access to the pasteboard it should be possible to patch tmux to use a custom daemon function instead of the system-supplied one. This may help, but it may not fully solve the problem. My guess is that it would let you use the pasteboard from inside such a patched tmux, but only until you logout of the GUI (i.e. any tmux sessions you left running would lose access to the pasteboard when you logged out of the GUI).
It is a bit odd that ./test daemon=ours move-to-user=10.5 system=… and ./test move-to-user=10.5 system=… cause the pasteboard to become inaccessible; those operations are innocuous on 10.6.
The screen version numbers you reported match those in the source code Apple published for its 10.5 screen, so it is probably “stock”. You could check it against the receipts if you wanted extra assurance, though.
It is unfortunate that the system-supplied screen does not work; it was probably the best hope for finding a workaround.
I am out of ideas for now. I’ll keep the situation in mind though, maybe I’ll think of something else to test or try.

Have filled issue report on Apple website.
Issue number is #10449159. maybe they can answer since it is screen issue as well.
Thanks once more for your work.


LV, MV, HV and EV UPCs

fixed Item Name(s)
changed UPC Name to e.g. Converter LV, Converter EV
Converter LV accepts LV Cable, Converter MV accepts LV and MV Cables, ...
changed Recipes: e.g. Converter LV requires LV Storage Unit
incresed Storage Capacity equivalent to its Storage Unit counterpart
existing UPCs in your World are not lost but will get reduced I/O of 256 EU/t because it was changed to the Converter LV

@fooooooooooooooo when do you think you have time to merge and upload my changes?
If you don't agree with a change, let me know or just change it.

Great work, thank you very much @MSandro.
I hope @fooooooooooooooo  will release it very soon.

wicked pr


added option for bulk email sending

Hi. I added the option for sending bulk emails through the /email/bulk API endpoint. You might find that useful for your gem

Folks, any updates on bulk emails? Should I simply use Ruben's fork?

Cool. Looking forward to it!


Modules reorganisation

A draft structure for the current detector / tracking modules

Closing for now, for housekeeping reasons. Can revisit and reopen later if still needed.


CI build

Preferably with cross-compilation to windows (x86, 64 bit), linux (x86, 64 bit), and macOS (x86 and M1, 64 bit).

Implemented in 046bfd983abbbe7e1b8691b228f274faf34619b2. Still to test macOS and Windows binaries...


I inserted image but not showing in path ( 404 not found ).

And provide the followings :

Operating system : windows 10

Laravel version : 7.24.0

Package version : latest
i uploaded the image and was successfully uploaded but after uploading it is not showing the image .

when i check image path it store in storage/app/public/photo  but not showing folloing the console

please need a help

Open your .env file and verify if APP_URL=http://<IP_ADDRESS>:8000 !

And remember to run php artisan storage:link.

I am having the same issue :(
Mac OS Big Sur
Laravel 8.16.1
Filemanager latest.
I have the identical issue as mentioned by njnkhanal.
I can confirm, storage link has been create, routes added, env App_URL set correct, cache, config, routes and views cleared but the issue persists.
Any idea why the storage link is not allowing the file to be viewed... lfm disk is also set to public
Thank you in advance


Improve README.md

Hi! 👋
This PR adds spaces where they should be and fixes some grammar.

@SkyfallWasTaken Thx your MR.


Tracing phase should surround call logging

Hi there, it's me again :)
I integrated your library successfully and for the "normal use case" everything is fine. However, we have the following requirement: Our service has to include trace ids in all log statements coming from the service.
I have a Layout implementation for logback and everything works fine for regular logging - I just use GlobalTracer.get().activeSpan() in the Layout and fine. However, when the CallLogging is done (Ktor included feature), the span/trace is already closed. That's likely because the finishTracingPhase is happening before the call logging is done.
Is there any chance we can have the span (given by an external trace id through the request) active until the CallLogging phase is done?
My current workaround is to evaluate the MDC in case there is no active span, and the MDC is populated in an early phase manually. That works, but it's not the nicest thing I ever implemented :)
Thank you in advance!

Hey Hannes, Thanks for your message.
Yes so CallLogging intercepts before the monitoring phase, whereas this ktor-opentracing feature was intercepting (and creating the server span) before the features phase, which happens after the monitoring phase. Hence when you try to read the span from GlobalTracer in CallLogging, it hasn't been created yet.
I just released a change where i move back where i intercept to after the setup phase. Do you want to try again with v0.3.2 and let me know ? :)

As soon as we can, thanks in advance!

Hi @fstien. Thank you for this nice project, I encountered a similar issue regarding CallLogging in one of my projects. Could you let me know where I can grab the 0.3.2 or 0.3.3 version, I could run a test for you.

Just to let you know that we got the 0.3.3 and it is working as expected for our project. Just something to note, the generated POM file you published doesn't include any of the transitive dependencies so we had to add the kotlin-logging-jvm dependency manually. But aside from that, all good!
Thanks you very much!

hey @hannomalie , @ajcastillo301 , Thanks. I had a play around with CallLogging issue, indeed the trace cannot be read when that feature intercepts. I'm not sure why, there's clearly something about CallLogging I don't understand. 🤷♂ I will leave this issue open for now.
@ajcastillo301 If you try version 0.3.5 , that has the dependencies in the pom.xml ; https://repo1.maven.org/maven2/com/zopa/ktor-opentracing/0.3.5/ktor-opentracing-0.3.5.pom .

That is good to hear. We will surely upgrade on our next iteration, thanks @fstien for all the effort!


need help installing version from different fork

Checklist

[x ] I'm asking a question
[x ] I've looked through the README and FAQ for similar question

Question

Last year, to resolve an issue, I was advised in this forum to install a patched version of youtube-dl from this fork. I recently updated from that fork to resolve  a new issue, but was advised to switch back to the main fork. However, after installing the latest nightly (7/25), I checked the version and it's still showing the 7/30 build from the patched fork. Here's the terminal log:
xxxxx@linux-desktop ~/Music/youtube-dl $ sudo python setup.py install
running install
running build
running build_py
running build_scripts
running install_lib
running install_scripts
changing mode of /usr/local/bin/youtube-dl to 755
running install_data
running install_egg_info
Removing /usr/local/lib/python2.7/dist-packages/youtube_dl-2024.07.25.egg-info
Writing /usr/local/lib/python2.7/dist-packages/youtube_dl-2024.07.25.egg-info

xxxxx@linux-desktop ~/Music/youtube-dl $ youtube-dl --version
2<IP_ADDRESS>298

I'm not very experienced with Linux commands, but I'm thinking maybe I need to uninstall the 7/30 patched version first. The README file provides this command:  sudo apt-get remove -y youtube-dl but the response is: Package 'youtube-dl' is not installed, so not removed... I think that command only applies when youtube-dl was installed using a package manager.
I extracted youtube-dl from the GNU zip file then used setup.py to install, so I searched for a command to uninstall a program installed with setup.py and found this: sudo pip uninstall youtube-dl. When I run that command, I get this error: pip: command not found.
Please advise if I need to uninstall the patched version first and if so, what are the commands for that. Thx.

sudo apt-get remove -y youtube-dl fails because you didn't install it using the apt package manager. You probably did python setup.py install or maybe used pip.
Now, installing should remove older versions, like you see in the line
Removing /usr/local/lib/python2.7/dist-packages/youtube_dl-2024.07.25.egg-info
So, perhaps figure out where youtube-dl is currently living because the installer can't find it to uninstall. Perhaps was it installed using python3 while here you're using python2.7?
Check /usr/local/lib/python2.7/dist-packages/ and /usr/local/lib/python3.10/dist-packages/ (replace 3.10 with whatever version you have for 3) and see what versions of youtube-dl are in there (the .egg-info files).
Ultimately, i think pip can find it wherever it's been installed, so try just running [sudo] pip uninstall youtube-dl or sudo pip3 uninstall youtube-dl

which youtube-dl ?
echo $PATH ?

Thank you for your replies!
@aiur-adept, yes, as noted my OP, I installed youtube-dl using setup.py, and I tried removing using pip and get the response: pip: command not found (ditto with pip3).
I just checked my python distribution packages and there are three .egg-info files located in the paytyon2.7 folder:

youtube_dl-2<IP_ADDRESS>19.egg-info
youtube_dl-2024.07.25.egg-info
youtube_dl-2<IP_ADDRESS>298.egg-info

I'm not sure what to do with that information.
@dirkf, here's the output from the commands you suggested:
david@linux-desktop ~ $ which youtube-dl
/usr/local/bin/youtube-dl

david@linux-desktop ~ $ echo $PATH
/home/david/bin:/home/david/.local/bin:/opt/OpenPrinting-Gutenprint/sbin:/opt/OpenPrinting-Gutenprint/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

Again, not sure what to do. Learning more about Linux is on my endless list of things I need to do :-)

So just acquire the nightly bundled POSIX release, make it executable, and overwrite /usr/local/bin/youtube-dl with it. You'll need to sudo ... the final step.

I appreciate your assistance but I'm not familiar with the term 'bundled POSIX release'...
OK, I looked it up -- Portable OS System Interface, but that doesn't tell me which file to grab from the nightly asset list, or how to 'make it executable'.
(If a program isn't included in my distro's repository or the repository version is outdated, I'm usually at a loss on how to proceed. For youtube-dl, the -U parameter worked in the past, but last year, to resolve a different issue, I had to be spoon-fed instructions on where to locate, which file, and how to install a patched fork. It resolved my issue.)
Sorry for being such a dunce. I'm thinking maybe I should take this to a Linux forum.

@ginahoy You can download the nightly builds here:
https://github.com/ytdl-org/ytdl-nightly/releases
You'll want youtube-dl (click this link to download)
Then sudo mv that file to /usr/local/bin/youtube-dl
This is a more direct way to install youtube-dl rather than using setup.py

All the help you need is in #30839, in particular the linked "further installation guidance". The online manual is a bit less helpful, at least until #32786 is finished.
Generally, users should only be running the build commands (setup.py, eg) in the youtube-dl distribution as part of some development project, and not just to install the program. Having said that, one thing that we don't make clear, I think, is that a pip installation is recommended if the user wants to use the youtube_dl Python module rather than just running the youtube-dl command.

OK, that worked! (Although I fumbled around before I figured out how to make it executable using Thunar file mgr to change file properties.)
The --version option now shows 2024.08.02, and to my amazement, that fixed (at least for me) the current error I was dealing with (HTTP Error 403: Forbidden. Retrying fragment 1 (1/10)...) when downloading a particular audio file (.m4a). Thanks!
I'm still a bit confused as to why the pip command wasn't already installed on my system (re: sudo pip uninstall youtube-dl resulted in command not found error). Seems like my python install would have included the pip command. Sorry, that's more of a rhetorical question as I already found instructions and installed pip.

Use python -m pip as the pip command, where python is how you invoke the relevant Python version. If there's apparently no such module, use python -m ensurepip.
A default Python installation comes with pip but a package manager (apt, say) may disable it, on the grounds that it wants to be in charge of installing Python modules. Maybe one or more of your residual yt-dl installations were made with the system package manager?
Also, and obligatory: XKCD 1987.

... to my amazement, that fixed (at least for me) the current error I was dealing with ...

It shouldn't be so surprising since it was the point of the new release, but good to know.


Proposed value is copied from Github dark mode.

nothing wrong with white font imo

The font is too white.

I agree.

I wouldn't be against dimming the font a bit, can be a bit harsh sometimes


Feature Request

It's awesome. This would be awesomer with:
Tasker integration so my bank transaction sms messages could go in automatically.
If you displayed my average cash burn rate for the last 30 days, 90 days, 365 days. This would make budgeting really easy.

Hello
Let me understand your idea better. When you make some bank transaction you receive the SMS confirmation and then it would be great to automatically add the expense to the app, am I right?
About the statistics - I plan to do so. I will let you know when it will be ready.

Yes. I understand it is difficult to get SMS permissions through Google
play so I thought Tasker might serve as a bridge (they have SMS access but
are one of the few apps where it is allowed)
Here is an example message:
From:REGBNK
Account *1008: Transaction of $4.00 was received.
History:LAST
Balance:BAL
More info:INFO
On Mon, Aug 19, 2019, 3:59 PM Marcin Hatalski<EMAIL_ADDRESS>wrote:

Hello
Let me understand your idea better. When you make some bank transaction
you receive the SMS confirmation and then it would be great to
automatically add the expense to the app, am I right?
About the statistics - I plan to do so. I will let you know when it will
be ready.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nominalista/expenses/issues/6?email_source=notifications&email_token=AATIWBQTYOPQ4NAIUTCH7B3QFMCUPA5CNFSM4IJDRCM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4UI5DA#issuecomment-522751628,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATIWBVQCBBACXF3JKKRL7DQFMCUPANCNFSM4IJDRCMQ
.

Hi, Hayward I just read this feature request and I am implementing it because I'm interested too.
My first approach will be with keywords, if the message contains the keyword an empty expense will be created with the message as comment and you will be able to edit it with the correct amount.
Next step will be recognize the amount and I see 2 options:

User can create a rule to find the amount given the keyword
Use Machine learning to find the amount

What do you think? Are you still interested in this feature? any suggestion?

I have had good luck scraping US websites by looking for the $999.99 and I
think this would work here.
On Sun, Jan 12, 2020, 3:16 PM gcandrade10<EMAIL_ADDRESS>wrote:

Hi, Hayward I just read this feature request and I am implementing it
because I'm interested too.
My first approach will be with keywords, if the message contains the
keyword an empty expense will be created with the message as comment and
you will be able to edit it with the correct amount.
Next step will be recognize the amount and I see 2 options:

User can create a rule to find the amount given the keyword
Use Machine learning to find the amount

What do you think? Are you still interested in this feature? any
suggestion?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nominalista/expenses/issues/6?email_source=notifications&email_token=AATIWBX2PBAGVGWOPURB74TQ5OCCVA5CNFSM4IJDRCM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIXEMWA#issuecomment-573458008,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATIWBR74BJDVJIZIA4ZB4LQ5OCCVANCNFSM4IJDRCMQ
.

That's a fine approach but since I want that to fit all currencies I created that in a rule way, you
can check it here if you want:
https://github.com/gcandrade10/expenses/tree/feature/sms
https://github.com/gcandrade10/expenses/releases


Extra output evm.legacyAssembly is ignored

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (9dbfb2f 2024-09-27T00:20:26.127318148Z)
What command(s) is the bug in?
forge build
Operating System
Linux
Describe the bug
Compiling with the extra output option evm.legacyAssembly has no effect. Unfortunately, this breaks the only reliable way to get the metadata hash of the contracts - which are needed for source code verification and source mapping (see: https://docs.sourcify.dev/blog/finding-auxdatas-in-bytecode/#workarounds for more details).
Reproduction steps:
forge init
FOUNDRY_EXTRA_OUTPUT = '["evm.legacyAssembly", "storageLayout"]' forge build --build-info

The storageLayout is not required and is only added as a sanity check here.
Open the build info file. Notice, that evm.legacyAssembly is missing in the output selection and the legacyAssembly-field is missing from output[source][contract].evm:

{
    "input": {
        "settings": {
            "ouptputSelection": {
                "lib/forge-std/src/Base.sol": {
                    "*": [
                        "abi",
                        "evm.bytecode",
                        "evm.deployedBytecode",
                        "evm.methodIdentifiers",
                        "metadata",
                        "storageLayout"
                        // "evm.legacyAssembly" is missing here
                    ]
                }
            }
        }
    },
    "output": {
        "contracts":
            "lib/forge-std/src/Base.sol": {
                "Script": {
                    "evm": {
                         // "legacyAssembly": { ... } is missing here
                    }
                }
            }
        }
    }
}

Hey @RaoulSchaffranek I dont think that can be set with env var (see https://book.getfoundry.sh/reference/config/solidity-compiler#extra_output where env is N/A) could you try adding it in foundry.toml?

The environment variable FOUNDRY_EXTRA_OUTPUT generally works; otherwise, the storageLayout would also be missing from the outputSelection. I just double-checked and tried setting extra_output = ["storageLayout", "evm.legacyAssembly"] in foundry.toml - the behavior is the same as with the env var: storageLayout yay, evm.legacyAssembly nay.


search bar

when user uses the search bar, it drops down multiple option/matches, but if user does not select one and clicks outside of it the drop down doesn't close unless the user deletes the search criteria.
acceptance criteria > if user does not select one of the options and clicks outside the drop down. drop down should close

Describe your problem and - if possible - how to reproduce it
Add a Link to the page with the problem
Tell us about your browser and operating system

Browser Name:
Browser Version:
Operating System:

If possible, add a screenshot here

@cmat27, Hey this definitely needs sorting out, but this has already been reported so I'm gonna close it as a duplicate 👍


[MM-42603] if mobile view, don't show pulsating dot. Always open the actions menu

Summary
When a user is in the mobile view, the actions menu should not wait for the user to view the tooltip.

do not show pulsating dot on Action menu
clicking the Actions Menu will always open the menu
side effect is that they can use the new Actions Menu feature on mobile, but will see the pulsating dot if viewing on web view.

Ticket Link
https://mattermost.atlassian.net/browse/MM-42603
Related Pull Requests
Screenshots

before
after

Release Note

/release-note-none

@matthewbirtch, I'm sure it has to do with the new Actions Menu. I'm looking into it now

@matthewbirtch, I haven't figure out the darkening overlay issue yet. I'll create a separate ticket for that issue.

Ticket created. https://mattermost.atlassian.net/browse/MM-42858

/update-branch

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/176346

@jfrerich Feel free to merge and cherry-pick.

/cherry-pick cloud

Cherry pick is scheduled.


question about analysis arrows

I received this email with questions about chessboard2. I wanted to reply publicly for the benefit of others who might have similar questions.

Hi Chris,
I’m looking into using chessboard2 in an app I’m working on and analysis arrows are really important for its functionality.
When I browsed through the docs I did not see them documented and even the references to their methods from https://chessboardjs.com/v2/examples#3008-analysis-arrows did not lead anywhere.
A few questions if I may:

How stable is the current version?
Any idea when a release version will be available?
How are the arrows and circles stored internally as i would like to save them along with the game?
Any recommended approach to drawing them using the mouse rather than programatically? onDrag…() seem to work on pieces so I assume I need to handle the mouse events separately from chessbord’s APIs.

I hope you provide some insight on the above.
Thank you so much,

on the last point, either a .onClickSquare() or a mouse coordinates (from the click event)-to-square method would be also good.

@djeetee the master branch now has two examples of dynamically adding arrows to the board using mouse events (PR #41)

This is supported by v0.4.0

https://chessboardjs.com/v2/examples#4015-mouse-enter-leave-squares
https://chessboardjs.com/v2/examples#4016-mouse-down-up-squares
https://chessboardjs.com/v2/examples#5006-click-to-create-arrows
https://chessboardjs.com/v2/examples#5007-click-to-create-arrows-preview

Hey Chris, I hope all is well.
I finally sunk my teeth into chessboard2. I have the board set up, i can feed positions, moves, navigate, etc… So far so good.
My question/comment is this: it would be great if one could enable/disable play for one of the two players. In other words, being able to stop one color from moving their pieces.
Say I’m playing white and waiting for black to move, I shouldn’t be able to move my own piece (unless of course I want to enable pre-moves which another use-case on its own) but at least I’m not changing the state of the board during the other player’s turn.
Is there a clean way to do that with the current functionality or do I have to code the logic?
Thank you,
-George
On Apr 10, 2023 at 11:00 AM -0400, Chris Oakman @.***>, wrote:

This is supported by v0.4.0
• https://chessboardjs.com/v2/examples#4015-mouse-enter-leave-squares
• https://chessboardjs.com/v2/examples#4016-mouse-down-up-squares
• https://chessboardjs.com/v2/examples#5006-click-to-create-arrows
• https://chessboardjs.com/v2/examples#5007-click-to-create-arrows-preview
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

it would be great if one could enable/disable play for one of the two players. In other words, being able to stop one color from moving their pieces.

I think Example 4002 demonstrates the behavior you want.


fix(lockfile): allow locked conda/pypi dependency with the same name

fixes #710

I think there is going to be an error if for example a conda dependency installs numpy and there is a pypi requirement on numpy then our pip resolver might select a different version than the conda one.
You could always prefer the conda one, but there might be a pypi dependency  in there thats uncompatible with the chosen conda version of numpy.

E.g.
[dependencies]
pyboy = "*" # transitively installs numpy

[pypi-dependencies]
numpy = "1.25" # Might install another numpy version!!

Yes! Or when specifying twice:
[dependencies]
numpy = "*"

[pypi-dependencies]
numpy = "*"

Then you would need to choose between which version to use.

I think we should take into account the conda-forge mapping.
If the mapping already contains the link between packages we use that link, thus use a conda package for a pypi dependency if it was already installed in the conda environment. E.g. for numpy as the mapping contains:
- conda_name: numpy
  import_name: numpy
  mapping_source: static
  pypi_name: numpy

We should install numpy only with conda if we get this toml:
[dependencies]
package_that_depends_on_numpy = "*"
# or numpy itself
numpy = "*"

[pypi-dependencies]
numpy = "*"

If there is a situation where the package is not in the mapping, we install both versions. E.g. pandoc.
[dependencies]
package_that_depends_on_pandoc= "*"
# or specifically pandoc:
pandoc = "*"

[pypi-dependencies]
pandoc = "*"

This will not be perfect but there is slightly less guessing when we use that mapping.
I think the key to this problem is that map, so allowing for a custom one should be possible in the future, also we should improve the map in some way.

I see, I pushed b4c3473f5a6ae4495b2971236bc496fa19fbc8f2. Did you mean something like this?

This looks good to me, my example works like expected. Could you write some documentation about this behavior in the configuration.md#pypi-dependencies ?

yessir

I added a note in af5fbc0cd75fdfcab58d3cbf5bf319753a6b6b49
Let me know if we should keep the warning or the first sentence is enough.

Looks good, should we issue a warning when the same package that we know is the same like 'numpy' is defined for both, pypi and conda ecosystems?

@ruben-arts I'm pretty confident that the behavior is now fixed.

I updated the logic and tests.

There is currenlty heavy lifting going on in satisfiablity land from pypi mapping to source dependencies. Going to close this for now.

thank god


func NamespacedKey() are used uniformly for all

What this PR does
Before this PR:
After this PR:

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

/test all

/approve

@muxuelanKK any updates? I think this is valuable and it would be great if you could rebase and address the comments.
Thanks

@muxuelanKK any updates? I think this is valuable and it would be great if you could rebase and address the comments. Thanks

Okay，I will do it.


Error with example

Problem with example
pdobryakov@pdobryakov:~/rust/t1$ cat ./src/main.rs
extern crate stomp;
use stomp::frame::Frame;
use stomp::subscription::AckOrNack::Ack;

fn main() {

  let destination = "/topic/messages";
  let mut message_count: u64 = 0;

  let mut session = match stomp::session("<IP_ADDRESS>", 61613).start() {
      Ok(session) => session,
      Err(error)  => panic!("Could not connect to the server: {}", error)
   };

  session.subscription(destination, |frame: &Frame| {
    message_count += 1;
    println!("Received message #{}:\n{}", message_count, frame);
    Ack
  }).start();

  session.message(destination, "Animal").send();
  session.message(destination, "Vegetable").send();
  session.message(destination, "Mineral").send();

  session.listen(); // Loops infinitely, awaiting messages

  session.disconnect();
}
pdobryakov@pdobryakov:~/rust/t1$ cargo build
   Compiling t1 v0.1.0 (file:///home/pdobryakov/rust/t1)
error[E0423]: expected function, found module `stomp::session`
  --> src/main.rs:10:27
   |
10 |   let mut session = match stomp::session("<IP_ADDRESS>", 61613).start() {
   |                           ^^^^^^^^^^^^^^ not a function

error: aborting due to previous error

error: Could not compile `t1`.

To learn more, run the command again with --verbose.

Thanks for opening this issue. This crate has fallen far behind some of the libraries it's based on (namely mio). Long-term, I hope to rewrite it using Tokio and nom. I'm unsure when I'll get the chance to do that.


Returned plans should be parsed and returned in a well structured way; plan cost including

Some planners return their entire diarrheas output into the result.output.plan field. Some return a properly formatted plan as text. The original /solve interface returned the plan in a rich Json structure. The planutils should be able to parse and standardize the plan structure between temporal and strips planners.
The plan cost is also included in different formats in the planner output. With bit of luck, one can get the plan from result.output.plan field and find the cost from the result.stdout. But as soon as you have multiple plans, you cannot figure out what belongs to what.
Ideally, result.output.plan should be a structured element with steps or actions if you want as well as cost and/or makespan and possibly the search stats such as statesEvaluated.

As mentioned elsewhere, this comes down to package-specific setup. We could insist that packages adhere to a particular format (their plans go to a file and not stdout, etc) before they are officially included as part of the main PaaS deploy, but in general, a package is free to define the manifest (and thus endpoints) however they'd like.
Would this be an issue to perhaps have the manifest flag if they follow the "planner output standard X", in which case we could/should parse & package up things?

Well single+multiple plans is standard enough to enforce for inclusion in PaaS. The planner/package manifest can point to the file location, and perhaps indicate the style of plan output (just action sequence with ; comments, temporal plans, something different), and then have dedicated code in PaaS to attempt a parse. We followed this strategy with the legacy solver:
https://github.com/AI-Planning/cloud-solver/blob/master/process_solution.py
For those packages that are just dumping plans to stdout, we can lean back on the authors and give them the ultimatum to fix it, or be removed from the remote service ;).


Update README from branch example

Updates
I updated the README file. __Please review__ans accept.

I confirm 👍


Product support question

Is this repo still supported?

Windsor as an open source project has been supported by volunteers for 20 years, the level of support has varied throughout it's lifetime. At the moment, there is no one contributing what I'd refer to as a "maintainer". There isn't and hasn't been commercial support, even though contributors have often worked on the project during work time as it benefits their employer.
It's up to people to make the project what they want it to be.


PUT client command adds header and footer to uploaded file

I am seeing an issue when I use Unirest to “put” a file (upload). The length of the file changes from it’s original (206633 bytes), and performing a file diff shows a header and footer added to my file upon upload. This header/footer changes size (but ~230 bytes each time), and the file becomes unreadable by a downstream process. Unirest is adding this content to my file during the processing prior to calling the Rest endpoint, is there a way to turn it off?   Note that when I run this process manually in a Rest client (Postman), it does not add this header/footer.  I've also confirmed that uploads using Jersey REST client do not add the header/footer to my uploaded files.
My Unirest call is as follows, the file on cloud storage becomes ~206866 each time (size changes based on the header/footer values added).
HttpResponse response = Unirest.put(url)
.header("Authorization", "Bearer " + _token + "")
.header("Content-Type", "application/octet-stream")
.field("file", new FileInputStream(file), ContentType.APPLICATION_OCTET_STREAM, file.getName())
.asString();
--f43zuGvyCxUMHYfAhe1k_jI9xGAKJnLvhfAuZ
Content-Disposition: form-data; name="file"; filename="Cylinder.stp"
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
[Original File Content]
--f43zuGvyCxUMHYfAhe1k_jI9xGAKJnLvhfAuZ--

I am facing the same problem  when I am trying to upload a file to a storage bucket .
This is my method .
HttpResponse uploadFile(String uploadUrl, String file){
return Unirest.put(uploadUrl)
.header("Content-Type", null)
.field("file", new File(file))
.asString();
}
Output which I get is :
--lZG6vDKtkbpI75v1vUOLJky2-4C43z5o
Content-Disposition: form-data; name="file"; filename="happyPathFileUpload.csv"
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
[Original File Content]
--lZG6vDKtkbpI75v1vUOLJky2-4C43z5o--
@4shotespresso -> Did you find any workaround or solution to this problem.

My workaround was to use another rest client library.

which library you used

This was fixed somewhere along the way. see https://github.com/Kong/unirest-java/blob/master/unirest/src/test/java/BehaviorTests/MultiPartFormPostingTest.java

just realized, the headers and footers you are talking about are the multipart form section which are part of the standard. Is what you wanted to do was a single binary body?


MIPS disasm vs decompiler difference

I'm trying to decompile some things for MIPS and getting such results:

Problem is that disassembler goes by offsets and find final result pointer, but decompiler outputs thing like ptr_to_ptr_to + 0xC.

Did you set both data items to read only? In disassembly view you need to go to 0x80090904, create a 4-byte sized data, then right click it and go to Data->Settings->Mutability and set to "constant". Repeat for 0x8008f700 and it should work fine after that.

Hmm, you right! It helped.:)

How to change this behavior and calculate offsets for writeable and readable segments?

If the memory was writable, then most likely the location is actually a structure.  Define a structure there, and you will get more readable results.  If it wasn't, then the compiler in all likelyhood would not have done an offset reference.
If the memory is readable and writeable, the decompiler cannot trust the value currently at the location, then you will get an offset access.
One additional thing to try, put a label on the calculated location rather than the default, and see if the decompiler will display the label instead of the offset.

If the memory is readable and writeable, the decompiler cannot trust the value currently at the location, then you will get an offset access.
It would be great to have ability to override such behavior (everywhere, locally). It is hard to analyze a code that located in RWX section.

If you want to change this behavior just set the memory segment as RX (in Window->Memory Map), or split it into multiple with function pointers in a read-only segment and everything else still RWX.

But what will happen when I'll set RW ram address (external port) to RX? Will Decompiler use it as a constant value and will skip block of code that compares value in it?

You can create a separate, or split an existing memory block that represents the PORT locations and set the correct RW on that memory.
Another possibility is setting known locations (or regions of memory) as volatile in the .pspec file if the locations are known volatile locations for all processors.

Thank you.

I ve similar issue, I attach a screen that explain better than words

Disassembler works well, but decompiler not..

the same problem


add support for ParquetOptions for load/external tables

This FR is to add support for some advanced Parquet options (list inference and enums) when loading data or defining an external table.
Additional information has been shared out of band with library maintainers.

Types have been updated and these options are now supported.


On linux mouse input is being ignored when clicking on the right half side of the terminal.

When clicking too far right on the terminal the mouse will no longer register and the terminal goes into a "SELECT" state, and mouse input no longer registers until hitting the return key (highlighted in the upper left hand of the image). Things on the left side of the red line in the image register, and on the right side don't and cause the terminal to drop into "SELECT".
Additonally, under SSH, the terminal still rejects input on the right side of the terminal, but does NOT drop into the "SELECT " state.
Running under wsl2: Ubuntu 20.04 LTS.
Terminal.GUI v1.0.0

If you are using WSL  (that is the case) and run the command echo $TERM you probably will have this result xterm-256color, which is the same on a real Linux (with DISPLAY). So, it is a WSL limitation and in this case you have to open an issue on the https://github.com/microsoft/WSL/issues

yes, I do get the result xterm-256 color, but other mouse enabled  console apps work as expected under wsl, such as Midnight Commander.

You are right, sorry.  If you run your app using Application.UseSystemConsole = true, before the Application.Init(), it will run with the NetDriver and the mouse works properly. Unfortunately, it runs much slower.

Ok, so on the UICatalog example, setting the UseSystemConsole flag to true works, and mouse registers everywhere, but the nuget package of terminal.gui 1.0.0 the flag doesn't have any effect, Application.Driver.ToString resolves to Termin.Gui.CursesDriver on linux, and Terminal.Gui.WindowsDriver on windows.

You must use the main from the github, because that was already fixed by the PR #1267.

Check, that worked. Anecdotally, NetDriver is much slower on windows, but is actually more responsive on Linux...
thanks so much for the help!

Ah, yes it's true, I forgot to mention that is only slower on Windows. You welcome.

If that is the first 96 characters then it might be an issue with the application not using 'extended mouse reporting' where X/Y (-32) are encoded as UTF-8.
I have noticed a strange issue in that at column 120 I get an empty mouse report packet, which is how I ended up at this issue.  Related, being fixed or new?


Fix CRITICAL & HIGH CVSE Security vulnerabilities

Describe the bug

https://github.com/swarmion/swarmion/security/dependabot
Reproduction
https://github.com/swarmion/swarmion/security/dependabot
System Info
All

Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

I think the critical is already fixed in the code because https://www.npmjs.com/package/json-schema-faker has been updated.
But as the package has not been deployed the examples are still pointing to a version of swarmion which has vulnerabilities.
@guillaumeduboc can you make a release soon please 🙏

v0.33.0 is released 🥳


Add make target for creating binary files package (make pkg-bin)

Hi,
You may or may not find this pull request useful but here it is anyway.
make pkg-bin coupled with make pkg-deb (#87) makes it easier to use Travis CI to automatically deploy pre-built packages of picocoin to GitHub Releases.
If this pull request is accepted then by adding the following to .travis.yml Travis CI will automatically upload Debian and binary packages of tagged releases to the picocoin git tags on GitHub. I didn't change the picocoin .travis.yml file in this pull request as the deploy key will need to be generated (see https://docs.travis-ci.com/user/deployment/releases/).

language: c

compiler:
  - clang
  - gcc

os:
  - linux
  - osx

sudo: false

env:
  global:
    - secure: rHwlRDO/xvFHScz9rCCUYVnf6okYLuSH9HMqvZPVwI/CFb9FlUnTYfXBnI0eEK/9PVrl2Q8CLxJpdUn0P7zSwcLlI1PaLWpx0W5meM4JDtYRaI4wbwNjOg2ziM20LgzEWeFSk+XvJQMuOEuW6z7T0NZl9se2MTfBfgQZs9cCH8WmMvjN2hFNXGfoROLbHtEGPo7pc0ob7WkAxQ3aJ1fm7ehCU1V7SxxrLFVWY37xrwRMeUBPLcV/F5owtZrOZFAB6burrrUy1kZhZEcrJRMrA8oFESK4cOdnpZEY5B3db3XBW1MtgFJXh+b6TbwkRIjYDgjt6OkGqAsgguaB3NJ1UENxT/S86Q6tvWRuh7E1d56IcGrb+BLF9S8KiYgr/iPfC8hmbGdV0PbLkSXL5/+03wMTmww4MwaDKq8TkMXRvuc8cdm73jxqoQhqhDxYbOr8z1zAFeCasPukE7unb7McuF85kdX1VAEcq7K70mz292BKGOVHi55KGpGf+QlXpecsjRIV7XkArK9NI1VyZDfJpsRjzBmz5K9wp08gT/bbKYuEeaQlkOk3b4qlSYGLA3HnYD0UweSYuEvux0flQoS6QAiYmTWRe5qmEVzo22L5h9x3f2+Fv93d7hwu1UAwLe5zs83YLURdzu6OQwAnk8imzya4hk3+nqU05PVFN9b65Fk=
    - BASE_OUTDIR=$TRAVIS_BUILD_DIR/out
  matrix:
    - BUILD=distcheck MAKEJOBS=-j3
    - BUILD=check ENABLE_COVERAGE=yes
    - BUILD=check ENABLE_VALGRIND=yes
    - BUILD=pkg-bin DEPLOY=yes
    - BUILD=pkg-deb DEPLOY=yes

matrix:
  exclude:
    - compiler: clang
      env: BUILD=pkg-bin DEPLOY=yes
    - compiler: clang
      env: BUILD=pkg-deb DEPLOY=yes
    - compiler: clang
      env: BUILD=check ENABLE_COVERAGE=yes
    - os: osx
      env: BUILD=pkg-deb DEPLOY=yes

cache:
  apt: true

addons:
  apt_packages:
      - libssl-dev
      - libgmp-dev
      - libjansson-dev
      - libevent-dev
      - lcov
      - valgrind
      - libtool
      - libltdl-dev
      - dpkg-dev
  coverity_scan:
    project:
      name: jgarzik/picocoin
    notification_email<EMAIL_ADDRESS>    build_command_prepend: "./autogen.sh; ./configure; make clean"
    build_command: make check
    branch_pattern: coverity_scan

before_install:
  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update && brew upgrade; fi

install:
  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install jansson; fi
  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install libevent; fi
  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install argp-standalone; fi
  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install openssl; fi
  - if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$ENABLE_COVERAGE" = "yes" ]; then brew install lcov; fi
  - if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$ENABLE_VALGRIND" = "yes" ]; then brew install valgrind; fi
  - if [ "$ENABLE_COVERAGE" = "yes" ]; then gem install coveralls-lcov; fi

before_script:
  - if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi
  - test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh

script:
  - OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST
  - if [ "$DEPLOY" != "yes" ]; then PICOCOIN_CONFIG_ALL="--prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib"; fi
  - ./configure --cache-file=config.cache --enable-coverage=$ENABLE_COVERAGE --enable-valgrind=$ENABLE_VALGRIND $PICOCOIN_CONFIG_ALL $PICOCOIN_CONFIG || ( cat config.log && false)
  - make -s $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && make $GOAL ; false )
  - export LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib
  - make $MAKEJOBS $BUILD

after_success:
  - if [ "$ENABLE_COVERAGE" = "yes" ]; then lcov --compat-libtool --directory . --capture --output-file coverage.info && coveralls-lcov coverage.info; fi

deploy:
  provider: releases
  api_key:
    secure: !!!!PLEASE ADD A KEY HERE!!!!!
  file_glob: true
  file: "picocoin*{tar.gz,deb}"
  skip_cleanup: true
  on:
    repo: jgarzik/picocoin
    tags: true
    condition: $DEPLOY = "yes"

This all seems to be working fine here: https://github.com/libbitc/libbitc/releases
Using the following travis config: https://github.com/libbitc/libbitc/blob/v0.0.1/.travis.yml
I also have a make pkg-rpm written but it currently isn't very useful with Travis CI at the moment.

Hi,
Travis CI seems to be running a bit slow today and two of the builds of this pull request have timed out because no output was received in a long time. Clicking "Restart job" should fix this,
Also, out of curiosity, I see the following in the .travis.yml file:
script:
  - OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST
  - if [ "$DEPLOY" != "yes" ]; then PICOCOIN_CONFIG_ALL="--prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib"; fi
  - ./configure --cache-file=config.cache --enable-coverage=$ENABLE_COVERAGE --enable-valgrind=$ENABLE_VALGRIND $PICOCOIN_CONFIG_ALL $PICOCOIN_CONFIG || ( cat config.log && false)
  - make -s $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && make $GOAL ; false )

What is the purpose of the $PICOCOIN_CONFIG and $GOAL variables and is it necessary to output the build to $OUTDIR?

Coverage decreased (-0.2%) to 79.231% when pulling f9142b8b39c35759881c897e8eaac779958b494c on libbitc:picocoin into 81bb7ab41eb1e73cbed71e923eab9d309d05558d on jgarzik:master.

Coverage decreased (-0.2%) to 79.231% when pulling f9142b8b39c35759881c897e8eaac779958b494c on libbitc:picocoin into 81bb7ab41eb1e73cbed71e923eab9d309d05558d on jgarzik:master.


PR link is rendered incorrectly for review comments

A comment is shown as nikhita commented on pull request kubernetes/kubernetes#47263.

For general comments in PRs (like https://github.com/kubernetes/kubernetes/pull/47263#issuecomment-321797634), kubernetes/kubernetes#47263 links correctly to https://github.com/kubernetes/kubernetes/pull/47263.

For review comments in PRs (like https://github.com/kubernetes/kubernetes/pull/47263#issuecomment-321797634), kubernetes/kubernetes#47263 links incorrectly to https://github.com/https://api.github.com/repos/kubernetes/kubernetes/pulls/47263.

Thanks for reporting this! It's fixed now and I've released a new version released with the fix.

@caseyscarborough Thanks for the quick fix! Also, thank you for such an awesome plugin! :)


Update API.service.js

This resolves issue #135

@santiagogg Oh, hey! Thanks for that :smile:

Hi @santiagogg
Thanks for this!
Would you please be able to explain how this would be useful? as I've never used the getList before
If you can just provide us with an example or so

It's seems like Dingo is handling the response and when the controller return an eloquent collection the json is encapsulating the array as in this example:
{
errors: false,
data: {
afiliados: [
{
id: "1",
nombre: "Mr. Oren Lemke",
nro_afiliado: "1685"
},
...
]
}

With that fix on the angular API service we are telling to restangular where to get the array.
Hope this helps!
and thanks for this repo :)

@santiagogg oh.. I guess that's the response macro
yes sounds great!
I just need to pull this in and run a quick tests
I'll try to merge this by tomorrow as I'm swamped with work
Thanks a lot!

:+1:  Thanks @jadjoubran

@jadjoubran Speaking of APIs... did my comment regarding passing the domain param to Dingo in the routes.php file make sense?
Otherwise, the authentication middleware would not work for me.

I would prefer avoid using dingo in the future. Laravel is making all that dingo provide really easy.

Hi @santiagogg
I pulled your branch and tried to make it work with a getList operation.. it actually breaks if you return an array from the backend..
Would you please be able to cater for this scenario?
Also it would be great if you can use the same variables presented in restangular's documentation (it'll make it much easier for other people to tinker with)
 RestangularProvider.addResponseInterceptor(function(data, operation, what, url, response, deferred) {
So Laravel 5.2 has some of these features? I believe you're talking about the 5.2 Auth features.. Feel free to open a new issue so we can further discuss this!
@shiruken1 Do you have API_PREFIX=api in your .env file?

Hi @santiagogg
Any update on this?
I'd love to merge this before 3.1 since this might be breaking for some people and 3.1 would be a great time to document this

Hi @jadjoubran, I didn't have time for this.
I'll have a look tomorrow.

I'll give this a shot once I get to where I'm flying to.

Hello, again! I tested this mod and it doesn't work for me either. It insists "respose.data" is undefined.
Sorry I didn't answer your question earlier, @jadjoubran, but yes. I have "API_PREFIX=api" in my .env, but even still, Dingo won't work without the 'domain'=>'localhost' (or whatever's appropriate) in my routes.php

@santiagogg I have to close this for inactivity..
Feel free to submit a fix for it as a new PR
Thank you!


never gonne give u up

📝 Changed routes:

/

(view full size)

Commit 3d8ffd337929eac8af547fcd53135591f21cf93e (https://thirdweb-inzy9u4h4.thirdweb-preview.com).


Training run - CUDA memory error

Hi there!
I was trying to run the training script for SemanticKITTI and got the following error repeatedly (my machine has multiple GPUs and I got the same error on all the GPUs individually when I set the respective GPU_ID).
root@my_docker_container:~/semKITTI/Cylinder3D# bash train.sh
train_cylinder_asym.py
Namespace(config_path='config/semantickitti.yaml')
[480 360  32]
  0%|          | 0/9565 [00:00<?, ?it/s]epoch 0 iter     0, loss: 3.946

  0%|          | 1/9565 [00:13<35:30:18, 13.36s/it]Traceback (most recent call last):
  File "train_cylinder_asym.py", line 169, in <module>
    main(args)
  File "train_cylinder_asym.py", line 137, in main
    loss.backward()
  File "/usr/local/lib/python3.6/dist-packages/torch/tensor.py", line 245, in backward
    torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
  File "/usr/local/lib/python3.6/dist-packages/torch/autograd/__init__.py", line 147, in backward
    allow_unreachable=True, accumulate_grad=True)  # allow_unreachable flag
RuntimeError: CUDA out of memory. Tried to allocate 844.00 MiB (GPU 0; 11.91 GiB total capacity; 9.64 GiB already allocated; 656.94 MiB free; 10.49 GiB reserved in total by PyTorch)
  0%|          | 1/9565 [00:14<39:11:05, 14.75s/it]

Seems like the dataset and configs are fine since it reads those in properly and starts the first epoch but then dies. Any idea what might be causing this? Thanks!

Temporarily got around this by setting batch_size = 1 for training in config/semantickitti.yaml. Training time increases significantly given the number of iterations per epoch and number of epochs required for training. I'm looking into trying nn.DistributedDataParallel to see if a multi-GPU approach can speed up training - https://github.com/xinge008/Cylinder3D/issues/22#issuecomment-860233376.


Added Flag Emojis

Thought I would post what I have done so far for feedback before wasting my time converting country names to demonyms, because that will take forever.
REF: #443
Luke mentioned in the above issue the possibility of adding flags to country tags.
I made a shell script that takes a tag name and gets an emoji for  that tag name... Technically it could be any tag if we choose to add emojis for other tags in the future, but it only consists of countries and their flags right now.
The shell script is executed automatically in the Makefile.
I took a list of countries from somewhere so the list is pretty huge and I have not converted country names to their demonyms yet. I have converted all of them that we currently have on this website though so that we can use it as is and see what it looks like.
This is what it looks like on the homepage:

This is what it looks like at the bottom of recipes:

(yes, I recognize that the flag I have for 'english' is not the flag of england, but apparently the flag of england is not that well supported, so the union jack is better than nothing).
If we like how this looks, I can continue doing the conversions. If not, then we can close this.
I also think it is probably overkill to have the huge list of countries that are listed.
Maybe it is enough to only have the countries that we actually use, and add them as we go.

Also... Quebec is not a country... so I don't know if we want to keep it as quebec for specificity, or change it to canadian... either way

Realized after making this PR that we could also use css instead of this script... ie
a[href='@american.html']:before {
    content: '🇺🇸 ';
}

And just add one of those for every flag we want. And if we go this route, then I'll just close this PR and make a new one


Light Limit Changer v2について | About the Light Limit Changer v2

以前より開発をしていたLight Limit Changer v2ですが、Boothにて有償販売をすることとなりました。
これは開発のコストの増加と、たくさんの依存（MA・lilToon・Poiyomi・UnlitWF）の変更に常に対応しなければならず、継続的な更新を続けることが大変になってきたからです。
そのため、販売をするためにLight Limit Changer v2のソースコードはプライベートにする他なく、実質的にOSSではなくなりました。
これは誰でもダウンロードできる状態で置いておくことは、不正な利用を認めることとなり、購入者に対してフェアではなくなってしまうからです。
ご理解いただきますようお願いいたします。
Light Limit Changer v1は、引き続きOSSですが、主な更新は重大なバグなどに限ります。
今まで翻訳に協力いただいた方には大変感謝しています。ありがとうございました。

We have been developing Light Limit Changer v2 for some time, but we have decided to sell it on Booth for a fee.
This is because the cost of development has increased and it has become difficult to keep up with the constant changes in many dependencies (MA, lilToon, Poiyomi, UnlitWF) and to keep updating it continuously.
Therefore, in order to sell it, we have no choice but to make the source code of Light Limit Changer v2 private, so it is no longer essentially OSS.
This is because leaving it available for anyone to download would mean allowing unauthorized use, which would not be fair to buyers.
We appreciate your understanding.
Light Limit Changer v1 will continue to be OSS, but major updates will be limited to important bugs, etc.
We are very grateful to everyone who has helped us with translations so far. Thank you very much.

This is because leaving it available for anyone to download would mean allowing unauthorized use, which would not be fair to buyers.

I'm also a buyer and I prefer to keep it open source, I DONATED for this purely to support OSS and your hard work. I'm sadly for the decision you made.
It turns out that I didn't want to contribute l10n text or any commits or bug reports to closed source software for now,  especially since it includes ONLINE DRM (LLC 2.0 alpha3) as a Unity tool. ONLIME DRM will block all users who are unable to connect to your server. Ironically, the github page that drives DRM is provided to OSS users for free.
By the way, LLC 2.0 alpha3 deleted all materials of my clothes, and I have absolutely no motivation to attach the debugger to analyze why the issue happend. I'll just roll back to the old version and wish you a great sale.
Maybe I'll consider continuing with LLC 2.0, but not right now.

I have been developing this OSS for the past two years, but the income I have earned is less than the cost of three days' part-time work.
This is income from donations I received as development support on Booth.
After this, I was planning to spend more on commissioning icons and other things for LLC2.
For this reason, I could not continue offering it for free and chose to make it a paid service.
I am still a student with no money, and I have devoted my precious student time to developing this OSS.
This is why I thought it would be difficult to continue as OSS.

especially since it includes ONLINE DRM (LLC 2.0 alpha3)

PLEASE remove this, thanks.

I understand that what you mean by DRM is the password authentication that was introduced in LLC2.
This was introduced to protect our legitimate rights as a seller, by allowing only those who have legitimately purchased from Booth to use it.
It's easy to remove, and now that it's a private repository, it's also possible to obfuscate the passphrase and include it in the software.
Would you be satisfied with changing it to offline authentication?

Would you be satisfied with changing it to offline authentication?

Since it is now private closed source commercial software, I don't want it to contain any form of DRM.


common.h should not be installing in /include directly

The low-level runtime headers, e.g. common.h, get installed in /include directly without a subdirectory, that calls from problems.
/cc @tuxfan

Really, the legion structure should be changed to something like:
legion/
headers (common.h, etc)
highlevel/ (this would replace the current 'legion' directory)
realm/
mappers/

@junghans Can you propose a change to the cmake build that implements this?  I'll learn how to use cmake one of these days...
The one stylistic change I'd make compared to @tuxfan's suggestion is to keep the legion headers just in legion/ instead of legion/highlevel/.  Most applications will only use those headers, so the "highlevel" part would be superfluous.

Sure, assign the issue to me!

This is now a Gentoo bug.

I pushed an initial workaround for this in 5a3a9c0471a1929a342fd86015ff065a4ff932e8. The longer-term answer is that all header files should belong to either legion or realm and moved into one of those two subdirectories. (I.e. there should not be any need for a hierarchical directory structure for headers.)

@elliottslaughter: Nice, can you guys make a new release, so that I can push the fix into Gentoo.

@junghans 17.05.0 has been released.

@junghans 17.05.0 has been released.

I got an email from Redhat's bugzilla, too ;-)


Avoid pre-commit download for every dev start

Description
Every pnpm dev makes a cURL request to download and setup pre-commit. The reason

pnpm dev triggers the predev script.
predev runs pnpm install.
pnpm install completes and runs the prepare script.
prepare invokes ./bin/install-pre-commit.sh.

Additional context

The flow is more-or-less reasonable, the install-pre-commit.sh script should ideally be a no-op if pre-commit is already present.

This issue is duplicated by #1971.


Use Jacobian to implement Gradient

/wpiformat

I'm a bit concerned about the extra copy in Gradient::Calculate(), but it doesn't seem to make a measurable difference in the benchmarks.


[BUG] Keydb cluster crash when cleaning up dirty slots which have keys evicted.

Describe the bug
After enabling fEvictToStorage, eviction logic only removes the cached value but the keys in g_pserver->cluster->slots_to_keys and g_pserver->cluster->slots_keys_count are not removed at all.
Therefore, when keydb cluster tries to use the following logic from delKeysInSlot to cleanup dirty_slots in cluster, the cluster will crash because doDelete wont delete a key which already evicted and the next serverAssert will crash the cluster.
if (fEvictToStorage)
            {
                // This key is in the storage so we only need to free the object
                dictEntry *deT;
                if (db->removeCachedValue(bestkey, &deT)) {
                    mem_freed += splazy->addEntry(db->dictUnsafeKeyOnly(), deT);
                    ckeysFailed = 0;
                }
                else {
                    delta = 0;
                    ckeysFailed++;
                    if (ckeysFailed > 1024)
                        goto cant_free;
                }
            }

/* Remove all the keys in the specified hash slot.
 * The number of removed items is returned. */
unsigned int delKeysInSlot(unsigned int hashslot) {
    serverAssert(GlobalLocksAcquired());

    raxIterator iter;
    int j = 0;
    unsigned char indexed[2];

    indexed[0] = (hashslot >> 8) & 0xff;
    indexed[1] = hashslot & 0xff;
    raxStart(&iter,g_pserver->cluster->slots_to_keys);
    while(g_pserver->cluster->slots_keys_count[hashslot]) {
        raxSeek(&iter,">=",indexed,2);
        raxNext(&iter);

        auto count = g_pserver->cluster->slots_keys_count[hashslot];
        robj *key = createStringObject((char*)iter.key+2,iter.key_len-2);
        dbDelete(g_pserver->db[0],key);
        serverAssert(count > g_pserver->cluster->slots_keys_count[hashslot]);   // we should have deleted something or we will be in an infinite loop
        decrRefCount(key);
        j++;
    }
    raxStop(&iter);
    return j;
}

A short description of the bug.
To reproduce
This can be reproduced by starting keydb cluster and enable fEvictToStorage.

Run memtier to load many data so that eviction logic will trigger to remove some keys in cache
Switch the slot ownership to another shard which should trigger dirty_slot clean up process and delete keys in the slot.
Keydb cluster crashed.

Steps to reproduce the behavior and/or a minimal code sample.
Expected behavior
A description of what you expected to happen.
Additional information
Any additional information that is relevant to the problem.

Close this issue for new. I need to revisit this one.


Updated example and description

Updated example description to match the new example and also added a build step to the example.

Thanks for the feedback and correction, @sinat101 !


TEST: Use nose2 for unit test framework. Add coverage for python and …

…cython code. Simplify ForwardInverseTest unit test class using nose2 parameterized decorator. Documentation for testing changes. Add a few lines to .gitignore for a few more files that should not end up in the repo.  Add documentation for coverage and testing. Small documentation cleanup.
Cython coverage doesn't work when not using included copy of PROJ.4--I can probably accept that.  README.md needs a little cleanup.
Not quiet ready to merge.

Now I'm ready for merging.

Self merged.


Get fluent version using string_eval

We have made self.version as a data member and assigned string_eval it to get fluent version.

@hpohekar I've incorporated the fix in #1182, you may close this PR.


Update vendor.conf for norman

In order to solve following issue, we need to use latest norman
repository. https://github.com/rancher/rancher/issues/15907 And then merge https://github.com/rancher/rancher/pull/15909

required norman version seems already merged into master, so let me close it


Enable fractional seconds for timestamps

I think this should allow us get a bit more granular w/ observed request & response timings. I haven't tested this end to end but wrote a script to validate the settings which looks correct.
import Foundation

let date = Date.init(timeIntervalSinceNow: 0)

let secondFormatter = ISO8601DateFormatter();
secondFormatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds];

let defaultFormatter = ISO8601DateFormatter();

print("Seconds: ")
print(secondFormatter.string(from:  date))
print("Default: ")
print(defaultFormatter.string(from: date))

Seconds:
2021-10-04T18:24:03.763Z
Default:
2021-10-04T18:24:03Z

This got included elsewhere


Envoy proxy throw invalid path error in docker swarm

i have three node clusters one manager two workers i am trying to route the services which is running on swarm mode by envoy proxy. To do so i have to pass configuration file on envoy which is also running on swarm mode so i have run
docker service create -d -p 8080:10000 --network=my-bridge --mount type=bind,src=/media/sf_envoy/envoy_proxy,dst=/etc/envoy/custom envoyproxy/envoy:v1.20-latest envoy -c /etc/envoy/custom/http.yaml
then it does not run any container. when i check by docker service logs SERVICE_ID it shows error invalid path /etc/envoy/custom/http.yaml
but when i run this
docker service create -d -p 8080:10000 --network=my-bridge --mount type=bind,src=/media/sf_envoy/envoy_proxy,dst=/etc/envoy/custom envoyproxy/envoy:v1.20-latest
then it start and to verify its mount i have enter into container and check it is successfully mounted and show everything stored in envoy_proxydirectory but it shows invalid path on above command

Envoy needs config inside container, you can try mount only config and test.

@daixiang0  as you can see i have passed config file but it throw error invalid config file


Unable to verify the first certificate

I am using download-cli in one of my npm scripts and try to download a file from a self signed https URL.
Unfortunately I get the error
unable to verify the first certificate

Is it possible to ignore that and to accept self signed certificates?

Update: I saw that it is not a self signed certificate. It is issued by my company and I have to import it our root certificate to my keychain. Then it should work.
Apart from this: would be an option to add an argument like in wget called --no-check-certificate or something like this?

Should be fixed in https://github.com/kevva/download/commit/559a6f5d576a9f8e3e929f2ae83f19cd14379ad9.


Remove drivers builds from pipeline

Description
This PR removes all drivers builds and workflows from the master GHA pipeline, including the construction of full images. Instead, the slim image is retagged. This will be undone later on when the notion of a full and slim image is completely deprecated from the product.
Checklist

[ ] Investigated and inspected CI test results
[ ] Updated documentation accordingly

Automated testing

[ ] Added unit tests
[ ] Added integration tests
[ ] Added regression tests

If any of these don't apply, please comment below.
Testing Performed
TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why you did not do so. (Valid reasons include "CI is sufficient" or "No testable changes")
In addition to reviewing your code, reviewers must also review your testing instructions, and make sure they are sufficient.
For more details, ref the Confluence page about this section.

I have tested the manifest creation changes with run-multiarch-builds label added and removed, and in both scenarios the manifests are created correctly. I'll leave the multiarch builds on now.

Closing now in favour of #1667


Add component in HACS

Soon I'm in a new house where Casambi lights are installed, so can't wait to start testing your component and help with development if required. Nevertheless, did you consider putting this component in HACS to make installation and updating easy for users? I could do the work if you want to too.

I have considered it, its still early day, gui configuration is not supported, etc.
But I am happy to accept PRs :)

I'll create a PR, I think it's just a matter of adding a hacs.json and a info.md. You don't need gui config, just use the existing config yaml.

Could you maybe release 0.0.2? Then HACS will pickup this release with the matching structure.

Thanks, just released a new version and it works fine. Made the instructions for HACS a bit more clear as well


Missing package in env

Feature that's missing
Error below found when running:
co2_data.plot_timeseries()
in Adding_observation_data.ipynb tutorial
ValueError: Mime type rendering requires nbformat>=4.2.0 but it is not installed
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
Additional code / helper functions
No response

Closed by #511


Make allowed component parameters explicit

This would be a bit of work, but the improvement to DX is definitely worth it IMO. At the moment, each time a developer wants to know which parameters a components create method will accept, of which type those should be and what constraints may be placed on them, they have to consult the docs as their IDE/editor will only be able to tell them that the component expects *children and **props.
This is tedious and error prone. Instead (in lieu of better solutions), each component should probably override the create method and explicitly state the expected parameters, which are then passed to the generic create method of the super class.

Yeah I've thought about this a bit - is there some way to magically inject this into the class's annotations?
In addition to the component-specific props, there are also many styling props which can be any CSS key. If we made a list of these styling props, it would be nice for them to also come up in the autocomplete for the props.

This links to #754, where I got off track when attempting to create CSS enums in order to only allow (at least somewhat) valid CSS strings to be passed to the component (tedious work which probably warrants its own library). Either way, that issue is irrelevant if the constrained types/enums are never actually used to type parameters.
I'm no expert in python magic and from what I read, one should avoid it where possible anyways. I think overriding the create method for each component class is the best solution here, but I'll happily stand corrected.

Mostly addressed by #1708 which adds generated .pyi files for most components, overriding the create method definition with the actual parameters and expected types. Subsequent follow-ups will include the event_triggers and style props. But those will be tracked via different issues. Closing this one for now.


Playbook for Reportinator Server

We need to configure an Ansible playbook for automating the deployment of our new Rust-based server, the Reportinator Server. The server automates moderation requests on the Nostr network and interfaces with Google Cloud PubSub for report publishing. The source code is hosted on GitHub: Reportinator Server.
Deployment Specifications:

Push-Based Deployment: Implement a push-based deployment process that triggers the deployment via Ansible upon any push to the main branch.
Docker and Google Cloud Credentials: The server deployment requires a Docker volume specifically for hosting the Google Cloud credentials file. This file must be mapped to an environment variable as outlined in our setup section.
Required Environment Variables:

RELAY_ADDRESSES_CSV: wss://relay.nos.social
REPORTINATOR_SECRET: Secret key for the Reportinator bot account.
GOOGLE_APPLICATION_CREDENTIALS: Path to the Google Cloud credentials file, indicating the Docker volume mapping.
SLACK_SIGNING_SECRET: Slack secret used to interact with the manual moderation channel.
Current Implementation:
The server currently does not depend on a database.
It listens for direct messages from the Nostr network as its input and publishes moderation reports to a Google PubSub topic as its output.
We are planning future integrations, including Slack notifications.
Action Items:

Set up an Ansible playbook that meets the described deployment specifications.
Ensure the playbook accommodates the Docker volume setup for Google Cloud credentials.
Automatic deployments through main branch.

@cooldracula I added SLACK_SIGNING_SECRET to the list of env vars

@cooldracula I added an entry for SSL termination for the /slack/interactions endpoint


license?

Thanks for taking the effort to create this wrapper!
Looks like there's no license declared on it—no license file in the repo, no license declared in Cargo.toml. Would you be willing to add one? fwiw, dual Apache 2.0 / MIT is common as mentioned here: https://rust-lang.github.io/api-guidelines/necessities.html#crate-and-its-dependencies-have-a-permissive-license-c-permissive

Sure, added the license in the recent commit. Thank you for your feedback!


add sample for raw_response_hook

#19978

@kristapratico . for now, custom_hook only support sync callback. :)

@kristapratico . for now, custom_hook only support sync callback. :)

I realized that right after I commented it 😄


Alter the README.md to fulfill the assignment guidelines

According to the project description we should provide an explaination (for developers!) about the code-structure and how the software can be used.

You may use shields.io for a nice outcome! 👀

I will look into it :)

I saw, that you already closed this issue!
The developer documentation should (as we were told and as I understand it) go into a little more detail about how the code is structured and works (i.e. a brief outline of how the main functions and files build on each other and work together).
That's why I reopened the issue. 😓
The current status is more suitable for #80 but the functions/settings that the user can use should also be explained more. (e.g. how exactly he can change the colony size or food size, not just that he can -> that he has to click on the pictures etc.)

okey, my idea would be to make a separate user and dev doc (#80) in addition to the readme where we go a bit more into detail.
I suppose we discuss what should be added or changed in general in the meeting later :)


Allow strings instead of symbols in the setter

Hey there!
Thanks a lot for this gem! I just discovered it today and it's fantastic! I just have one issue when trying to use forms (rails 7) and enummer.
This is my setup:
# models/member.rb
class Member < ApplicationRecord
  ...
  enummer dietary_restriction: %i[vegetarian vegan celiac lactose_intolerant nut_alergy]
  ...
end

Then, the form.
# _form.erb
<%= form.label :dietary_restriction %>
  <% Member.dietary_restriction.each do |dr| %>
    <%= form.check_box :dietary_restriction, {multiple: true, checked: form.object.send("#{dr}?")}, dr.to_s, '' %>
    <%= form.label :dietary_restriction, value: dr.to_s %>
  <% end %>
<% end %>

At the end, the members_controller try to do an update to the model, but the dietary_restriction is an array of strings, so it doesn't save anything. I had to add this method to the model:
# models/member.rb
class Member < ApplicationRecord
  ...
  enummer dietary_restriction: %i[vegetarian vegan celiac lactose_intolerant nut_alergy]
  before_save :fix_enummer

  def fix_enummer
    self.dietary_restriction.map!{ |dr| dr.to_sym }
  end
  ...
end

Hi @luctus, and thanks for reporting this! My use of enummer thus far has been rather limited (and I haven't actually done anything with forms yet) which is why this wasn't caught.
I'll try to find some time to fix this as soon as I can!

hey @shkm! did you have a chance to see the PR? thanks a lot!

hey @shkm! did you have a chance to see the PR? thanks a lot!

Thanks, super busy at the moment but I'll try to get to it on Sunday!

Thanks for the contribution; I"m closing this as it's now resolved -- https://github.com/shkm/enummer/pull/14

Amazing! thanks for this gem. It's everything I was looking for :)


how to show previous translate pop-up window

hjkl moved causing the translation window to disappear. could I only translate it again?

No such features in the preset.
If you want to keep the translated text, you can use a split window (-output=split) instead of a floating window.


json logs

this works in terms of kibana handling json correctly which is the goal.
note however, forego prepends each log line with it's own string describing the process which breaks truly strict json logs.
nginx.1    | {"time": "2016-06-21T19:13:37+00:00", "host": "some.example.com", "remote_addr": "<IP_ADDRESS>", "remote_user": "-", "body_bytes_sent": "7", "request_time": "0.001", "status": "200", "request": "GET /hi HTTP/1.1", "request_uri": "/hi", "request_method": "GET", "http_referrer": "-", "http_x_forwarded_for": "-", "http_user_agent": "curl/7.43.0"}

+1; nginx: the configuration file /root/nginx.conf syntax is ok

@aheckmann-pebble: I'll leave merging this one in (and it creating a new build on :latest) to you, so you can test and confirm what you need.


How to print PDF with HTML  tag color-background effect INSIDE A TABLE

First off, thank you for this fantastic plugin! It’s a huge help, especially since exporting notes to PDF with emoji or Twemoji via Pandoc can be quite complicated and doesn’t always work as expected. Additionally, maintaining outline structure in PDF is really convenient.
I'm a programming noob. From what I understand, Pandoc converts Markdown to LaTeX (which lacks native emoji support) before generating a PDF, which often causes issues. See Pandoc official description: https://pandoc.org/MANUAL.html#creating-a-pdf

In plugin settings, I have toggled on "Print Background" already.
My Problem:
So I try to export my note with HTML  tag code that include inline text with multiple background colors inside a table. Well,  background-color works fine with plain text, but not within a table after exporting. Here’s how it looks in the Obsidian preview:

P.S.: I tried using  tags instead, but it only highlights text with a single background color (yellow) rather than multiple colors after rendering or exporting:

Question:
Is it correct to assume that  type anything is unsupported inside a tale in the export?
My obsidian source mode:

Here is what I get after  backgoud-color typing exporting:

Or if there are any possible solutions I can get to display inline text background colors inside a table?

I also tried this Emoji from Obsidian markup to LaTeX via Pandoc #193, but it didn't work for me.

I also tried converting the note to HTML first and then to PDF, but it resulted in the outline structure being lost, which is not what I'm looking for.

谢谢啦 zfb支持了一下 😄

太客气了，感谢支持！Markdown 笔记文件是支持 HTML 片段的，背景颜色可以正常显示，没有复现你的问题，能提供下样例文件么?
New paragraph

| Header1                                        | Header2 |
| ---------------------------------------------- | ------- |
| 🐸R1C1                                         | R1C2    |
| 🐱R2C1 | R2C2    |
| 🐹R3C1 | R3C2    |

Highlights, annotations

highlights, annotations
tags
text

gold
👁🗨discern🪙Standard
highlight

red:
🆚comparison, contrast
❌Falsecontrast, comparison

green:
⚕condition🩺diagnosis💉Treatment♻mechanism
✅True

cyan:
🔤EngTerm
English terminologyterminology

purple:
🔢statistics🚪threshold

pink:
🧠Mnemonics
~abstract

orange:
🔑KEY POINTcomparison
review

grey:

🗒descriptions, insinuations

black:

✒text

@arieltutu 没有复现，奇怪

@arieltutu 没有复现，奇怪

排查了一下 应该是我装这个表格插件的原因 Sheets Extended 关掉就可以打印了


Server Lag with latest version.

Please bare with me . I haven't touch permissionsex since i first started my server 4 years ago.
So now ive gone 1.8.7 i was updating some plugins. One was Citizens Sentry. where i was finding the npcs were no longer attacking.
Anyway I googled , and found that to update vault and permissions plugin would solve this problem.
Which i did. now the npcs were doing what they were supposed to But there was some serious lag.
and the console telling me all kinds of issues regarding
"  [Server thread/WARN]: Invalid statistic in ./world/stats/ccdc0993-55e5-23f0-86bd-2e1eda65f94f.json: Don't know what stat.useItem.20 is " over and over.
The server was non responsive due to large lags.
I looked into perms yml found that players names were now UUID (which complicates things)
Is it a case I need to try another version?
or
stick to the old version and have unresponsive npcs?
Thanks for any help

The "Invalid statistic" issue is not related to PEX -- you'll have to look somewhere else to fix that.
You'll want to check something like WarmRoast or Akar's timings (on spigot -- take a look at their wiki for how to get that set up) to pin down what's causing the lag. Also you might want to try 1.23.2 on your server (disabling autoupdate) -- 1.23.3 reverts a change that improved performance for some people but caused the cache to not update correctly for others, so one of the two might work best.

Cheers. Thanks for your time


Multimodality

Hi,
Nice work,
I would like to get something to clarify about your results. When comparing to other methods on the ETH-UCY benchmark, do you consider multiple predicted trajectories (n=20), or does your method generate only a single trajectory?
I could not found that information on the paper.

Hello,
we reference Social-STGCNN https://github.com/abduallahmohamed/Social-STGCNN to compute the ADE/FDE. The code will be released in the next week.

Hi,
Nice work,
I would like to get something to clarify about your results. When comparing to other methods on the ETH-UCY benchmark, do you consider multiple predicted trajectories (n=20), or does your method generate only a single trajectory?
I could not found that information on the paper.

Hello,
we reference Social-STGCNN https://github.com/abduallahmohamed/Social-STGCNN to compute the ADE/FDE. The code will be released in the next week.


An empty database was copied into Documents folder

After including SQLite into my project and I added some code lines as below:
let path = NSSearchPathForDirectoriesInDomains(
.DocumentDirectory, .UserDomainMask, true).first!
print("path: (path)")
let dbPath = path + "/collo_dictionary.db"
print("==" + dbPath + "==")
let db = try Connection(dbPath)
let words_tb = Table("word_list")
let id = Expression("word_id")
let word = Expression("word")
let type = Expression("type")
let search_times = Expression("search_times")
let content = Expression("content")
    for w in db.prepare(words_tb) {
        print("id: \(w[id]), word: \(w[word]), type: \(w[type])")
        print("search times: \(w[search_times]),content: \(w[content])")
    }

I have an existed database file in my project, it name collo_dictionary.db. And I also add it into Build Phase tab.

After launching my app on a simulator Iphone 4. I got an error like this
fatal error: 'try!' expression unexpectedly raised an error: no such table: word_list: file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-7<IP_ADDRESS>/src/swift/stdlib/public/core/ErrorType.swift, line 50

-- Finally, I check the file in the Documents folder
Trungs-MacBook-Pro:Documents trunghuynh$ du  collo_dictionary.db
0	collo_dictionary.db
I was very surprised and dont know why my database is 0KB. Are there anythings I missed. Please help me. Moreover I use Swift 2 and Xcode 7

Hi there. Resources shipped with your app bundle don't actually show up in the Documents directory automatically—you'll need to write code to copy the bundle resource over. SQLite3 creates a new database file by default when you pass it a writable path. If you have questions about how to manage iOS app bundle resources, I'd recommend looking on Stack Overflow!

Closing this out as it doesn't seem to be a SQLite.swift bug, but rather a general iOS question. If you believe you've found a legitimate bug in SQLite.swift, please read over the contributing docs and provide a detailed, reproducible issue!


🚧 Archive app version 0.1.3

Description
The main purpose of this pull request is to archive the app at version 0.1.3.
Test Plan
N/A
Motivation and Context
A bug concerning the party mode icon crashing the app due to the Fontello font not being included was resolved. The user notifications view container was added back with the save settings functionality implemented.
How Has This Been Tested?
I tested this manually by going through the app to make sure everything was working just as it was before the update.
Types of Changes

[x] Documentation
Bug fix
[x] New feature
Breaking change

Checklist

[x] My code follows the code style of this project
[x] My change requires a change to the documentation
[x] I have updated the documentation accordingly

 Archive app version 0.1.3