Gradio Demo

https://huggingface.co/spaces/1littlecoder/wordllama
Hey great work! There's a new gradio demo created for this, in case if someone comes here looking for a demo adding it to the issues.
Feel free to close it after you've checked it!

Very cool! Thanks for doing this. Would it be ok if I put a link to this on the README under a community section?
And one suggestion I have is to try using similar words in the deduplication (eg. apple and apples). That would help show the differences with deduplicating exact strings like using a set()

I've updated the examples in the dedup, please check it!

Great! I've added a link to your space in the README. Thanks again!


No completion in assert() statement

void f(int v01) {
  assert(v^);
}

No v01 suggestion.

https://dart-review.googlesource.com/c/sdk/+/359260


The version of torch recommended seems too low?

I tried to train on a 3090 with torch==1.4.0, but it doesn't work.It seems to work after updating torch to a newer version.

which version works for you @EmmIons ?


Update alert-policies.md

Find and release quarantined messages as a user in EOP and the triggered alerts are applicable to EOP. Looks like the Basic, Standard and Premium also have this feature.

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/9274

@JohanFreelancer9 Please copy review

Docs Build status updates of commit f6c3db8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/compliance/alert-policies.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 266df9e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/compliance/alert-policies.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 266df9e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/compliance/alert-policies.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


transactionReceipt

When using this code:-
[[IAPShare sharedHelper].iap checkReceipt:trans.transactionReceipt AndSharedSecret:@"SECRET" onCompletion:^(NSString *response, NSError *error)
show as 'transactionReceipt' is deprecated: first deprecated in iOS 7.0

yes. It's deprecated. Please use [NSData dataWithContentsOfURL:[[NSBundle mainBundle] appStoreReceiptURL]];


Removing a theme

Hi.  I have a theme (cshoredaniel/new-oldnew-mashup) that I'd like removed for now.  I've not got the time to keep up with Hugo development, and it is also a long term work in progress. I've decided it's really still too experimental for being good for the hugoThemes site.  I was proud of what I'd accomplished, but there is much more yet to do with the theme.

Hi Daniel,
your theme has been removed as requested. Feel free to submit your theme anytime again.


Add README.md for floodfill program.

The floodfill needs to have a proper README.md.

Hey atarax665,i would like to contribute.


Improve validation errors pattern documentation

What is the context of this PR?
Update error validation pattern to contain more information about specifics for accessibility and dev.
How to review
Read through documentation on 'Correct errors' pattern
https://trello.com/c/loroy0oc/1010-issue-1330-document-validation-error-page-changes-in-pattern

 Issue #1330: Document validation error page changes in pattern


Implement "FactorGraph.get_component(str)" method

In a few cases (namely, when building models of repeated layers), I've noticed people doing things like:
z = variables[getattr(self.model, 'inducing_inputs_' + str(layer))]

which seems a bit unsafe. A better way of accessing the components here would be to just have a getter function on the FactorGraph that returns the component of that name.
def get_component(self, name):
    ...

Why it is unsafe? I think it is the python way to call self.model.inducing_inputs_str(layer) dynamically.


vertically aligned imports via stylish-haskell

@redxaxder and I think that having vertically aligned imports will make diffs much easier to read and understand (because they are smaller).
What do y'all think?

@redxaxder and I think that having vertically aligned imports will make diffs much easier to read and understand (because they are smaller).
What do y'all think?

@redxaxder and I think that having vertically aligned imports will make diffs much easier to read and understand (because they are smaller).
What do y'all think?

I'm for it.

Yep, solidly in favour. Although if we're suggesting formatting changes, what do you think about ormolu? I'm rather a fan, gives an actual unambiguous format, and helps with formatting things onto multi-lines.

Yep, solidly in favour. Although if we're suggesting formatting changes, what do you think about ormolu? I'm rather a fan, gives an actual unambiguous format, and helps with formatting things onto multi-lines.

I am open to trying out ormolu!

Going to close this since people seemed happy with #1423


[embedded] Mark stdlib-types.swift test as REQUIRES: optimized_stdlib

To resolve CI failure at https://ci.swift.org/job/oss-swift_tools-RA_stdlib-DA_test-simulators/3217/.

@swift-ci please test and merge


I can not find the place where activityUsersRecycler set Adapter

I read  this project, and have a try to find where activityUsersRecycler set BindingRecyclerViewAdapter , but fail , Maybe I am  not clear for DataBinding , please give me point .
thanks for you job !

Set the id for RecyclerView (android:id="@+id/activity_users_recycler") will fix this error


Grotesque Guardians final phase special attack causes camera issue

Describe the bug
During the special attack of the final phase of Grotesque Guardians which throws your character into the box of purple flames, the camera will sometimes, for what looks like one frame, be at the wrong angle. This was encountered with both the GPU and camera zoom plugins enabled, though I was not utilizing the extended inner or outer distances nor the vertical camera option of the camera zoom plugin. I've not tested this on the vanilla client or with different plugin settings.

Since opening this issue, we've found that this is not a RuneLite bug, but a vanilla bug.


updare crypto go module

Test name
Status

upgrade-haproxy
passed

recreate
passed

big-data
passed

haproxy
passed

scheduled-backup
failed

cross-site
passed

storage
passed

scaling
passed

scaling-proxysql
passed

init-deploy
passed

self-healing
passed

self-healing-chaos
passed

restore-to-encrypted-cluster
passed

security-context
passed

upgrade-proxysql
passed

limits
passed

self-healing-advanced
passed

self-healing-advanced-chaos
passed

demand-backup
passed

monitoring-2-0
passed

smart-update
passed

operator-self-healing
passed

operator-self-healing-chaos
passed

affinity
passed

one-pod
passed

auto-tuning
passed

pitr
passed

proxysql-sidecar-res-limits
passed

users
passed

upgrade-consistency
passed

demand-backup-encrypted-with-tls
failed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
failed

We run 34 out of 36

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1150/commits/cb1a4cd2d68740b9124fc5cdbcfcc08b368ef547
image: perconalab/percona-xtradb-cluster-operator:PR-1150-cb1a4cd2

Test name
Status

We run 0 out of 36

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1150/commits/cb1a4cd2d68740b9124fc5cdbcfcc08b368ef547
image: perconalab/percona-xtradb-cluster-operator:PR-1150-cb1a4cd2

Test name
Status

upgrade-haproxy
passed

scheduled-backup
failed

scaling
passed

storage
passed

haproxy
passed

scaling-proxysql
passed

init-deploy
passed

self-healing
passed

recreate
passed

security-context
passed

limits
passed

self-healing-chaos
passed

restore-to-encrypted-cluster
passed

monitoring-2-0
passed

self-healing-advanced
passed

demand-backup
passed

affinity
passed

self-healing-advanced-chaos
passed

pitr
passed

one-pod
passed

operator-self-healing
passed

demand-backup-encrypted-with-tls
passed

auto-tuning
passed

operator-self-healing-chaos
passed

proxysql-sidecar-res-limits
passed

users
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

big-data
passed

cross-site
passed

upgrade-proxysql
passed

validation-hook
passed

smart-update
passed

upgrade-consistency
passed

proxy-protocol
passed

We run 36 out of 36

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1150/commits/cb1a4cd2d68740b9124fc5cdbcfcc08b368ef547
image: perconalab/percona-xtradb-cluster-operator:PR-1150-cb1a4cd2


Add control loop

Three components:

[x] Create Skeleton
[x] Impliment in sim
[ ] Impliment actual tune and algorithm
[ ] Impliment in robot

Currently an inital implimentation is on a branch. It's not the final algorithm, but can be tested in sim. Once we get the algorithm more final, we can add to phnx io ros


chore(main): release web-components 1.3.0

:robot: I have created a release beep boop
1.3.0 (2024-11-29)
Features

Spectrogram now emit options-change event (f45e2a9), closes #253

Bug Fixes

Axes breaks layout when outside flexbox (cfde6bc), closes #214

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ecoacoustics/web-components/releases/tag/web-components-v1.3.0 :sunflower:


Localization not working for "Today" and "Tomorrow"

If I change the language to "de-DE" there is still in the daily-view "Today", "Tomorrow" and the English date format in the headline. Only the third day is shown as "Freitag".
What am I doing wrong?
{
			module: 'MMM-CalendarExt2',
			locale: "de-DE",
			config: {
			  calendars : [
				{
				  url: "webcal://<IP_ADDRESS>/familie.ics",
				},
			  ],
			  views: [
				{
					timeFormat:"HH.mm",
					dateFormat:"D. MMM",
					locale: "de-DE",
					mode: "daily",
				},
			  ],
			  scenes: [
				{
				  name: "DEFAULT",
				},
			  ],
			},
		},

Change your slotTitleFormat of daily view as your locale.  That is defined like this by default.
slotTitleFormat: {
          sameDay: '[Today]',
          nextDay: '[Tomorrow]',
          nextWeek: 'dddd',
          lastDay: '[Yesterday]',
          lastWeek: '[Last] ddd',
          sameElse: 'ddd, M/D'
},

Ref,
https://github.com/eouia/MMM-CalendarExt2/wiki/Localization Here I explained about event time format, but slotTitleFormat is the same.

And I have to configure slotSubTitleFormat, too. Now I get it ... ;)


Fix preceeding --- crash

trim prefix delimiter
remove comments before parsing header

Fixes #77
Changes Introduced

Trim preceeding --- and ensure comments aren't parsed in frontmatter header

CC @brittonhayes I think there was a bug in the frontmatter code where markdown headers # Title  were parsed as YAML comments in the first slide and causing slides to crash or not display the first slide. This fixes it but just wanted your thoughts quickly, in case there was a better way to filter out the YAML comments. I saw that frontmatter had a way to define your own UnmarshalFunc, should we go that route?

Ohhh interesting. Good catch! I think that's a good call to leverage a custom unmarshal function here.
Also might be worth adding some tests for some metadata edge cases.
Happy to add some extra love to the meta pkg to help out here. The fact that a comment caused a hiccup makes me a wonder what other things could cause issues, e.g. improper character escaping or things of that nature.

Yea I think the UnmarshalFunc is probably the best solution long term, right now it would probably just look for theme since that's the only thing we need to parse out right now, that way we don't need to think about way too many edge cases. It's probably much easier to unit test too.
Basically our UnmarshalFunc just needs to tell us (correctly) whether the first slide is a config or an actual slide to be displayed. We were really close with the YAML unmarshalling but the comments in YAML conflict with the headings in markdown 😞

Ending up removing frontmatter altogether and fixing the bug with a small hack 🙂

Just checked the change. Looks awesome 👏🏼 Really clean and simplifies the package too.

Just checked the change. Looks awesome 👏🏼 Really clean and simplifies the package too.

🎉
Yea I think the frontmatter was a bit overkill for our use-case.

Also sorry about the slow replies! Just finished moving so been a little less available for the time being.

No worries at all! It's cool that you're pretty involved in the project but theres no expectations on your reply times or even replies at all 😄
Hope your move went smoothly 🙂!


Extension causes high cpu load

Issue Type: Performance
Extension Name: vscodeintellicode-completions
Extension Version: 1.0.22
OS Version: Windows_NT x64 10.0.22621
VS Code version: 1.79.2

:warning: Make sure to attach this file from your home-directory:
:warning:file:///c%3A/Users/mcptm/AppData/Local/Temp/VisualStudioExptTeam.vscodeintellicode-completions-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

VisualStudioExptTeam.vscodeintellicode-completions-unresponsive.cpuprofile.txt


Position Of the bar

Hey guys, so I'm current facing this issue. I tried searching for it everywhere but no luck.
As shown in the pic, I'm trying to get the bar to be in the grey area but it keeps sticking to the nav bar. I have applied constraints but it doesn't seem to be doing the trick..
Any idea on what exactly I am doing wrong and how I can bring the bar down to the gray area?

Incase anyone is struggling with the same thing. There are 2 things you need to do.

ensure that you ctrl + right click from the current view controller to the scroll view

Ensure that the container view is connected

create a collection view as mentioned and delete the cell. Then do the following. Also, make sure you have assigned the right class to the collection view

& Finally, make sure buttonBarView is connected.

Once you have done all this then you can apply your constraints as you do and position it on the place you want it to be
Final image

Hope this helps!
Im closing this as it has been solved.
Feel free to re-open is neccessary.

Thanks a lot

How can one get this done programmatically, please?


Azure vmimages pr

Unless there's further must fix feedback these are the changes I plan to submit as the official PR


Equation number is not dynamically updated IN READING VIEW

It was working in 0.3.0, but not in 0.4.0. So the turning point must be between the two...

$ git bisect bad
ab3049cca1daa7cffdfaf45a0bcdb2c10050b88c is the first bad commit
commit ab3049cca1daa7cffdfaf45a0bcdb2c10050b88c
Author: RyotaUshio<EMAIL_ADDRESS>Date:   Wed Aug 16 15:15:11 2023 +0900

    add eqRefPrefix/Suffix, but noticed an issue that MathPreviewInfoField is shared across all notes...

 src/equation_number.ts   | 16 +++++++++++-----
 src/indexer.ts           |  5 +++--
 src/main.ts              | 15 +++++++++++----
 src/settings/helper.ts   |  3 +++
 src/settings/settings.ts |  4 ++++
 5 files changed, 32 insertions(+), 11 deletions(-)

ab3049cca1daa7cffdfaf45 was the first bad and
09d7f069c0f25eda61d351a0e8fe581db6253337 was the last good.


fix(passwords and secrets): excluded array access results

Proposed Changes

Excluded array access results

I submit this contribution under the Apache-2.0 license.

@rafaela-soares conflicts in this branch


Implement fio-based disk performance check for etcd

This PR implements an additional preflight check that uses fio to make sure that the disk used for etcd data meets etcd performance requirements - the source of many issues in customers' clusters. The check verifies sequential write IOPS and fsync latency and the test is constructed specifically for etcd use-case.
Fio binary is bundled with the cluster images now. I have introduced a new /init phase for install/expand that pulls it on the nodes before preflight checks run.
Closes https://github.com/gravitational/gravity.e/issues/3927.

Based on robotest failures you should consider extending upgrade's /init with the same set of steps to create/pull fio binary for checks.

@a-palchikov @knisbet I have addressed your comments. LGTY?


Collapse Sidebar on small screens

Describe the bug
When the screen is on "xs sm md", sidebar needs to collapse
To Reproduce

Add a sidebar with all its items
Change the browser width to small screen
Sidebar does not collapse

Expected behavior
Sidebar to collapse on small screens
Screenshots

Project information:

Tailwind: 3.1.8
Flowbite: 1.4.7
Flowbite React: 0.0.22
Type: CRA

@magixus Please, upgrade it to the latest flowbite-react and see it the issue still happening.

@rluders I did, but still not collapsing on small screen.
{
    "flowbite": "^1.4.5",
    "flowbite-react": "0.1.10",
}

Maybe my approach is not the most sophisticated one
...
const [collapsed, setCollapsed] = useState(true)

...
{/* Navication top bar */}
<Navbar
	fluid
	rounded
	className="border-b border-gray-200 dark:border-gray-600 bg-slate-50"
>

		{/* Toggle Sidebar */}
		{collapsed ? (

 setCollapsed(!collapsed)}
			>
				 Toggle sidebar
				<FaOutdent size={24} />

		) : (

 setCollapsed(!collapsed)}
			>
				 Toggle sidebar
				<FaIndent size={24} />

		)}

...
{/* Sidebar */}

<Sidebar collapsed={collapsed} className={`shadow bg-slate-50`}>
	<Sidebar.Items>
		<Sidebar.ItemGroup>
			{routes.map(({ href, icon, title }, key) => (
				<Sidebar.Item
					key={key}
					icon={icon}
					as={Link}
					to={href}
					active={href === pathname}
					onClick={() => mainRef.current?.scrollTo({ top: 0 })}
				>
					{title}
				</Sidebar.Item>
			))}
		</Sidebar.ItemGroup>
	</Sidebar.Items>
</Sidebar>
...

can i word on this?

can i work on this

@Drex72 sure, go ahead

@rluders

How is the collapsed prop in the sidebar being toggled in the index.tsx

And what is the underlined code below doing.is it setting an intital state for the collapsed prop??

https://github.com/themesberg/flowbite-react/blob/37644b7247a35ce15df0379425139585bc8ae27f/src/lib/components/Sidebar/index.tsx#L21
Well, yep... This is definitely a bug.

I've made the changes and its working.The issue now is committing.
I followed the contributing guide but i'm still getting an error

@Drex72 is it possible that you are not using the conventionalcommits rules at your commit message?

I'm not familiar with it, can you give me an idea on what it is

@Drex72 there is the link from my previous commend and as well this video: https://www.youtube.com/watch?v=OJqUWvmf4gg

I was investigating this one today, and I'm not sure that it is a bug. I mean, OK, it isn't collapsing, but I think that it would be very arbitrary from the component perspective if we add this functionality directly to it.
So, my suggestion is to add this control to your own application and change the isCollapsed property of the sidebar according to your desired behavior.

I tried solving this using ref and even fowardRef, but could not get it working. So i used plain JavaScript to solve this.
Gave id to the NavbarToggle Component.
<NavbarToggle id='navbarToggleButton' />
Added onClick to NavbarCollapse.
<NavbarCollapse onClick={toggleNavbarCollapse} >
The toggleNavbarCollapse implementation.
const toggleNavbarCollapse = () => {
    if (window.innerWidth <= 768) {
      const navbarToggleButton = document.getElementById('navbarToggleButton');
      if (navbarToggleButton) {
        navbarToggleButton.click(); // Simulate a click on NavbarToggle
      }
    }
  };


Error after hide map screen

E/flutter (32734): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: setState() called after dispose(): _MapsPluginLayerState#50975(lifecycle state: defunct, not mounted, tickers: tracking 0 tickers)
E/flutter (32734): This error happens if you call setState() on a State object for a widget that no longer appears in the widget tree (e.g., whose parent widget no longer includes the widget in its build). This error can occur when code calls setState() from a timer or an animation callback.
E/flutter (32734): The preferred solution is to cancel the timer or stop listening to the animation in the dispose() callback. Another solution is to check the "mounted" property of this object before calling setState() to ensure the object is still in the tree.
E/flutter (32734): This error might indicate a memory leak if setState() is being called because another object is retaining a reference to this State object after it has been removed from the tree. To avoid memory leaks, consider breaking the reference to this object during dispose().
E/flutter (32734): #0      State.setState.
package:flutter/…/widgets/framework.dart:1112
E/flutter (32734): #1      State.setState
package:flutter/…/widgets/framework.dart:1147
E/flutter (32734): #2      _MapsPluginLayerState._handleCompassDirection.
package:user_location/src/user_location_layer.dart:240
E/flutter (32734): #3      _rootRunUnary  (dart:async/zone.dart:1134:38)
E/flutter (32734): #4      _CustomZone.runUnary  (dart:async/zone.dart:1031:19)
E/flutter (32734): #5      _CustomZone.runUnaryGuarded  (dart:async/zone.dart:933:7)
E/flutter (32734): #6      _BufferingStreamSubscription._sendData  (dart:async/stream_impl.dart:338:11)
E/flutter (32734): #7      _BufferingStreamSubscription._add  (dart:async/stream_impl.dart:265:7)
E/flutter (32734): #8      _SyncStreamControllerDispatch._sendData  (dart:async/stream_controller.dart:766:19)
E/flutter (32734): #9      _StreamController._add  (dart:async/stream_controller.dart:642:7)
E/flutter (32734): #10     _StreamController.add  (dart:async/stream_controller.dart:588:5)
E/flutter (32734): #11     _rootRunUnary  (dart:async/zone.dart:1134:38)
E/flutter (32734): #12     _CustomZone.runUnary  (dart:async/zone.dart:1031:19)
E/flutter (32734): #13     _CustomZone.runUnaryGuarded  (dart:async/zone.dart:933:7)
E/flutter (32734): #14     _BufferingStreamSubscription._sendData  (dart:async/stream_impl.dart:338:11)
E/flutter (32734): #15     _DelayedData.perform  (dart:async/stream_impl.dart:593:14)
E/flutter (32734): #16     _StreamImplEvents.handleNext  (dart:async/stream_impl.dart:709:11)
E/flutter (32734): #17     _PendingEvents.schedule.  (dart:async/stream_impl.dart:669:7)
E/flutter (32734): #18     _rootRun  (dart:async/zone.dart:1122:38)
E/flutter (32734): #19     _CustomZone.run  (dart:async/zone.dart:1023:19)
E/flutter (32734): #20     _CustomZone.runGuarded  (dart:async/zone.dart:925:7)
E/flutter (32734): #21     _CustomZone.bindCallbackGuarded.  (dart:async/zone.dart:965:23)
E/flutter (32734): #22     _rootRun  (dart:async/zone.dart:1126:13)
E/flutter (32734): #23     _CustomZone.run  (dart:async/zone.dart:1023:19)
E/flutter (32734): #24     _CustomZone.runGuarded  (dart:async/zone.dart:925:7)
E/flutter (32734): #25     _CustomZone.bindCallbackGuarded.  (dart:async/zone.dart:965:23)
E/flutter (32734): #26     _microtaskLoop  (dart:async/schedule_microtask.dart:43:21)
E/flutter (32734): #27     _startMicrotaskLoop  (dart:async/schedule_microtask.dart:52:5)

@tomaszgruzla
How can I reproduce the errors?

this exception throw when my MapScreenWidget with FlutterMap was disposing/closing

void _handleCompassDirection() {
    _compassStreamSubscription =
        FlutterCompass.events.listen((double direction) {
      setState(() {
        _direction = direction;
      });
      forceMapUpdate();
    });
  }

this code is not working properly

v 0.1.3 works properly


Prisma not working in debian proot distro termux

Bug description
npx prisma migrate dev --name init

Gives this error
prisma:warn Prisma detected unknown OS "android" and may not work as expected. Defaulting to "linux".
prisma:warn Prisma detected unknown OS "android" and may not work as expected. Defaulting to "linux".
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "todo", schema "public" at "localhost:5432"

Error: Schema engine exited. Error: Command failed with ENOENT: /home/mrdual/Desktop/vscode<EMAIL_ADDRESS>cli --datasource <REDACTED> can-connect-to-database
spawn /home/mrdual/Desktop/vscode<EMAIL_ADDRESS>ENOENT

How to reproduce

npx prisma migrate dev --name init

Expected behavior
Migrate
Prisma information

generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

model Todo{
  id Int @id @default(autoincrement())
  todo String
  authorId Int @unique
  author User @relation(fields: [authorId],references: [id])
}
model User{
  id Int @id @default(autoincrement())
  todo Todo[]
}

Environment & setup

OS: Debian Proot Distro Termux Android
Database:Postgres
Node.js version: 21.6.2

Prisma Version
5.11.1

Also running npx prisma -v  gives this mess:
prisma:warn Prisma detected unknown OS "android" and may not work as expected. Defaulting to "linux".
Environment variables loaded from .env
prisma:warn Prisma detected unknown OS "android" and may not work as expected. Defaulting to "linux".
Error: Unable to require(`/home/mrdual/Desktop/vscode thins/next_app/node_modules/@prisma/engines/libquery_engine-debian-openssl-1.1.x.so.node`).
The Prisma engines do not seem to be compatible with your system. Please refer to the documentation about Prisma's system requirements: https://pris.ly/d/system-requirements

Details: dlopen failed: library "/home/mrdual/Desktop/vscode<EMAIL_ADDRESS>needed or dlopened by "/data/data/com.termux/files/usr/bin/node" is not accessible for the namespace "(default)"
    at VX (/home/mrdual/Desktop/vscode thins/next_app/node_modules/prisma/build/index.js:287:114)
    at xke (/home/mrdual/Desktop/vscode thins/next_app/node_modules/prisma/build/index.js:287:266)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Error: Command failed with ENOENT: /home/mrdual/Desktop/vscode<EMAIL_ADDRESS>--version
spawn /home/mrdual/Desktop/vscode<EMAIL_ADDRESS>ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn /home/mrdual/Desktop/vscode<EMAIL_ADDRESS>  path: '/home/mrdual/Desktop/vscode<EMAIL_ADDRESS>  spawnargs: [ '--version' ],
  originalMessage: 'spawn /home/mrdual/Desktop/vscode<EMAIL_ADDRESS>ENOENT',
  shortMessage: 'Command failed with ENOENT: /home/mrdual/Desktop/vscode<EMAIL_ADDRESS>--version\n' +
    'spawn /home/mrdual/Desktop/vscode<EMAIL_ADDRESS>ENOENT',
  command: '/home/mrdual/Desktop/vscode<EMAIL_ADDRESS>--version',
  escapedCommand: '"/home/mrdual/Desktop/vscode<EMAIL_ADDRESS>--version',
  exitCode: undefined,
  signal: undefined,
  signalDescription: undefined,
  stdout: '',
  stderr: '',
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}
prisma                  : 5.11.0
@prisma/client          : 5.11.0
Computed binaryTarget   : debian-openssl-1.1.x
Operating System        : android
Architecture            : arm64
Node.js                 : v21.6.2
Query Engine (Node-API) : E_CANNOT_RESOLVE_VERSION (at<EMAIL_ADDRESS>Schema Engine           : E_CANNOT_RESOLVE_VERSION (at<EMAIL_ADDRESS>Schema Wasm             : @prisma/prisma-schema-wasm 5.11.0-15.efd2449663b3d73d637ea1fd226bafbcf45b3102
Default Engines Hash    : efd2449663b3d73d637ea1fd226bafbcf45b3102
Studio                  : 0.499.0

Termux no proot.And non rooted
Same issue here.After i run npx prisma migrate dev --name='init' gave me
`npx prisma migrate dev --name='init'
prisma:warn Prisma detected unknown OS "android" and may not work as expected. Defaulting to "linux".
prisma:warn Prisma detected unknown OS "android" and may not work as expected. Defaulting to "linux".
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": MySQL database "myantube" at "localhost:5432"
Error: Could not parse schema engine response: SyntaxError: Unexpected token '/', "/data/data"... is not valid JSON`
npx prisma migrate dev --name='init'                                                                                prisma:warn Prisma detected unknown OS "android" and may not work as                                                   expected. Defaulting to "linux".                                                                                prisma:warn Prisma detected unknown OS "android" and may not work as                                                     expected. Defaulting to "linux".                                                                                Environment variables loaded from .env                                                                                Prisma schema loaded from prisma/schema.prisma                                                                              Datasource "db": MySQL database "myantube" at "localhost:5432"                                                    Error: Schema engine exited. Error: Command failed with EFAULT: /data/data/com.termux/files/home/social-api/node_modules/@prisma/engines                                              /schema-engine-debian-openssl-1.1.x cli --datasource  can-                                         connect-to-database                                                                                spawn EFAULT


Consider using eslint-loader cache option

@kentcdodds mentioned he’s not using eslint-loader because of perf issues.
Nobody reported them to us, so naturally we don’t know about them.
What kind of perf issues exist with eslint-loader?
Can you tell me how to reproduce them?
Does enabling that cache option (new in 1.5.0) help, and should we do it?

cc @andreypopp who might have opinions

I don't use CRA with large codebases yet so I don't have perf issues with eslint-loader.
I assume that ESLint's cache option only helps initial linting because otherwise eslint-loader is marked as cacheable and so it lints only changed modules (when in watch mode).

Here's an example. I have experienced this myself on bigger projects. This is why I generally keep eslint out of my webpack stuff and have it as a separate script that I run as a pre-push hook.

@kentcdodds So the issue is in production builds, or initial npm start? This shouldn’t affect rebuild times in development as far as I understand.

cc @ericclemmons

@gaearon Unfortunately I can't provide the copy/paste metrics (they were lost in chat long ago, but I can give you near exact info)

Our typical app start time was ~18 seconds.
Re-builds (HMR) took  ~3s, then ~2s after that. (No idea why sub-sequent re-builds get faster, but they stabilize at the 3rd or 4th re-build).
I went through every optional plugin (including my own, so totes unbiased) and did a webpack build 5x, and averaged the results.
No other plugin had a meaningful drop, except for eslint-loader.
(Note, we weren't aware of the cache option at the time, so this is without it)
When I removed eslint-loader as a preLoader:

Our cold npm start took ~12s (down from ~18s).  This is because babel-loader is the 2nd most intensive process in the app.
Our warm npm start takes ~8s (just tested it repeatedly), now that most of what babel-loader does it cached.

Re-compiles (HMR) on the client take ~0.8-1.2s.  They hovered around ~1.5-2.4s previously.

As a result, we did the following:

Remove eslint-loader from the compilation process.  Caching may help, but personally we found that stylistic errors shouldn't break the build while syntax errors should, but those are quite visible in the IDE anyway.
Lint as the first pass in CI, where any output (errors/warnings alike) break the build.

Also, I originally implemented DLLPlugin to resolve speed issues.  (You may remember me mentioning it in another CRA thread)  Unfortunately, it simply required too much orchestration (especially as the app & deps grew) for the speed gains.
Knowing what I know now, for speeding up builds it would be:

Let webpack handle building, and let validation happen elsewhere. (Webpack is optimstic and faster this way).
Minimize babel usage.  Meaning, if you're running Chrome/Node v6, you can do an entire build without Babel, until you need JSX support. (Of course there are exceptions, but the complete compile down to ES5 is unnecessary IMO for RAD)
Reluctantly add DLLPlugin, as this is the closest you'll get to having your app be entirely just ./src.

I hope this helps!  We may try this again with cache: true in eslint-loader, but I just don't think it's worth it for me.

Released in 0.9.1/2.

Reopening since we reverted this in 0.9.3.
Waiting for https://github.com/MoOx/eslint-loader/pull/159 to get in.

Anybody wants to help me to write the tests and do code review? Currently it doesn't pass any of the tests T_T. I've published a fork here https://www.npmjs.com/package/eslint-loader-fs-cache if anybody wants to play with it and compare with the older implementation.

Can you post a more detailed note of what needs to be done? So that a person who wants to help knows where to start, what you tried, and what the desired outcome is. https://github.com/MoOx/eslint-loader/pull/159 is probably the best place to do this.

Can we punt this to 0.10 @gaearon? I don't want to risk additional breakages if we forget an edge case (even though using babel's module is a safe bet). We might explore an entire webpack caching plugin in 0.10 which will nullify the need for this anyway.

Sure.

https://github.com/MoOx/eslint-loader/pull/159 released on https://github.com/MoOx/eslint-loader/releases/tag/1.7.0

The latest release of eslint-loader is broken because its new dependency (https://github.com/viankakrisna/loader-fs-cache) uses mkdirp but doesn't declare it as a dependency: https://github.com/viankakrisna/loader-fs-cache/pull/2

It's fixed on 1.0.1. whew! broke 2 project release because I wanted to contribute to eslint caching... T_T

It happens to the best of us, @viankakrisna. 😄

@Timer shall we turn it on again in master? 😄
I learn so much in these mishaps though. It's both stressful and rewarding working on open source...
Also, i'm curious about the whole

We might explore an entire webpack caching plugin in 0.10 which will nullify the need for this anyway.
Is it dll? Or any other one?

We were looking at https://github.com/jsdf/cached-loader. As for re-enabling this, I am hesitant because I'm about to go on vacation and I don't want to release a build right before I leave, haha.

Woow, that's cool! Yeah, have a nice vacation! I agree if cached-loader can do it, it's better to have it rather than make caching scattered across loader.

Let's reevaluate later.

I tried putting this behind cache loader and it didn't give a speed improvement; we'll need to try the built in cache option now if it's stable. No harm in flipping the flag back on.


Many US Cities have numbered streets with leading zeros

Some cities in the US have streetnames with leading zeros on numbered streets, for example 05th Avenue instead of 5th Avenue. It's relatively simple to clean up these specific cases, so ideally it is done across OA at import time or better yet at the individual data source level. There are a total of 52239 records with this type of error.
The 11 files affected are:
us/ca/los_angeles.csv
us/ca/san_diego.csv
us/ca/san_francisco.csv
us/co/clear_creek.csv
us/ne/cherry.csv
us/ne/dakota.csv
us/ne/gage.csv
us/nm/bernalillo.csv
us/pa/philadelphia.csv
us/wi/statewide.csv
us/wy/albany.csv

Just adding confirmation that it's in the source: http://map.co.clear-creek.co.us/arcgis2/rest/services/ClearCreek/address/MapServer/1/2412

IIRC, there's no cleanup on the OA side, it would all be up to the consumer.  If so, then this issue can be closed, right?

Makes sense.


fix: PermissionError: Permission denied: site-packages

PermissionError can happen with nix
where django apps are installed in the read-only /nix/store
and there is no way to make the app path writable
example

PermissionError: [Errno 13] Permission denied: '/nix/store/ry2xibh8xwwiazjryd4lh1sa2zgfs9ib-archivebox-0.7.2/lib/python3.11/site-packages/archivebox/core/migrations/0023_remove_archiveresult_id_alter_archiveresult_uuid_and_more.py'

with this patch, django will write the migration file to
$HOME/.cache/django-db-migrations plus the original path
example

/home/user/.cache/django-db-migrations/nix/store/ry2xibh8xwwiazjryd4lh1sa2zgfs9ib-archivebox-0.7.2/lib/python3.11/site-packages/archivebox/core/migrations/0023_remove_archiveresult_id_alter_archiveresult_uuid_and_more.py

todo
MigrationWriter should allow the app to set a custom path for the db migrations files
django/db/migrations/writer.py
class MigrationWriter:
    # ...
    @property
    def basedir(self):
        migrations_package_name, _ = MigrationLoader.migrations_module(
            self.migration.app_label
        )

Thanks for this patch, however, I don't think that installing Django in read-only directories is supported. IMO, we will not add workarounds for them.

I don't think that installing Django in read-only directories is supported

both the app and django are installed in read-only paths
refusing to support this use case only leads to a need for downstream patches
generally, python site-packages should be treated as read only
and all runtime state should be stored in $HOME/.cache etc
trying to write to site-packages is like trying to write to /usr/lib

IMO, we will not add workarounds for them

my "workaround" is still better than a fatal error

It seems that one of your 3rd party packages missed including migrations for some model changes. You should report this to their issue tracker.

Instead to starting from submitting patches, use support channels where folks are eager to help and will help you understand where is an issue.

It seems that one of your 3rd party packages missed including migrations for some model changes

yes, i modified the app, but i did not include the new migration file
django throwing a fatal error here is "too much"
django should store the new migration file somewhere, where the user can find it
show an info (or warning) and continue running the app
then, what the user does with that new migration file, is his business


timestamp for Wikidata export: +2021-00-00 versus +2021-01-01

When exporting dates with a precision smaller than days, OpenRefine (Version 3.4.1) seems to export the year 1883 (as a random example) as +1883-01-01T00:00:00Z both with the export tool and QuickStatements.
However, if I understand those links correctly, it should be +1883-00-00T00:00:00Z (even though this isn’t ISO style):
https://www.wikidata.org/wiki/Help:Dates#Time_datatype
https://www.wikidata.org/wiki/Wikidata:Project_chat/Archive/2021/02#Dates_with_<11_precision
https://www.mediawiki.org/wiki/Wikibase/DataModel#Dates_and_times
While an argument could be made that Wikibase should normalize those entries, this isn’t the case at the moment, so I wondered if you could adjust OpenRefine’s behaviour. Thank you!

Hi @loulankxh, how is it going? If you get stuck at any point feel free to reach out.


Internal server error

I export my gamedata and now i receve http 1.1 500 internal server error,when i try to log in

I export my gamedata and now i receve http 1.1 500 internal server error

Only variables should be passed by reference

@insthync

How about this settings?

i'm ussing 2020.3.25f1 unit

y

Can you attach the exported game database ?

GameData.zip

May I try on your device by AnyDesk?

Off corse,when?

When i import to db,ALL tablet ia empty

what version of unity do you use? is it android or pc?

Error is occurring at server-side, so any version of Unity won't fix it.

I am currently available, you can tell me your AnyDesk info now, send it to my email<EMAIL_ADDRESS>


Adding is_null datatype shortcut method

Which issue does this PR close?

Closes #.
Rationale for this change
Adding is_null datatype shortcut method to already existing collection of is_* methods

What changes are included in this PR?
New method added, also #[inline] added to methods who missing it

Are there any user-facing changes?

@viirya please review


Releasing 2.0.0

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

GitHub release
v2.0.0
v2.0.0

Your semantic-release bot :package::rocket:


Kentico 12 to XbyK Migration - Site is not converting to Channel properly using migration tool

When we migrate the from Kentico 12 to XbyK, the site is not getting converted properly to channel properly and it shows as below. Due to this we were not able to view pages for the newly created content types. I tried to add a new channel into database using SQL queries, but it doesn't seem to be working. Can you help us understand what could be the issue for this as soon as possible please?

Hi @tkrch
Query 1 result
<CMS_SettingsKey KeyID="10945" KeyName="CMSMediaLibrariesFolder" KeyDisplayName="{$settingskey.cmsmedialibrariesfolder$}" KeyDescription="{$settingskey.cmsmedialibrariesfolder.description$}" KeyType="string" KeyCategoryID="531" KeyGUID="8B1C95DB-B901-4092-9AF5-9D2E6303DDDB" KeyLastModified="2019-08-23T13:33:21.1936802" KeyOrder="1" KeyIsGlobal="0" KeyIsCustom="0" KeyIsHidden="0" KeyExplanationText=""/>
Query 2 result:
<CMS_SettingsKey KeyID="14693" KeyName="CMSUseMediaLibrariesSiteFolder" KeyDisplayName="{$settingskey.cmsusemedialibrariessitefolder$}" KeyDescription="{$settingskey.cmsusemedialibrariessitefolder.description$}" KeyValue="True" KeyType="boolean" KeyCategoryID="531" KeyGUID="647F2977-EAFC-4473-9063-BFB838854218" KeyLastModified="2019-08-23T13:33:21.1936802" KeyOrder="2" KeyDefaultValue="True" KeyIsGlobal="0" KeyIsCustom="0" KeyIsHidden="0" KeyExplanationText=""/>
Sure, will try from the feature branch.
Thanks.

Hi @tkrch I tried running the migration tool from "feat/url_replacement_in_RTE" branch, but still getting the same error:

migration.toolkit-20241002.log

@tkrch

MigrateOnlyMediaFileInfo: true
KxCmsDirPath: D:\Kentico XbK Upgrade\MyProject\CMS

Hi Once I run the migration tool I get this issue on console.
12:46:22.485 fail: Migration.Toolkit.Source.Handlers.MigratePagesCommandHandler[0] Failed to import page url path: System.Exception:  [DataConnection.HandleError]:   Query:  INSERT INTO CMS_WebPageUrlPath ([WebPageUrlPath], [WebPageUrlPathHash], [WebPageUrlPathWebPageItemID], [WebPageUrlPathIsLatest], [WebPageUrlPathGUID], [WebPageUrlPathWebsiteChannelID], [WebPageUrlPathContentLanguageID], [WebPageUrlPathIsDraft], [WebPageUrlPathType], [WebPageUrlPathIsCanonical])  VALUES (@WebPageUrlPath, @WebPageUrlPathHash, @WebPageUrlPathWebPageItemID, @WebPageUrlPathIsLatest, @WebPageUrlPathGUID, @WebPageUrlPathWebsiteChannelID, @WebPageUrlPathContentLanguageID, @WebPageUrlPathIsDraft, @WebPageUrlPathType, @WebPageUrlPathIsCanonical);  SELECT SCOPE_IDENTITY() AS [ID]  Caused exception:  Cannot insert the value NULL into column 'WebPageUrlPathType', table 'xperience-migration-oct-2024.dbo.CMS_WebPageUrlPath'; column does not allow nulls. INSERT fails. The statement has been terminated.   ---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot insert the value NULL into column 'WebPageUrlPathType', table 'xperience-migration-oct-2024.dbo.CMS_WebPageUrlPath'; column does not allow nulls. INSERT fails. The statement has been terminated.    at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose)    at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)    at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData()    at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)    at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)    at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method)    at Microsoft.Data.SqlClient.SqlCommand.ExecuteScalar()    at CMS.DataEngine.AbstractDataConnection.ExecuteScalar(String queryText, QueryDataParameters queryParams, QueryTypeEnum queryType, Boolean requiresTransaction) ClientConnectionId:0c07eaf0-8173-43bd-afab-04a026f51596 Error Number:515,State:2,Class:16    --- End of inner exception stack trace ---    at CMS.DataEngine.AbstractDataConnection.HandleError(String queryText, Exception ex)    at CMS.DataEngine.AbstractDataConnection.ExecuteScalar(String queryText, QueryDataParameters queryParams, QueryTypeEnum queryType, Boolean requiresTransaction)    at CMS.DataEngine.GeneralConnection.ExecuteScalar(QueryParameters query)    at CMS.DataEngine.DataQueryBase1.GetScalarResult()    at CMS.DataEngine.DataQueryBase1.GetScalarResult[T](T defaultValue)    at CMS.DataEngine.DataClassDataSqlStore.Insert(IDataClass dataClass, Boolean initializeId)    at CMS.DataEngine.AbstractInfoBase1.InsertData()    at CMS.DataEngine.AbstractInfoProvider3.SetInfo(TInfo info)    at Kentico.Xperience.UMT.ProviderProxy.ProviderProxy1.Save(TInfo info, IUmtModel model)    at Kentico.Xperience.UMT.ProviderProxy.ProviderProxy`1.Save(BaseInfo info, IUmtModel model)    at Kentico.Xperience.UMT.Services.Importer.ImportObject(IUmtModel model, IProviderProxyContext providerProxyContext)

this issue is resolved now its a version issue like migration tools use the 29.4.3 and the dxp is running on 29.5.1.

Hi @psaxena1994, judging by the stack trace, this looks like UMT issue - please create issue here: https://github.com/Kentico/xperience-by-kentico-universal-migration-tool/issues (i will look into it in meantime)

Actully it's now UMT issue, issue related the version issue which is fixed now in the latest version of the dxp some new database column introduced which are mandatory fields.


enhancing README.md

I’ve have gone through the README.md  and I really appreciate the work you’ve put into it! I noticed a few areas where some minor  wording adjustments could enhance clarity and readability.
If you’re open to it, I’d love to help with those changes or discuss some suggestions I have. So, Please assign me this issue.

Please assign me this issue. I will enhance it.


Deployment Creds

@graemerocher Could you add bintray and snapshot deployment creds to travis?
I have added GIT_EMAIL, GIT_NAME and GH_TOKEN

Fixed via d14e20e6e807363512d3adeb0150c425ee9ac49d


Unify response from delegate and request

The delegates and the request method have different response formats. The request has data.myQuery, the delegates return the response directly. This makes it harder to interoperate.
Proposal: return the first element from data for request.

Hey 👋, I believe this issue is no longer in sync with the current version of prisma-binding. In need for gaining a better overview of the issues facing the current version, I'll close it.
Feel free to reopen the issue if you believe we should further discuss its context. 🙂


Improve performance of video texture uploads

Fixes https://github.com/ppy/osu/issues/22970
It's not the most that can be done, because Veldrid doesn't expose interfaces to do this sort of alignment, and although it seems possible in at least D3D, it's something I don't want to do unless absolutely necessary. This is already between 1-2 magnitudes faster for me, just in this one block nevermind GL execution time which is hard to profile.
I want confirmation that this fixes the issue before merge, though.
Also would be good to test this on mobile platforms.

I can't test mobile (as android doesn't mix with veldrid yet), but desktop looks better to me.

master
this PR


Fix Graph.remove_inputs

The remove_inputs call on the graph wasn't working - since it was hanging on
to a reference to the removed columns via the dependencies list. Fix and
add a unittest that would have caught this.
Fixes https://github.com/NVIDIA-Merlin/NVTabular/issues/1632

It seems like we were all working on this at the same time. Either PR is fine by me. https://github.com/NVIDIA-Merlin/core/pull/107

I'm just noticing this PR after merging the other one, so...why not both? 😆

Closing this because #107 was merged and we don't want to merge both!

I actually don't think it's problematic to merge both here, so long as the tests pass. There may be subsequent clean-up we want to do, but this fix is really nice.


updated minor dependencies, added backlinks, updated changelog

fixes https://github.com/simpixelated/simpixelated.com/issues/15


lobby and more

add lobby
add attack/defense icons
tweak card layout
futz with proportions
remove BG images while we work on UI

The code looks ok but you need to resolve conflicts.

ok done
On Wed, Jun 17, 2015 at 5:18 PM, Kevin Lacker<EMAIL_ADDRESS>wrote:

The code looks ok but you need to resolve conflicts.
—
Reply to this email directly or view it on GitHub
https://github.com/lacker/cardkit/pull/34#issuecomment-112984895.


Update composer.json

zend-http is mandatory to use basic reader
whithout zend-http...
$channel = \Zend\Feed\Reader\Reader::import($input->getArgument('link'));
...throws
php.CRITICAL: Fatal error: Class 'AppBundle\Command\Zend\Feed\Reader\Reader' not found

Any PSR7 compatible client can be used.
https://github.com/zendframework/zend-feed/pull/14

Fine but the Reader class importing unused namespace
use Zend\Http as ZendHttp;
May be best completely remove Zend Http dependency and make mandatory the programmer set the http client before using the lib.
Use the decorator on a lib wrapper in the framework.
What do you think?

Current implementation is backward compatible. Your proposal can be discussed for next major version. Please open a new issue for discuss that if you want.


Guil8553/fix build

I think there was a problem with last merging. Some files are not in the correct place. This PR is to fix the build

move files in correct location
fix .qrc files

There is something wrong with my git config or this repo or I-dont-know, but the changes I made on my machine are not detected by git. These files https://github.com/Esri/arcgis-maps-sdk-toolkit-qt/tree/v.next/uitools/examples/cpp_quick/src/demos were moved, they are not in the correct place. I need to fix that.


Installing with cargo install --path . fails with weird error

This commit in the registry broke installing cargo-component: https://github.com/bytecodealliance/registry/commit/65659774e44742a5a6cf0da8943fbc310b12cae9
Would you be open to pin the warg-* git commit to specific commits? That would help get rid of this kind of errors, and make sure that updates of cargo-component's dependencies are under control.
STR

cargo install --path .

Observed
error[E0432]: unresolved import `warg_crypto::hash::DynHash`
  --> src/registry.rs:27:25
   |
27 | use warg_crypto::hash::{DynHash, Sha256};
   |                         ^^^^^^^
   |                         |
   |                         no `DynHash` in `hash`
   |                         help: a similar name exists in the module: `AnyHash`

error[E0063]: missing field `head` in initializer of `PublishInfo`
   --> src/lib.rs:403:20
    |
403 |     let mut info = PublishInfo {
    |                    ^^^^^^^^^^^ missing `head`

error[E0063]: missing field `head` in initializer of `PublishInfo`
   --> src/lib.rs:524:20
    |
524 |     let mut info = PublishInfo {
    |                    ^^^^^^^^^^^ missing `head`

Some errors have detailed explanations: E0063, E0432.
For more information about an error, try `rustc --explain E0063`.
error: could not compile `cargo-component` due to 3 previous errors
error: failed to compile `cargo-component v0.1.0 (/home/ben/code/cargo-component)`, intermediate artifacts can be found at `/home/ben/code/cargo-component/target`

The crates are already locked to specific commits, it's just that cargo install ignores the lock file by default to ensure it is installed with the latest dependencies.
Until such time as the warg crates are published (with semver), you'll need to pass --locked when installing.

Thanks, indeed it solves my issue in the meanwhile.


👨💻add deserializer

see: https://github.com/aregpetrosyan/Jetpack-Compose-Boilerplate/blob/main/app/build.gradle

opted for kotlin deserializer


_.deepExtend is not a function.

I decided to give this a try on my project. When I click preview , I get this error.

I am getting this same error when I click section config. After this, I am not able to close the preview section , basically the screen becomes unresponsive.

Not sure if this is happening because I am using lodash (_) in the application in other pages.

One of my dependencies is lodash which has _.deepExtend method. I think I'm gonna remove lodash out of my dependencies soon.
Thanks for reporting!

I think over here you are trying to mixin the method using underscoreDeepExtend. Something else I want to point out is that its not a good idea to pollute global window namespace.

Please what is the way around this at the moment?

I spent a lot of time trying to fix bugs , it wasnt worth the time, our
company decided to go with surveyjs.io when we tackle it. Its lot more
refined as has a lot more features.
On Sun, May 10, 2020 at 9:25 AM rockyfeller<EMAIL_ADDRESS>wrote:

Please what is the way around this at the moment?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sethsandaru/vue-form-builder/issues/29#issuecomment-626327771,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALH63YK3GIF23HYKAODVTTRQ2TNVANCNFSM4MCTMEPA
.

Hey guys,
I'm very sorry about the inactivity of the library. I already made a plan to rebuild the Vue Form Builder again. Main reasons:

The codebase is not clean enough (yes, more than 1 year already), even I feel bad and saw that it's hard to maintain
A lot of dependencies, I need to reduce it, it made the form itself too heavy (2M)
Prevent to export any unnecessary variables/functions and prevent to use the window object
A lot of problems in the current form.
...

You can see more detail in the main repository README. Until that, I think I won't support any old problems and hope you guys wait for the new version instead. The current one looks very unstable (from then to now).
Thank you for your support and a big apology from me!


Emmet not working in blade.

Emmet does not work in blade using the "Laravel Blade Snippets" extension, even after adding the following configuration:
    "emmet.syntaxProfiles": {
        "blade": "html"
    },

VSCode Version: 1.13.1
OS Version: Win 10.

Do you have emmet.useNewEmmet set to true or false?

It doesn't work when emmet.useNewEmmet is set to true but it works with the tab button when set to false.

This is being tracked in #28286
We'll have a fix for this soon

Please read https://github.com/Microsoft/vscode/issues/28286#issuecomment-310749096

Please look at #29678 and add your thoughts there.
It is about using a different setting (emmet.includeLanguages) than emmet.syntaxProfiles to enable emmet abbreviation in languages other than the ones that are supported by default.


FrozenAttribute does not freeze collection of mocks

I have a composite class that takes a collection of IResolver as a dependency:
public class CompositeResolver : IResolver
{
    private readonly IEnumerable<IResolver> _resolvers;

    public CompositeResolver(IEnumerable<IResolver> resolvers)
        => _resolvers = resolvers;

    public int Calculate(int initial)
        => _resolvers.Aggregate(initial, (acc, curr) => curr.Calculate(acc));
}

Then I used AutoFixture, AutoFixture.AutoMoq, and AutoFixture.Xunit2 to set up a simple unit test to verify the collection of resolvers are all being called:
public class CompositeResolverTests
{
    [Theory, AutoMoqData]
    public void Calculate_CallsResolversWithExpectedCountOfTimes(
         int initial,
         [Frozen] IEnumerable<Mock<IResolver>> mockResolvers,
         CompositeResolver sut)
    {
        // Arrange
        foreach (var mock in mockResolvers)
        {
            mock.Setup(m => m.Calculate(It.IsAny<int>()).Verifiable();
        }

        // Act
        sut.Calculate(initial);

        // Assert
        Assert.All(
            mockResolvers,
            mock => mock.Verify(r => r.Calculate(It.IsAny<int>()), Times.Once);
    }
}

This fails because mockResolvers and sut._resolvers are two separate collections of IResolvers.
Is this a bug in AutoFixture?

And what if you freeze collection of entities instead:
[Frozen] IEnumerable<IResolver> resolvers

In this case it should work.
If the latter example works fine, I'd say that such behavior is expected. The Freeze attribute matches the exact type but  actually the IEnumerable<Mock<IResolver>> request is never issued, so two different collections are resolved.
Currently we have similar issues when glue library helper attributes don't work if you wrap type with Mock<>. It looks like a feature to implement one more library with Moq specific helper attributes.

@zvirja Yes if I remove the Moq wrapping the test will freeze the resolver collection correctly. However, this prevents me from setting up expectations to the mock instances.
From what I understand, if my test were not requesting for a collection, it would have worked as expected (i.e. apply FrozenAttribute to a Mock<IResolver> and the dependency being a IResolver).

You can always use Mock.Get() to convert instance of T to Mock<T>, so that should not be the case 😉

From what I understand, if my test were not requesting for a collection, it would have worked as expected

Yes, it will work. The reason is that request for IResolver is redirected to Mock<IResolver> and here your customization applies. In case you request IEnumerable<IResolver>, you will get a series of Mock<IResolver> requests, rather than IEnumerable<Mock<IResolver>>. If in your initial sample you frozen Mock<IResolver>, you would get the _resolvers contain N (usually 3) instances of the same frozen IResolver.

@zvirja It makes sense. However, I think it will be more intuitive if a request to IEnumerable<Mock<IResolver>> can also be frozen like in my example. Is AutoMoqCustomization the correct place to look into if I want to achieve the behaviour I wanted?

However, I think it will be more intuitive if a request to IEnumerable<Mock> can also be frozen like in my example.

My position here would be the same as described here - I don't think that it's a good idea to change the behavior for existing attributes. Rather, it might make sense to introduce new ones which will be specific to the Moq integration.
I've created an example of the FrozenEnumerableOfMocks attribute that could help to achieve the desired behavior.
public class FrozenEnumerableOfMocks: CustomizeAttribute
{
    private static Type TryUnwrap(Type container, Type expected)
    {
        if(container == null) return null;

        if (container.IsGenericType && container.GetGenericTypeDefinition() == expected)
        {
            return container.GenericTypeArguments.Single();
        }

        return null;
    }

    private static Type Wrap(Type container, Type element)
    {
        return container.MakeGenericType(element);
    }

    public override ICustomization GetCustomization(ParameterInfo parameter)
    {
        var entityType = TryUnwrap(TryUnwrap(parameter.ParameterType, typeof(IEnumerable<>)), typeof(Mock<>));
        if (entityType != null)
        {
            return new FreezeEnumerableOfMocks(entityType);
        }

        throw new InvalidOperationException("Customization is applied to wrong type.");
    }

    public class FreezeEnumerableOfMocks: ICustomization
    {
        private readonly Type _elementType;

        public FreezeEnumerableOfMocks(Type elementType)
        {
            _elementType = elementType;
        }

        private static IEnumerable<T> SelectObjectsFromMocks<T>(IEnumerable<Mock<T>> mocks) where T : class
        {
            return mocks.Select(x => x.Object);
        }

        public void Customize(IFixture fixture)
        {
            // IEnumerable<Mock<T>>
            var tEnumerableOfMockOfElement = Wrap(typeof(IEnumerable<>), Wrap(typeof(Mock<>), _elementType));
            var enumerableOfMockObjects = fixture.Create(tEnumerableOfMockOfElement, new SpecimenContext(fixture));

            // Freeze request to IEnumerable<Mock<T>>, so always return the same result
            fixture.Customizations.Insert(
                0,
                new FilteringSpecimenBuilder(
                    new FixedBuilder(enumerableOfMockObjects),
                    new EqualRequestSpecification(tEnumerableOfMockOfElement)));

            // IEnumerable<T>
            var tEnumerableOfElement = Wrap(typeof(IEnumerable<>), _elementType);
            var enumerableOfObjects = GetType()
                .GetMethod(nameof(SelectObjectsFromMocks), BindingFlags.NonPublic | BindingFlags.Static)
                .MakeGenericMethod(_elementType)
                .Invoke(null, new []{ enumerableOfMockObjects});

            // Freeze request to IEnumerable<T>, so always return the value same objects.
            fixture.Customizations.Insert(
                0,
                new FilteringSpecimenBuilder(
                    new FixedBuilder(enumerableOfObjects),
                    new EqualRequestSpecification(tEnumerableOfElement)));
        }
    }
}

And usage:
public class CompositeResolverTests
{
    [Theory, AutoMoqData]
    public void Calculate_CallsResolversWithExpectedCountOfTimes(
         int initial,
         [FrozenEnumerableOfMocks] IEnumerable<Mock<IResolver>> mockResolvers,
         CompositeResolver sut)
    {
        // Arrange
        foreach (var mock in mockResolvers)
        {
            mock.Setup(m => m.Calculate(It.IsAny<int>()).Verifiable();
        }

        // Act
        sut.Calculate(initial);

        // Assert
        Assert.All(
            mockResolvers,
            mock => mock.Verify(r => r.Calculate(It.IsAny<int>()), Times.Once);
    }
}

Of course, my code is just a sample and it's main purpose is to demonstrate an idea. You can probably find more elegant solution and extend it to cover all your cases :)

@rexcfnghk Could you please confirm that question was resolved for you? If so, could we close this issue? ☺

Yes it does solve my issue. Thanks!


[release-2.0] Allow the controller to delete NodeModulesConfigs

Make the OwnerReferencesPermissionEnforcement admission plugin happy.

This is a cherry-pick of a855c08a.
/cc @yevgeny-shnaidman

/lgtm


Improve indentation and whitespace

Thanks you @MathiasReker. I must close this PR because it doesn't bring any value.


Move IMPORT INTO SQL diagram

moving the IMPORT INTO updated sql diagram for 21.1 from _includes/v21.1/sql/diagrams into _includes/v21.1/sql/generated/diagrams
closes #10175

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/faf38aaa117437db1e74f27659494cb2e7e57f6c/


Unable to create a react app using “create-react-app”

Describe the bug
I have installed "create-react-app" globally on my pc using "npm install create-react-app -g".
And it worked just fine for months. I had previously created a lot of react app using the "create-react-app app-name" command.
And it worked flawlessly. Until a few days ago when it sudden stopped working and started giving errors.
I have tried various things suggested but with no luck.
So after days of trying to solve the issue I am asking this question.
I have tried doing the following things with no luck:
1> using the "npm cache clean --force" and then "npm cache verify".
2> I also unabled my antivirus (norton) and then ran the commands.
3> I installed the latest node version
4> I intalled the latest npm version and updated it using the command "npm install npm@latest -g"
5> I followed the instructions on this stackoverflow link https://stackoverflow.com/questions/50189096/installing-create-react-app-gives-npm-err-shasum-check-failed-and-npm-err-unex/50191315#50191315 to change the registry.
And a few other things. But nothing has worked.
Did you try recovering your dependencies?
Since the create-react-app fails and deletes the folder. There is no "node-modules" or "package-lock.json" files.
npm --version
6.10.1
Which terms did you search for in User Guide?
Found no real info on troubleshooting "create-react-app". Either there is no doc / its not easily found
(Write your answer here if relevant.)
Environment
Environment Info:
System:
OS: Windows 10
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Binaries:
Node: 12.6.0 - D:\Program_Files\nodejs\node.EXE
Yarn: Not Found
npm: 6.10.1 - D:\Program_Files\nodejs\npm.CMD
Browsers:
Edge: 42.17134.1.0
Internet Explorer: 11.0.17134.1
npmPackages:
react: Not Found
react-dom: Not Found
react-scripts: Not Found
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce

Go to folder you want to create the react app in -> cd testReact
Run create-react-app app-name -> create-react-app react-test-app

Expected behavior
Should create a folder (react app) with name react-test-app
Actual behavior
The error that I get is as follows:
D:\codes\react\maximilianUdemy\project1>create-react-app react-mytest-app

Creating a new React app in D:\codes\react\maximilianUdemy\project1\react-mytest-app.

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts...

npm ERR! Unexpected end of JSON input while parsing near '...HqQqP7Ky/f49Ar0oPZ\n4'

npm ERR!      C:\Users\vaibh\AppData\Roaming\npm-cache\_logs\2019-07-20T10_24_27_969Z-debug.log

Aborting installation.
  npm install --save --save-exact --loglevel error react react-dom react-scripts has failed.

Deleting generated file... package.json
Deleting react-mytest-app/ from D:\codes\react\maximilianUdemy\project1
Done.

Below is an excerpt from the "C:\Users\vaibh\AppData\Roaming\npm-cache_logs\2019-07-20T10_24_27_969Z-debug.log". Since the log is really big (664 lines), I have only noted from when the error started showing.
471 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...HqQqP7Ky/f49Ar0oPZ\n4'
471 verbose stack     at JSON.parse (<anonymous>)
471 verbose stack     at parseJson (D:\Program_Files\nodejs\node_modules\npm\node_modules\json-parse-better-errors\index.js:7:17)
471 verbose stack     at D:\Program_Files\nodejs\node_modules\npm\node_modules\node-fetch-npm\src\body.js:96:50
471 verbose stack     at processTicksAndRejections (internal/process/task_queues.js:85:5)
472 verbose cwd D:\codes\react\maximilianUdemy\project1\react-mytest-app
473 verbose Windows_NT 10.0.17134
474 verbose argv "D:\\Program_Files\\nodejs\\node.exe" "D:\\Program_Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--save" "--save-exact" "--loglevel" "error" "react" "react-dom" "react-scripts"
475 verbose node v12.6.0
476 verbose npm  v6.9.0
477 error Unexpected end of JSON input while parsing near '...HqQqP7Ky/f49Ar0oPZ\n4'
478 verbose exit [ 1, true ]

Could have been a network issue somewhere down the line, resulting in a corrupted download. Have you tried it again later?

Yeah. I had tried everything before asking. I had even uninstalled and reinstalled everything. But the issue stayed. But then yesterday, I uninstalled node (12.6.0) again. And installed the node version 10.16.0 LTS. It did still have issues when I first used the "npx create-react-app". But on the second try, it started working.
I didn't wanna do the reinstallation, cos I think it changes some Visual Studio C++ libraries (updates/ installs new versions). And I really didn't want to do that, cos I have a lot of c++ project files (past and upcoming) and I didn't want to get in a loop of updating every bit of softwares and libraries when creating those projects.
Anyways. its seems to be working now. But if you are curious about the root of the issue. I think you should take a look at "node version 12.6.0" OR there is a small chance the issue might have been due to direct use of the create-react-app (without npx). Even though its now recommended to use "npx create-react-app" instead of installing the "create-react-app" and using it, I had gotten used to the latter. But I have uninstalled it and would be using npx from now on.
You can close the issue. Cos its resolved from my end. But pls do take a look at what might have caused it, cos it was really a huge headace. And it would be nice if someone else wouldn't have to deal with the same. Thanks for your time :D

We no longer recommend installing Create React App globally. You can see the recommended install methods here.


Use https for fetching zipball

Not sure if this will fix the TlsException issue, but seems like there's only upside and no real downside to using https over http.

This is a duplicate of #195.

Ha, good point!


Display long text in tab header (Long Tab Names Clipped)

Hi,
I need to display long text in tab headers. Currently, if the text is long it is being clipped. Can I set the width of the tab headers or maximum width until the text is clipped?
For example, I have text: "SOME TAB HEADER TEXT". It is clipped to "SOME TAB HEA...". I want to have all my text displayed (if there is space): "SOME TAB HEADER TEXT".
Thanks in advance.

Such text is rendered at runtime by themes, such as this function in VS2012 Light theme that draws the document tab,
https://github.com/dockpanelsuite/dockpanelsuite/blob/master/WinFormsUI/ThemeVS2012Light/VS2012LightDockPaneStrip.cs#L1155
To achieve the effect you desired, it is very likely that you need to create your own theme.


Speed up QM.add_linear_from()

77fd6af995c2b940dedc4975d320c690aa019b31 (see https://github.com/dwavesystems/dimod/pull/1170) introduced a performance regression. This commit fixes it.
Comparing 0.10.17 to 0.11.0
+        311±10μs         646±30μs     2.08  qm.TimeAddLinearFrom.time_add_linear_from(<class 'int'>, <class 'dict'>)
+        322±20μs         630±20μs     1.95  qm.TimeAddLinearFrom.time_add_linear_from(<class 'int'>, <class 'list'>)
      1.07±0.04ms       1.69±0.2ms    ~1.57  qm.TimeAddLinearFrom.time_add_linear_from(<class 'str'>, <class 'dict'>)
+     1.06±0.03ms      1.41±0.04ms     1.32  qm.TimeAddLinearFrom.time_add_linear_from(<class 'str'>, <class 'list'>)

Comparing 0.10.17 to this commit
         311±10μs        295±0.8μs     0.95  qm.TimeAddLinearFrom.time_add_linear_from(<class 'int'>, <class 'dict'>)
         322±20μs          290±4μs    ~0.90  qm.TimeAddLinearFrom.time_add_linear_from(<class 'int'>, <class 'list'>)
-     1.07±0.04ms         971±10μs     0.90  qm.TimeAddLinearFrom.time_add_linear_from(<class 'str'>, <class 'dict'>)
      1.06±0.03ms         974±20μs     0.91  qm.TimeAddLinearFrom.time_add_linear_from(<class 'str'>, <class 'list'>)

there are other similar patterns we could do for add_quadratic_from() but in that case the binary search for insertion dominates for moderately sized models

Codecov Report

Merging #1200 (43e62d4) into main (3830b99) will decrease coverage by 0.05%.
The diff coverage is 58.33%.

@@            Coverage Diff             @@
##             main    #1200      +/-   ##
==========================================
- Coverage   94.85%   94.80%   -0.06%
==========================================
  Files          83       83
  Lines        7995     8003       +8
==========================================
+ Hits         7584     7587       +3
- Misses        411      416       +5

Impacted Files
Coverage Δ

dimod/quadratic/quadratic_model.py
92.17% <58.33%> (-0.85%)
:arrow_down:

Continue to review full report at Codecov.

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


June Talks 15/06/2016

MOAR JavaScript
This month we'll be all about the JavaScript, with an introduction to service workers and another chance for you to show off something cool.
There will be talks, drinks, people, and tonnes of fun.
http://www.meetup.com/JSOxford/events/231241768/
Date
Wednesday 15th June 2016, doors open 7:00pm, talks start at 7:15pm
Speakers
An Introduction to Service Workers – Phil Nash
Service Workers are the biggest thing to hit the browser since XMLHttpRequest. We'll take a look at what the Service Worker can do for your app and more importantly, your users. We'll see the surprisingly small amount of code you need to get started with a Service Worker and finally we'll take a look at Progressive Web Apps and how the Service Worker will take part in a revolution for web applications.
Javascript from Scratch – Ashok Menon (@amnn)
WARNING: This talk features dangerous levels of impracticality.
Have you ever wondered how far you could get if all you had were functions? Probably not, you have better things to do with your time, but fear not, I don't. Join me on an adventure as we rebuild familiar concepts like booleans, if expressions, numbers, pairs, and lists, from functions alone.
 He likes functional programming, type theory and long walks on the beach, and dislikes the misappropriation of mathematical terms (I'm looking at you, "isomorphic" javascript). He also still believes people (deep, deep down) want to use mathematical proofs in industry, so nobody break his bubble.
Show and Tell – Everyone!
May's show and tell had an amazing collection of side-projects, and we want to hear about yours. It doesn't need to be pure-JS, we want to know about that thing you're hacking on or thinking about.
We’ll have signup details closer to the time, for now - have a think of something you’d like to share.
Core actions

[x] Create meetup event & announce
[ ] Confirm sponsorship for snacks/drinks (@spikeheap)
[x] Book The Story Museum  (@spikeheap)
[x] Organise speakers (@benfoxall)

Packing list

[x] camera (@spikeheap)
[ ] microphone (@peterjwest)
[x] clicker (@benfoxall)
[ ] tripod (?)

Retro.
Rather than creating another ticket, shall we add any comments in here? Seems like it might keep things nicely together /@spikeheap

I was happy that we made a point of welcoming new people and pointing them at Dan & Marcus (even though they didn't get any chats).  I'd really like to get feedback from some of the new attendees
it was harder to get show and tellers this month, though I liked it being a bit more haphazard. Props to Matei for coming forward late one.
(more to come, but going underground)

I really enjoyed the "Show & Ask". Might be hard to keep it going though.

I really enjoyed the "Show & Ask". Might be hard to keep it going though.

Slightly disappointed at the lack of laser horse stickers, but hey ho. It felt like I had less time to chat to people, but that might have been because of the spontaneous camera duty. I'll try to talk to more people at the next one!

@danielthepope I do have one save for you. Just forgot to bring it 😛

Well, my concern was laser horse stickers for the other attendees - I've got one on my laptop already (and a spare for my new laptop whenever I finally get round to buying it)

The A/V was a bit haphazard because we lost the film crew at the last minute, but it came out okay in the end. To do more of it ourselves we should really get some lavalier mics (researching on the internet makes the difference in sound quality obvious). Thanks to Dan for stepping up and filming.
Collecting the different recorded streams is/was a bit a of a faff. The show and tell clips were much easier to get online because it was all recorded on the one device.
Show and tell was good fun again.
Show and ask was awesome.
Getting there at 6:30 to set up made it feel much less rushed, though I need to remember to take the "not this way" sign off the door when I arrive next time.
Newbies. It was great to see so many new faces, and it felt like everyone made everyone else feel welcome. I like the way the events feel at the moment.
We should have brought the stickers.
A signpost would still be useful to help first timers find the place.


[epoch processing] Implement process_inactivity_updates

This is the function
https://github.com/lambdaclass/lambda_ethereum_consensus/blob/66059de3653c17ae620ce2aca2db61c558057f6a/docs/specs/beacon-chain.md?plain=1#L2238-L2253
See Spec tests format: https://github.com/ethereum/consensus-specs/tree/dev/tests/formats/epoch_processing
Acceptance criteria:

Run corresponding spec tests by removing https://github.com/lambdaclass/lambda_ethereum_consensus/blob/66059de3653c17ae620ce2aca2db61c558057f6a/test/spec/runners/epoch_processing.ex#L12.

Sure!

Is it ok if I place the helper functions like get_current_epoch compute_epoch_at_slot in LambdaEthereumConsensus.Beacon.HelperFunctions module.
I am seeing that in other pull requests are placing similar helper functions in different places :thinking:

Hey @f3r10, we will divide these function into 4 different files:

Accessors: get_ funcs
Mutators: no common example
Predicates: is_ funcs
Misc: other funcs


[For discussion, do not merge] Aim to make margins and spacing more consistent

I think this can be split into 2 PRs.

To set consistent margins for lists, panels and tables to match body text:
15px ($gutter-half) for smaller viewports, 20px ($gutter-two-thirds) for larger viewports

To make the margins on .heading-size classes in GOV.UK elements more sensible.

For large headings - make the margins consistent with the govspeak
titles - for both 48px and 36px titles, use margins of 15px for
smaller viewports and 45px ($gutter * 1.5) for larger viewports.
For smaller headings, use 15px for
smaller viewports and 30px ($gutter) for larger viewports.
Before:

After:

With a background colour to make the margins easier to see.
Before:

After:

IMHO these are really large margins for headings. When a 36px heading is used on one question per page or body copy ends up really far down. They look good for longform copy, but I'm not so sure for services.

When looking at the margins for govuk_components I also found that one size doesn't fit all. It'd be nice to do some separate investigation into what works for different types of content, and then define that. cc @markhurrell

Hi @edwardhorsford I'll add an example service page so we can compare. Here the heading spacing has been reduced, which will ensure body copy sits further up the page.

This PR needs a a set of "One question per page" examples to be built to compare the heading sizing and spacing on form pages, vs. longer text pages.
I'm closing this for now, as I'm away until the 15th of April. I'll reopen once I'm back.


Steven barrett

Completed the MVP and stretch

Commit structure is a sign of not having the best game plan. Although you can default to your solid programming skills, eventually programs get more intense, larger, and difficult.
I would suggest this: Make your commit structure in your README before you start. It will be the checklist prior to starting any code. Every time you check one of them off, you commit. This habit will prove to be very efficient and could save time.


Some object files require directories to exist.

Add necessary dependencies to fix parallel builds.

Merged in 043e553


General Question regarding Apostrophes Modular Approach

Greetings ,
I am curious as to how approstrophe implemented its modular approach.  In the sense that you can copy files into the lib modules folder and have it share inheritance with modules or files from npm modules or apostrophe core modules
I hope this makes sense I'm not too sure how to word this question.
Is there anywhere in the code where I can see and review how this was done.
Thank you.
Ryan.

Check out:
http://github.com/punkave/moog
http://github.com/punkave/moog-require
More when I get a minute (:
On Wed, Aug 3, 2016 at 3:52 PM, Ryan Watts<EMAIL_ADDRESS>wrote:

Greetings ,
I am curious as to how approstrophe implemented its modular approach. In
the sense that you can copy files into the lib modules folder and have it
share inheritance with modules from mom or core apostrophe modules .
I hope this makes sense I'm not too sure how to word this question.
Is there anywhere in the code where I can see and review how this was
done.
Thank you.
Ryan.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/punkave/apostrophe/issues/621, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB9fTdCtZhZONQuGzUxrh6pt87xGBVuks5qcPGDgaJpZM4JcB7u
.

--
*THOMAS BOUTELL, *SUPPORT LEAD
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

Thank you

Thank you,
Also unrelated to this issue but I could not find a reference in the apos-06 milestone but are you guys planning to bring the bulk import csv functionality over to apos-06 ?

On Aug 3, 2016, at 1:32 PM, Tom Boutell<EMAIL_ADDRESS>wrote:
Check out:
http://github.com/punkave/moog
http://github.com/punkave/moog-require
More when I get a minute (:
On Wed, Aug 3, 2016 at 3:52 PM, Ryan Watts<EMAIL_ADDRESS>wrote:

Greetings ,
I am curious as to how approstrophe implemented its modular approach. In
the sense that you can copy files into the lib modules folder and have it
share inheritance with modules from mom or core apostrophe modules .
I hope this makes sense I'm not too sure how to word this question.
Is there anywhere in the code where I can see and review how this was
done.
Thank you.
Ryan.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/punkave/apostrophe/issues/621, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB9fTdCtZhZONQuGzUxrh6pt87xGBVuks5qcPGDgaJpZM4JcB7u
.

--
*THOMAS BOUTELL, *SUPPORT LEAD
P'UNK AVENUE |<PHONE_NUMBER> | punkave.com
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

For sure, just hasn't been a client project priority yet.
On Wed, Aug 3, 2016 at 5:17 PM, Ryan Watts<EMAIL_ADDRESS>wrote:

Thank you,
Also unrelated to this issue but I could not find a reference in the
apos-06 milestone but are you guys planning to bring the bulk import csv
functionality over to apos-06 ?

On Aug 3, 2016, at 1:32 PM, Tom Boutell<EMAIL_ADDRESS>wrote:
Check out:
http://github.com/punkave/moog
http://github.com/punkave/moog-require
More when I get a minute (:
On Wed, Aug 3, 2016 at 3:52 PM, Ryan Watts<EMAIL_ADDRESS>wrote:

Greetings ,
I am curious as to how approstrophe implemented its modular approach.
In
the sense that you can copy files into the lib modules folder and have
it
share inheritance with modules from mom or core apostrophe modules .
I hope this makes sense I'm not too sure how to word this question.
Is there anywhere in the code where I can see and review how this was
done.
Thank you.
Ryan.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/punkave/apostrophe/issues/621, or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AAB9fTdCtZhZONQuGzUxrh6pt87xGBVuks5qcPGDgaJpZM4JcB7u>
.

--
*THOMAS BOUTELL, *SUPPORT LEAD
P'UNK AVENUE |<PHONE_NUMBER> | punkave.com
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/punkave/apostrophe/issues/621#issuecomment-237376736,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB9fQyOv6fFB3VapI0S1sqQ9kStKHEoks5qcQVXgaJpZM4JcB7u
.

--
*THOMAS BOUTELL, *SUPPORT LEAD
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

I think the current set of tutorials covers this fairly well as an issue, so I'm going to close it.
As far as how we got here: Symfony 1.x, with its project-level module folders in which you can override templates and classes from plugin module folders, was an important point of departure.
The idea of treating JS and CSS a little differently, pushing them cumulatively rather than as overrides so that they can subclass / extend at each level, was something we worked out on our own as we continued to explore the ramifications of that idea.
Our approach to functional object oriented programming is articulated here (moog builds on that, a lot, but it's the same basic core idea):
http://justjs.com/posts/this-considered-harmful


Livebox secondary bridge is not available

Describe Your Problem:
I assigned a fixed IP through permanent DHCP ticket. (<IP_ADDRESS>),livebox TV is working and visible / available in router page.
in homebridge bridge settings, I switched on the child bridge but it still marked as « please reboot your homebridge server to see QR code ».
Logs:

[10/11/2023, 8:53:48 AM] No plugin was found for the platform "LiveboxTV" in your config.json. Please make sure the corresponding plugin is installed correctly.

Plugin Config:
Inside « platforms » array :

{
            "ip": "<IP_ADDRESS>",
            "platform": "LiveboxTV",
            "_bridge": {
                "username": "0E:82:1D:CF:8A:56",
                "port": 59764
            }
        }

Environment:
Docker

Plugin Version: 0.3
Homebridge Version: 1.6.1
Node.js Version: 18
NPM Version:
Operating System: synology

After digged in code, seems plug-in name should be « LiveboxTV » instead « Livebox ».
Still not present in home app after imported child bridge with working QR.
but works through accessories list in home bridge UI page.

Hi, doesn't work in homebridge os x
No plugin was found for the platform "LiveboxTV" in your config.json. Please make sure the corresponding plugin is installed correctly

Bonsoir,
Le plugin ne fonctionne pas chez moi. Le pont secondaire ne se lance pas..

Cela m'affiche :
No plugin was found for the platform "LiveboxTV" in your config.json. Please make sure the corresponding plugin is installed correctly.


Import issue on Luckperms v5

When trying to import my h6.json.gz it gives me this error: https://hastebin.com/imuyoverej.cs
I tried with the command: /lp import h6 and /lp import h6.json.gz and get the same error

Is this fixed?
Or why did you close it?

Is this fixed?


db: recreate projects with the same name

allow to recreate project with the same name.

use hook to check whether non-deleted project exists with the same name
return duplicated record if so
allow if there are deleted projects
change project:name index to be non-unique

yes i am not a fan of this approach. will need to brainstorm another solution.


Parse model hooks for ref statements

Describe the bug
Hooks are not currently "parsed" at parse-time - they are just executed directly at runtime.  As a result, a ref in a hook can result in an error message like:
dbt was unable to infer all dependencies for the model "table_a".
  This typically happens when ref() is placed within a conditional block.
  To fix this, add the following hint to the top of the model "table_a":
  -- depends_on: {{ ref('table_b') }}

This error can be avoided by parsing model hooks at parse-time.
Steps To Reproduce
-- models/model_a.sql

select 1 as id

-- models/model_b.sql

{{ config(post_hook="select * from {{ ref('model_a') }}") }}

select 1 as id

run the models shown above and observe the error message.
Beware
Parsing hooks should be straightforward and a non-issue most of the time, but some users might be (read: are definitely) doing weird things in hooks. All of the adapter methods that invoke SQL queries should be no-op'd at parse-time.... are there valid hooks that would fail if dbt starts parsing them?
Example hook that's no problem to parse
grant select on {{ this }} to db_reader

Example hook that may be problematic (contrived)
{% for node in graph.nodes.values() %}
  -- this wouldn't work anyway - just an example
  grant select on schema.{{ node.identifier }}
{% endfor %}

We should better codify the hook context available at parse-time and run-time and document what kinds of hook queries, if any, are no longer supported (or how to work around this change).

closed by #2025


Help: User - Sales target - Target type for Category is Company category, not sales category

https://help-sod.superoffice.com/Documentation/Help/EN/CRM/UserHelp/index.htm#t=StandardCRM%2Fsale%2FSales_targets.htm
Add target type
....
In the next list, you can select specific elements of the target type you have selected. If you do not select any, all will be included. Example: If you selected Category as target type, you can select the sales categories for which you want to create targets.
...
...sales categories are not correct, it should be
company categories

The drop down for sales targets are grouped on

Sale
Company

Fixed in Robohelp and Github


Cleanup add defaults

@lilleyse, this breaks out processModelMaterialsCommon and glTF 0.8->1.0 stuff out of addDefaults.
It adds updateVersion for 0.8 -> 1.0 and moves tests for this and materials common to more appropriate locations.
addDefaults now only adds the default values of non-required variables as per its name.
This is an intermediary pull request for #191. It refactors our 1.0 processing and then #191 will contain the changes from that to get 1.0 -> 2.0, so this should be merged first.

Other change of note, if the technique is missing, we just use the default technique as per the glTF 1.0 specification instead of trying to guess a KHR_materials_common technique.

I thought about it a bit on the ride home. I liked the idea of having a glTF template object and cloning defaults out of that, but I think with the function properties here, it is a bit unnecessarily complex.

I don't have a problem with the template version.

This seems like a Cesium bug (or maybe not a bug?) - when the emission value in techniques is set [0.5, 0.5, 0.5, 1.0] it still uses the material's emission value [0.0, 0.0, 0.0, 1.0]
cow-nonormals.gltf.txt

If a model comes in without any materials, it would be nice to generate a default material corresponding with the default technique. I don't know whether the pipeline handled this before but there is some interest in this: https://github.com/AnalyticalGraphicsInc/obj2gltf/issues/32 (though this issue is more about exporting without materials).
Example model:
cow-nonormals-no-materials.gltf.txt

processModelMaterialsCommon should set premultipliedAlpha to true.

Also a separate bug I noticed: a uniform called u_extras is added to the shader in processModelMaterialsCommon since technique.parameters contains an extras object. This can be tested with either of the cow normals (I just had generateNormals commented out).

I don't know whether the pipeline handled this before.

It did, but it was tightly coupled with model materials common since that was how it was generating them. I'm not opposed to adding this back, but we do have the --kmc command line options if you want to generate non-default materials.

I think I may have misinterpreted your comment. If a glTF comes in without a technique, we used to guess technique and shader using KHR_materials_common based on the provided material parameters. We no longer do that, we just use the glTF default technique and shaders. I think this is appropriate since custom materials can be generated if desired.
For missing materials, there is a default material in glTF 2.0 but not in 1.0. That will be added to addDefaults as part of that pull request.

For missing materials, there is a default material in glTF 2.0 but not in 1.0. That will be added to addDefaults as part of that pull request.

Ah that's good to hear.
I suppose in 1.0 it's not possible to have a model without materials since primitives.material is required.

@lilleyse, this should be ready for another look

Looks good!


Feedback form - added agency and new email address

Changed title as requested.
Added agency to Client Data
Add new email address
@marcincichon please review

@RobertWDLowe (corpsethumb)


Regression in search performance in 1.9.0

VSCode Version: 1.9.0
OS Version:  OSX 10.11.6

Steps to Reproduce:

Searching large project in 1.8.1 for a particular term takes 2 seconds
Searching the same project for the same term in 1.9.0 takes 6 seconds

Huh, I can't imagine what would have been responsible for this in 1.9. Do you have a lot of UTF-16 files or anything like that?

All files are UTF-8 as far as I know.
So I tried another test using a new Angular2 project installed by npm.
I disabled the node_models exclusion so it would search everything.

search for term 'million' v1.8.1 = 1.5 secs.
search for term 'million' v1.9.0 = 3 secs.

So, I'm not just seeing this with my specific project only.  Was able to reproduce with a new Angular2 project.
Also, I tried running with all extensions disabled.  I still get the same results.

I tried this again on my Windows 10 machine.  Another project, the Brackets editor source including node_modules.

search term 'million' v1.8.1 = 1.2 secs
search term 'million' v1.9.0 = 2.8 secs

I think I actually can repro this, not at a 2x slowdown, but a little slower. There are a couple things that could possibly have regressed this.

I think this is from https://github.com/Microsoft/vscode/commit/b4bbb5655d83df8939a118d8295307aba85e97ea#diff-8d34cbc5c6e742345fd2dc2dccf9c167 - it's a lot faster when I revert this, just because it adds extra function calls in very perf-sensitive code. It's going to be annoying to inline all that... Hopefully we can just switch to silver searcher or ripgrep this month anyway.

I wonder if the JIT can't inline those functions because of the partial application of peekLF and peekCR.  It might be worth trying to just call direct functions to see if the JIT will inline.

This will be in tomorrow's Insider build. Would appreciate it if you try it out and let me know!

@roblourens Current timings for my project wide search.
VSCode Insiders = 2.9
VSCode 1.9.1 = 7.7
VSCode 1.8.1 = 2.9
Awesome! looks like that fully restored the performance.  Thanks!
Just curious, any idea why V8 wouldn't inline the functions?

Perfect! I really don't know. There are a lot of nested functions in closures, and I think that impacts what optimizations it can do. I might be able to push it further by simplifying that file further.


Update nmdc.yaml for kegg aggregation classes

Updating slots to required for class FunctionalAnnotationAggMember, adding new class and slots for the metap aggregation collection.
See #1252 and #1253

@turbomam Let me know if this looks okay. Also, I wasn't sure how to add best_protein as required just for the new Class MetaPFunctionAggMember since best_protein applies to other classes currently.

I need some input here, the example data failed validation. I modeled this new class based on the collection that currently exists in mongo.  It uses an existing slot, best_protein. However the slot is used differently. Based on the current schema the range for best_protein is GeneProduct, with applicable classes of PeptideQuantification and ProteinQuantification. The way best_protein is used in the current metap_gene_function_aggregation collection it is populated with a true/false boolean (@scanon  please confirm).
If we make a new slot name this will require a migration and the aggregation code will have to be updated.
Please weigh in here @SamuelPurvine  @pdpiehowski @turbomam
example metap_gene_function_aggregation document
{
  "_id": {
    "$oid": "640fa0d0c239df02c4d727c7"
  },
  "metaproteomic_analysis_id": "nmdc:ec0db6c4103faf47d3393ec27d541639",
  "gene_function_id": "KEGG.ORTHOLOGY:K02358",
  "count": 17,
  "best_protein": true
}

The linkml/linkml repo has some issues that are relevant to this topic: when is monotonic specialization of a schema element required, recommended or optional. See especially @cmungall's Clarify semantics of overrides/non-monotonicity
The most common definitions of montonic are about mathematical functions: f(x) can only have one value. In the case of data modeling, it means (among other things) that a slot can have different ranges in different situations, but all of the ranges must be included within some common parent.
Allowing best_protein to have two completely incompatible and unrelated ranges when used with two different classes is about as non-monotonic as you can get. The GeneProduct class and the boolean type have no common parent.
From my perspective, a new slot is required.

metap_gene_function_aggregation is not a thing we created, it was made after our data were put into the system. best_protein is the term we are using for the protein that is most likely to be associated with the peptide that was identified, using parsimony logic. I can see where "best_protein" might have been used in a quick tossing together of the aggregation function to meet the needs, but minimally this should have been named something like is_a_best_protein to indicate whether the functional category is associated with a best_protein entry, which should have the same kind of data as a Gene_Product. We at PNNL certainly would not have tried to set best_protein to have those two ranges as that would just crerate problems down the roads, but again, we didn't write that aggregation function (to the best of my knowledge). So, if a new class needs to be created, please make it the boolian in the aggregation function and call it something that makes sense, such as the suggestion above.

@mbthornton-lbl  and @eecavanna wrote the migration code this week so @turbomam  this ready to be reviewed and merged in. This can wait until beginning on January.

I finished updating the migrator code to be compatible with the main branch (i.e. the changes that were merged into the main branch via commit https://github.com/microbiomedata/nmdc-schema/commit/42e24bd67e8ce7487907120efb3f9ac9879a43e7).

Thanks for making those changes. I don't have any concerns (all of the ones I had have been resolved).