Appends source param to homepage links

What's this PR do?
Appends source=homepage_campaign_tile to homepage campaign links
How should this be reviewed?
Click the campaigns on the homepage, is the source param in the url?
Relevant tickets
Fixes https://github.com/DoSomething/TeamRocket/issues/26

two things

this should already be stored as node/1141
query strings should be appended with url

but I don't think we need this pr

cc: @jessleenyc ^ Andrea said we already track this

@angaither does that mean i should see
https://www.dosomething.org/us/campaigns/treats-troops?source=node/1141 when i click signup from a tile on the homepage? if so, i don't think me or @deadlybutter are seeing this happen.

:thinking: I wonder if that broke when we launched #global with all the redirects

Separately and less priority than this global issue... iono what the difficulty level would be, but could be useful to rename node/1141 to homepage_campaign_tile just so it's more clear what it is for someone looking at the database sources. Not even sure if we can retroactively change all node/1141 instances or not either.
Anyways, that's my inclination, but if most people looking at the database know what node/1141 is or there's some sort of glossary that explains that, then ignore me.

@deadlybutter

can you see if this broke when we launched global? and if so, find a fix for it?
once we're sure tracking is working can you see if it's possible to rename the parameter from node/1141 to 'homepage_campaign_tile'? cc @ngjo

 (3) As an engineer, I want all homepage campaigns to be tagged with a source so it's tracked in our tables

@jessleenyc Regardless of when/why it broke, this is the fix for both of those things

@deadlybutter but that means the data is separate right? in order to see which signups came from the homepage tiles, we would have to query for both '/node/1141' and 'homepage_campaign_tile'?

Oh you want to retroactively go back as well

ideally, i would think so! @ngjo?

personal preference, id say that it'd be clearer to change it to homepage_campaign_tile for people to understand what the source is...node/1141 isn't very telling). but we might want to ask jeff or mike (or anyone on the data team) what their preference is -- if they're fine just remember that it's node/1141, then we can keep it that way.
@deadlybutter would be useful to know how difficult/time consuming/problematic it could be to retroactively change node/1141 to homepage_campaign_tile tho cc @jessleenyc

its not super problematic, we'd have to make a script in Drupal which we would run on prod

I'd say let's not do a script. There isn't an index on that row, and I think the script would probably be pretty slow. IMO I don't think it's worth it.
We've been working under that data assumption for ~2 years and haven't had issues with it

node/1141 it is then!

@angaither ready for another look!

@deadlybutter #2 from my comment still applies
And as I mentioned in my original comment, this should already be working. If it's not we should fix that, not append a new source.

Looks like it was first implemented here, https://github.com/DoSomething/phoenix/commit/7d1ef3a8baaa46f077d88feafe5678a8eef19656
But it got removed during 🌐 (Andrea wins! 🎉 )
https://github.com/DoSomething/phoenix/commit/78239361dbc7425b9a5763edc714285a00fa57a1#diff-8faaf5002b546e41219b874defb2239e
In theory dosomething_global_node_url should accept a 3rd argument (in this case source) & should properly append it to the URL... Gonna try it out

hm no it looks like the 3rd argument was designed to accept a url fragment, so the url looks like this http://dev.dosomething.org:8888/us/node/1485#?source=node/1165
I think I should probably stick with appending the string at the end, otherwise we'll have to modify global functions :D

alrighty its now updated to more closely resemble the original implementation

@deadlybutter does it work and actually save to the DB when the source is a fragment with a query string?
You shouldn't have to modify dosomething_global_url since the last argument is an array of options, so you can include a query string as an option.

@angaither problem with dosomething_global_url is I'd have to duplicate the logic for making the node URL. I'll try adding it via the fragment & see what happens

@angaither welp, I don't think I'll be able to give you an answer on that. The URL causes jquery to freak out #?source=node/1165 which prevents the JS from working (so i cant open the signup modal)

@deadlybutter you don't have to duplicate logic to use dosomething_global_url
should be something like
$path = `node/ . $vars['nid']`
dosomething_global_url($path, ['language' => $link_language, 'query' => 'source=' . $path])`

:thinking: ill give that a shot one sec

I might be missing context so sorry if this is intentional, but you can't have a query-string after a URL fragment. For it to be parsed by the server, it'd have to go ?source=node/1165#....

@DFurnes yep, was just confirming that because andrea mentioned it here https://github.com/DoSomething/phoenix/pull/7099#issuecomment-251781831

I think the JavaScript syntax error is probably because our modal package is trying to find a modal on the page to open with that ID (and then getting upset because IDs can't have ?s). We should probably make an issue over there so we can fix that up sometime later.

code updated, generates the proper URL
http://dev.dosomething.org:8888/us/campaigns/test-campaign?source=node/1165

🚢 🔗 :trackball:


LDAP User ADD & Search functionality not available

Hello,
We have configured LDAP with harbor. The connection test and login is working fine as expected. But in users page there is no option to search users from my directory and no option to add user as well. When a user logins for the first time the user field gets auto updated. But the feature to search and add user is missing in users page. What are the other options to have this functionality because I have multiple users in my directory and i cant ask each user to login to Harbor once to populate the users list in Harbor. Which is not practically possible.
Regards,
Santhosh Radhakrishna

Thanks for raising requirement to Harbor! We have been considering the user search functionalities for LADP/AD. Please keep eye on the Harbor followup updates.


allow mailto protocol for href attributes

Before submitting a pull request, please make sure the following is done...

Fork the repo and create your branch from master.
If you've added code that should be tested, add tests!
If you've changed APIs, update the documentation.
Ensure that:

The test suite passes (npm test)
Your code lints (npm run lint) and passes Flow (npm run flow)
You have followed the testing guidelines

If you haven't already, complete the CLA.

Please use the simple form below as a guideline for describing your pull request.
Thanks for contributing to Draft.js!

Summary
[...]
Test Plan
[...]

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

Hi,
trying to sign the CLA I got the notice:

The 'Email' value has been registered on this form before. If you would like to update an existing contributor account, please email<EMAIL_ADDRESS>with your details.

May be that was from my old github username h1nr1ch. My new one is
HinrichSager.
So what do I have to do now?
Thanks
Hinrich
On 07.07.2016 12:03, Facebook Community Bot wrote:

Thank you for your pull request and welcome to our community. We require
contributors to sign our Contributor License Agreement, and we don't
seem to have you on file. In order for us to review and merge your code,
please sign up at https://code.facebook.com/cla - and if you have
received this in error or have any questions, please drop us a line at
<EMAIL_ADDRESS><EMAIL_ADDRESS>Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/facebook/draft-js/pull/521#issuecomment-231036624,
or mute the thread
https://github.com/notifications/unsubscribe/AC9G74yqGz0t_Q0CzHLSGPus9AtvbUydks5qTM7-gaJpZM4JG7K7.

Oh sorry, I just merged this from #533. You were totally here first. I owe you one! :)
cc @zpao any idea what to do about that CLA response?


(maint) Updates for container analytics

Test PASSed

CLA signed by all contributors.

Test PASSed

Test PASSed


Add about speeding up makepkg

This mainly applies to rolling release distros like arch and gentoo which use makepkg to compile their packages. Since you are on nobara I am not sure if this warrants a section in the guide, do as you wish.
See: https://www.reddit.com/r/archlinux/comments/1d6zij6/small_tip_to_speed_up_aur_installs/
Do see the full thread.

Feel free to open a PR @aarav2you , we can just mention it alongside: on arch you add these additional flags ...


Folders & Websites: waive folder name restriction

Description

Remove POST in old /v1/data_sources
Waive restriction on folders names

Tested locally:

Apps execution
API v1 interactons
Assistant interactions

Next step:

Make data source names editable
Remove unicity requirement
Remove useDataSources entirely

Risk
N/A
Deploy Plan

deploy front

updating :+1:


regex syntax?

Not sure what the regex to match a specific file is supposed to be.
My config is essentially:
  context: __dirname,
  entry: [
    './public/js/app.js',
    './public/js/form.js',
    'webpack-dev-server/client',
  ],
  devServer: {
    contentBase: './public',
    watchContentBase: true,
    port: 3006,
  },
  output: {
    path: path.resolve(__dirname, 'public'),
    publicPath: '/',
    filename: 'bundle.js',
  },

...
    new HtmlWebpackPlugin({
      template: path.resolve(__dirname, 'public/index.html'),
      // inject: true,
      inlineSource: 'form.js'
    }),
    new HtmlWebpackInlineSourcePlugin()
...

I don't want to embed everything, so this won't work: '.(js|css)$'
But nothing seems to be capturing just the "form" (tried several patterns). What am I doing wrong?

Hey @ericat this plugin can't inline separate js file, only separate chunk. And the regexp should match that chunk name. So in your case, for example, you first need to create separate entry point for your file and specify its name:
entry: [
    './public/js/app.js',
    'form-inline': './public/js/form.js',
    'webpack-dev-server/client',
  ],

then note that generated chunk name could looks like form-inline.345345345.js so you can setup plugin this way:
new HtmlWebpackPlugin({
      template: path.resolve(__dirname, 'public/index.html'),
      // inject: true,
      inlineSource: /form-inline\.\d*\.js$/
    }),


gdrivedownload.py not found

Hi
You can share the gdrivedownload.py  script?

Hi , I experienced the exact problem.
Any luck?

Download the weights file from here
https://drive.google.com/u/1/uc?export=download&confirm=bFo1&id=1ZArKaR2HfY_319A7WUAVRSU7KO8E5klE
Enjoy 🎉


XPath "weekday-from-dateTime" documentation incorrect values

The documentation for the XPath function "weekday-from-dateTime" is not correct. It states this:
"Values range from 1 to 7 (1 = Sunday, 7 = Saturday)".
However Mendix running against PostgreSQL results 1 = Monday and 7 = Sunday. I suspect its translating to a database function in PostgreSQL and per the PostgreSQL documentation: "The day of the week as Monday (1) to Sunday (7)".

Thanks for the report @jphenning .
I will investigate this with the developers and update the documentation where necessary.

Hi,
I have discussed this with the developers. They say that they are following this PostgreSQL documentation: https://www.postgresql.org/docs/current/functions-datetime.html#FUNCTIONS-DATETIME-EXTRACT. This says

dow: The day of the week as Sunday (0) to Saturday (6)

But they add one to this to get a number from 1 to 7.
Unfortunately, I am not in a position to follow this up further. I suggest that the best thing to do is to raise the issue with Mendix Support (https://support.mendix.com) and provide them with more detail, like a sample XPATH which displays this error. If it turns out to be an issue with documentation, they will pass the support ticket on to me.
Thanks again for raising this concern.
Yours
Mark


Message rejected when trying to publish using AVAX key, signature rejected

My message was published, but the message was rejected.

Your message was succesfully posted! Check on explorer

https://api2.aleph.im/api/v0/messages/932ba2e2e094258ca9addf3597a3c8a8da01e2e8d1153ebfc02ae513a18b1f59

Version b33b5e80e293a01a076f9896bcbd42c8a1b95b45 v1.0.0-rc2-1-gb33b5e8

For reference, the CCN validation code for AVAX signatures: https://github.com/aleph-im/pyaleph/blob/master/src/aleph/chains/avalanche.py#L55


Can I use you library to make livestream from ios/android to server?

Hi
Can I use you library to create livestream from ios/android to server?
If yes maybe you could provide instructions how ;) ?
I found tests (api/tests and /tests) folders and saw that they uses different approachs
api/tests - uses c-like api calls
tests  - have access to all ZLMediaKit classes and use it
Which approach is better?
What aim to provide api in c-style via libmk_api?
Thanks!

If you use zlmediakit as a SDK, I strongly recommend that you use the [C-style API ].(https://github.com/xiongziliang/ZLMediaKit/tree/master/api)

If you use zlmediakit as a framework, and you will add some features, or use zlmediakit as server mode, you can use the C++ apis.

If you want to use zlmediakit as a streaming server without any programming, you can use the MediaServer process.

Great answer!
Thank you.
But I have another new one:
I want create sdk for conference calls (p2p, group calls) with custom crypt layer (private crypt algoritms)
Can I implement conference calls via zlmediakit?
It is seems possible, but some features like dynamic bitrate I should implement by self. Am I right?
May be you can give some links or advice that helps me.

It seems zlmediakit is not suitable for RTC related applications，
because zlmediakit mainly includes RTSP, RTMP, HTTP protocol and network framework.
RTC related applications are quite different from this one. If you are a private protocol, you may need to use RTP，there is a bit of RTP related code in zlmediakit, which you may use.

Thank you!


MarkBind Docs issue

Hi Team (@revdrag),
I'm a MarkBind dev checking in to see if the MarkBind docs branch is working well for CS2103T students. I noticed that even though you have updated the repo name in docs.yml in https://github.com/AY2324S1-CS2103T-T15-3/tp/commit/955486fb054cd4a14768a59ee37c36003903a30d, the published site seems to have some issues due to incorrect baseUrl.

https://ay2324s1-cs2103t-t15-3.github.io/tp/
The problem is that some web assets are not fetched correctly, hence the rendering is incorrect

You will need to update the baseUrl in docs.yml to '/tp' (the actual name of this github repo), instead of your organization name to make the reference work as expected when published via GitHub pages. That will make the rendering work.
E.g.

cc @damithc

Hi @tlylt,
I have pushed the commit and the rendering of the website seems to work properly now. Thanks for pointing it out. Also, in the site.json file, do I have the make the same changes to "baseUrl"?

Hi @tlylt,
I have pushed the commit and the rendering of the website seems to work properly now. Thanks for pointing it out. Also, in the site.json file, do I have the make the same changes to "baseUrl"?

Nope that's fine, just leave it as is. This is different because when you publish to GitHub pages you have to publish to the path associated with the repo, hence it's like a sub-path that needs to be configured properly. When you run the site locally there's no such issue.
Great work! It's working fine now :)


x/sys/unix: add Prctl variant that returns (int, error)

Fixes golang/go#35978

Sorry It slipped out of my mind. I'll update the patch tomorrow.


Introduce info.html template and use it to render detailed info

new:

info.html template to render structured contents in
get_diskinfo() class method that calls disktype and returns the results
/diskinfo endpoint in the Flask app that renders the results from get_diskinfo()

changed:

/logs/show and /scsi/info endpoints in the Flask app render in info.html
Now using the "RaSCSI Reloaded Control Page" header to function as the link back to the homepage (instead of the github project) which is in line with how most webapps work
Removed the center style for "Attached!" to allow the ? button to be placed on the same line
Renamed Info -> ? device info button for consistency

@nucleogenic Do you think it'd be better for the logs/disktype body of text to be returned as list of str, instead of the monolithic "pain text" str? I was thinking it'd be easier to manipulate it for consumers of the JSON data. But I'm not sure exactly what the usecases are.
BTW, I'm well aware that the info.html template might not be the most pretty, especially for displaying Device Info. I tried to make it as simple and versatile as possible to work for all three use cases (logs, device info, disk info) but the result is a little ugly perhaps.

Do you think it'd be better for the logs/disktype body of text to be returned as list of str

I can't really see any benefit to this, since we can just split it by \n on the frontend if we need the output it on a line-by-line basis.
If we ever added a feature like log search or grouping of logs by date (for example) then we could revisit the output structure.
Right now the only use case I have is for display purposes, so this format will be totally fine.

I'm well aware that the info.html template might not be the most pretty, especially for displaying Device Info.

It's definitely a more correct approach than using the flash messages, since they don't really make sense with the JSON output option.
Regarding the device info specifically, we could (now, or later) create a table-based template for this? There's no reason it needs to share a template with the other info screens, and the data is already well structured.
The disk info and logs look great.

I'm well aware that the info.html template might not be the most pretty, especially for displaying Device Info.

It's definitely a more correct approach than using the flash messages, since they don't really make sense with the JSON output option.
Regarding the device info specifically, we could (now, or later) create a table-based template for this? There's no reason it needs to share a template with the other info screens, and the data is already well structured.
The disk info and logs look great.

Pushed a change so that device info uses a separate table based template.


⚡(player) use a poster to speed up player displaying

Purpose
The player must start as fast as possible and show a thumbnail of the video.
Fix #241
Proposal
AWS craft thumbnails for us, we just have to use them as a video poster. The thumbnails seem to always be the first video frame.

[x] Use poster attribute on video tag to display available thumbnail.

The thumbnails seem to always be the first video frame.
Actually we compute thumbnails all along the video and could get access to them if necessary...

The feature that universities have already requested is to be able to upload their own image to be used as a poster in front of the video. That's one of the important functionalities we should add next.


URLs

Hi, I can see that only certain Urls/protocols are supported, I just wonder how to add a skype call to the table/matrix. (e.g.: skype:echo123?call) ?

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

ID: 5fbaf2eb-b0c1-6631-727f-f99d0ce28a97
Version Independent ID: 23ede21d-e41a-9121-e23c-b52409198e31
Content: Add hyperlinks (URLs) to a table or matrix - Power BI
Content Source: powerbi-docs/power-bi-hyperlinks-in-tables.md
Service: powerbi
Sub-service: powerbi-desktop
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Hi, @diab-mossa -- good question! I'll ask around and let you know what I find out.

Hi, @diab-mossa -- got an answer already. It's a feature request. Head to https://ideas.powerbi.com/forums/265200-power-bi-ideas to suggest it!


Cleanup odo cluster configure scripts

Cleanup odo configure cluster scripts to make them more manageable.

[x] Move auth configuration into a lib (and update scripts accordingly)
[x] Relocate setup-operators script and update scripts accordingly
[x] Move Kubeadmin login to a seperate script
[ ] Move platform-specific stuff into its on scripts (done as much as I could, moving to its own task)
[x] Merge configure-installer scripts into single script

The above PR is the first phase of the cleanup

@mohammedzee1000 can you please update the issue with its current status? The PR associated with it has already gone in. Have all the items mentioned in the issue description been taken care of?

I am working on the 2nd phase of this issue. The 3rd part, which is platform-specific stuff, I am expecting the alt arch teams to handle it.

https://github.com/openshift/odo/pull/4292

Closing as what needs to be done from our side is done
/close

Closing as what needs to be done from our side is done
/close


[Auto Release] Update istio.Version

Update istio.Version
none

@sebastienvas: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
e71d914f7a9512b658e5045f1541307b0d621e9d
link
/test e2e-suite-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e-suite-rbac-no_auth


CSV File Component

In order to handle CSV file importing to Data components (#56), it would be a good idea to create a CSV File component, which would act as a media file.
It should have properties such as column names and element lists.
Should be usable independent of Charts.

CSV file component should be more or less like FeatureCollection


133 134 141 Bugs- single day absence request/email error/Advisor name on request card

Description
Fixing a few bugs related to the absence request

Fixed it so you can submit a request for a single day
Fixed the email_address not defined error in the submit_absence_request function
Advisor name is now able to be placed on the request card as intented

Issues
There is now a new error that shows when submitting an absence request. This has to do with the email on submitting the request

Fixed a merge conflict within the forms/views


Fibonacci

I guess changing to "big number" is substituting "int" for "long" because "long" allows a larger range of values, so it's done.
Also I initialized the variables assigning a value at the beginning to save lines of code.

Done!
El mar., 13 oct. 2020 a las 19:23, anfaas1618<EMAIL_ADDRESS>escribió:

@anfaas1618 requested changes on this pull request.
do some changes

change int to big number
clean code and add indentation

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dubesar/Java-A-Z/pull/521#pullrequestreview-507669744,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQEDLH4NST4DBYVT57W4ZNTSKSEI5ANCNFSM4SKANFLQ
.


[FancyZones Editor][Accessibility] Default focused elements in all FancyZones Editor windows

Summary of the Pull Request
What is this about?
First interactive element is now focused by default when each FZ Editor window is shown.
PR Checklist

[x] Applies to #7077
[x] CLA signed. If not, go over here and sign the CLA
[x] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Validation Steps Performed
How does someone test & validate?
Open FancyZones
Open FancyZones Editor
Navigate from one Editor window to another (Edit Selected Layout window - both Grid and Custom)
Observe that every window has focused element on opening, either by pressing Enter and observing the behavior, or if shown "focused dotted rectangle" for specific window element

It fixes the focus when opening the Custom layout creator and the Custom table layout creator.
But the #7077 issue, also mentions the focus being lost when opening the editor from the Settings app when selecting "Launch layout editor`, for me that focus is still missing.

It fixes the focus when opening the Custom layout creator and the Custom table layout creator.
But the #7077 issue, also mentions the focus being lost when opening the editor from the Settings app when selecting "Launch layout editor`, for me that focus is still missing.

Should be ok now. I tested it for some time with latest commit and couldn't reproduce it anymore. Could you give it a try to be sure?


Fish functions don't autocomplete git branch names

Solution (if you want to implement) is to use abbreviations instead of function for certain tasks
You can see my dotfiles  for how to do it, but basically for myself I solved it with:

adding a file /fish/abbreviations.fish. Syntax is like this per line:
abbr -a gco git checkout

adding the following line to /fish/config.fish
source ~/.config/fish/abbreviations.fish

adding the following symlink to bootstrap.sh
symlink "fish:abbreviations.fish" ${DOTFILES_REPO}/fish/abbreviations.fish ~/.config/fish/abbreviations.fish

Just wanted to give back, as I've learned so much from your dotfiles and article! And had so much pleasure from the implemention of similar principles  and methods on my end 😄

If you really want to get the same functionality with function, here is a syntax that might be able to do it:
Use --wraps argument to function and complete, which enables completion inheritance. function foo --wraps=bar gives foo all completions registered for bar.
https://superuser.com/questions/846310/how-can-i-enable-tab-completion-for-a-fish-function-alias

@Trosterud that's great I didn't know that! I implemented it in 0e54eb8 and now my gp and gl and lo are better and I don't have to rely on command history, completion itself works 👍🏼

Just wanted to give back, as I've learned so much from your dotfiles and article! And had so much pleasure from the implemention of similar principles and methods on my end 😄

Makes my day to hear it 😊 you're welcome 🙌🏼


claim header disappears if filter enabled dynamically

I've set up my filter to be dynamic.   IOW, it displays when the user presses a "search" button, and hides when they press it again.
<Reactable.Table  filterable={this.props.searchEnabled && ['Number', 'Status', 'Name', 'Date', 'otal', 'Submitted', 'Paid']} >

transitioning this.props.searchEnabled from false to true causes the column headers to disappear.  They're still missing on a transition back from true to false.

Cool, I've got a failing test reproducing this issue. Thanks for the report!


Include identifying user-agent in default request headers

When calling data.world API, please set the user agent header so we can identify calls from this extension.

Thanks @rflprr, we've scheduled this improvement.

This is done in #16


More efficient downloading

When there are lots of things that have almost finished, and lots to download, system seems rather inefficient getting the downloads going. With 100's of files waiting to be downloaded, wifi is only sporadically busy, but the single CPU is maxed out dealing with all the work.

Also, there was an error - it took minutes before the error percolated to the top and thew the exceptions (long after the display has updated to say there was an error).

Another thing is batch requesting of status from servicex


fix #9320 - UDF functions use own database

I have updated the Sql Server UDF tests to use their own database/model instead of Northwind.
The model is very similar to the subset of Northwind which was being used previously.  Employee is now Customer and less data is loaded.
All the tests are structurally the same.

Don't modify Northwind.sql at this point it's better to just leaving it as is

@AndriySvyryd - Let's discuss tomorrow in team room about modifying northwind. It would again breaking change for dev boxes but removing the UDF functions from northwind allows us to keep the databse in sync across multiple providers running the tests.

I don't see why this would be a breaking change.  The functions will still be on your local instance, but it won't cause any issues since they won't be used anymore by the unit tests.
Let me know what is decided in your meeting.

@pmiddleton We've discussed this and removing the functions from Northwind.sql is fine. It will cause minor issues when working on a patch branch, but will be best in the long-term.

@pmiddleton Thanks for your contribution!


User can set the time for the timer.

I almost got this done.  Just gotta check if it works with the newest atom update(apparently I have to manually update as this feature hasn't been added to the main atom stream yet).

Oh. wow. that's nice. Can you create a PR? I can probably help with testing. Let me know, if you need a hand.

I pretty much have the settings set up.  I believe it is ready to be merged.


Getting build error on android with 1.2.1

Im getting the following build error only on android, iOS is fine
/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:24: error: cannot find symbol
      flutterEngine.getPlugins().add(new nl.u2312.app_set_id.AppSetIdPlugin());
                                                            ^
  symbol:   class AppSetIdPlugin
  location: package nl.u2312.app_set_id
1 error

FAILURE: Build failed with an exception.

This has started to occur today with upgrade to 1.2.1
BTW here is my flutter version:
Flutter 3.26.0-1.0.pre.390 • channel master • https://github.com/flutter/flutter.git
Framework • revision 42aa02f4e3 (59 minutes ago) • 2024-10-07 21:44:35 -0400
Engine • revision 07c702f2d7
Tools • Dart 3.6.0 (build 3.6.0-328.0.dev) • DevTools 2.40.0

Otherwise, the repo has been outstanding, love it and works really well with previous versions.
Much thanks

Thanks for the report. That's odd, I had no problem with this in de example app, but indeed I can reproduce it on my end. Sorry! Will try to fix this asap.

Can you try to do a flutter clean and a rebuild? It worked for me after a clean. If not, can you open your GeneratedPluginRegistrant.java and see if AppSetIdPlugin is in there?

@erickok Ok so I did a flutter pub upgrade and it does look like the problem is solved now--- alls well that ends well.  I can leave this issue open if you think anything needs to be done otherwise it should be closed.
Thanks again

Good to hear. Yes I think that's all needed. Will close this ticket soon, to get a bit more visibility.


fix xml synthax error in trx file

Fix for issue 2
https://github.com/markvincze/MsTestTrxLogger/issues/2

The issue has been fixed in #9

Hi,
sorry for my late response.
Yes, that „queueing“ was the fix. I did the reordering so that the generated xml has the same ordering of elements as the previous trx outputs.
Best Regards
Von: Mark Vincze<EMAIL_ADDRESS>Gesendet: Dienstag, 9. Januar 2018 21:58
An: markvincze/MsTestTrxLogger<EMAIL_ADDRESS>Cc: Christian Lederer<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Betreff: Re: [markvincze/MsTestTrxLogger] fix xml synthax error in trx file (#5)
Hi @LediLedererhttps://github.com/ledilederer!
Nice catch, thanks for the fix! (It's nice to see that library has been published to NuGet since I created this.)
What was the reason for reordering the XML attributes and elements? That makes it a bit hard to review.
Was the only actual change fixing the typo in queuing?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/markvincze/MsTestTrxLogger/pull/5#issuecomment-356411802, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AhkjvCvL7J3DFRfY2b4zt699gfvIW62-ks5tI9LIgaJpZM4RWNNs.


Add a requirements.txt

This PR adds a requirements.txt file to the repository, which allows us to fix the versions of our dependencies. This should help guard against possible forwards-incompatibility and also documents our dependencies.
I've generally included transitive dependencies, but this may not be wise—we can discuss later.

Good question. The CI should check—I just double-checked the documentation and fixed it, so that if we forget something in the requirements.txt file either the "Install dependencies" line will fail or, later the "make book draft lint test" line will fail. So I think we'll know.
To generate it, I used pip freeze, which outputs all the Python packages installed on your system, and then I stripped out the ones that I didn't think were relevant.


Feature/backend node

Description
Fixes #162
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings

Reviewer: Vinit Shahdeo and @amaaniqbal

@ArpitKotecha please review his task!

@vinitshahdeo, if this's a duplicate then how come was I assigned to it in the first place? Am I not supposed to get any points for this then?

@lakshyajit165 Nope - I'm not talking about the duplicate issue, I'm talking about the duplicate code. For sure, you'll get the marks. We don't want you to lose marks. Take a chill pill.

PS: I highly appreciate your efforts and contributions - It's not only about the marks; it's about the collaboration which makes open-source great so far.

@vinitshahdeo I respect what you say and fully agree with you. It's just that, I want it to get reviewed so that I could, take up other issues or suggest new ones if I am allowed.

@lakshyajit165 Sure, please allow us some time. Our mentors will review and get back to you.

@ArpitKotecha. So are the changes done by me still valid?

@ArpitKotecha @vinitshahdeo @amaaniqbal - A gentle follow up on this.

@ArpitKotecha, Please add the required labels for this PR, as my scores aren't getting reflected.


Conflicting definitions of angle type

ANGLE_TYPE has a comment describing the type as a dyadic rational multiple of \pi.
Other comments describe it as a dyadic rational multiple of 2\pi.
In my opinion the 2\pi definition is better because it allows the invariant that the numerator is always less than the denominator

The two definitions are equivalent, but are perhaps both missing the clarifying point that angles that are equivalent mod 2π are considered equal.
(This means that the numerator isn't uniquely determined by the angle, so the problem goes away. We can still define a "canonical" numerator/denominator though which I agree should be the multiplier of 2π.)

Yeah I just meant they are semantically equivalent, because x is a dyadic rational multiple of 2π if and only if x is a dyadic rational multiple of π.


Add supporting-data-source attributes

We should also add attribute_source (what is the CURIE for ICEES?) and value_url, where available.

As far as I can tell, there are no standardized identifiers for Translator services yet, so I'm going to separate the attribute_source from this PR. See #138.

Thanks, @karafecho. The data that I've added here is just for testing and doesn't need to be correct or complete. The data sources will be configurable, so we should add this data to the asthma instance deployment.

I'd like to add information about how to configure each deployment, but I think that can be part of a larger documentation update. See #139.

We should also add the primary data sources listed here to the ICEES+ COVID instance. The ICEES+ DILI instance only pulls data from DILIN participant data, Augmentin DILI subset.


When you use etcd >= 2.2.0, you should know this issue.

Duplicated issue codis issue#488

Thanks @lrita
We will see codis how to fix it later.


Added placeholder for Moving Forward Together

This is a pull request to create a placeholder for "Moving Forward Together: How a Software Engineering Department Can Impact Developer Productivity in a Research Organization", a white paper by @jwillenbring  and @rmmilewi.
The PDF is a placeholder for the actual paper, which is waiting to complete the process of review and approval at Sandia National Laboratories. It should clear review as soon as next morning, at which point the real paper will be uploaded in place of this one.

@maherou Note: This one is also ready to be merged! :)


Refactor out custom import steps

Purpose
As we grow this solution, we don't want the PackageTemplateBase to become too big. It should manage when the custom steps execute and the config required for them only.
Approach
Move the 'business logic' into separate services which are created and called by the PackageTemplateBase .
TODOs

[ ] Automated test coverage for new code
[ ] Documentation updated (if required)
[ ] Build and tests successful

This also works towards #9 increasing the code coverage by making the services more testable (adapters and ILogger)


fix(Illustrations): add titles to illustrations

Overview

add titles to the following illustrations: Bee, Browser, Browser Lock, Browser Puzzle, Confetti, EmailAt, Hills, Home Office, Number Blocks, Plant, Python, Sun, Target

To not have focus on decorative image, we need to give the illustrations a title.
Discovered this issue from Egg-1553 where decorative image on Empty Profile page was being narrated as "empty unlabelled image". Giving it a title fixed this issue, I saw that this was happening in other illustrations so went ahead and added missing titles to the illustrations.
PR Checklist

[ ] Related to designs:
[x] Related to JIRA ticket: Egg-1553
[x] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.18.2-alpha.b1d490.0@codecademy/gamut-kit@0.5.80-alpha.b1d490.0@codecademy/gamut-labs@20.0.1-alpha.b1d490.0@codecademy/gamut@37.5.1-alpha.b1d490.0@codecademy/monaco@0.4.6-alpha.b1d490.0@codecademy/styleguide@44.6.2-alpha.b1d490.0


invitations: Send 'invites_changed' event for invitations events.

[DON'T MERGE]
This is currently simply rebased #7780.
So what it is doing currently:

Sending an event when a user is invited or his invite is revoked.
Simply repeats the whole process of setting up the invite page on those events.

@timabbott what are the problems associated with this approach.

The bug/improvements I can point currently is it doesn't send an event when a user accepts the invitation.
Both commits needs to be squashed.
And obviously below change doesn't work as I've removed the delete API recently so before adding it I want to make sure if we want to go with this approach or we have changed the plan to do this in some other way?

+    var invites_list = list_render.get("admin_invites_list");
+
+    if (invites_list) {
+        list_render.delete("admin_invites_list");
+    }

For the event when the user has accepted the invitation, is process_new_human_user is the right place?

And obviously below change doesn't work as I've removed the delete API recently so before adding it I want to make sure if we want to go with this approach or we have changed the plan to do this in some other way?

I think that's a pretty hacky way to do it; it seems like we should just replace the data rather than deleteing/readding the data set.

And yes, process_new_human_user is the right place to implement the invitations update logic.

@timabbott  I've updated the PR.

I went ahead and made the change I suggested above and merged as dfde4fac8552eeeb85ec0f68ad09c9fb4ab34973 , thanks @shubhamdhama!


Fixing accessibility

The following points were checked

page title - One issue found, changed title here
image alt attributes - We made a change here
headings - No issues found
Color contrast - One issue found here
Resize - No issues found
Interaction - No issues found
Moving content - No issues found
Multimedia - No issues found
The basic structure of the page - One issue found - added labels at form element here  and here

@leonardodiasb nitpicked review, but done as asked.


Update host name and ip address for better e2e testing

We need to set the hostname and ip to what's known to the openstack environment

Approved


code test exit code: 70: xcodebuild: error: Unable to find a destination matching the provided destination specifier

Bitrise Build Issue Report template
Description of the issue
Running the tests...
$ set -o pipefail && env "NSUnbufferedIO=YES" xcodebuild "-project" "REDACTED.xcodeproj" "-scheme" "REDACTED" "build" "test" "-destination" "platform=iOS Simulator,name=iPhone 6s Plus,OS=latest" | xcpretty "--color" "--report" "html" "--output" "/Users/vagrant/deploy/xcode-test-results-REDACTED.html"

xcode test exit code: 70
xcode test failed, error: exit status 70

Environment:
Where did the issue happen?
Bitrise.io, Xcode 8.0.x Stack
Which build Step causes the issue and which version of the step?
<EMAIL_ADDRESS>Reproducibility

Does a "Rebuild" help? (You can trigger a rebuild from the Build's page, by clicking the "Rebuild" button in the top right corner of a finished build) : NO
Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
Does upgrading the build Step to the latest version help? : NO
When did the issue start? : from the start

Other stacks
Can it be reproduced by running the build locally with our CLI ( https://www.bitrise.io/cli ), after doing a clean git clone (git clone the repository, into a new directory, somewhere on your Mac/PC) and running the build from there with the CLI ( https://www.bitrise.io/cli )?
NO
Build log
Please attach the build log (you can download the build log from the build's page,
once the build is finished, using the "Download log" button - floating at the bottom right corner of the log viewer),
or if you can't attach the whole log then send the full log through a private channel (e.g. email - https://www.bitrise.io/contact ), with a link to the related GitHub issue.
Relevant build log part:
+------------------------------------------------------------------------------+
| (4<EMAIL_ADDRESS>                                                      |
+------------------------------------------------------------------------------+
| id: xcode-test                                                               |
| version: 1.17.1                                                              |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2016-11-30T07:16:52-08:00                                              |
+------------------------------------------------------------------------------+
|                                                                              |
INFO[07:16:52]  * [OK] Step dependency (xcode) installed, available.
INFO[07:16:52]  * [OK] Step dependency (go) installed, available.

Project Parameters:
- ProjectPath: REDACTED.xcodeproj
- Scheme: REDACTED

Simulator Configs:
- SimulatorPlatform: iOS Simulator
- SimulatorDevice: iPhone 6s Plus
- SimulatorOsVersion: latest

Test Run Configs:
- OutputTool: xcpretty
- IsCleanBuild: no
- IsSingleBuild: true
- ShouldBuildBeforeTest: yes
- ShouldRetryTestOnFail: no
- GenerateCodeCoverageFiles: no
- ExportUITestArtifacts: false
- TestOptions:
- XcprettyTestOptions: --color --report html --output "/Users/vagrant/deploy/xcode-test-results-REDACTED.html"

Other Configs:
* action: -project
* device_destination: platform=iOS Simulator,name=iPhone 6s Plus,OS=latest
* xcodebuild_version: Xcode 8.0 (Build version 8A218a)
* xcpretty_version: 0.2.2
* simulator_name: iPhone 6s Plus, UDID: FA104D18-8AB3-4102-BC51-1D00CBA44C03, status: Shutdown

Booting simulator (FA104D18-8AB3-4102-BC51-1D00CBA44C03)...
$ open "/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app" "--args" "-CurrentDeviceUDID" "FA104D18-8AB3-4102-BC51-1D00CBA44C03"

Running the tests...
$ set -o pipefail && env "NSUnbufferedIO=YES" xcodebuild "-project" "REDACTED.xcodeproj" "-scheme" "REDACTED" "build" "test" "-destination" "platform=iOS Simulator,name=iPhone 6s Plus,OS=latest" | xcpretty "--color" "--report" "html" "--output" "/Users/vagrant/deploy/xcode-test-results-REDACTED.html"

xcode test exit code: 70
xcode test failed, error: exit status 70
If you can't find the reason of the error in the log, please check the raw-xcodebuild-output.log
The log file is stored in $BITRISE_DEPLOY_DIR, and its full path
is available in the $BITRISE_XCODE_RAW_TEST_RESULT_TEXT_PATH environment variable
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x |<EMAIL_ADDRESS>(exit code: 1)                              | 15 sec   |
+---+---------------------------------------------------------------+----------+
| Update available: 1.17.1 -> 1.18.0                                           |
| Issue tracker: https://github.com/bitrise-io/steps-xcode-test/issues         |
| Source: https://github.com/bitrise-io/steps-xcode-test                       |
+---+---------------------------------------------------------------+----------+

raw-xcodebuild-output.log:
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
		{ platform:iOS Simulator, OS:latest, name:iPhone 6s Plus }

	Ineligible destinations for the "REDACTED" scheme:
		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Generic iOS Device }
		{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Generic iOS Simulator Device }

The issue is that the app has settings which require a newer iOS version, one which is not available on the selected stack (in this case on Xcode 8.0.x).
The solution was to simply select the right Xcode version (stack) - in this case Xcode 8.1.x
Make sure to use the same Xcode version on bitrise.io as the one you use for developing the app!


Access is denied

Hi,
I started to use your library in and it looks great
only one question,
on production the engine create the file "ffmpeg.exe" in "'C:\Windows\TEMP\MediaToolkit", and from security reasons that could be a problem
is there a way to define a specific directory for this file ?
I also tried to copy "ffmpeg.exe" to bin directory, but it didn't work

Hi, I got the exact issue as above, any resolution?

To anyone who might have similar issues, you can specify the file path of your own copy of FFmpeg.
This will help prevent it from attempting to extract its own copy. When creating a nice instance of Engine, just add the path of FFmpeg.exe to the constructor.


[Linux] Unable to connect chip-lighting-app(server) and chip-tool(client) over ble

Problem
Facing connection error when trying to connect connectedhomeip/examples/lighting-app/linux (server) with connectedhomeip/examples/chip-tool (client) over ble.

expected behaviour: server and client should connect over ble successfully
actual behaviour: Fail to connect device, connection refused.
system configuration: Ubuntu 20.04
screenshots, images, logs, etc.

Logs for server:
~/connectedhomeip/examples/lighting-app/linux/out/debug$ ./chip-lighting-app --ble-device 0
SetupPINCode: [12345678]
SetupQRCode:  [CH:I34DV*700 0C9SS0]
CHIP:ZCL: Using ZAP configuration...
CHIP:ZCL: deactivate report event
CHIP:IN: TransportMgr initialized
CHIP:IN: local node id is 12344321
CHIP:DL: wpa_supplicant: _IsWiFiStationProvisioned: interface not connected
CHIP:BLE: Waiting for PBKDF param request
CHIP:DL: MDNS failed to join multicast group on enp1s0 for address type IPv4: Inet Error 1016 (0x000003F8): Address not found
CHIP:DIS: CHIP minimal mDNS started advertising.
CHIP:DIS: Replying to DNS-SD service listing request
CHIP:DIS: Replying to DNS-SD service listing request
CHIP:SVR: Server Listening...

CHIP:IN: TransportMgr initialized
CHIP:IN: local node id is 112233
CHIP:ZCL: Using ZAP configuration...
CHIP:DL: CHIP task running
CHIP:DL: TRACE: Bluez mainloop starting Thread
CHIP:DL: TRACE: Bus acquired for name C-d473
CHIP:DL: PlatformBlueZInit init success
CHIP:BLE: BLE scanning through known devices.
CHIP:BLE: Device F9:72:11:1E:1D:D8 does not look like a CHIP device.
CHIP:BLE: Device FC:58:FA:A3:64:0D does not look like a CHIP device.
CHIP:BLE: Device 70:74:FA:71:A5:D1 does not look like a CHIP device.
CHIP:BLE: Device 5A:6A:7D:3E:44:93 does not look like a CHIP device.
CHIP:BLE: Device 7B:E5:2F:AB:9C:C1 does not look like a CHIP device.
CHIP:BLE: Device 77:7B:C6:A6:50:67 does not look like a CHIP device.
CHIP:BLE: Device FC:58:FA:07:C5:08 does not look like a CHIP device.
CHIP:BLE: Device 55:A5:2E:9B:28:01 does not look like a CHIP device.
CHIP:BLE: Device 7D:33:5B:E6:9D:5C does not look like a CHIP device.
CHIP:BLE: Device 6F:DB:AF:66:20:42 does not look like a CHIP device.
CHIP:BLE: Device 51:2D:32:4E:0C:D8 does not look like a CHIP device.
CHIP:BLE: Device 5A:0D:9C:21:2A:96 does not look like a CHIP device.
CHIP:BLE: Device 20:A6:0C:AB:00:A9 does not look like a CHIP device.
CHIP:BLE: Device 57:8B:B4:2E:39:DE does not look like a CHIP device.
CHIP:BLE: Device 66:32:A6:C2:45:E3 does not look like a CHIP device.
CHIP:BLE: Device 77:17:A0:1D:F5:C2 does not look like a CHIP device.
CHIP:BLE: Device 4A:0D:5E:51:31:78 does not look like a CHIP device.
CHIP:BLE: Device 70:BB:E9:60:6E:5B does not look like a CHIP device.
CHIP:BLE: Device 47:4D:D7:52:64:4E does not look like a CHIP device.
CHIP:BLE: Device 45:C1:6D:39:29:F1 does not look like a CHIP device.
CHIP:BLE: Device 5C:F9:3C:1C:3F:E2 does not look like a CHIP device.
CHIP:BLE: Device 53:29:96:B6:50:51 does not look like a CHIP device.
CHIP:BLE: Device 47:43:6E:18:80:46 does not look like a CHIP device.
CHIP:BLE: Device 7B:CE:98:69:19:D0 does not look like a CHIP device.
CHIP:BLE: New device scanned: D0:7E:35:D0:A7:18
CHIP:BLE: Device discriminator match. Attempting to connect.
CHIP:BLE: Failed to stop discovery GDBus.Error:org.bluez.Error.Failed: No discovery started
CHIP:BLE: Scan complete notification without an active scan.
CHIP:BLE: Device 6E:DF:0B:B5:86:7B does not look like a CHIP device.
CHIP:BLE: Device 53:A8:1F:F9:25:08 does not look like a CHIP device.
CHIP:BLE: Device 48:83:B4:18:50:DC does not look like a CHIP device.
CHIP:BLE: Device 6C:20:F3:DE:73:D6 does not look like a CHIP device.
CHIP:BLE: Device 51:28:DA:D5:E7:EF does not look like a CHIP device.
CHIP:BLE: Device 52:A5:2D:E4:53:35 does not look like a CHIP device.
CHIP:BLE: Device 53:5D:18:CD:39:04 does not look like a CHIP device.
CHIP:BLE: Device 68:2A:71:13:45:CF does not look like a CHIP device.
CHIP:BLE: Device 47:AE:54:E7:4E:92 does not look like a CHIP device.
CHIP:BLE: BLE initiating scan.
CHIP:BLE: Failed to start discovery: Operation was cancelled
CHIP:BLE: Scan complete notification without an active scan.
CHIP:DL: FAIL: ConnectDevice : GDBus.Error:org.bluez.Error.Failed: Connection refused
CHIP:TOO: No response from device
CHIP:CTL: Shutting down the commissioner
CHIP:BLE: BleConnectionDelegate::CancelConnection is not implemented.
CHIP:CTL: Shutting down the controller
CHIP:DL: System Layer shutdown
CHIP:DL: Inet Layer shutdown
CHIP:DL: BLE layer shutdown
Any suggestion about how to solve the issue will be helpful.
Proposed Solution
<suggested fix, suggested enhancement>

Are you running the client on RPi? Anyway, have you tried to run systemctl restart bluetooth to restart the Bluez daemon? Not sure why that happens, but sometimes Bluez enters a weird state in which in can connect no device.

I was running the client and server both on Ubuntu 20.04LTS differently.

Given this is an old issue, is this still present? If so, please re-open, thanks!


Simple binary tree functions

Added simple functions to binary tree structures:

Find element's occurrence count
Find if element present in tree
Check whether tree is symmetric
pre and postorder walk
Sum of elements in tree
Get leaf nodes in tree

Sorry about the mess. I panicked when I found bugs after creating the pull request


support "XINFO CONSUMERS"

add function "XInfoConsumers" as "XInfoGroups", tested on redis 6.0.10
btw: refer to xinfo document, these codes may not workable in future redis release

Note that you should not rely on the fields exact position, nor on the number of fields, new fields may be added in the future. So a well behaving client should fetch the whole list, and report it to the user, for example, as a dictionary data structure. Low level clients such as C clients where the items will likely be reported back in a linear array should document that the order is undefined.

@kkkbird thanks for the contribution - code looks good. Is it possible to add a test?

test is added

@kkkbird thank you :+1:


Add your preffered Algorithma

Create a separate branch/folder and further a branch/folder labelling it as Sorting , Greedy, Backtracking, etc.
Further solutions must be in C or C++ language only.
explaining your approach in a clear way, no plagiarism/copying should be there.

Hey i would like to add some easy array algorithms like kadane's , two-pointer etc.

Yes you can go with it

I would like to add Fractional Knapsack Greedy Algorithm,Can I do it?

I would like to add Fractional Knapsack Greedy Algorithm,Can I do it?

sure add it create a greedy algorithm folder and then your fractional knapsack keeping in mind how the issue is mentioned like telling your approach too with code

Sorry i implemented it in python, i will do Feul Refilling in C++

can I still contribute?
I would like to add the TSP problem!

Yes you can do just check the repository how everyone has done

can I add some DP programs in c++??

Yes please add with a bit explanation.

sure. thnx


Feature gate infura dependent tests and test them in separate CI job

tests that interact with infura commonly fail due to

rate limited
nonce manager snafu

This results in failed test jobs and it is not immediately apparent if a new PR has failed a test.
we should consider running them in a separate CI job

Agree - same for etherscan-related abigen tests


add dlint & dotted dprint config file

dlint is not only used in deno, it is also a node module.

Please lint the change

@antfu CI's lint is already green, is there anything else I'm missing?


Video not playing

Firefox ESR 45.7.0
YouTubeCenter Developer Version 458
The video is just a black square.

Same issue, palemoon 27.1.1. It doesn't look like YTC is active on the page as the settings icon, which is present on the main page/subscription page disappears on a video page.

This issue seems to be present in any version after and including commit 3dfc3d62a9d3705fd1fd9087d069007584f55c19
The version of the userscript provided in the commit before that (dc3e93195962e85c28c82d8fd1fd52d0f09decc2) seems to be working without any problems on my end so you might want to grab that for now.(Note that greasemonkey will automatically try to update the script unless you delete the line beginning with '@updateURL')

@RandomlyAwesome Would you please explain how one can install dc3e931 ?
Do you have to git clone everything and then compile ?
Thanks

@RomainLG
The repo contains a ready to use version of the userscript under /dist/YouTubeCenter.user.js
Clicking the View Raw or Download buttons should prompt Greasemonkey to launch the install dialog.


Fix grpc connections close

What this PR does:
Which issue(s) this PR fixes:
Fixes #
Checklist

[ ] Changes manually tested
[ ] Automated Tests added/updated
[ ] Documentation added/updated

This was an attempt to provide a way to close long-lived gRPC/HTTP/2 connections when a tenant is removed from a CNDB coordinator. It was unsuccessful so far.


Test Ubuntu 24.04 on vSphere

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
What type of PR is this?

Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:

Documentation:

/test pull-machine-controller-e2e-vsphere

/test pull-machine-controller-e2e-vsphere
/test pull-machine-controller-e2e-kubevirt
/test pull-machine-controller-e2e-aws
/test pull-machine-controller-e2e-hetzner
/test pull-machine-controller-e2e-openstack

/test pull-machine-controller-e2e-alibaba


Syntax error in installation instructions

Small typo: I believe this line in the installation instructions contains an error.
install.packages('tidyverse','data.table')
The correct code would use the c() function to create the vector of package names.
install.packages(c('tidyverse','data.table'))

Oh dear. Thank you for catching this!

You're welcome. And thank YOU for posting the data!
On Wed, Oct 10, 2018 at 11:50 AM Evan Hensleigh<EMAIL_ADDRESS>wrote:

Oh dear. Thank you for catching this!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/TheEconomist/big-mac-data/issues/4#issuecomment-428647067,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABH0cbPj3y7u3DWCJlSsGnGgNReF1qdMks5ujiU6gaJpZM4XVS9j
.

--
Paul Teetor
Elgin, IL, USA
http://quantdevel.com/public/


Navigate with search params is not working

Describe the bug
I just trying to change params with useNavigate, but it is not working
Your Example Website or App
https://stackblitz.com/edit/github-pr9hza?file=src%2Fmain.tsx
Steps to Reproduce the Bug or Issue

Press change params
Nothing changes

If update page, inital value is correct
Expected behavior
As a user I expect that params will actually change and component will rerender
Screenshots or Videos
No response
Platform

OS: Windows
Browser: Chrome
Version: 0.0.1-beta.179

Additional context
No response

However its working with beta173

Same problem here.
@XantreGodlike thanks for referencing the latest working version. I just downgraded while waiting for a fix.

Seems to be fixed in: 0.0.1-beta.183

Should be fixed now


Update requests to use JWT authentication headers

This is so that the requests work with Aerie v1.10.0

Note: This only works in configurations with auth_method = NATIVE, since Hasura requires authentication. How do we want this to work when auth_method = NONE?

Closing this as it turns out this was harder than just the header :(


"More than one type" error

Dear Moshe,
I am using elasticsearch_loader with the elastic version 7.1.1 on elastic cloud. When I add my own mapping to the index and then use the loader the following error is displayed:

"Rejecting mapping update to [myindex] as the final mapping would have more than 1 type: [_doc, json]', u'type': u'illegal_argument_exception'"

Tracing the issue I believe this change is the cause: https://www.elastic.co/blog/index-type-parent-child-join-now-future-in-elasticsearch
I was able to go around it by commenting this line:
https://github.com/moshe/elasticsearch_loader/blob/510fdbe9d85870190c37ae199bf9064e36bc3e45/elasticsearch_loader/iter.py#L18
But I believe there might be better solution, which you might be able to propose.
Thank you for the helpful software!
Peio

Hi @peio,
Did you add the --type flag?
from the error, I can see that you already have json type in your index so add --type=json (es7 requires only one type per index and the default if _doc)

Hi @moshe
Yes, the command I execute is:

elasticsearch_loader.exe --index bgnews  --http-auth elastic:XXXXX --es-host https://XXXXX.us-east-1.aws.found.io:9243 --type json json 24chasa-2019-05-31.json --lines

I have also noted difference on the behavior of the command parsing library on Windows 10 (Powershell) and Fedora Linux. It is separate issue, related to the parsing of the wildcard (*.json) but might be indication where the cause is.
Thank you,
Peio

can you try to change the type to _doc?
elasticsearch_loader.exe --index bgnews --http-auth elastic:XXXXX --es-host https://XXXXX.us-east-1.aws.found.io:9243 --type _doc json 24chasa-2019-05-31.json --lines

Oh, --type _doc makes much more sense. It will take me a while to do a setup, because I am loading with a patched elasticsearch_loader on a prod setup, but will do a test setup as soon as I can.

Yep, confirmed. --type _doc is the right argument.
Only thing I can do is an documentation improvement.
Thank you!

Actually, it is documented in the --help message:
  --type TEXT                     Docs type. TYPES WILL BE DEPRECATED IN APIS
                                  IN ELASTICSEARCH 7, AND COMPLETELY REMOVED
                                  IN 8.  [required]

I will write a better help message + warning if using es7 with type argument.
Thanks @peio


Add documentation for automl.model.estimator usage

Updated documentation across various examples and the model.py file to include information about automl.model.estimator. This addition addresses issue #1194 and enhances the clarity and usability of FLAML by providing users with clear guidance on how to utilize this feature in their AutoML workflows. By documenting automl.model.estimator, users can better understand FLAML's capabilities and improve their overall experience with the library.
Why are these changes needed?
These changes are necessary to address user feedback and improve the usability of FLAML. The addition of documentation for automl.model.estimator helps users understand how to access and utilize this feature effectively, thus enhancing their experience with the library.
Related issue number

Fixes #1194

Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/FLAML/.
[x] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[x] I've made sure all auto checks have passed.

Hi @Programmer-RD-AI ,  thank you for the PR. Could you fix  the code formatting error with pre-commit? Thanks.

Hi @thinkall - not sure what the rules are on this.
Can I have maintainer access please? Would happily find PRs like this, which are just a pre-commit hook short of being mergeable, and run the pre-commit hook.

Thanks @thinkall!
I think this should be mergeable once the tests pass.


Adding timeout to log stream

Performs a simple keepAlive timeout closing the log stream should the timeout be reached

We can make this a configurable timeout (via logs opts) but then we change the options interface


chore(merge-back): 2.20.0

See CHANGELOG

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: f207f7f05b1e5ea51a9f9b410173e95fb9d9937c
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Apk size of flutter app

While creating a simple list view in flutter app the size of the apk reaches 25mb. Is this normal or is there a way to reduce the apk size?

Is this a release apk or debug apk, from my experience, size of debug apk is 20+MB, but if you build a release apk, the size would be reduced to around 7MB if there is no too many assets(images, font files, etc.)

Like @ics042 mentioned, it seems like you are measuring the size of the debug APK. Can you run flutter build apk --release and check the size of the APK generated as a result of that command?

From my observation, the size of android released APK file is reasonable(around 7MB without too many assets), but when I built an iOS ipa, the size of the released ipa was 19.8MB. If it's a normal size of a relessed ipa file, hopefully this would be optimized in the future.

ipas are typically uncompressed where as .apks are compressed. :)
We really need an FAQ entry to better explain measuring sizes.  I've filed https://github.com/flutter/flutter/issues/16191
I'm going to close this for now, but please feel empowered to re-open if you don't feel we've resolved your issue.


Please document the difference between StartWorkflow and ExecuteWorkflow

The current documentation for StartWorkflow and ExecuteWorkflow are very similar.
https://github.com/uber-go/cadence-client/blob/master/client/client.go#L85
https://github.com/uber-go/cadence-client/blob/master/client/client.go#L110
But base on this Slack with @mfateev, the two calls are very different and it's worth documenting the differences.
Ming Fang Today at 3:11 PM
I have a beginner’s questions, what is the difference between StartWorkflow and  ExecuteWorkflow; When should we use one or the other? (edited)

Maxim  9 minutes ago
StartWorkflow starts workflow and immediately returns.
ExecuteWorkflow starts workflow and waits for it to complete.
ExecuteWorkflow is very useful for development but rarely useful in production use cases.
If you call execute workflow for already running workflow it is going to reconnect to already running workflow to wait for its completion.
The reconnection doesn't work if you specify workflowIdReusePolicy to AllowDuplicate.

This is still hard to parse for people new to the codebase.
Would be great if you could add a simple explanation on the behavioral difference, similar to what @mingfang suggested above.


Disallow boolean subtraction

Fixes #2864

Jenkins, test this please.

Jenkins CI test (for commit 50a0ddd519d1c89caf24644146690392ccb923d1, target branch master) failed with status FAILURE.


Add gravity center feature and change default background color

Add margins option in builder
Enable gravity center
Change default background color

finished reviewing

Finished fixing and pushed

LGTM


[host receiver]: cpu reporting metrics

Component(s)
receiver/hostmetrics
Is your feature request related to a problem? Please describe.
Currently the host cpu scraper reports the following optional metrics:

system.cpu.logical.count - combined total of threads available
system.cpu.physical.count - total number of cores available

If you consider the scenario that you are using a system that is a dual socket (or greater) motherboard, this could be somewhat confusing since there is no way to currently count the number of cpu sockets available.
Describe the solution you'd like
The ideal scenarios are:

Improve the documentation around what each metrics is actually capturing with relation to threads and cores
Add a metric to show the number of installed CPU
Update the metric names to be system.cpu.cores.count, system.cpu.threads.count, and system.cpu.count to be clear on what they represent.

Describe alternatives you've considered
I don't think it is common to be running machines that have multiple CPU sockets, so I suspect why this hasn't come up sooner, however, in the current state of things. The other option would be to include a resource tag of the cpu socket name.
(Trying not to confuse myself with cpu, core, and thread)
Additional context
No response

Addendum to what I said above.
The CPU count can change on the same host resource (as last came up when we were talking about whether these metrics should be a resource attribute or a timeseries) so these might actually be instrumented as UpDownCounters after all. To summarize for either direction.
Additionally, to get around my cpus weirdness, we could keep the logical vs physical verbiage.
If this is considered a countable entity that falls under pluralization we should do:

system.cpu.physical.cores
system.cpu.logical.cores
system.cpu.threads
system.cpu.sockets

Or if these are UpDownCounters/gauges:

system.cpu.physical.core.count
system.cpu.logical.core.count
system.cpu.thread.count
system.cpu.socket.count

system.cpu.*.core.count is quite wordy though, so we could also go with what the issue originally suggest, system.cpu.count and system.cpu.core.count. My instinct is that I like the physical and logical verbiage anyway (though we definitely should improve our documentation on what that exactly means) but they are quite wordy with .count at the end.

I think the end state for these metrics is for them to become attributes on the eventual host entity. However, it would be really nice to get this defined well enough that we could adopt it in the collector before entities make it there; right now the original issue is correct that there is a usability problem that I'd like to get a fix for without waiting for Entities to standardize. If anyone has pointers for how these metrics can be designed such that it wouldn't be hard to transition them to entity attributes in the future.

here's a prior art just in case that helps: jvm.cpu.count

Thanks @trask that's good to know. That precedent is probably enough to say that this should be an UpDownCounter timeseries. I was waffling between whether this should be an UpDownCounter or a Gauge but if a similar metric like this is already an UpDownCounter then that may be enough. I also figured there was a potential use case where an operator may want to aggregate a physical CPU count metric among a pool of VMs to maybe aggregate cost, track CPU cores against some platform quota, or something like that. Kind of a niche case, but just because I was able to think of some manner of use case it seemed like it might be enough to call it an UpDownCounter as well.

I realize I argued for "cpu count" being a metric in addition to an entity attribute, but now that I understand entities a bit better (https://github.com/tigrannajaryan/opentelemetry-proto/pull/2), I'm second guessing that.
If "cpu count" is an entity attribute, it would get stamped onto the "cpu time" metric, which would allow backends to display cpu utilization from (only) the "cpu count" timeseries.

Discussed on the 2024-12-12 System SemConv meeting. The bare minimum before GA may be to add an attribute to identify what socket a CPU core is in.


pip install error (Double requirement given: tqdm)

Hello,
the requirements.txt contains 2 times tqdm, and it causes an error

ERROR: Double requirement given: tqdm (from -r requirements.txt (line 10)) (already in tqdm>=4.35.0 (from -r requirements.txt (line 3)), name='tqdm')

removing the last tqdm solves the problem

Thank you for this issue, the problem fixed


Unable to run the chalice example locally

Hello there,
I am not able to follow the docs to deploy chalice from example folder locally.
To follow local deploy at Windows 10
1- I have ngrok running on port 3000
2- I created new conda env with python 3.8.5
3- Installed chalice & slack bolt
4- Copied simple_app.py and chalice config.json
from https://github.com/slackapi/bolt-python/tree/main/examples/aws_chalice
Now it run successfully and the challenge is accepted in the slack app directory using ngrok link.
But when I tag the app in slack, I got 404 error in ngrok and no response is sen t back to Slack.

I searched for past 48 hours for a complete guide how to use Chalice and Slack bolt together but I failed to find one.

@AymanEG Hi, thanks a lot for trying Bolt for python out!
Just in case, I verified the steps to deploy a Chalice app but I was not able to find any issues with it. Checking the following steps may help. If you have issues specific to AWS services and/or your account settings, consult AWS communities or contact AWS support team.
Example App
This is almost the same with simple_app.py but I've simplified some parts.
requirements.txt
slack_bolt==1.0.1

app.py
The file name must be app.py here. Also, as mentioned in the code, the name of Chalice instance in the source file must be app too.
import logging
from chalice import Chalice, Response
from slack_bolt import App
from slack_bolt.adapter.aws_lambda.chalice_handler import ChaliceSlackRequestHandler

ChaliceSlackRequestHandler.clear_all_log_handlers()
logging.basicConfig(format="%(asctime)s %(message)s", level=logging.DEBUG)

# process_before_response must be True when running on FaaS
bolt_app = App(process_before_response=True)

@bolt_app.event("app_mention")
def handle_app_mentions(body, say, logger):
    logger.info(body)
    say("What's up? I'm a Chalice app :wave:")

# Don't change this variable name "app"
app = Chalice(app_name="bolt-python-chalice")
slack_handler = ChaliceSlackRequestHandler(app=bolt_app, chalice=app)

@app.route(
    "/slack/events",
    methods=["POST"],
    content_types=["application/x-www-form-urlencoded", "application/json"],
)
def events() -> Response:
    return slack_handler.handle(app.current_request)

.chalice/config.json
{
  "version": "2.0",
  "app_name": "bolt-python-chalice",
  "stages": {
    "dev": {
      "api_gateway_stage": "api",
      "environment_variables": {
        "SLACK_BOT_TOKEN": "xoxb-your-own-token",
        "SLACK_SIGNING_SECRET": "your-own-secret"
      },
      "manage_iam_role": false,
      "iam_role_arn": "arn:aws:iam::111:role/your-own-role"
    }
  }
}

Steps to deploy the app
Some of the steps may be different with Windows OS but doing this way should work for you:
# create a new virtual env
python -m venv .venv
source .venv/bin/activate

# install dependencies
pip install -U pip chalice click boto3
pip install -r requirements.txt

# Add Chalice config file
mkdir .chalice
touch .chalice/config.json # and modify with your values

# Run your Chalice app
chalice local --port 3000

# In another terminal, start ngrok process
# --subdomain is available only for ngrok paid accounts
ngrok http 3000 --subdomain your-subdomain

# https://api.slack.com/apps
# Go to "Event Subscriptions" page
# Set the URL https://{your-subdomain}.ngrok.io/slack/events to Request URL
# Add app_mention bot event subscription
# Verify the behaviors

# Deploy the app to AWS
chalice deploy

# https://api.slack.com/apps
# Switch the Request URLs to https://{random}.execute-api.{region}.amazonaws.com/api/slack/events

Hello @seratch
Thanks for the fast response. I followed the steps and it worked great so far. I just skipped manage_iam_role part from config file so Chalice will automatically set it.
When I deployed ,it worked fine too ,but when I try to add custom domain I get this error:
Deployed values for resource does not exist: api_gateway_custom_domain
Here is a screen shot of the deployment:

My current config file looks like this:
{
  "version": "2.0",
  "app_name": "bolt-python-chalice",
  "api_gateway_endpoint_type": "REGIONAL",
  "stages": {
    "dev": {
      "api_gateway_custom_domain": {
        "domain_name": "slack.adaw.at",
        "certificate_arn": "arn:aws:acm:me-south-1:token"
      },
      "api_gateway_stage": "api",
      "environment_variables": {
        "SLACK_BOT_TOKEN": "xoxb-token",
        "SLACK_SIGNING_SECRET": "token"
      }
    }
  }
}

I followed up on this article to configure custom domain
https://aws.github.io/chalice/tutorials/customdomain.html

Awesome! Thanks a lot for sharing your knowledge here. It should be helpful for others too!
The reason why I went with my own IAM role is that lazy listener function feature invokes async AWS lambda functions from a lambda function the receives requests from Slack. If you use this functionality, you need to add lambda:InvokeFunction permission to your app.
Let me close this issue now.

Any idea how to fix the api_gateway_custom_domain error ?

Nevermind , I guess it is related to AWS settings. I will figure it out.

The reason why I went with my own IAM role is that lazy listener function feature invokes async AWS lambda functions from a lambda function. If you use this functionality, you need to add lambda:InvokeFunction permission to your app.

This should be noted in the docs as you cannot test with chalice local when using lazy listeners. Chalice logs a 500 error as boto throws a botocore.errorfactory.ResourceNotFoundException... or worse, it invokes whatever is at function:api_handler.

@jlujan-invitae Thanks for the feedback! I've created a new issue #267 for it 👍


Update

Update LangChain Version from 0.0.197 to 0.1.12
Add dynamically local ChatModel from config.yaml which should be able to accept all types of chat defined in LangChain
Updated the Tool Initialization.
Add embedding model from ChromaDB as it could not be downloaded sometime
Add cleaned up rotowire player.csv
Add Error Handling in Different Phase as empty is possible without proper datasource. e.g. Asking dataset of rotowire while giving the artwork dataset.
Add files for future database migration.
Update readme

private reason.


MongoDB Support?

Solder Repo Hash: N/A
Operating System and version: Ubuntu 18.04 LTS
PHP version: 7.0

Composer version: 1.6.4

Server type: ??
Type of database: N/A

Type of hosting: Dedicated

Link to the affected install's public url: N/A

Is it possible to get MongoDB support added? I've never been a big fan of MySQL, and I've never had a good experience setting it up.

There are no plans to support MongoDB now or in the future. The reality is that, which you can freely switch between MySQL, Postgres and SQLite, since they're all SQL, MongoDB is NoSQL, which has a completely different reality to it.


Error: wrong number of tensors; expected 255, got 254

What is the issue?
❯ ollama run llama3.2
pulling manifest
pulling dde5aa3fc5ff... 100% ▕████████████████▏ 2.0 GB
pulling 966de95ca8a6... 100% ▕████████████████▏ 1.4 KB
pulling fcc5a6bec9da... 100% ▕████████████████▏ 7.7 KB
pulling a70ff7e570d9... 100% ▕████████████████▏ 6.0 KB
pulling 56bb8bd477a5... 100% ▕████████████████▏   96 B
pulling 34bb5ab01051... 100% ▕████████████████▏  561 B
verifying sha256 digest
writing manifest
removing any unused layers
success
Error: exception done_getting_tensors: wrong number of tensors; expected 255, got 254

OS
macOS
GPU
Apple
CPU
Apple
Ollama version
0.1.31

@hemanth sorry about the error – you'll need to upgrade to the later versions of Ollama for Llama 3.2

Where is the latest version for mac? I just downloaded it from the ollama website, but it still has the same problem.


Swesarr

porting last year's notebook to main. thanks for the help

quality control seems to be assigning spell errors where there aren't any. also seems to be failing because I didn't clear the kernel output before pushing .... but i did do that?

Looks like you do have output in your notebook:
https://github.com/snowex-hackweek/website2022/blob/bc2a76e9783768a9c44f4d2df96fce0f13209223/book/tutorials/microwave/swesarr/swesarr_tut.ipynb
Did you 'save' the notebook after you restarted and cleared all outputs?
It's two step process, which can be forgotten

Looks like you do have output in your notebook: https://github.com/snowex-hackweek/website2022/blob/bc2a76e9783768a9c44f4d2df96fce0f13209223/book/tutorials/microwave/swesarr/swesarr_tut.ipynb
Did you 'save' the notebook after you restarted and cleared all outputs? It's two step process, which can be forgotten

Ah, thanks Jo. Not sure how that happened. It's saved as cleared on my side. I apologize.

If I'm reading the error log right, is it saying that rendering a table is no longer compatible with the hackweek websites?

Exception occurred:
File "/usr/share/miniconda3/envs/hackweek/lib/python3.10/site-packages/myst_parser/docutils_renderer.py", line 730, in render_table
assert token.children and len(token.children) > 1
AssertionError

At a glance, it looks like some function render_table() in the hackweek library doesn't like one of the tables I've used... Which is likely either xarray or pandas. It still renders on JupyterLab though.

Sees like this issue. https://github.com/executablebooks/jupyter-book/issues/1525. Likely fixed by newer jupyterbook0.13+dependencies. For the time being I just removed the markdown tables in favor of bold font


Studying "Has Social Media Harmed These Teens? | Middle Ground"

https://www.youtube.com/watch?v=jRkuf3usljM&list=PL0Jf6CTjexVzaWzW3NzeRWB_KlZaXJk1l&t=154s

part 1
i definitely find myself scrolling for hours when i am bored, i definitely get ~stucked~ sucke in. I can't stop.
for me, a lot of my school stuff got pushed to social media all the clubs and orgs. another one that's more personal to me is that keeps ~me~ you in touch with my family. all my family's in vietnam. so
a lot of my friends are online, i'm just on ~there, counting~ their account, hyping them up, texting them on instagram. i don't like to ~regularly~ use regular text.
definitely my number 1 source of entertainment. i don't watch as much youtube or netflix. i kinda go through tiktoc and that what brings me joy, sometimes.
tiktok is easy.
short ~attentions fans~ attention spans.
you get sucked in, you gone like 30 minutes, then you just there forever, it happens me all the time.
but sometimes, i spent more time comparing myself to others.
i am not getting that many likes it kinda brings me down.

hype ~ up =  exaggerate the value or importance of ~

"The movie had been so hyped up. Critics had hyped it up."
"The coach always tries to hype up the team before a big game."

~ brings me down = something is causing someone to feel sad, depressed, or discouraged

"The constant stress at work really brings me down."
"She's always complaining and it really brings me down."

Part 2
from https://youtu.be/jRkuf3usljM?list=PL0Jf6CTjexVzaWzW3NzeRWB_KlZaXJk1l&t=218

Part 3
https://youtu.be/jRkuf3usljM?list=PL0Jf6CTjexVzaWzW3NzeRWB_KlZaXJk1l&t=294

part 5
from https://youtu.be/jRkuf3usljM?list=PL0Jf6CTjexVzaWzW3NzeRWB_KlZaXJk1l&t=419

part 6
from https://youtu.be/jRkuf3usljM?list=PL0Jf6CTjexVzaWzW3NzeRWB_KlZaXJk1l&t=502
i agree but the issue is with algorithm ~and~ in place that's not poping up on my feed.
i don't know those exist
cause it's so expensive
cause it's so ~holoneous~ hollowness mindless scrolling
i've never found that
if i find that, i would have love that.
with algorithm and the fact that you never see those ~facts~ things,
i always ~see~ feel that we are on a whole different side of tictok than you are
and all ~that~ it takes is just to look up deep conversion on the internet
there have been a vogue article about
we're not really friend ~than you~ and then you've looked it up
in order to change your algorithm, you just have to change the things you're looking for
but don't you think maybe algorithm in place is really dangerous?
cause it's pumping out really terrible content videos
but you've also got attenention economy
where they're fighting to get your information to then give ~it~ to people
it's like put ADs in your feed that you don't norice.
even if you're ~non~ not on social media
it's gonna do that anyway
you're searching anything
you're searching something on safari
and you go onto your computer, onto chrome
the ads will probably the same
it's just technology
.

Quiz 1

I find myself mindless ____________ through TicTok for hours.
TicTok makes me ____________.
When I'm feeling bored, I sometimes __________ TikTok and watch funny videos.
When I saw the news, I ________ his Twitter account to see if he had commented on it.
Instead of calling her, I'll just ___________ her on Instagram and ask if she wants to meet up for coffee.
When I don't get many ___________, that brings me down.
When I get many ___________, that _____________.

Answer set
brings me up
likes
text
went on
go on
sucked in
scrolling

Quiz 2

I find myself mindless ____________ through TicTok for hours.
TicTok makes me ____________.
When I'm feeling bored, I sometimes __________ TikTok and watch funny videos.
When I saw the news, I ________ his Twitter account to see if he had commented on it.
Instead of calling her, I'll just ___________ her on Instagram and ask if she wants to meet up for coffee.
When I don't get many ___________, that brings me down.
When I get many ___________, that _____________.

Answer set
brings me up
likes
text
went on
go on
sucked in
scrolling


Fix missing tags

Noticed there were still some missing tag variants in the manifest, so I wrote some tests for the missing ones and then got them to pass. Need to add more tests for the working ones for regression-catching. But that's for later.

thanks for spotting the missing tags. You must be good at Where's Waldo!

Haha I wish! I randomly tried to use one and noticed it was missing. And then tried to think through if any other important combinations were missing and came up with one.
But I wouldn't bet very much money that the complete desired set is now in there. Maybe there's a less manual way to generate these (e.g. using the variant combinations fn perhaps)?


Add documentation

Supports the aParallax library. When used together, whever the camera view updates, the parallax view will update with it.
Supports the aInventory library. When used together the outline filter used inside of the aInventory library is scaled whenever the Client's mapView is scaled. Providing a proper size thickness for the filter.
Supports the aPause library. When the focus of the window is lost, the camera pauses.
Supports the aKeybinds library. When used together if you are spectating, you can use the space key to stop spectating with no additional setup.

All existing support for previous libraries has been removed. That functionality can be added by a developer if they want in their own individual application.

Documentation has been added.


Multiple Event Handlers

I have been studying and playing with the code for a bit and cant see a way to add multiple event handlers. Each AggregateRoot contains its own Event handlers (eg whenUserWasRenamed). Part of the spec for CQRS-ES is that you can have multiple read models. I create a new AggregateRoot that had the same event listeners but the AggregateRoot failed to create and only returned null.
What am i missing?
Thank you

in the configuration of the event store, you need to add the event publisher plugin, like this:
return [
    'prooph' => [
        'event_store' => [
            'plugins' => [
                 \Prooph\EventStoreBusBridge\EventPublisher::class,

This will publish all domain events that happened in your aggregates to the event bus. In the event bus you can route events to event listeners (or send them to rabbitmq to handle the events async).

For more about this: check the documentation or visit us at https://gitter.im/prooph/improoph

The docs are a little vague ;) Thank you Ill go look at https://gitter.im/prooph/improoph, I guess the google ground is dead? you still have links to it around the place.

we try to visit the google group from time to time, but we have a good community in the gitter chat
you can also check out our sample app at: https://github.com/prooph/proophessor-do
This will help you to get started.

I totally missed proophessor-do, thank you.


Thin lines not rendered correctly

Godot version:

Godot 3.1 master 21dea10, Godot 2.1.5
OS/device including version:

Xubuntu 16.04.5 LTS, Nvidia GTX 750 Ti, proprietary driver ver. 390.87
Issue description:

When used 2d/viewport mode thin lines not rendered correctly.
It's affected LineEdit caret.

Steps to reproduce:

Open attached project.
Run scene.
Some lines invisible.

Minimal reproduction project:

For Godot 3.1: thin_lines.zip

This heavily depends on the line's positioning, scale aswell as the scale of the viewport.
If they don't align to the pixels correctly, missing lines or ones that are too thick are the result.
This is the standard behavior and I think this is okay.
What may happen here is that the container adds a small offset to the node causing a subpixel offset. Have you tried enabling pixel snap™?

Use Pixel Snap (Rendering/Quality/2d) don't solve problem.
I expected lines work like a guides lines in Godot Editor or stroke in viewport, that's visible in any situation.

Lines in the editor are drawn differently. They don't use textures but OpenGL functionality to do this.
I'm not sure if Godot has support for actual line meshes at the moment.

I expected lines work like a guides lines in Godot Editor or stroke in viewport, that's visible in any situation.

You should use draw_line then.

My game used LineEdit, how to fix invisible caret in some position?
Increase caret width, sounds like a workaround.
https://github.com/godotengine/godot/blob/19f2a188bb305c4a446f63a0b5417086b7261514/scene/gui/line_edit.cpp#L823

My game used LineEdit, how to fix invisible caret in some position?
Increase caret width, sounds like a workaround.

This problems occurs because you are using  display/window/size/test_widht and test_height with low resolution, changing to zero will fix that.

It's set for test purpose, changing to zero not fixed bug, if user change windows size?

yeah, if windows is resizable than caret can disappear indeed. But in that case I think this is expected because you are using stretch mode. The only way of fixing it it's disabling stretch.

For example, if I resize my browser, the interface like search field, tabs, buttons, fonts, etc, doesn't change their sizes, only the content of the site if it's responsible design.

I think this may be a reason why some games don't allow resizing the window, usually they give some pre-defined resolutions for the player to choose. I personally would go that way.

https://github.com/godotengine/godot/commit/45e7306b5adec09746fefda902a5414e5b53fdfa
Having a similar issue, shows different lines on move, resize and scale.
pixel snap has no effect

LineRender.zip

Still valid in 481151b


Undefined argument "moe_freq" when running unit tests on WSL/Ubuntu 20.04

I'm trying OpenLM on Ubuntu 20.04 under WSL. I've hit an issue running the unit tests where the argument "moe_freq" is never set before using it in train.py which results in a Python error. As a work around I added hasattr() to line 176 in train.py:
if hasattr(args, "moe_freq") and args.moe_freq > 0:
Steps to Reproduce
open_lm/open_lm$ pytest tests/
FAILED tests/test_accumulation.py::TestGradientAccumulation::test_accumulation - AttributeError: 'Namespace' object has no attribute 'moe_freq'

thanks for reporting! Looks like this is in an old test that was committed to open_lm/tests instead of tests/. Feel free to ignore that test for now, and I'll move it to our tests/ folder or deprecate it entirely soon.


Yaml typo for seriesFilters example

Small thing, but missing - in order to make seriesFilters an array. Ran into issues getting the example to run until I saw this https://github.com/DirectXMan12/k8s-prometheus-adapter/blob/master/docs/sample-config.yaml#L40
Just updating to reflect that structure

good catch, thank you :+1: and sorry for not merging earlier as I have been on vacation.


Event loop feature "signals" isn't supported by the "StreamSelectLoop"

Hello ,
On production Debian 10, when i run the shell command  "php artisan websockets:serve" i have this error :
Event loop feature "signals" isn't supported by the "StreamSelectLoop"
at /home/nhnweb/web/nahen.tech/public_html/vendor/react/event-loop/src/StreamSelectLoop.php:153
The commande works fine when its called via route like so
    Route::get('start-socket', function()
    {
        Artisan::call('websockets:serve');
    });

I don't know what's wrong with the shell commande.

I needed to unable pcntl ext in php settings.


Sileo freeze

iOS Version:  12.1.1
iOS Device:  IPhone 7
unc0ver Version: newest

Launch Sileo wait 30sec and it freeze and dosnt work

Check #common-issues in our discord.


Getting PTXAS info from cuda kernel

Feature request
It is useful to expose the ptxas info log from compiled cuda kernel; i.e.
https://gist.github.com/sklam/0e750e0dea7571c68e94d99006ae8533

I wrote a cuda kernel for time advancement in Molecular Dynamics. According to my idea, each thread block corresponds to a computing system, and each thread corresponds to an atom. It should be noted that only 4 new variables are declared in the kernel function:
tx=cuda.threadIdx.x
bx=cuda.blockIdx.x
realbx=bx%All_N[0]
for i in range(3):

In theory, only 4*8=32 registers are needed at most. But when I call the kernel function with '[1,433]' configuration in which 433 is the number of atoms, the system will give such an error:

numba.cuda.cudadrv.driver.CudaAPIError: [701] Call to cuLaunchKernel results in CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES

So, i want to check the PTXAS info for the number of registers needed.
With codes like this:
Samples_Parallel(d_All_N,d_Data,d_AllData,d_Box,d_LJ_E,d_LJ_S,d_Mass,d_T,d_All_Pars)
kern=Samples_Parallel.specialize(d_All_N,d_Data,d_AllData,d_Box,d_LJ_E,d_LJ_S,d_Mass,d_T,d_All_Pars)
with open('info.ptx','w') as out:
    print(kern._func.get_info(),file=out)

I get simple PTXAS info like this:

info    : 40 bytes gmem
info    : Function properties for '_ZN6cudapy8__main__20Samples_Parallel$241E5ArrayIiLi1E1A7mutable7alignedE5ArrayIdLi2E1A7mutable7alignedE5ArrayIdLi2E1A7mutable7alignedE5ArrayIdLi2E1A7mutable7alignedE5ArrayIdLi1E1A7mutable7alignedE5ArrayIdLi1E1A7mutable7alignedE5ArrayIdLi1E1A7mutable7alignedE5ArrayIdLi1E1A7mutable7alignedE5ArrayIdLi1E1A7mutable7alignedE':
info    : used 224 registers, 0 stack, 0 bytes smem, 872 bytes cmem[0], 64 bytes cmem[2], 0 bytes lmem

I am confused about this info, and it is not clear why a single thread will call so many registers. So here are the features I want to implement:

Count which variables require registers and which require shared memory
With my codes, ._func.get_info() only give the 'info:' without 'ptxas info:' as shown in https://gist.github.com/sklam/0e750e0dea7571c68e94d99006ae8533

Hello,
I had a related issue to your
https://github.com/numba/numba/issues/3795
for that
@stuartarchibald pointed out to me that some of what you want here is accessible via
cudajittedfunc._func.get().attrs


Notebook editor: support viewState

With https://github.com/microsoft/vscode/commit/22cf36faf81ca270390ec233389a81339b40b63a, IEditorOptions.viewState is now a generic thing and no longer text editor specific. There are a few places where we automatically fill in viewState before doing an operation, the most prominent one is probably when you drag and drop an editor to another group or even across windows.
The idea is:

your IEditorPane (notebook editor) implements the optional method getViewState
in setInput you check for options.viewState and apply it accordingly

I did a quick and dirty
getViewState(): object | undefined {
        const input = this.input;
        if (!(input instanceof NotebookEditorInput)) {
                return undefined;
        }

        return this._loadNotebookEditorViewState(input);
}

in notebookEditor.ts but wasn't sure how to add the applying side in setInput, it probably needs to be respected somewhere here:
https://github.com/microsoft/vscode/blob/c3f63dc2bb2211e46c3369696e4061dbd2d0630c/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.ts#L1110-L1110

It seems if I reload the window, then the setInput doesn't carry viewState info, is there anything I miss?

When editors are restored, the view state needs to be restored from the mementos, such as here:
https://github.com/microsoft/vscode/blob/d4c222488de817d491f7c5686cf1161e9cceb7d4/src/vs/workbench/contrib/files/browser/editors/textFileEditor.ts#L146-L150
The viewState property of EditorOptions will not carry the view state when you reload, it is meant only when openEditor API is called with specific view state. You should always check if there is viewState in the options to apply and then fallback to persisted view state otherwise.

@bpasero thanks for the explanation, works as charm 🚀