Failed to compile on Termux Android

Hi,
I'm using Termux on Android. I would like to install wcp on it, but the compilation fails at the make step. I just followed the readme instructions.
Also, I just noticed the readme says "It should work on any kernel >= 5.6" while my Android is using 5.4 version. Maybe it's just that ?
$ uname -a
Linux localhost 5.4.242-qgki-g3f7ff67280a0 #1 SMP PREEMPT Sun Mar 17 23:13:51 HKT 2024 aarch64 Android

The cmake step worked like a charm btw. And then, the make step with errors :
$ make
[ 26%] Built target Uring
[ 31%] Building CXX object CMakeFiles/wcp_lib.dir/src/CopyRunner.cpp.o
In file included from /data/data/com.termux/files/home/git/wcp/src/CopyRunner.cpp:1:
In file included from /data/data/com.termux/files/home/git/wcp/src/CopyRunner.hpp:7:
In file included from /data/data/com.termux/files/home/git/wcp/src/CopyQueue.hpp:9:
In file included from /data/data/com.termux/files/home/git/wcp/src/QueueFileDescriptor.hpp:5:
/data/data/com.termux/files/home/git/wcp/src/Util.hpp:52:25: warning: flexible array members are a C99 feature [-Wc99-extensions]
   52 |     __extension__ char  d_name[]; /* Filename (null-terminated). __extension__ allows use of flexible array members in g++ (normally only allowed in plain C) */
      |                         ^
In file included from /data/data/com.termux/files/home/git/wcp/src/CopyRunner.cpp:1:
In file included from /data/data/com.termux/files/home/git/wcp/src/CopyRunner.hpp:7:
/data/data/com.termux/files/home/git/wcp/src/CopyQueue.hpp:68:47: error: use of undeclared identifier 'PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP'
   68 |     pthread_mutex_t copiesPendingStartMutex = PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP;
      |                                               ^
/data/data/com.termux/files/home/git/wcp/src/CopyQueue.hpp:82:42: error: use of undeclared identifier 'PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP'
   82 |     pthread_mutex_t errorMessagesMutex = PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP;
      |                                          ^
1 warning and 2 errors generated.
make[2]: *** [CMakeFiles/wcp_lib.dir/build.make:76: CMakeFiles/wcp_lib.dir/src/CopyRunner.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:104: CMakeFiles/wcp_lib.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

I don't completly understand, but maybe this topic can help ? https://stackoverflow.com/questions/53075327/use-of-undeclared-identifier-pthread-recursive-mutex-initializer-np

Sorry, neither your kernel version, nor android in specific are supported.


[CodeClean] fix res leak case

Fix svace issues, handle res leak.

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #155. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


Disable virtual threads by default on generated Spring app

There are some edge cases where the usage of java 21 virtual threads is causing issues, so it's better to turn it off, as done by Spring Boot.

@murdos Can I work on this issue?

@Harsh4902 : sure! :)

@murdos I hope this change will work.

Can you please shed some light on those issues with virtual threads? Is this something like what is described in the link below, or have you found something else? Tnx.
https://stackoverflow.com/questions/78790376/spring-boot-application-gets-stuck-when-virtual-threads-are-used-on-java-21

Here are a few examples:

https://netflixtechblog.com/java-21-virtual-threads-dude-wheres-my-lock-3052540e231d
https://github.com/spring-projects/spring-kafka/issues/3074
https://jira.qos.ch/browse/LOGBACK-1711

It doesn't mean virtual threads should not be used, just that this is should be a careful thoughtful decision since the ecosystem is not yet mature. That's why it's wiser to disable it by default :)


add support for multiple locales

boto version 2.42 supports MTurk's "In" operator for qualifications. This is useful if people want to accept workers from multiple locales.

Bump.


Add links translations for new docs

code of conduct (Spanish & French)
recipes
code coverage (Spanish & French)
endpoint testing (Spanish & French)

Excellent. Thank you :)


Add missed required parameter 'el: RapaelElement' to insertAfter() and insertBefore() methods

According the source code there are missed required parameter 'el: RaphaelElement' in methods insertAfter() and insertBefore() methods of raphael.d.ts

raphael/raphael.d.ts
to author(@CheCoxshall). could you review this PR?
:+1: or :-1:?
check list

[ ] pass the Travic-CI test?

Looks good to me!

thanks mate!


Axios handle cut error message after comma

this is the actual error message (using CocoaRestClient)
{
  "code": "rest_missing_callback_param",
  "message": "Missing parameter(s): email, password, name, phone",
  "data": {
    "status": 400,
    "params": [
      "email",
      "password",
      "name",
      "phone"
    ]
  }
}

but in Chrome dev tool. when I console.log showing payload.response.data.message (using with Redux) it only shown "Missing parameter(s): email" everything after comma just gone

You must have an error in the request configuration passed to Axios. The library doesn't modify the response returned by the server, even if it's an error. Please review your code and reopen if you're sure there's something wrong with Axios.


TextField widget hint text is not vertically aligned

Details
I am using Flutter TextField widget, and i found that hint text is not automatically vertically aligned.
I found no methods to modify hint text Align.
look at this picture.

I found many people troubled by this problem, and i had try my best to find out reason why??
I FOUND THAT, DUDE.
Using theme data widget to modify app fonts, like Chinese font on IOS named PingFang SC.
After remove any fonts setting, you see this widget rendered perfect.

Hope any method to modify hint text align.
Thanks ,Dude i know that you are working hard to make Flutter better, and i am grateful to you for your help.
Logs

[✓] Flutter (Channel dev, v1.10.1, on Mac OS X 10.14.6 18G95, locale zh-Hans-CN)
• Flutter version 1.10.1 at /Users/weizhang/flutter
• Framework revision ce45c2d3e6 (5 天前), 2019-09-06 20:11:41 -0400
• Engine revision b9ce2500d9
• Dart version 2.5.0 (build 2.5.0-dev.4.0 be66176534)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/weizhang/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.3, Build version 10G8
• CocoaPods version 1.7.5
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 39.0.3
• Dart plugin version 191.8423
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] VS Code (version 1.38.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.4.1
[✓] Connected device (1 available)
• iPhone Xs Max • 2FF110A8-4E4F-42EA-99D5-918CEF5422C3 • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-4 (simulator)

Same issue for
Flutter 1.9.1+hotfix.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2d2a1ffec9 (5 days ago) • 2019-09-06 18:39:49 -0700
Engine • revision b863200c37
Tools • Dart 2.5.0

Same problem with v1.9.1+hotfix.2.
And it seems not 100% reproducible for every device.

Maybe you can hack as follows before this bug fixed:
Localizations(
      locale: Locale("en", ""),
      delegates: [
        GlobalMaterialLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate,
      ],
      child: TextFormField(...)
)

@heyman0823 this will make cutButtonLabel not automatically show Chinese or etc....

@virskor You can wrap TextFormField with a custom widget, and pass the localized string(label, hint) by constructor:
class InputWidget extends StatefulWidget {
  final String labelText;

  const InputWidget({
    this.labelText,
  });

  @override
  Widget build(BuildContext context) {
    return Localizations(
      locale: Locale("en", ""),
      delegates: [
        GlobalMaterialLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate,
      ],
      child: TextFormField(
        ...
        decoration: InputDecoration(
          labelText: widget.labelText,
          ...
        ),
      );
    );
  }
}

+1

+1

试试 TextField > style > textBaseline: TextBaseline.alphabetic

试试 TextField > style > textBaseline: TextBaseline.alphabetic

Good， 全局修改的话，设置主题即可：
ThemeData(
    textTheme: TextTheme(subhead: TextStyle(textBaseline: TextBaseline.alphabetic)),

试试 TextField > style > textBaseline: TextBaseline.alphabetic

Good， 全局修改的话，设置主题即可：
ThemeData(
    textTheme: TextTheme(subhead: TextStyle(textBaseline: TextBaseline.alphabetic)),

谢谢 very much.
child: TextField(
    style: TextStyle(textBaseline: TextBaseline.alphabetic),
)

试试 TextField > style > textBaseline: TextBaseline.alphabetic

Good， 全局修改的话，设置主题即可：
ThemeData(
    textTheme: TextTheme(subhead: TextStyle(textBaseline: TextBaseline.alphabetic)),

use TextTheme()
it would change BottomNavigationBarItem icon color to black  on iOS DarkMode
I recommend that
 textTheme: theme.textTheme.copyWith(
          subhead: theme.textTheme.subhead
              .copyWith(textBaseline: TextBaseline.alphabetic)),

This should be fixed by #44029

you can set  TextField->hintStyle->height:1.0

The CupertinoTextField has the same problem.
cant resolve it.

Put it inside a container
Worked for me!
Container(     child: TextFormField(     ) )


fix: The layout shift on drawer opening in mobile-view

Description
This PR addresses issue #24 where, when the drawer was opened in mobile view, the layout shifts unexpectedly, leading to a disruptive experience for users.
Changes Made
Page layout Before the drawer is opened:

Notice that the heading shifts down after the drawer is opened

After the FIX the drawer overlaps rather than shifting the whole layout of the page and the page element retains it position

Related Issue
Fixes #24

Please provide the labels before merging: gssoc-extd, level1 (as previously while assigning the issue)


set powershell 7 as default makes it not working properly

The terminal process "C:\Program Files\PowerShell\7\pwsh.exe -Command npm run watch" terminated with exit code: 1.
I guess the cause is a whitespace between the pwsh.exe path.

sorry，made a mistake，I just run ctl+shift+b before npm i。After npmi ，no errors occur。


Minor change to readme

Current: Go to Menu > Preferences > Package Control > Settings - User
Correction (for Mac?): Go to Menu > Preferences > Package Settings -> Package Control > Settings - User

Would you like to send a PR for that? Or I just fix that directly?

Fixed in 878ff28a9a08d69d7da6a94908fb7cf6a6cea7d1. Thank you!


Could you also release the pre-train model for meshnet

Hello, I see you release the pre-train model for posenet and pose2mesh, but do not release that for meshnet. Could you also release that? Thanks!

Hi,
It's been a while after this project and I cannot find the pre-trained MeshNet model now. But it's easy to train MeshNet, referring to the code here: https://github.com/hongsukchoi/Pose2Mesh_RELEASE/blob/202ce98fce2bac74ff3787c7e30352a64d027950/lib/core/base.py
If you don't wanna train yourself, load the pre-trained Pose2Mesh and just use the MeshNet part by feeding the 3D pose to the MeshNet.


[FRG] Page Break setting on group header doesn't save

I'm trying to set "Page Break" to "Before" on a group header, and it always reverts back to "Auto" and doesn't break before the header.

Some further information on this one. It looks like pageBreak will be set correctly when "save" is used. But when you load a report editor from a structure that has a group header with Page Break set, it doesn't apply it, so the next time you save, it removes it.


GSP-2 Delayed

Just announced from SpaceX.
New time is same time tomorrow, the 28th, at 6:11pm ET.

Thanks for the update/info. GSP-2 was delayed again though.
Sunday, Jan. 30 at 6:11 ET.
Where in the API can you get this updated info? The most recent date for this launch I can find here is
'date_local': '2022-01-28T18:11:12-05:00'


How can I support 3.x+ version of Socket.IO-client

Is there any plan to support 3.x+ version of Socket.IO-client? I want to do some contribute.

I have the same problem

support of this version isn't planned

Is there any plan to support 4.x+ version of Socket.IO-client?

Done https://github.com/mrniko/netty-socketio/pull/897


Add support open telemetry infra-hosts with service.name or container.id

Relevant information
We artificially limit entity synthesis for INFRA-HOST entity types from an Open Telemetry collector when service.name and container.id are not present.  While this works well for the majority of customers, if a customer desired to set these attributes (not explicitly prohibited by the OTel spec) for an INFRA-HOST it will not get synthesized.
This PR adds support for synthesizing INFRA-HOST entities from an Open Telemetry collector when service.name or container.id is present and when the newrelic.entity.type attribute is explicitly set to host.
Checklist

[x] I've read the guidelines and understand the acceptance criteria.
[x] The value of the attribute marked as identifier will be unique and valid.
[x] I've confirmed that my entity type wasn't already defined. If it is I'm providing an explanation above.

I have 3 questions related to this change and other PRs open against this repo:

This entity synthesis rule also matches for EXT-SERVICE, how can we ensure that INFRA-HOST with newrelic.entity.type = 'host' are not synthesized as EXT-SERVICE?
It looks like several places already use an attribute nr.entity_type is that preferred to newrelic.entity.type?
This PR adds 3 new rules for INFRA-HOST, while https://github.com/newrelic/entity-definitions/pull/1499 adds attributes to 3 existiing rules for INFRA-HOST but cannot be merged until March 27th.  How should we proceed vis-à-vis the addition for overrideGuidType?


Update TE-2.1 Test plan

Specifically add a new scenario for MAC override.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 56.8%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1232

Relevant Lines:
2169

💛  - Coveralls

Local verification is done. This PR is ok to merge.

/gcbrun

@mojiiba can your team help pull iterate upon this PR if further changes needed? Thanks.

/gcbrun

/gcbrun


[RFC] New option to do software bounds check by runtime API instead of inline it in IR in AOT/JIT mode

Taking AOT mode as an example, in the current implementation, when performing software boundary checks, wamrc directly expands the boundary check code，please refer to https://github.com/bytecodealliance/wasm-micro-runtime/blob/374653401075abc98e3daf3134a215b993f2839e/core/iwasm/compilation/aot_emit_memory.c#L220-L272
This approach can offer extremely high performance, but the drawback is that it is not very flexible, especially when dealing with multiple memory regions. For example, in scenarios like a shared heap or mmap discussed in https://github.com/bytecodealliance/wasm-micro-runtime/issues/3546.
I believe an additional option can be added，for regular Wasm applications, the current implementation should be maintained to ensure high performance, for shared heap or mmap or other special case, call runtime API (some thing similar to https://github.com/bytecodealliance/wasm-micro-runtime/blob/374653401075abc98e3daf3134a215b993f2839e/core/iwasm/common/wasm_memory.c#L596-L599) to do the check.
The benefits of this approache:

Implementing complex check logic in C is much simpler and more flexible than using LLVM IR.
If there are multiple memory regions, implementing logic similar to if-else if in LLVM IR would significantly increase the size of the final generated code, because each memory access instruction would be expanded into a combination of if-else if statements.

The drawbacks of this approache:

Calling the runtime API is relatively slower, but if compared to an implementation using if-else if in LLVM IR, it should be acceptable.

it sounds like a good idea. the aot code size is a real problem for some of use cases.

it sounds like a good idea. the aot code size is a real problem for some of use cases.

Yes, if you have tried the wamrc configuration with --bounds-check=0, you will find that the code size is significantly reduced. This scenario can be regarded as a single if-else combination. However, if there are multiple memory regions, more if-else if-else if combinations are required to perform the checks, and it's easy to imagine the huge amount of code that would be generated.


Converting a an Url to a PathBuf and back to Url won't give the same result

I know Url is just reexported by lsp-types but I think the issue is more relevant to this crate than to the url crate (since it affects this crate's users), but I'll be happy to open an issue there too if this is not the right place.
I'm working on a language server project and with an extension for visual stdio code and ran into the following issue:
I store my files in a DashMap<Url, MyFile> since most of the time the lookups are done based on requests and notifications from the client, and converting each Url to a PathBuf would be quite wasteful. I also scan the opened folder (based on RootUri) on startup to construct the whole database of files. When scanning I convert the RootUri to a PathBuf, collect the files from the directory and convert each PathBuf to an Url to insert it in the map (I think this is acceptable since it's only done once).
But when I tried to check if a file that is being opened (didOpen) is in the DashMap after running the initial scanning, the lookup failed.
The reason is the visual studio code sends the uri with a %3A instead of : after the disk letter on windows. Link to playground.
use url;

#[cfg(test)]
mod test {
    #[test]
    fn test() {
        let url_from_vscode = url::Url::parse("file:///C%3A/test.txt").unwrap();
        let path = url_from_vscode.to_file_path().unwrap();
        let url_from_path = url::Url::from_file_path(&path).unwrap();
        println!("{:?}", &url_from_vscode);
        println!("{:?}", &path);
        println!("{:?}", &url_from_path);
        assert!(url_from_vscode == url_from_path);
    }
}

Thanks in advance for the help and keep up the great work.

Is there something actionable on the crate side? You should be able to normalize the Url before using it as a key for the map. Maybe we could do this when deserializing but that seems potentially surprising also.

According to this issue, they don't plan on providing canonicalization.
The other option seems to be url_normalizer, but I haven't tested it.
The simplest thing your crate could do is have a warning in the docs that url normalization is not handled and urls coming from clients might not match urls that the Url produces (using from_file_path()).
The other option would be to wrap Url and provide an Eq implementationt that normalizes both urls before checking.


Add LabelExt trait implementation information for Label

The LabelExt trait is currently missing from the list of implementated traits for Label in the generated documentation at http://gtk-rs.org/docs/gtk/struct.Label.html#implements

No idea where it gets the MiscExt trait from https://gtk-rs.org/gtk-rs/gtk/struct.Label.html#implements

Well, GtkLabel is a subclass of GtkMisc, but that has no API and as such no MiscExt trait

Well, GtkLabel is a subclass of GtkMisc, but that has no API and as such no MiscExt trait

Interesting. I guess we need to check the number of functions there's on a trait before adding it to the list of "implements"

Something like that. Check how gir decides to not create a trait at all. It's probably checking for functions, signals and properties, and if any of them are actually to be generated.

I think gir isn't aware of such thing yet, as it still generates empty traits https://github.com/gtk-rs/gtk4-rs/blob/master/gtk4/src/auto/constraint_target.rs#L16-L20

Seems to be correctly generated now: https://gtk-rs.org/gtk-rs/git/docs/gtk/struct.Label.html#implements. Although it still contains the  MiscExt trait which doesn't get generated, even as en empty trait.

So closeable then?

@sdroege yes and with the new docs, those broken traits are not clickable at all. see https://gtk-rs.org/gtk3-rs/git/docs/gtk/struct.Label.html#implements
the MiscExt is a gir issue though


Alias for default image

"defaultImage.schema.json" is now "image.schema.json" #34
Content should be discussed in that issue. I close this one


Resizing the window causes many issues

Currently a lot of things need to update their positions on window resize, including post-process rendering, main menu buttons, debug text, and more

LibGDX port fixed this


[proposal] descheduler plugin LowNodeLoad supports setting resource weights

What is your proposal:
The descheduler plugin LowNodeLoad supports score with usage for Pod but now the weights of all resources are 1,  but in some scenarios, it is necessary to tilt certain resources to decide which Pod should be evicted first.
Is there a suggested solution, if so, please add it:
update the LowNodeLoadArgs to add new fields to set resource weights.

/assign


Add BBR support in master branch

BBR is now reported better than cubic, but it is now only in a old branch without new quic. so would anyone add it to master branch?

BBR is not implemented yet.
Closing as a duplicate of #341.


ENS support for message hashers

Problem
Currently ENS addresses doesn't supported by demand_hash and offer_hash functions.
Proposal
Add Web3 instance for solidity_sha3 function to support ENS for address serialization.

Closed in #123


Add hdfs3 python3 testing

Fixes https://github.com/blaze/distributed/issues/100

@mrocklin Travis is building python2 and python3 with HDFS=true now, some tests are failing feel free to take this PR and fix them if you want to do it here.

Thank you @danielfrg !


feat: UI v3 post list

What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Description
UI V3 Post List
Related Tickets & Documents
Fixes #203
Mobile & Desktop Screenshots/Recordings

Added tests?

[ ] 👍 yes
[ ] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[ ] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

Not ready yet. Opening this PR to make sure no one is gonna work on top of this.

This PR is much cleaner and easy to test. I see some minor visual issues on mobile:

Tailwind is a mobile first framework so the above could easily be fixed for mobile in the way the hamburger menu is doing in the primary nav component.
Only other question I have is that I see the grid display being removed entirely - not sure whether that is intended?
Thanks for contributing, looking forward to get this merged in! 🍕

Not ready yet. Opening this PR to make sure no one is gonna work on top of this.

Ah sorry about that, started reviewing early to make sure you have the best experience! 🍕
It looks pretty good already 😁

This PR is much cleaner and easy to test. I see some minor visual issues on mobile:
Tailwind is a mobile first framework so the above could easily be fixed for mobile in the way the hamburger menu is doing in the primary nav component.
Only other question I have is that I see the grid display being removed entirely - not sure whether that is intended?
Thanks for contributing, looking forward to get this merged in! 🍕

@0-vortex grid display is removed as per @bdougie 's direction on the issue. But the component still exists in the directory. We can reuse it if needed.

@0-vortex grid display is removed as per @bdougie 's direction on the issue. But the component still exists in the directory. We can reuse it if needed.

We will want to add this to the future design system.

One change I would like to request based on the design in figma is: https://tailwindcss.com/docs/font-size
We cannot have mobile friendly design if we provide absolute pixel values, however we can adjust classes based on screen size. In order to have full flexibility of the viewport setting fonts in relative classes (base, xs, lg, etc) is better and more intuitive, while we can still use absolute values when needed. On zoomed clients and screen readers this change will provide better accessibility too 🍕

We don't have any design for the Nav. Any suggestion for that? @bdougie

I have used the existing function for the voting system here. Confused, does that work? @0-vortex

I have used the existing function for the voting system here. Confused, does that work? @0-vortex

Existing vote function should work on list repos, not the hot 3 repositories!

I have used the existing function for the voting system here. Confused, does that work? @0-vortex

Existing vote function should work on list repos, not the hot 3 repositories!

@0-vortex  Can you please double-check? It seems voting doesn't work even in the main branch :((

Main branch works just fine in this section if logged in:

@open-sauced/triage check it out

Load more button is displaced still:

https://deploy-preview-242--hot-sauced-ui.netlify.app/

That's white already. You're not seeing the latest preview somehow.

https://deploy-preview-242--hot-sauced-ui.netlify.app/

That's white already. You're not seeing the latest preview somehow.

talking about positioning here, not color, it should be positioned in the middle of the screen not the left 🍕

Load more button is displaced still:

https://deploy-preview-242--hot-sauced-ui.netlify.app/

That's white already. You're not seeing the latest preview somehow.

talking about positioning here, not color, it should be positioned in the middle of the screen not the left 🍕

@0-vortex  Middle for both mobile and desktop? With the same wide?

Some examples of icons being used in code:

Please re-use those bits of code instead of adding images

@0-vortex I will wait for your review before merging.

Changes look great


[Monetization flow - Content] Stop & resume monetization

Watch for document visibility change

on hidden, stop monetization

send "STOP_MONETIZATION" event with payload requestId

on visible, resume monetization

send "RESUME_MONETIZATION" event with payload requestId

Already merged in PR #203.


Use cog files

We should use files for each command ("cogs") and seperate them into folders

Lmao I know what cogs are

That's great I'm sure all of us do, this isn't directed at anyone specifically though and skipping defining things because we we think everyone is on the same page already doesn't lead to good code

This gist has a good example of what appears to be modern cog usage; last updated 2 months ago.

I am uncertain of that gist. It has some accurate stuff and some I'm not sure stuff. Here's the official documentation of cogs


"SPS_SETUP ERROR: wavelength grid cannot be opened"

Hi,
When I use prospector, and run  sps = build_sps(**run_params)
I met this error :"SPS_SETUP ERROR: wavelength grid cannot be opened"
I run prospector under Conda environment.
The version as following:
fsps: 0.4.6
prospect: 1.2.0

Hi, Can you try
cd $SPS_HOME
git pull

If that does not work, please open an issue at
https://github.com/dfm/python-fsps

Hi, Ben
I can't git pull. It doesn't work.
I have opened the issue: https://github.com/dfm/python-fsps/issues/258
Thanks!
Best wishes,
Tian-wen
Ben Johnson @.***> 于2024年1月22日周一 21:27写道：

Hi, Can you try
cd $SPS_HOME
git pull
If that does not work, please open an issue at
https://github.com/dfm/python-fsps
—
Reply to this email directly, view it on GitHub
https://github.com/cconroy20/fsps/issues/72#issuecomment-1904005423, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AOYI43VUM5OVEZGVYYK6FB3YPZSMTAVCNFSM6AAAAABCEV4AOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBUGAYDKNBSGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


fix username in quotes

introduced by #754 returning correct json when advertising json

SUCCESS
89 tests run, 0 skipped, 0 failed.
--none--


Mapping nested arrays of objects to let properties not working

Assuming we have JSON:
[
  {
    "name": "MyObject 1",
    "subObjects": {
      "items": [
        {
          "name": "MySubObject 1.1"
        },
        {
          "name": "MySubObject 1.2"
        }
      ]
    }
  },
  {
    "name": "MyObject 2",
    "subObjects": {
      "items": [
        {
          "name": "MySubObject 2.1"
        },
        {
          "name": "MySubObject 2.2"
        }
      ]
    }
  }
]

... and models:
class MyObject {
    let name: String
    let subObjects: [MySubObject]?
    // ...
}

class MySubObject {
    let name: String
    // ...
}

... I was trying to use ObjectMapper with following implementation:
class MyObject: Mappable {
    let name: String
    let subObjects: [MySubObject]?

    required init?(_ map: Map) {
        name = map["name"].valueOrFail()
        subObjects = map["subObjects.items"].value()
        if !map.isValid {
            return nil
        }
    }

    func mapping(map: Map) {}
}

class MySubObject: Mappable {
    let name: String

    required init?(_ map: Map) {
        name = map["name"].valueOrFail()
        if !map.isValid {
            return nil
        }
    }
}

... but it's not working, as map["subObjects.items"].value() doesn't map dictionaries to MySubObject. In fact, it returns array of NSDictionary objects instead of array of MySubObject objects.
I found a workaround, that allows to use ObjectMapper in that scenario. Instead of using:
subObjects = map["subObjects.items"].value()

... I had to use mapper like this:
subObjects = Mapper().mapArray(map["subObjects.items"].value())

... and it's working like expected, but I think the former syntax is more readable and should be preferred.
Here is full working implementation of my models:
class MyObject: Mappable {
    let name: String
    let subObjects: [MySubObject]?

    required init?(_ map: Map) {
        name = map["name"].valueOrFail()
        subObjects = Mapper().mapArray(map["subObjects.items"].value())
        if !map.isValid {
            return nil
        }
    }

    func mapping(map: Map) {}
}

class MySubObject: Mappable {
    let name: String

    required init?(_ map: Map) {
        name = map["name"].valueOrFail()
        if !map.isValid {
            return nil
        }
    }
}

Immutable mappings in ObjectMapper are an experimental feature so unfortunately they do not support all data types or transformations


Allow custom plugins by using cordova commands

platform command
plugin command
build command
package command

Empty utils/processCommandOpts? it shouldn't be added.


lug: fix openwrt upstream url

2023-12-18: We had to change the DNS name for rsync to rsync.openwrt.org because downloads.openwrt.org is now served by a CDN. Please update your mirror setup to use the new name.
https://openwrt.org/downloads

To be merged when initial sync is done.

Wait... Might be better to merge after #464


Nanoseconds vs ticks.

Hello.
I am implementing the IS-05 in .NET (C#), here the smallest unit of time is the tick (which is equal to 100 nanoseconds).
It is clear to me that in NMOS the base unit is the nanoseconds since this is how the versions and activations  ("activate_scheduled_absolute" and "activate_scheduled_relative") are based.
What can I do in this case? Is it mandatory to have a base unit of nanoseconds?
Thanks in advance.
Victor.

Flippant answer: multiply by 100
Yes, the base unit for TAI timestamps is always nanoseconds.
If you can't actually schedule activations to the requested precision, and instead schedule at the nearest 100ns, nearest video frame (or nearest second!), that's a QoI issue but valid per the spec. There is however no way to indicate the (lack of) precision to the client, and there's a related issue, https://github.com/AMWA-TV/nmos-device-connection-management/issues/107.


Make scopes a PeopleMover managed concept

In order to have multiple Authentication providers, scopes should be managed by the PeopleMover application.

Finished moving create space for user and get user spaces, but need to check out invite user as well


JAVA-3677: Add BsonRepresentation to allow ObjectId to string convers

Evergreen patch: https://spruce.mongodb.com/version/5f5a7c4557e85a3bd2b99b2a/tasks

I'll hold off reviewing until the design gets updated but I just wanted to say I really like the direction this is going - good work @bdeleonardis1

Rebased and merged on command line.


Add @license tags for closure compiler.

Thanks! can you remove dist files from the commit?

Sorry for the delay, reverted dist/*
Thanks!


lost a day of work

I lost the whole day of work because the jupyter notebook had not been saved.
I made sure the autosave is enabled ad clicked the save button several times before leaving the office,
So unfortunate that all day of work was lost.

I'm sorry you team into such an issue.
please could you provide more information about this bug.

what version of vscode and jupyter extension are you using?
were you using notebooks or interactive window?
are you thinking this or remote ssh or the like?

The same thing just happened to me! I saved constantly throughout the day via cmd+s, and the white dot that indicates the file is unsaved disappeared every time!
I just closed the file and wanted to send it to a collaborator, and the file is no where to be found! .ipynb_checkpoints is empty too!
To answer your questions:

I am using VSCode 1.72.2 on Mac, with version v2022.9.1202862440 for the Jupyter extension
I was using a notebook
This was local, not remote

Can anyone of you try open Timeline view in the Explorer, and see if you have any save history there?

I had the same issue recently. I am using VSCode v1.74 with Jupyter v2022.11.1003412109 on Windows connecting to a remote Linux server. The notebook is located and being run on the remote server.
The timeline appears to be empty. When I look at the timeline for other files, there is info there. It appears to be only the jupyter lab notebook that has no history.

I can confirm this indeed happens. Yesterday, I worked on a Python notebook, made many changes, but apparently never saved the file. Overnight, Windows decided to update and restart. Next morning, the notebook is reverted as if no changes were ever made. The "Timeline" view is empty, only shows the change from 1 month ago. The file was at a WSL (Windows Subsystem for Linux), which I believe might be the issue here.

Hey @rebornix, this issue might need further attention.
@Khalilsqu, you can help us out by closing this issue if the problem no longer exists, or adding more information.

I have seldom used vscode notebook since then, and thus cannot create a reproducible example. Therefore I am closing this issue no now.


8.7.0 Update

It seems to contain some important iOS fixes. Can you please update it? :)

Hi @andnoonesthere ,
I will be updating on Saturday,
Thank you for letting me know about the update :D
Kind Regards,
Hanza

I found some time to update this afternoon! All repos are updated to date.
Let me know if you find any missing updates, otherwise we can close this issue,
Cheers,
Hanza

Awesome.. thanks.. will test it in few minutes

@john-rosa-playkids looks fine for me.. all packages I use got included at least.

Closing it!


Refactor allocation.jl with MetaGraphsNext.jl

Should be done after https://github.com/Deltares/Ribasim/issues/784.
Currently the allocation code is a bit messy because there is a lot of translation going on between flow graph and allocation graph identifiers. With the introduction of MetaGraphsNext.jl this can be resolved by storing data about allocation graphs in the metadata of the main graph.

The edge capacities for allocation could maybe be stored in the graph weights.


Fix sorting order of stations in report modal

The stations are being sorted alphabetically based on their id, they should be sorted based on their name.

Hi @johan-t! I can look into this issue.

Hi @johan-t! I can look into this issue.

Awesome, let me know if you have any issues setting up the dev environment or with anything else

Hey, this is for our "microservice" that will calculate the risk for each line. It is a bit harder to get running and even harder to modify at the moment. For now you can ignore this error as the risk microservice is not needed for most issues.

Hi @johan-t!
Thank you for the clarifications. After studying the codebase, I have a couple of questions:
As I set up my database locally (following the backend README.md), I started with an empty ticket_info table created by the script. When submitting a report, the POST route (basics/inspectors) checks the request data for hate speech using checkHateSpeech, which requires CONTENT_MODERATION_SERVICE_URL. Am I correct in assuming this URL refers to a "microservice" that is not publicly accessible, similar to RISK_API_URL?
Currently, without CONTENT_MODERATION_SERVICE_URL, PostInspector is returning an Internal Server Error, which prevents generating any report data for use in ReportsModal.

I’m still familiarizing myself with the codebase, so there may be other areas I’ve missed. Any advice or guidance you can provide would be greatly appreciated.
Thank you!

Hi @johan-t!
Thank you for the clarifications. After studying the codebase, I have a couple of questions:
As I set up my database locally (following the backend README.md), I started with an empty ticket_info table created by the script. When submitting a report, the POST route (basics/inspectors) checks the request data for hate speech using checkHateSpeech, which requires CONTENT_MODERATION_SERVICE_URL. Am I correct in assuming this URL refers to a "microservice" that is not publicly accessible, similar to RISK_API_URL?
Currently, without CONTENT_MODERATION_SERVICE_URL, PostInspector is returning an Internal Server Error, which prevents generating any report data for use in ReportsModal.

I’m still familiarizing myself with the codebase, so there may be other areas I’ve missed. Any advice or guidance you can provide would be greatly appreciated.
Thank you!

Hey, thanks for pointing this out. We can really do a better job of documenting the onboarding service. You are correct in assuming that the CONTENT_MODERATION_SERVICE_URL is pointing to a microservice. You can either access it with this url: http://<IP_ADDRESS>:9090 or you can run it locally using this guide: https://github.com/FreiFahren/FreiFahren/tree/main/packages/hate_speech_filter

Hi @johan-t! Thanks for the suggestion! I was finally able to get the project functioning. However, I wanted to clarify the issue: did you mean the order of the stations from the report form (accessed by clicking the "Melden" button), or from ReportsModal (via the "Reports" button on the left)?
Initially, I thought it was the latter, but after reviewing issue #301, I think you might have been referring to the former ("Meldon" button).
Thanks!

left)?

Hey, I meant the list of stations in the ReportForm. Sorry for the unclarity.


SP: overflow with count != 1

We should check for SP DMA overflow for long transfers when count != 1. One approach is to fill IMEM/DMEM with patterns and check the RDRAM doesn’t contain any of the values in other patterns

Here's a test case that seems to reproduce the bug in my emulator:

pub struct SPDMAFromDMEMWithOverflowByCount {}

impl Test for SPDMAFromDMEMWithOverflowByCount {
    fn name(&self) -> &str { "spmem: DMA RDRAM <- DMEM (overflow with count != 1)" }

    fn level(&self) -> Level { Level::Weird }

    fn values(&self) -> Vec<Box<dyn Any>> { Vec::new() }

    fn run(&self, _value: &Box<dyn Any>) -> Result<(), String> {
        SPMEM::write(0x0000, 0x01234567);
        SPMEM::write(0x0004, 0x89ABCDEF);
        SPMEM::write(0x0008, 0xFEDCBA98);
        SPMEM::write(0x000C, 0x76543210);

        SPMEM::write(0x1000, 0x11223344);
        SPMEM::write(0x1004, 0x55667788);
        SPMEM::write(0x1008, 0x99AABBCC);
        SPMEM::write(0x100C, 0xDDEEFF00);

        let mut source_data: [u32; 0x4000 >> 2] = [0u32; 0x4000 >> 2];
        let source_data_uncached = MemoryMap::uncached_mut(&mut source_data);
        let source_ptr = source_data_uncached as *mut u8;
        let length = (0x1000 - 1) | ((4 - 1) << 12); // Copy 0x1000 bytes 4 times
        unsafe {
            RSP::start_dma_sp_to_cpu(0x0000, source_ptr, length);
            RSP::wait_until_dma_completed();
            soft_assert_eq2(&(*source_data_uncached)[0x0000..0x0004], &[0x01234567, 0x89ABCDEF, 0xFEDCBA98, 0x76543210], || "RDRAM data after DMA overflow from DMEM (at 0x0000, count != 1)".to_string())?;
            soft_assert_eq2(&(*source_data_uncached)[0x0400..0x0404], &[0x01234567, 0x89ABCDEF, 0xFEDCBA98, 0x76543210], || "RDRAM data after DMA overflow from DMEM (at 0x1000, count != 1)".to_string())?;
            soft_assert_eq2(&(*source_data_uncached)[0x0800..0x0804], &[0x01234567, 0x89ABCDEF, 0xFEDCBA98, 0x76543210], || "RDRAM data after DMA overflow from DMEM (at 0x2000, count != 1)".to_string())?;
            soft_assert_eq2(&(*source_data_uncached)[0x0C00..0x0C04], &[0x01234567, 0x89ABCDEF, 0xFEDCBA98, 0x76543210], || "RDRAM data after DMA overflow from DMEM (at 0x3000, count != 1)".to_string())?;
        }

        unsafe {
            RSP::start_dma_sp_to_cpu(0x1000, source_ptr, length);
            RSP::wait_until_dma_completed();
            soft_assert_eq2(&(*source_data_uncached)[0x0000..0x0004], &[0x11223344, 0x55667788, 0x99AABBCC, 0xDDEEFF00], || "RDRAM data after DMA overflow from IMEM (at 0x0000, count != 1)".to_string())?;
            soft_assert_eq2(&(*source_data_uncached)[0x0400..0x0404], &[0x11223344, 0x55667788, 0x99AABBCC, 0xDDEEFF00], || "RDRAM data after DMA overflow from IMEM (at 0x1000, count != 1)".to_string())?;
            soft_assert_eq2(&(*source_data_uncached)[0x0800..0x0804], &[0x11223344, 0x55667788, 0x99AABBCC, 0xDDEEFF00], || "RDRAM data after DMA overflow from IMEM (at 0x2000, count != 1)".to_string())?;
            soft_assert_eq2(&(*source_data_uncached)[0x0C00..0x0C04], &[0x11223344, 0x55667788, 0x99AABBCC, 0xDDEEFF00], || "RDRAM data after DMA overflow from IMEM (at 0x3000, count != 1)".to_string())?;
        }

        Ok(())
    }

}


Modern interface and build_release

Hi,
in commit https://github.com/traccar/traccar-web/commit/5f86dec31528d8c06608e1a37ac5529bca91ad78 the build_release script was removed from the modern package. I searched and did not find any explanation as to why? I know, that per the documentation it is not advisable to run traccar in a subdirectory, but this is something I would like to do for a limited time period for easier migration from the old interface to the new interface. Did it cause any problems or is it generally safe to use?
Either way, the documentation at https://www.traccar.org/build-web-app/ should be updated to reflect the change.
P.S: Is there a preferred way to communicate documentation bugs/improvements? I'm not sure if opening a bug report here is the correct way :)

The reason is that now modern app is run in the root path by default, so we don't need two different commands.
You should be still be able to use it in a subdirectory if you want to. No major issues, but you need to make sure links in the templates are correct, like password reset link.
Documentation updated. Thanks for pointing it out.
It's ok to create a bug tickets here if it's definitely an issue. You can also just post it on the forum.


#add a hangman game

create a hangman game using basic webDev(html, css and js), where multiple chances are given to user to complete a word with missing alphabets. If the player misses the word the hangman drawing keeps on getting completed.

Hi @iamrahulmahato, I have created a pull request pls check for this issue.
Thankyou


[AutoDiff] Emit a diagnostic for non-differentiable active values

For some values we cannot compute types for differentiation (for example, tangent vector type), so it is better to diagnose them earlier. Otherwise we hit assertions when generating code for such invalid values.
The LIT test is a reduced reproducer from the issue #66996. Before the patch the compiler crashed while trying to get a tangent vector type for the following value (partial_apply):
%54 = function_ref @$s4null1o2ffSdAA1FV_tFSdyKXEfu0_ :
  $@convention(thin) @substituted <τ_0_0> (@inout_aliasable Double)
  -> (@out τ_0_0, @error any Error) for <Double>

%55 = partial_apply [callee_guaranteed] %54(%2) :
  $@convention(thin) @substituted <τ_0_0> (@inout_aliasable Double)
  -> (@out τ_0_0, @error any Error) for <Double>

Now we emit a diagnostic instead.
The patch resolves issues #66996 and #63331.

Tagging @BradLarson

@swift-ci please test

@swift-ci please test

There is quite a lot of LIT test with tuples being incorrectly (?) diagnosed as non-differentiable. I will check them and update the patch.

@asavonic Because some components are non-differentiable?

@swift-ci please test

@shahmishal any idea why CI is not triggered? (see https://github.com/apple/swift/pull/67697#issuecomment-1679437979)


Consider improving the developer experience when using output redirects

Say you have a target like this:
foo:
	some-command > foo

Currently, if you run make foo, and some-command fails, foo will be created, and make will exit with a status of 0. Furthermore, a subsequent run of make foo will claim that foo is up-to-date.
We could improve this situation by setting either SHELL or .SHELLFLAGS to enforce Bash's pipefail option. This will cause make to exit with a non-zero status when some-command fails. Unfortunately the foo file will still be created on error, so this doesn't completely solve the issue. We might also want to consider using .DELETE_ON_ERROR, which should in theory handle this last part of the problem.

Just some quick and dirty things we could do by convention to at least ensure that the erroneous file doesn't persist:
foo:
	some-command > foo || rm foo

foo:
	output=$$(some-command) && output "$$output" > foo


"This engine did not provide a list of tried templates."

Hi @ahmedaljazzar
If a given template is not found django raise a TemplateDoesNotExist and Template-loader postmortem return a list of tried templates.
At the moment django-mako doesn't provide this list, I plan to implement that feature.

are you interested with that feature?
did you ever try to implement it?
if yes, do you know if there's any special difficulties?

I suppose it should be quite straightforward.
Let me know your through
See you

Hello Steeve,
Sure, it'd be good if you worked on it. Mmm tbh I never have done this before, but what I know is that Django extracts this from tried kwarg in TemplateDoesNotExist exception. The main difficulty here is that we're re-raising TemplateLookupException from mako engine that doesn't contain this feature (as far as I know) to TemplateDoesNotExistthat Django understands.
What I see as a solution here may be by extending the mako.lookup.TemplateLookup and injecting the feature in it to be added to TemplateLookupException later.


msmb_data

package containing testing data for MSMBuilder

bump @jchodera

Sorry for the delay!
I've just given you admin access @cxhernandez so that I don't slow you down again.
(Thanks @rmcgibbo!)

No worries! And thanks for the admin access!
Is there a lag between when things are merged here and when they show up on the omnia conda channel? I can't find it via conda search -c omnia msmb_data

Everything gets sent to the "rc" release candidate label now. The idea being you test-drive the package before releasing it into the wild
conda install -c omnia/labels/rc msmb_data

Ah, okay, thanks!

Let us know when you want it in the main label


[ko] Translate concepts/scheduling-eviction/scheduling-framework in Korean

This is a Feature Request

What would you like to be added

Translate concepts/scheduling-eviction/scheduling-framework in Korean
Why is this needed
No translation with concepts/scheduling-eviction/scheduling-framework in Korean
Comments

Page to update:
https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/

/language ko
/assign

/retitle [ko] Translate concepts/scheduling-eviction/scheduling-framework in Korean
/triage accepted

Sorry. This is my mistake. I'll request this issue in 'kubernetes/website'.

Sorry


Error: TypeError: argument of type 'NoneType' is not iterable

One line summary of the issue here.
Expected behavior
No errors to be shown
Actual behavior
see output below
Steps to reproduce the behavior
host@host:~/tools/angularjs-csti-scanner$ python acstis.py -c -siv -vp -d https://www.oddschecker.com

  /$$$$$$   /$$$$$$   /$$$$$$  /$$$$$$$$ /$$$$$$  /$$$$$$
 /$$__  $$ /$$__  $$ /$$__  $$|__  $$__/|_  $$_/ /$$__  $$
| $$  \ $$| $$  \__/| $$  \__/   | $$     | $$  | $$  \__/
| $$$$$$$$| $$      |  $$$$$$    | $$     | $$  |  $$$$$$
| $$__  $$| $$       \____  $$   | $$     | $$   \____  $$
| $$  | $$| $$    $$ /$$  \ $$   | $$     | $$   /$$  \ $$
| $$  | $$|  $$$$$$/|  $$$$$$/   | $$    /$$$$$$|  $$$$$$/
|__/  |__/ \______/  \______/    |__/   |______/ \______/

Version 3.0.6 - Copyright 2017 Tijme Gommers<EMAIL_ADDRESS>
[INFO] Looking for AngularJS version using a headless browser.
[INFO] Waiting until DOM is completely loaded.
[INFO] Found AngularJS version 1.3.20.
[INFO] Angular CSTI scanner started.
[INFO] Scanning https://www.oddschecker.com
argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/home/host/tools/angularjs-csti-scanner/acstis/Driver.py", line 256, in cb_request_in_thread_after_finish
    queue_item.vulnerable_items = Scanner(self, self.__angular_version, self.__args.verify_payload, queue_item).get_vulnerable_items()
  File "/home/host/tools/angularjs-csti-scanner/acstis/Scanner.py", line 99, in get_vulnerable_items
    if self.__is_item_vulnerable(item):
  File "/home/host/tools/angularjs-csti-scanner/acstis/Scanner.py", line 120, in __is_item_vulnerable
    if not "html" in queue_item.response.headers.get("content-type"):
TypeError: argument of type 'NoneType' is not iterable

[INFO] Scanning https://www.oddschecker.com/search?query=FaaIGDVVxm
[INFO] Scanning https://www.oddschecker.com/
[INFO] Scanning https://www.oddschecker.com/tips
[INFO] Scanning https://www.oddschecker.com/free-bets
[INFO] Scanning https://www.oddschecker.com/casino-bonus
[INFO] Scanning https://www.oddschecker.com/bingo-bonuses
[INFO] Scanning https://www.oddschecker.com/insight
[INFO] Scanning https://www.oddschecker.com/myoddschecker/login
[INFO] Scanning https://www.oddschecker.com/myoddschecker/my-profile
[INFO] Scanning https://www.oddschecker.com/myoddschecker/bookmakers
[INFO] Scanning https://www.oddschecker.com/myoddschecker/my-bets
[INFO] Scanning https://www.oddschecker.com/myoddschecker/logout
[INFO] Scanning https://www.oddschecker.com/odds-format
[INFO] Scanning https://www.oddschecker.com/exchange-settings
[INFO] Scanning https://www.oddschecker.com/bet-basket
[INFO] Scanning https://www.oddschecker.com/market-movers
[INFO] Scanning https://www.oddschecker.com/tv-sports-calendar
[INFO] Scanning https://www.oddschecker.com/betting-tools/bet-calculator
[INFO] Scanning https://www.oddschecker.com/help/using-oddschecker/how-it-works
[INFO] Scanning https://www.oddschecker.com/football
argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/home/host/tools/angularjs-csti-scanner/acstis/Driver.py", line 256, in cb_request_in_thread_after_finish
    queue_item.vulnerable_items = Scanner(self, self.__angular_version, self.__args.verify_payload, queue_item).get_vulnerable_items()
  File "/home/host/tools/angularjs-csti-scanner/acstis/Scanner.py", line 99, in get_vulnerable_items
    if self.__is_item_vulnerable(item):
  File "/home/host/tools/angularjs-csti-scanner/acstis/Scanner.py", line 120, in __is_item_vulnerable
    if not "html" in queue_item.response.headers.get("content-type"):
TypeError: argument of type 'NoneType' is not iterable

argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/home/host/tools/angularjs-csti-scanner/acstis/Driver.py", line 256, in cb_request_in_thread_after_finish
    queue_item.vulnerable_items = Scanner(self, self.__angular_version, self.__args.verify_payload, queue_item).get_vulnerable_items()
  File "/home/host/tools/angularjs-csti-scanner/acstis/Scanner.py", line 99, in get_vulnerable_items
    if self.__is_item_vulnerable(item):
  File "/home/host/tools/angularjs-csti-scanner/acstis/Scanner.py", line 120, in __is_item_vulnerable
    if not "html" in queue_item.response.headers.get("content-type"):
TypeError: argument of type 'NoneType' is not iterable

argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/home/host/tools/angularjs-csti-scanner/acstis/Driver.py", line 256, in cb_request_in_thread_after_finish
    queue_item.vulnerable_items = Scanner(self, self.__angular_version, self.__args.verify_payload, queue_item).get_vulnerable_items()
  File "/home/host/tools/angularjs-csti-scanner/acstis/Scanner.py", line 99, in get_vulnerable_items
    if self.__is_item_vulnerable(item):
  File "/home/host/tools/angularjs-csti-scanner/acstis/Scanner.py", line 120, in __is_item_vulnerable
    if not "html" in queue_item.response.headers.get("content-type"):
TypeError: argument of type 'NoneType' is not iterable

argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/home/host/tools/angularjs-csti-scanner/acstis/Driver.py", line 256, in cb_request_in_thread_after_finish
    queue_item.vulnerable_items = Scanner(self, self.__angular_version, self.__args.verify_payload, queue_item).get_vulnerable_items()
  File "/home/host/tools/angularjs-csti-scanner/acstis/Scanner.py", line 99, in get_vulnerable_items
    if self.__is_item_vulnerable(item):
  File "/home/host/tools/angularjs-csti-scanner/acstis/Scanner.py", line 120, in __is_item_vulnerable
    if not "html" in queue_item.response.headers.get("content-type"):
TypeError: argument of type 'NoneType' is not iterable

argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/home/host/tools/angularjs-csti-scanner/acstis/Driver.py", line 256, in cb_request_in_thread_after_finish
    queue_item.vulnerable_items = Scanner(self, self.__angular_version, self.__args.verify_payload, queue_item).get_vulnerable_items()
  File "/home/host/tools/angularjs-csti-scanner/acstis/Scanner.py", line 99, in get_vulnerable_items
    if self.__is_item_vulnerable(item):
  File "/home/host/tools/angularjs-csti-scanner/acstis/Scanner.py", line 120, in __is_item_vulnerable
    if not "html" in queue_item.response.headers.get("content-type"):
TypeError: argument of type 'NoneType' is not iterable

[INFO] Scanning https://www.oddschecker.com/horse-racing
argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/home/host/tools/angularjs-csti-scanner/acstis/Driver.py", line 256, in cb_request_in_thread_after_finish
    queue_item.vulnerable_items = Scanner(self, self.__angular_version, self.__args.verify_payload, queue_item).get_vulnerable_items()
  File "/home/host/tools/angularjs-csti-scanner/acstis/Scanner.py", line 99, in get_vulnerable_items
    if self.__is_item_vulnerable(item):
  File "/home/host/tools/angularjs-csti-scanner/acstis/Scanner.py", line 120, in __is_item_vulnerable
    if not "html" in queue_item.response.headers.get("content-type"):
TypeError: argument of type 'NoneType' is not iterable

argument of type 'NoneType' is not iterable
Traceback (most recent call last):
  File "/home/host/tools/angularjs-csti-scanner/acstis/Driver.py", line 256, in cb_request_in_thread_after_finish
    queue_item.vulnerable_items = Scanner(self, self.__angular_version, self.__args.verify_payload, queue_item).get_vulnerable_items()
  File "/home/host/tools/angularjs-csti-scanner/acstis/Scanner.py", line 99, in get_vulnerable_items
    if self.__is_item_vulnerable(item):
  File "/home/host/tools/angularjs-csti-scanner/acstis/Scanner.py", line 120, in __is_item_vulnerable
    if not "html" in queue_item.response.headers.get("content-type"):
TypeError: argument of type 'NoneType' is not iterable

happens on python 2.7 and python 3.5.2

the same errors

Sorry that this took so long (I've been very busy lately), but it's fixed now. Please note that the website www.oddschecker.com does not accept user agents containing the word 'Python'. If you want to scan this website you would need to change the user agent, as explained under the chapter 'headers' in the readme.


Chore: Allow wider lines in markdown documentation

Not needed, as this is set in the editor config file: .editorconfig


Pragma Fixed

Floating pragmas are considered a bad practice.
It is always recommended that pragma should be fixed (not floating) to the version that you are intending to deploy your contracts with.
I have fixed the pragma of the contracts to 0.8.9 as in the hardhat.config.ts solidity compiler version 0.8.9 is mentioned.
For more information Check this out
Thanks,
AB Dee.

Thanks, @DevABDee for the fixed pragma solidity version.


allow_playback_repeats

Ruby VCR has a Cassette option allow_playback_repeats. Any chance this can be added to vcrpy?

PRs welcome


:tada: release: v7.3.0

Description
This is a release PR.

:tada: This PR is included in version 7.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Implement Speculative Type Checking

Here are the following rules for speculation that need to be enforced:
Each pipeline stage can be in one of the following states:

Non-Speculative
Unknown
Speculative

Stages cannot be "Misspeculated" since they will be killed rather than execute while being knowingly misspeculated.
If a pipeline uses speculative calls, then the first stage is considered to be in the "Unknown" state.
If it doesn't use speculative calls, then no speculation checks are necessary.
Non-blocking speculation checks statically establish that the thread is in the "Speculative" state.
Blocking speculation checks statically establish that the thread is in the "Non-Speculative" state.
After a stage separator, the state is set back to "Unknown" unless it is "Non-Speculative".

The following operations are only allowed when a thread is "Non-Speculative":

verify(s, real vals)
release(any args)
Write Lock Ops

This ensures that a thread only marks its child as non-speculative once it itself is non-speculative.
Additionally, release operations effectively translate to "committing" modifications to shared state. Therefore
these commits should only happen non-speculatively. In future versions, we can allow write locks to be accessed speculatively, but for now we haven't implemented checkpointing/rollback.
In order to execute the following, the thread must be in the "Non-Speculative" or "Speculative" state (i.e., not Unknown):

any lock/memory operations (specifically those that modify state)
any speculative operations (e.g., speculative call)

Lock operations modify shared state; however these operations can be rolled back by a parent thread (as long as they haven't been committed). The non-blocking checks are essentially used to ensure that the parent has not already rolled back the state (in which case any modifications this thread makes are going to do bad, weird things).

Closed by #18


Does this project support the acceleration of Lora and ControlNet?

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
If not, does anyone know how to realize it? Or it cannot be realized based on TensorRT。
Describe alternatives you've considered
No response
Additional context
No response
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.

I think it might be possible, but it would require extending the existing demo to include controlnet:
https://github.com/NVIDIA/TensorRT/tree/main/demo/Diffusion
I am swamped at the moment but maybe I'll find the time to look into it in the next couple of weeks.


Redis tests now pass if running on windows (they are ignored)

Updated the Redis tests to automatically ignore if they are running on Windows

@jnawk Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@jnawk Thank you for signing the Contributor License Agreement!


How to statically link Cocoa frameworks on MacOS?

I just build library as static and linked with  -framework Cocoa -framework CoreVideo -framework IOKit. Then I check dependencies:
$ otool -L a.exe
a.exe:
        /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 23.0.0)
        /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo (compatibility version 1.2.0, current version 1.5.0)
        /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
        /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1300.36.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.0.0)
        /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 2299.30.112)
        /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1953.255.0)
        /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 1690.3.3)
        /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 1228.0.0)
        /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1953.255.0)
        /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)

this is huge dependencies... All I wanted is portable single executable. Those dependencies are ok? I'm not sure...

Apple doesn't provide static libraries of those frameworks, so it is what it is.

Ok thank you.


Calls with bad data should return an error response

Description:

Related issue(s):
Fixes #385
Notes for reviewer:

Checklist

[x] Documented (Code comments, README, etc.)
[x] Tested (unit, integration, etc.)

Codecov Report

Merging #390 (005a0f7) into main (f23e77b) will decrease coverage by 0.17%.
The diff coverage is n/a.

:exclamation: Current head 005a0f7 differs from pull request most recent head 18df524. Consider uploading reports for the commit 18df524 to get more accurate results

@@            Coverage Diff             @@
##             main     #390      +/-   ##
==========================================
- Coverage   73.61%   73.43%   -0.18%
==========================================
  Files          10       10
  Lines         830      832       +2
  Branches      135      136       +1
==========================================
  Hits          611      611
- Misses        172      174       +2
  Partials       47       47

Impacted Files
Coverage Δ

packages/relay/src/lib/eth.ts
80.85% <ø> (-0.41%)
:arrow_down:

Continue to review full report at Codecov.

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


build: change build system to rollup

Coverage decreased (-0.003%) to 97.722% when pulling 366e4901365abb57bb1d4d4292f59a53a5358091 on build-using-rollup into 7bb9ddeba822485e496297e5b75ab3c4e6ba8b9d on master.

:tada: This PR is included in version 3.8.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Bug]: trip planner timeout

📜 Description
Trying to use the trip planner agent and keep getting this error; i've entered julep openweather and brave API key's as export SERVICE_API_KEY='s
perhaps the service is just down? Im using the cookbook code locally and the python program.
👟 Reproduction steps
No response
👀 Have you searched previous issues to see if this has been raised before?

[X] I checked and didn't find similar issue

cc/ @HamadaSalhab @Vedantsahai18

Hello @brandonopened! Thanks for reporting this issue. Could you please provide some more details about the error you're getting?

Hey @brandonopened,
I hope your bug is resolved  by now . We did test it out from our end and everything looks fine. In case the bug still persist, you can reopen this issue again or create a new one.
Cheers!


outlook plugin - differences between 2 different docs

There are some differences in these 2 docs.
In this one, it says in requirements > outlook 2013 or 2016
Also it says it is needed a the Outlook Add-in
https://www.mautic.org/docs/en/plugins/outlook.html
In the other one, it says only Outlook 2016 is required. Also, the outlook add-in must be only for windows
https://mautic.com/help/use-microsoft-outlook-plugin/

FYI there are NO outlook docs on mautic.com anymore.  Their plugin directory page still lists that URL, but it 404s.


Since v1.22.10-k3s1 and v1.23.7-k3s1 is not possible deploy Traefik with own HelmChartConfig

Environmental Info:
K3s Version:
k3s version v1.22.10+k3s1 (b004f4d5)
go version go1.16.10
K3d Version:
k3d version v5.3.0
k3s version v1.22.6-k3s1 (default)
Docker Version:
Client: Docker Engine - Community
 Version:           20.10.18
 API version:       1.41
 Go version:        go1.18.6
 Git commit:        b40c2f6
 Built:             Thu Sep  8 23:11:45 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.18
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.18.6
  Git commit:       e42327a
  Built:            Thu Sep  8 23:09:37 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.8
  GitCommit:        9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Node(s) CPU architecture, OS, and Version:
Linux awa1b1421 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
---
kind: Simple
apiVersion: k3d.io/v1alpha4
metadata:
  name: k3s-local
servers: 1
agents: 2
kubeAPI:
  hostIP: <IP_ADDRESS>
  hostPort: '6443'
#image: rancher/k3s:v1.21.4-k3s1 # works
#image: rancher/k3s:v1.21.14-k3s1 # works
#image: rancher/k3s:v1.22.2-k3s2 # works
#image: rancher/k3s:v1.22.5-k3s2 # works
#image: rancher/k3s:v1.22.7-k3s1 # works
#image: rancher/k3s:v1.22.8-k3s1 # works
#image: rancher/k3s:v1.22.9-k3s1 # works
image: rancher/k3s:v1.22.10-k3s1 # NOT works (logs attached from this version)
#image: rancher/k3s:v1.22.17-k3s1 # NOT works
#image: rancher/k3s:v1.23.1-k3s2 # works
#image: rancher/k3s:v1.23.5-k3s1 # works
#image: rancher/k3s:v1.23.6-k3s1 # works
#image: rancher/k3s:v1.23.7-k3s1 # NOT works
#image: rancher/k3s:v1.23.8-k3s2 # NOT works
#image: rancher/k3s:v1.23.16-k3s1 # NOT works
#image: rancher/k3s:v1.24.1-k3s1 # NOT works
#image: rancher/k3s:v1.24.10-k3s1 # NOT works
#image: rancher/k3s:v1.25.2-k3s1 # NOT works
#image: rancher/k3s:v1.25.6-k3s1 # NOT works
#image: rancher/k3s:v1.26.1-k3s1 # NOT works
volumes:
  # Absolute path to the ./manifests/ directory in the project root directory (${K3D_PROJECT_DIR})
  - volume: "${K3D_PROJECT_DIR}/manifests/:/var/lib/rancher/k3s/server/manifests/k3s-local/"
    nodeFilters:
      - server:*
ports:
  - port: <IP_ADDRESS>:80:80
    nodeFilters:
      - loadbalancer
  - port: <IP_ADDRESS>:443:443
    nodeFilters:
      - loadbalancer
  - port: <IP_ADDRESS>:9000:9000
    nodeFilters:
      - loadbalancer
options:
  k3d:
    wait: true
  runtime:
    serversMemory: 2Gi
    agentsMemory: 4Gi
registries:
  create:
    host: <IP_ADDRESS>
    hostPort: '5000'

Describe the bug:
Since v1.22.10-k3s1 and v1.23.7-k3s1 versions it is not possible to deploy own Traefik configuration using HelmChartConfig via manifests directory. Additionally, attempting to force the deployment of this file, by executing a touch command on it, results in the HelmChart resources named traefik and traefik-crd being removed, but HelmChartConfig itself is then deployed. All the k3s versions I tested are noted in the cluster configuration file.
Steps To Reproduce:

Put the above cluster configuration in the k3s-local.k3d.yaml file and correct the path under the comment "Absolute path to the ./manifests/" (Why can't it be relative on the host side?)
Put below HelmChartConfig configuration in the ./manifests/traefik.helmchartconfig.k8s.yaml.---
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
  name: traefik
  namespace: kube-system
spec:
  # See https://github.com/traefik/traefik-helm-chart/tree/master/traefik for details
  # language=yaml
  valuesContent: |-
    logs:
      access:
        enabled: true
    ports:
      traefik:
        expose: true
    additionalArguments:
      - --metrics.prometheus=true
      - --tracing.jaeger=true

Deploy the cluster based on the above configuration using the command: k3d cluster create -c k3s-local.k3d.yaml

Expected behavior:

After the creation of the k3s cluster, I expect the following results:
$ kubectl -n kube-system get helmchart,helmchartconfig
NAME                                   AGE
helmchart.helm.cattle.io/traefik       24s
helmchart.helm.cattle.io/traefik-crd   24s

NAME                                     AGE
helmchartconfig.helm.cattle.io/traefik   27s

Actual behavior:

After the creation of the k3s cluster, I see the following results:
$ kubectl -n kube-system get helmchart,helmchartconfig
NAME                                   AGE
helmchart.helm.cattle.io/traefik       25s
helmchart.helm.cattle.io/traefik-crd   25s

After touching traefik.helmchartconfig.k8s.yaml file, using command docker exec k3d-k3s-local-server-0 touch /var/lib/rancher/k3s/server/manifests/k3s-local/traefik.helmchartconfig.k8s.yaml I see the following results:
$ kubectl -n kube-system get helmchart,helmchartconfig
NAME                                     AGE
helmchartconfig.helm.cattle.io/traefik   31s

Additional context / logs:

k3d-k3s-local-server-0-after-cluster-create.log
k3d-k3s-local-server-0-after-touch-file.log

I suspect this is an issue with K3d. I can't reproduce this with K3s running in Docker, or running directly on the host. Have you opened in issue in the k3d repo yet?

@brandond Sorry for the late reply. I have not reported this problem to the k3d developers and I think the problem is not lie there. I have noted similar issue on RaspberryPI. See my console seession.
root@raspberrypi:/var/lib/rancher/k3s/server/manifests# cat /etc/rpi-issue
Raspberry Pi reference 2022-09-22
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 005a8c73b05a2cab394073150208bf4f069e861a, stage2
root@raspberrypi:/var/lib/rancher/k3s/server/manifests# k3s --version
k3s version v1.25.6+k3s1 (9176e03c)
go version go1.19.5
root@raspberrypi:/var/lib/rancher/k3s/server/manifests# kubectl get -A helmchart,helmchartconfig
NAMESPACE        NAME                                      AGE
kube-system      helmchart.helm.cattle.io/traefik-crd      14h
kube-system      helmchart.helm.cattle.io/traefik          14h
home-assistant   helmchart.helm.cattle.io/home-assistant   10m

NAMESPACE        NAME                                            AGE
home-assistant   helmchartconfig.helm.cattle.io/home-assistant   5m45s
root@raspberrypi:/var/lib/rancher/k3s/server/manifests# touch traefik/200-helmchartconfig.yaml
root@raspberrypi:/var/lib/rancher/k3s/server/manifests# # wait about 1 minute
root@raspberrypi:/var/lib/rancher/k3s/server/manifests# kubectl get -A helmchart,helmchartconfig
NAMESPACE        NAME                                      AGE
kube-system      helmchart.helm.cattle.io/traefik-crd      14h
kube-system      helmchart.helm.cattle.io/traefik          14h
home-assistant   helmchart.helm.cattle.io/home-assistant   11m

NAMESPACE     NAME                                     AGE
kube-system   helmchartconfig.helm.cattle.io/traefik   45s
root@raspberrypi:/var/lib/rancher/k3s/server/manifests# touch home-assistant/200-helmchartconfig.yaml
root@raspberrypi:/var/lib/rancher/k3s/server/manifests# # wait about 1 minute
root@raspberrypi:/var/lib/rancher/k3s/server/manifests# kubectl get -A helmchart,helmchartconfig
NAMESPACE        NAME                                      AGE
kube-system      helmchart.helm.cattle.io/traefik-crd      14h
kube-system      helmchart.helm.cattle.io/traefik          14h
home-assistant   helmchart.helm.cattle.io/home-assistant   12m

NAMESPACE        NAME                                            AGE
home-assistant   helmchartconfig.helm.cattle.io/home-assistant   29s

You have two files named 200-helmchartconfig.yaml. Files within the manifests directory or any subdirectories should all have unique names, as the file basenames (without paths) are used to determine the AddOn name. The AddOn is used to track application of the manifest, so if you have duplicates, they will not be applied correctly.
Instead of nesting your files inside subdirectories, try giving them a prefix - home-assistant-namespace, home-assitant-helmchart, home-assitant-helmchartconfig, and so on.
You could also just put all the resources in a single file, as there's no requirement to have a single resource per manifest.


Bad streetname merges

I've come across some bad merges with buildings and POIs that happened before and after ordinal fixes. This results in an addr:street that has both. These should be manually cleaned up.

I'll script up a way of detecting them and then we can fix them manually.

@aaronlidman , I found those object where using  addr:street =*;* https://dl.dropboxusercontent.com/u/43116811/nyc-error-address.osm
Next Action
Make a script to fix the addr:street

Probably

Make a script to fix the addr:street

probably easier to fix them by hand than doing a mechanical edit

probably easier to fix them by hand than doing a mechanical edit

I agree. @Rub21 Can someone work on fixing these 145 items manually?

@aaronlidman @pnorman  :

Can someone work on fixing these 145 items manually?

ok, I will work with Richman on this tas.

ok, Ayudaré en esto

@aaronlidman @pnorman  : I revised @RichRico 's edition that is fine.
if are you agree? , close this task

No other action here.  Close


[CPLP-1243] desing added for organization page

Please fix the code smells
add header template to the newly created files
Please add your changes to the RELEASENOTES.md file with every PR so that we can have an overview by the end of the sprint.

done

@thackerronak conflicts are still existing, please fix those

@thackerronak conflicts are still existing, please fix those

done


Fix present by adding to CONTROL_KEYS

At the moment present doesn't work because it generates a type called present.

It would be great to see this PR accepted. Any reason why it hasn't been?


Debug, response, app and module, README review

@lethargilistic I'm reviewing the changes and seems that markdown is not really happy with the 80 characters length thing. Seems to brake tables, change the paragraphs structure in un-predictable ways.. I'm afraid we need to revert the 80 lines thing.

Oh, shoot. I'm sorry. I'll fix it.

I've fixed the tables. Can you point me to where the paragraph structure broke, so I'll know when I've fixed it?

@lethargilistic I've noticed just in the foreword right now, in the paragraph:
I really enjoyed writing code in Python, and after gaining some confidence,
I faced the second "big decision"...


Only try to hand off to ConhostV1 if building for Windows

Some of our automated tooling detects this as being a private API that we're accessing via LoadLibrary/GetProcAddress. It's not wrong, but it's also not right.
It's easier for us to just not do it (and save all the code for it!) in OpenConsole.

man this is bodge


Feature request: "back" event on ViewContainer

It would be useful to have a "back" event on a ViewContainer. The event should be mapped to the back button. When the back button is pressed the "back" event should be triggered. It could be platform depended (what about iOS?).

The introduction of system events could solve the problem without the need to introduce details
Related https://github.com/B3rn475/IFMLEdit.org/pull/19

System events enable this feature in a generic way.


fix: Remove trailing newline from Git Revision string.

Fixes cut off title in Main Window.
Signed-off-by: Dzmitry Neviadomski<EMAIL_ADDRESS>

@nevack thanks!


Sails with Firebird

Sails version: 1.0
Node version: 8.11.3
NPM version: 6.4.1
DB adapter name: Firebird
DB adapter version: N/A
Operating system: Windows

 Is it possible to connect a Sails 1.0 app with Firebird? I found no adapter for Firebird Database. The sails-firebirdsql [https://github.com/johntom/sails-firebirdsql] looks deprecated with sails 1.0

ok, fixed!

ok, fixed!

@defelper There doesn't appear to be much info on Firebird with Sails 1.x / Waterline in the past 4 years but you can still use the custom adapters guide to try installing and testing out the sails-firebirdsql adapter.  The latest Sails is still open to making and installing custom adapters for databases.


Strategy form

Continuation of #1246
Fixes:

Persist params when fill the generated form
Replace textarea with JSON with a component TextareaJson (to move parse / stringify logic)

TODO:

[ ] Load component in SObject dynamically
[ ] Enhance UI and tune form validations

Looks good! You may want to replace all field using JSON content with TextareaJson too

@bonustrack what are these used for?
 "$schema": "http://json-schema.org/draft-07/schema#",
  "$ref": "#/definitions/Strategy",

Also I'm thinking we should probably have some sort of way we validate the user input inside the SObject form?

@samuveth Got this issue when trying the Fleek deployment

For the validation we can do that on another PR

@samuveth Maybe the directory name could be a bit more suggestive than just the letter S.

@samuveth Maybe the directory name could be a bit more suggestive than just the letter S.

@bonustrack


When filer has invalid UTF-8 filename, volume.fsck happen error.

Describe the bug
When filer has invalid UTF-8 filename, volume.fsck happen error.
Error Output:
error: failed to collect file ids from filer: rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8
I debug this, error happen in weed/pb/filer_pb/filer_client_bfs.go:func TraverseBfs 's processErr := processOneDirectory.
The default output info can't known error file. I debug found the error filename url is http://localhost:8888/xxxx/�滭��:0�����%D 3%BE%B4.jpg
I don't know why i can download it and chrome can parse a good filename (绘画组_0张沐子敬.jpg) , but fsck need it is UTF-8.(I know the filename isn't a good utf-8 filename)
Try to print enough error info for error filename, and check filename in upload or not use utf-8 string in grpc.
System Setup
version 30GB 2.0 9cac9c4 windows amd64
Windows 10

works for me. Please show the error stack.

Now, I don't have http://localhost:8888/xxxx/ folder, I will upload a file to  http://localhost:8888/xxxx/.
This is test command and output (shell env>command format):
cmd>curl -F file=@E:\Users\zjzdy\文档\Downloads\绘画组_02172823张沐子敬.jpg  "http://localhost:8888/xxxx/%BB%E6%BB%AD%D7.jpg"
{"name":"\ufffd滭\ufffd\ufffd_02172823\ufffd\ufffd\ufffd\ufffd\ufffdӾ\ufffd.jpg","size":1186688}

weed shell> lock
weed shell> volume.fsck
error: failed to collect file ids from filer: rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8
weed shell>

I add it after err = processErr and rebuild weed.
fmt.Printf("processErr: %v\n", err)
println(dir)
debug.PrintStack()

The output is:
> lock
> volume.fsck
processErr: rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8
/xxxx
goroutine 356 [running]:
runtime/debug.Stack(0x141c6be2d, 0x1, 0x1)
        c:/go/src/runtime/debug/stack.go:24 +0xa4
runtime/debug.PrintStack()
        c:/go/src/runtime/debug/stack.go:16 +0x29
github.com/chrislusf/seaweedfs/weed/pb/filer_pb.TraverseBfs.func1(0xc00050e8c8, 0xc000234f30, 0x1421909e0, 0xc000506600, 0xc00050e8d0, 0xc0000220c0, 0xc00028d2c0)
        S:/weed/seaweedfs/weed/pb/filer_pb/filer_client_bfs.go:39 +0x190
created by github.com/chrislusf/seaweedfs/weed/pb/filer_pb.TraverseBfs
        S:/weed/seaweedfs/weed/pb/filer_pb/filer_client_bfs.go:23 +0x14b
error: failed to collect file ids from filer: rpc error: code = Internal desc = grpc: error while marshaling: string field contains invalid UTF-8
>

Chrome show:

And the call stack like:
command_volume_fsck.go's collectFilerFileIds ->
collectFilerFileIds's return doTraverseBfsAndSaving ->
command_fs_meta_save.go's doTraverseBfsAndSaving ->
doTraverseBfsAndSaving 's filer_pb.TraverseBfs ->
filer_client_bfs.go's TraverseBfs->
TraverseBfs's processOneDirectory

I don't track processOneDirectory's ReadDirAllEntries error, because i know which file has error  and we can delete the file from weed.

Hi, I added a fix to prevent invalid utf-8 characters in a file name.


Bar-code is not detected on this picture

I think I had tried all the settings, but quaggaJS doesn't read the bar-code on this picture.
Doesn't work on the examples here https://serratus.github.io/quaggaJS/v1.0.0-beta.1/examples/file-input/ and https://serratus.github.io/quaggaJS/examples/file_input.html .
Do you have any advice?

Might try with the singleChannel setting, i believe it's called.  I'm not real sure.  My first inclination was that maybe it's not actually valid, but server-based location/decoding seems to work when i send it to another site that does that sort of thing.  I suspect that Quagga's locator is probably having issues finding it.. but i'm not real sure how any of that works to try to suggest improvements..

I think the problem lies at the core of the algorithm. The traditional image processing was used, which has a limited number of parameters to capture complex natural scenes. A new approach that I have seen so far is to use deep learning at the cost of the processing time.

I don't mean to discourage from input, but that's not exactly a helpful or meaningful reply -- basically saying "no, you can't do it".  Suggesting some methods for figuring out why it doesn't work, would be helpful.  Or even for figuring out what part isn't working.  Clearly, we're not even getting past the barcode location.  Is it because of the shadow? Is it because there's not enough whitespace?  Does it decode if you tell the decoder where you expect the barcode to be (using the "area" parameters) ?

I've had issue like this when printing labels.  Some of our scanners cant read them if they're too close to the edge, it appears as if they see the edge of the label (or edge of your postit) as part of the start/stop bits for the barcode and then cant make sense of the rest of the barcode.  Do the other barcodes on that label scan?  how close are they to the edge?  try trimming the label to minimise additional shadows/lines that could be read as an edge.  I know its not much use when you're working with labels you have no control over but we found that if we drifted too close to the edge of a label, some scanners wouldnt be able to read them


🚧Refactor and simplify window objects

I have done the items below . . .

[X] I have updated the title by replacing the '<title>' section.

Description
The goal of this change is to simplify the GLWindow and GLWindowFacade classes by refactoring and removing code.
The windowing system has become overly complicated and harder to maintain.  The eventual addition of other platforms and the differences of how windows are managed on those other platforms will introduce more complexity.  Doing this now is ideal to not only prepare for those future changes but to simply keep the code simple.
Notes:

Remove the GLWindowFacade class completely.

99% of the code in this class can be moved over to the GLWindow class for use and is all interface based from SILK.  This means it will be easy to test.
A lot of the code in this class is duplicated in GLWindow.

Create a factory class with an interface to be used to create the SILK window.

The only thing that cannot be abstracted is the single line of code tells SILK to create the IWindow object.  The idea here is to inject the factory class into the GLWindow class for creating the IWindow object.  This would make the rest of the GlWindowFacade code easy to migrate to GLWindow

Be careful when the IInputContext object is created.

This object needs to be created sometime in the IWindow.Load() method or after.  This is because that is when the OpenGL Context has been created and that must exist first before creating the input object.

It is recommended to only port over one piece of GLWindowFacade at a time.  Every time the code is ported over, write unit tests to make sure they behave correctly.
Direct interaction with the IWindow object created from the factory inside of the GLWindow class will need to be performed in each CachedValue property.
A push notification will need to be performed in the Init() phase in GLWindow to notify the rest of the system that the OpenGL Context has been created.

This needs to be done using IReactable<GLContextData>

Acceptance Criteria
This issue is finished when:

[x] Create new factory named WindowFactory

This will be injected into GLWindow for creating the SILK IWindow object

[ ] GLWindowFacade removed and not used anymore
[ ] Everything operates as it did before
[ ] GLWindow contains all of the combined behavior of GLWindow and GLWindowFacade

Port Over Events:

[x] Load Event
[x] Unload Event
[x] UpdateFrame Event
[x] RenderFrame Event
[x] Resize Event

Port Over Properties:

[x] public Vector2 Size
[x] public Vector2 Location
[x] public double UpdateFrequency
[x] public bool CursorVisible
[x] public StateOfWindow WindowState
[x] public VelaptorWindowBorder WindowBorder
[x] public string Title

Port Over Methods:

[x] PreInit() Method
[x] Init() Method
[x] Show() Method
[x] SwapBuffers() Method
[x] Close() Method
[x] Dispose() Method

Port Over Event Handlers:

[x] GLMouseInput_MouseScroll() Method
[x] GLMouseMove_MouseMove() Method
[x] GLMouseInput_MouseDown() Method
[x] GLMouseInput_MouseUp() Method
[x] GLKeyboardInput_KeyDown() Method
[x] GLKeyboardInput_KeyUp() Method

Other:

[x] Code documentation added if required
[x] Unit tests added
[x] All unit tests pass

ToDo Items

[x] Draft pull request created and linked to this issue
[X] Priority label added to issue (low priority, medium priority, or high priority)
[X] Issue linked to the proper project
[X] Issue linked to proper milestone

Issue Dependencies
No response
Related Work

#209

Code of Conduct

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

Issue closed for preview release v1.0.0-preview.9


EMT Belt Part 2

About the PR

Continuation of #22173 and the last thing to do in #22145. The EMT belt now has its own prototype and sprite. I was going for something totally different than the classic belt sprites, so that it is unique.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

LGTM!


add links requirement

@vikmeup

Links was added to a details page
https://github.com/trustwallet/developer/blob/master/assets/repository_details.md#infojson-contents
but apparently that page was completely removed when the assets section was simplified.

https://github.com/trustwallet/developer/pull/197/files?short_path=34a62dd#diff-34a62dd5267c336b61afc528c40ca31f6562534952dcdfc568856fc4e21935e3 Still does not look good

Cryptocool1:patch-2


Use output from URI to create local filesystem

Solves #293. Main difference: aside from / and C:, LocalFiles.newFilesystem() now also accepts null, an empty string, and a Windows network drive name (no slashes/backslashes) as a root location. This brings it in line with URI parsing.

Some tests should be added to test this new behavior.

You're right, I've written it, waiting for the local integration tests to finish...

Updated with test


Initial 5.x

Here are the initial 5.x changes.
TODO:

Add 5.x documentation
Refactor and add more unit tests

Input welcome.

My little inputs are here:

Subdomain Routing [it will help for SaaS application]
Fallback Routing [user may define a callable route that will be executed when no other route matches the incoming request.]
Route Name [ set and get method]
Route Group Name [ set and get method]
Load Routes initially and Dispatch later to support like swoolephp or reactphp http server

@memran most of that is either existing functionality or is covered in this PR, the only thing that isn't specifically there is your second point, because it's not really recommended, and should be handled by creating a custom strategy with a handler for not found routes.

@memran most of that is either existing functionality or is covered in this PR, the only thing that isn't specifically there is your second point, because it's not really recommended, and should be handled by creating a custom strategy with a handler for not found routes.

Right. I am using custom strategy with middleware. it will be easier to have option as route declarative.Though it is optional.

Hey! What is the status of this PR? Anyway I can help? Whats the plan for 7.4 support / upcoming 8 support?

@SimZor I was aiming for a release last week but I've had flu so now aiming for some point in the next two weeks.
The main thing that would be helpful for anyone that wants to help would be to extensively test the cached router implementation, try to break it and tell me how you broke it.

@SimZor I was aiming for a release last week but I've had flu so now aiming for some point in the next two weeks.
The main thing that would be helpful for anyone that wants to help would be to extensively test the cached router implementation, try to break it and tell me how you broke it.


IOException: IDX20807: Unable to retrieve document from exception when implementing MS Learn tutorial

This tutorial also doesn't work as-is, on startup: https://learn.microsoft.com/en-us/entra/identity-platform/tutorial-web-app-dotnet-call-api?tabs=visual-studio%2Cdotnet6
I followed all of the steps, exactly as outlined in the related tutorial's pages. All of my efforts to find a solution online have been futile.
It throws the following exception when the app is launched:

InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://login.microsoftonline.com/ac0ea384-5318-4e55-9d72-ef0d5f076f0/v2.0/.well-known/openid-configuration'. Will retry at '4/8/2024 1:59:41 PM +00:00'. Exception: 'System.IO.IOException: IDX20807: Unable to retrieve document from: '[PII of type 'System.String' is hidden. For more details, see https://aka.ms/IdentityModel/PII.]'. HttpResponseMessage: '[PII of type 'System.Net.Http.HttpResponseMessage' is hidden. For more details, see https://aka.ms/IdentityModel/PII.]', HttpResponseMessage.Content: '[PII of type 'System.String' is hidden. For more details, see https://aka.ms/IdentityModel/PII.]'. at Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.GetDocumentAsync(String address, CancellationToken cancel) at Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfigurationRetriever.GetAsync(String address, IDocumentRetriever retriever, CancellationToken cancel) at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)'.

I am using Visual Studio 2022 Enterprise.

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

ID: d460a936-67c4-7d18-7003-38dcc133d43d
Version Independent ID: d460a936-67c4-7d18-7003-38dcc133d43d
Content: Tutorial: Call an API and display the results - Microsoft identity platform
Content Source: docs/identity-platform/tutorial-web-app-dotnet-call-api.md
Service: identity-platform
GitHub Login: @cilwerner
Microsoft Alias: cwerner

@MikeyCSharpDude
Thanks for your feedback! We will investigate and update as appropriate.

@MikeyCSharpDude
I'm going to assign this to the document author so they can take a look at it accordingly.
@cilwerner
Can you please check and add your comments on this doc update request as applicable.

We are in the process of transferring to a new unified user feedback system. This issue is being triaged and added to the backlog where it will be addressed in an upcoming sprint.
#please-close


Feat/hashtag events

SliderHero component added and implemented to Slider component.
Simple card mode added to Card component.
Hashtag events query and hashtag events slider added to the main page.

Please check out the ChakraNextImage component.


Build tables before lambdas that reference them

Is this related to a new or existing Amplify category?
storage, function
Is this related to another service?
No response
Describe the feature you'd like to request
When there are one or more new tables and one or more new lambdas that have been granted access to those tables create the tables first then the lambdas.
Describe the solution you'd like
Currently, some of our features have to be deployed in different envs by removing access to new tables that haven't been created it. Would like a flag to deploy CF templates in stages like the multiple key deployment option.
Describe alternatives you've considered
just editing the lambdas and then adding the access back. Real pain...
Additional context
No response
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request
[ ] ⚠ This feature might incur a breaking change

Hi
Let me understand the problem. So when you add a 1 or models to the schema and attach a function to those models ,Does CFN fails to upload that?
Are you getting any error in amplify push related to this?

Let me understand the problem. So when you add a 1 or models to the schema and attach a function to those models ,Does CFN fails to upload that?

Yes. Trying to push a new @model that is referenced in a function fails to deploy.

Are you getting any error in amplify push related to this?

Yes, it says the resource doesn't exist when it tries to deploy the lambda.

Yeah this is a duplicate of this issue https://github.com/aws-amplify/amplify-cli/issues/7372. we already have a PR which will address this in nest release.
Closing this in favour of #7372

@akshbhu When can we expect this to be released?


Add script to assist on cloning repos

This patch adds a new clone-operator-repo script that assists on cloning operator's code. It allows user to optionally provide a commit hash to be checked out at the end.
Also, the script includes an option, called CHECKOUT_FROM_OPENSTACK_REF, that automatically retrieves the operator's reference from openstack-operator go.mod and checkout that specific commit hash found.
This functionality is useful when deploying control-plane and data-plane, to guarantee that the CRs used in the deploy are in sync with operators installed by the openstack-operator.
Note: CHECKOUT_FROM_OPENSTACK_REF is disabled by default for now.

/hold
under testing with CI

recheck

/assign @dprince

/assign @slagle

More tests here:
Enabling CHECKOUT_FROM_OPENSTACK_REF in ci-framework:

https://github.com/openstack-k8s-operators/ci-framework/pull/1177
Testing a dataplane-operator PR, to see if it gets the content from the PR instead:
https://github.com/openstack-k8s-operators/dataplane-operator/pull/696

Clone commands are displayed in make target's logs, e.g:  controller/ci-framework-data/logs/ci_script_010_run_edpm_deploy_prep.log

/hold cancel


Mac: "Hide taskbar icon" setting not working as expected

When the "Hide Taskbar Icon" setting is enabled, the Obsidian icon still appears in the task switcher and the dock on macOS. Could this be due to the lack of a app.dock.hide() call for the macOS platform?
https://www.electronjs.org/docs/latest/api/dock#dockhide-macos
macOS version: 13.4

Yes. Yes it could be. Thanks for the pickup - I'm not a mac user myself, so I have no way of testing these things. Interestingly, BrowserWindow.setSkipTaskbar() (which I do call) claims that it's macOS compatible, which makes me wonder what it is doing/what differentiates it from app.dock.hide().

maybe this is relate https://github.com/tauri-apps/tauri/issues/4852#issuecomment-1204100382

I've pushed a possible fix for this, if you could follow the manual installation instructions to test it out before I release it to the Obsidian marketplace that'd be really helpful. Thanks!

the fixes works for me, thanks


faithfullness checks for ragas assumes a match

https://github.com/andreibondarev/langchainrb/blob/86b7faf9c21f5402ad1a12ba02978c1716abb6a6/lib/langchain/evals/ragas/faithfulness.rb#L45
this line of code assumes that there is a match.
 def count_verified_statements(verifications)
          match = verifications.match(/Final verdict for each statement in order:\s*(.*)/)
          verdicts = match.captures.first
          verdicts
            .split(".")
            .count { |value| value.strip.to_boolean }
        end

consider changing to
 def count_verified_statements(verifications)
          match = verifications.match(/Final verdict for each statement in order:\s*(.*)/)
          verdicts = match&.captures&.first
          verdicts
            &.split(".")
            &.count { |value| value.strip.to_boolean } || 0
        end

@jjimenez Could you please help me understand when this happens? Does the LLM hallucinate and not return the correct output? Could you please share what that output is?

Closing due to inactivity. Feel free to reopen.

I apologize for dropping this.  I really appreciate the tool, but got busy on other projects.  If and when I return to this I will reopen or create a test scenario and provide additional details.