text:
Issues with importing dump files

A user in discord was having issues related to imports, while debugging the issue I noticed a couple of things.

My import file was 30MB ish, but the import never completed. I had to cancel it by killing the process, as ctrl + c didn't work. Next I tried with a 10MB file, it was awfully slow
Dumps generated from sqlite don't work as they contain BEGIN TRANSACTION. We need to inform the user about this
When the imports fail, it dumps the entire file on the terminal. This would be a bad experience

My sample file generated from SQLite:
PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
CREATE TABLE test3 (
  id INTEGER PRIMARY KEY NOT NULL,
  x REAL NOT NULL,
  y REAL NOT NULL,
  z REAL NOT NULL
);
INSERT INTO test3 VALUES(1,-2600538349684600625.2,-2771290038714697701.0,7164873977611751598.7);
INSERT INTO test3 VALUES(2,3033783454728238737.6,-4758105825240102504.3,-451561723608579690.39);
INSERT INTO test3 VALUES(100000,9119805424044550079.5,-6910344938214794119.3,1939662950113159212.1);
COMMIT;

when I tried on shell:
$ turso db shell champion-arcana < my-small-db-export.sql

Error: failed to execute SQL: PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
CREATE TABLE test3 (
  id INTEGER PRIMARY KEY NOT NULL,
  x REAL NOT NULL,
  y REAL NOT NULL,
  z REAL NOT NULL
);
INSERT INTO test3 VALUES(1,-2600538349684600625.2,-2771290038714697701.0,7164873977611751598.7);
INSERT INTO test3 VALUES(2,3033783454728238737.6,-4758105825240102504.3,-451561723608579690.39);
INSERT INTO test3 VALUES(100000,9119805424044550079.5,-6910344938214794119.3,1939662950113159212.1);
COMMIT;

This might be more appropriately filed on https://github.com/libsql/libsql-shell-go/ since that's the underlying implementation of the shell.
What version of the CLI are you using?  Latest right now is 0.80.0. Your sample script works fine for me including the transaction. (interactively transactions don't work, and that I imagine that will not change soon).  However, the Turso shell should also generate dump output using a transaction (which it currently does not).  I've filed an issue for that: https://github.com/libsql/libsql-shell-go/issues/149
I'll also point out that the error message isn't at all helpful - it is just echoing back the entire contents of the input without saying what's wrong with it.  See: https://github.com/libsql/libsql-shell-go/issues/148

Oops, I was on v0.79.0. Updated to 0.80.0:

smaller files import is working now, but for larger files it is still failing. Since it dumps the whole thing, not sure whats the error is
The dump has BEGIN TRANSACTION and it works
It isn't as slow as earlier

since other issues are being tracked in shell repo, I am closing this.

authors: CodingDoug avinassh

repo: tursodatabase/turso-cli


text:
Updated libsql install instructions link

Also I assume it was meant to be "To install it[...]" - so updated that too

Looks like it's a duplicate of https://github.com/tursodatabase/turso-cli/pull/725 - sorry!

Thanks for the PR. But this was fixed in #725

source: gharchive/pull-request

authors: avinassh pxlprfct

license: MIT

license_type: permissive

license_source: github-api


text:
Make Conan Center Index work with Qt5 and Qt6

Making an issue to make it easier to track

@ericLemanissier I've started looking into running the browser too :rofl: and I will have to debug a bit, but I'm wondering about this bit in qt.conf
LibraryExecutables = bin/archdatadir/bin

should that maybe be
LibraryExecutables = bin/archdatadir/libexec

I will try to fill in the state here because I get confused
Qt5 - Windows 2019 - Release
Qt5 - Ubuntu 20.04 - Release
Qt5 - Mac 10 - Release
Qt5 - Mac 11 - Release
Qt5 - Mac 10 - Debug
Qt5 - Mac 11 - Debug (with recent XCode)
Qt6 - Windows 2019 - Release
Qt6 - Ubuntu 20.04 - Release
Qt6 - Mac 10 - Release
Qt6 - Mac 11 - Release
Qt6 - Mac 10 - Debug
Qt6 - Mac 11 - Debug (with recent XCode)

Qt5 Ubuntu fails to detect nss. Is the system libnss-dev package installed? Is the pkg_config_path variable set in you qt5 github action like it is in your qt6 github action?

Ah, no, the workflow I'm using here is the "Update Conan" workflow, which didn't have that - added it now - I'll add new links to the above

The Qt5 Mac 11 (Debug - I only have a debug build of it so far) build with new SDK needs the same patch Qt6 has

Since Qt6 Mac builds are timing out I'm going to do Mac 11 with new SDK locally - I gave it a go the other day and there was an issue around CMake targets - iirc it was because QtWebEngine is in Qt6 called QtWebEngineQuick. I'm doing new builds now though, so I'll post new logs.

Qt6 Windows failure seems to be this: https://bugreports.qt.io/browse/QTBUG-96533

Qt5 Windows is a mystery to me - it failed after 15 minutes

Qt5 Windows doesn't build in CLion for me because of the CXX thing: https://gist.github.com/patricia-gallardo/cb95187bd039be2e5df8e34dcdad64fe

Building new caches locally for Qt5 (master) on Windows and Ubuntu 20.04 - it will take awhile so they will probably be ready in the morning

Windows qt5 error is at https://github.com/turtlebrowser/turtlebrowser/runs/4076269823?check_suite_focus=true#step:11:2186
D:\a\turtlebrowser\turtlebrowser\release\short\cb4a06\1\qt5\qtbase\src\3rdparty\angle\src\libANGLE\renderer\d3d\d3d11\texture_format_table_autogen.cpp : fatal error C1083: Cannot open compiler generated file: '': Invalid argument
This error message is sometimes associated with some file paths too long. Is there a way to make it shorter?

This error message is sometimes associated with some file paths too long. Is there a way to make it shorter?

Yes, I think so.  One minute

Note to self - fix for 18.04 : remove pkgconf and install pkg-config

Going to try to make a list of changes needed to the Conan Center Index (as I understand things)

[ ] libexec in the qt.conf link
[ ] Patch missing from Qt5 recipe for MacOS11 with new SDK link
[ ] CLion build of Qt5 (CXX is set) link
[ ] QtWebEngineQuick cmake changes needed to link link

The second item should be solved with https://github.com/conan-io/conan-center-index/pull/7951, I think

Can you retry qt5 on Macos, now that the pr is merged ?

Can you retry qt5 on Macos, now that the pr is merged ?

It seems to have gotten past that error iirc - but it seems to get an error (log from local machine):
https://gist.githubusercontent.com/patricia-gallardo/d052400a589a08fdf32d36abcd685ebe/raw/348a32b22239d2b2092589ab990ca33ebfc62f89/gistfile1.txt

regarding the qt.conf issue. I can make a pull request on qt5 and qt6 to fix it. do you manage to start properly with only this change LibraryExecutables = bin/archdatadir/libexec ?

regarding the qt.conf issue. I can make a pull request on qt5 and qt6 to fix it. do you manage to start properly with only this change LibraryExecutables = bin/archdatadir/libexec ?

No, I don't think I managed to run yet, but I can try again. The QtWebEngineQuick cmake thing means I can't link TurtleBrowser in Qt6. I will have to try Qt5 on Linux or Windows, because Qt5 doesn't build locally on MacOS (I would have to try a different SDK).

the qtwebengine rename needs to be done also in the recipe, I'll made a PR for that.
LibraryExecutables seems to depend on the platform https://github.com/qt/qtbase/blob/efc1cd5799f692cfbc76bdfe1099d75141558c9b/src/corelib/global/qlibraryinfo.cpp#L500-L504, I'll make more research to confirm this.

I was wrong - in Linux in Qt5 this diff is all that I need to run TurtleBrowser
LibraryExecutables = bin/archdatadir/libexec

I can't test Windows for a couple of days because I'm going on a trip

https://github.com/ericLemanissier/turtlebrowser/actions/runs/1443988727. it's been a long time since all configuration have been green for so long. Fingers crossed it'll last until it misses disk space, or bails out after 6h....

source: gharchive/issue

authors: ericLemanissier patricia-gallardo

repo: turtlebrowser/turtlebrowser


text:
Issue with tus.upload Redirecting from HTTPS to HTTP, Causing an Error

Question
The issue is as described in the title. When attempting to upload files from the same or a different domain, the file transfer works fine in local and HTTP environments. However, when using HTTPS, the upload request is redirected to HTTP, causing an error.
httpStack.js:64 Mixed Content: The page at 'https://mydomain.io/pop' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://mydomain.io/f/files/c4b535d051e35cfeb87e000286adbf39'. This request has been blocked; the content must be served over HTTPS.
Below is the relevant portion of my Nginx configuration, where only domain-related information has been modified.
server {     listen 80;     server_name mydomain.io;     client_max_body_size 10240m;     return 301 https://$host$request_uri;  } server {     listen 443 ssl;     server_name mydomain.io;     client_max_body_size 10240m;     ssl_certificate /etc/ssl/certs/star__io.crt;     ssl_certificate_key /etc/ssl/private/star__io.key;     ssl_protocols TLSv1.2 TLSv1.3;     ssl_prefer_server_ciphers on;     ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";     location / {         proxy_pass http://$backend;         proxy_set_header Host $host;         proxy_set_header X-Real-IP $remote_addr;         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;         proxy_set_header X-Forwarded-Proto $scheme;     } }
Here is the code related to @tus/server and @tus/file-store in my Node.js application:
`const { Server: TusServer, EVENTS } = require('@tus/server');
const { FileStore } = require('@tus/file-store');
const tusServer = new TusServer({
path: '/f/files',
datastore: new FileStore({
directory: uploadPath,
maxSize: 10 * 1024 * 1024 * 1024 // 10GB
}),
maxUploadSize: parseInt(process.env.TUS_MAX_UPLOAD_SIZE, 10) || Infinity,
chunkedTransferDecoding: process.env.TUS_CHUNKED_TRANSFER_DECODING === 'true' || false,
threadLocalCache: process.env.TUS_THREAD_LOCAL_CACHE === 'true' || false,
});
router.all('/files', (req, res) => {
tusServer.handle(req, res);
});
router.all('/files/*', (req, res) => {
console.log(Received request: ${req.method} ${req.originalUrl});
tusServer.handle(req, res);
});
tusServer.on(EVENTS.POST_FINISH, async (req, res, upload) => {
console.log("-----------------------------------Upload complete event triggered");
try {
~~~~
} catch (error) {
console.error("Error during POST_FINISH event processing: ", error);
}
});`
And here is the tus.upload code:
`
Array.from(files).forEach(file => {
const fileSize = file.size;
let upload = new tus.Upload(file, {
endpoint: 'https://mydomain.io/f/files',
metadata: {
filename: file.name,
filetype: file.type,
filesize: fileSize.toString()
},
retryDelays: [0, 1000, 3000, 5000],
onError: function (error) {
console.log('Failed because: ' + error);
},
onProgress: function (bytesUploaded, bytesTotal) {
const percentage = (bytesUploaded / bytesTotal * 100).toFixed(2);
progressBar.style.width = ${percentage}%;
progressBar.setAttribute('aria-valuenow', percentage);
progressBar.innerHTML = ${percentage}%;
},
onSuccess: async function () {
// Success logic
}
});
upload.start();

});`
Additionally, the upload works correctly when sending to https://master.tus.io/files/.
Setup details
Runtime Environment: ubuntu 22.04, Chrome, Node.js 20.17.0, Express.js, EJS
Used tus-js-client Version: 4.1.0
Used tus Server Software: @tus/file-store 1.4.0, @tus/server 1.7.0
I apologize for any formatting issues; I'm still getting the hang of using GitHub.

I found the reason for the error. During the merge process, a colleague made changes to the file settings where the meta tags are stored.
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />

I think this is caused by not setting the respectForwardedHeaders in tus-node-server: https://github.com/tus/tus-node-server/tree/main/packages/server#example-use-with-nginx
Using the meta tag just covers the symptoms (insecure requests) instead of addressing the root cause (why is tus-node-server returning insecure URLs)?

However, I had already configured it before discovering that the meta code had been modified, but that solution didn't work. Does it need to be used together with the meta code?

Using Content-Security-Policy: upgrade-insecure-requests is not necessary (neither via the meta tag or as a HTTP header) to get tus uploads working if the tus server and proxy are configured properly.

authors: Acconut likecrazy

repo: tus/tus-js-client

license: mit

license_source: bigquery


text:
Reverse proxy support

Now UnroutedHandler.absFileURL function uses r.Host and scheme of server where the tusd handler is embedded. It would be great if the handler automatically detects proxied request using Forwarded/X-Forwarded-Host headers. I have to manually set r.Host before calling tusd handler to workaround the cross-origin error.

It's logical to me why we need this, thanks for bringing this to my attention.
Are X-Forwarded-Proto and X-Forwarded-Host the correct headers for detecting the original scheme and hostname?

Are X-Forwarded-Proto and X-Forwarded-Host the correct headers for detecting the original scheme and hostname?
yes, also you need to handle first more modern Forwarded header too.

BTW what do you think if the tusd package just accepting func UploadURL(id string) string in Config structure with absFileURL as default you have, so the app could customize this behavior. This configuration could be quickly implemented with small changes in your package and allows to avoid mutation of any request fields.

BTW what do you think if the tusd package just accepting func UploadURL(id string) string in Config structure with absFileURL as default you have, so the app could customize this behavior. This configuration could be quickly implemented with small changes in your package and allows to avoid mutation of any request fields.

I guess, it's not that easy. For example, in order to be flexible and generate a proper URL, absFileURL also needs to request object. I guess the function you suggest would also have this requirement.

absFileURL also needs to request object

right, i.e. function with two arguments!

@sergeyt I implemented a first draft in a separate branch in 27d6ade1878b4704c588655de4f4b32ed8825a64. By default, it's disable and must be enabled manually using RespectForwardedHeaders: true since I am a bit concerned about security. While the supplied protocol is validated, the host is not and a malicious client can form a URLs as it wants. I am not sure if this opens actual vulnerabilities but I will think a bit more about them. Then this branch will be merged into master.

@Acconut great, implementation looks trivial. This actually fixes the issue when the server is accessible only behind proxy. Also handling only one proxy is enough for now since proxy chaining is rare case.

This feature has now landed in master.

authors: Acconut sergeyt

repo: tus/tusd


text:
added goto top scroll button issue #23

issue #23

Bhai labels ??? Aur level ka v label


text:
Use transparent gif instead of png

Use a transparent gif for the placeholder. It has a much smaller string representation.

Project appears to be dead, so I'm removing this from my PR list.


text:
Foreign key constraint fails (jdbc, jpa, mysql)

Hello
Maybe this is a configuration problem on my end, but I tried it based on the sample 'lightmin-jpa-application' as well. The following describes what I did with the lightmin-jpa-application (all in ApplicationConfiguration.java):

Instead of a H2 in memory database, I changed the datasource(s) to

HikariDataSource dataSource = new HikariDataSource();
dataSource.setDriverClassName("org.mariadb.jdbc.Driver");
(...)

Changed the database from H2 to Mysql:

hibernateJpaVendorAdapter.setDatabase(Database.MYSQL);

Added the jdbc configuration repository annotation:

@EnableLightminJdbcConfigurationRepository

Of course I had to add the respective dependencies in the pom.
After I created the required tables I was able to start the application just fine. However, when I try to add a new scheduler (cron) the operation fails with the following exception:

PreparedStatementCallback; SQL [INSERT INTO BATCH_JOB_CONFIGURATION_VALUE (job_configuration_id,value_key, configuration_value) VALUES (?,?,?)]; (conn=603) Cannot add or update a child row: a foreign key constraint fails (testlightmin.batch_job_configuration_value, CONSTRAINT batch_job_configuration_value_ibfk_1 FOREIGN KEY (job_configuration_id) REFERENCES batch_job_configuration (job_configuration_); nested exception is java.sql.BatchUpdateException: (conn=603) Cannot add or update a child row: a foreign key constraint fails (testlightmin.batch_job_configuration_value, CONSTRAINT batch_job_configuration_value_ibfk_1 FOREIGN KEY (job_configuration_id) REFERENCES batch_job_configuration (job_configuration_)

The autoincrement value on BATCH_JOB_CONFIGURATION.job_configuration_id does increase, but no record is ever stored. Could there be a problem with a transaction, or did I miss something?

Hi @kevinzogg,
I adapted the jpa example for mariadb.
The branch can be found here: https://github.com/tuxdevelop/spring-batch-lightmin-samples/tree/issue_%2333
I hope this will help.

Hi @tuxdevelop
Thanks for your reply. The provided branch worked in my example. After a bit of searching the difference between your way and my way of doing it, I found the responsible line:
We have dataSource.setAutoCommit(false); when we build our dataSource and that seems to be the reason. I will need to ask/research what our reasoning for this is, but it is clearly set on purpose.
Is it intentional that spring-batch-lightmin requires autoCommit = true?
Thanks,
Kevin

hibernate also recommends to disable autocommit: https://vladmihalcea.com/why-you-should-always-use-hibernate-connection-provider_disables_autocommit-for-resource-local-jpa-transactions/

Hi,
Sorry for my late reply, I am very busy these days.
I see your point.
I already created a branch, where hopefully no auto commit is required anymore.
https://github.com/tuxdevelop/spring-batch-lightmin/tree/issue_%2333
If you could build this branch and test it in your setup would be very helpful.

Hi,
Same here, I will update you once I have the time to get new findings. But I can't really promise anything right now.
best regards,
Kevin

@tuxdevelop
I finally had some time to look at it again. I was able to use our DataSource with disabled autocommit and it seemed to work fine. At least the functionality I tested was working (starting jobs, creating/deleting a cron scheduler).
best regards,
Kevin

Hi @kevinzogg,
thank you very much.
I will create a 2.0.2 release as soon as possible which includes the fix.
Greetings,
Marcel

Hi,
versions 1.0.2 and 2.0.2 are released and they are containing the fix.

authors: imod kevinzogg tuxdevelop

repo: tuxdevelop/spring-batch-lightmin


text:
光标在标题栏时，点击文件侧边栏的本文件图标无法聚焦

如图，此时我的光标在标题栏

点击左侧的测试2按钮，看到光标仅会跳转到正文部分

如果点击其他文件按钮，可以看到光标从正文部分一闪而过，然后立即跳到对应文件中去
不知道这是否是一个特性呢，我在点击后想要应用快捷键command+backspace删除文件，但是却没有达到预期效果

https://github.com/tw93/MiaoYan/releases/tag/V0.6.2


text:
Checkmark in checked custom checkbox and radio doesn't display in Firefox

http://joxi.ru/p27LNavcJ4gdA7
Without checkmark and bullet inside.

@rorc What OS are you using? What version of Firefox?

@cvrebert Windows 10, latest firefox 50.0.2

Can confirm on Win10 with FF50 and FF51

This bug by svg like this https://github.com/twbs/bootstrap/issues/21258

that should also be fixed by https://github.com/twbs/bootstrap/pull/20962 - have you actually tried the latest version from the repo?

Have same issue with alpha5. Latest dev works.

Latest dev works.

i.e. "latest version from the repo" which includes the fix from #20962

authors: Mevrael cvrebert patrickhlauke rorc tomlutzenberger

repo: twbs/bootstrap


text:
NavBar links stacks

Hello this may be an issue since i tested this with two versions, please see my stackoverflow question,
Based on my testing below;
version: Bootstrap v4.0.0-beta (https://getbootstrap.com) - result is OK
version: Bootstrap v4.0.0-alpha.6 (https://getbootstrap.com) - result is NOT OK

you used  navbar-expand-lg, that means be a mobile menu at and before the lg breakpoint

Im using the exact same code with different versions of bs4. Isn’t that expected to yield the same result?.

too really understanf what youre talking about, please provide a codepen, jsfiddle or another live code example

Issues are for bug reports and feature requests, not general how-to questions. For that, we suggest the official Slack channel or Stack Overflow. Both are linked from our readme.
Thanks!

authors: gijsbotje lemoncodes91 mdo


text:
display heading classes don't scale based on font-size-base

I've noticed that while customizing bootstrap themes for my sites that the display classes don't scale their size based on the $font-size-base value, which can lead to some strange situations and the need for additional customization. Example:

The fix for this seems to be relatively straightforward but I am not sure if it's intentional or if there's other side effects. Or, if there's other parts that should scale as well such as the navbar padding in the example above. I'd be happy to open a PR if you'd like.

Duplicate of #22104.

Ah, good deal, I didn't see the dupes when I searched. Cheers!


text:
Arrow-up-circle and Arrow-down-circle SVG swapped

Before opening:

Search for duplicate or closed issues
Validate any HTML to avoid common problems
Read the contributing guidelines

Bug reports must include:

Operating system and version (Windows, macOS, Android, iOS)
Browser and version (Chrome, Firefox, Safari, Microsoft Edge, Opera, Android Browser)
A reduced test case or suggested fix using CodePen or JS Bin

The two arrow icons are swapped and developers have to do some experimenting before finding solution.

Bug reports must include a live demo of the issue. Per our contributing guidelines, please create a reduced test case via CodePen or JS Bin and report back with your link, Bootstrap version, and specific browser and operating system details.

This is a saved reply.

authors: Nzinzilish ffoodd


text:
Provide a general summary of the issue

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
Hi! I'm started in HTML around 1 month, I need your help! And sorry, the English is not my first language.
My div container and his rows seem to not  close properly. If I use the container class all items that come after seem to be inclued with the div, like as my footer. I have tried to find out the reason but I'm not able. I put border at all items to see exactly where the div closes and his rows and I did same with the background color.
Here is my complete code:

                Bootstrap
              <button class="navbar-toggler bg-primary" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">

              </button>

                    Home

Liste d'items technologiques.

Souris.

Écran.

Clavier.

Mémoires.

Petite photo "funny"!

Hacking!

Le mode sombre du piratage informatique.

                        Par ici!

Sony PSP

Petite console portable de Sony.

                        Spécifications ici!

Hacking!

Le mode sombre du piratage informatique.

                        Par ici!

Sony PSP

Petite console portable de Sony.

                        Spécifications ici!

   ©   Technique informatique – Automne 2021

.
Reduced test cases
Sorry, I don't understand what you want here exactly.
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.1.3

You have an unclosed
 in your nav. That may explain your issue.
Please check your HTML using the W3C markup validation.
For your information, checking the source code of your page using ctrl+u in your browser should highlight such errors in red.
Does it help?


text:
Row columns responsive breakpoints

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
Row columns responsive is not working correclty with responsive breakpoints when using a specifig col, example col-12 with row-cols-2.
Reduced test cases
https://jsbin.com/mohozuyame/1/
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome, Safari, Firefox, Microsoft Edge, Opera
What version of Bootstrap are you using?
v5.1.3

Bug report on issue #29778 but closed because no test cases.

@WinterSilence the problem is after sm. The last col of the first exemple will do 100% like the second example.

@ytilotti i'm set column numbers in your example: https://output.jsbin.com/honajod
what's you mean "after sm"? column 3 not same to 6 because .row-cols-sm-* work not same to row-cols-*?

@WinterSilence. Your exemple isn't is the same way. I edited: https://jsbin.com/mohozuyame/1/
If media as ≥576px you are agree that row-cols-sm-* is equal to  row-cols-*, but the result is not the same.

@ytilotti  media must be < 576px to cols be equal

Before 576px row-cols-* it's not necessary: https://jsbin.com/fazinugoba/.
You don't see the problem with row-cols-(sm|md|lg|xl|xxl)-* ?

@ytilotti if I don’t see problem it doesn’t mean that it doesn’t exist, I could have misunderstood you.  Try to explain in detail what problem is and how to fix it.

I try but it's not easy.

https://jsbin.com/mohozuyame/1/

In this example, the case 3 will do 100%. row-cols-(sm|md|lg|xl|xxl)-* is active after breakpoint sm|md|lg|xl|xxl.
row-cols-sm-* is active after 576px to infinite and row-cols-* is activer after 0px to infinite. So after 576px, row-cols-sm-* = row-cols-*.

ghh

mmcp.sa@gmail.com

koool  00966544410001

You'll need to start with .row-cols-1 and then bump it up responsively as needed with .row-cols-sm-2 if that's what you want. Without that, the column classes will inherently try to share the available horizontal space.

Found a few of these closed with no resolution while trying to find the solution to what I think is the same problem.
Maybe this can help...
https://jsbin.com/fuletonile/edit?html,output
Shouldn't col-12 always be full-width in that example?

authors: WinterSilence mavelo-llc mdo qygce8-juffIh-kubcom ytilotti


text:
Added link to creative commons license

The previous link is dead one.

Actually, we should link to https://creativecommons.org/licenses/by/3.0/

I was actually waiting for someone to tell what is the actual license used. Thanks. I will update it.


text:
support for 3.7

The library does not work with python 3.7. Is there any possibility of making it python3.7 compatible?

Duplicate of #1063

repo: tweepy/tweepy


text:
streamingClient.filter() hangs

Hello, I have the following sample code, where I try using the streamingClient for Twitter's API v2, however, when running the filter() function it just keeps hanging without returning anything. I have tested it on multiple basic rules.
Note: I have tested the streamingClient with the sample() function and it works, however the filter() doesn't
Here is the code:

Any fix?

I'm unable to reproduce this issue.
Are you getting a successful response from add_rules?
Is there any relevant information when you enable logging?

@Harmon758 The following is the response I get for adding a rule. Afterwards, as you can see running the filter() just stays hanging.
I'm using tweepy 4.8.0 btw

@Harmon758 And this is the logger's output

Any idea ?

Can you paste the relevant code here?
What response do you get from calling get_rules after you add the rule?

@Harmon758 Here is the response of get_rules :

Ah, it seems like this is an issue on Twitter's end rather than an issue with Tweepy.

https://twittercommunity.com/t/stream-stopped-getting-updates/169105 might also be relevant.

I believe this is resolved now on Twitter's end.


text:
Missing favicons for some href's

As discussed in https://discord.com/channels/1130383047699738754/1261068436419776644
Some hrefs found are not a relative link to a favicon.ico image, but instead a full url to a static asset, resulting in missing favicons in the twenty-favicon cache. https://favicon.twenty.com/<companydomain>.
Another missing favicon is where the href is a relative link to a .svg file.
I believe the href pushed here has to be santized somewhat.
https://github.com/twentyhq/favicon/blob/81024b6f5da85a7a1b5ec8057c2fa0908953d553/src/favicon/url-fetcher/html.url-fetcher.ts#L42
See example domains nnd.no, unibuss.no and lovenskiold.no

Thank you @thilles :)
@gitstart-twenty could you take a look at this one?

authors: charlesBochet thilles

repo: twentyhq/favicon


text:
Version 1.15 not backwards compatible with version 1.14 and older

1.15 needs a newer node (>=8.16) version than 1.14 (>=6.0).
This breaks a package depending on this one for me, because I have Node 8.10 (Default on Ubuntu 18.04 LTS) and that package specifies "twig": "1.10.5" as dependency.
Because of this, version 1.15 actually should be a version 2.0.0.

Unfortunately, there were several breaking changes that should have been tagged as v2.0.0. This did not happen though, so there isn't much that can be done at this point. There shouldn't be any more breaking changes before v2.0.0.

authors: jbaron-gingco willrowe


text:
Add /io/archive, fix broken error handling response code

Added the /io/archive route.

Gonna land this but see this issue https://github.com/humphd/next/issues/118 for a follow-up bug.


text:
My Twilio Dev Number is failing to start ❓

This is the output that I'm getting when I try to start my Twilio Dev Phone. I logged in before running twilio dev-phone but the Dev Phone won't start, I'm copying the debug output as indicated.
➜  ~ twilio dev-phone -l debug
[DEBUG] Config File: /Users/valeria/.twilio-cli/config.json
[DEBUG] Using profile: ${TWILIO_ACCOUNT_SID}/${TWILIO_AUTH_TOKEN}
Hello 👋 I'm your dev-phone and my name is dev-phone-9825

[DEBUG] Found command "dev-phone" plugin: @twilio-labs/plugin-dev-phone
 » twilio-cli encountered an unexpected error. To report this issue, execute the command with the "-l debug" flag, then copy the output to a new issue here: "https://github.com/twilio-labs/dev-phone/issues"
[DEBUG] accountSid must start with AC
[DEBUG] Error: accountSid must start with AC
    at new Twilio (/Users/valeria/.twilio-cli/node_modules/twilio/lib/rest/Twilio.js:148:11)
    at new initializer (/Users/valeria/.twilio-cli/node_modules/twilio/lib/index.js:10:10)
    at DevPhoneServer.buildClient (/Users/valeria/.twilio-cli/node_modules/@twilio/cli-core/src/base-commands/twilio-client-command.js:138:12)
    at get twilioClient [as twilioClient] (/Users/valeria/.twilio-cli/node_modules/@twilio/cli-core/src/base-commands/twilio-client-command.js:125:26)
    at DevPhoneServer.<anonymous> (/Users/valeria/.twilio-cli/node_modules/@twilio-labs/plugin-dev-phone/dist/commands/dev-phone.js:65:18)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/valeria/.twilio-cli/node_modules/@twilio-labs/plugin-dev-phone/dist/commands/dev-phone.js:5:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
```

@Valvalvaal it seems like the profile is maybe set up incorrectly? It seems like a strange value is being used for the account sid. Out of curiosity, which version of the CLI are you using?

authors: Valvalvaal ayyrickay

repo: twilio-labs/dev-phone


text:
Bump guardrail version

Contributing to Twilio

All third party contributors acknowledge that any contributions they provide will be made under the same open source license that the open source project is provided under.

[X] I acknowledge that all my contributions will be made under the project's license.

Hey @sbrunk! Please pardon the delay, I'm still trying to get CI/CD set up for all guardrail repos. The maintenance burden of a cluster of inter-dependent repositories has been more of a time sink than initially anticipated. I'll have this resolved shortly.

Rebased and updated to 0.50.0

authors: blast-hardcheese sbrunk

repo: twilio/sbt-guardrail


text:
document and present Capability

Question
Is there any Option for upload a document and present it on this lti app?
We need this basic feature for the live chat. If it was not means we have to implement this feature, to implement this please answer the blow questions to help us. Thanks
Could you please help me to how i have to implement this?
Where I have to implement and record this things and all?

Hi @Denesh11 ,
There are many tutorials online that demonstrate how to upload a document. Right now, there are no plans to implement this on our end.

repo: twilio/twilio-video-app-react


text:
Getting 400 Error Code

Hi,
I am trying to fetch the sample code but it's returning (400 Bad Request) error code. Here's my code:
const igdb = require('igdb-api-node').default;
const apicalypse = require('apicalypse')
const client = igdb('my-key');

async function queryMode() {
    const response = await client
    .fields('name,age_rating,platforms')
    .limit(5)
    .offset(100)
    .sort('name')
    // important bit here
    .where('platforms.category = 6')
    .request('/games')

return response.data;
}

queryMode().then((data) => {
    console.log(data)
}).catch((e) => {
    console.log(e)
})

The following code is working now.
async function main () {
    try {
      // const where = 'release_dates.platform = (6)'
      const where = '(platforms = [6,48] & genres = 13) | (platforms = [130,48] & genres = 12)'
      const response = await client
        .fields('name')
        .limit(20)
        .offset(0)
        .where(where)
        .request('/games')
      console.log(response.data)
    } catch (error) {
      console.log(error)
    }
  }
  main()

repo: twitchtv/igdb-api-node


text:
Allow for bad jobs to go to its own queue

Bad jobs will go to a bad jobs queue now. The bad jobs still go to bad_jobs.log and can be disabled via Logger config.

#shipit

authors: alanliang stuhood

repo: twitter/gizzard


text:
Moved methods to packing utils

fixes #1457

@billonahill Can you please take a look at this? It is some refactoring for the RR repack

Looks good, just one nit.

👍 once ci passes

authors: avflor billonahill

repo: twitter/heron


text:
ISpoutDelegate and IBoltDelegate to implement IUpdatable

Fixes #1744

@objmagic can we cherrypick this one into the release too?

@billonahill it is too late, but since we haven't announced yet I can perform some git operations to get it in...

@billonahill done with the git surgery. we can get it in 0.14.6

@huijunw yes, makes sense. Will update.

updated

lgtm. 👍

authors: billonahill maosongfu objmagic


text:
Master and slave have equal Mysql server ids

Fatal error: The slave I/O thread stops because master and slave have equal MySQL server ids; these ids must be different for replication to work (or the --replicate-same-server-id option must be used on slave but this does not always make sense; please check the manual before using it).
don't start replication.

How did you get this error?
Mysos scheduler controls the server id that each instance uses and it's incremented each time an instance is launched to guarantee its uniqueness.
Could you elaborate on your setup?

I got eth error when used vagrant test this project，so my setup was defaults in vagrant。

for anyone else who runs into this, it happens because mysql 5.6 doesn't allow slave_id 0 to be used with replication enabled.  If it's set to 0 it auto-increments to 1, which collides with the second mysos task.  The fix is pretty simple - just start numbering the instances at 1 instead of 0: https://github.com/benley/mysos/commit/531478e517c7810e5287a91b4bd30e364cf6736c

I did face the similar issue with the same error. The solution was to correct the PublicIP while creating a salve in the "CHANGE MASTER TO MASTER_HOST" query.
The same error does appear when you use the same IP of the slave as a masterIP while creating a slave. Hence, the MySql slave server tends to point to the same server IP (Slave IP rather than the master IP) forming a conflict of same server ID

authors: benley puluto seadonfrank xujyan

repo: twitter/mysos


text:
U.S. flag

The U.S. flag is supposed to have 50 stars according to this:
https://en.wikipedia.org/wiki/Flag_of_the_United_States
but Twemoji https://github.com/twitter/twemoji/blob/gh-pages/2/svg/1f1fa-1f1f8.svg has only 18!

We take a fair amount of liberties in our creation of each flag to ensure better legibility as @Crissov has mentioned.

Don't think it should affect quality much. This page has the images of the flag from others (Facebook, Mozilla etc) and they seem to be fine:
http://emojipedia.org/flag-for-united-states/

Emojipedia shows rather large images. Emojis are mostly used at text size, i.e. around 16px.
Google Noto and Emojione do not show 50 stars either.

https://github.com/googlei18n/noto-emoji/blob/master/svg/emoji_u1f1fa_1f1f8.svg
https://github.com/Ranks/emojione/blob/master/assets/svg/1f1fa-1f1f8.svg

That emojione is a round emoji, so!
For svg, it isn't that problematic. The UN flag has a large size in Twemoji itself.
I can easily resize the Facebook emoji to 16px and the file size also falls. Plus the version 2 emoji is 72x72 minimum.
The argument of taking liberty is fine but I don't think resolution or the size is any constraint here.

the version 2 emoji is 72x72 minimum

That's to simplify maintenance and preserve good quality on 3X+ HiDPI screens without needing to use SVG which are overall heavier, specially on Mobile.

The argument of taking liberty is fine

Good, and since this has been closed already, I hope we can all move on.

authors: Crissov WebReflection bhaggs vijayaraghavanramanan

repo: twitter/twemoji


text:
support geo commands and nested multibulk reply.

support GEO Commands
-> geoadd, geohash, geodist, georadius, georadiusbymember
support nested multibulk reply
-> geo commands return nested multibulk reply

currently we only support this type of multibulk
                 * - mulit-bulk
                 *    - cursor
                 *    - mulit-bulk
                 *       - val1
                 *       - val2
                 *       - val3

but georadius and georadiusbymember returns maximum 3 depth multibulk. so this patch supports this kind of multibulk also.
                 * - mulit-bulk
                 *    - multi-bulk
                 *       - val1
                 *       - val2
                 *       - val3
                 *    - mulit-bulk
                 *       - val1
                 *       - val2
                 *       - val3
                 *
                 * - mulit-bulk
                 *    - multi-bulk
                 *       - val1
                 *       - multi-bulk
                 *          - val2
                 *          - val3
                 *    - mulit-bulk
                 *       - val1
                 *       - multi-bulk
                 *          - val2
                 *          - val3

@manjuraj Thanks. I will apply your review soon.

@manjuraj I applied your reviews :) Thank you :)

@charsyam can break this review into two parts:
a) support for geo commands
b) supported for nested multibulk
also please follow the coding style guidelines :)

@manjuraj Thanks for your kind review :)
I will check more before PR :)
and Do you mean break this patch to a), b)?
and is there any violation the coding style guidelines after applying reviews?
:)

yes, break it into (a) and (b)
for coding style while() should be while (). please pay attention to whitespaces

Any Idea how soon this will get released..

Any updates on when the support for geo commands will be released? We have a redis+twemproxy configuration for our product and geo commands will significantly reduce server side latency, hence would really love to have this support available asap.

@vindhyaj If you want to try this.
this is my own patch version.
https://github.com/charsyam/twemproxy/tree/tags/unofficial-0.4.1-cs1

Any updates on this?

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.clark.kang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Support for multibulks was added in #612
Support for many new redis commands (including geo commands) was added in #599
If you discover any bugs or missing functionality, please open a new issue/PR

authors: CLAassistant TysonAndre anishek charsyam dennismartensson manjuraj vindhyaj

repo: twitter/twemproxy


text:
JS Documentation

Where is the JS/library documentation?

Would have expected some inline method documentation as minimum?

https://github.com/twitter/twitter-text/blob/master/js/README.md

authors: Karnifexx meandavejustice

repo: twitter/twitter-text


text:
征服圈外

黃河樺

黃河樺

https://www.facebook.com

repo: twitterdev/autohook


text:
Allow players to force the start (-f)

Sometimes it says there is not enought players but please do it forceable.

This is only in Blitz right?

@SungMatt Yes

authors: SelfieOCN SungMatt iEli2tyree011

repo: twizmwazin/CardinalPGM


text:
Add Other Tools section in README

Add Other Tools Integration section, with links to :

Mega-Linter : see rst-link page
SublimeLinter-rst

Ah, great idea! I'm a little weary about putting hardcoded references in the repo though. It would make project maintainers gatekeepers, and theoretically could create README bloat
Could you make this a wiki page and we'll reference that from the README?

Sorry, my english capability has its flaws (I'm french ^^)
Do you mean that you would like a wiki page on restructuredtext-lint repo or on Mega-Linter repo ?

If 1, do I have the rights to do that on your repo ?
If 2, informations are described in a YML file then used to build dynamic info and generate online documentation, so I can't really put that in a wiki, but checks for dead links are implemented, + dynamic infos (like help) are refreshed when necessary

Please let me know :)

Not a problem =) I can't speak of word of French so you're way ahead of me there
Yes, I'd like a wiki page on restructuredtext-lint
The main repo and the wiki repo don't share rights. Wiki repos are set to public by default (like Wikipedia), I could lock it down but I don't
https://github.com/twolfson/restructuredtext-lint/wiki
Once the page is set up, then I'll add a section and reference to it in the main README
Does that work for you?

I might also be entirely wrong about the public wiki permissions. If you don't see a way to add a page, then let me know

Done ;)
https://github.com/twolfson/restructuredtext-lint/wiki/Integration-in-other-tools

Wonderful! Looks great! I'm heads down on another task at the moment but should get to adding a section + link to the README soon
Thanks for being flexible =D

Alright, the new section has been added and we've published to PyPI for distributed info. Thanks again for your help on this! =D
https://github.com/twolfson/restructuredtext-lint/wiki/Integration-in-other-tools

authors: nvuillam twolfson

repo: twolfson/restructuredtext-lint

license: unlicense


text:
feat: turn methods private and fix text moving depending on number te…

When using the slider for device battery, I saw a common problem: all the text around was moving when the number is changing.
So, for fix this, I added a font modifier with monospacedDigit() in the Apple's documentation it is saying:  Returns: A font that uses fixed-width numeric characters.
Before the patch
https://github.com/twostraws/ControlRoom/assets/63256761/5dca488c-e8ed-4f18-b4d2-fff207003226
After the patch
https://github.com/twostraws/ControlRoom/assets/63256761/a16e89c3-2839-4a2c-9d08-c53bb5104a7d
All text is only moving when the slider value goes from 9 to 10 and 99 to 100.
I thought to add animation as the one on the Apple Watch but it is too much for a developer software.
Access control
I declared method on the view as private for being more comprehensive by the compilator and maybe win some milliseconds at build time.
If you see something to improve let me know about it.

@twostraws  what's the convention about indentation ? I think I made something wrong on this MR so much code where touched by indentation after cmd + a cmd + i ?

Thank you! Regarding spacing etc, ideally the issue should be flagged up by SwiftLint, but if it isn't we should look to add a rule.

authors: Harry-KNIGHT twostraws

repo: twostraws/ControlRoom


text:
Render Issue. Flight Anchor shaft is in an incorrect position. 1.20.1 [Forge]

Latest version, forge, when in doubt blame GeckoLib

From another angle

Updated forge and somehow this issue fixed itself.

repo: txnimc/BalancedFlight


text:
specify transformers version

bert_modeling and NormLayer error when transformers version >= 3

issue #4


text:
Document that arbitrary key/value pairs are allowed

Is this a BUG REPORT or FEATURE REQUEST?:
feature
Arbitrary key/value pairs should just be discarded (this allows to upgrade TXT records in case a newer version of TXTDirect uses new keys, without breaking older versions)
Arbitrary data, however, shouldn't be allowed. (except for the to= URL)
Summary:
v=txtv0;to=https://txtdirect.org;code=302 -> works
v=txtv0;https://txtdirect.org;code=302 -> works
v=txtv0;to=https://txtdirect.org;code=302;tracking=true -> works
v=txtv0;https://txtdirect.org;302 -> fails
v=txtv0;to=https://txtdirect.org;302 -> fails

We are logging arbitrary data usage and don't allow URL definitions without to= key anymore. Basically we are defaulting to being strict.

authors: alarsyo stp-ip

repo: txtdirect/txtdirect


text:
Fix issues with complex-valued beam

fftvis.simulate_vis currently makes the assumption that the beam is real-valued and that the hermitian symmetry of the uv-plane can be used to compute negatively oriented baselines. If one provides a complex beam, such as a polarized beam, this assumption is broken. This should be addressed soon

Closed with https://github.com/tyler-a-cox/fftvis/pull/7

repo: tyler-a-cox/fftvis


text:
Fix up Parse -> Parsec, misc. other Cabal 2.2+ changes.

This fixes up stackage2nix for Cabal-2.2+, but breaks backwards compatibility. If it's desired to continue supporting older Cabal versions, CPP could be used at these sites. However, given that backwards-incompatible changes WRT Nix have already been made, the value of doing so is unclear. It's already necessary to use older versions of stackage2nix when using a nixpkgs checkout with older factorings of Haskell packages (unless I'm doing something wrong/missing something).

Dropping the compatibility with older Cabal is ok, we'll release the new version of stackage2nix.
Looks like everything is fine. Thank you!


text:
Add Span and Tracer macro implementations

I'm trying to split https://github.com/typelevel/otel4s/pull/37 into smaller pieces to simplify the review process.
Notables changes:

Preserve laziness via macros (SpanMacro and TracerMacro)
Rename Span#setAttribute -> Span#addAttribute
Rename Span#createAuto -> Span#start
Rename Span#startManual -> Span#startUnmanaged
Reorder elements in alphabetic order (where it makes sense)

@rossabaker could you take a look once you have time, please?

After #37, is there anything here that's unique, or is this just a strict subset of that?

It's a subset of #37.

authors: iRevive rossabaker


text:
Preferences and Guide Editor Pop Up raise error

Hello,
the tool works great until I either want to access the Preferences or I try to open the guide editor.
Trying to open the preferences raises this error:
Traceback (most recent call last):
  File "menu_showPrefs.py", line 4, in <module>
  File "lib/scripting/nameSpaceCallbacks.pyc", line 51, in OpenWindow
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/ezui/controllers.py", line 37, in __init__
  File "/Users/daniel/Library/Application Support/RoboFont/plugins/Guide Tool.roboFontExt/lib/guideTool/defaults.py", line 298, in build
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/ezui/tools/builder.py", line 72, in makeItem
TypeError: __init__() got an unexpected keyword argument 'contentDescription'

Trying to open the Guide Editor this one:
Traceback (most recent call last):
  File "/Users/daniel/Library/Application Support/RoboFont/plugins/Guide Tool.roboFontExt/lib/guideTool/tool.py", line 537, in keyDown
  File "/Users/daniel/Library/Application Support/RoboFont/plugins/Guide Tool.roboFontExt/lib/guideTool/tool.py", line 265, in openGuidelineEditor
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/ezui/controllers.py", line 37, in __init__
  File "/Users/daniel/Library/Application Support/RoboFont/plugins/Guide Tool.roboFontExt/lib/guideTool/editor.py", line 223, in build
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/ezui/tools/builder.py", line 72, in makeItem
TypeError: __init__() got an unexpected keyword argument 'contentDescription'

I’m currently using
RF Version 4.2 (build 2204191146)
Guide Tool 1.1 from Mechanic
on a
M1 Mac with OS Monterey 12.0.1
Tried with the install from Mechanic and downloaded directly from the repo :(

This will be fixed soon. I made some changes in ezui and this tool needed to be updated.

This should be fixed in the version I just released. There may be other issues because of ezui changes between RoboFont 4.2 and the in-development 4.3.

authors: ddaanniiieeelll typesupply

repo: typesupply/guidetool


text:
Is Typhoeus thread safe with basic usage?

See: https://github.com/iron-io/iron_core_ruby/issues/5

We were quite worried about this behaviour and so have been investigating it.
I have been unable to reproduce these results (I used iron.io and everything to attempt to reproduce your results @carlallen)
Sometimes the 3rd or 4th thread would return the result and the first few threads would all have blank results (as desired). This convinced me because that seems like it would have caused all threads started before it to exhibit the race condition problem and return the response that the 3rd thread just got back.
I had a few questions:

Did this problem occur regardless of headers sent?
This may seem like a harmless problem in some situations but when it comes to headers there are a few examples where it's terrible.
The first that came to mind is different 'Content-Type' heads like application/json vs. application/xml the bodies would be completely different.
Even worse 'Authorization' headers would mean different users accessing the same resource may get different results.

Were these problems maybe occuring using jRuby? I saw at least one other issue that was specific to jRuby when reading the issues.

Thanks,

I never tried jruby but I saw the same behavior in both mri and rubinius.

You could test this by creating a simple webserver that returns an incremented number on each GET request, then use a thread pool to request to the server multiple times.
Something like this:
require 'thread/pool'

pool = Thread.pool(5)

url = "http://example.com/incrementer"

5.times{pool.process{puts Typhoeus::Request.get(url).body}}

I end up with outputs like:
1
1
1
1
1

When I would expect
1
2
3
4
5

Did you just test that again? Because this test seems like it would act exactly the same as the previous. I got the iron.io test to work, but it doesn't reproduce the issue.
I always get the desired output back
{"messages":[{"id":"MESSAGE_ID","body":"Hello World","timeout":60,"push_status":{}}]}
{"messages":[]}
{"messages":[]}
{"messages":[]}
{"messages":[]}

Just tested it and it seems like it's doing what it should be. I hadn't tested this in over a year, so I can only assume the bug has since been fixed.

Hmm... looks like I haven't upgraded typhoeus since the last time, but I did change ruby versions. Let me look to see if it still fails in the old version.

Ok, looks like I was wrong. My project got upgraded to 0.6.5, and this issue seems to be fixed in that version. When I discovered this bug I was running 0.4.2. Based on what I see now, I would consider this bug fixed.

Thanks for your work @carlallen and @nathanhoel! I will close this issue then. If you run into any other problems, feel free to create a new one!

authors: carlallen i0rek nathanhoel treeder

repo: typhoeus/typhoeus


text:
set default indentation for all first line of paragraphs

Description
https://typst.app/docs/reference/layout/par/ says
first-line-indent
The indent the first line of a paragraph should have.

Only the first line of a consecutive paragraph will be indented (not the first one in a block or on the page).

is there a way to set all paragraphs have an indentation of 2 characters(2em?) by default? Thanks
p.s. It seems that we can add a title as following to solve the problem, but sometime the article to be written is not a full article, but is a fragment without title. So I think it is still desired feature to set default indentation for all first line of paragraphs.

#set par(first-line-indent: 2em, justify: false)
#show par: set block(spacing: 0.65em)

#align(center, text(17pt)[
  *I am a title*
])

paragrah 1 with indentation of 2 characters in the first line.

paragrah 2 with indentation of 2 characters in the first line.

$ sin(theta) = y/sqrt(x^2+y^2) $,

#set par(first-line-indent: 0em, justify: false)

where, x is ..., y is ...

#set par(first-line-indent: 2em, justify: false)
paragrah 4 with indentation of 2 characters in the first line.

Use Case
For serious articles in Chinese, for example, book, journal article, dissertation and so on, two kinds of indentation are used mostly

indentation of 2 characters are used for most of the time for the beginning of a paragraph
no indentation is accepted if the paragraph is just a discussion/conclusion on formula just stated

Duplicate of #311.

authors: laurmaedje retsyo

repo: typst/typst


text:
Missing kerning in some maths element-functions

Description
In some element-functions, e.g. attach or vec, no kerning is applied. In other element-functions, such as lr or sqrt, it's rendered correctly. For example, in this formula, the first three terms have proper kerning in 0+-x, but the last two don't:
$0+-x #h(1em) sin(0+-x) #h(1em) sqrt(0+-x) #h(2em) a^(0+-x) #h(1em) vec(0+-x)$

Reproduction URL
No response
Operating system
Web app
Typst version

[X] I am using the latest version of Typst

This is actually intentional and inherited from LaTeX. This spacing-less style is called "cramped" in the TeX book and is automatically applied to exponents.
For vectors/matrices, it is the same in Typst, but I'm actually not sure whether it works that way in LaTeX.

authors: laurmaedje lumi-a


text:
Fix-x-button-not-working-properly

Fixes #148

GJ it's working fine just a little change.

authors: MohamedBechirMejri yaakoubiIheb

repo: uNotesOfficial/upup


text:
Minor renaming

I'd like to suggest changing a couple of things in the Parser API:

Rename get to default.
Rename create to fromStream and make it safe via Try, since the user's loading arbitrary stuff and the YAML parsing may throw an exception.

This is super nitpicky but I feel like get generally means something else in Scala APIs and both methods create an instance.
I've deprecated the old names and will plan to remove them after 0.2.0 if this gets merged. (I've left them  in use in the tests for now to keep code coverage intact, but will change that after 0.2.0.)

Codecov Report

Merging #21 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #21   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           6      6
  Lines          75     80    +5
  Branches        6      5    -1
=====================================
+ Hits           75     80    +5

Impacted Files
Coverage Δ

.../main/scala/org/uaparser/scala/CachingParser.scala
100% <100%> (ø)
:arrow_up:

src/main/scala/org/uaparser/scala/Parser.scala
100% <100%> (ø)
:arrow_up:

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 a1fad79...2898ecd. Read the comment docs.

Changed fromStream to fromInputStream based on a suggestion by @thomas-stripe.

LGTM

authors: codecov-io tixxit travisbrown

repo: ua-parser/uap-scala

license: WTFPL


text:
"Cannot read properties of null (reading 'cruts31')" error at 51.77, -176.65

The following report bombs with a "Cannot read properties of null (reading 'cruts31')" error:
http://localhost:3000/report/51.77/-176.65
This is from the latest main branch of both the data-api and iem-webapp, running locally.

Ticket for the data side of things is at ua-snap/data-api#172.

authors: brucecrevensten cstephen

repo: ua-snap/iem-webapp


text:
Bug with docker permissions for non-root users

In some circumstances, users are finding permissions denied problems when running various utility scripts in the docker container.
Users should not need to be root inside the docker container, and in fact this will create problems later on if files are created as root user, they will not be editable later by non-root users. The docker containers are designed such that all work inside them should be done as the special develop user that is defined in the Dockerfile.
The solutions for this are to:

Don't run as root inside your containers when you touch any files in mounted volumes.
If you encounter problems with permissions in mounted volumes, sign out of your docker container and change the owner and group on the folder in the host machine that is being mounted in the guest.

The command to do this is:
$ chown -R username:group your-directory

But using your own username and directory.

repo: uaf-arctic-eco-modeling/dvm-dos-tem


text:
ColumnLayer not found in deck.gl/layers

When trying to generate a column layer I get the following warning:
WARNING in ./app.js 94:10-22
"export 'ColumnLayer' was not found in '@deck.gl/layers'
@ multi (webpack)-dev-server/client?http://localhost:8080 (webpack)/hot/dev-server.js ./app.js
My imports are below. Does anyone know why I'm getting this warning? I am getting a blank webpage when using npm start likely because this layer isn't found correctly.
import {render} from 'react-dom';
import {StaticMap} from 'react-map-gl';
import DeckGL, {PolygonLayer} from 'deck.gl';
import {TripsLayer} from '@deck.gl/experimental-layers';
//import DeckGL from '@deck.gl/react';
import {ColumnLayer} from '@deck.gl/layers';
import token from './token.json';
import trips_data from './data/points.json';

I switched to yarn and installed the latest version of deck.gl using that and it seems to have fixed my issue. I'm not entirely sure why. But you can close this now


text:
Deck.gl Mapbox example not working in Vue.js

I'm trying to render a Deck.gl Mapbox example in Vue.js but my Deck.gl layer stays blank.
I don't see any errors in the console, so I'm not sure what is going wrong or what I am doing wrong.
I'm using
"deck.gl": "^7.2.0",
"mapbox-gl": "^1.2.1",

Code snippet (I left the Mapbox token out on purpose for this snippet)
<template>

</template>

Problem was my mapbox version


text:
Cesium Tileset not working with Tile3DLayer

Hi, I have a Cesium tileset (gltf 2.0 format) of the Sydney Opera house that I am trying to render using the Tile3DLayer component in deck.gl.
The tileset is located here: https://drive.google.com/file/d/1py_O_5kJUePSEZs-FdiW-5EX3aBYxGqj/view?usp=sharing
If I drop the tiles into a local folder, set up a html file with a simple Cesium viewer and run it using python's SimpleHTTPServer everything works as expected. The opera house gets rendered at the correct location.
However if I attempt to use the Deck.GL Tile3DLayer nothing gets rendered. Interestingly if I go to the appropriate location it looks like the tileset hierarchy is properly getting retrieved but I can't see the model in the WebGL canvas.
Is there something wrong with the tileset? Can someone get this to work and share a snippet?

Are you using deck.gl v8? There are known bugs with the 7.3 Tile3DLayer.

I'm using the master version of the Tile3DLayer. I did a comparison between that one and version 8.0.12 and could not find any major differences.

I'll investigate this issue.

Thank you! Please let me know if you need any code from me. I can post the cesium viewer code if necessary.

@georgios-uber I checked this dataset, it loaded the data and created ScenegraphLayers, however the layers are not being rendered. Could you take a look?

@georgios-uber
checkout the debug branch, xx/scenegraph-debug
Steps:

bootstrap

# deck.gl root
yarn bootstrap

start the app

cd test/apps/tiles-3d-scenegraph
yarn start-local

@xintongxia @Pessimistress @georgios-uber You guys are awesome!
I tried the latest version "@loaders.gl/3d-tiles" (v2.0.4) and the model is now loading (which is great!) but the textures are not being rendered. If I set the lighting to "flat" for the scene graph layer the model is coming up but it's all white.
If I go to the chrome console I can see the textures coming through over the network but it looks like they aren't being applied to the model?

If I go to the chrome console I can see the textures coming through over the network but it looks like they aren't being applied to the model?
The problem is we do not implement KHR_techniques_webgl. I'm working to get it implemented.

Thanks @georgios-uber!
Just to give a bit of background, I work at nearmap. I'm trying to push the company to upgrade our tilesets to the latest specs and I wanted to use deck.gl to demonstrate the many benefits of upgrading.
We are also currently using vanilla cesium tilesets which don't confer the vast amount of benefits uber's vis.gl libraries do.
By the way I tried using gltf-pipeline to convert the mesh to draco format but large parts of the mesh were missing. I'll have a talk to cesium as well and see if they can he'll out.
Thank you for helping me out!

@anuraags great to see nearmap working on getting your tilesets updated. I personally think nearmap would be better off avoiding optional glTF extensions like KHR_techniques_webgl and generate tilesets that render with standard glTF 2.0. That will increase the compatibility of your tilesets. If not, it would be interesting to hear why nearmap feels you need custom shaders rather than just using PBR materials.
While we recommend avoiding extensions in general, we do strongly support the glTF draco extension so if you have draco encoded tilesets that don’t load correctly in deck.gl, please share a tile so that we can debug.

authors: Pessimistress anuraags georgios-uber ibgreen xintongxia


text:
Bump SwiftSyntax to exact 0.50600.1 in Swift 5.6

SwiftSyntax has released to resolve https://bugs.swift.org/browse/SR-15989, so I specified to .exact("0.50600.1").
related: https://github.com/uber/mockolo/pull/178 fyi @aroshipup

ref: https://github.com/apple/swift-syntax#declare-swiftpm-dependency-with-release-tag

@EspressoCup
I don't think it's a problem, so can I merge it?
We would also like to release a Swift 5.6 compatible version.

@EspressoCup
I don't think it's a problem, so can I merge it?
We would also like to release a Swift 5.6 compatible version.

Sounds good. Go ahead.

@EspressoCup
Released!!
https://github.com/uber/mockolo/releases/tag/1.7.0

@EspressoCup
Released!!
https://github.com/uber/mockolo/releases/tag/1.7.0

👍

authors: EspressoCup uhooi yutailang0119

repo: uber/mockolo


text:
Make pyflame create output after itself being terminated

Hi,
I am trying to use pyflame to profile requests to a web server.
The web server is written in Flask, so what I'm currently doing is adding a "before every request" hook which currently spawns a pyflame process and attaches to the Flask process using its own PID.
I then have an "after every request" hook which I want to use to terminate pyflame at the end of the request, and get my profiling information for that request.
Unfortunately, I've tried sending SIGTERM and various other signals, but pyflame does not seem to want to output anything until its full completion. It creates the output file, but  I obviously cannot predict how long each request is going to run for, so currently I'm passing -s 60 as any request would time out after 60 seconds anyways.
I think it would be really useful to make pyflame to accept a SIGTERM signal which would cause it to spit out its output at the end. This is similar to #25 which makes pyflame spit out output when the process it is profiling terminates; however, I think terminating pyflame itself is also useful in cases like mine.
I cannot use the tracing (-t) mode because my web server runs constantly instead of from start to finish - it is the requests that come and go and require individual profiling sessions.
If anyone has any advice on what I can do prior to having to modify pyflame myself, I'd be very grateful!
Many thanks,
Norbert

I believe https://github.com/uber/pyflame/pull/163 is doing just that!

repo: uber/pyflame


text:
temporary fix expanded mvn

Temporary fix for #1586 to make CI faster.

Also, could you remove the skipif parameter from test_examples for GP. I had to add that due to #1540, and I believe that the cause was most likely this slowdown.

There are some failures in test_autoguide, but the unit test time here seems to match what we observed in #1582 that reintroduces ReshapedDistribution, so I'll close that other PR.

@fehiepsi - I am not sure why the example slowdown is only happening for python 2.7, but it is great to see that the slowdown issues are resolved for python 3. If you think it is unrelated to this PR, feel free to reintroduce the skip marker.

@neerajprad I tested with python 2.7 and didnt observe. I don't know too. :(

The only thing I can imagine is that it is loading the torch distribution class instead of the patched class. One thing you could try to debug would be to put in a call attribute _pyro_patched=True in your patched class, and assert dist.MultivariateNormal._pyro_patched somewhere in gpr.py. At least that will help in narrowing down the problem.

@fehiepsi - Can I push to your branch to help debug?

I think it is better to close this. Gaining time is negligible to debugging time. Eventually we will delete this fix in a few days. :(

Sure, I just add you to my fork. Please don't worry much about this issue.

Thanks @fehiepsi, I'll take a look. I am not too concerned about the few mins we are saving on unit testing, but I am not sure if your fix will make it into release. :( In that case, we will need this patch for sure.

authors: fehiepsi neerajprad

repo: uber/pyro


text:
Sub-channel, peer selection, error frame handling, etc.

r @anson627 @willsalz @truncs
Another major push to tchannel-v2:

subChannel: allow singleton & connection pooling
Peer selection: necessary for retry & traffic balancing
Error frame handling: required by tchannel-v1

channel should worry about hostname and port, the callJson/callThrift should not care.

Please remove all renaming of message -> frame. They are called messages. That also implies, incorrectly, that a frame has some correspondence with a TCP frame, which it does not.
Also, I've said this before as has @truncs, none of this peer or sub channel work should be in the core tchannel library. They are shaky abstractions, at best, that come only from the node.js implementation i.e. aren't concepts even touched on in the TChannel protocol or Hyperbahn, and add a lot of unnecessary complexity and abstraction leakage into the core lib.

@willsalz OK, I will rename frames back to message.
As for peer and subChannels, it is implemented in other languages as well:
https://github.com/uber/tchannel-go/blob/master/channel.go#L109
https://github.com/uber/tchannel-go/blob/master/channel.go#L110
The protocol doc only describes the minimal requirement to talk in TChannel. It doesn't describe how to do connection pooling, retries, or how to handle failures. Even for those features you don't see in other languages yet will be added sooner or later. There is no core TChannel or Hyperbahn TChannel. It is just TChannel. Quote @jakev's words, TChannel and Hyperbahn are like Ying and Yang.
Of course, there are Hyperbahn specific features implemented in node, which are not in other languages. E.g., relay forwarding. There are some libraries only implemented for some languages, e.g., thriftrw (node and python). What you see in my PRs is part of what necessary makes it TChannel.

@willsalz We had a discussion about the naming in the protocol spec. The spec was unclear about the difference between frames and messages. @kriskowal wrote up a clarification (https://github.com/uber/tchannel/pull/1395). In the case of this implementation, it should be called frames.

lgtm

authors: ShanniLi anson627 willsalz

repo: uber/tchannel-java


text:
Autowhitelist in Federated mode does not start automatically

Hi to all!
I use master branch to run Manager, Controller, Worker by Federation Mode in docker, and they are running and replicated data, but there are a few things I do not understand.
I set config for controller with -enableAutoWhitelist=true and -enableAutoTopicExpansion=true.
1 moment - when i run uReplicator Federated in first time, controller do not add topics with the same names in src and dst cluster to autowhitelist.
And data do not replicated automaticle. But when i add one topic to whitelist by POST to REST API (curl -X POST "http://manager:8100/topics/ureplicator-fed?src=cluster1&dst=cluster2") -
all topics with the same names in src and dst cluster will be start replicated.
By the way, when I removed this topic ureplicator-fed from whitelist - autowhitelist works fine, new topics automaticle adds to them and process replicated data.

How is it possible to start autowhitelist work and replicated data right after start uReplicator Federated without this hint?

2 moment - when I delete topic in dst cluster (I use standart command: ./kafka-topics --zookeeper federation-zk01:2181 --delete --topic ureplicator-fed) topic will be deleted in this cluster.
But when I delete this topic in src cluster - he recreated, because in this Kafka cluster set config auto.create.topics.enable=true.
And perhaps it happened because consumers recreated it. When I look in autowhitelist topics in controller by REST API (curl http://controller:9000/topics) - it had this deleted topic in autowhitelist.
By the way, autowhitelist topics in manager (curl http://manager:8100/topics) - was empty at the same time.

How can i delete topic from this autowhitelist, to make it possible to delete topics from both Kafka clusters, src and dst without recreating?

3 moment -  in maneger logs I see following error:
ERROR Validate WRONG: hostInfo: controller:9000, InstanceId: controller-fed, route: [{topic: @cluster1@cluster2, partition: 0, pipeline: null}], topic only in controller: [ureplicator-fed-psi, ureplicator-fed-dev] (com.uber.stream.kafka.mirrormaker.manager.core.ControllerHelixManager)

How can I fix it, if it needs fixing of course? Replicating works fine when it occurs.

Manager container start args:
docker run --name manager --restart unless-stopped --network ureplicator-net \
-d -it -p 8100:8100 \
ryuananev/ureplicator manager \
-config config/fed-staging-clusters.properties \
-srcClusters cluster1 \
-destClusters cluster2 \
-deployment ureplicator-fed-staging \
-env staging.ureplicator-fed-staging \
-enableRebalance true \
-zookeeper federation-zk-staging:2181/ureplicator-fed-staging \
-managerPort 8100 \
-instanceId manager-fed \
-graphiteHost graphite-test \
-graphitePort 2003 \
-metricsPrefix ureplicator-manager

Manager java runtime args:
java -Dlog4j.configuration=file:/opt/ureplicator/config/tools-log4j.properties -Xms512m -Xmx512m -server -cp /opt/ureplicator/ureplicator-manager/target/uReplicator-Manager-2.0.1-SNAPSHOT-jar-with-dependencies.jar:/opt/ureplicator/libs/* com.uber.stream.kafka.mirrormaker.manager.ManagerStarter -config /opt/ureplicator/config/fed-staging-clusters.properties -srcClusters cluster1 -destClusters cluster2 -deployment ureplicator-fed-staging -env staging.ureplicator-fed-staging -enableRebalance true -zookeeper federation-zk-staging:2181/ureplicator-fed-staging -managerPort 8100 -instanceId manager-fed -graphiteHost graphite-test -graphitePort 2003 -metricsPrefix ureplicator-manager
Controller container start args:
docker run --name controller --restart unless-stopped --network ureplicator-net \
-d -it -p 9000:9000 \
ryuananev/ureplicator controller \
-config config/fed-staging-clusters.properties \
-enableFederated true \
-deploymentName ureplicator-fed-staging \
-srcClusters cluster1 \
-destClusters cluster2 \
-mode customized \
-zookeeper federation-zk-staging:2181/ureplicator-fed-staging \
-port 9000 \
-hostname controller \
-helixClusterName ureplicator-fed-staging \
-env staging.ureplicator-fed-staging \
-groupId ureplicator-fed-staging \
-offsetRefreshIntervalInSec 5 \
-autoRebalancePeriodInSeconds 10 \
-refreshTimeInSeconds 10 \
-enableAutoWhitelist true \
-enableAutoTopicExpansion true \
-patternToExcludeTopics '^__.*' \
-graphiteHost graphite-test \
-graphitePort 2003 \
-metricsPrefix ureplicator-controller \
-instanceId controller-fed

Controller java runtime args:
java -Dlog4j.configuration=file:/opt/ureplicator/config/tools-log4j.properties -Xms512m -Xmx512m -server -cp /opt/ureplicator/ureplicator-controller/target/uReplicator-Controller-2.0.1-SNAPSHOT-jar-with-dependencies.jar:/opt/ureplicator/libs/* com.uber.stream.kafka.mirrormaker.controller.ControllerStarter -config /opt/ureplicator/config/fed-staging-clusters.properties -enableFederated true -deploymentName ureplicator-fed-staging -srcClusters cluster1 -destClusters cluster2 -mode customized -zookeeper federation-zk-staging:2181/ureplicator-fed-staging -port 9000 -hostname controller -helixClusterName ureplicator-fed-staging -env staging.ureplicator-databusfed-staging -groupId ureplicator-fed-staging -offsetRefreshIntervalInSec 5 -autoRebalancePeriodInSeconds 10 -refreshTimeInSeconds 10 -enableAutoWhitelist true -enableAutoTopicExpansion true -patternToExcludeTopics ^__.* -graphiteHost graphite-test -graphitePort 2003 -metricsPrefix ureplicator-controller -instanceId controller-fed
I would be glad to hear any advice =)

Hello, sorry for late response, I overlooked this question.
for the
No1/  yes , you always need to enable whitelist for at least one topic to enable auto whitelist
No2/ no, for uReplicator with auto whitelist mode, you can't delete the topic. but if the topic doesn't exists in the destination cluster, uReplicator will not perform data replication
No3/ apparently this is a false alarm. I will fix this.

@yangy0000 - hank you very much for such a detailed answer =)
And I am very interested in one more question - сan a uReplicator connect to a zookeeper using the SSL protocol and log in to it using the SASL method? I.e. - I am interested in authorization of the uReplicator itself with a Zookeeper.
The uReplicator can connect to Kafka via SSL and SASL, but for the uReplicator to work, it also needs to connect to the zookeeper with which the Kafka cluster works (this is controlled by the parameter kafka.cluster.zkStr.cluster1=zk1,zk2/cluster1  in config file for cluster's list by manager and controller). And if this zookeeper works with the Kafka cluster via the SSL and SASL - can the uReplicator also connect to it via the SSL and SASL - I unfortunately did not find such a configuration example
As I understand it, this cannot be done at the moment - and is it possible to add this capability for the replicator in some way?

repo: uber/uReplicator


text:
Redundant deepcopy

removed deepcopy as per conversation

please check on confirm you can partially accept the PR

@pannet1
Kindly open this branch again.
I am working on this locally

repo: uberdeveloper/omspy


text:
Upgrade ip-bom from 7.0.0.CR1 to 7.0.0.CR2 + related fixes

This replaces https://github.com/uberfire/uberfire/pull/359.

I think we should run SDM (both mvn gwt:run and from IDEA) before merging this as we've upgraded the Jetty version in 7.0.0.CR2 anticipating the next GWT release. Just to make sure this doesn't break dev move with our current GWT version. It likely won't because in the current GWT Jetty is still packaged as part of the gwt-dev.jar, but I'd like to make sure.

I did try mvn clean gwt:run inside uberfire-showcase/uberfire-webapp -- everything went well. But it would be good if someone could try from IDEA as well.

+1

authors: csadilek psiroky

repo: uberfire/uberfire


text:
Posta kodları

Elinize emeğinize sağlık acaba şehirlerin posta kodlarını eklemeyi düşünüyor musunuz?

İyi günler,
Sanırım geç ve eksik de olsa iller ve ilçelerin tamamı için posta kodlarını ekledim, activatePostalCodes=true yaparak posta kodlarına ulaşabilirsiniz.
Mahalle ve köyler için: ( Issue: #38 )

authors: HakanKorkz ubeydeozdmr

repo: ubeydeozdmr/turkiye-api


text:
feat(geocode): Add ability to disable geocoding

Description
Adds a new property skipGeocode whose default is false that will determine whether a suggestion is geocoded or not.
Checklist

[x] All tests passing
[x] Created tests which fail without the change (if possible)
[x] Extended the README / documentation, if necessary
[x] Commits and PR follow conventions

Why wouldn’t you want to geocode the suggestions? The purpose of this lib is to get geocoded results from either the fixtures or the Google API.

authors: caiges ro-ka

repo: ubilabs/react-geosuggest


text:
Cannot check for empty array

When I use:
  And the JSON node "data" should be equal to "[]"

I get the following:
 And the JSON node "data" should be equal to "[]"            # Ubirak\RestApiBehatExtension\Json\JsonContext::theJsonNodeShouldBeEqualTo()
      array(0) is not equal to string(2) '[]'
      -Expected
      +Actual
      @@ -2 +2,2 @@
      -string(2) "[]"
      +array(0) {
      +} (Ubirak\RestApiBehatExtension\Json\WrongJsonExpectation)

I've tried, but I can't figure out why this is happening. Can anyone shed some light on this?

The JSON I was running this against was:
{
  "data": []
}

Hello !
You can use the JSON array node "data" should have 0 element
Hope it fits your need

But yes we could create a proxy around the empty use case ! Looks fine for me

I followed @tyx 's recommendation - it worked lovely thank you.

@johnrhunt so, closing it

authors: johnrhunt shouze tyx

repo: ubirak/rest-api-behat-extension


text:
fix: add missing shebang to selinux-looking-glass

My previous pull request got merged a few seconds before a commit adding the missing shebang to the recipe got pushed, my bad.
This corrects it, still getting used to how just operates.

Thank you!

authors: EyeCantCU HikariKnight

repo: ublue-os/bazzite


text:
Debian template doesn't work?

❯ blincus launch myst -t debian
Using debian template
Creating myst
Starting instance myst
Waiting for cloud init...
/usr/bin/cloud-init
....................................
status: done
Blincus ID: c96c30ae569f420f9b35404716aeb1a9
Mounting home directory
Device myhomedir added to myst
Allowing X sharing:
access control disabled, clients can connect from any host
Instance myst ready
Run blincus shell myst to enter

blincus on  main took 30s
❯ blincus shell myst
su: user bronson does not exist or the user entry does not contain all the required fields

same issue with Ubuntu template
❯ blincus launch ubuntu -t ubuntu
Using ubuntu template
Creating ubuntu
Starting instance ubuntu
Waiting for cloud init...
/usr/bin/cloud-init
................................
status: done
Blincus ID: 54309ddc45f14c22a909ee788f7915df
Mounting home directory
Device myhomedir added to ubuntu
Allowing X sharing:
access control disabled, clients can connect from any host
Instance ubuntu ready
Run blincus shell ubuntu to enter

~ took 26s
❯ blincus shell ubuntu
su: user bronson does not exist or the user entry does not contain all the required fields

and Fedora
❯ blincus launch fedora -t fedora
Using fedora template
Creating fedora
Starting instance fedora
Waiting for cloud init...
/usr/bin/cloud-init
............................................................................................................................................................................................................................................................
status: done
Blincus ID: ec5550acb35244dabe16d874fc9ea4d9
Mounting home directory
Device myhomedir added to fedora
Allowing X sharing:
access control disabled, clients can connect from any host
Instance fedora ready
Run blincus shell fedora to enter

~ took 1m18s
❯ blincus shell fedora
su: user bronson does not exist or the user entry does not contain all the required fields

Reinstalled Blincus using the suggested and scary curl -s https://raw.githubusercontent.com/ublue-os/blincus/main/install | sh -s -- --prefix ~/.local ... and it still fails.
❯ blincus launch myfirst -t ubuntu
Using ubuntu template
Creating myfirst
Starting instance myfirst
Waiting for cloud init...
/usr/bin/cloud-init
....................................
status: done
Blincus ID: 5272902f67024afea145bd75fd93945a
Mounting home directory
Device myhomedir added to myfirst
Allowing X sharing:
access control disabled, clients can connect from any host
Instance myfirst ready
Run blincus shell myfirst to enter

blincus on  main took 13s
❯ blincus shell myfirst
su: user bronson does not exist or the user entry does not contain all the required fields

Its quite literally the same issue as #20, The template files are getting written with their template users and whatever else, instead of getting customized with your own system configuration. Ill be sending a PR today trying to fix that

the next release moves the customization to JIT so it won't be accidentally skipped. thanks for the report.

authors: bketelsen bronson tulilirockz

repo: ublue-os/blincus


text:
Unrecognized options in ~/.fleek.yml cause fleek to report "configuration files not found"

Describe the bug
In attempting to configure home-manager's ssh module in my ~/.fleek.yml, I found that inserting configuration commands fleek didn't recognize would cause it to report "configuration files not found"
To Reproduce
Steps to reproduce the behavior:
In ~/.fleek.yml add the following to your programs key:
    - ssh:
      controlMaster: yes

Expected behavior
Nothing at worst; configuration of the ssh program in home-manager at best. Though I now know that user.nix is the correct way to configure this, it is confusing what items I should be doing in ~/.fleek.yml and which I should be doing in user.nix. But in neither case am I expecting configuration files not found.
Environment

OS: MacOS Venture
Shell: bash
fleek version: 0.9.5

Additional context
 [d]  debug enabled
 [d]  go  go1.19.6
      path  github.com/ublue-os/fleek/cmd/fleek
      mod github.com/ublue-os/fleek (devel)
      dep atomicgo.dev/cursor v0.1.1
      dep atomicgo.dev/keyboard v0.2.9
      dep atomicgo.dev/schedule v0.0.2
      dep github.com/ProtonMail/go-crypto v0.0.0-20230518184743-7afd39499903
      dep github.com/atotto/clipboard v0.1.4
      dep github.com/aymanbagabas/go-osc52/v2 v2.0.1
      dep github.com/charmbracelet/bubbles  v0.14.0
      dep github.com/charmbracelet/bubbletea  v0.23.1
      dep github.com/charmbracelet/lipgloss v0.7.1
      dep github.com/cloudflare/circl v1.3.3
      dep github.com/containerd/console v1.0.3
      dep github.com/emirpasic/gods v1.18.1
      dep github.com/erikgeiser/promptkit v0.8.0
      dep github.com/fatih/color  v1.15.0
      dep github.com/fitv/go-i18n v1.0.4
      dep github.com/go-git/gcfg  v1.5.1-0.20230307220236-3a3c6141e376
      dep github.com/go-git/go-billy/v5 v5.4.1
      dep github.com/go-git/go-git/v5 v5.7.0
      dep github.com/golang/groupcache  v0.0.0-20210331224755-41bb18bfe9da
      dep github.com/google/uuid  v1.3.0
      dep github.com/gookit/color v1.5.3
      dep github.com/hashicorp/go-version v1.6.0
      dep github.com/imdario/mergo  v0.3.15
      dep github.com/jbenet/go-context  v0.0.0-20150711004518-d14ea06fba99
      dep github.com/kevinburke/ssh_config  v1.2.0
      dep github.com/lithammer/fuzzysearch  v1.1.8
      dep github.com/lucasb-eyer/go-colorful  v1.2.0
      dep github.com/mattn/go-colorable v0.1.13
      dep github.com/mattn/go-isatty  v0.0.17
      dep github.com/mattn/go-localereader  v0.0.1
      dep github.com/mattn/go-runewidth v0.0.14
      dep github.com/muesli/ansi  v0.0.0-20221106050444-61f0cd9a192a
      dep github.com/muesli/cancelreader  v0.2.2
      dep github.com/muesli/mango v0.1.0
      dep github.com/muesli/mango-cobra v1.2.0
      dep github.com/muesli/mango-pflag v0.1.0
      dep github.com/muesli/reflow  v0.3.0
      dep github.com/muesli/roff  v0.1.0
      dep github.com/muesli/termenv v0.15.1
      dep github.com/otiai10/copy v1.11.0
      dep github.com/pjbgf/sha1cd v0.3.0
      dep github.com/pkg/errors v0.9.1
      dep github.com/pterm/pterm  v0.12.62
      dep github.com/rivo/uniseg  v0.4.4
      dep github.com/riywo/loginshell v0.0.0-20200815045211-7d26008be1ab
      dep github.com/sergi/go-diff  v1.2.0
      dep github.com/skeema/knownhosts  v1.1.1
      dep github.com/spf13/cobra  v1.7.0
      dep github.com/spf13/pflag  v1.0.5
      dep github.com/xanzy/ssh-agent  v0.3.3
      dep github.com/xo/terminfo  v0.0.0-20220910002029-abceb7e1c41e
      dep golang.org/x/crypto v0.9.0
      dep golang.org/x/net  v0.10.0
      dep golang.org/x/sys  v0.8.0
      dep golang.org/x/term v0.8.0
      dep golang.org/x/text v0.9.0
      dep gopkg.in/warnings.v0  v0.1.2
      dep gopkg.in/yaml.v3  v3.0.1
      build -compiler=gc
      build -tags=netgo
      build -trimpath=true
      build CGO_ENABLED=0
      build GOARCH=arm64
      build GOOS=darwin
 [d]  installed at: /Users/joey/.nix-profile/bin
 [d]  git autopush: false
 [d]  git autocommit: false
 [d]  git autopull: false
 [*]  Apply fleek configuration
  ERROR
  ERROR
          Error: configuration files not found, run `fleek init`
  ERROR
 [d]
      ExecutionID:538de73f2a3e469f8a8884af3dfe4c86

      github.com/ublue-os/fleek/internal/fleekcli/usererr.New
        github.com/ublue-os/fleek/internal/fleekcli/usererr/usererror.go:26
      github.com/ublue-os/fleek/internal/fleekcli.mustConfig
        github.com/ublue-os/fleek/internal/fleekcli/root.go:180
      github.com/ublue-os/fleek/internal/fleekcli.apply
        github.com/ublue-os/fleek/internal/fleekcli/apply.go:35
      github.com/ublue-os/fleek/internal/fleekcli.ApplyCommand.func1
        github.com/ublue-os/fleek/internal/fleekcli/apply.go:24
      github.com/spf13/cobra.(*Command).execute
        github.com/spf13/cobra@v1.7.0/command.go:940
      github.com/spf13/cobra.(*Command).ExecuteC
        github.com/spf13/cobra@v1.7.0/command.go:1068
      github.com/spf13/cobra.(*Command).Execute
        github.com/spf13/cobra@v1.7.0/command.go:992
      github.com/ublue-os/fleek/internal/midcobra.(*midcobraExecutable).Execute
        github.com/ublue-os/fleek/internal/midcobra/midcobra.go:67
      github.com/ublue-os/fleek/internal/fleekcli.Execute
        github.com/ublue-os/fleek/internal/fleekcli/main.go:33
      github.com/ublue-os/fleek/internal/fleekcli.Main
        github.com/ublue-os/fleek/internal/fleekcli/main.go:24
      main.main
        github.com/ublue-os/fleek/cmd/fleek/main.go:8
      runtime.main
        runtime/proc.go:250
      runtime.goexit
        runtime/asm_arm64.s:1172

my hypothesis is that the 'ssh' config in the yaml that you added has bad syntax, which causes everything after that 'ssh' key to be ignored because it isn't valid yaml.  The .fleek.yaml file has a key that stores the relative location of the configuration file, which is where fleek will look to load your config. Since that key wasn't found fleek doesn't know where to look. That is a bug that should be fixed by a default value.

Default flake location fixed in #214

authors: bketelsen tml

repo: ublue-os/fleek


text:
bug: Recipe builds are failing on signing step

hey all after following the manual setup directions I'm getting the following error back from actions
    DOCKER_METADATA_OUTPUT_BAKE_FILE: /tmp/docker-actions-toolkit-dOlNP5/docker-metadata-action-bake.json     TAGS: sha256:8a80680feaecbd9226ec7894aff4f6bdd449e3a565e4f76cc03ba79b1927c99e     COSIGN_EXPERIMENTAL: false     COSIGN_PRIVATE_KEY: *** 653 cosign.key Error: signing [ghcr.io/j3rr1ck/Gnos_Linux_Nvidia@sha256:8a80680feaecbd9226ec7894aff4f6bdd449e3a565e4f76cc03ba79b1927c99e]: getting signer: reading key: unsupported pem type: ENCRYPTED SIGSTORE PRIVATE KEY main.go:74: error during command execution: signing [ghcr.io/j3rr1ck/Gnos_Linux_Nvidia@sha256:8a80680feaecbd9226ec7894aff4f6bdd449e3a565e4f76cc03ba79b1927c99e]: getting signer: reading key: unsupported pem type: ENCRYPTED SIGSTORE PRIVATE KEY Error: Process completed with exit code 1.
I tried swapping in both passworded and non-passworded keys just to see if that was the problem but the error is consistent across both
am I missing something obvious here?

I am also having issues with the signing. At first, my keys were coming out encrypted, which the docs say won't work. You can tell they are encrypted when the .key starts with BEGIN ENCRYPTED SIGSTORE PRIVATE KEY.
I, somehow, got an unencrypted key pair, but I still can't sign the image. The error I am getting is:
Error: signing [ghcr.io/johnrellim/imageName@hash getting signer: reading key: unsupported pem type: SIGSTORE PRIVATE KEY
main.go:74: error during command execution: signing [ghcr.io/johnrellim/image@hash getting signer: reading key: unsupported pem type: SIGSTORE PRIVATE KEY

Are there any settings within Cosign that need to be adjusted? Is there an issue with the new versions? I reinstalled it recently and am currently using  on this version of Cosign:
GitVersion:    v2.0.1
GitCommit:     8faaee4d2b5f65678eb0831a8a3d5990a0271d3a
GitTreeState:  clean
BuildDate:     2023-04-06T19:10:33Z

Any ideas?

I'm also getting an error with the signing step.

COSIGN_PRIVATE_KEY: ***
653 cosign.key
Error: signing [ghcr.io/vaparetia/custom-gnome-theme@sha256:3f02d5cd6fd2de60d4736b6a67a054f1a0926cf9e41adfbce344c42846e67579]: getting signer: reading key: unsupported pem type: ENCRYPTED SIGSTORE PRIVATE KEY
main.go:74: error during command execution: signing [ghcr.io/vaparetia/custom-gnome-theme@sha256:3f02d5cd6fd2de60d4736b6a67a054f1a0926cf9e41adfbce344c42846e67579]: getting signer: reading key: unsupported pem type: ENCRYPTED SIGSTORE PRIVATE KEY
Error: Process completed with exit code 1.

Not entirely sure how to remedy this issue.
I'm a noob so, I'm basically useless lol :laughing:

I ran into this problem too and it seems cosign has changed the format of the key file but the signing (github task?) doesn't support it yet.
I worked it around by editing my key replacing ENCRYPTED SIGSTORE PRIVATE KEY with ENCRYPTED COSIGN PRIVATE KEY (the old format) and uploading the key again.

I can confirm that making the above change to the SIGNING_SECRET works.
Another possible workaround would be to use an earlier version of Cosign than 2.0.1.

I can confirm that making the above change to the SIGNING_SECRET works.
Another possible workaround would be to use an earlier version of Cosign than 2.0.1.

Changing to Cosign 2.0.0 worked like a charm.

I ran into this problem too and it seems cosign has changed the format of the key file but the signing (github task?) doesn't support it yet.
I worked it around by editing my key replacing ENCRYPTED SIGSTORE PRIVATE KEY with ENCRYPTED COSIGN PRIVATE KEY (the old format) and uploading the key again.

That didn't work for me unfortunately, but installing cosign 2.0.0 and resigning did fix my issue.
All, Thanks for pointing me in the right direction!

I was trying to generate my key on Windows 10 using Powershell. When it prompts to press Enter instead of typing a password I was doing just that, following the instruction on the site, but I believe that Windows 10 powershell passes a CRLF return character instead of a LF character. Maybe that affected the password entering step. Another thing to note is that git prompted me that it would replace LF to CRLF characters on my cosign.pub next time it touched it ( I believe that would be on the git-push ). When I moved the signing steps on my Linux machine, git stopped complaining for CRLF characters and I managed to finally pass signing the build.
To sum what I am trying to say. Either cosing on windows (I used cosign 2.0.1) has issues or the CRLF LF difference comes at play.

I didn't even think somebody would try this on Windows... I'd recommend WSL for most dev things, just in case.

I marked this as help wanted, because I am not that familiar with the whole cosign & GHA part of things. If you can report with information not available here or provide more clarity, please comment, but don't just +1 (you could react to this comment or smth).
I encourage you to manually regenerate the cosign keys if this problem happens to you, and only comment afterward if the issue is not fixed.

authors: EinoHR J3rr1ck ashylily imatsatsos johnrellim vaparetia

repo: ublue-os/startingpoint


text:
Test on other distributions

With this PR we add a test that would start an lxc container, run an sistribution specific install-deps.sh script and then run the tests and checn the upgrade path.
We should wire this to our CI to automate the releases to beta.

Thank you, merging this.


text:
Create resource webpage

Each resource should have a webpage associated with it.

Closed in dfab2a2ffecb0220855f4dd373ec08d3302ac522

repo: uccser/cs-unplugged


text:
MIV Export button UI

Official design

@wrenaria, @Vensberg  is looking for a location to put some FAQ information about importing into MIV.  We don't want this on the main FAQ, since we are not supposed to name MIV on the public site, so we are wondering if we could possibly add some information on the export on/near this export button, which only shows up for the user.

@qjhart As the export button is designed currently -- https://github.com/ucd-library/research-profiles/issues/65 -- no, it wouldn't make a lot of sense to put that info there. I will have to redesign it if that's what you want.
All these different repositories get confusing. Is this where designs like what I linked above should be placed, or should I keep putting them in researcher-profiles as I have been doing?

After discussing options with Vessela and showing possibilities displaying MIV import information, she would prefer to move forward with the design as originally described in ucd-library/research-profiles#65. I have copied and pasted the designs from there into this comment.

Simple as possible seems like the best solution for this: expose all download options on click, then click on the option you want to initiate the download.
Publications Download Design

mobile default
mobile clicked

Button States

authors: jrmerz qjhart wrenaria

repo: ucd-library/rp-ucd-client


text:
Make mini post more consistent with normal posts.

Changes
Before:

After:

Issue ticket number and link
N/A

I'm a big fan of this change, but we should definitely get @JakeSteinebronn's approval as well as he had expressed a desire to keep the mini posts as compact as possible.

authors: abrugal tylerhm

repo: ucf-tower-app/mobile


text:
CANVAS-40 - Video reserves backend

@maxpluez Remember to make a pull requests when asking for a code review.

@maxpluez We need to get used to writing tests and having our code be testable.
Some tests that are needed:

updateRecordsForClass() tests to make sure it is properly reporting when records are added, deleted, or don't change. To get these tests to run in Github look into adding this action: https://github.com/marketplace/actions/mongodb-in-github-actions
Break out the code that parses the video reserve file into testable parts and test that it handles file errors properly

So I added in a test according to Rex's comment, and I added in some comments according to William's comment. @rlorenzo @chern

authors: maxpluez rlorenzo

repo: ucla/lti-media-resources


text:
Add FAQ section

maybe add an FAQ section to the team page and rename Team page to About

Possible questions:

Where do I find the ACM youtube channel?
How can I get more involved?
How do I participate?
Your past workshops seem interesting, how can I learn more?
How do I join your team?

authors: jodymlin khxia


text:
Change colors of courses in course table based on whether they are open/closed/cancelled.

User Story
As a user I can easily see which courses are open/closed/full in the course table by displaying them in different colors.
Acceptance Criteria

[ ] Courses which are full are colored differently from open courses.
[ ] Courses that are cancelled are also colored differently from open courses, and from full courses.

Implementation Todos
Note: You could continue the work of PR #74 or start from scratch. If you are continuing, talk to staff about color choices/possible bugs.
Front end:

[ ] Decide on a good readable color scheme and add a key to explain which color corresponds to which course status.
[ ] Compute which courses should have each color.
[ ] Change the color of courses in the basic course search table based on their status as open/full/cancelled.

Back end:
Nothing to do.
Testing:

[ ] Front end tests pass and there is adequate coverage
[ ] Back end tests pass and there is adequate coverage

Duplicate of #62.

authors: andrewhlu mara-downing


text:
I'm stuck in this stage, please help me.

isdsgn@isdsgn-VirtualBox:~$ udacimak render "home/isdsgn/User Experience Nanodegree v1.0.0" 2020-03-26T05:06:40.576Z [error]: ERROR: Path to downloaded Udacity course/Nanodegree doesn't exist. STACK: Error: Path to downloaded Udacity course/Nanodegree doesn't exist.     at renderCourse (/usr/local/lib/node_modules/udacimak/lib/commands/render/functions/renderCourse.js:43:11)

It simply means the specified path to the downloaded directory doesn't exist, could you check the parameter given to the render command

Thanks, I got it.

authors: byouk-thouk udacimak

repo: udacimak/udacimak


text:
AWS Developer

I'm setting up amazon developer account. At the payments page, if I tick yes on the options then I'm asked to provide the card details. Maybe you should include in the instructions to make sure students don't end up giving any card details. Don't know any consequences if they do.

thank you - on my todos

note added

authors: danainschool rahul-ahuja

repo: udacity/AIND-VUI-Alexa