text:
Don't show "Progress: x/y" messages until the session/cradle has been setup

Currently the progress message from #644 gets shadowed by the Shake reporting messages that say "Progress: ½", an example is in this link: https://streamable.com/nqbcfk
It would probably be more clear to the user if we hold off sending the work done progress report until the session is finished setting up.

Just blame Pepe Iborra 😂

Jokes aside, can we inform the lsp client about the relative priorities of these progress messages, so that it will show the initialisation progress in the status bar, rather than the shake progress?

@pepeiborra lol, I was wondering that as well though since it would be nice to not touch the shake progress. The state machine thing is set up quite nicely, and from what I can understand multiple sessions can be set up at once so I don't want to have to do loads of bookkeeping. Alas there doesn't seem to be anything in the specification for priority

What if we keep sending initialisation progress messages every 100ms or so? Will that help?

authors: bubba pepeiborra


text:
Readme issues

Doesn't mention how to get an API key
Confusing part in Browser section "[TODO] I think this is ok as we the AT.send if clients want to do anything based on the DOM, e.g."

Doesnt mention dependencies such as jQuery, it is obvious from the snippet but still a nice to have.

The API url is outdated, decided against divshot, update to cloudfront url.

Readme mentions the need to register with an "Advocay analyst" but doesn't say how or why

Typo in Automatic section of Implementation. Reads "... In order to send metadata about these Touchpoints and Sharepoints you should defined a global advocate_things_data variable, e.g."

The snippet needs to have a uniform way of showing variables to be replaced by the client.

Anything that binds to a DOM element should be represented within a jQuery(document).ready(function{ ... }) in the snippets. Makes it more obvious and easier to implement i think

NB the Advocate Things

Document the latest AT JSON spec e.g sharepoint_name => sharepointName

Data Object Spec:
The optional parameters should have a comment of //Optional so someone could first try to implement with the bare minimum to make it just work.

This readme is gonna get really long, maybe have an  index on top to easily navigate through the readme

Add documentation about how to retrieve the shareId at any point and any other usefull methods provided by the sdk

Should document callback and event listener arguments etc.

@nbrl I am guessing all this is done due to the documentation rewrite?

All addressed by rewrite.

source: gharchive/issue

authors: forceedge nbrl

repo: digitalanimal/advocate-things-js-sdk

license_type: permissive

license_source: bigquery


text:
Support retrieving id of object for invocationTarget in getTarget

Update getTarget such that it will check invocationTarget to see if it is an object with id in it instead of assuming it is a string.
https://github.com/digitalbazaar/ocapld.js/blob/master/lib/utils.js#L73

Fixed in b01964c632d920cd5a4a63801f3ef28c9f670286.

license_source: github-api


text:
Prepare non-beta release

Short description

Create non-beta release
Proposed changes

Remove beta tag from next bump version update
Create non-pre-release on GitHub

I guess, I have to trust you with this :D

Even I have to trust myself, because there is no way to know if it works without pushing the button. :sweat_smile:

source: gharchive/pull-request

repo: digitalfabrik/integreat-cms


text:
Public upload bug with mobile

When using a mobile phone, it seems like it is not possible to upload images using the public_upload feature. This is probably due to missing user rights.

It works with Crome, but it fails when using Firefox

Closing this issue since it could not be reproduced

repo: digitalfabrik/lunes-cms


text:
Unable to filter Sites by multiple Regions

Environment

Python version:  3.5.3
NetBox version:  2.5.3

Steps to Reproduce

Make sure that you have entered Sites for multiple regions like for example Africa, America, Asia, Australia, and Europe.
In the Sites view Search/Filet box, select multiple (two or more) Regions and click Apply.

Expected Behavior
You would expect NetBox to be able to show all Sites in the selected Regions, in the same way as if you select to filter Sites by e.g. multiple Tenants.

Observed Behavior
The resulting list shows only Sites for the alphabetically last one of the Regions selected in the filter box.

I have been looking into this a bit.  Due to the way the current method works to filter, it returns no query objects if a region is invalid.
This is due to the way TreeNodeChoiceField (the form object) cleans the data, if it encounters an invalid region, it just short-circuits and returns the full queryset for filtering.  This is the way it works with device filter or even site filter with the status field (not a TreeNodeChoiceField but a MultipleChoice field).
I am thinking we want to be consistent with the behaviour and the best bet would be to extend ModelMultipleChoiceFilter to "TreeNodeMultipleChoiceFilter" and override filter() to perform a get_descendants query before going to the parent.
This would allow handling of things like NestedRackGroups or anything else that uses the MPTT model.
Thoughts?

authors: DanSheps jbakklund

repo: digitalocean/netbox


text:
Colon is a valid input

Although other characters are filtered out, colon ':' seem to be a valid input. For example when I enter 5 and colon after that I get '5::'. I am not sure if this is the expected behavior or it's a bug.

thank you for reporting this. #23 should fix it.

authors: hasnat mishless

repo: dima-bu/react-time-input

license: mit


text:
Filter case list by non-searchable callout results

We've added the ability to add one <field> element to the suite.xml's <lookup> element. The <header> corresponds to the added column's text. The <template> is the key used to map data returned from the SimPrints' callout to individual case entries. The way this works is when case entries are loaded, that template xpression is evaluated and attached to the loaded entry. When data comes back from SimPrints, it will have a key (in this case a GUID or the case ID) and the data associated with that key will be attached to the case entry's listing.
<lookup action="com.simprints.id.IDENTIFY" image="jr://file/commcare/image/module1_case_list_lookup.png" name="Scan fingerprint">
  <extra key="deviceId" value="123"/>
  <extra key="apiKey" value="000"/>
  <extra key="packageName" value="foo"/>
  <response key="fake"/>
  <field>
    <header>
      <text>
        <locale id="m1.case_short.callout.header"/>
      </text>
    </header>
    <template>
      <text>
        <xpath function="@case_id"/>
      </text>
    </template>
  </field>
</lookup>

More details at https://confluence.dimagi.com/display/ccinternal/SimPrints+Fingerprint+Scanning
Can be tested on a device by installing the external tester app and building an app that makes a lookup call to the action described in  https://github.com/dimagi/commcare-tester-app/pull/2
cross-request: https://github.com/dimagi/commcare/pull/268

@phillipm Finished a pass!! This looks great (and like it took a lot of work :sweat:)! There are just a couple of my comments left to be addressed (I think 1 here and 1 in the commcare portion), and it looks like one of your most recent changes caused a test to fail. Good to merge after that.

Awesome, thanks for the review (sorry I forgot to do a readability pass before marking it ready). I think I addressed all your comments.

Build is still failing :(

repo: dimagi/commcare-odk


text:
Provide a Better Error if Phone Time Doesn't Match Server

Fix error handling for when user tries to log in when their device has an incorrect date.
Other small refactors too
In response to this ticket: http://manage.dimagi.com/default.asp?175197

on talking to @ctsims, I need to:

call getCurrentValidRecord with acceptExpired set to true
return HttpCalloutOutcomes.UnknownError if current == null, which shouldn't be a state we can get into
write a  note as to why we want to acceptExpired UserKeyRecords: We want to eventually enforce expiration, but can't do it until we proactively refresh key records that are going to expire in 3 or so months, otherwise field workers outside of internet service for longer than that will not be able to log in

@ctsims This is ready to review again


text:
fix cut off labels for time graphs

http://manage.dimagi.com/default.asp?188934
Before:

After:

top y-label still a little cut off, but there isn't a trivial way to fix this, can deal with it by increasing y-max


text:
Variable for uses postgres

@TylerSheffels @wspride
easier to set default var
elf: @czue

offlined deploy strategy with @benrudolph and he'll follow up

:+1:

authors: benrudolph czue

repo: dimagi/commcarehq-ansible


text:
🛑 android-7.1.2_r39 is down

In 72e1351, android-7.1.2_r39 (http://aospxref.com/android-7.1.2_r39/) was down:

HTTP code: 404
Response time: 247 ms

Resolved: android-7.1.2_r39 is back up in 04cddf1 after 9 minutes.

repo: dimenspace/aosp-uptime

license: MIT


text:
Update weaver-test-extra to 0.4.0

Updates io.github.dimitarg:weaver-test-extra from 0.3.9 to 0.4.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.github.dimitarg", artifactId = "weaver-test-extra" } ]

labels: test-library-update, semver-minor

Superseded by #7.

Superseded by #7.

repo: dimitarg/bb-webhook


text:
Use 'attributesToArray()' instead of 'toArray()'

The Translatabe Trait implemented the toArray() method which includes relationships. I think the intention here was to override attributesToArray() instead. It is called within the original implementation of toArray  anyway.
The problem with the current implementation is that the translated attributes are discarded when calling attributesToArray() later...

Good one.

@unitedworx @nsaumini @Gummibeer should we merge this?

@jwahdatehagh might be correct here since what the Translatable Trait toArray() does is basically inject the currently loaded locale translation as attributes. So this contribution might be worth pulling in.
Also I am thinking that to_array_always_loads_translations configuration should be extended to cover 2 things. a) inject the currently loaded locale translation as attributes to the model (this is what is done now) and b) inject all the model translations by utilizing the recently pulled in getTranslationsArray().

@Gummibeer I think it should be
if ( (!$this->relationLoaded('translations')) || (!$this->toArrayAlwaysLoadsTranslations()) ) {
    return $attributes;
}

@unitedworx no, cause we want to return the plain $attributes if the translation relationship isn't loaded and it has not to be loaded always. If it is loaded or it has to be loaded always we continue to the logic to add the translation.

:) I still think you got it wrong there @Gummibeer :)
You want to return early if you do not have the translation relationship loaded OR the config to_array_always_loads_translations is set to false. So simply you want to return early and not do anything here if either of these is false! :)

@unitedworx - i think @Gummibeer is right.
We should only return early if we do not have them loaded and shouldn't load them anyways...

(! $this->relationLoaded('translations')) || (! $this->toArrayAlwaysLoadsTranslations())

would falsely return instantly if to_array_always_loads_translations is false but we still have the translations loaded... In that case we should still add the loaded translation attributes to the result.

if (! $this->relationLoaded('translations') && ! $this->toArrayAlwaysLoadsTranslations()) {
    return $attributes;
}
// Continue ...

correctly adds the attributes if either we have them loaded at the moment or we should load them anyways.

But this doesn't actually have to do anything with the attributesToArray issue anyways 😉

@mohanklein because of your commits I couldn't merge this. That's not cool man.

Thank you @jwahdatehagh @unitedworx @Gummibeer   I update the code.

authors: Gummibeer dimsav jwahdatehagh unitedworx

repo: dimsav/laravel-translatable


text:
只扫描指定的服务的设备

支持只扫描指定的服务的设备吗，或者获取扫描后怎么过滤指定服务的设备？

同问，请问怎么解决呢？

authors: NIUNIUN tzshlyt

repo: dingjikerbo/Android-BluetoothKit


text:
Laravel dynamic multi domain with Dingo, Hyn/multi-tenant and restrict domain

Hello,
I want to create one website in Laravel version 7 and Dingo version 3 and Hyn/multi-tenant version 5.6.
I have created one project.. I have a requirement like industry can register on my portal and after that they have their own domain or we can say sub domain like foo.localhost:8000 or bar.localhost:8000. But when i access the domain which is not in my database or anywhere else like test.localhost:8000 it also give access to my all APIs. how can i restrict unwanted domain to access my APIs.
I have also made one middleware but not fruitfull.. Below is the code for the same :
public function handle($request, Closure $next)
    {
        $allowedOrigins = ['foo.localhost:8000', 'bar.localhost:8000'];
        $origin = $_SERVER['HTTP_ORIGIN'];
        if (in_array($origin, $allowedOrigins)) {
            return $next($request)
                ->header('Access-Control-Allow-Origin', $origin)
                ->header('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE')
                ->header('Access-Control-Allow-Headers', 'Content-Type');
        }
        return $next($request);
    }

Can anyone please help me to solve this problem as soon as possible.
@jasonlewis @thilanga

I am also searching for the same, dynamic multi-domain with dingo API.

Hello @kajal98 and @rutul8897 , if you guys found any idwa for the same just let me know because i am also surfing for laravel APIs with dynamic domain with different database.
@jasonlewis @thilanga if you guys do help to us it will be great!
Thank you in advance!

I am also searching for the same, dynamic multi-domain with dingo API.

Hello, I am also searching for the same if you found any solution then let me know.
Thank you in advance!

Hey guys
Sorry but from the issue description, it's really not clear to me at all what the problem is and what you are trying to do.
I haven't heard of this hyn/multi-tenant package, but from having a look on their website, I see this as the documentation of how to detect the tenant using domain or sub-domain
https://tenancy.dev/docs/tenancy/1.x/identification-http
I don't see a relationship between their documentation and what you are doing with the middlewhere as you describe.
Can you please try and explain better what specifically your problem is, and what you think you need to do in order to solve it?

repo: dingo/api


text:
LTL specifications and obstacles in problems

@JulienCalbert @vdebauche @blegat This issue is a proposition, feel free to criticize or to add anything.
For now, the LTL specifications and obstacles are part of the system's definition (for example in Gol-Lazar-Belta's example). To me, these attributes should be part of new types implementing ProblemType.
Also, for LTL specifications, we could use https://github.com/sisl/Spot.jl which is "higher-level" than automata in HybridSystem definition.

@blegat Still let's try to implement Spot LTL formula translations for a user-friendly use of Dionysos


text:
Settings page is empty

Nothing is in the settings page yet. Hopefully will be implemented before final release.

Too add:

music volume
frame rate
sprint by default

repo: dippyshere/Newest-Super-Human-Bros-PC


text:
test(rest:e2e): Increase timeout for send a direct message e2e test

Currently the "Send a Direct Message" E2E test fails due to the 30s timeout. This increases it to 60s hoping this is long enough to make it pass

Not sure how they are related but #3849 already fixed the timeout issue for the direct message e2e, so this pr is no longer needed
not sure how it was causing a timeout not an exception but I'm not going to ask

repo: discordeno/discordeno


text:
feat(handlers/guild): change createGuildChannel() to use guild ID

closes: #527

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: ayntee:x: itohatwebYou have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant itohatweb


text:
Quantum Polygonal Nimbus#5916 , To get help setting up Linux, Discord.me , https://blargbot.xyz/output/513184140032525698    Username: Megacat#8300 ID: 512828158597136425 Created: 2018/11/16 03:16:00

What is your username and discriminator?
Why did you join Discord Linux?
Where did you hear about Discord Linux?
What is the passphrase that was assigned to you by the bot?

Use our format properly.
Question
Answer

authors: Vixtron themodzman

repo: discordlinux/rules


text:
FEATURE: add support for an open LLM implementation

This is very much a work in progress, testing at the moment on:
TheBloke/Llama-2-7B-chat-fp16

Why you testing on the quantized variant instead of the base one? Speed?

lol was waiting on facebook to give me access, but one nice thing now that I can run 13B locally, so that is a cool side effect.

given @romanrizzi is rewriting all this stuff might as well close this and revisit.

authors: SamSaffron xfalcox

repo: discourse/discourse-ai


text:
Docker build failed in dita-ot-action

Expected Behavior
Docker build should pass.
Actual Behavior
Docker build failed at step 8.
Copy of the error message, log file or stack trace
Step 8/12 : RUN export DEBIAN_FRONTEND=noninteractive && 	ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime &&     dpkg-reconfigure --frontend noninteractive locales tzdata && 	locale-gen en_US.UTF-8 &&     rm -rf /var/lib/apt/lists/* &&     chmod +x /entrypoint.sh && 	chmod +x /build_script.sh  && 	chmod +x /install_script.sh
139
   ---> Running in 6d94f3852fe7
140
  Generating locales (this might take a while)...
141
    en_US.UTF-8... done
142
  Generation complete.
143
  dpkg-query: package 'tzdata' is not installed and no information is available
144
  Use dpkg --info (= dpkg-deb --info) to examine archive files,
145
  and dpkg --contents (= dpkg-deb --contents) to list their contents.
146
  /usr/sbin/dpkg-reconfigure: tzdata is not installed
147
  The command '/bin/bash -o pipefail -c export DEBIAN_FRONTEND=noninteractive && 	ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime &&     dpkg-reconfigure --frontend noninteractive locales tzdata && 	locale-gen en_US.UTF-8 &&     rm -rf /var/lib/apt/lists/* &&     chmod +x /entrypoint.sh && 	chmod +x /build_script.sh  && 	chmod +x /install_script.sh' returned a non-zero code: 1

Environment
The action yaml code:
name: CI
'on':
  push:
    branches:
      - gh-actions
jobs:
  build-dita:
    name: Build DITA
    runs-on: ubuntu-latest
    steps:
      - name: Git checkout
        uses: actions/checkout@v2
      - name: Build HTML
        uses: dita-ot/dita-ot-action@master
        with:
          input: cn/RTC/RTC_API_Windows.ditamap
          transtype: html5
          output-path: out

Does the updated Dockerfile now work for you?

The build failed with a different error:

That must be to do with the permissions you have on your local PC. The Dockerfile is clearly running as ROOT:
https://github.com/dita-ot/dita-ot-action/blob/master/Dockerfile#L10
The GitHub Action is working on the GitHub's own infrastructure as can be seen on this test run here
2021-04-09T05:53:56.8706029Z Step 1/12 : FROM ghcr.io/dita-ot/dita-ot:3.6.1 AS DITA_OT
2021-04-09T05:53:57.6550449Z 3.6.1: Pulling from dita-ot/dita-ot
2021-04-09T05:54:03.8490397Z Digest: sha256:4ff3f3968744fcac57976e22a7b8e080d4e361547a57355747d02291672b1a27
2021-04-09T05:54:03.8504540Z Status: Downloaded newer image for ghcr.io/dita-ot/dita-ot:3.6.1
2021-04-09T05:54:03.8550845Z  ---> eacaea8c8267
2021-04-09T05:54:03.8551371Z Step 2/12 : SHELL ["/bin/bash", "-o", "pipefail", "-c"]
2021-04-09T05:54:05.8010039Z  ---> Running in f57eb59469a8
2021-04-09T05:54:06.1657034Z Removing intermediate container f57eb59469a8
2021-04-09T05:54:06.1719489Z  ---> 5f90510d33ad
2021-04-09T05:54:06.1719932Z Step 3/12 : USER root
2021-04-09T05:54:06.1960812Z  ---> Running in 6a2bd43d1aeb
2021-04-09T05:54:07.0238745Z Removing intermediate container 6a2bd43d1aeb
2021-04-09T05:54:07.0239288Z  ---> 689c84df184d
2021-04-09T05:54:07.0239669Z Step 4/12 : WORKDIR /
2021-04-09T05:54:07.0463027Z  ---> Running in 1612e588e1d7
2021-04-09T05:54:08.0302183Z Removing intermediate container 1612e588e1d7
2021-04-09T05:54:08.0302822Z  ---> 9faf54833bbc
2021-04-09T05:54:08.0303665Z Step 5/12 : COPY entrypoint.sh entrypoint.sh
2021-04-09T05:54:09.0241796Z  ---> 2c7baa7414ce
2021-04-09T05:54:09.0242654Z Step 6/12 : COPY script.sh install_script.sh
2021-04-09T05:54:10.0214254Z  ---> 3ec52a7b9d32
2021-04-09T05:54:10.0214782Z Step 7/12 : COPY script.sh build_script.sh
2021-04-09T05:54:11.0193417Z  ---> d514d01d8525
2021-04-09T05:54:11.0195185Z Step 8/12 : RUN export DEBIAN_FRONTEND=noninteractive && 	apt-get update && 	apt-get install --reinstall tzdata && 	ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime && 	dpkg-reconfigure --frontend noninteractive locales tzdata && 	locale-gen en_US.UTF-8 && 	rm -rf /var/lib/apt/lists/* && 	chmod +x /entrypoint.sh && 	chmod +x /build_script.sh  && 	chmod +x /install_script.sh
2021-04-09T05:54:11.0443153Z  ---> Running in 104a867dbd3d
2021-04-09T05:54:11.6939944Z Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
2021-04-09T05:54:11.7044970Z Get:2 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
2021-04-09T05:54:14.6068645Z Fetched 22.3 MB in 3s (7,047 kB/s)
2021-04-09T05:54:15.6580636Z Reading package lists...
2021-04-09T05:54:16.7990851Z Reading package lists...
2021-04-09T05:54:17.0295183Z Building dependency tree...
2021-04-09T05:54:17.0298083Z Reading state information...
2021-04-09T05:54:17.1789133Z The following NEW packages will be installed:
2021-04-09T05:54:17.1790133Z   tzdata
2021-04-09T05:54:17.4546303Z 0 upgraded, 1 newly installed, 0 to remove and 57 not upgraded.
2021-04-09T05:54:17.4546948Z Need to get 190 kB of archives.
2021-04-09T05:54:17.4547562Z After this operation, 3,109 kB of additional disk space will be used.
2021-04-09T05:54:17.4548779Z Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 tzdata all 2021a-0ubuntu0.18.04 [190 kB]
2021-04-09T05:54:17.9918898Z debconf: delaying package configuration, since apt-utils is not installed
2021-04-09T05:54:18.0125803Z Fetched 190 kB in 1s (275 kB/s)
2021-04-09T05:54:18.0394841Z Selecting previously unselected package tzdata.
2021-04-09T05:54:18.0458345Z (Reading database ... 5166 files and directories currently installed.)
2021-04-09T05:54:18.0459656Z Preparing to unpack .../tzdata_2021a-0ubuntu0.18.04_all.deb ...
2021-04-09T05:54:18.0471571Z Unpacking tzdata (2021a-0ubuntu0.18.04) ...
2021-04-09T05:54:18.2969724Z Setting up tzdata (2021a-0ubuntu0.18.04) ...
2021-04-09T05:54:18.3982820Z
2021-04-09T05:54:18.3983542Z Current default time zone: 'Etc/UTC'
2021-04-09T05:54:18.4009841Z Local time is now:      Fri Apr  9 05:54:18 UTC 2021.
2021-04-09T05:54:18.4010393Z Universal Time is now:  Fri Apr  9 05:54:18 UTC 2021.
2021-04-09T05:54:18.4011263Z Run 'dpkg-reconfigure tzdata' if you wish to change it.
2021-04-09T05:54:18.4014630Z
2021-04-09T05:54:19.0825678Z Generating locales (this might take a while)...
2021-04-09T05:54:19.8167249Z   en_US.UTF-8... done
2021-04-09T05:54:19.8174519Z Generation complete.
2021-04-09T05:54:19.8867926Z
2021-04-09T05:54:19.8869462Z Current default time zone: 'America/New_York'
2021-04-09T05:54:19.8890879Z Local time is now:      Fri Apr  9 01:54:19 EDT 2021.
2021-04-09T05:54:19.8891449Z Universal Time is now:  Fri Apr  9 05:54:19 UTC 2021.
2021-04-09T05:54:19.8892032Z
2021-04-09T05:54:19.9136732Z Generating locales (this might take a while)...
2021-04-09T05:54:20.6366141Z   en_US.UTF-8... done
2021-04-09T05:54:20.6369546Z Generation complete.
2021-04-09T05:54:21.4580507Z Removing intermediate container 104a867dbd3d
2021-04-09T05:54:21.4581021Z  ---> 961aa0a6a294
2021-04-09T05:54:21.4581422Z Step 9/12 : ENV LANG en_US.UTF-8
2021-04-09T05:54:21.4792293Z  ---> Running in ecd7c2f71e19
2021-04-09T05:54:22.0242634Z Removing intermediate container ecd7c2f71e19
2021-04-09T05:54:22.0243197Z  ---> 14a3290fca73
2021-04-09T05:54:22.0243608Z Step 10/12 : ENV LANGUAGE en_US:en
2021-04-09T05:54:22.0461562Z  ---> Running in eee6b4359c5c
2021-04-09T05:54:23.0276030Z Removing intermediate container eee6b4359c5c
2021-04-09T05:54:23.0276591Z  ---> be9dc70959d3
2021-04-09T05:54:23.0277024Z Step 11/12 : ENV LC_ALL en_US.UTF-8
2021-04-09T05:54:23.0525902Z  ---> Running in bfd93b0fd35b
2021-04-09T05:54:24.0242179Z Removing intermediate container bfd93b0fd35b
2021-04-09T05:54:24.0242746Z  ---> 6ab01e3512b2
2021-04-09T05:54:24.0243172Z Step 12/12 : ENTRYPOINT ["/entrypoint.sh"]
2021-04-09T05:54:24.0563015Z  ---> Running in 5a98d70636e3
2021-04-09T05:54:25.0244124Z Removing intermediate container 5a98d70636e3
2021-04-09T05:54:25.0246608Z  ---> 6606e59a6e27
2021-04-09T05:54:25.0247740Z Successfully built 6606e59a6e27
2021-04-09T05:54:25.0279830Z Successfully tagged 5588e4:09f32c66cf0f4ee0adcc1944ee69b07a
2021-04-09T05:54:25.0319493Z ##[endgroup]

Can you share your GitHub workflow (or replace it with [this] to see if that is causing your error.

Sorry, I forgot to delete a test command. It works now, cheers!

authors: jason-fox wangjie-agora

repo: dita-ot/dita-ot-action


text:
Content/Structure buttons not in the toolbar

I've got a page on a site that was showing the content/structure toggle buttons in the toolbar the last time I looked at it. Now I'm looking at it, in edit mode, and they don't display so we can't get to edit the static placeholders. We have upgraded CMS since I developed the app hook on these pages so has something changed in CMS to effect whether or not the content/structure toggle button displays in the toolbar?
Using django 1.6.5 and cms 3.0.5

@marksweb Can you let us know if this is happening still in a reproducible way? And, can you check to see if this exists in 3.0.10? I'd like to get this fixed in 3.0.11, if it is still an issue.
In addition to the hints suggested above, it is possible that the apphook has multiple views (list view, detail view) and that you saw the buttons on one of these views, but not the other? If this is possible, perhaps the non-button-displaying view just has no placeholders? If this is the case, the buttons will not appear by design.

@mkoistinen I need to keep track of my open issues! I think this was my misunderstanding, because I expected the buttons to almost always appear but I think I happened to be on a template in an apphook that didn't have any placeholders so that's why they weren't appearing.
However on this note, I'm fairly sure the buttons are still 'inverted', because clicking 'content' gives you the structure view showing the placeholders, and the structure view shows the page content. I don't know if that's an issue in a template we've overridden & not pulled in fixes from cms because it doesn't happen on all of our CMS sites.

I met same issue after migration 2.4.3, standard pages with placeholder and I have never seen "Structure/Content" button.  So, we cant add new pages to site.

@rmuslimov could you provide more information?
I can't replicate this
Have you followed the upgrade guide (http://django-cms.readthedocs.org/en/support-3.0.x/upgrade/3.0.html#upgrading-from-2-4)?

@yakky Ok, I think I found solution in  my case. I have base.html in project, and cmsbase.html which extends from base.html and works for CMS pages.
cmsbase.html has:
{% block header_cms %}
  {% include "blocks/cms_bar.html" %}
{% endblock %}

where cms_bar.html is:
{% load cms_tags sekizai_tags %}
{% cms_toolbar %}

That was the way which I've chosen to step-side this:

Also, please check your templates to make sure that you haven’t put the {% cms_toolbar %} tag into a >  {% block %} tag. This is not allowed in 3.0 anymore.

So, now I put {% cms_toolbar %} to base.html and it works correct, but I don't know how to disable it for non-CMS pages. Thanks!

@marksweb closing this as the "inverted behavior" it's a different one.
Please open a new issue if you can reproduce the "inverted behavior"

Hi! i have started my project with version 3.5.0 and i haven't in toolbar the buttons such i had in previous version.Such as 'structure' and 'content'. what i can do now ?
Thank you!

@dykyioleg those buttons are now one button that was moved to the rightmost position in the toolbar:

Thanks Vadik!
On Feb 22, 2018 10:40, "Vadim Sikora" notifications@github.com wrote:

@dykyioleg https://github.com/dykyioleg those buttons are now one
button that was moved to the rightmost position in the toolbar:
[image: screen shot 2018-02-22 at 10 39 59]
https://user-images.githubusercontent.com/366813/36530963-c641788a-17bc-11e8-9049-3560165a487b.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/divio/django-cms/issues/3423#issuecomment-367623027,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdKDlC2PqkqzKp4yRUZ5Fkpr1RCVBq29ks5tXTYRgaJpZM4CcIB7
.

@dykyioleg those buttons are now one button that was moved to the rightmost position in the toolbar:

@vxsx , So, the Structure button has disappeared altogether?
This is what I am seeing on my fresh local installation. Is this normal or is something missing?

@artforlife the pressed one on the top right is the structure button. it acts as a toggle

@artforlife the pressed one on the top right is the structure button. it acts as a toggle

That makes. I believe this version is more intuitive compared to when you had Structure-Content. I have been following the new documentation, which still seems to refer to the old paradigm. It alerted me to find out.

authors: artforlife dykyioleg marksweb mkoistinen rmuslimov vxsx yakky

repo: divio/django-cms


text:
Problem with adding page

Hello!
I think i found a problem with adding and deleting pages. Used django-cms 3.1.2 and upgraded to 3.1.3 since this problem was a fix in this update.
Here is how to reproduce it:

Add a new page that is at least one level down from root with the following details: title: Test, slug: test
Publish this page
Delete the page
Now add a page at the same level with the same details.
When you now try to publish this new page you get a 500 error with the following stacktrace

[13/Oct/2015 09:15:49] ERROR [django.request:231] Internal Server Error: /admin/cms/page/180/nb-no/publish/
Traceback (most recent call last):
  File "/home/jrc/webapps/orientering/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/jrc/webapps/orientering/lib/python2.7/site-packages/django/utils/decorators.py", line 105, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/home/jrc/webapps/orientering/lib/python2.7/site-packages/django/views/decorators/cache.py", line 52, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/home/jrc/webapps/orientering/lib/python2.7/site-packages/django/contrib/admin/sites.py", line 206, in inner
    return view(request, *args, **kwargs)
  File "/home/jrc/webapps/orientering/lib/python2.7/site-packages/django/utils/decorators.py", line 29, in _wrapper
    return bound_func(*args, **kwargs)
  File "/home/jrc/webapps/orientering/lib/python2.7/site-packages/django/views/decorators/http.py", line 41, in inner
    return func(request, *args, **kwargs)
  File "/home/jrc/webapps/orientering/lib/python2.7/site-packages/django/utils/decorators.py", line 25, in bound_func
    return func.__get__(self, type(self))(*args2, **kwargs2)
  File "/home/jrc/webapps/orientering/lib/python2.7/site-packages/django/db/transaction.py", line 394, in inner
    return func(*args, **kwargs)
  File "/home/jrc/webapps/orientering/lib/python2.7/site-packages/reversion/revisions.py", line 297, in do_revision_context
    return func(*args, **kwargs)
  File "/home/jrc/webapps/orientering/lib/python2.7/site-packages/cms/admin/pageadmin.py", line 967, in publish_page
    published = page.publish(language)
  File "/home/jrc/webapps/orientering/lib/python2.7/site-packages/cms/models/pagemodel.py", line 603, in publish
    self._publisher_save_public(public_page)
  File "/home/jrc/webapps/orientering/lib/python2.7/site-packages/cms/models/pagemodel.py", line 1210, in _publisher_save_public
    obj = obj.move(target=public_parent, pos='first-child')
  File "/home/jrc/webapps/orientering/lib/python2.7/site-packages/cms/models/pagemodel.py", line 1237, in move
    super(Page, self).move(target, pos)
  File "/home/jrc/webapps/orientering/lib/python2.7/site-packages/treebeard/mp_tree.py", line 1037, in move
    return MP_MoveHandler(self, target, pos).process()
  File "/home/jrc/webapps/orientering/lib/python2.7/site-packages/treebeard/mp_tree.py", line 444, in process
    if self.target.is_descendant_of(self.node):
AttributeError: 'NoneType' object has no attribute 'is_descendant_of'

Could this have something to do with recovery of deleted pages and some kind of conflict there?

Same as #4576

@oleaha would you try https://github.com/yakky/django-cms/tree/feature/treebeard?

Tested the solution, it works fine in our project! @yakky

@oleaha great to hear!

Closed by #4717

authors: oleaha yakky


text:
Fixing #3642

static_placeholders will create a context-variable that will overrule following placeholders – better trust the plugin, what it's place holder is than a context variable
what do you think?

@heppstux sorry, I overlooked this: please open a PR on support/3.0.x

@heppstux I think we may not need tests for this as https://github.com/divio/django-cms/blob/cf359e632b7d9348f3be85f1dfee63063319ee2d/cms/tests/frontend.py#L400 already cover the use case

hey @yakky,
pull request against support/3.0.x is created.

Thanks, merged it.
Code will be forward ported after 3.0.8 release
Fixed by #3728

authors: heppstux yakky


text:
Cursor jumps off of current branch after pulling latest...

This is a minor annoyance, but an annoyance nonetheless. Here are the details:
Sublime version: Dev Channel, Build 3142
Git version: 2.14.1
OS type and version: OSX El Capitan 10.11.6 (also occurs on macOS Sierra)
Console error: n/a (no error)
Steps to reproduce:

From the "Branches" screen, hit h to fetch remote branches.
Select/highlight the current branch to pull and run git: pull from command palette.
After the latest is pulled into current branch, the cursor "jumps" and is no longer on the current branch.

Screenshots (pardon the custom GitSavvy theme, which I gratefully found help with from another user here):

http://take.ms/WhIBg
http://take.ms/sxWJZ

Again, minor thing, but would be nice to have fixed. :P

This issue is similar to https://github.com/divmain/GitSavvy/issues/377

repo: divmain/GitSavvy


text:
Show toggle remotes help message only if there are any remotes

Fixes #1046
Because showing ** Press [e] to toggle display of remote branches. ** is lame when no remotes have been configured, we just suppress this help message in such cases.

LGTM


text:
🛑 Dixneuf19 website is down

In b297a7b, Dixneuf19 website (https://www.dixneuf19.me) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dixneuf19 website is back up in 2e07f45.


text:
Applying Rellax instance to dynamically created elements

Hi ya'll!
First of all, great plugin! Does a very good job on the buttery-smooth parallax :)
I'm using rellax inside my Vue SPA, and I'm currently running into the problem where the rellax instance looks for elements only on first initiation. This means any rellax-bound elements on other pages in my SPA aren't parallaxing :(
I can work around this by refreshing my rellax instance after each route change, but I was hoping there's some kind of support for dynamically created elements out of the box.
For clarification, jQuery does this as follows:
$('body').on('click', 'a', function(){
    // do something here
});

Can anyone enlighten me?
Thanks in advance!

I had the same issue, using vue-rellax fixed it for me.

authors: LarsDol Larsmyrup

repo: dixonandmoe/rellax


text:
How to start uploader?

I follwed the steps as document, but I even can't see an "upload" button. How should I do next?

I know why I can't see it, because I used RichTextField instand of the RichTextUploadField.
But I have another question when I post an image, just like this.

please tell me how to fix it.

You should probably remove CKEDITOR_FILENAME_GENERATOR from your settings.

Thank you, but I still have this problem even remove CKEDITOR_FILENAME_GENERATOR.
Finally, I choose to remove the statement in ckeditor_uploader-views-get_upload_filename, just like the last block that I marked.

Now, It works perfectly. However, I still want to know how should I do if I want to use the function of Filename generator?

authors: matthiask xiaohuanlin

repo: django-ckeditor/django-ckeditor


text:
Better emulate read_default_file DB config parsing

Fixes #773

Arguably all of the database config setting parsing code (not just that for mysql, and not just these two commands) should be unified into a single place, but that's a much more extensive change with greater risk of breaking other things so I went with the simpler option.

Could you please move the management/commands/_private.py file to management/mysql.py ?
That way we don't have none-command files in the commands/ directory.

Thanks !

authors: levic trbs

repo: django-extensions/django-extensions


text:
Fixed #30030 -- Fixed misleading error raised when a view inheriting …

…from SingleObjectMixin is called without pk or slug
https://code.djangoproject.com/ticket/30030#ticket

@timgraham If you have time to spare, could you check this PR?

@MyungSeKyo We'll get to it. 🙂

authors: MyungSeKyo carltongibson

repo: django/django


text:
Fixed #33879 -- Fixed wrong results for long intervals.

Added 10 hours to the month duration for intervals longer than 2 months.
Adding 10 hours directly to the constant would break other tests,
so the fix is added in the algorithm and only affects long intervals.
ticket-33879

I believe the fix is now ready and tested for all the edge cases.
The algorithm calculates the average month duration from d to now , and set that value in timesince_chunks_adjusted (I can't update directly the TIMESINCE_CHUNKS), that it is used in the chunks loop.
The part in the loop with:
if name == "month":
    count = min(count, months)

Is necessary, as there are cases where count ends up being greater than months, and this would be incorrect.
@carltongibson can you please have a look?

Hi @carltongibson, thanks for your comments.
I have been working on a "bulletproof" algorithm for the month and I got it working but, let me say, it looks convoluted and ugly. Part of the reason is that I tried to fit it into the current implementation, so instead of getting directly the number of months, I have to calculate a chunk of time that when used in the main loop would produce the correct result...
I have also found other issues when working on timesince, related to leap days, because the current implementation deals with leap days by ignoring them. In the testcase here, it expect the result one year, but to be precise, as 2008 is a leap year and self.oneyear is equal to 365 days, the result should have been 11 months, 4 weeks...
But if I start taking all of this into account, it looks like there are much more things to fix than what is in the original scope of the ticket...what should I do? I can work on a reimplementation of timesince, maybe on a new ticket, or we can merge the current one as is and say that the current fix si good enough.
What do you think?

I'm just experimenting now. Give me a little while.
Bar small edits it's likely OK as you have it.
Thanks for the effort!

One thing that might be worth just noting it the test cases for which the current proposal is still sub optimal

Hey @GianpaoloBranca — I think this is good.

I wondered about extracting the adjustment logic to a helper function (not least so it can have a docstring...)
Also, for the min(count, months) — could we just use months there?

Roughly this diff:
diff --git a/django/utils/timesince.py b/django/utils/timesince.py
index 2c419d28a566e6fc61ab7a9e7b002bc3bd3ed032..47ce5324a6e1761a3fe3021a69a11c5b167b6f36 100644
--- a/django/utils/timesince.py
+++ b/django/utils/timesince.py
@@ -26,6 +26,25 @@ TIMESINCE_CHUNKS = (
 MONTHS_DAYS = (31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31)

+def get_time_chunks_and_months(now, d):
+    """
+    Return adjusted time_chucks for lengths of calendar months in interval and
+    number_of_months.
+
+    The number_of_months is needed later when now.month is longer than the count
+    given by the average.
+    """
+    number_of_months = now.month - d.month
+    if number_of_months > 0:
+        m_days = (sum(MONTHS_DAYS[d.month - 1: now.month - 1])) / number_of_months
+    else:
+        number_of_months = 12 + number_of_months
+        m_days = (365 - sum(MONTHS_DAYS[now.month - 1: d.month - 1])) / number_of_months
+    time_chunks = list(TIMESINCE_CHUNKS)
+    time_chunks[1] = (int(m_days * 24 * 60 * 60), "month")
+    return time_chunks, number_of_months
+
+
 def timesince(d, now=None, reversed=False, time_strings=None, depth=2):
     """
     Take two datetime objects and return the time between d and now as a nicely
@@ -71,15 +90,7 @@ def timesince(d, now=None, reversed=False, time_strings=None, depth=2):
             leapdays += 1
     delta -= datetime.timedelta(leapdays)

-    # adjust months duration to be relative to the months between d and now
-    months = now.month - d.month
-    if months > 0:
-        m_days = (sum(MONTHS_DAYS[d.month - 1 : now.month - 1])) / months
-    else:
-        months = 12 + months  # note: we also need this later to fix edge cases.
-        m_days = (365 - sum(MONTHS_DAYS[now.month - 1 : d.month - 1])) / months
-    time_chunks = list(TIMESINCE_CHUNKS)
-    time_chunks[1] = (int(m_days * 24 * 60 * 60), "month")
+    time_chunks, number_of_months = get_time_chunks_and_months(now, d)

     # ignore microseconds
     since = delta.days * 24 * 60 * 60 + delta.seconds
@@ -100,8 +111,8 @@ def timesince(d, now=None, reversed=False, time_strings=None, depth=2):
         seconds, name = time_chunks[i]
         count = since // seconds
         if name == "month":
-            # count might overshoot if now.month is longer than the month average length
-            count = min(count, months)
+            # ???: can we just use number_of_months here?
+            count = min(count, number_of_months)
         if count == 0:
             break
         result.append(avoid_wrapping(time_strings[name] % {"num": count}))

What do you think?

Hi Carlton, I like the extraction, it looks clean, I will update the code :)
About the second point, no, we cannot use just number_of_months, it would fails in a lot of testcases.
Whenever now is in a months or more ahead of d, but d.day > now.day, it means that an entire months has not yet passed, but number_of_months would think so, and it result is that it is greater than what it should be.  since // seconds produces the corret result in this case.
For example:

d = 2022/05/09
now = 2022/07/02

would produce 2 months, -1 weeks by only using number_of_months

Hi @carltongibson, I have been working on the optimal implementation and I think I got it! 🎉
I had to rewrite partially the whole function, and used a different strategy, so all the stuff about the average month is scrapped... but the solution looks much cleaner than the current fix
I am sorry that you have to review my code again, but I thought was better to show you the better implementation rather thain going ahead with the current one.
What do you think?

Thanks a lot @carltongibson!! And happy new year to you too :)

authors: GianpaoloBranca carltongibson


text:
Refs #34060 -- Fixed issue in JSON exact for Oracle version greater than 19

It solves an issue raised in PR #34060 comment.
Tested on Oracle 19c,21c,23c.
There is a difference between v.19 and 21 in support NULL and JSON_EQUAL for JSON. (Oracle 18c)
In version 21 there was introduced native JSON data type and this might involve other changes (2 ordering JSON field tests fail in Oracle 21 - ticket #35225)

buildbot, test on oracle.

@raydeal Thanks :+1:

authors: charettes felixxm raydeal


text:
Refs #373 -- Added additional validations to tuple lookups.

Trac ticket number
ticket-373
Branch description
This PR re-adds tuple lookup validations removed in https://github.com/django/django/pull/18485 (this time with test coverage).
Checklist

[X] This PR targets the main branch.
[X] The commit message is written in past tense, mentions the ticket number, and ends with a period.
[X] I have checked the "Has patch" ticket flag in the Trac system.
[X] I have added or updated relevant tests.
[X] I have added or updated relevant docs, including release notes if applicable.
[X] I have attached screenshots in both light and dark modes for any UI changes.

Thank you for the review @LilyFoote ! I have addressed everything.


text:
Fixed #897 -- [WIP] Reverse m2m in model forms and the admin

https://code.djangoproject.com/ticket/897

Closing, as this is very out of date.


text:
Fixed #26691 -- Removed checking for a file's existence before deleting.

File operations will always raise a ENOENT error when a file does not
exist. Checking the file exists before the operation adds a race
condition where the file could be removed between operations. As the
operation already raises an error on a missing file, avoid this race and
avoid checking the file exists twice. Instead only check a file exists
by catching the ENOENT error.
Additionally, this follows the Python idiom "easier to ask for
forgiveness than permission".

merged in 359be1c8702ede41e7fe823ed13350795ba96a61, thanks!

(oops, I merged this and didn't see the comment -- anyway I guess changing that is a separate issue anyway)

yeah it should be tracked by another ticket. @jdufresne can you take care of it?

yeah it should be tracked by another ticket. @jdufresne can you take care of it?

Yup, no problem.

authors: charettes jdufresne timgraham


text:
Document CloudDB deployment and installation

Currently there's not much information on how to deploy CloudDB.

👍  Added instructions on our intranet site, also updated the Docker pages:
https://hub.docker.com/r/djavorszky/ddn/
https://hub.docker.com/r/djavorszky/ddn-agent-mysql/
https://hub.docker.com/r/djavorszky/ddn-agent-postgres/

repo: djavorszky/ddn


text:
🛑 Writeguard is down

In 79b5b04, Writeguard (https://www.writeguard.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Writeguard is back up in ec74ab6.


text:
🛑 Writeguard is down

In dfddccb, Writeguard (https://www.writeguard.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Writeguard is back up in 82c7e5e.


text:
java.lang.ClassCastException: java.util.ArrayList cannot be cast to [Ljava.lang.Object

update failed for ActionGroup: Delete Plugin (Delete Plugin)[Delete Plugin]: java.util.ArrayList cannot be cast to [Ljava.lang.Object;
java.lang.ClassCastException: java.util.ArrayList cannot be cast to [Ljava.lang.Object;
	at com.intellij.ide.impl.dataRules.PsiElementFromSelectionsRule.getData(PsiElementFromSelectionsRule.java:26)
	at com.intellij.ide.impl.DataManagerImpl.a(DataManagerImpl.java:88)
	at com.intellij.ide.impl.DataManagerImpl.access$000(DataManagerImpl.java:55)
	at com.intellij.ide.impl.DataManagerImpl$1.getData(DataManagerImpl.java:91)
	at com.intellij.openapi.actionSystem.DataKey.getData(DataKey.java:81)
	at com.intellij.ide.impl.dataRules.VirtualFileArrayRule.getData(VirtualFileArrayRule.java:87)
	at com.intellij.ide.impl.DataManagerImpl.a(DataManagerImpl.java:88)
	at com.intellij.ide.impl.DataManagerImpl.a(DataManagerImpl.java:69)
	at com.intellij.ide.impl.DataManagerImpl.access$300(DataManagerImpl.java:55)
	at com.intellij.ide.impl.DataManagerImpl$MyDataContext.a(DataManagerImpl.java:391)
	at com.intellij.ide.impl.DataManagerImpl$MyDataContext.getData(DataManagerImpl.java:368)
	at com.intellij.openapi.actionSystem.DataKey.getData(DataKey.java:75)
	at liveplugin.toolwindow.DeletePluginAction.update(DeletePluginAction.java:80)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:122)
	at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:188)
	at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:139)
	at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:96)
	at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.a(ActionToolbarImpl.java:942)
	at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.access$000(ActionToolbarImpl.java:65)
	at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$1.updateActionsImpl(ActionToolbarImpl.java:174)
	at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyUpdateRunnable.run(ToolbarUpdater.java:186)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:649)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.j(FocusManagerImpl.java:630)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.p(FocusManagerImpl.java:600)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.b(FocusManagerImpl.java:482)
	at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2493)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:462)
	at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.a(ToolbarUpdater.java:108)
	at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.access$400(ToolbarUpdater.java:40)
	at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyTimerListener.run(ToolbarUpdater.java:158)
	at com.intellij.openapi.actionSystem.impl.WeakTimerListener.run(WeakTimerListener.java:54)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:1414)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:1404)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.actionPerformed(ActionManagerImpl.java:1388)
	at javax.swing.Timer.fireActionPerformed(Timer.java:313)
	at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:843)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:679)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

java.lang.ClassCastException: java.util.ArrayList cannot be cast to [Ljava.lang.Object;
	at com.intellij.ide.impl.dataRules.PsiElementFromSelectionsRule.getData(PsiElementFromSelectionsRule.java:26)
	at com.intellij.ide.impl.DataManagerImpl.a(DataManagerImpl.java:88)
	at com.intellij.ide.impl.DataManagerImpl.access$000(DataManagerImpl.java:55)
	at com.intellij.ide.impl.DataManagerImpl$1.getData(DataManagerImpl.java:91)
	at com.intellij.openapi.actionSystem.DataKey.getData(DataKey.java:81)
	at com.intellij.ide.impl.dataRules.VirtualFileArrayRule.getData(VirtualFileArrayRule.java:87)
	at com.intellij.ide.impl.DataManagerImpl.a(DataManagerImpl.java:88)
	at com.intellij.ide.impl.DataManagerImpl.a(DataManagerImpl.java:69)
	at com.intellij.ide.impl.DataManagerImpl.access$300(DataManagerImpl.java:55)
	at com.intellij.ide.impl.DataManagerImpl$MyDataContext.a(DataManagerImpl.java:391)
	at com.intellij.ide.impl.DataManagerImpl$MyDataContext.getData(DataManagerImpl.java:368)
	at com.intellij.openapi.actionSystem.DataKey.getData(DataKey.java:75)
	at liveplugin.toolwindow.DeletePluginAction.update(DeletePluginAction.java:80)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:122)
	at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:188)
	at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:139)
	at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:96)
	at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.a(ActionToolbarImpl.java:942)
	at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.access$000(ActionToolbarImpl.java:65)
	at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$1.updateActionsImpl(ActionToolbarImpl.java:174)
	at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyUpdateRunnable.run(ToolbarUpdater.java:186)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:649)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.j(FocusManagerImpl.java:630)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.p(FocusManagerImpl.java:600)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.b(FocusManagerImpl.java:482)
	at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2493)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:462)
	at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.a(ToolbarUpdater.java:108)
	at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.access$400(ToolbarUpdater.java:40)
	at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyTimerListener.run(ToolbarUpdater.java:158)
	at com.intellij.openapi.actionSystem.impl.WeakTimerListener.run(WeakTimerListener.java:54)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:1414)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:1404)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.actionPerformed(ActionManagerImpl.java:1388)
	at javax.swing.Timer.fireActionPerformed(Timer.java:313)
	at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:843)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:679)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

java.lang.ClassCastException: java.util.ArrayList cannot be cast to [Ljava.lang.Object;
	at com.intellij.ide.impl.dataRules.PsiElementFromSelectionsRule.getData(PsiElementFromSelectionsRule.java:26)
	at com.intellij.ide.impl.DataManagerImpl.a(DataManagerImpl.java:88)
	at com.intellij.ide.impl.DataManagerImpl.access$000(DataManagerImpl.java:55)
	at com.intellij.ide.impl.DataManagerImpl$1.getData(DataManagerImpl.java:91)
	at com.intellij.openapi.actionSystem.DataKey.getData(DataKey.java:81)
	at com.intellij.ide.impl.dataRules.VirtualFileArrayRule.getData(VirtualFileArrayRule.java:87)
	at com.intellij.ide.impl.DataManagerImpl.a(DataManagerImpl.java:88)
	at com.intellij.ide.impl.DataManagerImpl.a(DataManagerImpl.java:69)
	at com.intellij.ide.impl.DataManagerImpl.access$300(DataManagerImpl.java:55)
	at com.intellij.ide.impl.DataManagerImpl$MyDataContext.a(DataManagerImpl.java:391)
	at com.intellij.ide.impl.DataManagerImpl$MyDataContext.getData(DataManagerImpl.java:368)
	at com.intellij.openapi.actionSystem.DataKey.getData(DataKey.java:75)
	at liveplugin.toolwindow.DeletePluginAction.update(DeletePluginAction.java:80)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:122)
	at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:188)
	at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:139)
	at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:96)
	at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.a(ActionToolbarImpl.java:942)
	at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.access$000(ActionToolbarImpl.java:65)
	at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$1.updateActionsImpl(ActionToolbarImpl.java:174)
	at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyUpdateRunnable.run(ToolbarUpdater.java:186)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:649)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.j(FocusManagerImpl.java:630)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.p(FocusManagerImpl.java:600)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.b(FocusManagerImpl.java:482)
	at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2493)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:462)
	at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.a(ToolbarUpdater.java:108)
	at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.access$400(ToolbarUpdater.java:40)
	at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyTimerListener.run(ToolbarUpdater.java:158)
	at com.intellij.openapi.actionSystem.impl.WeakTimerListener.run(WeakTimerListener.java:54)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:1414)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:1404)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.actionPerformed(ActionManagerImpl.java:1388)
	at javax.swing.Timer.fireActionPerformed(Timer.java:313)
	at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:843)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:679)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

java.lang.ClassCastException: java.util.ArrayList cannot be cast to [Ljava.lang.Object;
	at com.intellij.ide.impl.dataRules.PsiElementFromSelectionsRule.getData(PsiElementFromSelectionsRule.java:26)
	at com.intellij.ide.impl.DataManagerImpl.a(DataManagerImpl.java:88)
	at com.intellij.ide.impl.DataManagerImpl.access$000(DataManagerImpl.java:55)
	at com.intellij.ide.impl.DataManagerImpl$1.getData(DataManagerImpl.java:91)
	at com.intellij.openapi.actionSystem.DataKey.getData(DataKey.java:81)
	at com.intellij.ide.impl.dataRules.VirtualFileArrayRule.getData(VirtualFileArrayRule.java:87)
	at com.intellij.ide.impl.DataManagerImpl.a(DataManagerImpl.java:88)
	at com.intellij.ide.impl.DataManagerImpl.a(DataManagerImpl.java:69)
	at com.intellij.ide.impl.DataManagerImpl.access$300(DataManagerImpl.java:55)
	at com.intellij.ide.impl.DataManagerImpl$MyDataContext.a(DataManagerImpl.java:391)
	at com.intellij.ide.impl.DataManagerImpl$MyDataContext.getData(DataManagerImpl.java:368)
	at com.intellij.openapi.actionSystem.DataKey.getData(DataKey.java:75)
	at liveplugin.toolwindow.DeletePluginAction.update(DeletePluginAction.java:80)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:122)
	at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:188)
	at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:139)
	at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:96)
	at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.a(ActionToolbarImpl.java:942)
	at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.access$000(ActionToolbarImpl.java:65)
	at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$1.updateActionsImpl(ActionToolbarImpl.java:174)
	at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyUpdateRunnable.run(ToolbarUpdater.java:186)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:649)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.j(FocusManagerImpl.java:630)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.p(FocusManagerImpl.java:600)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.b(FocusManagerImpl.java:482)
	at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2493)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:462)
	at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.a(ToolbarUpdater.java:108)
	at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.access$400(ToolbarUpdater.java:40)
	at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyTimerListener.run(ToolbarUpdater.java:158)
	at com.intellij.openapi.actionSystem.impl.WeakTimerListener.run(WeakTimerListener.java:54)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:1414)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:1404)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.actionPerformed(ActionManagerImpl.java:1388)
	at javax.swing.Timer.fireActionPerformed(Timer.java:313)
	at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:843)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:679)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Can't reproduce :(

repo: dkandalov/live-plugin


text:
missing XMLConstants import in datamachine and mwdumper

Since a while, JWPL won't compile due to missing imports in XmlDumpReader and AbstractXmlDumpReader classes.

Fixed. Kudos to @jsubercaze for discovering this issue.

repo: dkpro/dkpro-jwpl


text:
"writeln" one parameter garbled

vi reported this on 2012-08-30T04:57:50Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=8600
CC List

ag0aep6g
andrei (@andralex)
bugzilla (@WalterBright)

Description
import core.stdc.wchar_,core.stdc.locale;

example code:

extern(C) int setlocale(int, char*);
static this()
{
    fwide(core.stdc.stdio.stdout, 1);
    setlocale(0, cast(char*)"china");
}
int main(string[] argv)
{
   writeln("1个");
   return 0;
}

Temporary fix:

void writeln(T...)(T args)
{
    static if (T.length == 0)
    {
        enforce(fputc('
', .stdout.p.handle) == '
');
    }
    else static if (T.length == 1 &&
                    isSomeString!(typeof(args[0])) && is(typeof(args[0]) : const(char)[]) &&
                    !isAggregateType!(typeof(args[0])))
    {
        // error: not Transformation coding

        // Specialization for strings - a very frequent case
        //enforce(fprintf(.stdout.p.handle, "%.*s
",
        //                cast(int) args[0].length, args[0].ptr) >= 0);

		stdout.write(args, '
');
    }
    else
    {
        // Most general instance
        stdout.write(args, '
');
    }
}

bugzilla (@WalterBright) commented on 2021-02-20T14:21:23Z
I get:

test.d(6): Error: undefined identifier stdio in package core.stdc, perhaps add static import core.stdc.stdio;

making the import static, like suggested yields:

test.d(6): Error: undefined identifier fwide

A working example (or a description what fails) would be nice...

bugzilla (@WalterBright) commented on 2021-04-13T11:07:22Z
Thanks. That makes more sense. I guess the expected output should be "1个" instead of "1?,?"?

bugzilla (@WalterBright) commented on 2021-04-12T18:01:41Z
I'm closing this, because it's unclear, what the bug is and the report is old, so it might not even be there anymore. Please feel free to reopen it, if you think, the bug still persists.

ag0aep6g commented on 2021-04-13T10:49:31Z
(In reply to Berni44 from comment #2)
> I'm closing this, because it's unclear, what the bug is and the report is
> old, so it might not even be there anymore. Please feel free to reopen it,
> if you think, the bug still persists.

Reopening. The code is just missing some imports. Fixed test case:

----
import core.stdc.wchar_, core.stdc.locale;
static import core.stdc.stdio;
import std.stdio: writeln;

extern(C) int setlocale(int, char*);
static this()
{
    fwide(core.stdc.stdio.stdout, 1);
    setlocale(0, cast(char*)"china");
}
int main(string[] argv)
{
   writeln("1个");
   return 0;
}
----

repo: dlang/phobos


text:
Typo in REF macro parameter list in each doc.

$(REF Flag, std.typecons)!"each"should have a comma between the package names, not a dot. It was causing the text to render asstd.typecons..Flag!"each"`.

Thanks!

authors: andralex mdparker


text:
Eliminate the need for shared static this() on Posix

It would be great if we could eliminate all static ctors/dtors from Phobos and use lazy initialization instead. This PR is a simple step in that direction - there's really no need to initialize those pointers to function (or test them) in Posix.

I had flashbacks that I worked on that before... and indeed I did: https://github.com/dlang/phobos/pull/5813. Let's continue there.


text:
std.format: Move description of format string to package.

In my opinion, the format string is central to std.format and therefore should be described at package level, not at formattedWrite (even the examples do not use formattedWrite). I refrained myself from doing more changes, although there are a lot of them needed, because I think, that it is much easier to be reviewed, when large chunks are just copied and not modified.

The link I mention is not froken but doeds not lead to what is advertised. It should be changed to a link to the package.

ping @thewilsonator for auto-merge cancel

The link I mention is not froken but does not lead to what is advertised. It should be changed to a link to the package.

I just removed it, because I want to go through the whole documentation anyway in the next days and add links to the description of the format string at all places.

ah yeah I see you mentioned it's not complete

I refrained myself from doing more changes,

but why wait ? It's not something that may have to be reverted.

but why wait ? It's not something that may have to be reverted.

No, not reverted, of course. But it's really a lot, that needs to be done and I want to do small steps here. You know, there are dozens of such small changes, that I could add here. I'd prefer to do them step by step, so I don't overlook anything I don't produce rubbish in between.
For example the change you request above would take me a while to find out how to link to <a name="..."> on package scope correctly. With a thorough documentation of ddoc it would be much work, but usually I have to go through several other modules of phobos to find a place, where someone did something similar... Of course I could do it quick and dirty (with $REF_ALTTEXT) to fulfill your request, but I do not like to do so.

Ok considering that to change the other links is not something that's been forgotten you can dismiss my objections.

Ok considering that to change the other links is not something that's been forgotten you can dismiss my objections.

Oh, thanks. (I actually searched for broken links, but overlooked the one from format, because it was not really broken.)


text:
Add changelog for Unique!struct calling destroy

See https://github.com/dlang/phobos/pull/8651.

@thewilsonator Minor fix for missing NOTE macro has lost auto-merge.


text:
Vendor prefixes?

Does this package automatically add vendor prefixes to my SASS code?
Input:
.noselect
  user-select: none

Output:
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version */
}

If not: How can I add this feature?

No. Use autoprefixer for this.
On 25 Jul 2016 1:54 AM, "JHGitty" notifications@github.com wrote:

Does this package automatically add vendor prefixes to my SASS code?
Input:
.noselect
user-select: none
Output:
.noselect {
-webkit-touch-callout: none; /* iOS Safari /
-webkit-user-select: none;   / Chrome/Safari/Opera /
-khtml-user-select: none;    / Konqueror /
-moz-user-select: none;      / Firefox /
-ms-user-select: none;       / Internet Explorer/Edge /
user-select: none;           / Non-prefixed version */
}
If not: How can I add this feature?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dlmanning/gulp-sass/issues/522, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjZWGfE3sf5SMYOu8BY4lmHUUBNlz8rks5qY4q_gaJpZM4JTmpA
.

authors: JHGitty xzyfer

repo: dlmanning/gulp-sass


text:
Prevent inadvertant control of a PandAbox

As a controls engineer, I want to be provided with a "read-only" view of a PandAbox unless I am connected to a particular host machine, so that I can be confident  I cannot inadvertantly control a PandAbox.
Acceptance Criteria

On startup, the MalcolmJS user interface checks to see which host machine it is being used from
If the host machine is a "particular host machine" (i.e. is authorised) , MalcolmJS will operate in read-write mode.
If the host machine is not a "particular host machine" (i.e. is not authorised) , MalcolmJS will operate in read-only mode.

Notes

This story requires further clarification before it can be implemented.
What is meant by a "particular host machine"?  What defines a host machine that is allowed/authorised to control a PandAbox?.

will there be a list of machines that are "authorised" to connect to PandAboxes?

The top-level block has a "writable" attribute.  It could be used to implement R/O and R/W modes of operation.
Why not connect in R/O mode by default and require the user to actively switch to R/W mode?
How does this story relate to #71?

This is detailed in #122

@thomascobb can we close this issue then as a duplicate of #122?

Yes
Sent from my phone
---- ray-millward-tessella wrote ----
@thomascobbhttps://github.com/thomascobb can we close this issue then as a duplicate of #122https://github.com/dls-controls/malcolmjs/issues/122?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dls-controls/malcolmjs/issues/70#issuecomment-404201728, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHWR5I9q1v-f0pap6XYdnyBW2BydHCIMks5uFhMsgaJpZM4Ty4CS.
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom

Pymalcolm/PandA also only allows PUT/POSTs from IPs on the same subnet now.

authors: Kevin-Woods-Tessella btester271828 ray-millward-tessella thomascobb

repo: dls-controls/malcolmjs


text:
investigate (model's) global biases by prompting for "person from "

some countries will have a learned bias, some countries will share a neighborhood. which countries have stronger learned biases than others? do some countries have pseudo-identities? what do the "generic person from region" biases look like and what do they tell us?

https://en.wikipedia.org/wiki/List_of_Indigenous_peoples
https://en.wikipedia.org/wiki/List_of_national_capitals
https://en.wikipedia.org/wiki/List_of_diasporas
https://en.wikipedia.org/wiki/List_of_countries_by_ethnic_groups

better yet, let's use a generative process for generating feasible names that carry local biases.

sample a Country
sample a City|Country
sample a local Ethnicity|City
sample a Name|Ethnicity,City

constrain sampling process to generate names that do not match the names of public figures or celebrities (to the best of the LLMs ability)

sample images|Name,Country . Also condition on age?

repo: dmarx/whats-in-a-name


text:
memcached?

Hi, can I ask if memcached is a dependency of graphite? Thanks.

boing


text:
no CUDA-capable device is detected in windows

hi.
i download "windows binary build 20160419 - gpu version" and install python package it.
but it gives an error when ] use the gpu:
MXNetError: [11:52:59] D:\chhong\mxnet\src\storage\storage.cc:42: Check failed: e == cudaSuccess || e == cudaErrorCudartUnloading CUDA: no CUDA-capable device is detected
I use the cuda 7.5.18 and my gpu is GT 550M too.
thanks

maybe check your cuda using devicequery first?

gt 550 sounds too old

authors: Godricly abalfazl piiswrong

repo: dmlc/mxnet