text:
Initial Travis Integration

Fixes #31 based on https://www.ansible.com/blog/testing-ansible-roles-with-docker and http://www.jeffgeerling.com/blog/testing-ansible-roles-travis-ci-github

i can start to be lazy now as travis tells me that all is well :)

Was too excited that I accidentally closed the PR. Reopened and saw the build automation in real time. good stuff!. merging!


text:
Athena integration -- opening wrong course

Clicking the course name in the cards is opening the wrong course; could potentially be the way you're extracting them from the Athena integration data but not sure.

Thank you for reporting this, but I'm not able to reproduce this myself, so I'm not sure what could be going wrong.
Therefore, when you have the time, please try the following:

Open the developer console, and execute console.table(athenaData). You should see a table of courses names, links, and periods.

Do the periods and class names match up?
Try visiting the links. Do they match up with the classes?

Execute the following:
console.table(JSON.parse(localStorage.athenaDataRaw).body.courses.sections, ["section_title", "link"])

This should output a table of period numbers and links. Do the links match up with the period numbers?

Nope, the periods and class names don't match up, but the links match with the periods. I'm guessing it's probably a relatively unique issue caused by A. that I have a couple courses stuck from last year because one of the teachers left and the other is teaching something else now and B. that all juniors have an extra advisory course made to share stuff to the entire Class of 2018. I'll check with a couple other juniors to see if they have similar issues.

Hmm I also have a few courses from last year and an extra advisory course, but nevertheless that still could be related.
Try running the following:
c=JSON.parse(localStorage.athenaDataRaw).body.courses;console.table(c.courses,["course_title","nid"]);console.table(c.sections,["course_nid","link"])

This should print out two tables, one of class names and nids, and another of links and course_nids.
Basically, the data retrieved from pasting in that large chunk of data into the settings page is divided into two parts: courses (which include the course name) and sections (which contain the link), and the links of courses are found by stitching the courses and sections together via these ids that should match each other.
Once you get the output, try visiting the outputted links and see if their course_nids match the nids for the corresponding classes. If they don't, is their any kind of pattern to their discrepancy?
Thanks for helping debug this!

Before you go to the effort of following the instructions above if you haven't already, did you paste the data from Athena into the welcome page or into the settings page?
A while ago I think the same thing was happening and I updated the algorithm in the code run by the settings page, but not the code run by the welcome page, which maintained its own copy of the same algorithm.

Hm, I think I pasted it into the welcome page. I’ll try pasting it into the settings page and seeing what happens.
On Tue, Dec 06, 2016 at 10:07 PM rianadon
<
mailto:rianadon notifications@github.com

wrote:

a, pre, code, a:link, body { word-wrap: break-word !important; }
Before you go to the effort of following the instructions above if you haven't already, did you paste the data from Athena into the welcome page or into the settings page?
A while ago I think the same thing was happening and I updated the algorithm in the code run by the settings page, but not the code run by the welcome page, which maintained its own copy of the same algorithm.
—
You are receiving this because you authored the thread.
Reply to this email directly,
https://github.com/rianadon/CheckPCR/issues/9#issuecomment-265364201
, or
https://github.com/notifications/unsubscribe-auth/ALkOX6F410CO234XggvsBmZ83_cneJ8Vks5rFk0PgaJpZM4LDu6Z
.

Yup, that fixed it. Thanks!
On Tue, Dec 06, 2016 at 10:08 PM Jerry Chen
<
mailto:Jerry Chen jerrychen109@gmail.com

wrote:

a, pre, code, a:link, body { word-wrap: break-word !important; }
Hm, I think I pasted it into the welcome page. I’ll try pasting it into the settings page and seeing what happens.
On Tue, Dec 06, 2016 at 10:07 PM rianadon
<
mailto:rianadon notifications@github.com

wrote:

a, pre, code, a:link, body { word-wrap: break-word !important; }
Before you go to the effort of following the instructions above if you haven't already, did you paste the data from Athena into the welcome page or into the settings page?
A while ago I think the same thing was happening and I updated the algorithm in the code run by the settings page, but not the code run by the welcome page, which maintained its own copy of the same algorithm.
—
You are receiving this because you authored the thread.
Reply to this email directly,
https://github.com/rianadon/CheckPCR/issues/9#issuecomment-265364201
, or
https://github.com/notifications/unsubscribe-auth/ALkOX6F410CO234XggvsBmZ83_cneJ8Vks5rFk0PgaJpZM4LDu6Z
.

Okay cool! Thank you for all of your help.
I'll fix the error on the welcome page as soon as I can get around to it.

source: gharchive/issue

repo: rianadon/CheckPCR

license: mit

license_type: permissive

license_source: bigquery


text:
Improve get queries

Currently select queries are retrieved using:
var entity model.User{}
db.Model(&entity).Where("id = ?", id).Select()

It should be replaced with
entity := model.User{ID: id}
db.Select(&entity)

This only works when there is no 'and deleted_at is null' clause, therefore not useful for this scenario.

repo: ribice/gorsk

license: MIT

license_source: github-api


text:
글 목록 페이지네이션

글 100개 넘으면 해볼까...

굳이 안 해도 될 듯. 차라리 검색 기능을 넣는 게 나아보임.

repo: ricale/blog


text:
Just Get Audio

Hi is their any way to modify the script to only download audio file? I work for a company that stores audio files.

No future plans for this feature, but feel free to modify the script to your own liking.


text:
Add Timing

Add certain time between questions

Timing is added and working

repo: richardtaylordawson/gamingtrivia


text:
Do correlation analysis

Mark and Richel assign different grades to the same K3 songs. How would a scatter plot look like? Would Mark or Richel be the more critical reviewer? Which songs are most differently graded?

So far I have only rated the songs that I like, leaving out the bad ones. It might appear that I like every single song of K3, but that's not the case.

Sure, I have had the same bias. Now I follow the songs according a playlist its order, resulting in same very bad grades. And I already saw some different gradings, so (for now) I guess I will appear to be the more critical fan.

Note that this is one of the reasons I use English.

This Issue has evolved into https://github.com/richelbilderbeek/k3_article, where some real statistics will be done :+1:
Closing this one :rainbow:

authors: markwiering richelbilderbeek


text:
Application context

Hi,
I would like to use quart_auth module for login/logout handling. To use this, I need access to the quart application context, but for some reason i cant. Do anyone have an example for getting the current application context, that I can use for storing user login information?

I have investigated this a little further.
Because everything is websockets, there is no way to exhange cookies during a session - only during the initial handshake,  but when the session is startet you can't. When a client has connected, this client will keep its connection open until the browser window closes. You can assign the client with a username and an authenticated flag as a kind of login mechanism and this will work as long as the current websocket connection is ongoing. Every time the client opens a new connection, he will need to be identified again, because there is no cookie control we can use. Another interesting find is, that dash_devices can't run a multipage site, where we control the pages with changing URL's. Instead we should make a single page site, where we change the layouts and widgets with callbacks only.
A way to implement true multi page sites with login can be done by using plain quart with a login screen and cookie handling. If the password or cookie is ok, we spawn the dash_devices site and set the user information in the websocket client session.
Is this rightly understood?


text:
Automated docker

Adds a new Dockerfile that hopefully allows for automated docker builds

Automated builds would be nice, as you can verify how the image was built.
@rickbergfalk Any chance we could see a sqlpad 3.0 image? Let me know if I could help in any way.

source: gharchive/pull-request

authors: jmagnusson rickbergfalk

repo: rickbergfalk/sqlpad


text:
error in PreLollipopDetector

Hi!
First of all, thank you for your effort. The Library is good. And it will be better if you can fix the bugs below:
The PreLollipopDetector wont work. First of all, the  must be declared in manifest, else activityManager.getRunningTasks(1) will throw a SecurityException.
Second error:
Still in the PreLollipopDetector.java. You have to assign the foregroundAppPackageInfo.applicationInfo.loadLabel(pm).toString() to the foreGroundApp variable else the method will be always return null.
Best Regards!
Zoltan

Hi!
Thank you, I am happy it's helpful! And thank you very much for the report, completely forgot to add that needed permission to the documentation, and will also fix the other bug. I can only pick this on Monday though,, sorry for the delay.
Cheers

authors: nczoltan ricvalerio

repo: ricvalerio/foregroundappchecker


text:
Ridgepole always changes datetime columns after updating ActiveRecord to v7.0

I'm sorry. Another problem on datetime columns of ActiveRecord v7.0 remains even after https://github.com/ridgepole/ridgepole/pull/380.
Ridgepole v1.0.3 with ActiveRecord v7.0.2 does not reflects default precision change of datetime columns.
This problem affects updating rails from v6.1 to v7.0.
Steps to reproduce
First, with ActiveRecord v6.1:
# Gemfilie
source "https://rubygems.org"

gem "activerecord", "6.1.4.6"
gem "pg", "1.3.1"
gem "ridgepole", "1.0.3"

# Schemafile
create_table :articles do |t|
  t.string :title
  t.text :content
  t.datetime :published_at
  t.timestamps
end

$ bundle install
$ bundle exec ridgepole -c '{"adapter":"postgresql","database":"blog"}' -a
Apply `Schemafile`
-- create_table("articles")
   -> 0.0088s
$ bundle exec ridgepole -c '{"adapter":"postgresql","database":"blog"}' -a
Apply `Schemafile`
No change

It's OK, but after updating ActiveRecord to v7.0,
diff --git a/Gemfile b/Gemfile
--- a/Gemfile
+++ b/Gemfile
@@ -1,5 +1,5 @@
 source "https://rubygems.org"

-gem "activerecord", "6.1.4.6"
+gem "activerecord", "7.0.2.2"
 gem "pg", "1.3.1"
 gem "ridgepole", "1.0.3"

$ bundle update
$ bundle exec ridgepole -c '{"adapter":"postgresql","database":"blog"}' -a
Apply `Schemafile`
-- change_column("articles", "published_at", :datetime, {:null=>true, :default=>nil})
   -> 0.0037s
-- change_column("articles", "created_at", :datetime, {:null=>false, :default=>nil})
   -> 0.0006s
-- change_column("articles", "updated_at", :datetime, {:null=>false, :default=>nil})
   -> 0.0007s
$ bundle exec ridgepole -c '{"adapter":"postgresql","database":"blog"}' -a
Apply `Schemafile`
-- change_column("articles", "published_at", :datetime, {:null=>true, :default=>nil})
   -> 0.0037s
-- change_column("articles", "created_at", :datetime, {:null=>false, :default=>nil})
   -> 0.0006s
-- change_column("articles", "updated_at", :datetime, {:null=>false, :default=>nil})
   -> 0.0007s

change_column for datetime columns runs on every ridgepole -a command.
System configuration

PostgreSQL version: 14.1
Ruby version: 3.1.0

Can you post the results of pg_dump?

pg_dump blog
--
-- PostgreSQL database dump
--

-- Dumped from database version 14.1
-- Dumped by pg_dump version 14.1

SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;

SET default_tablespace = '';

SET default_table_access_method = heap;

--
-- Name: articles; Type: TABLE; Schema: public; Owner: takahiro-miyoshi
--

CREATE TABLE public.articles (
    id bigint NOT NULL,
    title character varying,
    published_at timestamp without time zone,
    created_at timestamp without time zone NOT NULL,
    updated_at timestamp without time zone NOT NULL
);

ALTER TABLE public.articles OWNER TO "takahiro-miyoshi";

--
-- Name: articles_id_seq; Type: SEQUENCE; Schema: public; Owner: takahiro-miyoshi
--

CREATE SEQUENCE public.articles_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;

ALTER TABLE public.articles_id_seq OWNER TO "takahiro-miyoshi";

--
-- Name: articles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: takahiro-miyoshi
--

ALTER SEQUENCE public.articles_id_seq OWNED BY public.articles.id;

--
-- Name: articles id; Type: DEFAULT; Schema: public; Owner: takahiro-miyoshi
--

ALTER TABLE ONLY public.articles ALTER COLUMN id SET DEFAULT nextval('public.articles_id_seq'::regclass);

--
-- Data for Name: articles; Type: TABLE DATA; Schema: public; Owner: takahiro-miyoshi
--

COPY public.articles (id, title, published_at, created_at, updated_at) FROM stdin;
\.

--
-- Name: articles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: takahiro-miyoshi
--

SELECT pg_catalog.setval('public.articles_id_seq', 1, false);

--
-- Name: articles articles_pkey; Type: CONSTRAINT; Schema: public; Owner: takahiro-miyoshi
--

ALTER TABLE ONLY public.articles
    ADD CONSTRAINT articles_pkey PRIMARY KEY (id);

--
-- PostgreSQL database dump complete
--

I found adding precision: nil to datetime columns avoids this problem.
diff a/Schemafile b/Schemafile
--- a/Schemafile
+++ b/Schemafile
@@ -1,5 +1,5 @@
 create_table :articles do |t|
   t.string :title
-  t.datetime :published_at
-  t.timestamps
+  t.datetime :published_at, precision: nil
+  t.timestamps precision: nil
 end

$ bundle exec ridgepole -c '{"adapter":"postgresql","database":"blog"}' -a
Apply `Schemafile`
No change

Since the default precision of datetime columns is changed from nil to 6 according to ActiveRecord v7.0 CHANGELOG:

Set precision 6 by default for datetime columns.
By default, datetime columns will have microseconds precision instead of seconds precision.

ActiveRecord schema dump avoids this problem by adding the version to schema dump.

Dump the database schema containing the current Rails version.
Since https://github.com/rails/rails/pull/42297, Rails now generate datetime columns
with a default precision of 6. This means that users upgrading to Rails 7.0 from 6.1,
when loading the database schema, would get the new precision value, which would not match
the production schema.
To avoid this the schema dumper will generate the new format which will include the Rails
version and will look like this:
ActiveRecord::Schema[7.0].define

When upgrading from Rails 6.1 to Rails 7.0, you can run the rails app:update task that will
set the current schema version to 6.1.

I think this is an incompatibility problem of ActiveRecord v7.0, not a Ridgepole problem.
So how about adding a Rails v7.0 upgrading guide (precision: nil for datetime columns) to README?
Or introducing a Rails DSL version configuration like ActiveRecord scheme dump.

Also added note about datetime type to README. 6995092
Thank you.

Thank you 🙏

repo: ridgepole/ridgepole


text:
Add CI with github actions

Topic: github_actions_ci

Reviews in this chain:
└https://github.com/riffusion/riffusion/pull/37 Add CI with github actions

#
head
base
diff
date
summary

0
de3b1211
d0fe85a4
diff
Dec 26 17:57 PM
1 file changed, 25 insertions(+)

Let's go!

repo: riffusion/riffusion


text:
Delete requests for namespace (-x) templates: template not found keeps trying to delete scripts

Today I double-tapped the delete operation for a template prefixed with 'mark' (-x mark) for a template and it told me that the template did not exist so it would do nothing.
... and then tried to delete right scripts anyways.

ServerTemplate 'mark_RightScale Docker Host RS_OPS RL10 - 2017q1' does not exist, no need to delete

Deleting RightScript 'mark_SYS set hostname RL10_v2' HREF /api/right_scripts/589040003
Failed to delete RightScript rightscripts/SYS_set_hostname_RL10_v2.sh: invalid response 422 Unprocessable Entity: ActionNotAllowed: Cannot delete as the RightScript (HEAD/committed revision) is being used by one or more ServerTemplates.

Deleting RightScript 'mark_SYS Timezone set - 11H1 RL10_v2' HREF /api/right_scripts/589041003
Failed to delete RightScript rightscripts/SYS_Timezone_set-11H1_RL10_v2.sh: invalid response 422 Unprocessable Entity: ActionNotAllowed: Cannot delete as the RightScript (HEAD/committed revision) is being used by one or more ServerTemplates.
....

praxis@praxtop3:~/rs_ops_server_templates(OPS-4192_consul_vault_backups_failing_when_executed_via_cron) $ right_st --version
right_st v1.6.1 - 2017-03-10 00:43:57 - bf952aa3973ede2e058f5d0f09bf805033f10f17

This was the intended behavior because the ServerTemplate YAML specified those scripts.

authors: douglaswth mark-dotson-rs


text:
iOS tap issue

when tapping any element on the sample apps, the app crashes:
*** Assertion failure in -[UIGestureGraphEdge initWithLabel:sourceNode:targetNode:directed:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3600.7.47/Source/GestureGraph/UIGestureGraphEdge.m:25
Jun  2 14:11:03 LOOPERMAC com.apple.CoreSimulator.SimDevice.1658C660-8802-4075-8603-2A0148C48692.launchd_sim[14161] (UIKitApplication:org.nativescript.vuesample[0x30e8][14183][43417]): Service exited due to Segmentation fault: 11

I’m hitting this error as well on a number of the samples. Very odd that there’s not more debugging information.

This is most likely the same bug that causes app to crash on garbage collection. As far as I know it is being  tracked by the NativeScript team working on the debugger!

I got the exact same exception yesterday. @rigor789 do you know if there is related issue somewhere in the NS repos - I could take a look.

@vakrilov not that I know of. I have been talking to @bundyo about an issue with gc() but not sure if there is an issue open anywhere.

Found something worth sharing - It seems that the app crashes when an event is attached on a view inside a scroll. The simplest reproduce I got was that:
template: `
    <page>
        <stack-layout>
            <button @tap="onTap">Will Work</button>
            <scroll-view>
                <button @tap="onTap">Will Crash</button>
            </scroll-view>
        </stack-layout>
    </page>
`

The example with the list-view also crashes and again - the list view is scrollable.
Still no idea why this happens, but still interesting similarity.

The issue Igor mentions was only in Android - the app crashed on garbage collection - I've reported it to Peter Kanev (@Pip3r4o) and he said that he reproduced it and tracked down its reason. No idea if the issue is logged though. Also not sure if this is the same issue as iOS runtime architecture is different.

Interesting that it seems to happen in a scroll-view with events attached. Does it crash instantly, or after scrolling the scroll-view @vakrilov? I guess if it crashes after scrolling, that it might be due to some gc() issue?

It crashes instantly so I don't think its a GC issue. UIGestureGraphEdge in the error above and the fact that Scroll/list-view handle touches makes me think it is gesture-related.
I also tried to reproduce the crash in a non-vue project with the same UI elements - I couldn't. So I guess the order in which the views are added is the difference and what's causing the crash.

I get the same error using a ListView inside a DockLayout with 1.3.1, which is strange because it appears to have been fixed.

Update: It crashes on iOS 11.x (simulator) but not iOS 9.x (physical device)

I am facing the same issue buttons inside a scroll view. Haven't tested on a physical device.

Same problem =[

+1

authors: bundyo eladcandroid jlooper lewebsimple rigor789 sudhanshu-15 tjvantoll vakrilov xlcrr


text:
Change UI of messages

Info message
https://jira.ringcentral.com/secure/attachment/385286/Setting-Calling-Success saving-spac.png
Warning message
https://jira.ringcentral.com/secure/attachment/385291/Dialer-Warning-spec.png
Alert message
https://jira.ringcentral.com/secure/attachment/385287/Setting-Calling-Error-Spec.png

Implemented with #115

repo: ringcentral/ringcentral-js-widget


text:
Lazer exporting no longer launching on Arch Linux with bin32-jre

Lazer exporter was working fine when it suddenly no longer wants to launch.
Error
╭─david@david-ryuzu ~/Downloads
╰─$ java32 -jar Lazer_exporter.jar
Exception in thread "main" java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:873)
Caused by: java.lang.UnsupportedOperationException: Internal Error
	at com.sun.glass.ui.gtk.GtkApplication.lambda$new$5(GtkApplication.java:158)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.glass.ui.gtk.GtkApplication.<init>(GtkApplication.java:140)
	at com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(GtkPlatformFactory.java:41)
	at com.sun.glass.ui.Application.run(Application.java:147)
	at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:279)
	at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:211)
	at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:675)
	at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:337)
	at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)
	... 5 more

It seems like it's missing JavaFX or something?
To Reproduce

Be on Arch Linux
paru -Syu bin32-jre # for 32-bit Java 8
java32 -jar Lazer_exporter.jar

Expected behavior
Lazer exporter launches without problems
Desktop

OS: Arch Linux on GNOME X11

Additional context
Maybe the bin32-jre maintainers changed something?

This seems like something from upstream.
Try running the jar in 64 bit Java.
It's fine since 32 bit is only used on ffmpeg, not the jar itself.

╭─david@david-ryuzu ~/.local/bin
╰─$ java -jar lazer-exporter.jar
Error: Could not find or load main class com.ringosham.Main
╭─david@david-ryuzu ~/.local/bin
╰─$ java -version                                                           1 ↵
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)

Still no luck

This looks like a duplicate of #11. I'm going to close it here

authors: ringosham ungeskriptet

repo: ringosham/Lazer-exporter


text:
Project page uses artwork of an artist who recently passed away

The project page uses art by the artist Qinni, who recently passed away in 2020.
I know that their art is available for non-commercial use, but I believe it is in poor taste to use her art as an example for this project.
This was discussed on the most recent episode of the podcast Cortex.

I am a personal fan of Qinni's art, and even have a print of one of her deviations on my wall.
When I looked for artists to experiment with, her work was the first thing that sprang to mind. To me this was an opportunity to pay tribute to her work and hopefully expose it to a few more people.
In our paper and project page we do directly link to her page, though I see this was omitted in this repository and I'll amend this to give her proper credit here as well.
Finally, if you do have any concrete reasons to believe that this use goes against her explicit wishes, you're welcome to list them and I'll consider replacing her examples.
If this is just a matter of the medium (AI art vs. hand-drawn tributes), then I respect your opinion on the subject, but I do not see a compelling reason why it should overwrite my own.

Mentioning the personal connection to the artist and that your intentions are to tribute the artist’s work may be worth mentioning to clarify intentions - perhaps as an addendum placed at the end of the paper.
Here are my concerns to consider why using her art may be seen negatively, especially without clarification of intentions:

The recency of her passing makes this a much more sensitive matter in general. It comes across as unsettling. I realize this is subjective though.
There is no mention of any outreach to or verbal permission granted by the current individual managing their art.
The permission granted by the artist is an informal “non-commercial use,” which very likely did not imply AI usage at the time the artist was alive, as the technology wasn’t nearly as widespread as it is now. This leaves the artist’s consent as dubious. Explicit consent is impossible.
The choice to use and mimic the works of an artist who recently died, over any other living artist who can be explicitly asked for permission, or a historical artist whose death is less recent, can come across as needlessly disrespectful and tone deaf. It comes across as unnecessarily jumping the gun to the most extreme-case scenario of what's possible rather than a tribute.

It’s ultimately your decision and I understand both sides of the issue. The opinion of mine does not override yours, but I think it's an important matter to consider.

Using living artists is its own can of worms. While you are correct that they can give permission, they can also be directly and financially impacted by someone mimicking their style. In fact, before publication I had discussions with artists who specifically highlighted the impact of such methods on still living artists, and implored me to consider using deceased individuals.
In other words: the moral advantage of using living individuals is not all that clear.
I can understand the argument for historical artists - but the model already knows their work. In that sense, they do not serve as an example of an ability to learn new styles. This is a fundamental requirement of the academic work. If I make a claim, I need to back it up with evidence, and showing that I can mimic Picasso provides no such evidence.
And really, beyond all of this, Qinni's work has been replicated as a tribute hundreds if not thousands of times by artists, including as early as weeks after her death. For example: 1, 2, 3, 4 and many many more. You can see the reactions to those videos and articles yourself. There is no outrage over the use of her style.
Why is this case different? Because I do not have the skill to draw such paintings myself, and instead used a program that I created to do it? The sarcastic side in me can't help but ask: is the "outrage" in that podcast really due to the use of Qinni's work, or is it because they are looking for yet another excuse to bash AI art?

Those are all fair points.
I think what my main point boils down to is that acknowledgement of the artist’s passing and clarification of your intentions may be warranted to avoid further misunderstanding. I’ll elaborate further though.
Firstly, I’d just like to note that there are likely thousands of small artists you can find, especially those who are not financially independent, who would welcome the exposure. I can’t say if choosing one of them and using their art is the clear decision to make though.
I wouldn’t describe the podcast's discussion as outrage - it's more a general sense of unease, especially because they were unsure whether the creators knew about the artist's passing or not. I had the same sort of feeling upon hearing about it. The natural response, from how I’ve seen people react to this, is that it seems strange that this artist's work was chosen in particular out of all other choices. It's not necessarily something that most people are going to care about or notice, but this reaction has been exemplified in the podcast hosts, myself, and a few close relatives upon noticing this.
The tributes made by people is art solely created as a tribute, whereas the context established in this project is art created as a "showcase" of what a new technology can do. It’s not creating a standalone gallery saying "I created this program specifically to make this art as a tribute to this artist,” it’s instead a paper saying "I created this program that can mimic anything you give it, here’s an example of it using and mimicking the art of someone who recently passed away.” That wording is obviously not fair, but that is the sentiment that comes across when seeing the art in the paper without the further context you have given here.
AI-created art is already viewed as a somewhat soulless way to create art and as potentially threatening to the livelihoods of many artists, and the framing of “look what this can do” while using their art, without any mention of their recent death, only further emphasizes the lack of compassion for people and artists, even if it’s not the intention at all. This view on AI art can just be a knee-jerk reaction to new technology that will change over time, but using her art like this certainly does not help improve the case of AI art in the public eye.
It’s like creating a humanoid robot that can imitate anyone’s mannerisms, and then choosing someone who recently died as an example to imitate. It’s dealing with a fresh, sensitive matter, while also using the personal, unique expression of a human being without their explicit consent, with an implied purpose of being their replacement. it’s not objectively wrong, it’s just unsettling.
I can’t say if it’s necessary to replace her work in the paper entirely. A possible showing of goodwill, however, could be to acknowledge her passing or clarify your intentions to pay tribute somewhere in the project, so your intentions are not misconstrued in the worst possible way: as coldly and purposefully selecting this artist to exemplify how their existence is no longer needed or valued. It’s obvious this is not your intention, and I don’t think there has been any wrongdoing - it’s just a strange new context where things like this should be discussed.

authors: rinongal yesokcool


text:
Cassandra-5839

Some basic tests for CASSANDRA-5839 (27596a8) along with a few improvements to repair_test.py:

some style improvements (5fec1d4, 4258a8f),
removal of mutable default argument footguns (de5ef7e).

I do want the reviewer to sanity-check this line -- I'm pretty sure we can ignore that error. It's generated here and appears to be a guard against invalid updates, not a fatal error.

I addressed @ptnapoleon's comments and squashed them onto 5b7c54d. Since some of these tests flap due to SSTable GC issues, I've marked the new tests as requiring CASSANDRA-9482. With a +1 for that, I'll merge.

+1

authors: mambocab ptnapoleon

repo: riptano/cassandra-dtest


text:
feat: switch Steel to alloy

⚡ Features

Replace ethers dependency completely with alloy.
Make host functions async.
Add support to build EvmEnv from any alloy provider.
Add more efficient RLP-based serialization for the header.

🛠 Fixes

Store the commitment inside the EvmEnv.
Use eth_getTransactionCount and eth_getBalance instead of eth_getProof to query basic account information.
Switch tests from pre-recorded RPC responses to Anvil.

🚨 Breaking Changes

EthEvmEnv::from_rpc now takes an Url instead of a &str.
EvmEnv::from_providernow takes an alloy provider, the u64 block number was changed to a BlockNumberOrTag.
CachedProvider is no longer available:

During tests the fork mode of Anvil can be used for a similar effect, or
use the upcoming cache feature of alloy.

EvmEnv::sol_commitment has been changed to EvmEnv::commitment to get a reference, or EvmEnv::into_commitment.
ETH_SEPOLIA_CHAIN_SPEC and ETH_MAINNET_CHAIN_SPEC have been moved to the ethereum module.
The host functions are now async instead of blocking:

// Create an EVM environment from an RPC endpoint and a block number or tag.
let mut env = EthEvmEnv::from_rpc(args.rpc_url, BlockNumberOrTag::Latest).await?;
//  The `with_chain_spec` method is used to specify the chain configuration.
env = env.with_chain_spec(&ETH_SEPOLIA_CHAIN_SPEC);

// Preflight the call to prepare the input that is required to execute the function in
// the guest without RPC access. It also returns the result of the call.
let mut contract = Contract::preflight(CONTRACT, &mut env);
let returns = contract.call_builder(&CALL).from(CALLER).call().await?;

// Finally, construct the input from the environment.
let input = env.into_input().await?;

We still need to upgrade alloy to v0.2.1.


text:
update landscape.yml

Test PR with a weblandscape!

@AndreyKozlov1984 - Given this is simply a test, OK to close this PR without merging?

repo: riscv-admin/riscv-landscape


text:
Question about intrinsic data types

To my opinion, currently rvv data types are defined under the restriction of ELEN=64, so data types like vint64mf2_t are illegal. The thing is, for those processors(T-Head C920, Sophon SG2042 etc.) which adopt 128-bit length vector registers, if I want to set SEW=64, using vint64m1_t means that only 64 bits of the 128 bits in the vector register are used. This results in a waste of spatial resources. Is this going to be improved or do I get something wrong? Thanks!

ELEN is the maximum width of an element; C920 with RVV1.0 and 128-bit vectors (VLEN=128) would still have ELEN=64, and a vint64m1_t would hold two 64-bit integers (and the same code, if ran on some other processor with 256-bit vector registers, would hold 4 64-bit ints).
Thus, vint64m1_t never wastes any space (m1 types, by definition, are exactly one full vector register; mf2 would be explicitly having a vector register whose upper half goes unutilized). The mf2/mf4/mf8 types exist only to provide for the possibility of widening, but a 64-bit integer cannot be widened to anything (you'd need 128-bit elements for that, which don't exist in RVV1.0).

ELEN is the maximum width of an element; C920 with RVV1.0 and 128-bit vectors (VLEN=128) would still have ELEN=64, and a vint64m1_t would hold two 64-bit integers (and the same code, if ran on some other processor with 256-bit vector registers, would hold 4 64-bit ints).
Thus, vint64m1_t never wastes any space (m1 types, by definition, are exactly one full vector register; mf2 would be explicitly having a vector register whose upper half goes unutilized). The mf2/mf4/mf8 types exist only to provide for the possibility of widening, but a 64-bit integer cannot be widened to anything (you'd need 128-bit elements for that, which don't exist in RVV1.0).

Thanks! Seems that I misunderstand the definition of ELEN, I'll check it out right away. But I may have further questions of how this works, shall I close the issue now and open a new issue or left this issue open?

I can't answer on what'd be the best format for more questions/issue format (I'm just a "passer-by" here); generally, though, ELEN is gonna be 64 on nearly all standard RVV1.0 implementations no matter the register width for the foreseeable future ("v" extension requires VLEN≥128 and supported EEW of 8,16,32,64).

You may find descriptions of data type availabilities under Type System.
You may find descriptions of control number of elements to be processed under Control of number of elements to be processed.

authors: GaryCAICHI dzaima eopXD

repo: riscv-non-isa/rvv-intrinsic-doc


text:
Make files more organized: each unit should have own directory

As the model grows in size/usefulness each unit should really be in its own directory coupled with specific unit testing.

Is this still up? I would like to work on this. I was going through an open source cycle accurate perf model and catch this. I think this issue will be a good start to understand the codebase.

You're more than welcomed to take this.  It does require the owner to create unit testing for each component, or at least the start of a unit test even if all it does is push instructions through.
For the CMake structure two suggested approaches:

Each component is built a its own library (.a extension) and linked in to the final olympia binary
A top-level CMakeLists.txt file that creates a libcore.a file that's linked into the final olympia binary
Other idea?

authors: jyrj klingaard

repo: riscv-software-src/riscv-perf-model


text:
Must cbo.clean, cbo.flush, and cbo.inval raise exception on an address in vacant region?

Hello,
I want to clarify the permissions for cache-block management instructions. Consider a vacant region that PMP/PMA permits access to. Does any cache-block management instruction raise an exception on a cache block in that vacant region? Or should an implementation treat the instruction as nop in this case?

Consider a vacant region that PMP/PMA permits access to.

A vacant region is defined in the Privileged ISA spec as PMA not supporting access to.

Vacant regions are also classified as I/O regions but with attributes specifying that no accesses are supported.

Thank you for the clarification. Therefore, for an incorrect PMA configuration that allows access to vacant regions—whether due to a buggy software setting or hardware implementation—we indeed classify it as unspecified behavior when accessing addresses within these regions. Is this understanding accurate?

Buggy behavior is unspecified in the ISA.

Thank you.

authors: YenHaoChen ingallsj

repo: riscv/riscv-CMOs


text:
[Question] Inquiry about software status on CTR extension

Background
I am currently involved in a project aiming to support the CTR extension on some RISC-V processor RTL. Given the significance of software in testing and debugging process for CTR, I am reaching out to find out the current status and future roadmap of software support related to CTR.
Specific Questions

General: Does TG have plan on how CTR will be integrated into Linux perf framework? Judging from current design for PMU, I think configure and control for CTR would be done through SBI via a new extension, and read data would be done via CSR read by kernel itself. Am I understanding this correct?
SBI: Are there any ongoing discussion or development on SBI side of things, such as specifications for a new extension?
Kernel: Will the CTR be supported inside of riscv-pmu-sbi driver, or in arch/riscv as platform related code (which x86 LBR take this route)?

Thanks for your time on answering these questions. I can also help on the SW side of things if needed.

General: Does TG have plan on how CTR will be integrated into Linux perf framework? Judging from current design for PMU, I think configure and control for CTR would be done through SBI via a new extension, and read data would be done via CSR read by kernel itself. Am I understanding this correct?

In the current PoC we delegate CTR to Smode and kernel itself handles everything related to CTR. Mmode/sbi is not involved other than programming events. Recent https://lore.kernel.org/lkml/20240217005738.3744121-1-atishp@rivosinc.com/ change adds support for counter delegation which further eliminates the need to program counters using sbi.

SBI: Are there any ongoing discussion or development on SBI side of things, such as specifications for a new extension?

As pointed above, it's not needed. Kernel has access to all csrs needed to program CTR.

I see, thanks for the clarification. Since this will make CTR (implicitly) depends on Smcdeleg / Ssccfg and their dependencies, will this be mentioned in spec document? This could be helpful when designing RTL, for knowing what extensions are needed before testing.

Kernel: Will the CTR be supported inside of riscv-pmu-sbi driver, or in arch/riscv as platform related code (which x86 LBR take this route)?

In PoC kernel driver at 0.8.3v I had a separate file riscv_ctr.c under driver/perf/ similar to what arm does.
I am just cleaning up some changes and doing some fixes in qemu before I can sent 1.0v patches upstream.

Glad to hear there exists PoC driver and QEMU. Will these code be open-sourced soon (or I just didn't find them)? PoC software quality is good enough for initial RTL testing and debugging in hardware side.

Thanks a lot for your help! I'll checkout all the patches

It appears this issue is closed.  Let me know if that's wrong, otherwise I'll close it next week.

Thanks all, I'll close this issue now.

authors: bcstrongx gaoyichuan

repo: riscv/riscv-control-transfer-records


text:
Opaque note in vbrev8.v description

The vbrev8.v description contains a note that says "In some ways this is similar to how the bit logical instructions operate." It wasn't clear to me what ways this note was referring to.
@aswaterman suggested it was saying that the behavior is similar to bitwise logical operations in that it doesn't depend on SEW.
I think this note could be improved or possibly removed depending on how important it is to make this comparison.

I updated the text to completely convey the thought: In some ways this is similar to how the bit logical instructions operate in that SEW does not affect the function.

authors: kdockser topperc

repo: riscv/riscv-crypto


text:
Zawrs: "These instructions are not supported in a constrained LR/SC loop."

The description for Zawrs says These instructions are not supported in a constrained LR/SC loop.
What does this mean exactly?
Should the core detect that they are within an LR/SC loop and take an illegal exception, or ignore them, or what?
Please clarify

It means that if a WRS.* instruction is in a LR/SC loop then it is not a constrained LR/SC loop and guarantees around eventual success of store-conditional does not apply. This instruction is not part of the set of instructions listed in section 14.3 as supported in a constrained LR/SC loop.

This is all just a matter of clarification, but can’t we just delete this clause altogether? The A chapter already excludes these new instructions from constrained loops by not mentioning them.

No, the statement was always superfluous. The constrained LR/SC loop definition already precludes new instructions by virtue of admitting a restricted set and excluding all others.

Update in PR #1416

authors: aswaterman tariqkurd-repo ved-rivos

repo: riscv/riscv-isa-manual


text:
SFENCE not required after enabling pointer masking

regarding: https://github.com/riscv/riscv-j-extension/blob/ac6782d43813a8674a4704ff01ef00555dfe73d1/zjpm/instructions.adoc?plain=1#L36-L39
I agree that SFENCE should not be required after enabling/disabling pointer masking, because pointer masking applies to the effective address before translation.
Supporting comparison: the ARMv8 ARM does not include the allowance "This field is permitted to be cached in a TLB." in the description of the TCR_ELx.TBI/0/1 bits.

After discussing this in the group, this is now the official recommendation as per 92a88a2.

authors: ingallsj martinmaas

repo: riscv/riscv-j-extension


text:
Suggest clarification of the newly named extensions

Newly named extensions are listed under "extensions included" for "Profiles" in [1]. It wasn't clear to me until confirming with Greg Favor that these newly named extensions are also official RVI extensions which are ratified at the same time the profile in which they first appear is ratified. Greg further clarifies that it is indeed expected for these newly named extensions to be in ISA strings. I've since also found closed issues #63 and #121, which also clarify this for me, but the fact multiple people have been or are unsure about these newly named extensions has led me to suggest a clarification be added to the spec.
I'd like to suggest that the "Profile ISA Features" section get a paragraph explaining that extensions listed, which don't have their own specifications, are official extensions (which may appear in ISA strings) and are ratified at the time the spec they first appear in is ratified. Also, there's already a sentence in that section which reads "All components of a ratified profile must themselves have been ratified.". That sentence may need to be clarified in order to express that components being introduced within a profile are ratified at the same time as the profile.
[1] https://wiki.riscv.org/display/HOME/Specification+Status
Thanks,
drew

Most of the new extensions are capturing previously unnamed options in the privileged architecture, or behaviors of the memory system.   These will be  moved into the privileged architecture spec, together with longer descriptions, once the profiles are folded into the main ISA documents.

Accidentally closed - keeping open.

Text was added to clarify the handling of profile-defined extensions https://github.com/riscv/riscv-profiles/commit/c45a041bb917959765edc6b4c9cc5cb93843fdb6

authors: jones-drew kasanovic

repo: riscv/riscv-profiles


text:
Fix HART get status extension typo

Looks like a trivial typo, as this function does not take a start_addr argument.

Looks good to me
@atishp04 can you please take this PR
Regards,
Anup

authors: avpatel vpelletier

repo: riscv/riscv-sbi-doc


text:
For vfredosum.vs, define that vs1[0] is added first

It isn't explicitly stated whether vs1[0] is added at the front or the back, but other sections imply that it's added at the back.  I think that for the instruction to be useful for autovectorization, it must be defined to be added at the front, i.e., to compute vs1[0] + vs2[0] + ... + vs2[vl-1].

TG agrees.

authors: aswaterman kasanovic

repo: riscv/riscv-v-spec


text:
Is it possible to detect vector extensions in runtime?

I need a runtime check for rvv support. Is it possible to check it in runtime? If it is, what should I do for a runtime check?
sincerely,
Yin

In RISC-V, this sort of information is generally passed through the ABI, e.g., with a mechanism like https://man7.org/linux/man-pages/man3/getauxval.3.html
The RISC-V Linux port will provide a getauxval-based mechanism to detect the vector extension.

On Fri, Jul 31, 2020 at 12:40 AM Andrew Waterman notifications@github.com
wrote:

In RISC-V, this sort of information is generally passed through the ABI,
e.g., with a mechanism like
https://man7.org/linux/man-pages/man3/getauxval.3.html
The RISC-V Linux port will provide a getauxval-based mechanism to detect
the vector extension.

Expanding on that a little, AT_HWCAP should have all arch extensions listed
as a bit vector like misa.  This assumes the kernel has vector support.  So
code like this should work in a linux application, run on a machine with
multiply support but not vector support.
hifiveu017:1029$ cat tmp.c
#include <stdio.h>
#include <sys/auxv.h>
int
main (void)
{
unsigned long hwcap = getauxval (AT_HWCAP);
if (hwcap & (1 << ('m' - 'a')))
printf ("has multiply support\n");
if (hwcap & (1 << ('v' - 'a')))
printf ("has vector support\n");
return 0;
}
hifiveu017:1029$ gcc tmp.c
hifiveu017:1030$ ./a.out
has multiply support
hifiveu017:1031$
If your target isn't running linux, and you have an embedded application
running in machine mode, then you should just check misa.  If you are
adding code to the linux kernel, then you should be calling an opensbi
routine to read misa.
Jim

@jim-wilson, thank you for the explanation. I found your similar answer at https://lists.riscv.org/g/tech/message/70, from where I gathered that each hart can have different features / supported extensions on a given system.
Assuming this mixed-capability harts is going to be a(n unavoidable) trend in the future hardware; if the binary was compiled for riscv64g and running on a system with, say, four harts; two with G extension and two simple ones with I-only capability, will the OS scheduler (particularly Linux) seamlessly do the right thing for the executing process; i.e. OS will never schedule the execution on incompatible harts? Or is it considered the responsibility of (every multi-threaded) application to find the capable CPU and explicitly set affinity (using pthread_setaffinity_np programmatically or taskset command at launch time)?


text:
Fine-tune Linux kernel configurations to maximize speedup

This is critical. For instance, a new Linux kernel scheduler (from 6.6) brought the mainnet speedup from 2x to 1.6x on my machine...

https://discourse.ubuntu.com/t/24-04-considerably-slower-than-20-04-or-22-04-for-some-high-system-percentage-usage-cases/41987
https://discourse.ubuntu.com/t/fine-tuning-the-ubuntu-24-04-kernel-for-low-latency-throughput-and-power-efficiency/44834

Aptos/Block-STM may be facing the same issue:

https://github.com/danielxiangzl/Block-STM/commit/18dba40d2c723d75f12e2629c822d4179445d4fa
https://github.com/aptos-labs/aptos-core/blob/46364e9e8352b1cd074d9dade20128332d2d0d1e/buildtools/packer/aws-ubuntu.pkr.hcl#L42

Succeeded by #435.

repo: risechain/pevm


text:
frontend: implement rw_flush expression

After we supported System Administration Functions after #12747, it seems also a good time for rewriting some statement-style control statements into expresion-style, which feels more consistent with Postgres.
One of those is the FLUSH statement. We may introduce an expression form like rw_flush() as an alias.

I wonder what is the use case of this expression?

IMO, a better alternative to flush statement?

It seems PG supports both stmt style and expr style. e.g., SHOW <parameter> = SELECT current_setting('<parameter>');
So why expr style can be better?

authors: BugenZhao fuyufjh xxchan

repo: risingwavelabs/risingwave


text:
Daily Chaos Mesh with longevity pipeline failed

================================================================================
chaos-mesh Result
================================================================================
Result               FAIL
Pipeline Message     Nightly nexmark
Namespace            longcmkf-20240313-153221
TestBed              medium-arm-3cn-all-affinity
RW Version           nightly-20240313
Test Start time      2024-03-13 15:36:18
Test End time        2024-03-13 17:50:36
Test Queries         q0,q1,q2,q3,q4,q5,q7,q8,q9,q10,q14,q15,q16,q17,q18,q20,q21,q22,q101,q102,q103,q104,q105
Grafana Metric       https://grafana.test.risingwave-cloud.xyz/d/EpkBw5W4k/risingwave-dev-dashboard?orgId=1&var-datasource=Prometheus:%20test-useast1-eks-a&var-namespace=longcmkf-20240313-153221&from=1710344178000&to=1710352236000
Grafana Logs         https://grafana.test.risingwave-cloud.xyz/d/liz0yRCZz1/log-search-dashboard?orgId=1&var-data_source=Logging:%20test-useast1-eks-a&var-namespace=longcmkf-20240313-153221&from=1710344178000&to=1710352236000
Memory Dumps         https://s3.console.aws.amazon.com/s3/buckets/test-useast1-mgmt-bucket-archiver?region=us-east-1&bucketType=general&prefix=k8s/longcmkf-20240313-153221/&showversions=false
Buildkite Job        https://buildkite.com/risingwave-test/chaos-mesh/builds/681

The faults end(faults duration: 17:36:01 - 17:46:01) before running the SQL command.

The reason that CREATE MV nexmark_q10_1_chaos_mesh failed is because compute-1 restarted.
https://grafana.test.risingwave-cloud.xyz/d/liz0yRCZz1/log-search-dashboard?orgId=1&var-data_source=PE59595AED52CF917&var-namespace=longcmkf-20240313-153221&from=1710344178000&to=1710352236000&var-pod=benchmark-risingwave-compute-c-1&var-search=

It seems the panic originates from storage: https://grafana.test.risingwave-cloud.xyz/d/liz0yRCZz1/log-search-dashboard?from=1710344178000&orgId=1&to=1710352236000&var-data_source=PE59595AED52CF917&var-namespace=longcmkf-20240313-153221&var-pod=benchmark-risingwave-compute-c-1&var-search=
5:     0xaaaae8e0e934 - core::fmt::write::h0c4a627b12e3d78d |
-- | --
  | at /rustc/e4c626dd9a17a23270bf8e7158e59cf2b9c04840/library/core/src/fmt/mod.rs:1120:17 |
  | 6:     0xaaaaf1d4ebdc - std::io::Write::write_fmt::h318ea8fa9c57551f |
  | at /rustc/e4c626dd9a17a23270bf8e7158e59cf2b9c04840/library/std/src/io/mod.rs:1810:15 |
  | 7:     0xaaaaf1d55ae4 - std::sys_common::backtrace::_print::ha8e58b5a72e68af5 |
  | at /rustc/e4c626dd9a17a23270bf8e7158e59cf2b9c04840/library/std/src/sys_common/backtrace.rs:47:5 |
  | 8:     0xaaaaf1d55ae4 - std::sys_common::backtrace::print::hbce77ec9c0ee5615 |
  | at /rustc/e4c626dd9a17a23270bf8e7158e59cf2b9c04840/library/std/src/sys_common/backtrace.rs:34:9 |
  | 9:     0xaaaaf1d5715c - std::panicking::default_hook::{{closure}}::h62de2f44289d99c3 |
  | 10:     0xaaaaf1d56e90 - std::panicking::default_hook::h6808acaf9c18352a |
  | at /rustc/e4c626dd9a17a23270bf8e7158e59cf2b9c04840/library/std/src/panicking.rs:292:9 |
  | 11:     0xaaaaeff4f5f4 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h2700c70562ffa71b |
  | at /rustc/e4c626dd9a17a23270bf8e7158e59cf2b9c04840/library/alloc/src/boxed.rs:2029:9 |
  | 12:     0xaaaaeff4f5f4 - risingwave_rt::panic_hook::set_panic_hook::{{closure}}::h5cfd70b8a9038c58 |
  | at /risingwave/src/utils/runtime/src/panic_hook.rs:25:9 |
  | 13:     0xaaaaeff4f5f4 - std::panicking::update_hook::{{closure}}::h9caa177955fdf881 |
  | at /rustc/e4c626dd9a17a23270bf8e7158e59cf2b9c04840/library/std/src/panicking.rs:234:47 |
  | 14:     0xaaaaf1d577a8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h861e29f50d7dc506 |
  | at /rustc/e4c626dd9a17a23270bf8e7158e59cf2b9c04840/library/alloc/src/boxed.rs:2029:9 |
  | 15:     0xaaaaf1d577a8 - std::panicking::rust_panic_with_hook::h7d9418a0e45d61fb |
  | at /rustc/e4c626dd9a17a23270bf8e7158e59cf2b9c04840/library/std/src/panicking.rs:783:13 |
  | 16:     0xaaaaf1d57550 - std::panicking::begin_panic_handler::{{closure}}::he5c28c60ba487bed |
  | at /rustc/e4c626dd9a17a23270bf8e7158e59cf2b9c04840/library/std/src/panicking.rs:657:13 |
  | 17:     0xaaaaf1d5618c - std::sys_common::backtrace::__rust_end_short_backtrace::hcdcd48a39dadcd83 |
  | at /rustc/e4c626dd9a17a23270bf8e7158e59cf2b9c04840/library/std/src/sys_common/backtrace.rs:171:18 |
  | 18:     0xaaaaf1d572f8 - rust_begin_unwind |
  | at /rustc/e4c626dd9a17a23270bf8e7158e59cf2b9c04840/library/std/src/panicking.rs:645:5 |
  | 19:     0xaaaae8e0b5c8 - core::panicking::panic_fmt::had704c91ae6f0365 |
  | at /rustc/e4c626dd9a17a23270bf8e7158e59cf2b9c04840/library/core/src/panicking.rs:72:14 |
  | 20:     0xaaaaf03ef8f4 - risingwave_storage::hummock::store::hummock_storage::HummockStorage::build_read_version_tuple::hde1b5dfd63f7cbef |
  | at /risingwave/src/storage/src/hummock/store/hummock_storage.rs:379:21 |
  | 21:     0xaaaaf118b06c - risingwave_storage::hummock::store::hummock_storage::HummockStorage::iter_inner::{{closure}}::h49e69459138cb7ed |
  | at /risingwave/src/storage/src/hummock/store/hummock_storage.rs:268:13 |
  | 22:     0xaaaaf118b06c - risingwave_storage::monitor::monitored_store::MonitoredStateStore<S>::monitored_iter::{{closure}}::h60977c2e723c1172 |
  | at /risingwave/src/storage/src/monitor/monitored_store.rs:96:14 |
  | 23:     0xaaaaf118b06c - <F as futures_core::future::TryFuture>::try_poll::h8870776b32a6c271 |
  | at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-core-0.3.30/src/future.rs:82:9 |
  | 24:     0xaaaaf118b06c - <futures_util::future::try_future::into_future::IntoFuture<Fut> as core::future::future::Future>::poll::h4f17fb0995334160 |
  | at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/future/try_future/into_future.rs:34:9

May be related to the race fixed in https://github.com/risingwavelabs/risingwave/pull/15738. Let's see whether the same panic still occurs in recent runs.

Also, I would like to understand more about the test case. When the issue happened, we were running
[ name: networkchaos-compute-meta-longcmkf-20240313-153221, mode: one, action: partition, direction: to, duration: 600s ]

I think this means we will randomly create network partition between one CN and meta. When network partition happens, do we expect DDL like CREATE MV can still succeed without failure? Or did the MV creation happens after the network partition is resolved?

did the MV creation happens after the network partition is resolved?

Yes, I think MV creation happened after the network partition was resolved.
@xuefengze please confirm, thanks!
BTW, during the network partition period, chaos mesh will not randomly remove the partition from time to time, right? i.e. it will keep the partition in place until the end of the period.

When network partition happens, do we expect DDL like CREATE MV can still succeed without failure?

If DDL happens during a network partition, I believe DDL should not succeed as no communication can happen between the meta node and CN.
What we expect is a clear timeout error message that can be returned to users without triggering panic in RW.

did the MV creation happens after the network partition is resolved?

Yes, the partition began at 17:36:03 UTC, and the duration is 600s, so it had already ended at 17:46:03 UTC.

did the MV creation happens after the network partition is resolved?

Yes, I think MV creation happened after the network partition was resolved. @xuefengze please confirm, thanks! BTW, during the network partition period, chaos mesh will not randomly remove the partition from time to time, right? i.e. it will keep the partition in place until the end of the period.

When network partition happens, do we expect DDL like CREATE MV can still succeed without failure?

If DDL happens during a network partition, I believe DDL should not succeed as no communication can happen between the meta node and CN. What we expect is a clear timeout error message that can be returned to users without triggering panic in RW.

Thanks for the explanation. That makes sense to me. The storage panic happens when there are more than one storage table instances relevant to the same vnode id, which indicates there is a race somewhere. Let's see whether #15738 fixes it.
Just FYI, I noticed that when the network partition is ongoing, the partitioned CN exits by itself (and restarts by k8s I guess) because meta has expired the worker node. Relevant codes: https://github.com/risingwavelabs/risingwave/blob/13e2d9a219a2df53fcf3e6464e90cb203cef9c39/src/rpc_client/src/meta_client.rs#L294. This is not relevant to the reported issue because the storage panic happened at around 17:50, during which the network partitioning has been recovered.

@xuefengze Is the issue resolved in recent runs?

Is the issue resolved in recent runs?

Yes, all recent runs were successful.

Thanks for the confirmation. I will close the issue.

authors: hzxa21 lmatz xuefengze


text:
feat: add kafka backfill frontend

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
TODO: consider these

[ ] schema change (https://github.com/risingwavelabs/risingwave/issues/11800, https://github.com/risingwavelabs/risingwave/issues/15582)
[ ] scaling
[ ] CREATE TABLE

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#15602  👈
#15635
#15632
main

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

Join @xxchan and the rest of your teammates on  Graphite

Had an offline discussion with @xxchan, if we enable the useable source, there will be real actors running and keep fetching data even if no subsquent MVs.
Should have an optim to pause the source in this case to save resources, it is ok to impl it in next pr.

Changes since last review (It should be OK to review commits since last review)

Do not add new logical node. new stream node is enough. Added planner tests
Added basic e2e tests
Changed catalog handling (do not deprecate cdc_source_job)  https://github.com/risingwavelabs/risingwave/pull/15602#discussion_r1545878574

authors: tabVersion xxchan


text:
[STYLE] Add Cookie Consent Box

Describe
Cookies help to ensure the user gets the best experience on the website so I would like to add a cookie consent box.
Screenshots
If applicable, add screenshots to help explain your problem
CheckList

[X] I'm a JWOC'24 Contributor
[X] I've checked the existing issues, this issue is not a duplicate

(Tip - place an "x" between the square brackets to check mark)

@Sneha6003 assigned


text:
Unable to load .riv files with Rollup

Are there any examples of using Rive with Rollup?
I am trying to use Rive with React (Vite) and Svelte. Both use rollup to bundle, and are showing similar errors that prevent .riv files from loading.
Here is a sandbox for Svelte. If you open the app in New Window and inspect the dev tools, it fails with Cannot read property 'getContext' of null. When running a Vite app, it fails with ReferenceError: color is not defined. Both errors are coming from rive.js (v0.0.4).

I went ahead and created an additional sandbox for Vite. As mentioned in my first comment, if you open the app in New Window and inspect dev tools, you will see ReferenceError: color is not defined.

We've not used this with Rollup; we use Webpack which should be working fine.
We'll take a look at Rollup and see what might be happening.

We've heavily refactored how the package is being packed; once this is close to being released, we'll test it with Rollup to see if it's helped the problem.

Looks like the new packing is working; I forked your sandbox and updated to the new API:
https://codesandbox.io/s/svelte-rive-test-forked-kx23t?file=/public/index.html

This might not be the best way though; there's now also rive.dev.js, which is ES6 friendly and designed to be imported through npm for use in React, Next, etc.
Let me know how you get on with 0.1.0 beta.

Appreciate the update. Do you mind clarifying on "might not be the best way"? Not sure how I should go about adding the new API to my project.

@mjohnsullivan I went ahead and tried 0.1.0 beta (imported from unpkg) in a local Svelte app and it fails with: wasm streaming compile failed: LinkError: WebAssembly.instantiate(): table import 40 is smaller than initial 900, got 773.
Feel free to close this issue as you see fit. I plan to experiment with the web API once it reaches a stable version. I'm sure most of the problems I am having will be resolved by then, so not sure if this issue is worth keeping open with the API being in constant flux. Thanks again for the help.

There's a problem with the older packages that always pulled the latest wasm instead of the compatible one.
For v6 files, please use v0.6.1, which should do the right thing.
For v7, please use the latest build (currently v0.7.2).

And this was a very useful issue to highlight some of the issues folk are having; thanks for doing this.

The 0.7.2 release just yesterday fixed this issue for me! Big thanks, works well now with Svelte / Rollup, although it was a bit tricky. Happy to share some example code if it would be helpful

Excellent! If you could share some example code, that'd be great. We're in the process of changing up our pipeline for building the package to make it easier to use in web frameworks and I'd love see what hoops you had to jump through so we can try and improve matters.

authors: mjohnsullivan msobie sosaucily

repo: rive-app/rive-wasm


text:
refactor: change breadcrumb selects to discrete variant

Closes FRONT-538

before
after

Merge activity

Dec 10, 3:39 PM EST: Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready.

repo: rivet-gg/frontend


text:
Fix secret check

Changes

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

#521  👈
#520
main

This stack of pull requests is managed by Graphite.

repo: rivet-gg/rivet


text:
Main temp

giga chad changes ... development dir looks sexy

brrrrr!!!!!!


text:
Add support for different authentication types

Is your feature request related to a problem? Please describe.
We would like to use jfilter with OAuth and filter response depending on the user role(s).
Describe the solution you'd like
Get identity of the principal being authenticated, extract authorities granted to the user and compare them with the authorities that are provided via annotation.
For example:
private boolean hideField(List<String> roles) {
  Object principal = SecurityContextHolder.getContext().getAuthentication().getPrincipal();
  if (principal != null && principal instanceof User) {
    User user = (User) principal;
    Collection<? extends GrantedAuthority> authorities = user.getAuthorities();
    for (GrantedAuthority auth : authorities) {
      if (roles.contains(auth.getAuthority())) {
        return true;
      }
    }
    return false;
  }
  return false;
}

Describe alternatives you've considered
Enable session management and copy roles into the session and then use SessionStrategy filter.
Additional context
NO

Hi @ThE-MaRaC ,
You can use DynamicFilter feature
Example Spring Security filter example
You just need to create new DynamicSecurityFilter class and use it by adding annotation in controller class
@DynamicFilter(DynamicSessionFilter.class)     @RequestMapping(value = "/someRequest" ....

Thx for info.

authors: ThE-MaRaC rkonovalov

repo: rkonovalov/jfilter


text:
Use logging for logging

As this project is likely to involve a substantial amount of code and debugging effort, it would be best to move from print statements to the official Python 3 logging module, which provides advanced control over the logs (levels of severity, output to file or console, enable/disable logging of specific modules, etc.)

I see the usefulness of this logging module, but I don't think it should replace all print statements.
I think we can keep the verbose convention for the agents for printing progress messages (as in the README), as they do in sklearn (example), and use logging for information that is useful for debug. Maybe that's what you meant.

That's not what I meant: the logging package is already a comprehensive way to handle different levels of verbosity. You can also have different levels for different outputs (e.g only info in console and up to debug in a log file)
Having a verbose flag is redundant IMO. I find logging superior to print+verbose flags, but I'd rather have one consistent solution than a mix of both.

Ok, I like this full-logging solution too, it seems better to avoid passing a verbose flag to each agent.

authors: eleurent omardrwch

repo: rlberry-py/rlberry


text:
Building on OSX

Sorry, total noob here. I'm really exited to use the program (I use blender a lot and the ancient lattice-Boltzmann fluid simulator built in leaves much to be desired). Can you please help me build and run this on OS X? I hope you can turn this into a blender plugin in the future. The results look really great. Does it use open VDB?

Hey, I'm glad you're interested in the program. I do not have an OS X machine to build and test on so I'm not sure if the program will compile and run without errors. Let me know if you run into any errors and I will try my best to fix them.
To compile program you will need to install the GCC compiler and install GNU Make. This link gives instructions for how to install GCC and GNU Make on OS X.
The program uses the OpenCL library, so you will need make sure you have he library and header files on your machine. OS X may already have the files that you need, but I am not entirely sure.
You will also need to edit the Makefile and change the OPENCLINCLUDE and OPENCLLIB variables to point to where your OpenCL include directory is, and where your OpenCL library file is.
Let me know if you run into any problems, and I will try to help!
The program does not use OpenVDB. The particle meshing methods are all contained within the program.

I would gladly fire up a VM you can ssh or vnc into if you wanted to tweak it for OS X.

You people are amazing. You should try developing for blender.

Can't find OpenCL.framework in /libraries/frameworks any mac developers here to help?

Thank you very much for the offer, magnusviri. I may take you up on it if I need to.
I have acquired access to a Mac computer to test on over this coming weekend, so I'll try to work out how to get this program running on OS X as soon as I can.

How did it go? Any luck building it.

Hello rtolps,
I was able to build the program on OS X, but I am encountering an error ( _Assertion failed: (particleAdvector.initialize()) ) when trying to run the program, and I am currently working on resolving that error. Updates for the program to build on OS X are currently located in the osx_build branch.
Here's how I got the program to build on OS X (El Capitan Version 10.11.4):
Install Xcode  from the Apple App Store. Installing Xcode gave me access to GNU Make, the clang c++ compiler, and the OpenCL headers and libraries.
I found that my machine was missing the cl.hpp header, so you might need to download cl.hpp from  khronos.org and place it in:
For Xcode < 4.3
/Developer/SDKs/MacOSX .sdk/System/Library/Frameworks/OpenCL.framework/Versions/A/Headers
For Xcode >=4.3
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX .sdk/System/Library/Frameworks/OpenCL.framework/Versions/A/Headers
You will probably need the cl.hpp file version that matches the version of OpenCL on your machine. I needed version 1.1.
Once I had done that, I was able to build the program using the command
make -f Makefile-OSX

And run with the command
./fluidsim

I'll keep you updated on my progress with getting this program to run on OS X.
Best Regards,
Ryan

Update: The program now builds and runs on the OS X machine that I am testing on. The updates to the program are now merged into the master branch.
Let me know if you run into any problems building/running the program.
Best Regards,
Ryan

What program/library or terminal extension do I need to run the makefile? Terminal doesn't recognise any of the commands.

The GNU Make program is used to run the makefile. The program was installed automatically when I installed Xcode. It looks like some users may have to enable the download within Xcode.

when you say run with the command do you mean in the same line? (make command should work, I realized what I did wrong. I was lazy and double clicked, maybe you should make a "build/run this program" batch file for noobs who want to build it without opening terminal?).

I'm afraid if I type it in wrong I'll screw up.

Hello rtolps,
When I said run with ./fluidsim, I meant to execute that command after the make -f Makefile-OSX command finishes running. The make command invokes the GNU Make program and tells it to run the script located in the the Makefile-OSX file. Once the make command finished running, it will create the executable simulation file fluidsim. The command ./fluidsim simply just executes that file.
If you want, you can create a shell script named something like "runandbuild.sh", place it in the fluid simulation directory, and copy these lines into the file:
#!/bin/bash
make -f Makefile-OSX
./fluidsim

The first line tells your system to use the bash program, which is what your terminal runs, to execute the commands in the script. Make sure that the file has permission to execute and it should run when you double click it.
If you want to become more familiar with using the command line interface, you may read the articles listed under "The Command Line" in Apple's guide on using the terminal.
The simulation program has no graphic user interface, and all information/errors during the simulation run time is output through the terminal.
I hope this information helps!
Greatest Regards,
Ryan

I got this error
src/clscalarfield.h:28:14: fatal error: 'OpenCL/cl.hpp' file not found     #include <OpenCL/cl.hpp>
I downloaded and installed the header file into the Xcode library folder. what's going on?

Wait does the cl.hpp need to be in the src folder with all the other header files??

I checked within MacOSX .sdk/System/Library/Frameworks/OpenCL.framework/Versions/A/Headers the cl.hpp file is there

But there is two files, cl.h and cl.hpp

The cl.hpp file should not go in the src/ folder. The cl.hpp file should be in the same folder as the cl.h file, so it sounds like it is in the right place. The problem  seems to be that the compiler is not searching the OpenCL header directory.
Sorry, I'm not able to test anything right now, so I'm not able to give a solution to this error at the moment. What OS X version and Xcode version are you running?
You could try modifying the  Makefile-OSX file to explicityly specify which directory to search for headers by replacing this line (line 4):
CXXFLAGS=$(OPTIMIZE) -std=c++11 -Wall

with this line:
CXXFLAGS=$(OPTIMIZE) -I"PATH_TO_HEADER_DIRECTORY" -std=c++11 -Wall

where PATH_TO_HEADER_DIRECTORY is the directory that contains the cl.hpp and cl.h files.
example:
CXXFLAGS=$(OPTIMIZE) -I"/Developer/SDKs/MacOSX <Version>.sdk/System/Library/Frameworks/OpenCL.framework/Versions/A/Headers" -std=c++11 -Wall

Still not working even though I held its hand. At this point I am willing to give you remote access to my computer so you can fix this unless I made a simple mistake with a quick fix. Have you tried testing it on a brand new macbook pro retina 2015? (possibly do it in the apple store when no one is looking or something).
`Last login: Tue May 10 16:40:42 on ttys001
Roberts-MBP:~ rstolppi$ cd ~/Downloads/GridFluidSim3D-osx_build
Roberts-MBP:GridFluidSim3D-osx_build rstolppi$ make -f Makefile-OSX
c++ -O3 -I"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenCL.framework/Versions/A/Headers" -std=c++11 -Wall   -c -o src/aabb.o src/aabb.cpp
c++ -O3 -I"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenCL.framework/Versions/A/Headers" -std=c++11 -Wall   -c -o src/anisotropicparticlemesher.o src/anisotropicparticlemesher.cpp
c++ -O3 -I"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenCL.framework/Versions/A/Headers" -std=c++11 -Wall   -c -o src/clscalarfield.o src/clscalarfield.cpp
In file included from src/clscalarfield.cpp:24:
src/clscalarfield.h:28:14: fatal error: 'OpenCL/cl.hpp' file not found
#include <OpenCL/cl.hpp>
^
1 error generated.
make: *** [src/clscalarfield.o] Error 1
Roberts-MBP:GridFluidSim3D-osx_build rstolppi$
`

I installed TeamViewer, I'm desperate. Before I go ahead and let a helpful, trustworthy-looking random stranger into my computer, can you like make a .dmg file and put it on dropbox or something?

Hello rtolps,
I am sorry that the program still will not build for you!
I am not very familiar with program distribution so I would not able to create a .dmg file to install this program. I am also not very familiar with the OS X operating system, so unfortunately I don't think I'd be able to solve this issue if I was given remote access to your machine.
There is one last thing you could try that comes to mind. Try replacing the same line as before with this line:
CXXFLAGS=$(OPTIMIZE) -F"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/" -std=c++11 -Wall

I believe that line will tell the compiler to search that specific framework directory in the case that it is not already looking there.
If you still get the same build error, I would suggest posting a question to Stack Overflow asking why the OpenCL/cl.hpp file cannot be found by the compiler.
Best Regards,
Ryan

IT WORKS OMG

Is there any chance you can make it so that I can export simulations from blender. Pls make like a python plugin or something for blender for easy import export. And change that code in the makefile to whatever you suggested to me because it worked like a charm. Now I got to figure out how to import the animation.

Another suggestion, I've mentioned Openvdb for particle meshing (it's much faster and has overall better results) but how about making the cache format the same as blender's "animated mesh" format for easier import through the El'Beem simulator. Even better, use alembic cache library for simulations (Blender will get support for it supposedly soon) in addition to the library for blender's animated mesh cache for fluids.

Hello rtolps,
I am very glad to hear that the program is building and running for you! I have updated the master branch with a FRAMEWORKSPATH variable that can be edited to add a directory to the compiler search path.
Thanks for the suggestions! I am currently not very experienced in using Blender, so I will have to look into these features and options in the future.
I will be closing this issue now that it has been solved.

Hello @rlguy
Do you have a way to make it work with the now cmake process on sierra ?
Thanks

Hello @melMass i've tried with the make file but can't get past a fatal error and it seems you've gotten installation to work a different way care to shed some insight on what exactly you did?

authors: gaaooee magnusviri melMass rlguy rtolps

license: Zlib


text:
Fix screwed up symbol tables in Calc with recursive functions

This code gives a strange error:
:quiet on {
:library 'lib'

oldForm = readJSON($0)
newForm = readJSON($1)

define newKey(prefix, key) = {
    prefix ? prefix + '.' + key : key
}

define checkValue(key, oldValue, newValue) = {
    oldType = typeof(oldValue)
    newType = typeof(newValue)
    if oldType <> newType { :echo `Key '$key': type mismatch: old=$oldType, new=$newType` }
    else {
        case oldType of {
            "array": checkArray(key, oldValue, newValue),
            "object": check(key, oldValue, newValue),
            default: if oldValue <> newValue { :echo `Key '$key': old '$oldValue' != new '$newValue'` }
        }
    }
}

define checkArray(key, oldArr, newArr) = {
    loop idx within length(oldArr) {
        oldValue = oldArr[idx]
        newValue = newArr[idx]
        checkValue(newKey(key, `[$idx]`), oldValue, newValue)
    }
}

define check(prefix, oldObj, newObj) = {
    loop key over oldObj {
        oldValue = oldObj[key]
        newValue = newObj[key]
        checkValue(newKey(prefix, key), oldValue, newValue)
    }
}

check("", oldForm, newForm)
}

Error: Cannot change Parameter value oldValue at line 34.
which is inside "checkArray" where it sets "oldValue"...

I think this is a case of ValueScope things not being evaluated properly (see previous issue).

Actually it may be that "pushScope(FunctionScope)" is not correct -- needs to be done before/outside of "setupFunctionCall" so the params are defined in the function's symbol table, not the caller's....  Watch carefully since variables referenced in default expressions for param values reference prior param names (i.e., inside the function, if defined).

Well, it was way more complicated than that.  Needed a new "var" declaration (for a local variable), and more code in loop/while to clear the symbol table each time through the loop.

repo: rlwhitcomb/utilities


text:
1.0.1 has broken changes? error TS2307: Cannot find module 'ng9-password-strength-bar'.

1.0.0 Version has no problem, but 1.0.1 has problem.
ERROR in src/app/app.module.ts:9:46 - error TS2307: Cannot find module 'ng9-password-strength-bar'.
9 import { Ng9PasswordStrengthBarModule } from "ng9-password-strength-bar";
~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR in app/app.module.ts(138,5): Error during template compile of 'AppModule'
Could not resolve ng9-password-strength-bar relative to [object Object]..
app/app.module.ts(138,5): Error during template compile of 'AppModule'
Could not resolve ng9-password-strength-bar relative to [object Object]..
Can't bind to 'passwordToCheck' since it isn't a known property of 'ng9-password-strength-bar'.

If 'ng9-password-strength-bar' is an Angular component and it has 'passwordToCheck' input, then verify that it is part of this module.
If 'ng9-password-strength-bar' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("
<ng9-password-strength-bar
[ERROR ->][passwordToCheck]="newPassword"
[barLabel]="barLabel"
")
Can't bind to 'barLabel' since it isn't a known property of 'ng9-password-strength-bar'.
If 'ng9-password-strength-bar' is an Angular component and it has 'barLabel' input, then verify that it is part of this module.
If 'ng9-password-strength-bar' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("rength-bar
[passwordToCheck]="newPassword"
[ERROR ->][barLabel]="barLabel"
[barColors]="myColors"
")
Can't bind to 'barColors' since it isn't a known property of 'ng9-password-strength-bar'.
If 'ng9-password-strength-bar' is an Angular component and it has 'barColors' input, then verify that it is part of this module.
If 'ng9-password-strength-bar' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("oCheck]="newPassword"
[barLabel]="barLabel"
[ERROR ->][barColors]="myColors"
[strengthLabels]="strengthLabels"
")
Can't bind to 'strengthLabels' since it isn't a known property of 'ng9-password-strength-bar'.
If 'ng9-password-strength-bar' is an Angular component and it has 'strengthLabels' input, then verify that it is part of this module.
If 'ng9-password-strength-bar' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("barLabel]="barLabel"
[barColors]="myColors"
[ERROR ->][strengthLabels]="strengthLabels"
(onStrengthChanged)="strengthChanged($e")
'ng9-password-strength-bar' is not a known element:
If 'ng9-password-strength-bar' is an Angular component, then verify that it is part of this module.
If 'ng9-password-strength-bar' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. ("

[ERROR ->]<ng9-password-strength-bar
[passwordToCheck]="newPassword"
")

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! workassure.labor.web@0.0.0 build: ng build --prod
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the workassure.labor.web@0.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   'C:\Program Files\nodejs\node.exe',
1 verbose cli   'C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'build'
1 verbose cli ]
2 info using npm@6.14.8
3 info using node@v14.9.0
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle workassure.labor.web@0.0.0~prebuild: workassure.labor.web@0.0.0
6 info lifecycle workassure.labor.web@0.0.0~build: workassure.labor.web@0.0.0
7 verbose lifecycle workassure.labor.web@0.0.0~build: unsafe-perm in lifecycle true
8 verbose lifecycle workassure.labor.web@0.0.0~build: PATH: C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\WACode\workassure.labor\src\WorkAssure.Labor.Web\node_modules.bin;C:\app\client\Administrator\product\12.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\dotnet;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\nodejs;C:\Program Files\TortoiseGit\bin;C:\Program Files\Git\cmd;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Users\Administrator.windows-build-tools\python27;C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Administrator\AppData\Roaming\npm\node_modules\windows-build-tools\node_modules.bin;C:\Users\Administrator\AppData\Roaming\npm\node_modules.bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\Git\cmd;C:\Program Files\nodejs;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;;C:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Administrator\AppData\Roaming\npm;C:\Users\Administrator.dotnet\tools
9 verbose lifecycle workassure.labor.web@0.0.0~build: CWD: C:\WACode\workassure.labor\src\WorkAssure.Labor.Web
10 silly lifecycle workassure.labor.web@0.0.0~build: Args: [ '/d /s /c', 'ng build --prod' ]
11 silly lifecycle workassure.labor.web@0.0.0~build: Returned: code: 1  signal: null
12 info lifecycle workassure.labor.web@0.0.0~build: Failed to exec build script
13 verbose stack Error: workassure.labor.web@0.0.0 build: ng build --prod
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter. (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:314:20)
13 verbose stack     at ChildProcess. (C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:314:20)
13 verbose stack     at maybeClose (internal/child_process.js:1047:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
14 verbose pkgid workassure.labor.web@0.0.0
15 verbose cwd C:\WACode\workassure.labor\src\WorkAssure.Labor.Web
16 verbose Windows_NT 10.0.17763
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "build"
18 verbose node v14.9.0
19 verbose npm  v6.14.8
20 error code ELIFECYCLE
21 error errno 1
22 error workassure.labor.web@0.0.0 build: ng build --prod
22 error Exit status 1
23 error Failed at the workassure.labor.web@0.0.0 build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

This error does not appear to be related to the v1.0.1 change. Is it possible to provide code that reproduces the problem? Thanks.

This error does not appear to be related to the v1.0.1 change. Is it possible to provide code that reproduces the problem? Thanks.
app.module.ts file:
`[//3rd party
import { BrowserModule } from "@angular/platform-browser";
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
import { NgModule, ErrorHandler, APP_INITIALIZER } from "@angular/core";
import { HttpModule } from '@angular/http';
import { HTTP_INTERCEPTORS, HttpClientModule, HttpClient } from "@angular/common/http";
import { ClipboardModule } from "ngx-clipboard";
import { NgSelectModule } from "@ng-select/ng-select";
import { Ng9PasswordStrengthBarModule } from "ng9-password-strength-bar";
import { MomentModule } from "ngx-moment";
import { FormsModule } from "@angular/forms";
import { CustomFormsModule } from "ngx-custom-validators";
import { NgxChartsModule } from "@swimlane/ngx-charts";
import {TranslateModule,
TranslateLoader,
MissingTranslationHandler,
MissingTranslationHandlerParams} from "@ngx-translate/core";
import { httpLoaderFactory } from "./shared/factories/httploader.factory";
import { OAuthModule } from 'angular-oauth2-oidc';

//other imports
......
......
......
@NgModule({
imports: [
...,
Ng9PasswordStrengthBarModule,
...
],
declarations: [
...
],
providers: [
...
],
bootstrap: [AppComponent]
})
](url)`

The v1.0.1 NPM publish was bad. Please try v1.0.2.

authors: RiverLi rnadler


text:
fix: update GeoJSONSource when updating url

Description
This is a "funny" one. I created an issue for the exact same error ~4 years ago on the previous Mapbox GL impletementation. (Ref: https://github.com/rnmapbox/maps/issues/541)
So here we go again. When updating an url dynamically to a ShapeSource, the layer is not refreshed and the data is stale.
I must be the only one using the url prop 😅
Checklist

[x] I have tested this on a device/simulator for each compatible OS
[x] I updated the documentation with running yarn generate in the root folder
[x] I added/updated a sample - if a new feature was implemented (/example)

Screenshot OR Video
Without the patch (You can notice for the first loading it works but not for the updates afterward):
https://user-images.githubusercontent.com/937328/232230718-6afa3acf-38ee-4488-bc60-1e6c60ad8b76.mov
After the patch:
https://user-images.githubusercontent.com/937328/232230731-5e0fcc0f-90e6-4ff3-b0c0-8e79667dcf16.mov

👍 THanks much can you also include a simple component, in the description that demoes this functionality?

I'm working on the example, I'll let you know once done. Just FYI, I couldn't run the example using Xcode 14.3.0, I had to run with 14.2.0.

authors: jeremybarbet mfazekas

repo: rnmapbox/maps


text:
5minfork feature

Like 5minfork.com the rnplay site could fork a repo for 5 minutes and display it on the site. After 5 minutes it would be dropped.

Sorry fo late answer!
Anyhow, fascianting idea, what would be your use cases for this?

Developers could build and leave the code in the repo. When someone is ready to see that code in rnplay the they load it up in the 5minfork feature of rnplay and view it for 5 minutes.

Ah, seems like a private repo with viewing access only for a limited time, right? Currently we don't have any plans to add private repos into RNPlay.
Closing this issue for now.

authors: getsetbro jozan

repo: rnplay/rnplay-web


text:
How to fix error them agnoster on ubuntu ?

I have this problem, could some one help me fix it, please !

i would like oh-my-zsh show like this:

Hi, may I ask how did you fix it? Now I have the same question.

You have to install a power line font, I recommend the Menlo variant :)

I encountered this problem and sudo apt-get install fonts-powerline solved the problem.

authors: Joezc nhlinhCS phun-ky

repo: robbyrussell/oh-my-zsh


text:
Change reference of Bundle to Plugin

Change reference of Bundle to Plugin + new repo name

It looks like these changes made it into the repo in 7f0b577b142fad91ad04f03112498304c9f27dbb

authors: andriykohut belak


text:
Prevent faulty autocomplete in zsh for docker rmi

Bug
When there are no docker images available, after typing docker rmi and pressing Tab, a faulty autocomplete list appeared:

Fix
Ensure there are available docker images before returning the autocomplete list.

We're using docker's official completion. I recently updated it so try upgrade_oh_my_zsh and if the error is still there submit your fix to the official repository.

authors: mcornella povesteam


text:
Update README.md

Troubleshooting hint for PAM auth problems.

This is better suited for the wiki FAQ.

authors: markuszeller mcornella


text:
Further fix for #26

The fix for #26 doesn't account for the PK column having non-standard casing. As such using the findOne function can throw errors. This PR fixes that by escaping the PK in "s.
I've also added a bunch of specs around how the custom sets of columns and compound order bys can be used when your columns aren't in the pg idiom. I made a few further changes to the Users table to allow for testing this.

RAD! I'll review in 40 mins THANKS!

On Mar 5, 2015, at 20:18, Owen Morgan-Jones notifications@github.com wrote:
The fix for #26 doesn't account for the PK column having non-standard casing. As such using the findOne function can throw errors. This PR fixes that by escaping the PK in "s.
I've also added a bunch of specs around how the custom sets of columns and compound order bys can be used when your columns aren't in the pg idiom. I made a few further changes to the Users table to allow for testing this.
You can view, comment on, or merge this pull request online at:
https://github.com/robconery/massive-js/pull/27
Commit Summary
Fixing issues surrounding non double quote delimited object names and come accompanying tests
Merging upstream changes
Added specs for use of CamelCased object names in Columns and Order BYs and handled default Order By case when PK column name is non-standard cased.
Added specs for use of CamelCased object names in Columns and Order BYs and handled default Order By case when PK column name is non-standard cased.
Merge branch 'v2' of https://github.com/Sharkwald/massive-js into v2
Removing reference to new table I added
File Changes
M lib/table.js (4)
M test/db/schema.sql (12)
M test/table_spec.js (32)
Patch Links:
https://github.com/robconery/massive-js/pull/27.patch
https://github.com/robconery/massive-js/pull/27.diff
—
Reply to this email directly or view it on GitHub.

Thanks so much - outstanding! Love the tests :) much appreciated.

You're most welcome! And thanks to you and @xivSolutions for making my first attempt at open source contribution so pleasant :).

authors: Sharkwald robconery

repo: robconery/massive-js


text:
Encounter error when trying to load a page of war in Event Collection

On the webpage:
: error calling Id: runtime error: invalid memory address or nil pointer dereference

In the terminal:
template: events.html:3:32: executing "events.html" at <$event.Id>: error calling Id: runtime error: invalid memory address or nil pointer dereference

Its been a while, but it would help if you could provide the legends and legends_plus XML files that produce this error.

authors: TransshipmentEnvoy robertjanetzko


text:
jspm support

It would be great to have jspm support

Thanks for the feedback. Sounds like a good idea. I'll look into supporting it

Thanks for the feedback. Sounds like a good idea. I'll look into supporting it

got things working with jspm and added a sample project. let me know if you have any issues/questions

authors: maku robianmcd

repo: robianmcd/angular-next


text:
Mount attempt gives json error

I'm trying to get it working on Ubuntu 15.10.
I've built it okay, that seems fine.
But when I try to do
/usr/local/bin/mount.gdfs -m /mnt/gdrive -df --log_path /opt/gdfs --log_level DEBUG -o debug,allow_root,direct_io
I just get this error:
[ERROR] [] => Value error doesnt exist in json output
Running gauth appears to have worked okay, it said it had successfully got an access token.
Where is it likely to be going wrong?
Here is the gdfs.log output:

################################################################

GOOGLE DRIVE FILE SYSTEM

v1.0.0
Robin Thomas
robinthomas2591@gmail.com

################################################################
18-04-2016 16:36:02,   DEBUG Thread 42816,          mount.cc:76 => <-- Entering set_mount_opt() -->
18-04-2016 16:36:02,   DEBUG Thread 42816,          mount.cc:80 => <-- Exiting set_mount_opt() -->
18-04-2016 16:36:02,   DEBUG Thread 42816,         mount.cc:134 => <-- Entering mount_fs() -->
18-04-2016 16:36:02,   DEBUG Thread 42816,          mount.cc:95 => <-- Entering is_fs_running() -->
18-04-2016 16:36:02,   DEBUG Thread 42816,         mount.cc:114 => GDFS is not running.
18-04-2016 16:36:02,   DEBUG Thread 42816,         mount.cc:117 => <-- Exiting is_fs_running() -->
18-04-2016 16:36:02,   DEBUG Thread 42816,         gdfs.cc:1487 => <-- Entering initGDFS() -->
18-04-2016 16:36:02,   DEBUG Thread 42816,           auth.cc:58 => <-- Entering load_auth_file() -->
18-04-2016 16:36:02,   DEBUG Thread 42816,           auth.cc:87 => <-- Exiting load_auth_file() -->
18-04-2016 16:36:02,   DEBUG Thread 42816,         gdapi.cc:399 => <-- Entering get_root() -->
18-04-2016 16:36:03,   DEBUG Thread 42816,         mount.cc:174 => <-- Entering unmount_fs() -->
18-04-2016 16:36:03,   DEBUG Thread 42816,          mount.cc:95 => <-- Entering is_fs_running() -->
18-04-2016 16:36:03,   DEBUG Thread 42816,         mount.cc:114 => GDFS is not running.
18-04-2016 16:36:03,   DEBUG Thread 42816,         mount.cc:117 => <-- Exiting is_fs_running() -->
18-04-2016 16:36:03, WARNING Thread 42816,         mount.cc:193 => Trying to unmount fs at /mnt/gdrive. Not mounted.
18-04-2016 16:36:03,   DEBUG Thread 42816,         mount.cc:199 => <-- Exiting unmount_fs() -->
And one other question: when I run mount.gdfs should the mount point directory /mnt/gdrive exist or not? With other filesystems, the mount point should always exist beforehand. But from your example using /tmp/robin I'm unsure.
Thanks!
Jules.

Hi Jules,
I have send an email to you earlier.
Check it out.
Let me know if the error persists.

Solved. Closing the issue.

authors: julesfm robin-thomas

repo: robin-thomas/GDFS


text:
🛑 robingenz.dev is down

In 789bf68, robingenz.dev (https://robingenz.dev/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: robingenz.dev is back up in 77fe1c6 after 17 minutes.

repo: robingenz/upptime


text:
Fix hidden navbar on mobile

i thiniiinknknknk it might be a flexbox issue. we shall see.

This was happening for me too!! But it's weird cause it's not on prod. So I think it might be a local issue? We didn't change anything on the nav since the last deploy, right?

i'm seeing it in prod too. i think it has to do with: https://github.com/robinjoseph08/pokedextracker.com/pull/96/files#diff-7ab7e672fb1c96b2cd0c3795ae50e1bdR47