Indeed Search Inaccurate

Hey,
I have been trying the indeed search and it seems inaccurate compared to when I try it on indeed's site? How is the data being scraped, is it by date posted or relevance? Also can we make a change so that it looks at title mainly not just description, because I rarely get accurate results for indeed it's weird

What's your search, paste it here so we can look into it

i think this is more powerful than just searching the title tho. every keyword has to be present in the description or title that is in your search term.
use - to remove words, "" for exact match. so for this the description/title must include summer, java, 2025, software engineering intern, no tax, no marketing
search_term='"software engineering intern" summer java 2025 -tax -marketing'

Thanks @cullenwatson I do still think having an option to just search via title would be nice as a option for indeed because the results are super inaccurate for Software Engineering internship for example, I almost get none but when I search on indeed it gets it right.

Every result for me is a hit. Whats your search

This is my search is yours to the US? Maybe thats the issue but still for indeed canada I get accurate results and using the scraper not rlly. This is my search
jobs = scrape_jobs(
site_name=["indeed"],
search_term="Software Engineering Intern",
location='Canada',
linkedin_fetch_description=True,
results_wanted=50,
country_indeed='canada'
)

What was your search to get that?

was it indeed?

yes, try
jobs = scrape_jobs(
    site_name=["indeed"],
    search_term='"software developer intern" OR "software engineer intern"',
    location="Canada",
    results_wanted=50,
    radius=100,
    country_indeed='canada',
)

Nice! Was it the radius maybe the results are actually more accurate! Thank you


Gem for asset pipeline

This is on the roadmap?
Just out of curiosity why did you decide to use TypeScript instead of CoffeeScript? Basecamp is moving towards TypeScript or something?

No plans to release a gem. Stimulus is a plain ol' JavaScript library. You can add stimulus.umd.js to your sprockets bundle. Or, use webpacker to bundle the npm package. See the Installation Guide for more details.

why did you decide to use TypeScript instead of CoffeeScript?

We like TypeScript's tooling and type checking for authoring libraries. That's all. :)


Add Basic-Auth support

Add setCredentials-method to HttpConnection-interface and implement it.
Fix ConfigureTimeout-implementations not returning self as well.

We are using basic auth like this:
 FRestClient.Resource(URI)
      .Accept(RestUtils.MediaType_Json)
      .Header('Authorization', 'Basic  bW9QjcOL2M05123Q...')
      .Get<TClients>;

I'm not convinced this implementation is necessary, but I cannot think in any objections right now. I will appreciate some other opinions.
I merged some PRs, so, your changes are conflicting, can you fix it?

I made some changes from the original approach. The WinHttp and WinInet implementations don't work on Windows 7. They dont include the authorization header. So i implemented in RestClient unit using @RobertoSchneiders approach.
Thansks @vonloxley

:+1:


c++ code for 07 November 2024

class Solution {
public:
vector findSplit(vector& arr) {
int total_sum = 0;
for (int num : arr) {
total_sum += num;
}
    if (total_sum % 3 != 0) {
        return {-1, -1};
    }

    int target_sum = total_sum / 3;
    int current_sum = 0;
    int first_index = -1, second_index = -1;
    int n = arr.size();

    for (int i = 0; i < n; i++) {
        current_sum += arr[i];

        if (current_sum == target_sum && first_index == -1) {
            first_index = i;
        }

        if (current_sum == 2 * target_sum && first_index != -1) {
            second_index = i;
            break;
        }
    }

    if (first_index != -1 && second_index != -1) {
        int last_part_sum = 0;
        for (int i = second_index + 1; i < n; i++) {
            last_part_sum += arr[i];
        }
        if (last_part_sum == target_sum) {
            return {first_index, second_index};
        }
    }

    return {-1, -1};
}

};

Is my code of todays potd not working or is ur code more optimize tell me or directly add an pull request for the same if any problem is their

Dear your code is not working, so I have worked on mine, its optimized

Code (C++)
class Solution {
public:
    vector<int> findSplit(vector<int>& arr) {
        int n = arr.size();
        int totalSum = accumulate(arr.begin(), arr.end(), 0);

        if (totalSum % 3 != 0)
            return {-1, -1};

        int target = totalSum / 3;
        int currentSum = 0;
        int countFirst = 0;

        for (int i = 0; i < n; ++i) {
            currentSum += arr[i];

            if (currentSum == 2 * target && countFirst > 0)
                return {countFirst - 1, i};

            if (currentSum == target) {
                countFirst++;
            }
        }

        return {-1, -1};
    }
};

is this not working tell me can u again try it because mine it is properly working

Can u please edit it and make pull please because im out otherwise ill change it ok
If not tell me ill do it in few minutes

if I am going with this code I am having following error

Yup sorry on uploading code changes how i don’t very sorry can u make a pull and resolve add with ur solution or ill do it wait for little minutes
Thanks for telling and making issue good

Yup!! Now all the codes are working perfectly & fine.


Place another marker offset

Offset of new draggable marker needs to account for scale
See possible solution http://stackoverflow.com/questions/10656743/how-to-offset-the-center-point-in-google-maps-api-v3

PR #37 should address this.


[css] AutoUpdate feature for CSS

I noticed that VS.Code has a feature where the linked editing feature automatically updates an HTML’s closing tag when the opening is modified. Can there be a similar feature for CSS?

Can you give a css code example that shows how this would work?

Hi @aeschli! Sorry for the late response. I had no idea that GitHub had a comment section for issues lol! :) (I'm fairly new to GitHub).  Say, I have this line of HTML code:

 Chicken Caesar Salad

Instead of me manually writing out
.salad{  }, the feature would do this automatically. Does that make sense?

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

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

Still waiting for @aeschli's réponse

So when you rename the salad in the HTML code, i would also change the salad in the css?
We could for that if the HTML and the CSS styles are in the same file (across file it would be a refactoring, and we don't go across files with HTML and CSS)

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


Update README.md

Added a note about using public github with this module and which url to use as it took me a bit of time to figure out the correct url.

@walterheck So I agree this was a bad assumption on my part and should have documented so in the README, that said if you don't pass a URL, the module will default to the URL you mentioned.  As you will note in the code here:
https://github.com/abrader/abrader-gms/blob/master/lib/puppet/provider/git_webhook/github.rb#L13
and here
https://github.com/abrader/abrader-gms/blob/master/lib/puppet/provider/git_deploy_key/github.rb#L12
Thank you for your PR.  Rather than commit your PR, I will make the necessary README changes to indicate default behavior.  I will of course give you credit.  Thanks.

thanks @abrader


Timesheet - 03/05/2021 - Bucky Roberts

Task 1
Marketing meeting.
Proof of Work

https://docs.google.com/document/d/1Ggio4Wyt94zV0ndrZhDQhN8JsH7I-MkInXSjUbRr4Ec/edit

Time Spent
1 hours

Total Time Spent
1 hours
Account Number
a37e2836805975f334108b55523634c995bd2a4db610062f404510617e83126f

Approved


[ISSUE #795]📝Add doc for trait🎨

Which Issue(s) This PR Fixes(Closes)

Fixes #795
Brief Description

How Did You Test This Change?

🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥


Just for record, the number<PHONE_NUMBER>3709551615 in getSizeOfVarInt() is not working as intended

JavaScript uses the IEEE 754 double-precision floating-point format for numbers,<PHONE_NUMBER>3709551615 is larger than this maximum safe integer value. Specifically, it's the maximum value for a 64-bit unsigned integer, which JavaScript does not handle precisely with its standard number type. You can make this test on your browser console, just type the number and it will show<PHONE_NUMBER>3709552000 instead.
We would need to change the code to work with the BigInt type to handle such large integers. This issue was created just 4 fun 😝

Is it actually possible to trigger this overflow via the form, though?
Looks like the max value we allow for each integer input field is 99999 and even when I max that out on every field, none of the math ends up approaching anywhere near javascript's max integer.

Sure, it was 4 fun because this value exists in the code here: https://github.com/jlopp/bitcoin-transaction-size-calculator/blob/master/index.html#L68


onFindingEntityDataSource duplicate

Hi,
onFindingEntityDataSource event is repeated 5 times in the table. Looks like there is not difference between these 5 rows

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

ID: ac5bd5e3-de75-79f0-1a00-4d9267032eba
Version Independent ID: 28f1623d-c6db-5b5b-f2fe-9728a3c370e7
Content: Customize through extension and overlayering - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/dev-itpro/extensibility/customization-overlayering-extensions.md
Service: dynamics-ax-platform
GitHub Login: @robadawy
Microsoft Alias: robadawy

Thanks for pointing this out! We really appreciate feedback that helps us to improve our documentation. I will update the table, these changes should be live later today.


Remove DefaultMap and use computeIfAbsent instead.

I think DefaultMap could be removed from the code.  There are currently two places in the code that create a DefaultMap.  I think these could instead create a HashMap and when get() is called on that hasmap use computeIfAbsent() creating whatever DefaultMap would have created.
Its only used in two places.  For the usage in Master.getMasterMonitorInfo() I think only the get() in that method needs to be replaced, nowhere else.  For the usage at Master.badServers I think only usage in Master.gatherTableInformation() needs to be updated.

Started taking a look at this during Accumulo hack day. Will work on this.


Support converting + optimizing SVGs to other image formats

Is your feature request related to a problem? Please describe.
SVGs are often used as the highest-fidelity exports from things like Figma - even a lossless image export doesn't really match the quality of an SVG because it can be forever-scaled up while being the same fidelity. For that reason, we try to use SVGs as the source image in source-code too.
However, next-export-optimize-images doesn't currently support optimizing svgs to other file formats like avif/webp (seems like due to https://github.com/dc7290/next-export-optimize-images/pull/658)
Describe the solution you'd like
A clear and concise description of what you want to happen.
It would be great if the library supported optimizing SVGs, actually the opposite of https://github.com/dc7290/next-export-optimize-images/pull/658. NextJS now supports this with a flag https://nextjs.org/docs/app/api-reference/components/image#dangerouslyallowsvg
Describe alternatives you've considered
Pre-processing the SVGs to an intermediate format - but this kind of defeats the whole purpose of the automatic optimization in the first place :)
Additional context
N/A

I see.
As a feature request, do you want to "change SVG images to AVIF or WEBP format when you specify them"?


images/hats: close subpath in hole.svg

The repeated subpath was unclosed.
This was invisible in fill mode, but apparent when adding a stroke.
No visual changes.
Checklist

[-] I have added tests
[-] I have updated the docs and cheatsheet
[-] I have not broken the cheatsheet

before/after, rendered and zoomed for visibility

test failure is unrelated

...so what you're saying is that hole has a hole 😄


custom_vjp can't handle vmapping over a nondiff_argnums arg

@duvenaud sent me a repro. This might be the same as #2912.

@duvenaud You could try my shim over custom_vjp that separates the concepts of nondiff_argnums and static_argnums.

@NeilGirdhar thanks for pointing that out; I meant to ask you about that. Is the idea that "static" args are things like functions (i.e. not jax value types), while nondiff args are jax values that we don't want to differentiate with respect to (like rng keys and the like)?

@mattjj exactly!

Seems smart! I swear I'll get to helping out with this, just a few more fires to put out first...

This was fixed by #4008 !


[Question] Show Multiple tooltip Programatically trigger

Subj, as example something like this

I`am find in google and finding only this issue
https://github.com/c3js/c3/issues/467
I`am try
chart.tooltip.show({ index: [2,3] });

but
d3.js:562Uncaught SyntaxError: Failed to execute 'querySelector' on 'Element': '.c3-event-rect-2,3' is not a valid selector.

up

Hi there! We try to keep the issue queue clear for specific code-related problems with C3, could you please try asking your question on either the Google Group or Gitter instead? Thank you!


[MobFoxNativeAd locationServicesDisabled:YES];

Is there any chance that this method is not disableing locationServices? Below you can find our implementation and we are seeing location permission dialog in our app.
                self.nativeAd = [[MobFoxNativeAd alloc] init:adUnitID];
                [MobFoxNativeAd locationServicesDisabled:YES];
                self.nativeAd.delegate = self;
                [self.nativeAd loadAd];

Declare locationServicesDisabled: before init:
[MobFoxNativeAd locationServicesDisabled:YES];
self.nativeAd = [[MobFoxNativeAd alloc] init:adUnitID];
self.nativeAd.delegate = self;
[self.nativeAd loadAd];

Hi, we implemented interstitial as below but your sdk asks for location permission for interstitial ad. Can you please check?
[MobFoxInterstitialAd locationServicesDisabled:YES];
_interstitial = [[MobFoxInterstitialAd alloc] init:self.placement.adspaceId
                            withRootViewController:[UIApplication sharedApplication].keyWindow.rootViewController];
_interstitial.delegate = self;
[_interstitial loadAd];

Have you declared it with No value in other declaration for disabling location services?
Location services functionality should be set (disabled) with Yes value for all ad declarations.

No I haven't. I have 3 kinds of banner declarations in my project, none of them have locationServicesDisabled call with NO parameter.
[MobFoxAd locationServicesDisabled:YES];
dispatch_async( dispatch_get_main_queue(), ^(void){
    _banner = [[MobFoxAd alloc] init:self.placement.adspaceId withFrame:CGRectMake(0, 0, self.placement.bannerWidth, bannerHeight)];
    _banner.delegate = self;
    [_banner loadAd];
});

dispatch_async(dispatch_get_main_queue(), ^{
    [MobFoxNativeAd locationServicesDisabled:YES];
    _nativeBanner = [[MobFoxNativeAd alloc] init:self.placement.adspaceId];
    _nativeBanner.delegate = self;
    [_nativeBanner loadAd];
});

[MobFoxInterstitialAd locationServicesDisabled:YES];
_interstitial = [[MobFoxInterstitialAd alloc] init:self.placement.adspaceId
                            withRootViewController:[UIApplication sharedApplication].keyWindow.rootViewController];
_interstitial.delegate = self;
[_interstitial loadAd];

Add [MobFoxAd locationServicesDisabled:YES]; to the the first declaration:
dispatch_async( dispatch_get_main_queue(), ^(void){
[MobFoxAd locationServicesDisabled:YES];
_banner = [[MobFoxAd alloc] init:self.placement.adspaceId withFrame:CGRectMake(0, 0, self.placement.bannerWidth, bannerHeight)];
_banner.delegate = self;
[_banner loadAd];
});


Uninstall instructions

I hope I'm not missing the obvious, but where are the un-install instructions for OSx/Linux?
I can figure out the high-level pieces (remove symlink, remove /usr/local/microsoft/powershell/*, etc.), but it would be nice to have an official guide.
Thanks.

Very Good question Michael!
I already want thru one newer version but I use a new Ubuntu VMN for it.
The question would be if the upcoming newer releases are going to be available thru repositories for both "apt-get' and 'yum-yum' (or any other)?
I'm sure they are working on it.
:)

If you installed using the .deb package, normal Linux .deb uninstallation instructions should apply. http://askubuntu.com/questions/22200/how-to-uninstall-a-deb-package
@MaximoTrinidad - does sudo apt-get remove powershell not work for uninstalling powershell?
As far as OSX goes, there is no default package manager that I'm aware of for uninstallation, it will need to be manually uninstalled.

Likewise for yum on CentOS/RHEL: sudo yum remove powershell per RedHat's docs.
In essence, when you install a Linux package, you then uninstall it using the Linux package manager.
OS X's packages are notoriously annoying because they don't support automatic removal; but this is another issue (and we intend to replace PKGs with brewfiles).
Thanks for your interest!

This is the best uninstall instruction I found so far for MacOS: https://www.chubbydeveloper.com/powershell-on-macos/


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


count number of pieces or count captures

I would like to be able to query the game for how many of each piece type are still on the board at any given time. For example, game.count('bP') could return 8. I would like to do this so I can display captured pieces on a sidebar. The simplest method I can think of is to check if the number of pawns < 8, then put the remainder of pawn icons in the sidebar. Any suggestions? Thank you in advance :).

So I think your approach would run into problems whenever a player promotes a pawn - it would incorrectly assume the pawn was captured.  A better way to build the captured pieces sidebar would be to scan the game history  (chess.history({ verbose: true })) and count each captured piece, like so:
var history = chess.history({verbose: true});
var initial = {w: {p: 0, n: 0, b: 0, r: 0, q: 0},
               b: {p: 0, n: 0, b: 0, r: 0, q: 0}};

var captured = history.reduce(function(acc, move) {
  if ('captured' in move) {
    var piece = move.captured;
    // switch colors since the history stores the color of the player doing the
    // capturing, not the color of the captured piece
    var color = move.color == 'w' ? 'b' : 'w';
    acc[color][piece] += 1;
    return acc;
  } else {
    return acc;
  }
}, initial);

Does that work for you?

Yes, I was able to get the captured pieces to the sidebar, except for on the case of pawn promotion. I will try your suggested method as well. Also, I notice that in my two player real-time game, the castling doesn't show on the opponent's screen - instead, just the king's move - i.e., `e1-g1'. How can I pass into the board.move(notation) to make the king move as well? Or do I have to pass in FEN notation? Here is my code, using Pusher :
channel.bind('new_move', function(data) {
onDrop(data.object_notation.split('-')[0], data.object_notation.split('-')[1]);
board.move(data.object_notation);

When you call .move(string) your string needs to be valid Standard Algebraic Notation.  So in this case, the SAN for kingside castling would be chess.move('O-O').  Be warned, the SAN parser in chess.js is strict, so you'll need correct capitalization and appropriate decorations (+ for check, and # for mate) or else the move will fail and return null.
An simpler approach would be to call .move(object), like chess.move({from: 'e1', to: 'g1'}).  See the .move() docs for more info.

This sounds great. Thank you for the suggestions!


Python client

Update the Python client and make sure it meets user needs

get_stac_file
reprocess - POST that will just call save()


JTCalendar UIConstraint issue on iOS 11 iPhone 7

Hi Everyone,
I have been using JTCalendar and it has been very helpful and an amazing utility. Thank you all for that. Recently with the launch of iOS 11, I have been facing this UI issue, first on Simulators and now iPhone7 running iOS 11. But it is working fine on rest of the devices, (iPhone 7 Plus, iPhone 6, etc.)
Your help and response will be highly appreciated, as it is a deal breaker and I have to submit my app before deadline.
Please refer to the screenshots.
Regards,

Hi,
have you check you didn't add some constraints or change something since before the update to iOS 11?
You can try to debug the app to check the size of the views.
It's seems like JTCalendarWeekDayView have an invalid height, try to force to set the height to 0 in different place like in 1viewDidAppear`.

Thanks @jonathantribouharet
I have not made any changes to constraints since I created this view. Moreover it is working fine for all other devices, but doing this only on iPhone 7 and on Simulators.
And yes you are right, when in the start the weekDayView is being created, week mode is enabled and it is setting the number of weeks to 1. So in LayoutSubviews (JTCalendarPageView.m line 122) it is calculating WeekDayHeight to be 172 (line 137)
self.frame.size.height / (_numberOfWeeksDisplayed + 1);
But after the mode changes, this line never gets executed again, because now the weekDayHeight is never 0 again. I fixed it by adding the else part. but may be you can suggest something better.
CGFloat weekDayHeight = _weekDayView.frame.size.height; // Force use default height

        if(weekDayHeight == 0){ // Or use the same height than weeksViews
            weekDayHeight = self.frame.size.height / (_numberOfWeeksDisplayed + 1);
        }
        else
        {
            weekDayHeight = MIN(weekDayHeight, self.frame.size.height / (_numberOfWeeksDisplayed + 1));
        }

When I read the code yesterday I see the same thing and I wonder how this code works until now.
I think it's because the calendar is created in weekMode (with only one week visible), and I didn't test this case.
I just add a setting pageViewWeekDaysViewAutomaticHeight you have to set it to true or YES (depending if you use swift or obj-c) and I think it will fix the problem.
Update your pod to go to the 2.1.10 version.

Thanks @jonathantribouharet, it worked.


Remote transform node (for 3d)

It's code is based on RemoteTransform2D node.

Also, ping @drjm to sync icons with his repo (or make a new icon if he so wishes)

Nice :) It would be nice if you could edit the git commit to fix the typo, as it's very misleading :D (git commit --amend, fix the message, git push --force).

@akien-mga probably it's amended right now :)

NV


Little error in guide

"Setting up a management cluster" step #2
cd "${MGMT_DIR}"
In order to work it has to be:
cd "${MGMT_DIR}"/management
Since the previous step downloads ${MGMT_DIR}"/management:
kpt pkg get<EMAIL_ADDRESS>"${MGMT_DIR}"

Hi @ulrikpl Thanks for flagging this. Is the guide you're referring to this one: Management cluster setup? (source: https://github.com/kubeflow/website/blob/master/content/en/docs/gke/deploy/management-setup.md)
/assign  @Bobgy joeliedtke rmgogogo
(team GCP)

Yes that's the one. The same error repeats in the Deploy using kubectl and
kpt https://www.kubeflow.org/docs/gke/deploy/deploy-cli/ section, under
"Fetch packages using kpt" :
2) Change to the Kubeflow directory:
cd "${KF_DIR}"
Since the previous step downloads to "${KF_DIR}"/kubeflow
kpt pkg get @.***
"${KF_DIR}"
On Tue, Mar 16, 2021 at 10:56 PM 8bitmp3 @.***> wrote:

Hi @ulrikpl https://github.com/ulrikpl Thanks for flagging this. Is the
guide you're referring to this one: Management cluster setup
https://www.kubeflow.org/docs/gke/deploy/management-setup/#setting-up-a-management-cluster?
(source:
https://github.com/kubeflow/website/blob/master/content/en/docs/gke/deploy/management-setup.md
)
/assign @Bobgy https://github.com/Bobgy joeliedtke rmgogogo
(team GCP)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubeflow/website/issues/2545#issuecomment-800638728,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFQQY6S2X43BDNKKO3GINZLTD7HW7ANCNFSM4ZJLMOUQ
.

@ulrikpl thanks, it does need some improvement.
For clarification, when you specify MGMT_DIR=~/xxxx/management, (the last folder is exactly management).
then there won't be an extra management folder created in ${MGMT_DIR}/management


Popup Fullscreen

Summary
Allow the Popup to be able to go full screen.
API Changes
Add one property to the Popup bool IsFullScreen, that allow the Popup to go fullscreen
Intended Use Case
Edit a record in a phone, will allow more space for the controls
Who Will Do The Work?

[ ] I am willing to take this on myself
[x] Just putting this out there for someone to pick up

@fredericoregateiro I would say that if you need a full screen popup the best way is to perform a ModalNavigation. Or is there something that I can't see?

I kind of agree with @pictos here. What would be the use-case? Why do you need this over a regular modal?
@ahoefling do you have any thoughts about this?

Not sure if I understand the use case here and I agree with @pictos. Do you have any screenshots of what you are thinking

Hello all,
In my opinion this is just a really nice feature for the pop up, and gives the developer the power of choice.
On the phone, screen size is something we should use with care. And the option to use all available space is something to consider.
And once i started using the popup and don't want to go back to the modal 😄

Similar to #1398
Making Margin="0" would be the same as Fullscreen="True" but with more control on how the popup is using the available screen size

Hm to be honest I see more in the margin approach which gives more flexibility and control and might have a side-effect of being able to open a popup fullscreen :)
If you don't mind I'm closing this one in favor of #1398


Implementing tab pagination per material design specifications.

Our company has many users who frequently rely on views with a lot of tabs or with tab labels that are long.
The current behavior for tab labels is for them to horizontally overflow their container if there are too many.
This pull request aims to resolve this issue by implementing tab pagination. For more information on why I went this route rather than just changing flex-wrap or overflow, please see the tabs section of the material design specifications (https://material.google.com/components/tabs.html).
Please let me know your thoughts on this.

This is a great idea! I've been trying it out and I'd implement it slightly differently. While using it I noticed that moving back and forward moves the arrow with the same effect as when you change the tab. This can be prevented if the scroll container wraps the whole element including the pointer and it is absolute positioned from the parent. Also it would be more performant since we don't need to repaint the pointer when we move along the tabs.
What do you think?

Thank you for the feedback! I think I agree. It's a much smoother experience. I went ahead and made the changes.

Should be good to go!

Great, thanks! I've made some changes like injecting the FontIcon, not render the arrows if they are not displayed and removing a couple of timeouts that I think are no longer needed.
Great work!

Awesome! Thank you for taking this in. Did not see that the FontIcon was exactly what I needed.


Create tailwind classes for different types of text

to ensure das the same type of text is the same all over the app (height, color, darkmode color, hover, active etc) I need to create classes, or whatever the concept is called, in tailwind to bundle the look of text

this is smth I can do with the frontend rewrite for nuxt3 or with new classes, but I'm not gonna spend time on it now, I'd rather get things done


Um, did I screw up something with branching?

I'm kinda new to github (been Mercuarial guy all these years)
Anyway, replaced the hard coded /16 with $NETMASK

Oh, I made booboo


Update README.md

Completed spelling and grammar check

Howdy @CynoidIT , welcome aboard ☀ and many thanks for making this repo better 🙏
I was about to review but then noticed some conflicts with head, since you're more familiar with the nature of your change - See if you can resolve them quickly? If not, I'll do this in the next course of days

Thanks for reaching out. My changes were just some minor edits to spelling and grammar. It seems my PR is quite a bit behind now and probably not useful. I am going to close this PR.


GTSAM error on loop closure

On the loop closure launch file using the kitti dataset I get an error right after it finds the first loop. Anybody else experiencing this? I am using a Jetson TX2 with a base ROS install.
I0715 20:08:52.220171  4611 incremental_estimator.cpp:251] linked_workers after Group 0: 0
terminate called after throwing an instance of 'gtsam::IndeterminantLinearSystemException'
what():
Indeterminant linear system detected while working near variable
415 (Symbol: 415).
Thrown when a linear system is ill-posed.  The most common cause for this
error is having underconstrained variables.  Mathematically, the system is
underdetermined.  See the GTSAM Doxygen documentation at
http://borg.cc.gatech.edu/ on gtsam::IndeterminantLinearSystemException for
more information.
[segmapper-4] process has died [pid 4391, exit code -6, cmd /home/nvidia/ws/devel/lib/segmapper/segmapper_node __name:=segmapper __log:=/home/nvidia/.ros/log/0177a092-888c-11e8-9e49-00044ba7e9bf/segmapper-4.log].
log file: /home/nvidia/.ros/log/0177a092-888c-11e8-9e49-00044ba7e9bf/segmapper-4*.log

Hi @isakdiaz could you look further into this issue? Did the loop closure appear to be correct? Was it in a location where a loop should be closed? You could try experimenting with different noise models. It is also possible to print or export the GTSAM graph to see whether anything looks wrong.

Hi! I'm running with the exact same issue. After a loop closure has been found, when trying to correct the map, I get the same error. The loop closure seemed correct in rviz. Some more hints on how to solve this would be awesome, as I'm not familiar with the GTSAM library. Thanks in advance!


Add DELETE API to Microsoft.Security applicationWhitelistings

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[x] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[x] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[x] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

You don't have permission to trigger SDK Automation.
Please add yourself to Azure group from opensource portal if you are MSFT employee,
or please ask reviewer to add comment *** /openapibot sdkautomation ***.
Please ask<EMAIL_ADDRESS>(or NullMDR in github) for additional help.

@ArcturusZhang @tjprescott  can you please review? thanks

/azp run

LGTM. Is this PR sufficient or do you still need the other one open with all of the other changes?

@tjprescott i don't need the other one open, you can close it

/azp run

Is this a management or data plane swagger? Data plane swaggers aren't reviewed by ARM. @ArcturusZhang

Is this a management or data plane swagger? Data plane swaggers aren't reviewed by ARM. @ArcturusZhang

Well, the changed file is under resource-manager directory, I suppose this is a management-plane swagger.

@ArcturusZhang @tjprescott what is blocking this PR from being reviewed & merged ?

As this is a management plane change, it should be reviewed by the ARM team first and then the management SDKs team in Shanghai. I'm part of the data plane SDKs team, so the bot should not have assigned the original PR to me. I suspect it did so because of all the changes that were pulled into that (the reason so many people were tagged as code owners). @KrisBash who would be the right ARM team member to review this?

@KrisBash @ArcturusZhang can you please assist in getting a reviewer for this change ?
Thanks

@ravbhatnagar - are you OnCall now ? can you please review?

Can one of the admins verify this patch?


Would you like to create a wechat / discord group for RDT1B?

Thank you for the suggestion!  You can stay connected through the following channels:

WeChat:

Discord: https://discord.gg/vsZS3zmf9A

@ethan-iai Hi, could you please create another WeChat group? Group 3 has more than 200 members. Thank you!

Hello,
Please find the QR codes for the RDT WeChat groups at the following link: WeChat Groups. Currently, Groups 4 and 5 are available.
Thank you!

can share the QR code again?


Pylint errors with Click

Thanks for submitting an issue to the MOOC Workbench. Please follow the structure below so we can easily try and categorize your issue.
Also, please check if it hasn't been reported already before submitting a new issue and if you happen to have a screenshot, that would helpful as well! Thanks!
Summary
Pylint gives an error for the make_dataset file that args are missing, but they are there provided with the decorators.
Expected behavior
Pylint should not give an error for this function and should also not warn for unused_arguments
Additional notes
Recommend to set Pylint at the module level to ignore these errors and warnings
https://stackoverflow.com/questions/24130248/how-do-i-hide-pylint-1-2-1-error-output-when-using-django

Fixed


Macros: Failure to compile redirecting factories

While working on a port of my serialization library, I found following compiler crash while implementing a redirecting factory.
Crash when compiling:
org-dartlang-augmentation:/REDACTED/factories_minimal_report/bin/factories_minimal_report.dart-1:4:18: Internal problem: Expected 'null', but got 'ReturnStatement'.
int? arg;factory Test({int? arg}) = TestImpl;Test.name({this.arg});
                 ^

#0      internalProblem (package:front_end/src/fasta/problems.dart:52:5)
#1      unexpected (package:front_end/src/fasta/problems.dart:78:10)
#2      RedirectingFactoryBuilder.setRedirectingFactoryBody (package:front_end/src/fasta/source/source_factory_builder.dart:388:7)
#3      ClassDeclarationMixin.resolveConstructors (package:front_end/src/fasta/source/class_declaration.dart:161:25)
#4      SourceLibraryBuilder.resolveConstructors (package:front_end/src/fasta/source/source_library_builder.dart:1618:24)
#5      SourceLibraryBuilder.resolveConstructors (package:front_end/src/fasta/source/source_library_builder.dart:1611:38)
#6      SourceLoader.resolveConstructors (package:front_end/src/fasta/source/source_loader.dart:1688:24)
#7      KernelTarget.buildOutlines.<anonymous closure> (package:front_end/src/fasta/kernel/kernel_target.dart:522:14)
<asynchronous suspension>
#8      withCrashReporting (package:front_end/src/fasta/crash.dart:133:12)
<asynchronous suspension>
#9      KernelTarget.buildOutlines (package:front_end/src/fasta/kernel/kernel_target.dart:427:12)
<asynchronous suspension>
#10     _buildInternal (package:front_end/src/kernel_generator_impl.dart:152:7)
<asynchronous suspension>
#11     withCrashReporting (package:front_end/src/fasta/crash.dart:133:12)
<asynchronous suspension>
#12     generateKernel.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:50:12)
<asynchronous suspension>
#13     CompilerContext.clear (package:front_end/src/fasta/compiler_context.dart:130:3)
<asynchronous suspension>
#14     generateKernel (package:front_end/src/kernel_generator_impl.dart:49:10)
<asynchronous suspension>
#15     kernelForModule (package:front_end/src/api_prototype/kernel_generator.dart:106:11)
<asynchronous suspension>
#16     SingleShotCompilerWrapper.compileInternal (file:///REDACTED/dart-sdk/sdk/pkg/vm/bin/kernel_service.dart:405:11)
<asynchronous suspension>
#17     Compiler.compile.<anonymous closure> (file:///REDACTED/dart-sdk/sdk/pkg/vm/bin/kernel_service.dart:216:45)
<asynchronous suspension>
#18     _processLoadRequest (file:///REDACTED/dart-sdk/sdk/pkg/vm/bin/kernel_service.dart:887:37)
<asynchronous suspension>

While the analyzer runs without any errors and also recognized the constructor, trying to run the code via dart run results in the previously included crash. Using non redirecting factories works like expected.
Isolated example: https://github.com/helightdev/FactoriesIssueMinimal
dart --version:
Dart SDK version: 3.5.0-edge.fb057ea4e07de2af624688455925c0ca07afe04f (main) (Wed May 22 05:18:52 2024 +0000) on "linux_x64"

Macro Definition
macro class TestMacro implements ClassTypesMacro, ClassDeclarationsMacro  {

  const TestMacro();

  @override
  FutureOr<void> buildTypesForClass(ClassDeclaration clazz, ClassTypeBuilder builder) {
    var implName = "${clazz.identifier.name}Impl";
    builder.declareType(implName, DeclarationCode.fromParts([
      "class $implName extends ${clazz.identifier.name} {",
      "  factory $implName({Object? arg = #default_value}) {",
      "    return $implName._(arg: arg == #default_value ? 5 : arg as int?);",
      "  }",
      "  $implName._({int? arg}) : super.name(arg: arg);",
      "}"
    ]));
  }

  @override
  FutureOr<void> buildDeclarationsForClass(ClassDeclaration clazz, MemberDeclarationBuilder builder) {
    builder.declareInType(DeclarationCode.fromParts([
      "int? arg;",
      "factory ${clazz.identifier.name}({int? arg}) = ${clazz.identifier.name}Impl;",
      "${clazz.identifier.name}.name({this.arg});"
    ]));
  }
}

Usage
void main() {
  Test(arg: 5);
}

@TestMacro()
class Test {}

Ok, might be a duplicate of #55432

Just removing the bodyInternal != null check
if (bodyInternal != null) {
 unexpected("null", "${bodyInternal.runtimeType}", charOffset, fileUri);
}

in RedirectingFactoryBuilder.setRedirectingFactoryBody and SourceFactoryBuilder.setRedirectingFactoryBody appears to actually fix this specific case, it then compiles without errors and shows the expected behavior at runtime, at least in the simple case I tested.


Error while making notion-cli

I'm getting the below error while making notion-cli :
$ make notion-cli
cabal update
Downloading the latest package list from hackage.haskell.org
Package list of hackage.haskell.org is up to date at index-state 2022-12-22T07:53:18Z
cabal build
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: notion-cli-<IP_ADDRESS> (user goal)
[__1] next goal: bytestring (dependency of notion-cli)
[__1] rejecting: bytestring-<IP_ADDRESS>/installed-<IP_ADDRESS> (conflict: notion-cli
=> bytestring^>=0.10.12)
[__1] skipping: bytestring-<IP_ADDRESS>, bytestring-<IP_ADDRESS>, bytestring-<IP_ADDRESS>,
bytestring-<IP_ADDRESS>, bytestring-<IP_ADDRESS> (has the same characteristics that
caused the previous version to fail: excluded by constraint '^>=0.10.12' from
'notion-cli')
[__1] trying: bytestring-<IP_ADDRESS>
[__2] next goal: base (dependency of notion-cli)
[__2] rejecting: base-<IP_ADDRESS>/installed-<IP_ADDRESS> (conflict: bytestring =>
base>=4.2 && <4.16)
[__2] skipping: base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS> (has the same characteristics that caused the
previous version to fail: excluded by constraint '>=4.2 && <4.16' from
'bytestring')
[__2] rejecting: base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>, base-<IP_ADDRESS>,
base-<IP_ADDRESS> (constraint from non-upgradeable package requires installed
instance)
[__2] fail (backjumping, conflict set: base, bytestring, notion-cli)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, bytestring, notion-cli
make: *** [Makefile:18: notion-cli] Error 1

I'm so sorry for my late reply :bow:
With GHC version 9, the dependencies were broken.
I have fixed the dependencies with #4 to solve and build.
Thank you for your telling me :+1:


API oddity

This isn't ideal:

t allows type checking for Roblox Enums!
t.Enum
Ensures the value is an Enum, i.e. Enum.Material.
t.EnumItem
Ensures the value is an EnumItem, i.e. Enum.Material.Plastic.
but the real power here is:
t.enum(enum)
This will pass if value is an EnumItem which belongs to enum.

t.EnumItem is clearly the correct name, hence Enum.Material:GetEnumItems() would fetch an array of of them. However, t.Enum is supposedly true for Enum.Material but not Enum.Material.Plastic?
What is currently t.Enum should be changed to t.EnumType and t.enum should be changed to t.Enum (nothing belongs to enum, it belongs to Enum)
Hence:
print(Enum.Material.Plastic.EnumType) --> Enum.Material

The API uses Roblox's primitives names from typeof(). Technically t.enum() could probably be t.enumItemOf(), but that's a little too verbose for me.
Anyhow, I'd prefer not to make breaking changes over naming conventions.


Type information in hover response useless in some cases

Right now clangd just echoes the declaration line, which is mostly fine, except in two cases:

auto it = some_struct_type.member_array.begin();

Echoing this line is not very useful, because the user wouldn't find out what is the actual type of the iterator and so it becomes hard to find out what is the type returned by operator*.
Discovering the value_type of member_arry isn't that difficult, unless it's defined in some large generated file that makes every editor choke (except vim in compatible mode).

Another case where hover response is not very useful is with super long braced init-lists.

More specifically, on this line, the hover response is completely useless, because code_points is declared like this.
On the other hand, ycmd's libclang based completer can retrieve type with auto resolved.  https://github.com/Valloric/ycmd/blob/master/cpp/ycm/ClangCompleter/TranslationUnit.cpp#L308

Agree, returning the type as written is nice in some cases (it's usually terse!) but is catastrophically bad for auto and... mixed at best for things like value_type.
The YCM + libclang logic looks more sensible at first glance, we may also be able to enhance some cases further with access to the C++ API.

Ah, so I'd forgotten the tricky issue here.
As you've seen there's no "type information" request in LSP, just the "hover" request with as unstructured response.
I think the idea behind our current hover responses is that pretty-printing the decl gives a sense of:

the kind of thing that's being hovered (a variable?)
a sense of where it came from (namespace?)
its type (int?)
its definition (= 42)
its documentation, maybe

But it's not doing a great job of any of these, and then we've bound the response to :YcmCompleter GetType where users rightly expect a detailed type and nothing else.
I think we need to internally build a structured representation of the hover information, with proper detailed type info. Then we can render a nicer hover response, and probably also provide something more suitable for GetType as an extension.
Assigning to @kadircet as he's starting to look at improving hover.

Yes, textDocument/Hover is one of my least favourite parts of the protocol in general.
Here's a proposal how structuring Hover could work:

Return an array of MarkedStrings
First MarkedString can be a dictionary { "language": "cpp", "value": type_information }
Every other MarkedString should be used for documentation (YCM's GetDoc)

Alternatively, instead of sending an array of strings, send one large string with embedded new lines.

That is what jdt.ls returns when both type and documentation information is available. When one of those isn't available, it might return just the dictionary or just the list of strings.

We'll need to make sure that as well as having accessible structure, they look good when rendered by clients naive to that structure.
There's also the issue that the MarkedString[] response is deprecated, so a MarkupContent might be preferable.
So another option would be to add extensions to MarkupContent like:
  "kind": "markdown",
  "value": "function ns::**foo**(v)\n\nsome doc\n\n```cpp\nvoid foo(int v);",
   "name": "foo",
   "scope": "ns::",
   "type": "void(int)",
   "category": "function",
   "definition": "void foo(int v);",
   "documentation": "some doc",
}```

That way we can still provide a nicely-formatted string and tweak the layout over time, but YCM can properly support `GetType` without any brittle parsing.

Alternatively, we could hide all this extra structure in clangd and just define new methods to get at the type.

I don't see MarkedString declared deprecated anywhere in the protocol specifications, even though it is older than MarkupContent.
I'm personally not a fan of markup hover response, because the editor I care about (vim) doesn't have a markup parser (at least by default).

I see this on the definition of MarkedString: @deprecated use MarkupContent instead.
MarkupContent can be plain text (and will be if the client doesn't advertise markdown support via capabilities)

This is partially addressed in https://github.com/llvm/llvm-project/commit/287a874d1c460302677a1530a75d94bae4d4a348.
I say partially because we still miss pretty printing for auto types and handling of long initializer lists.
but at least, we know print the underlying type when hovering over auto typed variables.
Note that this also changes the hover output, so with next clangd release :YcmCompleter GetType functionality might need to be adjusted, happy to chat about it more.

Is there any chance to resolve the type of a lambda auto parameter?
foo([](auto p){});

Btw is this a duplicate of #58?

Is there any chance to resolve the type of a lambda auto parameter?
foo([](auto p){});

I believe that depends on the signature of foo. If the parameter type is a concrete function pointer type (e.g. void(*)(int)) and the lambda has no captures (so that it can be converted to a function pointer), then yes, we should be able to determine what the type of the instantiated parameter p for the call will be.
It's probably worth having this case on file as a separate issue, as it's kind of a special case / not the typical case of deducing auto from an initializer.

As Kadir mentioned, type information is now split out from the declaration (for quite a while now!). I think that's the core issue here, so we should close this bug.
I've opened separate bugs for the other issues raised here:

huge initializers #710
sugar on auto variables #709


Improve HM Heartbeat Reporting

The BOSH Agent sends heartbeats with one of the following states:

"stopped"
"starting"
"running"
"failing"
"unknown"

However, the BOSH Health Monitor reports "running" state as system.healthy = 1 and all other states as system.healthy = 0.
This change addresses that as follows:

In addition to "running", "starting" and "stopped" are now considered as healthy. NOTE: it could be argued that "stopped" should be considered as unhealthy. However, it's generally going to be the case that a process on the instance is stopped because a bosh deploy is underway, or some other similar and intentional action. For processes that are actually in a bad state, and not down intentionally, those are very likely to be reported as "failing" or "unknown". Thus...
A system.unhealthy metric is added in order to make it easier to monitor for unhealthy states. So, "failing" and "unknown" states will emit system.unhealthy = 1, and all others will emit system.unhealthy = 0.
A distinct metric is added for each particular state, making it easier to add detailed monitoring:

system.health.stopped = 1
system.health.starting = 1
system.health.running = 1
system.health.failing = 1
system.health.unknown = 1

@cppforlife @dpb587 @tylerschultz, updated this PR to restore the existing system.healthy definition, and simply add the new system.health.#{state} metrics.

merge story #152973272

It seems that this change got lost in the backlog madness. I'm going to close and re-open this PR to generate a story.


Display players model on main menu

Codecov Report

Merging #286 (7230275) into master (54900df) will decrease coverage by 0.06%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master    #286      +/-   ##
=========================================
- Coverage    7.34%   7.28%   -0.07%
=========================================
  Files         195     196       +1
  Lines        4260    4298      +38
  Branches     1390    1414      +24
=========================================
  Hits          313     313
- Misses       3798    3836      +38
  Partials      149     149

Impacted Files
Coverage Δ

src/game/Game.cpp
0.00% <0.00%> (ø)

src/game/components/Background.hpp
0.00% <0.00%> (ø)

src/game/scenes/MainMenuScene.cpp
0.00% <0.00%> (ø)

src/game/scenes/SettingsMenuScene.cpp
0.00% <0.00%> (ø)

src/game/systems/DrawTextureBackground.hpp
0.00% <ø> (ø)

Continue to review full report at Codecov.

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


The LLMModelRegistryService must use hashcode to avoid duplicates in xml

The LLMModelRegistryService stores models to devoxxGenieLLMModels.xml but because the LanguageModel has no unique identifier it appends the models to the xml file.  Resulting in a big growing xml file

Fixed


r.text.split('"client_revision":', 1)[1].split(",", 1)[0] IndexError: list index out of range

when using useragent like this
user_agent ="Mozilla/5.0 (Linux; U; Android 8.1.0; ASUS_X00TD Build/OPM1; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/75.0.3770.89 Mobile Safari/537.36 OPR/43.2.2254.140293"
this error pops up everything works fine when using small useragents  however this isnt limited to only this useragent
Traceback (most recent call last):
File "C:\Users\vin\Desktop\fbvinbot\main.py", line 114, in
client = EchoBot(email , pas,session_cookies = cookies, user_agent=user_agent)
File "C:\Python27\lib\site-packages\fbchat_client.py", line 102, in init
self.login(email, password, max_tries)
File "C:\Python27\lib\site-packages\fbchat_client.py", line 499, in login
login_successful, login_url = self._login()
File "C:\Python27\lib\site-packages\fbchat_client.py", line 369, in _login
self._postLogin()
File "C:\Python27\lib\site-packages\fbchat_client.py", line 337, in _postLogin
r.text.split('"client_revision":', 1)[1].split(",", 1)[0]
IndexError: list index out of range

I've tested this, and can confirm your findings. The reason you're getting that error is because the user agent you've specified resembles a mobile phone - Which means we're being redirected to m.facebook.com. The code for finding the client_revision assumes that it sees the desktop home page, and for that reason it crashes.
Your best bet? Don't use a user agent that resembles a mobile phone 😉. I'm guessing that even if I did fix this, a lot of code elsewhere makes the same assumption, so I'll close this as "wontfix".


Week 1, Group 2

Contributors :
Task 1 : Santanu Ganguly and Claudio Giampa'
Task 2 : Eunice Ofori Addo and Ajinkya Borle
Business App : Claudio Giampa' and Ajinkya Borle

Thanks for your work on this!  For next time, note that the video file should be an external link (so that we don't burden the repository with a large video data file).


[Bug] install-dbainstance

when executing on PS4.0, it is throwing the following error:
WARNING: [12:27:47][Invoke-DbaAdvancedInstall] Failed to copy file C:\Users\prof\AppData\Local\Temp\Configuration_2017.ini to C:\Users\prof\AppData\Local\Temp\Configuration_2017.ini on servername.fqdn
, exiting | A parameter cannot be found that matches parameter name 'ToSession'.
Also has a problem restarting the server when using the -restart switch on PS4.0.

right, -tosession is not available on 4.0

right.  spoke to @nvarscar on slacker and he asked me to post this as a bug since dbatools support posh 3.0+

Thanks stale bot, I'll try to finally remember to fix it.

I am using PS4.0 and having the same issue with Install-dbainstance command of DBATOOLS. did anybody find a solution?

@nvarscar : I think I slipped you a piece of code back then to make sure copying works even in PS3. if you need it I can pass it to you again.

This issue doesn't occur with PS 5.0 or above ?

yep, at least when originally posted the function used something PS 4 hasn't, it came only with 5.0

Did anybody successfully use Install-Dbainstance command ? even with PS 5.1 i am seeing other issues like the PS is hung at "generating configuration file", doesn't proceed further at all.

I've used it. What does the -Verbose output say?

Not seeing any switch called Verbose in install-dbainstance.

That's a general switch you can use with every command (powershell wide, not dbatools specific).

Got stuck once at verifying access.after ps restart, Next time got stuck at copying ini file from local to remote server. Verbose says "writing ini file to....." and prompted me for confirmation but not allowing me to click on yes as it is already in hung state

If you don't want the confirmation, you can add -Confirm:$false. If you send the exact output, I can find the position in the code...

After a millionth try, finally installation is happening. Not sure why everytime the PS hangs at different stages?

When inputs for 'feature' are taken from user and concatenated with a comma separtor and passed to install-dbainstance, it throws error : cannot validate argument on parameter 'feature'. The argument "engine,replication,fulltext" does not belong to the set "default All,engine,tools,replication......" specified by the validateset attribute. Supply an argument that is in the set and try the command again. Any idea how to resolve this issue?

Some issue bcos of the double quotes which i just cant figure out.

Can anybody say why install-dbainstance command hangs everytime in various stages like sometime in "verifying access to setup file" , sometimes in writing to config file etc etc. After a millionth restart of powershell window, may be i m able to complete the installation.

@niphlod it would be great if you did that again, I can't find it anywhere.
@RikRikky perhaps, there's an antivirus that prevents certain activities? This kind of behavior (if you're not talking about waiting for confirmation) was not reported anywhere else as far as I'm aware and antivirus is the only thing that comes to my mind.

In install-dbainstance, instancepath parameter doesnt accept just the drive letter like D: or D:\ ? It throws error "illegal characters in the path"

How to provide multiple directories for multiple tempdb files in the configuration parameter ? Like D:\temp1, D:\temp2, D:\temp3, D:\temp4

In install-dbainstance, instancepath parameter doesnt accept just the drive letter like D: or D:\ ? It throws error "illegal characters in the path"

This command passes that value to the installer as is. If the installer wouldn't work with it - there's nothing we can do about it.

How to provide multiple directories for multiple tempdb files in the configuration parameter ? Like D:\temp1, D:\temp2, D:\temp3, D:\temp4

Based on this doc, you need to provide directories separated by a blank space. Let me know how that goes, I'm curious. Quote:

Specifies the directories for tempdb data files. When specifying more than one directory, separate the directories with a blank space. If multiple directories are specified the tempdb data files will be spread across the directories in a round-robin fashion.


774 2 allow custom color to be passed to the button loader

 (2) Allow custom color to be passed to the  loader

👍


Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-qu23jn2x/Rtree/

$ pip3 install osmnx
Collecting osmnx
  Using cached https://files.pythonhosted.org/packages/d3/16/e3975ec7dbece719d825259754d708312688732444779fd7dfd99322ce40/osmnx-0.12-py2.py3-none-any.whl
Collecting pandas>=1.0 (from osmnx)
  Using cached https://files.pythonhosted.org/packages/4a/6a/94b219b8ea0f2d580169e85ed1edc0163743f55aaeca8a44c2e8fc1e344e/pandas-1.0.3-cp37-cp37m-manylinux1_x86_64.whl
Collecting geopandas>=0.7 (from osmnx)
  Using cached https://files.pythonhosted.org/packages/83/c5/3cf9cdc39a6f2552922f79915f36b45a95b71fd343cfc51170a5b6ddb6e8/geopandas-0.7.0-py2.py3-none-any.whl
Collecting matplotlib>=3.2 (from osmnx)
  Using cached https://files.pythonhosted.org/packages/b2/c2/71fcf957710f3ba1f09088b35776a799ba7dd95f7c2b195ec800933b276b/matplotlib-3.2.1-cp37-cp37m-manylinux1_x86_64.whl
Collecting numpy>=1.18 (from osmnx)
  Using cached https://files.pythonhosted.org/packages/e7/38/f14d6706ae4fa327bdb023ef40b4d902bccd314d886fac4031687a8acc74/numpy-1.18.3-cp37-cp37m-manylinux1_x86_64.whl
Collecting pyproj>=2.6 (from osmnx)
  Using cached https://files.pythonhosted.org/packages/ae/d2/28fda2c7e9b43cc68837009ef6388b04499abbcfd25984ba953a2060b13d/pyproj-2.6.0-cp37-cp37m-manylinux1_x86_64.whl
Collecting Rtree>=0.9 (from osmnx)
  Using cached https://files.pythonhosted.org/packages/56/6f/f1e91001d5ad9fa9bed65875152f5a1c7955c5763168cae309546e6e9fda/Rtree-0.9.4.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-qu23jn2x/Rtree/setup.py", line 3, in <module>
        import rtree
      File "/tmp/pip-install-qu23jn2x/Rtree/rtree/__init__.py", line 1, in <module>
        from .index import Rtree
      File "/tmp/pip-install-qu23jn2x/Rtree/rtree/index.py", line 6, in <module>
        from . import core
      File "/tmp/pip-install-qu23jn2x/Rtree/rtree/core.py", line 143, in <module>
        rt.Error_GetLastErrorNum.restype = ctypes.c_int
      File "/usr/lib/python3.7/ctypes/__init__.py", line 377, in __getattr__
        func = self.__getitem__(name)
      File "/usr/lib/python3.7/ctypes/__init__.py", line 382, in __getitem__
        func = self._FuncPtr((name_or_ordinal, self))
    AttributeError: /usr/bin/python3: undefined symbol: Error_GetLastErrorNum

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-qu23jn2x/Rtree/

I've tried to solve it, but the things I found online didn't work for me. Maybe someone here as a solution specific to osmnx. I didn't manage to install it.

Check the following similar issues: #3 , #45
This worked for me on mac:
brew install spatialindex
pip3 install osmnx

This worked for me on mac

Thanks @RuiLoureiro. @sevku per the documentation:

you can install OSMnx via pip (if you already have all of its dependencies installed on your system)

You're getting that error because you don't have the dependencies already installed on your system. RTree depends on libspatialindex, which @RuiLoureiro demonstrates how to install in advance. OSMnx is pure python, so its installation is trivially easy, but some of its dependencies have complicated installation. Using conda makes this easy, but you can try to install the dependencies manually yourself with apt, brew, similar tools, or from source.


Update database.json

Updated database.json to point towards the new mezzanine content for CAAC, CAAA and CAMC

The PR in itself is ok.
FYI I curl randomly a mpd and I saw this:
    <SegmentTimeline>
     <S t="0" d="89150"/>
     <S d="94208" r="13"/>
     <S d="31938"/>
    </SegmentTimeline>

Does this pattern looks ok to you?

Yes that pattern is correct.

@nicholas-fr Do you confirm it looks ok ?
Then we can merge.

I merged it but your first segment duration is shorter than the other ones. This doesn't look good to me.

The current validation script does not yet support audio test vectors, and needs more work (also for video).
I would expect consistent segment durations, based on our past discussions and validation of video test vectors.
Have these new test vectors at least passed JCCP validation?
I believe we had agreed that passing JCCP validation (or having bugs logged for any issues) was an acceptance criteria for new test content.

As discussed in the DPCTF call, it would be great to attach JCCP test reports with submitted material. Can we establish such a process?

Concerning the segment lengths.
The aac codecs add padding to the start of the audio.
This is compensated for by an editlist box in the init segment informing the player to skip the padding during playback.
This means the encoded and playback duration are different for the audio.
As the fragmentation and segmentation is based on the encoded duration this results in the first segment having a shorter playback duration as shown in the MPD when the encoded duration of each segment is constant.
Therefore the first segment being shorter in the MPD by an amount equal to the padding is expected.

As the fragmentation and segmentation is based on the encoded duration this results in the first segment having a shorter playback duration

Well it is based on whatever the muxing implementation does. I checked for GPAC and we changed the behaviour last December following a request from Fraunhofer for MPEG-H.
I don't think that was correct for older codecs. We discussed. And the old behaviour is back for most codecs.
Both results are correct. But if the validation script expects "consistent segment durations" (as @nicholas-fr said) we should consider regenerating.

Both results are correct. But if the validation script expects "consistent segment durations" (as @nicholas-fr said) we should consider regenerating.

I can adapt the validation script as needed. I anyway need to add proper support for the audio test streams.


Brazel Test Error

jl@agt:~/Projects/waymo-od$ bazel test waymo_open_dataset/metrics:all
INFO: Call stack for the definition of repository 'remotejdk11_linux' which is a http_archive (rule definition at /home/jl/.cache/bazel/_bazel_jl/9cc2d1b6736ff1b9d8fd088485e47d28/external/bazel_tools/tools/build_defs/repo/http.bzl:237:16):

/DEFAULT.WORKSPACE.SUFFIX:199:1
INFO: Call stack for the definition of repository 'remote_java_tools_linux' which is a http_archive (rule definition at /home/jl/.cache/bazel/_bazel_jl/9cc2d1b6736ff1b9d8fd088485e47d28/external/bazel_tools/tools/build_defs/repo/http.bzl:237:16):
/DEFAULT.WORKSPACE.SUFFIX:239:1
INFO: Call stack for the definition of repository 'remote_coverage_tools' which is a http_archive (rule definition at /home/jl/.cache/bazel/_bazel_jl/9cc2d1b6736ff1b9d8fd088485e47d28/external/bazel_tools/tools/build_defs/repo/http.bzl:237:16):
/DEFAULT.WORKSPACE.SUFFIX:5:1
ERROR: An error occurred during the fetch of repository 'remote_java_tools_linux':
java.io.IOException: Error downloading [https://mirror.bazel.build/bazel_java_tools/releases/javac11/v2.0/java_tools_javac11_linux-v2.0.zip] to /home/jl/.cache/bazel/_bazel_jl/9cc2d1b6736ff1b9d8fd088485e47d28/external/remote_java_tools_linux/java_tools_javac11_linux-v2.0.zip: connect timed out
ERROR: /home/jl/.cache/bazel/_bazel_jl/9cc2d1b6736ff1b9d8fd088485e47d28/external/bazel_tools/tools/jdk/BUILD:222:1: @bazel_tools//tools/jdk:JacocoCoverageRunner depends on @remote_java_tools_linux//:java_tools/JacocoCoverage_jarjar_deploy.jar in repository @remote_java_tools_linux which failed to fetch. no such package '@remote_java_tools_linux//': java.io.IOException: Error downloading [https://mirror.bazel.build/bazel_java_tools/releases/javac11/v2.0/java_tools_javac11_linux-v2.0.zip] to /home/jl/.cache/bazel/_bazel_jl/9cc2d1b6736ff1b9d8fd088485e47d28/external/remote_java_tools_linux/java_tools_javac11_linux-v2.0.zip: connect timed out
ERROR: Analysis of target '//waymo_open_dataset/metrics:hungarian_test' failed; build aborted: no such package '@remote_java_tools_linux//': java.io.IOException: Error downloading [https://mirror.bazel.build/bazel_java_tools/releases/javac11/v2.0/java_tools_javac11_linux-v2.0.zip] to /home/jl/.cache/bazel/_bazel_jl/9cc2d1b6736ff1b9d8fd088485e47d28/external/remote_java_tools_linux/java_tools_javac11_linux-v2.0.zip: connect timed out
INFO: Elapsed time: 2.587s
INFO: 0 processes.

What is your OS?
ubuntu 16.04

hi @xjjs ,
have you solved this problem? i encounter a similar problem like yours.
looking forward to your reply.

I encounter similar problem. Docker cannot be opened.
Anyone can help me? Thanks.
FATAL: corrupt installation: file '/root/.cache/bazel/_bazel_root/install/fef77c6620e2df6601c65716543927b5/_embedded_binaries/A-server.jar' is missing or modified.  Please remove '/root/.cache/bazel/_bazel_root/install/fef77c6620e2df6601c65716543927b5' and try again.

which command did you use?

which command did you use?

this command: docker run -p 8888:8888 open_dataset

I have a try to install on a new ubuntu machine, other errors happened like the following:
ERROR: An error occurred during the fetch of repository 'remotejdk11_linux':
java.io.IOException: Error downloading [https://mirror.bazel.build/openjdk/azul-zulu11.2.3-jdk11.0.1/zulu11.2.3-jdk11.0.1-linux_x64.tar.gz] to /root/.cache/bazel/_bazel_root/e89ee20e2d4540911970e4093df8e27e/external/remotejdk11_linux/zulu11.2.3-jdk11.0.1-linux_x64.tar.gz: connect timed out

ah.. where did you get this instruction? follow quick start to build or run these docker scripts. They are well-maintained

Thanks, I will try it and report the result.


Release 2.2.0

Coverage increased (+0.3%) to 88.249% when pulling 6d38d63e2824ca58407a32d2c32cb44718acbc4c on develop into 914041500acfa05bde97e26551f7a0a2b79d065e on master.

Coverage increased (+0.3%) to 88.249% when pulling 45ae5b2958cdff6c494b4882c7fb2b49848e4a95 on develop into 914041500acfa05bde97e26551f7a0a2b79d065e on master.

Coverage increased (+0.1%) to 88.105% when pulling 28c714878060ecb126d050e9b72b68adc2bd1c78 on develop into 914041500acfa05bde97e26551f7a0a2b79d065e on master.

Coverage increased (+0.05%) to 88.035% when pulling 7fb28764071154b6b246dfb07a9bcba0e3e543d5 on develop into 914041500acfa05bde97e26551f7a0a2b79d065e on master.


Enable encryption in Ballista

Which issue does this PR close?
Closes #9.
Rationale for this change

Enable TLS in Ballista so that encryption can be enabled.
What changes are included in this PR?

Are there any user-facing changes?

Closed due to branch change


Behavior improvements

Hello
I started to add a bit of JSdoc annotations to get a better intelliSense support by IDE.
At least, it's working well to get autocompletion of lifecycle behavior's definition.

Todo:

[x] more defensive check to call functions by checking typeof property
[x] jsdoc additions for better IDE autocompletion support

Great - thanks @m4n1ok


Partitioned

Depends on:
https://github.com/jpdna/adam/tree/hive_partitions
When reading partitioned datastests, randomly seeking to regions takes less than one second, when previously. 8+ seconds.
Note: recent addition of "cached" Dataset handle in this means that partition discovery is done just once and re-used when filteirng for different regions, gets us to the below 1 second response time.
The initial load when Mango starts, once for the whole genome, does take 8-10 seconds.

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

I've tested on the cluster.
Loading of partitioned alignements works well, is still subsecond scrolling and jumping toregions/
Variants, once loaded also are fast, but when loading variants Mango took serveral minutes to start, and was doing a bunch of work loading the Genotypes prior to the web-server being available.
I need to compare that genotype load issue with the non-partitioned data to see if it is a new problem or not.

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


Remove send_ack_timestamp

aicers/giganto#394

Codecov Report
Patch coverage has no change and project coverage change: -0.34 :warning:

Comparison is base (fb7509e) 45.66% compared to head (b2c79e8) 45.32%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
- Coverage   45.66%   45.32%   -0.34%
==========================================
  Files          11       11
  Lines         484      481       -3
==========================================
- Hits          221      218       -3
  Misses        263      263

Impacted Files
Coverage Δ

src/ingest.rs
100.00% <ø> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Replace command id by doc

id has been deprecated, and replaced by doc with version 0.7
of bump-cli
cf https://github.com/bump-sh/bump-cli/commit/1fbb961922956c168dfcb9e47f93fc908254fb20

Duplication from #4 , sorry


Changes we made and models used in NIPS 2017

Models added

SV (Stan version)

Also comes with a script to generate data
Also comes with the 4 data-sets we used

GMM (gen)
HMM (discrete observations)

Also comes with a script to generate data

Features

Pre-conditioning (#67) added
Fix some IO bugs for un-thinned Gibbs
Use randcat in PG

Will we keep this?

@xukai92
Seems both tests are failing. Could we fix that?

Use randcat in PG Will we keep this?
It's OK to keep it for now. I'll fix this.

@xukai92 Could we create a jupyter notebook that can reproduce the gmm experiment?

Sure. Will do it tonight.

Unsure why Cairo has build error on Win32

@xukai92
The GMM histogram plots for NUTS, Gibbs and Exact is overlapping with each other, could we do the same trick as in the NIPS draft?
@xukai92
The FHMM model seems broken.

@yebai

Sure.
We don't have a FHMM model in the repo. Do you mean the HMM with discrete observation in the nips-2017 path?

AppVeyor fails because of numerical error. I guess it's fine and can you please review the PR @yebai

@xukai92
No problem!


Add support for copying to m4b (no reencode)

Doesn't reencode like the other options, so may be useful for some people.

I'm away from my usual laptop I use to test this script. Does this work for both --single and the default chapter mode?

I'll test later. I may need to use the segment option for it.
On 16 Nov. 2017 12:03 pm, "KrumpetPirate"<EMAIL_ADDRESS>wrote:

I'm away from my usual laptop I use to test this script. Does this work
for both --single and the default chapter mode?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/KrumpetPirate/AAXtoMP3/pull/40#issuecomment-344781392,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJvT5mQAnM5Ylk8Zec3_m_TKPl1oDBxks5s24nhgaJpZM4Qe6cT
.

Hey, sorry I forgot about this one
On 18 Feb. 2018 17:29, "KrumpetPirate"<EMAIL_ADDRESS>wrote:

Merged #40 https://github.com/KrumpetPirate/AAXtoMP3/pull/40.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/KrumpetPirate/AAXtoMP3/pull/40#event-1479397668, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAJvTx9F2IwYEjno0EwOHqQY9DLd4jSXks5tV8M-gaJpZM4Qe6cT
.


Please enable Dropbox file chooser to open kdbx file in arbitrary folder (self hosted app)

I store kdbx file in Applications/Keepass2Android folder and right now I can't get self hosted app to choose file in this location. I set it up to have access to whole Dropbox account but in this config it only shows files in main Dropbox folder without possibility to dive into particular folders.

Folder choosing interface will not be implemented as it requires to much efforts with low business value. Once we have flexible Dropbox settings with a possibility to set custom app id, default folder setting will be added as well so you will be able to use files from custom folder. This is planned for v1.1, with other providers like google drive.

The "work-around" is to allow KeeWeb to create its own DropBox folder and move your kdbx there.  Mark
On Tuesday, February 2, 2016 5:40 AM, pietia7<EMAIL_ADDRESS>wrote:

I store kdbx file in Applications/Keepass2Android folder and right now I can't get self hosted app to choose file in this location I set it up to have access to whole Dropbox account but in this config it only shows files in main Dropbox folder without possibility to dive into particular folders—
Reply to this email directly or view it on GitHub.

I have the exact same issue. Do you have a simple hack that would allow me to hardcode the name of a  Dropbox folder..?

There's no simple workaround. v1.1 will have custom folders support, and (as it's rather frequent request), later versions might have graphical folder chooser.

Implemented on https://beta.keeweb.info
Settings → Dropbox → Full Dropbox or any folder → folder


Migrate the ConfigStore to use standard infrastructure.

Knative has a ton of utilities for managing config storage, watching configmaps, and snapshotting those configmaps onto context during each reconciliation.
This is really just a first chunk, but migrates the bulk of the config package to support the standard interfaces, use the libraries for validation, and leverage the shared configmap watching libraries.
In a subsequent change, it would make the most sense to have the signer extract the config store from the context it is passed instead of having its own reference, but this change has grown overly large already.
/kind cleanup
cc @priyawadhwa @dlorenc

Not sure what's going on here with go-license 😞

I pushed the rest of the change here as a separate commit, but need to sort out the go-license things still, which I'll probably need some pointers on.

Thanks to @dlorenc for spotting the missing newline in ./hack/tools.go 🤦

I screwed something up, I added and removed the follow up commit here, and I want to clean that up.

ok it should be fixed.

Finally green 😅

/lgtm

/approve


Extract file visitor into a separate var

Codecov Report

Merging #969 (b28f848) into main (828036c) will decrease coverage by 0.04%.
The diff coverage is 62.50%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@             Coverage Diff              @@
##               main     #969      +/-   ##
============================================
- Coverage     92.29%   92.25%   -0.04%
- Complexity     2759     2760       +1
============================================
  Files           289      289
  Lines          5516     5516
  Branches        605      605
============================================
- Hits           5091     5089       -2
- Misses          270      272       +2
  Partials        155      155

Files Changed
Coverage Δ

...in/java/net/datafaker/providers/base/Locality.java
77.35% <62.50%> (+1.88%)
:arrow_up:

... and 2 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Magic test not able to run

I'm testing this on a Ubuntu 20.04 VM with Chrome (latest) and I get this javascript error:
1) Tests\Browser\ExampleTest::testBasicExample Facebook\WebDriver\Exception\JavascriptErrorException: javascript error: MagicTest is not defined   (Session info: headless chrome=95.0.4638.69)
how can i fix this?

Seems like that was the issue. Thanks!


change new Array => []

the two versions do slightly different things [1]. especially since it is initialized with a fixed length. it may not matter here though.
[1] http://stackoverflow.com/a/1273936

@leeoniya as looking into source code, the results was only used to collect the sync's results.
without other using.so i think [] is a faster way

new Array(n) pre-allocates a fixed amount of memory and sets the lengthaccordingly, whereas [] set the length to 0 and may or may not reserve slots under the hood.
Using new Array(n) is therefore considered a best practice when you know the length of your result. Even for small values of n, it is faster than [] in most browsers. For larger sizes, the difference is even larger.

While @pygy is right, m.sync isn't so perf sensitive where this change will have any measurable effect. But same can be said about the few saved bytes :)

The wasteful allocations and copying caused by using [] may also cause "remote" performance loss due to CPU cache evictions. It is also unlikely to matter in this case with the small arrays that are used in practice with m.sync, but still.

@pygy yep,you are right.thanks for your test case.i'll close this pr

@pygy I would've accepted this PR, BTW.
Unlike m(), which can benefit slightly from a known numeric length, since it's only preallocating small arrays that are known statically, and is called thousands of times, but m.sync() would be okay with the few bytes shaved. Most engines already preallocate enough in practice to make that optimization irrelevant outside truly performance-critical code.
To be honest, the bottleneck in m() isn't exactly reading the arguments themselves, and that optimization was premature (as well as this one). Most of the work is parsing the selector, which is very important in practice if you're using Mithril idiomatically. This is also mostly why mithril-objectify speeds things up so much in practice - selectors are being parsed at compile-time, not runtime.
And may I add that if this is actually any sort of bottleneck in your app, I'm pretty sure there's other problems going on.
/cc @dayuoba

In the end, I agree that it is unlikely to change a lot, I'm more concerned about a "death by a thouthands paper cuts" thing, where small inefficiencies littered all around creep up and end up making the whole slow. I pointed it out because @dayuoba thought using the literal was faster...

Most engines already preallocate enough in practice to make that optimization irrelevant outside truly performance-critical code.

They don't preallocate. JSPerf failed to save most of the initial session, but I did test each browser I had at hand before commenting (three days ago). Creating then populating an array with n elements is faster with new Array(n) than [], even for n = 2. Edge is the only exception.
For the record (blue is Array(n), red is new Array(n), yellow is [] then for loop, green is [] then .push(), and "Chome 46" is actually Edge).

Now, one could argue that 0 slots is enough in this case ;-)

OT
@pygy when you said "death by a thousand paper cuts", I immediately thought you were referring to the overall state of source code readability :)
It's at times like this I really wish it were easier to apply and trial procedural code optimisation techniques like this via configuration — and compare the output of a matrix of perf test suites using the code itself — rather than debating and hard-coding anecdotal wisdom into the source. But then I suppose if these patterns were truly procedural, JIT compilation would make it moot. Does anybody know of any promising efforts in this direction? The recent rise of performance testing conventions & APIs would seem to marry well with the similar rise in Javascript AST transformers to trial code transformation plugins, but I'm not seeing it.
Nice test case debunking BTW!

@pygy JSPerf isn't usually convincing for non-critical utilities like this, unless it's like a 3x or more perf boost by just making one change (like manually allocating an arguments array instead of using [].slice.call(arguments)).
Death by a thousand papercuts IMHO is Underscore, in which most of its functions are performance-sensitive, yet they're not very well optimized.


Remove OS distro dependencies

@luxas PTAL

Thanks!
Tested on Ubuntu 14.04 and CentOS 7 in docker-bootstrap mode and it works!


One of SchemaProvider switches needs more testing

While working on #64 I noticed $isShowRelShipsInIncluded has no effect on any tests and connected only to parsing strategy.
Possible actions

remove as unused
add tests that covers this behaviour

Should be removed as unused for the reasons

I don't see any reasons why relationships might be excluded from result (but attributes left)
This switch is not actually used while adding relationships in included objects

Doc updated https://github.com/neomerx/json-api/wiki/Schemas#additional-encode-tuning-options


Required restarting Riot.im app after each conectivity change

Hi all,
If I'm switching between Wi-Fi and 4G, or even between different Wi-Fi networks, Riot.im cannot connect to internet without stopping process from Developer options and then starting the app as usually.
Checked devices: Samsung Galaxy S6 with Android 7.0, Lenovo with Android 4.2.1, Google Pixel XL with Android 7.1.1

@SkyWheel
Weird, it will but it might need a little delay : there is no way to cancel a request with the OkHttp version we use so, it should be retried after 30s or so.
could you check on your side ?

@SkyWheel
Could you send a bug report with your devices ?
it seems working on my side. (even if it might require a delay).

It's funny, but when I'm trying to send a bug report within the app, it can't be send due to the same connection issue...
I'll try to fetch some logcat.
As soon as my devices are non-rooted devices (unfortunately :-(  ), it will take some time to setup ADB within computer...

Seems to be resolved in later releases.


MSQuery pagination not working

Hello,
We're using MSQuerys to retrieve data from our Azure Mobile App, where we can easily pull a lot of data (over 1000 rows) however the nextLink property is always empty. Is there a specific setting that we have to enable on the Azure portal for it to be working?
Thanks,

nextLink is currently only populated if you are using the .Net Server SDK, and then it will depend on the attribute you are using on your controller.  (I believe Node will get nextLink support soon, it may already have it in its newest beta)
For .Net, by default there is a PageSize of 100, which means you will get a next link when you ask for $tops > 100, i.e. $top=1000 will give you 100 records + nextLink with some kind of skip=100&top=900 logic.
($top will be the fetchLimit on the MSQuery object)
If you overrode that to use MaxTop of others, than I am not as sure as how Asp.Net/WebApi handles the nextLink logic.
If thats what you are doing, and you see a "link : next; https://.....?$..." via PostMan/etc using the REST API and its just not populating the MSQueryResult's nextLink, let me know.

[Queryable(PageSize = X)] (or MaxTop) is the attribute you should use on your table if you are overloading the default page sizes.  (Also, the default may be 50 after thinking on it, I'm not 100% sure)

Thanks @phvannor for that detailed reply! I'll check this out with the backoffice team, thanks!

Actually by using a REST client I inspected the headers and I'm not getting a link : next HTTP header field. The parameters passed are the following ?$filter=(IdMarkets%20eq%2053l)&$top=100. I'm getting 100 fields returned.

I ran quick test on a .Net based backend (http://phil-net.azurewebsites.net/tables/roundTripTable?$top=50) And I see a link header on no top or top > pageSize.  But none if top <= pageSize.  Looks like the default size is 50.
Did you try a larger size like 1000?  Or can you verify what backend (Node vs .Net) and version they have published, plus if they are using an override, like MaxTop or PageSize?

Hello Phillip, sorry for the late reply.
I've been told we're using a .Net backend. Under the App Services tab, in Application Settings we're using a .Net framework version 4.6. I didn't find the MaxTop or the PageSize under App settings. However I did find these values set for the MS_EnabledBetaFeatures
AAD,appsettings,byonappcreate,byonpush,connectionstrings,dotnetruntime,externalpushentity,hybridconnections,opconcurrency,softdelete,webappmigration

The settings I referred to don't live in the App Settings, they are actually controller attributes on the C# classes.  Like so:
https://github.com/Azure/azure-mobile-apps-net-server/blob/master/e2etest/Controllers/Table/MoviesController.cs#L26
https://github.com/Azure/azure-mobile-apps-net-server/blob/1747c0df2f0f3b7641b93bc0155ef0ce36046178/samples/SampleApp/Controllers/GreenController.cs#L27

@phvannor Hey Philip, thank's again for your great support.
After a chat with the team, the backend is actually in Node.JS (another part of the app is in .Net).

(I believe Node will get nextLink support soon, it may already have it in its newest beta)

Since the nextLink isn't available for Node.JS however it may be available in its newest beta, how can we opt-in the newest beta?
From a quick inspection on google we can get a nextLink if we implement custom APIs?
Thanks,

The latest Node server's repo is here: https://github.com/Azure/azure-mobile-apps-node  It looks like it will send the Link header (see: https://github.com/Azure/azure-mobile-apps-node/blob/d693bf06ad3b03de31ec3f885265ab48e68eacba/src/express/middleware/nextLink.js)
Latest would be 2.0.0.beta2 (https://www.npmjs.com/package/azure-mobile-apps), probably easiest to close this issue and open a question issue on the Node repo directly for further help.

Alright, thanks again for your help!
On Tuesday, January 5, 2016, Phillip Van Nortwick<EMAIL_ADDRESS>wrote:

The latest Node server's repo is here:
https://github.com/Azure/azure-mobile-apps-node It looks like it will
send the Link header (see:
https://github.com/Azure/azure-mobile-apps-node/blob/d693bf06ad3b03de31ec3f885265ab48e68eacba/src/express/middleware/nextLink.js
)
Latest would be 2.0.0.beta2 (
https://www.npmjs.com/package/azure-mobile-apps), probably easiest to
close this issue and open a question issue on the Node repo directly for
further help.
—
Reply to this email directly or view it on GitHub
https://github.com/Azure/azure-mobile-apps-ios-client/issues/40#issuecomment-169081399
.

--
Merci,
Clement
—


Is this library still maintained?

Is this library still maintained? The last commit has been 2 years ago. There are 192 issues and pull requests waiting. If it continues like this, it will completely stop working in the next RN major version. The current problems are driving me insane.

Good question. I think no, jut look the statistics page: https://github.com/xgfe/react-native-datepicker/graphs/contributors
Has anybody a alternative? Or a fork?

Mentioned here https://github.com/xgfe/react-native-datepicker/issues/378

I'm trying to migrate to react native community DateTimePicker but I can't get it started.
I can not put the box to press and the picker will be open, it opens directly when I enter the screen.
There are no customStyles props ...
Does anyone have an example to follow or another alternative ...
I would greatly appreciate it!

I'm trying to migrate to react native community DateTimePicker but I can't get it started.
I can not put the box to press and the picker will be open, it opens directly when I enter the screen.
There are no customStyles props ...
Does anyone have an example to follow or another alternative ...
I would greatly appreciate it!

https://github.com/react-native-community/react-native-datetimepicker#basic-usage-with-state

My workaround: https://github.com/henninghall/react-native-date-picker it works nice with a sideup modal.

I have forked and updated to use @react-native-community/datetimepicker for modes: date and time. Not updated for mode datetime. Let me know if it is not working.
https://github.com/Rejsal/react-native-datepicker

I suggest migrating to this one:
https://github.com/mmazzarolo/react-native-modal-datetime-picker (Currently 1.9k stars)
Its behaviour is more similar to this library than:
https://github.com/react-native-community/react-native-datetimepicker


(draft) feat: use web workers for placeholder hash calculation

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSDoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[x] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Thanks for the effort. There are many moving parts. I'm not sure what implications the async API has yet, since every framework integration depends on a sync API. Thus, it is a breaking change. I will take a deep dive later.

Currently I'm working on the web worker support for unbuild, because since a library is shipped, we have to add a rollup web worker plugin to the unbuild configuration.
Regarding the breaking async changes: I think it should mostly be fine, but I'll have a closer look, when I have time to work on the pull request further. Thanks for your first feedback 👍

Some food for thought on this PR:

Although I like the idea of using workers, a performance test would be great to get an idea of how big the gain really is.
We need to make sure the web workers work in Node.js, browsers and worker environments. Unlazy is specifically written to provide SSR support out of the box, which we need to maintain.

This is probably related to your unlazy web worker support implementation. Good luck with it!

Please also update the framework integrations, as the async placeholder generation would also require async watchers.

The bottom line is: I'm OK with the current synchronous implementation. I can only provide limited resources on the worker technology shift. But I'm still open to that one! It just has to be implemented airtight to not break user land.

I had some fun implementing the rollup plugin for web workers today, but to no success.
Switching from unbuild to vite for building the core package would probably fix the issue,
since vite offers built in support for web workers.
I'm not a huge fan, but I think for the moment it's the only way, I'm getting the web worker support to work. Will have a look at it maybe tomorrow, to see what actual performance benefits the web worker approach brings to the table 👍

This looks very promising and I appreciate the work being done on this 👍. Thank you.

Closing this pull request, since I haven't made any progress since quite some time now.
I'm also not in need of this feature right now, so I had no time to work on it.
Feel free to use my state and develop it further 👍


Button hyperlink in feature row

Hi @mmistakes ,
I asked here, because you have created the button class, and I think you may be of better help then stackoverflow
On the homepage  of my website I have used feature row.
The cursor changed to hand anywhere in the vicinity of the picture, but clicking only animates the button
but doesn't goes to linked page.
My doubts -

How can I make the cursor change only on the button?
The above effect was different from minimal mistakes, because I have added active class to button to animate the button. Link to location.

Removing this class reverts to default minimal-mistake behaviour, but still the cursor changes on the vicinity, but just on the button.

Through CSS. Look back through the commits, I adjusted things to make the entire block a link (which makes it easier to click as users expect the image and headline to be clickable... not just the button).
There's a pseudo element on the button that is absolutely positioned and fills the parent's container to make this work. You'll likely need to add some additional :hover declarations to the sibling selectors if you want them styled differently.

Thanks for the help.
I'll make the required changes.

Sorry for re-opening this issue,
I tried but was not able to figure out that why adding active class to the button -
  &:active {
    transform: scale(0.95);
  }

breaks the functionality.
The url opens only if I click on the button, in-other case the button just animates.
Deleting the active restores the functionality, but I also want the transform effect to be there.
Looking for your kind reply..
Following is screen recording of homepage  -

Please use a forum like Stackoverflow for these sorts of questions. This is 100% CSS related and not at all specific to the theme.
I can't possibly answer all general web development questions.

@mmistakes Sorry for my impatience.
Heading to Stackoverflow


show version

need to get the version of service in nebula console or studio

what neo4j does:
CALL apoc.monitor.kernel()

what MySQL does:
select version()


Add instructions to run replicator manually

Motivation
There is currently no instructions to run the replicator manually. The automatic install script wouldn't work correctly for me as I already had something else running on port 9000 and I needed to make some manual docker-compose changes.
So adding these scripts and commands for others who wish to run it without the automatic script.
Change Summary

Adds instructions to replicator README to run using the docker compose file without the automatic script.
Adds .env.sample file for this manual docker compose run
Fixes small bug with replicator.sh script where it was echo'ing information to the terminal instead of the .env file.

Merge Checklist
Choose all relevant options below by adding an x now or at any time before submitting for review

[x] PR title adheres to the conventional commits standard
[ ] PR has a changeset
[ ] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore)
[ ] PR includes documentation if necessary.
[ ] All commits have been signed

Additional Context
If this is a relatively large or complex change, provide more details here that will help reviewers

PR-Codex overview
Detailed summary

The replicator.sh script now appends a line to the .env file.
The .env.sample file in the replicator app has been updated with new environment variables.
The README.md file in the replicator app now includes instructions for automatic and manual setup.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Thanks!


corrected wrong titles of 2 links in index.yml

For one of the links I set the title "Introduction to Command Blocks" to make it have a more general meaning on the index page,
however - if it's required to be exact as the page caption - the title may be changed to "Getting Started with Command Blocks".
Next, could anyone check if there exists a separate guide "How To Make a Complete the Monument World" ?
Or it is just the existing "Create an In-World Game with Commands" guide ?
It looks like that, as the existing guide mentions a "monument" and its completion.

Thank you!


<EMAIL_ADDRESS>hash check failed

Checking hash of downloadfile ... ERROR Hash check failed!
App:         extras/defraggler
URL:         https://www.piriform.com/defraggler/download/portable/downloadfile#/dl.7z
First bytes: 3C 4D 45 54 41 20 48 54
Expected:    2edfa974fc2e8e34c0b8c152077da9c3a4ab28cad81a4ced463f0cf6634a0f01
Actual:      fb249f429180a78992375a0f736343a8cd1f6bffe5e940411f6cca448e019471

The hash in the manifest (the “expected” hash above) is correct. Please try again.
2edfa974fc2e8e34c0b8c152077da9c3a4ab28cad81a4ced463f0cf6634a0f01


Voucher - link projects requirement

Voucher - link projects requirement
multiple select project needed
change title bcoz tax is not shown there now

Remove Imcome Account as well

projects multiple select (Cantfix)

jo nhi ho saktaa ,usme cant fix wala tag laga do,


Bendy Bone Support

Problem
Currently Bendy Bones are not reflected in animated GLTF export. An enhancement would be exporting an armature that gives the same visual result as Bendy Bones. A simple bone acts like a curve of smaller bones for easy rig control.
Having export support for bendy bones in glTF would let artists use more of Blender native features in exported content. Users expect animated glTF export looks as close as possible to what gets played back in Blender.
Solution
GLTF export that exports bones equivalent to bendy bones displayed in Blender. Automatically using the same method of bone subdividing/weight painting as Blender is using for Bendy bones.
Alternatives
The user can manually subdivide bones, but that requires re-weight painting, and it would be a workaround for a feature that Blender already natively supports via Bendy Bones.

This would be a great feature, but this is not planned for now.
Exporting BBones means recalculation of skinning weight paint for all BBones, that seems to be a non-easy task. Don't think this calculation is API exposed


update url to article (old one was giving 404)

Thanks! I'm surprised this wasn't caught by our broken link detector :/