Duplicate cmd cp .env.sample .env

The cmd you@host:jahia2wp$ cp .env.sample .env is already done here: https://github.com/epfl-idevelop/jahia2wp/blob/master/Makefile#L56

yes, the command is duplicated for now because the make commands fail if there is no .env
Makefile:
# TODO: test if file exists
include .env

The correct fix is to check if the file exists for the appropriate commands, but not for bootstraping.
We just have been working on other improvements, and use the workaround of the duplicate command you mention


error on win10

C:\Users\u7658>go get -u github.com/EngoEngine/engo
github.com/go-gl/glfw/v3.2/glfw
exec: "gcc": executable file not found in %PATH%
github.com/go-gl/gl/v2.1/gl
exec: "gcc": executable file not found in %PATH%

It looks like you don't have a gcc toolchain on your path. I recommend using something like mingw to get it. Win-builds also looks promising and has a nice GUI to install packages, I would try that out.


/elections/?dates= vs. /elections/?election_dates=

Do we want to make elections have the same ?election_dates= parameter as the other two endpoints or just use ?dates=.  Either way works but one might have more consistancy than the other.

Decided to do dates


Is it possible to trade pokemon on the emulator?

Hello Dev,
I want to trade pokemon since some only evolve by trading with other players, but this emulator isn't able to connect to other people's devices the ways other emulators can, I don't think. Will a feature that might enable something like pokemon trading be added to your emulator anytime soon?
Thank you for your work, I'm happy to play gbc games again. :)

Hi GaleofD, Hi Dev,
is there any news on this?
The emulator is almost perfect. The trading function is the only thing that would make the emulator better.
Thank you for your efforts!

Thanks for raising this issue. It's actually a duplicate of #55, so I'm going to close it as such. Please follow along there if you're interested in this feature. It's definitely something I'd love to add support for, but like many of the larger features, it's probably going to be a while before I get a chance to look into it seriously.


etcdctl/ctlv3: document auth,user,role

Fix https://github.com/coreos/etcd/issues/5580.

/cc @xiang90 @heyitsanthony @mitake

overall looks OK, mostly formatting issues

@heyitsanthony PTAL. All formatting issue addressed.
Thanks!

@gyuho the <'s and >'s need to be escaped into \< and \> so github will display it

@heyitsanthony Right. Just fixed. PTAL.
Thanks.

lgtm, defer to @xiang90 and @mitake

@xiang90 Just added  --user=root:123 flags to example. PTAL.
Thanks!

LGTM!

thanks all.

@gyuho thanks for doing it!

@mitake Np. Thanks for help!


opencc: 1.0.6 -> 1.1.2

enable parallel building as well

Motivation for this change
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 125606 at be20d1a8 run on aarch64-linux 1

5 packages failed to build:

brise
fcitx-engines.rime
fcitx5-rime
ibus-engines.rime
librime

3 packages built successfully:

fcitx5-chinese-addons
goldendict
opencc

1 suggestion:

warning: unnecessary-parallel-building
Meson, CMake and qmake already set enableParallelBuilding = true by default so it is not necessary.
Near pkgs/tools/text/opencc/default.nix:23:3:
   |
23 |   enableParallelBuilding = true;
   |   ^

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.

Update: take addvice from @r-rmcgibbo

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 125606 run on x86_64-linux 1

5 packages failed to build and are new build failures:

brise: log was empty
fcitx-engines.rime: log was empty
fcitx5-rime: log was empty
ibus-engines.rime: log was empty
librime: log was empty

3 packages built:

fcitx5-chinese-addons
goldendict
opencc

Result of nixpkgs-review pr 125606 run on x86_64-linux 1

8 packages built:

brise
fcitx-engines.rime
fcitx5-chinese-addons
fcitx5-rime
goldendict
ibus-engines.rime
librime
opencc

@SuperBo This has been fixed in #125609 .

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 125606 run on x86_64-linux 1

8 packages built:

brise
fcitx-engines.rime
fcitx5-chinese-addons
fcitx5-rime
goldendict
ibus-engines.rime
librime
opencc


make Container node aware of Size Flags

It really bugged me that all of the Container subclasses are capable of using children Control Size Flags but not Container itself. I submitted a patch to make Container aware of these flags as well... this seems logical to me :)

Wouldn't this break some custom-scripted containers, as well as all containers in general?

Will this PR some how fix #4951 ?

@hubbyist No.. it wouldn't

@bojidar-bg why would it?

@razvanc-r No idea, just saying that there might be some issues, would you be so kind as to test it with https://godotengine.org/asset-library/asset/24 and a plain old HBoxContainer and CenterContainer?
I'm just not sure if it wouldn't sort too agressively, or sort at the wrong moment, so that it would cause child nodes to end up full container size, rather than whatever the inheriting class does.

Is this satisfactory?

I only tried the example I'm not going to go over how to create a menu from scratch with CenterContainer or other stuff :), not now at least.
I inspired from PanelContainer source code. So it isn't any more aggressive than any other node. Plus, isn't this suppose to trigger only when using Container? Not a subclass of Container.

@razvanc-r Ok... let's say my worries were futile. I still think there might be a small regression, but, shouldn't happen with most well-formed code.

@bojidar-bg I just added an edit to the above, please see :P

@razvanc-r Well, my asset supports Expand size flags just fine, so you can make a quick test ;)

@bojidar-bg I tried all of the Size Flags combinations and the result is the same. I think it should be fine, hopefully :). It just doesn't seem logical that all containers take Size Flags into account but not the base Container.


Refrigerator reading wrong fridge/freezer temp

When I initially installed the integration, my fridge and freezer temp sensors were reading 10F and 8F. This never changed the whole time I had the integration set up. I realized later that it was stated the integration wouldn't work with an account using google or otherwise, so I followed the steps to disassociate the fridge, create a new LG only account, readd the fridge, then set the integration back up authing with the LG account. It's getting data, because the door open sensor works just fine, but the temps are still reading 10 and 8. My setpoints are 37 and 0. I looked through the refrigerator module source, and couldn't see any real reason where the 8 and 10 would be coming from, unless the data was bad. I'm not sure how to debug these modules much further to know what the raw return data from the LG API is, so any help would be appreciated.

Can you post here the JSON info for your refrigerator? You should fing the link to download it in the HA log during start-up.
Probably I'm not reading properly the information for your refrigerator, temperature mapping is quite complex...

I can't seem to find the info for the fridge. The only reference to the smartthinq module, is the warning about it being a custom integration:
2020-07-04 11:34:59 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for smartthinq_sensors which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
There's no other reference to smartthinq or lg that I can find in any of the logs.

You must open the log file home-assistant.log inside homeassistant home directory, There you will find a info line log like this:
Loading model info for Refrigerator. Model: ..., Url:...

I need the Url indicated there.

There really just isn't anything there aside from that initial log line for being a custom component:
hass@utilibox:~/hassos_smb$ cat home-assistant.log | grep thinq 2020-07-04 11:34:59 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for smartthinq_sensors which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant. hass@utilibox:~/hassos_smb$ cat home-assistant.log | grep model hass@utilibox:~/hassos_smb$ cat home-assistant.log | grep -i refrigerator
I know the module is working, since the fridge open/close is reporting accurately. I'm not sure why it's not logging anything pertaining to loading the model info. I even tried adding the module to the logger config set to debug.
Do you have any suggestions as to why I'm not seeing anything in the log, or where else to look?

If you have nothing probably is because your log level is set to warning and you don't see info.
Try adding this line to configuration.yaml and reboot:
logger:
  default: info

That did it. Here are all the log entries I found:
2020-07-04 17:12:57 INFO (MainThread) [custom_components.smartthinq_sensors] SmartThinQ client connected
2020-07-04 17:12:57 INFO (MainThread) [custom_components.smartthinq_sensors] Starting LGE ThinQ devices...
2020-07-04 17:12:57 INFO (SyncWorker_9) [custom_components.smartthinq_sensors.wideq.core_v2] Loading model info for Refrigerator. Model: 2REF11EID___2, Url: https://aic.lgthinq.com:46030/api/webContents/modelJSON?modelName=2REF11EID___2&countryCode=WW&contentsId=JS0903071724262497&authKey=thinq
2020-07-04 17:12:58 INFO (MainThread) [custom_components.smartthinq_sensors] LGE Device added. Name: Refrigerator - Type: REFRIGERATOR - Model: 2REF11EID___2 - Mac: 20:3d:bd:45:30:fe - ID: 4519afb0-518a-11e8-bee3-203dbd4530fe
2020-07-04 17:12:58 INFO (MainThread) [custom_components.smartthinq_sensors] Founds 1 LGE device(s)
2020-07-04 17:12:58 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.smartthinq_sensors
2020-07-04 17:12:58 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.smartthinq_sensors
2020-07-04 17:12:58 INFO (MainThread) [custom_components.smartthinq_sensors.sensor] Starting LGE ThinQ sensors...

Fine, I will take a look. I removed sensitive info from your msg

@ollo69 remember to delete the previous history

Thank you for removing that, and thank you for taking a look!

Please can you post here the attribute of your refrigerator like this;

This issue should be fixed by last release (v0.5.4)
Please check and let me know

That did it. Thanks!


Not possible to edit/change a VMware VM immediately after it's stopped

ISSUE TYPE

Improvement Request

COMPONENT NAME
VMWARE / vShpere code
CLOUDSTACK VERSION
4.11.2 (didn't test all previous releases, except I know thing worked differently in 4.6)
CONFIGURATION
vSphere hypervisor used.
OS / ENVIRONMENT
NA
SUMMARY
After VM is stopped via API/GUI, it's not possible to immediately change VM (resize disk, change Service Offering, etc. - these 2 were tested) since they require the VM to be stopped (and VM is actually stopped), but due to VMware code using "ping.interval" global setting value, it can take up to 2 x ping.interval for VM power state to be fully synced from vCenter to Management Server. ( by default, this becomes up to 2 minutes)
STEPS TO REPRODUCE
Spin new VM, stop VM, and immediately try to change Service/Compute Offering for the VM.
EXPECTED RESULTS
It should be possible to change/edit a VM immediately after stopping it (i.e. this was possible in ACS 4.6)
ACTUAL RESULTS
Can't change Service/Compute offering or resize ROOT disk of a VM -  you will get error that it's impossible since VM is not stopped.

I'll take a look

cc @Spaceman1984


Update

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

My friend, I am facing a problem with updating the version. When I search for a new version, it tells me there is no one, and when I download a playlist, it tells me that you must update the version.

Read #30839 as asked to discover the nightly builds that you can use.


#fromSDLSurface: was sent to nil

Running Do it on Arkanoid start, SpiderInvasion start, or WBA start triggers the following error in Pharo 9.0 (64bit)

It is fixed now, you should update the repo

It is fixed now, you should update the repo

@apiorno Update fixed the issue! Thanks!

@apiorno Update fixed the issue! Thanks!


Could you release the code of calculating the instance recall rate?

@QingyongHu @yifanzhang713 May I ask how the recall of instances of foreground points is calculated? Could you please provide the relevant code please? Thanks a lot!

And what is the formula for calculating the recall of instances of foreground attractions?


Dev/0.1.0

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@2b93b7b). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             main      #6   +/-   ##
======================================
  Coverage        ?   0.43%
======================================
  Files           ?       3
  Lines           ?     228
  Branches        ?      49
======================================
  Hits            ?       1
  Misses          ?     227
  Partials        ?       0

Continue to review full report at Codecov.

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


choose-account: Scroll viewport awkwardly starts 8px below app bar

Current
Would be better

Can you describe the issue properly

@chintu4 The issue is described in the title of the issue thread, and illustrated in the screenshots above. If you look closely at what's different between the screenshots, focusing on just below the app bar (as pointed to by the title), you should see it.
Chris also sent a PR fixing the issue, which is linked here. So if you look at the code of that PR, that may help make it clearer for you.


Reduce repetitiveness in HTTP clients + Add tests

This PR consolidates much of the repeated logic in each client into one base class.

Method signatures remain the same except if a client's method is async and returns void, it now returns CompletableFuture.

Originally I wanted to move all the 'properties' logic from RuneLiteAPI into RuneLiteApiClient, but it looks like there are references to RuneLiteAPI across a lot of other modules, so I did not touch it.

HiscoreClient was not changed. I will leave this for a separate PR. There exists an enum for all hiscore URL's, but the client also exposes a lookup method taking an arbitrary URL (it looks like maybe for testing purposes?).. I would like to fix this as well so the lookup URL's are limited to the enum URL values.. slightly more involved.

Let me know how it looks..thanks.

The HTTP API has moved to its own repository: https://github.com/runelite/api.runelite.net. You can reopen this PR there if you feel we should still consider these changes.


Created secure-key-management.md

Summary
Close #72

Release Note

Documentation

@lkatalin please check this, if it can be merged.

There are a number of technical inaccuracies in this documentation. I dont think this addresses the issue either.

There are a number of technical inaccuracies in this documentation. I dont think this addresses the issue either. This doesn’t have to do with storing keys, it’s about when to use a root of trust from TUF vs using a key provided out of band to verify Rekor. Like the other issue, please take a look at Rekor and follow up with an outline on the issue before writing more documentation.

Ok, I'm working on it.

Let's close this and continue the discussion on the issue (#72), starting with an outline


Added in Ember 1.13.12 to ember-try config

Protects those of us who are still using older apps on Ember 1.13 :-)

Hi @acorncom , thank you for your pull request and bringing this to our attention. I will be closing this PR in favor of #146 . I've updated the ember try version and modified the configuration to protect users with ember versions between 1.11 and 2.0.

No problem, had forgotten this PR! ;-) Plus, we made the upgrade so no longer need it. Thanks for your work!


Feat: Registration config

Registration form extracts data from hackportal config file. Users can edit questions from the config file and the code should take care of the rest.

Feel free to resolve this comment if this is already addressed, but it seems like if someone wants to add a new question, they might still need to manually modify the GeneralStats object here: https://github.com/acmutd/hackportal/blob/feat/config/lib/types.d.ts#L238

Feel free to resolve this comment if this is already addressed, but it seems like if someone wants to add a new question, they might still need to manually modify the GeneralStats object here: https://github.com/acmutd/hackportal/blob/feat/config/lib/types.d.ts#L238

whoops I forgot about that. I'll take care of that

Not sure if there is an easier/faster way to determine the types of the desired fields to be shown in admin page but it seems easy enough to change from the config file that the user should not really have a problem

I do recommend adding instructions to the top on how to add a question to registration and potential warnings (such as adding all questions before opening up registration to ensure accurate data in admin-side "Stats at a Glance" view).

Also in the lib/types.d.ts file you may want to take a look at the Registration type, seems to have some hardcoded values

Also in the lib/types.d.ts file you may want to take a look at the Registration type, seems to have some hardcoded values

Should we move the whole thing to the config file which puts more editing to editors? Or just delete the type cuz registration type stuff is mostly kinda already done through the config file stuff

If you can safely delete that'd be ideal.

If you plan to make breaking changes, I think you might wanna make sure to specify that because other branches may still rely on the old stuffs.


bundling failed: "Unable to resolve module ../images/icon-checkbox.png

Please add checkbox images to \node_modules\react-native-select-multiple\images\ folder when using the NPM installer
bundling failed: "Unable to resolve module ../images/icon-checkbox.png
\node_modules\react-native-select-multiple\images\icon-checkbox.png'
Thanks, Adri

Not sure I understand, I've just npm installed the module and it contains the images directory. Did you solve this?

Thanks anlanshaw, I did have solve the problem with a hack and now I use react-native-vector-icons as icon instead of the images.
You can close this issue


Please upgrade your Python as Python 2.7

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
怎么解决

安装 python3


ci: Enable Netlify builds for the documents part of the repo

Similar to upstream, add relevant files to get netlify being able to build the docs site
example render at: https://kmmrh.iranzo.io/
Note: this one has the cherry-pick of the upstream commit + the missing files in the repo
Signed-off-by: Pablo Iranzo Gómez<EMAIL_ADDRESS>

@iranzo OK to close this in favor of the product docs?

@iranzo OK to close this in favor of the product docs?

It's fine, but this one came in to keep both in sync, but adding also the missing pieces here to have both at the same level.
Additionally, there will be files like labs, etc that are here and not in the upstream one, but we might want to add info there so that users can test or prepare labs to practice with the technology

/ok-to-test

Cherry-picked into #379. Thanks @iranzo!


Randomize Notion search page_size on 504s.

Description

In #5133, we were able to make progress in handling Notion pages, but we still encountered 504 errors eventually. A potential, though not ideal, solution to address this issue is to randomize the page_size value when a 504 error occurs.
Risk

Deploy Plan

PMRR.


Unable to create ILogger that only exists in specific IServiceScope

I've been working on a web app feature that does a bunch of task scheduling for operations that run on background threads. In order to do this, I've got some sort of Singleton object that contains an operation queue, and when one is done, we pop off the queue and perform the next Operation. Since an operation is async, I needed a way of having this running on a background thread, which means having a separate scope from the current HTTP request, which will end.
As such, I've been using IServiceScopeFactory in order to kick off a new application lifetime scope, as something like this:
using (var scope = _scopeFactory.CreateScope())
{
	await CurrentOperation.Invoke(scope);
}

Inside of the operations, I have logic that allows them to take the current IServiceScope, and grab whatever services they need from the current scope, specifically now that it's detached from any scope generated by an HTTP request. This works fine for pretty much everything except logging.
The dream we had was that any scoped sub-service requested down within this background task could also request a logger, and we'd be able to capture all logging events that happened only within that specific scope.
It's easy to write a custom ILogger and ILoggerProvider, but there's no current way that I can see for us to have an instance of an ILogger that knows to write to a specific operation running only within a specific IServiceScope. I've tried approaches where my ILogger is given an instance of a ServiceProvider, but that's still the top-level Service provider, and there's no way to get one for my current scope.
Since the implementation of ILoggerFactory is a singleton, and Logger just stores a mapping of string to ILogger, it seems like there is currently no clean way for someone to create an ILogger that has access to the current scope, short of doing something extremely convoluted.
I'm still using 1.1, and I know there's been some changes in the 2.0 Preview (#626) that have added some more DI capabilities, but just my initial look at the code doesn't seem to indicate that there's any way to create a logger that can react to the current scope it's being called on. Am I missing something, or is this a feature that would be useful to be implemented?
Note: I know that I can easily register a different Logging service that has nothing to do with the logger, and have it be scoped, taking in a reference to ILoggerFactory, but then I would be missing out on any other logs in services down the line that were using the existing Logging system, which is exactly what I need to capture. I need all logs that were executed within my custom scope. Additionally, since there's no HTTP request here, I can't grab the scope from an IHttpContextAccessor in a Logger. The only option was to have some form of Scoped logger, but I don't see a way for that to work with the current system.
Example
Here's a rather silly example that you wouldn't want to do, but for the sake of the example...
// This comes from DI normally but for the sake of example, let's forgive the new
IScopeServiceFactory serviceFactory = new ConcreteScopeServiceFactory();
using (var scope = serviceFactory.CreateScope())
{
	scope.ServiceProvider.GetService<MyCurrentScopeObject>().CurrentScope = "SomeId";
	scope.ServiceProvider.GetService<MyCustomService>().DoSomething();
}

public class MyCustomService
{
	public MyCustomService(RandomOtherService ros, ILoggerFactory loggerFactory)
	{
		_logger = loggerFactory.Create<MyCustomService>();
		//... save these to service.
	}
	public void DoSomething()
	{
		_logger.Log( /* Log something */);
	}
}

public class MyCurrentScopeObject
{
	public string CurrentScope { get; set; }
	public List<string> LogList { get; set; }
}

public class MyCustomLogger : ILogger
{
	public MyCustomLogger(...) {} // This comes not from DI, but from a LoggerProvider
	public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
	{
		// if I had access to MyCurrentScopeObject I would do something with it.
		_myCurrentScopeObject.LogList.Add( ... );
	}
}

Since the MyCustomLogger in the code above has to be created with new from an ILoggerProvider there's no way for a scoped DI object of a MyCurrentScopeObject to be passed in!

You'll need to create an async local that stores your current scope and access that from the ILogger implementation. It would be the moral equivalent of the IHttpContextAccessor but for your custom scope.

Thanks @davidfowl - I suppose I've now got an implementation working with an AsyncLocal created right when my scope kicks off. I was hoping to avoid something like that, but, whatever - it solves the problem and does what it needs to. I suppose this can be closed, unless you all think there's value in actually thinking about a Scoped ILogger instance, which would fit in with a lot of the other moves toward being more DI-friendly that the logging code has been making.

The logger instance can't be scoped. There is no concept of a "current" scope in DI so it wouldn't really work.


Add Coroot

Pre-submission checklist:
Please check each of these after submitting your pull request:

[x] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[x] Is your project closed source or, if it is open source, does your project have at least 300 GitHub stars?
[x] Have you picked the single best (existing) category for your project?
[x] Does it follow the other guidelines from the new entries section?
[x] Have you added your SVG to hosted_logos and referenced it there?
[x] Does your logo clearly state the name of the project/product and follow the other guidelines?
[x] Does your project/product name match the text on the logo?
[x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?

@def please re-submit with the git commit -s DCO style sign off

@caniszczyk fixed


Add Column.name

This came out of discussions with scikit-learn
I assume it'd be pretty uncontroversial?

sure, I've specified, thanks

Thanks Marco!


How to install wheel files in a storage account?

Hi, I followed this article to put a wheel file under<EMAIL_ADDRESS> Then I found the uploaded wheel file is not in the workspace package list, so how can I install the wheel file in a Spark pool?

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

ID: 4575464f-6077-3404-06ab-229c6d35670b
Version Independent ID: aaee2971-425a-2c1a-118a-503ca34fdc6d
Content: Manage Python libraries for Apache Spark - Azure Synapse Analytics
Content Source: articles/synapse-analytics/spark/apache-spark-manage-python-packages.md
Service: synapse-analytics
Sub-service: spark
GitHub Login: @midesa
Microsoft Alias: midesa

@simonzhaoms Thanks for the feedback. We are investigating the issue and will update you shortly.

I have another question: Besides via Synapse Studio to upload wheel files as Workspace Packages, are there any other ways for uploading, say, REST API or Azure CLI? I don't find any possible REST APIs  can do this.

@simonzhaoms This video on Azure Synapse Analytics - Spark Pools & Custom Python Wheels show how to install custom Python wheels on Azure Synapse Analytics.
Unfortunately, you cannot upload libraries programmatically.
Hope this helps.

@CHEEKATLAPRADEEP-MSFT I tried, but it didn't work.

@simonzhaoms  Since this issue is not related directly to the doc, I would recommend you to create a thread on the forums - Microsoft Q&A or Stack Overflow
Once you post your issue on forums, it will have visibility across the community which is a better suited audience for such types of issues.


Compatibility Issue Between django-jazzmin and django-admin-site-search

When using django-jazzmin and django-admin-site-search together, a critical compatibility issue arises, impacting the functionality and user experience of the Django admin interface. Notably, the search button is missing from the admin panel, depriving users of essential navigation tools, while attempts to initiate search via ctrl + k result in layout distortions within the django-admin-site-search interface, impeding readability and usability.

Can't say I've ever used django-jazzmin but, at a glance, I'm not surprised. The templates here assume the default Django admin, otherwise it's down to you to tweak things as required.
In the end, there's a view and a couple of templates that need inserting somewhere in your admin site. I'd try to extend jazzmin's admin and see if it's possible to add these templates somewhere that has little impact on the rest of the site. Worst case scenario, you could re-implement the html/JS in a way that fits in with jazzmin.
If there's any general changes that would make things easier to customise, let me know 🙏


readme syntax and style changes

Removed HTML tags
Removed references to Bluemix
Removed extra white spaces
Removed references to Conversation
More general clean up to match other patterns

@lee-zhg @jkomg please review.

@stevemart it looks good. Thank you

@lee-zhg if you agree with the changes then please sent the merge button


play nicely with coffeescript source maps

CoffeeScript supports source maps - and correct line number mapping with errors.
http://jashkenas.github.com/coffee-script/documentation/docs/coffee-script.html
However, when longjohn is require'd, it messes with the line mapping -- probably something to do with the override of Error.prepareStackTrace.  It would be great if longjohn could be fixed to show coffeescript source line numbers, when a coffeescript source map is available.

This issue was originally identified in #11.

$ npm install longjohn source-map-support coffee-script
$ node_modules/coffee-script/bin/coffee --map --compile demo.coffee
$ cat demo.cofee

source_map = require('source-map-support')
source_map.install()
longjohn = require('longjohn');
longjohn.format_stack_frame = (frame) ->
  return longjohn.empty_frame if frame.getFileName() is longjohn.empty_frame
  return '    at ' + source_map.wrapCallSite(frame);
foo = ->
  bar = -> throw new Error 'this is a demo'
  bar()
setTimeout(
  lol = ->
    foo()
  , 1000)

$ node demo.js

/home/s.volkov/Proj/longjohn/dist/demo.coffee:8
  bar = -> throw new Error 'this is a demo'
                     ^
Error: this is a demo
    at bar (/home/s.volkov/Proj/longjohn/dist/demo.coffee:8:22)
    at foo (/home/s.volkov/Proj/longjohn/dist/demo.coffee:9:3)
    at [object Object].lol (/home/s.volkov/Proj/longjohn/dist/demo.coffee:12:5)
    at Timer.listOnTimeout [as ontimeout] (timers.js:121:15)
---------------------------------------------
    at Object.<anonymous> (/home/s.volkov/Proj/longjohn/dist/demo.coffee:10:1)
    at Object.<anonymous> (/home/s.volkov/Proj/longjohn/dist/demo.coffee:1:1)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:935:3

Thanks @drauggres!!!
I've changed the code and pushed it back up to support source maps through the method that @drauggres outlines above.
Could someone pull the latest changes and try it out locally before I release a new version?
Thanks!

Published to npm as version 0.2.9.


you could have just changed max length :powercry:

shameless plug for my chrome extension https://github.com/ByzantineProcess/Kazoo
but yea missed opportunity for an easier exploit in the xss attack
not sure if it worked like that in v1 kahoot


gh-268: remove private _src folder

closes #268.

Summary by CodeRabbit

New Features

Introduced a new function for adding banana error to chirp mass and symmetric mass ratio values.
Added multiple transformation classes for mass and redshift calculations.
Implemented a joint distribution class for probabilistic modeling and sampling.

Bug Fixes

Removed obsolete files and functions related to error handling and inference, streamlining the codebase.

Documentation

Enhanced comments and formatting for improved readability and consistency across multiple files.

Refactor

Consolidated import statements and restructured module interfaces for clarity and organization.

@coderabbitai full review

@coderabbitai full review


Failed to fetch the user profile

Hi,
Since the passport-discord library throwed some error like "Failed to fetch User Profile". I have changed the lib to thisone .The problem is there I still get the error.
InternalOAuthError: Failed to fetch the user profile.     at /home/container/passport-discord/lib/strategy.js:77:25
Code: Example Code
Scopes: Identify,Guilds
Regards

@Rakejs can you provide the code?

The error seems like resolved .It was a redirect error. But is there any way to await fetch User guilds, Since Discord allows only to fetch user guilds every 1 sec.
Regards

@Rakejs the guilds are returned from a promise and they are only retrieved once, so there shouldn't be an issue with rate limits. This is used in heavy load production apps with no issues. Are you experiencing rate limit issues?

yeah sometimes, it happens,if many users login in same time atm it is rare. maybe 1 time in a day
Regards

@Rakejs can you send the error and the code implementation? This is installed on a quite a large bot with thousands of authentication requests a day and I never once see an issue.

 const   fs = require("fs"),
    express = require("express"),
    strategy = require("./passport-discord").Strategy,
    session = require("express-session"),
    passport = require("passport"),
    fetch = require("node-fetch"),
let config = require("./config_second.json");

passport.serializeUser(function (user, done) {
    done(null, user);
});
passport.deserializeUser(function (obj, done) {
    done(null, obj);
});

passport.use(new strategy({
    clientID: config.client_id,
    clientSecret: config.client_secret,
    callbackURL: config.callback_url,
    scope: config.oauth_scopes
}, function (accessToken, refreshToken, profile, done) {
    process.nextTick(() => done(null, profile));
}));

app.set("view engine", "ejs");
app.use(session({
    secret: config.session_secret,
    resave: true,
    saveUninitialized: false,
    expire: 3.1709791983765E-11
}));
app.use(express.json());
app.use(passport.initialize());
app.use(passport.session());

app.use("/public", express.static("public"));

const authOnly = (req, res, next) => {
    if (req.isAuthenticated()) return next();
    else return res.redirect('/');
};

app.get("/auth/login", passport.authenticate("discord", { scope: config.oauth_scopes }), function (req, res) { });
app.get("/auth/callback", passport.authenticate("discord", { failureRedirect: "/" }), async function (req, res) {
    console.log(`[DASHBOARD] ${req.user.username} - Logging in..`);
    return res.status(200).redirect("/dashboard");
});
app.get("/auth/logout", authOnly, async (req, res) => {
    console.log(`[DASHBOARD] ${req.user.username} - Logging out..`);
    req.logout();
    res.redirect("/");
});

This is the error i get sometimes
InternalOAuthError: Failed to fetch user's guilds
    at /home/container/passport-discord/lib/strategy.js:108:32
    at passBackControl (/home/container/node_modules/oauth/lib/oauth2.js:132:9)
    at IncomingMessage.<anonymous> (/home/container/node_modules/oauth/lib/oauth2.js:157:7)
    at IncomingMessage.emit (events.js:326:22)
    at endReadableNT (_stream_readable.js:1223:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)

@Rakejs I believe the issue might have to do with the user's themselves not giving you permission to access their guilds. I can look into this and see if I can handle this case and not through an error.

ok tysm. I will stay tuned for new updates.


Duplicate and incomplete data for German fraktur

Both deu_frak.traineddata and frk.traineddata try to support German fraktur.
deu_frak is not part of the official tesseract-ocr/langdata, but comes from paalberti/tesseract-dan-fraktur. It does not support the new LSTM recognizer introduced by Tesseract 4, but currently gives better results for fraktur texts than frk (which supports LSTM).
frk can be improved a lot by adding missing characters (primarily the long s, but also paragraph and dollar sign and maybe more) and based on latest corrections for langdata. With an improved frk, deu_frak would no longer be needed.
It is unclear who invented the name frk for Frankish. Maybe it should be renamed.

It is unclear who invented the name frk for Frankish. Maybe it should be renamed.

frk is the ISO 639-3 code for Frankish.

https://github.com/tesseract-ocr/tesseract/wiki/Data-Files
FYI, the source of the 'Language' column in the tables is the old google code download page. Ray uploaded the official traineddata files to that old page, Zdenko added a few 3rd party files.

I should have explained my question better. Why is German fraktur called Frankish? Neither the characters nor the words and also not the fonts used are Frankish language.

It seems frk is trained using modern German corpus and a small number of fonts.

@stweil, maybe you want to close this issue?

Do you think that frk is the right name? Or should it be renamed, maybe deu_old or deu_frak (as people are used to that name)? "Frankish" is definitely the wrong description for the current frk.

Is 'frak' only for German Fraktur?

I expect that the frk LSTM model will work quite good with Fraktur text in other languages, too. But the word list of frk is mainly based on German words (I estimate more than 95 % of the 473228 words are German). The list also includes few words from English, Spanish, French, Latin, Russian and other languages. Many of them would not be expected in Fraktur text (jQuery, motherboard, ...). The German words contain lots of the known problems like ß/B, ii/ü and other confusions, lower case substantives (should always be upper case for German), upper case adjectives (should normally be lower case), random words in all upper case, lots of web sites (also not typical for Fraktur, adults only) and so on.
@theraysmith, it would be really interesting to know more details of the process which leads to that and also the other word lists. They look like extracts from random web sites. I don't think that good word lists for Fraktur can be produced like that.


database import failure

hi
I download the dump.tar.gz, after extract i run the command
mongorestore --drop --host <IP_ADDRESS>
the system shows me the error like following:
2017-02-13T15:13:12.621+0800    restoring indexes for collection coco.level.components from metadata
2017-02-13T15:13:12.622+0800    Failed: coco.level.components: error creating indexes for coco.level.components: createIndex error: The field 'safe' is not valid for an index specification. Specification: { name: "version index", ns: "coco.level.components", background: true, safe: null, unique: true, key: { original: 1, version.major: -1, version.minor: -1 } }
The mongodb has worked, the version is v3.4.2. How can i fix this issue?
Thanks a lot
Guanyi

Try this:
mongorestore --drop --host --noIndexRestore <IP_ADDRESS>
I'll update the docs to include this.


Substance Painter: Include the setting only in publish tab

Changelog Description
Instead of having two settings in both create and publish tab, there is solely one setting in the publish tab for users to set up the parameters.
Resolve #5172
Additional info
n/a
Testing notes:

Launch SP via OP
Open project file
Create Texture Set
Go to Publish Tab -> Click TextureSetMain
It would show all the settings

This doesn't sound right.
We'd still want to expose the parameters on both Create and on the instance itself - we should just need to make sure they persist correctly. They are not intended to be "two settings" - they are intended to be the exact same setting however you can already set them during Create.
The issue is that it doesn't propagate to the instance - not that the attributes exist on both pages.

This doesn't sound right.
We'd still want to expose the parameters on both Create and on the instance itself - we should just need to make sure they persist correctly. They are not intended to be "two settings" - they are intended to be the exact same setting however you can already set them during Create.
The issue is that it doesn't propagate to the instance - not that the attributes exist on both pages.

This bring up another question: why we need exactly same settings in both create and publish tabs? It is supposed that users know what to export and choose the settings before publishing...

The idea is that on create you decide how you want to publish. Then if along the way you figured you wanted to tweak a setting then you can.

To add to this discussion...
I do agree with @BigRoy I wouldnt mind to have the params of the Texture Set exposed in both Publish tabs (Create and Publish). They just should match always.
Speaking of @moonyuet  proposal...if there are any technical reasons (you mentioned on discord there could be possible needs to change other OP modules too like collector) to do so we should consider how big impact this has.
I would also follow logic of other DCC and Publisher it should be implemented the same way.

@iLLiCiTiT about this UX - would it otherwise be possible to "set any instance attribute defs" during Create.
So that maybe there's an extra divider that you can "open up" to even tweak the instance attributes for the to be created instance directly instead of having to do it afterwards on the Publish tab for the instance. It'd mean the code doesn't have to be duplicated in this case - plus it'd directly work the same across all hosts for all instances.
By default it then shows only pre create attributes, but there's like an extra vertical splitter that you can open up so that even instance attributes become settable during the creation? (Which would just trigger regular create, then after set the customized attributes (if any) and saves only those attributes for that instance?)

Also, @mkolar what are your thoughts on the discussion regarding the attributes on create versus publish tab?


protoc-gen-go: reduce initialization cost of generated code

The init of generated protobuf code allocates ~225KB for our use case and will only continue to grow over time as continue to use protobuf. We run on an embedded platform with limited memory. We have 20 processes running, so this adds up to 4.5MB. 80KB of this is in http2/hpack.init which was recently improved to be lazy loading.
In general, I would really like if protobuf could do more lazy loading and encapsulate more data inside of functions instead of in global variables. I used pprof on our process, but I can't clearly see where all of the memory is going in our protobuf.init. 40KB is used by proto.RegisterType, but there's almost 100KB that isn't explicitly listed. I expect that all of the global variables used for fileDescriptor data and the enum maps are the cause.
I don't know enough about the RegisterType data to know how easy that would be to lazy load, but the fileDescriptor data should be easy to encapsulate in a function. The enum maps should also be easy to change to be inside of a function, but I understand that would be a code compatibility breaking change. Maybe having a code generation flag to put the enum information into functions would be possible?
I'm open to other ideas about how to reduce memory use. It would be nice to find a way to  reduce memory to only what's actually used in a process. Given that core golang made improvements in this recently, I hope we can find some improvements in protobuf too.

In general, I would really like it if protobuf could do more lazy loading and encapsulate more data inside of functions instead of in global variables

This is overall challenging since the protobuf language itself is designed around the assumption of a global registry to properly support extensions and Any messages. Thus, some amount of initialization logic is always going to be needed for proper protobuf semantics.

The enum maps should also be easy..., but I understand that would be a code compatibility breaking change

The latest version of the generator actually does not directly use the enum maps at all. However, golang/go#2559 prevents the compiler from currently eliminating unused maps as dead code. I'd like to see a compiler fix for this before providing a flag to drop generation of them.
Overall, there is much room to reduce the initialization cost.

I understand that a global registry is needed. It would be nice if it could be structured to have functions or interfaces registered instead of raw data or use some form of hierarchical lazy-ish registration.
As a starting point idea, a pb.go file could have a single function that it passes for registration and that function could be called lazily, later to do all the registration. Or the registration functions could be set up to only register top level messages and when data is needed for a submessage, call sub message registration from the relevant top level message.
I know there's a lot of functionality around "Any" and extensions. If a lot of the code or memory cost is only for those areas, having an option to exclude that functionality would be nice.
The maps made by the generator are public (we currently use them), so removing them would probably break compatibility (that's what I was trying to mention earlier). But I'd be happy to update our code to use functions for equivalent lookups instead of using the maps if there was a way to make the generator provide enum lookup functions instead of maps.
Can you explain what you mean by you'd rather see a compiler fix for eliminating unused maps as dead code compared to a flag to drop generation of the maps?
Is your point that you'd rather not have an option to prevent generation of the maps and instead have the memory consumption solved by the compiler? If I understood that correctly, I would still want to have the option to not provide maps because they add a non-obvious cost. We have many developers working on our code base and I'd rather prevent them from using the maps because we turn them off then have to educate all of the developers to not use the maps (because using the maps adds memory overhead.)
Lastly, you said "Overall, there is much room to reduce the initialization cost." Was that a typo? Are you saying there IS room to reduce initialization cost? Or did you mean to say there isn't room to reduce cost? If there is room to reduce cost, can you mention some possibilities?

The release of the google.golang.org/protobuf module has completely changed the implementation of initialization. I suspect it is faster, but it has not been benchmarked.

It would be nice if it could be structured to have functions or interfaces registered instead of raw data or use some form of hierarchical lazy-ish registration.

I don't know how that is feasible given that we need to check for conflicts and other issues that requires the data be in a structured form.

I would still want to have the option to not provide maps because they add a non-obvious cost.

An option just to avoid generation of maps is unlikely to happen. This project tries hard to keep the amount of generation knobs and whistles down. A knob just to disable the generated maps for enums doesn't worth it. I still stand by my original point of waiting for the Go compiler elide dead maps.
Closing this issue as there doesn't seem to be anything directly actionable to do here. If there are specific bottlenecks that have been identified (and there's something to be done about it), they can be a separate and more targeted issue. As for lazy registration, we've already made it as lazy as can be without breaking semantics. As for the generated maps, let the compiler fix problem of dead map elimination (golang/go#2559).


Transcript scroll override 103

@afred? This is a little hairy, but I think it does what is needed?

checking this out to test. Will remove console.log in forthcoming commit. Stand by.


Think of implementing some grammar-based architecture generator

There is a guy out there, who implements some commercial real-time voxel renderer software. And he has pretty decent implementation of l-system grammar to make buildings.
His blog with examples here:
http://procworld.blogspot.com.by/search/label/Grammar.
If someone has already declined the idea, I say sorry. But if not, I think it would be pretty challenging to implement something like this for city generator.
I offer my candidature for actually trying to implement this, although I have pretty little experience with formal grammars and procedural content generation.

Good timing! Not only do we like this idea, we've already worked a little on it in the past, or more specifically @skaldarnar has over at https://github.com/Terasology/GrammarSystem and https://github.com/skaldarnar/PAG
Both of those are a fair bit dated by now but should prove some good review material. And on top of that @skaldarnar just ended up with a bit of free time and started clearing out the dust a bit. He was working with another grammar-interested dev last time around so I'm sure he'd love the chance to discuss ideas and implementation again :-)

Hey @kabbi, I'm reading the blog for some time now, I think that was one of my initial sources to get started - along with all the scientific papers available on the topic.
I started to play around with a Scala-based implementation of the grammar system, just for the fun of it. Where I left off in the old system was the implementation of different shapes and how to handle transformations, such as rotations and scaling. In the end, some kind of rasterization is needed to turn the grammar shapes into blocks...
I would be happy to hear your thoughts on this, it would be great if we could coordinate to work together on this as I think working out a grammar system becomes more usable if there's a second pair of eyes having a look at it.

Yeah grammar in particular probably needs more eyes - that stuff can get confusing :D

Ok, let me have several days (or even a week) to look through all the papers, your modules and source code (I really want to play with it, if it compiles ok), and I'll post my ideas here. Or is there some better place for such discussions?
Anyway, thank you for your fast response!

Better places for general discussion would be the IRC chat or the forums. I'd like to keep GitHub for discussion source code, e.g., pull requests or some gist snippets.
I'm pretty sure the old module won't compile atm, there were quite a lot changes to the code base of the game since it last worked. I'll try to see what I can do about that, although I'm not sure if it will run at the end of the week or not …

Specifically in this thread :-)
http://forum.terasology.org/threads/procedural-architecture-grammar.586/
And sorta related (more papers!) - http://forum.terasology.org/threads/gsoc-city-generation-and-sensible-land-usage.974
I'll close this issue for now to let discussion continue in the forum, it'll be a while before any code gets to a point where we can integrate with Cities I imagine :D


ISBN didn't find books

I'm  using Google as provider for my search but I didn't find some books neither with title nor with the ISBN (10 or 13) from Gogle Books or Goodreads.
An example is "Linger" from Maggie Stiefvater (english version in this case)
What can I do?
Thank in advance for any help

@ceccadroid Is your "Preferred locale" in the plugin settings set to english?
related #57

@fkuersch Sorry, I completely miss the notification 😞 My locale is set to Italian since the majority of my book are in this language. May I need to swith the locale before searching for books in other languages?

Yes, indeed. The current implementation strictly filters by language, so search results in other languages are hidden (even if you enter the matching ISBN)

I'm unable to find this book:<PHONE_NUMBER>322
The New Oxford Organ Method
Anne Marsden Thomas and Frederick Stocken
Oxford University Press
This book refuses to come up whether searching by name, author or ISBN. I've tried the default locale and the English UK locale with no luck.
Any hints for how to debug this problem?


if the code can't run in win ?and if it could  run without   gpu?

if it wannt  run it  without   gpu,what commend should i line in

iamfc.py --gpu-id [0] --video-dir /home/astonc/project/SiamFC-PyTorch-master/SiamFC-PyTorch/data/David --model-path home/astonc/project/SiamFC-PyTorch-master/SiamFC-PyTorch/models
Traceback (most recent call last):
File "bin/demo_siamfc.py", line 57, in
Fire(main)
File "/home/astonc/.local/lib/python3.5/site-packages/fire/core.py", line 127, in Fire
component_trace = _Fire(component, args, context, name)
File "/home/astonc/.local/lib/python3.5/site-packages/fire/core.py", line 366, in _Fire
component, remaining_args)
File "/home/astonc/.local/lib/python3.5/site-packages/fire/core.py", line 542, in _CallCallable
result = fn(*varargs, **kwargs)
File "bin/demo_siamfc.py", line 27, in main
tracker = SiamFCTracker(model_path, gpu_id)
File "/home/astonc/project/SiamFC-PyTorch-master/SiamFC-PyTorch/siamfc/tracker.py", line 21, in init
with torch.cuda.device(gpu_id):
File "/home/astonc/.local/lib/python3.5/site-packages/torch/cuda/init.py", line 228, in enter
torch._C._cuda_setDevice(self.idx)
RuntimeError: invalid argument to setDevice

You should change the code yourself. Running on cpu is very slow


epson-escpr: 1.7.20 -> 1.8.6

Also fixed gcc14 build issues
Got patches from Gentoo repo : https://gitweb.gentoo.org/repo/gentoo.git/tree/net-print/epson-inkjet-printer-escpr/files
Edit:
Fixes: #368161

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 369304

x86_64-linux

:white_check_mark: 1 package built:

epson-escpr

i am not having a escpr(1) compatible printer so i can not test, sorry


AU phone numbers

URL
No response
How to reproduce the issue?
When entering telephone numbers in Australia, iD usually displays an example as +61 1 2345 6789, which is a correctly formatted example of a fake Australian phone number.
Recently (the last month or so?) though, I've noticed that it sometimes displays +61 2 9000 0000? While also correctly formatted, this is actually a valid, connected telephone number!, so I'm wondering if it should be shown?
It's very hard to show a live example of this problem though, because even when I've taken a screen-shot as below, when I've then gone back to it, it has corrected itself to the 2345 6789 number?
Screenshot(s) or anything else?

Which iD Editor versions do you see the issue on?
Released version at openstreetmap.org/edit
Which browsers are you seeing this problem on?
Firefox

Mmmm - maybe its related to a particular preset? Any idea which preset you may have been using?

dist/translations/en-AU.json in the id-tagging-schema

Possibly shop=clothing? As mentioned, I've seen it a few times, then I went looking at already mapped shops to try to find one without a phone number already listed.
The one I found was here: https://www.openstreetmap.org/edit#map=19/-28.03551/153.42807, & it was "Zara" clothing. When I've just looked at it now, it was once again showing the 9000 0000 number, but if you click on anything else, then go back to it, it's changed to 2345 6789.

Sorry, that should be shop=clothes!

@Fizzie41 Did that situation occurs if you click on the telephone box? or just by clicking the Edit Feature side bar?
Btw, I am trying to reproduce it using Chrome but nothing appears

I think the issue in the id-tagging-schema as listed above. Alas I am no coder so unsure how to fix it

@Fizzie41 Did that situation occurs if you click on the telephone box? or just by clicking the Edit Feature side bar? Btw, I am trying to reproduce it using Chrome but nothing appears

With Zara as mentioned above, when I click on the existing icon, the side-bar opens, & 9000 0000 shows, greyed out, in the Telephone field.
I did another clothing shop this morning, & I think that was another time I noticed it?
As mentioned though, if you leave Zara, click on any other feature, then return to Zara, the "proper" 2345 6789 number shows. If you then close that tab / window, then open a new one & look at Zara again, it's back to 9000 0000!
Just looked at a few other clothing shops to try & duplicate it & yes, same thing happens:
https://www.openstreetmap.org/edit#map=17/-28.20181/153.54435 : Best & Less top right & Volcom bottom left - look at the first one 9000 0000, look at something else then return to it & it's gone to 2345 6789, & if you then look at the other clothing shop, it's also 2345 6789. Close that tab, reopen it & look again & back to 9000 0000!
May be something weird in Firefox?
Having posed a fun Friday afternoon challenge for a clever coder my work here is done! :-)

If i go to the link above and hover over Best and Less i get the correct phone number sample. If I click on Best and Less I get the following

https://github.com/openstreetmap/id-tagging-schema/pull/303
https://github.com/openstreetmap/id-tagging-schema/pull/302
to update the +61 2 9000 0000 to +61 1 2345 6789
This should stop one issue

Thanks, Tas!


Global Operations (2002) d8vk transparency bug

Software information
Same settings, as in dgVoodoo video, I have just replaced dg DLL with yours. Also Lutris log attached.
System information
Linux Mint 21.2 x86_64, Kernel: 5.15.0-78-generic, Lutris 0.5.13,  NVIDIA drivers 535.86.05 for x86_64, NVIDIA GeForce GTX 960, lutris-GE-Proton8-13-x86_64
Log files
lutris -d
Video, for comparison purposes:

I have tested 3 versions of render: stock GE Proton (which comes with Lutris), stock GE Proton with dgVoodoo2 and d8vk here. So, dgVoodoo is the best in terms of rendering the game correctly (although at cost of some recording issues, like screen tear, and mouse lag), stock GE Proton is the best in terms of performance, but it cannot render fog at Chechnya map, and d8vk has the most rendering issues (maybe it's just one issue, I'm not sure). I hope you can fix it, I respect the effort to support DirectX8 games.

1. stock GE Proton gameplay
2. stock GE Proton + dgVoodoo gameplay
3. stock GE Proton + d8vk gameplay

One thing to try here as well, I guess, is to create a blank file called dxvk.conf next to the game's executable and add the following line to it:
d3d8.managedBufferPlacement = False
Then retry playing it with d8vk. If that fixes the above clipping issues, do let me know.

One thing to try here as well, I guess, is to create a blank file called dxvk.conf next to the game's executable and add the following line to it:
d3d8.managedBufferPlacement = False
Then retry playing it with d8vk. If that fixes the above clipping issues, do let me know.

managedBufferPlacement didn't help. I also got a question regarding apitrace, the guide says: "Before the next step, make sure you disable or get rid of DXVK files first, as it's preferred that you use WineD3D to make an apitrace."
If I delete d8vk (d3d8.dll) this test will be pointless... how do i combine apitrace wrapers with d3vk ?

managedBufferPlacement didn't help.

Alright, thank you for trying it out anyway.

If I delete d8vk (d3d8.dll) this test will be pointless... how do i combine apitrace wrapers with d3vk ?

It will not be pointless. Please play through the same areas where you saw the issue manifest with d8vk and record a trace. The issue should then reproduce on trace playback with d8vk.
Think of the trace as a VCR tape (it records d3d calls) and WineD3D/d8vk as different VCR players.

@WinterSnowfall ok, please follow the link for
complete trace, passw: 2002

Thank you for the trace. The good news is that it's nicely captured and definitely what we'd normally need.
The bad news is that I don't see any clipping on playback with d8vk. This means the problem may not be inherent to how d8vk handles rendering, but rather other factors may be at play.
We've had this apitrace situation with other games, it's not entirely unexpected - only rather unfortunate, since it will be hard to debug.
Out of curiosity, if you play it back on your system (using wine apitrace.exe replay <path_to_trace_file>), do you see any clipping issues?

Or is this command sufficient for sure?

Not a Lutris user myself, but as long as the Wine prefix you are using is properly set up, the above command should be sufficient if run from the same path as the apitrace executable.

@WinterSnowfall good news that I've managed to run apitrace with the exact configuration that I use to play, bad news - I couldn't reproduce it :(
Video of apitrace replay...

bad news - I couldn't reproduce it :(

Bad news in general, yes, but good news in the sense that there's nothing wrong with your GPU or system configuration in particular. The playback of the trace looks the same on my end.
No worries, we'll get to the bottom of it some other way eventually.

@Blisto91 was kind enough to thrift for a retail copy of the game, however the installer seems to unceremoniously fail both in Wine and on Windows actually.

@AnthraxBass Are there any workarounds that need to be applied to get it going, do you know?

@WinterSnowfall hi, I'm only using Lutris for gaming purpose, I'm not good enough with vanilla Wine. I can record a Lutris tutorial on how to install GOps in there. Let me know if you'd like to see such a guide.

@AnthraxBass No need. Luckily it seems to work if you install it on Win10 and them move it over to Wine.
I've had a look and reproduced the issue. I've also captured two similar traces, one with WineD3D and one with d8vk: globalops.tar.xz
Some additional observations:

the clipping doesn't occur during the preparation stage of a game (first 10 seconds), but kicks in immediately once a match starts
the problem is definitely d8vk specific, since it doesn't happen with d3d8to9 + dxvk (so d9vk is fine, if you will)
WineD3D also renders things correctly, although it seems to have issues with setting the swapchain size properly in latest Wine
the issues seem to be "embedded" in the trace, because the trace captured with d8vk shows the clipping problem even when played back with WineD3D

@AnthraxBass I've moved this issue over to dxvk, since we're now upstream: https://github.com/doitsujin/dxvk/issues/4138 . Please close this one.


bug long swipe blink swiper

Check that this is really a bug

[X] I confirm

Reproduction link
https://www.vitra.com.tr/
Bug description
main slider long swipe blink swiper in iphone safari 15.1 version. this bug didn't exist old version safari.
thanks for your help.
Expected Behavior
No response
Actual Behavior
No response
Swiper version
3.4
Platform/Target and Browser Versions
ios safari 15.1
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

there were similar issues with solutions, use issues search


Go #1250 remove multiple candidates support

Imported new types and omit deprecated ones
Removed all references to Candidates, and replace GenerateRequest and GenerateResponse with the new Model types
I chose to skip "TestReflectionAPI/test_app/api/runAction" test in TestReflectionAPI, since the yaml seems to be shared with JS?
Checklist (if applicable):

[ ] Tested (manually, unit tested, etc.)
[ ] Changelog updated
[ ] Docs updated

I chose to skip "TestReflectionAPI/test_app/api/runAction" test in TestReflectionAPI, since the yaml seems to be shared with JS?

Hmm, I'm guessing it failed? What did it say? We should look into this. Technically both the actions and runAction tests should pass since their whole purpose is making sure the Go responses are the same as JS...
The rest LGTM!


Don't let a quote be created if there's no original message

This comes from issue #53 .

closed in theperkinrex-md-impl branch


crash

The program crashes when the evaluate command is passed with no parameter.
Please see the following example :

Lets fix that !

The issue has now been fixed.


Miscellaneous (mostly style) fixes

I've started digging into the codebase  of rpm-py-installer and found some issues and one typo. This PR should simplifies some variable assignments and removes some dead/pointless branches.

@dcermak thanks for your PR!
It seems the lint tasks are failed on CI. You can run below command on your local to fix it.
$ tox -e lint-py3 lint-py2


2020.2-rc1

This is the first* release of the HackIllinois app for 2020!
Release checklist:

[x] Update build to 5
[x] Update version to 2020.2 - @PatrickKan
[x] Fix iPad rotation - @PatrickKan
[x] Guest Mode
[x] Updated project detail page

Non-urgent (can wait for next release):

[x] New indoor maps
[x] New launch animation
[x] Indoor maps for projects

we had to release 2020.1 to change the name on the app store to HackIllinois, but that was immediately taken down from sale.

Also updating swiping/clicking push notifications to redirect to the home page, or updating announcements UI and api calls

2020.2 was approved, this can be merged now.


Build Failure Under GHC v7.8.4 Cabal v<IP_ADDRESS>

After a fresh install of both GHC and Cabal this package fails to build from the official cabal version and from git. The error observed is:
src/Folly/Utils.hs:12:10:
    Not in scope: type constructor or class `Applicative'

I'm rather inexperienced with haskell, so my debugging so far has been limited to testing an older GHC 7.6.2/Cabal <IP_ADDRESS> and the newer version on two different slackware linux computers.

I have modified the Error ADT. I suspect that the problem was related to the Applicative - Monad changes that were made in GHC 7.10 (I am using GHC 7.10.2).
Please try again and let me know what happens.

This appears to have resolved the issue.
Thanks


SITL targets confusion

Some of the SITL targets don't seem to be accessible to run anymore, e.g.
make posix_sitl_lpe gazebo
We should go through all of them and consolidate, fix them or clean it up.

While not strictly related, this might be the time to start consolidating startup scripts on POSIX. Like we have for NuttX, having a core "rcS" script, and calling auxiliary scripts depending on vehicle type, or SITL mode etc. would be nice.
I'm not sure if the PX4 shell can handle this yet. I would be willing to do this cleanup, it if someone would give me the pointers on what needs to be implemented.

@mhkabir I agree, but I don't know how to tackle this (yet) because the PX4 "shell" doesn't know any command except starting commands and Ctrl+C as far as I know.
I would think we need some kind of a shell compatible to the NuttShell (Or re-use the NuttShell itself?).

I think @bkueng worked on the shell a bit. @bkueng could you let us know please? Thanks!

I believe he added colors, comment handling (#), and some other fixes. To unify the init scripts we'd need env variables, conditionals, the ability to call another script, and a few other little things. You could start faking it by implementing an sh that executes another list of commands. Then you'd be able to get rid of the bulk of the duplication.

I'm all for consolidating as well. Current Posix shell support is very limited, implementation is here: https://github.com/PX4/Firmware/blob/master/src/platforms/posix/main.cpp#L145
As @julianoes  wrote, it only supports a list of commands and handles comments (colors are indepentent from the shell).
A quick look at NuttX shell shows that it's quite interleaved with NuttX, so I don't think we can easily pull it out and use it separately. But its syntax & semantics is well-documented under https://github.com/PX4/NuttX/blob/master/apps/nshlib/README.txt

@bkueng Thanks for checking that.
I wonder if we can somehow make use of existing shells (sh or bash) Linux systems. Can we spawn threads of mainapp from sh/bash (or trigger it)?

We could add a shell interpreter (like bash) as a library, but I did not find much about the topic. Maybe I'm lacking google skills?
You can use busybox as a library (libbusybox), which includes a shell, but it's also not really documented.

Thanks for the replies everyone!
I think short-term, I will just implement a basic 'sh' functionality to the shell allowing other sub-scripts to be called from within pxh (as suggested by @dagar). That should go a long way in reducing the duplication. I will get started on this.
As the next step, we can just roll our own support for the other tidbits like conditionals, and maybe also look into this

somehow make use of existing shells (sh or bash) Linux systems. Can we spawn threads of mainapp from sh/bash (or trigger it)?

A question I had here - How exactly does PX4 run on POSIX?  It definitely isn't task-based like on NuttX, so is it one monolithic app (mainapp) which spawns threads for each application/module?

@bkueng Some googling revealed this : http://wanderinghorse.net/computing/shellish/eshell.html. Might be interesting.
I'm still searching for more options.

@mhkabir Yep looks interesting. But latest release dates years back. Doesn't seem to be maintained anymore.
mainapp uses threads for everything.

I have a feeling that we'll eventually just roll our own shell :)

Made a start here : https://github.com/mhkabir/Firmware/tree/posix_shell
This will expand to something that can handle most of NSH functions over the next weeks :)
Is is OK to use Linux environment variables to save our internal ones? e.g MAV_TYPE, etc. ?

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 30 days. Feel free to reopen this issue if you deem it appropriate.
(This is an automated comment from GitMate.io.)


Notifications stopped working with dmc>=0.14.5

I have a larger app that uses Notifications and when I upgraded from 0.14.4 to 0.14.5 I noticed that notifcations suddenly stpped appearing without any errors.
Looking into the DOM, I found that suddenly there were 5 nodes all with the same class "m_b37d9ac7 mantine-Notifications-root" and when rolling back, it was only one.
I can see the notification appearing on one of the notification roots, but it doesn't show up.
I tried reproducing it in a small app, and I can again see the 5 instances, but somehow the notifications are visible.

Any help would be appreciated, since I'm not sure if this is intended behaviour.

Hi @Haladesta
How area you adding the notifications stylesheet?

ok, so it's not the stylesheets. :thinking:
I'm afraid I can't help without a reproducible example.

Ah thanks you, yes that led me to the problem. I still had an older version added.


Sumstats not in standard format

James confirmed Kettunen (PMID 27005778) and Draisma (26068415) will not enter the new harmonisation pipeline since only the raw files are available and not any formatted files (even though these were formatted before). These studies need to be formatted to gwas-ssf standard so they can be harmonised.

see also https://app.zenhub.com/workspaces/gwas-59df823c4a6feb3786810391/issues/gh/ebispot/xgwas-curator-tasks/17

@jdhayhurst Draisma has no chromosome and bp info, only has rsID - is it still worth formatting these with NA in those columns?

@jdhayhurst Do you need the following hidden or deleted?
Current raw files (named 'GCSTxxx_build.txt.gz') on staging
Harmonised folders on public
Current yaml files

@earlEBI  added comment about Suhre in original text

@jdhayhurst  Will this be sufficient to allow harmonising?

For the record, if it is decided these files do need to be re-harmonised, further info:
Kettunen: All required data is present. I could add formatted files to SSF standard.
Draisma: Only chr and bp is missing, but rs_id is present. I could add formatted files meeting old standard.
Suhre: Other allele and EAF is missing. Will not go into pipeline. However, I could add the missing header and format to old standard.

Discussed Suhre on Slack and agreed:

@earlEBI to fix the raw files so they have the correct headers
@jdhayhurst to create yaml files for these and the existing harmonised files. Files will not be re-harmonised.

Kettunen - I've added the formatted files and they've been released to pub ftp (and kept the raw files under .txt.gz)
Draisma - I've added the formatted files and they've been released to pub ftp (and removed the old .bz2 files)

except GCST90240007 which should release overnight.

Suhre - I've added the header to the raw files, released to pub ftp (replaced old files)

I think yaml files need to be updated (md5sum) for Suhre and Kettunen


New startup scripts for RHEL paltform v1.24 which handle missing kernel-devel|headers packages for ther running kernel

Do we want this functionality in v1 as well? Please open a pull request for the v1 branch.

Yes,
already working on the PR
Von: Anders Larsson<EMAIL_ADDRESS>Antworten an: kodguru/puppet-module-afs<EMAIL_ADDRESS>Datum: Donnerstag, 18. Juni 2020 um 13:27
An: kodguru/puppet-module-afs<EMAIL_ADDRESS>Cc: Ralf Brunckhorst<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Betreff: Re: [kodguru/puppet-module-afs] New startup scripts for RHEL paltform v1.24 which handle missing kernel-devel|headers packages for ther running kernel (#93)
Do we want this functionality in v1 as well? Please open a pull request for the v1 branch.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://protect2.fireeye.com/v1/url?k=17b31dff-4913fd66-17b35d64-8682aaa22bc0-716158b5fec59fb0&q=1&e=9948ad15-2628-4b55-b322-eddc309bb8b6&u=https%3A%2F%2Fgithub.com%2Fkodguru%2Fpuppet-module-afs%2Fpull%2F93%23issuecomment-645956286, or unsubscribehttps://protect2.fireeye.com/v1/url?k=5a8f5acc-042fba55-5a8f1a57-8682aaa22bc0-5a09d49c4f6c9d98&q=1&e=9948ad15-2628-4b55-b322-eddc309bb8b6&u=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABUILOFZIG2YMP4YX3O76MDRXH22DANCNFSM4OBPRRCQ.

Do we want this functionality in v1 as well? Please open a pull request for the v1 branch.

Done


Can I change the path for memorization feature?

newspaper3k can memorize downloaded contents. But I cant find how to change the directory that stores memorized contents.

I solved this problem by modifying the 'settings.py' file.


Images expand to only half of the screen when on folding phones, when screen is unfolded

Describe the bug
Images expand to only half of the screen when on folding phones -- in this case, a Samsung Galaxy Z Fold3 -- when screen is unfolded.
Screenshots

Details

Platform: Android
Platform version: Samsing Galaxy Z Fold3, One UI version 5.1.1, Android 13
App version: 1.60.0 (51)

@haileyok Sorry for the long delay here!
Whenever the screen is folded/unfolded the app resets -- I see the butterfly splash.
That said, there does seem to be a memory affect from the folded state from when the app was first opened.
For example:
I can start the app with the phone folded, unfold the phone, tap an image, see the image taking up half the screen.
I can force quit the app, start the app in the unfolded state, then fold the phone, tap an image, and see the image sized too big for the folded screen.
Hope this helps!


Cannot build pond-tutor or pond-duck

When I run make pond-tutor-en, I get the following:
./appengine/pond/tutor/generated/en/soy.js:13: ERROR - [JSC_MISSING_MODULE_OR_PROVIDE] Required namespace "Pond.soy" never defined.
goog.require('Pond.soy');
^^^^^^^^^^^^^^^^^^^^^^^^
./appengine/pond/tutor/js/tutor.js:30: ERROR - [JSC_MISSING_MODULE_OR_PROVIDE] Required namespace "Pond" never defined.
goog.require('Pond');
^^^^^^^^^^^^^^^^^^^^
./appengine/pond/tutor/js/tutor.js:31: ERROR - [JSC_MISSING_MODULE_OR_PROVIDE] Required namespace "Pond.Battle" never defined.
goog.require('Pond.Battle');
^^^^^^^^^^^^^^^^^^^^^^^^^^^
./appengine/pond/tutor/js/tutor.js:32: ERROR - [JSC_MISSING_MODULE_OR_PROVIDE] Required namespace "Pond.Blocks" never defined.
goog.require('Pond.Blocks');
^^^^^^^^^^^^^^^^^^^^^^^^^^^
./appengine/pond/tutor/js/tutor.js:34: ERROR - [JSC_MISSING_MODULE_OR_PROVIDE] Required namespace "Pond.Visualization" never defined.
goog.require('Pond.Visualization');
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Similar message when I run make pond-duck-en. I'm able to build everything else successfully. Please help.

That doesn't sound good.  I'll look at this in about four hours (after my daughter's bedtime).

I'm afraid I'm unable to recreate these errors.  Try updating your repo to the latest version, then make clean, then make deps, then make pond-tutor-en and see if the error is still there.

I pulled the latest, ran make clean, make deps, and make en again. Same result, everything built fine except pond-tutor and pond-duck. Same errors. I also saw the following before the pond-tutor error:
Compiling Pond/Docs - en
Exception in thread pond/docs:
Traceback (most recent call last):
File "build-app.py", line 160, in run
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "C:\Users\Dave\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Dave\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
OSError: [WinError 193] %1 is not a valid Win32 application
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Dave\AppData\Local\Programs\Python\Python38-32\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "build-app.py", line 162, in run
raise Exception("Failed to Popen: %s" % ' '.join(cmd))
Exception: Failed to Popen: third-party-downloads/build/closurebuilder.py --root=appengine/third-party/ --root=appengine/generated/en/ --root=appengine/js/ --namespace=Pond.Docs --output_mode=list --root=appengine/pond/docs/generated/en/ --root=appengine/pond/docs/js/
Compressed to 49 KB.
I'm doing this on Windows 10 from a VS Code terminal, is that a problem?
Also, in order for make deps to work, I had to add the following to the end of the four wgets in the make file:
--no-check-certificate

Ah, Windows.  My bet is it's a path issue caused by '/' vs. '\'.  Will look at it this evening.

I just pulled down the repo in an AWS Linux environment and ran make deps, and got the following error:
java -jar third-party-downloads/closure-compiler.jar
--language_out ECMASCRIPT5_STRICT
--js appengine/third-party/JS-Interpreter/acorn.js
--js appengine/third-party/JS-Interpreter/interpreter_.js
--js_output_file appengine/third-party/JS-Interpreter/compressed.js
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/google/javascript/jscomp/CommandLineRunner : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:808)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:443)
at java.net.URLClassLoader.access$100(URLClassLoader.java:65)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.net.URLClassLoader$1.run(URLClassLoader.java:349)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:348)
at java.lang.ClassLoader.loadClass(ClassLoader.java:430)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:323)
at java.lang.ClassLoader.loadClass(ClassLoader.java:363)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
make: *** [deps] Error 1
Any idea what that's about?

That one appears to be this error:
https://github.com/google/closure-compiler/issues/3059
Closure Compiler needs a more recent version of Java?

Upgrading Java solved the problem, and I was able to make en on Linux with no errors. My main machine is Windows, so would be nice to get it to work on Windows, but it's okay if not. Thanks for helping me out.


update unity versions

Changes

Updated all EOL Unity Versions to use the current 2022 LTS (2022.3.7f1)
Updated unity-project-with-correct-tests to use the current 2022 LTS
Updated unity-project-with-correct-tests/.gitignore

Checklist

[x] Read the contribution guide and accept the code of conduct
[x] Readme (updated or not needed)
[x] Tests (added, updated or not needed)

@webbertakken (pinging you as I believe you're the right person to ping for my shenanigans :), lmk if I shouldn't/should ping somebody else), next I'll try updating game-ci/docker. (try as I haven't looked at its code yet :P)

lmk if I shouldn't/should ping somebody else
You don't necessarily have to ping me. I'm subscribed to all activity on all repositories in GameCI.

Edit: after browsing the code there, it seems that it is out of my knowledge to help with game-ci/docker as it is probably more than just deleting the *-legacy-editor-image-requested.yml files.

Indeed, the key thing is in adding the constraint versioning-backend.

You don't necessarily have to ping me. I'm subscribed to all activity on all repositories in GameCI.

Sure :)

Indeed, the key thing is in adding the constraint versioning-backend.

Oh I see, I'll get to work on that soon!


Support local volume in "registry"

The changes fix following issue to enable local volume support in "registry"

Fixed issue in registry storage path when persistent storage is not enabled.
It also upgrades docker registry to 2.6.2.

I have posted issue #1582 for this pull-request.

Just to make sure that the changes are very simple, I put diff from previous revision.
diff -r repo/packages/R/registry/1/marathon.json.mustache repo/packages/R/registry/2/marathon.json.mustache
16,18c16,19
<     {{#storage.persistence.external.enable}}
<     "STORAGE_PATH": "{{storage.storage_path}}",
<     {{/storage.persistence.external.enable}}

{{^storage.persistence.enable}}
"REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY": "{{storage.storage_path}}",
{{/storage.persistence.enable}}
{{#storage.persistence.enable}}

21c22,23
<     {{/storage.persistence.external.enable}}

{{/storage.persistence.external.enable}}
{{/storage.persistence.enable}}

diff -r repo/packages/R/registry/1/package.json repo/packages/R/registry/2/package.json
5c5
<   "version": "2.5.1-0.2",

"version": "2.6.2-0.1",
diff -r repo/packages/R/registry/1/resource.json repo/packages/R/registry/2/resource.json
10c10
<         "registry-docker": "registry:2.5.1"

    "registry-docker": "registry:2.6.2"


Updating Github Actions & Adding config.json

Closing in favor of https://github.com/polarityio/twinwave/pull/4


Chakra throws a SyntaxError on for...in statement

Hi everyone,
it was observed that Chakra throws a SyntaxError when we use the for...in statement with yield inside a generator function.
OS: Ubuntu 16.04 x64
Chakra Version: <IP_ADDRESS>-beta
Step to reproduce:
function* g1() {
    for (var x = yield in {}) ;
  }
var it = g1();

Actual result:
SyntaxError: Syntax error

Expected result:
Pass without failures

V8, SpiderMonkey and JavascriptCore works as expected.

I had a quick look at this to see if it was an easy fix I could submit a PR for. It doesn't appear to be.
But for reference if anyone else is looking at it here's what I found:
This gets to: Parser::ParseTerm having just parsed the yield keyword however Parser::ParseTerm has no case for handling a term beginning with the in operator hence the Syntax error.
I note that
function* g1() {
    var x = yield in {} ;
}

Is meant to be a syntax error - which currently throws from the same place in the parser - so maybe need a special case for yield inside a for loop or something like that.

@rhuanjl it's all yours if you want to submit PR for this.

I'll see if I can fix this but it may be a bit beyond me - I know where the fix needs to go but I don't yet know what it needs to do

This is legal syntax?


Return new RecvFlags struct with vectored I/O.

The RecvFlags struct replaces the boolean to indicate if messages are truncated. This is intended to address #113.
Currently it only supports POSIX flags on Unix, no Linux specific flags, although that would be trivial to add.
On Windows, it only supports is_truncated(), because the other flags don't exist.

Sorry about the force pushing. I think nobody looked yet. Further changes will be separate commits that can be squashed later.

Thanks @de-vri-es.


Clean up in Discretization package

Minor clean up in Discretization package. Adds check for pre- and post conditions in PointSearch.

ping

Sorry, I meant to say you could merge after you address my comments.


Java: Remove unsupported retry samples

gapic-generator generates a sample code in XapiStubSettings.java to illustrate the builder of the Setting classes are recursive. For a service, it does so by changing the retry settings of one of the methods in this service.
This sample code is wrong when the service only contains bidi/client streaming methods, because the respective StreamingCallSettings classes do not have retry settings. Example: https://github.com/googleapis/google-cloud-java/blob/master/google-cloud-clients/google-cloud-video-intelligence/src/main/java/com/google/cloud/videointelligence/v1p3beta1/stub/StreamingVideoIntelligenceServiceStubSettings.java#L64-L68
While the long-term solution should be adding retry support to StreamingCallSettings, we should remove the wrong sample code before the feature is added.
Fix #2880

Just a quick note: your PR fixes itself. (Fix #2882 is the same as this PR number.)

@eoogbe Please pretend you did not see that :p

PTAL


problem in writing slim function

Please help and show me how I write the slim code for this call:
http://myapp.com/api/profiles/?name=4&contact=9999999999

Somehow your issue is missing a description of your actual problem,
and the link you provided seems to forward me to a chinese(?) android store?

I think this is spam, also this is the wrong place for questions about how to use Slim.


[W5.7][W17-2]Daniel Tan Jia Wang

Ready for review

Great job @CrimsonJacket
It would be great if you could include more test cases.


Add a option to enable reactDeveloperTools

You find this under Vencord -> Vencord.

While this is a feature most people would not use, it is quite useful for people working on vencord plugins. I dont know where I can find the options in the settings.json file used for nixcord. But if there is an option, the abbility to enable reactDeveloperTools should be made into a feature, i think it will be useful for a certain niche of people.

Nevermind, the option already exists.


Does it work?

I found my accesstoken
from freegpt.api.gpt import Bot

  token="mytoken"

  bot = Bot(token)
  print(bot.prompt("Hello. How are you"))
  bot.reset()

But I got error:
  File "C:\Users\Emilia\PycharmProjects\freegpt\freegpt\api\gpt.py", line 90, in prompt
    self.conversation_id = data["conversation_id"]
KeyError: 'conversation_id'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Emilia\PycharmProjects\freegpt\freechat.py", line 6, in <module>
    print(bot.prompt("Hello. How are you"))
  File "C:\Users\Emilia\PycharmProjects\freegpt\freegpt\api\gpt.py", line 92, in prompt
    raise TokenRateLimitedError("The token is rate limited. Try again later. From line 74", data)
freegpt.api.gpt.TokenRateLimitedError: The token is rate limited. Try again later. From line 74

Is it a bot token? I likely forgot to specify,youneed a account token.

It still works for me, you need a bot token. To get it, go to https://chat.openai.com/api/auth/session
2. Then find the accessToken key
3. Copy its value
4. Use it!

These are self tokens, they would be rate limited but are completely free like no payments

Yes, it's this token and doesn't work for me :disappointed:

Are you rate limited? If the second account works and your main doesn't, its your issue.
I do not disable any tokens if you think.

It doesn't work again for both accounts :|

Are you trying to spam? Give me your code (not token) and let me check. Are you rate limited? Is it the valid token? Use bot.verify(token) to test it.

verify method returns {}
Both accounts are old (more than one year) and I can use it by browser. The code is like in the first post, just simple prompt.

Code

You can make a new account to test it.
Is your account like paid? Switch to free cuz paid=more  rate limits (and limited msgs)

I do not know, are you leaking your tokens? :skull: Or do you chat lot on chat.openai.com?
I willl look tommorow if OpenAI is changing it

Nope, cannot be changed.
I'm closing this feel free to re-open it if you have any queries. Have a try at <freegpt.js.org>, its stable.


Add italic variant of Source Code Pro (v1.058)

Necessary because /static/ayu-highlight.css makes .hljs-comment use italics
fixes #1443

As far as I can see hljs doesn't nest spans to cause text to need the SemiboldIt variant too.


New version: Hugo.Hugo.Extended version 0.124.0

Pull request has been created with komac v2.1.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

Spaces detected in version number.
(Automated response - build 870)


let git decide when to run gc

fe5a5c783fd7a39a0b68ea195ff4a62a12ea750c added some logic to look into .git and run git gc if needed.
However git already has this implemented, there is a git gc --auto.
tl;dr: it checks some threshold and if it's exceeded, runs the gc, otherwise not.
Docs:
git gc --auto
With this option, git gc checks whether any housekeeping is required; if not, it exits without performing any work.
Some git commands run git gc --auto after performing operations that could create many loose objects.

Housekeeping is required if there are too many loose objects or too many packs in the repository.
If the number of loose objects exceeds the value of the gc.auto configuration variable,
then all loose objects are combined into a single pack using git repack -d -l.
Setting the value of gc.auto to 0 disables automatic packing of loose objects.

If the number of packs exceeds the value of gc.autoPackLimit,
then existing packs (except those marked with a .keep file) are consolidated into a single pack by using the -A option of git repack.
Setting gc.autoPackLimit to 0 disables automatic consolidation of packs.

https://git-scm.com/docs/git-gc#git-gc---auto
I can have a look at making it use git gc --auto instead.
As for compatibility I don't think there will be any issues since gc --auto was added in 2007:
https://github.com/git/git/commit/2c3c4399477533329579ca6b84824ef0b125914f

Sounds good to me!

If someone picks this up, be sure to check out #4656, particularly around the discussions of

Testing and cross-platform coverage
Configuration
Performance

It might be a viable solution to suggest that we reject this.


Allow privilege SYS_RAWIO

I'm trying to use write an addon for some GPIO connected devices on my Raspberry Pi using the RPi.GPIO Python plugin. However, it needs access to /dev/mem and it's not sufficient to specify it with "devices":["/dev/mem:/dev/mem:rwm"], because it leads to the following error:
RuntimeError: No access to /dev/mem.  Try running as root!
I think we need to set SYS_RAWIO on the container to allow this, but only NET_ADMIN and SYS_ADMIN is allowed in the validation script, see line 40:
https://github.com/home-assistant/hassio/blob/dev/hassio/addons/validate.py#L40
Can we add SYS_RAWIO to the allowed list as well? I haven't been able to test if that solves everything, otherwise I would've sent a PR instead :)

Yeah you can make a PR. A new release go out this evening

Hi,
my addon wont start if I add "privileged": ["SYS_RAWIO"], to config.json.
I wasn't able to find a way to debug this.
Greetings, Sascha