[SPARK-22873] [CORE] Init lastReportTimestamp with system current time when start() called…

… in AsyncEventQueue
What changes were proposed in this pull request?
 if (droppedEventsCounter.compareAndSet(droppedCount, 0)) {
      val prevLastReportTimestamp = lastReportTimestamp
      lastReportTimestamp = System.currentTimeMillis()
      val previous = new java.util.Date(prevLastReportTimestamp)
      logWarning(s"Dropped $droppedEvents events from $name since $previous.")
   }

First time we log previous date, it would be "Thu Jan 01 08:00:00 CST 1970" because of lastReportTimestamp was inited by 0L. Although there is no mistake in theory, AsyncEventQueue's starting time seems better:
private[scheduler] def start(sc: SparkContext): Unit = {
    if (started.compareAndSet(false, true)) {
      this.sc = sc
      lastReportTimestamp = System.currentTimeMillis()
      dispatchThread.start()
    } else {
      throw new IllegalStateException(s"$name already started!")
    }
  }

How was this patch tested?
manual test:
Debug unit test '  test("metrics for dropped listener events") ' in SparkListenerSuit to check the previous date first time we log for drop events.

Can one of the admins verify this patch?


WIP: Dmp 530 dynamic scheduled tasks

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ X] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/DMP-530
Change description
POC to show how spring scheduled cron task can be configured to use a dynamic value read in from the database.
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ X] No

This was a POC and has been replaced by https://github.com/hmcts/darts-api/pull/314


Use emscripten-sdk versioned packages

With regard to devappd/emsdk-npm#1, this allows the user to specify their EMSDK by package.json.

[x] Research NPM co-dependency install behavior
[x] See if there's away to preserve emscripten-sdk-npm compatibility (non-versioned packages)

Addressed by 332dd76

Addressed by 332dd76

Ruled out because the upgrade experience with versioned packages is awkward.
Due to relying on prerelease digits to denote the build number, the user is limited to forcing one SDK version at a time. They will not receive version upgrades unless they opt-in via npm install -D emscripten-sdk@latest.
To prioritize ease-of-use, I'll continue to use the non-versioned package (emscripten-sdk-npm).

Ruled out because the upgrade experience with versioned packages is awkward.
Due to relying on prerelease digits to denote the build number, the user is limited to forcing one SDK version at a time. They will not receive version upgrades unless they opt-in via npm install -D emscripten-sdk@latest.
To prioritize ease-of-use, I'll continue to use the non-versioned package (emscripten-sdk-npm).


Duplicate / Conflicting IDs with "X+" "X-" Parameters

I hate to add special cases, but it seems that

X+
X-
Y+
Y-
Z+
Z-

Are fairly common cycle options. At the moment, they generate overlapping IDs:
UserData:
0;X+
3;X-
1;Y+
4;Y-
2;Z+
5;Z-

Ocvline.res
            CYCLE {
                CV_LINE_AXIS_X;
                CV_LINE_AXIS_X;
                CV_LINE_AXIS_Y;
                CV_LINE_AXIS_Y;
                CV_LINE_AXIS_Z;
                CV_LINE_AXIS_Z;
            }

cv-line spline.zip

Maxon seems to replace + with P and - with N
enum
{
	PRIM_AXIS									= 1300, // LONG	   - Direction [0:+X; 1:-X; 2:+Y; 3:-Y; 4:+Z; 5:-Z]
		PRIM_AXIS_XP							= 0,
		PRIM_AXIS_XN							= 1,
		PRIM_AXIS_YP							= 2,
		PRIM_AXIS_YN							= 3,
		PRIM_AXIS_ZP							= 4,
		PRIM_AXIS_ZN							= 5
};


Fix FastQuery implicit prefetch bug

There was a bug in how we built implicit prefetches with FastQuery enabled, where for nested prefetches (i.e. prefetches that themselves have prefetches) the first layer was a Django QuerySet but then we were adding FastPrefetch objects to them (turns out Django's QuerySet.prefetch_related() doesn't do any validation). That caused QuerySet evaluation (e.g. here) to explode in really opaque ways[1].
This fix ensures we create a FastQuery object rather than a Django QuerySet object for implicit prefetches, if FastQuery is enabled.
[1] - For the truly curious, it blows up here where lookup.prefetch_through.split fails because lookup.prefetch_through is a FastQuery object. Why? Because Django assumes that any prefetch that isn't a Prefetch object is a string. But what's opaque about it is that the error doesn't occur until you try to iterate on the queryset, and in this specific case it happened inside a map call that caught it and threw a different error.

CC @MJBonifacio

Thanks for adding commentary on the specifics of the blowup :)


adapter-static documentation out of sync with NPM

Describe the bug
The NPM page for adapter-static is missing the latest updates to the documentation. I can see at least these parts missing:
// svelte.config.js
import adapter from '@sveltejs/adapter-static';

export default {
  kit: {
    adapter: adapter({
      // default options are shown
      pages: 'build',
      assets: 'build',
      fallback: null,
      precompress: false
    }),
-
-    prerender: {
-      // This can be false if you're using a fallback (i.e. SPA mode)
-      default: true
-    }
  }
};

And this whole section:

When operating in SPA mode, you can omit config.kit.prerender.default (or set it to false, its default value), and only pages that have the prerender option set will be prerendered at build time.
SvelteKit will still crawl your app's entry points looking for prerenderable pages. If svelte-kit build fails because of pages that can't be loaded outside the browser, you can set config.kit.prerender.entries to [] to prevent this from happening. (Setting config.kit.prerender.enabled also has this effect, but would prevent the fallback page from being generated.)

⚠ During development, SvelteKit will still attempt to server-side render your routes. This means accessing things that are only available in the browser (such as the window object) will result in errors, even though this would be valid in the output app. To align the behavior of SvelteKit's dev mode with your SPA, you can call resolve() with a parameter of {ssr: false} inside the handle() hook.

Reproduction
Linked to the NPM page above. Compare to the GitHub README.
Logs
N/A

System Info
N/A

Severity
annoyance
Additional Information
Confusing people in Discord. :(

I guess what this comes down to is "which readme updates warrant a changeset so that they then get published in a timely fashion" and I don't have a good answer to that. The npm readme is only updated when the package is published, and it's been a couple of months since then.

If it's a low-velocity package, it seems like any changes should trigger a patch. Otherwise, what's the point of changing the documentation? For higher-velocity ones (like Kit), I could see rolling them into releases.


Tabbing into a field should autoselect its contents for quicker change

Godot version:
v3.0.6.stable.official.8314054
Issue description:
When using tab to cycle through different fields in any dialog in Godot should automatically have any existing value in that field already selected, so when typing in a new value its previous contents are overwritten, in order to greatly increase the efficiency of changing values (without having to interact with those fields with additional mouse clicks or cursor and shift key presses.
This behavior is common in UIs and game editors alike. Playcanvas does this well.
Steps to reproduce:
A good example that keeps reminding me of this enhancement is when I am modifying the RGB values of a color in Godot.

Create a material.
Modify its Albedo values.
Tab through the color value changing dialog.
Notice that when focus is changed to one of the color component numeric fields, the text cursor is prepended to any existing value in that field.
Type numbers into that field, similarly these values are prefixed to any existing value, meaning in order to replace this value, a user must take extra actions to delete existing contents.

This was changed in 3.1 - using Tab now auto-selects the field.


Remove parent node instead of child

Hi,
This is in the reference of this issue:
https://github.com/vakata/jstree/issues/1658
I'm having a js tree structure with checkbox in which if I select the parent node than all its elements appears in a textbox (which is perfect as per my requirement) above in the form of tags like the below image.
https://cloud.githubusercontent.com/assets/12791621/21007532/4ac706fc-bd63-11e6-98e0-7f8068652b40.jpg
But the thing is that if I delete the parent node its child also gets deleted. And my requirement is that if I parent node only that parent tag delete, not all the child they should remain in that box. Any suggestion?
Regards,

Please keep the discussion in a single thread, as I told you in the other ticket - this is something custom you are doing - I can't help you with it - I maintain jstree which visualizes trees - whatever you do with a textbox full of tags is up to you. In a tree if you delete a node its descendants are also deleted, if you want to change that - use custom code to move the parent's children to a new location before deleting the parent.


Worker error

I had setup the worker and server and it works fine but when i send audio via the HTTP api,
  ` curl  -T test/data/english_test.wav  "http://localhost:8888/client/dynamic/recognize"`

the workers gives error. Here is the worker logs:
2018-05-19 00:51:10 -   DEBUG:   __main__: <undefined>: Got message from server of type <class 'ws4py.messaging.TextMessage'>
2018-05-19 00:51:10 -    INFO:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Pipeline initialized
2018-05-19 00:51:10 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Started timeout guard
2018-05-19 00:51:10 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Initialized request
2018-05-19 00:51:10 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:10 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Got message from server of type <class 'ws4py.messaging.BinaryMessage'>
2018-05-19 00:51:10 -   DEBUG:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Pushing buffer of size 16384 to pipeline
2018-05-19 00:51:10 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Got message from server of type <class 'ws4py.messaging.BinaryMessage'>
2018-05-19 00:51:10 -   DEBUG:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Pushing buffer of size 49152 to pipeline
2018-05-19 00:51:10 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Got message from server of type <class 'ws4py.messaging.BinaryMessage'>
2018-05-19 00:51:10 -   DEBUG:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Pushing buffer of size 65536 to pipeline
2018-05-19 00:51:10 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Got message from server of type <class 'ws4py.messaging.BinaryMessage'>
2018-05-19 00:51:10 -   DEBUG:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Pushing buffer of size 65536 to pipeline
2018-05-19 00:51:10 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Got message from server of type <class 'ws4py.messaging.BinaryMessage'>
2018-05-19 00:51:10 -   DEBUG:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Pushing buffer of size 44 to pipeline
2018-05-19 00:51:10 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Got message from server of type <class 'ws4py.messaging.BinaryMessage'>
2018-05-19 00:51:10 -    INFO:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Pushing EOS to pipeline
2018-05-19 00:51:10 -    INFO:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Connecting audio decoder
2018-05-19 00:51:10 -    INFO:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Connected audio decoder
2018-05-19 00:51:11 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:12 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:13 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:13 -    INFO:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Got word: ONE
2018-05-19 00:51:13 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Postprocessing partial result..
2018-05-19 00:51:13 -   DEBUG:       root: 9020a33f-118d-4bac-b5f7-84967f5393f5: Starting postprocessing: ONE
2018-05-19 00:51:13 -   DEBUG:       root: 9020a33f-118d-4bac-b5f7-84967f5393f5: Postprocessing returned: ONE.

2018-05-19 00:51:13 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Postprocessing done.
2018-05-19 00:51:13 -    INFO:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Got word: TWO
2018-05-19 00:51:13 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Postprocessing partial result..
2018-05-19 00:51:13 -   DEBUG:       root: 9020a33f-118d-4bac-b5f7-84967f5393f5: Starting postprocessing: ONE TWO
2018-05-19 00:51:13 -   DEBUG:       root: 9020a33f-118d-4bac-b5f7-84967f5393f5: Postprocessing returned: ONE TWO.

2018-05-19 00:51:13 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Postprocessing done.
2018-05-19 00:51:13 -    INFO:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Got word: THREE
2018-05-19 00:51:13 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Postprocessing partial result..
2018-05-19 00:51:13 -   DEBUG:       root: 9020a33f-118d-4bac-b5f7-84967f5393f5: Starting postprocessing: ONE TWO THREE
2018-05-19 00:51:14 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:15 -    INFO:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Got word: FOUR
2018-05-19 00:51:15 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Postprocessing partial result..
2018-05-19 00:51:15 -   DEBUG:       root: 9020a33f-118d-4bac-b5f7-84967f5393f5: Skipping postprocessing since post-processor already in use
2018-05-19 00:51:15 -    INFO:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Got word: FIVE
2018-05-19 00:51:15 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Postprocessing partial result..
2018-05-19 00:51:15 -   DEBUG:       root: 9020a33f-118d-4bac-b5f7-84967f5393f5: Skipping postprocessing since post-processor already in use
2018-05-19 00:51:15 -    INFO:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Got word: SIX
2018-05-19 00:51:15 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Postprocessing partial result..
2018-05-19 00:51:15 -   DEBUG:       root: 9020a33f-118d-4bac-b5f7-84967f5393f5: Skipping postprocessing since post-processor already in use
2018-05-19 00:51:15 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:16 -    INFO:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Got word: SEVEN
2018-05-19 00:51:16 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Postprocessing partial result..
2018-05-19 00:51:16 -   DEBUG:       root: 9020a33f-118d-4bac-b5f7-84967f5393f5: Skipping postprocessing since post-processor already in use
2018-05-19 00:51:16 -    INFO:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Got word: EIGHT
2018-05-19 00:51:16 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Postprocessing partial result..
2018-05-19 00:51:16 -   ERROR: tornado.application: Future exception was never retrieved: Traceback (most recent call last):
  File "/home/cdj/.local/lib/python2.7/site-packages/tornado/gen.py", line 1113, in run
    yielded = self.gen.send(value)
  File "kaldigstserver/worker.py", line 247, in _on_word
    processed_transcript = (yield self.post_process([self.partial_transcript], blocking=False))[0]
TypeError: 'NoneType' object has no attribute '__getitem__'
2018-05-19 00:51:16 -   ERROR: tornado.application: Future exception was never retrieved: Traceback (most recent call last):
  File "/home/cdj/.local/lib/python2.7/site-packages/tornado/gen.py", line 1113, in run
    yielded = self.gen.send(value)
  File "kaldigstserver/worker.py", line 247, in _on_word
    processed_transcript = (yield self.post_process([self.partial_transcript], blocking=False))[0]
TypeError: 'NoneType' object has no attribute '__getitem__'
2018-05-19 00:51:16 -   ERROR: tornado.application: Future exception was never retrieved: Traceback (most recent call last):
  File "/home/cdj/.local/lib/python2.7/site-packages/tornado/gen.py", line 1113, in run
    yielded = self.gen.send(value)
  File "kaldigstserver/worker.py", line 247, in _on_word
    processed_transcript = (yield self.post_process([self.partial_transcript], blocking=False))[0]
TypeError: 'NoneType' object has no attribute '__getitem__'
2018-05-19 00:51:16 -   ERROR: tornado.application: Future exception was never retrieved: Traceback (most recent call last):
  File "/home/cdj/.local/lib/python2.7/site-packages/tornado/gen.py", line 1113, in run
    yielded = self.gen.send(value)
  File "kaldigstserver/worker.py", line 247, in _on_word
    processed_transcript = (yield self.post_process([self.partial_transcript], blocking=False))[0]
TypeError: 'NoneType' object has no attribute '__getitem__'
2018-05-19 00:51:16 -   DEBUG:       root: 9020a33f-118d-4bac-b5f7-84967f5393f5: Skipping postprocessing since post-processor already in use
2018-05-19 00:51:16 -    INFO:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Got word: <#s>
2018-05-19 00:51:16 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Postprocessing final result..
2018-05-19 00:51:16 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:17 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:18 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:19 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:20 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:21 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:22 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:23 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:24 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:25 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:26 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:27 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:28 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:29 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:30 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:31 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:32 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:33 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:34 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:35 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:36 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:37 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:38 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:39 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:40 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:41 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:42 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:43 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:44 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:45 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:46 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:47 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:48 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:49 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:50 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:51 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:52 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:53 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:54 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:55 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:56 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:57 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:58 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:51:59 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:52:00 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:52:01 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:52:02 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:52:03 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:52:04 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:52:05 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:52:06 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:52:07 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:52:08 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:52:09 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:52:10 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:52:11 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:52:12 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:52:13 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:52:14 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:52:15 -   DEBUG:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Checking that decoder hasn't been silent for more than 60 seconds
2018-05-19 00:52:16 - WARNING:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: More than 60 seconds from last decoder hypothesis update, cancelling
2018-05-19 00:52:16 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Master disconnected before decoder reached EOS?
2018-05-19 00:52:16 -    INFO:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Cancelling pipeline
2018-05-19 00:52:16 -    INFO:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Cancelled pipeline
2018-05-19 00:52:16 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:17 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:18 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:19 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:20 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:21 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:22 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:23 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:24 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:25 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:26 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:27 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:28 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:29 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:30 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:31 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:32 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:33 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:34 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:35 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:36 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:37 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:38 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:39 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:40 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:41 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:42 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:43 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:44 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:45 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Waiting for EOS from decoder
2018-05-19 00:52:46 -    INFO:   __main__: 9020a33f-118d-4bac-b5f7-84967f5393f5: Giving up waiting after 31 tries
2018-05-19 00:52:46 -    INFO:    decoder: 9020a33f-118d-4bac-b5f7-84967f5393f5: Finishing request

afterwards, Python 2.7 crashes unexpectedly.

I met with the same problem... :(

Same here :(


React: force overrides on remaining styling issues

For anything blocked by #2203, just force overrides for now. We'll incorporate Tom's improvements after release.
List of small changes to make:

[x] bottom rule on Nav
[x] font size on logo -> add back in uswds markup
[x] <main> missing around body content
[x] asst spacing

Fixed in #2515

@drew-usds @sean-usds  Can we mark this closed? Not sure of the exact process for this team.


feat!: Switch to github app based auth.

Docs we followed: https://backstage.io/docs/integrations/github/github-apps
Previously we were using a github app for user login but a github
personal access token for talking to github and reading data for the
org.  This worked but very quickly ran into rate-limiting issues.
Switch the backend integration to also use the same github app to get a
higher rate limit.
BREAKING CHANGE: 2 new settings will need to be available in the
environment where backstage is running.  AUTH_GITHUB_APP_ID and
AUTH_GITHUB_PRIVATE_KEY.  Be sure to add those before deploying this
version of the app.
You can also remove the GITHUB_TOKEN variable as it is no longer used.

I've added the credentials for the new dev and prod apps into keeper.  Once this lands, the following will need to happen:

Add the prod credentials to heroku
Deploy the latest version of the app
Remove the personal access token that's in heroku


Jk

I don't think this branch or the tagging method is really a workflow we're going to continue with. So I'm going to close this down for the time being. Sorry!


"Compilation options cannot be null for C#/VB project" when running in Codespaces

Environment data
dotnet --info output:
.NET SDK:
 Version:   7.0.306
 Commit:    f500069cb7

Runtime Environment:
 OS Name:     debian
 OS Version:  11
 OS Platform: Linux
 RID:         debian.11-x64
 Base Path:   /usr/share/dotnet/sdk/7.0.306/

Host:
  Version:      7.0.9
  Architecture: x64
  Commit:       8e9a17b221

.NET SDKs installed:
  7.0.306 [/usr/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 7.0.9 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 7.0.9 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  Not set

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

VS Code version:
Version: 1.82.1
Commit:<PHONE_NUMBER>d557a81c9d0b5f8a5a1e9274db5585
Date: 2023-09-08T08:41:47.631Z (5 days ago)
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/116.0.1938.76

C# Extension version: v2.1.2
OmniSharp log
[Info  - 11:13:14 AM] Shutting down
Using dotnet configured on PATH
Dotnet path: /usr/share/dotnet/dotnet
Activating C# standalone...
[Info  - 11:13:18 AM] [Program]Language server initialized
[Info  - 11:13:18 AM] [LanguageServerProjectSystem]Loaded MSBuild at /usr/share/dotnet/sdk/7.0.306
[Info  - 11:13:18 AM] [LanguageServerProjectSystem]Loading /workspaces/SkiaSharp/tests/SkiaSharp.Tests.Console.sln...
[Error - 11:13:19 AM] [LanguageServerProjectSystem]Exception thrown while loading /workspaces/SkiaSharp/tests/SkiaSharp.Vulkan.Tests.Console/SkiaSharp.Vulkan.Tests.Console.csproj System.InvalidOperationException: Compilation options cannot be null for C#/VB project - line 147
   at Roslyn.Utilities.Contract.Fail(String message, Int32 lineNumber) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Utilities/Contract.cs:line 154
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LoadedProject.UpdateWithNewProjectInfoAsync(ProjectFileInfo newProjectInfo) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LoadedProject.cs:line 147
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LoadedProject.UpdateWithNewProjectInfoAsync(ProjectFileInfo newProjectInfo) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LoadedProject.cs:line 149
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LanguageServerProjectSystem.LoadOrReloadProjectAsync(ProjectToLoad projectToLoad, ProjectBuildManager projectBuildManager, CancellationToken cancellationToken) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LanguageServerProjectSystem.cs:line 275
[Error - 11:13:19 AM] [LanguageServerProjectSystem]Exception thrown while loading /workspaces/SkiaSharp/tests/SkiaSharp.Tests.Console/SkiaSharp.Tests.Console.csproj System.InvalidOperationException: Compilation options cannot be null for C#/VB project - line 147
   at Roslyn.Utilities.Contract.Fail(String message, Int32 lineNumber) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Utilities/Contract.cs:line 154
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LoadedProject.UpdateWithNewProjectInfoAsync(ProjectFileInfo newProjectInfo) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LoadedProject.cs:line 147
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LoadedProject.UpdateWithNewProjectInfoAsync(ProjectFileInfo newProjectInfo) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LoadedProject.cs:line 149
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LanguageServerProjectSystem.LoadOrReloadProjectAsync(ProjectToLoad projectToLoad, ProjectBuildManager projectBuildManager, CancellationToken cancellationToken) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LanguageServerProjectSystem.cs:line 275
[Error - 11:13:23 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/SkiaSharp.Skottie/SkiaSharp.Skottie.csproj: Project does not contain 'Compile' target.
[Error - 11:13:23 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/SkiaSharp.Skottie/SkiaSharp.Skottie.csproj: Project does not contain 'Compile' target.
[Error - 11:13:23 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/SkiaSharp.Skottie/SkiaSharp.Skottie.csproj: Project does not contain 'Compile' target.
[Error - 11:13:23 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/SkiaSharp.SceneGraph/SkiaSharp.SceneGraph.csproj: Project does not contain 'Compile' target.
[Error - 11:13:23 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/SkiaSharp.SceneGraph/SkiaSharp.SceneGraph.csproj: Project does not contain 'Compile' target.
[Error - 11:13:23 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/SkiaSharp.SceneGraph/SkiaSharp.SceneGraph.csproj: Project does not contain 'Compile' target.
[Error - 11:13:23 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/source/SkiaSharp.Vulkan/SkiaSharp.Vulkan.SharpVk/SkiaSharp.Vulkan.SharpVk.csproj: Project does not contain 'Compile' target.
[Error - 11:13:23 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/source/SkiaSharp.HarfBuzz/SkiaSharp.HarfBuzz/SkiaSharp.HarfBuzz.csproj: Project does not contain 'Compile' target.
[Error - 11:13:23 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/HarfBuzzSharp/HarfBuzzSharp.csproj: Project does not contain 'Compile' target.
[Error - 11:13:23 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/HarfBuzzSharp/HarfBuzzSharp.csproj: Project does not contain 'Compile' target.
[Error - 11:13:23 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/HarfBuzzSharp/HarfBuzzSharp.csproj: Project does not contain 'Compile' target.
[Error - 11:13:24 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/SkiaSharp/SkiaSharp.csproj: Project does not contain 'Compile' target.
[Error - 11:13:24 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/SkiaSharp/SkiaSharp.csproj: Project does not contain 'Compile' target.
[Error - 11:13:24 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/SkiaSharp/SkiaSharp.csproj: Project does not contain 'Compile' target.
[Info  - 11:13:24 AM] [LanguageServerProjectSystem]Completed (re)load of all projects in 00:00:05.2977626
[Error - 11:16:15 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/HarfBuzzSharp/HarfBuzzSharp.csproj: Project does not contain 'Compile' target.
[Error - 11:16:15 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/HarfBuzzSharp/HarfBuzzSharp.csproj: Project does not contain 'Compile' target.
[Error - 11:16:15 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/HarfBuzzSharp/HarfBuzzSharp.csproj: Project does not contain 'Compile' target.
[Error - 11:16:15 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/SkiaSharp.Skottie/SkiaSharp.Skottie.csproj: Project does not contain 'Compile' target.
[Error - 11:16:15 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/SkiaSharp.Skottie/SkiaSharp.Skottie.csproj: Project does not contain 'Compile' target.
[Error - 11:16:15 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/SkiaSharp.Skottie/SkiaSharp.Skottie.csproj: Project does not contain 'Compile' target.
[Error - 11:16:16 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/SkiaSharp.SceneGraph/SkiaSharp.SceneGraph.csproj: Project does not contain 'Compile' target.
[Error - 11:16:16 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/SkiaSharp.SceneGraph/SkiaSharp.SceneGraph.csproj: Project does not contain 'Compile' target.
[Error - 11:16:16 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/SkiaSharp.SceneGraph/SkiaSharp.SceneGraph.csproj: Project does not contain 'Compile' target.
[Info  - 11:16:16 AM] [LanguageServerProjectSystem]Completed (re)load of all projects in 00:00:01.9006472
[Error - 11:16:20 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/SkiaSharp/SkiaSharp.csproj: Project does not contain 'Compile' target.
[Error - 11:16:20 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/SkiaSharp/SkiaSharp.csproj: Project does not contain 'Compile' target.
[Error - 11:16:20 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/binding/SkiaSharp/SkiaSharp.csproj: Project does not contain 'Compile' target.
[Info  - 11:16:20 AM] [LanguageServerProjectSystem]Completed (re)load of all projects in 00:00:00.6730928
[Error - 11:16:20 AM] [LanguageServerProjectSystem]Exception thrown while loading /workspaces/SkiaSharp/tests/SkiaSharp.Tests.Console/SkiaSharp.Tests.Console.csproj System.InvalidOperationException: Compilation options cannot be null for C#/VB project - line 147
   at Roslyn.Utilities.Contract.Fail(String message, Int32 lineNumber) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Utilities/Contract.cs:line 154
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LoadedProject.UpdateWithNewProjectInfoAsync(ProjectFileInfo newProjectInfo) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LoadedProject.cs:line 173
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LoadedProject.UpdateWithNewProjectInfoAsync(ProjectFileInfo newProjectInfo) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LoadedProject.cs:line 173
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LanguageServerProjectSystem.LoadOrReloadProjectAsync(ProjectToLoad projectToLoad, ProjectBuildManager projectBuildManager, CancellationToken cancellationToken) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LanguageServerProjectSystem.cs:line 258
[Error - 11:16:20 AM] [LanguageServerProjectSystem]Exception thrown while loading /workspaces/SkiaSharp/tests/SkiaSharp.Vulkan.Tests.Console/SkiaSharp.Vulkan.Tests.Console.csproj System.InvalidOperationException: Compilation options cannot be null for C#/VB project - line 147
   at Roslyn.Utilities.Contract.Fail(String message, Int32 lineNumber) in /_/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Utilities/Contract.cs:line 154
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LoadedProject.UpdateWithNewProjectInfoAsync(ProjectFileInfo newProjectInfo) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LoadedProject.cs:line 173
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LoadedProject.UpdateWithNewProjectInfoAsync(ProjectFileInfo newProjectInfo) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LoadedProject.cs:line 173
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LanguageServerProjectSystem.LoadOrReloadProjectAsync(ProjectToLoad projectToLoad, ProjectBuildManager projectBuildManager, CancellationToken cancellationToken) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LanguageServerProjectSystem.cs:line 258
[Error - 11:16:21 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/source/SkiaSharp.Vulkan/SkiaSharp.Vulkan.SharpVk/SkiaSharp.Vulkan.SharpVk.csproj: Project does not contain 'Compile' target.
[Error - 11:16:21 AM] [LanguageServerProjectSystem]Failure while loading /workspaces/SkiaSharp/source/SkiaSharp.HarfBuzz/SkiaSharp.HarfBuzz/SkiaSharp.HarfBuzz.csproj: Project does not contain 'Compile' target.
[Info  - 11:16:21 AM] [LanguageServerProjectSystem]Completed (re)load of all projects in 00:00:00.9401425

Steps to reproduce

Open a codespace to this branch and wait for the things to init https://github.com/mono/SkiaSharp/pull/2605
Open the tests solution: tests/SkiaSharp.Tests.Console.sln
Observe it all falls apart
Try running dotnet build tests/SkiaSharp.Tests.Console.sln
That works, so it is the extensions that is sad

Expected  behavior
The solution should open
Actual behavior
Fails to open
Additional context
Add any other context about the problem here.

I just tried with mcr.microsoft.com/devcontainers/dotnet:dev-7.0 and I get 7.0.401 - srtill no loading supported. 😭

C# Dev kit seems to have no issues...
Starting Spawn .NET server...
Using preinstalled .NET runtime at "/usr/share/dotnet/dotnet"
.NET server started and IPC established in 3531ms
Completed Spawn .NET server (3815ms)
Starting Open a solution...
Starting Open a solution with environment service...
Starting Clear environment...
Completed Clear environment (13ms)
Completed Open a solution with environment service (506ms)
Starting Restore solution...
Completed Open a solution (1774ms)
Starting NuGet restore for the solution.
Starting command: "dotnet" restore /workspaces/SkiaSharp/tests/SkiaSharp.Tests.Console.sln --interactive...
Completed command: "dotnet" restore /workspaces/SkiaSharp/tests/SkiaSharp.Tests.Console.sln --interactive (80590ms)
Completed NuGet restore.
Completed Restore solution (80593ms)

I am getting the same error. My project file has not changed. Just started showing up this morning. Extension version is 2.1.2,

Have a similar issue when I work on my Unity project. Solved by following this link https://forum.unity.com/threads/microsoft-previews-unity-extension-for-visual-studio-code.1468913/. Update the Visual Stuidio Editor in Unity to newest version. So if you are in the Unity project and facing the issue in this topic, try this and hope it can help you. Gook luck. 8)

The missing compile target error log is tracked by https://github.com/dotnet/vscode-csharp/issues/5786
Currently digging into the compilation options.  The compilation options error seems to be suppressing a much wider range of project loading issues, fixing that in https://github.com/dotnet/roslyn/pull/70467

The 'real' project load issue in SkiaSharp is
[Error - 3:23:42 PM] [LanguageServerProjectSystem] Failure while loading /home/dibarbet/source/repos/SkiaSharp/tests/SkiaSharp.Vulkan.Tests.Console/SkiaSharp.Vulkan.Tests.Console.csproj: The expression "[MSBuild]::VersionEquals('', 6.0)" cannot be evaluated. Version string was not in a correct format.  /home/dibarbet/source/repos/SkiaSharp/binding/IncludeNativeAssets.SkiaSharp.targets

Currently digging into what is going on there.

Issue is that the evaluation by default does not skip elements that evaluate to false, so it was hitting the VersionEquals check even though that whole item group is under a false condition.
Fix here - https://github.com/dotnet/roslyn/pull/70496


2013 was a long time ago huh

hi @gkz it's been a while
(edit: sorry for the inadvertent "spot the difference", github isn't highlighting it, ⌘F for my username and you'll see it)

Merged as https://github.com/gkz/LiveScript/commit/428a16d025c62d92a2c8044b105fdb23963009d7. Cheers!


fix a couple of bugs in report generation

Runs all find but with some warnings that may be spurious.
I am using the new text on Methods to finish the main text write-up, thanks


Add parsers JS facade

This adds ScalaJS Facade to the parsers API, in order to produce a common js module that can parse Scala files.
The final polished output (without the children nesting) is still depending on #948.
Also there's currently no way of configuring the parser (I'll work on it later on) but a basic working infrastructure is already in place.
As discussed on gitter, having a JS parser enables integrations with browser-based solutions such as astexplorer.net
Here's a POC!

A few things to notice about this PR:

since this facade won't be published together with scalameta, I've kept it as a separate project, so tests live in the same subprojects, as opposed to scalameta/tests

these are my very first lines of ScalaJS, so I may be doing something stupid with the types. I fiddled with them quite a bit, and using native js types seemed to produce the best output, but if anyone wants to chime in, be my guest

the js module needs to published on npm, but I've no clue on whether a blessed ScalaJS solution exists for that purpose, or if we have to do it manually (also, under which account?)

@olafurpg I initially opened this PR thinking we would wait for #948, but I think we can merge this and then refactor the output.
However (apart from addressing your review comments) I think we should at least decide how to publish on npm, so that I can start a PR to astexplorer too :)

If we can reuse the parsers project and avoid the new project then that would be great. Then once Lit.Float/Double are handled then I think we are good to go. I have created a scalameta org on npm https://www.npmjs.com/org/scalameta/ I have never published to npm, I hope it's easier than publishing to sonatype :)

I've added a basic npm project setup, including the instructions on how to publish (it's a manual process for now, lots of room for improvements there!).
We also have our first scalameta npm package online! https://www.npmjs.com/package/scalameta-parsers

@olafurpg done!

@olafurpg 🎉
Last-minute update, I've simplified the npm publishing process! :)

rebased (it got out of sync with master)

LGTM

🎉

🙌


Update sourcetree-beta to 2.6b1

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if updating a cask:

[ ] If the sha256 changed but the version didn’t,
provide public confirmation by the developer: {{link}}

Strange, appcast is working now but I'm getting different sha256 locally compared to travis.


Add example of optional property syntax to macro_reference example

The optional property syntax in the view! macro (optional_property?: some_value) appears to still be supported, but we don't have an example of it anywhere in the repository. Perhaps it's less useful now that gtk-rs' methods tend to not take Options anymore?
We should either add an example of it to the macro_reference example, or remove support for it.

I think it's still useful, especially if you only want to set a property under certain circumstances. It's rare to be fair, but I can imagine some reasonable use-cases.


Adding ERD for our app

In this commit we have added our ERD.

I'm not sure why the old PR got closed? just like code, we expect to see changes on the same PR.

Some of my old comments still applies:

Why does the Supplier have a password, but it lacks a username?
You set delivering area for Supplier as a string. is there only one delivering area per Supplier?
Isn't the Supplier and the Client both Users in the system?
I see the cart contains a qr_code foreign key, can a cart include only one item?

(sorry for the spam) - I can't help but feel the ERD is missing something. it looks like a system that allows clients to order items from suppliers, which is ok, but isn't the main point of the project a large social group buy?  it seems very personal and not very social.

If I understand correctly, you are trying to save the cart's items for each client in the Item_Cart table (again, I don't think it is the right approach).
But what will happen after the user paid for these items? Will you delete them from the database? Will you add a status field and then go over all the relevant items and filter them by their status?
Also, why do you need the FK for the Product table, and the FK for the Supplier table? Why not use instead a FK for the Product_Supplier table?

@Omeramsc
-Supplier is something the admin create,password is set by admin too that each supplier need to know sup_id and his password and clients and suppliers has their own urls to access
-yes each supplier is for one delivering area
-a cart can contain many items
-yes they both users but one is set by the admin of the site(not every 1 can be a supplier)

@nofaralfasi

After the client pay for the items we will delete each row that has the username that paid the items for him
Django doesnt support multiple fields to be primary key,our Foreign Keys is also going to be primary by the design we are going to make and by the ERD we cant just save a one product_supplier to because its a row for a supplier with a specific product and not all the catalog for the supplier

@Omeramsc -Supplier is something the admin create,password is set by admin too that each supplier need to know sup_id and his password and clients and suppliers has their own urls to access -yes each supplier is for one delivering area -a cart can contain many items -yes they both users but one is set by the admin of the site(not every 1 can be a supplier)

If a cart can contain multiple items, the ERD does not portray it. you cannot have multiple instances of the same field or one field that contain multiple objects. the solution for this is another table to represent the connection\relationship between the entities. e.g: "items in cart", containing an item FK and a cart FK. then, when you need this information you ask the DB for all "items in cart" with the cart FK.
They're still both users, and they have similar fields. I think they should derive from the same user entity. Also, you're mentioning an admin here, how will you implement his privileges? he might also be an entity or at least a variable.

I'm not sure about the arrow between Supplier and item_in_delivery - how zero supplier can have one or many Item_in_delivery? I think the arrow might be one and only supplier to one(or zero?) or many item_in_delivery.
In addition i'm not sure about these arrows:
Arrow between supplier to product_for_supplier - each supplier have one or many products. So the arrow might be one and only supplier to zero or many products.
Arrow between item_in_delivery to productr_for_supplier - might be one or many item to one or many products. Item can have 0 products?
Arrow between product to productr_for_supplier -  might be one product to zero or many productr_for_supplier.
Apart from these things you did a great job!

I know it seems like nitpicking, but please keep the lines straight, and try to assure they're not crossing each other. it affects readability heavily.
User has a password but does not have a username? how?
I don't really get the money part under client. does he charge money into the account? wouldn't it be easier if he would just pay for the items when purchasing them?
Can a delivery really have zero-to-many items in delivery? why make a delivery with zero items?
There is no such thing as 3 fields that are only unique together. each field is independent (also please remove the small comments beneath each class, it's distracting and not clear).
I don't think there can be a product_for_supplier (which is really items in supplier's catalog) with 0 products, meaning each product in catalog can have one product only (one-to-one)
We kinda created the names of the classes on the spot during our meeting, please refine them.

I agree with @Omeramsc, the ERD will look much clearer if you keep the lines short and straight.
Also, do we want to limit the client to only one area, as mentioned in the ERD? I'm thinking maybe it is unnecessary to declare the area field.
Not all fields have their type specified (like first_name and last_name in the User table).

@nofaralfasi about the last point - I agree overall, but also think that a supplier can have 0 products for suppliers, for example - a new supplier in the system. or - a supplier that sold everything.

User has a password but does not have a username? how?
Can a delivery really have zero-to-many items in delivery? why make a delivery with zero items?
There is no such thing as 3 fields that are only unique together. each field is independent (also please remove the small comments beneath each class, it's distracting and not clear).
I don't think there can be a product_for_supplier (which is really items in supplier's catalog) with 0 products, meaning each product in catalog can have one product only (one-to-one)
We kinda created the names of the classes on the spot during our meeting, please refine them.

is it possible that client and supplier (which inherit from User who has user_name as PK) will have also user_name as PK?
yes, each delivery id could have zero or many products that were ordered to a certain area (delivery).
isnt composite unique key is a django feature?
modified

I agree with @Omeramsc, the ERD will look much clearer if you keep the lines short and straight.
Also, do we want to limit the client to only one area, as mentioned in the ERD? I'm thinking maybe it is unnecessary to declare the area field.
Not all fields have their type specified (like first_name and last_name in the User table).
I think the connection between supplier and product_for_supplier should be one-to-many, meaning that each supplier has many product_for_supplier (more accurate, at least one), and each product_for_supplier has exactly one supplier.

modified.
for now we will limit the area for each client.
modified.
modified.

Me and paz has looked and modified the erd with some changes
Delivery -> Delivery_location
Item in delivery - > Ordered_product
Product for supplier -> supplier_product
There is no such thing as 3 fields that are only unique together. each field is independen
each field is yes independent but we can create a unique together fields like
username for supplier and location for the supplier that he can deliver to
sup 1,location a
sup 1,location a (is a duplicate so we need one and only one)
sup 1,location b
.
.
.

What's the purpose of the user's type field? bool is not very typical for types.

User has a password but does not have a username? how?
Can a delivery really have zero-to-many items in delivery? why make a delivery with zero items?
There is no such thing as 3 fields that are only unique together. each field is independent (also please remove the small comments beneath each class, it's distracting and not clear).
I don't think there can be a product_for_supplier (which is really items in supplier's catalog) with 0 products, meaning each product in catalog can have one product only (one-to-one)
We kinda created the names of the classes on the spot during our meeting, please refine them.

is it possible that client and supplier (which inherit from User who has user_name as PK) will have also user_name as PK?
yes, each delivery id could have zero or many products that were ordered to a certain area (delivery).
isnt composite unique key is a django feature?
modified

WDYM? they don't need to have user names, just the user entity should have it. when I last looked, I didn't see it has it.
how do zero items make sense?
Not that I know, but maybe I'll learn something new :)

each field is yes independent but we can create a unique together fields like username for supplier and location for the supplier that he can deliver to
sup 1,location a sup 1,location a (is a duplicate so we need one and only one) sup 1,location b

The supplier should have an ID as its primary key. you'll never have two suppliers with the same ID as it is auto-generated, therefor such a situation will never occur.

Please change Date to date on the Delivery_location table. If you decided to use sentence case, you should stick to it. The same goes for supplier_product.
Ordered product is missing an underscore.
On the User table - user_name doesn't have the same mark as other PKs on the diagram.
On the supplier_product table the quantity field is missing a type.
I personally preferred the name Delivery for the table, more than Delivery_location. But if I'm the only one with that opinion then don't change it.
How can a supplier_product have 0 products?
A product can have only one supplier_product connected to it? Meaning that 2 suppliers can't sell the same product?

What's the purpose of the user's type field? bool is not very typical for types.

The User class is abstract class, so the type field mean that if type equal to 0 so its meant to client and if its 1 its supplier.
I think we can change it from 'type' to 'access' or some word like this to make it more clear. and it still will be bool field.

What's the purpose of the user's type field? bool is not very typical for types.

The User class is abstract class, so the type field mean that if type equal to 0 so its meant to client and if its 1 its supplier. I think we can change it from 'type' to 'access' or some word like this to make it more clear. and it still will be bool field.

Can be less cryptic about it. E.g. Make it a string or some sort of enumeration class and call it user_type. No?

@thetaxas2468 I think we should change it to what Yftach said. In User class => change field 'type' to 'user_type' and make it Integer.

@thetaxas2468 I think we should change it to what Yftach said. In User class => change field 'type' to 'user_type' and make it Integer.

why integer?

@thetaxas2468 I think we should change it to what Yftach said. In User class => change field 'type' to 'user_type' and make it Integer.

why integer?

I thought that this is what you meant by saying enumeration class.
0-client
1-supplier
maybe I didn’t understand you right

@thetaxas2468 I think we should change it to what Yftach said. In User class => change field 'type' to 'user_type' and make it Integer.

why integer?

I thought that this is what you meant by saying enumeration class.
0-client 1-supplier
maybe I didn’t understand you right

ok. Just don't want it to be some sort of magic number or magic bool.
I think it can be of type Enum. Something like:
In [39]: from enum import Enum
...
In [41]: class UserType(Enum):
    ...:     CLIENT = 1
    ...:     SUPPLIER = 2
    ...:

In [42]: user_type = UserType.CLIENT

In [43]: user_type
Out[43]: <UserType.CLIENT: 1>

In [44]: user_type.name
Out[44]: 'CLIENT'

In [45]: user_type.value
Out[45]: 1

@thetaxas2468 I think we should change it to what Yftach said. In User class => change field 'type' to 'user_type' and make it Integer.

why integer?

I thought that this is what you meant by saying enumeration class.
0-client 1-supplier
maybe I didn’t understand you right

ok. Just don't want it to be some sort of magic number or magic bool.
I think it can be of type Enum. Something like:
In [39]: from enum import Enum
...
In [41]: class UserType(Enum):
    ...:     CLIENT = 1
    ...:     SUPPLIER = 2
    ...:

In [42]: user_type = UserType.CLIENT

In [43]: user_type
Out[43]: <UserType.CLIENT: 1>

In [44]: user_type.name
Out[44]: 'CLIENT'

In [45]: user_type.value
Out[45]: 1

The downside of having this as enum is that we couple the abstract parent class with its implementations.
In any case, don't leave it as magic numbers/booleans.

What's the purpose of the user's type field? bool is not very typical for types.

The User class is abstract class, so the type field mean that if type equal to 0 so its meant to client and if its 1 its supplier. I think we can change it from 'type' to 'access' or some word like this to make it more clear. and it still will be bool field.

Can be less cryptic about it. E.g. Make it a string or some sort of enumeration class and call it user_type. No?

I have changed it to str (either "user" or "supplier")

Please change Date to date on the Delivery_location table. If you decided to use sentence case, you should stick to it. The same goes for supplier_product.
Ordered product is missing an underscore.
On the User table - user_name doesn't have the same mark as other PKs on the diagram.
On the supplier_product table the quantity field is missing a type.
I personally preferred the name Delivery for the table, more than Delivery_location. But if I'm the only one with that opinion then don't change it.
How can a supplier_product have 0 products?
A product can have only one supplier_product connected to it? Meaning that 2 suppliers can't sell the same product?

1 done
2 done
4 done
5 havent changed
6 new supplier doesnt have products so it is ok
7 a proudct can be connected with zero or many suppliers and 2 suppliers can sell the same product

each field is yes independent but we can create a unique together fields like username for supplier and location for the supplier that he can deliver to
sup 1,location a sup 1,location a (is a duplicate so we need one and only one) sup 1,location b

The supplier should have an ID as its primary key. you'll never have two suppliers with the same ID as it is auto-generated, therefor such a situation will never occur.

Supplier have his primary key as username from the extend user,the example was about the DeliveryLocation

User has a password but does not have a username? how?
Can a delivery really have zero-to-many items in delivery? why make a delivery with zero items?
There is no such thing as 3 fields that are only unique together. each field is independent (also please remove the small comments beneath each class, it's distracting and not clear).
I don't think there can be a product_for_supplier (which is really items in supplier's catalog) with 0 products, meaning each product in catalog can have one product only (one-to-one)
We kinda created the names of the classes on the spot during our meeting, please refine them.

is it possible that client and supplier (which inherit from User who has user_name as PK) will have also user_name as PK?
yes, each delivery id could have zero or many products that were ordered to a certain area (delivery).
isnt composite unique key is a django feature?
modified

WDYM? they don't need to have user names, just the user entity should have it. when I last looked, I didn't see it has it.
how do zero items make sense?
Not that I know, but maybe I'll learn something new :)

1 Supplier yes need usernames,supplier is registered to the system same as userbame but each one has his UI and it will be choosed by the user_type
2 an delivery_id can be and can not be in the OrderedProduct and if it can the id can be there many times because it is FK and not unique in the table
3 it is available
example:
class MyModel(models.Model):
field1 = models.CharField(max_length=50)
field2 = models.CharField(max_length=50)
class Meta:
unique_together = ('field1', 'field2',)

How can a supplier_product have 0 products?
A product can have only one supplier_product connected to it? Meaning that 2 suppliers can't sell the same product?

6 new supplier doesnt have products so it is ok
7 a proudct can be connected with zero or many suppliers and 2 suppliers can sell the same product

You are right. Thanks for the clarification!

What tool are you using to generate the diagrams ? I suggest to commit the source files of the diagrams insted of (or at least in addition to) the generated PNGs.

https://app.diagrams.net/, We can add that in readme or something like that but the picture of the erd is okay i think,if not what do you mean i didnt understand

What tool are you using to generate the diagrams ? I suggest to commit the source files of the diagrams insted of (or at least in addition to) the generated PNGs.

https://app.diagrams.net/, We can add that in readme or something like that but the picture of the erd is okay i think,if not what do you mean i didnt understand

In the case of this tool, I meant the .drawio files. As any other source file they belong in the git repository so you can track changes, and let others make changes directly on the diagram. In this case the PNG files are the equivalent of the other binary files you generate for the project but don't keep in git (.pyc for compiled python, or the .vmdk image for the VirtualBox)

We dont want people to change it,idk where is the option to get .dawio files all i see html,png,jpeg ... ,the change can happend because we all share the same diagram by the link

But you don't keep track of changes thru the link. Please note that diagrams.net supports saving and loading files from github. Having the PNGs in the repository is equivalent to keeping compiled code in there - not as useful as source.

But you don't keep track of changes thru the link. Please note that diagrams.net supports saving and loading files from github. Having the PNGs in the repository is equivalent to keeping compiled code in there - not as useful as source.

Now i understand,Done!

I know you had a discussion about it earlier, but the User entity does not need to hold a type. the logic around the type will be done in code, and all information can be obtained using queries.
Supplier and Client does not need a user_name, as the User entity has it. replace it with an auto generated supplier_id and client_id.
Supplier could also use a buisness_name as I guess it is not using the User first and last name.

I know you had a discussion about it earlier, but the User entity does not need to hold a type. the logic around the type will be done in code, and all information can be obtained using queries.
Supplier and Client does not need a user_name, as the User entity has it. replace it with an auto generated supplier_id and client_id.
Supplier could also use a buisness_name as I guess it is not using the User first and last name.

wondering how it will be done, if we would like all suppliers or clients, wouldnt it be simple to filter by user_type?
will do.
i dont see why supplier wont use first and last name, maybe just to keep info on the supplier.
as i see it buisness name could be he's user name.

change PR title to "Add ERD for our app".

I know you had a discussion about it earlier, but the User entity does not need to hold a type. the logic around the type will be done in code, and all information can be obtained using queries.
Supplier and Client does not need a user_name, as the User entity has it. replace it with an auto generated supplier_id and client_id.
Supplier could also use a buisness_name as I guess it is not using the User first and last name.

wondering how it will be done, if we would like all suppliers or clients, wouldnt it be simple to filter by user_type?
will do.
i dont see why supplier wont use first and last name, maybe just to keep info on the supplier.
as i see it buisness name could be he's user name.

No, as you'll have a table of Suppliers. you could just request all the suppliers in that case.
He can use it as metadata, but same as Apple not using 'Steve Jobs' as its name, most suppliers will have a business name. user names will usually have conventions, such as special letters or Capital\lower letters. I want to use "Red Hat", not "red_hat_01" :)

I know you had a discussion about it earlier, but the User entity does not need to hold a type. the logic around the type will be done in code, and all information can be obtained using queries.
Supplier and Client does not need a user_name, as the User entity has it. replace it with an auto generated supplier_id and client_id.
Supplier could also use a buisness_name as I guess it is not using the User first and last name.

wondering how it will be done, if we would like all suppliers or clients, wouldnt it be simple to filter by user_type?
will do.
i dont see why supplier wont use first and last name, maybe just to keep info on the supplier.
as i see it buisness name could be he's user name.

No, as you'll have a table of Suppliers. you could just request all the suppliers in that case.
He can use it as metadata, but same as Apple not using 'Steve Jobs' as its name, most suppliers will have a business name. user names will usually have conventions, such as special letters or Capital\lower letters. I want to use "Red Hat", not "red_hat_01" :)

legit.

As mentioned before, add a supplier_id to the supplier and a client_id to the client. those will have different tables, and they need their PK.

As mentioned before, add a supplier_id to the supplier and a client_id to the client. those will have different tables, and they need their PK.

They extends the User username primary key unless we override it with supplier_id or client_id

Since i took part and maintaining this file, it looks good to me, ill join karam side for the issue of the supplier/client id.
we do have user name as PK, why would we need to override it?

@pazMenachem @thetaxas2468 Personally, I think it'll make your life easier.
however, you can follow this convention if you'd like to keep it that way.

I thought that having supid and clientid is easier,i thibk i qill change it back like what you have said@Omeramsc

@pazMenachem @LiorSilberman should i change it to what omer have said and do it in the next demo i guess or what do you think?

@pazMenachem @thetaxas2468 Personally, I think it'll make your life easier. however, you can follow this convention if you'd like to keep it that way.


test: adding a11y and visual regression tests for tagname

Description

Appending test cases for A11y and visual regression for text component

Marking it closed as it duplicates 9c7e83879c7d1938f700d88298ef026c8b53b835


How to check if this actually works?

I can see the message in ABRP about the last Live-Dataconnection with a timestamp (sorry for the screenshot in german).
However, what confuses me is that the blue button says "connect live data".
Just wanted to check if this is the way it is supposed to look?

Yes, It is.
 I think this is because some vehicles support "in car" live data (as in, connecting directly to the car via Bluetooth for example) to get the data to ABRP. For Tesla, we have access to the data via the API through the internet (aka "over-the-air"). AFAIK there is no way to have "in car" data with a Tesla.
Closing this as resolved :).


Build templates as part of CI

We could (and probably should) generate and build applications from the templates as part of CI.

It looks like templates are now being built as part of the e2e test suite.  Closing.


Add a buymeacoffee widget to all pages?

Checklist

[x] I have read the tutorials and know the correct effect of the functional design.
[x] There are no similar question on existing issues (including closed ones).
[x] I searched the Internet for related problems, but still couldn't solve it.
[x] My question is based on the latest code of master branch.

Description

I would like to add a buymeacoffee widget to all my blog posts and also on all other pages, like about, categories, tags, home, etc. I can generate the widget from buymeacoffee.com but where is the best place to paste it so it is visible at all times?
thanks for your work on this by the way. It is very helpful.

Please try to add in the default layout

Please try to add in the default layout

So how to do this while using jekyll-theme-chirpy template which hasn't _layout directory

Hello,
I hope you don't mind but I face same issue here.
What do you suggest?
Is there someone that already did something on his side to resolve this need (or something similar)?

@kjbtech The answer depends on what exactly you want to achieve. However, in general, please refer to footer customization discussion as a reference on how to customize things.

That could help me to have a quick solution, thanks !
I was thinking futher and having a way to customize it easely right there for examples (yellow circles) will be nice:

Maybe, it will be more accurate to provide a generic way to add other alternatives (as Ko-Fi or Patreon).
Could this be usefull for the community?

@kjbtech I personally don't need it, but that doesn't mean no one does.
I would suggest that you first post an idea discussion and suggest a general solution and design before submitting a PR to make sure it will be accepted by the maintainer. But it's up to you.


Update PinJoint2D API with angle limits and motor speed

Closes: https://github.com/godotengine/godot-proposals/issues/7646

Took the motor part from here: https://github.com/slembcke/Chipmunk2D/blob/master/src/cpSimpleMotor.c
The joint limits part from here: https://github.com/slembcke/Chipmunk2D/blob/master/src/cpRotaryLimitJoint.c#L25
As I understood, the whole physics api now uses parts from chipmunk physics engine, which seems to be right.
Still need to write impl for calculating initial angle between objects.

We should add a reference to COPYRIGHT.TXT to cover that since it was forgotten when that file was added

Fixed the above issue, implemented feedback, review again and its ready for merging I think, from my side at least. Works also same with implementation in box2d, well, almost.

Node properties are more commonly called *_enabled than enable_*, which I think make sense because enable_* sounds more like a function. So for the PinJoint2D node I propose having a motor_enabled property with setter set_motor_enabled and getter is_motor_enabled, and an angular_limit_enabled property with setter set_angular_limit_enabled and getter is_angular_limit_enabled. I also propose renaming the motor/target_velocity property to motor_target_velocity, and similarly replacing angular_limit/lower by angular_limit_lower and angular_limit/upper by angular_limit/upper. This makes the properties easier to write in scripts, and we can still make  two groups in the inspector using the common prefixes, similar to how it is done in RigidBody2D here:
https://github.com/godotengine/godot/blob/5f1e56ff26be4070496aa51095b9ac2f2b4f4ed8/scene/2d/physics_body_2d.cpp#L1038-L1041

Thanks for the idea, very good naming scheme. I like it better. Updated. Also, angular_limit sounds a little bit weird. Should it be angular_limits?

Also, angular_limit sounds a little bit weird. Should it be angular_limits?

Ah yes that does sound better, so a property angular_limits_enabled with getter are_angular_limits_enabled and setter set_angular_limits_enabled. Hopefully with that change the grouping still works.

Even though, looking again at the joints constraints for physical_body_3d, it's called joint_constraints/angular_limit_enabled there.

Here is project for other people to test:
https://github.com/godotengine/godot/assets/2369380/a4f0f310-5c61-4fdb-9bda-2fb9ecae01f7
JointLimits.zip

Thank you!

Why is it a soft limit? Is that intentional? When I think of limits I expect it to be a hard limit (like a hinge)

The code was taken from another physics engine that was initially used in Godot Physics 2d, chipmunk physics engine. And there it is implemented like that. I am not really an expert in 2d physics so working with an already implemented solution was easier.

This is definitely a good step. Thanks for your contribution. I'm also not a physics expert but I needed it for a client project. I'll take a look how it's implemented in box2d. Physics is always super finicky

In the box2d one the angle limits are not yet implemented as this was just merged.
In any case, here is the box2d repo: https://github.com/appsinacup/godot-box2d

If you want hard limits, in box2d for eg. they have hard limits. I guess it depends on the physics engine and how it's implement? If not we can think of adding another parameter that specifies how hard/soft are the limits?

I think adding another parameter for the stiffness of the limits would help to provide both soft and hard limits

With which torque does it drive the joint?

For the angle limit or for the motor? Also the code is taken from the chipmunk engine, as can be seen, so I'm assuming it's similar to that.

I meant for the motor. Looks like it can apply unlimited torque.

I think so. If you want a different case I can make a proposal and add a maxTorque property maybe?

Right. But actually the motor does not work for me at all. It just does nothing. I have a wheel which is connected to another body but nothing happens if I set motor_enabled to true and motor_target_velocity to 100. What could be wrong?

Here is project for other people to test:
Screen.Recording.2023-09-18.at.22.23.26.mov
JointLimits.zip

Can you try this project that I tested this PR with and see if that works for you and try to work from that?

Also I'm not sure if this kind of help support discussion should happen here, as this PR is closed already. If you need anything, open a new godot proposal or ask on discord or on chat or on forum better. This way it won't notify the main devs also.


Support setuptools 20

Fixes #2078
I did not test this. This has to be tested when a new release is created because setuptools is only used by the "openslides" command.

Successfully tested with setuptools 20.8.1 on ubuntu 14.04 and windows portable.


Can't past text at a TFX-CLI console

@trevorsg
I'm unable to paste text at CLI prompts when running tfx-cli.
I've just installed Node v8.9.1 LTS. Unfortunately, the tfx-cli install hung the first time through. I pressed Ctrl+C to cancel it, ran it again, and the second time it completed. (In the text that flashed across my screen during the second run, I believe I saw something about 'failed' and 'rollback.')
I don't know whether the initial failure is contributing to my problem.
When I run tfx login, I get this prompt first:
> Service URL:
I can type at this prompt, but I can't paste. Once I type the URL and press Enter I get this:
> Personal access token:
I can neither paste nor type at this prompt (or at least the cursor doesn't advance when I type). The only keys that seem to work here are Enter and Ctrl+C. Pressing Enter without typing anything results in this:
error:   Invalid input for Personal access token:
Pressing Enter after typing a few random characters sends no output to the console and simply dumps me back at the C:\> prompt.
How to fix this? How can one determine whether it's a Node problem or a tfx-cli problem? I suspect the latter but I'm not sure.

The prompt for personal access token does not echo back what you type, but the input should still work (pasted or typed). If you still can't get it to work, you can always pass --token abc123 to the original command instead.

@trevorsg — Thank you, Trevor, that's a good tip.


Bug: Viper BindStruct hidden behind feature flag in viper >=v1.18.0

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
We need to be careful when updating viper beyond v1.18.0
https://github.com/caas-team/sparrow/pull/73#issuecomment-1898997271
We should write a test case that checks whether marshalling from env variables works properly everywhere, so that we notice when someone updates the library and breaks it.
Expected Behavior
To fix this, we need to update our build and test pipelines to include the feature flag -tags=viper_bind_struct
Steps To Reproduce
No response
Relevant logs and/or screenshots, environment information, etc.
No response
Who can address the issue?
Anyone
Anything else?
No response

The build constraint can be removed as soon as https://github.com/spf13/viper/pull/1854 made it into a new release.


[animations] How to disable backdrop during animation in new OpenContainer widget

I implemented the OpenContainer from animations package https://pub.dev/packages/animations to animate screen opening but I want to disable that dark backdrop (or at least make it invisible) during animation. Is is possible?

Hi @quetool
Can you please provide your flutter doctor -v,
your pubspec.yaml
and a minimal reproducible code sample.
Thank you

Google internal issue: b/292500619


Github Pages - Website

#231  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ksharma-xyz and the rest of your teammates on  Graphite


Why Titanium is creating new cert for every request?

While working on titanium, I noticed that it creates and stores cert in certificate store for each and every request and in few days my personal cert store has hundreds of certs issued by titanium. I don't see any other proxy server behaving like this. Is there a way I can use only one CA trusted certificate and avoids creation of certs for every request? Thanks

Actually they do! It has to install a ROOT certificate and then issues one for each https site you visit, you can easily clean them up automatically but it'll give a very slight performance trade off.

This is same issue as #13
We use makecert.exe (from microsoft) to generate certificates for each host name. It creates and store the requested certificate in to User Store. We read it from store.
So unless we replace makecert.exe with something else we can't avoid it keep doing that.
Having said that one can safely delete the certificates anytime. (It is loaded in to the memory once proxy starts running). However if you restart the proxy its going to create it again unless it is found in certificate store.
I am looking at keeping a limit on the number of certificates the proxy caches in memory. For example keeping only recently used certificates in memory. This is potentially a problem for heavy traffic otherwise.

Thanks for the Reply!
In any case, are you going to implement the functionality where user can use their own trusted cert and avoids titanium ones?

Its already there! (Not documented Sorry)
ProxyServer.RootCertificateIssuerName = "Your trusted certificate issuer name"
ProxyServer.RootCertificateName = "Your trusted certificate name"
Your root certificate should be in local user root certificate store.
By default if you don't provide above values the proxy will create a root certificate and install it on to the machine. (You will see that import dialog the first time you run the proxy).

Thanks

As an idea you could implement a function that cleans out all issued certificates and let the user sort out when/if they wanna do it - it's pretty easy to do!
Sent from my iPhone

On 3 Jun 2016, at 18:11, amitbhutta<EMAIL_ADDRESS>wrote:
Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I just updated to delete certificates automatically and also implemented a timeout for certificate cache


Cannot compile Fortran standard parallelism code for AMD GPU

Hi,
I am trying the new amdflang compiler but cannot seem to get it to work.
I am able to use it to compile our code for the CPU, but I cannot activate "do concurrent" offload/threading.
Please see this issue I submitted to rocm llvm for details:
https://github.com/ROCm/llvm-project/issues/214
The code is:  github.com/predsci/hipft

Ron

Hi,
Thanks for reporting. The "do concurrent" feature not working is a known issue - the compiler team is working on it. I don't have an ETA of when this feature will work.


Laravel 11

Laravel version
11
PHP version
8.3.*
Voyager version
last
Description of problem
Have no support for Laravel 11.
Proposed solution
Support for Laravel 11.
Alternatives considered
No response
Additional context
No response

When I tried to install with composer require tcg/voyager it throw so many errors and cannot install

#5846


[ListItemText] Text styles are being overruled by unexposed Typography component styles

Hello,
Sorry if this topic has already been raised, I've searched through the open and closed issues but haven't found anything that matches it. Possibly this, but they didn't provide enough info.
Problem description
I'm trying to apply styling to a <ListItemText> component. The issue is that the component wraps the content in a <Typography> component. This <Typography> component has its own styles, I believe the only way to style them as it is today would be to style them globally with the theme. This is only an issue when trying to apply specific styles such as text color.
In other words, given something like this:
// example.js
// make styles
const styleSheet = createStyleSheet('SimpleList', theme => ({
  text: {
    color: 'red'
  },
}));

// in render
<ListItemText
  primary="Inbox"
  classes={{
    text: classes.text
  }}
/>

This is what's rendering:

In the CSS section of the screenshot above, the class and style are getting applied correctly. However, the component's text is not red. This is because a more specific style is applied one child below:

I think the simplest fix would be to either expose the Typography components colorInherit prop or set it to always true. So, something like:
// https://github.com/callemall/material-ui/blob/next/src/List/ListItemText.js#L43-L58

  return (
    <div className={className} {...other}>
      {primary &&
        (typeof primary === 'string'
-         ? <Typography type="subheading" className={classNames({ [classes.text]: dense })}>
+         ? <Typography type="subheading" className={classNames({ [classes.text]: dense })} colorInherit>
              {primary}
            </Typography>
          : primary)}
      {secondary &&
        (typeof secondary === 'string'
-         ? <Typography secondary type="body1" className={classNames({ [classes.text]: dense })}>
+         ? <Typography secondary type="body1" className={classNames({ [classes.text]: dense })} colorInherit>
              {secondary}
            </Typography>
          : secondary)}
    </div>
  );

🎩:

I can submit this change in a PR, if it looks like an ok fix.
Link to minimal working code that reproduces the issue
Simplified app
Specific lines
Versions

Material-UI: 1.0.0-alpha.16
React: 15.5.4
Browser: Chrome 58.0.3029.110

Some thought on the issue:

The typeof primary === 'string' logic is brittle, I would rather have a disableTypography property
I don't think that colorInherit is a good fix as the color currently rely on palette.text.primary that depend on the theme light/dark mode.
We might miss a primaryClassName, but if we expose a disableTypography property, do we still need it?

I like that solution a lot. It provides the flexibility needed and matches an existing pattern.
I've forked and pushed the solution here. Should I open a PR?

@zachwolf Yes, that would be awesome!

@oliviertassinari @zachwolf I'm running into this issue at the moment and was wondering if we could change the CSS API for the ListItemText component.  The problem is the text class is only applied to the Typography component when the List is dense.  Ideally, there would be two classes:

text, applied to the inner Typography component
textDense, applied to the Typography component when the list is dense

There may be an argument for breaking it into classes for primary, secondary, but this would be a simple and clear offering.  At this point, the text class is confusing, but the other classes make sense:

root, applied to the root element
dense, applied to the root element when the list is dense
inset, applied to the root element when the list item text is inset

It is worth noting that changing the CSS API as I've suggested would be a breaking change, since anyone using the text class is intending on styling the ListItemText's inner Typography in a dense List.
I know I can disableTypography and set primary to my own JSX, but it would be easier if all I want to do is change the appearance of the text in a minor way.

At this point, the text class is confusing

I agree.

I know I can disableTypography and set primary to my own JSX, but it would be easier if all I want to do is change the appearance of the text in a minor way.

Hummmm, given the change you are proposing is simple, I think that we can move forward into that direction 👍 .

@oliviertassinari thanks, PR submitted


feat: add two functions about copy and paste

1. copy from selenoid clipboard to local
2. paste to selenoid from local clipboard

@carl-pki could you please provide a screenshot how it looks like?

this two screenshots.

Hello, vania-pooh, I have a question, do I need add the row to proxy the http request?  because I want to request the Selenoid services. If I need do it, I will recommit a pull request.

pleas tell me If you need any more information

@carl-pki please attach a screenshot :)

I do not know how get service address, So I just support same address as Selenoid-UI and port must is 4444, If you have any suggestion please write down below. Thank you.
(let origin = window.location.protocol + "//" + window.location.hostname + ":4444";)

@carl-pki is it possible to move these two buttons to the right and change color e.g. to pale yellow?

what do you think ?

@carl-pki looks good for me. Let's wait for @lanwen to review the code itself.

@carl-pki thank you for contribution!

Hello, Ivan
Thank you review last pull request. Can you rebuild a docker image to rewrite 1.10.6https://hub.docker.com/layers/aerokube/selenoid-ui/1.10.6/images/sha256-71d41080a2f6db0be170a3a548e64e05f3dc5ddf359cc75eb5e3e72700156d42?context=explore ? because the image have a bug. If you can not do it, can you build a docker image and use latest new code? We want to use copy and paste function easier than before.  It doesn't matter if it can't.
Tanks  Ivan.

发件人: Zhang, Zhaolin @.>
发送时间: 2022年10月13日 17:01
收件人: aerokube/selenoid-ui @.>
主题: 回复: [External] Re: [aerokube/selenoid-ui] feat: add two functions about copy and paste (PR #494)
Hello, Ivan @.***>
at last pull request, I have a mistake.  now I fix the bug, Can you help me to review the code? Sorry for my mistake.
https://github.com/aerokube/selenoid-ui/pull/497/files
[https://avatars.githubusercontent.com/u/85552832?s=400&v=4]https://github.com/aerokube/selenoid-ui/pull/497/files
Clipboard: fix a bug about 'copy from selenoid and paste to selenoid' by carl-pki · Pull Request #497 · aerokube/selenoid-uihttps://github.com/aerokube/selenoid-ui/pull/497/files
description: Send the request to another container can not use ip=localhost, should use linked container name + port
github.com

发件人: Ivan Krutov @.>
发送时间: 2022年10月10日 17:20
收件人: aerokube/selenoid-ui @.>
抄送: Zhang, Zhaolin @.>; Mention @.>
主题: [External] Re: [aerokube/selenoid-ui] feat: add two functions about copy and paste (PR #494)
@carl-pkihttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcarl-pki&data=05|01|Zhaolin.Zhang%40PERKINELMER.COM|37366be8fadc4058baba08daaaa09c1d|f9f27055d80d47dfabb2fa20cc88e4e1|0|0|638009904035961011|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=9UHdJJnW4w7EKqxf3XoeB8sc6%2Bc6UqW%2BivvkO3GI95g%3D&reserved=0 thank you for contribution!
—
Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Faerokube%2Fselenoid-ui%2Fpull%2F494%23issuecomment-1273023885&data=05|01|Zhaolin.Zhang%40PERKINELMER.COM|37366be8fadc4058baba08daaaa09c1d|f9f27055d80d47dfabb2fa20cc88e4e1|0|0|638009904035961011|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=3%2FCmZnRv0Sl%2BXgLnL7VRt%2BGSFASYCqzGEqWh12vSRIg%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUMW5QEO45RVQQXEH7TEH5DWCPNUDANCNFSM6AAAAAAQZPGH6E&data=05|01|Zhaolin.Zhang%40PERKINELMER.COM|37366be8fadc4058baba08daaaa09c1d|f9f27055d80d47dfabb2fa20cc88e4e1|0|0|638009904035961011|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=QEGCaxz9WnQ4wB%2F2zD%2BVPZBdWlw9xoQ%2Fu%2Bq1VRSu3EI%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

@carl-pki done. Rebuilt 1.10.6.


fix typos

- What I did
- How I did it
- How to verify it
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: yupeng<EMAIL_ADDRESS>

I don't think we should change all the comment-lines; other than for GoDoc, there is no "single" standard, and some people prefer lowercase comments. Perhaps we're a bit inconsistent in places, but I don't think it's worth the effort to change all those (especially in the Dockerfile, because it can potentially bust the cache)
The only possible change I see is in the devicemapper README, but we're generally less strict in those, as it's not published as documentation on docs.docker.com

I do agree with @thaJeztah on this. Except from the devmapper README.md, I don't see them as typo and I don't think we shoud modify them just for the sake of modifying them. I'll close this 👼


Sign assemblies to enable usage where strong named assemblies are required

I am attempting to use this assembly in a signed-assembly that needs to be installed in the GAC. This request would sign the assemblies that make up this project so the nuget package generated would be GAC-installable.

Thanks @stevebering :+1:


Ctor NotFound _ is webasmbly.bindings version diffrent?

hi
i used this on a instance of sample project
i have few thrown exceptions in blow lines :
i fact i have null exceptions, meaning type.GetConstructor can't find anything
and
Runtime.GetGlobalObject("WebAssembly_Browser_DOM")).GetObjectProperty("prototype");
can't find WebAssembly_Browser_DOM
i using webasmbly.bindings version 0.2.2 and others is also 0.2.2
blow codes:
/////1
public class DOMObject : IDisposable
{
        static readonly JSObject domBrowserInterface = (JSObject)((JSObject)Runtime.GetGlobalObject("WebAssembly_Browser_DOM")).GetObjectProperty("prototype");
}

///////2
 var jsobjectconstructor = type.GetConstructor(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance,
                                null, new Type[] { typeof(Int32) }, null);

fixed tnx :+1:


Fix filename of AWS instance type screenshot

The link to the screenshot that shows how to choose an AWS instance type
in the Ubuntu Server v3.1 on AWS guide was broken.

@erikbohnhorst @angudadevops could someone take a look, please?


How to pass variables from Rails controller to paloma controller ?

How to pass variables from Rails controller to paloma controller ?

@xuwupeng2000 https://github.com/kbparagua/paloma#passing-parameters