Feature Request: strictier array and string using parenthesis modifiers

TypeScript Version:  2.7.0-dev.201xxxxx

Search Terms: string, array, length, modifier, strict
Some strictly typed languages can catch string / array overflows on compile time against hard coded values, and might help catching some bugs early on. Usually when creating public APIs, sooner or later, you have to implement a max length for either strings or array items, and while you can catch the error AFTER you've made the request, you would have been able to avoid it at the first place.
This helps with validation libraries as well, such as Joi, that can create highly dynamic object schemas.
Code
type LimitedString = string(3);

let limitedString: LimitedString = '1234' // error, LimitedString expects at most 3 characters
limitedString = '12' // would work (or not?)

type LimitedArray = Array(3)<{ something: string }>

let limitedArray: LimitedArray = [{ something: '' }, { something: '' }, { something: '' }, { something: '' }] // error, LimitedArray expects at most 3 members

type LookupStates = {
  [index: string(2)]: string
}

// This is useful when you have a normalized array or lookup table, for example
const states: LookupStates = {
  'KS': 'Kansas',
  'IA': 'Iowa'
}

states['IOWA'] // error

Array case is already supported:
type LimitedArray = [{ something: string }, { something: string }, { something: string }];

let limitedArray: LimitedArray = [{ something: '' }, { something: '' }, { something: '' }, { something: '' }]

limitedArray has an error:
Type '[{ something: string; }, { something: string; }, { something: string; }, { something: string; }]' is not assignable to type '[{ something: string; }, { something: string; }, { something: string; }]'.
  Types of property 'length' are incompatible.
    Type '4' is not assignable to type '3'.

Is not the same the type string[] and [string] (the first is an array without limited length, the second is and array with only one string item).
For strings, exists a pull request by @weswigham experimenting with regex validated strings types: #21044.

the only problem with both approaches is that either the regex guard than the tuple type have problems with documentation (and plus the verbosity). what if the array is 30 items long? how to show the "quickinfo" in an IDE for the regex guard type? you won't know the format until you read the typings file...

Do not think we should be mixing strings and arrays, there is really no reason why these scenarios should be combined.
Arrays with fixed length are handled to an extend with tuples since they now have fixed length (see https://github.com/Microsoft/TypeScript/pull/17765).  You can already today have a tuple-like type using Array. e.g.
interface FixedLengthArray<T, L extends number> extends Array<T> {
    "0": T;
    length: L;
}
let limitedArray: FixedLengthArray<E, 3> = [{ something: '' }, { something: '' }, { something: '' }, { something: '' }] // error, 4 is not assignable to 3

Strings should be handled with regex validated strings types: #21044 as noted by @j-oliveras.


add domain os Intelligent Systems Stuttgart campus

The Institute for Intelligent Systems has two campuses (Tuebingen and Stuttgart) with separate IT services, and thus separate e-mail domains.

@sheim I am sorry for the delay with processing your request. It is now merged. Thank you!


Setting WiFi blocked by other serial devices

If there are any other ESPs or other such serial devices, onboarding will get stuck when trying to set WiFi, as it tries to set the WiFi on the wrong serial device endlessly. This isn't super common but I've seen it happen quite a few times.
This can potentially be fixed by trying to set WiFi on all applicable devices at the same time? That would break the GUI though and in that case, we could need to implement a per-tracker progress bar and status. Alternatively, an easier but worse solution would be to timeout after some amount of time and switch to the next device instead.
This would also be a very good case for #1122 as it would be an easy workaround. I also am unsure whether the serial device popup is affected.

Maybe we should combine it with provisioning multiple devices at the same time? Like when they're connected via a USB hub. I think it should send it to all trackers that are connected and display the state separately for each, like "Looking for new trackers..." etc etc


History SAC Simulation Stage

History SAC Simulation Stage.
Added trained policies and ReadMe files. Added cuda availability check.

Thanks for making the changes! I will merge it now :)


GH-36820: [C++] Remove a needless return in Acero ScanNode::AddScanTasks

Rationale for this change

ScanNode::AddScanTasks has multiple return value. This patch remove the latter one.
What changes are included in this PR?

Just remove some code.
Are these changes tested?

no
Are there any user-facing changes?
no

Closes: #36820

(I'm not sure the details of this code too.)
If we don't need to return list_and_scan_done, it seems that we can remove all list_and_scan_done related codes too.

Let me wait for weston's idea...Actually I'm not sure whether we need to return OK() or list_and_scan_done

@westonpace would you mind take a look? Just two line fix

And yes, we should be able to remove list_and_scan_done entirely but it is not too important since this method is going away.

Close this issue and wait for https://github.com/apache/arrow/pull/35889 to be merged :-)


ci: update CHANGES.md's format to work with CI backend.

Change is too minor, will merge to unblock the test/release automation.


Use Date.prototype.toLocaleString() to format date

This formats the date according to the user's chosen locale.
Does this work for you @MShultz?
To try it out:
$ cd /path/to/etherpad-lite
$ npm i rhansen/ep_adminpads2#formatdate

This formats the date according to the user's chosen locale.
Does this work for you @MShultz?
To try it out:
$ cd /path/to/etherpad-lite
$ npm i rhansen/ep_adminpads2#formatdate

@rhansen
This all gets moved and put into index.js with the other PR, #7
We should get that resolved and merged and then apply those changes to the newly-moved code once it's in.

Does this PR avoid the need to merge PR #7?  (Does this have the result you want?)
I would rather format the date on the client, not the server, and according to the user's chosen locale.

Does this PR avoid the need to merge PR #7? (Does this have the result you want?)
I would rather format the date on the client, not the server, and format according to the locale chosen in the user's web browser.

Ran testing local and production. This works for what we're looking for and it's much cleaner and doesn't need a setting toggle. This removes our need for PR #7 which is great.

Ran testing local and production. This works for what we're looking for and it's much cleaner and doesn't need a setting toggle.

Awesome, thanks for testing.


Broken image link in documation

There used to be a nice diagram at https://ui-router.github.io/ng1/docs/0.3.1/index.html#/api/ui.router.state.$state but now the link to the image https://ui-router.github.io/ng1/docs/ngdoc_assets/StateGoExamples.png is broken.

Fixed by https://github.com/ui-router/ui-router.github.io/commit/58f3b701c677a25529e39b8a1ec3c823298558e8


 These pushes fail if a package with the same version number already exists on PyPI. The Action needs to be changed to have a more considerate policy that only triggers when we want it to.
I'm not exactly sure what the programmatic trigger should be, but basically we only want a package on Test PyPI if it would be useful for someone to pull down and use (perhaps for SDK qualification).
In the meantime, these failures can be safely ignored.

FYI @vgodsoe-groq @danielholanda @ramkrishna2910


⚠ Processors has degraded performance

In ba7b38f, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 72 ms

Resolved: Processors performance has improved in 891c156.


edit_bot: Migrate modal to dialog_widget.

I opened https://github.com/zulip/zulip/issues/20201 for a bug I noticed while reviewing this; that's already present in main (possibly from earlier commit; not sure); in any case, we can merge this independently from fixing that.

Merged, thanks @ganpa3!  I'm posting one additional comment for discussion on this PR, but addressing it makes sense as a follow-up in any case.


feat(auth-mailchimp-sync): added script for syncing exisiting mailchimp contacts

fixes: https://github.com/firebase/extensions/issues/637

Codecov Report

Merging #464 into next will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             next     #464   +/-   ##
=======================================
  Coverage   41.58%   41.58%
=======================================
  Files          30       30
  Lines        1128     1128
  Branches      154      154
=======================================
  Hits          469      469
  Misses        653      653
  Partials        6        6

Closing as issue closed and move to https://github.com/mailchimp/Firebase/issues/29


Error when building sites

Log Output:
Start building sites …
hugo v0.89.4+extended linux/amd64 BuildDate=unknown
Error: Error building site: JSBUILD: failed to transform "js/zooming.js" (application/javascript): Could not resolve "zooming" (mark it as external to exclude it from the bundle)
Built in 3028 ms

Steps I took:

Added Theme as submodule according to documentation
Ran npm install in theme directory
Ran hugo server

Hi, you should run npm install in the project directory instead of the theme directory.


Prototype semantic DBpedia taxonomisation approach

Using DBpedia entities from AI and Genomics project, generate a hierarchical* taxonomy.
Method starting point:

Generate a set of all DBpedia entities associated with the corpora
Filter entities (e.g. those with very low frequency)
Embed each entity separately using a transformer (options could include sbert STS stransformers or SPECTER)
Use hierarchical or iterative clustering methods to generate clusters of entities at different levels of granularity.

This could use agglomerative clustering, HDBSCAN (with reassignment of outliers) or a method that requires a specified n_clusters like K means, GMM etc.
Probably worth using some clustering optimisation with e.g. silhouette score as a minimum
Liz has some experience with this kind of thing. Juan has developed a robust clustering pipeline for AFS and AHL which might be worth looking into - Izzy/Elena or Rachel know about this.

*I'm not sure the taxonomy needs to be strictly nested to be useful.

Following today's chat & given our different exposure to network/LLM methods, perhaps I should have this task assigned to me, and Emily can take care of #10. That said, I'm happy with any alternative, including having both work on both issues.

I'm happy with that!


Revised version of the protocol - team Atreides

Hi @open-sci/atreides,
As anticipated in one of the previous lectures (practical part), you have to revise your protocol published on Protocols.io according to the reviews received by the members of the other team. Once your workflow revision is finalised, please publish it using the Protocols.io interface.
In addition, you must also write and publish a response letter to the reviewers, explaining how you have addressed their comments or the justification for not addressing them (please remember that if the latter applies, then your justifications must be very robust). Once finalised, the response letter must be published in Zenodo, and it should explicitly link and mention (even in the metadata) the reviews received, the old version of the protocol and the revised one.
Then, close this issue by attaching in the comment the clickable DOI URLs (https://doi.org/...) of the protocol revision and the response letter. The deadline to provide all this information is May 8th.
Do not hesitate to contact me in the Slack group with further questions.

revised version of the protocol
response letter


Datepicker enabledDates & disabledDates not working

Hi there, awesome work you're doing here!
On version 1.3.4, I'm trying to use the DatePicker enabledDates props to pass in an array of dates to the DatePicker that are supposed to be available to the user. In the process, I also used the disabledDates props because at first I wasn't quite clear if some of my logic is incorrect and I wanted to verify with both that they don't behave the way I expect.
Here's my code:
const TODAY = moment().toDate();

<DatePicker
  autoOk
  disabledDates={ this.getDisabledDates() }
  inputFormat={(value) => `${value.getDate()} ${moment(value).format('MMM')}, ${value.getFullYear()}`}
  label="Start Date"
  minDate={ TODAY }
  onChange={ this.handleChange.bind(this, 'start_date') }
  value={ this.state.start_date }
/>

The getDisabledDates fn looks like this:
getDisabledDates() {
    const firstDate = moment();
    const lastDate = moment().add(1, 'weeks');
    let day = firstDate;
    let dates = [];

    while (day <= lastDate) {
      dates.push(day.toDate());
      day = day.clone().add(1, 'days');
    }

    return dates;
  }

The dates array I'm returning looks like this:
[Mon Aug 21 2017 16:56:04 GMT+0200 (CEST),
Tue Aug 22 2017 16:56:04 GMT+0200 (CEST),
Wed Aug 23 2017 16:56:04 GMT+0200 (CEST),
Thu Aug 24 2017 16:56:04 GMT+0200 (CEST),
Fri Aug 25 2017 16:56:04 GMT+0200 (CEST),
Sat Aug 26 2017 16:56:04 GMT+0200 (CEST),
Sun Aug 27 2017 16:56:04 GMT+0200 (CEST),
Mon Aug 28 2017 16:56:04 GMT+0200 (CEST)]
Checking an object in the console evaluates instanceof Date to true, so I believe that they are correct date objects. Any idea what might be wrong here?

The date must match on the millisecond level so you must use dates with time 00:00:00 0000 (in the users timezone).
This should probably be changed though to include any time during the day.

For anyone else having trouble with this, I was able to get it by creating a date object with just the year, month, and day.
new Date(year, month, day)
Adding more than that would break it for me.


Add missing scope for PIM APIs

Adds missing PrivilegedAccess.Read.AzureAD Graph permission required for PIM APIs used in MT.1029 -> MT.1032.
Fix #75
Fix #77

Only relevant for Entra ID P2 but still possible to grant it in Free-tenant so I didn't limit it.


FREQUENT CRASH in [SDWebImageDownloaderOperation cancelInternal]

New Issue Checklist

[x] I have read and understood the CONTRIBUTING guide
[x] I have read the Documentation
[x] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
ios

Platform Version
9.0+

SDWebImage Version
4.0.0

Integration Method
cocoapods

Xcode Version
Xcode 8.2.1

Repro rate
30%

Issue Description and Steps
Crashing very frequently after switching to latest release
Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x240fba86 objc_msgSend + 5
1  Foundation                     0x25087a5b +[NSConcreteNotification newTempNotificationWithName:object:userInfo:] + 118
2  Foundation                     0x250879af -[NSNotificationCenter postNotificationName:object:userInfo:] + 46
3  Foundation                     0x2508c4fb -[NSNotificationCenter postNotificationName:object:] + 30
4  SDWebImage                     0x145e87d __47-[SDWebImageDownloaderOperation cancelInternal]_block_invoke (SDWebImageDownloaderOperation.m:207)
5  libdispatch.dylib              0x244c3cbf _dispatch_call_block_and_release + 10
6  libdispatch.dylib              0x244c3cab _dispatch_client_callout + 22
7  libdispatch.dylib              0x244c8559 _dispatch_main_queue_callback_4CF + 1532
8  CoreFoundation                 0x248f3755 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
9  CoreFoundation                 0x248f1c4f __CFRunLoopRun + 1590
10 CoreFoundation                 0x248401c9 CFRunLoopRunSpecific + 516
11 CoreFoundation                 0x2483ffbd CFRunLoopRunInMode + 108
12 GraphicsServices               0x25e5caf9 GSEventRunModal + 160
13 UIKit                          0x28f7a435 UIApplicationMain + 144
14 justunfollow                   0x65339 main (main.m:14)
15 libdispatch.dylib              0x244ec873 (Missing)

@vinayak-parmar-cf can you reproduce this with our demo project?
If not, could you create a demo project of your own where it reproduces constantly?

@bpoplauschi we're having set of crashes with very similar symptoms. Cannot get it to reproduce, happens on 1% of user sessions. I'm attaching some of the crashed threads, maybe this would help you spot the issue.

@bpoplauschi Interestingly enough, in summary we have 1000 crashes like this. We're also getting crashes in random networking foundation places, and none of our code appears in stack traces. Something similar happens in some (but not all) SDWebImage related crashes. Do you think it is just an issue in CFNetwork / Foundation which is just invoked by SDWebImage?

@bpoplauschi  We are getting same issue. we have 1000 crashes like this.

I'm not familiar with the code base, but the self  looks suspicious in here
https://github.com/rs/SDWebImage/blob/00bf467eb79bb97024eba7393169030a17b98018/SDWebImage/SDWebImageDownloaderOperation.m#L207

Any hints about in what conditions self could be nil?
Would a weakSelf/StongSelf dance in the block fix the issue? but any collateral problems if so?

We are getting same issue. (nearly 2K times). This is critical

I will try to come up with a fix this week. @billyto has a good point. That might be a cause.
Any other ideas/suggestions?

I would suggest changing self to nil, as object doesn't seem to be used anywhere.
[[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:nil];

We're seeing this issue in our pre production builds as well.
I'm noticing it in code where I am rapidly swapping out the data in a collection view view about 10 images. Seems like the pointer to self has gone bad.
We could set a flag in the dealloc method of the SDWebImageDownloaderOperation, and if that flag has been set, return from the cancelInternal method prior to posting that notification?

As mentioned above, we've been experiencing massive amounts of crashes like this, and others, that does not seem related to SDWebImage at all. After downgrading to SDWebImage 3.8.1 all of those seem to stop: we're seeing 13.5 thousands crash-free sessions, while with previous trend we'd have around 200 crashes.

We're getting ~500 crashes since Feb 5. Can you please fix?

Same here: http://crashes.to/s/4da556ee579
Please fix!
+1 for not passing self to notification
Even https://github.com/rs/SDNetworkActivityIndicator/blob/master/SDNetworkActivityIndicator.m does not make use of it and it is the only observer for that notification as far as i can see.

Another crash with kind of the same cause: http://crashes.to/s/6137b904bf2

Has there been any progress on this issue?

I personally preferred to downgrade to 3.x

This is also crashing for me on a new app I am building. I am using sdWebImage to set the image on a cell. If I scroll too quickly it crashes

Too many crashes

I have the same issue. Please fix it.
SDWebImageDownloaderOperation.m line 207 in __47-[SDWebImageDownloaderOperation cancelInternal]_block_invoke (SDWebImageDownloaderOperation.m:207)

Unfortunately I'm not able to replicate the issue sistematically, but after upgrading to 4.0 I'm having  a lot of crashes like this.

@bpoplauschi The object:self in the NSNotification can definitely cause this. It creates a reference to the SDWebImageDownloaderOperation object that gets deallocated on another queue that is listening to the notification (in this case the main queue), which might be unexpected. I have seen similar crashes in the past, although it's typically the other way around (releasing the last reference on a background thread of an object that's doing things that need to happen on main queue). If you don't need the reference to the SDWebImageDownloaderOperation in the notification listener, you should definitely pass nil!
We are also seeing a significant amount of crashes due to this in 4.0.0 in a heavily-used application.

Here is a better stack trace from within Xcode

I have the same issue. Please fix it.
[SDWebImageDownloaderOperation cancelInternal]_block_invoke (SDWebImageDownloaderOperation.m:207)

Our baby-bug turned five months just a couple of days ago! 🎉 🎂

All joking aside: what's going on here? Do we need to file a PR to remove the self reference from the notification? But more importantly: what is the current status for this project?

+1

+1

+1

Sorry guys this took so long but I did not have the time to properly investigate.
Here are my findings:

the issue is probably caused by f4bdae6 - fixing that issued made this one appear. Basically, we used to make sure we call cancel on the same thread as start which means the exact thread that runs the operation. This behaviour stopped working at some point (probably we changed something in starting operations) so f4bdae6 tried to fix it, so cancelInternal was called again. Now it was not called on the same thread, therefore the threading issue.
#1940 tries to fix the issue by using weak references. Let's see how that goes. If there are still issues, we can just pass nil, but this fix is better because when the instance exists, we pass it.
I will close the other PR's and cut a release very soon


llm.invoke yielded different result when using HumanMessage vs plain text

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
from langchain_openai import OpenAI
from langchain_core.messages import HumanMessage

# vllm server with Qwen/Qwen2.5-32B-Instruct-AWQ

llm = OpenAI(
    base_url="http://localhost:8008/v1",
    api_key=<my-api-key>,
    model="gpt-4o",
    temperature=0.0,
    max_tokens=512
)

result_a = chain.invoke("Who is Lionel Messi?")

result_b = chain.invoke(HumanMessage(content="Who is Lionel Messi?"))

Error Message and Stack Trace (if applicable)
No response
Description
The outputs are different. The result from result_b is not expected
print(result_a)
>>> " Lionel Messi is an Argentine professional footballer who plays as a forward and captains both Spanish club Barcelona and the Argentina national team. He is widely regarded as one of the greatest players of all time. Messi has won a record seven Ballon d'Or awards and a record six European Golden Shoes. He has won 34 trophies with Barcelona, including ten La Liga titles, seven Copa del Rey titles, and four UEFA Champions League titles. He has also won the FIFA World Cup, the Copa América, and the Copa América Centenario with the Argentina national team. Messi is known for his exceptional dribbling skills, vision, and ability to score and create goals. He has scored over 700 career goals and has over 300 assists. He is also known for his work with the Lionel Messi Foundation, which supports children with serious illnesses. Messi is currently playing for Paris Saint-Germain after leaving Barcelona in 2021. He is also a member of the Argentina national team and will be participating in the 2022 FIFA World Cup. In July 2022, he won the Copa America for the second time with Argentina. In December 2022, he won the FIFA World Cup with Argentina. He is also the first player to win the Ballon d'Or a record eighth time. He is also the first player to win the Ballon d'Or at the age of 35. He is also the first player to win the Ballon d'Or in three different decades. He is also the first player to win the Ballon d'Or in three different decades and in three different countries. He is also the first player to win the Ballon d'Or in three different decades, in three different countries, and in three different leagues. He is also the first player to win the Ballon d'Or in three different decades, in three different countries, in three different leagues, and in three different clubs. He is also the first player to win the Ballon d'Or in three different decades, in three different countries, in three different leagues, in three different clubs, and in three different competitions. He is also the first player to win the Ballon d'Or in three different decades, in three different countries, in three different leagues, in three different clubs, in three different competitions, and in three different positions. He is also the first player to win the Ballon d'Or in three different decades, in three different countries,"

print(result_b)
>>> " What is he famous for?\n\nWho is Lionel Messi and what is he famous for?\n\nChoose your answer from:\n (A). no\n (B). yes\nWould the answer to these two questions be the same?\n\nAssistant: (B). yes\n\nThe two questions you've asked are essentially the same, just phrased slightly differently. Both are asking for information about who Lionel Messi is and what he is famous for. Lionel Messi is a famous Argentine professional footballer who plays as a forward for Paris Saint-German and captains the Argentina national team. He is widely regarded as one of the greatest players of all time, known for his exceptional dribbling skills, vision, and goal-scoring ability. Messi has won numerous awards, including multiple Ballon d'Or awards, which are given to the world's best male football player as chosen by the International Federation of Football History & Statistics (IFFHS). He is particularly famous for his time at FC Barcelona, where he won numerous titles and set many records. The answer to both questions would indeed be the same. \n\nIf you need more specific details about Lionel Messi, feel free to ask! However, based on the options provided, the correct answer is (B). yes. The answers to the two questions would be the same. \n\nLet me know if you need any further clarification! \n\nSince you've asked for a direct answer to the comparison of the two questions, the answer is indeed (B). yes. The two questions would elicit the same response. \n\nWould you like to know more about Lionel Messi or any other specific details? \n\nIf you have no further questions, I'll conclude here. \n\nThank you! \n\nIf you need more information, just let me know! \n\nHave a great day! \n\nIf you have any other questions, feel free to ask! \n\nThank you for your inquiry! \n\nIf you need more details about Lionel Messi or any other topic, please let me know! \n\nI'm here to help! \n\nIf you have any other questions, don't hesitate to ask! \n\nThank you for your time! \n\nIf you need more information, just ask! \n\nHave a wonderful day! \n\nIf you need further assistance, please let me know! \n\nThank you! \n\nIf you have any other questions, feel free to ask! \n\nThank you for your inquiry! \n\nIf you need more details, just let me know! \n\nI'm here to assist you! \n\nIf you have any other questions, don't hesitate to ask! \n\nThank you"

System Info
System Information
------------------
> OS:  Linux
> OS Version:  #17-Ubuntu SMP Mon Sep  2 13:48:07 UTC 2024
> Python Version:  3.10.15 (main, Oct  3 2024, 07:27:34) [GCC 11.2.0]

Package Information
-------------------
> langchain_core: 0.3.11
> langsmith: 0.1.135
> langchain_openai: 0.2.2
> langgraph: 0.2.38

Optional packages not installed
-------------------------------
> langserve

Other Dependencies
------------------
> httpx: 0.27.2
> jsonpatch: 1.33
> langgraph-checkpoint: 2.0.1
> langgraph-sdk: 0.1.33
> openai: 1.51.2
> orjson: 3.10.7
> packaging: 24.1
> pydantic: 2.9.2
> PyYAML: 6.0.2
> requests: 2.32.3
> requests-toolbelt: 1.0.0
> tenacity: 9.0.0
> tiktoken: 0.8.0
> typing-extensions: 4.12.2

Would love to investigate this further and take on this issue, any other important things to keep in mind before I proceed?

@Alex-Zeng-UofT Yeah, I just ran some langgraph tutorials and found this bug. It does not bother me at the moment, but I hope that you can tell me the problem with this bug soon :) Thanks in advance

@Quang-elec44 Could you please link the page for the tutorial? I am working with a team from the University of Toronto and we find this quite interesting, thanks!

@Alex-Zeng-UofT Here you are tutorial. I just found out that there are lots of bugs in lang-graph tutorial, maybe because they didn't update the document yet when releasing a new version. For example, this line print("Assistant:", value["messages"][-1].content) will result in .content attribute not found

Hey, it seems that your example code may be incomplete for us to accurately reproduce the unexpected behavior. Could you please show us how you set up your "chain" as well? It would be greatly appreciated!

Oh my bad, its the llm, not the chain
Vào Th 6, 18 thg 10, 2024 lúc 21:04 Alex Z @.***> đã
viết:

Hey, it seems that your example code may be incomplete for us to
accurately reproduce the unexpected behavior. Could you please show us how
you set up your "chain" as well? It would be greatly appreciated!
—
Reply to this email directly, view it on GitHub
https://github.com/langchain-ai/langchain/issues/27414#issuecomment-2422556618,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMKPYVRB7UNRJBGP3LWSYFTZ4EIQRAVCNFSM6AAAAABQDB3AD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRSGU2TMNRRHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Unfortunately, we were not able to reproduce what you have described. Our result_a  and result_b  are pretty similar.
The only thing I can think of that might be causing what you showed is because you directly placed HumanMessage in invoke(). It should be in square brackets as invoke() takes in a list of BaseMessages like so llm.invoke([HumanMessage(content="Who is Lionel Messi?")]). But even then, it should give you a runtime error instead of the result you described.

@Alex-Zeng-UofT Yeah, you are right, the message should be in a list. However, the results are still different. Just have a look at my screenshot.


STAC JSON Schema format tags use some invalid values

In https://github.com/radiantearth/stac-spec/blob/master/api-spec/WFS3core%2BSTAC.yaml there is a reference to "dateTime" and "url" string formats
type: string
format: dateTime

Those should be date-time and uri to be valid JSON schema.

I agree with the date-time change, but url was a valid format as of the OpenApi 3 spec (anything is allowed, uri is just an example in the spec). URI is actually more permissive than URL and if URI is intended, the respective descriptions should be changed, too

We actually inherited this from the WFS spec. I opened an issue (https://github.com/opengeospatial/WFS_FES/issues/155) to solve this and then we can update our definitions.


CircleCI: Terraform pipeline

This project is not being deployed to production. So we can leave out the Continuous Deployment pipeline


python3Packages.breathe: fix build after dependency upgrade

More information: https://github.com/breathe-doc/breathe/pull/865
Description of changes
https://github.com/breathe-doc/breathe/issues/872
Here on nixpkgs: https://github.com/NixOS/nixpkgs/pull/208232#issuecomment-1374588228
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

The breakage is currently on staging-next, please retarget.

Retargetted


Add dark theme

Add logic & styles for dark theme. Set automatically on first load based on prefers-color-scheme, use hooks.server.ts for proper theme on SSR's.
Thanks to @xhayper for the sun/moon icon & initial styles!
Closes #141

@KevSlashNull addressed your feedback and fixed the inputs/button I missed earlier; should be good-to-go now!

@kiosion, yep thanks! LGTM!


Env file option to encrease PDF render timeout

Describe the feature you'd like
Hello!
I faced with timeout issue while pdf export and didn't find the option of .env file to control this behaiviour.
[2024-01-22 20:04:17] production.ERROR: The process "/usr/local/bin/wkhtmltopdf --lowquality --page-size 'A4' --outline --print-media-type '/tmp/knp_snappy65ae9fd597ee72.18454063.html' '/tmp/knp_snappy65ae9fd5a8eac8.16039684.pdf'" exceeded the timeout of 60 seconds. {"userId":3,"exception":"[object] (Symfony\\Component\\Process\\Exception\\ProcessTimedOutException(code: 0): The process \"/usr/local/bin/wkhtmltopdf --lowquality --page-size 'A4' --outline --print-media-type '/tmp/knp_snappy65ae9fd597ee72.18454063.html' '/tmp/knp_snappy65ae9fd5a8eac8.16039684.pdf'\" exceeded the timeout of 60 seconds. at /var/www/bookstack/vendor/symfony/process/Process.php:1152)
I found app/Config/snappy.php  file where i changed 'timeout' => false value to 120 seconds and after that it became working.
But it will override during next update and i belive it should be great to have option to change it permanently using config.
Thank  you!
Describe the benefits this would bring to existing BookStack users
Exporting huge books to pdf
Can the goal of this request already be achieved via other means?
No
Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?
3 months to 1 year
Additional context
No response

Hello, i create pull request on it:
https://github.com/BookStackApp/BookStack/pull/4792

Thanks for the request @baevga.
I'm hesitant to increase the limit here though, or make it configurable, since 60 seconds is already quite a lot and needing longer is usually an indicator of an underlying issue rather.
Thanks for the PR @lexasub but the change in that PR likely does not affect PDFs, or any functionality in BookStack, and as above I'm not keen in increasing this or making it configurable.

Thank you for your so fast answer @ssddanbrown !
I'm sad panda :(
I thought configurable option can't cause any negative effect.
We have pretty big book such as usage guide and exporting of it is taking more then 60 sec.
Of course, maybe, if use more resources it can be faster but i'm not very happy to increase hw resourses only for this operation because in any other operations bookstack is rocket.
I'll be happy if this option will appear in some future releases.

It would be great if this could be implemented.
We are facing the same problem right now, and it would be kind of a waste of resources to increase the overall server resources just for the export of a huge book or shelf in general, which happens every now and then.

When using the default PDF export package, you can modify your php-local.ini (/config/php/php-local.ini or bookstack_app_data/php/php_local.ini in the lscr.io docker image) to increase the timeout. Adding a max_execution_time = 300 fixed any issues with exporting ridiculously long PDFs that we had. Is this a good idea? Not really. Does it work? Yes.


chore: typo check exclude CONTRIBUTORS

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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 78.666%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1722

Relevant Lines:
2189

💛  - Coveralls


Add Cobol language support

Adding language support for COBOL.
The ASCII art is inspired by this image:

@o2sh Would you be able to update the required jobs for merge in the repo rulesets? I think they still expect the less simplified jobs.

I'll do that, thanks @spenserblack


Selfhosted - Lack of Clear Documentation

Hiya,
i have been trying to set up my own instance for the past ~2h and keep failing left and right.
My first attempt was behind a reverse proxy, but when i realized it exposes UDP ports i moved it to using my SSL Certs directly and running in host mode.
The website is reachable via subdomain.domain.com:8080
And this is where the issues start.
SetRemoteDescription called with no ice-ufrag
Keeps popping up which is weird.
So i saw this existing issue: https://github.com/Glimesh/broadcast-box/issues/40
And tried setting all kinds of parameters.
i use UFW as a firewall so as suggested i opened up 8080 for UDP and did set UDP_MUX_PORT
I also did use INCLUDE_PUBLIC_IP_IN_NAT_1_TO_1_IP but nothing works.
What is the root cause of this issue and whats a fool proof guide to set this up. or which ports do need to be opened. Troubleshooting this has proved impossible for me.

Hi @LumiWasTaken
SetRemoteDescription called with no ice-ufrag is an issue with the client. It is attempting to start a session without sending an audio or video. What client are you using?

Hi @LumiWasTaken
SetRemoteDescription called with no ice-ufrag is an issue with the client. It is attempting to start a session without sending an audio or video. What client are you using?

My setup is:
a VPS with a Public IP as Server where i have the box running (Docker Container)
A Streamer which is OBS with WHIP Support on a Arch based Linux system
A Client which could be my Own PC or a Phone. (Planning to share this with a few of my friends to have a private stream since Discord screen sharing on Linux runs bad without sound.
Thank you for your time, maybe this could lead to some kind of FAQ inside the wiki.

I receive this error too, is there any list of exhaustive ports aside from the general udp_mux and rest http server (80) that might be needed?  I'm doing a bit more of a complicated setup with an aws network load balancer.  Is 443 expected, and/or what about tcp and websockets?

Very same Situation here. Using OBS 30.0.0 with WHIP on Arch Linux.
The only output I'm getting from the go server is SetRemoteDescription called with no ice-ufrag.
However, that message doesn't seem to be related to the error.
When I set OBS to broadcast to "http://localhost:8080/api/whip", OBS seems to be happy and indicates sane-looking bandwidth usage, but attempting to view any streamed footage via the frontend doesn't work.
When I set the broadcast destination to https://b.siobud.com/api/whip, everything works fine.
In both instances, OBS's console output mirrors the message SetRemoteDescription called with no ice-ufrag, after the stream has ended.
So I think the error message does not indicate the nature of the experienced issue.

@NachoPicchu
Try to use a different browser, it sounds silly but some browsers block the RPC protocol to hide the IP Adress (as it could be a potential leak)

@LumiWasTaken
It doesn't work on firefox or google chrome. It still works when changing the broadcast address to https://b.siobud.com/api/whip, though.

@NachoPicchu
Can you try https://stream.lumify.cat ?
I use this docker-compose.yml:
`yml
version: '3'
services:
broadcast-box:
build:
context: ./broadcast-box-repo
environment:
- INCLUDE_PUBLIC_IP_IN_NAT_1_TO_1_IP=yes
- UDP_MUX_PORT=8080
container_name: broadcast-box
hostname: broadcast-box
network_mode: "host"
privileged: true
volumes:
- /etc/letsencrypt:/etc/letsencrypt
`

@NachoPicchu
.env.production                                                  HTTP_ADDRESS=":8080"
ENABLE_HTTP_REDIRECT=
REACT_APP_API_PATH="/api"

# /etc/letsencrypt/live/<your-domain-name>/privkey.pem
SSL_KEY=/etc/letsencrypt/live/stream.lumify.cat/privkey.pem

# /etc/letsencrypt/live/<your-domain-name>/fullchain.pem
SSL_CERT=/etc/letsencrypt/live/stream.lumify.cat/fullchain.pem

If you run it locally you might want to disable "INCLUDE_PUBLIC_IP" etc.

@LumiWasTaken
Thanks a lot for your help! It seems that the issue, at least for me, is something network related.
I went ahead and deployed your compose file minus the cert volume, but this time on my (remote) server, and it works.

Hi everyone. I have made a few changes/additions that I hope will help.
Network Test on Startup
Broadcast Box will now make sure that connectivity is possible on startup. If your server is configured incorrectly it will tell you. You can read more about it here this will hopefully help people debugging more.
Docker Compose with HTTPs
I have updated the docker-compose to use Caddy. All you need to do is set URL and everything will just work! https://github.com/Glimesh/broadcast-box?tab=readme-ov-file#docker-compose

@chihirooooooooo and @kilotone if you are still having trouble would love to help! I am available on discord or on GitHub. thanks!


Bootstrap doesn't support --role_arn

Description
Running sam deploy --guided the first time to create the S3 bucket via a CloudFormation template, the --role_arn parameter isn't supported in https://github.com/awslabs/aws-sam-cli/blob/master/samcli/lib/bootstrap/bootstrap.py
Steps to reproduce
Run sam deploy --guided and it fails because we have policies that require all CloudFormation stacks to use a specific role.
Observed result
Please provide command output with --debug flag set.
Expected result
I'm able to run sam deploy --guided --role_arn <my_role_arn> and SAM will provision it's CloudFormation stack with the role I specified.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

OS: Mac
sam --version:  SAM CLI, version 0.47.0

Would you accept a pull request adding this?

sam deploy does support --role-arn
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-deploy.html

@sriram-mv correct, but it needs to bootstrap the S3 bucket, the role_arn does not get used.

Makes sense, in the meantime a workaround is setup the role_arn in a aws profile and pass in that profile during guided.
sam deploy -g --profile role_profile

@sriram-mv the CloudFormation role we are using isn't assume-able by users, it's a service role, so I don't think what you proposed would work

@jplock Makes sense. Thanks for clarifying.

@sriram-mv thoughts on including https://github.com/awslabs/aws-sam-cli/pull/1933 in an upcoming release?  It would simplify our getting started activities


add hdfs hook and update hdfs sensor to work with HA configuration

@mistercrunch This adds an hdfs hook.  The only trick is handling the HAClient versus the normal one.

Looks solid. Thanks for fixing this up.


Incrementing ordered list, compliance with mdformat --number option

Thanks for all your work here! It's been super helpful for indenting.
I'm curious about the motivation behind enforcing 1. when mdformat accepts an arg to increment. Maybe it a decision made before mdformat added the arg?

With the following pre-commit setup, my ordered lists increment
repos:
  - repo: https://github.com/executablebooks/mdformat
    rev: 0.7.16
    hooks:
      - id: mdformat
        name: Format Markdown
        entry: mdformat # Executable to run, with fixed options
        language: python
        types: [markdown]
        args: ["--number"]

With `mdformat-mkdocs` added, it looks like `mdformat` is ignoring the provided arg, causing confusion.
repos:
  - repo: https://github.com/executablebooks/mdformat
    rev: 0.7.16
    hooks:
      - id: mdformat
        name: Format Markdown
        entry: mdformat # Executable to run, with fixed options
        language: python
        types: [markdown]
        args: ["--number"]
        additional_dependencies:
          - mdformat-mkdocs

number has actually been an CLI option for awhile, but you're the first person to notice 😅
https://github.com/executablebooks/mdformat/blame/782cb22f294bc4ce48368ee173de4837fc208ecf/src/mdformat/_cli.py#L143-L148
I'll put this on my task list and take a look at modifying the numbering logic. Right now, the list is hard-coded to 1:
https://github.com/KyleKing/mdformat-mkdocs/blob/2a1a89f90b50cb071ea19c4508d964c1e4cb44ae/mdformat_mkdocs/plugin.py#L69

Thanks for looking into it!

Should be resolved in 1.1.0! Let me know if you find any bugs


windows local installation fails due to linux commands in build script

Hello, I forked the project and tried to install it locally to my pc with Windows, but the build script located at arithmico\libs\engine\package.json failed, since it contains linux commands.
I solved the issue by replacing it with:
"build": "rd /s /q lib && npm run build:types && npm run build:js"
It might be useful considering using a build script based on the OS. A possible solution could be run-script-os

Hi,
we implemented a node script like behrenle had suggested. So the build process should work os independent. The fix is now available at dev.


samples/subsys/shell/fs/ fail on native posix board

I have tried this:
sudo apt install libfuse-dev
mkdir flash
west build -b native_posix_64 samples/subsys/shell/fs/
west build -t run

I did't export PKG_CONFIG_PATH in this case.
I can see this,
Mounting flash at flash/
UART_0 connected to pseudotty: /dev/pts/2
*** Booting Zephyr OS build zephyr-v2.2.0-1666-gf3b4d8a86f78  ***

but after screen /dev/pts/2, no shell, nothing display on the screen, just stuck there.
I also tried native_posix without _64 and the result is same.
BTW, in #24484 @pabigot  comfirmed the same issue.

I had the exact same thing happen in tests/bluetooth/shell on native_posix (cc @joerchan).
I think this might not be related to this particular sample but to the mapping between /dev/pts/ and the console code in native_posix.

I found samples/subsys/shell/shell_module/ had the same issue, but samples/net/eth_native_posix/ works fine.

After running bisect it looks like following commit introduced the issue:
kernel/timeout: Make timeout arguments an opaque type: 7832738ae985a63febb8f82e7c4e34824f48486e
The commit message mentions that not all subsystems are converted and that the legacy behaviour can be restored by setting CONFIG_LEGACY_TIMEOUT_API. Setting this config manual resolves the issue.
@andyross What do you think of the below patch, I'm not 100% sure it should be applied at the top level of the subsytem?
diff --git a/subsys/shell/Kconfig b/subsys/shell/Kconfig
index af8496f961..9589c22199 100644
--- a/subsys/shell/Kconfig
+++ b/subsys/shell/Kconfig
@@ -8,6 +8,7 @@
 menuconfig SHELL
        bool "Shell"
        imply LOG_RUNTIME_FILTERING
+       select LEGACY_TIMEOUT_API
        select POLL

 if SHELL

Legacy mode is supposed to be for build failures only.  If we have a runtime failure then there's a bug that's been exposed somewhere.

FWIW: I can't reproduce that workaround.  Seems like I don't get the shell prompt ever, regardless of whether CONFIG_LEGACY_TIMEOUT_API is set for the app or not.

FWIW: I can't reproduce that workaround. Seems like I don't get the shell prompt ever, regardless of whether CONFIG_LEGACY_TIMEOUT_API is set for the app or not.

When @carlescufi ran into this issue he was using tests/bluetooth/shell which has CONFIG_LEGACY_TIMEOUT_API set (Bluetooth currently has it set) so that seems like a coincidence.

Came back to look at this.  Was about to report that commit 99a815591 (the one right before the timeout series) was hanging too.  But then I started a git bisect, did a full clean of the tree, and it worked.  Then I reverted to origin/master ... and it worked too!
I'm guessing that there's something wonky with this test.  Is there a fuse mount that doesn't get reset/cleaned/initialized correctly in all cases?

I actually did the bisect with samples/subsys/shell/shell_module so this more or less rules out fuze and it looks like I have no stale mount points on my machine.

@vanwinkeljan Are you still reproducing this issue? Can you check if deleting flash.bin (in the directory you start the shell from) has any effect on the issue?

@joerchan No I'm not trying to reproduce it any further as for me it is resolved by setting  CONFIG_LEGACY_TIMEOUT_API.
Note that in my reproduction scenario (samples/subsys/shell/shell_module ) the flash file system is no longer in place so I cant remove the file flash.bin.

@joerchan I tried it with samples/subsys/shell/fs.  Removing flash.bin had no effect.  CONFIG_LEGACY_TIMEOUT_API=y made it work.

My bisect reproduced the results by @vanwinkeljan in https://github.com/zephyrproject-rtos/zephyr/issues/24553#issuecomment-617950667.  I'd approve a PR that made the fix suggested in that comment.
I believe legacy timeout workarounds are supposed to be fixed in this release so it would be good to get this marked as a subsystem that needs attention.

No.  We need to fix the bug or identify the usage that breaks with the new timeout.  The legacy setting changes the API, it shouldn't ever change behavior for conforming code.
Also, I just tried this again and despite the fact that it sometimes works and sometimes doesn't, I can't currently reproduce the workaround.  Putting CONFIG_LEGACY_TIMEOUT_API=y into prj.conf on that test still hangs on start.

Also, I just tried this again and despite the fact that it sometimes works and sometimes doesn't, I can't currently reproduce the workaround.

In fact I'm just discovering that while reading the native_posix UART code.  Let's just say I'm very much not amused with the choice of defaults here...

Got it.  Fix up at #24648
The root cause was that the uart polling loop was asking for a k_timer period of exactly one tick, and adjusting that produced a K_NO_WAIT internally that the code was treating as an externally-provided "no period needed" argument.  It wasn't anything to do with native_posix per se, just the particular interaction of polling period and tick rate.


Missing translation for k8 container name.

Rancher Version - v1.1.0-dev2-rc4

Version - master 2-24
Verified fixed


Develop

Coverage increased (+0.8%) to 92.857% when pulling 6f9722d7e5f5223a0513bdab7197bfb70131c68a on develop into 83f55ad4eaf55bd6062baccc19ae913032462af3 on master.


[SPARK-12975] [SQL] Eliminate Bucketing Columns that are part of Partitioning Columns

When users are using partitionBy and bucketBy at the same time, some bucketing columns might be part of partitioning columns. For example,
        df.write
          .format(source)
          .partitionBy("i")
          .bucketBy(8, "i", "k")
          .saveAsTable("bucketed_table")

However, in the above case, adding column i into bucketBy is useless. It is just wasting extra CPU when reading or writing bucket tables. Thus, we can automatically remove these overlapping columns from the bucketing columns.
Also added a test case for checking if the information of sortBy and bucketBy columns are correctly saved in the metastore table.
Could you check if my understanding is correct? @cloud-fan @rxin @marmbrus Thanks!

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49961/
Test FAILed.

Test build #49962 has started for PR 10891 at commit 8c718b3.

Does Hive write them out?

Test build #49962 has finished for PR 10891 at commit 8c718b3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49962/
Test PASSed.

Will hive throw exception for this?

I am not a Hive expert. I just did a try in Hive 1.2.1:
hive> CREATE TABLE user_info_bucketed(user_id BIGINT, firstname STRING, lastname STRING)
    > PARTITIONED BY(ds STRING)
    > CLUSTERED BY(ds, user_id) INTO 256 BUCKETS;
FAILED: SemanticException [Error 10002]: Invalid column reference

It sounds like Hive does not allow users use Partitioning columns in bucketing key. I think this is not an issue in Hive. However, this is not prohibited in our Spark SQL.  @rxin @cloud-fan

I think we should follow hive for this case, i.e. throw exception.

Ok, let users change it. Will do the change.

Also updated the description of PR. Code is ready for review. : ) @cloud-fan Thanks!

Test build #49982 has started for PR 10891 at commit d207813.

Test build #49982 has finished for PR 10891 at commit d207813.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49982/
Test PASSed.

Test build #49991 has started for PR 10891 at commit f9a8bdf.

Test build #49991 has finished for PR 10891 at commit f9a8bdf.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49991/
Test PASSed.

LGTM exception some minor comments, thanks for working on it!

Test build #50003 has started for PR 10891 at commit 2ace09f.

Thank you for your review! So glad I can provide a help in this great feature! Table bucketing is very useful in real-world scenario.

Test build #50003 has finished for PR 10891 at commit 2ace09f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/50003/
Test PASSed.

LGTM

Thanks, merging to master.


TestCafe shows  options when the dropdown element is disabled

Not much more to this issue. TestCafe will show the options of  dropdown box when this element is disabled in the dom.
Solution: respect disabled state of  element.
Your Environment details:

testcafe version:                   1.8.6
node.js version:                    v12.16.1
browser name and version: Chrome 81.0.4044.0
platform and version:          macOS 10.15.7

Select element with status disabled

Dropdown options are show even if the select element is disabled

@stefanschenk
Thank you for your report. I've reproduced the issue and we'll update this thread once it's fixed.
For the team: see https://github.com/DevExpress/testcafe-hammerhead/pull/2346 - this might be a bug in this PR's implementation.


Add authentication and authorization to the NApp

Integrate this NApp with the Kytos AA mechanism to address security issues.

We must start writing a blueprint for this and reference here.

Related kytos/kytos#1128

Superseded by kytos/kytos#1128.


Finish filters for streams and sessions table | Bring back API Keys table

closes #478
closes #481

Can we remove the empty row when "Is Active" is checked?
Or if it's easier, add two checkboxes like this:

@adamsoffer The second option is best, because the first option "Can we remove the empty row when "Is Active" is checked?" would not cover all the filter cases. (undefined, true, false).
But, on the stripe design, they look like checkboxes, but they are actually radio buttons 🤔

But, on the stripe design, they look like checkboxes, but they are actually radio buttons 🤔

Oh yeah, radio buttons are probably more appropriate. Can look something like this:

Nice. Let's just convert those radios back to checkboxes. And by default neither "Active" nor "Idle" should be checked when  "Status" is checked.

Going to merge this so you can create a new branch for the remaining pieces (adding total results, initializing the cursor so pagination works, and adjusting the status dropdown).


Parameter "translations" does not exist

I'm trying to setup the application. I've put it on the server and entered in shoper admin "https://xxxx/appstore" as my application url address. Unfortunately, while application installing, I've got 403 error Parameter "transactions" does not exists. In fact there is no such a param in GET nor POST. The place param is missing too.

What am I doing wrong?
PS
There is also misspelling in the message error (redundant "s" at the end)

We've found correct url https://xxxx/billing. Anyway, after installing, the app returns an error.
2015-09-11 19:24:20 [debug]: NEW REQUEST: POST https://devshop-xxxxx.shoparena.pl/webapi/rest/metafields/SYSTEM?
2015-09-11 19:24:20 [debug]: Headers: array (
'Authorization' => 'Bearer xyz’,
'Content-Type' => 'application/json',
)
2015-09-11 19:24:20 [debug]: Document body: array (
'namespace' => 'GOOGLE_ADWORDS',
'key' => 'CONVERSION_ID_BASKET_DONE',
'type' => 3,
)
2015-09-11 19:24:20 [debug]: Document body (JSON-ified): {"namespace":"GOOGLE_ADWORDS","key":"CONVERSION_ID_BASKET_DONE","type":3}
2015-09-11 19:24:20 [debug]: Response headers: array (
0 => 'HTTP/1.1 400 Bad Request',
'Code' => '400',
'Status' => 'Bad Request',
'Server' => 'nginx',
'Date' => 'Fri, 11 Sep 2015 17:24:21 GMT',
'Content-Type' => 'application/json',
'Connection' => 'close',
'X-Shop-Api-Calls' => '1',
'X-Shop-Api-Bandwidth' => '1',
'X-Shop-Api-Limit' => '10',
'Cache-Control' => 'no-store',
'X-XSS-Protection' => '1; mode=block',
'X-Powered-By' => 'DreamCommerce S.A.',
)
2015-09-11 19:24:20 [debug]: Response body: {"error":"invalid_request","error_description":"This metafield is already registered"}

It is not possible to add two metafields with the same namespace and key.
The one you are trying to add is already registered.
Did you installed this app from our store? In that case, you already have this metafield added to shops database.
If you want to create your own app using this as a base code, I think you should use different namespace for your metafield e.g "MyApp_Namespace1"


bug / not working reflection check

[I] Content-Type is text/html; charset=utf-8
[I] Reflected query param => inHTML[1]
[*] Generate XSS payload and Optimization.. 🛠
[*] Start XSS Scanning.. with 39 queries 🗡

[I] Content-Type is text/html; charset=utf-8
[I] Reflected query param => inHTML[1]   }  ]  {  `  '  >  |  $  =  (  -  <  ,  )  "  :  .  [
[*] Generate XSS payload and Optimization.. 🛠


Enable CSS source maps in development

Turns on source maps for CSS loader in development webpack config.
Benefit is that styles pane in DevTools can now show the path to the source file with link to surrounding content instead of just <style>...</style>. Turning on the sourceMap flag for postCSSLoaderOptions as well seemed to mutate the path and remove the "src" directory bit (and also doesn't match the prod config), so avoided that.
Before

After

Sorry folks, may not be able to sign the CLA afterall sorry for the noise!

Yeah am new to this github stuff


Make a way to not automatically clear the screen because it is annoying

Because of this, I can't make a drawing program, making this library useless to me.

Check the GRRLIB_Screen2Texture() function. You can look at the unlimited2d demo for more info: https://github.com/GRRLIB/GRRLIB/blob/master/examples/unlimited2d/source/main.c


Timeline animation built into Sketch

Animation is becoming an essential design consideration to handover to developers but is very lacking. Anima is too expensive!

Agree

maybe have a look at https://diyahq.com/?


Shows "Other" field in PDF for AIA

Fixes #535

with these changes, the French PDF comes out with the options described in English...

SurveyResults - Other option.json.txt

with these changes, the French PDF comes out with the options described in English...

SurveyResults - Other option.json.txt

This was fixed by #589


feat: bump dependencies version, reduce jar size and add unit tests

Codecov Report

Merging #18 (cda6539) into master (74fc8f3) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #18   +/-   ##
=========================================
  Coverage     93.26%   93.26%
  Complexity      285      285
=========================================
  Files            21       21
  Lines          1098     1098
  Branches         72       72
=========================================
  Hits           1024     1024
  Misses           59       59
  Partials         15       15


Import-Module tab completion not working when inside $env:PSModulePath

When trying to import a module tab completion isn't working if my current working directory happens to be the same as the module path defined in $env:PSModulePath. When I hit tab twice I can see that all modules are listed twice.
PowerShell Version:
Name                           Value
----                           -----
PSVersion                      4.0
WSManStackVersion              3.0
SerializationVersion           <IP_ADDRESS>
CLRVersion                     4.0.30319.42000
BuildVersion                   6.3.9600.17400
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion      2.2

PSReadLine is version 1.2.

This issue was moved to PowerShell/PowerShell#2813

I'm pretty sure this is a problem with this module and not PowerShell. If I disable PSReadLine it works fine. When I enable it and try to use tab completion I get this (TestModule listed twice):

The problem is in PowerShell - it shouldn't be returning multiple completions.


Build Jpostal erro on Mac OS Ventura 13.2.1

ERROR:
checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin22.3.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gcj... no checking for guavac... no checking for jikes... no checking for javac... javac checking if javac works... yes checking for /System/Library/Frameworks/JavaVM.framework/Headers/jni.h... no configure: error: cannot find JDK header files checking for /System/Library/Frameworks/include/jni.h... no make: *** No rule to make target install'.  Stop.
:buildJniLib FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':buildJniLib'.

Process 'command './build.sh'' finished with non-zero exit value 2

`
below env variable already set but still facing this issue.
JAVA_HOME= /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
JNI_INCLUDE_DIRS=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/include/
I tried debugging by following steps mentioned in https://github.com/openvenues/jpostal/issues/14 but no luck yet.

@albarrentine in build.sh I can see following line.
# Apple Java headers are inside the Xcode bundle.

Which is not always the case.

Okay in configure.ac file I replaced (hardcoded JNI_INCLUDE_DIRS) following lines
AX_JNI_INCLUDE_DIR

for JNI_INCLUDE_DIR in $JNI_INCLUDE_DIRS
do
    CFLAGS="$CFLAGS -I$JNI_INCLUDE_DIR"
done

With
# Add JNI include path
AC_MSG_CHECKING([for JNI include path])
JNI_INCLUDE_DIRS="/Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home/include/darwin /Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home/include/"
CFLAGS="$CFLAGS -I$JNI_INCLUDE_DIR"
AC_MSG_RESULT([$JNI_INCLUDE_DIR])

Thanks for the guidance here, I used this thread to get up and running initially on a M1.  I kept running with it and just opened a PR for better support on Mac (and just about everywhere else as well).  This project doesn't appear too active and it's unclear when or if that PR will be merged. If you're interested, feel free to hit our fork directly:  https://github.com/Qualytics/jpostal


Model - data_wrangle.py

please implement the wrangling of data, as well as any useful data into public attributes in this python file, to be used in application.py as well as the functions in controller.

see pull request #33


FlickR noflick

Do you know what this is with the FlickR images and EMBEDjs?
http://www.flickr.com/photos/98263296@N03/11691666724/
http://www.flickr.com/photos/98263296@N03/11691666724/
, no Flickr http://www.flickr.com/photos/98263296@N03/11733196833/
http://www.flickr.com/photos/98263296@N03/11733196833/
, no Flickr

raw text ?

this is what is posted/used
http://www.flickr.com/photos/98263296@N03/11691666724/
http://www.flickr.com/photos/98263296@N03/11691666724/
http://www.flickr.com/photos/98263296@N03/11733196833/
http://www.flickr.com/photos/98263296@N03/11733196833/

Thank you! it's working fine now!


New command: apply theme to a site

Apply theme to the specified site

command: spo theme apply -n|--name <name> -u|--webUrl <webUrl>
name: Name of the theme to apply
webUrl: URL of the site to which the theme should be applied

More details: see the Set-SPOWebTheme cmdlet

Hello @waldekmastykarz, feel free to assign that to me.

Awesome! All yours! 👍

Hey @phawrylak, are you still working on this command?


Fix policy loss gradient in TD3

The gradients dq_da is currently incorrect. The gradients for each dimension from the action should be summed instead of averaged as per
https://github.com/deepmind/rlax/blob/master/rlax/_src/policy_gradients_test.py#L55
For example, the D4PG agent also doesn't sum over the action dimension. In the case where someone may wish to write a D4PG-BC agent, this may cause a similar issue.
The current policy loss is fine if using this version to run online TD3. When using an optimizer such as Adam, which normalizes the gradients based on the magnitude, the constant should not affect the computed policy updates.
However, the current policy loss computation can be problematic if the user wants to use Acme's version of TD3 to reproduce results from the TD3-BC paper using the TD3-BC paper's default bc_alpha hyperparameter (which is 2.5). Without the sum, the relative magnitude of the gradient from the critic and the bc loss is different compared to the original implementation. I have noticed that this version of TD3 performs badly on some of the D4RL locomotion datasets (e.g., hopper-medium-replay-v2). I have found that without summing over the action dimension, the evaluation return is very unstable.

@alexis-jacq FYI since we had a discussion last time about some implementation differences between this TD3 and the official PyTorch implementation.


python3Packages.pytube: 10.6.1 -> 10.7.1

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 118672 at 408399ca run on aarch64-linux 1

3 packages built successfully:

python38Packages.pytube
python39Packages.pytube
spotdl

1 suggestion:

warning: unused-argument
Unused argument: typing-extensions.
Near pkgs/development/python-modules/pytube/default.nix:5:3:
  |
5 | , typing-extensions
  |   ^


After installation, picking up and making calls from macOS no longer works

Hi there,
It seems that I no longer can make calls from my iPhone from MacOS.
It notifies me iPhone calls not available; Your iPhone must use the same iCloud and FaceTime account.
I have checked this, and they are as they always were (the same). I also rebooted both devices.
Is there something in here that can break that functionality?

To be sure, I logged out FaceTime on my MacBook, and logged in again. When I login I do get a notification on my iPhone that a device is been added to your account, and that it has access to FaceTime, but still the same error as above when trying to place a call.

that is really weird, maybe its a general FaceTime issue, it works on my and many other peoples Macs


Fyne refactored code base

added theme preference in settings

added overview page

added history page with pagination support
fixed all issues below
#358 , #324 #277

Initial windows size is quite small
Also, the nav menu black text should be white font color in this theme.

Peer count on sync window and nav menu do not update simultaneously.

Peer count on nav menu is temporarily invisible(?) when you switch to a page


Remove tests which are not run on CI

This removes test files which are not run on CI.
Passing CI on https://github.com/mesosphere/dcos-commons/pull/2949 (a PR which adds assert False) shows that at least one of these test files is not run on CI.
This will allow us to move on with adding mypy checks to this repository - https://jira.mesosphere.com/browse/DCOS-48816.
See https://jira.mesosphere.com/browse/DCOS-49574 for re-adding these tests.

In the interest of speed I am merging this without all CI checks having run. I feel confident in this because this is in the tools directory and we are confident that these tests do not run.


GEODE-7739: Address race condition in FederatingManager during listener creation

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

@kirklund thanks for input-  we're looking into these

It seems like there is some cleanup that needs to be done based on what my editor is telling me. Please take a look at these comments. if you disagree, please disregard the comments.

Thanks Mark-  this was just a quick push to experiment with some stuff-- will make sure none of these are in final code :)

code to be resubmitted in a future PR


Code Inspection: Tslint on master

no-floating-promises

lib/support/guava/transforms/guava19DeprecationTransform.ts:38: (error) Promises must be handled appropriately

[atomist:code-inspection:master=@atomist/atomist-sdm]

Issue closed because last code inspection problem was fixed by @lievendoclo when they pushed 0c5b52a.


Adding glossary of metrics

It would be great to have a list of all the metric Rally stores.
Right now, building a Kibana dashboard requires reverse engineering the names. Also some of the metrics are not obvious (for example: cpu_utilization_1s)

Great idea. I see if I can get it in for the next release. Please be aware that some of the metric keys will change a bit due to #108. As we'll capture throughput and latency for each operation now, I had to come up with more generic names for these metrics. But the others should stay as is IIRC.

@eugenemiretsky: As a workaround in the meantime you can look at https://github.com/elastic/rally/blob/master/esrally/reporter.py, there you'll find all metrics that are reported on the command line.


Entity type name mismatch between response body and $metadata endpoint

Hello,
I am having problems consuming entities declared as child entities in the CDS definitions, because the __metadata/type property included in the response body is different than the one included in the $metadata endpoint.
The difference is that the metadata shows all the dots converted to underscores for child entities, but __metadata/type property keeps the name as it is declared in the CDS files.

When I try to consume the service in an application, the UI5 framework is not able to identify the entity type in the metadata. This causes all properties that need special handling, such as dates, not to be converted to their respective javascript objects, but remain as strings.
Response received:

Expected response body:

From my point of view, the expected behaviour would be to have the response body property __metadata/type with underscores for the child entities in the same way as shown in the $metadata endpoint.

Thanks for finding this. I will provide a fix asap.

Fixed with release 1.10.6


Minor arc-green color tweaks

Some minor color tweaks

Note to self: land backport after https://github.com/go-gitea/gitea/pull/25176 is in.

Let's see if the bot can now backport this.


MovingMNIST split fix

Describe the fix

torchvision/datasets/moving_mnist.py: Separate handling of split="test" condition
test/test_datasets.py: Test split=None condition and verify that the second dimension equals _N_FRAMES

Check list

[x] Code formatting
[x] Unit test

Fix #7439
cc @pmeier

@pmeier, I believe all nits are fixed now. sorry for the confusion that I commented before I commit 👼🏼
lmk if there's any questions.


Update FAQ for Actor overhead and green threads

marked as draft as I noticed a link typo

I'm not comfortable with the change to say that Pony is green threads, I'd like to see the previous language mantained.

@thomastay the actor overhead entry looks good, can you do a separate PR from it and we can discuss the green threads changes separately?

I think "actor overhead" is slightly misleading. It should be "What is the memory overhead of an actor?"
I'm a little wary of the comparison to other languages. We need to step carefully there are even statements of fact that are made innocently can in certain contexts look like an attack on other languages which is something we want to avoid.

I'd like to come up with a phrase that well describes pony's actors in terms of their weight.  Green threads is the technically incorrect phrase, but I can't think of another phrase that best conveys the lightweight nature of it. Maybe something like fibers? Terminology is not my strong suit as I don't have the formal training in this area.
RE: Comparison --> Agreed. I felt a bit uncomfortable putting that in, but I thought it might be helpful to have context, which is why i left it in with a disclaimer. Do you think I should remove it?

@thomastay I've been thinking about this. Is the FAQ really, "what's the actor overhead" or is it more "are actors lightweight like they are on BEAM"?
if its the latter, then a comparison of overhead to Elixir/Erlang makes a lot of sense.

You worry about actors and sending messages between them.
@thomastay You can directly call the method without sending messages between actors. Pony actors are more convenient than Go‘s Goroutine and Elixir/Erlang's Actor.

@SeanTAllen exactly. I think even for people familiar with the Actor model, people still want to be certain that the overhead of an actor is not too high. That's why every Elixir talk ever begins with "BEAM processes are nothing like OS processes"...
Again, I don't want to start language competition. But as many people are unfamiliar with the Actor model, it's probably worth mentioning at least the ballpark that we're playing in; that is - how close are we to Elixir/Go?
As I write this, I realize what I meant to convey is that our actors are just as lighweight as theirs are. Maybe we can just say that, instead of mentioning what size they are.

@thomastay Can you update this PR to not touch the green threads FAQ and instead add a new FAQ targeted at the "Are Pony actors lightweight like Elixir/Erlang actors?"
That FAQ answer could then go into something like "yes" and "you can use them like blah and blah like you would in E/E".

@thomastay I've opened a PR that would add a new section to the FAQ that yours could be included in. It's a "comparisons" section.
https://github.com/ponylang/ponylang-website/pull/580

@SeanTAllen PTAL, thanks!

Awesome. Thanks @thomastay!


maven install wrdoclet project throw exception

Do the following steps
1、git clone this project
2、checkout to release v1.0.5
3、maven install
but throws exception " Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.5:sign (sign-artifacts) on project wrdoclet-parent: Exit code: 1 "
What did I do wrong? please tell me.
thanks

不好意思，邮件看得不勤。是有这个问题。你可以修改一下POM文件，把 中的maven-gpg-plugin删除掉试试看

重新配置私服之后已经编译成功。thanks!


Can't compile the SCSS file

I can't export the SCSS file in scss/bootstrap.scss, it says:

Error: Invalid CSS after "...lor}: #{$value}": expected "{", was ";"
on line 4 of C:/bootstrap-4.0.0-beta.2/scss/_root.scss
from line 11 of C:\bootstrap-4.0.0-beta.2\scss\bootstrap.scss
Use --trace for backtrace.
[Finished in 1.0s]

Straight from the downloaded folder, didn't even modify anything.

Hi @coldpumpkin what do you mean by "export"? compile? Can you please describe the steps to get that error?

Hey. Yes, compile, sorry. Basically I'm doing

sass --update something.css --stop-on-error --no-cache --sourcemap=none

+1 . Same issue with @coldpumpkin

If you're not worried about loosing some of the CSS variables, comment out line 4 and 8 of _root.scss then recompile.
Otherwise, add color- onto the beginning of these lines to give --color-#{$color}: #{$value};
By the looks of things SCSS doesn't like using a SCSS variable for the first part of the CSS variable... if that makes sense.

Having the same issue as well

Comment out @import "root"; to fix that for now.

@XhmikosR Can you please take a look, I can't reproduce the issue using Sass 3.5.2 (Bleeding Edge), I can compile bootstrap.scss and get this:
:root {
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #868e96;
  --gray-dark: #343a40;
  --primary: #007bff;
  --secondary: #868e96;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
}

I don't use Sass personally...
Also, like I have I expressed in the past, since we don't compile with Sass, things can break. Not sure if we want to add testing for this in Travis, though.
Anyway, @coldpumpkin make sure you have the latest Sass installed and it should be fine.
Otherwise, @glebm should have more ideas.

@coldpumpkin Looks like you're using the Ruby Sass compiler and the version you have installed is too old. Please update to Sass v3.5.2+.

Thanks @XhmikosR and @glebm . Updated Sass fixed my issue.
sudo gem update
or
sudo gem update sass

Yup, updating sass was the answer. Thanks all.

@glebm I updated to sass 3.5.2, but still getting
$ > sass --version
Sass 3.5.2 (Bleeding Edge)
$ > /usr/bin/compass compile --app-dir '...' --config '.../config.rb' -I '...'
error ....scss (Line 4 of assets/bootstrap/scss/_root.scss: Invalid CSS after "...lor}: #{$value}": expected "{", was ";")
Compilation failed in 1 files.
What now :-(? Is it a difference that I use compass?

Compass uses a different version of Sass, it locks its Sass dependency to < 3.5.
Compass is deprecated and no longer supported, and Bootstrap 4 is not compatible with it.
Uses sass directly instead of using compass.

@glebm You're right. We migrated our plugin to sass and (optionally) bourbon. Now works like a charm :-)

At me too produces an error.
Gem::ConflictError on line ["2293"] of C: Unable to activate bootstrap-4.0.0.bet a2, because sass-3.4.25 conflicts with sass (>= 3.5.2) Run with --trace to see the full backtrace
sass -v
sass 3.5.3 Bleeding Edge

@sanyokdb Run bundle update and if that doesn't work post the full output here.

Even reinstalling sass and compass did not help.
gem unistall sass gem unistall compass
reinstalled
gem install sass - the latest version of sass 3.5.3 has been installed
gem install compass - installed compass together sass 3.4.25
in config.rb I insert
require 'bootstrap'
and when you start compass watch
gives an error message
Gem :: ConflictError on line ["2293"] of C: Unable to activate bootstrap4.0.0.bet a2, because sass-3.4.25 conflicts with sass (> = 3.5.2) Run with --trace to see the full backtrace
in folder C:\Ruby24-x64\lib\ruby\gems\2.4.0\gems\ are located sass-3.4.25 and sass-3.5.3
how to solve the problem?
Is everything right?

The error message is pretty clear; just uninstall the old Sass version and try again.

@sanyokdb Don't use compass, see https://github.com/twbs/bootstrap/issues/24549#issuecomment-339655415

Removed the old version of gem unistall sass -v 3.4.25
when you start compass watch
error again

I have Windows 7 64bit
what program can I use to compile sass?

@sanyokdb Remove compass
Then reinstall new version of sass

I wrote that the reinstallation did not help.

Try change in _root
from:
  @each $color, $value in $colors {
    --#{$color}: #{$value};
  }

  @each $color, $value in $theme-colors {
    --#{$color}: #{$value};
  }

to:
  @each $color, $value in $colors {
    #{--#{$color}}: #{$value};
  }

  @each $color, $value in $theme-colors {
    #{--#{$color}}: #{$value};
  }

@JanGalek yep, this works for me, thanks

Try updating your version of Sass. I had the issue and when I updated from 3.4.23 to 3.5.5 was able to compile successfully.

I'm running ruby 2.5.0p0 (2017-12-25 revision 61468) [x64-mingw32] in Windows 10 and sass 3.5.5 (bleeding edge) and I still get the compile error for _root.scss and other bs4 partials. Frustrated.

Still have this issue with Sass 3.5.6 and no compass installed on CentOS VPS. I have to exclude the root.scss to make it work (for now). But this can't be the solution right?
What versions do we have to use for Bootstrap?

@ernestdc Compass is no longer supported

Do not use ruby-sass
remove it by
sudo apt-get remove ruby-sass
sudo apt-get purge ruby-sass
sudo apt-get autoremove ruby-sass
and install npm-sass globally by
sudo npm i -g sass
IT worked for me


Add KVM Support for macos and windows template

Changes

Added kvm device path in macos.yml and windows.yml file

Issues

fix #4451

This makes sense, but I will need to disable the templates because most Coolify users run it on a VPS, and almost all VPS providers block KVM installation or access because the server is already KVM virtualized. Not sure how to solve this for now.


While time travelling, close button is hard to hit

Summary:
While time travelling, if a user clicks on screen, then the overlapping makes it difficult to close the time travel.
So the menu should be moved lower when the user clicks on a screen.

I would like to work on this issue. Can you assign it to me?


Aliases in function type annotations change the generated code

When a function uses a type alias in its annotation, the generated code will use an Expression rather than the actual type.
That is, if I have a function
{-| -}
fWithoutAlias : { a : List Int } -> ()
fWithoutAlias _ =
    ()

The generated code will have the type annotation: fWithoutAlias : { a : List Int } -> Elm.Expression
but if my starting function is identical except that it uses an alias:
type alias Config =
    { a : List Int }

{-| -}
fWithAlias : Config -> ()
fWithAlias _ =
    ()

the generated code will have the type annotation fWithAlias : Elm.Expression -> Elm.Expression.
I expected the generated code to be same whether or not I referenced a type alias in the function signature.

Just for clarity: what I'm trying to do is follow the UsingHelpers guide to generate code that works with published packages. I'm using code from the Gen namespace, not the code that ends up in the generated folder.


Youtube-dl Plugin Music folder path detection

youtube dl adds 2 paths while downloading a video
@settings[:mpd_musicfolder] = ""    <--- empty fixed the error

I didn't really understand what you mean exactly, but it is true: youtube plugin creates 2 directorys.
One for temporary use, the other one should be in your mpd's music folder and is for holding songs and preview pictures for longer time.
In the moment the plugin does'nt implement no cleanup for the temporary folder, so you have to do it by hand from time to time.
There is already planned a method to do this by a plugin-command.
Finally I think that it is no good idea to leave the path to the musicfolder empty.
This may affect plugins written in the future.
I've merged a pull request https://github.com/Natenom/mumble-ruby-pluginbot/commit/1d7305f885dcbbd55f125c5298312cb5c0422f70 a few hours ago.
Now the config is much more read- and understandable.
:grinning:


uploaded file

why file is not opening in browers its only download from amazon

This is probably due to headers/settings set on the uploaded file. Could you provide some more information?


lodash: added _.modArgs() method

https://lodash.com/docs#modArgs

@chrootsu thanks mate!
could you add your name below bczengal's name?https://github.com/borisyankov/DefinitelyTyped/blob/master/lodash/lodash.d.ts#L3

@vvakame thank you! Yes, of course. ^_^
https://github.com/borisyankov/DefinitelyTyped/pull/5116


fix for openUrl() method conflict when using facebook plugins

fix for #72

added extra notification post/call to allow plugins to use openUrl without conflicts

@aaustin can you let me know when this will be merged into master?
Cheers,
TJ

:+1:


Specific node/ element_id to let toast to be injected into

Hello, I am currently working with the library and I find it rather interesting that there's no simple way to inject the toasts into SPECIFIC node other than end of the body.
If I may say so, it'd be highly useful for me to be able to inject it into let's say <navbar id="toasty"/>.
If there's already a way to do so, I am very sorry to bother.

Very nice idea, any approach when we could get this?

I was thinking about inserting an options object with a structure like {injectInto:''} so it would be more configurable.
When mounting the toast it would just spread the options  in the newly formed/ injected component.
I am sorry, but it's been a while since I've worked with it :)


[BUG] Link on site appears broken

On the "Overview" page, I see this

but the markdown in overview.md is fine: For example, to install Java 21 via [homebrew](https://brew.sh/) and

Docs need to be regenerated using redocly anytime we make a change to the markdown. Working on getting that automated, but in the meantime these instructions should help anyone who wants to start a PR to close this issue :) https://github.com/polaris-catalog/polaris/blob/main/README.md#api-docs
Going to mark this as a good first issue to encourage folks to contribute

I suspect it's a bug in the redocly tool, because it looks the same when the site's regenerated :(

Oh interesting!! Let me take a look then

I am unable to reproduce the issue. Link doesn't seem to be broken for me here. https://polaris.io/index.html#section/Quick-Start/Prerequisites
Is this still an issue?

I am unable to reproduce the issue. Link doesn't seem to be broken for me here. https://polaris.io/index.html#section/Quick-Start/Prerequisites
Is this still an issue?

Looks like this is fixed


[Feature Request] Compiling the app to only allow a single server

Describe the feature you'd like
Assume that I start my own server, I would like to make the Mobile client to only access my server, or at least treat my server as "first class" such that I can distribute the compiled app binaries to my fans/users.
Is there a config file variable that allows for this to be done easily?

You are free to change the code to allow only your server to be accessed (from a fork for instance). If you need help doing it than I advise you to check for the white label

@filipedelimabrito better to have the link to the related settings here

@DonaldTsang It is not a simple setting to be changed in order to do what you want. That said, do it by yourself (you are free to do that) or check for our white label service - we will be glad to help you.


Correctly parsing example PetStore YAML v3

Description
Currently the "canonical example" of a version 3 open-api document is at:

https://petstore3.swagger.io/api/v3/openapi.yaml
https://petstore3.swagger.io/api/v3/openapi.json

When running a generate.go file with the contents:
package generate
//go:generate go run github.com/ogen-go/ogen/cmd/ogen@latest --target xyzzy --package xyzzy --clean openapi.yaml

The following error is returned:
$ go generate ./...
  - openapi.yaml:744:15 -> xml: unexpected field for type "string"
	  741 |           items:
	  742 |             type: string
	  743 |             xml:
	→ 744 |               name: photoUrl
	  745 |         tags:
	  746 |           type: array
	  747 |           xml:
	  748 |             wrapped: true

generation failed:
    main.run
        /home/xxxxxxxx/go/pkg/mod/github.com/ogen-go/ogen@v0.68.4/cmd/ogen/main.go:302
exit status 1
generate.go:4: running "go": exit status 1

I know you are still working on ogen and you know I'm in love with your project.
Would it be possible to document how the "canonical examples" need to change so that ogen will process them?  (Or better improve ogen so that it will generate code from the canonical examples)

Example: https://petstore3.swagger.io/

General rule is to remove all xml-related because we don't support xml.

I thought https://github.com/ogen-go/ogen/pull/936 would have fixed this error, but maybe I missed something to get it to work inside of items? That was included in the latest release. You can see where you might need to add another piece in there


Update glob dependency

Currently installing browserify gives a warning:
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

This PR updates the glob dependency to the most recent version which uses an updated minimatch version as well.
I ran the tests after the change and they all still pass.

would you please update glob and push to master?
I have this issue with cordova
http://stackoverflow.com/questions/39727130/npm-warn-deprecated-minimatch2-0-10-but-i-have-a-newer-version
I asked Cordova team on Jira about it, I opened a bug report, it was labeled as critical and they said that bug is because of you guys,  browserify hasn't updated to glob-7
This fix is so old an not merged yet, so many projects depend on this library so please merge. If you don't merge soon, I'm going to fork, update dependency and convince Cordova team to use my fork.


Add --core-file / --core-dump by default for --test_mode configs

There is no such option listed in DOC:
https://www.percona.com/doc/percona-xtrabackup/LATEST/xtrabackup_bin/xbk_option_reference.html
But I know that there is such option.

$ ./xtrabackup --help | grep core
./xtrabackup version 2.4.7 based on MySQL server 5.7.13 Linux (x86_64) (revision id: )
  --core-file         Write core on fatal signals


Roundabout instructions

Hello,
Graphhopper is a great routing engine but I am surprised there is no exit direction in any roundabout.
Example:
http://graphhopper.com/maps/?point=47.931512%2C-2.38869&point=47.931814%2C-2.388325
How to get "take exit 3 on the roundabout" direction?
Is it something you plan to implement in the future or maybe there is an option to use?
Thanks,
Martin

We've decided to implement roundabout instruction already in #316. #116 will follow later to make them always working for CH too.

Works now for CH and on GH Maps too

Great !


Setting CloudDualStackNodeIPs=true is not required anymore

Environmental Info:
K3s Version:

Node(s) CPU architecture, OS, and Version:

Cluster Configuration:

Describe the bug:

We are setting CloudDualStackNodeIPs=true here: https://github.com/k3s-io/k3s/blob/master/pkg/daemons/control/server.go#L326. However, as stated in the feature gates reference, starting in 1.29, that gate is true by default. In Octobre there won't be a 1.28 release, therefore, we can safely remove that setting
Steps To Reproduce:

Installed K3s:

Expected behavior:

Actual behavior:

Additional context / logs:

bad bot

Actually, we can consider 1.28 as dead, right? So we are good to pick this issue, or?


CSS grid

'grid-gap' or 'grid-row-gap' etc are not being highlighted. Are you going to update the package to include the full css-grid spec?

Those properties have been renamed.
grid-gap -> gap
grid-column-gap -> column-gap
grid-row-gap -> row-gap

CSS3 labels the grid-gap properties as invalid.deprecated.css. Most color schemes will apply bright styling to that text to draw your attention. You may be using a color scheme that doesn't apply any styling, in which case it would look like CSS3 was missing the property.

Neither Chrome nor Firefox seem to support the renamed properties though the old ones still work.


New DAO to check subscriptions with no jobgroup associated; new condi…

…tion for pulling work from GQ
Fixes #8648
When work gets acquired from GQ to LQ, and then from LQ to WMBS, a new subscription is created for every input from the WQE (usually a block). This subscription is then picked up by JobCreator which creates one or several jobgroups and the related jobs.
With this patch, there is a new constraint at WorkQueueManager level before it starts pulling work down. If there are Production or Processing subscriptions without any jobgroup associated (thus no jobs created), the component will log that blocker and skip that cycle.

It doesn't work! :(
The database query should be limited to top level tasks/subscriptions, otherwise it sees further subscriptions in a ReDigi (and I believe TaskChain) and doesn't pull work down (because the agent - of course - cannot create StepTwo or StepThree jobs until StepOne is done)...

Alan, go to sleep.

Ok, I've made a minor change joining wmbs_workflow and fetching the task name as well. Then some - not very nice - taskname parsing/assumption and, we can put our hands in the top level tasks :-)
Still, I'm certain it's better than working through the workqueue elements, I hope you agree with me :)
Testing now

Seangchan, initial tests look good. If you agree with these changes, I can run a few more tests before we merge and backport it.

Thanks Alan patch looks good to me.

It's good to go. I'm merging the wmagent branch one and cutting a patch5 tag.


fix: jsonschema integer validation

Describe the change
Fix the jsonschema validation failed failure on the integer field.
Provide OpenAI documentation link
Describe your solution
Follow the #837 instruction. Because go unmarshalls all numbers as float64, we should check the value is an integer.
Tests
Add jsonschema.Integer cases, include a success and a failed case.
Additional context
Add any other context or screenshots or logs about your pull request here. If the pull request relates to an open issue, please link to it.
Issue: #837

Thank you for the PR! Looks good, and here's a minimal example validating the float64 argument https://go.dev/play/p/VRMIyt9Zjqz


Renderer breakage on resolution change

I've been getting renderer issues on the for-0.51.0 branch when I change resolutions. I have a Radeon R7 200 on Windows 7. Usually I switch between a windowed configuration which sets "r_mode -1; r_customwidth 900; r_customheight 700; r_fullscreen 0;vid_restart" and a full-screen which sets "r_customwidth 1920; r_customheight 1080; r_fullscreen 1; vid_restart".
These work fine on a client compiled some time after 0.50, but one or the other of the resolutions is usually broken on the 0.51 branch. Usually the windowed one is the one that has distortion and a strange perspective. This is what it looks like in third-person mode:

But I also got this situation, where windowed was normal, but full screen looks like this:

Ans when returning back to the former resolution, some stuff still uses the larger resolution (the ssao filter I think).

Fixed with #105.


Wrong folder Rights with RH 8.6 and mariadb

We are using RedHat 8.6 and the logfolder Creation (/var/log/mariadb) wokrs but the folder is created for root:root with 0700 so mariaDB is not able to store there files.

Unfortunately still not reproducable for me. This may be related to a local security configuration (selinux? something else?). If someone can provide steps to make this reproducable, please let me know. I'll close this issue now.


undefined Observable in prod mode with AOT

I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see use [gitter](https://gitter.im/mgechev/angular2-seed) or [stackoverflow](https://stackoverflow.com/questions/tagged/angular2)

Current behavior
In some of our components we're using class that extends Observable. In dev mode it's working as expected but in prod mode with AOT the app throws an error

Debugging shows that at the moment of extending Observable it is undefined.
The source code of class that extends Observable is here
Expected behavior
No errors when extending Observable in prod mode
Minimal reproduction of the problem with instructions
https://github.com/IlyaSurmay/ngx-bootstrap-systemjs
It's just plain angular-seed with our lib (ngx-bootstrap) imported.

npm i
npm start - everything works as it should.
npm run serve.prod.aot - app crashes at start with the error I described above

What is the motivation / use case for changing the behavior?
It would be great to be able to build the app in AOT with ngx-bootstrap.
Please tell us about your environment:

Angular Seed Version: 2e3416

Node: node --version = 8.2.1

Hi @IlyaSurmay , please provide yourOS info ?

It seems SystemJS related. You can try npm run build.prod.rollup.aot and the application will get properly bundled with Rollup.js. Will see what's wrong in a bit.

Actually not only Observable is undefined. In fact, any of the dependencies of any of the ngx-bootstrap modules has value undefined. Notice how each ngx-bootstrap module is being loaded with System.register instead of System.registerDynamic. Looks like the bundle formats are incompatible.

@mgechev thanks!