Newbie help

@sirxemic
Awesome effect! I'd like to add it to a touch screen experience in local. I am a newbie and what I did is to copy and paste the html page to Notepad++ and save it as hmtl page. For some reason the water effect doesn't show up and have an error message "TypeError: $(...).ripples is not a function".
Please let me know where I am failing or exact workflow to activate it locally. Thx!

Not an issue with the plugin itself, so I'm closing this.


key error include_skip

When I executing these notebook I'm getting key error which is include_skip. Can you please guide me how to resolve this error?

Hey @mwaseemrandhawa
Could you elaborate on the issue a little more?
A screen shot of what you are seeing would make it better for me to reproduce the error and find a solution. Thanks!

Closing this for inactivity.


Alt linking doesn't handle main change properly

if we have 3 characters A B C
A is alt of B
and now we set A as alt of C
then B keeps information that A is his alt, while he is relinked to C
Either handle re-linking or disallow linking in this case until unlink happens

I've experienced that it's not possible to link several alts to the same main. If I'm not mistaken then I think this should be a possibility.
I've only tried it once, and it seems like the linking get's ovewritten.

that sounds like player error - you can link multiple alts to the same main. problem in this issue exists if you link alt to a main without unlinking first

Tested again, and it works as intended. I don't know what went wrong first time I attempted it, can't reproduce it so I think it's all good :).


Some sort of error popping up all the time

Hello I am getting this type of error sometimes.
`Error while fetching room data
ERROR:root:Traceback (most recent call last):
File "C:\Users\Gatis_2\AppData\Local\Programs\Python\Python310\lib\site-packages\TikTokLive\client\base.py", line 152, in __fetch_room_polling
await self.__fetch_room_data()
File "C:\Users\Gatis_2\AppData\Local\Programs\Python\Python310\lib\site-packages\TikTokLive\client\base.py", line 174, in __fetch_room_data
await self._handle_webcast_messages(webcast_response)
File "C:\Users\Gatis_2\AppData\Local\Programs\Python\Python310\lib\site-packages\TikTokLive\client\client.py", line 67, in _handle_webcast_messages
response: Optional[AbstractEvent] = self.__parse_message(webcast_message=message)
File "C:\Users\Gatis_2\AppData\Local\Programs\Python\Python310\lib\site-packages\TikTokLive\client\client.py", line 117, in _parse_message
webcast_message["gift"] = json.loads(gift)
File "C:\Users\Gatis_2\AppData\Local\Programs\Python\Python310\lib\json_init.py", line 339, in loads
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType
Error while fetching room data`
I am also getting this at start
PS C:\Users\Gatis_2\Desktop\Tiktoklive> & C:/Users/Gatis_2/AppData/Local/Programs/Python/Python310/python.exe c:/Users/Gatis_2/Desktop/Tiktoklive/AccTiktok.py c:\Users\Gatis_2\Desktop\Tiktoklive\AccTiktok.py:36: RuntimeWarning: coroutine 'BaseClient.retrieve_available_gifts' was never awaited   client.retrieve_available_gifts() RuntimeWarning: Enable tracemalloc to get the object allocation traceback
I am using Stable version of python Python 3.10.4
I think sometimes it makes some gifts skip.
webcast_message.get("giftJson") sends beck None

Known issue: https://github.com/zerodytrash/TikTok-Live-Connector/issues/23#issuecomment-1097087186

Fixed in https://github.com/isaackogan/TikTokLive/issues/15

Fixed in Release https://github.com/isaackogan/TikTokLive/releases/tag/v0.8.2


update packages

:x: Build TheIdServer 7.4.7-fix-dependencies1-0067 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/26cf05d541 by @invalid-email-address)

:x: Build TheIdServer 7.4.7-fix-dependencies.1+67.build.3429 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/26cf05d541 by @invalid-email-address)

:white_check_mark: Build TheIdServer 7.4.7-fix-dependencies1-0068 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/7450caf826 by @invalid-email-address)


Adjust schema.org markup

Acceptance criteria

Homepage

[ ] Add ItemList markup (see point 3 for more details)

Product page
Take a look at the comment below
Category page

[ ] Add ItemList markup
https://productforums.google.com/forum/#!topic/webmasters/J-xo7o9g3jw;context-place=topicsearchin/webmasters/authorid$3AAPn2wQc-yill2gzmfczAMdowQEz3j_5icYisSFn8Gxg0I7xutleDcbyobuBKguf43RKx0dk2DIL0|sort:date|spell:false

[ ] Schema markup should be created as JSON-LD
[ ] Generated on the backend, passed to the frontend

Test with https://search.google.com/structured-data/testing-tool/u/0/
More information:
http://schema.org/ - docs
https://developers.google.com/search/docs/guides/intro-structured-data - Introduction to Structured Data by Google
https://support.google.com/webmasters/answer/7407437?hl=en&ref_topic=3309300  - Google’s guidelines on enriching search results

I just discovered the bug(?) in the structured data testing tool.
It may display no errors or warnings, but if 'preview' button is not visible, it means that there's some logic error in the scheme.
Example scheme I was able to create for the product page:
<script type="application/ld+json">
{
   "@context": "http://schema.org/",
  "@type": "Product",
        "name": "Allen-Rose",
        "description": "Really cool snippet will show if is in stock or not",
        "offers": {
          "@type": "AggregateOffer",
          "lowPrice": "0.54",
          "highPrice": "13.99",
          "priceCurrency": "USD",
          "availability": "http://schema.org/InStock",
          "sku": "8057",
          "category": "Sweats",
          "image": "/media/products/green_5QAEiDC.jpg",
          "offerCount": 2,
          "offers": [
            {
                "@type": "Offer",
                "availability": "http://schema.org/InStock",
                "price": "0.54",
                "priceCurrency": "GBP",
                "itemCondition": "http://schema.org/NewCondition",
                "image": "/media/products/green_5QAEiDC.jpg",
                "name": "Yellow Allen-Rose",
                "sku": "44692"
            },
            {
                "@type": "Offer",
                "availability": "http://schema.org/InStock",
                "price": "13.99",
                "priceCurrency": "GBP",
                "itemCondition": "http://schema.org/NewCondition",
                "image": "/media/products/green_5QAEiDC.jpg",
                "name": "Green Allen-Rose",
                "sku": "44690"
            }
          ]
        }
    }
}
</script>

They may be missing some fields, need to double check

Probably unrelated to Google as their bot seems to handle this well but in the past I've encountered tools that can't handle URLs (like images) without protocol and domain.

Example schema markup for Category page
{
    "@context": "http://schema.org",
    "@type": "ItemList",
    "name": "T-Shirt",
    "url": "/category/t-shirt/",
    "description": "Deserunt quibusdam ipsa illo ex nam ea illo qui. Itaque maiores doloribus accusamus ratione. Aperiam ipsa veritatis quas nisi.",
    "itemListOrder": "Unordered",
    "numberOfItems": 2,
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "url": "/products/lopez-smith-25/?color=yellow&size=XXL",
            "name": "Yellow Lopez-Smith",
            "image": {
                "@context": "http://schema.org",
                "@type": "ImageObject",
                "contentUrl": "/media/__sized__/products/yellow_n2QjKzn-thumbnail-640x640-70.jpg",
                "description": "Lopez-Smith",
                "width": 640,
                "height": 640
            }
        },
        {
            "@type": "ListItem",
            "position": 2,
            "url": "/products/lopez-smith-25/?color=blue&size=37",
            "name": "Blue Lopez-Smith",
            "image": {
                "@context": "http://schema.org",
                "@type": "ImageObject",
                "contentUrl": "/media/__sized__/products/blue_FZ3yJjG-thumbnail-640x640-70.jpg",
                "description": "Lopez-Smith",
                "width": 640,
                "height": 640
            }
        }
    ]
}


Warning fixes

Fixing warnings to keep their number manageable. This also establishes a higher standard for the new code.

+1
I like it but I think __always_unused seems odd.
I see __ prefix and I think compiler define.
We can always change it later but ALWAYS_UNUSED seems better.
Or using in_uint8s(s, _bytes); /* name */ works too and with all compilers.

I agree about compiler defines. Indeed, it would be better to use something
that looks "magic", but not "compiler-internals-magic". I had no good idea,
so I went with the Linux kernel choice. ALWAYS_UNUSED would steal attention
for more important things. It's way too big and loud.
I wanted to preserve more information about the discarded data. If that's
not a big deal, let's use a more portable solution as you suggest.
On Mon, Apr 11, 2016, 8:50 PM jsorg71<EMAIL_ADDRESS>wrote:

+1
I like it but I think __always_unused seems odd.
I see __ prefix and I think compiler define.
We can always change it later but ALWAYS_UNUSED seems better.
Or using in_uint8s(s, _bytes); /* name */ works too and with all compilers.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/neutrinolabs/xrdp/pull/360#issuecomment-208691909

I dropped most of the "unused" fixes, including __always_unused. I also removed changes to window_id declaration.

looks good
+1

Can somebody merge it soon, please? If there are any questions, I can make a separate pull request for "Fix recently introduced warnings in session.c " as it's a serious issue (incorrect pointer types).


An error occured. Please try again later

I have a problem when play the video.
version: 12.1.0
Case  :
when first time open the app, the video will start normally in fragment, but after go to another activity/fragment and come back to the fragment video player the video cannot to play. The message is An error occured. Please try again later. After i kill the app, the video start normally again.

When i override fun onError(youTubePlayer: YouTubePlayer,error: PlayerConstants.PlayerError).
error : INVALID_PARAMETER_IN_REQUEST

Please provide a code sample, or try to replicate in the sample app.

Can you double check that the video ID you're providing the second time is correct?

@mfrizki1  you can also try to use fixed id, and check if issue occurs or not.
if occurs, might data been lost between transition

Good morning, maybe you have already solved it, but for any one else who came here, we have face with the same situation and the problem was that the player don't initialize on time when we do the code as you (let the initialization be done automatically and only add an AbstractYouTubePlayerListener in order to know when the player is ready.
To solve the problem, we have:

change in the xml (or in code) to app:enableAutomaticInitialization="false"
Initialize the player "manually"
youtubePlayerView.initialize(object : AbstractYouTubePlayerListener() {
override fun onReady(youTubePlayer: YouTubePlayer) {}
.....
}

This solves the problem for us.


binary search in cpp

Kindly assign it to me.

plz, assign this issue to me

Hello, Please assign me this issue.

@Ayush0431 I've made a pull request. Kindly have a look at it.


Move where we create the resolvers for our fields

Description
This PR moves where we create our custom resolver for fields. Our custom logic resolver
is pretty much tied to GraphQL core and the schema. So it makes sense to move it there,
it will also help with the auto_camel_case changes, as we need to know if we have auto
camel casing on when fetching the arguments.
Types of Changes

[x] Core
[ ] Bugfix
[ ] New feature
[x] Enhancement/optimization
[ ] Documentation

Hi, thanks for contributing to Strawberry 🍓!
We noticed that this PR is missing a RELEASE.md file. We use that to automatically do releases here on GitHub and, most importantly, to PyPI!
So as soon as this PR is merged, a release will be made 🚀.
Here's an example of RELEASE.md:
Release type: patch

Description of the changes, ideally with some examples, if adding a new feature.

Release type can be one of patch, minor or major. We use semver, so make sure to pick the appropriate type. If in doubt feel free to ask :)


Impelementing symlink support raises 2 issues/bugs

FFI::Stat is missing a file or dir equivalent for symlinks. I worked around this with:
module FFI
  class Stat
    def link(mode:, size:, uid: Process.uid, gid: Process.gid, **args)
      mode = ((S_IFLNK & S_IFMT) | (mode & 0o777))
      fill(mode: mode, size: size, uid: uid, gid: gid, **args)
    end
  end
end

The next step is implementing a readlink() but this runs into an issue in the Ruby Adapter where put_string is only sending one arg. This fixes it:
module FFI
  module Libfuse
    module Adapter
      module Ruby
        class << self
          def readlink(buf, size)
            link = yield
            raise Errno::ENOTSUP unless link
            raise Errno::ENAMETOOLONG unless link.size < size # includes terminating NUL

            buf.put_string(0, link)
            0
          end
        end
      end
    end
  end
end

I can open a PR on these now or wait until I've covered the rest of what I dig up, let me know how best to proceed.

Thanks. Re PR now or later, Up to you. It will take me a few days to get to look into it further.

Notes while looking at this...

Probably should also implement FFI::Stat#link?
basic_test has non implemented specs for links - (to resolve any libfuse side understanding)
ruby adapter is only tested through samples
possibly could add symlink support to VirtualDir and test via MemoryFS sample


Lockfile checksums

Just so it don't get forgotten about, #38 removed lockfile checksums, we want them back

This requires a makefile change to ensure it generates them, otherwise they'll just get nuked again at some point with any changes to Pipfile unless they're manually updated.

See PR #94 - i'm leaving this issue open until discussion can take place appropriately


Optimize log according to real scenarios

We analyze logs of iotdb in many scenarios, and we decide to change level of some logs and remove some useless logs, more details in: https://apache-iotdb.feishu.cn/docx/ACRUd32DPozuUTxK7MBcPWCBn0d

Codecov Report
Attention: 26 lines in your changes are missing coverage. Please review.

Comparison is base (cea15bb) 49.20% compared to head (59c7da7) 49.18%.

Files
Patch %
Lines

...ageengine/dataregion/memtable/TsFileProcessor.java
21.42%
11 Missing :warning:

...rageengine/dataregion/flush/MemTableFlushTask.java
23.07%
10 Missing :warning:

...ipe/event/common/heartbeat/PipeHeartbeatEvent.java
0.00%
2 Missing :warning:

...b/db/pipe/resource/wal/PipeWALResourceManager.java
0.00%
2 Missing :warning:

...orageengine/dataregion/flush/CompressionRatio.java
50.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #11808      +/-   ##
============================================
- Coverage     49.20%   49.18%   -0.02%
- Complexity    25558    25559       +1
============================================
  Files          2898     2898
  Lines        180198   180191       -7
  Branches      21584    21589       +5
============================================
- Hits          88658    88630      -28
- Misses        91540    91561      +21

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


TypeError: kit.addServerMiddleware is not a function.

Bug report
TypeError: kit.addServerMiddleware is not a function

Describe the bug
Clould'nt start nuxt dev server.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Create Nuxt 2 project with the nuxt-app with

? Programming language: TypeScript
? Package manager: Yarn
? UI framework: Vuetify.js
? Template engine: HTML
? Linting tools: ESLint, Prettier
? Testing framework: Jest
? Rendering mode: Single Page App
? Deployment target: Static (Static/Jamstack hosting)
? Development tools: jsconfig.json (Recommended for VS Code if you're not using typescript)

Add this package to the project and add nuxt-supabase module to nuxt.config.js.

Run the yarn run dev
See error

Expected behavior
I expected to run the nuxt server corectlly.
Screenshots

System information

OS: Ubuntu 20.04 LTS
Version of nuxt-supabase: ^2.3.1
Version of Node.js: v16.14.0

Additional context
I guess the problem happend from https://github.com/supabase-community/nuxt-supabase/blob/271db1b3216b7f1509ebd958553676f978bf0406/src/module.ts#L38-L41

Oops. I was doing written to a wrong section buildModules.
I moved to a right section modules, But it still not working.

For nuxt2 try use version 1.0.8
npm install<EMAIL_ADDRESS>

For nuxt2 try version 1.0.8 npm install<EMAIL_ADDRESS>
This worked for me. Maybe docs just need to be updated?

Maybe the supabase version needs to be pinned before work for the v2 client is published

For nuxt2 try version 1.0.8 npm install<EMAIL_ADDRESS>
This worked for me also. Thanks a lot.

The version 1.0.8 is just injecting supabase client to Vue's DI container.
Therefore this module is not needed IMO.
And the dependency @supabase/supabase-js is too old, about 2 years ago.
When guys want to use supabase client in Nuxt 2 without SSR, Just make a Nuxt plugin for provide supabase client. I think that correct way to use latest supabase client.

I'll try to fix the bug myself to take more convenience.

I am getting the same issue, does anyone fixed it?

I got the same error. Does anyone managed to fix it ?

Switching to release 2.2.1 works fine on my side.


I am unable to open a link

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Framework7 Version: current version

Platform and Target: system browser

Live Link or JSFiddle/Codepen: PREFERABLY (IF YOU WANT YOUR ISSUE TO BE RESOLVED ASAP). You can start from forking one of the templates: iOS JSFiddle/Codepen, Material JSFiddle/Codepen

What you did
Just downloaded example app given and edit the path, thats it , i clicked the about link, it doesnt open
Expected Behavior
EXPLAIN WHAT IS TO BE EXPECTED, HERE.
Actual Behavior
EXPLAIN WHAT IS ACTUALLY HAPPENING, HERE.
P.S. Remember, an issue is not the place to ask questions. You can use Stack Overflow
for that or join the #framework7 channel on irc.freenode.net, where we will be more
than happy to help answer your questions.
Before you open an issue, please check if a similar issue already exists or has been closed before.

Are you running the HTML file by double clicking on the icon? That won't work since Framwork7 uses AJAX to load pages. Please run a local server to test Framework7. Please refrain from posting questions on Github:

P.S. Remember, an issue is not the place to ask questions. You can use Stack Overflow
for that or join the #framework7 channel on irc.freenode.net, where we will be more
than happy to help answer your questions.


Update docker-compose.yaml

allows connecting to the host machine when <IP_ADDRESS> etc won't work. you can use it to access a local OpenAI server via the config.yaml:
OPENAI_API_BASE: "http://host.docker.internal:8080/v1"

Description

Related Issues

Solution and Design

Test Plan

Type of change

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

Checklist

[x] My pull request is atomic and focuses on a single change.
[ ] I have read the contributing guide and my code conforms to the guidelines.
[x] I have documented my changes clearly and comprehensively.
[ ] I have added the required tests.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Change default shortcut search history navigation

Previous and next in history is now up and down arrows.
Navigate search fields is now Ctrl/Cmd + up and down arrows.
https://github.com/Microsoft/vscode/issues/12645
@sandy081 comments?

Closing this as it is fixed.


I can't get the extensions list

Issue Type: Bug
i cant get the extensions list. so i cant install them. I'm using Mac OS 10.13.5
ERR net::ERR_FAILED: Error: net::ERR_FAILED
at SimpleURLLoaderWrapper. (electron/js2c/browser_init.js:2623:21)
at SimpleURLLoaderWrapper.emit (events.js:203:13)
workbench.desktop.main.js:1647   ERR No application in the Launch Services database matches the input criteria.: Error: No application in the Launch Services database matches the input criteria.
VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:34:44.548Z)
OS version: Darwin x64 17.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz (4 x 2600)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 2

Memory (System)
8.00GB (0.83GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

@Sarctiann can you launch code with --log-net-log=netlog.json and perform an extension search, quit the app and attach the json log. Thanks!

Good afternoon, I solved the problem!! Was my connection settings, something with the proxi
Enviado desde mi iPhone
El 21 abr. 2020, a la(s) 12:46, Marco Trevisan<EMAIL_ADDRESS>escribió:

I'm getting something similar here, all the network seems down in vscode (installed from snap), I'm getting this in the log:
[main 2020-04-21T15:35:51.597Z] Error: net::ERR_FAILED
at SimpleURLLoaderWrapper. (electron/js2c/browser_init.js:2623:21)
at SimpleURLLoaderWrapper.emit (events.js:203:13
While the attached netlog doesn't seem wrong per se https://paste.ubuntu.com/p/cdHr7YJJ3d/ (nor I find where the action happens TBH)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Looks like something similar to me, but mostly related to some configuration issue.
In fact, using HOME=/tmp/foobar to launch the vscode snap works fine, even if I use as user-directory the one in my home and even I've sym-linked my ~/.vscode to /tmp/foobar/.vscode, so nothing in vscode config itself seems to be wrong, but there's some local setting affecting it.
This is weird though, as being vscode the only app that doesn't work properly.

@3v1n0 which version of vscode are you seeing the issue with ? And what was the last version you see it working fine ?
The netlog shows you are behind proxy, how are you configuring it for vscode ?


[StorageQuota] Use batch to update account stats tables

This PR:

Add a general BatchUpdater class to perform batch update for a given sql command
Add batch support for updating container storage usage and aggregated container storage usage.
Add support for rewriteBatchedStatements for mysql database for better batch performance.

Codecov Report

Merging #1743 (f0df968) into master (44e5739) will decrease coverage by 58.56%.
The diff coverage is 0.00%.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 44e5739...f0df968. Read the comment docs.

Codecov Report

Merging #1743 (f0df968) into master (44e5739) will decrease coverage by 58.56%.
The diff coverage is 0.00%.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 44e5739...f0df968. Read the comment docs.


Provide option to change default left-click behavior

I never like to use the built-in web browser for anything and only want to use my system's default web browser to open web pages. Can you provide a toggle in Tools > Options that allows the user to select whether the default left-click behavior is "Open in Visual Studio" or "Open in Default Browser"?

All I had to do was read the documentation 🤦♂

Looks like I missed the ⚙ icon due to it being invisible in VS 2022's default dark mode.


Added autoLocation and autoTimezone option for weather modules and clock respectively.

Added autoLocation option for the current weather and weather forecast modules.

Going to get this reviewed at any point?

Thanks, I hope this is of use :)


Top level LICENSE file

Great project!
I notice it's MIT licensed in the .json - would it be possible to mirror this in a top-level LICENSE file?
The license wording is here: https://opensource.org/licenses/MIT.
Many thanks!
JCM

@jpluscplusm Top level LICENSE file has been added. Thanks! 💯


Document the unique port attribution rule.

Record some discussion:
Only the owning port of the generated files has the permission to copy, move, modify or delete them. Other ports only have the permission to find (find_library) and read content (file(READ)).


Typo at the start of the document

It looks like there's a typo NTSF instead of NTFS at the start of the document. It's under the heading:
"Configure permissions for the production deployment share"

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

ID: 1c66f2a3-5be3-e3cf-b90f-c9ce2f6ecf9d
Version Independent ID: c9ed7f55-3770-73a4-5ee4-deee16eb7600
Content: Deploy a Windows 10 image using MDT (Windows 10) - Windows Deployment
Content Source: windows/deployment/deploy-windows-mdt/deploy-a-windows-10-image-using-mdt.md
Product: w10
Technology: windows
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

Thanks I'll correct this right away.

This is fixed


Producer: routing_key works only for URL parameters

Hello,
Following the documentation here https://www.krakend.io/docs/backends/amqp-producer/#routing_key the routing key is expected to work with static values.
Unfortunately, this functionality is not supported by the code.
I am willing to open a Pull Request to make the code supporting this. Are you ok with including this functionality?
@kpacha @alombarte is there any alternative to make use of static routing values?

Hello @lennondtps
Thanks for your offering. From a product perspective, the functionality sounds good. If the code ends up in the repository or not depends on the implementation and efficiency of the solution.
Feel free to send a PR for review

Hello @alombarte ! Feel free if you have any comments/suggestions for my PR --> https://github.com/krakend/krakend-amqp/pull/22


NCTL: add pushing of logs to s3 to nightly

Changes:

Uploads nctl-assets-dump to s3 on test failure.

Ticket: https://app.zenhub.com/workspaces/cn-sre-60d363546afb85000e491ff6/issues/casper-network/sre/217
Example:
2021-11-09T18:52:29.485947 [INFO] [286] NCTL :: ------------------------------------------------------------
2021-11-09T18:52:29.487557 [INFO] [286] NCTL :: Starting Scenario: itst01
2021-11-09T18:52:29.488774 [INFO] [286] NCTL :: ------------------------------------------------------------
2021-11-09T18:52:29.490244 [INFO] [286] NCTL :: Fake fail
2021-11-09T18:52:29.491484 [INFO] [286] NCTL :: Test exited with exit code 1
2021-11-09T18:52:29.492598 [INFO] [286] NCTL :: Dumping logs...
2021-11-09T18:52:29.496950 [INFO] [286] NCTL :: transient asset dump ... starts
2021-11-09T18:52:29.592164 [INFO] [286] NCTL :: transient asset dump ... complete
2021-11-09T18:52:29.593309 [INFO] [286] NCTL :: Uploading dump to s3...
2021-11-09T18:52:33.284784 [INFO] [286] NCTL :: Download the dump file: curl -O https://s3.us-east-2.amazonaws.com/nctl.casperlabs.io/nightly-logs/149_nctl_dump.tar.gz

bors r+


#7  Convert to vanilla JS (ES6+). No more jQuery.

This is for Issue #7

Thanks @ellisgl to contribute to my project! Sorry to not give you the contributing guide yet, I will provide it soon. So, i gonna analyze the changes for this PR, and test it in my env. Thank u again! Success


Does this work with deep nested objects?

I have a complex nested object i would like to use with zundo. Is it possible? if so what are the best practices?

Hi @cyango, yes this will work with deeply nested objects. Zundo stores the entire state object in its history. If you do any sort of diffing, you'll want to use something like fast-deep-equal.
When using deep objects with zustand, some people will use the immer middleware which can also work with zundo. I don't use immer but I know some people are fans.
Thank you!

My best advice is to "try it out" and see how using deep objects work!

Thanks for the quick answer. Actually i've tried it out already.
I'm experiencing a issue that whenever my object is updated even if it has the same values (inside a deep nested array for example) it created multiple states that i need to click "Undo" a lot of time to get there.
I have tried equality: shallow, but with this it seems like it does not undo the wanted parts

Ah yes, you'll need to use a deep equality checker rather than zustand/shallow. If you share a code sandbox or stackblitz link, I can help further.

I can improve the docs to make that clearer (unless you'd like to make a PR)!

So i should use my own equality checker to check if a certain property or item on deep array is changing? How should i do this with the own state? I mean how do i pass the current state to the equality custom function?

HI @cyango,
Could you make a reproduction of the issue? Here is an example of using Deep Equal with zundo. Thanks!


NACL: Store ED25519 Key instead of Curve 25519 Key

Currently we store the Curve25519 Key, and derive the ED25519 key from there.

https://libsodium.gitbook.io/doc/advanced/ed25519-curve25519

Note: If you can afford it, using distinct keys for signing and for encryption is still highly recommended. (so we might need to think if this is really what we want, e.g. do we really need to store the private key at all)

This needs to be investigated.
Originally proposed by @zaibon  in https://github.com/threefoldtech/jumpscaleX/issues/174#issuecomment-468233787, please elaborate @zaibon if you have more thoughts on this.

➤ Christophe de Carvalho commented:
@GlenDC There is already a open PR that implement that idea of storing the ED25519 instead of the Curve25519

➤ Glen De Cauwsemaecker commented:
OK, linked it, will review it later.


Add restricted claims to token

It would be great if you could include an example on how you could add an restricted claim, e.g. azp.

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

ID: 195c79a3-ccc5-8c6a-233e-95e344a9b4df
Version Independent ID: 401c7557-5817-bbd3-5bd8-8c97ef5a28cc
Content: Customize claims for an app in an Azure AD tenant (Public Preview)
Content Source: articles/active-directory/develop/active-directory-claims-mapping.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

I'm talking about  OAuth Endpoints v2.0. The claim exists in one tenant I work with but not in another

@mw8er, Thank-you for pointing it out. We will investigate with the content author and update the same.

@mw8er, Restricted claims cannot be added to Id tokens or access tokens.
We are closing this thread now. In case of any queries, please feel free to re-open this thread.


Angular 7 support?

I am following the Getting Started guide, and I am using the angular cli. On attempting to serve the project, I get the following error:
ERROR in ./node_modules/cesium/index.js 9:4
Module parse failed: 'return' outside of function (9:4)
You may need an appropriate loader to handle this file type.
| if (process.env.NODE_ENV === 'production') {
|     module.exports = require(path.join(__dirname, 'Build/Cesium/Cesium'));
>     return;
| }
|
ℹ ｢wdm｣: Failed to compile.

I am actually using angular 7, and notice that angular-cesium requires angular 8 to be installed, so I am assuming this could be the reason for my error.
I have a sample repo at -> https://github.com/parky128/cesium-playground where you can replicate what I am seeing
Is there another version of angular-cesium I can use that will work with angular 7 or do you only support 8 as of now?

In your tsconfig.json, add a line in your paths section:
"cesium": ["node_modules/cesium/Build/Cesium/Cesium.js"]

Thanks @TheTiGuR 👍


How we can Find which Policy needs to be refreshed or which policies are refreshed.

Hello Team,
I have run the Azure guidance Visualizer tool and have all the details now
I need to find which Policies are refreshed or which are not ?

How can I Find it ?
Thank You..

Currently, AzGovViz doesn't have a way to show the delta between what you have in your environment and what is currently available in the latest ALZ release. However, we do have a story in our backlog to work on adding that analysis to this tool, so that you can easily see which policies are out of date, etc. We're looking at working on this in July timeframe.
What you can do is use AzAdvertizer, and look at all the ALZ policy updates since you last deployed ALZ, but this would be a huge amount of work if you did your initial deployment more than a year ago.

Thank you to Clarify.
Apart from what you have answered.

Once we have the analysis tool in AzGovViz. We can check policies are out of date. So it means that we need to refresh the policies manually whenever there is a new release ? or the policies are updated whenever there is a release ?

What we are using is EPAC for this, we update the definition files through a sync process within EPAC. In this link you can find more: EPAC

@Anto4595 besides using tools like Enterprise Policy as Code (EPAC) as @EelcoLabordus mentioned, we have the following official guidance available:
https://aka.ms/alz/update
https://aka.ms/alz/update/custom
You can also review the wiki on this repo:
https://aka.ms/alz/custompolicyupdate
Closing as there is no further action for the ALZ team. If you have follow queries, feel free to re-open or submit a new issue.


[FEATURE] Centralize user data

Description
Every page of the website require current user data and every page fetch that seperately.
I want to make the fetch request from a single page and share it in the whole website.
Screenshots
No response
Additional information
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Description
Every page of the website require current user data and every page fetch that seperately. I want to make the fetch request from a single page and share it in the whole website.
Screenshots
No response
Additional information
No response
Record

[x]  I agree to follow this project's Code of Conduct
[x]  I have checked the existing issues
[x]  I'm a GSSoC'23 contributor
[x]  I want to work on this issue

I think this'd be a good idea!


RuntimeError: File cannot be opened

I created a simple fasta file that is formatted as follows:

{sequence id}
{full sequence}

I want to compute embeddings for these sequences so I followed along with the readme with the following code:
python scripts/extract.py esm2_t33_650M_UR50D data/output.fasta data/output_esm --repr_layers 0 32 33 --include mean per_tok
But it led to a runtime error. The full traceback is below:
Read data\output.fasta with 5167 sequences
Processing 1 of 151 batches (77 sequences)
Traceback (most recent call last):
  File "C:\...\scripts\extract.py", line 137, in <module>
    main(args)
  File "C:\...\scripts\extract.py", line 128, in main
    torch.save(
  File "C:\...\Miniconda3\lib\site-packages\torch\serialization.py", line 422, in save
    with _open_zipfile_writer(f) as opened_zipfile:
  File "C:\...\Miniconda3\lib\site-packages\torch\serialization.py", line 309, in _open_zipfile_writer
    return container(name_or_buffer)
  File "C:\...\Miniconda3\lib\site-packages\torch\serialization.py", line 287, in __init__
    super(_open_zipfile_writer_file, self).__init__(torch._C.PyTorchFileWriter(str(name)))
RuntimeError: File data\output_esm\M07480:75:000000000-KPMR9:1:1118:5103:4246.pt cannot be opened.

What happened? I'm not sure what went wrong.
Thank you!

Never mind!


Promote --fix when standard detects issues

Problem
standard --fix does a lot of hard work for the user and should reduce instances of linter-rage when faced with sweeping changes, such as the new JSX single -> double quote rule: https://github.com/feross/eslint-config-standard/issues/27.
However, standard --fix is new and many users will not know to even look for it. Some recent anecdotal evidence:

This new & handy feature could do with more promotion, especially when it's most applicable: when the user is staring at a wall of linter errors.
Suggestion
Mention --fix whenever standard reports an error.
Issue stemming from this comment: https://github.com/feross/standard/issues/564#issuecomment-235167750

I'd submit a PR but it's not obvious what the wording should be or how this should be achieved.
Ideally the error message would span multiple lines like:
standard: Use JavaScript Standard Style (http://standardjs.com)
Try `standard --fix` to automatically fix problems.

But that's probably not possible in current setup as is. The tagline is printed in between standard:  and the (homepage) in the following:
standard: Use JavaScript Standard Style (http://standardjs.com)

Without looking too deeply it looks like the formatting of the error message is applied by eslint. Perhaps there are other options to get it to print a different thing?
Embedding it on the one line as a part of the tagline looks like:
standard: Use JavaScript Standard Style. Try `standard --fix` to automatically fix problems. (http://standardjs.com)

This is maybe just acceptable in this form, though it is a bit wordy.
The tagline is not really the right place for this as it also infects --help (and perhaps other places?):
> standard --help
standard - Use JavaScript Standard Style. Try `standard --fix` to automatically fix problems. (http://standardjs.com)

Usage:
    standard <flags> [FILES...]

    If FILES is omitted, then all JavaScript source files (*.js, *.jsx) in the current
    working directory are checked, recursively.

    Certain paths (node_modules/, .git/, coverage/, *.min.js, bundle.js, vendor/) are
    automatically ignored.

Flags:
…

Maybe this is ok though?
Overall: ¯\_(ツ)_/¯

Great idea -- this is easy to add in standard-engine which is where the support for --fix was added. PR here: https://github.com/Flet/standard-engine/pull/115


Run tasks in queue

[x] tests and linter show no problems (npm t)
[x] code is properly formatted (npm run fmt)
[x] description of changes is added in CHANGELOG.md

Landed in https://github.com/metarhia/impress/pull/1609/commits/db947457809d5ef1e90f0f02a1572656c0894681 and https://github.com/metarhia/impress/pull/1609/commits/0ad3cd1588c98e1175a790b25fef8f445e14de0c

Landed in https://github.com/metarhia/impress/commit/60a03dbf78df7f599e62770796dc7dafdc950741 and https://github.com/metarhia/impress/commit/a1ad9d30f0223cbab4176262d556cae407b6413c


Enable crosswiki notifications and minor UI fixes in displaying notif…

This PR enables crosswiki notifications so that some of the wikidata and wikipedia notifications(currently thank you edits) can be seen in the app.
Moreover, it does quite a few UI fixes:

removes whitespace from the beginning of a notification
shows appropriate notification icon, fetching it from the server
parses HTML string to show unescaped string

Notifications page now looks much better :)

Codecov Report

Merging #1540 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #1540      +/-   ##
=========================================
- Coverage    3.13%   3.11%   -0.02%
=========================================
  Files         136     140       +4
  Lines        7397    7437      +40
  Branches      713     714       +1
=========================================
  Hits          232     232
- Misses       7150    7190      +40
  Partials       15      15

Impacted Files
Coverage Δ

.../free/nrw/commons/glide/SvgDrawableTranscoder.java
0% <0%> (ø)

...rw/commons/mwapi/ApacheHttpClientMediaWikiApi.java
5.46% <0%> (-0.02%)
:arrow_down:

...free/nrw/commons/glide/SvgSoftwareLayerSetter.java
0% <0%> (ø)

...nrw/commons/notification/NotificationRenderer.java
0% <0%> (ø)
:arrow_up:

...ee/nrw/commons/notification/NotificationUtils.java
0% <0%> (ø)
:arrow_up:

...ain/java/fr/free/nrw/commons/glide/SvgDecoder.java
0% <0%> (ø)

...va/fr/free/nrw/commons/notification/SvgModule.java
0% <0%> (ø)

... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 32d3694...fea2288. Read the comment docs.

Works for me @maskaravivek thanks!


Test against Django 4.2 and main

At the moment the package is tested up to version 4.1 of Django , we want to test it also with version 4.2 and main to solve in advance any problems related to future versions of Django.

Closed by #349


Improve github 's scm block to fully support pull requests uses cases

Is your feature request related to a problem? Please describe.

When looking at an SCM directive block, it's not really explicit that updatecli should open a PR:

scm:
  github:
    user: "{{ .github.user }}"
    email: "{{ .github.email }}"
    owner: "{{ .github.owner }}"
    repository: "{{ .github.repository }}"
    token: "{{ requiredEnv .github.token }}"
    username: "{{ .github.username }}"
    branch: "{{ .github.branch }}" # Is it a PR targeted to that branch, a commit to this branch, should it be created if not existing?

It's not possible to define PR attributes or policies such as labels, approvers, or auto-merge

Describe the solution you'd like
WDYT about defining a "pull_request" block?

Default uses the principal branch of the current defined repository:

targets:
  myCustomTarget:
    # Target stuff here ...
    scm:
      github:
        # usual directives such as user, token, etc.
        pull_request:

You can define a custom target repository (use cases of forks) and branch (when not using the default):

targets:
  myCustomTarget:
    # Target stuff here ...
    scm:
      github:
        owner: "dduportal"
        repository: "jenkins-infra-charts"
        branch: "production"
        pull_request:
          target_owner: "jenkins-infra"
          target_repository: "charts"
          target_repository: "master"
# Should open a PR from github.com/dduportal/jenkins-infra-charts/tree/production to github.com/jenkins-infra/charts/tree/master

Define custom PR attributes (at least labels).
The "labels" are tracked in #108 .

targets:
  myCustomTarget:
    # Target stuff here ...
    scm:
      github:
        # usual directives such as user, token, etc.
        pull_request:
          labels:
            - "bypass-review"
            - "hotfix"
          auto_merge: true

Describe alternatives you've considered

Define a custom bot for merging PRs outside updatecli: not really a solution

Additional context
N.A.

Now that I spent more time dealing with different pullRequest scenarios, I am thinking about having an additional "stage" after target where I could define which and how to open pullrequest.
This would be an example (not yet implemented)
sources:
    ...
conditions:
    ...
targets:
    target1:
    target2:
pullRequest:
    title: this is a pull request title with default to pipeline title
    dependsOnTarget:
         -  target1 # A target key
         -  target2 # The second target key
     kind: github # At this stage we only support github pullrequest
     spec:
         labels:
             - documentation
             - enhancement
         draft: true

Being able to specify a list of target as dependency mean that the body of the pull request would not changed between updatecli run

That is a really interesting approach!
It triggers a few minor question but it would provide a noce way to not break old config, and it would be a nice declarative way.

WDYT about adding an attribute « scm » to link with an scm ?
Wdyt about « targets » instead of « dependsOnTargets » ?

Wdyt about « targets » instead of « dependsOnTargets » ?
I don't have strong opinions, I like targets for the simplicity but I find dependsOnTarget more explicit. In my current implementation, I took dependsOnTarget (before reading your component) So I am open to reconsider my decision

WDYT about adding an attribute « scm » to link with an scm ?
while I would prefer that approach, it would require me additional work as I have to merge both scm and pullrequest spec content. At the moment I took the easy path by duplicating information


Edit: BT Sport 4 [UK]

Channel ID (required)
BTSport4.uk
Channel Name
BT Sport 4
Alternative Names
No response
Network
No response
Owners
No response
Country
UK
Subdivision
No response
City
No response
Broadcast Area
No response
Languages
No response
Categories
No response
NSFW
FALSE
Launched
No response
Closed
No response
Replaced By
No response
Website
https://www.tntsports.co.uk/
Logo
https://img01.products.bt.co.uk/content/dam/bt/portal/images/logos/tnt/TNTSports4_Logo_White_RGB_Logo.png
Notes
"BT Sport 4" has been rebranded and is now called "TNT Sports 4"

Please update your request:

the size of the logo should not exceed 512x512px

https://github.com/iptv-org/database/blob/master/CONTRIBUTING.md#channels

Changes made


Refactor event conversion to be more faithful

followup to #604 , while ofc we can convert event to be an eventexpr I've thought that it's better to be more precise while converting and thus we should stick to a simple form of event when possible

Makes sense.


Dont output actions column if there aren't any actions

Dont output the table actions column if there aren't any actions defined. Cleans up some empty space at the end of the rows.

On line 11, you can see we add 1 to the columns count. We need to make this conditional, only if actions are defined.

Made the change myself, thanks!

Ah thanks 👍


spun

Thanks @RichardScottOZ! My readme is pretty disorganized!

Hi noticed you forked from an another (my dev) account, would you be able to make a PR there first?


Is it possible to define multiple authorizers for a single method?

Problem described here:
http://stackoverflow.com/questions/35740710/is-it-possible-to-define-multiple-authorizers-for-a-single-method

The stackoverflow's link is out of dated.

I don't understand the use case. However, your goal should be to push all complexity around authorization out of your controllers and into your authorizers.
You can define authorizers that do anything you need. They can call other authorizers, they can use any inheritance or composition pattern you like, or they can check the weather via an API and reject requests from users in cloudy areas. 😄  Don't try to do too much in a controller.


Best way to organize and promote lessons

@wking mentioned some great ideas for how best to organize and promote study group lessons over on https://github.com/swcarpentry/board/pull/27 - to summarize their suggestions:

keep the lessons themselves out of the study-group repository, since maintaining a lesson on awk and keeping track of study groups around the world teaching scientists our tooling seem like two different tasks.
linking to lessons by title seems better than linking to groups. At least, there should be a way to answer “what are the most popular hour-long lessons talking about awk?” (or whatever).

heya @wking, continuing on from our other thread:

hmmm, I definitely see what you mean about maintaining lessons and linking groups to be different tasks. I guess I put them both under the umbrella of 'pointing to content'. The issue is that we we serve two distinct groups: those who aren't into maintaining their own repos, and those who are. For those who aren't, I wanted to make things as easy as possible for them; for those who do, I wanted to direct traffic and attention to their projects, by linking out to them.

I really like the idea of curating together a list of links to lessons by topic; feel free to PR :) or I can take a run at it. I would however maintain the list of links by location too, to draw attention to all the hard work these groups are doing and to help others find and link up with them (rather than starting their own when there's already one right next door).

On Mon, Mar 23, 2015 at 04:05:34PM -0700, Bill Mills wrote:

linking to lessons by title seems better than linking to
groups. At least, there should be a way to answer “what are the
most popular hour-long lessons talking about awk?” (or whatever).

So it's hard to handle the “hour long” part of this cleanly, but if
you package up your lessons using Bower, you can just piggy-back on
their keyword search and star system [1,2] to get lessons about awk.
For a sketch of this approach from SWC's 2014 sprint, see 3
(although that was focused on dependency resolution, which is
orthogonal to the discoverability issue I'm suggesting Bower for
here).  I don't think getting Bower installed on lesson-maintainer
boxes will be too high a bar (but I'd appreciate more feedback here).
Once you find a lesson using Bower's search, you'll end up at the
lesson's repository, so folks just consuming the lesson shouldn't
need to install Bower (although they can if they want to search
packages/lessons from the command line).

On Mon, Mar 23, 2015 at 04:11:21PM -0700, Bill Mills wrote:

I would however maintain the list of links by location too, to draw
attention to all the hard work these groups are doing and to help
others find and link up with them (rather than starting their own
when there's already one right next door).

Right, I think you want one collection of “science/computing study
groups that you can look at for inspiration (or to join)”.  And then
another collection of “hour-ish lessons on assorted science/computing
topics that you can learn from or use as a basis for teaching others”.
I'd keep things going the way you currently are in this repository for
the first list, and then have folks push Bower packages and use the
Bower search enging for the second list.

Cool ideas! I think we should take a run at examining the bower workflow; my gut says this is very complicated for most people (esp when thinking about contributing back), but I'm very willing to be proven wrong. I wrote up the awk lesson as straight md, no jekyll, no fancy shmancy anything, so that the barrier to participation was as low as possible (in this case, elementary git and md), which is a design feature I really want to keep - but let's give a package manager a try. @wking, let's collaborate on making a demo of this workflow.

Poking around from 1 led me to workshopper 2 (which is really
cool) and http://nodeschool.io/.  nodeschool is pretty much what
you're trying to do here (both for currating lessons and for building
communities around workshops).  Maybe we should see about spinning up
their infrastructure for our audience?  Their static frontend has
notes about local instances 3.  It looks like they're pulling their
event data from Google Docs 4, which I find questionable, but where
we store the data doesn't really matter.  It also looks like they
manually currate a list of workshoppers, so the Bower-listing idea may
still have legs.

On Mon, Mar 23, 2015 at 04:44:11PM -0700, Bill Mills wrote:

… let's collaborate on making a demo of this workflow.

Sure.  Drop the awk lesson in a repository somewhere, and I'll PR it
with a bower.json.

have at'r: https://github.com/BillMills/awk-lesson
also: man I feel dumb for not thinking of nodeschool, they're awesome and you're right, a pretty close cousin of what we're doing here. I would contrast the two by saying that a Study Group is intended to be super easy to set up and run, with a minimum of overhead, but nevertheless nodeschool is an awesome example of something very similar and we should definitely be learning from them - in fact, why don't I ping them right now...

gone to a submod structure for this - allows people to retain their own content repos, keeps this one from blowing up, relatively technically simple.


Ability to expan number of upgrade slots via config

The amount of upgrade slots feels limited. i think it is possible to increase the limit of them. Howerver it depends on the upgrades in question if they are able to scale linearly or not.

In the case of expanding. I can see things like the manipulator being slow and might need some defragment upgrade (Some thing that does the whole drive in a couple passes). And maybe some heat upgrade for the solderer as that can be slow as well. But do we really need expanding?

In the case of expanding. I can see things like the manipulator being slow and might need some defragment upgrade (Some thing that does the whole drive in a couple passes). And maybe some heat upgrade for the solderer as that can be slow as well. But do we really need expanding?

yes can see an issue where you can have a few quantun quarries and thry fill up a ender chest quite fast. the importers may not be able to catch up to pull items out fast enough.

yes can see an issue where you can have a few quantun quarries and thry fill up a ender chest quite fast. the importers may not be able to catch up to pull items out fast enough.

allos speaking of defragging we are assuming those disk drives are Hard disks right? :P

allos speaking of defragging we are assuming those disk drives are Hard disks right? :P

Yeah, isn't a stack + 3 speed upgrades enough to follow the quarries? Also I guess you could do multiple importers.

Yeah, isn't a stack + 3 speed upgrades enough to follow the quarries? Also I guess you could do multiple importers.

I've said this multiple times, we don't need multiple filter slots. And you can just add more importers/exporters if needed.

I've said this multiple times, we don't need multiple filter slots. And you can just add more importers/exporters if needed.

filter slots? you miss read... UPGRADE slots...

filter slots? you miss read... UPGRADE slots...

 Yeah, still not sure about more upgrade slots.

 Yeah, still not sure about more upgrade slots.

I wouldn't be against letting the upgrades stack up to to a certain number, possibly even with a config option and allowing them in the same GUI you have now, similar to how industrialcraft overclockers work. You can put one in each slot, or you can put 8 (or more, not sure what the limit is, probably 16 or 64, whatever the stack size is on overclockers) in a single slot.
I've simply been buffering. A single ender chest (from Ender Storage) goes back to my base which is extracted using Ender IO conduits with speed upgrades into three gold chests all with importers with stack and speed upgrades in them. You could buffer into the ender chest, too if it was the other side that needed faster importing. I haven't tried extra utilities transfer nodes with speed upgrades; could be faster, but idk.

I wouldn't be against letting the upgrades stack up to to a certain number, possibly even with a config option and allowing them in the same GUI you have now, similar to how industrialcraft overclockers work. You can put one in each slot, or you can put 8 (or more, not sure what the limit is, probably 16 or 64, whatever the stack size is on overclockers) in a single slot.
I've simply been buffering. A single ender chest (from Ender Storage) goes back to my base which is extracted using Ender IO conduits with speed upgrades into three gold chests all with importers with stack and speed upgrades in them. You could buffer into the ender chest, too if it was the other side that needed faster importing. I haven't tried extra utilities transfer nodes with speed upgrades; could be faster, but idk.

I feel like there should be a toggleable amount or a new toggleable upgrade that adds to the amount of usable upgrade slots.

I'm leaving it as is. It's fine this way.


Module 03 test adequacy

Small updates to slides, added stryker.   Needs calendar entries.

-Need to update names and date on first slide (and subsequent section starter ones)
-Slide 17 (unwanted assumptions): We can relate it to our conditions of satisfaction from last lecture (especially the one that allows for duplicate name). Ask them: consider if we don't have that COS. That can cause programmer to make unnecessary assumptions
-From last semester: RIP animations are too many (slides/clicks), perhaps we can combine some.
Rest LGTM


notary microsite for stand-alone documentation

Closes #1054
TODO:

[X] Fix top nav nesting and layout
[x] Fix table formatting on all pages
[x] Fix H1 formatting
[x] Fix code formatting
[x] Fix bottom nav layout
[X] Update docs readme

Signed-off-by: David Lawrence<EMAIL_ADDRESS>(github: endophage)

Looks like we would not be able to merge this PR because of merge conflicts. Please rebase, fix conflicts, and force push to your branch.

This is not perfect in any way but it's a good start. I've made a couple of tweaks to the copy to distance it from the docker official docs but everything else is just layout and linking that had to be changed to work properly with Jekyll. I'm anticipating having to deal with some bugs once it's enabled for gh pages but I'm not sure how to test that right now...

Looks like we would not be able to merge this PR because of merge conflicts. Please rebase, fix conflicts, and force push to your branch.


Degenerate poses and noisy data

Good day. I am an old (almost ancient!) programmer working at the university of Bern, Switzerland. I am toying with HTC Vive hardware that had been previously purchased (no idea when) with the grand plan to set up an experiment where subjects will be located on a 6-degrees-of-freedom platform, wearing the headset.
First of all, lots of compliments to those who are behind the development of this library. It is exactly what I was looking for. I will deal with creating the openGL graphics (that's my speciality...), but libsurvive takes care of the very complex part of extracting the pose data from the system - a task about which I would not have known where to start.
I set up a test environment by positioning two lighthouses, and then laying a headset and a wired watchman on the seat that is mounted upon the platform. This image should provide an idea of the setup:

The tentative procedure I follow to initialize the library from a clean setup is as follows:

I remove all json files plus the calinfo directory from my base directory.
I power the lighthouses.
I plug in the USB cables of the headset and the wired watchman.
I run the simple_pose_test program you provide until it starts producing pose data for the two objects
After that, I execute my code, that will make use of the calibration data previously obtained.

My code initializes libsurvive with these lines:
  s->ctx=survive_init(0,NULL);
  if(!s->ctx)
    rb_raise(rb_eArgError,"%s: cannot open libsurvive",__func__);

  survive_install_log_fn(s->ctx,log_fn);
  survive_install_pose_fn(s->ctx,pose_fn);

(the code is called from the Ruby interpreter). log_fn is very simple:
static void log_fn(SurviveContext *ctx,SurviveLogLevel log_level,const char *msg)
{
  lg("Survive (%d): %s",log_level,msg);
}

(lg is my standard logging subroutine that tags messages with time and date). pose_fn is a bit more complex:
static void pose_fn(SurviveObject *so,uint32_t tc,SurvivePose *pose)
{
  struct timespec now;

  clock_gettime(CLOCK_MONOTONIC,&now);
  write(spub->log_unit,&now,sizeof(struct timespec));

  survive_default_pose_process(so,tc,pose);

  dev_stc *dev=find_device(spub,so->serial_number);

  if(spub->last_prog<dev->prog)
  {
    write(spub->log_unit,"S",1);
    uint16_t slen=strlen(dev->srl);
    write(spub->log_unit,&slen,2);
    write(spub->log_unit,dev->srl,slen);
    spub->last_prog=dev->prog;
  }
  write(spub->log_unit,&dev->prog,sizeof(uint16_t));
  write(spub->log_unit,&pose->Pos,sizeof(FLT)*3);
  write(spub->log_unit,&pose->Rot,sizeof(FLT)*4);
}

What it does is just to save the pose data. Everything works OK.
The file attached below contains the log messages generated by libsurvive and captured by log_fn during a session where I asked the platform to move a bit along its six degrees of freedom, in sequence (the headset and watchman moving together with it):
log.txt
The archive file attached next contains four graphs, two for the headset and two for the watchman. They compare the linear and angular positions of the platform and of the two objects. I obtain yaw, pitch and roll from the quaternion, and I am sure I will find the right way to map the two sets of motion data in a coherent way. The returned motion of the Vive objects is consistent with that of the platform, and that is a very good starting point.
graphs.zip
I would like to find the answer to the following questions, and will appreciate any help that you will provide:

I receive data from the headset constantly, but data from the watchman are missing during most of the period. Is this to be expected? What could be the reason?
The pose data I receive is noisy. Is this to be expected? I certainly can smooth out the data, but I am wondering whether there is some sort of well-known trick in the set-up or the interface to the library that I am omitting or doing wrong.
I receive lots of these pose is degenerate and MPFIT failure messages. Is there something I can do about them?

Thanks in advance.
Carlo

It sounds like one or some combination of the following:

Bad initial calibration results
Dropped USB packets for the WW devices
The solvers aren't running fast enough and so it is effectively dropping data.

Dropped USB packets would happen if the USB hub / host was congested -- possibly if you had a USB2 hub and not a USB3 hub. Worth mentioning; but probably the least likely of the possible issues but the easiest to fix.
From the setup, a bad initial calibration would only happen if there was a bug -- it seems like ideal conditions; no giant mirrors etc. I would verify it visually in the viz tool or some other way to plot the lighthouse positions.
If the process is pegging the CPU at 75-100% it might be just running too slow. Try '--syncs-per-run 4' to solve once every 4 sync frames (default its once per sync frame), which might make it less likely to drop data.
It'd help me to know more of what is going on with it if you send in a few recording files -- one which is just everything standing still, and good for calibration, and another which is with some or all of the stuff in motion. To generate a recording, just pass in '--record .rec.gz --defaultposer Dummy --configposer Dummy' as an argument to either survive-cli or any other application that initializes survive with its command line parameters.
For the calibration one, start it up and give it 30 seconds to a minute. It just has to be enough to get OOTX + enough data to solve the initial position for. Let me know if you have any questions!

Oh -- another important point -- using the callbacks like that is fine, but do execute on the thread that the solvers and USB read works on. If you are slow through the callbacks, it will cause tracking issues. I'd suggest using the 'simple API' interface if you are going to do heavy lifting with the poses. That API will let you safely get updates / poses / button presses in a separate thread.

Thanks a lot for your reply.
First of all, the absence of data for the watchman was due to it being connected to a USB2 port. I connected it to USB3 (the second and last port available on my motherboard) and I had data all the time. The unpleasant fact is that the data for the watchman was noisier than that for the headset.
For the moment, since the first concrete project I'll have to work on only requires data from the headset, I just disconnected the watchman.
I have dumped log data as per your request. You can find two files in this archive:
recs.zip

File spt.rec includes the log file generated while running the calibration phase (by running program simple_pose_test). I let the program run for a few seconds after the Stage 4 succeeded message was generated, without moving the headset.
File .rec includes the log file generated while running my code, during a set of platform motions equal to the one that I used the other day.

I also attach the list of log messages generated during that run:
log.txt
I add two more graphs, to show that the noise is comparable with what I sent previously:
graphs.zip
What is the theoretical meaning of the "MPFIT failure" and "pose is degenerate" messages? I see that 'MPFIT' is the poser. Could it be adviceable to try other posers?
I run the libsurvive task in its own thread. I verified that the thread (which just loops calling survive_poll) consumes only 35% of one thread (this machine has an Intel Core i7-3770 CPU @ 3.40GHz). I believe this to be acceptable.
What is the 'viz tool' that you mention? Is it something I can download and install under Linux?
I am available to run any test.
Thanks again.
Carlo

Did you generate those recordings off of the USB2 port or the USB3 port? From the recordings, it looks like there is still data being dropped.
Look here: https://github.com/cnlohr/libsurvive#visualization for info on how to set up the viz tool.
I made a recording of the calibration run: https://www.youtube.com/watch?v=cwGwPkRfNYQ
Where you see the blinking indicators on the HMD / in the 2D view shows that its losing data on that sensor. You'd only expect a sensor to go dark when its no longer in the field of view of the lighthouse.
I suspect it isn't just dropping data; but its getting confused on syncs every so often and you get the horizontal time for where the vertical time should be. I'll see if I can detect / reject these cases; it's probably what is causing really large jumps. But you'll want to solve the data rate issue for any real usage of this data even with that fixed.
This will happen with every poser; as the issue is upstream of the solvers in general.
Degenerate poses are detected by being way outside of the observable space, or by the optimization pass failing to minimize the reprojection error to an acceptable amount. It almost always means some form of bad data; whether it be confused syncs or something mirror like in the room.

The large error spikes were due to IMU windup -- it'd go too long without an observation, and the IMU error would just blow up. I've fixed it to stop integrating the IMU after 1/20th of a second -- you should get 2 full XY pairs in that time.
The light data is really noisy here too -- I'm seeing a lot of small pulses that are out of place. Could be due to reflections in the space; but I've seen older hardware have the same kind of characteristics. Might add some more outlier rejection logic; but if I filter purely based on light length any more than it already does now, it'll drop valid data.
Is this on some sort of CNC thing? Here is the movement I saw:

Still noisy due to some bad light data; but looks far too regular to be done by hand.

Thanks again.
First some data to fill you up. The 6-degrees-of-freedom platform looks like this:

The top platform can move in any direction (three linear and three angular degrees of freedom). Over it we have a structure that holds a seat, where persons can sit, while the platform under them moves. To make things clearer, I work for the institute of psychology, and the researchers study the perception of motion.
The visor will have to be worn by subjects for experiments. Currently I am laying it on the seat, while my program moves the platform along the six axes of freedom in turn.  You can follow the motions in the graphs. The script I use for testing always performs the same motions.
Your fixes made the 'pose is degenerate' messages disappear! that's a great improvement.
The devices I am using are certainly old. I will be able to ask precise details about when they were bought in about an hour's time, but they are most probably as old as they can be.
The data is now much smoother. A new pack of graphs follows:
graphs.zip
The run with time 090122 is from a run where I was not collecting log files (using the parameters you suggested), and the other run (091815) is from a run when I was saving the log, which you can find here:
rec.zip
Here you can find again my log extract, where you can see when the MPFIT Failure messages are generated:
log.txt
At this point, with some smoothing, data will look great, but if you wish to experiment further, I thank you in advance.
Carlo


Mac OS X 10.10 Authorized Developer Warning

When trying to run VisTrails.app on a clean Mac OS X 10.10 install, there is a warning about not being from an authorized developer:

While there are ways for the user to get around this, we should either:

Investigate how to authorize the application.
Provide instructions for users to get around this on the FAQ.

Apparently, getting rid of the message requires an Apple Developer Program Membership. It is unfortunate that OSX only allows apps with valid certificates by default now, users are going to run into that for most open-source projects I think.

We are registered with apple. I can add you to the registration when I arrive tomorrow.
Happy new year!
Sent from my iPhone

On Jan 3, 2015, at 11:10 AM, Remi Rampin<EMAIL_ADDRESS>wrote:
Apparently, getting rid of the message requires an Apple Developer Program Membership. It is unfortunate that OSX only allows apps with valid certificates by default now, users are going to run into that for most open-source projects I think.
—
Reply to this email directly or view it on GitHub.

vistrails-dev mailing list
<EMAIL_ADDRESS>http://lists.vistrails.org/mailman/listinfo/vistrails-dev


Paginated urls are added to list pages that don't use pagination

This is described in more detail on the Hugo community forum here:
https://discourse.gohugo.io/t/page-2-url-exists-where-it-shouldnt/45459

By calling .Paginator, this file is also interfering with attempts to filter pagination in list templates. See here for details:
https://discourse.gohugo.io/t/filtered-pagination-results-in-gaps/46051/7

Closing — should no longer be an issue w/ new setup


Path filters ignored on 1st push to new branches for CI builds

I had a weird issue that I don't think is explained above.
If you have two build definitions defined with CI triggers enabled as follows:
# Build Def A
# Only want this build to trigger if something changes under docs/A
trigger:
  branches:
    include:
    - master
    - users/*
  paths:
    include:
    - docs/A/*

# Build Def B
# Only want this build to trigger if something changes under docs/B
trigger:
  branches:
    include:
    - master
    - users/*
  paths:
    include:
    - docs/B/*

Then create a new user branch and push something to it with a change under docs/A/, both builds are triggered.
Presumably this is because both docs/A & docs/B have been created and this is considered a change.
Subsequent changes under docs/A/ only trigger Build A as expected.
Not sure if this is expected behaviour?
If it is expected behaviour, how might someone prevent all of the builds triggering for each 1st push to a new branch?  This is in the context of having multiple projects/solutions in a single repository, which i'm not sure is best practice.

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

ID: f5673ec1-c7d1-e0ac-043a-8fc3d5b226a9
Version Independent ID: b4872831-51c0-6cf8-1c56-de20beb38a80
Content: Build pipeline triggers - Azure Pipelines
Content Source: docs/pipelines/build/triggers.md
Product: devops
GitHub Login: @andyjlewis
Microsoft Alias: alewis

Is there any progress on this?  I have several dozen builds configured in a monorepo... my triggers are configured like this...
trigger:
  batch: true
  branches:
    include:
      - master
      - feature/*
  paths:
    include:
      - 'PATH/TO/BUILD/CODE'

When I push new code to a feature branch, instead of just building for the included build path, it runs every build in the repo.
This happens before the merge to master, and there are no build policies specified on feature/* in the repo.

My team is in process of migrating each project to its own repository. But in the meantime, this is an issue. I wonder when we can expect the fix.

I am encountering the same issue here.
Dev lead created a new release branch and now it has kicked of all of our builds. I will probably just remove release from my branch filter
trigger:
batch: true
branches:
include:
- 'master'
- 'develop'
- 'release/'
paths:
include:
- 'Path/To/Code/'

Although I lived with this behaviour since the arrival of git to TFS, I would very much prefer that NOT every build will be kicked off after branch creation.

This looks like it has been fixed in AZDO sprint 155

Now, we have a better way of handling CI for new branches to address these problems. When you publish a new branch, we explicitly look for new commits in that branch, and check whether they match the path filters.

https://docs.microsoft.com/en-us/azure/devops/release-notes/2019/sprint-155-update#ci-triggers-for-new-branches

My team and I were relying on the previously existing behavior for one simple reason: the "Download Artifact" task does not let you specify fallback branches, so when we wanted to run a build which used all of our artifacts from a specific branch, all of them needed to have a build run at least one time.
This worked before because new branches had all their builds run at least once. Now for new branches we have some builds running and some builds not running, depending on where in the application the changes were made.
For now I told them to manually trigger the rest of the builds to be able to run the pipeline that depends on having all of them built.
Do I have any way to turn this new behavior off for my organization? If not, what is the suggested workaround to avoid having them manually schedule 5 builds every time a new branch is created?

@nprieto95 , might be a hackier workaround than you ideally want, but how about setting up a service hook?
You can subscribe to the build/release definition in question, and then in your service hook-processor (azure function?) queue the builds automatically for the branch in question if the build/release fails.

Thank you for your feedback.
The article has been updated to clarify this. This has been a popular ask to honor path filters when pushing new branches, and we are glad that we have been able to complete that work.


Unable to grok CALLOTHER override return value

Describe the bug
I am trying to implement a CALLOTHER override as shown in the Improving Disassembly and Decompilation guide.  This seems to be working fine so long as the PcodeOp has no return value, but for PcodeOps that do return a value, I get a
message:
WARNING: Output of read_cp0_register destroyed by override!
and the decompiler window shows:
Low-level Error: Output of call was determined prematurely
The warning in the listing is generated in PostCommentFieldFactory.java when a CALLOTHER PcodeOp is overridden and has a non-null output, so perhaps this is a known limitation, in which case it would be helpful if that was reflected in the Improving Disassemble and Decompilation guide.
I believe that this may be the underlying problem that was reported in Issue #304.
To Reproduce
Add a CALLOTHER_OVERRIDE_CALL override to a CALLOTHER PcodeOp that produces an output value.  In the case below, it is reading a coprocessor register:
Before Override:
901ed5f4 f7 20 30 28     mfc0       a3,0x17,0x5
a3 = CALLOTHER "read_cp0_register", 23:1, 5:1, 0:1
After Override:
901ed5f4 f7 20 30 28     mfc0       a3,0x17,0x5
a3 = CALL *[ram]0x6bfffff1:4, 23:1, 5:1, 0:1
WARNING: Output of read_cp0_register destroyed by override!
Expected behavior
I'm not particularly bothered by the warning in the listing window, but the decompiler failing on this function is a major impact.
Environment (please complete the following information):

OS: Linux, Ubuntu 23.04
Java Version: openjdk 11.0.20
Ghidra Version: 10.1.5
Ghidra Origin: official GitHub distro

Additional context
Add any other context about the problem here.

The restriction is documented in the Ghidra Help (search for "Ref-Types" and scroll down to the table) but admittedly that's a bit hidden.  We can add a note to the class.
In general the overriding references work best on instructions whose SLEIGH definitions were written with overriding references in mind (and there are a number of existing definitions which should be updated).

Yes, the Improving Disassembly and Decompilation guide is where I learned of the override type, and that's been linked to by other web pages, so it's where others are likely to encounter it.
The help page says "can adversely affect decompilation" feels like an understatement, since it seems to crash the decompiler, but it is accurate, I guess.
In my case, the move from coprocessor register seemed like the sort of thing that would be convenient to be overridden.  In particular, I wanted to type the return to be a structure pointer.  Typing the source for the set coprocessor register works fine, so it just seemed like a logical next step.
It feels like the implementation is 90% complete, but I'm sure that the remaining 10% may take a disproportionate effort, so I'm just happy with what is there.  I certainly didn't expect the decompiler to completely shut down, though.


Use NodeJS Auth0 library in server, rather than browser-based one

will wait for #416 to go first and then will rebase as the package.json/yarn.lock changes will almost certainly cause a merge conflict


Dependency requires installing a bin file

We're looking to add CPLEX as a dependency to our package which requires having IBM® ILOG® CPLEX® Optimization Studio installed.
From their installation instructions:
ENV["CPLEX_STUDIO_BINARIES"] = "/opt/CPLEX_Studio1210/cplex/bin/x86-64_linux/"
import Pkg
Pkg.add("CPLEX")
Pkg.build("CPLEX")

My understanding is that we'll need to modify the generated Dockerfile to move the installation file into the Julia image that Jot.jl builds and run the installer in silent mode so that it's available here /opt/CPLEX_Studio1210/cplex/bin/x86-64_linux/ within the image.
Before I go ahead and fork your repo to give that a shot, do you have any suggestions that would allow us to avoid modifying Jot?

Sure. Permitting custom edits to the Dockerfile should be quite a trivial
feature to add, so if you need that then let me know.
On Thu, 27 Oct 2022, 02:27 Matt Doak, @.***> wrote:

Closing this. We've moved to GLPK which doesn't require a manual
installation.
—
Reply to this email directly, view it on GitHub
https://github.com/harris-chris/Jot.jl/issues/34#issuecomment-1292373031,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALDMVSAXPSFNIT4ZRSFHTATWFFSZVANCNFSM6AAAAAARPDUMUQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Container/Drop-zone Mismatch

Hello @kutlugsahin - thank you for maintaining this library.
Experiencing an issue with .smooth-dnd-container built from the <Container> component:
My code looks similar to:

  <Container>
     ...
  </Container>

and the DOM output looks like (inline styles added):

The resulting issue is that the outer container, despite having a height of 74px does not acknowledge droppable elements its bottom quarter.
Unsure if this is because .smooth-dnd-container is rendered with a height of 0px.
Droppable:

Non-Droppable:

Any advice would be appreciated. Thank you 👍

Hey @cheshireoctopus ,
The Container element does not expand to its parent element by default. If you want to adjust its sizes you can target .output .smooth-dnd-container by 'output' class or you can set Container's style explicitly.

Hi, @kutlugsahin
I'm also facing same problem, Drop zone has smaller size than Container
Can you give a small example for extend size of Drop-Zone?

I've been able to solve this by adding inline style to adjust size.
`

     ...

`


[BUILD] add github workflow

Just a suggestion. This way further pull requests will automatically be checked.

Because of the prompt, I was not able to add the "dist" goal. However, the signing could be done by a passphrase-less gpg key. This is needed for a rat-check. Skipped it for now.

Tests with other JDKs (11, 17, 21) can be added in another commit, if you are interested.

Thanks! BTW, Travis ran very long ago, when it was still free, but it's green build icon is still there. If there something like that Git actions, it should be replaced to with that.

Sure! Can do that in another PR, preferably. Otherwise I'd do it blindly.
I would love to add the "ant dist" target. The only thing I can't do is "answer yes" on the last question.
I don't know much ant. But maybe we could add a build property which skips the interactive question on CI builds?

We can add a cache in a later PR, but for now this should be fine. Maybe not even worth it as the project is heading towards Gradle.

We don't need ant dist, but ant ci, which I see you have discovered. If we want to test more, it should be added to ci. But, yes, these will go away with the Gradle PR anyway. (There's also Github actions prepared for that by the author of the Gradle PR).


[WIP] Refactor ParquetData

To prepare for the ARRAY reader, this commit includes the following:

Rename FormatData to FormatDataReader, DwrfData to DwrfDataReader,
ParquetData to ParquetDataReader. This is to differenciate from future
nested data structures.

Extract a ParquetDataReader super class which handles RowGroup
related operations. The ParquetPrimitiveDataReader become a subclass
of it. This is to leave space for the upcoming
ParquetNestedPrimitiveDataReader.

Add ParquetPage structs and added new PageReader::readNextPage()
function that returns a single next ParquetPage. Rename PageReader::
readNextPage(int64_t row) to PageReader::seekToPage(int64_t row) to
differenticiate from it.

Can you split them into multiple PRs?  Especially the renaming of FormatData, it's a simple one but affects lots of files.


Windows Service fails due to timeout issue.

This is a rancher/rancher bug report for https://github.com/rancher/rke2/issues/1467.
The PR with the fix is https://github.com/rancher/rke2/pull/1475
Environmental Info:
RKE2 Version:
rke2.exe version v1.21.3+rke2r1 (2ed0b0d1b6924af4414393cd1796c174a1ff5352)
go version go1.16.6b7
Node(s) CPU architecture, OS, and Version:
WindowsBuildLabEx                                       : 19041.1.amd64fre.vb_release.191206-1406
WindowsCurrentVersion                                   : 6.3
WindowsEditionId                                        : ServerStandardACor
WindowsInstallationType                                 : Server Core
WindowsInstallDateFromRegistry                          : 7/26/2021 2:10:32 PM
WindowsProductId                                        : 00431-30000-00000-AA117
WindowsProductName                                      : Windows Server Standard

Cluster Configuration:
1 server
1 windows node
Describe the bug:
Running the agent as a windows service errors with a timeout issue, why executing the agent not as a service works.
rke2.exe agent service --add

Steps To Reproduce:
Install RKE2 for Windows and try to run the agent as a windows service.
Expected behavior:
rke2 starts up as a windows service and joins a cluster.
Actual behavior:
rke2 starts then fails.

Available as part of RKE2 v1.21.3-rc1+rke2e2

Confirmed this is working properly in RKE2 issue.


V0.9.1, depending on udev 0.9.0

It looks like this is a private dependency so a major version bump isn't needed. cargo semver-checks seems to agree.

This still needs a cargo publish.

Published


feature/CP-4869: Pass 'storageos.com/dataplane.' labels to CP via UpdateVolume API

See https://ondat.atlassian.net/wiki/spaces/DOC/pages/2063958017/Runtime+Configuration+of+the+Dataplane for the full low down.
TLDR: accept all labels with prefix storageos.com/dataplane. and pass them onto the CP via the UpdateVolume API.
This PR is associated with the following PRs:

service repo https://github.com/ondat/service/pull/7
dataplane prs: https://github.com/ondat/data/pull/49, https://github.com/ondat/data/pull/50, https://github.com/ondat/data/pull/55

Tested by hand. Kubecover tests to come.
DO NOT MERGE immediately, we need to coordinate the merge with the service repo and DP changes.

Looks like I've failed the linter. Will fix


Use one config file rather than three.

I think it is a better way to make your configuration clear.
I also update rollup, which need some changes in configuration key name.

This is awesome. Thanks!


Auto select node from fleet for chat app

https://github.com/status-im/nim-waku/issues/399#issuecomment-797305275

Needs fleets.status.im to have CORS header to allow any origin.


A small fix to make g:JavaComplete_ClasspathGenerationOrder configable.

I have double-checked that set g:JavaComplete_ClasspathGenerationOrder did not work, so the small pr is here.

Good cacth, thank you.


Research Cloud Service Pricing

Check pricing for the most popular cloud services, also available free credits to be used for testing.

Google Cloud (Vertex AI):

Offers free tier(no LLM service?) and up-to $300 in free credits for new users.
https://cloud.google.com/vertex-ai/pricing
Text input is charged by every 1,000 characters of input (prompt) and every 1,000 characters of output (response). Characters are counted by UTF-8 code points and white space is excluded from the count, resulting in approximately 4 characters per token. Prediction requests that lead to filtered responses are charged for the input only.
If a query context is longer than 128K, all tokens are charged at long context rates.
PDFs are billed as image input, with one PDF page equivalent to one image.
Gemini models are available in batch mode at 50% discount.
Gemini 1.5 Flash (low latency):

Text input: $0.00001875 / 1k characters (=< 128K context window) to $0.0000375 / 1k characters ( > 128K context window).
Text output: $0.000075 / 1k characters to $0.00015 / 1k characters.

Gemini 1.5 Pro:

Text input: $0.00125 / 1k characters to $0.0025 / 1k characters
Text output: $0.00375 / 1k characters to $0.0075 / 1k characters

Gemini 1.0 Pro:

only support up to 32K context window.
Text input: $0.000125 / 1k characters
Text output: $0.000375 / 1k characters

Context caching, you can reduce the cost of Gemini input token processing by 75%. https://cloud.google.com/vertex-ai/generative-ai/pricing#context-caching
Partner models:

Mistral AI’s models:

Mistral Large (2407):

Input: $2 / million tokens
Output: $6 / million tokens

AI21 Lab's models (chatbot):

Jamba 1.5 Large:

Input: $2 / million tokens
Output: $8 / million tokens

Jamba 1.5 Mini:

Input: $0.20 / million tokens
Output: $0.40 / million tokens

Anthropic’s Claude models (writing helper):

Claude 3 Opus (complex understanding and response):
Input: $15 / million tokens
Output: $75 / million tokens

Microsoft Azure (OpenAI API):

Provides $200 in free credits for the first 30 days.
https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/
Language models are also now available in the Batch API that returns completions within 24 hours for a 50% discount on Global Standard Pricing. (available in Sweden central, possibly good for making the initial model for the data-structure) https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/batch?tabs=standard-input&pivots=programming-language-python
EU West:

gpt-4o-2024-08-06 Global Deployment: 128K (max context) per 1000 tokens: $0.0025 (input) $0.01 (output)
GPT-4o Global Deployment: 128K $0.005 $0.015
GPT-4o-mini Global Deployment: 128K $0.00015 $0.0006

Sweden Central, same as above plus:

gpt-4o-2024-08-06 Regional API 128K $0.00275 $0.011
GPT-4o Regional API 128K $0.005 $0.015
GPT-4o-mini Regional API 128K $0.000165 $0.00066
GPT-4 8K $0.03 $0.06
GPT-4 32K $0.06 $0.12

Also has Price per hour, monthly and yearly.
Has legacy options for GPT-3.5-Turbo

Amazon Web Services (AWS) (Bedrock)

Free tier doesn't seem to have LLM service

AWS Rapid Ramp Credits:

$300 credits for 6 months
Specific qualifications: https://aws.amazon.com/free/offers/
Has approval process

https://aws.amazon.com/bedrock/pricing/

Meta Llama:

Located in US region
Llama 3.1:

Instruct (8B): $0.00022 $0.00022
Instruct (70B): $0.00099 $0.00099
Instruct (405B): $0.00532 $0.016

Llama 3 (London):

Instruct (8B): $0.00039 $0.00078
Instruct (70B): $0.00345 $0.00455

Mistral AI:

Mistral 7B: $0.0002 $0.00026
Mixtral 8*7B: $0.00059 $0.00091
Mistral Large (24.02): $0.0052 $0.0156

Possible Ireland option in Europe with slightly less cost.

Also has it's own LLM (Amazon Titan Text)

Amazon Bedrock Guardrails for free sensitive information filter and word filters.

Batch support located in US region (-50% price).

IBM Cloud (Watson NLP):

Offers $200 in free credits, which can be used for Watson NLP services that include pre-trained models and APIs for natural language processing.
Has certain amount of usage per month for free.
Does not have direct support for Llama, Mistral or GPT.

Summary table:

Google Cloud (Vertex AI)
Microsoft Azure (OpenAI API)
Amazon Web Services (Bedrock)

Free credits
$300
$200
$300 with approval process

Batch mode (-50% price)
Only Gemini
Only GPT
Yes

LLM's
Gemini, Mistral(partner)
GTP
Llama, Mistral

Input (<128k):
Gemini 1.5 Pro: $0.00001875 per 1k chars  Mistral Large (2407) $2 per million tokens ($0.002 per 1k tokens)
gpt-4o-2024-08-06: $0.0025  per 1k tokens
Llama 3.1 (8B) $0.00022  Llama 3.1 (70B) $0.00099  Llama 3.1 (405B) $0.00532  Mistral 7B $0.0002  Mistral 8*7B $0.00059 Mistral Large (24.02) $0.0052  per 1k tokens

Output:
Gemini 1.5 Pro: $0.00375 per 1k chars  Mistral Large (2407) $6 per million tokens ($0.006 per 1k tokens)
gpt-4o-2024-08-06: $0.011  per 1k tokens
Llama 3.1 (8B) $0.00022  Llama 3.1 (70B) $0.00099  Llama 3.1 (405B) $0.016  Mistral 7B $0.00026  Mistral 8*7B $0.00091 Mistral Large (24.02) $0.0156  per 1k tokens

Fixed pricing table (above).
Notes:

AWS requiring approval process for free credits. Most likely means we would only get $300 once.
Google supports over 128k context inputs with double the price (Gemini only).
From #7  , Mistral possibly being locally available.
GPT-4o (Microsoft) is cheaper than Gemini 1.5 Pro (Google). Even when accounting free credits.

Possible use-case:

Getting classification result: Large input but small output. ("training" part)
Processing use-data with resulted classifications: Equally large input and output.

Result: Microsoft Azure.


The selected items change (or sometimes stay) during orientation changes.

In other words, the viewpager doesn't hold state properly.

Solved in #6?

@EmmanuelMess

Solved in #6?

Nope, that only solves it for the sample app. And that wouldn't be a solution, rather a hack. See this Stack Overflow answer.
The API level 8 support commit was looking fine though. It was coming, but I was too busy with other projects (in other words: lazy) to get it done before you.
I'll merge it when I've tested it and learned to merge just that part. Don't hold your breath because I'm such a noob with git.

@roughike
So, when the activity restarts the state shouldn't? I don't quite understand when the state should be saved and isn't.

@EmmanuelMess
Whenever an Activity is being stopped, all of its' Views get notified by a callback the Activity calls and they can return a Parcelable with the saved state. Then, when the Activity restarts, all the Views are passed the same Parcelable that they previously returned.
So it's like a container that you can drop stuff into and then get it back so you remember where you left off.
I haven't fixed this just yet, but it should be relatively simple. Will probably fix in the next version when I have some free time.

@roughike Solved at Solved state holding issue but I don't want to cluster too many things and have to close and open another pull request ;); Sorry if I'm bothering you you too much, I still want to help... also .."take any feedback you’ve received and go forth and pull request again"...

Well thank you! They look good. I'll merge these when I have the time to test them.

Aaaaaaand done. Now we're perfect.
Huge thanks to @EmmanuelMess for helping to close this issue.


1806/1810 All Deployement vs Software Updates

Need to mention: In 1810, there is a new client setting in "Software Update" to allow the "Software Update window" to run inside the "All Deployments" one.
Behavior clarification: In 1806/1810, there are 2 different things that can happen with theses specific windows:

You have an All Deployments window AND a SU window: SU will only run during SU window
You have an All deployments window BUT NO SU Window: Software Updates will run DURING the All deployment window

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

ID: 54a69524-75f1-5c55-5091-66b7c3326a7b
Version Independent ID: 48b982d2-1ee9-7d2a-a1f9-14cdf0dadb6a
Content: Use maintenance windows - Configuration Manager
Content Source: sccm/core/clients/manage/collections/use-maintenance-windows.md
Product: configuration-manager
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @chboeye, we're still working on finalizing the 1810 content.
Reference the following articles in the meantime:

Improvement to maintenance windows for software updates
What's new in version 1810

I made a change for this, it should publish live tomorrow


Add GetAddrHeader

Is your feature request related to a problem? Please describe.
I am currently porting some code from github.com/go-mail/mail and I noticed that there is no way to access the the individual addrHeader values. The closest option seems to be GetRecipients, but there is no way to distinguish the different recipient types with that. For us, this primarily comes up in test code.
Describe the solution you'd like
I would be fine with something like GetAddrHeader that was similar to GetGenHeader.
Describe alternatives you've considered

GetTo, GetCc, GetBcc, etc. This would be fine for my use case and may more closely follow the current API design.
GetHeader that looked up address headers in addrHeaders and general headers in genHeaders. Right now, it kind of feels like implementation details of the library are leaking out via GetGenHeader. That said, I think if this were to be done, SetHeader should probably be updated to put address headers in addrHeader.

If something like (2) is not done, it might make sense to deprecate SetHeader and add SetGenHeader to make the API more consistent and to make it clear that address headers cannot be set with it. I almost did not notice this when porting to this library.
Additional context
No response

I agree, definitely something that is needed. This is also helpful for middlewares. Thanks for the proposed solutions. I'll check which one would work best

Thank you!


checked the case when key for geocoder is obmitted

closes #374

This is great. Thanks for the fast fix. Let me know when this is in the latest release so I can update a tutorial.


Bump pypika version to 0.9.0

Coverage remained the same at 95.06% when pulling 85c4736b720941eeb1440f42a5af953b9a9964d0 on x8lucas8x:bump-pypika-version into 3de6bded14d367fc990ff74f13fdfe3e784b81f0 on kayak:master.


Add semi-colon so less compiles

Looks like a semi-colon was missed. When I added it to the core.less on my machine, it works no problem.
fixes #4
EDIT: Corrected issue number

Released in 1.0.3. Thanks! :)


fix: polymorphic / union models rendered with index in enum member name

Description
This fixes up an implementation that has never been handled correctly in the RustGenerator. Figured we should get this right before the v1.0.0 release.
IIRC, I added this before understanding that the MetaModel base classes already handle de-dupling union member models:
    // How to constrain Union member names?
    if (model instanceof UnionModel) {
      model.union = model.union.map((v, idx) => {
        v.name += idx;
        return v;
      });
    }

Related issue(s)
Closes: https://github.com/asyncapi/modelina/issues/1055

/rtm


Remove Symfony framework dependency

This should be a new major version with backward compatible break but it allow the bundle to be use in console application, where including symfony/framework-bundle is an overkill.

A new inspection was created.

The inspection completed: No new issues

That title almost made me reel. Looks good though!

A new inspection was created.

I would actually try and mark stuff as low as possible. (~2.3, <3.0.0@dev)

A new inspection was created.

The inspection completed: No new issues

Sure, I will downgrade them.

done

@aequasi Any plan to merge this PR soon?

A new inspection was created.

The inspection completed: 4 updated code elements

@jamesmoey - looks good, thanks for the work here!


Fix Issue 16264(+11599) - BigInt multiplication crashes on 64-bit

https://gist.github.com/yosupo06/03bc48477049c8ac094a242bee511d0d#file-a-d : Stress test code

Thanks for your fix and thorough testing.
A small explanation of what you fixed (in the commit message) would be really helpful to review this.

thx

This pull request introduced a regression:
https://issues.dlang.org/show_bug.cgi?id=19740


Use solr_wrapper instead of jetty_wrapper

Upgrade solr config to handle Solr 6.1 at the same time.


[vscode installation] 1/n Python version validation

[vscode installation] 1/n Python version validation
Add a helper method to validate the python interpreter version. Simply throws an error on a bad version. Notification dialog in diff on top.
Align's with Python AIConfig's version requirement of python3.10 and higher
Testplan
Select a python interpreter 3.9, which is less than aiconfig's requirement version of 3.10.
https://github.com/lastmile-ai/aiconfig/assets/141073967/4cfcb153-50aa-40fb-9764-54e964d4b1b8

Stack created with Sapling. Best reviewed with ReviewStack.

#1265
-> #1262

Ok, so let's keep the check logic as-is but please address the other comments:

prettier (newline, spacing)
remove stdout check in that else if not needed

On top of that, please update the comment to give more context on using python to check version (namely complexity of different version values and how they would need to be parsed and compared)

rebase
fixed formatting
updated comment to be clearer