Error occured when trying to enable quest

When starting the server, I get an error when it tries to enable quests
Here is what i get in the console:
[02:54:11 INFO]: [Quests] Enabling Quests v2.2.5
[02:54:11 ERROR]: Error occurred while enabling Quests v2.2.5 (Is it up to date?)
java.lang.NoClassDefFoundError: com/herocraftonline/heroes/Heroes
at me.blackvein.quests.Quests.linkOtherPlugins(Quests.java:419) ~[?:?]
at me.blackvein.quests.Quests.onEnable(Quests.java:184) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:356) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:316) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:402) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:370) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:325) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:505) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_72]
Caused by: java.lang.ClassNotFoundException: com.herocraftonline.heroes.Heroes
at java.net.URLClassLoader$1.run(URLClassLoader.java:366) ~[?:1.7.0_72]
at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[?:1.7.0_72]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_72]
at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[?:1.7.0_72]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_72]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_72]
... 13 more

Heroes integration looks broken. Would you mind starting up without Heroes to confirm?

yeah that was the problem, it works now, thank you for the support

Much appreciated!

now it seems that none of the npcs are clickable like they used to be. There is also in not any errors spamming when i try right clicking so I'm not sure what could be causing that

I loaded in my old quest.yml from the original quest plugin along with the data and all the support files

Thanks. For you other issue, follow the directions on the Spigot page, in the Overview tab.
Leaving this ticket open until I can attempt to fix Heroes support. If you have any new issues, please create a new ticket.

alright should have done that in the first place, sorry to be a bother, but once again thanks for the support have a good day

The version of heroes that you are using -<IP_ADDRESS> despite being "versionless" will still gets a heap of errors when your attempting to run it with some sort of compatibility with other plugins.
At best you would have to run spigot 1.7.9 and then whatever other plugins with their respective 1.7.9 spigot versions as most plugins read and run differently on 1.8 spigot.
You might get lucky and find a few 1.8 spigot plugins that still have compatibility with heroes and attempt to stay at 1.8 spigot.
The lead dev of heroes did say just last Wednesday that they are having show stopping bugs (enchanting system, skill issues) and other things preventing them from 1.8 and are openly looking for devs to volunteer time/knowledge.

It seems to me that the issue is on Heroes' end. Their issue tracker seems to be down so I posted a comment in the link below. Please upvote it if you have a Spigot account! :)
http://www.spigotmc.org/threads/heroes-rpg.10094/page-8#post-590550

It seems as though Heroes disables itself on-startup with the latest Spigot builds, which causes the OP's error. Until Heroes is updated, there's nothing I can do. Marking as 'help wanted' for now.

@FlyingPikachu
You had said "Thanks. For your other issue, follow the directions on the Spigot page, in the Overview tab."
Which I believe was in response to the "not being able to right-click NPCs" problem. If that's correct then I went up and down the Overview page and saw nothing that pertained to that, even read the comments. I know one of your updates (2.3.2 was it?) addressed that, but unfortunately it didn't fix it for my server. Even having the option to take quests via command for those which have an NPC being enabled is not quite solving the issue completely, as some quests require you to talk to an NPC or deliver something, and they are unable to. Up until recently I know that a lot of problems my players had, are not ones I could reproduce myself; however, this one afflicts me as well since even I'm unable to interact with quest-giving NPCs :\
Should I make a new issue post?
Is this also related to my server using Java 1.7?
(Note: I have not updated to 1.8.3 either, on account of a couple of our main plugins breaking with that version of CraftBukkit. I'm using approximately the Feb 22nd release of CB1.8 R0.1)

@Formula350 I think I was talking about the Updating to 2.0.0 info, but I can't recall. Yes, please open a new issue.

@Leescar has pointed out that there is a new Heroes build: http://www.spigotmc.org/resources/heroes-rpg.305/update?update=21623
@BinaryGh0st Please test that build and let us know if the error persists! :)

Assuming the new Heroes build is working. If not, feel free to open a new issue.


Break out firmware into multiple classes.

This PR breaks out the firmware into many different classes, based on functionality.  Highlights are:

Classes are based roughly on functionality, it has a pretty clear dependency chain.
Consolidated most of the #defines into a new file, Configuration.h, and used values for each #define to avoid having uncompiled code (a common source of errors).
Everything is clang-formatted based on Google style.  To also format using clang, you'll need to install it from here.
Each class is relatively small and more-or-less a copy-paste from he original code, except for E-TKT  and Network, which were both significantly reworked.  I think this will make it easier to adapt to different hardware in the future, if desired.
Network.h handles both the server and WiFi stuff.  Each command (cut, reel, tag, etc) has been broken out into its own api handler with its own validation.
ETKT.h is where all the logic for handling commands now lives.  I also change the concurrency model to have the webserver enqueue a command to be run and then the device processes it by waiting for a signal in loop() (no more tasks deleting themselves).  I think this will work better if we move forward with handling a print queue, it would be almost trivial to implement now.  As a side effect, I believe I've also resolved any potential concurrency bugs that could be caused by using the API directly.
Carousel.h and Character.h have been added and written in a way that I think will make it easy to add different character sets if desired.

So, this PR is HUGE.  I re-wrote literally all the C++.  I've tested each function on my own and worked out all the little bugs I introduced (I think), but I'd appreciate if you could run this through its paces on your setup.  I wasn't able to find anywhere this behaves differently than the original firmware, but its hard to know for sure.
If you have any feedback on the divisions of responsibility, file structure, anything, I'd be happy to integrate it.  I'm no married to any decision, these just seemed like the best choices to make based on my experience, so its all subjective and flexible.  Just let me know.

Just pushed a fix for another bug I created accidentally while refactoring, incorrect progress numbers.
I also wanted to mention that I don't have a lot of experience with C++ specifically compared to other languages, so a lot of this change is based on lessons from other languages or just how I've seen others do it.  I should till be able to justify anything I'm proposing, though.

Amazing @sabeechen !
I'm reading here, mostly to learn (I never use OOP, but always wanted to) and also to keep up with the changes.
If you don't mind, I think that instead of "Carousel", we should use "DaisyWheel" as a naming convention.
I already renamed everything and was already planning to commit from here, what do you think?

I fixed another bug I found, printer would crash instead of reporting busy when it receives a command while printing.  I also added some information in the /api/status response to report memory usage and uptime.
I've got my printer set up to print a random tag every minute and I'm logging its memory usage and uptime.  I plant to let it run like that for maybe a few days to see if I accidentally introduced any kind of memory leak with this change.  I want this firmware to be rock solid.

Yup I'm fine with that (Carousel -> DaisyWheel), I think you can just push directly to this PR but if not I'll figure out how to set that up.

I'm curious: how are you profiling the memory?

The ESP32 has some built in methods that I'm returning in the /api/status query  that give coarse indicators for memory available and heap fragmentation.  If you didn't know, heap fragmentation is when there is memory free but its broken into chunks so tiny they're basically unusable (I can explain further if desired).
I'm using Home Assistant to request a random tag every minute over the API and then every 20 seconds I have it configured to scrape the status endpoint for memory usage and uptime.  Home Assistant has good functionality built-in to save a history of such values.  I've only had it running for an hour or so but it looks good so far.

Really cool. I think I got it, just like Tetris, we want everything fitting together 😄
I just made a few micro adjusts on the descriptions while figuring out the changes. See what you think, I just sided with the more objective ones you made.
Do you want to finish your test before merging?

Maybe wait a day?  I just need it to go long enough to establish a clear trend.  Its already simulated more tags than anyone could ever need so I would expect problems to show up quickly, or at least quickly compared to most memory leaks.

Alright, neat!

I've been running the test for many hours and not seen any indication of memory problems, so I think were good on that front.
I however now notice that my character and finish LED's aren't lighting up during printing.  Mine have never worked right, I think I switched their polarity at some point and fried them or the cables got mangled during my many reassembly adventures.
Looking at the code now it looks like analogWrite is being used to set the brightness values.  Its my understanding that this won't do PWM brightness control for them because LED's require a constant voltage to function, and they should actually be controlled using the ledc methods as this guide describes.
Maybe it shouldn't block this PR if its working the same way as before (I don't think I changed how they write values), but could you fact check me on this?  IIUC the led's should never have functioned using analogWrite.  If they're still working the same on your machine with this firmware it can be fixed later.

In the world of arduino “analogWrite” does PWM when it targets a non analogOutput pin (DAC) so that should be fine.
In regards to memory, heap and stack there is a nice write up from Adafruit .

@sabeechen good news about the tests! And @Knochi thanks for the article, I'll take a look ;)
Now, strange about the LEDs. Mine here been working nicely.
If you switched the LEDs polarity and the supplied voltage is correct (ESP will only output 3.3V, so pretty safe) you will surely not have it damaged as it is a diode. Also, it should not conduct current in the opposite direction up to maybe 5V? Check a datasheet for a similar white LED reverse voltage (Vr).
You can visually test LEDs with a multimeter in the continuity test (diode) mode, it will supply the power needed.
LEDs work with an optimal fixed voltage (incl. assuring optical specs consistence). Then by varying the on/off cycle we have a optical illusion of brightness variance. You can see this trick visually when trying to use lower PWM values (say, less than 50 out of 255). If you move the LED around, you can see the fast blinking as the persistence of vision will not be so — persistent — meaning photons will not hit the same place in your retina and meaning separate and weaker impressions.
Check out the expected behavior for E-TKT LEDs:
Before:

character LED: off
finish LED: off

During — feed:

character LED: partial brightness (just to see the )
finish LED: off

During — press:

character LED: full brightness
finish LED: off

Finish:

character LED: off
finish LED: blink, then keep fully on, then fade away gradually

I'm checking out the ledc methods. It seems that the analogWrite should not be working with ESP32. Until now, it has, I'm a bit confused now 🤔
I will test your fork here in my E-TKT to see if we are in the same page.

Yup, tested here and no LEDs!
This was the reason:

Tested here and it works perfectly with the analogWrite. Maybe this is because of the Arduino for ESP32, maybe it handles it under the hood..
However, some bugs have arisen:

after printing a label, the ledChar stays half on
on feed, the ledFinish stays on half on

I will take a look here, nice exercise to start working with the new structure

I did a little digging, this behavior didnt make sense to me.

In the world of arduino “analogWrite” does PWM when it targets a non analogOutput pin (DAC) so that should be fine.

I think that only applies to the "official" Arduino board definitions (ATmega, etc), it looks like the esp32 arduino board definition doesn't even include an analogWrite() method, at least there isn't one in the version this project currently uses (I didn't check others)

I'm checking out the ledc methods. It seems that the analogWrite should not be working with ESP32. Until now, it has, I'm a bit confused now 🤔

The analogWrite the E-TKT is using actually gets defined by the ESP32Servo library here.  It looks like it sets up some default ledc parameters when used to try to mimic the way analogWrite works with the official Arduino library.  That would explain why it still works.  The ESP32's internal PMW timers have some finicky limitations, so id still like to do more digging here, but it seems to be working.  At the very least we should be able to get better than 256 levels of PWM (a future change maybe).

I will take a look here, nice exercise to start working with the new structure

Thanks for that, based on what I'm seeing on my board I can't test the LED's properly yet (I'll sort it out eventually).  If you're seeing correct bahevior on your board with your changes I'd call this PR done.

Alright and thanks for the explanation, now it makes sense!
And great job on the refactoring, it has been a great opportunity for me to learn!
If you want to discuss a more about and/or have some help on the LED, we can continue on an issue 😉


Add clustering example in README

Coverage increased (+0.2%) to 88.711% when pulling dbfa9a713a213bf136f33cf9e271b6c7167ad396 on update_readme_with_cluster_example into 36689b03c850d7949b58846f641dacb945736c1c on master.


Fix failure message for all matchers

I found that this failure message looks more verbose and doesn`t raise errors on failure
Failure/Error: "#{policy.class} does not permit #{action} on #{policy.record} for " \
 NoMethodError:
   undefined method `record' for #<LayoutPolicy:0x007f9b382e0510>

what do you think about it?

Yes, I think this is a good solution. The test writer can debug the spec manually if they need to inspect the properties of the record.


[Question] weird behavior with wrong system Time defined on client

Hi !
I had issues connecting to my oidc server (IS4) : read web client app using redux-oidc acted like user was not connected even if I was correctly logged on IS4.
OIDC workflow went fine but session storage was empty (no token).
After investigating we found that the time was not property configured on the client side computer.
I don't get why it caused issues with the library, I guess it has to do with the state / nonce control checks but as they are unaltered by the server, can you point out what in the library could cause this ?
Thanks

Hi!
This seems related to oidc-client. If your issue persists, please consider raising an issue there.


how to parse utf8 token?

it will be good to provide a way to modify the input string position. when it encounter a utf8 byte, check the utf8 length, then move the input string position by the length.

Logos already supports unicode by breaking out unicode ranges into byte ranges internally. if you need the length of the parsed token use lexer.span().end - lexer.span().start.

seems already supported


Errors in the linked GroZi 3.2k dataset

I have noticed that the linked GroZi3.2k dataset contains many errors. More specifically, the filenames in TrainingFiles.txt do not all correspond with the files inside the Training directory. For example, all the images in Training/Food/Bakery/ have a food_-prefix that is not present in the filenames mentioned in TrainingFiles.txt. Also, many JPG-files are actually .DS_Store files (e.g. Training/Food/Bakery/food_2.jpg).
I would suggest to change the link to this one: https://drive.google.com/file/d/1vvB1hvKhr4pE8zUpPImlogA6kof-kLVN/view (credits to @AlessioTonioni, I got the link from his personal website). It contains two extra directories with extra annotations, as described in his paper, but the original data from GroZi3.2k as developed by Marian George is untouched.

I found a single inconsistency: Training/Food/Jars-Cans/Spices/113.jpg in Tonioni's GroZi-3.2k should be renamed to Training/Food/Jars-Cans/Spices/113.jpeg to make it consistent with TrainingFiles.txt.


[Feat] : Auto Commenting feature for PR Raised

This feature aims to address the problem of delayed and inconsistent communication following the raising of PRs. By automatically commenting on PRs as soon as they are raised, it ensures that contributors receive immediate feedback and acknowledgment for their efforts. This fosters a positive and supportive environment for collaboration, encouraging continued participation and engagement from contributors.

@sk66641 please assign me this issue

@sk66641 please assign me this issue

@sk66641 can you please change the label name it must be 'level2' instead of 'label2'
Thank you!


Better compression for Projections traces

Original issue: https://charm.cs.illinois.edu/redmine/issues/72

In recent years, many new generic compression libraries (e.g. bzip2, xz, lzma, zopfli (gzip-compatible output!)) have become available offering better performance and/or compression ratios than libz. We should give them a try and see whether we can benefit from any of them. In particular, it will be important to see how additional compression time trades off with reduced write time. Other factors to consider include memory usage and library availability.

Original author: Nikhil Jain
Original date: 2014-01-06 04:33:21

Osman, what did you find on this one? Worth pursuing or should be issue be dropped?


DOC: Not all stats distributions have tutorials

Not all stats distributions have tutorials.   Here's a list of missing ones.  [Since the terms frechet_l and frechet_r are deprecated, they don't need a tutorial, but the others probably do.]
python -c "import operator, scipy.stats; print(' '.join(['doc/source/tutorial/stats/continuous_' + dst + '.rst' for dst in sorted(set(map(operator.itemgetter(0), scipy.stats._distr_params.distcont)))]))" | xargs ls -1 2>&1 | fgrep "No such" |   awk '{print $2}'

doc/source/tutorial/stats/continuous_argus.rst:
doc/source/tutorial/stats/continuous_crystalball.rst:
doc/source/tutorial/stats/continuous_exponnorm.rst:
doc/source/tutorial/stats/continuous_frechet_l.rst:
doc/source/tutorial/stats/continuous_frechet_r.rst:
doc/source/tutorial/stats/continuous_halfgennorm.rst:
doc/source/tutorial/stats/continuous_kappa3.rst:
doc/source/tutorial/stats/continuous_kappa4.rst:
doc/source/tutorial/stats/continuous_levy_stable.rst:
doc/source/tutorial/stats/continuous_moyal.rst:
doc/source/tutorial/stats/continuous_pearson3.rst:
doc/source/tutorial/stats/continuous_skewnorm.rst:
doc/source/tutorial/stats/continuous_vonmises_line.rst:

Scipy/Numpy/Python version information:
1.3.0.dev0+f89a187 1.16.0 sys.version_info(major=3, minor=6, micro=6, releaselevel='final', serial=0)

@pvanmulbregt there are also discrete distributions that do not have tutorial pages either.
(scipy-dev) Lucass-MacBook:stats rlucas$ python -c "import operator, scipy.stats; print(' '.join(['doc/source/tutorial/stats/discrete_' + dst + '.rst' for dst in sorted(set(map(operator.itemgetter(0), scipy.stats._distr_params.distdiscrete)))]))" | xargs ls -1 2>&1 | fgrep "No such" |   awk '{print $2}'
doc/source/tutorial/stats/discrete_bernoulli.rst:
doc/source/tutorial/stats/discrete_binom.rst:
doc/source/tutorial/stats/discrete_boltzmann.rst:
doc/source/tutorial/stats/discrete_dlaplace.rst:
doc/source/tutorial/stats/discrete_geom.rst:
doc/source/tutorial/stats/discrete_hypergeom.rst:
doc/source/tutorial/stats/discrete_logser.rst:
doc/source/tutorial/stats/discrete_nbinom.rst:
doc/source/tutorial/stats/discrete_planck.rst:
doc/source/tutorial/stats/discrete_poisson.rst:
doc/source/tutorial/stats/discrete_randint.rst:
doc/source/tutorial/stats/discrete_skellam.rst:
doc/source/tutorial/stats/discrete_yulesimon.rst:
doc/source/tutorial/stats/discrete_zipf.rst:

Also, I am the author of yulesimon so I should be blamed (and will add) for that lack of doc.

@chrisb83 I understand your point.  I do think there is value to them, in that they

explicitly state the distribution (which may be referred to with other names, or have a different meaning to some other uses of the same name)
explicitly state the parameterization used
do so in a consistent manner
provide the information in a static location, independent of book references such as JKB which are not so easily used today.

@rlucas7 It's very easy to skip this tutorial step, not even realizing it is a thing.  There are at least 7 steps to add a new distribution, some of which are enumerated in gh-7212.

Probably it is a good idea to summarize some of the points that are expected to explained in the tutorial file when adding a distribution. I would argue that most of the points you mentioned above should be added to the API description.
Describing alternative parametrizations might be the most important point, for instance, involving the scale parameter. Here a tutorial that explains the details would be nice. At the moment, it looks like a collection of formulae for cdf, pdf, moments etc

Related discussion: #7191


Uninstalltion

Could you please help me to uninstall spdylay?

If you have installed spdylay from source (i.e., make install), then make uninstall will do the job.
If you are using packaged version, like .deb or .rpm, or something, refer to the packaging tool manual.

Thank you very much.


🐞 [Bug]: Grid client integration tests is failing

What happened?
The workflow has been failing for the past few days.
https://github.com/threefoldtech/tfgrid-sdk-go/actions/workflows/grid-client-integration.yml
And going through the workflow history, it looks like it has been passing and failing randomly.
which network/s did you face the problem on?
Dev, QA, Test, Main
Twin ID/s
No response
Version
No response
Node ID/s
No response
Farm ID/s
No response
Contract ID/s
No response
Relevant log output
.

And there is one workflow that has been stuck like this for 2 days now.
https://github.com/threefoldtech/tfgrid-sdk-go/actions/runs/9441928820/job/26118127195#step:6:1

Will investigate a way to make sure nodes are functional and working (deployments work fine)

Failed on version:

https://github.com/threefoldtech/tfgrid-sdk-go/actions/runs/11817833732/job/32924078949


WIP Add Sphinx docs and GitHub Pages

Summary and Scope
Issue Type

Docs Pull Request

Add an initial Sphinx documentation framework and a GitHub workflow to auto-publish GitHub pages.
https://cray-hpe.github.io/libCSM/
Preview:

NOTE This could be improved to only build on tags, and/or version the documentation. For now this application is pretty new and just having documentation seemed like a good idea.
Prerequisites

[ ] I have included documentation in my PR (or it is not required).
[ ] I have added unit tests for my code.

Idempotency

Risks and Mitigations

I'm going to migrate more of the README.adoc items into the docs/ folder before taking this out of "WIP".


⚠ Cioos Pacific CKAN Sitemap has degraded performance

In 3aab859, Cioos Pacific CKAN Sitemap (https://catalogue.cioospacific.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 8048 ms

Resolved: Cioos Pacific CKAN Sitemap performance has improved in a3a163b after 45 minutes.


PATH problems...

My Sublime Text is spewing out:
SublimeLinter: WARNING: csslint deactivated, cannot locate 'csslint'
SublimeLinter: WARNING: jshint deactivated, cannot locate 'jshint'
But I have it... https://imgur.com/a/4cQbm What am I doing wrong? Even the system / user PATH is set https://i.imgur.com/PkZEr05.png
I also did npm install -g csslint jshint . The user settings of sublimelinter is the default one: http://hastebin.com/vahikonodi.cpp
Even validation say's it's correct: https://i.imgur.com/45hJwh1.png
What do?

Solved. Sublime Text has to be started with admin rights.


Authentication with BOT

Hi,
I have put my bot on webchat. no authentication as of. Now I want to add authentication.
We have microsoftonline authentication for our website. I want to put bot on this website. so as soon as I say Hi to Bot, he will recognize my name and reply me with my name.
Any suggestion how should I go ahead. I want to pass token from our website to bot.
Most of examples which I saw, are like give user a link to click, get authenticated and return to bot.
But, what if Bot channel is website and user is already logged on to website, then bot asking user to sign in again doesnt sound good idea to me, so this question is here.
I know this is quite open ended question. please suggest.
Regards,
Ashay

hi @ashay-88
Check out AuthBot it's a great way to integrate AAD or any other form of OAuth in to your bot!

Hi @brandonh-msft
I checked this sample. This one asks users to go to particular page to sign in and then returns magic number and resumes. What if I have already signed on to my website, which has this bot. My bot  as web as channel.
Is this doable?

Any equivalent for this on Node.js? thanks

any information?

cc @matvelloso

The next version of the web chat control will allow that. But not this one. Today the only way you could achieve this experience is by custom building your web control over directLine channel, then injecting whatever parameters via javascript into the channelData

@slidenerd I'm working on a nodejs equivalent.  Would love your feedback.  https://github.com/mattdot/botauth/

@dandriscoll or @matvelloso can you comment or close as appropriate?

Hi @ashay-88, we've released a new OSS web chat control you can clone and host in your own webpage. You can pass in a user ID and other data, all of which is sent directly to your bot. More details at https://github.com/Microsoft/BotFramework-WebChat

Let me add a little more detail about this scenario. @dandriscoll is right that our new WebChat control opens the door to this functionality.
The situation as I understand it is that your web page has an embedded WebChat control which is communicating with your bot. The page already has an authentication token and you want to send it to the bot. This is a much-requested scenario, and we are working hard to provide first class support for it, but right now it is a very manual process.
At the moment you will not be able to do this using the WebChat channel, which embeds a WebChat control via IFRAME. You will instead need to embed the control inline using the OSS WebChat project Dan referenced. Here are some light instructions for React and non-React websites. In both cases you create a DirectLine object (let's call it dl) which is passed to the chat control. This object does the actual communication with your bot, and you can use it to send messages using JavaScript outside of the chat control by calling:
dl.postActivity({type:"message", from: {id: /* user id you provide */}, text:"auth", channelData: {auth: /* auth token you provide */}});

Your bot will need to specifically look for a message with the text "auth" and then pull the auth token out of message.sourceEvent["auth"]. You can of course rename the message text and/or channelData field to anything you like.
I hope this helps.

Thanks @dandriscoll  I am checking that control now.  Thanks @billba for your brief details..,much useful, appreciated.

Closing due to age. Please feel free to at-mention or open a new issue if you'd like to discuss further.


Ansible request for Sles12sp5 update to playbook and missing systemtap-sdt-devel

Please put the name of the software product (and affected platforms if relevant) in the title of this issue

[ ] Missing install
[x] Bug in ansible playbook
[ ] Request for new playbook addition

Details:
Not so much a bug per se, but things have changed and the playbook won't currently run on Sles12 because the zypper_repository task in roles/Common/tasks/SLES.yml is looking for https://download.opensuse.org/repositories/devel:/tools/SLE_12_SP4/, which no longer exists, and only SLE_12_SP5 is still available for Sles12.
However, once this is changed to be SLE_12_SP5, it then fails to install systemtap-sdt-devel because this package has now disappeared from SLE_12_SP5 (although according to #1033, it was present in SLE_12_SP4).
It is still present in the SLES15 repositories, so my current plan is to remove the package from the Build_Tool_Packages list in roles/Common/vars/SLES.yml and move it to Additional_Build_Tools_SLES15 instead.
I've been unable to find why the package has been removed though, and whether it's now available elsewhere or should be replaced with somewhere else, so could do with some advice on whether any further handling is required please.

https://sourceware.org/systemtap/
As far as I know, systemtap-sdt-devel isn't necessary to the building of JDKs (can you confirm, @sxa?) It appears to just be a debugging tool, which, while probably useful, isn't the be all and end all.
Looking at the inventory.yml and https://ci.adoptopenjdk.net/computer/ , we appear to only have 1 SLES12 s390x machine ( https://ci.adoptopenjdk.net/computer/test-marist-sles12-s390x-1/ ), and we don't test for it in VPC - we used to test for openSUSE 12.3, but that was removed for some reason that I can't find right now :-)

https://sourceware.org/systemtap/
As far as I know, systemtap-sdt-devel isn't necessary to the building of JDKs (can you confirm, @sxa?) It appears to just be a debugging tool, which, while probably useful, isn't the be all and end all.
Looking at the inventory.yml and https://ci.adoptopenjdk.net/computer/ , we appear to only have 1 SLES12 s390x machine ( https://ci.adoptopenjdk.net/computer/test-marist-sles12-s390x-1/ ), and we don't test for it in VPC - we used to test for openSUSE 12.3, but that was removed for some reason that I can't find right now :-)

Fixed as of #1823

Fixed as of #1823


Documentation and examples?

Dear authors,
Thank you for releasing this work! It's indeed very interesting and impressive. I wonder if you plan on releasing examples/documentation/tutorials in the near future?
Best

Hi @McMvMc,
We just made the website with documentation and tutorials public: https://facebookresearch.github.io/DRTK/
More content will added in the coming days.


[WIP] Client batching

Draft PR
This is a quick take on #489, just for testing the concept and the API.
Overview:
var batch_logical = try client.get_batch(
    operation,
    @intCast(u32, payload.len),
);

// Write the payload to batch_logical.slice().
// ...

client.submit_batch(
    user_data,
    on_complete,
    batch_logical,
);

1. Errors returned on get_batch.
pub const Error = error{
    BatchSizeZero,
    TooMuchData,
    TooManyOutstandingRequests,
};

Previously TooManyOutstandingRequests was notified via callback during request, but now we may have to check during get_batch if there is room for more requests.
Since BatchLogical is short-lived and the caller isn't responsible for acquiring/releasing a message anymore, they can't handle this error correctly via callback.
2. Functions get_batch + submit_batch replaces request.
This works well, but we must guarantee that no operation can ever be done between get_batch and submit_batch (eg tick or run_for_ns).

Looking for more asserts or a better API.

3. LogicalBatch generic over operation.
It didn't work well, it would involve too much code refactoring for all callers to know operation during comptime.
4. New struct Demux and friends.
Each logical batch user_data+callback+offset+size is saved in a linked list of Demux pre-allocated during the client initialization.
We know the theoretical limit of how many logical batches a client can ever make in the case of submitting only single-event batches (max_client_requests * batch_max.<operation>), but it seems odd, and can be wasteful to alloc that amount of memory:
40 bytes per demux * 32 * 8191 = ~10MB of memory!

Also, I'm not happy with the names Demux, DemuxList and DemuxPool

5. How can we demux lookup_accounts and lookup_transfers results?
Demuxing create_accounts and create_transfers results was just a matter of recalculating the offset index.
Lookups operations however, contain no information relating the request to the reply (except if we inspect the request body, but it's too intrusive and can be slow).
6. Tests and benchmarks that take advantage of batching.
No implemented yet, it's just the minimal implementation required to run the current benchmark program.
Pre-merge checklist
Performance:

[X] Compare zig benchmark on linux before and after this pr.

Only measurement noise, but seems that demuxing has little effect on 1:1 logical->physical batches
# benchmark results before
1223 batches in 144.98 s
load offered = 1000000 tx/s
load accepted = 68977 tx/s
batch latency p00 = 5 ms
batch latency p10 = 37 ms
batch latency p20 = 37 ms
batch latency p30 = 42 ms
batch latency p40 = 42 ms
batch latency p50 = 47 ms
batch latency p60 = 47 ms
batch latency p70 = 52 ms
batch latency p80 = 53 ms
batch latency p90 = 75 ms
batch latency p100 = 7495 ms
transfer latency p00 = 5 ms
transfer latency p10 = 3523 ms
transfer latency p20 = 14378 ms
transfer latency p30 = 27684 ms
transfer latency p40 = 38379 ms
transfer latency p50 = 54594 ms
transfer latency p60 = 70174 ms
transfer latency p70 = 84610 ms
transfer latency p80 = 101078 ms
transfer latency p90 = 118514 ms
transfer latency p100 = 134947 ms

# benchmark results after
1223 batches in 142.96 s
load offered = 1000000 tx/s
load accepted = 69950 tx/s
batch latency p00 = 5 ms
batch latency p10 = 37 ms
batch latency p20 = 42 ms
batch latency p30 = 42 ms
batch latency p40 = 42 ms
batch latency p50 = 47 ms
batch latency p60 = 48 ms
batch latency p70 = 52 ms
batch latency p80 = 57 ms
batch latency p90 = 74 ms
batch latency p100 = 6025 ms
transfer latency p00 = 5 ms
transfer latency p10 = 3530 ms
transfer latency p20 = 12143 ms
transfer latency p30 = 26805 ms
transfer latency p40 = 38004 ms
transfer latency p50 = 51972 ms
transfer latency p60 = 67521 ms
transfer latency p70 = 82947 ms
transfer latency p80 = 98978 ms
transfer latency p90 = 116611 ms
transfer latency p100 = 132931 ms

In the last commit, I implemented enough to run the Java client tests (including integration tests).
So, I could run a simple benchmark to measure the creation of 1_000 async transfers (one per task)
Before:
Time for 1000 transactions: 3022 ms

After (with batching)
Time for 1000 transactions: 68 ms

Source code:
final int tasks_qty = 1_000;

try (var client = new Client(0, new String[] {Server.TB_PORT}, tasks_qty)) {
    var errors = client.createAccounts(accounts);
    assertTrue(errors.getLength() == 0);

    var now = System.currentTimeMillis();
    final var tasks = new CompletableFuture[tasks_qty];
    for (int i = 0; i < tasks_qty; i++) {

        final var transfers = new TransferBatch(1);
        transfers.add();

        transfers.setId(UInt128.asBytes(UUID.randomUUID()));
        transfers.setCreditAccountId(account1Id);
        transfers.setDebitAccountId(account2Id);
        transfers.setLedger(720);
        transfers.setCode((short) 1);
        transfers.setAmount(100);

        // Starting async batch
        tasks[i] = client.createTransfersAsync(transfers);
    }

    // Wait for all threads
    for (int i = 0; i < tasks_qty; i++) {
        @SuppressWarnings("unchecked")
        final var future = (CompletableFuture<CreateTransferResultBatch>) tasks[i];
        final var result = future.get();
        assertEquals(0, result.getLength());
    }

    var ellapsed = System.currentTimeMillis() - now;
    System.out.printf("Time for %d transactions: %d ms\n", tasks_qty, elapsed);
}

The new batching API was updated in all call sites, and all tests are passing now.
For more details, please see the EDITs on this PR text.
The next step is to implement specific tests and benchmarks for batching.


Improve testing for old cargo/rustc

This allows us to run the full test suite on cargo/rustc that is older than the version required for the building cargo-hack from the source.
Related: #71

bors r+

bors r+


ockam_api: refactor request_controller function to accept an optional Identity

Current
The request_controller function creates a secure_channel to the passed cloud_route, but it's always using the node's default identity.
Desired
In future PR's, the ockam_api::cloud endpoints will be modified so they include an optional Identity. For this PR, we'll just focus on adding a new argument to the request_controller to pass an optional Identity, which will be hardcoded to None for now. Then, in the controller_secure_channel function, it will prioritize the passed optional Identity if available, or default to the self.identity() if not.

We love helping new contributors!
If you have questions or need help as you work on your first Ockam contribution, please leave a comment on this discussion.
If you're looking for other issues to contribute to, checkout this discussion and labels -  https://github.com/build-trust/ockam/labels/good first issue or https://github.com/build-trust/ockam/labels/help wanted

If there are no takers, I'd like to give this a shot.

@nidnogg that's awesome, all yours. Let us know if you have any questions.

Sweet! Quick newbie question that could expedite this:
Where exactly do I test request_controller? I'm still grokking ockam as a whole.

Added a PR with some changes, not sure it'll pass the checks though as I don't think I swept through it with a linter beforehand.
I opted to format the request_controller function calls in a way that was already there but not throughout the entire api.
Let me know if this more or less the idea behind the issue


[Feat]: Adding a new section for research tools

What feature?
I have an idea to add a new section dedicated to research tools on your platform. This section would provide a collection of websites and tools that can be extremely helpful for researchers during their research process. Here are some suggestions for the tools and websites to include:
Mendeley and Zotero: These are reference management tools that help researchers organize and manage their citations, references, and documents.
Papers with Code and Hugging Face: These platforms provide resources for researchers interested in the field of machine learning and artificial intelligence. Papers with Code offers a collection of research papers along with their corresponding code implementations, while Hugging Face provides various natural language processing models and tools.
Google Scholar: This widely-used academic search engine allows researchers to find scholarly articles across different disciplines. It also provides options to save and organize research papers.
Sci-Hub: While controversial, Sci-Hub is a website that provides free access to academic articles, making it a valuable resource for researchers who may not have access to certain journals or papers.
Connected Papers: This tool visualizes research papers and their connections, helping researchers discover related works and explore new avenues of research.
Overleaf: Overleaf is an online collaborative writing and publishing tool that simplifies the process of creating scientific documents, including research papers and reports. It offers a real-time collaboration feature, making it easier for researchers to work together on documents.
These tools and websites can greatly enhance the research experience and productivity of academics and scientists.
I would like to contribute to this under GSSOC23. Could you please assign me?
Code of Conduct

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

Are all the tools free? Additionally, the research section should include a minimum of 8 tools. Could you also specify the type of research we are discussing?

Yes, all these tools are free and I have used them for my research.

Mendeley
Zotero
Papers with Code
Hugging Face
Google Scholar
Sci-Hub
Connected Papers
Overleaf

I can add these 8 tools and websites. These can be used in any type of research to read research papers , citation, documentation etc.


angularjs ng-file-upload ERROR: ng-file-upload.min.js:2 Uncaught TypeError: a.$ngfDimensionPromise.finally is not a functionf.imageDimensions

Hi,
I am using your GIT to upload images into my angular application
https://github.com/danialfarid/ng-file-upload
See full details of problem by clicking here:
http://stackoverflow.com/questions/38569540/angularjs-ng-file-upload-error-ng-file-upload-min-js2-uncaught-typeerror-a-n?noredirect=1#comment64530758_38569540
Basically I am getting the errors below when attempting to upload an image,
ng-file-upload.min.js:2 Uncaught TypeError: a.$ngfDimensionPromise.finally is not a functionf.imageDimensions
@ ng-file-upload.min.js:2m @ ng-file-upload.min.js:2(anonymous function) @ ng-file-upload.min.js:2n @ angular.min.js:6i @ ng-file-upload.min.js:2f.validate @ ng-file-upload.min.js:2i.updateModel @ ng-file-upload.min.js:2m @ ng-file-upload.min.js:2dispatch @ jquery.min.js:2h @ jquery.min.js:2$scope.uploadFiles @ contacts.js:200(anonymous function) @ angular.min.js:74m @ ng-file-upload.min.js:2(anonymous function) @ ng-file-upload.min.js:2i @ angular.min.js:79(anonymous function) @ angular.min.js:80$eval @ angular.min.js:92$digest @ angular.min.js:90$apply @ angular.min.js:92(anonymous function) @ angular.min.js:108e @ angular.min.js:31(anonymous function) @ angular.min.js:34
angular.min.js:63 TypeError: f.finally is not a function

This is now up and running !! :)
It was a deployment issue as I suspected because error was pointing out that a function within the ng-file-upload.min.js was not found !!
ng-file-upload.min.js:2 Uncaught TypeError: a.$ngfDimensionPromise.finally is not a functionf.imageDimensions
I found that "ng-file-upload" was not fully installed under the node-modules folder, after uninstalling and installing it again, I could see that the expected files were indeed found under node-modules/ng-file-upload and error was gone !! :)
Just remember to run the command below within your project folder
npm install ng-file-upload
And then just follow instructions found on this url https://github.com/danialfarid/ng-file-upload, it will work !! :)


Create FAQ

New contributors may miss some background knowledge.
Explain or provide links to explanations of these items

[ ] What's Java bytecode?
[ ] How objects, classes, types are represented at runtime?

It's a good suggestion. Thank you.


add header_segment_map parameter to csv2seq function

so if user has a csv with header different from segment fields, can just provide mapping (i.e. a dict) that specifies which header fields (csv columns) correspond to Segment attributes
so with this header
Onsets, Offsets, Filename, SegmentLabel
you'd use
header_segment_map = {
    'Onsets': 'onsets_s',
    'Offsets': 'offsets_s',
    'Filename': 'file',
    'SegmentLabel': 'label'
    }
crowsetta.csv.csv2seq(csv_filename='my.csv', header_segment_map=header_segment_map)

closing this because I don't want  to add functionality to csv code, and instead will replace with pandas
but it does make me think it might be good to have a from_csv method as part of the interface expected for each Format class, that would accept an alternate header_attr_map that would allow a user to specify "this column in the csv should be mapped to this attribute of the Format"


Haxe Version

What is your question?
Do you need the exact version Haxe 4.2.4 or can you go into newer versions of it?

haxe 4.3 compiling is broken atm, so it's best to use haxe 4.2.5 atm

via doing this in import.hx
put #if !macro surrounding import Paths;


Improve Improve FE DorisMetricRegistry

The current implementation needs to iterate all metrics in a lock, which might cause latency spikes. This PR changes the underlying data structure to ConcurrentHashMap so that removing metrics doesn't need to block the entire registry.

run buildall

run buildall


Investigate using readable streams to render while still fetching

https://developer.mozilla.org/en-US/docs/Web/API/Streams_API/Using_readable_streams

Done! and working pretty well!


hardware acceleration

In a RecyclerView I use your library, some text are shown in Chinese(!) during scrolling, I find out if I turn off hardware acceleration it doesn't accur, s0:
"If your application performs custom drawing, test your application on actual hardware devices with hardware acceleration turned on to find any problems. The Unsupported drawing operations section describes known issues with hardware acceleration and how to work around them."

Are you doing this on an emulator or mobile device? It should be hardware accelerated on mobile devices (to some degree). With the caching and a small view port (for scrolling), this should be a fairly quick so as to not have too much perf. improvements with HW acceleration.


chisel3/developers is a 404

On the current version of the website, the chisel3/developers link is a 404.
See: https://www.chisel-lang.org/chisel3/developers.html

Hmm, looks like it is in chisel3/docs, but we need to update the path to it.


Email being sent but not received

The email form says the email is sent but it doesn't reach the inbox. Check the reason why, might be an issue with API
Related issue: https://github.com/catherineisonline/pizza-time-with-react/issues/28

Email API disabled on purpose


"notebook.cellBorderColor" colors output backgrounds?

I guess "notebook.outputContainerBackgroundColor" defaults to the border color? Changing that resolves the issue so I'm not sure if this is expected.

Yeah this is as designed but we should definitely consolidate them.

Let's track this in https://github.com/microsoft/vscode/issues/125549


 It's 2022, not 1980. We paid a ton of money for this pile of DOS/AD policies pretending to be a security tool, that can't even do white listing/trusted apps, SSO for encryption, (I have a long list). We are implementing intune/defender and the blatant lack of security features is frightening. Sure it's got a million and one ways to pull reports, so executives will think it's glory. But as a tech, using MS for support and they can't even get the firewall to allow; by Policy our apps to run.... it's so disappointing. That big E5 license is not worth the money yet. MS please bring intune/defender into the present and replace all the xml and cmdlets and powershell with a GUI - like every AV company besides you has.

@gregmahhn Please indicate which document you are referring to. Thanks

@gregmahhn Thank you very much for the contribution and digging deep into it.  @ We appreciate any feedback that improves the content in the Microsoft docs but we haven't had any response from you so we are going to close this issue.
Please feel free to re-open this issue if you see an improvement is required in the specific area of this documentation. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

sorry, was venting, nothing anyone can do. First use of github, and I did it wrong. thanks, bye


Push updated docs to pythonhosted.org/Flask-Session

Those docs still say to from flask.ext.session import Session which clearly does not match the docs in this repo.

I believe this project is not maintained anymore.
I've replaced flask-session in favor of #session.

@reebr flask-session does not replace sessions from Flask but allows you to use different backends such as Memcached or Redis with sessions.

@yrro I would say it is the other way around ;-)


Add support for identities

I'd like to add support for Identities...I'm willing to do this myself if this is an accepted feature that will be added.
P.S. any tips on where I can add the code (and help finding the template images) would be helpful!

Sure, regarding the pictures I usually based it on pics from OCTGN and some photoshopping I did.
Regarding code I would look at models/card.coffee views/card_view and main.css

awesome thanks for getting back to me...I'll dig into this....hmmm mid next week or so. Hopefully you will probably have a PR end of next week.


How to set up the position of ContextMenu directly pops up above the button after clicking the button.

The default pop-up location for ContextMenu is shown in the figure

I want to achieve the menu pop-up position of ContextMenu directly above the button after clicking the button.


operator gitlab-operator-kubernetes (1.0.2)

/pipeline restart operator-hosted-pipeline

The problem is here:
[add-bundle-to-index : add-bundle-to-index] 2024-06-13 04:35:18,037 [operator-cert] INFO Reason: Failed to add the bundles to the index image: Invalid bundle gitlab-operator-kubernetes.v1.0.2, replaces nonexistent bundle 1.0.1

/pipeline restart operator-hosted-pipeline


CI/CD Enhancements

Description
CI/CD is getting bigger and bigger, maybe we should think about creating configuration files?
We should also test if everything works correctly after deploying package.

Line length alignment to PEP8 & add flake-8 quotes #68


Fixing the mix of messurments.

Half the recipes are using European cups and some are using UK cups and some are using American cooking measurements. Maybe have it detect your IP and display appropriate measurements for your region and then allow you to choose if the automatic choice was not useful.

Or just move the ingredients into a markdown table, and provide the 3 most common units of measurements, since what you're asking probably can only be done with JS.

#143


Race condition in server using sub.Client.Send()

There seems to be a race condition sending messages from the server to the client.
In sse.Server OnSession a subscription is created as follow:
gosse := &sse.Server{}
gosse.OnSession = func(sseSession *sse.Session) (sse.Subscription, bool) {
sub := sse.Subscription{
	Client:      sseSession,
	LastEventID: sseSession.LastEventID,
	Topics:      []string{sse.DefaultTopic},
   }
}

In a separate gorouting, messages are send from the server to this client:
sseMsg := sse.Message{}
sseMsg.AppendData(myPayload)
sseMsg.ID, _ = sse.NewID(eventID)
sseMsg.Type, err = sse.NewType(eventType)
err = sub.Client.Send(&sseMsg)
_ = sub.Client.Flush()

This works most of the time, but running it with go test -race exposes a race condition:
WARNING: DATA RACE
Write at 0x00c0001764d2 by goroutine 380:
  net/http.(*http2responseWriter).handlerDone()
      /snap/go/10627/src/net/http/h2_bundle.go:6860 +0x6d
  net/http.(*http2serverConn).runHandler.func1()
      /snap/go/10627/src/net/http/h2_bundle.go:6230 +0x404
  runtime.deferreturn()
      /snap/go/10627/src/runtime/panic.go:477 +0x30
  net/http.(*http2serverConn).scheduleHandler.func1()
      /snap/go/10627/src/net/http/h2_bundle.go:6167 +0x5d

Previous read at 0x00c0001764d2 by goroutine 381:
  net/http.(*http2responseWriterState).writeChunk()
      /snap/go/10627/src/net/http/h2_bundle.go:6562 +0xa84
  net/http.http2chunkWriter.Write()
      /snap/go/10627/src/net/http/h2_bundle.go:6428 +0x48
  bufio.(*Writer).Flush()
      /snap/go/10627/src/bufio/bufio.go:642 +0xf0
  net/http.(*http2responseWriter).FlushError()
      /snap/go/10627/src/net/http/h2_bundle.go:6693 +0x9e
  github.com/tmaxmax/go-sse.flusherErrorWrapper.Flush()
      /home/henk/go/pkg/mod/github.com/tmaxmax/go-sse@v0.9.0-pre.2/session.go:160 +0x46
  github.com/tmaxmax/go-sse.(*flusherErrorWrapper).Flush()
      <autogenerated>:1 +0x17
  github.com/tmaxmax/go-sse.(*Session).Flush()
      /home/henk/go/pkg/mod/github.com/tmaxmax/go-sse@v0.9.0-pre.2/session.go:61 +0x83
  github.com/hiveot/hub/runtime/transports/httpstransport.(*HttpsTransport).Start.NewSSEServer.NewGoSSEServer.func1.1()
      /home/henk/dev/hiveot/hub/runtime/transports/httpstransport/sseserver/GoSseServer.go:58 +0x57a

The documentation of the Send function states that the interface does not have to be thread-safe:
(server.go:26)

// The Subscription struct is used to subscribe to a given provider.
type Subscription struct {
	// The client to which messages are sent. The implementation of the interface does not have to be
	// thread-safe – providers will not call methods on it concurrently.
	Client MessageWriter

sse.Subscription.Client.Send is not meant to be called from outside a Provider. The idea is that this is a low-level building primitive for providers, in that a provider makes sure access to a subscription client is synchronized. This seems like misusage of the library.
It would be helpful if you could provide more context to your use case (and maybe more code) – what are you trying to achieve? There should be a solution which doesn't imply a direct Send.
Apologies for the late response.

"sse.Subscription.Client.Send is not meant to be called from outside a Provider."
Ooh okay.

What I'm trying to accomplish is to have a server send an sse event to a specific client. The server code with the subscription can be found here: https://github.com/hiveot/hub/blob/main/runtime/transports/httpstransport/sseserver/GoSseServer.go
In case you like some more context:

project: https://github.com/hiveot/hub
overview: https://github.com/hiveot/hub/blob/main/docs/design-overview.md
message flow: https://github.com/hiveot/hub/blob/main/docs/event-flow.jpg

This project has a runtime that accepts requests from clients using https connections, and uses SSE as a return channel. The clients can be IoT devices, web users or other services. When a client establishes a SSE connections, the server is notified using the go-sse onSession callback (line 12). It obtains the runtime session (line 15) for this client and requests a channel from this session (line 36).  A go-sse SSE subscription is created to be able to send messages to the client (line 28). Messages received on the session channel (line 41) are pushed to the client (line 53).
The go-sse examples show a broadcast solution and I didn't see an example of sending an SSE event to a specific client. Hence the use of  subscription.
If there is a better way to send messages to an individual sse connection, then I'd be happy to change this to follow the prescribed approach.


Compiler version #if conditional 4.2 commit

This is the 4.2 pull request for the #if compiler version conditional.

@tkremenek Done!

@swift-ci test


Allow to store contracts data in W3bstream studio

We should allow users to store contract info inside W3bstream studio, to easily configure contract monitors.
Example use case:

My dapp includes 1 or more smart contracts
For each contract I need to monitor, in w3bstream studio I click "Manage contracts > Add contract"
I input a label for the contract, the contract address, the ABI json, the chain_id, the block_start (possibly provide  autodetect button). A checkbox to tell if I want to stop indexing at a certain block (if not, then default to 0 and do not show the stop block)
Then, when I create a contract monitor, I select the contract from a dropdown, and I select the event name from a dropdown (w3bstream studio uses the contracts data to populate dropdowns), the target project and event type.

Contract data must be editable.

What if we provide this feature outside w3bstream?
For example,

we use spoon (https://app.spoon.limo/) to import and  manage the contracts
we provide a plugin in spoon that has a ui panela as you mentioned above to export the needed data(topic?)
we just copy/paste the data  into create contract moinitor in studio to finished the rest flow

what do you this about that? @simonerom

ok, we could store the abi of the contract to the indexeddb on the frontend that could implement the select event feat.
but you may will lose the data if you clear the cache data or something else.

I see.
You think it would not make sense to have the contracts configuration (address+ABI) as part of a W3bstream project data, along with strategies, contract indexers, etc..?)
@CoderZhi

@simonerom
If the address + ABI could use for scenarios other than helping select events to create the monitor that we also could store the contract address and ABI to DB rather than just implement it by the frontend to avoid adding more complexity to the DB and backend.


Documentation points to container location that is not actively maintained anymore

The location https://quay.io/repository/opentargets/opentargets_rest_api_base does not seem to be maintained, although the documentation (README.md) still points to it. I tried running a container with this image, but it fails immediately.

thanks for the fix


Merge pull request #146 from marklogic/feature/145-ssl-bug

RunFlowMarkLogic now uses trust manager from the controller service

This was already applied in the <IP_ADDRESS> release. Applying this same fix on the 1.15.3.x branch in preparation for a <IP_ADDRESS> release.


Update readme

can you please assign this to me

can you please assign this to me

Yes sure

@shivshankar9 I have updated the Readme file and made a pr #6 also, please review and accept it.

can you please assign this to me

Yes sure

So still can I create a PR ?

can you please assign this to me

Yes sure

So still can I create a PR ?

If you think there is something needed update create new issue and I will assign to you


etcd-operator dies with mkdir /.aws: permission denied

I'm running etcd-operator in a self-hosted bootkube on Kubernetes-1.7 and have edited the etcd TPR with the following information:
  backup:
    backupIntervalInSecond: 300
    maxBackups: 96
    storageType: "S3"

and the etcd-operator with the following:
        command:
        - /usr/local/bin/etcd-operator
        - --backup-aws-secret=aws-s3
        - --backup-aws-config=aws-config
        - --backup-s3-bucket=foo-backup

After that, the etcd-operator won't start anymore:
time="2017-07-13T14:26:16Z" level=info msg="etcd-operator Version: 0.4.1"
time="2017-07-13T14:26:16Z" level=info msg="Git SHA: c4681f8"
time="2017-07-13T14:26:16Z" level=info msg="Go Version: go1.8.1"
time="2017-07-13T14:26:16Z" level=info msg="Go OS/Arch: linux/amd64"
time="2017-07-13T14:27:05Z" level=info msg="Event(v1.ObjectReference{Kind:"Endpoints", Namespace:"kube-system", Name:"etcd-operator", UID:"8d87958b-67d2-11e7-9bee-025d9a090d0f", APIVersion:"v1", ResourceVersion:"5413", FieldPath:""}): type: 'Normal' reason: 'LeaderElection' etcd-operator-3584553898-jr265 became leader"
time="2017-07-13T14:27:05Z" level=fatal msg="controller Run() ended with failure: mkdir /.aws: permission denied"

Both secret and configmap exist and are mounted. This configuration was working with kube-1.6 and etcd-operator <0.4.

Please use latest version of bootkube.
Closing since it is bootkube issue.

Can you elaborate? I'm using bootkube from HEAD (build an hour ago)

Sorry, I thought it is another issue. I see what you are doing. Operator wide S3 won't work in bootkube. You need to use per cluster S3.

See https://github.com/coreos/etcd-operator/blob/master/doc/user/backup_config.md

Thanks, it's working now


Robustify some tests

cf: https://trello.com/c/tBDneUER
Most of these come down to timing issues (eg: one test assumed we could never create more than one directory per millisecond; or that time never went backwards).

Actually, can you rebase this against master once https://github.com/lshift/diffa/pull/295 is in? I think we should move further dev into master anyway.

Ok, this LGTM, except that it would be cool to rebase against master.


Fix not escaped asterisk

Spaces between * and - are invalid.
Instead of: 1.1.* - * should be: 1.1.*-*
Same for * - *, should be: *-*
Message from dotnet restore command:
dotnet\sdk\5.0.300\NuGet.targets(131,5): error : '* - *' is not a valid version string

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

File
Status
Preview URL
Details

docs/concepts/Package-Versioning.md
:white_check_mark:Succeeded
View

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


Radio Buttons disoplaying strangely

Hi,
I am seeing strange characters instead of radio buttons. This happened once before, but corrected after an upgrade - I can't remember which one. However, a few upgrades later, it is back.
I have uploaded a screen shot, hope it is visible.

:) This is very strange! All of the radios are completely reworked in upcomming 18.00.
Did you try to reload the current frame?

I can see them in my dev 18.00.

All the radio buttons on all the forms are like that, on two different installations, and from two different workstations, both Chrome / Fedora.
I must be an edge case, I have all the weird problems.

Expect it to be fixed in 18.00! ;)
Thanks for reporting.


refactor: strictly use type Date for date fields

Description
Currently we simply use type String to store dates. All these instances should be refactored to Date.
Motivation
This way we are sure all dates we enter are legit and not some random string.
This would also make it easier if we want to change the Date display for a future user preference.
(e.g. US time notation vs European)
Resources
No response
To-do List

[ ] Refactor all string type dates to Date type

 refactor: strictly use type Date for date fields


[5.6] Add JSON SELECT queries to SQL Server

Adds JSON SELECT queries to SQL Server 2016+:
DB::table('users')->select('items->price')->where('items->price', 1)->orderBy('items->price');

I found two limitations:

In comparisons, Boolean values only work as strings: where('foo->bool', 'true')
The downside is that this also selects "true" strings (PostgreSQL has the same problem).
Extracting arrays and objects doesn't work: select('foo->array') // returns null
The reason is that SQL Server uses different functions for scalar values (JSON_VALUE()) and arrays/objects (JSON_QUERY()).
MySQL and PostgreSQL return arrays and objects as JSON strings.

Can we detect the version of SQL Server used and throw an exception telling the user that the feature is unsupported for older SQL Server versions?

I'm not sure it's worth the effort. Users will get an error saying that the function doesn't exist.
As far as I see, we don't do database version checks anywhere else.

I’m writing this as an email response from my phone, hopefully it will not be totally messed up.
It’s true that we haven’t checked for database versions historically, but that is slowly changing. As an example; we’re checking the version of MySQL you are using to make sure we don’t set any invalid sql modes. (Some were removed in the last version.)
A clear error message is the one thing that differs between users knowing that they need to upgrade their SQL Server version and users trying to figure out how to installing those functions. It would make since that we inform the user as early (and clearly) as possible instead of forcing them to start googling for their error message means and trying to decipher the unclear self-closed Stack Overflow questions I bet they will find.
There’s an issue in the ideas repository about introducing version-specific grammars. That would be relevant and make it easier to only implement this PR for some supported SQL Server versions.

1 juni 2018 kl. 04:20 skrev Jonas Staudenmeir<EMAIL_ADDRESS>I'm not sure it's worth the effort. Users will get an error saying that the function doesn't exist.
As far as I see, we don't do database version checks anywhere else.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

You're right about the error message.
I like the idea of version-specific grammars. I think it's a better approach than checking the database version when individual features are used.


[Feature] [JavaAPI] Get-started  a runnable example

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
The best way to have a basic view of paimon is to run a complete example in java api. But the document of java api now is not friendly because it's hard to get it work for new learner. Maybe we need a complete runnable example to help someone interested in donating code for paimon.
Maybe a class with "WAREHOUSE=~/tmp/paimon-dir", methods runnable like createCatalog, read, write and so on..
Solution
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

I have interest to work for this issue. Please assign this issue to me.

Please comment in the pull request.

2023年5月15日 10:57，HZY @.***> 写道：
I have interest to work for this issue. Please assign this issue to me.
—
Reply to this email directly, view it on GitHub https://github.com/apache/incubator-paimon/issues/1134#issuecomment-1547120086, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ7UFD6RI2OLBMGNE4IYCFDXGGLS5ANCNFSM6AAAAAAX53P5L4.
You are receiving this because you authored the thread.

If you are not in a hurry, please give me

Please comment in the pull request.


aggregations not working on _id field in mongo

Describe the bug
The new aggregate syntax doesn't work if we aggregate the _id field. For example:
query {
  users @mongo {
    _id @aggregate(op: count)
  }
}

Also sometimes randomly this query crashes the gateway with a panic error:
panic: interface conversion: interface {} is int32, not map[string]interface {}

goroutine 75 [running]:
github.com/spaceuptech/space-cloud/gateway/modules/crud/mgo.getNestedObject(0xc000c43950)
	/home/heyitsjs/space-up/go/space-cloud/gateway/modules/crud/mgo/read.go:337 +0x673
github.com/spaceuptech/space-cloud/gateway/modules/crud/mgo.(*Mongo).Read(0xc0006884b0, 0x25bc1e0, 0xc000b94ae0, 0xc000b00478, 0x5, 0xc000ae2310, 0x0, 0x0, 0x0, 0x0, ...)
	/home/heyitsjs/space-up/go/space-cloud/gateway/modules/crud/mgo/read.go:149 +0x13d0
github.com/spaceuptech/space-cloud/gateway/modules/crud.(*Module).Read(0xc0004263c0, 0x25bc1e0, 0xc000b94ae0, 0xc000b00480, 0x5, 0xc000b00478, 0x5, 0xc000ae2310, 0x0, 0x0, ...)
	/home/heyitsjs/space-up/go/space-cloud/gateway/modules/crud/operations.go:84 +0x65e
github.com/spaceuptech/space-cloud/gateway/utils/graphql.(*Module).execReadRequest.func1(0xc000ae2310, 0xc00028be00, 0xc00004cf50, 0x25bc1e0, 0xc000b94ae0, 0xc000b00480, 0x5, 0xc000b00478, 0x5, 0x0, ...)
	/home/heyitsjs/space-up/go/space-cloud/gateway/utils/graphql/read.go:114 +0x115
created by github.com/spaceuptech/space-cloud/gateway/utils/graphql.(*Module).execReadRequest
	/home/heyitsjs/space-up/go/space-cloud/gateway/utils/graphql/read.go:110 +0x6a

Your environment

Space Cloud version: v0.19.6
Database: Mongo DB

If this bug restricts your use of space-cloud, give it a thumbs up reaction, so that we can determine which bugs need to be fixed immediately.
👍

You can use count @aggregate(op: count, field: all)


Cannot concatenate command after FX

The following code should print "TEST", but does not:
*FX 19 : PRINT "TEST"
But this does print "TEST1" and "TEST2" as expected:
PRINT "TEST1" : PRINT "TEST2"
So it looks like it is not possible to concatenate anything after a *FX command?

Yes, this is by design; the same behaviour as on the BBC Model B.


universal app?

Is there any app to changes features flags or non GMS apps

Please don't use issues for such questions


Upload failure

Uploading 150GB from AWS to GDrive.
03/26/2015 01:40:26 AM    INFO       gdcp                      : Uploaded 100.00%.<PHONE_NUMBER> bytes in 13m0.00s (11.44MB/s)
03/26/2015 01:40:26 AM    INFO       gdcp                      : Calculating MD5 checksum for sequences/khmer_qc/SA_s13_150m_1_2_201408280810/SA_s13_150m_1_2.fasta.gz.keep.abundfilt
03/26/2015 01:40:56 AM    INFO       gdcp                      : MD5 OK.  f86d7afe5eaaa89b8dca9ad00c2f83cc (local) == f86d7afe5eaaa89b8dca9ad00c2f83cc
03/26/2015 01:40:57 AM    INFO       gdcp                      : Uploading sequences/khmer_qc/SA_s13_150m_1_2_201408280810/SA_s13_150m_1_2.fasta.gz.keep.abundfilt.below, mimeType=application/octet-stream
03/26/2015 01:43:20 AM    INFO       gdcp                      : Uploaded 6.22% (3.67MB/s)
03/26/2015 01:43:51 AM    INFO       gdcp                      : Uploaded 12.43% (6.03MB/s)
03/26/2015 01:44:19 AM    INFO       gdcp                      : Uploaded 18.65% (7.79MB/s)
Traceback (most recent call last):
  File "/usr/local/bin/gdcp", line 1021, in <module>
    main()
  File "/usr/local/bin/gdcp", line 40, in main
    cli()
  File "/usr/local/bin/gdcp", line 912, in cli
    args.func(args)
  File "/usr/local/bin/gdcp", line 977, in cli_upload_file
    not args.no_checksum)
  File "/usr/local/bin/gdcp", line 594, in upload_folder
    drive, subdir, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 594, in upload_folder
    drive, subdir, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 589, in upload_folder
    drive, onefile, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 424, in upload_file
    status, response = request.next_chunk()
  File "/usr/local/lib/python2.7/dist-packages/oauth2client/util.py", line 135, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/googleapiclient/http.py", line 867, in next_chunk
    headers=headers)
  File "/usr/local/lib/python2.7/dist-packages/oauth2client/util.py", line 135, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/oauth2client/client.py", line 547, in new_request
    redirections, connection_type)
  File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1593, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1335, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1291, in _conn_request
    response = conn.getresponse()
  File "/usr/lib/python2.7/httplib.py", line 1045, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 409, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 373, in _read_status
    raise BadStatusLine(line)
httplib.BadStatusLine: ''

This error will now restart the upload from scratch.


Investigate EADDRNOTAVAIL failures

http://aspnetci/viewLog.html?buildId=209485&tab=buildResultsDiv&buildTypeId=XPlat_Mac_MacUniverseCoreCLR
@cesarbs verified that macOS will normally fail with EADDRINUSE instead of EADDRNOTAVAIL for port conflicts.

http://aspnetci/viewLog.html?buildId=211265&tab=buildResultsDiv&buildTypeId=XPlat_Mac_MacUniverseCoreCLR
http://aspnetci/viewLog.html?buildId=211149&tab=buildResultsDiv&buildTypeId=XPlat_Mac_MacUniverseCoreCLR
The above builds also exhibit the same failure. All on the same agent.


NEAR Login redirects to wallet.near.org

Hey hey,
I noticed that the login feature redirects to wallet.near.org.
I was wondering if We should change this to the wallet selector instead.
Or mynearwallet depending on the direction we are headed

@doriancrutcher Is it a duplicate of #158? If not, please, help me to understand the difference.

If you want a temporary solution, you can edit the wallet URL in near-cli-rs config, so it points to mynearwallet instead.

Resolved in #218


English wording for "発熱37.5°C以上" is wrong

改善詳細 / Details of Improvement

Fix/improve wording in English translation

期待する見せ方・挙動 / Expected behavior

"Fever of above 37.5℃ or higher" should be "Fever of 37.5℃ or higher"

Fixed on Transifex.


Drop TransactionScope, passing TransactionContext as parameter instead.

Due to the fact that TransactionScope implemented CoroutineScope, it would be incorrect to use TransactionScope as a receiver for suspending helper functions (see the SuspendFunctionOnCoroutineScope warning). Dropping the type prevents that from occurring.

This change is


Upgrade go version 1.22

Is your feature request related to a problem?/Why is this needed
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
/feature
Describe the solution you'd like in detail
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

/assign @kishen-v
Please update the go version for this project, you also need to make changes in the job configurations. Thanks.

/assign

Hi @yussufsh,
I've made the required changes to update the go version to 1.21 to 1.22, the build actions will use 1.22, based on the version in the go.mod file.
Related PR for test-infra:
https://github.com/kubernetes/test-infra/pull/32661


Feat: Fail fast if managed SA CRD absent in the hub

the managed SA agent will run into unrecoverable failure if the addon and CRD are installed instantly altogether. the kubernetes control plane usually take a few hundreds of milli-sec to register the CRD api. this pull let the addon container crash instantly if the CRD is absent in the hub cluster
/cc @qiujian16

hrm, I thought it should be recovered when api is registered. Is it because agent turns into a state that informer stop running and there is no way to restart the informer?

@qiujian16 last time i hit this issue, i found that the failure last for a few minutes and didnt recover automatically, but when i restart the pod manually it works immediately. i guess it's b/c of the cached api-discovery?

/lgtm


dfu: update DFU sample to DFU v2 (with Golioth manifest)

Since this isn't marked WIP I assume it's ready for merge. I'll wait on your comments back and will approve or continue commenting.

One thing that I noticed is that DFU is not checking/filtering for the main package specifically. That might break if someone creates a release with multiple packages.

Is 'main' package referenced anywhere in our spec of the functionality?

Here is an example of a release manifest. There is this "package":"main" attribute with the package name.
{"sequenceNumber":1633376389,"hash":"3967780c9c7e68acf9949183a241c519205a0c1831dbbd87f26f7e648299ac91","components":[{"package":"main","version":"1.0.4","hash":"ec0080c0b4327e7da02b39520ef37b3c54c12b571d03966df717b3f681152381","size":216880,"uri":"/.u/c/main@1.0.4","type":"mcuboot"}]}

Would be even better if we can pass that package name as a parameter on the application, so I can choose what is the host MCU package and later download separated packages ( like esp-at firmware, ML model, an asset for my device, or even a WASM module 👀  ) and save on flash. But I think that second part is a separate iteration of DFU, but I think will be nice to give that power to our users.

In the first step we have decided with @0Grit to just allow single component firmware. We'll need to think a bit how to solve this multi component case, as we need to keep in mind resource constaints. I guess we need some design with application specific callback, that will be executed for each component that is found in the manifest, or alternatively for the whole array. That way application can decide to download some component or ignore it (for one or the other reason).
Anyway, I have prepared a commit that does check package name: https://github.com/golioth/zephyr-sdk/commit/a467238cd8a0d54ba0bc6c1a2596fe9bc34b46c5. I am not sure this is an improvement alone, as relying on single component instead of a component with package name "main" seems a bit more "future compatible".


[Bug]: Volume Controls, and Mute

Consent

[X] I have searched the existing issues and verified that there is no open issue for the same subject.
[X] I understand that the YTMDesktop Elgato Plugin has NO affiliation with Google, YouTube or the YTMDesktop application.

Current Behavior
Placing the volume actions on Stream Deck.   Each work as expected,  and control the volume bar within YMDesktop App.
However,  while the graphic shows the volume is increasing, decreasing,  and mutes?   It actually has no effect.
To force this,  you have to interact with YMDesktop App directly.    Everything else works fine,  just this minor issue.
Expected Behavior
Pressing Mute,  I expect the function to actually mute the music.    ( The graphic on streamdeck shows the volume has been turned down to 0%,  but the music hasn't actually been muted.  )
Pressing Volume Up,  I expect the volume to increase.
Pressing Volume Down,  I expect the volume to decrease.
Steps To Reproduce

Load the YMDesktop Application
Add Mute, Volume Up,  Volume Down to Stream Deck
Connect
Play Music Track
Press Mute,  Volume Up, Volume Down

OS
Windows
OS Version
10
Plugin Version
v1.6.0
YTMDesktop Version
v1.13.0
How did you download the software?
Elgato Store
Anything else?
No response

Hey and thank you for your report!
This is a /duplicate of #28
Please use the information in the mentioned ticket to resolve this issue. In the meanwhile I /close this issue.
Shouldn't those information help, feel free to reopen this ticket.


[11.x] Introduce throw() to PendingDispatch

This pull request introduces an optional feature to throw an exception when attempting to dispatch a subsequent unique job that is already in the queue. This enhancement provides clear feedback to the job dispatcher, indicating that the current dispatch attempt has been ignored due to the presence of an existing unique job.
Details:

Adds an option to throw JobDispatchedException if a unique job with the same identifier is already dispatched.
Allows PendingDispatch to register a callback to be called right before the exception is about to be thrown - similar to the throw() behavior from the HTTP Client/Response and the Process Facade.

Example Usage:
An exception is thrown if the job fails to meet the "unique" requirement.
UpdateSearchIndex::dispatch()
    ->throw();

The closure is executed immediately before the exception is thrown.
UpdateSearchIndex::dispatch()
    ->throw(function () {
    });

The existing behavior of ignoring subsequent dispatches of the same unique job is preserved.
UpdateSearchIndex::dispatch();

Note:
I'm currently having trouble instantiating an instance of Illuminate\Contracts\Cache\Repository in the test - appreciate any pointers!

For consistency with similar functionality in batches/chains, wouldn't catch(callable $callback) be a better name?

I don't like the quite broad naming. Wouldn't it be better to have something like throwOnDuplicates() or the like?
Another possible parameter to this method could be a class-string indicating an alternative exception to throw as syntactic sugar to throwing it oneself within a callback.


Redesign media item menu status button

Replace the status button in media item menu with https://mui.com/material-ui/react-toggle-button/ or similar.
Plus, add similar button to games for stores (steam and epic).

I tested the toggle button and button group components on the status button and it wasn't working from a UX perspective. The current implementation turned out to be better.


convert to containerized build

Looks like this may not be possible. I'm curious why we're jumping through hoops sudoing around though. Could you provide a little color @shadow7 ?

 I made it work for 1 small project by trimming the gradle tasks. When I did it, it was really fast. But it is not working for most of my projects.


Failed to generate file!

It's not generating the executable.
Make sure that you have installed the necessary dependencies and run the configure.sh.
$ apt install maven default-jdk default-jre openjdk-8-jdk openjdk-8-jre -y
$ apt install zlib1g-dev libncurses5-dev lib32z1 lib32ncurses5 -y
and run
$ chmod +x configure.sh
$ ./configure.sh
Check https://github.com/tiagorlampert/sAINT#how-to-use

@tiagorlampert

It's not generating the executable.
Why it's not generating executable?

it because you use 32-bit kali not 64-bit

it because you use 32-bit kali not 64-bit

i'm using 64 bit kali ,,,then same problem


Remove chmod reliance for startScripts

Fixes #20891.  Do note that this is still WIP as test cases are failing due to permission denied error.
Context

Contributor Checklist

[X] Review Contribution Guidelines
[X] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[X] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[X] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[ ] Ensure that tests pass sanity check: ./gradlew sanityCheck
[ ] Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

@bot-gradle test this


feat: support REVISION_TIME

Summary
The general story behind this is outlined in #2153 - ultimately, this has Capistrano start to manage a REVISION_TIME file which holds a unix timestamp of when the release was committed, in the same way that it stores that releases SHA in REVISION.
Resolves #2153
Short checklist

[x] Did you run bundle exec rubocop -a to fix linter issues?
[x] If relevant, did you create a test?
[x] Did you confirm that the RSpec tests pass?

Other Information
I think this is actually pretty close to being landable since I figured out the general "how" a while ago in another project, but I expect some tweaking will probably be required and it would be nice to support this for svn and hg if possible but I don't use those tools so will either need someone who does to provide insight or I'll see if I can google/chatgpt a solution.
Some general questions I have are:

do we want to have a dedicated set of tasks, or fold this into the current "revision" based ones?
in the context of custom SCMs, do we want to make this an optional extra or required?
if optional, do we need to have any custom/extra checks? (I noticed that there are some NotImplementedError methods but it didn't seem like they were actually being called by Capistrano itself)
if the revision time isn't available, do we want to create an REVISION_TIME file at all? (it'd be simpler, but an empty file)

@mattbrictson thanks for the review! I'm assuming based on the comments (or lack thereof) on the PR that my changes already match the opinions you've expressed in reply to my questions, but let me know if that's not the case!
In the meantime I'll checkout #2159 and see if I can get a feature test crafted

@mattbrictson I'm about to knock off but hopefully will pick this up tomorrow - in the meantime if you're around, I wouldn't mind hearing what you think about the "then the release path is created" assertion:
https://github.com/capistrano/capistrano/blob/3f41365139a0b3a408e96f13c781d9cedba8b4b8/features/step_definitions/assertions.rb#L18-L20
Which is used in
https://github.com/capistrano/capistrano/blob/3f41365139a0b3a408e96f13c781d9cedba8b4b8/features/deploy.feature#L37-L41
I was thinking of adding to that spec or using it to create a new one, but while looking at it it doesn't seem like it actually asserts anything? it's doing ls -g of the releases path rather than an actual release, so if I understand correctly it will only error if the releases directory doesn't exist - is that intentional?

it's doing ls -g of the releases path rather than an actual release, so if I understand correctly it will only error if the releases directory doesn't exist - is that intentional?

@G-Rath I think you're right. Do you mind opening a GitHub issue for this so we can track it as a bug?

@mattbrictson rather than an issue, I've opened a pull request: https://github.com/capistrano/capistrano/pull/2160

@G-Rath if for whatever reason, someone wanted to disable this new REVISION_TIME file from being created, how would they do that? I want to document it in the release notes, just to be safe.

@mattbrictson the sure fire way would be to ensure that fetch(:current_revision_time) returns a false-y value, which could be done by registering a task straight after the deploy:set_current_revision_time task that explicitly sets it to nil.
I've not done it myself but I assume they could also remove or override one of the tasks in the chain, such as deploy:set_previous_revision_time

Again, not done it myself but this is what I was thinking of - that should be enough right? combined with the task name of deploy:set_current_revision_time

@G-Rath yes, that makes sense. I'll test that out.

This seems to do the trick:
Rake::Task["git:set_current_revision_time"].clear_actions

This feature has been released in Capistrano 3.19.0: https://github.com/capistrano/capistrano/releases/tag/v3.19.0


[feat] different format for different note

The plugin is awesome, which solve my problem about recording when I finished my tasks, but there is a problem that the daily tasks and long-term goals may need the different format for a better looking.
For example, daily tasks need "HH:mm" to be recognized simply when time I finished it this day, and long-term goals need an additional "YYYY-MM-DD" before the "HH:mm" or even no time but only date recorded.
If it is possible, considering to add this feature please. Thanks for your contribution to the obsidian-community.
(I found that I add a label named bug by mistake, but I can't change it after many attempts, I'm so sorry about that.)

@sd0116baka Thank you for your request.
How about making it possible to change the settings for each CSS class, for example?
If this is acceptable, I'll think about how to implement it.
Of course, contributions are also welcome.

@sd0116baka Thank you for your request. How about making it possible to change the settings for each CSS class, for example?
If this is acceptable, I'll think about how to implement it.
Of course, contributions are also welcome.

I'm not an English native and I can't understand clearly what you mean about the CSS. I guess you consider that using CSS may be useful to achieve this function. In my opinion, I use CSS for changing the look of my obsidian but not the context. But if using CSS help, then you can have a try.
I will try to learn some knowledge of plugin development and hope I can contribute one day though I'm a newbie with programming now.


Add property APL (Arbeitsplatzliste) to RESISTANCE_TEST

As wished by Diagnostics, the APL should be added to each RESISTANCE_TEST. The property has already been created in openBIS by Rostik.

[ ] Stefan: Could you please include it in the SampleSheet template for every sample
[ ] Osvaldo: Needs to be added in the open SampleSheet2openBIS.sh script.

Thanks
Michael

I'll add a column next to timavo which I'll name apl, ok?
Which format does the APL have, should I include a test which checks the APL for validity?

In the excel template (worksheet Sample Namen) I would add it as "APL" between Sample Name und Virus.
In the sample sheet (worksheet MiSeq SampleSheet) you can add it at the end next to timavo as "alp". I don't remember if position is important for the SampleSheet2openBIS.sh script.
Leave as free text at the moment, format may change.
Yes, stays empty for non diagnostic samples.

Done. It needs to be described in the Avor.


Use slurp and copy instead of synchronize

Ansible synchronize module is a huge trouble for users with a ssh gateway or just extremely strict sshd config(s), not allowing direct server to server, and only playbook-runner to server connections.
Only the know_tokens file is copied, but for other masters more isn't needed.
/cc @xialonglee Do you think this is "okay" to change?

This change is

yeah... i found the problem too and i going to make a PR, you are ahead of me XD
My method is use local_action module to sync all the token files to the host which the ansible scripts are running on, and then copy files to other masters from localhost.
Because my modified ansible scripts can also be able to add a k8s node into a existing kubernetes cluster, only copy known_tokens.csv may required keeping the master[0] host not changed when adding a new node next time. (I am not pretty sure, maybe it doesn't matter).
Anyway, keep all masters got the same token files ( include these files, e.g. system:scheduler-{{ inventory_name }}.token ) makes you don't consider the sequence of masters and if i want add a node which was deleted from a existing k8s cluster again, it wouldn't create a new token for the node.
I preferred keep all masters got all tokens files from master[0].

@xialonglee The problem is to get a list of all tokens created, as the kubernetes-addons role creates tokens too.. after the master role has already run.

@xialonglee These changes should do the trick better.
How about now? All tokens except the kubernetes-addons generated are synced.
(With synchronize the kubernetes-addons tokens would also not be synced)

@xialonglee I implemented your feedback.

@ingvagabund Could you please test this?

@redhat-k8s-bot test please

@redhat-k8s-bot test please

Rebased on latest changes.

@galexrt if there is no conflict, there is no need to rebase even if the github says it needs rebase :)

@redhat-k8s-bot test please

@ingvagabund The rebase-habit got the better of me ;)

/lgtm
/approve


POC of a dedicated history handler

This is a PoC and not yet complete (the preparePage functionality is missing).
This reduces the data serialized and sent to the UI-backend massively, both speeding up the engine response and the processing in the UI-backend

I don't think this is the right approach, it's not generic enough. If you want thinner alert, then modifying the thin-alert to be thinner should be the way - not to push policies-ui stuff to engine.

Perhaps we should start exposing such stuff as GraphQL queries.
Wrt thin alert: I would expect that there will be different use cases where the definition of 'thin' changes.

A projection of some sort could be written. Could be a selection of fields for example.


fix: allow lint-staged to run on empty git repo by disabling backup

Since v10, lint-staged has not been able to run on empty git repos, because the backup stash requires at least the initial commit.
In v10.1.0 an option --no-stash was added to make lint-staged skip creating the stash. We can use this same logic to enable running on empty repos, and print a descriptive warning message.

Hmm tests failed

Yeah I’m figuring it out. That snapshot shouldn’t be important, but I don’t know why it changed in the CI and not locally.

@iiroj Sorry to bother you again, I want to know, can this no-stash option be smarter? Is it possible to check whether my repo already has existing commits, because I found that adding this option seems to return directly every time, worrying about whether it may be affected by the potential normal process

@jinggk can you please rephrase your question?
This PR does add an automatic check that disables the backup stash and allows lint-staged to run on an empty git repo.

@iiroj thankyou i got it~

@okonet I opted to remove the check, and instead just test that it resolves.


No CPU & Network metrics

No CPU & Network metrics in dashboard, but Mem & Disk are working well.

any updates?


Minor Fixes and Added Networking Section to API Overview

looks overall good, i like the new lethallib sidebar section
https://xilophor.github.io/LethalNetworkAPI/ 404s right now though

Forgot I changed the repo it's hosted from :sweat_smile:


[FR]: I want to retag all torrents.

Is your feature request related to a problem? Please elaborate.
qbit_manage won't tag torrents that already have torrents, unless you specify tags to ignore.
If I tag a torrent before qbit_manage, then qbit_manage won't tag, unless I have the tag in the ignore list.
I have some torrents with a bunch of tags, and I need to retag those torrents (e.g. tracker=other).
Describe the solution you'd like
I want to force qbit_manage to retag all torrents.
Potential solutions:

Force retagging.
ignoreTags_OnUpdate = False.
Allow a wildcard to ignoreTags_OnUpdate.

Does your solution involve any of the following?

[X] New config option
[ ] New command option

Describe alternatives you've considered
Manually copy tags from QBT and put into config.yml.
Every time a new tag is created, have to update config.yml.
Who will this benefit?
All that extensively use tagging.
Additional Information
No response

config book option of force_retag # Ignores All Tags and will always retag every torrent may cause performance issues
And adding it as an or https://github.com/StuffAnThings/qbit_manage/blob/29690e9581689c0e86b4cdf8aa9a5a4915996b28/modules/core/tags.py#L28
would likely be the least painful route

Added to develop
force_retag_all: false # Forces all torrents to be updated on every run (may cause performance issues). This does not remove any previous tags assigned